diff --git a/docs/4981.d9d09078.iframe.bundle.js b/docs/4981.b49b0fa6.iframe.bundle.js similarity index 99% rename from docs/4981.d9d09078.iframe.bundle.js rename to docs/4981.b49b0fa6.iframe.bundle.js index 934b2ace0..88fb5f7b9 100644 --- a/docs/4981.d9d09078.iframe.bundle.js +++ b/docs/4981.b49b0fa6.iframe.bundle.js @@ -3479,7 +3479,8 @@ const DataGrid = (p, forwardedRef) => { } const cell = getCellContent(hoveredItem, true); const r = getCellRenderer(cell); - am.setHovered(r === undefined && cell.kind === data_grid_types/* GridCellKind.Custom */.p6.Custom || (r === null || r === void 0 ? void 0 : r.needsHover) === true ? hoveredItem : undefined); + const cellNeedsHover = r === undefined && cell.kind === data_grid_types/* GridCellKind.Custom */.p6.Custom || (r === null || r === void 0 ? void 0 : r.needsHover) !== undefined && (typeof r.needsHover === "boolean" ? r.needsHover : r.needsHover(cell)); + am.setHovered(cellNeedsHover ? hoveredItem : undefined); }, [getCellContent, getCellRenderer, hoveredItem]); const hoveredRef = react.useRef(); const onMouseMoveImpl = react.useCallback(ev => { @@ -3501,6 +3502,7 @@ const DataGrid = (p, forwardedRef) => { }); }; if (!mouseEventArgsAreEqual(args, hoveredRef.current)) { + setDrawCursorOverride(undefined); onItemHovered === null || onItemHovered === void 0 || onItemHovered(args); maybeSetHoveredInfo(args.kind === outOfBoundsKind ? undefined : [args.location, [args.localEventX, args.localEventY]], true); hoveredRef.current = args; @@ -7354,6 +7356,7 @@ const DataEditorImpl = (p, forwardedRef) => { } if (a.button === 1) return !isPrevented.current; if (!isPrevented.current) { + var _c$activationBehavior; const c = getMangledCellContent(args.location); const r = getCellRenderer(c); if (r !== undefined && r.onClick !== undefined && isValidClick) { @@ -7379,7 +7382,7 @@ const DataEditorImpl = (p, forwardedRef) => { } if (isPrevented.current || gridSelection.current === undefined) return false; let shouldActivate = false; - switch (cellActivationBehavior) { + switch ((_c$activationBehavior = c.activationBehaviorOverride) !== null && _c$activationBehavior !== void 0 ? _c$activationBehavior : cellActivationBehavior) { case "double-click": case "second-click": { @@ -9796,17 +9799,53 @@ const rowIDCellRenderer = { + const textCellRenderer = { getAccessibilityString: c => { var _c$data$toString, _c$data; return (_c$data$toString = (_c$data = c.data) === null || _c$data === void 0 ? void 0 : _c$data.toString()) !== null && _c$data$toString !== void 0 ? _c$data$toString : ""; }, kind: data_grid_types/* GridCellKind.Text */.p6.Text, - needsHover: false, + needsHover: textCell => textCell.hoverEffect === true, needsHoverPosition: false, drawPrep: data_grid_lib/* prepTextCell */.k0, useLabel: true, - draw: a => ((0,data_grid_lib/* drawTextCell */.uN)(a, a.cell.displayData, a.cell.contentAlign, a.cell.allowWrapping, a.hyperWrapping), true), + draw: a => { + const { + cell, + hoverAmount, + hyperWrapping, + ctx, + rect, + theme, + overrideCursor + } = a; + const { + displayData, + contentAlign, + hoverEffect, + allowWrapping + } = cell; + if (hoverEffect === true && hoverAmount > 0) { + var _theme$roundingRadius; + ctx.textBaseline = "alphabetic"; + const padX = theme.cellHorizontalPadding; + const padY = theme.cellVerticalPadding; + const m = (0,data_grid_lib/* measureTextCached */.P7)(displayData, ctx, theme.baseFontFull, "alphabetic"); + const maxH = rect.height - padY; + const h = Math.min(maxH, m.actualBoundingBoxAscent * 2.5); + ctx.beginPath(); + (0,data_grid_lib/* roundedRect */.NK)(ctx, rect.x + padX / 2, rect.y + (rect.height - h) / 2 + 1, m.width + padX * 3, h - 1, (_theme$roundingRadius = theme.roundingRadius) !== null && _theme$roundingRadius !== void 0 ? _theme$roundingRadius : 4); + ctx.globalAlpha = hoverAmount; + ctx.fillStyle = (0,color_parser/* withAlpha */.fG)(theme.textDark, 0.1); + ctx.fill(); + ctx.globalAlpha = 1; + ctx.fillStyle = theme.textDark; + ctx.textBaseline = "middle"; + overrideCursor === null || overrideCursor === void 0 || overrideCursor("text"); + } + (0,data_grid_lib/* drawTextCell */.uN)(a, displayData, contentAlign, allowWrapping, hyperWrapping); + }, measure: (ctx, cell, t) => { const lines = cell.displayData.split("\n", cell.allowWrapping === true ? undefined : 1); let maxLineWidth = 0; @@ -9931,7 +9970,7 @@ const uriCellRenderer = { return (_c$data$toString = (_c$data = c.data) === null || _c$data === void 0 ? void 0 : _c$data.toString()) !== null && _c$data$toString !== void 0 ? _c$data$toString : ""; }, kind: data_grid_types/* GridCellKind.Uri */.p6.Uri, - needsHover: true, + needsHover: uriCell => uriCell.hoverEffect === true, needsHoverPosition: true, useLabel: true, drawPrep: data_grid_lib/* prepTextCell */.k0, @@ -11150,7 +11189,8 @@ function makeCacheKey(s, ctx, baseline, font) { return `${s}_${font !== null && font !== void 0 ? font : ctx === null || ctx === void 0 ? void 0 : ctx.font}_${baseline}`; } function measureTextCached(s, ctx, font) { - const key = makeCacheKey(s, ctx, "middle", font); + let baseline = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "middle"; + const key = makeCacheKey(s, ctx, baseline, font); let metrics = metricsCache[key]; if (metrics === undefined) { metrics = ctx.measureText(s); @@ -11605,4 +11645,4 @@ const GrowingEntry = props => { /***/ }) }]); -//# sourceMappingURL=4981.d9d09078.iframe.bundle.js.map \ No newline at end of file +//# sourceMappingURL=4981.b49b0fa6.iframe.bundle.js.map \ No newline at end of file diff --git a/docs/4981.b49b0fa6.iframe.bundle.js.map b/docs/4981.b49b0fa6.iframe.bundle.js.map new file mode 100644 index 000000000..976813601 --- /dev/null +++ b/docs/4981.b49b0fa6.iframe.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"4981.b49b0fa6.iframe.bundle.js","mappings":";;;;;;;;;;;;;;;AAAyB;AACoC;AAKvD,SAAUE,YAAYA,CAACC,KAAY;EAAA,IAAAC,qBAAA,EAAAC,qBAAA;EACrC,OAAO;IACH,oBAAoB,EAAEF,KAAK,CAACG,WAAW;IACvC,iBAAiB,EAAEH,KAAK,CAACI,QAAQ;IACjC,oBAAoB,EAAEJ,KAAK,CAACK,WAAW;IACvC,iBAAiB,EAAEL,KAAK,CAACM,QAAQ;IACjC,mBAAmB,EAAEN,KAAK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/styles.ts","webpack://root/../../../src/common/support.ts","webpack://root/../../../src/common/utils.tsx","webpack://root/../../../src/common/render-state-provider.ts","webpack://root/../../../../src/internal/data-grid/cell-set.ts","webpack://root/../../../../src/internal/data-grid/data-grid-sprites.ts","webpack://root/../../../../../src/internal/data-grid/render/data-grid-render.walk.ts","webpack://root/../../../src/common/math.ts","webpack://root/../../../../../src/internal/data-grid/render/data-grid-render.cells.ts","webpack://root/../../../../../src/internal/data-grid/render/draw-checkbox.ts","webpack://root/../../../../../src/internal/data-grid/render/data-grid-render.header.ts","webpack://root/../../../../../src/internal/data-grid/render/data-grid-render.lines.ts","webpack://root/../../../../../src/internal/data-grid/render/data-grid-render.blit.ts","webpack://root/../../../../../src/internal/data-grid/render/data-grid.render.rings.ts","webpack://root/../../../../../src/internal/data-grid/render/data-grid-render.ts","webpack://root/../../../../src/internal/data-grid/animation-manager.ts","webpack://root/../../../src/common/browser-detect.ts","webpack://root/../../../../src/internal/data-grid/use-animation-queue.ts","webpack://root/../../../../src/internal/data-grid/event-args.ts","webpack://root/../../../../src/internal/data-grid/data-grid.tsx","webpack://root/../../../../src/internal/data-grid-dnd/data-grid-dnd.tsx","webpack://root/../../../src/common/resize-detector.ts","webpack://root/../../../../src/internal/scrolling-data-grid/use-kinetic-scroll.ts","webpack://root/./packages/core/dist/esm/internal/scrolling-data-grid/infinite-scroller.js","webpack://root/../../../../src/internal/scrolling-data-grid/scrolling-data-grid.tsx","webpack://root/./packages/core/dist/esm/internal/data-grid-search/data-grid-search-style.js","webpack://root/../../../../src/internal/data-grid-search/data-grid-search.tsx","webpack://root/./packages/core/dist/esm/data-editor/group-rename.js","webpack://root/../../../src/data-editor/use-column-sizer.ts","webpack://root/../../../src/common/is-hotkey.ts","webpack://root/../../../../src/internal/data-grid/use-selection-behavior.ts","webpack://root/../../../src/data-editor/use-cells-for-selection.ts","webpack://root/../../../src/data-editor/copy-paste.ts","webpack://root/../../../src/data-editor/data-editor-fns.ts","webpack://root/./packages/core/dist/esm/internal/data-editor-container/data-grid-container.js","webpack://root/../../../src/data-editor/use-autoscroll.ts","webpack://root/../../../src/data-editor/use-rem-adjuster.ts","webpack://root/../../../src/data-editor/data-editor-keybindings.ts","webpack://root/../../../src/data-editor/data-editor.tsx","webpack://root/../../../src/cells/boolean-cell.tsx","webpack://root/./packages/core/dist/esm/internal/data-grid-overlay-editor/private/bubbles-overlay-editor-style.js","webpack://root/../../../../../src/internal/data-grid-overlay-editor/private/bubbles-overlay-editor.tsx","webpack://root/../../../src/cells/bubble-cell.tsx","webpack://root/./packages/core/dist/esm/internal/data-grid-overlay-editor/private/drilldown-overlay-editor.js","webpack://root/../../../src/cells/drilldown-cell.tsx","webpack://root/./packages/core/dist/esm/internal/data-grid-overlay-editor/private/image-overlay-editor-style.js","webpack://root/../../../../../src/internal/data-grid-overlay-editor/private/image-overlay-editor.tsx","webpack://root/../../../src/cells/image-cell.tsx","webpack://root/../../../src/cells/loading-cell.tsx","webpack://root/./packages/core/dist/esm/internal/markdown-div/private/markdown-container.js","webpack://root/../../../../src/internal/markdown-div/markdown-div.tsx","webpack://root/./packages/core/dist/esm/internal/data-grid-overlay-editor/private/markdown-overlay-editor-style.js","webpack://root/../../../../../src/internal/data-grid-overlay-editor/private/markdown-overlay-editor.tsx","webpack://root/../../../src/cells/markdown-cell.tsx","webpack://root/../../../src/cells/marker-cell.tsx","webpack://root/../../../src/cells/new-row-cell.tsx","webpack://root/../../../src/cells/number-cell.tsx","webpack://root/../../../src/cells/protected-cell.tsx","webpack://root/../../../src/cells/row-id-cell.tsx","webpack://root/../../../src/cells/text-cell.tsx","webpack://root/./packages/core/dist/esm/internal/data-grid-overlay-editor/private/uri-overlay-editor-style.js","webpack://root/../../../../../src/internal/data-grid-overlay-editor/private/uri-overlay-editor.tsx","webpack://root/../../../src/cells/uri-cell.tsx","webpack://root/../../../src/cells/index.ts","webpack://root/../../../../src/internal/data-grid/sprites.ts","webpack://root/../../../src/common/image-window-loader.ts","webpack://root/../../src/data-editor-all.tsx","webpack://root/../../../../src/internal/click-outside-container/click-outside-container.tsx","webpack://root/../../../../src/internal/data-grid/color-parser.ts","webpack://root/../../../../src/internal/data-grid/data-grid-types.ts","webpack://root/../../../../../src/internal/data-grid/render/data-grid-lib.ts","webpack://root/./packages/core/dist/esm/internal/growing-entry/growing-entry-style.js","webpack://root/../../../../src/internal/growing-entry/growing-entry.tsx"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"import { styled } from \"@linaria/react\";\nimport * as React from \"react\";\nimport { useResizeDetector } from \"../../common/resize-detector.js\";\nimport { browserIsSafari } from \"../../common/browser-detect.js\";\nimport { useEventListener } from \"../../common/utils.js\";\nimport useKineticScroll from \"./use-kinetic-scroll.js\";\nconst _exp = /*#__PURE__*/() => p => p.isSafari ? \"scroll\" : \"auto\";\nconst ScrollRegionStyle = /*#__PURE__*/styled('div')({\n name: \"ScrollRegionStyle\",\n class: \"gdg-s1dgczr6\",\n propsAsIs: false,\n vars: {\n \"s1dgczr6-0\": [_exp()]\n }\n});\nfunction useTouchUpDelayed(delay) {\n const [hasTouches, setHasTouches] = React.useState(false);\n const safeWindow = typeof window === \"undefined\" ? null : window;\n const cbTimer = React.useRef(0);\n useEventListener(\"touchstart\", React.useCallback(() => {\n window.clearTimeout(cbTimer.current);\n setHasTouches(true);\n }, []), safeWindow, true, false);\n useEventListener(\"touchend\", React.useCallback(e => {\n if (e.touches.length === 0) {\n cbTimer.current = window.setTimeout(() => setHasTouches(false), delay);\n }\n }, [delay]), safeWindow, true, false);\n return hasTouches;\n}\nexport const InfiniteScroller = p => {\n const {\n children,\n clientHeight,\n scrollHeight,\n scrollWidth,\n update,\n draggable,\n className,\n preventDiagonalScrolling = false,\n paddingBottom = 0,\n paddingRight = 0,\n rightElement,\n rightElementProps,\n kineticScrollPerfHack = false,\n scrollRef,\n initialSize\n } = p;\n const padders = [];\n const rightElementSticky = rightElementProps?.sticky ?? false;\n const rightElementFill = rightElementProps?.fill ?? false;\n const offsetY = React.useRef(0);\n const lastScrollY = React.useRef(0);\n const scroller = React.useRef(null);\n const dpr = typeof window === \"undefined\" ? 1 : window.devicePixelRatio;\n const lastScrollPosition = React.useRef({\n scrollLeft: 0,\n scrollTop: 0,\n lockDirection: undefined\n });\n const rightWrapRef = React.useRef(null);\n const hasTouches = useTouchUpDelayed(200);\n const [isIdle, setIsIdle] = React.useState(true);\n const idleTimer = React.useRef(0);\n React.useLayoutEffect(() => {\n if (!isIdle || hasTouches || lastScrollPosition.current.lockDirection === undefined) return;\n const el = scroller.current;\n if (el === null) return;\n const [lx, ly] = lastScrollPosition.current.lockDirection;\n if (lx !== undefined) {\n el.scrollLeft = lx;\n } else if (ly !== undefined) {\n el.scrollTop = ly;\n }\n lastScrollPosition.current.lockDirection = undefined;\n }, [hasTouches, isIdle]);\n const onScroll = React.useCallback((scrollLeft, scrollTop) => {\n const el = scroller.current;\n if (el === null) return;\n scrollTop = scrollTop ?? el.scrollTop;\n scrollLeft = scrollLeft ?? el.scrollLeft;\n const lastScrollTop = lastScrollPosition.current.scrollTop;\n const lastScrollLeft = lastScrollPosition.current.scrollLeft;\n const dx = scrollLeft - lastScrollLeft;\n const dy = scrollTop - lastScrollTop;\n if (hasTouches && dx !== 0 && dy !== 0 && (Math.abs(dx) > 3 || Math.abs(dy) > 3) && preventDiagonalScrolling && lastScrollPosition.current.lockDirection === undefined) {\n lastScrollPosition.current.lockDirection = Math.abs(dx) < Math.abs(dy) ? [lastScrollLeft, undefined] : [undefined, lastScrollTop];\n }\n const lock = lastScrollPosition.current.lockDirection;\n scrollLeft = lock?.[0] ?? scrollLeft;\n scrollTop = lock?.[1] ?? scrollTop;\n lastScrollPosition.current.scrollLeft = scrollLeft;\n lastScrollPosition.current.scrollTop = scrollTop;\n const cWidth = el.clientWidth;\n const cHeight = el.clientHeight;\n const newY = scrollTop;\n const delta = lastScrollY.current - newY;\n const scrollableHeight = el.scrollHeight - cHeight;\n lastScrollY.current = newY;\n if (scrollableHeight > 0 && (Math.abs(delta) > 2000 || newY === 0 || newY === scrollableHeight) && scrollHeight > el.scrollHeight + 5) {\n const prog = newY / scrollableHeight;\n const recomputed = (scrollHeight - cHeight) * prog;\n offsetY.current = recomputed - newY;\n }\n if (lock !== undefined) {\n window.clearTimeout(idleTimer.current);\n setIsIdle(false);\n idleTimer.current = window.setTimeout(() => setIsIdle(true), 200);\n }\n update({\n x: scrollLeft,\n y: newY + offsetY.current,\n width: cWidth - paddingRight,\n height: cHeight - paddingBottom,\n paddingRight: rightWrapRef.current?.clientWidth ?? 0\n });\n }, [paddingBottom, paddingRight, scrollHeight, update, preventDiagonalScrolling, hasTouches]);\n useKineticScroll(kineticScrollPerfHack && browserIsSafari.value, onScroll, scroller);\n const onScrollRef = React.useRef(onScroll);\n onScrollRef.current = onScroll;\n const lastProps = React.useRef();\n const didFirstScroll = React.useRef(false);\n // if this is not a layout effect there will be a flicker when changing the number of freezeColumns\n // we need to document what this is needed at all.\n React.useLayoutEffect(() => {\n if (didFirstScroll.current) onScroll();else didFirstScroll.current = true;\n }, [onScroll, paddingBottom, paddingRight]);\n const setRefs = React.useCallback(instance => {\n scroller.current = instance;\n if (scrollRef !== undefined) {\n scrollRef.current = instance;\n }\n }, [scrollRef]);\n let key = 0;\n let h = 0;\n padders.push(React.createElement(\"div\", {\n key: key++,\n style: {\n width: scrollWidth,\n height: 0\n }\n }));\n while (h < scrollHeight) {\n const toAdd = Math.min(5000000, scrollHeight - h);\n padders.push(React.createElement(\"div\", {\n key: key++,\n style: {\n width: 0,\n height: toAdd\n }\n }));\n h += toAdd;\n }\n const {\n ref,\n width,\n height\n } = useResizeDetector(initialSize);\n if (typeof window !== \"undefined\" && (lastProps.current?.height !== height || lastProps.current?.width !== width)) {\n window.setTimeout(() => onScrollRef.current(), 0);\n lastProps.current = {\n width,\n height\n };\n }\n if ((width ?? 0) === 0 || (height ?? 0) === 0) return React.createElement(\"div\", {\n ref: ref\n });\n return React.createElement(\"div\", {\n ref: ref\n }, React.createElement(ScrollRegionStyle, {\n isSafari: browserIsSafari.value\n }, React.createElement(\"div\", {\n className: \"dvn-underlay\"\n }, children), React.createElement(\"div\", {\n ref: setRefs,\n style: lastProps.current,\n draggable: draggable,\n onDragStart: e => {\n if (!draggable) {\n e.stopPropagation();\n e.preventDefault();\n }\n },\n className: \"dvn-scroller \" + (className ?? \"\"),\n onScroll: () => onScroll()\n }, React.createElement(\"div\", {\n className: \"dvn-scroll-inner\" + (rightElement === undefined ? \" dvn-hidden\" : \"\")\n }, React.createElement(\"div\", {\n className: \"dvn-stack\"\n }, padders), rightElement !== undefined && React.createElement(React.Fragment, null, !rightElementFill && React.createElement(\"div\", {\n className: \"dvn-spacer\"\n }), React.createElement(\"div\", {\n ref: rightWrapRef,\n style: {\n height,\n maxHeight: clientHeight - Math.ceil(dpr % 1),\n position: \"sticky\",\n top: 0,\n paddingLeft: 1,\n marginBottom: -40,\n marginRight: paddingRight,\n flexGrow: rightElementFill ? 1 : undefined,\n right: rightElementSticky ? paddingRight ?? 0 : undefined,\n pointerEvents: \"auto\"\n }\n }, rightElement))))));\n};\n\n",null,"import { styled } from \"@linaria/react\";\nexport const SearchWrapper = /*#__PURE__*/styled('div')({\n name: \"SearchWrapper\",\n class: \"gdg-seveqep\",\n propsAsIs: false\n});\n\n",null,"import React from \"react\";\nimport { styled } from \"@linaria/react\";\nimport ClickOutsideContainer from \"../internal/click-outside-container/click-outside-container.js\";\nconst _exp = /*#__PURE__*/() => p => Math.max(16, p.targetHeight - 10);\nconst RenameInput = /*#__PURE__*/styled('input')({\n name: \"RenameInput\",\n class: \"gdg-r17m35ur\",\n propsAsIs: false,\n vars: {\n \"r17m35ur-0\": [_exp(), \"px\"]\n }\n});\nexport const GroupRename = p => {\n const {\n bounds,\n group,\n onClose,\n canvasBounds,\n onFinish\n } = p;\n const [value, setValue] = React.useState(group);\n return React.createElement(ClickOutsideContainer, {\n style: {\n position: \"absolute\",\n left: bounds.x - canvasBounds.left + 1,\n top: bounds.y - canvasBounds.top,\n width: bounds.width - 2,\n height: bounds.height\n },\n className: \"gdg-c1tqibwd\",\n onClickOutside: onClose\n }, React.createElement(RenameInput, {\n targetHeight: bounds.height,\n \"data-testid\": \"group-rename-input\",\n value: value,\n onBlur: onClose,\n onFocus: e => e.target.setSelectionRange(0, value.length),\n onChange: e => setValue(e.target.value),\n onKeyDown: e => {\n if (e.key === \"Enter\") {\n onFinish(value);\n } else if (e.key === \"Escape\") {\n onClose();\n }\n },\n autoFocus: true\n }));\n};\n\n",null,null,null,null,null,null,"import { styled } from \"@linaria/react\";\nimport * as React from \"react\";\nfunction toCss(x) {\n if (typeof x === \"string\") return x;\n return `${x}px`;\n}\nconst _exp = /*#__PURE__*/() => p => p.innerWidth;\nconst _exp2 = /*#__PURE__*/() => p => p.innerHeight;\nconst Wrapper = /*#__PURE__*/styled('div')({\n name: \"Wrapper\",\n class: \"gdg-wmyidgi\",\n propsAsIs: false,\n vars: {\n \"wmyidgi-0\": [_exp()],\n \"wmyidgi-1\": [_exp2()]\n }\n});\nexport const DataEditorContainer = p => {\n const {\n inWidth,\n inHeight,\n children,\n ...rest\n } = p;\n return React.createElement(Wrapper, {\n innerHeight: toCss(inHeight),\n innerWidth: toCss(inWidth),\n ...rest\n }, children);\n};\n\n",null,null,null,null,null,"import { styled } from \"@linaria/react\";\nexport const BubblesOverlayEditorStyle = /*#__PURE__*/styled('div')({\n name: \"BubblesOverlayEditorStyle\",\n class: \"gdg-b1ygi5by\",\n propsAsIs: false\n});\n\n",null,null,"import * as React from \"react\";\nimport { styled } from \"@linaria/react\";\nconst DrilldownOverlayEditorStyle = /*#__PURE__*/styled('div')({\n name: \"DrilldownOverlayEditorStyle\",\n class: \"gdg-d4zsq0x\",\n propsAsIs: false\n});\nconst DrilldownOverlayEditor = p => {\n const {\n drilldowns\n } = p;\n return React.createElement(DrilldownOverlayEditorStyle, null, drilldowns.map((d, i) => React.createElement(\"div\", {\n key: i,\n className: \"doe-bubble\"\n }, d.img !== undefined && React.createElement(\"img\", {\n src: d.img\n }), React.createElement(\"div\", null, d.text))));\n};\nexport default DrilldownOverlayEditor;\n\n",null,"import { styled } from \"@linaria/react\";\nexport const ImageOverlayEditorStyle = /*#__PURE__*/styled('div')({\n name: \"ImageOverlayEditorStyle\",\n class: \"gdg-i2iowwq\",\n propsAsIs: false\n});\n\n",null,null,null,"import { styled } from \"@linaria/react\";\nexport const MarkdownContainer = /*#__PURE__*/styled('div')({\n name: \"MarkdownContainer\",\n class: \"gdg-mnuv029\",\n propsAsIs: false\n});\n\n",null,"import { styled } from \"@linaria/react\";\nconst _exp = /*#__PURE__*/() => p => p.targetWidth;\nexport const MarkdownOverlayEditorStyle = /*#__PURE__*/styled('div')({\n name: \"MarkdownOverlayEditorStyle\",\n class: \"gdg-m1pnx84e\",\n propsAsIs: false,\n vars: {\n \"m1pnx84e-0\": [_exp(), \"px\"]\n }\n});\n\n",null,null,null,null,null,null,null,null,"import { styled } from \"@linaria/react\";\nexport const UriOverlayEditorStyle = /*#__PURE__*/styled('div')({\n name: \"UriOverlayEditorStyle\",\n class: \"gdg-u1rrojo\",\n propsAsIs: false\n});\n\n",null,null,null,null,null,null,null,null,null,null,"import { styled } from \"@linaria/react\";\nexport const InputBox = /*#__PURE__*/styled('textarea')({\n name: \"InputBox\",\n class: \"gdg-izpuzkl\",\n propsAsIs: false\n});\nexport const ShadowBox = /*#__PURE__*/styled('div')({\n name: \"ShadowBox\",\n class: \"gdg-s69h75o\",\n propsAsIs: false\n});\nexport const GrowingEntryStyle = /*#__PURE__*/styled('div')({\n name: \"GrowingEntryStyle\",\n class: \"gdg-g1y0xocz\",\n propsAsIs: false\n});\n\n"],"names":["React","blend","makeCSSStyle","theme","_theme$textGroupHeade","_theme$horizontalBord","accentColor","accentFg","accentLight","textDark","textMedium","textLight","textBubble","bgIconHeader","fgIconHeader","textHeader","textGroupHeader","textHeaderSelected","bgCell","bgCellMedium","bgHeader","bgHeaderHasFocus","bgHeaderHovered","bgBubble","bgBubbleSelected","bgSearchResult","borderColor","horizontalBorderColor","drilldownBorder","linkColor","cellHorizontalPadding","cellVerticalPadding","headerFontStyle","baseFontStyle","markerFontStyle","fontFamily","editorFontSize","resizeIndicatorColor","undefined","headerBottomBorderColor","roundingRadius","dataEditorBaseTheme","headerIconSize","lineHeight","getDataEditorTheme","ThemeContext","createContext","useTheme","useContext","mergeAndRealizeTheme","merged","_len","arguments","length","overlays","Array","_key","overlay","key","hasOwnProperty","headerFontFull","baseFontFull","markerFontFull","proveType","_val","panic","message","Error","assert","fact","assertNever","_never","msg","maybe","fn","defaultValue","has","Object","prototype","deepEqual","foo","bar","ctor","len","constructor","Date","getTime","RegExp","toString","call","keys","debounce","useEventListener","eventName","handler","element","passive","capture","savedHandler","useRef","current","useEffect","addEventListener","el","eventListener","event","_savedHandler$current","removeEventListener","whenDefined","obj","result","PI","Math","degreesToRadians","degrees","getSquareBB","posX","posY","squareSideLength","x1","y1","x2","y2","getSquareXPosFromAlign","alignment","containerX","containerWidth","horizontalPadding","squareWidth","floor","getSquareWidth","maxSize","containerHeight","verticalPadding","min","pointIsWithinBB","x","y","bb","EditPencil","props","_props$fgColor","fg","fgColor","createElement","viewBox","fill","xmlns","d","stroke","strokeWidth","strokeLinecap","strokeLinejoin","vectorEffect","Checkmark","_props$fgColor2","useDebouncedMemo","factory","deps","time","state","setState","useState","mountedRef","debouncedSetState","useLayoutEffect","rtlRange","ltrRange","rtl","direction","value","test","scrollbarWidthCache","getScrollBarWidth","document","inner","style","width","height","outer","id","position","top","left","visibility","overflow","append","body","w1","offsetWidth","w2","clientWidth","remove","empty","Symbol","useStateWithReactiveInput","inputState","inputStateRef","forceRender","setStateOuter","useCallback","nv","s","pv","onEmpty","makeAccessibilityStringForArray","arr","index","count","str","slice","join","useDeepMemo","ref","rowShift","packColRowToNumber","col","row","unpackCol","packed","unpackRow","unpackNumberToColRow","WindowingTrackerBase","visibleWindow","freezeCols","freezeRows","isInWindow","w","colInWindow","rowInWindow","includes","setWindow","newWindow","clearOutOfWindow","RenderStateProvider","cache","Map","setValue","location","set","getValue","get","entries","delete","CellSet","items","cells","Set","map","add","cell","clear","size","hasHeader","cellNumber","hasItemInRectangle","rect","hasItemInRegion","r","values","getColors","variant","SpriteManager","headerIcons","onSettled","spriteMap","inFlight","drawSprite","sprite","ctx","alpha","bgColor","rSize","ceil","window","devicePixelRatio","spriteCanvas","spriteCb","spriteCtx","getContext","imgSource","Image","src","encodeURIComponent","promise","decode","then","drawImage","finally","globalAlpha","isGroupEqual","getSkipPoint","drawRegions","drawRegionsLowestY","dr","_drawRegionsLowestY","walkRowsInCol","startRow","drawY","rows","getRowHeight","freezeTrailingRows","hasAppendRow","skipToY","cb","_skipToY","rowEnd","didBreak","rh","fr","walkColumns","effectiveCols","cellYOffset","translateX","translateY","totalHeaderHeight","clipX","c","drawX","sticky","walkGroups","groupHeaderHeight","_startCol$group","startCol","end","boxWidth","group","endCol","t","localX","delta","max","sourceIndex","getSpanBounds","span","cellX","cellY","cellW","cellH","column","allColumns","_allColumns$find$sour","_allColumns$find","frozenRect","contentRect","firstNonSticky","find","renderFromCol","tempX","tempW","renderToCol","itemIsInRect","getClosestRect","px","py","allowedDirections","combineRects","distanceToLeft","distanceToRight","distanceToTop","distanceToBottom","minDistance","Number","MAX_SAFE_INTEGER","intersectRect","h1","h2","pointInRect","a","b","rectContains","hugRectToTarget","mod","leftMax","topMax","rightMax","bottomMax","leftOverflow","rightOverflow","topOverflow","bottomOverflow","right","bottom","splitRectIntoRegions","splitIndicies","splitLocations","lSplit","tSplit","rSplit","bSplit","lClip","tClip","rClip","bClip","inX","inY","inW","inH","inRight","inBottom","isOverLeft","isOverTop","isOverRight","isOverBottom","isOverCenterVert","isOverCenterHoriz","isOverCenter","push","clip","CompactSelection","GridColumnIcon","GridCellKind","isInnerOnlyCell","cellIsSelected","cellIsInRange","getFreezeTrailingHeight","drawLastUpdateUnderlay","loadingCell","kind","Loading","allowOverlay","drawCells","effectiveColumns","getCellContent","getGroupDetails","getRowThemeOverride","disabledRows","isFocused","drawFocus","damage","selection","prelightCells","highlightRegions","imageLoader","spriteManager","hoverValues","hoverInfo","drawCellCallback","hyperWrapping","outerTheme","enqueue","renderStateProvider","getCellRenderer","overrideCursor","minimumCellWidth","_damage$size","toDraw","frameTime","performance","now","font","deprepArg","cellIndex","freezeTrailingRowsHeight","handledSpans","skipPoint","colDrawStartY","_c$group","diff","colDrawX","colDrawY","colWidth","colHeight","found","i","reclip","save","beginPath","colSelected","columns","hasIndex","groupTheme","overrideTheme","colTheme","themeOverride","colFont","prepResult","isSticky","isTrailingRow","_c$trailingRowOptions","_c$trailingRowOptions2","rowSelected","rowDisabled","cellWidth","drawingSpan","skipContents","spanKey","areas","area","restore","rowTheme","trailingTheme","trailingRowOptions","isSelected","accentCount","spanIsHighlighted","some","Protected","pre","region","range","color","didDamageClip","h","isLastColumn","isLastRow","fillStyle","fillRect","hoverValue","hv","item","_fill","_hoverValue$hoverAmou","_hoverValue","cellFont","drawCell","hoverAmount","_prepResult","_prepResult$deprep","deprep","allocatedItem","reusableRect","drawState","animationFrameRequested","animRequest","isLastCol","highlighted","finalCellFillColor","lastPrep","hoverX","hoverY","val","args","cellFillColor","requestAnimationFrame","needsAnim","lastUpdated","_lastPrep","_r$drawPrep","renderer","_lastPrep2","_lastPrep2$deprep","partialPrepResult","drawPrep","draw","roundedRect","BooleanEmpty","BooleanIndeterminate","drawCheckbox","checked","_theme$roundingRadius","centerY","rectBordRadius","checkBoxWidth","checkBoxHalfWidth","hovered","moveTo","lineTo","strokeStyle","lineJoin","lineCap","lineWidth","withAlpha","GridColumnMenuIcon","drawMenuDots","getMiddleCenterBias","roundedPoly","drawGridHeaders","enableGroups","headerHeight","dragAndDropState","isResizing","verticalBorder","drawHeaderCallback","touchMode","_hovered$","hCol","hRow","_y","_hoverValues$find$hov","_hoverValues$find","selected","noHover","hoveredBoolean","hover","hasSelectedCell","bgFillStyle","xOffset","drawHeader","drawGroups","_hoverValues","_hovered$2","xPad","finalX","groupName","_groupTheme$textGroup","isHovered","fillColor","icon","fillText","name","actions","_hovered$3","actionBoxes","getActionBoundsForGroup","fadeStartX","fadeWidth","grad","createLinearGradient","trans","addColorStop","mouseX","mouseY","action","box","actionHovered","menuButtonSize","getHeaderMenuBounds","isRtl","drawHeaderInner","menuBounds","rowMarker","rowMarkerChecked","shouldDrawMenu","hasMenu","dirScalar","headerSize","overlayIcon","fadeStart","fadeEnd","fadeStartPercent","fadeEndPercent","textAlign","title","menuIcon","Triangle","triangleX","triangleY","Dots","dotsX","dotsY","iconX","iconY","columnIndex","groupBy","getStickyWidth","blendCache","drawBlanks","getRowTheme","selectedRows","blankTheme","overdrawStickyBoundaries","drawFreezeBorder","hColor","vColor","vStroke","hStroke","getMinMaxXY","minX","maxX","minY","maxY","MIN_SAFE_INTEGER","drawExtraRowThemes","freezeY","extraRowsStartY","ty","rowThemeBgCell","needDraw","_c$themeOverride","tx","colThemeBgCell","drawGridLines","spans","_theme$horizontalBord2","verticalOnly","target","_ref","_rowTheme$horizontalB","groups","line","g","blitLastFrame","blitSource","blitSourceScroll","targetScroll","last","cellXOffset","dpr","mappedColumns","doubleBuffer","imageSmoothingEnabled","deltaY","deltaX","stickyWidth","regions","blitWidth","abs","blitHeight","sx","sy","sw","sh","dx","dy","dw","dh","setTransform","scale","blitResizedCol","resizedIndex","_drawY","computeCanBlit","rowHeight","freezeColumns","maxScaleFactor","resized","curCol","lastCol","curRest","lastWidth","lastRest","computeBounds","drawHighlightRings","allHighlightRegions","filter","freezeLeft","freezeBottom","drawRects","_h$style","arg","topLeftBounds","bottomRightBounds","drawCb","dashed","wasDashed","needsClip","setLineDash","strokeRect","drawColumnResizeOutline","yOffset","drawFocusRing","selectedCell","fillHandle","_cell$span","currentItem","fillHandleTarget","mustDraw","targetCol","targetRow","targetColSpan","isStickyRow","stickRowHeight","fillHandleRow","drawHandleCb","isBeforeTarget","isAfterTarget","isFillHandleCol","doHandle","doRing","_col$themeOverride$ac","_col$themeOverride","_col$themeOverride$ac2","_col$themeOverride2","_drawCb","_drawHandleCb","getEffectiveColumns","rectBottomRight","clipHeaderDamage","_group","hasItemInSpan","_colDrawY","finalWidth","getLastRow","_c","__drawX","_clipX","_rh","drawGrid","lastArg","_window$devicePixelRa","_selection$current","canvasCtx","headerCanvasCtx","resizeCol","lastBlitData","renderStrategy","bufferACtx","bufferBCtx","canBlit","canvas","overlayCanvas","overlayHeight","bufferA","bufferB","aBufferScroll","bBufferScroll","mainCtx","overlayCtx","targetCtx","lastBuffer","targetBuffer","textBaseline","mustDrawFocusOnHeader","mustDrawHighlightRingsOnHeader","drawHeaderTexture","_theme$headerBottomBo","viewRegionWidth","damageInView","when","doDamage","selectionCurrent","doHeaders","resizedCol","highlightRedraw","focusRedraw","_theme$resizeIndicato","_theme$resizeIndicato2","lastRowDrawn","from","_","scrollX","scrollY","clamp","itemsAreEqual","hoverTime","easeOutCubic","AnimationManager","callback","currentHoveredItem","leavingItems","lastAnimationTime","addToLeavingItems","isAlreadyLeaving","removeFromLeavingItems","_leavingItem$hoverAmo","leavingItem","e","cleanUpLeavingElements","shouldStep","hasLeavingItems","currentHoveredIsAnimating","getAnimatingItems","step","timestamp","animating","setHovered","_this$currentHoveredI","Lazy","_this$val","lazy","browserIsFirefox","navigator","userAgent","browserIsSafari","browserIsOSX","platform","toLowerCase","startsWith","useAnimationQueue","queue","seq","drawRef","loop","requeue","headerKind","groupHeaderKind","outOfBoundsKind","OutOfBoundsRegionAxis","mouseEventArgsAreEqual","other","getColumnIndexForX","getRowIndexForY","useMappedColumns","InnerGridCellKind","isReadWriteCell","booleanCellIsEditable","makeRange","fillHandleClickSize","getRowData","_r$getAccessibilitySt","Custom","copyData","getAccessibilityString","DataGrid","p","forwardedRef","_p$translateX","_p$translateY","_experimental$enableF","_experimental$enableS","_eventTargetRef$curre","_eventTargetRef$curre2","_eventTargetRef$curre3","_eventTargetRef$curre4","_eventTargetRef$curre5","_eventTargetRef$curre6","accessibilityHeight","cellXOffsetReal","onHeaderMenuClick","isFilling","onCanvasFocused","onCanvasBlur","onContextMenu","fixedShadowX","fixedShadowY","onMouseDown","onMouseUp","onMouseMoveRaw","onMouseMove","onItemHovered","firstColAccessible","onKeyDown","onKeyUp","canvasRef","onDragStart","onDragEnd","eventTargetRef","resizeColumn","isDragging","isDraggable","allowResize","onCellFocused","onDragOverCell","onDrop","onDragLeave","imageWindowLoader","smoothScrollX","smoothScrollY","experimental","damageRegion","scrolling","setScrolling","hoveredItemInfo","setHoveredItemInfo","hoveredOnEdge","setHoveredOnEdge","overlayRef","drawCursorOverride","setDrawCursorOverride","lastWasTouch","setLastWasTouch","lastWasTouchRef","useMemo","lastArgsRef","lastDrawRef","scrollingStopRef","enableFirefoxRescaling","enableSafariRescaling","clearTimeout","setTimeout","stickyX","getBoundsForItem","getBoundingClientRect","getMouseArgsForPosition","ev","edgeDetectionBuffer","button","buttons","MouseEvent","shiftKey","ctrlKey","metaKey","isTouch","pointerType","scrollEdge","horizontal","vertical","innerHorizontal","innerVertical","EndPadding","Center","isEdge","isMaybeScrollbar","bounds","previousCol","_mappedColumns$previo","localEventX","localEventY","_mappedColumns$col$gr","isFillHandle","fillHandleLocation","fillHandleCellBounds","handleLogicalCenterX","handleLogicalCenterY","hoveredItem","enqueueRef","hoverInfoRef","documentElement","maxDPR","disableMinimumCellWidth","_experimental$hyperWr","_experimental$renderS","_hoverInfoRef$current","didOverride","cursor","round","_document","fonts","ready","damageInternal","locations","setCallback","overFill","setOverFill","headerHovered","groupHeaderHovered","clickableInnerCellHovered","editableBoolHovered","cursorOverride","NewRow","Marker","markerKind","Boolean","canDrag","contain","display","lastSetCursor","groupHeaderActionForEvent","groupDesc","boxes","isOverHeaderMenu","clientX","clientY","header","headerBounds","downTime","downPosition","mouseDown","onMouseDownImpl","eventTarget","touches","preventDefault","lastUpTime","onMouseUpImpl","lastUpTimeValue","isOutside","canCancel","changedTouches","isLongTouch","isDoubleClick","cancelable","_downPosition$current","_downPosition$current2","onClick","onClickImpl","_downPosition$current3","_downPosition$current4","onContextMenuImpl","onAnimationFrame","animManagerValue","animationManager","am","cellNeedsHover","needsHover","hoveredRef","onMouseMoveImpl","isIndirect","maybeSetHoveredInfo","newVal","needPosition","cv","needsDamageCell","needsHoverPosition","_getCellRenderer","toCheck","rendererNeeds","newInfo","notRowMarkerCol","onKeyDownImpl","stopPropagation","cancel","altKey","keyCode","rawEvent","onKeyUpImpl","refImpl","instance","onDragStartImpl","dragMime","dragData","setData","mime","payload","dragImage","dragImageX","dragImageY","setDragImage","image","prevented","defaultPrevented","dataTransfer","effectAllowed","offscreen","boundsForDragTarget","activeDropTarget","onDragOverImpl","_activeDropTarget$cur","rawCol","activeCol","activeRow","onDragEndImpl","onDropImpl","onDragLeaveImpl","selectionRef","focusRef","focusElement","contains","activeElement","_canvasRef$current","focus","preventScroll","useImperativeHandle","_canvasRef$current2","getBounds","lastFocusedSubdomNode","accessibilityTree","_effectiveCols$","_selection$current$ce","_selection$current2","disableAccessibilityTree","colOffset","fCol","fRow","visibleCols","visibleRows","role","tabIndex","onFocus","focused","cellContent","onFocusCapture","_lastFocusedSubdomNod","_lastFocusedSubdomNod2","opacityX","absoluteOffsetY","opacityY","stickyShadow","styleX","opacity","pointerEvents","transition","boxShadow","styleY","Fragment","overlayStyle","onBlur","memo","forwardRef","offsetColumnSize","_column$growOffset","growOffset","DataGridDnd","resizeColStartX","setResizeColStartX","setResizeCol","dragCol","setDragCol","dropCol","setDropCol","dragColActive","setDragColActive","dragStartX","setDragStartX","dragRow","setDragRow","dropRow","setDropRow","dragRowActive","setDragRowActive","dragStartY","setDragStartY","onColumnMoved","onColumnResize","onColumnResizeStart","onColumnResizeEnd","gridRef","maxColumnWidth","minColumnWidth","onRowMoved","lockColumns","onColumnProposeMove","canResize","selectedColumns","onItemHoveredImpl","canDragCol","_gridRef$current","_columns$col$growOffs","onHeaderMenuClickMangled","screenPosition","lastResizeWidthRef","clearAll","_columns$resizeCol$gr","_col$growOffset","newSize","ns","_col$growOffset2","dragOffset","dest","_column$growOffset2","newWidth","first","_col$growOffset3","getMangledCellContent","forceStrict","useResizeDetector","initialSize","setSize","resizeCallback","entry","resizeObserver","ResizeObserver","observe","disconnect","useKineticScroll","isEnabled","targetScroller","rafId","isTouching","lastScrollPosition","sameCount","callbackRef","scrollEl","handleScroll","_lastScrollPosition$c","_lastScrollPosition$c2","currentScrollPosition","scrollLeft","scrollTop","startTouch","endTouch","styled","_exp","isSafari","ScrollRegionStyle","class","propsAsIs","vars","useTouchUpDelayed","delay","hasTouches","setHasTouches","safeWindow","cbTimer","InfiniteScroller","_rightElementProps$st","_rightElementProps$fi","_lastProps$current","_lastProps$current2","children","clientHeight","scrollHeight","scrollWidth","update","draggable","className","preventDiagonalScrolling","paddingBottom","paddingRight","rightElement","rightElementProps","kineticScrollPerfHack","scrollRef","padders","rightElementSticky","rightElementFill","offsetY","lastScrollY","scroller","lockDirection","rightWrapRef","isIdle","setIsIdle","idleTimer","lx","ly","onScroll","_scrollTop","_scrollLeft","_lock$","_lock$2","_rightWrapRef$current","_rightWrapRef$current2","lastScrollTop","lastScrollLeft","lock","cWidth","cHeight","newY","scrollableHeight","prog","recomputed","onScrollRef","lastProps","didFirstScroll","setRefs","toAdd","maxHeight","paddingLeft","marginBottom","marginRight","flexGrow","GridScroller","nonGrowWidth","clientSize","onVisibleRegionChanged","overscrollX","overscrollY","lastX","lastY","lastSize","lastArgs","processArgs","_lastSize$current","_lastSize$current2","cellRight","stickyColWidth","cx","cellBottom","cy","oldRect","_args$paddingRight","onScrollUpdate","SearchWrapper","ScrollingDataGrid","upArrow","downArrow","closeX","targetSearchTimeMS","DataGridSearch","searchInputRef","searchValue","searchResults","searchResultsIn","onSearchValueChange","getCellsForSelection","onSearchResultsChanged","showSearch","onSearchClose","searchID","random","searchStringInner","setSearchStringInner","searchString","setSearchString","searchStatus","setSearchStatus","searchStatusRef","_cv$selectedIndex","rowsSearched","results","selectedIndex","abortControllerRef","AbortController","searchHandle","searchResultsInner","setSearchResultsInner","cancelSearch","cancelAnimationFrame","abort","cellYOffsetRef","beginSearch","regex","replace","startY","searchStride","runningResult","tick","_searchStatusRef$curr","_searchStatusRef$curr2","tStart","rowsLeft","data","signal","added","testString","Text","displayData","Uri","Markdown","Bubble","tEnd","tElapsed","rounded","scalar","onClose","onSearchChange","onNext","_ev$stopPropagation","newIndex","onPrev","_ev$stopPropagation2","onSearchKeyDown","nativeEvent","code","isAnimatingOut","setIsAnimatingOut","timeoutId","searchbox","_searchStatus$rowsSea","_searchStatus$results","_searchStatus$results2","resultString","cancelEvent","rowsSearchedProgress","progressStyle","onChange","onKeyDownCapture","disabled","htmlFor","ClickOutsideContainer","targetHeight","RenameInput","GroupRename","canvasBounds","onFinish","onClickOutside","setSelectionRange","autoFocus","isSizedGridColumn","resolveCellsThunk","defaultSize","measureCell","_r$measure","_r$measure2","measure","measureColumn","colIndex","selectedData","removeOutliers","sizes","sum","average","measureText","final","useColumnSizer","abortController","rowsRef","getCellsForSelectionRef","themeRef","memoMap","lastColumns","setSelectionData","getCells","every","computeRows","tailRows","computeArea","tailComputeArea","getResult","tailGetResult","toSet","getRaw","totalWidth","totalGrow","distribute","grow","writeable","extra","remaining","di","_result$i$grow","weighted","sizedColumns","checkKey","keycode","parseInt","toUpperCase","codePointAt","isHotkey","hotkey","details","isHotkeyInner","didMatch","parts","split","part","wantCtrl","wantShift","wantAlt","wantMeta","pop","accel","useSelectionBehavior","gridSelection","setGridSelection","rangeBehavior","columnBehavior","rowBehavior","rangeSelect","setCurrent","expand","trigger","_gridSelection$curren","_gridSelection$curren2","rangeMixable","allowColumnCoSelect","allowRowCoSelect","rangeStack","addLastRange","setSelectedRows","newRows","allowMixed","_newRows","rangeMixed","columnMixed","setSelectedColumns","newCols","_newCols","rowMixed","useCellsForSelection","getCellsForSelectionIn","rowMarkerOffset","getCellsForSelectionDirectWhenValid","_getCellsForSelection","getCellsForSelectionDirect","getCellsForSelectionMangled","newRect","convertCellToBuffer","_cell$displayData","_cell$displayData2","formatted","rawValue","format","Drilldown","text","RowID","createBufferFromGridCells","columnIndexes","copyBuffer","mappedIndex","escapeIfNeeded","withComma","createTextBuffer","lines","_cell$rawValue$toStri","_cell$rawValue","formatHtmlTextContent","match","repeat","formatHtmlAttributeContent","attrText","restoreHtmlEntities","createHtmlBuffer","formatStr","ind","_cell$rawValue$toStri2","_cell$rawValue2","getCopyBufferContents","textPlain","textHtml","decodeHTML","html","fragment","innerHTML","tableEl","querySelector","walkEl","HTMLTableElement","nodeName","reverse","HTMLTableRowElement","HTMLTableCellElement","_clone$getAttribute","clone","cloneNode","firstTagIsPara","para","isAppleNumbers","brs","querySelectorAll","br","replaceWith","attributeValue","getAttribute","formatValue","_current","_clone$querySelector$","_clone$querySelector","_clone$textContent","textContent","_current2","rawValues","_x$getAttribute","_x$textContent","_current3","_clone$textContent2","_clone$textContent3","_current4","_textContent","_textContent2","expandSelection","spanRangeBehavior","origVal","isFilled","_newVal","_newVal$current","leftCells","rightCells","rCells","_newVal$current$cell","descape","endsWith","unquote","State","start","None","char","inString","inStringPostQuote","copyToClipboard","_window$navigator$cli3","copyWithWriteText","_window$navigator$cli","clipboard","writeText","copyWithWrite","_window$navigator$cli2","write","ClipboardItem","Blob","type","copyWithClipboardData","_e$clipboardData","_e$clipboardData2","clipboardData","toggleBoolean","toCss","innerWidth","_exp2","innerHeight","Wrapper","DataEditorContainer","inWidth","inHeight","rest","maxPxPerMs","msToFullSpeed","useAutoscroll","scrollDirection","speedScalar","xDir","yDir","cancelled","lastTime","scrollFn","curTime","_scrollRef$current","motion","scrollBy","useRemAdjuster","rowHeightIn","headerHeightIn","groupHeaderHeightIn","themeIn","overscrollXIn","overscrollYIn","scaleToRem","remSize","_themeIn$headerIconSi","_themeIn$cellHorizont","_themeIn$cellVertical","scaler","bt","n","keybindingDefaults","downFill","rightFill","closeOverlay","acceptOverlayDown","acceptOverlayUp","acceptOverlayLeft","acceptOverlayRight","copy","paste","cut","search","activateCell","scrollToSelectedCell","goToFirstCell","goToFirstColumn","goToFirstRow","goToLastCell","goToLastColumn","goToLastRow","goToNextPage","goToPreviousPage","selectToFirstCell","selectToFirstColumn","selectToFirstRow","selectToLastCell","selectToLastColumn","selectToLastRow","selectAll","selectRow","selectColumn","goUpCell","goRightCell","goDownCell","goLeftCell","goUpCellRetainSelection","goRightCellRetainSelection","goDownCellRetainSelection","goLeftCellRetainSelection","selectGrowUp","selectGrowRight","selectGrowDown","selectGrowLeft","realizeKeybind","keybind","defaultVal","realizeKeybinds","keybinds","isOSX","useKeybindingsWithDefaults","keybindingsIn","_keys$goToNextPage","_ref2","_keys$goToPreviousPag","_ref3","_keys$goToFirstCell","_ref4","_keys$goToLastCell","_ref5","_keys$selectToFirstCe","_ref6","_keys$selectToLastCel","withBackCompatApplied","pageDown","pageUp","uniq","flatten","isEditableGridCell","isObjectEditorCallbackResult","gridSelectionHasItem","DataGridOverlayEditor","idCounter","getSpanStops","_c$span$","_c$span","_c$span$2","_c$span2","shiftSelection","input","offset","emptyGridSelection","DataEditorImpl","_rowMarkersObj$kind","_rowMarkersObj$width","_rowMarkersObj$startI","_rowMarkersObj$theme","_rowMarkersObj$checkb","_visibleRegion$height","_visibleRegion$width","_gridSelection$curren5","_gridSelectionOuter$c","_gridSelectionOuter$c2","gridSelectionInner","setGridSelectionInner","setOverlay","mouseState","setMouseState","lastSent","imageEditorOverride","markdownDivCreateNode","columnsIn","onCellClicked","onCellActivated","onFillPattern","onFinishedEditing","coercePasteValue","drawHeaderIn","drawCellIn","editorBloom","onHeaderClicked","onGroupHeaderClicked","onCellContextMenu","onHeaderContextMenu","onGroupHeaderContextMenu","onGroupHeaderRenamed","onCellEdited","onCellsEdited","onSearchResultsChangedIn","onKeyDownIn","onKeyUpIn","keybindings","onRowAppended","validateCell","validateCellIn","highlightRegionsIn","columnSelect","rowSelect","rangeSelectionBlending","columnSelectionBlending","rowSelectionBlending","onDelete","onDeleteIn","onPaste","copyHeaders","cellActivationBehavior","rowSelectionMode","onSearchCloseIn","onSelectionCleared","showSearchIn","gridSelectionOuter","onGridSelectionChange","minColumnWidthIn","maxColumnWidthIn","maxColumnAutoWidth","maxColumnAutoWidthIn","provideEditor","allowedFillDirections","scrollOffsetX","scrollOffsetY","onColumnResizeIn","onColumnResizeEndIn","onColumnResizeStartIn","customRenderers","additionalRenderers","trapFocus","isOutsideClick","renderers","rowMarkersObj","rowMarkers","rowMarkerWidthRaw","rowMarkerWidth","rowMarkerStartIndex","startIndex","rowMarkerTheme","rowMarkerCheckboxStyle","checkboxStyle","docStyle","fontSize","getComputedStyle","parseFloat","hasRowMarkers","showTrailingBlankRow","lastRowSticky","showSearchInner","setShowSearchInner","gridSelectionOuterMangled","getCellsForSeletionDirect","newValue","prevValue","expectedExternalGridSelection","wg","_drawHeaderIn","_drawCellIn","sel","mergedTheme","setClientSize","rendererMap","isMatch","numSelectedRows","mangledCols","visibleRegionY","visibleRegionTy","visibleRegionRef","visibleRegionInput","_visibleRegionRef$cur","_visibleRegionRef$cur2","hasJustScrolled","visibleRegion","setVisibleRegion","vScrollReady","hScrollReady","immediate","_gridRef$current2","mangledRows","mangledOnCellsEdited","mangledItems","fillHighlightRegion","setFillHighlightRegion","highlightRange","maxWidth","mangledColsRef","isTrailing","isRowMarkerCol","drawHandle","_trailingRowOptions$h","isFirst","maybeFirstColumnHint","hint","_c$trailingRowOptions3","_c$trailingRowOptions4","_c$trailingRowOptions5","addIcon","outerCol","strict","_vr$extras","_vr$extras2","_vr$extras3","vr","isOutsideMainArea","extras","isInFreezeArea","freezeRegions","mangledGetGroupDetails","_getGroupDetails","_result$actions","setRenameGroup","setOverlaySimple","_mangledGetGroupDetai","content","reselect","fromKeyboard","initialValue","isNaN","highlight","forceEditMode","readonly","_gridRef$current3","focusOnRowFromTrailingBlankRow","_gridRef$current4","scrollTo","dir","paddingX","paddingY","options","grid","trueCol","unit","amount","trueRow","desiredX","desiredY","targetRect","_grid$getBounds","scrollBounds","frozenWidth","trailingRowHeight","freezeTrailingRowsEffective","sLeft","sRight","sTop","sBottom","minx","hAlign","miny","vAlign","focusCallback","getCellContentRef","appendRow","_c$trailingRowOptions6","openOverlay","appendResult","backoff","doFocus","scrollToRef","getCustomNewRowTargetColumn","_columns$col$trailing","_columns$col","customTargetColumn","targetColumn","customTargetOffset","maybeIndex","indexOf","lastSelectedRowRef","lastSelectedColRef","themeForCell","pos","_mangledCols$col","handleSelect","isMultiKey","isMultiRow","isMultiCol","cellCol","cellRow","lastMouseSelectLocation","markerCell","_renderer$onClick","postClick","lastHighlighted","newSlice","fromSingleSelection","_gridSelection$curren3","onSelect","isLastStickyRow","startedFromLastSticky","isActivelyDraggingHeader","touchDownArgs","mouseDownData","isPrevented","fh","previousSelection","renameGroup","handleGroupHeaderSelection","needle","hasAll","normalSizeColumn","inputCol","newCol","scrollDir","setScrollDir","fillPattern","currentSelection","_previousSelection$cu","_gridRef$current5","patternRange","currentRange","canceled","fillDestination","patternSource","pattern","editItemList","patternCell","fillRight","firstColSelection","fillDown","firstRowSelection","_mouse$previousSelect","_lastMouseSelectLocat","mouse","newRange","lastMouseDownCol","lastMouseDownRow","handleMaybeClick","isValidClick","_c$activationBehavior","_gridRef$current6","shouldActivate","activationBehaviorOverride","_mouse$previousSelect2","selectedCol","selectedRow","prevCol","prevRow","isClickOnSelected","clickLocation","touchVr","_gridSelection$curren4","_mouseDownData$curren","_mouseDownData$curren2","onHeaderMenuClickInner","currentCell","onVisibleRegionChangedImpl","rightElWidth","freezeRegion","newRegion","onColumnMovedImpl","endIndex","isActivelyDragging","_mouseDownData$curren3","_mouseDownData$curren4","_mouseState$previousS","prevRange","startedFromLastStickyRow","landedOnLastStickyRow","adjustSelectionOnScroll","visible","_visible$extras$freez","_visible$extras","adjustSelection","old","disallowed","done","updateSelectedCell","fromEditingTrailingRow","freeMove","rowMax","newStack","onFinishEditing","movement","_gridRef$current7","movX","movY","isEditingTrailingRow","overlayID","deleteRange","_gridRef$current8","editList","cellValue","_toDelete$provideEdit","toDelete","editor","_editor$deletedValue","deletedValue","_toDelete$onDelete","overlayOpen","handleFixedKeybindings","_gridSelection$curren6","_gridSelection$curren7","_searchInputRef$curre","_onDelete","callbackResult","cancelOnlyOnMove","moved","adjustedCol","onPasteInternal","pasteToCell","_rawValue$join","_rawValue$toString","stringifiedRawValue","coerced","process","env","NODE_ENV","console","warn","_r$onPaste","_r$onPaste2","formattedString","_selectedColumns$firs","_selectedRows$first","_gridRef$current9","read","clipboardContent","types","htmlBlob","getType","decoded","readText","getData","_text","_data","cellData","_cb$rawValue$toString","_cb$rawValue","dataRow","dataItem","writeCol","writeRow","onCopy","ignoreFocus","_scrollRef$current2","copyToClipboardWithHeaders","headers","thunk","toCopy","rowIndex","v","Promise","settled","all","cols","reduce","onCut","_scrollRef$current3","_canvasRef$current3","effectiveSelection","onDeleteResult","navIndex","outCol","outRow","_expectedExternalGrid","_expectedExternalGrid2","selectionOutOfBounds","tint","mangledVerticalBorder","_verticalBorder","renameGroupNode","mangledFreezeColumns","updateCells","damageList","_gridRef$current10","_gridRef$current11","_gridRef$current12","emit","remeasureColumns","selCol","selRow","setIsFocused","setIsFocusedDebounced","onFocusOut","idealWidth","idealHeight","_experimental$scrollb","scrollbarWidth","scrollbarWidthOverride","rowsCountWithTrailingRow","avg","toAverage","acc","cssStyle","Provider","Suspense","fallback","bloom","isSubGrid","DataEditor","defaultCellMaxSize","booleanCellRenderer","_c$data$toString","_c$data","useLabel","_a$cell$maxSize","drawBoolean","_cell$maxSize","_cell$contentAlign","pointerX","pointerY","cellCenterY","contentAlign","checkBoxClicked","toPaste","canEdit","hoverEffect","BubblesOverlayEditorStyle","BubblesOverlayEditor","bubbles","measureTextCached","bubbleCellRenderer","drawBubbles","itemMargin","bubbleHeight","bubblePad","bubbleMargin","renderX","renderBoxes","textWidth","rectInfo","DrilldownOverlayEditorStyle","DrilldownOverlayEditor","drilldowns","img","getEmHeight","drilldownCellRenderer","drawDrilldownCell","drilldownCache","getAndCacheDrilldownBorder","border","rounding","shadowBlur","middleWidth","sideWidth","targetWidth","padding","shadowColor","shadowOffsetY","emHeight","tileMap","textMetrics","imgWidth","loadOrGetImage","renderWidth","outerSideWidth","outerPadding","rx","rw","outerMiddleWidth","_theme$roundingRadius2","imgSize","srcX","srcY","srcWidth","srcHeight","ImageOverlayEditorStyle","Carousel","ImageOverlayEditor","urls","canWrite","onEditClick","renderImage","filtered","u","allowMove","showArrows","showThumbs","swipeable","emulateTouch","infiniteLoop","url","_renderImage","innerContent","imageCellRenderer","_a$cell$displayData","_a$cell$rounding","_ctx","ImageEditor","onCancel","newImage","trim","fragments","uris","f","URL","imgHeight","images","getRandomNumber","seed","loadingCellRenderer","_cell$skeletonHeight","skeletonWidth","skeletonWidthVariability","hpad","rectHeight","skeletonHeight","MarkdownContainer","marked","MarkdownDiv","PureComponent","targetElement","containerRefHook","renderMarkdownIntoDiv","contents","createNode","childRange","createRange","selectNodeContents","deleteContents","newChild","childDoc","tags","getElementsByTagName","tag","rel","render","displayName","MarkdownOverlayEditorStyle","GrowingEntry","MarkdownOverlayEditor","validatedSelection","markdown","editMode","setEditMode","addLeftPad","drawTextCell","prepTextCell","markdownCellRenderer","firstLine","markerCellRenderer","prepMarkerRowCell","drawMarkerRowCell","centerX","newFont","deprepMarkerRowCell","checkedboxAlpha","offsetAmount","fontStyle","newRowCellRenderer","drawNewRowCell","alwaysShowIcon","textX","finalLineSize","lineSize","xTranslate","padPlus","NumberOverlayEditor","numberCellRenderer","isHighlighted","fixedDecimals","allowNegative","thousandSeparator","decimalSeparator","_x$floatValue","floatValue","_details$formattedStr","newNumber","protectedCellRenderer","drawProtectedCell","radius","xStart","center","cos","q","sin","rowIDCellRenderer","textCellRenderer","textCell","allowWrapping","padX","padY","m","maxH","actualBoundingBoxAscent","maxLineWidth","disablePadding","altNewline","UriOverlayEditorStyle","UriOverlayEditor","uri","preview","href","getMeasuredTextCache","getTextRect","metrics","uriCellRenderer","uriCell","txt","isLinky","textRect","middleCenterBias","underlineOffset","onClickUri","didClick","_cell$displayData3","_value$displayData","AllCellRenderers","iconHead","headerRowID","bg","headerCode","headerNumber","headerString","headerBoolean","headerUri","renameIcon","headerAudioUri","headerVideoUri","headerEmoji","headerImage","headerPhone","headerMarkdown","headerDate","headerTime","headerEmail","headerReference","headerIfThenElse","headerSingleValue","headerLookup","headerTextTemplate","headerMath","headerRollup","headerJoinStrings","headerSplitString","headerGeoDistance","headerArray","rowOwnerOverlay","protectedColumnOverlay","sprites","throttle","imgPool","ImageWindowLoaderImpl","imageLoaded","loadedLocations","sendLoaded","keep","j","loadImage","_imgPool$pop","loaded","unshift","loadPromise","toWrite","DataEditorAllImpl","allSprites","_p$imageWindowLoader","DataEditorAll","wrapperRef","createRef","clickOutside","node","classList","parentElement","componentDidMount","componentWillUnmount","div","createDiv","parseToRgba","normalizedColor","control","computedColor","blendResultCache","background","cacheKey","ba","ao","ro","go","bo","interpolateColors","leftColor","rightColor","hScaler","nScaler","getLuminance","channel","pow","isTextEditableGridCell","isRectangleEqual","_cell$readonly","mergeRanges","ranges","stack","sort","emptyCompactSelection","_Symbol$iterator","iterator","newItems","selMin","selMax","splice","predicate","equals","toArray","_emptyCompactSelectio","splitText","clearCache","cellIsInRect","startX","endX","endY","spanStart","spanEnd","includeSingleSelection","remapForDnDState","dndState","mappedCols","writable","temp","remapped","curX","targetX","targetY","hasGroups","effectiveRows","curY","metricsSize","metricsCache","isSSR","clearCacheOnLoad","makeCacheKey","baseline","getMiddleCenterBiasInner","loadMetric","sample","biasCache","alphabeticMetrics","middleMetrics","bias","actualBoundingBoxDescent","lastUpdate","progress","animTime","fade","overrideColor","newFill","drawTextCellExternal","drawSingleTextLine","truncateString","drawMultiLineText","actualHeight","mustClip","optimalY","_allowWrapping","changed","tl","tr","bl","arcTo","arc","points","radiusAll","asVec","pp","vx","vy","vlen","sqrt","vnx","vny","nx","ny","ang","atan2","p1","p2","p3","v1","v2","sinA","sinA90","angle","asin","radDirection","drawDirection","halfAngle","lenOut","cRadius","closePath","freezeWidth","InputBox","ShadowBox","GrowingEntryStyle","globalInputID","placeholder","inputRef","useText","inputID","ta","_inputRef$current","onKeyDownInner"],"sourceRoot":""} \ No newline at end of file diff --git a/docs/4981.d9d09078.iframe.bundle.js.map b/docs/4981.d9d09078.iframe.bundle.js.map deleted file mode 100644 index 810c2d33d..000000000 --- a/docs/4981.d9d09078.iframe.bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"4981.d9d09078.iframe.bundle.js","mappings":";;;;;;;;;;;;;;;AAAyB;AACoC;AAKvD,SAAUE,YAAYA,CAACC,KAAY;EAAA,IAAAC,qBAAA,EAAAC,qBAAA;EACrC,OAAO;IACH,oBAAoB,EAAEF,KAAK,CAACG,WAAW;IACvC,iBAAiB,EAAEH,KAAK,CAACI,QAAQ;IACjC,oBAAoB,EAAEJ,KAAK,CAACK,WAAW;IACvC,iBAAiB,EAAEL,KAAK,CAACM,QAAQ;IACjC,mBAAmB,EAAEN,KAAK,CAACO,UAAU;IACrC,kBAAkB,EAAEP,KAAK,CAACQ,SAAS;IACnC,mBAAmB,EAAER,KAAK,CAACS,UAAU;IACrC,sBAAsB,EAAET,KAAK,CAACU,YAAY;IAC1C,sBAAsB,EAAEV,KAAK,CAACW,YAAY;IAC1C,mBAAmB,EAAEX,KAAK,CAACY,UAAU;IACrC,yBAAyB,GAAAX,qBAAA,GAAED,KAAK,CAACa,eAAe,cAAAZ,qBAAA,cAAAA,qBAAA,GAAID,KAAK,CAACY,UAAU;IACpE,4BAA4B,EAAEZ,KAAK,CAACc,kBAAkB;IACtD,eAAe,EAAEd,KAAK,CAACe,MAAM;IAC7B,sBAAsB,EAAEf,KAAK,CAACgB,YAAY;IAC1C,iBAAiB,EAAEhB,KAAK,CAACiB,QAAQ;IACjC,2BAA2B,EAAEjB,KAAK,CAACkB,gBAAgB;IACnD,yBAAyB,EAAElB,KAAK,CAACmB,eAAe;IAChD,iBAAiB,EAAEnB,KAAK,CAACoB,QAAQ;IACjC,0BAA0B,EAAEpB,KA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AAAwQ,iBAAA,GAAAJ,QAAQ,CAACp6E,OAAO,cAAAw6E,iBAAA,eAAhBA,iBAAA,CAAkBpoC,iBAAiB,CAACp5B,KAAK,CAAC,CAAC,CAAC,EAAEA,KAAK,CAAC,CAAC,CAAC,CAAC;;EAE/D,CAAC,EAAE,CAACgxD,kBAAkB,CAAC,CAAC;EAExB,MAAMyQ,cAAc,GAAG7gF,iBAAiB,CACpCq0B,CAAC,IAAG;IACA,IAAIA,CAAC,CAAC3wB,GAAG,KAAK,OAAO,IAAI2wB,CAAC,CAAC2H,QAAQ,IAAIs3C,UAAU,KAAK,IAAI,EAAE;MACxD;;IAEJt6C,SAAS,aAATA,SAAS,eAATA,SAAS,CAAG3E,CAAC,CAAC;EAClB,CAAC,EACD,CAACi/C,UAAU,EAAEt6C,SAAS,CAAC,CAC1B;EAED,OACIh5B,mBAAA,CAACqgF,iBAAiB;IAAC/xC,SAAS,EAAC;EAAmB,GAC5CtuC,mBAAA,CAACogF,SAAS;IAAC9xC,SAAS,EAAEA;EAAS,GAAGmyC,OAAO,GAAG,IAAI,CAAa,EAC7DzgF,mBAAA,CAACmgF,QAAQ;IAAA,GACDj6B,IAAI;IACR5X,SAAS,EAAE,CAACA,SAAS,aAATA,SAAS,cAATA,SAAS,GAAI,EAAE,IAAI,YAAY;IAC3CljC,EAAE,EAAEs1E,OAAO;IACXrzE,GAAG,EAAEmzE,QAAQ;IACbxnD,SAAS,EAAE6nD,cAAc;IACzBn2E,KAAK,EAAE+1E,OAAO;IACdF,WAAW,EAAEA,WAAW;IACxB7oB,GAAG,EAAC;EAAM,EACZ,CACc;AAE5B,CAAC","sources":["webpack://root/../../../src/common/styles.ts","webpack://root/../../../src/common/support.ts","webpack://root/../../../src/common/utils.tsx","webpack://root/../../../src/common/render-state-provider.ts","webpack://root/../../../../src/internal/data-grid/cell-set.ts","webpack://root/../../../../src/internal/data-grid/data-grid-sprites.ts","webpack://root/../../../../../src/internal/data-grid/render/data-grid-render.walk.ts","webpack://root/../../../src/common/math.ts","webpack://root/../../../../../src/internal/data-grid/render/data-grid-render.cells.ts","webpack://root/../../../../../src/internal/data-grid/render/draw-checkbox.ts","webpack://root/../../../../../src/internal/data-grid/render/data-grid-render.header.ts","webpack://root/../../../../../src/internal/data-grid/render/data-grid-render.lines.ts","webpack://root/../../../../../src/internal/data-grid/render/data-grid-render.blit.ts","webpack://root/../../../../../src/internal/data-grid/render/data-grid.render.rings.ts","webpack://root/../../../../../src/internal/data-grid/render/data-grid-render.ts","webpack://root/../../../../src/internal/data-grid/animation-manager.ts","webpack://root/../../../src/common/browser-detect.ts","webpack://root/../../../../src/internal/data-grid/use-animation-queue.ts","webpack://root/../../../../src/internal/data-grid/event-args.ts","webpack://root/../../../../src/internal/data-grid/data-grid.tsx","webpack://root/../../../../src/internal/data-grid-dnd/data-grid-dnd.tsx","webpack://root/../../../src/common/resize-detector.ts","webpack://root/../../../../src/internal/scrolling-data-grid/use-kinetic-scroll.ts","webpack://root/./packages/core/dist/esm/internal/scrolling-data-grid/infinite-scroller.js","webpack://root/../../../../src/internal/scrolling-data-grid/scrolling-data-grid.tsx","webpack://root/./packages/core/dist/esm/internal/data-grid-search/data-grid-search-style.js","webpack://root/../../../../src/internal/data-grid-search/data-grid-search.tsx","webpack://root/./packages/core/dist/esm/data-editor/group-rename.js","webpack://root/../../../src/data-editor/use-column-sizer.ts","webpack://root/../../../src/common/is-hotkey.ts","webpack://root/../../../../src/internal/data-grid/use-selection-behavior.ts","webpack://root/../../../src/data-editor/use-cells-for-selection.ts","webpack://root/../../../src/data-editor/copy-paste.ts","webpack://root/../../../src/data-editor/data-editor-fns.ts","webpack://root/./packages/core/dist/esm/internal/data-editor-container/data-grid-container.js","webpack://root/../../../src/data-editor/use-autoscroll.ts","webpack://root/../../../src/data-editor/use-rem-adjuster.ts","webpack://root/../../../src/data-editor/data-editor-keybindings.ts","webpack://root/../../../src/data-editor/data-editor.tsx","webpack://root/../../../src/cells/boolean-cell.tsx","webpack://root/./packages/core/dist/esm/internal/data-grid-overlay-editor/private/bubbles-overlay-editor-style.js","webpack://root/../../../../../src/internal/data-grid-overlay-editor/private/bubbles-overlay-editor.tsx","webpack://root/../../../src/cells/bubble-cell.tsx","webpack://root/./packages/core/dist/esm/internal/data-grid-overlay-editor/private/drilldown-overlay-editor.js","webpack://root/../../../src/cells/drilldown-cell.tsx","webpack://root/./packages/core/dist/esm/internal/data-grid-overlay-editor/private/image-overlay-editor-style.js","webpack://root/../../../../../src/internal/data-grid-overlay-editor/private/image-overlay-editor.tsx","webpack://root/../../../src/cells/image-cell.tsx","webpack://root/../../../src/cells/loading-cell.tsx","webpack://root/./packages/core/dist/esm/internal/markdown-div/private/markdown-container.js","webpack://root/../../../../src/internal/markdown-div/markdown-div.tsx","webpack://root/./packages/core/dist/esm/internal/data-grid-overlay-editor/private/markdown-overlay-editor-style.js","webpack://root/../../../../../src/internal/data-grid-overlay-editor/private/markdown-overlay-editor.tsx","webpack://root/../../../src/cells/markdown-cell.tsx","webpack://root/../../../src/cells/marker-cell.tsx","webpack://root/../../../src/cells/new-row-cell.tsx","webpack://root/../../../src/cells/number-cell.tsx","webpack://root/../../../src/cells/protected-cell.tsx","webpack://root/../../../src/cells/row-id-cell.tsx","webpack://root/../../../src/cells/text-cell.tsx","webpack://root/./packages/core/dist/esm/internal/data-grid-overlay-editor/private/uri-overlay-editor-style.js","webpack://root/../../../../../src/internal/data-grid-overlay-editor/private/uri-overlay-editor.tsx","webpack://root/../../../src/cells/uri-cell.tsx","webpack://root/../../../src/cells/index.ts","webpack://root/../../../../src/internal/data-grid/sprites.ts","webpack://root/../../../src/common/image-window-loader.ts","webpack://root/../../src/data-editor-all.tsx","webpack://root/../../../../src/internal/click-outside-container/click-outside-container.tsx","webpack://root/../../../../src/internal/data-grid/color-parser.ts","webpack://root/../../../../src/internal/data-grid/data-grid-types.ts","webpack://root/../../../../../src/internal/data-grid/render/data-grid-lib.ts","webpack://root/./packages/core/dist/esm/internal/growing-entry/growing-entry-style.js","webpack://root/../../../../src/internal/growing-entry/growing-entry.tsx"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"import { styled } from \"@linaria/react\";\nimport * as React from \"react\";\nimport { useResizeDetector } from \"../../common/resize-detector.js\";\nimport { browserIsSafari } from \"../../common/browser-detect.js\";\nimport { useEventListener } from \"../../common/utils.js\";\nimport useKineticScroll from \"./use-kinetic-scroll.js\";\nconst _exp = /*#__PURE__*/() => p => p.isSafari ? \"scroll\" : \"auto\";\nconst ScrollRegionStyle = /*#__PURE__*/styled('div')({\n name: \"ScrollRegionStyle\",\n class: \"gdg-s1dgczr6\",\n propsAsIs: false,\n vars: {\n \"s1dgczr6-0\": [_exp()]\n }\n});\nfunction useTouchUpDelayed(delay) {\n const [hasTouches, setHasTouches] = React.useState(false);\n const safeWindow = typeof window === \"undefined\" ? null : window;\n const cbTimer = React.useRef(0);\n useEventListener(\"touchstart\", React.useCallback(() => {\n window.clearTimeout(cbTimer.current);\n setHasTouches(true);\n }, []), safeWindow, true, false);\n useEventListener(\"touchend\", React.useCallback(e => {\n if (e.touches.length === 0) {\n cbTimer.current = window.setTimeout(() => setHasTouches(false), delay);\n }\n }, [delay]), safeWindow, true, false);\n return hasTouches;\n}\nexport const InfiniteScroller = p => {\n const {\n children,\n clientHeight,\n scrollHeight,\n scrollWidth,\n update,\n draggable,\n className,\n preventDiagonalScrolling = false,\n paddingBottom = 0,\n paddingRight = 0,\n rightElement,\n rightElementProps,\n kineticScrollPerfHack = false,\n scrollRef,\n initialSize\n } = p;\n const padders = [];\n const rightElementSticky = rightElementProps?.sticky ?? false;\n const rightElementFill = rightElementProps?.fill ?? false;\n const offsetY = React.useRef(0);\n const lastScrollY = React.useRef(0);\n const scroller = React.useRef(null);\n const dpr = typeof window === \"undefined\" ? 1 : window.devicePixelRatio;\n const lastScrollPosition = React.useRef({\n scrollLeft: 0,\n scrollTop: 0,\n lockDirection: undefined\n });\n const rightWrapRef = React.useRef(null);\n const hasTouches = useTouchUpDelayed(200);\n const [isIdle, setIsIdle] = React.useState(true);\n const idleTimer = React.useRef(0);\n React.useLayoutEffect(() => {\n if (!isIdle || hasTouches || lastScrollPosition.current.lockDirection === undefined) return;\n const el = scroller.current;\n if (el === null) return;\n const [lx, ly] = lastScrollPosition.current.lockDirection;\n if (lx !== undefined) {\n el.scrollLeft = lx;\n } else if (ly !== undefined) {\n el.scrollTop = ly;\n }\n lastScrollPosition.current.lockDirection = undefined;\n }, [hasTouches, isIdle]);\n const onScroll = React.useCallback((scrollLeft, scrollTop) => {\n const el = scroller.current;\n if (el === null) return;\n scrollTop = scrollTop ?? el.scrollTop;\n scrollLeft = scrollLeft ?? el.scrollLeft;\n const lastScrollTop = lastScrollPosition.current.scrollTop;\n const lastScrollLeft = lastScrollPosition.current.scrollLeft;\n const dx = scrollLeft - lastScrollLeft;\n const dy = scrollTop - lastScrollTop;\n if (hasTouches && dx !== 0 && dy !== 0 && (Math.abs(dx) > 3 || Math.abs(dy) > 3) && preventDiagonalScrolling && lastScrollPosition.current.lockDirection === undefined) {\n lastScrollPosition.current.lockDirection = Math.abs(dx) < Math.abs(dy) ? [lastScrollLeft, undefined] : [undefined, lastScrollTop];\n }\n const lock = lastScrollPosition.current.lockDirection;\n scrollLeft = lock?.[0] ?? scrollLeft;\n scrollTop = lock?.[1] ?? scrollTop;\n lastScrollPosition.current.scrollLeft = scrollLeft;\n lastScrollPosition.current.scrollTop = scrollTop;\n const cWidth = el.clientWidth;\n const cHeight = el.clientHeight;\n const newY = scrollTop;\n const delta = lastScrollY.current - newY;\n const scrollableHeight = el.scrollHeight - cHeight;\n lastScrollY.current = newY;\n if (scrollableHeight > 0 && (Math.abs(delta) > 2000 || newY === 0 || newY === scrollableHeight) && scrollHeight > el.scrollHeight + 5) {\n const prog = newY / scrollableHeight;\n const recomputed = (scrollHeight - cHeight) * prog;\n offsetY.current = recomputed - newY;\n }\n if (lock !== undefined) {\n window.clearTimeout(idleTimer.current);\n setIsIdle(false);\n idleTimer.current = window.setTimeout(() => setIsIdle(true), 200);\n }\n update({\n x: scrollLeft,\n y: newY + offsetY.current,\n width: cWidth - paddingRight,\n height: cHeight - paddingBottom,\n paddingRight: rightWrapRef.current?.clientWidth ?? 0\n });\n }, [paddingBottom, paddingRight, scrollHeight, update, preventDiagonalScrolling, hasTouches]);\n useKineticScroll(kineticScrollPerfHack && browserIsSafari.value, onScroll, scroller);\n const onScrollRef = React.useRef(onScroll);\n onScrollRef.current = onScroll;\n const lastProps = React.useRef();\n const didFirstScroll = React.useRef(false);\n // if this is not a layout effect there will be a flicker when changing the number of freezeColumns\n // we need to document what this is needed at all.\n React.useLayoutEffect(() => {\n if (didFirstScroll.current) onScroll();else didFirstScroll.current = true;\n }, [onScroll, paddingBottom, paddingRight]);\n const setRefs = React.useCallback(instance => {\n scroller.current = instance;\n if (scrollRef !== undefined) {\n scrollRef.current = instance;\n }\n }, [scrollRef]);\n let key = 0;\n let h = 0;\n padders.push(React.createElement(\"div\", {\n key: key++,\n style: {\n width: scrollWidth,\n height: 0\n }\n }));\n while (h < scrollHeight) {\n const toAdd = Math.min(5000000, scrollHeight - h);\n padders.push(React.createElement(\"div\", {\n key: key++,\n style: {\n width: 0,\n height: toAdd\n }\n }));\n h += toAdd;\n }\n const {\n ref,\n width,\n height\n } = useResizeDetector(initialSize);\n if (typeof window !== \"undefined\" && (lastProps.current?.height !== height || lastProps.current?.width !== width)) {\n window.setTimeout(() => onScrollRef.current(), 0);\n lastProps.current = {\n width,\n height\n };\n }\n if ((width ?? 0) === 0 || (height ?? 0) === 0) return React.createElement(\"div\", {\n ref: ref\n });\n return React.createElement(\"div\", {\n ref: ref\n }, React.createElement(ScrollRegionStyle, {\n isSafari: browserIsSafari.value\n }, React.createElement(\"div\", {\n className: \"dvn-underlay\"\n }, children), React.createElement(\"div\", {\n ref: setRefs,\n style: lastProps.current,\n draggable: draggable,\n onDragStart: e => {\n if (!draggable) {\n e.stopPropagation();\n e.preventDefault();\n }\n },\n className: \"dvn-scroller \" + (className ?? \"\"),\n onScroll: () => onScroll()\n }, React.createElement(\"div\", {\n className: \"dvn-scroll-inner\" + (rightElement === undefined ? \" dvn-hidden\" : \"\")\n }, React.createElement(\"div\", {\n className: \"dvn-stack\"\n }, padders), rightElement !== undefined && React.createElement(React.Fragment, null, !rightElementFill && React.createElement(\"div\", {\n className: \"dvn-spacer\"\n }), React.createElement(\"div\", {\n ref: rightWrapRef,\n style: {\n height,\n maxHeight: clientHeight - Math.ceil(dpr % 1),\n position: \"sticky\",\n top: 0,\n paddingLeft: 1,\n marginBottom: -40,\n marginRight: paddingRight,\n flexGrow: rightElementFill ? 1 : undefined,\n right: rightElementSticky ? paddingRight ?? 0 : undefined,\n pointerEvents: \"auto\"\n }\n }, rightElement))))));\n};\n\n",null,"import { styled } from \"@linaria/react\";\nexport const SearchWrapper = /*#__PURE__*/styled('div')({\n name: \"SearchWrapper\",\n class: \"gdg-seveqep\",\n propsAsIs: false\n});\n\n",null,"import React from \"react\";\nimport { styled } from \"@linaria/react\";\nimport ClickOutsideContainer from \"../internal/click-outside-container/click-outside-container.js\";\nconst _exp = /*#__PURE__*/() => p => Math.max(16, p.targetHeight - 10);\nconst RenameInput = /*#__PURE__*/styled('input')({\n name: \"RenameInput\",\n class: \"gdg-r17m35ur\",\n propsAsIs: false,\n vars: {\n \"r17m35ur-0\": [_exp(), \"px\"]\n }\n});\nexport const GroupRename = p => {\n const {\n bounds,\n group,\n onClose,\n canvasBounds,\n onFinish\n } = p;\n const [value, setValue] = React.useState(group);\n return React.createElement(ClickOutsideContainer, {\n style: {\n position: \"absolute\",\n left: bounds.x - canvasBounds.left + 1,\n top: bounds.y - canvasBounds.top,\n width: bounds.width - 2,\n height: bounds.height\n },\n className: \"gdg-c1tqibwd\",\n onClickOutside: onClose\n }, React.createElement(RenameInput, {\n targetHeight: bounds.height,\n \"data-testid\": \"group-rename-input\",\n value: value,\n onBlur: onClose,\n onFocus: e => e.target.setSelectionRange(0, value.length),\n onChange: e => setValue(e.target.value),\n onKeyDown: e => {\n if (e.key === \"Enter\") {\n onFinish(value);\n } else if (e.key === \"Escape\") {\n onClose();\n }\n },\n autoFocus: true\n }));\n};\n\n",null,null,null,null,null,null,"import { styled } from \"@linaria/react\";\nimport * as React from \"react\";\nfunction toCss(x) {\n if (typeof x === \"string\") return x;\n return `${x}px`;\n}\nconst _exp = /*#__PURE__*/() => p => p.innerWidth;\nconst _exp2 = /*#__PURE__*/() => p => p.innerHeight;\nconst Wrapper = /*#__PURE__*/styled('div')({\n name: \"Wrapper\",\n class: \"gdg-wmyidgi\",\n propsAsIs: false,\n vars: {\n \"wmyidgi-0\": [_exp()],\n \"wmyidgi-1\": [_exp2()]\n }\n});\nexport const DataEditorContainer = p => {\n const {\n inWidth,\n inHeight,\n children,\n ...rest\n } = p;\n return React.createElement(Wrapper, {\n innerHeight: toCss(inHeight),\n innerWidth: toCss(inWidth),\n ...rest\n }, children);\n};\n\n",null,null,null,null,null,"import { styled } from \"@linaria/react\";\nexport const BubblesOverlayEditorStyle = /*#__PURE__*/styled('div')({\n name: \"BubblesOverlayEditorStyle\",\n class: \"gdg-b1ygi5by\",\n propsAsIs: false\n});\n\n",null,null,"import * as React from \"react\";\nimport { styled } from \"@linaria/react\";\nconst DrilldownOverlayEditorStyle = /*#__PURE__*/styled('div')({\n name: \"DrilldownOverlayEditorStyle\",\n class: \"gdg-d4zsq0x\",\n propsAsIs: false\n});\nconst DrilldownOverlayEditor = p => {\n const {\n drilldowns\n } = p;\n return React.createElement(DrilldownOverlayEditorStyle, null, drilldowns.map((d, i) => React.createElement(\"div\", {\n key: i,\n className: \"doe-bubble\"\n }, d.img !== undefined && React.createElement(\"img\", {\n src: d.img\n }), React.createElement(\"div\", null, d.text))));\n};\nexport default DrilldownOverlayEditor;\n\n",null,"import { styled } from \"@linaria/react\";\nexport const ImageOverlayEditorStyle = /*#__PURE__*/styled('div')({\n name: \"ImageOverlayEditorStyle\",\n class: \"gdg-i2iowwq\",\n propsAsIs: false\n});\n\n",null,null,null,"import { styled } from \"@linaria/react\";\nexport const MarkdownContainer = /*#__PURE__*/styled('div')({\n name: \"MarkdownContainer\",\n class: \"gdg-mnuv029\",\n propsAsIs: false\n});\n\n",null,"import { styled } from \"@linaria/react\";\nconst _exp = /*#__PURE__*/() => p => p.targetWidth;\nexport const MarkdownOverlayEditorStyle = /*#__PURE__*/styled('div')({\n name: \"MarkdownOverlayEditorStyle\",\n class: \"gdg-m1pnx84e\",\n propsAsIs: false,\n vars: {\n \"m1pnx84e-0\": [_exp(), \"px\"]\n }\n});\n\n",null,null,null,null,null,null,null,null,"import { styled } from \"@linaria/react\";\nexport const UriOverlayEditorStyle = /*#__PURE__*/styled('div')({\n name: \"UriOverlayEditorStyle\",\n class: \"gdg-u1rrojo\",\n propsAsIs: false\n});\n\n",null,null,null,null,null,null,null,null,null,null,"import { styled } from \"@linaria/react\";\nexport const InputBox = /*#__PURE__*/styled('textarea')({\n name: \"InputBox\",\n class: \"gdg-izpuzkl\",\n propsAsIs: false\n});\nexport const ShadowBox = /*#__PURE__*/styled('div')({\n name: \"ShadowBox\",\n class: \"gdg-s69h75o\",\n propsAsIs: false\n});\nexport const GrowingEntryStyle = /*#__PURE__*/styled('div')({\n name: \"GrowingEntryStyle\",\n class: \"gdg-g1y0xocz\",\n propsAsIs: false\n});\n\n"],"names":["React","blend","makeCSSStyle","theme","_theme$textGroupHeade","_theme$horizontalBord","accentColor","accentFg","accentLight","textDark","textMedium","textLight","textBubble","bgIconHeader","fgIconHeader","textHeader","textGroupHeader","textHeaderSelected","bgCell","bgCellMedium","bgHeader","bgHeaderHasFocus","bgHeaderHovered","bgBubble","bgBubbleSelected","bgSearchResult","borderColor","horizontalBorderColor","drilldownBorder","linkColor","cellHorizontalPadding","cellVerticalPadding","headerFontStyle","baseFontStyle","markerFontStyle","fontFamily","editorFontSize","resizeIndicatorColor","undefined","headerBottomBorderColor","roundingRadius","dataEditorBaseTheme","headerIconSize","lineHeight","getDataEditorTheme","ThemeContext","createContext","useTheme","useContext","mergeAndRealizeTheme","merged","_len","arguments","length","overlays","Array","_key","overlay","key","hasOwnProperty","headerFontFull","baseFontFull","markerFontFull","proveType","_val","panic","message","Error","assert","fact","assertNever","_never","msg","maybe","fn","defaultValue","has","Object","prototype","deepEqual","foo","bar","ctor","len","constructor","Date","getTime","RegExp","toString","call","keys","debounce","useEventListener","eventName","handler","element","passive","capture","savedHandler","useRef","current","useEffect","addEventListener","el","eventListener","event","_savedHandler$current","removeEventListener","whenDefined","obj","result","PI","Math","degreesToRadians","degrees","getSquareBB","posX","posY","squareSideLength","x1","y1","x2","y2","getSquareXPosFromAlign","alignment","containerX","containerWidth","horizontalPadding","squareWidth","floor","getSquareWidth","maxSize","containerHeight","verticalPadding","min","pointIsWithinBB","x","y","bb","EditPencil","props","_props$fgColor","fg","fgColor","createElement","viewBox","fill","xmlns","d","stroke","strokeWidth","strokeLinecap","strokeLinejoin","vectorEffect","Checkmark","_props$fgColor2","useDebouncedMemo","factory","deps","time","state","setState","useState","mountedRef","debouncedSetState","useLayoutEffect","rtlRange","ltrRange","rtl","direction","value","test","scrollbarWidthCache","getScrollBarWidth","document","inner","style","width","height","outer","id","position","top","left","visibility","overflow","append","body","w1","offsetWidth","w2","clientWidth","remove","empty","Symbol","useStateWithReactiveInput","inputState","inputStateRef","forceRender","setStateOuter","useCallback","nv","s","pv","onEmpty","makeAccessibilityStringForArray","arr","index","count","str","slice","join","useDeepMemo","ref","rowShift","packColRowToNumber","col","row","unpackCol","packed","unpackRow","unpackNumberToColRow","WindowingTrackerBase","visibleWindow","freezeCols","freezeRows","isInWindow","w","colInWindow","rowInWindow","includes","setWindow","newWindow","clearOutOfWindow","RenderStateProvider","cache","Map","setValue","location","set","getValue","get","entries","delete","CellSet","items","cells","Set","map","add","cell","clear","size","hasHeader","cellNumber","hasItemInRectangle","rect","hasItemInRegion","r","values","getColors","variant","SpriteManager","headerIcons","onSettled","spriteMap","inFlight","drawSprite","sprite","ctx","alpha","bgColor","rSize","ceil","window","devicePixelRatio","spriteCanvas","spriteCb","spriteCtx","getContext","imgSource","Image","src","encodeURIComponent","promise","decode","then","drawImage","finally","globalAlpha","isGroupEqual","getSkipPoint","drawRegions","drawRegionsLowestY","dr","_drawRegionsLowestY","walkRowsInCol","startRow","drawY","rows","getRowHeight","freezeTrailingRows","hasAppendRow","skipToY","cb","_skipToY","rowEnd","didBreak","rh","fr","walkColumns","effectiveCols","cellYOffset","translateX","translateY","totalHeaderHeight","clipX","c","drawX","sticky","walkGroups","groupHeaderHeight","_startCol$group","startCol","end","boxWidth","group","endCol","t","localX","delta","max","sourceIndex","getSpanBounds","span","cellX","cellY","cellW","cellH","column","allColumns","_allColumns$find$sour","_allColumns$find","frozenRect","contentRect","firstNonSticky","find","renderFromCol","tempX","tempW","renderToCol","itemIsInRect","getClosestRect","px","py","allowedDirections","combineRects","distanceToLeft","distanceToRight","distanceToTop","distanceToBottom","minDistance","Number","MAX_SAFE_INTEGER","intersectRect","h1","h2","pointInRect","a","b","rectContains","hugRectToTarget","mod","leftMax","topMax","rightMax","bottomMax","leftOverflow","rightOverflow","topOverflow","bottomOverflow","right","bottom","splitRectIntoRegions","splitIndicies","splitLocations","lSplit","tSplit","rSplit","bSplit","lClip","tClip","rClip","bClip","inX","inY","inW","inH","inRight","inBottom","isOverLeft","isOverTop","isOverRight","isOverBottom","isOverCenterVert","isOverCenterHoriz","isOverCenter","push","clip","CompactSelection","GridColumnIcon","GridCellKind","isInnerOnlyCell","cellIsSelected","cellIsInRange","getFreezeTrailingHeight","drawLastUpdateUnderlay","loadingCell","kind","Loading","allowOverlay","drawCells","effectiveColumns","getCellContent","getGroupDetails","getRowThemeOverride","disabledRows","isFocused","drawFocus","damage","selection","prelightCells","highlightRegions","imageLoader","spriteManager","hoverValues","hoverInfo","drawCellCallback","hyperWrapping","outerTheme","enqueue","renderStateProvider","getCellRenderer","overrideCursor","minimumCellWidth","_damage$size","toDraw","frameTime","performance","now","font","deprepArg","cellIndex","freezeTrailingRowsHeight","handledSpans","skipPoint","colDrawStartY","_c$group","diff","colDrawX","colDrawY","colWidth","colHeight","found","i","reclip","save","beginPath","colSelected","columns","hasIndex","groupTheme","overrideTheme","colTheme","themeOverride","colFont","prepResult","isSticky","isTrailingRow","_c$trailingRowOptions","_c$trailingRowOptions2","rowSelected","rowDisabled","cellWidth","drawingSpan","skipContents","spanKey","areas","area","restore","rowTheme","trailingTheme","trailingRowOptions","isSelected","accentCount","spanIsHighlighted","some","Protected","pre","region","range","color","didDamageClip","h","isLastColumn","isLastRow","fillStyle","fillRect","hoverValue","hv","item","_fill","_hoverValue$hoverAmou","_hoverValue","cellFont","drawCell","hoverAmount","_prepResult","_prepResult$deprep","deprep","allocatedItem","reusableRect","drawState","animationFrameRequested","animRequest","isLastCol","highlighted","finalCellFillColor","lastPrep","hoverX","hoverY","val","args","cellFillColor","requestAnimationFrame","needsAnim","lastUpdated","_lastPrep","_r$drawPrep","renderer","_lastPrep2","_lastPrep2$deprep","partialPrepResult","drawPrep","draw","roundedRect","BooleanEmpty","BooleanIndeterminate","drawCheckbox","checked","_theme$roundingRadius","centerY","rectBordRadius","checkBoxWidth","checkBoxHalfWidth","hovered","moveTo","lineTo","strokeStyle","lineJoin","lineCap","lineWidth","withAlpha","GridColumnMenuIcon","drawMenuDots","getMiddleCenterBias","roundedPoly","drawGridHeaders","enableGroups","headerHeight","dragAndDropState","isResizing","verticalBorder","drawHeaderCallback","touchMode","_hovered$","hCol","hRow","_y","_hoverValues$find$hov","_hoverValues$find","selected","noHover","hoveredBoolean","hover","hasSelectedCell","bgFillStyle","xOffset","drawHeader","drawGroups","_hoverValues","_hovered$2","xPad","finalX","groupName","_groupTheme$textGroup","isHovered","fillColor","icon","fillText","name","actions","_hovered$3","actionBoxes","getActionBoundsForGroup","fadeStartX","fadeWidth","grad","createLinearGradient","trans","addColorStop","mouseX","mouseY","action","box","actionHovered","menuButtonSize","getHeaderMenuBounds","isRtl","drawHeaderInner","menuBounds","rowMarker","rowMarkerChecked","shouldDrawMenu","hasMenu","dirScalar","headerSize","overlayIcon","fadeStart","fadeEnd","fadeStartPercent","fadeEndPercent","textAlign","title","menuIcon","Triangle","triangleX","triangleY","Dots","dotsX","dotsY","iconX","iconY","columnIndex","groupBy","getStickyWidth","blendCache","drawBlanks","getRowTheme","selectedRows","blankTheme","overdrawStickyBoundaries","drawFreezeBorder","hColor","vColor","vStroke","hStroke","getMinMaxXY","minX","maxX","minY","maxY","MIN_SAFE_INTEGER","drawExtraRowThemes","freezeY","extraRowsStartY","ty","rowThemeBgCell","needDraw","_c$themeOverride","tx","colThemeBgCell","drawGridLines","spans","_theme$horizontalBord2","verticalOnly","target","_ref","_rowTheme$horizontalB","groups","line","g","blitLastFrame","blitSource","blitSourceScroll","targetScroll","last","cellXOffset","dpr","mappedColumns","doubleBuffer","imageSmoothingEnabled","deltaY","deltaX","stickyWidth","regions","blitWidth","abs","blitHeight","sx","sy","sw","sh","dx","dy","dw","dh","setTransform","scale","blitResizedCol","resizedIndex","_drawY","computeCanBlit","rowHeight","freezeColumns","maxScaleFactor","resized","curCol","lastCol","curRest","lastWidth","lastRest","computeBounds","drawHighlightRings","allHighlightRegions","filter","freezeLeft","freezeBottom","drawRects","_h$style","arg","topLeftBounds","bottomRightBounds","drawCb","dashed","wasDashed","needsClip","setLineDash","strokeRect","drawColumnResizeOutline","yOffset","drawFocusRing","selectedCell","fillHandle","_cell$span","currentItem","fillHandleTarget","mustDraw","targetCol","targetRow","targetColSpan","isStickyRow","stickRowHeight","fillHandleRow","drawHandleCb","isBeforeTarget","isAfterTarget","isFillHandleCol","doHandle","doRing","_col$themeOverride$ac","_col$themeOverride","_col$themeOverride$ac2","_col$themeOverride2","_drawCb","_drawHandleCb","getEffectiveColumns","rectBottomRight","clipHeaderDamage","_group","hasItemInSpan","_colDrawY","finalWidth","getLastRow","_c","__drawX","_clipX","_rh","drawGrid","lastArg","_window$devicePixelRa","_selection$current","canvasCtx","headerCanvasCtx","resizeCol","lastBlitData","renderStrategy","bufferACtx","bufferBCtx","canBlit","canvas","overlayCanvas","overlayHeight","bufferA","bufferB","aBufferScroll","bBufferScroll","mainCtx","overlayCtx","targetCtx","lastBuffer","targetBuffer","textBaseline","mustDrawFocusOnHeader","mustDrawHighlightRingsOnHeader","drawHeaderTexture","_theme$headerBottomBo","viewRegionWidth","damageInView","when","doDamage","selectionCurrent","doHeaders","resizedCol","highlightRedraw","focusRedraw","_theme$resizeIndicato","_theme$resizeIndicato2","lastRowDrawn","from","_","scrollX","scrollY","clamp","itemsAreEqual","hoverTime","easeOutCubic","AnimationManager","callback","currentHoveredItem","leavingItems","lastAnimationTime","addToLeavingItems","isAlreadyLeaving","removeFromLeavingItems","_leavingItem$hoverAmo","leavingItem","e","cleanUpLeavingElements","shouldStep","hasLeavingItems","currentHoveredIsAnimating","getAnimatingItems","step","timestamp","animating","setHovered","_this$currentHoveredI","Lazy","_this$val","lazy","browserIsFirefox","navigator","userAgent","browserIsSafari","browserIsOSX","platform","toLowerCase","startsWith","useAnimationQueue","queue","seq","drawRef","loop","requeue","headerKind","groupHeaderKind","outOfBoundsKind","OutOfBoundsRegionAxis","mouseEventArgsAreEqual","other","getColumnIndexForX","getRowIndexForY","useMappedColumns","InnerGridCellKind","isReadWriteCell","booleanCellIsEditable","makeRange","fillHandleClickSize","getRowData","_r$getAccessibilitySt","Custom","copyData","getAccessibilityString","DataGrid","p","forwardedRef","_p$translateX","_p$translateY","_experimental$enableF","_experimental$enableS","_eventTargetRef$curre","_eventTargetRef$curre2","_eventTargetRef$curre3","_eventTargetRef$curre4","_eventTargetRef$curre5","_eventTargetRef$curre6","accessibilityHeight","cellXOffsetReal","onHeaderMenuClick","isFilling","onCanvasFocused","onCanvasBlur","onContextMenu","fixedShadowX","fixedShadowY","onMouseDown","onMouseUp","onMouseMoveRaw","onMouseMove","onItemHovered","firstColAccessible","onKeyDown","onKeyUp","canvasRef","onDragStart","onDragEnd","eventTargetRef","resizeColumn","isDragging","isDraggable","allowResize","onCellFocused","onDragOverCell","onDrop","onDragLeave","imageWindowLoader","smoothScrollX","smoothScrollY","experimental","damageRegion","scrolling","setScrolling","hoveredItemInfo","setHoveredItemInfo","hoveredOnEdge","setHoveredOnEdge","overlayRef","drawCursorOverride","setDrawCursorOverride","lastWasTouch","setLastWasTouch","lastWasTouchRef","useMemo","lastArgsRef","lastDrawRef","scrollingStopRef","enableFirefoxRescaling","enableSafariRescaling","clearTimeout","setTimeout","stickyX","getBoundsForItem","getBoundingClientRect","getMouseArgsForPosition","ev","edgeDetectionBuffer","button","buttons","MouseEvent","shiftKey","ctrlKey","metaKey","isTouch","pointerType","scrollEdge","horizontal","vertical","innerHorizontal","innerVertical","EndPadding","Center","isEdge","isMaybeScrollbar","bounds","previousCol","_mappedColumns$previo","localEventX","localEventY","_mappedColumns$col$gr","isFillHandle","fillHandleLocation","fillHandleCellBounds","handleLogicalCenterX","handleLogicalCenterY","hoveredItem","enqueueRef","hoverInfoRef","documentElement","maxDPR","disableMinimumCellWidth","_experimental$hyperWr","_experimental$renderS","_hoverInfoRef$current","didOverride","cursor","round","_document","fonts","ready","damageInternal","locations","setCallback","overFill","setOverFill","headerHovered","groupHeaderHovered","clickableInnerCellHovered","editableBoolHovered","cursorOverride","NewRow","Marker","markerKind","Boolean","canDrag","contain","display","lastSetCursor","groupHeaderActionForEvent","groupDesc","boxes","isOverHeaderMenu","clientX","clientY","header","headerBounds","downTime","downPosition","mouseDown","onMouseDownImpl","eventTarget","touches","preventDefault","lastUpTime","onMouseUpImpl","lastUpTimeValue","isOutside","canCancel","changedTouches","isLongTouch","isDoubleClick","cancelable","_downPosition$current","_downPosition$current2","onClick","onClickImpl","_downPosition$current3","_downPosition$current4","onContextMenuImpl","onAnimationFrame","animManagerValue","animationManager","am","needsHover","hoveredRef","onMouseMoveImpl","isIndirect","maybeSetHoveredInfo","newVal","needPosition","cv","needsDamageCell","needsHoverPosition","_getCellRenderer","toCheck","rendererNeeds","newInfo","notRowMarkerCol","onKeyDownImpl","stopPropagation","cancel","altKey","keyCode","rawEvent","onKeyUpImpl","refImpl","instance","onDragStartImpl","dragMime","dragData","setData","mime","payload","dragImage","dragImageX","dragImageY","setDragImage","image","prevented","defaultPrevented","dataTransfer","effectAllowed","offscreen","boundsForDragTarget","activeDropTarget","onDragOverImpl","_activeDropTarget$cur","rawCol","activeCol","activeRow","onDragEndImpl","onDropImpl","onDragLeaveImpl","selectionRef","focusRef","focusElement","contains","activeElement","_canvasRef$current","focus","preventScroll","useImperativeHandle","_canvasRef$current2","getBounds","lastFocusedSubdomNode","accessibilityTree","_effectiveCols$","_selection$current$ce","_selection$current2","disableAccessibilityTree","colOffset","fCol","fRow","visibleCols","visibleRows","role","tabIndex","onFocus","focused","cellContent","onFocusCapture","_lastFocusedSubdomNod","_lastFocusedSubdomNod2","opacityX","absoluteOffsetY","opacityY","stickyShadow","styleX","opacity","pointerEvents","transition","boxShadow","styleY","Fragment","overlayStyle","onBlur","memo","forwardRef","offsetColumnSize","_column$growOffset","growOffset","DataGridDnd","resizeColStartX","setResizeColStartX","setResizeCol","dragCol","setDragCol","dropCol","setDropCol","dragColActive","setDragColActive","dragStartX","setDragStartX","dragRow","setDragRow","dropRow","setDropRow","dragRowActive","setDragRowActive","dragStartY","setDragStartY","onColumnMoved","onColumnResize","onColumnResizeStart","onColumnResizeEnd","gridRef","maxColumnWidth","minColumnWidth","onRowMoved","lockColumns","onColumnProposeMove","canResize","selectedColumns","onItemHoveredImpl","canDragCol","_gridRef$current","_columns$col$growOffs","onHeaderMenuClickMangled","screenPosition","lastResizeWidthRef","clearAll","_columns$resizeCol$gr","_col$growOffset","newSize","ns","_col$growOffset2","dragOffset","dest","_column$growOffset2","newWidth","first","_col$growOffset3","getMangledCellContent","forceStrict","useResizeDetector","initialSize","setSize","resizeCallback","entry","resizeObserver","ResizeObserver","observe","disconnect","useKineticScroll","isEnabled","targetScroller","rafId","isTouching","lastScrollPosition","sameCount","callbackRef","scrollEl","handleScroll","_lastScrollPosition$c","_lastScrollPosition$c2","currentScrollPosition","scrollLeft","scrollTop","startTouch","endTouch","styled","_exp","isSafari","ScrollRegionStyle","class","propsAsIs","vars","useTouchUpDelayed","delay","hasTouches","setHasTouches","safeWindow","cbTimer","InfiniteScroller","_rightElementProps$st","_rightElementProps$fi","_lastProps$current","_lastProps$current2","children","clientHeight","scrollHeight","scrollWidth","update","draggable","className","preventDiagonalScrolling","paddingBottom","paddingRight","rightElement","rightElementProps","kineticScrollPerfHack","scrollRef","padders","rightElementSticky","rightElementFill","offsetY","lastScrollY","scroller","lockDirection","rightWrapRef","isIdle","setIsIdle","idleTimer","lx","ly","onScroll","_scrollTop","_scrollLeft","_lock$","_lock$2","_rightWrapRef$current","_rightWrapRef$current2","lastScrollTop","lastScrollLeft","lock","cWidth","cHeight","newY","scrollableHeight","prog","recomputed","onScrollRef","lastProps","didFirstScroll","setRefs","toAdd","maxHeight","paddingLeft","marginBottom","marginRight","flexGrow","GridScroller","nonGrowWidth","clientSize","onVisibleRegionChanged","overscrollX","overscrollY","lastX","lastY","lastSize","lastArgs","processArgs","_lastSize$current","_lastSize$current2","cellRight","stickyColWidth","cx","cellBottom","cy","oldRect","_args$paddingRight","onScrollUpdate","SearchWrapper","ScrollingDataGrid","upArrow","downArrow","closeX","targetSearchTimeMS","DataGridSearch","searchInputRef","searchValue","searchResults","searchResultsIn","onSearchValueChange","getCellsForSelection","onSearchResultsChanged","showSearch","onSearchClose","searchID","random","searchStringInner","setSearchStringInner","searchString","setSearchString","searchStatus","setSearchStatus","searchStatusRef","_cv$selectedIndex","rowsSearched","results","selectedIndex","abortControllerRef","AbortController","searchHandle","searchResultsInner","setSearchResultsInner","cancelSearch","cancelAnimationFrame","abort","cellYOffsetRef","beginSearch","regex","replace","startY","searchStride","runningResult","tick","_searchStatusRef$curr","_searchStatusRef$curr2","tStart","rowsLeft","data","signal","added","testString","Text","displayData","Uri","Markdown","Bubble","tEnd","tElapsed","rounded","scalar","onClose","onSearchChange","onNext","_ev$stopPropagation","newIndex","onPrev","_ev$stopPropagation2","onSearchKeyDown","nativeEvent","code","isAnimatingOut","setIsAnimatingOut","timeoutId","searchbox","_searchStatus$rowsSea","_searchStatus$results","_searchStatus$results2","resultString","cancelEvent","rowsSearchedProgress","progressStyle","onChange","onKeyDownCapture","disabled","htmlFor","ClickOutsideContainer","targetHeight","RenameInput","GroupRename","canvasBounds","onFinish","onClickOutside","setSelectionRange","autoFocus","isSizedGridColumn","resolveCellsThunk","defaultSize","measureCell","_r$measure","_r$measure2","measure","measureColumn","colIndex","selectedData","removeOutliers","sizes","sum","average","measureText","final","useColumnSizer","abortController","rowsRef","getCellsForSelectionRef","themeRef","memoMap","lastColumns","setSelectionData","getCells","every","computeRows","tailRows","computeArea","tailComputeArea","getResult","tailGetResult","toSet","getRaw","totalWidth","totalGrow","distribute","grow","writeable","extra","remaining","di","_result$i$grow","weighted","sizedColumns","checkKey","keycode","parseInt","toUpperCase","codePointAt","isHotkey","hotkey","details","isHotkeyInner","didMatch","parts","split","part","wantCtrl","wantShift","wantAlt","wantMeta","pop","accel","useSelectionBehavior","gridSelection","setGridSelection","rangeBehavior","columnBehavior","rowBehavior","rangeSelect","setCurrent","expand","trigger","_gridSelection$curren","_gridSelection$curren2","rangeMixable","allowColumnCoSelect","allowRowCoSelect","rangeStack","addLastRange","setSelectedRows","newRows","allowMixed","_newRows","rangeMixed","columnMixed","setSelectedColumns","newCols","_newCols","rowMixed","useCellsForSelection","getCellsForSelectionIn","rowMarkerOffset","getCellsForSelectionDirectWhenValid","_getCellsForSelection","getCellsForSelectionDirect","getCellsForSelectionMangled","newRect","convertCellToBuffer","_cell$displayData","_cell$displayData2","formatted","rawValue","format","Drilldown","text","RowID","createBufferFromGridCells","columnIndexes","copyBuffer","mappedIndex","escapeIfNeeded","withComma","createTextBuffer","lines","_cell$rawValue$toStri","_cell$rawValue","formatHtmlTextContent","match","repeat","formatHtmlAttributeContent","attrText","restoreHtmlEntities","createHtmlBuffer","formatStr","ind","_cell$rawValue$toStri2","_cell$rawValue2","getCopyBufferContents","textPlain","textHtml","decodeHTML","html","fragment","innerHTML","tableEl","querySelector","walkEl","HTMLTableElement","nodeName","reverse","HTMLTableRowElement","HTMLTableCellElement","_clone$getAttribute","clone","cloneNode","firstTagIsPara","para","isAppleNumbers","brs","querySelectorAll","br","replaceWith","attributeValue","getAttribute","formatValue","_current","_clone$querySelector$","_clone$querySelector","_clone$textContent","textContent","_current2","rawValues","_x$getAttribute","_x$textContent","_current3","_clone$textContent2","_clone$textContent3","_current4","_textContent","_textContent2","expandSelection","spanRangeBehavior","origVal","isFilled","_newVal","_newVal$current","leftCells","rightCells","rCells","_newVal$current$cell","descape","endsWith","unquote","State","start","None","char","inString","inStringPostQuote","copyToClipboard","_window$navigator$cli3","copyWithWriteText","_window$navigator$cli","clipboard","writeText","copyWithWrite","_window$navigator$cli2","write","ClipboardItem","Blob","type","copyWithClipboardData","_e$clipboardData","_e$clipboardData2","clipboardData","toggleBoolean","toCss","innerWidth","_exp2","innerHeight","Wrapper","DataEditorContainer","inWidth","inHeight","rest","maxPxPerMs","msToFullSpeed","useAutoscroll","scrollDirection","speedScalar","xDir","yDir","cancelled","lastTime","scrollFn","curTime","_scrollRef$current","motion","scrollBy","useRemAdjuster","rowHeightIn","headerHeightIn","groupHeaderHeightIn","themeIn","overscrollXIn","overscrollYIn","scaleToRem","remSize","_themeIn$headerIconSi","_themeIn$cellHorizont","_themeIn$cellVertical","scaler","bt","n","keybindingDefaults","downFill","rightFill","closeOverlay","acceptOverlayDown","acceptOverlayUp","acceptOverlayLeft","acceptOverlayRight","copy","paste","cut","search","activateCell","scrollToSelectedCell","goToFirstCell","goToFirstColumn","goToFirstRow","goToLastCell","goToLastColumn","goToLastRow","goToNextPage","goToPreviousPage","selectToFirstCell","selectToFirstColumn","selectToFirstRow","selectToLastCell","selectToLastColumn","selectToLastRow","selectAll","selectRow","selectColumn","goUpCell","goRightCell","goDownCell","goLeftCell","goUpCellRetainSelection","goRightCellRetainSelection","goDownCellRetainSelection","goLeftCellRetainSelection","selectGrowUp","selectGrowRight","selectGrowDown","selectGrowLeft","realizeKeybind","keybind","defaultVal","realizeKeybinds","keybinds","isOSX","useKeybindingsWithDefaults","keybindingsIn","_keys$goToNextPage","_ref2","_keys$goToPreviousPag","_ref3","_keys$goToFirstCell","_ref4","_keys$goToLastCell","_ref5","_keys$selectToFirstCe","_ref6","_keys$selectToLastCel","withBackCompatApplied","pageDown","pageUp","uniq","flatten","isEditableGridCell","isObjectEditorCallbackResult","gridSelectionHasItem","DataGridOverlayEditor","idCounter","getSpanStops","_c$span$","_c$span","_c$span$2","_c$span2","shiftSelection","input","offset","emptyGridSelection","DataEditorImpl","_rowMarkersObj$kind","_rowMarkersObj$width","_rowMarkersObj$startI","_rowMarkersObj$theme","_rowMarkersObj$checkb","_visibleRegion$height","_visibleRegion$width","_gridSelection$curren5","_gridSelectionOuter$c","_gridSelectionOuter$c2","gridSelectionInner","setGridSelectionInner","setOverlay","mouseState","setMouseState","lastSent","imageEditorOverride","markdownDivCreateNode","columnsIn","onCellClicked","onCellActivated","onFillPattern","onFinishedEditing","coercePasteValue","drawHeaderIn","drawCellIn","editorBloom","onHeaderClicked","onGroupHeaderClicked","onCellContextMenu","onHeaderContextMenu","onGroupHeaderContextMenu","onGroupHeaderRenamed","onCellEdited","onCellsEdited","onSearchResultsChangedIn","onKeyDownIn","onKeyUpIn","keybindings","onRowAppended","validateCell","validateCellIn","highlightRegionsIn","columnSelect","rowSelect","rangeSelectionBlending","columnSelectionBlending","rowSelectionBlending","onDelete","onDeleteIn","onPaste","copyHeaders","cellActivationBehavior","rowSelectionMode","onSearchCloseIn","onSelectionCleared","showSearchIn","gridSelectionOuter","onGridSelectionChange","minColumnWidthIn","maxColumnWidthIn","maxColumnAutoWidth","maxColumnAutoWidthIn","provideEditor","allowedFillDirections","scrollOffsetX","scrollOffsetY","onColumnResizeIn","onColumnResizeEndIn","onColumnResizeStartIn","customRenderers","additionalRenderers","trapFocus","isOutsideClick","renderers","rowMarkersObj","rowMarkers","rowMarkerWidthRaw","rowMarkerWidth","rowMarkerStartIndex","startIndex","rowMarkerTheme","rowMarkerCheckboxStyle","checkboxStyle","docStyle","fontSize","getComputedStyle","parseFloat","hasRowMarkers","showTrailingBlankRow","lastRowSticky","showSearchInner","setShowSearchInner","gridSelectionOuterMangled","getCellsForSeletionDirect","newValue","prevValue","expectedExternalGridSelection","wg","_drawHeaderIn","_drawCellIn","sel","mergedTheme","setClientSize","rendererMap","isMatch","numSelectedRows","mangledCols","visibleRegionY","visibleRegionTy","visibleRegionRef","visibleRegionInput","_visibleRegionRef$cur","_visibleRegionRef$cur2","hasJustScrolled","visibleRegion","setVisibleRegion","vScrollReady","hScrollReady","immediate","_gridRef$current2","mangledRows","mangledOnCellsEdited","mangledItems","fillHighlightRegion","setFillHighlightRegion","highlightRange","maxWidth","mangledColsRef","isTrailing","isRowMarkerCol","drawHandle","_trailingRowOptions$h","isFirst","maybeFirstColumnHint","hint","_c$trailingRowOptions3","_c$trailingRowOptions4","_c$trailingRowOptions5","addIcon","outerCol","strict","_vr$extras","_vr$extras2","_vr$extras3","vr","isOutsideMainArea","extras","isInFreezeArea","freezeRegions","mangledGetGroupDetails","_getGroupDetails","_result$actions","setRenameGroup","setOverlaySimple","_mangledGetGroupDetai","content","reselect","fromKeyboard","initialValue","isNaN","highlight","forceEditMode","readonly","_gridRef$current3","focusOnRowFromTrailingBlankRow","_gridRef$current4","scrollTo","dir","paddingX","paddingY","options","grid","trueCol","unit","amount","trueRow","desiredX","desiredY","targetRect","_grid$getBounds","scrollBounds","frozenWidth","trailingRowHeight","freezeTrailingRowsEffective","sLeft","sRight","sTop","sBottom","minx","hAlign","miny","vAlign","focusCallback","getCellContentRef","appendRow","_c$trailingRowOptions6","openOverlay","appendResult","backoff","doFocus","scrollToRef","getCustomNewRowTargetColumn","_columns$col$trailing","_columns$col","customTargetColumn","targetColumn","customTargetOffset","maybeIndex","indexOf","lastSelectedRowRef","lastSelectedColRef","themeForCell","pos","_mangledCols$col","handleSelect","isMultiKey","isMultiRow","isMultiCol","cellCol","cellRow","lastMouseSelectLocation","markerCell","_renderer$onClick","postClick","lastHighlighted","newSlice","fromSingleSelection","_gridSelection$curren3","onSelect","isLastStickyRow","startedFromLastSticky","isActivelyDraggingHeader","touchDownArgs","mouseDownData","isPrevented","fh","previousSelection","renameGroup","handleGroupHeaderSelection","needle","hasAll","normalSizeColumn","inputCol","newCol","scrollDir","setScrollDir","fillPattern","currentSelection","_previousSelection$cu","_gridRef$current5","patternRange","currentRange","canceled","fillDestination","patternSource","pattern","editItemList","patternCell","fillRight","firstColSelection","fillDown","firstRowSelection","_mouse$previousSelect","_lastMouseSelectLocat","mouse","newRange","lastMouseDownCol","lastMouseDownRow","handleMaybeClick","isValidClick","_gridRef$current6","shouldActivate","_mouse$previousSelect2","selectedCol","selectedRow","prevCol","prevRow","isClickOnSelected","clickLocation","touchVr","_gridSelection$curren4","_mouseDownData$curren","_mouseDownData$curren2","onHeaderMenuClickInner","currentCell","onVisibleRegionChangedImpl","rightElWidth","freezeRegion","newRegion","onColumnMovedImpl","endIndex","isActivelyDragging","_mouseDownData$curren3","_mouseDownData$curren4","_mouseState$previousS","prevRange","startedFromLastStickyRow","landedOnLastStickyRow","adjustSelectionOnScroll","visible","_visible$extras$freez","_visible$extras","adjustSelection","old","disallowed","done","updateSelectedCell","fromEditingTrailingRow","freeMove","rowMax","newStack","onFinishEditing","movement","_gridRef$current7","movX","movY","isEditingTrailingRow","overlayID","deleteRange","_gridRef$current8","editList","cellValue","_toDelete$provideEdit","toDelete","editor","_editor$deletedValue","deletedValue","_toDelete$onDelete","overlayOpen","handleFixedKeybindings","_gridSelection$curren6","_gridSelection$curren7","_searchInputRef$curre","_onDelete","callbackResult","cancelOnlyOnMove","moved","adjustedCol","onPasteInternal","pasteToCell","_rawValue$join","_rawValue$toString","stringifiedRawValue","coerced","process","env","NODE_ENV","console","warn","_r$onPaste","_r$onPaste2","formattedString","_selectedColumns$firs","_selectedRows$first","_gridRef$current9","read","clipboardContent","types","htmlBlob","getType","decoded","readText","getData","_text","_data","cellData","_cb$rawValue$toString","_cb$rawValue","dataRow","dataItem","writeCol","writeRow","onCopy","ignoreFocus","_scrollRef$current2","copyToClipboardWithHeaders","headers","thunk","toCopy","rowIndex","v","Promise","settled","all","cols","reduce","onCut","_scrollRef$current3","_canvasRef$current3","effectiveSelection","onDeleteResult","navIndex","outCol","outRow","_expectedExternalGrid","_expectedExternalGrid2","selectionOutOfBounds","tint","mangledVerticalBorder","_verticalBorder","renameGroupNode","mangledFreezeColumns","updateCells","damageList","_gridRef$current10","_gridRef$current11","_gridRef$current12","emit","remeasureColumns","selCol","selRow","setIsFocused","setIsFocusedDebounced","onFocusOut","idealWidth","idealHeight","_experimental$scrollb","scrollbarWidth","scrollbarWidthOverride","rowsCountWithTrailingRow","avg","toAverage","acc","cssStyle","Provider","Suspense","fallback","bloom","isSubGrid","DataEditor","defaultCellMaxSize","booleanCellRenderer","_c$data$toString","_c$data","useLabel","_a$cell$maxSize","drawBoolean","_cell$maxSize","_cell$contentAlign","pointerX","pointerY","cellCenterY","contentAlign","checkBoxClicked","toPaste","canEdit","hoverEffect","BubblesOverlayEditorStyle","BubblesOverlayEditor","bubbles","measureTextCached","bubbleCellRenderer","drawBubbles","itemMargin","bubbleHeight","bubblePad","bubbleMargin","renderX","renderBoxes","textWidth","rectInfo","DrilldownOverlayEditorStyle","DrilldownOverlayEditor","drilldowns","img","getEmHeight","drilldownCellRenderer","drawDrilldownCell","drilldownCache","getAndCacheDrilldownBorder","border","rounding","shadowBlur","middleWidth","sideWidth","targetWidth","padding","shadowColor","shadowOffsetY","emHeight","tileMap","textMetrics","imgWidth","loadOrGetImage","renderWidth","outerSideWidth","outerPadding","rx","rw","outerMiddleWidth","_theme$roundingRadius2","imgSize","srcX","srcY","srcWidth","srcHeight","ImageOverlayEditorStyle","Carousel","ImageOverlayEditor","urls","canWrite","onEditClick","renderImage","filtered","u","allowMove","showArrows","showThumbs","swipeable","emulateTouch","infiniteLoop","url","_renderImage","innerContent","imageCellRenderer","_a$cell$displayData","_a$cell$rounding","_ctx","ImageEditor","onCancel","newImage","trim","fragments","uris","f","URL","imgHeight","images","getRandomNumber","seed","loadingCellRenderer","_cell$skeletonHeight","skeletonWidth","skeletonWidthVariability","hpad","rectHeight","skeletonHeight","MarkdownContainer","marked","MarkdownDiv","PureComponent","targetElement","containerRefHook","renderMarkdownIntoDiv","contents","createNode","childRange","createRange","selectNodeContents","deleteContents","newChild","childDoc","tags","getElementsByTagName","tag","rel","render","displayName","MarkdownOverlayEditorStyle","GrowingEntry","MarkdownOverlayEditor","validatedSelection","markdown","editMode","setEditMode","addLeftPad","drawTextCell","prepTextCell","markdownCellRenderer","firstLine","markerCellRenderer","prepMarkerRowCell","drawMarkerRowCell","centerX","newFont","deprepMarkerRowCell","checkedboxAlpha","offsetAmount","fontStyle","newRowCellRenderer","drawNewRowCell","alwaysShowIcon","textX","finalLineSize","lineSize","xTranslate","padPlus","NumberOverlayEditor","numberCellRenderer","isHighlighted","fixedDecimals","allowNegative","thousandSeparator","decimalSeparator","_x$floatValue","floatValue","_details$formattedStr","newNumber","protectedCellRenderer","drawProtectedCell","radius","xStart","center","cos","q","sin","rowIDCellRenderer","textCellRenderer","allowWrapping","maxLineWidth","disablePadding","altNewline","UriOverlayEditorStyle","UriOverlayEditor","uri","preview","href","getMeasuredTextCache","getTextRect","metrics","actualBoundingBoxAscent","uriCellRenderer","txt","isLinky","m","textRect","middleCenterBias","underlineOffset","onClickUri","didClick","_cell$displayData3","_value$displayData","AllCellRenderers","iconHead","headerRowID","bg","headerCode","headerNumber","headerString","headerBoolean","headerUri","renameIcon","headerAudioUri","headerVideoUri","headerEmoji","headerImage","headerPhone","headerMarkdown","headerDate","headerTime","headerEmail","headerReference","headerIfThenElse","headerSingleValue","headerLookup","headerTextTemplate","headerMath","headerRollup","headerJoinStrings","headerSplitString","headerGeoDistance","headerArray","rowOwnerOverlay","protectedColumnOverlay","sprites","throttle","imgPool","ImageWindowLoaderImpl","imageLoaded","loadedLocations","sendLoaded","keep","j","loadImage","_imgPool$pop","loaded","unshift","loadPromise","toWrite","DataEditorAllImpl","allSprites","_p$imageWindowLoader","DataEditorAll","wrapperRef","createRef","clickOutside","node","classList","parentElement","componentDidMount","componentWillUnmount","div","createDiv","parseToRgba","normalizedColor","control","computedColor","blendResultCache","background","cacheKey","ba","ao","ro","go","bo","interpolateColors","leftColor","rightColor","hScaler","nScaler","getLuminance","channel","pow","isTextEditableGridCell","isRectangleEqual","_cell$readonly","mergeRanges","ranges","stack","sort","emptyCompactSelection","_Symbol$iterator","iterator","newItems","selMin","selMax","splice","predicate","equals","toArray","_emptyCompactSelectio","splitText","clearCache","cellIsInRect","startX","endX","endY","spanStart","spanEnd","includeSingleSelection","remapForDnDState","dndState","mappedCols","writable","temp","remapped","curX","targetX","targetY","hasGroups","effectiveRows","curY","metricsSize","metricsCache","isSSR","clearCacheOnLoad","makeCacheKey","baseline","getMiddleCenterBiasInner","loadMetric","sample","biasCache","alphabeticMetrics","middleMetrics","bias","actualBoundingBoxDescent","lastUpdate","progress","animTime","fade","overrideColor","newFill","drawTextCellExternal","drawSingleTextLine","truncateString","drawMultiLineText","actualHeight","mustClip","optimalY","_allowWrapping","changed","tl","tr","bl","arcTo","arc","points","radiusAll","asVec","pp","vx","vy","vlen","sqrt","vnx","vny","nx","ny","ang","atan2","p1","p2","p3","v1","v2","sinA","sinA90","angle","asin","radDirection","drawDirection","halfAngle","lenOut","cRadius","closePath","freezeWidth","InputBox","ShadowBox","GrowingEntryStyle","globalInputID","placeholder","inputRef","useText","inputID","ta","_inputRef$current","onKeyDownInner"],"sourceRoot":""} \ No newline at end of file diff --git a/docs/7413.c799f4e2.iframe.bundle.js b/docs/7413.b64637cc.iframe.bundle.js similarity index 99% rename from docs/7413.c799f4e2.iframe.bundle.js rename to docs/7413.b64637cc.iframe.bundle.js index f8aae684a..bd9c8f78f 100644 --- a/docs/7413.c799f4e2.iframe.bundle.js +++ b/docs/7413.b64637cc.iframe.bundle.js @@ -2194,6 +2194,7 @@ const DataEditorImpl = (p, forwardedRef) => { } if (a.button === 1) return !isPrevented.current; if (!isPrevented.current) { + var _c$activationBehavior; const c = getMangledCellContent(args.location); const r = getCellRenderer(c); if (r !== undefined && r.onClick !== undefined && isValidClick) { @@ -2219,7 +2220,7 @@ const DataEditorImpl = (p, forwardedRef) => { } if (isPrevented.current || gridSelection.current === undefined) return false; let shouldActivate = false; - switch (cellActivationBehavior) { + switch ((_c$activationBehavior = c.activationBehaviorOverride) !== null && _c$activationBehavior !== void 0 ? _c$activationBehavior : cellActivationBehavior) { case "double-click": case "second-click": { @@ -4300,4 +4301,4 @@ var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js /***/ }) }]); -//# sourceMappingURL=7413.c799f4e2.iframe.bundle.js.map \ No newline at end of file +//# sourceMappingURL=7413.b64637cc.iframe.bundle.js.map \ No newline at end of file diff --git a/docs/7413.b64637cc.iframe.bundle.js.map b/docs/7413.b64637cc.iframe.bundle.js.map new file mode 100644 index 000000000..b3057299a --- /dev/null +++ b/docs/7413.b64637cc.iframe.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"7413.b64637cc.iframe.bundle.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAwC;AAEjC,MAAMC,aAAa,gBAAGD,sBAAM;EAAAE,IAAA;EAAAC,KAAA;EAAAC,SAAA;AAAA,EA6FlC;;;;;;AC9F8B;AAOU;AACsE;AACnD;AACX;AAAA;AAAA;AAAA;AAGjD,MAAMW,OAAO,GACTL,mBAAA;EAAKM,SAAS,EAAC,aAAa;EAACC,OAAO,EAAC,aAAa;EAAAC,QAAA,EAC9CR,mBAAA;IACIS,IAAI,EAAC,MAAM;IACXC,MAAM,EAAC,cAAc;IACrBC,aAAa,EAAC,OAAO;IACrBC,cAAc,EAAC,OAAO;IACtBC,WAAW,EAAC,IAAI;IACh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vB,6BAA6B,sGAAkB;;AAE/C,aAAa,0GAAG,CAAC,kNAAO;;;;AAIiM;AACzN,OAAO,iEAAe,kNAAO,IAAI,gOAAc,GAAG,gOAAc,YAAY,EAAC","sources":["webpack://root/./packages/core/src/internal/data-grid-search/data-grid-search-style.tsx","webpack://root/./packages/core/src/internal/data-grid-search/data-grid-search.tsx","webpack://root/./packages/core/src/data-editor/group-rename.tsx","webpack://root/./packages/core/src/data-editor/use-column-sizer.ts","webpack://root/./packages/core/src/common/is-hotkey.ts","webpack://root/./packages/core/src/internal/data-grid/use-selection-behavior.ts","webpack://root/./packages/core/src/data-editor/use-cells-for-selection.ts","webpack://root/./packages/core/src/internal/data-editor-container/data-grid-container.tsx","webpack://root/./packages/core/src/data-editor/use-autoscroll.ts","webpack://root/./packages/core/src/data-editor/use-rem-adjuster.ts","webpack://root/./packages/core/src/data-editor/data-editor.tsx","webpack://root/./packages/core/src/internal/data-grid/sprites.ts","webpack://root/./packages/core/src/data-editor-all.tsx","webpack://root/./packages/core/src/data-editor/data-editor-keybindings.ts","webpack://root/./packages/core/src/internal/click-outside-container/click-outside-container.tsx","webpack://root/./packages/core/src/data-editor/group-rename.tsx?6c24","webpack://root/./packages/core/src/internal/data-editor-container/data-grid-container.tsx?a6bd","webpack://root/./packages/core/src/internal/data-grid-search/data-grid-search-style.tsx?33fb","webpack://root/./packages/core/src/data-editor/group-rename.tsx?b8fe","webpack://root/./packages/core/src/internal/data-editor-container/data-grid-container.tsx?0e90","webpack://root/./packages/core/src/internal/data-grid-search/data-grid-search-style.tsx?183f"],"sourcesContent":["import { styled } from \"@linaria/react\";\n\nexport const SearchWrapper = styled.div`\n position: absolute;\n top: 4px;\n right: 20px;\n\n background-color: var(--gdg-bg-cell);\n color: var(--gdg-text-dark);\n\n padding: 8px;\n border: 1px solid var(--gdg-border-color);\n border-radius: 6px;\n\n font-size: var(--gdg-editor-font-size);\n\n &.out {\n animation: gdg-search-fadeout 0.15s forwards;\n }\n animation: gdg-search-fadein 0.15s forwards;\n\n .gdg-search-bar-inner {\n display: flex;\n }\n\n .gdg-search-status {\n padding-top: 4px;\n font-size: 11px;\n }\n\n .gdg-search-progress {\n position: absolute;\n height: 4px;\n left: 0;\n bottom: 0;\n\n background-color: var(--gdg-text-light);\n }\n\n input {\n width: 220px;\n color: var(--gdg-textDark);\n background-color: var(--gdg-bg-cell);\n border: none;\n border-width: 0;\n outline: none;\n }\n\n button {\n width: 24px;\n height: 24px;\n padding: 0;\n\n border: none;\n outline: none;\n background: none;\n\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n color: var(--gdg-text-medium);\n\n :hover {\n color: var(--gdg-text-dark);\n }\n\n .button-icon {\n width: 16px;\n height: 16px;\n }\n\n :disabled {\n opacity: 0.4;\n pointer-events: none;\n }\n }\n\n @keyframes gdg-search-fadeout {\n from {\n transform: translateX(0);\n }\n to {\n transform: translateX(400px);\n }\n }\n\n @keyframes gdg-search-fadein {\n from {\n transform: translateX(400px);\n }\n to {\n transform: translateX(0);\n }\n }\n`;\n","/* eslint-disable unicorn/consistent-destructuring */\nimport * as React from \"react\";\nimport {\n type CellArray,\n type GetCellsThunk,\n GridCellKind,\n type Item,\n type Rectangle,\n} from \"../data-grid/data-grid-types.js\";\nimport ScrollingDataGrid, { type ScrollingDataGridProps } from \"../scrolling-data-grid/scrolling-data-grid.js\";\nimport { SearchWrapper } from \"./data-grid-search-style.js\";\nimport { assert } from \"../../common/support.js\";\n\n// icons\nconst upArrow = (\n \n \n \n);\nconst downArrow = (\n \n \n \n);\n\nconst closeX = (\n \n \n \n);\n\nexport interface DataGridSearchProps extends Omit {\n readonly getCellsForSelection?: (selection: Rectangle, abortSignal: AbortSignal) => GetCellsThunk | CellArray;\n\n /**\n * The search results to display. If not provided glide will use its own internal search provider.\n */\n readonly searchResults?: readonly Item[];\n\n /**\n * Emitted whenever the search results for the current search field changes.\n * @param results The new search results\n * @param navIndex The currents selected search result\n */\n readonly onSearchResultsChanged?: (results: readonly Item[], navIndex: number) => void;\n /**\n * Controls the visibility of the search overlay.\n * @group Search\n */\n readonly showSearch?: boolean;\n /**\n * Emitted when the search window close event is triggered.\n * @group Search\n */\n readonly onSearchClose?: () => void;\n /**\n * The current search value.\n * @group Search\n */\n readonly searchValue?: string;\n /**\n * Emitted when the search value changes.\n * @group Search\n * @param newVal The new search value\n */\n readonly onSearchValueChange?: (newVal: string) => void;\n readonly searchInputRef: React.MutableRefObject;\n}\n\nconst targetSearchTimeMS = 10;\n\nconst DataGridSearch: React.FunctionComponent = p => {\n const {\n canvasRef,\n cellYOffset,\n rows,\n columns,\n searchInputRef,\n searchValue,\n searchResults: searchResultsIn,\n onSearchValueChange,\n getCellsForSelection,\n onSearchResultsChanged,\n showSearch = false,\n onSearchClose,\n } = p;\n\n const [searchID] = React.useState(() => \"search-box-\" + Math.round(Math.random() * 1000));\n\n const [searchStringInner, setSearchStringInner] = React.useState(\"\");\n const searchString = searchValue ?? searchStringInner;\n\n // always emit both, this allows the user to spy on the search value without controlling it.\n const setSearchString = React.useCallback(\n (newVal: string) => {\n setSearchStringInner(newVal);\n onSearchValueChange?.(newVal);\n },\n [onSearchValueChange]\n );\n\n const [searchStatus, setSearchStatus] = React.useState<{\n rowsSearched: number;\n results: number;\n selectedIndex: number;\n }>();\n\n const searchStatusRef = React.useRef(searchStatus);\n searchStatusRef.current = searchStatus;\n React.useEffect(() => {\n if (searchResultsIn === undefined) return;\n if (searchResultsIn.length > 0) {\n setSearchStatus(cv => ({\n rowsSearched: rows,\n results: searchResultsIn.length,\n selectedIndex: cv?.selectedIndex ?? -1,\n }));\n } else {\n setSearchStatus(undefined);\n }\n }, [rows, searchResultsIn]);\n\n const abortControllerRef = React.useRef() as React.MutableRefObject;\n if (abortControllerRef.current === undefined) abortControllerRef.current = new AbortController();\n\n const searchHandle = React.useRef();\n const [searchResultsInner, setSearchResultsInner] = React.useState([]);\n const searchResults = searchResultsIn ?? searchResultsInner;\n\n const cancelSearch = React.useCallback(() => {\n if (searchHandle.current !== undefined) {\n window.cancelAnimationFrame(searchHandle.current);\n searchHandle.current = undefined;\n abortControllerRef.current.abort();\n }\n }, []);\n\n const cellYOffsetRef = React.useRef(cellYOffset);\n cellYOffsetRef.current = cellYOffset;\n const beginSearch = React.useCallback(\n (str: string) => {\n const regex = new RegExp(str.replace(/([$()*+.?[\\\\\\]^{|}-])/g, \"\\\\$1\"), \"i\");\n\n let startY = cellYOffsetRef.current;\n\n // Lets assume we can do 10 rows at a time\n // This is usually very safe and limits the damage for bad\n // performing sheets.\n let searchStride = Math.min(10, rows);\n\n let rowsSearched = 0;\n\n setSearchStatus(undefined);\n setSearchResultsInner([]);\n\n const runningResult: [number, number][] = [];\n\n const tick = async () => {\n if (getCellsForSelection === undefined) return;\n const tStart = performance.now();\n const rowsLeft = rows - rowsSearched;\n let data = getCellsForSelection(\n {\n x: 0,\n y: startY,\n width: columns.length,\n height: Math.min(searchStride, rowsLeft, rows - startY),\n },\n abortControllerRef.current.signal\n );\n\n if (typeof data === \"function\") {\n data = await data();\n }\n\n let added = false;\n for (const [row, d] of data.entries()) {\n for (const [col, cell] of d.entries()) {\n let testString: string | undefined;\n switch (cell.kind) {\n case GridCellKind.Text:\n case GridCellKind.Number:\n testString = cell.displayData;\n break;\n case GridCellKind.Uri:\n case GridCellKind.Markdown:\n testString = cell.data;\n break;\n case GridCellKind.Boolean:\n testString = typeof cell.data === \"boolean\" ? cell.data.toString() : undefined;\n break;\n case GridCellKind.Image:\n case GridCellKind.Bubble:\n // I know its lazy, but unless someone is actually\n // searching for the whale emoji, this is pretty side effect\n // free. And ya know... it's nice and easy to do...\n testString = cell.data.join(\"🐳\");\n break;\n case GridCellKind.Custom:\n testString = cell.copyData;\n break;\n }\n\n if (testString !== undefined && regex.test(testString)) {\n runningResult.push([col, row + startY]);\n added = true;\n }\n }\n }\n\n const tEnd = performance.now();\n\n if (added) {\n setSearchResultsInner([...runningResult]);\n }\n\n rowsSearched += data.length;\n assert(rowsSearched <= rows);\n\n const selectedIndex = searchStatusRef.current?.selectedIndex ?? -1;\n setSearchStatus({\n results: runningResult.length,\n rowsSearched,\n selectedIndex,\n });\n onSearchResultsChanged?.(runningResult, selectedIndex);\n\n if (startY + searchStride >= rows) {\n startY = 0;\n } else {\n startY += searchStride;\n }\n\n const tElapsed = tEnd - tStart;\n const rounded = Math.max(tElapsed, 1);\n\n const scalar = targetSearchTimeMS / rounded;\n searchStride = Math.ceil(searchStride * scalar);\n\n if (rowsSearched < rows && runningResult.length < 1000) {\n searchHandle.current = window.requestAnimationFrame(tick);\n }\n };\n\n cancelSearch();\n searchHandle.current = window.requestAnimationFrame(tick);\n },\n [cancelSearch, columns.length, getCellsForSelection, onSearchResultsChanged, rows]\n );\n\n const onClose = React.useCallback(() => {\n onSearchClose?.();\n setSearchStatus(undefined);\n setSearchResultsInner([]);\n onSearchResultsChanged?.([], -1);\n cancelSearch();\n canvasRef?.current?.focus();\n }, [cancelSearch, canvasRef, onSearchClose, onSearchResultsChanged]);\n\n const onSearchChange = React.useCallback(\n (event: React.ChangeEvent) => {\n setSearchString(event.target.value);\n if (searchResultsIn !== undefined) return;\n if (event.target.value === \"\") {\n setSearchStatus(undefined);\n setSearchResultsInner([]);\n cancelSearch();\n } else {\n beginSearch(event.target.value);\n }\n },\n [beginSearch, cancelSearch, setSearchString, searchResultsIn]\n );\n\n React.useEffect(() => {\n if (showSearch && searchInputRef.current !== null) {\n setSearchString(\"\");\n searchInputRef.current.focus({ preventScroll: true });\n }\n }, [showSearch, searchInputRef, setSearchString]);\n\n const onNext = React.useCallback(\n (ev?: React.MouseEvent) => {\n ev?.stopPropagation?.();\n if (searchStatus === undefined) return;\n const newIndex = (searchStatus.selectedIndex + 1) % searchStatus.results;\n setSearchStatus({\n ...searchStatus,\n selectedIndex: newIndex,\n });\n onSearchResultsChanged?.(searchResults, newIndex);\n },\n [searchStatus, onSearchResultsChanged, searchResults]\n );\n\n const onPrev = React.useCallback(\n (ev?: React.MouseEvent) => {\n ev?.stopPropagation?.();\n if (searchStatus === undefined) return;\n let newIndex = (searchStatus.selectedIndex - 1) % searchStatus.results;\n if (newIndex < 0) newIndex += searchStatus.results;\n setSearchStatus({\n ...searchStatus,\n selectedIndex: newIndex,\n });\n onSearchResultsChanged?.(searchResults, newIndex);\n },\n [onSearchResultsChanged, searchResults, searchStatus]\n );\n\n const onSearchKeyDown = React.useCallback(\n (event: React.KeyboardEvent) => {\n if (((event.ctrlKey || event.metaKey) && event.nativeEvent.code === \"KeyF\") || event.key === \"Escape\") {\n onClose();\n event.stopPropagation();\n event.preventDefault();\n } else if (event.key === \"Enter\") {\n if (event.shiftKey) {\n onPrev();\n } else {\n onNext();\n }\n }\n },\n [onClose, onNext, onPrev]\n );\n\n // cancel search if the component is unmounted\n React.useEffect(() => {\n return () => {\n cancelSearch();\n };\n }, [cancelSearch]);\n\n const [isAnimatingOut, setIsAnimatingOut] = React.useState(false);\n\n React.useEffect(() => {\n if (showSearch) {\n setIsAnimatingOut(true);\n } else {\n const timeoutId = setTimeout(() => setIsAnimatingOut(false), 150);\n return () => clearTimeout(timeoutId);\n }\n }, [showSearch]);\n\n const searchbox = React.useMemo(() => {\n if (!showSearch && !isAnimatingOut) {\n return null;\n }\n\n let resultString: string | undefined;\n if (searchStatus !== undefined) {\n resultString =\n searchStatus.results >= 1000\n ? `over 1000`\n : `${searchStatus.results} result${searchStatus.results !== 1 ? \"s\" : \"\"}`;\n if (searchStatus.selectedIndex >= 0) {\n resultString = `${searchStatus.selectedIndex + 1} of ${resultString}`;\n }\n }\n\n const cancelEvent = (ev: React.MouseEvent) => {\n ev.stopPropagation();\n };\n\n const rowsSearchedProgress = Math.floor(((searchStatus?.rowsSearched ?? 0) / rows) * 100);\n const progressStyle: React.CSSProperties = {\n width: `${rowsSearchedProgress}%`,\n };\n\n return (\n \n
\n \n \n {upArrow}\n \n \n {downArrow}\n \n {onSearchClose !== undefined && (\n \n {closeX}\n \n )}\n
\n {searchStatus !== undefined ? (\n <>\n
\n
{resultString}
\n
\n
\n \n ) : (\n
\n \n
\n )}\n \n );\n }, [\n showSearch,\n isAnimatingOut,\n searchStatus,\n rows,\n searchID,\n searchInputRef,\n onSearchChange,\n searchString,\n onSearchKeyDown,\n onPrev,\n onNext,\n onSearchClose,\n onClose,\n ]);\n\n return (\n <>\n \n {searchbox}\n \n );\n};\n\nexport default DataGridSearch;\n","import React from \"react\";\nimport { styled } from \"@linaria/react\";\nimport { css } from \"@linaria/core\";\nimport ClickOutsideContainer from \"../internal/click-outside-container/click-outside-container.js\";\nimport type { Rectangle } from \"../internal/data-grid/data-grid-types.js\";\n\ninterface Props {\n readonly bounds: Rectangle;\n readonly group: string;\n readonly onClose: () => void;\n readonly onFinish: (newVal: string) => void;\n readonly canvasBounds: DOMRect;\n}\n\nconst RenameInput = styled.input<{ targetHeight: number }>`\n flex-grow: 1;\n border: none;\n outline: none;\n background-color: var(--gdg-bg-header-has-focus);\n border-radius: 9px;\n padding: 0 8px;\n box-shadow: 0 0 0 1px var(--gdg-border-color);\n color: var(--gdg-text-group-header);\n min-height: ${p => Math.max(16, p.targetHeight - 10)}px;\n font: var(--gdg-header-font-style) var(--gdg-font-family);\n`;\n\nexport const GroupRename: React.VFC = p => {\n const { bounds, group, onClose, canvasBounds, onFinish } = p;\n\n const [value, setValue] = React.useState(group);\n\n return (\n \n e.target.setSelectionRange(0, value.length)}\n onChange={e => setValue(e.target.value)}\n onKeyDown={e => {\n if (e.key === \"Enter\") {\n onFinish(value);\n } else if (e.key === \"Escape\") {\n onClose();\n }\n }}\n autoFocus={true}\n />\n \n );\n};\n","import * as React from \"react\";\nimport type { FullTheme } from \"../common/styles.js\";\nimport type { DataGridSearchProps } from \"../internal/data-grid-search/data-grid-search.js\";\nimport type { GetCellRendererCallback } from \"../cells/cell-types.js\";\n\nimport {\n type CellArray,\n type GridCell,\n type GridColumn,\n type InnerGridColumn,\n isSizedGridColumn,\n resolveCellsThunk,\n type SizedGridColumn,\n} from \"../internal/data-grid/data-grid-types.js\";\nconst defaultSize = 150;\n\nfunction measureCell(\n ctx: CanvasRenderingContext2D,\n cell: GridCell,\n theme: FullTheme,\n getCellRenderer: GetCellRendererCallback\n): number {\n const r = getCellRenderer(cell);\n return r?.measure?.(ctx, cell, theme) ?? defaultSize;\n}\n\nexport function measureColumn(\n ctx: CanvasRenderingContext2D,\n theme: FullTheme,\n c: GridColumn,\n colIndex: number,\n selectedData: CellArray,\n minColumnWidth: number,\n maxColumnWidth: number,\n removeOutliers: boolean,\n getCellRenderer: GetCellRendererCallback\n): SizedGridColumn {\n let max = 0;\n const sizes: number[] =\n selectedData === undefined\n ? []\n : selectedData.map(row => {\n const r = measureCell(ctx, row[colIndex], theme, getCellRenderer);\n max = Math.max(max, r);\n return r;\n });\n\n if (sizes.length > 5 && removeOutliers) {\n max = 0;\n // Filter out outliers\n let sum = 0;\n for (const size of sizes) {\n sum += size;\n }\n const average = sum / sizes.length;\n // Set sizes that are considered outliers to zero\n for (let i = 0; i < sizes.length; i++) {\n if (sizes[i] >= average * 2) {\n sizes[i] = 0;\n } else {\n max = Math.max(max, sizes[i]);\n }\n }\n }\n max = Math.max(max, ctx.measureText(c.title).width + 16 + (c.icon === undefined ? 0 : 28));\n const final = Math.max(Math.ceil(minColumnWidth), Math.min(Math.floor(maxColumnWidth), Math.ceil(max)));\n\n return {\n ...c,\n width: final,\n };\n}\n\n/** @category Hooks */\nexport function useColumnSizer(\n columns: readonly GridColumn[],\n rows: number,\n getCellsForSelection: DataGridSearchProps[\"getCellsForSelection\"],\n clientWidth: number,\n minColumnWidth: number,\n maxColumnWidth: number,\n theme: FullTheme,\n getCellRenderer: GetCellRendererCallback,\n abortController: AbortController\n): {\n readonly sizedColumns: readonly InnerGridColumn[];\n readonly nonGrowWidth: number;\n} {\n const rowsRef = React.useRef(rows);\n const getCellsForSelectionRef = React.useRef(getCellsForSelection);\n const themeRef = React.useRef(theme);\n rowsRef.current = rows;\n getCellsForSelectionRef.current = getCellsForSelection;\n themeRef.current = theme;\n\n const [canvas, ctx] = React.useMemo(() => {\n if (typeof window === \"undefined\") return [null, null];\n const offscreen = document.createElement(\"canvas\");\n offscreen.style[\"display\"] = \"none\";\n offscreen.style[\"opacity\"] = \"0\";\n offscreen.style[\"position\"] = \"fixed\";\n return [offscreen, offscreen.getContext(\"2d\", { alpha: false })];\n }, []);\n\n React.useLayoutEffect(() => {\n if (canvas) document.documentElement.append(canvas);\n return () => {\n canvas?.remove();\n };\n }, [canvas]);\n\n const memoMap = React.useRef>({});\n\n const lastColumns = React.useRef();\n const [selectedData, setSelectionData] = React.useState();\n\n React.useLayoutEffect(() => {\n const getCells = getCellsForSelectionRef.current;\n if (getCells === undefined || columns.every(isSizedGridColumn)) return;\n let computeRows = Math.max(1, 10 - Math.floor(columns.length / 10_000));\n let tailRows = 0;\n if (computeRows < rowsRef.current && computeRows > 1) {\n computeRows--;\n tailRows = 1;\n }\n\n const computeArea = {\n x: 0,\n y: 0,\n width: columns.length,\n height: Math.min(rowsRef.current, computeRows),\n };\n\n const tailComputeArea = {\n x: 0,\n y: rowsRef.current - 1,\n width: columns.length,\n height: 1,\n };\n const fn = async () => {\n const getResult = getCells(computeArea, abortController.signal);\n const tailGetResult = tailRows > 0 ? getCells(tailComputeArea, abortController.signal) : undefined;\n let toSet: CellArray;\n // eslint-disable-next-line unicorn/prefer-ternary\n if (typeof getResult === \"object\") {\n toSet = getResult;\n } else {\n toSet = await resolveCellsThunk(getResult);\n }\n if (tailGetResult !== undefined) {\n // eslint-disable-next-line unicorn/prefer-ternary\n if (typeof tailGetResult === \"object\") {\n toSet = [...toSet, ...tailGetResult];\n } else {\n toSet = [...toSet, ...(await resolveCellsThunk(tailGetResult))];\n }\n }\n lastColumns.current = columns;\n setSelectionData(toSet);\n };\n void fn();\n }, [abortController.signal, columns]);\n\n return React.useMemo(() => {\n const getRaw = () => {\n if (columns.every(isSizedGridColumn)) {\n return columns;\n }\n\n if (ctx === null) {\n return columns.map(c => {\n if (isSizedGridColumn(c)) return c;\n\n return {\n ...c,\n width: defaultSize,\n };\n });\n }\n\n ctx.font = themeRef.current.baseFontFull;\n\n return columns.map((c, colIndex) => {\n if (isSizedGridColumn(c)) return c;\n\n if (memoMap.current[c.id] !== undefined) {\n return {\n ...c,\n width: memoMap.current[c.id],\n };\n }\n\n if (selectedData === undefined || lastColumns.current !== columns || c.id === undefined) {\n return {\n ...c,\n width: defaultSize,\n };\n }\n\n const r = measureColumn(\n ctx,\n theme,\n c,\n colIndex,\n selectedData,\n minColumnWidth,\n maxColumnWidth,\n true,\n getCellRenderer\n );\n memoMap.current[c.id] = r.width;\n return r;\n });\n };\n\n let result: readonly InnerGridColumn[] = getRaw();\n let totalWidth = 0;\n let totalGrow = 0;\n const distribute: number[] = [];\n for (const [i, c] of result.entries()) {\n totalWidth += c.width;\n if (c.grow !== undefined && c.grow > 0) {\n totalGrow += c.grow;\n distribute.push(i);\n }\n }\n if (totalWidth < clientWidth && distribute.length > 0) {\n const writeable = [...result];\n const extra = clientWidth - totalWidth;\n let remaining = extra;\n for (let di = 0; di < distribute.length; di++) {\n const i = distribute[di];\n const weighted = (result[i].grow ?? 0) / totalGrow;\n const toAdd =\n di === distribute.length - 1 ? remaining : Math.min(remaining, Math.floor(extra * weighted));\n writeable[i] = {\n ...result[i],\n growOffset: toAdd,\n width: result[i].width + toAdd,\n };\n remaining -= toAdd;\n }\n result = writeable;\n }\n return {\n sizedColumns: result,\n nonGrowWidth: totalWidth,\n };\n }, [clientWidth, columns, ctx, selectedData, theme, minColumnWidth, maxColumnWidth, getCellRenderer]);\n}\n","import type { GridKeyEventArgs } from \"../internal/data-grid/event-args.js\";\nimport { browserIsOSX } from \"./browser-detect.js\";\n\n// brain dead syntax, find your deps, and make buggy replacements with 5 times the effort\n// all lower case\n// ctrl+shift+alt+d or ctrl+x or shift+c or shift+Backspace or alt+_53\n// you get it, last one is always event.key, nothing fancy\n// special: primary === ctrl on windows, meta on mac\n// no to lower, its a waste, we're the only consumer, don't use caps\n\n// and before you ask, yes space is \" \", e.g. \"ctrl+alt+ \", whatacountry.gif\n// load bearing whitespace, it's basically python\n// if the char starts with a _ it is the event.keycode instead\nfunction checkKey(key: string | undefined, args: GridKeyEventArgs): boolean {\n if (key === undefined) return false;\n if (key.length > 1 && key.startsWith(\"_\")) {\n const keycode = Number.parseInt(key.slice(1));\n return keycode === args.keyCode;\n }\n if (key.length === 1 && key >= \"a\" && key <= \"z\") {\n return key.toUpperCase().codePointAt(0) === args.keyCode;\n }\n\n return key === args.key;\n}\n\ninterface HotkeyResultDetails {\n didMatch: boolean;\n}\n\nexport function isHotkey(hotkey: string, args: GridKeyEventArgs, details: HotkeyResultDetails): boolean {\n const result = isHotkeyInner(hotkey, args);\n if (result) details.didMatch = true;\n return result;\n}\n\nfunction isHotkeyInner(hotkey: string, args: GridKeyEventArgs): boolean {\n if (hotkey.length === 0) return false;\n\n if (hotkey.includes(\"|\")) {\n const parts = hotkey.split(\"|\");\n for (const part of parts) {\n if (isHotkeyInner(part, args)) return true;\n }\n return false;\n }\n\n let wantCtrl = false;\n let wantShift = false;\n let wantAlt = false;\n let wantMeta = false;\n\n const split = hotkey.split(\"+\");\n const key = split.pop();\n\n if (!checkKey(key, args)) return false;\n if (split[0] === \"any\") return true;\n\n for (const accel of split) {\n switch (accel) {\n case \"ctrl\":\n wantCtrl = true;\n break;\n case \"shift\":\n wantShift = true;\n break;\n case \"alt\":\n wantAlt = true;\n break;\n case \"meta\":\n wantMeta = true;\n break;\n case \"primary\":\n if (browserIsOSX.value) {\n wantMeta = true;\n } else {\n wantCtrl = true;\n }\n break;\n }\n }\n\n return (\n args.altKey === wantAlt && args.ctrlKey === wantCtrl && args.shiftKey === wantShift && args.metaKey === wantMeta\n );\n}\n","import React from \"react\";\nimport { CompactSelection, type GridSelection, type Slice } from \"./data-grid-types.js\";\n\ntype SetCallback = (newVal: GridSelection, expand: boolean) => void;\n\nexport type SelectionBlending = \"exclusive\" | \"mixed\";\n\ntype SelectionTrigger = \"click\" | \"drag\" | \"keyboard-nav\" | \"keyboard-select\" | \"edit\";\n\nexport function useSelectionBehavior(\n gridSelection: GridSelection,\n setGridSelection: SetCallback,\n rangeBehavior: SelectionBlending,\n columnBehavior: SelectionBlending,\n rowBehavior: SelectionBlending,\n rangeSelect: \"none\" | \"cell\" | \"rect\" | \"multi-cell\" | \"multi-rect\"\n) {\n // if append is true, the current range will be added to the rangeStack\n const setCurrent = React.useCallback(\n (\n value: Pick, \"cell\" | \"range\"> | undefined,\n expand: boolean,\n append: boolean,\n trigger: SelectionTrigger\n ) => {\n if ((rangeSelect === \"cell\" || rangeSelect === \"multi-cell\") && value !== undefined) {\n value = {\n ...value,\n range: {\n x: value.cell[0],\n y: value.cell[1],\n width: 1,\n height: 1,\n },\n };\n }\n const rangeMixable = rangeBehavior === \"mixed\" && (append || trigger === \"drag\");\n const allowColumnCoSelect = columnBehavior === \"mixed\" && rangeMixable;\n const allowRowCoSelect = rowBehavior === \"mixed\" && rangeMixable;\n let newVal: GridSelection = {\n current:\n value === undefined\n ? undefined\n : {\n ...value,\n rangeStack: trigger === \"drag\" ? gridSelection.current?.rangeStack ?? [] : [],\n },\n columns: allowColumnCoSelect ? gridSelection.columns : CompactSelection.empty(),\n rows: allowRowCoSelect ? gridSelection.rows : CompactSelection.empty(),\n };\n\n const addLastRange = append && (rangeSelect === \"multi-rect\" || rangeSelect === \"multi-cell\");\n if (addLastRange && newVal.current !== undefined && gridSelection.current !== undefined) {\n newVal = {\n ...newVal,\n current: {\n ...newVal.current,\n rangeStack: [...gridSelection.current.rangeStack, gridSelection.current.range],\n },\n };\n }\n setGridSelection(newVal, expand);\n },\n [columnBehavior, gridSelection, rangeBehavior, rangeSelect, rowBehavior, setGridSelection]\n );\n\n const setSelectedRows = React.useCallback(\n (newRows: CompactSelection | undefined, append: Slice | number | undefined, allowMixed: boolean): void => {\n newRows = newRows ?? gridSelection.rows;\n if (append !== undefined) {\n newRows = newRows.add(append);\n }\n let newVal: GridSelection;\n if (rowBehavior === \"exclusive\" && newRows.length > 0) {\n newVal = {\n current: undefined,\n columns: CompactSelection.empty(),\n rows: newRows,\n };\n } else {\n const rangeMixed = allowMixed && rangeBehavior === \"mixed\";\n const columnMixed = allowMixed && columnBehavior === \"mixed\";\n const current = !rangeMixed ? undefined : gridSelection.current;\n newVal = {\n current,\n columns: columnMixed ? gridSelection.columns : CompactSelection.empty(),\n rows: newRows,\n };\n }\n setGridSelection(newVal, false);\n },\n [columnBehavior, gridSelection, rangeBehavior, rowBehavior, setGridSelection]\n );\n\n const setSelectedColumns = React.useCallback(\n (newCols: CompactSelection | undefined, append: number | Slice | undefined, allowMixed: boolean): void => {\n newCols = newCols ?? gridSelection.columns;\n if (append !== undefined) {\n newCols = newCols.add(append);\n }\n let newVal: GridSelection;\n if (columnBehavior === \"exclusive\" && newCols.length > 0) {\n newVal = {\n current: undefined,\n rows: CompactSelection.empty(),\n columns: newCols,\n };\n } else {\n const rangeMixed = allowMixed && rangeBehavior === \"mixed\";\n const rowMixed = allowMixed && rowBehavior === \"mixed\";\n const current = !rangeMixed ? undefined : gridSelection.current;\n newVal = {\n current,\n rows: rowMixed ? gridSelection.rows : CompactSelection.empty(),\n columns: newCols,\n };\n }\n setGridSelection(newVal, false);\n },\n [columnBehavior, gridSelection, rangeBehavior, rowBehavior, setGridSelection]\n );\n\n return [setCurrent, setSelectedRows, setSelectedColumns] as const;\n}\n","import * as React from \"react\";\nimport type { DataGridSearchProps } from \"../internal/data-grid-search/data-grid-search.js\";\nimport { type CellArray, type GridCell, GridCellKind } from \"../internal/data-grid/data-grid-types.js\";\nimport type { DataEditorProps } from \"./data-editor.js\";\n\ntype CellsForSelectionCallback = NonNullable;\nexport function useCellsForSelection(\n getCellsForSelectionIn: CellsForSelectionCallback | true | undefined,\n getCellContent: DataEditorProps[\"getCellContent\"],\n rowMarkerOffset: number,\n abortController: AbortController,\n rows: number\n) {\n const getCellsForSelectionDirectWhenValid = React.useCallback(\n rect => {\n if (getCellsForSelectionIn === true) {\n const result: GridCell[][] = [];\n\n for (let y = rect.y; y < rect.y + rect.height; y++) {\n const row: GridCell[] = [];\n for (let x = rect.x; x < rect.x + rect.width; x++) {\n if (x < 0 || y >= rows) {\n row.push({\n kind: GridCellKind.Loading,\n allowOverlay: false,\n });\n } else {\n row.push(getCellContent([x, y]));\n }\n }\n result.push(row);\n }\n\n return result;\n }\n return getCellsForSelectionIn?.(rect, abortController.signal) ?? [];\n },\n [abortController.signal, getCellContent, getCellsForSelectionIn, rows]\n );\n const getCellsForSelectionDirect =\n getCellsForSelectionIn !== undefined ? getCellsForSelectionDirectWhenValid : undefined;\n const getCellsForSelectionMangled = React.useCallback(\n rect => {\n if (getCellsForSelectionDirect === undefined) return [];\n const newRect = {\n ...rect,\n x: rect.x - rowMarkerOffset,\n };\n if (newRect.x < 0) {\n newRect.x = 0;\n newRect.width--;\n const r = getCellsForSelectionDirect(newRect, abortController.signal);\n\n if (typeof r === \"function\") {\n return async () =>\n // eslint-disable-next-line unicorn/no-await-expression-member\n (await r()).map(row => [\n { kind: GridCellKind.Loading, allowOverlay: false },\n ...row,\n ]);\n }\n return r.map(row => [{ kind: GridCellKind.Loading, allowOverlay: false }, ...row]);\n }\n return getCellsForSelectionDirect(newRect, abortController.signal);\n },\n [abortController.signal, getCellsForSelectionDirect, rowMarkerOffset]\n );\n\n const getCellsForSelection = getCellsForSelectionIn !== undefined ? getCellsForSelectionMangled : undefined;\n\n return [getCellsForSelection, getCellsForSelectionDirect] as const;\n}\n","import { styled } from \"@linaria/react\";\nimport * as React from \"react\";\n\ninterface WrapperProps {\n inWidth: number | string;\n inHeight: number | string;\n}\n\nfunction toCss(x: number | string) {\n if (typeof x === \"string\") return x;\n return `${x}px`;\n}\n\nconst Wrapper = styled.div<{ innerWidth: string; innerHeight: string }>`\n position: relative;\n\n min-width: 10px;\n min-height: 10px;\n max-width: 100%;\n max-height: 100%;\n\n width: ${p => p.innerWidth};\n height: ${p => p.innerHeight};\n\n overflow: hidden;\n overflow: clip;\n\n direction: ltr;\n\n > :first-child {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n }\n`;\n\ninterface Props extends WrapperProps, React.HTMLAttributes {}\n\nexport const DataEditorContainer: React.FunctionComponent> = p => {\n const { inWidth, inHeight, children, ...rest } = p;\n return (\n \n {children}\n \n );\n};\n","import React from \"react\";\nimport type { GridMouseCellEventArgs } from \"../internal/data-grid/event-args.js\";\n\nconst maxPxPerMs = 2;\nconst msToFullSpeed = 1300;\n\nexport function useAutoscroll(\n scrollDirection: GridMouseCellEventArgs[\"scrollEdge\"] | undefined,\n scrollRef: React.MutableRefObject,\n onScroll?: () => void\n) {\n const speedScalar = React.useRef(0);\n const [xDir, yDir] = scrollDirection ?? [0, 0];\n React.useEffect(() => {\n if (xDir === 0 && yDir === 0) {\n speedScalar.current = 0;\n return;\n }\n let cancelled = false;\n\n let lastTime = 0;\n const scrollFn = (curTime: number) => {\n if (cancelled) return;\n if (lastTime === 0) {\n lastTime = curTime;\n } else {\n const step = curTime - lastTime;\n speedScalar.current = Math.min(1, speedScalar.current + step / msToFullSpeed);\n const motion = speedScalar.current ** 1.618 * step * maxPxPerMs;\n scrollRef.current?.scrollBy(xDir * motion, yDir * motion);\n lastTime = curTime;\n onScroll?.();\n }\n window.requestAnimationFrame(scrollFn);\n };\n window.requestAnimationFrame(scrollFn);\n return () => {\n cancelled = true;\n };\n }, [scrollRef, xDir, yDir, onScroll]);\n}\n","import React from \"react\";\nimport { getDataEditorTheme, type Theme } from \"../common/styles.js\";\n\ninterface DataEditorDimensions {\n rowHeight: number | ((n: number) => number);\n headerHeight: number;\n groupHeaderHeight: number;\n theme: Partial | undefined;\n overscrollX: number | undefined;\n overscrollY: number | undefined;\n}\n\ninterface DataEditorProps {\n rowHeight: number | ((n: number) => number);\n headerHeight: number;\n groupHeaderHeight: number;\n theme?: Partial;\n overscrollX?: number;\n overscrollY?: number;\n scaleToRem: boolean;\n remSize: number;\n}\n\nexport function useRemAdjuster({\n rowHeight: rowHeightIn,\n headerHeight: headerHeightIn,\n groupHeaderHeight: groupHeaderHeightIn,\n theme: themeIn,\n overscrollX: overscrollXIn,\n overscrollY: overscrollYIn,\n scaleToRem,\n remSize,\n}: DataEditorProps): DataEditorDimensions {\n const [rowHeight, headerHeight, groupHeaderHeight, theme, overscrollX, overscrollY] = React.useMemo(() => {\n if (!scaleToRem || remSize === 16)\n return [rowHeightIn, headerHeightIn, groupHeaderHeightIn, themeIn, overscrollXIn, overscrollYIn];\n const scaler = remSize / 16;\n const rh = rowHeightIn;\n const bt = getDataEditorTheme();\n return [\n typeof rh === \"number\" ? rh * scaler : (n: number) => Math.ceil(rh(n) * scaler),\n Math.ceil(headerHeightIn * scaler),\n Math.ceil(groupHeaderHeightIn * scaler),\n {\n ...themeIn,\n headerIconSize: (themeIn?.headerIconSize ?? bt.headerIconSize) * scaler,\n cellHorizontalPadding: (themeIn?.cellHorizontalPadding ?? bt.cellHorizontalPadding) * scaler,\n cellVerticalPadding: (themeIn?.cellVerticalPadding ?? bt.cellVerticalPadding) * scaler,\n },\n Math.ceil((overscrollXIn ?? 0) * scaler),\n Math.ceil((overscrollYIn ?? 0) * scaler),\n ];\n }, [groupHeaderHeightIn, headerHeightIn, overscrollXIn, overscrollYIn, remSize, rowHeightIn, scaleToRem, themeIn]);\n\n return { rowHeight, headerHeight, groupHeaderHeight, theme, overscrollX, overscrollY };\n}\n","/* eslint-disable sonarjs/no-duplicate-string */\nimport * as React from \"react\";\nimport { assert, assertNever, maybe } from \"../common/support.js\";\nimport clamp from \"lodash/clamp.js\";\nimport uniq from \"lodash/uniq.js\";\nimport flatten from \"lodash/flatten.js\";\nimport range from \"lodash/range.js\";\nimport debounce from \"lodash/debounce.js\";\nimport {\n type EditableGridCell,\n type GridCell,\n GridCellKind,\n type GridSelection,\n isEditableGridCell,\n type Rectangle,\n isReadWriteCell,\n type InnerGridCell,\n InnerGridCellKind,\n CompactSelection,\n type Slice,\n isInnerOnlyCell,\n type ProvideEditorCallback,\n type GridColumn,\n isObjectEditorCallbackResult,\n type Item,\n type MarkerCell,\n type ValidatedGridCell,\n type ImageEditorType,\n type CustomCell,\n BooleanEmpty,\n BooleanIndeterminate,\n type FillHandleDirection,\n type EditListItem,\n type CellActiviationBehavior,\n} from \"../internal/data-grid/data-grid-types.js\";\nimport DataGridSearch, { type DataGridSearchProps } from \"../internal/data-grid-search/data-grid-search.js\";\nimport { browserIsOSX } from \"../common/browser-detect.js\";\nimport {\n getDataEditorTheme,\n makeCSSStyle,\n type FullTheme,\n type Theme,\n ThemeContext,\n mergeAndRealizeTheme,\n} from \"../common/styles.js\";\nimport type { DataGridRef } from \"../internal/data-grid/data-grid.js\";\nimport { getScrollBarWidth, useEventListener, useStateWithReactiveInput, whenDefined } from \"../common/utils.js\";\nimport {\n isGroupEqual,\n itemsAreEqual,\n itemIsInRect,\n gridSelectionHasItem,\n getFreezeTrailingHeight,\n} from \"../internal/data-grid/render/data-grid-lib.js\";\nimport { GroupRename } from \"./group-rename.js\";\nimport { measureColumn, useColumnSizer } from \"./use-column-sizer.js\";\nimport { isHotkey } from \"../common/is-hotkey.js\";\nimport { type SelectionBlending, useSelectionBehavior } from \"../internal/data-grid/use-selection-behavior.js\";\nimport { useCellsForSelection } from \"./use-cells-for-selection.js\";\nimport { unquote, expandSelection, copyToClipboard, toggleBoolean } from \"./data-editor-fns.js\";\nimport { DataEditorContainer } from \"../internal/data-editor-container/data-grid-container.js\";\nimport { useAutoscroll } from \"./use-autoscroll.js\";\nimport type { CustomRenderer, CellRenderer, InternalCellRenderer } from \"../cells/cell-types.js\";\nimport { decodeHTML, type CopyBuffer } from \"./copy-paste.js\";\nimport { useRemAdjuster } from \"./use-rem-adjuster.js\";\nimport { withAlpha } from \"../internal/data-grid/color-parser.js\";\nimport { combineRects, getClosestRect, pointInRect } from \"../common/math.js\";\nimport {\n type HeaderClickedEventArgs,\n type GroupHeaderClickedEventArgs,\n type CellClickedEventArgs,\n type FillPatternEventArgs,\n type GridMouseEventArgs,\n groupHeaderKind,\n outOfBoundsKind,\n type GridMouseCellEventArgs,\n headerKind,\n type GridDragEventArgs,\n mouseEventArgsAreEqual,\n type GridKeyEventArgs,\n} from \"../internal/data-grid/event-args.js\";\nimport { type Keybinds, useKeybindingsWithDefaults } from \"./data-editor-keybindings.js\";\nimport type { Highlight } from \"../internal/data-grid/render/data-grid-render.cells.js\";\n\nconst DataGridOverlayEditor = React.lazy(\n async () => await import(\"../internal/data-grid-overlay-editor/data-grid-overlay-editor.js\")\n);\n\nlet idCounter = 0;\n\nexport interface RowMarkerOptions {\n kind: \"checkbox\" | \"number\" | \"clickable-number\" | \"checkbox-visible\" | \"both\" | \"none\";\n checkboxStyle?: \"circle\" | \"square\";\n startIndex?: number;\n width?: number;\n theme?: Partial;\n}\n\ninterface MouseState {\n readonly previousSelection?: GridSelection;\n readonly fillHandle?: boolean;\n}\n\ntype Props = Partial<\n Omit<\n DataGridSearchProps,\n | \"accessibilityHeight\"\n | \"canvasRef\"\n | \"cellXOffset\"\n | \"cellYOffset\"\n | \"className\"\n | \"clientSize\"\n | \"columns\"\n | \"disabledRows\"\n | \"enableGroups\"\n | \"firstColAccessible\"\n | \"firstColSticky\"\n | \"freezeColumns\"\n | \"hasAppendRow\"\n | \"getCellContent\"\n | \"getCellRenderer\"\n | \"getCellsForSelection\"\n | \"gridRef\"\n | \"groupHeaderHeight\"\n | \"headerHeight\"\n | \"isFilling\"\n | \"isFocused\"\n | \"imageWindowLoader\"\n | \"lockColumns\"\n | \"maxColumnWidth\"\n | \"minColumnWidth\"\n | \"nonGrowWidth\"\n | \"onCanvasBlur\"\n | \"onCanvasFocused\"\n | \"onCellFocused\"\n | \"onContextMenu\"\n | \"onDragEnd\"\n | \"onMouseDown\"\n | \"onMouseMove\"\n | \"onMouseUp\"\n | \"onVisibleRegionChanged\"\n | \"rowHeight\"\n | \"rows\"\n | \"scrollRef\"\n | \"searchInputRef\"\n | \"selectedColumns\"\n | \"selection\"\n | \"theme\"\n | \"translateX\"\n | \"translateY\"\n | \"verticalBorder\"\n >\n>;\n\ntype EmitEvents = \"copy\" | \"paste\" | \"delete\" | \"fill-right\" | \"fill-down\";\n\nfunction getSpanStops(cells: readonly (readonly GridCell[])[]): number[] {\n return uniq(\n flatten(\n flatten(cells)\n .filter(c => c.span !== undefined)\n .map(c => range((c.span?.[0] ?? 0) + 1, (c.span?.[1] ?? 0) + 1))\n )\n );\n}\n\nfunction shiftSelection(input: GridSelection, offset: number): GridSelection {\n if (input === undefined || offset === 0 || (input.columns.length === 0 && input.current === undefined))\n return input;\n\n return {\n current:\n input.current === undefined\n ? undefined\n : {\n cell: [input.current.cell[0] + offset, input.current.cell[1]],\n range: {\n ...input.current.range,\n x: input.current.range.x + offset,\n },\n rangeStack: input.current.rangeStack.map(r => ({\n ...r,\n x: r.x + offset,\n })),\n },\n rows: input.rows,\n columns: input.columns.offset(offset),\n };\n}\n\n/**\n * @category DataEditor\n */\nexport interface DataEditorProps extends Props, Pick {\n /** Emitted whenever the user has requested the deletion of the selection.\n * @group Editing\n */\n readonly onDelete?: (selection: GridSelection) => boolean | GridSelection;\n /** Emitted whenever a cell edit is completed.\n * @group Editing\n */\n readonly onCellEdited?: (cell: Item, newValue: EditableGridCell) => void;\n /** Emitted whenever a cell mutation is completed and provides all edits inbound as a single batch.\n * @group Editing\n */\n readonly onCellsEdited?: (newValues: readonly EditListItem[]) => boolean | void;\n /** Emitted whenever a row append operation is requested. Append location can be set in callback.\n * @group Editing\n */\n readonly onRowAppended?: () => Promise<\"top\" | \"bottom\" | number | undefined> | void;\n /** Emitted when a column header should show a context menu. Usually right click.\n * @group Events\n */\n readonly onHeaderClicked?: (colIndex: number, event: HeaderClickedEventArgs) => void;\n /** Emitted when a group header is clicked.\n * @group Events\n */\n readonly onGroupHeaderClicked?: (colIndex: number, event: GroupHeaderClickedEventArgs) => void;\n /** Emitted whe the user wishes to rename a group.\n * @group Events\n */\n readonly onGroupHeaderRenamed?: (groupName: string, newVal: string) => void;\n /** Emitted when a cell is clicked.\n * @group Events\n */\n readonly onCellClicked?: (cell: Item, event: CellClickedEventArgs) => void;\n /** Emitted when a cell is activated, by pressing Enter, Space or double clicking it.\n * @group Events\n */\n readonly onCellActivated?: (cell: Item) => void;\n\n /**\n * Emitted whenever the user initiats a pattern fill using the fill handle. This event provides both\n * a patternSource region and a fillDestination region, and can be prevented.\n * @group Editing\n */\n readonly onFillPattern?: (event: FillPatternEventArgs) => void;\n /** Emitted when editing has finished, regardless of data changing or not.\n * @group Editing\n */\n readonly onFinishedEditing?: (newValue: GridCell | undefined, movement: Item) => void;\n /** Emitted when a column header should show a context menu. Usually right click.\n * @group Events\n */\n readonly onHeaderContextMenu?: (colIndex: number, event: HeaderClickedEventArgs) => void;\n /** Emitted when a group header should show a context menu. Usually right click.\n * @group Events\n */\n readonly onGroupHeaderContextMenu?: (colIndex: number, event: GroupHeaderClickedEventArgs) => void;\n /** Emitted when a cell should show a context menu. Usually right click.\n * @group Events\n */\n readonly onCellContextMenu?: (cell: Item, event: CellClickedEventArgs) => void;\n /** Used for validating cell values during editing.\n * @group Editing\n * @param cell The cell which is being validated.\n * @param newValue The new value being proposed.\n * @param prevValue The previous value before the edit.\n * @returns A return of false indicates the value will not be accepted. A value of\n * true indicates the value will be accepted. Returning a new GridCell will immediately coerce the value to match.\n */\n readonly validateCell?: (\n cell: Item,\n newValue: EditableGridCell,\n prevValue: GridCell\n ) => boolean | ValidatedGridCell;\n\n /** The columns to display in the data grid.\n * @group Data\n */\n readonly columns: readonly GridColumn[];\n\n /** Controls the trailing row used to insert new data into the grid.\n * @group Editing\n */\n readonly trailingRowOptions?: {\n /** If the trailing row should be tinted */\n readonly tint?: boolean;\n /** A hint string displayed on hover. Usually something like \"New row\" */\n readonly hint?: string;\n /** When set to true, the trailing row is always visible. */\n readonly sticky?: boolean;\n /** The icon to use for the cell. Either a GridColumnIcon or a member of the passed headerIcons */\n readonly addIcon?: string;\n /** Overrides the column to focus when a new row is created. */\n readonly targetColumn?: number | GridColumn;\n };\n /** Controls the height of the header row\n * @defaultValue 36\n * @group Style\n */\n readonly headerHeight?: number;\n /** Controls the header of the group header row\n * @defaultValue `headerHeight`\n * @group Style\n */\n readonly groupHeaderHeight?: number;\n\n /**\n * The number of rows in the grid.\n * @group Data\n */\n readonly rows: number;\n\n /** Determines if row markers should be automatically added to the grid.\n * Interactive row markers allow the user to select a row.\n *\n * - \"clickable-number\" renders a number that can be clicked to\n * select the row\n * - \"both\" causes the row marker to show up as a number but\n * reveal a checkbox when the marker is hovered.\n *\n * @defaultValue `none`\n * @group Style\n */\n readonly rowMarkers?: RowMarkerOptions[\"kind\"] | RowMarkerOptions;\n /**\n * Sets the width of row markers in pixels, if unset row markers will automatically size.\n * @group Style\n * @deprecated Use `rowMarkers` instead.\n */\n readonly rowMarkerWidth?: number;\n /** Changes the starting index for row markers.\n * @defaultValue 1\n * @group Style\n * @deprecated Use `rowMarkers` instead.\n */\n readonly rowMarkerStartIndex?: number;\n\n /** Changes the theme of the row marker column\n * @group Style\n * @deprecated Use `rowMarkers` instead.\n */\n readonly rowMarkerTheme?: Partial;\n\n /** Sets the width of the data grid.\n * @group Style\n */\n readonly width?: number | string;\n /** Sets the height of the data grid.\n * @group Style\n */\n readonly height?: number | string;\n /** Custom classname for data grid wrapper.\n * @group Style\n */\n readonly className?: string;\n\n /** If set to `default`, `gridSelection` will be coerced to always include full spans.\n * @group Selection\n * @defaultValue `default`\n */\n readonly spanRangeBehavior?: \"default\" | \"allowPartial\";\n\n /** Controls which types of selections can exist at the same time in the grid. If selection blending is set to\n * exclusive, the grid will clear other types of selections when the exclusive selection is made. By default row,\n * column, and range selections are exclusive.\n * @group Selection\n * @defaultValue `exclusive`\n * */\n readonly rangeSelectionBlending?: SelectionBlending;\n /** {@inheritDoc rangeSelectionBlending}\n * @group Selection\n */\n readonly columnSelectionBlending?: SelectionBlending;\n /** {@inheritDoc rangeSelectionBlending}\n * @group Selection\n */\n readonly rowSelectionBlending?: SelectionBlending;\n /** Controls if multi-selection is allowed. If disabled, shift/ctrl/command clicking will work as if no modifiers\n * are pressed.\n *\n * When range select is set to cell, only one cell may be selected at a time. When set to rect one one rect at a\n * time. The multi variants allow for multiples of the rect or cell to be selected.\n * @group Selection\n * @defaultValue `rect`\n */\n readonly rangeSelect?: \"none\" | \"cell\" | \"rect\" | \"multi-cell\" | \"multi-rect\";\n /** {@inheritDoc rangeSelect}\n * @group Selection\n * @defaultValue `multi`\n */\n readonly columnSelect?: \"none\" | \"single\" | \"multi\";\n /** {@inheritDoc rangeSelect}\n * @group Selection\n * @defaultValue `multi`\n */\n readonly rowSelect?: \"none\" | \"single\" | \"multi\";\n\n /** Sets the initial scroll Y offset.\n * @see {@link scrollOffsetX}\n * @group Advanced\n */\n readonly scrollOffsetY?: number;\n /** Sets the initial scroll X offset\n * @see {@link scrollOffsetY}\n * @group Advanced\n */\n readonly scrollOffsetX?: number;\n\n /** Determins the height of each row.\n * @group Style\n * @defaultValue 34\n */\n readonly rowHeight?: DataGridSearchProps[\"rowHeight\"];\n /** Fires whenever the mouse moves\n * @group Events\n * @param args\n */\n readonly onMouseMove?: DataGridSearchProps[\"onMouseMove\"];\n\n /**\n * The minimum width a column can be resized to.\n * @defaultValue 50\n * @group Style\n */\n readonly minColumnWidth?: DataGridSearchProps[\"minColumnWidth\"];\n /**\n * The maximum width a column can be resized to.\n * @defaultValue 500\n * @group Style\n */\n readonly maxColumnWidth?: DataGridSearchProps[\"maxColumnWidth\"];\n /**\n * The maximum width a column can be automatically sized to.\n * @defaultValue `maxColumnWidth`\n * @group Style\n */\n readonly maxColumnAutoWidth?: number;\n\n /**\n * Used to provide an override to the default image editor for the data grid. `provideEditor` may be a better\n * choice for most people.\n * @group Advanced\n * */\n readonly imageEditorOverride?: ImageEditorType;\n /**\n * If specified, it will be used to render Markdown, instead of the default Markdown renderer used by the Grid.\n * You'll want to use this if you need to process your Markdown for security purposes, or if you want to use a\n * renderer with different Markdown features.\n * @group Advanced\n */\n readonly markdownDivCreateNode?: (content: string) => DocumentFragment;\n\n /** Callback for providing a custom editor for a cell.\n * @group Editing\n */\n readonly provideEditor?: ProvideEditorCallback;\n /**\n * Allows coercion of pasted values.\n * @group Editing\n * @param val The pasted value\n * @param cell The cell being pasted into\n * @returns `undefined` to accept default behavior or a `GridCell` which should be used to represent the pasted value.\n */\n readonly coercePasteValue?: (val: string, cell: GridCell) => GridCell | undefined;\n\n /**\n * Emitted when the grid selection is cleared.\n * @group Selection\n */\n readonly onSelectionCleared?: () => void;\n\n /**\n * The current selection of the data grid. Contains all selected cells, ranges, rows, and columns.\n * Used in conjunction with {@link onGridSelectionChange}\n * method to implement a controlled selection.\n * @group Selection\n */\n readonly gridSelection?: GridSelection;\n /**\n * Emitted whenever the grid selection changes. Specifying\n * this function will make the grid’s selection controlled, so\n * so you will need to specify {@link gridSelection} as well. See\n * the \"Controlled Selection\" example for details.\n *\n * @param newSelection The new gridSelection as created by user input.\n * @group Selection\n */\n readonly onGridSelectionChange?: (newSelection: GridSelection) => void;\n /**\n * Emitted whenever the visible cells change, usually due to scrolling.\n * @group Events\n * @param range An inclusive range of all visible cells. May include cells obscured by UI elements such\n * as headers.\n * @param tx The x transform of the cell region.\n * @param ty The y transform of the cell region.\n * @param extras Contains information about the selected cell and\n * any visible freeze columns.\n */\n readonly onVisibleRegionChanged?: (\n range: Rectangle,\n tx: number,\n ty: number,\n extras: {\n /** The selected item if visible */\n selected?: Item;\n /** A selection of visible freeze columns\n * @deprecated\n */\n freezeRegion?: Rectangle;\n\n /**\n * All visible freeze regions\n */\n freezeRegions?: readonly Rectangle[];\n }\n ) => void;\n\n /**\n * The primary callback for getting cell data into the data grid.\n * @group Data\n * @param cell The location of the cell being requested.\n * @returns A valid GridCell to be rendered by the Grid.\n */\n readonly getCellContent: (cell: Item) => GridCell;\n /**\n * Determines if row selection requires a modifier key to enable multi-selection or not. In auto mode it adapts to\n * touch or mouse environments automatically, in multi-mode it always acts as if the multi key (Ctrl) is pressed.\n * @group Editing\n * @defaultValue `auto`\n */\n readonly rowSelectionMode?: \"auto\" | \"multi\";\n\n /**\n * Add table headers to copied data.\n * @group Editing\n * @defaultValue `false`\n */\n readonly copyHeaders?: boolean;\n\n /**\n * Determins which keybindings are enabled.\n * @group Editing\n */\n readonly keybindings?: Partial;\n\n /**\n * Used to fetch large amounts of cells at once. Used for copy/paste, if unset copy will not work.\n *\n * `getCellsForSelection` is called when the user copies a selection to the clipboard or the data editor needs to\n * inspect data which may be outside the curently visible range. It must return a two-dimensional array (an array of\n * rows, where each row is an array of cells) of the cells in the selection's rectangle. Note that the rectangle can\n * include cells that are not currently visible.\n *\n * If `true` is passed instead of a callback, the data grid will internally use the `getCellContent` callback to\n * provide a basic implementation of `getCellsForSelection`. This can make it easier to light up more data grid\n * functionality, but may have negative side effects if your data source is not able to handle being queried for\n * data outside the normal window.\n *\n * If `getCellsForSelection` returns a thunk, the data may be loaded asynchronously, however the data grid may be\n * unable to properly react to column spans when performing range selections. Copying large amounts of data out of\n * the grid will depend on the performance of the thunk as well.\n * @group Data\n * @param {Rectangle} selection The range of requested cells\n * @param {AbortSignal} abortSignal A signal indicating the requested cells are no longer needed\n * @returns A row-major collection of cells or an async thunk which returns a row-major collection.\n */\n readonly getCellsForSelection?: DataGridSearchProps[\"getCellsForSelection\"] | true;\n\n /** The number of columns which should remain in place when scrolling horizontally. The row marker column, if\n * enabled is always frozen and is not included in this count.\n * @defaultValue 0\n * @group Style\n */\n readonly freezeColumns?: DataGridSearchProps[\"freezeColumns\"];\n\n /**\n * Controls the drawing of the left hand vertical border of a column. If set to a boolean value it controls all\n * borders.\n * @defaultValue `true`\n * @group Style\n */\n readonly verticalBorder?: DataGridSearchProps[\"verticalBorder\"] | boolean;\n\n /**\n * Called when data is pasted into the grid. If left undefined, the `DataEditor` will operate in a\n * fallback mode and attempt to paste the text buffer into the current cell assuming the current cell is not\n * readonly and can accept the data type. If `onPaste` is set to false or the function returns false, the grid will\n * simply ignore paste. If `onPaste` evaluates to true the grid will attempt to split the data by tabs and newlines\n * and paste into available cells.\n *\n * The grid will not attempt to add additional rows if more data is pasted then can fit. In that case it is\n * advisable to simply return false from onPaste and handle the paste manually.\n * @group Editing\n */\n readonly onPaste?: ((target: Item, values: readonly (readonly string[])[]) => boolean) | boolean;\n\n /**\n * The theme used by the data grid to get all color and font information\n * @group Style\n */\n readonly theme?: Partial;\n\n readonly renderers?: readonly InternalCellRenderer[];\n\n /**\n * An array of custom renderers which can be used to extend the data grid.\n * @group Advanced\n */\n readonly customRenderers?: readonly CustomRenderer[];\n\n /**\n * Scales most elements in the theme to match rem scaling automatically\n * @defaultValue false\n */\n readonly scaleToRem?: boolean;\n\n /**\n * Custom predicate function to decide whether the click event occurred outside the grid\n * Especially used when custom editor is opened with the portal and is outside the grid, but there is no possibility\n * to add a class \"click-outside-ignore\"\n * If this function is supplied and returns false, the click event is ignored\n */\n readonly isOutsideClick?: (e: MouseEvent | TouchEvent) => boolean;\n\n /**\n * Controls which directions fill is allowed in.\n */\n readonly allowedFillDirections?: FillHandleDirection;\n\n /**\n * Determines when a cell is considered activated and will emit the `onCellActivated` event. Generally an activated\n * cell will open to edit mode.\n */\n readonly cellActivationBehavior?: CellActiviationBehavior;\n\n /**\n * Controls if focus will trap inside the data grid when doing tab and caret navigation.\n */\n readonly trapFocus?: boolean;\n\n readonly editorBloom?: readonly [number, number];\n}\n\ntype ScrollToFn = (\n col: number | { amount: number; unit: \"cell\" | \"px\" },\n row: number | { amount: number; unit: \"cell\" | \"px\" },\n dir?: \"horizontal\" | \"vertical\" | \"both\",\n paddingX?: number,\n paddingY?: number,\n options?: {\n hAlign?: \"start\" | \"center\" | \"end\";\n vAlign?: \"start\" | \"center\" | \"end\";\n }\n) => void;\n\n/** @category DataEditor */\nexport interface DataEditorRef {\n /**\n * Programatically appends a row.\n * @param col The column index to focus in the new row.\n * @returns A promise which waits for the append to complete.\n */\n appendRow: (col: number, openOverlay?: boolean) => Promise;\n /**\n * Triggers cells to redraw.\n */\n updateCells: DataGridRef[\"damage\"];\n /**\n * Gets the screen space bounds of the requested item.\n */\n getBounds: DataGridRef[\"getBounds\"];\n /**\n * Triggers the data grid to focus itself or the correct accessibility element.\n */\n focus: DataGridRef[\"focus\"];\n /**\n * Generic API for emitting events as if they had been triggered via user interaction.\n */\n emit: (eventName: EmitEvents) => Promise;\n /**\n * Scrolls to the desired cell or location in the grid.\n */\n scrollTo: ScrollToFn;\n /**\n * Causes the columns in the selection to have their natural size recomputed and re-emitted as a resize event.\n */\n remeasureColumns: (cols: CompactSelection) => void;\n}\n\nconst loadingCell: GridCell = {\n kind: GridCellKind.Loading,\n allowOverlay: false,\n};\n\nconst emptyGridSelection: GridSelection = {\n columns: CompactSelection.empty(),\n rows: CompactSelection.empty(),\n current: undefined,\n};\n\nconst DataEditorImpl: React.ForwardRefRenderFunction = (p, forwardedRef) => {\n const [gridSelectionInner, setGridSelectionInner] = React.useState(emptyGridSelection);\n const [overlay, setOverlay] = React.useState<{\n target: Rectangle;\n content: GridCell;\n theme: FullTheme;\n initialValue: string | undefined;\n cell: Item;\n highlight: boolean;\n forceEditMode: boolean;\n }>();\n const searchInputRef = React.useRef(null);\n const canvasRef = React.useRef(null);\n const [mouseState, setMouseState] = React.useState();\n const scrollRef = React.useRef(null);\n const lastSent = React.useRef<[number, number]>();\n\n const safeWindow = typeof window === \"undefined\" ? null : window;\n\n const {\n imageEditorOverride,\n getRowThemeOverride,\n markdownDivCreateNode,\n width,\n height,\n columns: columnsIn,\n rows,\n getCellContent,\n onCellClicked,\n onCellActivated,\n onFillPattern,\n onFinishedEditing,\n coercePasteValue,\n drawHeader: drawHeaderIn,\n drawCell: drawCellIn,\n editorBloom,\n onHeaderClicked,\n onColumnProposeMove,\n spanRangeBehavior = \"default\",\n onGroupHeaderClicked,\n onCellContextMenu,\n className,\n onHeaderContextMenu,\n getCellsForSelection: getCellsForSelectionIn,\n onGroupHeaderContextMenu,\n onGroupHeaderRenamed,\n onCellEdited,\n onCellsEdited,\n onSearchResultsChanged: onSearchResultsChangedIn,\n searchResults,\n onSearchValueChange,\n searchValue,\n onKeyDown: onKeyDownIn,\n onKeyUp: onKeyUpIn,\n keybindings: keybindingsIn,\n onRowAppended,\n onColumnMoved,\n validateCell: validateCellIn,\n highlightRegions: highlightRegionsIn,\n rangeSelect = \"rect\",\n columnSelect = \"multi\",\n rowSelect = \"multi\",\n rangeSelectionBlending = \"exclusive\",\n columnSelectionBlending = \"exclusive\",\n rowSelectionBlending = \"exclusive\",\n onDelete: onDeleteIn,\n onDragStart,\n onMouseMove,\n onPaste,\n copyHeaders = false,\n freezeColumns = 0,\n cellActivationBehavior = \"second-click\",\n rowSelectionMode = \"auto\",\n onHeaderMenuClick,\n getGroupDetails,\n onSearchClose: onSearchCloseIn,\n onItemHovered,\n onSelectionCleared,\n showSearch: showSearchIn,\n onVisibleRegionChanged,\n gridSelection: gridSelectionOuter,\n onGridSelectionChange,\n minColumnWidth: minColumnWidthIn = 50,\n maxColumnWidth: maxColumnWidthIn = 500,\n maxColumnAutoWidth: maxColumnAutoWidthIn,\n provideEditor,\n trailingRowOptions,\n freezeTrailingRows = 0,\n allowedFillDirections = \"orthogonal\",\n scrollOffsetX,\n scrollOffsetY,\n verticalBorder,\n onDragOverCell,\n onDrop,\n onColumnResize: onColumnResizeIn,\n onColumnResizeEnd: onColumnResizeEndIn,\n onColumnResizeStart: onColumnResizeStartIn,\n customRenderers: additionalRenderers,\n fillHandle,\n drawFocusRing,\n experimental,\n fixedShadowX,\n fixedShadowY,\n headerIcons,\n imageWindowLoader,\n initialSize,\n isDraggable,\n onDragLeave,\n onRowMoved,\n overscrollX: overscrollXIn,\n overscrollY: overscrollYIn,\n preventDiagonalScrolling,\n rightElement,\n rightElementProps,\n trapFocus = false,\n smoothScrollX,\n smoothScrollY,\n scaleToRem = false,\n rowHeight: rowHeightIn = 34,\n headerHeight: headerHeightIn = 36,\n groupHeaderHeight: groupHeaderHeightIn = headerHeightIn,\n theme: themeIn,\n isOutsideClick,\n renderers,\n } = p;\n\n const rowMarkersObj = typeof p.rowMarkers === \"string\" ? undefined : p.rowMarkers;\n\n const rowMarkers = rowMarkersObj?.kind ?? (p.rowMarkers as RowMarkerOptions[\"kind\"]) ?? \"none\";\n const rowMarkerWidthRaw = rowMarkersObj?.width ?? p.rowMarkerWidth;\n const rowMarkerStartIndex = rowMarkersObj?.startIndex ?? p.rowMarkerStartIndex ?? 1;\n const rowMarkerTheme = rowMarkersObj?.theme ?? p.rowMarkerTheme;\n const rowMarkerCheckboxStyle = rowMarkersObj?.checkboxStyle ?? \"square\";\n\n const minColumnWidth = Math.max(minColumnWidthIn, 20);\n const maxColumnWidth = Math.max(maxColumnWidthIn, minColumnWidth);\n const maxColumnAutoWidth = Math.max(maxColumnAutoWidthIn ?? maxColumnWidth, minColumnWidth);\n\n const docStyle = React.useMemo(() => {\n if (typeof window === \"undefined\") return { fontSize: \"16px\" };\n return window.getComputedStyle(document.documentElement);\n }, []);\n\n const remSize = React.useMemo(() => Number.parseFloat(docStyle.fontSize), [docStyle]);\n\n const { rowHeight, headerHeight, groupHeaderHeight, theme, overscrollX, overscrollY } = useRemAdjuster({\n groupHeaderHeight: groupHeaderHeightIn,\n headerHeight: headerHeightIn,\n overscrollX: overscrollXIn,\n overscrollY: overscrollYIn,\n remSize,\n rowHeight: rowHeightIn,\n scaleToRem,\n theme: themeIn,\n });\n\n const keybindings = useKeybindingsWithDefaults(keybindingsIn);\n\n const rowMarkerWidth = rowMarkerWidthRaw ?? (rows > 10_000 ? 48 : rows > 1000 ? 44 : rows > 100 ? 36 : 32);\n const hasRowMarkers = rowMarkers !== \"none\";\n const rowMarkerOffset = hasRowMarkers ? 1 : 0;\n const showTrailingBlankRow = onRowAppended !== undefined;\n const lastRowSticky = trailingRowOptions?.sticky === true;\n\n const [showSearchInner, setShowSearchInner] = React.useState(false);\n const showSearch = showSearchIn ?? showSearchInner;\n\n const onSearchClose = React.useCallback(() => {\n if (onSearchCloseIn !== undefined) {\n onSearchCloseIn();\n } else {\n setShowSearchInner(false);\n }\n }, [onSearchCloseIn]);\n\n const gridSelectionOuterMangled: GridSelection | undefined = React.useMemo((): GridSelection | undefined => {\n return gridSelectionOuter === undefined ? undefined : shiftSelection(gridSelectionOuter, rowMarkerOffset);\n }, [gridSelectionOuter, rowMarkerOffset]);\n const gridSelection = gridSelectionOuterMangled ?? gridSelectionInner;\n\n const abortControllerRef = React.useRef() as React.MutableRefObject;\n if (abortControllerRef.current === undefined) abortControllerRef.current = new AbortController();\n\n React.useEffect(() => () => abortControllerRef?.current.abort(), []);\n\n const [getCellsForSelection, getCellsForSeletionDirect] = useCellsForSelection(\n getCellsForSelectionIn,\n getCellContent,\n rowMarkerOffset,\n abortControllerRef.current,\n rows\n );\n\n const validateCell = React.useCallback>(\n (cell, newValue, prevValue) => {\n if (validateCellIn === undefined) return true;\n const item: Item = [cell[0] - rowMarkerOffset, cell[1]];\n return validateCellIn?.(item, newValue, prevValue);\n },\n [rowMarkerOffset, validateCellIn]\n );\n\n const expectedExternalGridSelection = React.useRef(gridSelectionOuter);\n const setGridSelection = React.useCallback(\n (newVal: GridSelection, expand: boolean): void => {\n if (expand) {\n newVal = expandSelection(\n newVal,\n getCellsForSelection,\n rowMarkerOffset,\n spanRangeBehavior,\n abortControllerRef.current\n );\n }\n if (onGridSelectionChange !== undefined) {\n expectedExternalGridSelection.current = shiftSelection(newVal, -rowMarkerOffset);\n onGridSelectionChange(expectedExternalGridSelection.current);\n } else {\n setGridSelectionInner(newVal);\n }\n },\n [onGridSelectionChange, getCellsForSelection, rowMarkerOffset, spanRangeBehavior]\n );\n\n const onColumnResize = whenDefined(\n onColumnResizeIn,\n React.useCallback>(\n (_, w, ind, wg) => {\n onColumnResizeIn?.(columnsIn[ind - rowMarkerOffset], w, ind - rowMarkerOffset, wg);\n },\n [onColumnResizeIn, rowMarkerOffset, columnsIn]\n )\n );\n\n const onColumnResizeEnd = whenDefined(\n onColumnResizeEndIn,\n React.useCallback>(\n (_, w, ind, wg) => {\n onColumnResizeEndIn?.(columnsIn[ind - rowMarkerOffset], w, ind - rowMarkerOffset, wg);\n },\n [onColumnResizeEndIn, rowMarkerOffset, columnsIn]\n )\n );\n\n const onColumnResizeStart = whenDefined(\n onColumnResizeStartIn,\n React.useCallback>(\n (_, w, ind, wg) => {\n onColumnResizeStartIn?.(columnsIn[ind - rowMarkerOffset], w, ind - rowMarkerOffset, wg);\n },\n [onColumnResizeStartIn, rowMarkerOffset, columnsIn]\n )\n );\n\n const drawHeader = whenDefined(\n drawHeaderIn,\n React.useCallback>(\n (args, draw) => {\n return drawHeaderIn?.({ ...args, columnIndex: args.columnIndex - rowMarkerOffset }, draw) ?? false;\n },\n [drawHeaderIn, rowMarkerOffset]\n )\n );\n\n const drawCell = whenDefined(\n drawCellIn,\n React.useCallback>(\n (args, draw) => {\n return drawCellIn?.({ ...args, col: args.col - rowMarkerOffset }, draw) ?? false;\n },\n [drawCellIn, rowMarkerOffset]\n )\n );\n\n const onDelete = React.useCallback>(\n sel => {\n if (onDeleteIn !== undefined) {\n const result = onDeleteIn(shiftSelection(sel, -rowMarkerOffset));\n if (typeof result === \"boolean\") {\n return result;\n }\n return shiftSelection(result, rowMarkerOffset);\n }\n return true;\n },\n [onDeleteIn, rowMarkerOffset]\n );\n\n const [setCurrent, setSelectedRows, setSelectedColumns] = useSelectionBehavior(\n gridSelection,\n setGridSelection,\n rangeSelectionBlending,\n columnSelectionBlending,\n rowSelectionBlending,\n rangeSelect\n );\n\n const mergedTheme = React.useMemo(() => {\n return mergeAndRealizeTheme(getDataEditorTheme(), theme);\n }, [theme]);\n\n const [clientSize, setClientSize] = React.useState([0, 0, 0]);\n\n const rendererMap = React.useMemo(() => {\n if (renderers === undefined) return {};\n const result: Partial>> = {};\n for (const r of renderers) {\n result[r.kind] = r;\n }\n return result;\n }, [renderers]);\n\n const getCellRenderer: (cell: T) => CellRenderer | undefined = React.useCallback(\n (cell: T) => {\n if (cell.kind !== GridCellKind.Custom) {\n return rendererMap[cell.kind] as unknown as CellRenderer;\n }\n return additionalRenderers?.find(x => x.isMatch(cell)) as CellRenderer;\n },\n [additionalRenderers, rendererMap]\n );\n\n // eslint-disable-next-line prefer-const\n let { sizedColumns: columns, nonGrowWidth } = useColumnSizer(\n columnsIn,\n rows,\n getCellsForSeletionDirect,\n clientSize[0] - (rowMarkerOffset === 0 ? 0 : rowMarkerWidth) - clientSize[2],\n minColumnWidth,\n maxColumnAutoWidth,\n mergedTheme,\n getCellRenderer,\n abortControllerRef.current\n );\n if (rowMarkers !== \"none\") nonGrowWidth += rowMarkerWidth;\n\n const enableGroups = React.useMemo(() => {\n return columns.some(c => c.group !== undefined);\n }, [columns]);\n\n const totalHeaderHeight = enableGroups ? headerHeight + groupHeaderHeight : headerHeight;\n\n const numSelectedRows = gridSelection.rows.length;\n const rowMarkerChecked =\n rowMarkers === \"none\" ? undefined : numSelectedRows === 0 ? false : numSelectedRows === rows ? true : undefined;\n\n const mangledCols = React.useMemo(() => {\n if (rowMarkers === \"none\") return columns;\n return [\n {\n title: \"\",\n width: rowMarkerWidth,\n icon: undefined,\n hasMenu: false,\n style: \"normal\" as const,\n themeOverride: rowMarkerTheme,\n rowMarker: rowMarkerCheckboxStyle,\n rowMarkerChecked,\n },\n ...columns,\n ];\n }, [rowMarkers, columns, rowMarkerWidth, rowMarkerTheme, rowMarkerCheckboxStyle, rowMarkerChecked]);\n\n const [visibleRegionY, visibleRegionTy] = React.useMemo(() => {\n return [\n scrollOffsetY !== undefined && typeof rowHeight === \"number\" ? Math.floor(scrollOffsetY / rowHeight) : 0,\n scrollOffsetY !== undefined && typeof rowHeight === \"number\" ? -(scrollOffsetY % rowHeight) : 0,\n ];\n }, [scrollOffsetY, rowHeight]);\n\n type VisibleRegion = Rectangle & {\n /** value in px */\n tx?: number;\n /** value in px */\n ty?: number;\n extras?: {\n selected?: Item;\n /**\n * @deprecated\n */\n freezeRegion?: Rectangle;\n\n /**\n * All visible freeze regions\n */\n freezeRegions?: readonly Rectangle[];\n };\n };\n\n const visibleRegionRef = React.useRef({\n height: 1,\n width: 1,\n x: 0,\n y: 0,\n });\n const visibleRegionInput = React.useMemo(\n () => ({\n x: visibleRegionRef.current.x,\n y: visibleRegionY,\n width: visibleRegionRef.current.width ?? 1,\n height: visibleRegionRef.current.height ?? 1,\n // tx: 'TODO',\n ty: visibleRegionTy,\n }),\n [visibleRegionTy, visibleRegionY]\n );\n\n const hasJustScrolled = React.useRef(false);\n\n const [visibleRegion, setVisibleRegion, empty] = useStateWithReactiveInput(visibleRegionInput);\n visibleRegionRef.current = visibleRegion;\n\n const vScrollReady = (visibleRegion.height ?? 1) > 1;\n React.useLayoutEffect(() => {\n if (scrollOffsetY !== undefined && scrollRef.current !== null && vScrollReady) {\n if (scrollRef.current.scrollTop === scrollOffsetY) return;\n scrollRef.current.scrollTop = scrollOffsetY;\n if (scrollRef.current.scrollTop !== scrollOffsetY) {\n empty();\n }\n hasJustScrolled.current = true;\n }\n }, [scrollOffsetY, vScrollReady, empty]);\n\n const hScrollReady = (visibleRegion.width ?? 1) > 1;\n React.useLayoutEffect(() => {\n if (scrollOffsetX !== undefined && scrollRef.current !== null && hScrollReady) {\n if (scrollRef.current.scrollLeft === scrollOffsetX) return;\n scrollRef.current.scrollLeft = scrollOffsetX;\n if (scrollRef.current.scrollLeft !== scrollOffsetX) {\n empty();\n }\n hasJustScrolled.current = true;\n }\n }, [scrollOffsetX, hScrollReady, empty]);\n\n const cellXOffset = visibleRegion.x + rowMarkerOffset;\n const cellYOffset = visibleRegion.y;\n\n const gridRef = React.useRef(null);\n\n const focus = React.useCallback((immediate?: boolean) => {\n if (immediate === true) {\n gridRef.current?.focus();\n } else {\n window.requestAnimationFrame(() => {\n gridRef.current?.focus();\n });\n }\n }, []);\n\n const mangledRows = showTrailingBlankRow ? rows + 1 : rows;\n\n const mangledOnCellsEdited = React.useCallback>(\n (items: readonly EditListItem[]) => {\n const mangledItems =\n rowMarkerOffset === 0\n ? items\n : items.map(x => ({\n ...x,\n location: [x.location[0] - rowMarkerOffset, x.location[1]] as const,\n }));\n const r = onCellsEdited?.(mangledItems);\n\n if (r !== true) {\n for (const i of mangledItems) onCellEdited?.(i.location, i.value);\n }\n\n return r;\n },\n [onCellEdited, onCellsEdited, rowMarkerOffset]\n );\n\n const [fillHighlightRegion, setFillHighlightRegion] = React.useState();\n\n // this will generally be undefined triggering the memo less often\n const highlightRange =\n gridSelection.current !== undefined &&\n gridSelection.current.range.width * gridSelection.current.range.height > 1\n ? gridSelection.current.range\n : undefined;\n\n const highlightRegions = React.useMemo(() => {\n if (\n (highlightRegionsIn === undefined || highlightRegionsIn.length === 0) &&\n highlightRange === undefined &&\n fillHighlightRegion === undefined\n )\n return undefined;\n\n const regions: Highlight[] = [];\n\n if (highlightRegionsIn !== undefined) {\n for (const r of highlightRegionsIn) {\n const maxWidth = mangledCols.length - r.range.x - rowMarkerOffset;\n if (maxWidth > 0) {\n regions.push({\n color: r.color,\n range: {\n ...r.range,\n x: r.range.x + rowMarkerOffset,\n width: Math.min(maxWidth, r.range.width),\n },\n style: r.style,\n });\n }\n }\n }\n\n if (fillHighlightRegion !== undefined) {\n regions.push({\n color: withAlpha(mergedTheme.accentColor, 0),\n range: fillHighlightRegion,\n style: \"dashed\",\n });\n }\n\n if (highlightRange !== undefined) {\n regions.push({\n color: withAlpha(mergedTheme.accentColor, 0.5),\n range: highlightRange,\n style: \"solid-outline\",\n });\n }\n\n return regions.length > 0 ? regions : undefined;\n }, [\n fillHighlightRegion,\n highlightRange,\n highlightRegionsIn,\n mangledCols.length,\n mergedTheme.accentColor,\n rowMarkerOffset,\n ]);\n\n const mangledColsRef = React.useRef(mangledCols);\n mangledColsRef.current = mangledCols;\n const getMangledCellContent = React.useCallback(\n ([col, row]: Item, forceStrict: boolean = false): InnerGridCell => {\n const isTrailing = showTrailingBlankRow && row === mangledRows - 1;\n const isRowMarkerCol = col === 0 && hasRowMarkers;\n if (isRowMarkerCol) {\n if (isTrailing) {\n return loadingCell;\n }\n return {\n kind: InnerGridCellKind.Marker,\n allowOverlay: false,\n checkboxStyle: rowMarkerCheckboxStyle,\n checked: gridSelection?.rows.hasIndex(row) === true,\n markerKind: rowMarkers === \"clickable-number\" ? \"number\" : rowMarkers,\n row: rowMarkerStartIndex + row,\n drawHandle: onRowMoved !== undefined,\n cursor: rowMarkers === \"clickable-number\" ? \"pointer\" : undefined,\n };\n } else if (isTrailing) {\n //If the grid is empty, we will return text\n const isFirst = col === rowMarkerOffset;\n\n const maybeFirstColumnHint = isFirst ? trailingRowOptions?.hint ?? \"\" : \"\";\n const c = mangledColsRef.current[col];\n\n if (c?.trailingRowOptions?.disabled === true) {\n return loadingCell;\n } else {\n const hint = c?.trailingRowOptions?.hint ?? maybeFirstColumnHint;\n const icon = c?.trailingRowOptions?.addIcon ?? trailingRowOptions?.addIcon;\n return {\n kind: InnerGridCellKind.NewRow,\n hint,\n allowOverlay: false,\n icon,\n };\n }\n } else {\n const outerCol = col - rowMarkerOffset;\n if (forceStrict || experimental?.strict === true) {\n const vr = visibleRegionRef.current;\n const isOutsideMainArea =\n vr.x > outerCol ||\n outerCol > vr.x + vr.width ||\n vr.y > row ||\n row > vr.y + vr.height ||\n row >= rowsRef.current;\n const isSelected = outerCol === vr.extras?.selected?.[0] && row === vr.extras?.selected[1];\n let isInFreezeArea = false;\n if (vr.extras?.freezeRegions !== undefined) {\n for (const fr of vr.extras.freezeRegions) {\n if (pointInRect(fr, outerCol, row)) {\n isInFreezeArea = true;\n break;\n }\n }\n }\n\n if (isOutsideMainArea && !isSelected && !isInFreezeArea) {\n return loadingCell;\n }\n }\n let result = getCellContent([outerCol, row]);\n if (rowMarkerOffset !== 0 && result.span !== undefined) {\n result = {\n ...result, // FIXME: Mutate\n span: [result.span[0] + rowMarkerOffset, result.span[1] + rowMarkerOffset],\n };\n }\n return result;\n }\n },\n [\n showTrailingBlankRow,\n mangledRows,\n hasRowMarkers,\n rowMarkerCheckboxStyle,\n gridSelection?.rows,\n rowMarkers,\n rowMarkerStartIndex,\n onRowMoved,\n rowMarkerOffset,\n trailingRowOptions?.hint,\n trailingRowOptions?.addIcon,\n experimental?.strict,\n getCellContent,\n ]\n );\n\n const mangledGetGroupDetails = React.useCallback>(\n group => {\n let result = getGroupDetails?.(group) ?? { name: group };\n if (onGroupHeaderRenamed !== undefined && group !== \"\") {\n result = {\n // FIXME: Mutate\n icon: result.icon,\n name: result.name,\n overrideTheme: result.overrideTheme,\n actions: [\n ...(result.actions ?? []),\n {\n title: \"Rename\",\n icon: \"renameIcon\",\n onClick: e =>\n setRenameGroup({\n group: result.name,\n bounds: e.bounds,\n }),\n },\n ],\n };\n }\n return result;\n },\n [getGroupDetails, onGroupHeaderRenamed]\n );\n\n const setOverlaySimple = React.useCallback(\n (val: Omit, \"theme\">) => {\n const [col, row] = val.cell;\n const column = mangledCols[col];\n const groupTheme =\n column?.group !== undefined ? mangledGetGroupDetails(column.group)?.overrideTheme : undefined;\n const colTheme = column?.themeOverride;\n const rowTheme = getRowThemeOverride?.(row);\n\n setOverlay({\n ...val,\n theme: mergeAndRealizeTheme(mergedTheme, groupTheme, colTheme, rowTheme, val.content.themeOverride),\n });\n },\n [getRowThemeOverride, mangledCols, mangledGetGroupDetails, mergedTheme]\n );\n\n const reselect = React.useCallback(\n (bounds: Rectangle, fromKeyboard: boolean, initialValue?: string) => {\n if (gridSelection.current === undefined) return;\n\n const [col, row] = gridSelection.current.cell;\n const c = getMangledCellContent([col, row]);\n if (c.kind !== GridCellKind.Boolean && c.allowOverlay) {\n let content = c;\n if (initialValue !== undefined) {\n switch (content.kind) {\n case GridCellKind.Number: {\n const d = maybe(() => (initialValue === \"-\" ? -0 : Number.parseFloat(initialValue)), 0);\n content = {\n ...content,\n data: Number.isNaN(d) ? 0 : d,\n };\n break;\n }\n case GridCellKind.Text:\n case GridCellKind.Markdown:\n case GridCellKind.Uri:\n content = {\n ...content,\n data: initialValue,\n };\n break;\n }\n }\n\n setOverlaySimple({\n target: bounds,\n content,\n initialValue,\n cell: [col, row],\n highlight: initialValue === undefined,\n forceEditMode: initialValue !== undefined,\n });\n } else if (c.kind === GridCellKind.Boolean && fromKeyboard && c.readonly !== true) {\n mangledOnCellsEdited([\n {\n location: gridSelection.current.cell,\n value: {\n ...c,\n data: toggleBoolean(c.data),\n },\n },\n ]);\n gridRef.current?.damage([{ cell: gridSelection.current.cell }]);\n }\n },\n [getMangledCellContent, gridSelection, mangledOnCellsEdited, setOverlaySimple]\n );\n\n const focusOnRowFromTrailingBlankRow = React.useCallback(\n (col: number, row: number) => {\n const bounds = gridRef.current?.getBounds(col, row);\n if (bounds === undefined || scrollRef.current === null) {\n return;\n }\n\n const content = getMangledCellContent([col, row]);\n if (!content.allowOverlay) {\n return;\n }\n\n setOverlaySimple({\n target: bounds,\n content,\n initialValue: undefined,\n highlight: true,\n cell: [col, row],\n forceEditMode: true,\n });\n },\n [getMangledCellContent, setOverlaySimple]\n );\n\n const scrollTo = React.useCallback(\n (col, row, dir = \"both\", paddingX = 0, paddingY = 0, options = undefined): void => {\n if (scrollRef.current !== null) {\n const grid = gridRef.current;\n const canvas = canvasRef.current;\n\n const trueCol = typeof col !== \"number\" ? (col.unit === \"cell\" ? col.amount : undefined) : col;\n const trueRow = typeof row !== \"number\" ? (row.unit === \"cell\" ? row.amount : undefined) : row;\n const desiredX = typeof col !== \"number\" && col.unit === \"px\" ? col.amount : undefined;\n const desiredY = typeof row !== \"number\" && row.unit === \"px\" ? row.amount : undefined;\n if (grid !== null && canvas !== null) {\n let targetRect: Rectangle = {\n x: 0,\n y: 0,\n width: 0,\n height: 0,\n };\n\n let scrollX = 0;\n let scrollY = 0;\n\n if (trueCol !== undefined || trueRow !== undefined) {\n targetRect = grid.getBounds((trueCol ?? 0) + rowMarkerOffset, trueRow ?? 0) ?? targetRect;\n if (targetRect.width === 0 || targetRect.height === 0) return;\n }\n\n const scrollBounds = canvas.getBoundingClientRect();\n const scale = scrollBounds.width / canvas.offsetWidth;\n\n if (desiredX !== undefined) {\n targetRect = {\n ...targetRect,\n x: desiredX - scrollBounds.left - scrollRef.current.scrollLeft,\n width: 1,\n };\n }\n if (desiredY !== undefined) {\n targetRect = {\n ...targetRect,\n y: desiredY + scrollBounds.top - scrollRef.current.scrollTop,\n height: 1,\n };\n }\n\n if (targetRect !== undefined) {\n const bounds = {\n x: targetRect.x - paddingX,\n y: targetRect.y - paddingY,\n width: targetRect.width + 2 * paddingX,\n height: targetRect.height + 2 * paddingY,\n };\n\n let frozenWidth = 0;\n for (let i = 0; i < freezeColumns; i++) {\n frozenWidth += columns[i].width;\n }\n let trailingRowHeight = 0;\n const freezeTrailingRowsEffective = freezeTrailingRows + (lastRowSticky ? 1 : 0);\n if (freezeTrailingRowsEffective > 0) {\n trailingRowHeight = getFreezeTrailingHeight(\n mangledRows,\n freezeTrailingRowsEffective,\n rowHeight\n );\n }\n\n // scrollBounds is already scaled\n let sLeft = frozenWidth * scale + scrollBounds.left + rowMarkerOffset * rowMarkerWidth * scale;\n let sRight = scrollBounds.right;\n let sTop = scrollBounds.top + totalHeaderHeight * scale;\n let sBottom = scrollBounds.bottom - trailingRowHeight * scale;\n\n const minx = targetRect.width + paddingX * 2;\n switch (options?.hAlign) {\n case \"start\":\n sRight = sLeft + minx;\n break;\n case \"end\":\n sLeft = sRight - minx;\n break;\n case \"center\":\n sLeft = Math.floor((sLeft + sRight) / 2) - minx / 2;\n sRight = sLeft + minx;\n break;\n }\n\n const miny = targetRect.height + paddingY * 2;\n switch (options?.vAlign) {\n case \"start\":\n sBottom = sTop + miny;\n break;\n case \"end\":\n sTop = sBottom - miny;\n break;\n case \"center\":\n sTop = Math.floor((sTop + sBottom) / 2) - miny / 2;\n sBottom = sTop + miny;\n break;\n }\n\n if (sLeft > bounds.x) {\n scrollX = bounds.x - sLeft;\n } else if (sRight < bounds.x + bounds.width) {\n scrollX = bounds.x + bounds.width - sRight;\n }\n\n if (sTop > bounds.y) {\n scrollY = bounds.y - sTop;\n } else if (sBottom < bounds.y + bounds.height) {\n scrollY = bounds.y + bounds.height - sBottom;\n }\n\n if (dir === \"vertical\" || (typeof col === \"number\" && col < freezeColumns)) {\n scrollX = 0;\n } else if (\n dir === \"horizontal\" ||\n (typeof row === \"number\" && row >= mangledRows - freezeTrailingRowsEffective)\n ) {\n scrollY = 0;\n }\n\n if (scrollX !== 0 || scrollY !== 0) {\n // Remove scaling as scrollTo method is unaffected by transform scale.\n if (scale !== 1) {\n scrollX /= scale;\n scrollY /= scale;\n }\n scrollRef.current.scrollTo(\n scrollX + scrollRef.current.scrollLeft,\n scrollY + scrollRef.current.scrollTop\n );\n }\n }\n }\n }\n },\n [\n rowMarkerOffset,\n freezeTrailingRows,\n rowMarkerWidth,\n totalHeaderHeight,\n freezeColumns,\n columns,\n mangledRows,\n lastRowSticky,\n rowHeight,\n ]\n );\n\n const focusCallback = React.useRef(focusOnRowFromTrailingBlankRow);\n const getCellContentRef = React.useRef(getCellContent);\n const rowsRef = React.useRef(rows);\n focusCallback.current = focusOnRowFromTrailingBlankRow;\n getCellContentRef.current = getCellContent;\n rowsRef.current = rows;\n const appendRow = React.useCallback(\n async (col: number, openOverlay: boolean = true): Promise => {\n const c = mangledCols[col];\n if (c?.trailingRowOptions?.disabled === true) {\n return;\n }\n const appendResult = onRowAppended?.();\n\n let r: \"top\" | \"bottom\" | number | undefined = undefined;\n let bottom = true;\n if (appendResult !== undefined) {\n r = await appendResult;\n if (r === \"top\") bottom = false;\n if (typeof r === \"number\") bottom = false;\n }\n\n let backoff = 0;\n const doFocus = () => {\n if (rowsRef.current <= rows) {\n if (backoff < 500) {\n window.setTimeout(doFocus, backoff);\n }\n backoff = 50 + backoff * 2;\n return;\n }\n\n const row = typeof r === \"number\" ? r : bottom ? rows : 0;\n scrollToRef.current(col - rowMarkerOffset, row);\n setCurrent(\n {\n cell: [col, row],\n range: {\n x: col,\n y: row,\n width: 1,\n height: 1,\n },\n },\n false,\n false,\n \"edit\"\n );\n\n const cell = getCellContentRef.current([col - rowMarkerOffset, row]);\n if (cell.allowOverlay && isReadWriteCell(cell) && cell.readonly !== true && openOverlay) {\n // wait for scroll to have a chance to process\n window.setTimeout(() => {\n focusCallback.current(col, row);\n }, 0);\n }\n };\n // Queue up to allow the consumer to react to the event and let us check if they did\n doFocus();\n },\n [mangledCols, onRowAppended, rowMarkerOffset, rows, setCurrent]\n );\n\n const getCustomNewRowTargetColumn = React.useCallback(\n (col: number): number | undefined => {\n const customTargetColumn =\n columns[col]?.trailingRowOptions?.targetColumn ?? trailingRowOptions?.targetColumn;\n\n if (typeof customTargetColumn === \"number\") {\n const customTargetOffset = hasRowMarkers ? 1 : 0;\n return customTargetColumn + customTargetOffset;\n }\n\n if (typeof customTargetColumn === \"object\") {\n const maybeIndex = columnsIn.indexOf(customTargetColumn);\n if (maybeIndex >= 0) {\n const customTargetOffset = hasRowMarkers ? 1 : 0;\n return maybeIndex + customTargetOffset;\n }\n }\n\n return undefined;\n },\n [columns, columnsIn, hasRowMarkers, trailingRowOptions?.targetColumn]\n );\n\n const lastSelectedRowRef = React.useRef();\n const lastSelectedColRef = React.useRef();\n\n const themeForCell = React.useCallback(\n (cell: InnerGridCell, pos: Item): FullTheme => {\n const [col, row] = pos;\n return mergeAndRealizeTheme(\n mergedTheme,\n mangledCols[col]?.themeOverride,\n getRowThemeOverride?.(row),\n cell.themeOverride\n );\n },\n [getRowThemeOverride, mangledCols, mergedTheme]\n );\n\n const handleSelect = React.useCallback(\n (args: GridMouseEventArgs) => {\n const isMultiKey = browserIsOSX.value ? args.metaKey : args.ctrlKey;\n const isMultiRow = isMultiKey && rowSelect === \"multi\";\n const isMultiCol = isMultiKey && columnSelect === \"multi\";\n const [col, row] = args.location;\n const selectedColumns = gridSelection.columns;\n const selectedRows = gridSelection.rows;\n const [cellCol, cellRow] = gridSelection.current?.cell ?? [];\n // eslint-disable-next-line unicorn/prefer-switch\n if (args.kind === \"cell\") {\n lastSelectedColRef.current = undefined;\n\n lastMouseSelectLocation.current = [col, row];\n\n if (col === 0 && hasRowMarkers) {\n if (\n (showTrailingBlankRow === true && row === rows) ||\n rowMarkers === \"number\" ||\n rowSelect === \"none\"\n )\n return;\n\n const markerCell = getMangledCellContent(args.location);\n if (markerCell.kind !== InnerGridCellKind.Marker) {\n return;\n }\n\n if (onRowMoved !== undefined) {\n const renderer = getCellRenderer(markerCell);\n assert(renderer?.kind === InnerGridCellKind.Marker);\n const postClick = renderer?.onClick?.({\n ...args,\n cell: markerCell,\n posX: args.localEventX,\n posY: args.localEventY,\n bounds: args.bounds,\n theme: themeForCell(markerCell, args.location),\n preventDefault: () => undefined,\n }) as MarkerCell | undefined;\n if (postClick === undefined || postClick.checked === markerCell.checked) return;\n }\n\n setOverlay(undefined);\n focus();\n const isSelected = selectedRows.hasIndex(row);\n\n const lastHighlighted = lastSelectedRowRef.current;\n if (\n rowSelect === \"multi\" &&\n (args.shiftKey || args.isLongTouch === true) &&\n lastHighlighted !== undefined &&\n selectedRows.hasIndex(lastHighlighted)\n ) {\n const newSlice: Slice = [Math.min(lastHighlighted, row), Math.max(lastHighlighted, row) + 1];\n\n if (isMultiRow || rowSelectionMode === \"multi\") {\n setSelectedRows(undefined, newSlice, true);\n } else {\n setSelectedRows(CompactSelection.fromSingleSelection(newSlice), undefined, isMultiRow);\n }\n } else if (isMultiRow || args.isTouch || rowSelectionMode === \"multi\") {\n if (isSelected) {\n setSelectedRows(selectedRows.remove(row), undefined, true);\n } else {\n setSelectedRows(undefined, row, true);\n lastSelectedRowRef.current = row;\n }\n } else if (isSelected && selectedRows.length === 1) {\n setSelectedRows(CompactSelection.empty(), undefined, isMultiKey);\n } else {\n setSelectedRows(CompactSelection.fromSingleSelection(row), undefined, isMultiKey);\n lastSelectedRowRef.current = row;\n }\n } else if (col >= rowMarkerOffset && showTrailingBlankRow && row === rows) {\n const customTargetColumn = getCustomNewRowTargetColumn(col);\n void appendRow(customTargetColumn ?? col);\n } else {\n if (cellCol !== col || cellRow !== row) {\n const cell = getMangledCellContent(args.location);\n const renderer = getCellRenderer(cell);\n\n if (renderer?.onSelect !== undefined) {\n let prevented = false;\n renderer.onSelect({\n ...args,\n cell,\n posX: args.localEventX,\n posY: args.localEventY,\n bounds: args.bounds,\n preventDefault: () => (prevented = true),\n theme: themeForCell(cell, args.location),\n });\n if (prevented) {\n return;\n }\n }\n const isLastStickyRow = lastRowSticky && row === rows;\n\n const startedFromLastSticky =\n lastRowSticky && gridSelection !== undefined && gridSelection.current?.cell[1] === rows;\n\n if (\n (args.shiftKey || args.isLongTouch === true) &&\n cellCol !== undefined &&\n cellRow !== undefined &&\n gridSelection.current !== undefined &&\n !startedFromLastSticky\n ) {\n if (isLastStickyRow) {\n // If we're making a selection and shift click in to the last sticky row,\n // just drop the event. Don't kill the selection.\n return;\n }\n\n const left = Math.min(col, cellCol);\n const right = Math.max(col, cellCol);\n const top = Math.min(row, cellRow);\n const bottom = Math.max(row, cellRow);\n setCurrent(\n {\n ...gridSelection.current,\n range: {\n x: left,\n y: top,\n width: right - left + 1,\n height: bottom - top + 1,\n },\n },\n true,\n isMultiKey,\n \"click\"\n );\n lastSelectedRowRef.current = undefined;\n focus();\n } else {\n setCurrent(\n {\n cell: [col, row],\n range: { x: col, y: row, width: 1, height: 1 },\n },\n true,\n isMultiKey,\n \"click\"\n );\n lastSelectedRowRef.current = undefined;\n setOverlay(undefined);\n focus();\n }\n }\n }\n } else if (args.kind === \"header\") {\n lastMouseSelectLocation.current = [col, row];\n setOverlay(undefined);\n if (hasRowMarkers && col === 0) {\n lastSelectedRowRef.current = undefined;\n lastSelectedColRef.current = undefined;\n if (rowSelect === \"multi\") {\n if (selectedRows.length !== rows) {\n setSelectedRows(CompactSelection.fromSingleSelection([0, rows]), undefined, isMultiKey);\n } else {\n setSelectedRows(CompactSelection.empty(), undefined, isMultiKey);\n }\n focus();\n }\n } else {\n const lastCol = lastSelectedColRef.current;\n if (\n columnSelect === \"multi\" &&\n (args.shiftKey || args.isLongTouch === true) &&\n lastCol !== undefined &&\n selectedColumns.hasIndex(lastCol)\n ) {\n const newSlice: Slice = [Math.min(lastCol, col), Math.max(lastCol, col) + 1];\n\n if (isMultiCol) {\n setSelectedColumns(undefined, newSlice, isMultiKey);\n } else {\n setSelectedColumns(CompactSelection.fromSingleSelection(newSlice), undefined, isMultiKey);\n }\n } else if (isMultiCol) {\n if (selectedColumns.hasIndex(col)) {\n setSelectedColumns(selectedColumns.remove(col), undefined, isMultiKey);\n } else {\n setSelectedColumns(undefined, col, isMultiKey);\n }\n lastSelectedColRef.current = col;\n } else if (columnSelect !== \"none\") {\n setSelectedColumns(CompactSelection.fromSingleSelection(col), undefined, isMultiKey);\n lastSelectedColRef.current = col;\n }\n lastSelectedRowRef.current = undefined;\n focus();\n }\n } else if (args.kind === groupHeaderKind) {\n lastMouseSelectLocation.current = [col, row];\n } else if (args.kind === outOfBoundsKind && !args.isMaybeScrollbar) {\n setGridSelection(emptyGridSelection, false);\n setOverlay(undefined);\n focus();\n onSelectionCleared?.();\n lastSelectedRowRef.current = undefined;\n lastSelectedColRef.current = undefined;\n }\n },\n [\n appendRow,\n columnSelect,\n focus,\n getCellRenderer,\n getCustomNewRowTargetColumn,\n getMangledCellContent,\n gridSelection,\n hasRowMarkers,\n lastRowSticky,\n onSelectionCleared,\n onRowMoved,\n rowMarkerOffset,\n rowMarkers,\n rowSelect,\n rowSelectionMode,\n rows,\n setCurrent,\n setGridSelection,\n setSelectedColumns,\n setSelectedRows,\n showTrailingBlankRow,\n themeForCell,\n ]\n );\n const isActivelyDraggingHeader = React.useRef(false);\n const lastMouseSelectLocation = React.useRef();\n const touchDownArgs = React.useRef(visibleRegion);\n const mouseDownData = React.useRef<{\n time: number;\n button: number;\n location: Item;\n }>();\n const onMouseDown = React.useCallback(\n (args: GridMouseEventArgs) => {\n isPrevented.current = false;\n touchDownArgs.current = visibleRegionRef.current;\n if (args.button !== 0 && args.button !== 1) {\n mouseDownData.current = undefined;\n return;\n }\n\n const time = performance.now();\n mouseDownData.current = {\n button: args.button,\n time,\n location: args.location,\n };\n\n if (args?.kind === \"header\") {\n isActivelyDraggingHeader.current = true;\n }\n\n const fh = args.kind === \"cell\" && args.isFillHandle;\n\n if (!fh && args.kind !== \"cell\" && args.isEdge) return;\n\n setMouseState({\n previousSelection: gridSelection,\n fillHandle: fh,\n });\n lastMouseSelectLocation.current = undefined;\n\n if (!args.isTouch && args.button === 0 && !fh) {\n handleSelect(args);\n } else if (!args.isTouch && args.button === 1) {\n lastMouseSelectLocation.current = args.location;\n }\n },\n [gridSelection, handleSelect]\n );\n\n const [renameGroup, setRenameGroup] = React.useState<{\n group: string;\n bounds: Rectangle;\n }>();\n\n const handleGroupHeaderSelection = React.useCallback(\n (args: GridMouseEventArgs) => {\n if (args.kind !== groupHeaderKind || columnSelect !== \"multi\") {\n return;\n }\n const isMultiKey = browserIsOSX.value ? args.metaKey : args.ctrlKey;\n const [col] = args.location;\n const selectedColumns = gridSelection.columns;\n\n if (col < rowMarkerOffset) return;\n\n const needle = mangledCols[col];\n let start = col;\n let end = col;\n for (let i = col - 1; i >= rowMarkerOffset; i--) {\n if (!isGroupEqual(needle.group, mangledCols[i].group)) break;\n start--;\n }\n\n for (let i = col + 1; i < mangledCols.length; i++) {\n if (!isGroupEqual(needle.group, mangledCols[i].group)) break;\n end++;\n }\n\n focus();\n\n if (isMultiKey) {\n if (selectedColumns.hasAll([start, end + 1])) {\n let newVal = selectedColumns;\n for (let index = start; index <= end; index++) {\n newVal = newVal.remove(index);\n }\n setSelectedColumns(newVal, undefined, isMultiKey);\n } else {\n setSelectedColumns(undefined, [start, end + 1], isMultiKey);\n }\n } else {\n setSelectedColumns(CompactSelection.fromSingleSelection([start, end + 1]), undefined, isMultiKey);\n }\n },\n [columnSelect, focus, gridSelection.columns, mangledCols, rowMarkerOffset, setSelectedColumns]\n );\n\n const isPrevented = React.useRef(false);\n\n const normalSizeColumn = React.useCallback(\n async (col: number): Promise => {\n if (getCellsForSelection !== undefined && onColumnResize !== undefined) {\n const start = visibleRegionRef.current.y;\n const end = visibleRegionRef.current.height;\n let cells = getCellsForSelection(\n {\n x: col,\n y: start,\n width: 1,\n height: Math.min(end, rows - start),\n },\n abortControllerRef.current.signal\n );\n if (typeof cells !== \"object\") {\n cells = await cells();\n }\n const inputCol = columns[col - rowMarkerOffset];\n const offscreen = document.createElement(\"canvas\");\n const ctx = offscreen.getContext(\"2d\", { alpha: false });\n if (ctx !== null) {\n ctx.font = mergedTheme.baseFontFull;\n const newCol = measureColumn(\n ctx,\n mergedTheme,\n inputCol,\n 0,\n cells,\n minColumnWidth,\n maxColumnWidth,\n false,\n getCellRenderer\n );\n onColumnResize?.(inputCol, newCol.width, col, newCol.width);\n }\n }\n },\n [\n columns,\n getCellsForSelection,\n maxColumnWidth,\n mergedTheme,\n minColumnWidth,\n onColumnResize,\n rowMarkerOffset,\n rows,\n getCellRenderer,\n ]\n );\n\n const [scrollDir, setScrollDir] = React.useState();\n\n const fillPattern = React.useCallback(\n async (previousSelection: GridSelection, currentSelection: GridSelection) => {\n const patternRange = previousSelection.current?.range;\n\n if (\n patternRange === undefined ||\n getCellsForSelection === undefined ||\n currentSelection.current === undefined\n ) {\n return;\n }\n const currentRange = currentSelection.current.range;\n\n if (onFillPattern !== undefined) {\n let canceled = false;\n onFillPattern({\n fillDestination: { ...currentRange, x: currentRange.x - rowMarkerOffset },\n patternSource: { ...patternRange, x: patternRange.x - rowMarkerOffset },\n preventDefault: () => (canceled = true),\n });\n if (canceled) return;\n }\n\n let cells = getCellsForSelection(patternRange, abortControllerRef.current.signal);\n if (typeof cells !== \"object\") cells = await cells();\n\n const pattern = cells;\n\n // loop through all cells in currentSelection.current.range\n const editItemList: EditListItem[] = [];\n for (let x = 0; x < currentRange.width; x++) {\n for (let y = 0; y < currentRange.height; y++) {\n const cell: Item = [currentRange.x + x, currentRange.y + y];\n if (itemIsInRect(cell, patternRange)) continue;\n const patternCell = pattern[y % patternRange.height][x % patternRange.width];\n if (isInnerOnlyCell(patternCell) || !isReadWriteCell(patternCell)) continue;\n editItemList.push({\n location: cell,\n value: { ...patternCell },\n });\n }\n }\n mangledOnCellsEdited(editItemList);\n\n gridRef.current?.damage(\n editItemList.map(c => ({\n cell: c.location,\n }))\n );\n },\n [getCellsForSelection, mangledOnCellsEdited, onFillPattern, rowMarkerOffset]\n );\n\n const fillRight = React.useCallback(() => {\n if (gridSelection.current === undefined || gridSelection.current.range.width <= 1) return;\n\n const firstColSelection = {\n ...gridSelection,\n current: {\n ...gridSelection.current,\n range: {\n ...gridSelection.current.range,\n width: 1,\n },\n },\n };\n\n void fillPattern(firstColSelection, gridSelection);\n }, [fillPattern, gridSelection]);\n\n const fillDown = React.useCallback(() => {\n if (gridSelection.current === undefined || gridSelection.current.range.height <= 1) return;\n\n const firstRowSelection = {\n ...gridSelection,\n current: {\n ...gridSelection.current,\n range: {\n ...gridSelection.current.range,\n height: 1,\n },\n },\n };\n\n void fillPattern(firstRowSelection, gridSelection);\n }, [fillPattern, gridSelection]);\n\n const onMouseUp = React.useCallback(\n (args: GridMouseEventArgs, isOutside: boolean) => {\n const mouse = mouseState;\n setMouseState(undefined);\n setFillHighlightRegion(undefined);\n setScrollDir(undefined);\n isActivelyDraggingHeader.current = false;\n\n if (isOutside) return;\n\n if (\n mouse?.fillHandle === true &&\n gridSelection.current !== undefined &&\n mouse.previousSelection?.current !== undefined\n ) {\n if (fillHighlightRegion === undefined) return;\n const newRange = {\n ...gridSelection,\n current: {\n ...gridSelection.current,\n range: combineRects(mouse.previousSelection.current.range, fillHighlightRegion),\n },\n };\n void fillPattern(mouse.previousSelection, newRange);\n setGridSelection(newRange, true);\n return;\n }\n\n const [col, row] = args.location;\n const [lastMouseDownCol, lastMouseDownRow] = lastMouseSelectLocation.current ?? [];\n\n const preventDefault = () => {\n isPrevented.current = true;\n };\n\n const handleMaybeClick = (a: GridMouseCellEventArgs): boolean => {\n const isValidClick = a.isTouch || (lastMouseDownCol === col && lastMouseDownRow === row);\n if (isValidClick) {\n onCellClicked?.([col - rowMarkerOffset, row], {\n ...a,\n preventDefault,\n });\n }\n if (a.button === 1) return !isPrevented.current;\n if (!isPrevented.current) {\n const c = getMangledCellContent(args.location);\n const r = getCellRenderer(c);\n if (r !== undefined && r.onClick !== undefined && isValidClick) {\n const newVal = r.onClick({\n ...a,\n cell: c,\n posX: a.localEventX,\n posY: a.localEventY,\n bounds: a.bounds,\n theme: themeForCell(c, args.location),\n preventDefault,\n });\n if (newVal !== undefined && !isInnerOnlyCell(newVal) && isEditableGridCell(newVal)) {\n mangledOnCellsEdited([{ location: a.location, value: newVal }]);\n gridRef.current?.damage([\n {\n cell: a.location,\n },\n ]);\n }\n }\n if (isPrevented.current || gridSelection.current === undefined) return false;\n\n let shouldActivate = false;\n switch (c.activationBehaviorOverride ?? cellActivationBehavior) {\n case \"double-click\":\n case \"second-click\": {\n if (mouse?.previousSelection?.current?.cell === undefined) break;\n const [selectedCol, selectedRow] = gridSelection.current.cell;\n const [prevCol, prevRow] = mouse.previousSelection.current.cell;\n const isClickOnSelected =\n col === selectedCol && col === prevCol && row === selectedRow && row === prevRow;\n shouldActivate =\n isClickOnSelected &&\n (a.isDoubleClick === true || cellActivationBehavior === \"second-click\");\n break;\n }\n case \"single-click\": {\n shouldActivate = true;\n break;\n }\n }\n if (shouldActivate) {\n onCellActivated?.([col - rowMarkerOffset, row]);\n reselect(a.bounds, false);\n return true;\n }\n }\n return false;\n };\n\n const clickLocation = args.location[0] - rowMarkerOffset;\n if (args.isTouch) {\n const vr = visibleRegionRef.current;\n const touchVr = touchDownArgs.current;\n if (vr.x !== touchVr.x || vr.y !== touchVr.y) {\n // we scrolled, abort\n return;\n }\n // take care of context menus first if long pressed item is already selected\n if (args.isLongTouch === true) {\n if (args.kind === \"cell\" && itemsAreEqual(gridSelection.current?.cell, args.location)) {\n onCellContextMenu?.([clickLocation, args.location[1]], {\n ...args,\n preventDefault,\n });\n return;\n } else if (args.kind === \"header\" && gridSelection.columns.hasIndex(col)) {\n onHeaderContextMenu?.(clickLocation, { ...args, preventDefault });\n return;\n } else if (args.kind === groupHeaderKind) {\n if (clickLocation < 0) {\n return;\n }\n\n onGroupHeaderContextMenu?.(clickLocation, { ...args, preventDefault });\n return;\n }\n }\n if (args.kind === \"cell\") {\n // click that cell\n if (!handleMaybeClick(args)) {\n handleSelect(args);\n }\n } else if (args.kind === groupHeaderKind) {\n onGroupHeaderClicked?.(clickLocation, { ...args, preventDefault });\n } else {\n if (args.kind === headerKind) {\n onHeaderClicked?.(clickLocation, {\n ...args,\n preventDefault,\n });\n }\n handleSelect(args);\n }\n return;\n }\n\n if (args.kind === \"header\") {\n if (clickLocation < 0) {\n return;\n }\n\n if (args.isEdge) {\n if (args.isDoubleClick === true) {\n void normalSizeColumn(col);\n }\n } else if (args.button === 0 && col === lastMouseDownCol && row === lastMouseDownRow) {\n onHeaderClicked?.(clickLocation, { ...args, preventDefault });\n }\n }\n\n if (args.kind === groupHeaderKind) {\n if (clickLocation < 0) {\n return;\n }\n\n if (args.button === 0 && col === lastMouseDownCol && row === lastMouseDownRow) {\n onGroupHeaderClicked?.(clickLocation, { ...args, preventDefault });\n if (!isPrevented.current) {\n handleGroupHeaderSelection(args);\n }\n }\n }\n\n if (args.kind === \"cell\" && (args.button === 0 || args.button === 1)) {\n handleMaybeClick(args);\n }\n\n lastMouseSelectLocation.current = undefined;\n },\n [\n mouseState,\n gridSelection,\n rowMarkerOffset,\n fillHighlightRegion,\n fillPattern,\n setGridSelection,\n onCellClicked,\n getMangledCellContent,\n getCellRenderer,\n cellActivationBehavior,\n themeForCell,\n mangledOnCellsEdited,\n onCellActivated,\n reselect,\n onCellContextMenu,\n onHeaderContextMenu,\n onGroupHeaderContextMenu,\n handleSelect,\n onGroupHeaderClicked,\n onHeaderClicked,\n normalSizeColumn,\n handleGroupHeaderSelection,\n ]\n );\n\n const onMouseMoveImpl = React.useCallback(\n (args: GridMouseEventArgs) => {\n const a: GridMouseEventArgs = {\n ...args, // FIXME: Mutate\n location: [args.location[0] - rowMarkerOffset, args.location[1]] as any,\n };\n onMouseMove?.(a);\n\n if (mouseState !== undefined && args.buttons === 0) {\n setMouseState(undefined);\n setFillHighlightRegion(undefined);\n setScrollDir(undefined);\n isActivelyDraggingHeader.current = false;\n }\n\n setScrollDir(cv => {\n if (isActivelyDraggingHeader.current) return [args.scrollEdge[0], 0];\n if (args.scrollEdge[0] === cv?.[0] && args.scrollEdge[1] === cv[1]) return cv;\n return mouseState === undefined || (mouseDownData.current?.location[0] ?? 0) < rowMarkerOffset\n ? undefined\n : args.scrollEdge;\n });\n },\n [mouseState, onMouseMove, rowMarkerOffset]\n );\n\n const onHeaderMenuClickInner = React.useCallback(\n (col: number, screenPosition: Rectangle) => {\n onHeaderMenuClick?.(col - rowMarkerOffset, screenPosition);\n },\n [onHeaderMenuClick, rowMarkerOffset]\n );\n\n const currentCell = gridSelection?.current?.cell;\n const onVisibleRegionChangedImpl = React.useCallback(\n (\n region: Rectangle,\n clientWidth: number,\n clientHeight: number,\n rightElWidth: number,\n tx: number,\n ty: number\n ) => {\n hasJustScrolled.current = false;\n let selected = currentCell;\n if (selected !== undefined) {\n selected = [selected[0] - rowMarkerOffset, selected[1]];\n }\n\n const freezeRegion =\n freezeColumns === 0\n ? undefined\n : {\n x: 0,\n y: region.y,\n width: freezeColumns,\n height: region.height,\n };\n\n const freezeRegions: Rectangle[] = [];\n if (freezeRegion !== undefined) freezeRegions.push(freezeRegion);\n if (freezeTrailingRows > 0) {\n freezeRegions.push({\n x: region.x - rowMarkerOffset,\n y: rows - freezeTrailingRows,\n width: region.width,\n height: freezeTrailingRows,\n });\n\n if (freezeColumns > 0) {\n freezeRegions.push({\n x: 0,\n y: rows - freezeTrailingRows,\n width: freezeColumns,\n height: freezeTrailingRows,\n });\n }\n }\n\n const newRegion = {\n x: region.x - rowMarkerOffset,\n y: region.y,\n width: region.width,\n height: showTrailingBlankRow && region.y + region.height >= rows ? region.height - 1 : region.height,\n tx,\n ty,\n extras: {\n selected,\n freezeRegion,\n freezeRegions,\n },\n };\n visibleRegionRef.current = newRegion;\n setVisibleRegion(newRegion);\n setClientSize([clientWidth, clientHeight, rightElWidth]);\n onVisibleRegionChanged?.(newRegion, newRegion.tx, newRegion.ty, newRegion.extras);\n },\n [\n currentCell,\n rowMarkerOffset,\n showTrailingBlankRow,\n rows,\n freezeColumns,\n freezeTrailingRows,\n setVisibleRegion,\n onVisibleRegionChanged,\n ]\n );\n\n const onColumnMovedImpl = whenDefined(\n onColumnMoved,\n React.useCallback(\n (startIndex: number, endIndex: number) => {\n onColumnMoved?.(startIndex - rowMarkerOffset, endIndex - rowMarkerOffset);\n if (columnSelect !== \"none\") {\n setSelectedColumns(CompactSelection.fromSingleSelection(endIndex), undefined, true);\n }\n },\n [columnSelect, onColumnMoved, rowMarkerOffset, setSelectedColumns]\n )\n );\n\n const isActivelyDragging = React.useRef(false);\n const onDragStartImpl = React.useCallback(\n (args: GridDragEventArgs) => {\n if (args.location[0] === 0 && rowMarkerOffset > 0) {\n args.preventDefault();\n return;\n }\n onDragStart?.({\n ...args,\n location: [args.location[0] - rowMarkerOffset, args.location[1]] as any,\n });\n\n if (!args.defaultPrevented()) {\n isActivelyDragging.current = true;\n }\n setMouseState(undefined);\n },\n [onDragStart, rowMarkerOffset]\n );\n\n const onDragEnd = React.useCallback(() => {\n isActivelyDragging.current = false;\n }, []);\n\n const hoveredRef = React.useRef();\n const onItemHoveredImpl = React.useCallback(\n (args: GridMouseEventArgs) => {\n // make sure we still have a button down\n if (mouseEventArgsAreEqual(args, hoveredRef.current)) return;\n hoveredRef.current = args;\n if (mouseDownData?.current?.button !== undefined && mouseDownData.current.button >= 1) return;\n if (\n args.buttons !== 0 &&\n mouseState !== undefined &&\n mouseDownData.current?.location[0] === 0 &&\n args.location[0] === 0 &&\n rowMarkerOffset === 1 &&\n rowSelect === \"multi\" &&\n mouseState.previousSelection &&\n !mouseState.previousSelection.rows.hasIndex(mouseDownData.current.location[1]) &&\n gridSelection.rows.hasIndex(mouseDownData.current.location[1])\n ) {\n const start = Math.min(mouseDownData.current.location[1], args.location[1]);\n const end = Math.max(mouseDownData.current.location[1], args.location[1]) + 1;\n setSelectedRows(CompactSelection.fromSingleSelection([start, end]), undefined, false);\n }\n if (\n args.buttons !== 0 &&\n mouseState !== undefined &&\n gridSelection.current !== undefined &&\n !isActivelyDragging.current &&\n !isActivelyDraggingHeader.current &&\n (rangeSelect === \"rect\" || rangeSelect === \"multi-rect\")\n ) {\n const [selectedCol, selectedRow] = gridSelection.current.cell;\n // eslint-disable-next-line prefer-const\n let [col, row] = args.location;\n\n if (row < 0) {\n row = visibleRegionRef.current.y;\n }\n\n if (mouseState.fillHandle === true && mouseState.previousSelection?.current !== undefined) {\n const prevRange = mouseState.previousSelection.current.range;\n row = Math.min(row, showTrailingBlankRow ? rows - 1 : rows);\n const rect = getClosestRect(prevRange, col, row, allowedFillDirections);\n setFillHighlightRegion(rect);\n } else {\n const startedFromLastStickyRow = showTrailingBlankRow && selectedRow === rows;\n if (startedFromLastStickyRow) return;\n\n const landedOnLastStickyRow = showTrailingBlankRow && row === rows;\n if (landedOnLastStickyRow) {\n if (args.kind === outOfBoundsKind) row--;\n else return;\n }\n\n col = Math.max(col, rowMarkerOffset);\n\n const deltaX = col - selectedCol;\n const deltaY = row - selectedRow;\n\n const newRange: Rectangle = {\n x: deltaX >= 0 ? selectedCol : col,\n y: deltaY >= 0 ? selectedRow : row,\n width: Math.abs(deltaX) + 1,\n height: Math.abs(deltaY) + 1,\n };\n\n setCurrent(\n {\n ...gridSelection.current,\n range: newRange,\n },\n true,\n false,\n \"drag\"\n );\n }\n }\n\n onItemHovered?.({ ...args, location: [args.location[0] - rowMarkerOffset, args.location[1]] as any });\n },\n [\n allowedFillDirections,\n mouseState,\n rowMarkerOffset,\n rowSelect,\n gridSelection,\n rangeSelect,\n onItemHovered,\n setSelectedRows,\n showTrailingBlankRow,\n rows,\n setCurrent,\n ]\n );\n\n const adjustSelectionOnScroll = React.useCallback(() => {\n const args = hoveredRef.current;\n if (args === undefined) return;\n const [xDir, yDir] = args.scrollEdge;\n let [col, row] = args.location;\n const visible = visibleRegionRef.current;\n if (xDir === -1) {\n col = visible.extras?.freezeRegion?.x ?? visible.x;\n } else if (xDir === 1) {\n col = visible.x + visible.width;\n }\n if (yDir === -1) {\n row = Math.max(0, visible.y);\n } else if (yDir === 1) {\n row = Math.min(rows - 1, visible.y + visible.height);\n }\n col = clamp(col, 0, mangledCols.length - 1);\n row = clamp(row, 0, rows - 1);\n onItemHoveredImpl({\n ...args,\n location: [col, row] as any,\n });\n }, [mangledCols.length, onItemHoveredImpl, rows]);\n\n useAutoscroll(scrollDir, scrollRef, adjustSelectionOnScroll);\n\n // 1 === move one\n // 2 === move to end\n const adjustSelection = React.useCallback(\n (direction: [0 | 1 | -1 | 2 | -2, 0 | 1 | -1 | 2 | -2]) => {\n if (gridSelection.current === undefined) return;\n\n const [x, y] = direction;\n const [col, row] = gridSelection.current.cell;\n const old = gridSelection.current.range;\n let left = old.x;\n let right = old.x + old.width;\n let top = old.y;\n let bottom = old.y + old.height;\n\n // take care of vertical first in case new spans come in\n if (y !== 0) {\n switch (y) {\n case 2: {\n // go to end\n bottom = rows;\n top = row;\n scrollTo(0, bottom, \"vertical\");\n\n break;\n }\n case -2: {\n // go to start\n top = 0;\n bottom = row + 1;\n scrollTo(0, top, \"vertical\");\n\n break;\n }\n case 1: {\n // motion down\n if (top < row) {\n top++;\n scrollTo(0, top, \"vertical\");\n } else {\n bottom = Math.min(rows, bottom + 1);\n scrollTo(0, bottom, \"vertical\");\n }\n\n break;\n }\n case -1: {\n // motion up\n if (bottom > row + 1) {\n bottom--;\n scrollTo(0, bottom, \"vertical\");\n } else {\n top = Math.max(0, top - 1);\n scrollTo(0, top, \"vertical\");\n }\n\n break;\n }\n default: {\n assertNever(y);\n }\n }\n }\n\n if (x !== 0) {\n if (x === 2) {\n right = mangledCols.length;\n left = col;\n scrollTo(right - 1 - rowMarkerOffset, 0, \"horizontal\");\n } else if (x === -2) {\n left = rowMarkerOffset;\n right = col + 1;\n scrollTo(left - rowMarkerOffset, 0, \"horizontal\");\n } else {\n let disallowed: number[] = [];\n if (getCellsForSelection !== undefined) {\n const cells = getCellsForSelection(\n {\n x: left,\n y: top,\n width: right - left - rowMarkerOffset,\n height: bottom - top,\n },\n abortControllerRef.current.signal\n );\n\n if (typeof cells === \"object\") {\n disallowed = getSpanStops(cells);\n }\n }\n if (x === 1) {\n // motion right\n let done = false;\n if (left < col) {\n if (disallowed.length > 0) {\n const target = range(left + 1, col + 1).find(\n n => !disallowed.includes(n - rowMarkerOffset)\n );\n if (target !== undefined) {\n left = target;\n done = true;\n }\n } else {\n left++;\n done = true;\n }\n if (done) scrollTo(left, 0, \"horizontal\");\n }\n if (!done) {\n right = Math.min(mangledCols.length, right + 1);\n scrollTo(right - 1 - rowMarkerOffset, 0, \"horizontal\");\n }\n } else if (x === -1) {\n // motion left\n let done = false;\n if (right > col + 1) {\n if (disallowed.length > 0) {\n const target = range(right - 1, col, -1).find(\n n => !disallowed.includes(n - rowMarkerOffset)\n );\n if (target !== undefined) {\n right = target;\n done = true;\n }\n } else {\n right--;\n done = true;\n }\n if (done) scrollTo(right - rowMarkerOffset, 0, \"horizontal\");\n }\n if (!done) {\n left = Math.max(rowMarkerOffset, left - 1);\n scrollTo(left - rowMarkerOffset, 0, \"horizontal\");\n }\n } else {\n assertNever(x);\n }\n }\n }\n\n setCurrent(\n {\n cell: gridSelection.current.cell,\n range: {\n x: left,\n y: top,\n width: right - left,\n height: bottom - top,\n },\n },\n true,\n false,\n \"keyboard-select\"\n );\n },\n [getCellsForSelection, gridSelection, mangledCols.length, rowMarkerOffset, rows, scrollTo, setCurrent]\n );\n\n const updateSelectedCell = React.useCallback(\n (col: number, row: number, fromEditingTrailingRow: boolean, freeMove: boolean): boolean => {\n const rowMax = mangledRows - (fromEditingTrailingRow ? 0 : 1);\n col = clamp(col, rowMarkerOffset, columns.length - 1 + rowMarkerOffset);\n row = clamp(row, 0, rowMax);\n\n if (col === currentCell?.[0] && row === currentCell?.[1]) return false;\n if (freeMove && gridSelection.current !== undefined) {\n const newStack = [...gridSelection.current.rangeStack];\n if (gridSelection.current.range.width > 1 || gridSelection.current.range.height > 1) {\n newStack.push(gridSelection.current.range);\n }\n setGridSelection(\n {\n ...gridSelection,\n current: {\n cell: [col, row],\n range: { x: col, y: row, width: 1, height: 1 },\n rangeStack: newStack,\n },\n },\n true\n );\n } else {\n setCurrent(\n {\n cell: [col, row],\n range: { x: col, y: row, width: 1, height: 1 },\n },\n true,\n false,\n \"keyboard-nav\"\n );\n }\n\n if (lastSent.current !== undefined && lastSent.current[0] === col && lastSent.current[1] === row) {\n lastSent.current = undefined;\n }\n\n scrollTo(col - rowMarkerOffset, row);\n\n return true;\n },\n [\n mangledRows,\n rowMarkerOffset,\n columns.length,\n currentCell,\n gridSelection,\n scrollTo,\n setGridSelection,\n setCurrent,\n ]\n );\n\n const onFinishEditing = React.useCallback(\n (newValue: GridCell | undefined, movement: readonly [-1 | 0 | 1, -1 | 0 | 1]) => {\n if (overlay?.cell !== undefined && newValue !== undefined && isEditableGridCell(newValue)) {\n mangledOnCellsEdited([{ location: overlay.cell, value: newValue }]);\n window.requestAnimationFrame(() => {\n gridRef.current?.damage([\n {\n cell: overlay.cell,\n },\n ]);\n });\n }\n focus(true);\n setOverlay(undefined);\n\n const [movX, movY] = movement;\n if (gridSelection.current !== undefined && (movX !== 0 || movY !== 0)) {\n const isEditingTrailingRow =\n gridSelection.current.cell[1] === mangledRows - 1 && newValue !== undefined;\n updateSelectedCell(\n clamp(gridSelection.current.cell[0] + movX, 0, mangledCols.length - 1),\n clamp(gridSelection.current.cell[1] + movY, 0, mangledRows - 1),\n isEditingTrailingRow,\n false\n );\n }\n onFinishedEditing?.(newValue, movement);\n },\n [\n overlay?.cell,\n focus,\n gridSelection,\n onFinishedEditing,\n mangledOnCellsEdited,\n mangledRows,\n updateSelectedCell,\n mangledCols.length,\n ]\n );\n\n const overlayID = React.useMemo(() => {\n return `gdg-overlay-${idCounter++}`;\n }, []);\n\n const deleteRange = React.useCallback(\n (r: Rectangle) => {\n focus();\n const editList: EditListItem[] = [];\n for (let x = r.x; x < r.x + r.width; x++) {\n for (let y = r.y; y < r.y + r.height; y++) {\n const cellValue = getCellContent([x - rowMarkerOffset, y]);\n if (!cellValue.allowOverlay && cellValue.kind !== GridCellKind.Boolean) continue;\n let newVal: InnerGridCell | undefined = undefined;\n if (cellValue.kind === GridCellKind.Custom) {\n const toDelete = getCellRenderer(cellValue);\n const editor = toDelete?.provideEditor?.(cellValue);\n if (toDelete?.onDelete !== undefined) {\n newVal = toDelete.onDelete(cellValue);\n } else if (isObjectEditorCallbackResult(editor)) {\n newVal = editor?.deletedValue?.(cellValue);\n }\n } else if (\n (isEditableGridCell(cellValue) && cellValue.allowOverlay) ||\n cellValue.kind === GridCellKind.Boolean\n ) {\n const toDelete = getCellRenderer(cellValue);\n newVal = toDelete?.onDelete?.(cellValue);\n }\n if (newVal !== undefined && !isInnerOnlyCell(newVal) && isEditableGridCell(newVal)) {\n editList.push({ location: [x, y], value: newVal });\n }\n }\n }\n mangledOnCellsEdited(editList);\n gridRef.current?.damage(editList.map(x => ({ cell: x.location })));\n },\n [focus, getCellContent, getCellRenderer, mangledOnCellsEdited, rowMarkerOffset]\n );\n\n const overlayOpen = overlay !== undefined;\n\n const handleFixedKeybindings = React.useCallback(\n (event: GridKeyEventArgs): boolean => {\n const cancel = () => {\n event.stopPropagation();\n event.preventDefault();\n };\n\n const details = {\n didMatch: false,\n };\n\n const { bounds } = event;\n const selectedColumns = gridSelection.columns;\n const selectedRows = gridSelection.rows;\n\n const keys = keybindings;\n\n if (!overlayOpen && isHotkey(keys.clear, event, details)) {\n setGridSelection(emptyGridSelection, false);\n onSelectionCleared?.();\n } else if (!overlayOpen && isHotkey(keys.selectAll, event, details)) {\n setGridSelection(\n {\n columns: CompactSelection.empty(),\n rows: CompactSelection.empty(),\n current: {\n cell: gridSelection.current?.cell ?? [rowMarkerOffset, 0],\n range: {\n x: rowMarkerOffset,\n y: 0,\n width: columnsIn.length,\n height: rows,\n },\n rangeStack: [],\n },\n },\n false\n );\n } else if (isHotkey(keys.search, event, details)) {\n searchInputRef?.current?.focus({ preventScroll: true });\n setShowSearchInner(true);\n } else if (isHotkey(keys.delete, event, details)) {\n const callbackResult = onDelete?.(gridSelection) ?? true;\n if (callbackResult !== false) {\n const toDelete = callbackResult === true ? gridSelection : callbackResult;\n\n // delete order:\n // 1) primary range\n // 2) secondary ranges\n // 3) columns\n // 4) rows\n\n if (toDelete.current !== undefined) {\n deleteRange(toDelete.current.range);\n for (const r of toDelete.current.rangeStack) {\n deleteRange(r);\n }\n }\n\n for (const r of toDelete.rows) {\n deleteRange({\n x: rowMarkerOffset,\n y: r,\n width: columnsIn.length,\n height: 1,\n });\n }\n\n for (const col of toDelete.columns) {\n deleteRange({\n x: col,\n y: 0,\n width: 1,\n height: rows,\n });\n }\n }\n }\n\n if (details.didMatch) {\n cancel();\n return true;\n }\n\n if (gridSelection.current === undefined) return false;\n let [col, row] = gridSelection.current.cell;\n let freeMove = false;\n let cancelOnlyOnMove = false;\n\n if (isHotkey(keys.scrollToSelectedCell, event, details)) {\n scrollToRef.current(col - rowMarkerOffset, row);\n } else if (columnSelect !== \"none\" && isHotkey(keys.selectColumn, event, details)) {\n if (selectedColumns.hasIndex(col)) {\n setSelectedColumns(selectedColumns.remove(col), undefined, true);\n } else {\n if (columnSelect === \"single\") {\n setSelectedColumns(CompactSelection.fromSingleSelection(col), undefined, true);\n } else {\n setSelectedColumns(undefined, col, true);\n }\n }\n } else if (rowSelect !== \"none\" && isHotkey(keys.selectRow, event, details)) {\n if (selectedRows.hasIndex(row)) {\n setSelectedRows(selectedRows.remove(row), undefined, true);\n } else {\n if (rowSelect === \"single\") {\n setSelectedRows(CompactSelection.fromSingleSelection(row), undefined, true);\n } else {\n setSelectedRows(undefined, row, true);\n }\n }\n } else if (!overlayOpen && bounds !== undefined && isHotkey(keys.activateCell, event, details)) {\n if (row === rows && showTrailingBlankRow) {\n window.setTimeout(() => {\n const customTargetColumn = getCustomNewRowTargetColumn(col);\n void appendRow(customTargetColumn ?? col);\n }, 0);\n } else {\n onCellActivated?.([col - rowMarkerOffset, row]);\n reselect(bounds, true);\n }\n } else if (gridSelection.current.range.height > 1 && isHotkey(keys.downFill, event, details)) {\n fillDown();\n } else if (gridSelection.current.range.width > 1 && isHotkey(keys.rightFill, event, details)) {\n fillRight();\n } else if (isHotkey(keys.goToNextPage, event, details)) {\n row += Math.max(1, visibleRegionRef.current.height - 4); // partial cell accounting\n } else if (isHotkey(keys.goToPreviousPage, event, details)) {\n row -= Math.max(1, visibleRegionRef.current.height - 4); // partial cell accounting\n } else if (isHotkey(keys.goToFirstCell, event, details)) {\n setOverlay(undefined);\n row = 0;\n col = 0;\n } else if (isHotkey(keys.goToLastCell, event, details)) {\n setOverlay(undefined);\n row = Number.MAX_SAFE_INTEGER;\n col = Number.MAX_SAFE_INTEGER;\n } else if (isHotkey(keys.selectToFirstCell, event, details)) {\n setOverlay(undefined);\n adjustSelection([-2, -2]);\n } else if (isHotkey(keys.selectToLastCell, event, details)) {\n setOverlay(undefined);\n adjustSelection([2, 2]);\n } else if (!overlayOpen) {\n if (isHotkey(keys.goDownCell, event, details)) {\n row += 1;\n } else if (isHotkey(keys.goUpCell, event, details)) {\n row -= 1;\n } else if (isHotkey(keys.goRightCell, event, details)) {\n col += 1;\n } else if (isHotkey(keys.goLeftCell, event, details)) {\n col -= 1;\n } else if (isHotkey(keys.goDownCellRetainSelection, event, details)) {\n row += 1;\n freeMove = true;\n } else if (isHotkey(keys.goUpCellRetainSelection, event, details)) {\n row -= 1;\n freeMove = true;\n } else if (isHotkey(keys.goRightCellRetainSelection, event, details)) {\n col += 1;\n freeMove = true;\n } else if (isHotkey(keys.goLeftCellRetainSelection, event, details)) {\n col -= 1;\n freeMove = true;\n } else if (isHotkey(keys.goToLastRow, event, details)) {\n row = rows - 1;\n } else if (isHotkey(keys.goToFirstRow, event, details)) {\n row = Number.MIN_SAFE_INTEGER;\n } else if (isHotkey(keys.goToLastColumn, event, details)) {\n col = Number.MAX_SAFE_INTEGER;\n } else if (isHotkey(keys.goToFirstColumn, event, details)) {\n col = Number.MIN_SAFE_INTEGER;\n } else if (rangeSelect === \"rect\" || rangeSelect === \"multi-rect\") {\n if (isHotkey(keys.selectGrowDown, event, details)) {\n adjustSelection([0, 1]);\n } else if (isHotkey(keys.selectGrowUp, event, details)) {\n adjustSelection([0, -1]);\n } else if (isHotkey(keys.selectGrowRight, event, details)) {\n adjustSelection([1, 0]);\n } else if (isHotkey(keys.selectGrowLeft, event, details)) {\n adjustSelection([-1, 0]);\n } else if (isHotkey(keys.selectToLastRow, event, details)) {\n adjustSelection([0, 2]);\n } else if (isHotkey(keys.selectToFirstRow, event, details)) {\n adjustSelection([0, -2]);\n } else if (isHotkey(keys.selectToLastColumn, event, details)) {\n adjustSelection([2, 0]);\n } else if (isHotkey(keys.selectToFirstColumn, event, details)) {\n adjustSelection([-2, 0]);\n }\n }\n cancelOnlyOnMove = details.didMatch;\n } else {\n if (isHotkey(keys.closeOverlay, event, details)) {\n setOverlay(undefined);\n }\n\n if (isHotkey(keys.acceptOverlayDown, event, details)) {\n setOverlay(undefined);\n row++;\n }\n\n if (isHotkey(keys.acceptOverlayUp, event, details)) {\n setOverlay(undefined);\n row--;\n }\n\n if (isHotkey(keys.acceptOverlayLeft, event, details)) {\n setOverlay(undefined);\n col--;\n }\n\n if (isHotkey(keys.acceptOverlayRight, event, details)) {\n setOverlay(undefined);\n col++;\n }\n }\n // #endregion\n\n const moved = updateSelectedCell(col, row, false, freeMove);\n\n const didMatch = details.didMatch;\n\n if (didMatch && (moved || !cancelOnlyOnMove || trapFocus)) {\n cancel();\n }\n\n return didMatch;\n },\n [\n overlayOpen,\n gridSelection,\n keybindings,\n columnSelect,\n rowSelect,\n rangeSelect,\n rowMarkerOffset,\n rows,\n updateSelectedCell,\n setGridSelection,\n onSelectionCleared,\n columnsIn.length,\n onDelete,\n trapFocus,\n deleteRange,\n setSelectedColumns,\n setSelectedRows,\n showTrailingBlankRow,\n getCustomNewRowTargetColumn,\n appendRow,\n onCellActivated,\n reselect,\n fillDown,\n fillRight,\n adjustSelection,\n ]\n );\n\n const onKeyDown = React.useCallback(\n (event: GridKeyEventArgs) => {\n let cancelled = false;\n if (onKeyDownIn !== undefined) {\n onKeyDownIn({\n ...event,\n cancel: () => {\n cancelled = true;\n },\n });\n }\n\n if (cancelled) return;\n\n if (handleFixedKeybindings(event)) return;\n\n if (gridSelection.current === undefined) return;\n const [col, row] = gridSelection.current.cell;\n const vr = visibleRegionRef.current;\n\n if (\n !event.metaKey &&\n !event.ctrlKey &&\n gridSelection.current !== undefined &&\n event.key.length === 1 &&\n /[ -~]/g.test(event.key) &&\n event.bounds !== undefined &&\n isReadWriteCell(getCellContent([col - rowMarkerOffset, Math.max(0, Math.min(row, rows - 1))]))\n ) {\n if (\n (!showTrailingBlankRow || row !== rows) &&\n (vr.y > row || row > vr.y + vr.height || vr.x > col || col > vr.x + vr.width)\n ) {\n return;\n }\n reselect(event.bounds, true, event.key);\n event.stopPropagation();\n event.preventDefault();\n }\n },\n [\n onKeyDownIn,\n handleFixedKeybindings,\n gridSelection,\n getCellContent,\n rowMarkerOffset,\n rows,\n showTrailingBlankRow,\n reselect,\n ]\n );\n\n const onContextMenu = React.useCallback(\n (args: GridMouseEventArgs, preventDefault: () => void) => {\n const adjustedCol = args.location[0] - rowMarkerOffset;\n if (args.kind === \"header\") {\n onHeaderContextMenu?.(adjustedCol, { ...args, preventDefault });\n }\n\n if (args.kind === groupHeaderKind) {\n if (adjustedCol < 0) {\n return;\n }\n onGroupHeaderContextMenu?.(adjustedCol, { ...args, preventDefault });\n }\n\n if (args.kind === \"cell\") {\n const [col, row] = args.location;\n onCellContextMenu?.([adjustedCol, row], {\n ...args,\n preventDefault,\n });\n\n if (!gridSelectionHasItem(gridSelection, args.location)) {\n updateSelectedCell(col, row, false, false);\n }\n }\n },\n [\n gridSelection,\n onCellContextMenu,\n onGroupHeaderContextMenu,\n onHeaderContextMenu,\n rowMarkerOffset,\n updateSelectedCell,\n ]\n );\n\n const onPasteInternal = React.useCallback(\n async (e?: ClipboardEvent) => {\n if (!keybindings.paste) return;\n function pasteToCell(\n inner: InnerGridCell,\n target: Item,\n rawValue: string | boolean | string[] | number | boolean | BooleanEmpty | BooleanIndeterminate,\n formatted?: string | string[]\n ): EditListItem | undefined {\n const stringifiedRawValue =\n typeof rawValue === \"object\" ? rawValue?.join(\"\\n\") ?? \"\" : rawValue?.toString() ?? \"\";\n\n if (!isInnerOnlyCell(inner) && isReadWriteCell(inner) && inner.readonly !== true) {\n const coerced = coercePasteValue?.(stringifiedRawValue, inner);\n if (coerced !== undefined && isEditableGridCell(coerced)) {\n if (process.env.NODE_ENV !== \"production\" && coerced.kind !== inner.kind) {\n // eslint-disable-next-line no-console\n console.warn(\"Coercion should not change cell kind.\");\n }\n return {\n location: target,\n value: coerced,\n };\n }\n const r = getCellRenderer(inner);\n if (r === undefined) return undefined;\n if (r.kind === GridCellKind.Custom) {\n assert(inner.kind === GridCellKind.Custom);\n const newVal = (r as unknown as CustomRenderer>).onPaste?.(\n stringifiedRawValue,\n inner.data\n );\n if (newVal === undefined) return undefined;\n return {\n location: target,\n value: {\n ...inner,\n data: newVal,\n },\n };\n } else {\n const newVal = r.onPaste?.(stringifiedRawValue, inner, {\n formatted,\n formattedString: typeof formatted === \"string\" ? formatted : formatted?.join(\"\\n\"),\n rawValue,\n });\n if (newVal === undefined) return undefined;\n assert(newVal.kind === inner.kind);\n return {\n location: target,\n value: newVal,\n };\n }\n }\n return undefined;\n }\n\n const selectedColumns = gridSelection.columns;\n const selectedRows = gridSelection.rows;\n const focused =\n scrollRef.current?.contains(document.activeElement) === true ||\n canvasRef.current?.contains(document.activeElement) === true;\n\n let target: Item | undefined;\n\n if (gridSelection.current !== undefined) {\n target = [gridSelection.current.range.x, gridSelection.current.range.y];\n } else if (selectedColumns.length === 1) {\n target = [selectedColumns.first() ?? 0, 0];\n } else if (selectedRows.length === 1) {\n target = [rowMarkerOffset, selectedRows.first() ?? 0];\n }\n\n if (focused && target !== undefined) {\n let data: CopyBuffer | undefined;\n let text: string | undefined;\n\n const textPlain = \"text/plain\";\n const textHtml = \"text/html\";\n\n if (navigator.clipboard.read !== undefined) {\n const clipboardContent = await navigator.clipboard.read();\n\n for (const item of clipboardContent) {\n if (item.types.includes(textHtml)) {\n const htmlBlob = await item.getType(textHtml);\n const html = await htmlBlob.text();\n const decoded = decodeHTML(html);\n if (decoded !== undefined) {\n data = decoded;\n break;\n }\n }\n if (item.types.includes(textPlain)) {\n // eslint-disable-next-line unicorn/no-await-expression-member\n text = await (await item.getType(textPlain)).text();\n }\n }\n } else if (navigator.clipboard.readText !== undefined) {\n text = await navigator.clipboard.readText();\n } else if (e !== undefined && e?.clipboardData !== null) {\n if (e.clipboardData.types.includes(textHtml)) {\n const html = e.clipboardData.getData(textHtml);\n data = decodeHTML(html);\n }\n if (data === undefined && e.clipboardData.types.includes(textPlain)) {\n text = e.clipboardData.getData(textPlain);\n }\n } else {\n return; // I didn't want to read that paste value anyway\n }\n\n const [targetCol, targetRow] = target;\n\n const editList: EditListItem[] = [];\n do {\n if (onPaste === undefined) {\n const cellData = getMangledCellContent(target);\n const rawValue = text ?? data?.map(r => r.map(cb => cb.rawValue).join(\"\\t\")).join(\"\\t\") ?? \"\";\n const newVal = pasteToCell(cellData, target, rawValue, undefined);\n if (newVal !== undefined) {\n editList.push(newVal);\n }\n break;\n }\n\n if (data === undefined) {\n if (text === undefined) return;\n data = unquote(text);\n }\n\n if (\n onPaste === false ||\n (typeof onPaste === \"function\" &&\n onPaste?.(\n [target[0] - rowMarkerOffset, target[1]],\n data.map(r => r.map(cb => cb.rawValue?.toString() ?? \"\"))\n ) !== true)\n ) {\n return;\n }\n\n for (const [row, dataRow] of data.entries()) {\n if (row + targetRow >= rows) break;\n for (const [col, dataItem] of dataRow.entries()) {\n const index = [col + targetCol, row + targetRow] as const;\n const [writeCol, writeRow] = index;\n if (writeCol >= mangledCols.length) continue;\n if (writeRow >= mangledRows) continue;\n const cellData = getMangledCellContent(index);\n const newVal = pasteToCell(cellData, index, dataItem.rawValue, dataItem.formatted);\n if (newVal !== undefined) {\n editList.push(newVal);\n }\n }\n }\n // eslint-disable-next-line no-constant-condition\n } while (false);\n\n mangledOnCellsEdited(editList);\n\n gridRef.current?.damage(\n editList.map(c => ({\n cell: c.location,\n }))\n );\n }\n },\n [\n coercePasteValue,\n getCellRenderer,\n getMangledCellContent,\n gridSelection,\n keybindings.paste,\n mangledCols.length,\n mangledOnCellsEdited,\n mangledRows,\n onPaste,\n rowMarkerOffset,\n rows,\n ]\n );\n\n useEventListener(\"paste\", onPasteInternal, safeWindow, false, true);\n\n // While this function is async, we deeply prefer not to await if we don't have to. This will lead to unpacking\n // promises in rather awkward ways when possible to avoid awaiting. We have to use fallback copy mechanisms when\n // an await has happened.\n const onCopy = React.useCallback(\n async (e?: ClipboardEvent, ignoreFocus?: boolean) => {\n if (!keybindings.copy) return;\n const focused =\n ignoreFocus === true ||\n scrollRef.current?.contains(document.activeElement) === true ||\n canvasRef.current?.contains(document.activeElement) === true;\n\n const selectedColumns = gridSelection.columns;\n const selectedRows = gridSelection.rows;\n\n const copyToClipboardWithHeaders = (\n cells: readonly (readonly GridCell[])[],\n columnIndexes: readonly number[]\n ) => {\n if (!copyHeaders) {\n copyToClipboard(cells, columnIndexes, e);\n } else {\n const headers = columnIndexes.map(index => ({\n kind: GridCellKind.Text,\n data: columnsIn[index].title,\n displayData: columnsIn[index].title,\n allowOverlay: false,\n })) as GridCell[];\n copyToClipboard([headers, ...cells], columnIndexes, e);\n }\n };\n\n if (focused && getCellsForSelection !== undefined) {\n if (gridSelection.current !== undefined) {\n let thunk = getCellsForSelection(gridSelection.current.range, abortControllerRef.current.signal);\n if (typeof thunk !== \"object\") {\n thunk = await thunk();\n }\n copyToClipboardWithHeaders(\n thunk,\n range(\n gridSelection.current.range.x - rowMarkerOffset,\n gridSelection.current.range.x + gridSelection.current.range.width - rowMarkerOffset\n )\n );\n } else if (selectedRows !== undefined && selectedRows.length > 0) {\n const toCopy = [...selectedRows];\n const cells = toCopy.map(rowIndex => {\n const thunk = getCellsForSelection(\n {\n x: rowMarkerOffset,\n y: rowIndex,\n width: columnsIn.length,\n height: 1,\n },\n abortControllerRef.current.signal\n );\n if (typeof thunk === \"object\") {\n return thunk[0];\n }\n return thunk().then(v => v[0]);\n });\n if (cells.some(x => x instanceof Promise)) {\n const settled = await Promise.all(cells);\n copyToClipboardWithHeaders(settled, range(columnsIn.length));\n } else {\n copyToClipboardWithHeaders(cells as (readonly GridCell[])[], range(columnsIn.length));\n }\n } else if (selectedColumns.length > 0) {\n const results: (readonly (readonly GridCell[])[])[] = [];\n const cols: number[] = [];\n for (const col of selectedColumns) {\n let thunk = getCellsForSelection(\n {\n x: col,\n y: 0,\n width: 1,\n height: rows,\n },\n abortControllerRef.current.signal\n );\n if (typeof thunk !== \"object\") {\n thunk = await thunk();\n }\n results.push(thunk);\n cols.push(col - rowMarkerOffset);\n }\n if (results.length === 1) {\n copyToClipboardWithHeaders(results[0], cols);\n } else {\n // FIXME: this is dumb\n const toCopy = results.reduce((pv, cv) => pv.map((row, index) => [...row, ...cv[index]]));\n copyToClipboardWithHeaders(toCopy, cols);\n }\n }\n }\n },\n [columnsIn, getCellsForSelection, gridSelection, keybindings.copy, rowMarkerOffset, rows, copyHeaders]\n );\n\n useEventListener(\"copy\", onCopy, safeWindow, false, false);\n\n const onCut = React.useCallback(\n async (e?: ClipboardEvent) => {\n if (!keybindings.cut) return;\n const focused =\n scrollRef.current?.contains(document.activeElement) === true ||\n canvasRef.current?.contains(document.activeElement) === true;\n\n if (!focused) return;\n await onCopy(e);\n if (gridSelection.current !== undefined) {\n let effectiveSelection: GridSelection = {\n current: {\n cell: gridSelection.current.cell,\n range: gridSelection.current.range,\n rangeStack: [],\n },\n rows: CompactSelection.empty(),\n columns: CompactSelection.empty(),\n };\n const onDeleteResult = onDelete?.(effectiveSelection);\n if (onDeleteResult === false) return;\n effectiveSelection = onDeleteResult === true ? effectiveSelection : onDeleteResult;\n if (effectiveSelection.current === undefined) return;\n deleteRange(effectiveSelection.current.range);\n }\n },\n [deleteRange, gridSelection, keybindings.cut, onCopy, onDelete]\n );\n\n useEventListener(\"cut\", onCut, safeWindow, false, false);\n\n const onSearchResultsChanged = React.useCallback(\n (results: readonly Item[], navIndex: number) => {\n if (onSearchResultsChangedIn !== undefined) {\n if (rowMarkerOffset !== 0) {\n results = results.map(item => [item[0] - rowMarkerOffset, item[1]]);\n }\n onSearchResultsChangedIn(results, navIndex);\n return;\n }\n if (results.length === 0 || navIndex === -1) return;\n\n const [col, row] = results[navIndex];\n if (lastSent.current !== undefined && lastSent.current[0] === col && lastSent.current[1] === row) {\n return;\n }\n lastSent.current = [col, row];\n updateSelectedCell(col, row, false, false);\n },\n [onSearchResultsChangedIn, rowMarkerOffset, updateSelectedCell]\n );\n\n // this effects purpose in life is to scroll the newly selected cell into view when and ONLY when that cell\n // is from an external gridSelection change. Also note we want the unmangled out selection because scrollTo\n // expects unmangled indexes\n const [outCol, outRow] = gridSelectionOuter?.current?.cell ?? [];\n const scrollToRef = React.useRef(scrollTo);\n scrollToRef.current = scrollTo;\n React.useLayoutEffect(() => {\n if (\n !hasJustScrolled.current &&\n outCol !== undefined &&\n outRow !== undefined &&\n (outCol !== expectedExternalGridSelection.current?.current?.cell[0] ||\n outRow !== expectedExternalGridSelection.current?.current?.cell[1])\n ) {\n scrollToRef.current(outCol, outRow);\n }\n hasJustScrolled.current = false; //only allow skipping a single scroll\n }, [outCol, outRow]);\n\n const selectionOutOfBounds =\n gridSelection.current !== undefined &&\n (gridSelection.current.cell[0] >= mangledCols.length || gridSelection.current.cell[1] >= mangledRows);\n React.useLayoutEffect(() => {\n if (selectionOutOfBounds) {\n setGridSelection(emptyGridSelection, false);\n }\n }, [selectionOutOfBounds, setGridSelection]);\n\n const disabledRows = React.useMemo(() => {\n if (showTrailingBlankRow === true && trailingRowOptions?.tint === true) {\n return CompactSelection.fromSingleSelection(mangledRows - 1);\n }\n return CompactSelection.empty();\n }, [mangledRows, showTrailingBlankRow, trailingRowOptions?.tint]);\n\n const mangledVerticalBorder = React.useCallback(\n (col: number) => {\n return typeof verticalBorder === \"boolean\"\n ? verticalBorder\n : verticalBorder?.(col - rowMarkerOffset) ?? true;\n },\n [rowMarkerOffset, verticalBorder]\n );\n\n const renameGroupNode = React.useMemo(() => {\n if (renameGroup === undefined || canvasRef.current === null) return null;\n const { bounds, group } = renameGroup;\n const canvasBounds = canvasRef.current.getBoundingClientRect();\n return (\n setRenameGroup(undefined)}\n onFinish={newVal => {\n setRenameGroup(undefined);\n onGroupHeaderRenamed?.(group, newVal);\n }}\n />\n );\n }, [onGroupHeaderRenamed, renameGroup]);\n\n const mangledFreezeColumns = Math.min(mangledCols.length, freezeColumns + (hasRowMarkers ? 1 : 0));\n\n React.useImperativeHandle(\n forwardedRef,\n () => ({\n appendRow: (col: number, openOverlay?: boolean) => appendRow(col + rowMarkerOffset, openOverlay),\n updateCells: damageList => {\n if (rowMarkerOffset !== 0) {\n damageList = damageList.map(x => ({ cell: [x.cell[0] + rowMarkerOffset, x.cell[1]] }));\n }\n return gridRef.current?.damage(damageList);\n },\n getBounds: (col, row) => {\n if (canvasRef?.current === null || scrollRef?.current === null) {\n return undefined;\n }\n\n if (col === undefined && row === undefined) {\n // Return the bounds of the entire scroll area:\n const rect = canvasRef.current.getBoundingClientRect();\n const scale = rect.width / scrollRef.current.clientWidth;\n return {\n x: rect.x - scrollRef.current.scrollLeft * scale,\n y: rect.y - scrollRef.current.scrollTop * scale,\n width: scrollRef.current.scrollWidth * scale,\n height: scrollRef.current.scrollHeight * scale,\n };\n }\n return gridRef.current?.getBounds((col ?? 0) + rowMarkerOffset, row);\n },\n focus: () => gridRef.current?.focus(),\n emit: async e => {\n switch (e) {\n case \"delete\":\n onKeyDown({\n bounds: undefined,\n cancel: () => undefined,\n stopPropagation: () => undefined,\n preventDefault: () => undefined,\n ctrlKey: false,\n key: \"Delete\",\n keyCode: 46,\n metaKey: false,\n shiftKey: false,\n altKey: false,\n rawEvent: undefined,\n location: undefined,\n });\n break;\n case \"fill-right\":\n onKeyDown({\n bounds: undefined,\n cancel: () => undefined,\n stopPropagation: () => undefined,\n preventDefault: () => undefined,\n ctrlKey: true,\n key: \"r\",\n keyCode: 82,\n metaKey: false,\n shiftKey: false,\n altKey: false,\n rawEvent: undefined,\n location: undefined,\n });\n break;\n case \"fill-down\":\n onKeyDown({\n bounds: undefined,\n cancel: () => undefined,\n stopPropagation: () => undefined,\n preventDefault: () => undefined,\n ctrlKey: true,\n key: \"d\",\n keyCode: 68,\n metaKey: false,\n shiftKey: false,\n altKey: false,\n rawEvent: undefined,\n location: undefined,\n });\n break;\n case \"copy\":\n await onCopy(undefined, true);\n break;\n case \"paste\":\n await onPasteInternal();\n break;\n }\n },\n scrollTo,\n remeasureColumns: cols => {\n for (const col of cols) {\n void normalSizeColumn(col + rowMarkerOffset);\n }\n },\n }),\n [appendRow, normalSizeColumn, onCopy, onKeyDown, onPasteInternal, rowMarkerOffset, scrollTo]\n );\n\n const [selCol, selRow] = currentCell ?? [];\n const onCellFocused = React.useCallback(\n (cell: Item) => {\n const [col, row] = cell;\n\n if (row === -1) {\n if (columnSelect !== \"none\") {\n setSelectedColumns(CompactSelection.fromSingleSelection(col), undefined, false);\n focus();\n }\n return;\n }\n\n if (selCol === col && selRow === row) return;\n setCurrent(\n {\n cell,\n range: { x: col, y: row, width: 1, height: 1 },\n },\n true,\n false,\n \"keyboard-nav\"\n );\n scrollTo(col, row);\n },\n [columnSelect, focus, scrollTo, selCol, selRow, setCurrent, setSelectedColumns]\n );\n\n const [isFocused, setIsFocused] = React.useState(false);\n const setIsFocusedDebounced = React.useRef(\n debounce((val: boolean) => {\n setIsFocused(val);\n }, 5)\n );\n\n const onCanvasFocused = React.useCallback(() => {\n setIsFocusedDebounced.current(true);\n\n // check for mouse state, don't do anything if the user is clicked to focus.\n if (\n gridSelection.current === undefined &&\n gridSelection.columns.length === 0 &&\n gridSelection.rows.length === 0 &&\n mouseState === undefined\n ) {\n setCurrent(\n {\n cell: [rowMarkerOffset, cellYOffset],\n range: {\n x: rowMarkerOffset,\n y: cellYOffset,\n width: 1,\n height: 1,\n },\n },\n true,\n false,\n \"keyboard-select\"\n );\n }\n }, [cellYOffset, gridSelection, mouseState, rowMarkerOffset, setCurrent]);\n\n const onFocusOut = React.useCallback(() => {\n setIsFocusedDebounced.current(false);\n }, []);\n\n const [idealWidth, idealHeight] = React.useMemo(() => {\n let h: number;\n const scrollbarWidth = experimental?.scrollbarWidthOverride ?? getScrollBarWidth();\n const rowsCountWithTrailingRow = rows + (showTrailingBlankRow ? 1 : 0);\n if (typeof rowHeight === \"number\") {\n h = totalHeaderHeight + rowsCountWithTrailingRow * rowHeight;\n } else {\n let avg = 0;\n const toAverage = Math.min(rowsCountWithTrailingRow, 10);\n for (let i = 0; i < toAverage; i++) {\n avg += rowHeight(i);\n }\n avg = Math.floor(avg / toAverage);\n\n h = totalHeaderHeight + rowsCountWithTrailingRow * avg;\n }\n h += scrollbarWidth;\n\n const w = mangledCols.reduce((acc, x) => x.width + acc, 0) + scrollbarWidth;\n\n // We need to set a reasonable cap here as some browsers will just ignore huge values\n // rather than treat them as huge values.\n return [`${Math.min(100_000, w)}px`, `${Math.min(100_000, h)}px`];\n }, [mangledCols, experimental?.scrollbarWidthOverride, rowHeight, rows, showTrailingBlankRow, totalHeaderHeight]);\n\n const cssStyle = React.useMemo(() => {\n return makeCSSStyle(mergedTheme);\n }, [mergedTheme]);\n\n return (\n \n \n \n {renameGroupNode}\n {overlay !== undefined && (\n \n \n \n )}\n \n \n );\n};\n\n/**\n * The primary component of Glide Data Grid.\n * @category DataEditor\n * @param {DataEditorProps} props\n */\nexport const DataEditor = React.forwardRef(DataEditorImpl);\n","import type { SpriteProps } from \"../../common/utils.js\";\n\nconst iconHead = ``;\nconst headerRowID = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n\n return `\n ${iconHead}`;\n};\n\nconst headerCode = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `\n ${iconHead}`;\n};\n\nconst headerNumber = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n `;\n};\n\nconst headerString = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n`;\n};\n\nconst headerBoolean = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n`;\n};\n\nconst headerUri = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n\n\n\n\n `;\n};\n\nconst renameIcon = (props: SpriteProps) => {\n const bg = props.bgColor;\n return `${iconHead}\n \n \n \n \n`;\n};\n\nconst headerAudioUri = headerUri;\n\nconst headerVideoUri = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n`;\n};\n\nconst headerEmoji = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `\n ${iconHead}\n \n \n \n \n \n \n \n `;\n};\n\nconst headerImage = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n \n`;\n};\n\nconst headerPhone = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `\n ${iconHead}\n \n \n `;\n};\n\nconst headerMarkdown = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `\n ${iconHead}\n \n \n `;\n};\n\nconst headerDate = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n`;\n};\n\nconst headerTime = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `\n ${iconHead}\n \n \n \n `;\n};\n\nconst headerEmail = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n \n`;\n};\n\nconst headerReference = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `\n ${iconHead}\n \n \n \n `;\n};\n\nconst headerIfThenElse = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n`;\n};\n\nconst headerSingleValue = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `\n ${iconHead}\n \n \n `;\n};\n\nconst headerLookup = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `\n ${iconHead}\n \n \n `;\n};\n\nconst headerTextTemplate = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n`;\n};\n\nconst headerMath = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n \n \n \n`;\n};\n\nconst headerRollup = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `\n ${iconHead}\n \n \n `;\n};\n\nconst headerJoinStrings = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n`;\n};\n\nconst headerSplitString = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `\n ${iconHead}\n \n \n `;\n};\n\nconst headerGeoDistance = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n \n`;\n};\n\nconst headerArray = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n`;\n};\n\nconst rowOwnerOverlay = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `\n \n \n `;\n};\n\nconst protectedColumnOverlay = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `\n \n \n \n`;\n};\n\nexport const sprites = {\n headerRowID,\n headerNumber,\n headerCode,\n headerString,\n headerBoolean,\n headerAudioUri,\n headerVideoUri,\n headerEmoji,\n headerImage,\n headerUri,\n headerPhone,\n headerMarkdown,\n headerDate,\n headerTime,\n headerEmail,\n headerReference,\n headerIfThenElse,\n headerSingleValue,\n headerLookup,\n headerTextTemplate,\n headerMath,\n headerRollup,\n headerJoinStrings,\n headerSplitString,\n headerGeoDistance,\n headerArray,\n rowOwnerOverlay,\n protectedColumnOverlay,\n renameIcon,\n};\n\nexport type HeaderIconMap = Readonly;\n","import * as React from \"react\";\nimport { DataEditor, type DataEditorProps, type DataEditorRef } from \"./data-editor/data-editor.js\";\nimport { AllCellRenderers } from \"./cells/index.js\";\nimport { sprites } from \"./internal/data-grid/sprites.js\";\nimport ImageWindowLoaderImpl from \"./common/image-window-loader.js\";\nimport type { ImageWindowLoader } from \"./internal/data-grid/image-window-loader-interface.js\";\n\nexport interface DataEditorAllProps extends Omit {\n imageWindowLoader?: ImageWindowLoader;\n}\n\nconst DataEditorAllImpl: React.ForwardRefRenderFunction = (p, ref) => {\n const allSprites = React.useMemo(() => {\n return { ...sprites, ...p.headerIcons };\n }, [p.headerIcons]);\n\n const imageWindowLoader = React.useMemo(() => {\n return p.imageWindowLoader ?? new ImageWindowLoaderImpl();\n }, [p.imageWindowLoader]);\n\n return (\n \n );\n};\n\nexport const DataEditorAll = React.forwardRef(DataEditorAllImpl);\n","import React from \"react\";\nimport { browserIsOSX } from \"../common/browser-detect.js\";\nimport { useDeepMemo } from \"../common/utils.js\";\n\nexport type Keybind = boolean | string;\n\ninterface ForcedKeybinds {\n copy: boolean;\n cut: boolean;\n paste: boolean;\n}\n\ninterface BackCompatKeybinds {\n readonly pageUp: boolean;\n readonly pageDown: boolean;\n readonly first: boolean;\n readonly last: boolean;\n}\n\nexport interface ConfigurableKeybinds {\n readonly downFill: Keybind;\n readonly rightFill: Keybind;\n readonly clear: Keybind;\n readonly closeOverlay: Keybind;\n readonly acceptOverlayDown: Keybind;\n readonly acceptOverlayUp: Keybind;\n readonly acceptOverlayLeft: Keybind;\n readonly acceptOverlayRight: Keybind;\n readonly search: Keybind;\n readonly delete: Keybind;\n readonly activateCell: Keybind;\n readonly scrollToSelectedCell: Keybind;\n\n // Navigation Keybinds\n readonly goToFirstColumn: Keybind;\n readonly goToLastColumn: Keybind;\n readonly goToFirstCell: Keybind;\n readonly goToLastCell: Keybind;\n readonly goToFirstRow: Keybind;\n readonly goToLastRow: Keybind;\n readonly goToNextPage: Keybind;\n readonly goToPreviousPage: Keybind;\n\n readonly goUpCell: Keybind;\n readonly goDownCell: Keybind;\n readonly goLeftCell: Keybind;\n readonly goRightCell: Keybind;\n\n readonly goUpCellRetainSelection: Keybind;\n readonly goDownCellRetainSelection: Keybind;\n readonly goLeftCellRetainSelection: Keybind;\n readonly goRightCellRetainSelection: Keybind;\n\n // Selection Keybinds\n readonly selectToFirstColumn: Keybind;\n readonly selectToLastColumn: Keybind;\n readonly selectToFirstCell: Keybind;\n readonly selectToLastCell: Keybind;\n readonly selectToFirstRow: Keybind;\n readonly selectToLastRow: Keybind;\n\n readonly selectGrowUp: Keybind;\n readonly selectGrowDown: Keybind;\n readonly selectGrowLeft: Keybind;\n readonly selectGrowRight: Keybind;\n\n readonly selectAll: Keybind;\n readonly selectRow: Keybind;\n readonly selectColumn: Keybind;\n}\n\nexport type Keybinds = ConfigurableKeybinds & ForcedKeybinds & Partial;\n\nexport type RealizedKeybinds = Readonly> & ForcedKeybinds;\n\nexport const keybindingDefaults: Keybinds = {\n downFill: false,\n rightFill: false,\n clear: true,\n closeOverlay: true,\n acceptOverlayDown: true,\n acceptOverlayUp: true,\n acceptOverlayLeft: true,\n acceptOverlayRight: true,\n copy: true,\n paste: true,\n cut: true,\n search: false,\n delete: true,\n activateCell: true,\n scrollToSelectedCell: true,\n goToFirstCell: true,\n goToFirstColumn: true,\n goToFirstRow: true,\n goToLastCell: true,\n goToLastColumn: true,\n goToLastRow: true,\n goToNextPage: true,\n goToPreviousPage: true,\n selectToFirstCell: true,\n selectToFirstColumn: true,\n selectToFirstRow: true,\n selectToLastCell: true,\n selectToLastColumn: true,\n selectToLastRow: true,\n selectAll: true,\n selectRow: true,\n selectColumn: true,\n goUpCell: true,\n goRightCell: true,\n goDownCell: true,\n goLeftCell: true,\n goUpCellRetainSelection: true,\n goRightCellRetainSelection: true,\n goDownCellRetainSelection: true,\n goLeftCellRetainSelection: true,\n selectGrowUp: true,\n selectGrowRight: true,\n selectGrowDown: true,\n selectGrowLeft: true,\n};\n\nfunction realizeKeybind(keybind: Keybind, defaultVal: string): string {\n if (keybind === true) return defaultVal;\n if (keybind === false) return \"\";\n return keybind;\n}\n\nexport function realizeKeybinds(keybinds: Keybinds): RealizedKeybinds {\n const isOSX = browserIsOSX.value;\n\n return {\n activateCell: realizeKeybind(keybinds.activateCell, \" |Enter|shift+Enter\"),\n clear: realizeKeybind(keybinds.clear, \"any+Escape\"),\n closeOverlay: realizeKeybind(keybinds.closeOverlay, \"any+Escape\"),\n acceptOverlayDown: realizeKeybind(keybinds.acceptOverlayDown, \"Enter\"),\n acceptOverlayUp: realizeKeybind(keybinds.acceptOverlayUp, \"shift+Enter\"),\n acceptOverlayLeft: realizeKeybind(keybinds.acceptOverlayLeft, \"shift+Tab\"),\n acceptOverlayRight: realizeKeybind(keybinds.acceptOverlayRight, \"Tab\"),\n copy: keybinds.copy,\n cut: keybinds.cut,\n delete: realizeKeybind(keybinds.delete, isOSX ? \"Backspace|Delete\" : \"Delete\"),\n downFill: realizeKeybind(keybinds.downFill, \"primary+_68\"),\n scrollToSelectedCell: realizeKeybind(keybinds.scrollToSelectedCell, \"primary+Enter\"),\n goDownCell: realizeKeybind(keybinds.goDownCell, \"ArrowDown\"),\n goDownCellRetainSelection: realizeKeybind(keybinds.goDownCellRetainSelection, \"alt+ArrowDown\"),\n goLeftCell: realizeKeybind(keybinds.goLeftCell, \"ArrowLeft|shift+Tab\"),\n goLeftCellRetainSelection: realizeKeybind(keybinds.goLeftCellRetainSelection, \"alt+ArrowLeft\"),\n goRightCell: realizeKeybind(keybinds.goRightCell, \"ArrowRight|Tab\"),\n goRightCellRetainSelection: realizeKeybind(keybinds.goRightCellRetainSelection, \"alt+ArrowRight\"),\n goUpCell: realizeKeybind(keybinds.goUpCell, \"ArrowUp\"),\n goUpCellRetainSelection: realizeKeybind(keybinds.goUpCellRetainSelection, \"alt+ArrowUp\"),\n goToFirstCell: realizeKeybind(keybinds.goToFirstCell, \"primary+Home\"),\n goToFirstColumn: realizeKeybind(keybinds.goToFirstColumn, \"Home|primary+ArrowLeft\"),\n goToFirstRow: realizeKeybind(keybinds.goToFirstRow, \"primary+ArrowUp\"),\n goToLastCell: realizeKeybind(keybinds.goToLastCell, \"primary+End\"),\n goToLastColumn: realizeKeybind(keybinds.goToLastColumn, \"End|primary+ArrowRight\"),\n goToLastRow: realizeKeybind(keybinds.goToLastRow, \"primary+ArrowDown\"),\n goToNextPage: realizeKeybind(keybinds.goToNextPage, \"PageDown\"),\n goToPreviousPage: realizeKeybind(keybinds.goToPreviousPage, \"PageUp\"),\n paste: keybinds.paste,\n rightFill: realizeKeybind(keybinds.rightFill, \"primary+_82\"),\n search: realizeKeybind(keybinds.search, \"primary+f\"),\n selectAll: realizeKeybind(keybinds.selectAll, \"primary+a\"),\n selectColumn: realizeKeybind(keybinds.selectColumn, \"ctrl+ \"),\n selectGrowDown: realizeKeybind(keybinds.selectGrowDown, \"shift+ArrowDown\"),\n selectGrowLeft: realizeKeybind(keybinds.selectGrowLeft, \"shift+ArrowLeft\"),\n selectGrowRight: realizeKeybind(keybinds.selectGrowRight, \"shift+ArrowRight\"),\n selectGrowUp: realizeKeybind(keybinds.selectGrowUp, \"shift+ArrowUp\"),\n selectRow: realizeKeybind(keybinds.selectRow, \"shift+ \"),\n selectToFirstCell: realizeKeybind(keybinds.selectToFirstCell, \"primary+shift+Home\"),\n selectToFirstColumn: realizeKeybind(keybinds.selectToFirstColumn, \"primary+shift+ArrowLeft\"),\n selectToFirstRow: realizeKeybind(keybinds.selectToFirstRow, \"primary+shift+ArrowUp\"),\n selectToLastCell: realizeKeybind(keybinds.selectToLastCell, \"primary+shift+End\"),\n selectToLastColumn: realizeKeybind(keybinds.selectToLastColumn, \"primary+shift+ArrowRight\"),\n selectToLastRow: realizeKeybind(keybinds.selectToLastRow, \"primary+shift+ArrowDown\"),\n };\n}\n\nexport function useKeybindingsWithDefaults(keybindingsIn?: Partial): RealizedKeybinds {\n const keys = useDeepMemo(keybindingsIn);\n return React.useMemo(() => {\n if (keys === undefined) return realizeKeybinds(keybindingDefaults);\n const withBackCompatApplied = {\n ...keys,\n goToNextPage: keys?.goToNextPage ?? keys?.pageDown ?? keybindingDefaults.goToNextPage,\n goToPreviousPage: keys?.goToPreviousPage ?? keys?.pageUp ?? keybindingDefaults.goToPreviousPage,\n goToFirstCell: keys?.goToFirstCell ?? keys?.first ?? keybindingDefaults.goToFirstCell,\n goToLastCell: keys?.goToLastCell ?? keys?.last ?? keybindingDefaults.goToLastCell,\n selectToFirstCell: keys?.selectToFirstCell ?? keys?.first ?? keybindingDefaults.selectToFirstCell,\n selectToLastCell: keys?.selectToLastCell ?? keys?.last ?? keybindingDefaults.selectToLastCell,\n };\n return realizeKeybinds({\n ...keybindingDefaults,\n ...withBackCompatApplied,\n });\n }, [keys]);\n}\n","import * as React from \"react\";\ninterface Props extends React.HTMLAttributes {\n onClickOutside: () => void;\n isOutsideClick?: (event: MouseEvent | TouchEvent) => boolean;\n}\n\nexport default class ClickOutsideContainer extends React.PureComponent {\n private wrapperRef = React.createRef();\n\n public componentDidMount() {\n document.addEventListener(\"touchend\", this.clickOutside, true);\n document.addEventListener(\"mousedown\", this.clickOutside, true);\n document.addEventListener(\"contextmenu\", this.clickOutside, true);\n }\n\n public componentWillUnmount() {\n document.removeEventListener(\"touchend\", this.clickOutside, true);\n document.removeEventListener(\"mousedown\", this.clickOutside, true);\n document.removeEventListener(\"contextmenu\", this.clickOutside, true);\n }\n\n private clickOutside = (event: MouseEvent | TouchEvent) => {\n if (this.props.isOutsideClick && !this.props.isOutsideClick(event)) {\n return;\n }\n if (this.wrapperRef.current !== null && !this.wrapperRef.current.contains(event.target as Node | null)) {\n let node = event.target as Element | null;\n while (node !== null) {\n if (node.classList.contains(\"click-outside-ignore\")) {\n return;\n }\n\n node = node.parentElement;\n }\n this.props.onClickOutside();\n }\n };\n\n public render(): React.ReactNode {\n const { onClickOutside, isOutsideClick, ...rest } = this.props;\n return (\n
\n {this.props.children}\n
\n );\n }\n}\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".r1fzhvm4{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;border:none;outline:none;background-color:var(--gdg-bg-header-has-focus);border-radius:9px;padding:0 8px;box-shadow:0 0 0 1px var(--gdg-border-color);color:var(--gdg-text-group-header);min-height:var(--r1fzhvm4-0);font:var(--gdg-header-font-style) var(--gdg-font-family);}\\n.c181oggi{padding:0 8px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--gdg-bg-header);}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvZGF0YS1lZGl0b3IvZ3JvdXAtcmVuYW1lLnRzeCJdLCJuYW1lcyI6WyIucjFmemh2bTQiLCIuYzE4MW9nZ2kiXSwibWFwcGluZ3MiOiJBQUtvQkE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GUgPT4gZS50YXJnZXQuc2V0U2VsZWN0aW9uUmFuZ2UoMCwgdmFsdWUubGVuZ3RoKSxcbiAgICAgIG9uQ2hhbmdlOiBlID0+IHNldFZhbHVlKGUudGFyZ2V0LnZhbHVlKSxcbiAgICAgIG9uS2V5RG93bjogZSA9PiB7XG4gICAgICAgIGlmIChlLmtleSA9PT0gXCJFbnRlclwiKSB7XG4gICAgICAgICAgb25GaW5pc2godmFsdWUpO1xuICAgICAgICB9IGVsc2UgaWYgKGUua2V5ID09PSBcIkVzY2FwZVwiKSB7XG4gICAgICAgICAgb25DbG9zZSgpO1xuICAgICAgICB9XG4gICAgICB9LFxuICAgICAgYXV0b0ZvY3VzOiB0cnVlXG4gICAgfSlcbiAgfSk7XG59O1xuR3JvdXBSZW5hbWUuZGlzcGxheU5hbWUgPSBcIkdyb3VwUmVuYW1lXCI7Il19*/\", \"\",{\"version\":3,\"sources\":[\"/home/runner/work/glide-data-grid/glide-data-grid/packages/core/src/data-editor/group-rename.tsx\",\"webpack://./packages/core/src/data-editor/group-rename.tsx\"],\"names\":[\".r1fzhvm4\",\".c181oggi\"],\"mappings\":\"AAKoBA,UAAAA,kBAAAA,CAAAA,mBAAAA,CAAAA,mBAAAA,CAAAA,WAAAA,CAAAA,WAAAA,CAAAA,YAAAA,CAAAA,+CAAAA,CAAAA,iBAAAA,CAAAA,aAAAA,CAAAA,4CAAAA,CAAAA,kCAAAA,CAAAA,4BAAAA,CAAAA,wDAAAA,CAAAA;AA6BLC,UAAAA,aAAAA,CAAAA,mBAAAA,CAAAA,oBAAAA,CAAAA,mBAAAA,CAAAA,YAAAA,CAAAA,0BAAAA,CAAAA,wBAAAA,CAAAA,qBAAAA,CAAAA,kBAAAA,CAAAA,qCAAAA,CAAAA;AChCf,u5FAAu5F\",\"sourcesContent\":[\"import React from \\\"react\\\";\\nimport { styled } from \\\"@linaria/react\\\";\\nimport { css } from \\\"@linaria/core\\\";\\nimport ClickOutsideContainer from \\\"../internal/click-outside-container/click-outside-container.js\\\";\\nimport { jsx as _jsx } from \\\"react/jsx-runtime\\\";\\nconst RenameInput = styled.input`\\n flex-grow: 1;\\n border: none;\\n outline: none;\\n background-color: var(--gdg-bg-header-has-focus);\\n border-radius: 9px;\\n padding: 0 8px;\\n box-shadow: 0 0 0 1px var(--gdg-border-color);\\n color: var(--gdg-text-group-header);\\n min-height: ${p => Math.max(16, p.targetHeight - 10)}px;\\n font: var(--gdg-header-font-style) var(--gdg-font-family);\\n`;\\nexport const GroupRename = p => {\\n const {\\n bounds,\\n group,\\n onClose,\\n canvasBounds,\\n onFinish\\n } = p;\\n const [value, setValue] = React.useState(group);\\n return _jsx(ClickOutsideContainer, {\\n style: {\\n position: \\\"absolute\\\",\\n left: bounds.x - canvasBounds.left + 1,\\n top: bounds.y - canvasBounds.top,\\n width: bounds.width - 2,\\n height: bounds.height\\n },\\n className: css`\\n padding: 0 8px;\\n display: flex;\\n align-items: center;\\n background-color: var(--gdg-bg-header);\\n `,\\n onClickOutside: onClose,\\n children: _jsx(RenameInput, {\\n targetHeight: bounds.height,\\n \\\"data-testid\\\": \\\"group-rename-input\\\",\\n value: value,\\n onBlur: onClose,\\n onFocus: e => e.target.setSelectionRange(0, value.length),\\n onChange: e => setValue(e.target.value),\\n onKeyDown: e => {\\n if (e.key === \\\"Enter\\\") {\\n onFinish(value);\\n } else if (e.key === \\\"Escape\\\") {\\n onClose();\\n }\\n },\\n autoFocus: true\\n })\\n });\\n};\\nGroupRename.displayName = \\\"GroupRename\\\";\",\".r1fzhvm4{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;border:none;outline:none;background-color:var(--gdg-bg-header-has-focus);border-radius:9px;padding:0 8px;box-shadow:0 0 0 1px var(--gdg-border-color);color:var(--gdg-text-group-header);min-height:var(--r1fzhvm4-0);font:var(--gdg-header-font-style) var(--gdg-font-family);}\\n.c181oggi{padding:0 8px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--gdg-bg-header);}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvZGF0YS1lZGl0b3IvZ3JvdXAtcmVuYW1lLnRzeCJdLCJuYW1lcyI6WyIucjFmemh2bTQiLCIuYzE4MW9nZ2kiXSwibWFwcGluZ3MiOiJBQUtvQkE7QUE2QkxDIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvZGF0YS1lZGl0b3IvZ3JvdXAtcmVuYW1lLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbmltcG9ydCB7IHN0eWxlZCB9IGZyb20gXCJAbGluYXJpYS9yZWFjdFwiO1xuaW1wb3J0IHsgY3NzIH0gZnJvbSBcIkBsaW5hcmlhL2NvcmVcIjtcbmltcG9ydCBDbGlja091dHNpZGVDb250YWluZXIgZnJvbSBcIi4uL2ludGVybmFsL2NsaWNrLW91dHNpZGUtY29udGFpbmVyL2NsaWNrLW91dHNpZGUtY29udGFpbmVyLmpzXCI7XG5pbXBvcnQgeyBqc3ggYXMgX2pzeCB9IGZyb20gXCJyZWFjdC9qc3gtcnVudGltZVwiO1xuY29uc3QgUmVuYW1lSW5wdXQgPSBzdHlsZWQuaW5wdXRgXG4gICAgZmxleC1ncm93OiAxO1xuICAgIGJvcmRlcjogbm9uZTtcbiAgICBvdXRsaW5lOiBub25lO1xuICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigtLWdkZy1iZy1oZWFkZXItaGFzLWZvY3VzKTtcbiAgICBib3JkZXItcmFkaXVzOiA5cHg7XG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B2YXIoLS1nZGctYmctaGVhZGVyKTtcbiAgICAgICAgICAgIGAsXG4gICAgb25DbGlja091dHNpZGU6IG9uQ2xvc2UsXG4gICAgY2hpbGRyZW46IF9qc3goUmVuYW1lSW5wdXQsIHtcbiAgICAgIHRhcmdldEhlaWdodDogYm91bmRzLmhlaWdodCxcbiAgICAgIFwiZGF0YS10ZXN0aWRcIjogXCJncm91cC1yZW5hbWUtaW5wdXRcIixcbiAgICAgIHZhbHVlOiB2YWx1ZSxcbiAgICAgIG9uQmx1cjogb25DbG9zZSxcbiAgICAgIG9uRm9jdXM6IGUgPT4gZS50YXJnZXQuc2V0U2VsZWN0aW9uUmFuZ2UoMCwgdmFsdWUubGVuZ3RoKSxcbiAgICAgIG9uQ2hhbmdlOiBlID0+IHNldFZhbHVlKGUudGFyZ2V0LnZhbHVlKSxcbiAgICAgIG9uS2V5RG93bjogZSA9PiB7XG4gICAgICAgIGlmIChlLmtleSA9PT0gXCJFbnRlclwiKSB7XG4gICAgICAgICAgb25GaW5pc2godmFsdWUpO1xuICAgICAgICB9IGVsc2UgaWYgKGUua2V5ID09PSBcIkVzY2FwZVwiKSB7XG4gICAgICAgICAgb25DbG9zZSgpO1xuICAgICAgICB9XG4gICAgICB9LFxuICAgICAgYXV0b0ZvY3VzOiB0cnVlXG4gICAgfSlcbiAgfSk7XG59O1xuR3JvdXBSZW5hbWUuZGlzcGxheU5hbWUgPSBcIkdyb3VwUmVuYW1lXCI7Il19*/\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".w2q57ts{position:relative;min-width:10px;min-height:10px;max-width:100%;max-height:100%;width:var(--w2q57ts-0);height:var(--w2q57ts-1);overflow:hidden;overflow:clip;direction:ltr;}.w2q57ts > :first-child{position:absolute;left:0;top:0;width:100%;height:100%;}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvaW50ZXJuYWwvZGF0YS1lZGl0b3ItY29udGFpbmVyL2RhdGEtZ3JpZC1jb250YWluZXIudHN4Il0sIm5hbWVzIjpbIi53MnE1N3RzIl0sIm1hcHBpbmdzIjoiQUFPZ0JBIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvaW50ZXJuYWwvZGF0YS1lZGl0b3ItY29udGFpbmVyL2RhdGEtZ3JpZC1jb250YWluZXIudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgc3R5bGVkIH0gZnJvbSBcIkBsaW5hcmlhL3JlYWN0XCI7XG5pbXBvcnQgKiBhcyBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbmltcG9ydCB7IGpzeCBhcyBfanN4IH0gZnJvbSBcInJlYWN0L2pzeC1ydW50aW1lXCI7XG5mdW5jdGlvbiB0b0Nzcyh4KSB7XG4gIGlmICh0eXBlb2YgeCA9PT0gXCJzdHJpbmdcIikgcmV0dXJuIHg7XG4gIHJldHVybiBgJHt4fXB4YDtcbn1cbmNvbnN0IFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcblxuICAgIG1pbi13aWR0aDogMTBweDtcbiAgICBtaW4taGVpZ2h0OiAxMHB4O1xuICAgIG1heC13aWR0aDogMTAwJTtcbiAgICBtYXgtaGVpZ2h0OiAxMDAlO1xuXG4gICAgd2lkdGg6ICR7cCA9PiBwLmlubmVyV2lkdGh9O1xuICAgIGhlaWdodDogJHtwID0+IHAuaW5uZXJIZWlnaHR9O1xuXG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICBvdmVyZmxvdzogY2xpcDtcblxuICAgIGRpcmVjdGlvbjogbHRyO1xuXG4gICAgPiA6Zmlyc3QtY2hpbGQge1xuICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgIGxlZnQ6IDA7XG4gICAgICAgIHRvcDogMDtcbiAgICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICAgIGhlaWdodDogMTAwJTtcbiAgICB9XG5gO1xuZXhwb3J0IGNvbnN0IERhdGFFZGl0b3JDb250YWluZXIgPSBwID0+IHtcbiAgY29uc3Qge1xuICAgIGluV2lkdGgsXG4gICAgaW5IZWlnaHQsXG4gICAgY2hpbGRyZW4sXG4gICAgLi4ucmVzdFxuICB9ID0gcDtcbiAgcmV0dXJuIF9qc3goV3JhcHBlciwge1xuICAgIGlubmVySGVpZ2h0OiB0b0NzcyhpbkhlaWdodCksXG4gICAgaW5uZXJXaWR0aDogdG9Dc3MoaW5XaWR0aCksXG4gICAgLi4ucmVzdCxcbiAgICBjaGlsZHJlbjogY2hpbGRyZW5cbiAgfSk7XG59O1xuRGF0YUVkaXRvckNvbnRhaW5lci5kaXNwbGF5TmFtZSA9IFwiRGF0YUVkaXRvckNvbnRhaW5lclwiOyJdfQ==*/\", \"\",{\"version\":3,\"sources\":[\"/home/runner/work/glide-data-grid/glide-data-grid/packages/core/src/internal/data-editor-container/data-grid-container.tsx\",\"webpack://./packages/core/src/internal/data-editor-container/data-grid-container.tsx\"],\"names\":[\".w2q57ts\"],\"mappings\":\"AAOgBA,SAAAA,iBAAAA,CAAAA,cAAAA,CAAAA,eAAAA,CAAAA,cAAAA,CAAAA,eAAAA,CAAAA,sBAAAA,CAAAA,uBAAAA,CAAAA,eAAAA,CAAAA,aAAAA,CAAAA,aAAAA,CAAAA,CAAAA,wBAAAA,iBAAAA,CAAAA,MAAAA,CAAAA,KAAAA,CAAAA,UAAAA,CAAAA,WAAAA,CAAAA;ACNhB,+wDAA+wD\",\"sourcesContent\":[\"import { styled } from \\\"@linaria/react\\\";\\nimport * as React from \\\"react\\\";\\nimport { jsx as _jsx } from \\\"react/jsx-runtime\\\";\\nfunction toCss(x) {\\n if (typeof x === \\\"string\\\") return x;\\n return `${x}px`;\\n}\\nconst Wrapper = styled.div`\\n position: relative;\\n\\n min-width: 10px;\\n min-height: 10px;\\n max-width: 100%;\\n max-height: 100%;\\n\\n width: ${p => p.innerWidth};\\n height: ${p => p.innerHeight};\\n\\n overflow: hidden;\\n overflow: clip;\\n\\n direction: ltr;\\n\\n > :first-child {\\n position: absolute;\\n left: 0;\\n top: 0;\\n width: 100%;\\n height: 100%;\\n }\\n`;\\nexport const DataEditorContainer = p => {\\n const {\\n inWidth,\\n inHeight,\\n children,\\n ...rest\\n } = p;\\n return _jsx(Wrapper, {\\n innerHeight: toCss(inHeight),\\n innerWidth: toCss(inWidth),\\n ...rest,\\n children: children\\n });\\n};\\nDataEditorContainer.displayName = \\\"DataEditorContainer\\\";\",\".w2q57ts{position:relative;min-width:10px;min-height:10px;max-width:100%;max-height:100%;width:var(--w2q57ts-0);height:var(--w2q57ts-1);overflow:hidden;overflow:clip;direction:ltr;}.w2q57ts > :first-child{position:absolute;left:0;top:0;width:100%;height:100%;}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvaW50ZXJuYWwvZGF0YS1lZGl0b3ItY29udGFpbmVyL2RhdGEtZ3JpZC1jb250YWluZXIudHN4Il0sIm5hbWVzIjpbIi53MnE1N3R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TtcbiAgICB9XG5gO1xuZXhwb3J0IGNvbnN0IERhdGFFZGl0b3JDb250YWluZXIgPSBwID0+IHtcbiAgY29uc3Qge1xuICAgIGluV2lkdGgsXG4gICAgaW5IZWlnaHQsXG4gICAgY2hpbGRyZW4sXG4gICAgLi4ucmVzdFxuICB9ID0gcDtcbiAgcmV0dXJuIF9qc3goV3JhcHBlciwge1xuICAgIGlubmVySGVpZ2h0OiB0b0NzcyhpbkhlaWdodCksXG4gICAgaW5uZXJXaWR0aDogdG9Dc3MoaW5XaWR0aCksXG4gICAgLi4ucmVzdCxcbiAgICBjaGlsZHJlbjogY2hpbGRyZW5cbiAgfSk7XG59O1xuRGF0YUVkaXRvckNvbnRhaW5lci5kaXNwbGF5TmFtZSA9IFwiRGF0YUVkaXRvckNvbnRhaW5lclwiOyJdfQ==*/\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".slyseh9{position:absolute;top:4px;right:20px;background-color:var(--gdg-bg-cell);color:var(--gdg-text-dark);padding:8px;border:1px solid var(--gdg-border-color);border-radius:6px;font-size:var(--gdg-editor-font-size);-webkit-animation:gdg-search-fadein-slyseh9 0.15s forwards;animation:gdg-search-fadein-slyseh9 0.15s forwards;}.slyseh9.out{-webkit-animation:gdg-search-fadeout-slyseh9 0.15s forwards;animation:gdg-search-fadeout-slyseh9 0.15s forwards;}.slyseh9 .gdg-search-bar-inner{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}.slyseh9 .gdg-search-status{padding-top:4px;font-size:11px;}.slyseh9 .gdg-search-progress{position:absolute;height:4px;left:0;bottom:0;background-color:var(--gdg-text-light);}.slyseh9 input{width:220px;color:var(--gdg-textDark);background-color:var(--gdg-bg-cell);border:none;border-width:0;outline:none;}.slyseh9 button{width:24px;height:24px;padding:0;border:none;outline:none;background:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;color:var(--gdg-text-medium);}.slyseh9 button:hover{color:var(--gdg-text-dark);}.slyseh9 button .button-icon{width:16px;height:16px;}.slyseh9 button:disabled{opacity:0.4;pointer-events:none;}@-webkit-keyframes gdg-search-fadeout-slyseh9{from{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}to{-webkit-transform:translateX(400px);-ms-transform:translateX(400px);transform:translateX(400px);}}@keyframes gdg-search-fadeout-slyseh9{from{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}to{-webkit-transform:translateX(400px);-ms-transform:translateX(400px);transform:translateX(400px);}}@-webkit-keyframes gdg-search-fadein-slyseh9{from{-webkit-transform:translateX(400px);-ms-transform:translateX(400px);transform:translateX(400px);}to{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}}@keyframes gdg-search-fadein-slyseh9{from{-webkit-transform:translateX(400px);-ms-transform:translateX(400px);transform:translateX(400px);}to{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvaW50ZXJuYWwvZGF0YS1ncmlkLXNlYXJjaC9kYXRhLWdyaWQtc2VhcmNoLXN0eWxlLnRzeCJdLCJuY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4O1xuICAgIH1cblxuICAgIC5nZGctc2VhcmNoLXByb2dyZXNzIHtcbiAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgICBoZWlnaHQ6IDRweDtcbiAgICAgICAgbGVmdDogMDtcbiAgICAgICAgYm90dG9tOiAwO1xuXG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigtLWdkZy10ZXh0LWxpZ2h0KTtcbiAgICB9XG5cbiAgICBpbnB1dCB7XG4gICAgICAgIHdpZHRoOiAyMjBweDtcbiAgICAgICAgY29sb3I6IHZhcigtLWdkZy10ZXh0RGFyayk7XG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigtLWdkZy1iZy1jZWxsKTtcbiAgICAgICAgYm9yZGVyOiBub25lO1xuICAgICAgICBib3JkZXItd2lkdGg6IDA7XG4gICAgICAgIG91dGxpbmU6IG5vbmU7XG4gICAgfVxuXG4gICAgYnV0dG9uIHtcbiAgICAgICAgd2lkdGg6IDI0cHg7XG4gICAgICAgIGhlaWdodDogMjRweDtcbiAgICAgICAgcGFkZGluZzogMDtcblxuICAgICAgICBib3JkZXI6IG5vbmU7XG4gICAgICAgIG91dGxpbmU6IG5vbmU7XG4gICAgICAgIGJhY2tncm91bmQ6IG5vbmU7XG5cbiAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIGN1cnNvcjogcG9pbnRlcjtcbiAgICAgICAgY29sb3I6IHZhcigtLWdkZy10ZXh0LW1lZGl1bSk7XG5cbiAgICAgICAgOmhvdmVyIHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoLS1nZGctdGV4dC1kYXJrKTtcbiAgICAgICAgfVxuXG4gICAgICAgIC5idXR0b24taWNvbiB7XG4gICAgICAgICAgICB3aWR0aDogMTZweDtcbiAgICAgICAgICAgIGhlaWdodDogMTZweDtcbiAgICAgICAgfVxuXG4gICAgICAgIDpkaXNhYmxlZCB7XG4gICAgICAgICAgICBvcGFjaXR5OiAwLjQ7XG4gICAgICAgICAgICBwb2ludGVyLWV2ZW50czogbm9uZTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIEBrZXlmcmFtZXMgZ2RnLXNlYXJjaC1mYWRlb3V0IHtcbiAgICAgICAgZnJvbSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMCk7XG4gICAgICAgIH1cbiAgICAgICAgdG8ge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDQwMHB4KTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIEBrZXlmcmFtZXMgZ2RnLXNlYXJjaC1mYWRlaW4ge1xuICAgICAgICBmcm9tIHtcbiAgICAgICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCg0MDBweCk7XG4gICAgICAgIH1cbiAgICAgICAgdG8ge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDApO1xuICAgICAgICB9XG4gICAgfVxuYDsiXX0=*/\", \"\",{\"version\":3,\"sources\":[\"/home/runner/work/glide-data-grid/glide-data-grid/packages/core/src/internal/data-grid-search/data-grid-search-style.tsx\",\"webpack://./packages/core/src/internal/data-grid-search/data-grid-search-style.tsx\"],\"names\":[\".slyseh9\"],\"mappings\":\"AAC6BA,SAAAA,iBAAAA,CAAAA,OAAAA,CAAAA,UAAAA,CAAAA,mCAAAA,CAAAA,0BAAAA,CAAAA,WAAAA,CAAAA,wCAAAA,CAAAA,iBAAAA,CAAAA,qCAAAA,CAAAA,0DAAAA,CAAAA,kDAAAA,CAAAA,CAAAA,aAAAA,2DAAAA,CAAAA,mDAAAA,CAAAA,CAAAA,+BAAAA,mBAAAA,CAAAA,oBAAAA,CAAAA,mBAAAA,CAAAA,YAAAA,CAAAA,CAAAA,4BAAAA,eAAAA,CAAAA,cAAAA,CAAAA,CAAAA,8BA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\\";\\nexport const SearchWrapper = styled.div`\\n position: absolute;\\n top: 4px;\\n right: 20px;\\n\\n background-color: var(--gdg-bg-cell);\\n color: var(--gdg-text-dark);\\n\\n padding: 8px;\\n border: 1px solid var(--gdg-border-color);\\n border-radius: 6px;\\n\\n font-size: var(--gdg-editor-font-size);\\n\\n &.out {\\n animation: gdg-search-fadeout 0.15s forwards;\\n }\\n animation: gdg-search-fadein 0.15s forwards;\\n\\n .gdg-search-bar-inner {\\n display: flex;\\n }\\n\\n .gdg-search-status {\\n padding-top: 4px;\\n font-size: 11px;\\n }\\n\\n .gdg-search-progress {\\n position: absolute;\\n height: 4px;\\n left: 0;\\n bottom: 0;\\n\\n background-color: var(--gdg-text-light);\\n }\\n\\n input {\\n width: 220px;\\n color: var(--gdg-textDark);\\n background-color: var(--gdg-bg-cell);\\n border: none;\\n border-width: 0;\\n outline: none;\\n }\\n\\n button {\\n width: 24px;\\n height: 24px;\\n padding: 0;\\n\\n border: none;\\n outline: none;\\n background: none;\\n\\n display: flex;\\n justify-content: center;\\n align-items: center;\\n cursor: pointer;\\n color: var(--gdg-text-medium);\\n\\n :hover {\\n color: var(--gdg-text-dark);\\n }\\n\\n .button-icon {\\n width: 16px;\\n height: 16px;\\n }\\n\\n :disabled {\\n opacity: 0.4;\\n pointer-events: none;\\n }\\n }\\n\\n @keyframes gdg-search-fadeout {\\n from {\\n transform: translateX(0);\\n }\\n to {\\n transform: translateX(400px);\\n }\\n }\\n\\n @keyframes gdg-search-fadein {\\n from {\\n transform: translateX(400px);\\n }\\n to {\\n transform: translateX(0);\\n }\\n }\\n`;\",\".slyseh9{position:absolute;top:4px;right:20px;background-color:var(--gdg-bg-cell);color:var(--gdg-text-dark);padding:8px;border:1px solid var(--gdg-border-color);border-radius:6px;font-size:var(--gdg-editor-font-size);-webkit-animation:gdg-search-fadein-slyseh9 0.15s forwards;animation:gdg-search-fadein-slyseh9 0.15s forwards;}.slyseh9.out{-webkit-animation:gdg-search-fadeout-slyseh9 0.15s forwards;animation:gdg-search-fadeout-slyseh9 0.15s forwards;}.slyseh9 .gdg-search-bar-inner{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}.slyseh9 .gdg-search-status{padding-top:4px;font-size:11px;}.slyseh9 .gdg-search-progress{position:absolute;height:4px;left:0;bottom:0;background-color:var(--gdg-text-light);}.slyseh9 input{width:220px;color:var(--gdg-textDark);background-color:var(--gdg-bg-cell);border:none;border-width:0;outline:none;}.slyseh9 button{width:24px;height:24px;padding:0;border:none;outline:none;background:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;color:var(--gdg-text-medium);}.slyseh9 button:hover{color:var(--gdg-text-dark);}.slyseh9 button .button-icon{width:16px;height:16px;}.slyseh9 button:disabled{opacity:0.4;pointer-events:none;}@-webkit-keyframes gdg-search-fadeout-slyseh9{from{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}to{-webkit-transform:translateX(400px);-ms-transform:translateX(400px);transform:translateX(400px);}}@keyframes gdg-search-fadeout-slyseh9{from{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}to{-webkit-transform:translateX(400px);-ms-transform:translateX(400px);transform:translateX(400px);}}@-webkit-keyframes gdg-search-fadein-slyseh9{from{-webkit-transform:translateX(400px);-ms-transform:translateX(400px);transform:translateX(400px);}to{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}}@keyframes gdg-search-fadein-slyseh9{from{-webkit-transform:translateX(400px);-ms-transform:translateX(400px);transform:translateX(400px);}to{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbG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sYXk6IGZsZXg7XG4gICAgfVxuXG4gICAgLmdkZy1zZWFyY2gtc3RhdHVzIHtcbiAgICAgICAgcGFkZGluZy10b3A6IDRweDtcbiAgICAgICAgZm9udC1zaXplOiAxMXB4O1xuICAgIH1cblxuICAgIC5nZGctc2VhcmNoLXByb2dyZXNzIHtcbiAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgICBoZWlnaHQ6IDRweDtcbiAgICAgICAgbGVmdDogMDtcbiAgICAgICAgYm90dG9tOiAwO1xuXG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigtLWdkZy10ZXh0LWxpZ2h0KTtcbiAgICB9XG5cbiAgICBpbnB1dCB7XG4gICAgICAgIHdpZHRoOiAyMjBweDtcbiAgICAgICAgY29sb3I6IHZhcigtLWdkZy10ZXh0RGFyayk7XG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigtLWdkZy1iZy1jZWxsKTtcbiAgICAgICAgYm9yZGVyOiBub25lO1xuICAgICAgICBib3JkZXItd2lkdGg6IDA7XG4gICAgICAgIG91dGxpbmU6IG5vbmU7XG4gICAgfVxuXG4gICAgYnV0dG9uIHtcbiAgICAgICAgd2lkdGg6IDI0cHg7XG4gICAgICAgIGhlaWdodDogMjRweDtcbiAgICAgICAgcGFkZGluZzogMDtcblxuICAgICAgICBib3JkZXI6IG5vbmU7XG4gICAgICAgIG91dGxpbmU6IG5vbmU7XG4gICAgICAgIGJhY2tncm91bmQ6IG5vbmU7XG5cbiAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIGN1cnNvcjogcG9pbnRlcjtcbiAgICAgICAgY29sb3I6IHZhcigtLWdkZy10ZXh0LW1lZGl1bSk7XG5cbiAgICAgICAgOmhvdmVyIHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoLS1nZGctdGV4dC1kYXJrKTtcbiAgICAgICAgfVxuXG4gICAgICAgIC5idXR0b24taWNvbiB7XG4gICAgICAgICAgICB3aWR0aDogMTZweDtcbiAgICAgICAgICAgIGhlaWdodDogMTZweDtcbiAgICAgICAgfVxuXG4gICAgICAgIDpkaXNhYmxlZCB7XG4gICAgICAgICAgICBvcGFjaXR5OiAwLjQ7XG4gICAgICAgICAgICBwb2ludGVyLWV2ZW50czogbm9uZTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIEBrZXlmcmFtZXMgZ2RnLXNlYXJjaC1mYWRlb3V0IHtcbiAgICAgICAgZnJvbSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMCk7XG4gICAgICAgIH1cbiAgICAgICAgdG8ge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDQwMHB4KTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIEBrZXlmcmFtZXMgZ2RnLXNlYXJjaC1mYWRlaW4ge1xuICAgICAgICBmcm9tIHtcbiAgICAgICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCg0MDBweCk7XG4gICAgICAgIH1cbiAgICAgICAgdG8ge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDApO1xuICAgICAgICB9XG4gICAgfVxuYDsiXX0=*/\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../node_modules/@linaria/webpack5-loader/lib/outputCssLoader.js?cacheProvider=!./group-rename.tsx\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../node_modules/@linaria/webpack5-loader/lib/outputCssLoader.js?cacheProvider=!./group-rename.tsx\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/@linaria/webpack5-loader/lib/outputCssLoader.js?cacheProvider=!./data-grid-container.tsx\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/@linaria/webpack5-loader/lib/outputCssLoader.js?cacheProvider=!./data-grid-container.tsx\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/@linaria/webpack5-loader/lib/outputCssLoader.js?cacheProvider=!./data-grid-search-style.tsx\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/@linaria/webpack5-loader/lib/outputCssLoader.js?cacheProvider=!./data-grid-search-style.tsx\";\n export default content && content.locals ? content.locals : undefined;\n"],"names":["styled","SearchWrapper","name","class","propsAsIs","React","GridCellKind","ScrollingDataGrid","assert","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","upArrow","className","viewBox","children","fill","stroke","strokeLinecap","strokeLinejoin","strokeWidth","d","downArrow","closeX","targetSearchTimeMS","DataGridSearch","p","canvasRef","cellYOffset","rows","columns","searchInputRef","searchValue","searchResults","searchResultsIn","onSearchValueChange","getCellsForSelection","onSearchResultsChanged","showSearch","onSearchClose","searchID","useState","Math","round","random","searchStringInner","setSearchStringInner","searchString","setSearchString","useCallback","newVal","searchStatus","setSearchStatus","searchStatusRef","useRef","current","useEffect","undefined","length","cv","_cv$selectedIndex","rowsSearched","results","selectedIndex","abortControllerRef","AbortController","searchHandle","searchResultsInner","setSearchResultsInner","cancelSearch","window","cancelAnimationFrame","abort","cellYOffsetRef","beginSearch","str","regex","RegExp","replace","startY","searchStride","min","runningResult","tick","_searchStatusRef$curr","_searchStatusRef$curr2","tStart","performance","now","rowsLeft","data","x","y","width","height","signal","added","row","entries","col","cell","testString","kind","Text","Number","displayData","Uri","Markdown","Boolean","toString","Image","Bubble","join","Custom","copyData","test","push","tEnd","tElapsed","rounded","max","scalar","ceil","requestAnimationFrame","onClose","_canvasRef$current","focus","onSearchChange","event","target","value","preventScroll","onNext","ev","_ev$stopPropagation","stopPropagation","call","newIndex","onPrev","_ev$stopPropagation2","onSearchKeyDown","ctrlKey","metaKey","nativeEvent","code","key","preventDefault","shiftKey","isAnimatingOut","setIsAnimatingOut","timeoutId","setTimeout","clearTimeout","searchbox","useMemo","_searchStatus$rowsSea","_searchStatus$results","_searchStatus$results2","resultString","cancelEvent","rowsSearchedProgress","floor","progressStyle","onMouseDown","onMouseMove","onMouseUp","onClick","id","ref","onChange","tabIndex","onKeyDownCapture","disabled","style","htmlFor","prelightCells","accessibilityHeight","cellXOffset","clientSize","disabledRows","enableGroups","fillHandle","firstColAccessible","nonGrowWidth","fixedShadowX","fixedShadowY","freezeColumns","getCellContent","getCellRenderer","getGroupDetails","getRowThemeOverride","groupHeaderHeight","headerHeight","highlightRegions","imageWindowLoader","initialSize","isFilling","isFocused","lockColumns","maxColumnWidth","minColumnWidth","onHeaderMenuClick","onVisibleRegionChanged","overscrollX","overscrollY","preventDiagonalScrolling","rightElement","rightElementProps","rowHeight","scrollRef","selection","theme","freezeTrailingRows","hasAppendRow","translateX","translateY","verticalBorder","onColumnProposeMove","drawFocusRing","drawCell","drawHeader","experimental","gridRef","headerIcons","isDraggable","onCanvasBlur","onCanvasFocused","onCellFocused","onColumnMoved","onColumnResize","onColumnResizeEnd","onColumnResizeStart","onContextMenu","onDragEnd","onDragLeave","onDragOverCell","onDragStart","onDrop","onItemHovered","onKeyDown","onKeyUp","onRowMoved","smoothScrollX","smoothScrollY","ClickOutsideContainer","_exp","targetHeight","RenameInput","vars","GroupRename","bounds","group","canvasBounds","onFinish","setValue","position","left","top","onClickOutside","onBlur","onFocus","e","setSelectionRange","autoFocus","displayName","isSizedGridColumn","resolveCellsThunk","defaultSize","measureCell","ctx","_r$measure","_r$measure2","r","measure","measureColumn","c","colIndex","selectedData","removeOutliers","sizes","map","sum","size","average","i","measureText","title","icon","final","useColumnSizer","clientWidth","abortController","rowsRef","getCellsForSelectionRef","themeRef","canvas","offscreen","document","createElement","getContext","alpha","useLayoutEffect","documentElement","append","remove","memoMap","lastColumns","setSelectionData","getCells","every","computeRows","tailRows","computeArea","tailComputeArea","fn","getResult","tailGetResult","toSet","getRaw","font","baseFontFull","result","totalWidth","totalGrow","distribute","grow","writeable","extra","remaining","di","_result$i$grow","weighted","toAdd","growOffset","sizedColumns","browserIsOSX","checkKey","args","startsWith","keycode","parseInt","slice","keyCode","toUpperCase","codePointAt","isHotkey","hotkey","details","isHotkeyInner","didMatch","includes","parts","split","part","wantCtrl","wantShift","wantAlt","wantMeta","pop","accel","altKey","CompactSelection","useSelectionBehavior","gridSelection","setGridSelection","rangeBehavior","columnBehavior","rowBehavior","rangeSelect","setCurrent","expand","trigger","_gridSelection$curren","_gridSelection$curren2","range","rangeMixable","allowColumnCoSelect","allowRowCoSelect","rangeStack","empty","addLastRange","setSelectedRows","newRows","allowMixed","_newRows","add","rangeMixed","columnMixed","setSelectedColumns","newCols","_newCols","rowMixed","useCellsForSelection","getCellsForSelectionIn","rowMarkerOffset","getCellsForSelectionDirectWhenValid","rect","_getCellsForSelection","Loading","allowOverlay","getCellsForSelectionDirect","getCellsForSelectionMangled","newRect","toCss","innerWidth","_exp2","innerHeight","Wrapper","DataEditorContainer","inWidth","inHeight","rest","maxPxPerMs","msToFullSpeed","useAutoscroll","scrollDirection","onScroll","speedScalar","xDir","yDir","cancelled","lastTime","scrollFn","curTime","_scrollRef$current","step","motion","scrollBy","getDataEditorTheme","useRemAdjuster","_ref","rowHeightIn","headerHeightIn","groupHeaderHeightIn","themeIn","overscrollXIn","overscrollYIn","scaleToRem","remSize","_themeIn$headerIconSi","_themeIn$cellHorizont","_themeIn$cellVertical","scaler","rh","bt","n","headerIconSize","cellHorizontalPadding","cellVerticalPadding","assertNever","maybe","clamp","uniq","flatten","debounce","isEditableGridCell","isReadWriteCell","InnerGridCellKind","isInnerOnlyCell","isObjectEditorCallbackResult","makeCSSStyle","ThemeContext","mergeAndRealizeTheme","getScrollBarWidth","useEventListener","useStateWithReactiveInput","whenDefined","isGroupEqual","itemsAreEqual","itemIsInRect","gridSelectionHasItem","getFreezeTrailingHeight","unquote","expandSelection","copyToClipboard","toggleBoolean","decodeHTML","withAlpha","combineRects","getClosestRect","pointInRect","groupHeaderKind","outOfBoundsKind","headerKind","mouseEventArgsAreEqual","useKeybindingsWithDefaults","DataGridOverlayEditor","lazy","idCounter","getSpanStops","cells","filter","span","_c$span$","_c$span","_c$span$2","_c$span2","shiftSelection","input","offset","loadingCell","emptyGridSelection","DataEditorImpl","forwardedRef","_rowMarkersObj$kind","_rowMarkersObj$width","_ref2","_rowMarkersObj$startI","_rowMarkersObj$theme","_rowMarkersObj$checkb","_visibleRegion$height","_visibleRegion$width","_gridSelection$curren5","_gridSelectionOuter$c","_gridSelectionOuter$c2","gridSelectionInner","setGridSelectionInner","overlay","setOverlay","mouseState","setMouseState","lastSent","safeWindow","imageEditorOverride","markdownDivCreateNode","columnsIn","onCellClicked","onCellActivated","onFillPattern","onFinishedEditing","coercePasteValue","drawHeaderIn","drawCellIn","editorBloom","onHeaderClicked","spanRangeBehavior","onGroupHeaderClicked","onCellContextMenu","onHeaderContextMenu","onGroupHeaderContextMenu","onGroupHeaderRenamed","onCellEdited","onCellsEdited","onSearchResultsChangedIn","onKeyDownIn","onKeyUpIn","keybindings","keybindingsIn","onRowAppended","validateCell","validateCellIn","highlightRegionsIn","columnSelect","rowSelect","rangeSelectionBlending","columnSelectionBlending","rowSelectionBlending","onDelete","onDeleteIn","onPaste","copyHeaders","cellActivationBehavior","rowSelectionMode","onSearchCloseIn","onSelectionCleared","showSearchIn","gridSelectionOuter","onGridSelectionChange","minColumnWidthIn","maxColumnWidthIn","maxColumnAutoWidth","maxColumnAutoWidthIn","provideEditor","trailingRowOptions","allowedFillDirections","scrollOffsetX","scrollOffsetY","onColumnResizeIn","onColumnResizeEndIn","onColumnResizeStartIn","customRenderers","additionalRenderers","trapFocus","isOutsideClick","renderers","rowMarkersObj","rowMarkers","rowMarkerWidthRaw","rowMarkerWidth","rowMarkerStartIndex","startIndex","rowMarkerTheme","rowMarkerCheckboxStyle","checkboxStyle","docStyle","fontSize","getComputedStyle","parseFloat","hasRowMarkers","showTrailingBlankRow","lastRowSticky","sticky","showSearchInner","setShowSearchInner","gridSelectionOuterMangled","getCellsForSeletionDirect","newValue","prevValue","item","expectedExternalGridSelection","_","w","ind","wg","draw","_drawHeaderIn","columnIndex","_drawCellIn","sel","mergedTheme","setClientSize","rendererMap","find","isMatch","some","totalHeaderHeight","numSelectedRows","rowMarkerChecked","mangledCols","hasMenu","themeOverride","rowMarker","visibleRegionY","visibleRegionTy","visibleRegionRef","visibleRegionInput","_visibleRegionRef$cur","_visibleRegionRef$cur2","ty","hasJustScrolled","visibleRegion","setVisibleRegion","vScrollReady","scrollTop","hScrollReady","scrollLeft","immediate","_gridRef$current","_gridRef$current2","mangledRows","mangledOnCellsEdited","items","mangledItems","location","fillHighlightRegion","setFillHighlightRegion","highlightRange","regions","maxWidth","color","accentColor","mangledColsRef","getMangledCellContent","_ref3","forceStrict","arguments","isTrailing","isRowMarkerCol","Marker","checked","hasIndex","markerKind","drawHandle","cursor","_trailingRowOptions$h","_c$trailingRowOptions","isFirst","maybeFirstColumnHint","hint","_c$trailingRowOptions2","_c$trailingRowOptions3","_c$trailingRowOptions4","_c$trailingRowOptions5","addIcon","NewRow","outerCol","strict","_vr$extras","_vr$extras2","_vr$extras3","vr","isOutsideMainArea","isSelected","extras","selected","isInFreezeArea","freezeRegions","fr","mangledGetGroupDetails","_getGroupDetails","_result$actions","overrideTheme","actions","setRenameGroup","setOverlaySimple","val","_mangledGetGroupDetai","column","groupTheme","colTheme","rowTheme","content","reselect","fromKeyboard","initialValue","isNaN","highlight","forceEditMode","readonly","_gridRef$current3","damage","focusOnRowFromTrailingBlankRow","_gridRef$current4","getBounds","scrollTo","dir","paddingX","paddingY","options","grid","trueCol","unit","amount","trueRow","desiredX","desiredY","targetRect","scrollX","scrollY","_grid$getBounds","scrollBounds","getBoundingClientRect","scale","offsetWidth","frozenWidth","trailingRowHeight","freezeTrailingRowsEffective","sLeft","sRight","right","sTop","sBottom","bottom","minx","hAlign","miny","vAlign","focusCallback","getCellContentRef","appendRow","_c$trailingRowOptions6","openOverlay","appendResult","backoff","doFocus","scrollToRef","getCustomNewRowTargetColumn","_columns$col$trailing","_columns$col","customTargetColumn","targetColumn","customTargetOffset","maybeIndex","indexOf","lastSelectedRowRef","lastSelectedColRef","themeForCell","pos","_mangledCols$col","handleSelect","isMultiKey","isMultiRow","isMultiCol","selectedColumns","selectedRows","cellCol","cellRow","lastMouseSelectLocation","markerCell","_renderer$onClick","renderer","postClick","posX","localEventX","posY","localEventY","lastHighlighted","isLongTouch","newSlice","fromSingleSelection","isTouch","_gridSelection$curren3","onSelect","prevented","isLastStickyRow","startedFromLastSticky","lastCol","isMaybeScrollbar","isActivelyDraggingHeader","touchDownArgs","mouseDownData","isPrevented","button","time","fh","isFillHandle","isEdge","previousSelection","renameGroup","handleGroupHeaderSelection","needle","start","end","hasAll","index","normalSizeColumn","inputCol","newCol","scrollDir","setScrollDir","fillPattern","currentSelection","_previousSelection$cu","_gridRef$current5","patternRange","currentRange","canceled","fillDestination","patternSource","pattern","editItemList","patternCell","fillRight","firstColSelection","fillDown","firstRowSelection","isOutside","_mouse$previousSelect","_lastMouseSelectLocat","mouse","newRange","lastMouseDownCol","lastMouseDownRow","handleMaybeClick","a","isValidClick","_c$activationBehavior","_gridRef$current6","shouldActivate","activationBehaviorOverride","_mouse$previousSelect2","selectedCol","selectedRow","prevCol","prevRow","isClickOnSelected","isDoubleClick","clickLocation","touchVr","_gridSelection$curren4","onMouseMoveImpl","buttons","_mouseDownData$curren","_mouseDownData$curren2","scrollEdge","onHeaderMenuClickInner","screenPosition","currentCell","onVisibleRegionChangedImpl","region","clientHeight","rightElWidth","tx","freezeRegion","newRegion","onColumnMovedImpl","endIndex","isActivelyDragging","onDragStartImpl","defaultPrevented","hoveredRef","onItemHoveredImpl","_mouseDownData$curren3","_mouseDownData$curren4","_mouseState$previousS","prevRange","startedFromLastStickyRow","landedOnLastStickyRow","deltaX","deltaY","abs","adjustSelectionOnScroll","visible","_visible$extras$freez","_visible$extras","adjustSelection","direction","old","disallowed","done","updateSelectedCell","fromEditingTrailingRow","freeMove","rowMax","newStack","onFinishEditing","movement","_gridRef$current7","movX","movY","isEditingTrailingRow","overlayID","deleteRange","_gridRef$current8","editList","cellValue","_toDelete$provideEdit","toDelete","editor","_editor$deletedValue","deletedValue","_toDelete$onDelete","overlayOpen","handleFixedKeybindings","cancel","keys","clear","selectAll","_gridSelection$curren6","_gridSelection$curren7","search","_searchInputRef$curre","delete","_onDelete","callbackResult","cancelOnlyOnMove","scrollToSelectedCell","selectColumn","selectRow","activateCell","downFill","rightFill","goToNextPage","goToPreviousPage","goToFirstCell","goToLastCell","MAX_SAFE_INTEGER","selectToFirstCell","selectToLastCell","goDownCell","goUpCell","goRightCell","goLeftCell","goDownCellRetainSelection","goUpCellRetainSelection","goRightCellRetainSelection","goLeftCellRetainSelection","goToLastRow","goToFirstRow","MIN_SAFE_INTEGER","goToLastColumn","goToFirstColumn","selectGrowDown","selectGrowUp","selectGrowRight","selectGrowLeft","selectToLastRow","selectToFirstRow","selectToLastColumn","selectToFirstColumn","closeOverlay","acceptOverlayDown","acceptOverlayUp","acceptOverlayLeft","acceptOverlayRight","moved","adjustedCol","onPasteInternal","paste","pasteToCell","inner","rawValue","formatted","_rawValue$join","_rawValue$toString","stringifiedRawValue","coerced","process","env","NODE_ENV","console","warn","_onPaste","_ref4","_r$onPaste","formattedString","focused","contains","activeElement","_selectedColumns$firs","first","_selectedRows$first","_gridRef$current9","text","textPlain","textHtml","navigator","clipboard","read","clipboardContent","types","htmlBlob","getType","html","decoded","readText","clipboardData","getData","targetCol","targetRow","_ref5","_text","_data","cellData","cb","_cb$rawValue$toString","_cb$rawValue","dataRow","dataItem","writeCol","writeRow","onCopy","ignoreFocus","_scrollRef$current2","_canvasRef$current2","copy","copyToClipboardWithHeaders","columnIndexes","headers","thunk","toCopy","rowIndex","then","v","Promise","settled","all","cols","reduce","pv","onCut","_scrollRef$current3","_canvasRef$current3","cut","effectiveSelection","onDeleteResult","navIndex","outCol","outRow","_expectedExternalGrid","_expectedExternalGrid2","selectionOutOfBounds","tint","mangledVerticalBorder","_verticalBorder","renameGroupNode","mangledFreezeColumns","useImperativeHandle","updateCells","damageList","_gridRef$current10","_gridRef$current11","scrollWidth","scrollHeight","_gridRef$current12","emit","rawEvent","remeasureColumns","selCol","selRow","setIsFocused","setIsFocusedDebounced","onFocusOut","idealWidth","idealHeight","_experimental$scrollb","h","scrollbarWidth","scrollbarWidthOverride","rowsCountWithTrailingRow","avg","toAverage","acc","cssStyle","Provider","Suspense","fallback","bloom","isSubGrid","DataEditor","forwardRef","iconHead","headerRowID","props","fg","fgColor","bg","bgColor","headerCode","headerNumber","headerString","headerBoolean","headerUri","renameIcon","headerAudioUri","headerVideoUri","headerEmoji","headerImage","headerPhone","headerMarkdown","headerDate","headerTime","headerEmail","headerReference","headerIfThenElse","headerSingleValue","headerLookup","headerTextTemplate","headerMath","headerRollup","headerJoinStrings","headerSplitString","headerGeoDistance","headerArray","rowOwnerOverlay","protectedColumnOverlay","sprites","AllCellRenderers","ImageWindowLoaderImpl","DataEditorAllImpl","allSprites","_p$imageWindowLoader","DataEditorAll","useDeepMemo","keybindingDefaults","realizeKeybind","keybind","defaultVal","realizeKeybinds","keybinds","isOSX","_keys$goToNextPage","_keys$goToPreviousPag","_keys$goToFirstCell","_keys$goToLastCell","_keys$selectToFirstCe","_ref6","_keys$selectToLastCel","withBackCompatApplied","pageDown","pageUp","last","PureComponent","constructor","wrapperRef","createRef","clickOutside","node","classList","parentElement","componentDidMount","addEventListener","componentWillUnmount","removeEventListener","render"],"sourceRoot":""} \ No newline at end of file diff --git a/docs/7413.c799f4e2.iframe.bundle.js.map b/docs/7413.c799f4e2.iframe.bundle.js.map deleted file mode 100644 index 3b2712e18..000000000 --- a/docs/7413.c799f4e2.iframe.bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"7413.c799f4e2.iframe.bundle.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAwC;AAEjC,MAAMC,aAAa,gBAAGD,sBAAM;EAAAE,IAAA;EAAAC,KAAA;EAAAC,SAAA;AAAA,EA6FlC;;;;;;AC9F8B;AAOU;AACsE;AACnD;AACX;AAAA;AAAA;AAAA;AAGjD,MAAMW,OAAO,GACTL,mBAAA;EAAKM,SAAS,EAAC,aAAa;EAACC,OAAO,EAAC,aAAa;EAAAC,QAAA,EAC9CR,mBAAA;IACIS,IAAI,EAAC,MAAM;IACXC,MAAM,EAAC,cAAc;IACrBC,aAAa,EAAC,OAAO;IACrBC,cAAc,EAAC,OAAO;IACtBC,WAAW,EAAC,IAAI;IAChBC,CAAC,EAAC;EAAsC,CAC3C;AAAC,CACD,CACR;AACD,MAAMC,SAAS,GACXf,mBAAA;EAAKM,SAAS,EAAC,aAAa;EAACC,OAAO,EAAC,aAAa;EAAAC,QAAA,EAC9CR,mBAAA;IACIS,IAAI,EAAC,MAAM;IACXC,MAAM,EAAC,cAAc;IACrBC,aAAa,EAAC,OAAO;IACrBC,cAAc,EAAC,OAAO;IACtBC,WAAW,EAAC,IAAI;IAChBC,CAAC,EAAC;EAAsC,CAC3C;AAAC,CACD,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4BAA4B,qGAAmB;AAC/C,wBAAwB,kHAAa;;AAErC,uBAAuB,uGAAa;AACpC;AACA,iBAAiB,+FAAM;AACvB,6BAA6B,sGAAkB;;AAE/C,aAAa,0GAAG,CAAC,wMAAO;;;;AAIiL;AACzM,OAAO,iEAAe,wMAAO,IAAI,sNAAc,GAAG,sNAAc,YAAY,EAAC;;;;;;;;;;;;;;;;;;;;;;;;;;ACzB7E,MAA2G;AAC3G,MAAiG;AACjG,MAAwG;AACxG,MAA2H;AAC3H,MAAoH;AACpH,MAAoH;AACpH,MAAoP;AACpP;AACA;;AAEA;;AAEA,4BAA4B,qGAAmB;AAC/C,wBAAwB,kHAAa;;AAErC,uBAAuB,uGAAa;AACpC;AACA,iBAAiB,+FAAM;AACvB,6BAA6B,sGAAkB;;AAE/C,aAAa,0GAAG,CAAC,+MAAO;;;;AAI8L;AACtN,OAAO,iEAAe,+MAAO,IAAI,6NAAc,GAAG,6NAAc,YAAY,EAAC;;;;;;;;;;;;;;;;;;;;;;;;;;ACzB7E,MAA2G;AAC3G,MAAiG;AACjG,MAAwG;AACxG,MAA2H;AAC3H,MAAoH;AACpH,MAAoH;AACpH,MAAuP;AACvP;AACA;;AAEA;;AAEA,4BAA4B,qGAAmB;AAC/C,wBAAwB,kHAAa;;AAErC,uBAAuB,uGAAa;AACpC;AACA,iBAAiB,+FAAM;AACvB,6BAA6B,sGAAkB;;AAE/C,aAAa,0GAAG,CAAC,kNAAO;;;;AAIiM;AACzN,OAAO,iEAAe,kNAAO,IAAI,gOAAc,GAAG,gOAAc,YAAY,EAAC","sources":["webpack://root/./packages/core/src/internal/data-grid-search/data-grid-search-style.tsx","webpack://root/./packages/core/src/internal/data-grid-search/data-grid-search.tsx","webpack://root/./packages/core/src/data-editor/group-rename.tsx","webpack://root/./packages/core/src/data-editor/use-column-sizer.ts","webpack://root/./packages/core/src/common/is-hotkey.ts","webpack://root/./packages/core/src/internal/data-grid/use-selection-behavior.ts","webpack://root/./packages/core/src/data-editor/use-cells-for-selection.ts","webpack://root/./packages/core/src/internal/data-editor-container/data-grid-container.tsx","webpack://root/./packages/core/src/data-editor/use-autoscroll.ts","webpack://root/./packages/core/src/data-editor/use-rem-adjuster.ts","webpack://root/./packages/core/src/data-editor/data-editor.tsx","webpack://root/./packages/core/src/internal/data-grid/sprites.ts","webpack://root/./packages/core/src/data-editor-all.tsx","webpack://root/./packages/core/src/data-editor/data-editor-keybindings.ts","webpack://root/./packages/core/src/internal/click-outside-container/click-outside-container.tsx","webpack://root/./packages/core/src/data-editor/group-rename.tsx?6c24","webpack://root/./packages/core/src/internal/data-editor-container/data-grid-container.tsx?a6bd","webpack://root/./packages/core/src/internal/data-grid-search/data-grid-search-style.tsx?33fb","webpack://root/./packages/core/src/data-editor/group-rename.tsx?b8fe","webpack://root/./packages/core/src/internal/data-editor-container/data-grid-container.tsx?0e90","webpack://root/./packages/core/src/internal/data-grid-search/data-grid-search-style.tsx?183f"],"sourcesContent":["import { styled } from \"@linaria/react\";\n\nexport const SearchWrapper = styled.div`\n position: absolute;\n top: 4px;\n right: 20px;\n\n background-color: var(--gdg-bg-cell);\n color: var(--gdg-text-dark);\n\n padding: 8px;\n border: 1px solid var(--gdg-border-color);\n border-radius: 6px;\n\n font-size: var(--gdg-editor-font-size);\n\n &.out {\n animation: gdg-search-fadeout 0.15s forwards;\n }\n animation: gdg-search-fadein 0.15s forwards;\n\n .gdg-search-bar-inner {\n display: flex;\n }\n\n .gdg-search-status {\n padding-top: 4px;\n font-size: 11px;\n }\n\n .gdg-search-progress {\n position: absolute;\n height: 4px;\n left: 0;\n bottom: 0;\n\n background-color: var(--gdg-text-light);\n }\n\n input {\n width: 220px;\n color: var(--gdg-textDark);\n background-color: var(--gdg-bg-cell);\n border: none;\n border-width: 0;\n outline: none;\n }\n\n button {\n width: 24px;\n height: 24px;\n padding: 0;\n\n border: none;\n outline: none;\n background: none;\n\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n color: var(--gdg-text-medium);\n\n :hover {\n color: var(--gdg-text-dark);\n }\n\n .button-icon {\n width: 16px;\n height: 16px;\n }\n\n :disabled {\n opacity: 0.4;\n pointer-events: none;\n }\n }\n\n @keyframes gdg-search-fadeout {\n from {\n transform: translateX(0);\n }\n to {\n transform: translateX(400px);\n }\n }\n\n @keyframes gdg-search-fadein {\n from {\n transform: translateX(400px);\n }\n to {\n transform: translateX(0);\n }\n }\n`;\n","/* eslint-disable unicorn/consistent-destructuring */\nimport * as React from \"react\";\nimport {\n type CellArray,\n type GetCellsThunk,\n GridCellKind,\n type Item,\n type Rectangle,\n} from \"../data-grid/data-grid-types.js\";\nimport ScrollingDataGrid, { type ScrollingDataGridProps } from \"../scrolling-data-grid/scrolling-data-grid.js\";\nimport { SearchWrapper } from \"./data-grid-search-style.js\";\nimport { assert } from \"../../common/support.js\";\n\n// icons\nconst upArrow = (\n \n \n \n);\nconst downArrow = (\n \n \n \n);\n\nconst closeX = (\n \n \n \n);\n\nexport interface DataGridSearchProps extends Omit {\n readonly getCellsForSelection?: (selection: Rectangle, abortSignal: AbortSignal) => GetCellsThunk | CellArray;\n\n /**\n * The search results to display. If not provided glide will use its own internal search provider.\n */\n readonly searchResults?: readonly Item[];\n\n /**\n * Emitted whenever the search results for the current search field changes.\n * @param results The new search results\n * @param navIndex The currents selected search result\n */\n readonly onSearchResultsChanged?: (results: readonly Item[], navIndex: number) => void;\n /**\n * Controls the visibility of the search overlay.\n * @group Search\n */\n readonly showSearch?: boolean;\n /**\n * Emitted when the search window close event is triggered.\n * @group Search\n */\n readonly onSearchClose?: () => void;\n /**\n * The current search value.\n * @group Search\n */\n readonly searchValue?: string;\n /**\n * Emitted when the search value changes.\n * @group Search\n * @param newVal The new search value\n */\n readonly onSearchValueChange?: (newVal: string) => void;\n readonly searchInputRef: React.MutableRefObject;\n}\n\nconst targetSearchTimeMS = 10;\n\nconst DataGridSearch: React.FunctionComponent = p => {\n const {\n canvasRef,\n cellYOffset,\n rows,\n columns,\n searchInputRef,\n searchValue,\n searchResults: searchResultsIn,\n onSearchValueChange,\n getCellsForSelection,\n onSearchResultsChanged,\n showSearch = false,\n onSearchClose,\n } = p;\n\n const [searchID] = React.useState(() => \"search-box-\" + Math.round(Math.random() * 1000));\n\n const [searchStringInner, setSearchStringInner] = React.useState(\"\");\n const searchString = searchValue ?? searchStringInner;\n\n // always emit both, this allows the user to spy on the search value without controlling it.\n const setSearchString = React.useCallback(\n (newVal: string) => {\n setSearchStringInner(newVal);\n onSearchValueChange?.(newVal);\n },\n [onSearchValueChange]\n );\n\n const [searchStatus, setSearchStatus] = React.useState<{\n rowsSearched: number;\n results: number;\n selectedIndex: number;\n }>();\n\n const searchStatusRef = React.useRef(searchStatus);\n searchStatusRef.current = searchStatus;\n React.useEffect(() => {\n if (searchResultsIn === undefined) return;\n if (searchResultsIn.length > 0) {\n setSearchStatus(cv => ({\n rowsSearched: rows,\n results: searchResultsIn.length,\n selectedIndex: cv?.selectedIndex ?? -1,\n }));\n } else {\n setSearchStatus(undefined);\n }\n }, [rows, searchResultsIn]);\n\n const abortControllerRef = React.useRef() as React.MutableRefObject;\n if (abortControllerRef.current === undefined) abortControllerRef.current = new AbortController();\n\n const searchHandle = React.useRef();\n const [searchResultsInner, setSearchResultsInner] = React.useState([]);\n const searchResults = searchResultsIn ?? searchResultsInner;\n\n const cancelSearch = React.useCallback(() => {\n if (searchHandle.current !== undefined) {\n window.cancelAnimationFrame(searchHandle.current);\n searchHandle.current = undefined;\n abortControllerRef.current.abort();\n }\n }, []);\n\n const cellYOffsetRef = React.useRef(cellYOffset);\n cellYOffsetRef.current = cellYOffset;\n const beginSearch = React.useCallback(\n (str: string) => {\n const regex = new RegExp(str.replace(/([$()*+.?[\\\\\\]^{|}-])/g, \"\\\\$1\"), \"i\");\n\n let startY = cellYOffsetRef.current;\n\n // Lets assume we can do 10 rows at a time\n // This is usually very safe and limits the damage for bad\n // performing sheets.\n let searchStride = Math.min(10, rows);\n\n let rowsSearched = 0;\n\n setSearchStatus(undefined);\n setSearchResultsInner([]);\n\n const runningResult: [number, number][] = [];\n\n const tick = async () => {\n if (getCellsForSelection === undefined) return;\n const tStart = performance.now();\n const rowsLeft = rows - rowsSearched;\n let data = getCellsForSelection(\n {\n x: 0,\n y: startY,\n width: columns.length,\n height: Math.min(searchStride, rowsLeft, rows - startY),\n },\n abortControllerRef.current.signal\n );\n\n if (typeof data === \"function\") {\n data = await data();\n }\n\n let added = false;\n for (const [row, d] of data.entries()) {\n for (const [col, cell] of d.entries()) {\n let testString: string | undefined;\n switch (cell.kind) {\n case GridCellKind.Text:\n case GridCellKind.Number:\n testString = cell.displayData;\n break;\n case GridCellKind.Uri:\n case GridCellKind.Markdown:\n testString = cell.data;\n break;\n case GridCellKind.Boolean:\n testString = typeof cell.data === \"boolean\" ? cell.data.toString() : undefined;\n break;\n case GridCellKind.Image:\n case GridCellKind.Bubble:\n // I know its lazy, but unless someone is actually\n // searching for the whale emoji, this is pretty side effect\n // free. And ya know... it's nice and easy to do...\n testString = cell.data.join(\"🐳\");\n break;\n case GridCellKind.Custom:\n testString = cell.copyData;\n break;\n }\n\n if (testString !== undefined && regex.test(testString)) {\n runningResult.push([col, row + startY]);\n added = true;\n }\n }\n }\n\n const tEnd = performance.now();\n\n if (added) {\n setSearchResultsInner([...runningResult]);\n }\n\n rowsSearched += data.length;\n assert(rowsSearched <= rows);\n\n const selectedIndex = searchStatusRef.current?.selectedIndex ?? -1;\n setSearchStatus({\n results: runningResult.length,\n rowsSearched,\n selectedIndex,\n });\n onSearchResultsChanged?.(runningResult, selectedIndex);\n\n if (startY + searchStride >= rows) {\n startY = 0;\n } else {\n startY += searchStride;\n }\n\n const tElapsed = tEnd - tStart;\n const rounded = Math.max(tElapsed, 1);\n\n const scalar = targetSearchTimeMS / rounded;\n searchStride = Math.ceil(searchStride * scalar);\n\n if (rowsSearched < rows && runningResult.length < 1000) {\n searchHandle.current = window.requestAnimationFrame(tick);\n }\n };\n\n cancelSearch();\n searchHandle.current = window.requestAnimationFrame(tick);\n },\n [cancelSearch, columns.length, getCellsForSelection, onSearchResultsChanged, rows]\n );\n\n const onClose = React.useCallback(() => {\n onSearchClose?.();\n setSearchStatus(undefined);\n setSearchResultsInner([]);\n onSearchResultsChanged?.([], -1);\n cancelSearch();\n canvasRef?.current?.focus();\n }, [cancelSearch, canvasRef, onSearchClose, onSearchResultsChanged]);\n\n const onSearchChange = React.useCallback(\n (event: React.ChangeEvent) => {\n setSearchString(event.target.value);\n if (searchResultsIn !== undefined) return;\n if (event.target.value === \"\") {\n setSearchStatus(undefined);\n setSearchResultsInner([]);\n cancelSearch();\n } else {\n beginSearch(event.target.value);\n }\n },\n [beginSearch, cancelSearch, setSearchString, searchResultsIn]\n );\n\n React.useEffect(() => {\n if (showSearch && searchInputRef.current !== null) {\n setSearchString(\"\");\n searchInputRef.current.focus({ preventScroll: true });\n }\n }, [showSearch, searchInputRef, setSearchString]);\n\n const onNext = React.useCallback(\n (ev?: React.MouseEvent) => {\n ev?.stopPropagation?.();\n if (searchStatus === undefined) return;\n const newIndex = (searchStatus.selectedIndex + 1) % searchStatus.results;\n setSearchStatus({\n ...searchStatus,\n selectedIndex: newIndex,\n });\n onSearchResultsChanged?.(searchResults, newIndex);\n },\n [searchStatus, onSearchResultsChanged, searchResults]\n );\n\n const onPrev = React.useCallback(\n (ev?: React.MouseEvent) => {\n ev?.stopPropagation?.();\n if (searchStatus === undefined) return;\n let newIndex = (searchStatus.selectedIndex - 1) % searchStatus.results;\n if (newIndex < 0) newIndex += searchStatus.results;\n setSearchStatus({\n ...searchStatus,\n selectedIndex: newIndex,\n });\n onSearchResultsChanged?.(searchResults, newIndex);\n },\n [onSearchResultsChanged, searchResults, searchStatus]\n );\n\n const onSearchKeyDown = React.useCallback(\n (event: React.KeyboardEvent) => {\n if (((event.ctrlKey || event.metaKey) && event.nativeEvent.code === \"KeyF\") || event.key === \"Escape\") {\n onClose();\n event.stopPropagation();\n event.preventDefault();\n } else if (event.key === \"Enter\") {\n if (event.shiftKey) {\n onPrev();\n } else {\n onNext();\n }\n }\n },\n [onClose, onNext, onPrev]\n );\n\n // cancel search if the component is unmounted\n React.useEffect(() => {\n return () => {\n cancelSearch();\n };\n }, [cancelSearch]);\n\n const [isAnimatingOut, setIsAnimatingOut] = React.useState(false);\n\n React.useEffect(() => {\n if (showSearch) {\n setIsAnimatingOut(true);\n } else {\n const timeoutId = setTimeout(() => setIsAnimatingOut(false), 150);\n return () => clearTimeout(timeoutId);\n }\n }, [showSearch]);\n\n const searchbox = React.useMemo(() => {\n if (!showSearch && !isAnimatingOut) {\n return null;\n }\n\n let resultString: string | undefined;\n if (searchStatus !== undefined) {\n resultString =\n searchStatus.results >= 1000\n ? `over 1000`\n : `${searchStatus.results} result${searchStatus.results !== 1 ? \"s\" : \"\"}`;\n if (searchStatus.selectedIndex >= 0) {\n resultString = `${searchStatus.selectedIndex + 1} of ${resultString}`;\n }\n }\n\n const cancelEvent = (ev: React.MouseEvent) => {\n ev.stopPropagation();\n };\n\n const rowsSearchedProgress = Math.floor(((searchStatus?.rowsSearched ?? 0) / rows) * 100);\n const progressStyle: React.CSSProperties = {\n width: `${rowsSearchedProgress}%`,\n };\n\n return (\n \n
\n \n \n {upArrow}\n \n \n {downArrow}\n \n {onSearchClose !== undefined && (\n \n {closeX}\n \n )}\n
\n {searchStatus !== undefined ? (\n <>\n
\n
{resultString}
\n
\n
\n \n ) : (\n
\n \n
\n )}\n \n );\n }, [\n showSearch,\n isAnimatingOut,\n searchStatus,\n rows,\n searchID,\n searchInputRef,\n onSearchChange,\n searchString,\n onSearchKeyDown,\n onPrev,\n onNext,\n onSearchClose,\n onClose,\n ]);\n\n return (\n <>\n \n {searchbox}\n \n );\n};\n\nexport default DataGridSearch;\n","import React from \"react\";\nimport { styled } from \"@linaria/react\";\nimport { css } from \"@linaria/core\";\nimport ClickOutsideContainer from \"../internal/click-outside-container/click-outside-container.js\";\nimport type { Rectangle } from \"../internal/data-grid/data-grid-types.js\";\n\ninterface Props {\n readonly bounds: Rectangle;\n readonly group: string;\n readonly onClose: () => void;\n readonly onFinish: (newVal: string) => void;\n readonly canvasBounds: DOMRect;\n}\n\nconst RenameInput = styled.input<{ targetHeight: number }>`\n flex-grow: 1;\n border: none;\n outline: none;\n background-color: var(--gdg-bg-header-has-focus);\n border-radius: 9px;\n padding: 0 8px;\n box-shadow: 0 0 0 1px var(--gdg-border-color);\n color: var(--gdg-text-group-header);\n min-height: ${p => Math.max(16, p.targetHeight - 10)}px;\n font: var(--gdg-header-font-style) var(--gdg-font-family);\n`;\n\nexport const GroupRename: React.VFC = p => {\n const { bounds, group, onClose, canvasBounds, onFinish } = p;\n\n const [value, setValue] = React.useState(group);\n\n return (\n \n e.target.setSelectionRange(0, value.length)}\n onChange={e => setValue(e.target.value)}\n onKeyDown={e => {\n if (e.key === \"Enter\") {\n onFinish(value);\n } else if (e.key === \"Escape\") {\n onClose();\n }\n }}\n autoFocus={true}\n />\n \n );\n};\n","import * as React from \"react\";\nimport type { FullTheme } from \"../common/styles.js\";\nimport type { DataGridSearchProps } from \"../internal/data-grid-search/data-grid-search.js\";\nimport type { GetCellRendererCallback } from \"../cells/cell-types.js\";\n\nimport {\n type CellArray,\n type GridCell,\n type GridColumn,\n type InnerGridColumn,\n isSizedGridColumn,\n resolveCellsThunk,\n type SizedGridColumn,\n} from \"../internal/data-grid/data-grid-types.js\";\nconst defaultSize = 150;\n\nfunction measureCell(\n ctx: CanvasRenderingContext2D,\n cell: GridCell,\n theme: FullTheme,\n getCellRenderer: GetCellRendererCallback\n): number {\n const r = getCellRenderer(cell);\n return r?.measure?.(ctx, cell, theme) ?? defaultSize;\n}\n\nexport function measureColumn(\n ctx: CanvasRenderingContext2D,\n theme: FullTheme,\n c: GridColumn,\n colIndex: number,\n selectedData: CellArray,\n minColumnWidth: number,\n maxColumnWidth: number,\n removeOutliers: boolean,\n getCellRenderer: GetCellRendererCallback\n): SizedGridColumn {\n let max = 0;\n const sizes: number[] =\n selectedData === undefined\n ? []\n : selectedData.map(row => {\n const r = measureCell(ctx, row[colIndex], theme, getCellRenderer);\n max = Math.max(max, r);\n return r;\n });\n\n if (sizes.length > 5 && removeOutliers) {\n max = 0;\n // Filter out outliers\n let sum = 0;\n for (const size of sizes) {\n sum += size;\n }\n const average = sum / sizes.length;\n // Set sizes that are considered outliers to zero\n for (let i = 0; i < sizes.length; i++) {\n if (sizes[i] >= average * 2) {\n sizes[i] = 0;\n } else {\n max = Math.max(max, sizes[i]);\n }\n }\n }\n max = Math.max(max, ctx.measureText(c.title).width + 16 + (c.icon === undefined ? 0 : 28));\n const final = Math.max(Math.ceil(minColumnWidth), Math.min(Math.floor(maxColumnWidth), Math.ceil(max)));\n\n return {\n ...c,\n width: final,\n };\n}\n\n/** @category Hooks */\nexport function useColumnSizer(\n columns: readonly GridColumn[],\n rows: number,\n getCellsForSelection: DataGridSearchProps[\"getCellsForSelection\"],\n clientWidth: number,\n minColumnWidth: number,\n maxColumnWidth: number,\n theme: FullTheme,\n getCellRenderer: GetCellRendererCallback,\n abortController: AbortController\n): {\n readonly sizedColumns: readonly InnerGridColumn[];\n readonly nonGrowWidth: number;\n} {\n const rowsRef = React.useRef(rows);\n const getCellsForSelectionRef = React.useRef(getCellsForSelection);\n const themeRef = React.useRef(theme);\n rowsRef.current = rows;\n getCellsForSelectionRef.current = getCellsForSelection;\n themeRef.current = theme;\n\n const [canvas, ctx] = React.useMemo(() => {\n if (typeof window === \"undefined\") return [null, null];\n const offscreen = document.createElement(\"canvas\");\n offscreen.style[\"display\"] = \"none\";\n offscreen.style[\"opacity\"] = \"0\";\n offscreen.style[\"position\"] = \"fixed\";\n return [offscreen, offscreen.getContext(\"2d\", { alpha: false })];\n }, []);\n\n React.useLayoutEffect(() => {\n if (canvas) document.documentElement.append(canvas);\n return () => {\n canvas?.remove();\n };\n }, [canvas]);\n\n const memoMap = React.useRef>({});\n\n const lastColumns = React.useRef();\n const [selectedData, setSelectionData] = React.useState();\n\n React.useLayoutEffect(() => {\n const getCells = getCellsForSelectionRef.current;\n if (getCells === undefined || columns.every(isSizedGridColumn)) return;\n let computeRows = Math.max(1, 10 - Math.floor(columns.length / 10_000));\n let tailRows = 0;\n if (computeRows < rowsRef.current && computeRows > 1) {\n computeRows--;\n tailRows = 1;\n }\n\n const computeArea = {\n x: 0,\n y: 0,\n width: columns.length,\n height: Math.min(rowsRef.current, computeRows),\n };\n\n const tailComputeArea = {\n x: 0,\n y: rowsRef.current - 1,\n width: columns.length,\n height: 1,\n };\n const fn = async () => {\n const getResult = getCells(computeArea, abortController.signal);\n const tailGetResult = tailRows > 0 ? getCells(tailComputeArea, abortController.signal) : undefined;\n let toSet: CellArray;\n // eslint-disable-next-line unicorn/prefer-ternary\n if (typeof getResult === \"object\") {\n toSet = getResult;\n } else {\n toSet = await resolveCellsThunk(getResult);\n }\n if (tailGetResult !== undefined) {\n // eslint-disable-next-line unicorn/prefer-ternary\n if (typeof tailGetResult === \"object\") {\n toSet = [...toSet, ...tailGetResult];\n } else {\n toSet = [...toSet, ...(await resolveCellsThunk(tailGetResult))];\n }\n }\n lastColumns.current = columns;\n setSelectionData(toSet);\n };\n void fn();\n }, [abortController.signal, columns]);\n\n return React.useMemo(() => {\n const getRaw = () => {\n if (columns.every(isSizedGridColumn)) {\n return columns;\n }\n\n if (ctx === null) {\n return columns.map(c => {\n if (isSizedGridColumn(c)) return c;\n\n return {\n ...c,\n width: defaultSize,\n };\n });\n }\n\n ctx.font = themeRef.current.baseFontFull;\n\n return columns.map((c, colIndex) => {\n if (isSizedGridColumn(c)) return c;\n\n if (memoMap.current[c.id] !== undefined) {\n return {\n ...c,\n width: memoMap.current[c.id],\n };\n }\n\n if (selectedData === undefined || lastColumns.current !== columns || c.id === undefined) {\n return {\n ...c,\n width: defaultSize,\n };\n }\n\n const r = measureColumn(\n ctx,\n theme,\n c,\n colIndex,\n selectedData,\n minColumnWidth,\n maxColumnWidth,\n true,\n getCellRenderer\n );\n memoMap.current[c.id] = r.width;\n return r;\n });\n };\n\n let result: readonly InnerGridColumn[] = getRaw();\n let totalWidth = 0;\n let totalGrow = 0;\n const distribute: number[] = [];\n for (const [i, c] of result.entries()) {\n totalWidth += c.width;\n if (c.grow !== undefined && c.grow > 0) {\n totalGrow += c.grow;\n distribute.push(i);\n }\n }\n if (totalWidth < clientWidth && distribute.length > 0) {\n const writeable = [...result];\n const extra = clientWidth - totalWidth;\n let remaining = extra;\n for (let di = 0; di < distribute.length; di++) {\n const i = distribute[di];\n const weighted = (result[i].grow ?? 0) / totalGrow;\n const toAdd =\n di === distribute.length - 1 ? remaining : Math.min(remaining, Math.floor(extra * weighted));\n writeable[i] = {\n ...result[i],\n growOffset: toAdd,\n width: result[i].width + toAdd,\n };\n remaining -= toAdd;\n }\n result = writeable;\n }\n return {\n sizedColumns: result,\n nonGrowWidth: totalWidth,\n };\n }, [clientWidth, columns, ctx, selectedData, theme, minColumnWidth, maxColumnWidth, getCellRenderer]);\n}\n","import type { GridKeyEventArgs } from \"../internal/data-grid/event-args.js\";\nimport { browserIsOSX } from \"./browser-detect.js\";\n\n// brain dead syntax, find your deps, and make buggy replacements with 5 times the effort\n// all lower case\n// ctrl+shift+alt+d or ctrl+x or shift+c or shift+Backspace or alt+_53\n// you get it, last one is always event.key, nothing fancy\n// special: primary === ctrl on windows, meta on mac\n// no to lower, its a waste, we're the only consumer, don't use caps\n\n// and before you ask, yes space is \" \", e.g. \"ctrl+alt+ \", whatacountry.gif\n// load bearing whitespace, it's basically python\n// if the char starts with a _ it is the event.keycode instead\nfunction checkKey(key: string | undefined, args: GridKeyEventArgs): boolean {\n if (key === undefined) return false;\n if (key.length > 1 && key.startsWith(\"_\")) {\n const keycode = Number.parseInt(key.slice(1));\n return keycode === args.keyCode;\n }\n if (key.length === 1 && key >= \"a\" && key <= \"z\") {\n return key.toUpperCase().codePointAt(0) === args.keyCode;\n }\n\n return key === args.key;\n}\n\ninterface HotkeyResultDetails {\n didMatch: boolean;\n}\n\nexport function isHotkey(hotkey: string, args: GridKeyEventArgs, details: HotkeyResultDetails): boolean {\n const result = isHotkeyInner(hotkey, args);\n if (result) details.didMatch = true;\n return result;\n}\n\nfunction isHotkeyInner(hotkey: string, args: GridKeyEventArgs): boolean {\n if (hotkey.length === 0) return false;\n\n if (hotkey.includes(\"|\")) {\n const parts = hotkey.split(\"|\");\n for (const part of parts) {\n if (isHotkeyInner(part, args)) return true;\n }\n return false;\n }\n\n let wantCtrl = false;\n let wantShift = false;\n let wantAlt = false;\n let wantMeta = false;\n\n const split = hotkey.split(\"+\");\n const key = split.pop();\n\n if (!checkKey(key, args)) return false;\n if (split[0] === \"any\") return true;\n\n for (const accel of split) {\n switch (accel) {\n case \"ctrl\":\n wantCtrl = true;\n break;\n case \"shift\":\n wantShift = true;\n break;\n case \"alt\":\n wantAlt = true;\n break;\n case \"meta\":\n wantMeta = true;\n break;\n case \"primary\":\n if (browserIsOSX.value) {\n wantMeta = true;\n } else {\n wantCtrl = true;\n }\n break;\n }\n }\n\n return (\n args.altKey === wantAlt && args.ctrlKey === wantCtrl && args.shiftKey === wantShift && args.metaKey === wantMeta\n );\n}\n","import React from \"react\";\nimport { CompactSelection, type GridSelection, type Slice } from \"./data-grid-types.js\";\n\ntype SetCallback = (newVal: GridSelection, expand: boolean) => void;\n\nexport type SelectionBlending = \"exclusive\" | \"mixed\";\n\ntype SelectionTrigger = \"click\" | \"drag\" | \"keyboard-nav\" | \"keyboard-select\" | \"edit\";\n\nexport function useSelectionBehavior(\n gridSelection: GridSelection,\n setGridSelection: SetCallback,\n rangeBehavior: SelectionBlending,\n columnBehavior: SelectionBlending,\n rowBehavior: SelectionBlending,\n rangeSelect: \"none\" | \"cell\" | \"rect\" | \"multi-cell\" | \"multi-rect\"\n) {\n // if append is true, the current range will be added to the rangeStack\n const setCurrent = React.useCallback(\n (\n value: Pick, \"cell\" | \"range\"> | undefined,\n expand: boolean,\n append: boolean,\n trigger: SelectionTrigger\n ) => {\n if ((rangeSelect === \"cell\" || rangeSelect === \"multi-cell\") && value !== undefined) {\n value = {\n ...value,\n range: {\n x: value.cell[0],\n y: value.cell[1],\n width: 1,\n height: 1,\n },\n };\n }\n const rangeMixable = rangeBehavior === \"mixed\" && (append || trigger === \"drag\");\n const allowColumnCoSelect = columnBehavior === \"mixed\" && rangeMixable;\n const allowRowCoSelect = rowBehavior === \"mixed\" && rangeMixable;\n let newVal: GridSelection = {\n current:\n value === undefined\n ? undefined\n : {\n ...value,\n rangeStack: trigger === \"drag\" ? gridSelection.current?.rangeStack ?? [] : [],\n },\n columns: allowColumnCoSelect ? gridSelection.columns : CompactSelection.empty(),\n rows: allowRowCoSelect ? gridSelection.rows : CompactSelection.empty(),\n };\n\n const addLastRange = append && (rangeSelect === \"multi-rect\" || rangeSelect === \"multi-cell\");\n if (addLastRange && newVal.current !== undefined && gridSelection.current !== undefined) {\n newVal = {\n ...newVal,\n current: {\n ...newVal.current,\n rangeStack: [...gridSelection.current.rangeStack, gridSelection.current.range],\n },\n };\n }\n setGridSelection(newVal, expand);\n },\n [columnBehavior, gridSelection, rangeBehavior, rangeSelect, rowBehavior, setGridSelection]\n );\n\n const setSelectedRows = React.useCallback(\n (newRows: CompactSelection | undefined, append: Slice | number | undefined, allowMixed: boolean): void => {\n newRows = newRows ?? gridSelection.rows;\n if (append !== undefined) {\n newRows = newRows.add(append);\n }\n let newVal: GridSelection;\n if (rowBehavior === \"exclusive\" && newRows.length > 0) {\n newVal = {\n current: undefined,\n columns: CompactSelection.empty(),\n rows: newRows,\n };\n } else {\n const rangeMixed = allowMixed && rangeBehavior === \"mixed\";\n const columnMixed = allowMixed && columnBehavior === \"mixed\";\n const current = !rangeMixed ? undefined : gridSelection.current;\n newVal = {\n current,\n columns: columnMixed ? gridSelection.columns : CompactSelection.empty(),\n rows: newRows,\n };\n }\n setGridSelection(newVal, false);\n },\n [columnBehavior, gridSelection, rangeBehavior, rowBehavior, setGridSelection]\n );\n\n const setSelectedColumns = React.useCallback(\n (newCols: CompactSelection | undefined, append: number | Slice | undefined, allowMixed: boolean): void => {\n newCols = newCols ?? gridSelection.columns;\n if (append !== undefined) {\n newCols = newCols.add(append);\n }\n let newVal: GridSelection;\n if (columnBehavior === \"exclusive\" && newCols.length > 0) {\n newVal = {\n current: undefined,\n rows: CompactSelection.empty(),\n columns: newCols,\n };\n } else {\n const rangeMixed = allowMixed && rangeBehavior === \"mixed\";\n const rowMixed = allowMixed && rowBehavior === \"mixed\";\n const current = !rangeMixed ? undefined : gridSelection.current;\n newVal = {\n current,\n rows: rowMixed ? gridSelection.rows : CompactSelection.empty(),\n columns: newCols,\n };\n }\n setGridSelection(newVal, false);\n },\n [columnBehavior, gridSelection, rangeBehavior, rowBehavior, setGridSelection]\n );\n\n return [setCurrent, setSelectedRows, setSelectedColumns] as const;\n}\n","import * as React from \"react\";\nimport type { DataGridSearchProps } from \"../internal/data-grid-search/data-grid-search.js\";\nimport { type CellArray, type GridCell, GridCellKind } from \"../internal/data-grid/data-grid-types.js\";\nimport type { DataEditorProps } from \"./data-editor.js\";\n\ntype CellsForSelectionCallback = NonNullable;\nexport function useCellsForSelection(\n getCellsForSelectionIn: CellsForSelectionCallback | true | undefined,\n getCellContent: DataEditorProps[\"getCellContent\"],\n rowMarkerOffset: number,\n abortController: AbortController,\n rows: number\n) {\n const getCellsForSelectionDirectWhenValid = React.useCallback(\n rect => {\n if (getCellsForSelectionIn === true) {\n const result: GridCell[][] = [];\n\n for (let y = rect.y; y < rect.y + rect.height; y++) {\n const row: GridCell[] = [];\n for (let x = rect.x; x < rect.x + rect.width; x++) {\n if (x < 0 || y >= rows) {\n row.push({\n kind: GridCellKind.Loading,\n allowOverlay: false,\n });\n } else {\n row.push(getCellContent([x, y]));\n }\n }\n result.push(row);\n }\n\n return result;\n }\n return getCellsForSelectionIn?.(rect, abortController.signal) ?? [];\n },\n [abortController.signal, getCellContent, getCellsForSelectionIn, rows]\n );\n const getCellsForSelectionDirect =\n getCellsForSelectionIn !== undefined ? getCellsForSelectionDirectWhenValid : undefined;\n const getCellsForSelectionMangled = React.useCallback(\n rect => {\n if (getCellsForSelectionDirect === undefined) return [];\n const newRect = {\n ...rect,\n x: rect.x - rowMarkerOffset,\n };\n if (newRect.x < 0) {\n newRect.x = 0;\n newRect.width--;\n const r = getCellsForSelectionDirect(newRect, abortController.signal);\n\n if (typeof r === \"function\") {\n return async () =>\n // eslint-disable-next-line unicorn/no-await-expression-member\n (await r()).map(row => [\n { kind: GridCellKind.Loading, allowOverlay: false },\n ...row,\n ]);\n }\n return r.map(row => [{ kind: GridCellKind.Loading, allowOverlay: false }, ...row]);\n }\n return getCellsForSelectionDirect(newRect, abortController.signal);\n },\n [abortController.signal, getCellsForSelectionDirect, rowMarkerOffset]\n );\n\n const getCellsForSelection = getCellsForSelectionIn !== undefined ? getCellsForSelectionMangled : undefined;\n\n return [getCellsForSelection, getCellsForSelectionDirect] as const;\n}\n","import { styled } from \"@linaria/react\";\nimport * as React from \"react\";\n\ninterface WrapperProps {\n inWidth: number | string;\n inHeight: number | string;\n}\n\nfunction toCss(x: number | string) {\n if (typeof x === \"string\") return x;\n return `${x}px`;\n}\n\nconst Wrapper = styled.div<{ innerWidth: string; innerHeight: string }>`\n position: relative;\n\n min-width: 10px;\n min-height: 10px;\n max-width: 100%;\n max-height: 100%;\n\n width: ${p => p.innerWidth};\n height: ${p => p.innerHeight};\n\n overflow: hidden;\n overflow: clip;\n\n direction: ltr;\n\n > :first-child {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n }\n`;\n\ninterface Props extends WrapperProps, React.HTMLAttributes {}\n\nexport const DataEditorContainer: React.FunctionComponent> = p => {\n const { inWidth, inHeight, children, ...rest } = p;\n return (\n \n {children}\n \n );\n};\n","import React from \"react\";\nimport type { GridMouseCellEventArgs } from \"../internal/data-grid/event-args.js\";\n\nconst maxPxPerMs = 2;\nconst msToFullSpeed = 1300;\n\nexport function useAutoscroll(\n scrollDirection: GridMouseCellEventArgs[\"scrollEdge\"] | undefined,\n scrollRef: React.MutableRefObject,\n onScroll?: () => void\n) {\n const speedScalar = React.useRef(0);\n const [xDir, yDir] = scrollDirection ?? [0, 0];\n React.useEffect(() => {\n if (xDir === 0 && yDir === 0) {\n speedScalar.current = 0;\n return;\n }\n let cancelled = false;\n\n let lastTime = 0;\n const scrollFn = (curTime: number) => {\n if (cancelled) return;\n if (lastTime === 0) {\n lastTime = curTime;\n } else {\n const step = curTime - lastTime;\n speedScalar.current = Math.min(1, speedScalar.current + step / msToFullSpeed);\n const motion = speedScalar.current ** 1.618 * step * maxPxPerMs;\n scrollRef.current?.scrollBy(xDir * motion, yDir * motion);\n lastTime = curTime;\n onScroll?.();\n }\n window.requestAnimationFrame(scrollFn);\n };\n window.requestAnimationFrame(scrollFn);\n return () => {\n cancelled = true;\n };\n }, [scrollRef, xDir, yDir, onScroll]);\n}\n","import React from \"react\";\nimport { getDataEditorTheme, type Theme } from \"../common/styles.js\";\n\ninterface DataEditorDimensions {\n rowHeight: number | ((n: number) => number);\n headerHeight: number;\n groupHeaderHeight: number;\n theme: Partial | undefined;\n overscrollX: number | undefined;\n overscrollY: number | undefined;\n}\n\ninterface DataEditorProps {\n rowHeight: number | ((n: number) => number);\n headerHeight: number;\n groupHeaderHeight: number;\n theme?: Partial;\n overscrollX?: number;\n overscrollY?: number;\n scaleToRem: boolean;\n remSize: number;\n}\n\nexport function useRemAdjuster({\n rowHeight: rowHeightIn,\n headerHeight: headerHeightIn,\n groupHeaderHeight: groupHeaderHeightIn,\n theme: themeIn,\n overscrollX: overscrollXIn,\n overscrollY: overscrollYIn,\n scaleToRem,\n remSize,\n}: DataEditorProps): DataEditorDimensions {\n const [rowHeight, headerHeight, groupHeaderHeight, theme, overscrollX, overscrollY] = React.useMemo(() => {\n if (!scaleToRem || remSize === 16)\n return [rowHeightIn, headerHeightIn, groupHeaderHeightIn, themeIn, overscrollXIn, overscrollYIn];\n const scaler = remSize / 16;\n const rh = rowHeightIn;\n const bt = getDataEditorTheme();\n return [\n typeof rh === \"number\" ? rh * scaler : (n: number) => Math.ceil(rh(n) * scaler),\n Math.ceil(headerHeightIn * scaler),\n Math.ceil(groupHeaderHeightIn * scaler),\n {\n ...themeIn,\n headerIconSize: (themeIn?.headerIconSize ?? bt.headerIconSize) * scaler,\n cellHorizontalPadding: (themeIn?.cellHorizontalPadding ?? bt.cellHorizontalPadding) * scaler,\n cellVerticalPadding: (themeIn?.cellVerticalPadding ?? bt.cellVerticalPadding) * scaler,\n },\n Math.ceil((overscrollXIn ?? 0) * scaler),\n Math.ceil((overscrollYIn ?? 0) * scaler),\n ];\n }, [groupHeaderHeightIn, headerHeightIn, overscrollXIn, overscrollYIn, remSize, rowHeightIn, scaleToRem, themeIn]);\n\n return { rowHeight, headerHeight, groupHeaderHeight, theme, overscrollX, overscrollY };\n}\n","/* eslint-disable sonarjs/no-duplicate-string */\nimport * as React from \"react\";\nimport { assert, assertNever, maybe } from \"../common/support.js\";\nimport clamp from \"lodash/clamp.js\";\nimport uniq from \"lodash/uniq.js\";\nimport flatten from \"lodash/flatten.js\";\nimport range from \"lodash/range.js\";\nimport debounce from \"lodash/debounce.js\";\nimport {\n type EditableGridCell,\n type GridCell,\n GridCellKind,\n type GridSelection,\n isEditableGridCell,\n type Rectangle,\n isReadWriteCell,\n type InnerGridCell,\n InnerGridCellKind,\n CompactSelection,\n type Slice,\n isInnerOnlyCell,\n type ProvideEditorCallback,\n type GridColumn,\n isObjectEditorCallbackResult,\n type Item,\n type MarkerCell,\n type ValidatedGridCell,\n type ImageEditorType,\n type CustomCell,\n BooleanEmpty,\n BooleanIndeterminate,\n type FillHandleDirection,\n type EditListItem,\n} from \"../internal/data-grid/data-grid-types.js\";\nimport DataGridSearch, { type DataGridSearchProps } from \"../internal/data-grid-search/data-grid-search.js\";\nimport { browserIsOSX } from \"../common/browser-detect.js\";\nimport {\n getDataEditorTheme,\n makeCSSStyle,\n type FullTheme,\n type Theme,\n ThemeContext,\n mergeAndRealizeTheme,\n} from \"../common/styles.js\";\nimport type { DataGridRef } from \"../internal/data-grid/data-grid.js\";\nimport { getScrollBarWidth, useEventListener, useStateWithReactiveInput, whenDefined } from \"../common/utils.js\";\nimport {\n isGroupEqual,\n itemsAreEqual,\n itemIsInRect,\n gridSelectionHasItem,\n getFreezeTrailingHeight,\n} from \"../internal/data-grid/render/data-grid-lib.js\";\nimport { GroupRename } from \"./group-rename.js\";\nimport { measureColumn, useColumnSizer } from \"./use-column-sizer.js\";\nimport { isHotkey } from \"../common/is-hotkey.js\";\nimport { type SelectionBlending, useSelectionBehavior } from \"../internal/data-grid/use-selection-behavior.js\";\nimport { useCellsForSelection } from \"./use-cells-for-selection.js\";\nimport { unquote, expandSelection, copyToClipboard, toggleBoolean } from \"./data-editor-fns.js\";\nimport { DataEditorContainer } from \"../internal/data-editor-container/data-grid-container.js\";\nimport { useAutoscroll } from \"./use-autoscroll.js\";\nimport type { CustomRenderer, CellRenderer, InternalCellRenderer } from \"../cells/cell-types.js\";\nimport { decodeHTML, type CopyBuffer } from \"./copy-paste.js\";\nimport { useRemAdjuster } from \"./use-rem-adjuster.js\";\nimport { withAlpha } from \"../internal/data-grid/color-parser.js\";\nimport { combineRects, getClosestRect, pointInRect } from \"../common/math.js\";\nimport {\n type HeaderClickedEventArgs,\n type GroupHeaderClickedEventArgs,\n type CellClickedEventArgs,\n type FillPatternEventArgs,\n type GridMouseEventArgs,\n groupHeaderKind,\n outOfBoundsKind,\n type GridMouseCellEventArgs,\n headerKind,\n type GridDragEventArgs,\n mouseEventArgsAreEqual,\n type GridKeyEventArgs,\n} from \"../internal/data-grid/event-args.js\";\nimport { type Keybinds, useKeybindingsWithDefaults } from \"./data-editor-keybindings.js\";\nimport type { Highlight } from \"../internal/data-grid/render/data-grid-render.cells.js\";\n\nconst DataGridOverlayEditor = React.lazy(\n async () => await import(\"../internal/data-grid-overlay-editor/data-grid-overlay-editor.js\")\n);\n\nlet idCounter = 0;\n\nexport interface RowMarkerOptions {\n kind: \"checkbox\" | \"number\" | \"clickable-number\" | \"checkbox-visible\" | \"both\" | \"none\";\n checkboxStyle?: \"circle\" | \"square\";\n startIndex?: number;\n width?: number;\n theme?: Partial;\n}\n\ninterface MouseState {\n readonly previousSelection?: GridSelection;\n readonly fillHandle?: boolean;\n}\n\ntype Props = Partial<\n Omit<\n DataGridSearchProps,\n | \"accessibilityHeight\"\n | \"canvasRef\"\n | \"cellXOffset\"\n | \"cellYOffset\"\n | \"className\"\n | \"clientSize\"\n | \"columns\"\n | \"disabledRows\"\n | \"enableGroups\"\n | \"firstColAccessible\"\n | \"firstColSticky\"\n | \"freezeColumns\"\n | \"hasAppendRow\"\n | \"getCellContent\"\n | \"getCellRenderer\"\n | \"getCellsForSelection\"\n | \"gridRef\"\n | \"groupHeaderHeight\"\n | \"headerHeight\"\n | \"isFilling\"\n | \"isFocused\"\n | \"imageWindowLoader\"\n | \"lockColumns\"\n | \"maxColumnWidth\"\n | \"minColumnWidth\"\n | \"nonGrowWidth\"\n | \"onCanvasBlur\"\n | \"onCanvasFocused\"\n | \"onCellFocused\"\n | \"onContextMenu\"\n | \"onDragEnd\"\n | \"onMouseDown\"\n | \"onMouseMove\"\n | \"onMouseUp\"\n | \"onVisibleRegionChanged\"\n | \"rowHeight\"\n | \"rows\"\n | \"scrollRef\"\n | \"searchInputRef\"\n | \"selectedColumns\"\n | \"selection\"\n | \"theme\"\n | \"translateX\"\n | \"translateY\"\n | \"verticalBorder\"\n >\n>;\n\ntype EmitEvents = \"copy\" | \"paste\" | \"delete\" | \"fill-right\" | \"fill-down\";\n\nfunction getSpanStops(cells: readonly (readonly GridCell[])[]): number[] {\n return uniq(\n flatten(\n flatten(cells)\n .filter(c => c.span !== undefined)\n .map(c => range((c.span?.[0] ?? 0) + 1, (c.span?.[1] ?? 0) + 1))\n )\n );\n}\n\nfunction shiftSelection(input: GridSelection, offset: number): GridSelection {\n if (input === undefined || offset === 0 || (input.columns.length === 0 && input.current === undefined))\n return input;\n\n return {\n current:\n input.current === undefined\n ? undefined\n : {\n cell: [input.current.cell[0] + offset, input.current.cell[1]],\n range: {\n ...input.current.range,\n x: input.current.range.x + offset,\n },\n rangeStack: input.current.rangeStack.map(r => ({\n ...r,\n x: r.x + offset,\n })),\n },\n rows: input.rows,\n columns: input.columns.offset(offset),\n };\n}\n\n/**\n * @category DataEditor\n */\nexport interface DataEditorProps extends Props, Pick {\n /** Emitted whenever the user has requested the deletion of the selection.\n * @group Editing\n */\n readonly onDelete?: (selection: GridSelection) => boolean | GridSelection;\n /** Emitted whenever a cell edit is completed.\n * @group Editing\n */\n readonly onCellEdited?: (cell: Item, newValue: EditableGridCell) => void;\n /** Emitted whenever a cell mutation is completed and provides all edits inbound as a single batch.\n * @group Editing\n */\n readonly onCellsEdited?: (newValues: readonly EditListItem[]) => boolean | void;\n /** Emitted whenever a row append operation is requested. Append location can be set in callback.\n * @group Editing\n */\n readonly onRowAppended?: () => Promise<\"top\" | \"bottom\" | number | undefined> | void;\n /** Emitted when a column header should show a context menu. Usually right click.\n * @group Events\n */\n readonly onHeaderClicked?: (colIndex: number, event: HeaderClickedEventArgs) => void;\n /** Emitted when a group header is clicked.\n * @group Events\n */\n readonly onGroupHeaderClicked?: (colIndex: number, event: GroupHeaderClickedEventArgs) => void;\n /** Emitted whe the user wishes to rename a group.\n * @group Events\n */\n readonly onGroupHeaderRenamed?: (groupName: string, newVal: string) => void;\n /** Emitted when a cell is clicked.\n * @group Events\n */\n readonly onCellClicked?: (cell: Item, event: CellClickedEventArgs) => void;\n /** Emitted when a cell is activated, by pressing Enter, Space or double clicking it.\n * @group Events\n */\n readonly onCellActivated?: (cell: Item) => void;\n\n /**\n * Emitted whenever the user initiats a pattern fill using the fill handle. This event provides both\n * a patternSource region and a fillDestination region, and can be prevented.\n * @group Editing\n */\n readonly onFillPattern?: (event: FillPatternEventArgs) => void;\n /** Emitted when editing has finished, regardless of data changing or not.\n * @group Editing\n */\n readonly onFinishedEditing?: (newValue: GridCell | undefined, movement: Item) => void;\n /** Emitted when a column header should show a context menu. Usually right click.\n * @group Events\n */\n readonly onHeaderContextMenu?: (colIndex: number, event: HeaderClickedEventArgs) => void;\n /** Emitted when a group header should show a context menu. Usually right click.\n * @group Events\n */\n readonly onGroupHeaderContextMenu?: (colIndex: number, event: GroupHeaderClickedEventArgs) => void;\n /** Emitted when a cell should show a context menu. Usually right click.\n * @group Events\n */\n readonly onCellContextMenu?: (cell: Item, event: CellClickedEventArgs) => void;\n /** Used for validating cell values during editing.\n * @group Editing\n * @param cell The cell which is being validated.\n * @param newValue The new value being proposed.\n * @param prevValue The previous value before the edit.\n * @returns A return of false indicates the value will not be accepted. A value of\n * true indicates the value will be accepted. Returning a new GridCell will immediately coerce the value to match.\n */\n readonly validateCell?: (\n cell: Item,\n newValue: EditableGridCell,\n prevValue: GridCell\n ) => boolean | ValidatedGridCell;\n\n /** The columns to display in the data grid.\n * @group Data\n */\n readonly columns: readonly GridColumn[];\n\n /** Controls the trailing row used to insert new data into the grid.\n * @group Editing\n */\n readonly trailingRowOptions?: {\n /** If the trailing row should be tinted */\n readonly tint?: boolean;\n /** A hint string displayed on hover. Usually something like \"New row\" */\n readonly hint?: string;\n /** When set to true, the trailing row is always visible. */\n readonly sticky?: boolean;\n /** The icon to use for the cell. Either a GridColumnIcon or a member of the passed headerIcons */\n readonly addIcon?: string;\n /** Overrides the column to focus when a new row is created. */\n readonly targetColumn?: number | GridColumn;\n };\n /** Controls the height of the header row\n * @defaultValue 36\n * @group Style\n */\n readonly headerHeight?: number;\n /** Controls the header of the group header row\n * @defaultValue `headerHeight`\n * @group Style\n */\n readonly groupHeaderHeight?: number;\n\n /**\n * The number of rows in the grid.\n * @group Data\n */\n readonly rows: number;\n\n /** Determines if row markers should be automatically added to the grid.\n * Interactive row markers allow the user to select a row.\n *\n * - \"clickable-number\" renders a number that can be clicked to\n * select the row\n * - \"both\" causes the row marker to show up as a number but\n * reveal a checkbox when the marker is hovered.\n *\n * @defaultValue `none`\n * @group Style\n */\n readonly rowMarkers?: RowMarkerOptions[\"kind\"] | RowMarkerOptions;\n /**\n * Sets the width of row markers in pixels, if unset row markers will automatically size.\n * @group Style\n * @deprecated Use `rowMarkers` instead.\n */\n readonly rowMarkerWidth?: number;\n /** Changes the starting index for row markers.\n * @defaultValue 1\n * @group Style\n * @deprecated Use `rowMarkers` instead.\n */\n readonly rowMarkerStartIndex?: number;\n\n /** Changes the theme of the row marker column\n * @group Style\n * @deprecated Use `rowMarkers` instead.\n */\n readonly rowMarkerTheme?: Partial;\n\n /** Sets the width of the data grid.\n * @group Style\n */\n readonly width?: number | string;\n /** Sets the height of the data grid.\n * @group Style\n */\n readonly height?: number | string;\n /** Custom classname for data grid wrapper.\n * @group Style\n */\n readonly className?: string;\n\n /** If set to `default`, `gridSelection` will be coerced to always include full spans.\n * @group Selection\n * @defaultValue `default`\n */\n readonly spanRangeBehavior?: \"default\" | \"allowPartial\";\n\n /** Controls which types of selections can exist at the same time in the grid. If selection blending is set to\n * exclusive, the grid will clear other types of selections when the exclusive selection is made. By default row,\n * column, and range selections are exclusive.\n * @group Selection\n * @defaultValue `exclusive`\n * */\n readonly rangeSelectionBlending?: SelectionBlending;\n /** {@inheritDoc rangeSelectionBlending}\n * @group Selection\n */\n readonly columnSelectionBlending?: SelectionBlending;\n /** {@inheritDoc rangeSelectionBlending}\n * @group Selection\n */\n readonly rowSelectionBlending?: SelectionBlending;\n /** Controls if multi-selection is allowed. If disabled, shift/ctrl/command clicking will work as if no modifiers\n * are pressed.\n *\n * When range select is set to cell, only one cell may be selected at a time. When set to rect one one rect at a\n * time. The multi variants allow for multiples of the rect or cell to be selected.\n * @group Selection\n * @defaultValue `rect`\n */\n readonly rangeSelect?: \"none\" | \"cell\" | \"rect\" | \"multi-cell\" | \"multi-rect\";\n /** {@inheritDoc rangeSelect}\n * @group Selection\n * @defaultValue `multi`\n */\n readonly columnSelect?: \"none\" | \"single\" | \"multi\";\n /** {@inheritDoc rangeSelect}\n * @group Selection\n * @defaultValue `multi`\n */\n readonly rowSelect?: \"none\" | \"single\" | \"multi\";\n\n /** Sets the initial scroll Y offset.\n * @see {@link scrollOffsetX}\n * @group Advanced\n */\n readonly scrollOffsetY?: number;\n /** Sets the initial scroll X offset\n * @see {@link scrollOffsetY}\n * @group Advanced\n */\n readonly scrollOffsetX?: number;\n\n /** Determins the height of each row.\n * @group Style\n * @defaultValue 34\n */\n readonly rowHeight?: DataGridSearchProps[\"rowHeight\"];\n /** Fires whenever the mouse moves\n * @group Events\n * @param args\n */\n readonly onMouseMove?: DataGridSearchProps[\"onMouseMove\"];\n\n /**\n * The minimum width a column can be resized to.\n * @defaultValue 50\n * @group Style\n */\n readonly minColumnWidth?: DataGridSearchProps[\"minColumnWidth\"];\n /**\n * The maximum width a column can be resized to.\n * @defaultValue 500\n * @group Style\n */\n readonly maxColumnWidth?: DataGridSearchProps[\"maxColumnWidth\"];\n /**\n * The maximum width a column can be automatically sized to.\n * @defaultValue `maxColumnWidth`\n * @group Style\n */\n readonly maxColumnAutoWidth?: number;\n\n /**\n * Used to provide an override to the default image editor for the data grid. `provideEditor` may be a better\n * choice for most people.\n * @group Advanced\n * */\n readonly imageEditorOverride?: ImageEditorType;\n /**\n * If specified, it will be used to render Markdown, instead of the default Markdown renderer used by the Grid.\n * You'll want to use this if you need to process your Markdown for security purposes, or if you want to use a\n * renderer with different Markdown features.\n * @group Advanced\n */\n readonly markdownDivCreateNode?: (content: string) => DocumentFragment;\n\n /** Callback for providing a custom editor for a cell.\n * @group Editing\n */\n readonly provideEditor?: ProvideEditorCallback;\n /**\n * Allows coercion of pasted values.\n * @group Editing\n * @param val The pasted value\n * @param cell The cell being pasted into\n * @returns `undefined` to accept default behavior or a `GridCell` which should be used to represent the pasted value.\n */\n readonly coercePasteValue?: (val: string, cell: GridCell) => GridCell | undefined;\n\n /**\n * Emitted when the grid selection is cleared.\n * @group Selection\n */\n readonly onSelectionCleared?: () => void;\n\n /**\n * The current selection of the data grid. Contains all selected cells, ranges, rows, and columns.\n * Used in conjunction with {@link onGridSelectionChange}\n * method to implement a controlled selection.\n * @group Selection\n */\n readonly gridSelection?: GridSelection;\n /**\n * Emitted whenever the grid selection changes. Specifying\n * this function will make the grid’s selection controlled, so\n * so you will need to specify {@link gridSelection} as well. See\n * the \"Controlled Selection\" example for details.\n *\n * @param newSelection The new gridSelection as created by user input.\n * @group Selection\n */\n readonly onGridSelectionChange?: (newSelection: GridSelection) => void;\n /**\n * Emitted whenever the visible cells change, usually due to scrolling.\n * @group Events\n * @param range An inclusive range of all visible cells. May include cells obscured by UI elements such\n * as headers.\n * @param tx The x transform of the cell region.\n * @param ty The y transform of the cell region.\n * @param extras Contains information about the selected cell and\n * any visible freeze columns.\n */\n readonly onVisibleRegionChanged?: (\n range: Rectangle,\n tx: number,\n ty: number,\n extras: {\n /** The selected item if visible */\n selected?: Item;\n /** A selection of visible freeze columns\n * @deprecated\n */\n freezeRegion?: Rectangle;\n\n /**\n * All visible freeze regions\n */\n freezeRegions?: readonly Rectangle[];\n }\n ) => void;\n\n /**\n * The primary callback for getting cell data into the data grid.\n * @group Data\n * @param cell The location of the cell being requested.\n * @returns A valid GridCell to be rendered by the Grid.\n */\n readonly getCellContent: (cell: Item) => GridCell;\n /**\n * Determines if row selection requires a modifier key to enable multi-selection or not. In auto mode it adapts to\n * touch or mouse environments automatically, in multi-mode it always acts as if the multi key (Ctrl) is pressed.\n * @group Editing\n * @defaultValue `auto`\n */\n readonly rowSelectionMode?: \"auto\" | \"multi\";\n\n /**\n * Add table headers to copied data.\n * @group Editing\n * @defaultValue `false`\n */\n readonly copyHeaders?: boolean;\n\n /**\n * Determins which keybindings are enabled.\n * @group Editing\n */\n readonly keybindings?: Partial;\n\n /**\n * Used to fetch large amounts of cells at once. Used for copy/paste, if unset copy will not work.\n *\n * `getCellsForSelection` is called when the user copies a selection to the clipboard or the data editor needs to\n * inspect data which may be outside the curently visible range. It must return a two-dimensional array (an array of\n * rows, where each row is an array of cells) of the cells in the selection's rectangle. Note that the rectangle can\n * include cells that are not currently visible.\n *\n * If `true` is passed instead of a callback, the data grid will internally use the `getCellContent` callback to\n * provide a basic implementation of `getCellsForSelection`. This can make it easier to light up more data grid\n * functionality, but may have negative side effects if your data source is not able to handle being queried for\n * data outside the normal window.\n *\n * If `getCellsForSelection` returns a thunk, the data may be loaded asynchronously, however the data grid may be\n * unable to properly react to column spans when performing range selections. Copying large amounts of data out of\n * the grid will depend on the performance of the thunk as well.\n * @group Data\n * @param {Rectangle} selection The range of requested cells\n * @param {AbortSignal} abortSignal A signal indicating the requested cells are no longer needed\n * @returns A row-major collection of cells or an async thunk which returns a row-major collection.\n */\n readonly getCellsForSelection?: DataGridSearchProps[\"getCellsForSelection\"] | true;\n\n /** The number of columns which should remain in place when scrolling horizontally. The row marker column, if\n * enabled is always frozen and is not included in this count.\n * @defaultValue 0\n * @group Style\n */\n readonly freezeColumns?: DataGridSearchProps[\"freezeColumns\"];\n\n /**\n * Controls the drawing of the left hand vertical border of a column. If set to a boolean value it controls all\n * borders.\n * @defaultValue `true`\n * @group Style\n */\n readonly verticalBorder?: DataGridSearchProps[\"verticalBorder\"] | boolean;\n\n /**\n * Called when data is pasted into the grid. If left undefined, the `DataEditor` will operate in a\n * fallback mode and attempt to paste the text buffer into the current cell assuming the current cell is not\n * readonly and can accept the data type. If `onPaste` is set to false or the function returns false, the grid will\n * simply ignore paste. If `onPaste` evaluates to true the grid will attempt to split the data by tabs and newlines\n * and paste into available cells.\n *\n * The grid will not attempt to add additional rows if more data is pasted then can fit. In that case it is\n * advisable to simply return false from onPaste and handle the paste manually.\n * @group Editing\n */\n readonly onPaste?: ((target: Item, values: readonly (readonly string[])[]) => boolean) | boolean;\n\n /**\n * The theme used by the data grid to get all color and font information\n * @group Style\n */\n readonly theme?: Partial;\n\n readonly renderers?: readonly InternalCellRenderer[];\n\n /**\n * An array of custom renderers which can be used to extend the data grid.\n * @group Advanced\n */\n readonly customRenderers?: readonly CustomRenderer[];\n\n /**\n * Scales most elements in the theme to match rem scaling automatically\n * @defaultValue false\n */\n readonly scaleToRem?: boolean;\n\n /**\n * Custom predicate function to decide whether the click event occurred outside the grid\n * Especially used when custom editor is opened with the portal and is outside the grid, but there is no possibility\n * to add a class \"click-outside-ignore\"\n * If this function is supplied and returns false, the click event is ignored\n */\n readonly isOutsideClick?: (e: MouseEvent | TouchEvent) => boolean;\n\n /**\n * Controls which directions fill is allowed in.\n */\n readonly allowedFillDirections?: FillHandleDirection;\n\n /**\n * Determines when a cell is considered activated and will emit the `onCellActivated` event. Generally an activated\n * cell will open to edit mode.\n */\n readonly cellActivationBehavior?: \"double-click\" | \"single-click\" | \"second-click\";\n\n /**\n * Controls if focus will trap inside the data grid when doing tab and caret navigation.\n */\n readonly trapFocus?: boolean;\n\n readonly editorBloom?: readonly [number, number];\n}\n\ntype ScrollToFn = (\n col: number | { amount: number; unit: \"cell\" | \"px\" },\n row: number | { amount: number; unit: \"cell\" | \"px\" },\n dir?: \"horizontal\" | \"vertical\" | \"both\",\n paddingX?: number,\n paddingY?: number,\n options?: {\n hAlign?: \"start\" | \"center\" | \"end\";\n vAlign?: \"start\" | \"center\" | \"end\";\n }\n) => void;\n\n/** @category DataEditor */\nexport interface DataEditorRef {\n /**\n * Programatically appends a row.\n * @param col The column index to focus in the new row.\n * @returns A promise which waits for the append to complete.\n */\n appendRow: (col: number, openOverlay?: boolean) => Promise;\n /**\n * Triggers cells to redraw.\n */\n updateCells: DataGridRef[\"damage\"];\n /**\n * Gets the screen space bounds of the requested item.\n */\n getBounds: DataGridRef[\"getBounds\"];\n /**\n * Triggers the data grid to focus itself or the correct accessibility element.\n */\n focus: DataGridRef[\"focus\"];\n /**\n * Generic API for emitting events as if they had been triggered via user interaction.\n */\n emit: (eventName: EmitEvents) => Promise;\n /**\n * Scrolls to the desired cell or location in the grid.\n */\n scrollTo: ScrollToFn;\n /**\n * Causes the columns in the selection to have their natural size recomputed and re-emitted as a resize event.\n */\n remeasureColumns: (cols: CompactSelection) => void;\n}\n\nconst loadingCell: GridCell = {\n kind: GridCellKind.Loading,\n allowOverlay: false,\n};\n\nconst emptyGridSelection: GridSelection = {\n columns: CompactSelection.empty(),\n rows: CompactSelection.empty(),\n current: undefined,\n};\n\nconst DataEditorImpl: React.ForwardRefRenderFunction = (p, forwardedRef) => {\n const [gridSelectionInner, setGridSelectionInner] = React.useState(emptyGridSelection);\n const [overlay, setOverlay] = React.useState<{\n target: Rectangle;\n content: GridCell;\n theme: FullTheme;\n initialValue: string | undefined;\n cell: Item;\n highlight: boolean;\n forceEditMode: boolean;\n }>();\n const searchInputRef = React.useRef(null);\n const canvasRef = React.useRef(null);\n const [mouseState, setMouseState] = React.useState();\n const scrollRef = React.useRef(null);\n const lastSent = React.useRef<[number, number]>();\n\n const safeWindow = typeof window === \"undefined\" ? null : window;\n\n const {\n imageEditorOverride,\n getRowThemeOverride,\n markdownDivCreateNode,\n width,\n height,\n columns: columnsIn,\n rows,\n getCellContent,\n onCellClicked,\n onCellActivated,\n onFillPattern,\n onFinishedEditing,\n coercePasteValue,\n drawHeader: drawHeaderIn,\n drawCell: drawCellIn,\n editorBloom,\n onHeaderClicked,\n onColumnProposeMove,\n spanRangeBehavior = \"default\",\n onGroupHeaderClicked,\n onCellContextMenu,\n className,\n onHeaderContextMenu,\n getCellsForSelection: getCellsForSelectionIn,\n onGroupHeaderContextMenu,\n onGroupHeaderRenamed,\n onCellEdited,\n onCellsEdited,\n onSearchResultsChanged: onSearchResultsChangedIn,\n searchResults,\n onSearchValueChange,\n searchValue,\n onKeyDown: onKeyDownIn,\n onKeyUp: onKeyUpIn,\n keybindings: keybindingsIn,\n onRowAppended,\n onColumnMoved,\n validateCell: validateCellIn,\n highlightRegions: highlightRegionsIn,\n rangeSelect = \"rect\",\n columnSelect = \"multi\",\n rowSelect = \"multi\",\n rangeSelectionBlending = \"exclusive\",\n columnSelectionBlending = \"exclusive\",\n rowSelectionBlending = \"exclusive\",\n onDelete: onDeleteIn,\n onDragStart,\n onMouseMove,\n onPaste,\n copyHeaders = false,\n freezeColumns = 0,\n cellActivationBehavior = \"second-click\",\n rowSelectionMode = \"auto\",\n onHeaderMenuClick,\n getGroupDetails,\n onSearchClose: onSearchCloseIn,\n onItemHovered,\n onSelectionCleared,\n showSearch: showSearchIn,\n onVisibleRegionChanged,\n gridSelection: gridSelectionOuter,\n onGridSelectionChange,\n minColumnWidth: minColumnWidthIn = 50,\n maxColumnWidth: maxColumnWidthIn = 500,\n maxColumnAutoWidth: maxColumnAutoWidthIn,\n provideEditor,\n trailingRowOptions,\n freezeTrailingRows = 0,\n allowedFillDirections = \"orthogonal\",\n scrollOffsetX,\n scrollOffsetY,\n verticalBorder,\n onDragOverCell,\n onDrop,\n onColumnResize: onColumnResizeIn,\n onColumnResizeEnd: onColumnResizeEndIn,\n onColumnResizeStart: onColumnResizeStartIn,\n customRenderers: additionalRenderers,\n fillHandle,\n drawFocusRing,\n experimental,\n fixedShadowX,\n fixedShadowY,\n headerIcons,\n imageWindowLoader,\n initialSize,\n isDraggable,\n onDragLeave,\n onRowMoved,\n overscrollX: overscrollXIn,\n overscrollY: overscrollYIn,\n preventDiagonalScrolling,\n rightElement,\n rightElementProps,\n trapFocus = false,\n smoothScrollX,\n smoothScrollY,\n scaleToRem = false,\n rowHeight: rowHeightIn = 34,\n headerHeight: headerHeightIn = 36,\n groupHeaderHeight: groupHeaderHeightIn = headerHeightIn,\n theme: themeIn,\n isOutsideClick,\n renderers,\n } = p;\n\n const rowMarkersObj = typeof p.rowMarkers === \"string\" ? undefined : p.rowMarkers;\n\n const rowMarkers = rowMarkersObj?.kind ?? (p.rowMarkers as RowMarkerOptions[\"kind\"]) ?? \"none\";\n const rowMarkerWidthRaw = rowMarkersObj?.width ?? p.rowMarkerWidth;\n const rowMarkerStartIndex = rowMarkersObj?.startIndex ?? p.rowMarkerStartIndex ?? 1;\n const rowMarkerTheme = rowMarkersObj?.theme ?? p.rowMarkerTheme;\n const rowMarkerCheckboxStyle = rowMarkersObj?.checkboxStyle ?? \"square\";\n\n const minColumnWidth = Math.max(minColumnWidthIn, 20);\n const maxColumnWidth = Math.max(maxColumnWidthIn, minColumnWidth);\n const maxColumnAutoWidth = Math.max(maxColumnAutoWidthIn ?? maxColumnWidth, minColumnWidth);\n\n const docStyle = React.useMemo(() => {\n if (typeof window === \"undefined\") return { fontSize: \"16px\" };\n return window.getComputedStyle(document.documentElement);\n }, []);\n\n const remSize = React.useMemo(() => Number.parseFloat(docStyle.fontSize), [docStyle]);\n\n const { rowHeight, headerHeight, groupHeaderHeight, theme, overscrollX, overscrollY } = useRemAdjuster({\n groupHeaderHeight: groupHeaderHeightIn,\n headerHeight: headerHeightIn,\n overscrollX: overscrollXIn,\n overscrollY: overscrollYIn,\n remSize,\n rowHeight: rowHeightIn,\n scaleToRem,\n theme: themeIn,\n });\n\n const keybindings = useKeybindingsWithDefaults(keybindingsIn);\n\n const rowMarkerWidth = rowMarkerWidthRaw ?? (rows > 10_000 ? 48 : rows > 1000 ? 44 : rows > 100 ? 36 : 32);\n const hasRowMarkers = rowMarkers !== \"none\";\n const rowMarkerOffset = hasRowMarkers ? 1 : 0;\n const showTrailingBlankRow = onRowAppended !== undefined;\n const lastRowSticky = trailingRowOptions?.sticky === true;\n\n const [showSearchInner, setShowSearchInner] = React.useState(false);\n const showSearch = showSearchIn ?? showSearchInner;\n\n const onSearchClose = React.useCallback(() => {\n if (onSearchCloseIn !== undefined) {\n onSearchCloseIn();\n } else {\n setShowSearchInner(false);\n }\n }, [onSearchCloseIn]);\n\n const gridSelectionOuterMangled: GridSelection | undefined = React.useMemo((): GridSelection | undefined => {\n return gridSelectionOuter === undefined ? undefined : shiftSelection(gridSelectionOuter, rowMarkerOffset);\n }, [gridSelectionOuter, rowMarkerOffset]);\n const gridSelection = gridSelectionOuterMangled ?? gridSelectionInner;\n\n const abortControllerRef = React.useRef() as React.MutableRefObject;\n if (abortControllerRef.current === undefined) abortControllerRef.current = new AbortController();\n\n React.useEffect(() => () => abortControllerRef?.current.abort(), []);\n\n const [getCellsForSelection, getCellsForSeletionDirect] = useCellsForSelection(\n getCellsForSelectionIn,\n getCellContent,\n rowMarkerOffset,\n abortControllerRef.current,\n rows\n );\n\n const validateCell = React.useCallback>(\n (cell, newValue, prevValue) => {\n if (validateCellIn === undefined) return true;\n const item: Item = [cell[0] - rowMarkerOffset, cell[1]];\n return validateCellIn?.(item, newValue, prevValue);\n },\n [rowMarkerOffset, validateCellIn]\n );\n\n const expectedExternalGridSelection = React.useRef(gridSelectionOuter);\n const setGridSelection = React.useCallback(\n (newVal: GridSelection, expand: boolean): void => {\n if (expand) {\n newVal = expandSelection(\n newVal,\n getCellsForSelection,\n rowMarkerOffset,\n spanRangeBehavior,\n abortControllerRef.current\n );\n }\n if (onGridSelectionChange !== undefined) {\n expectedExternalGridSelection.current = shiftSelection(newVal, -rowMarkerOffset);\n onGridSelectionChange(expectedExternalGridSelection.current);\n } else {\n setGridSelectionInner(newVal);\n }\n },\n [onGridSelectionChange, getCellsForSelection, rowMarkerOffset, spanRangeBehavior]\n );\n\n const onColumnResize = whenDefined(\n onColumnResizeIn,\n React.useCallback>(\n (_, w, ind, wg) => {\n onColumnResizeIn?.(columnsIn[ind - rowMarkerOffset], w, ind - rowMarkerOffset, wg);\n },\n [onColumnResizeIn, rowMarkerOffset, columnsIn]\n )\n );\n\n const onColumnResizeEnd = whenDefined(\n onColumnResizeEndIn,\n React.useCallback>(\n (_, w, ind, wg) => {\n onColumnResizeEndIn?.(columnsIn[ind - rowMarkerOffset], w, ind - rowMarkerOffset, wg);\n },\n [onColumnResizeEndIn, rowMarkerOffset, columnsIn]\n )\n );\n\n const onColumnResizeStart = whenDefined(\n onColumnResizeStartIn,\n React.useCallback>(\n (_, w, ind, wg) => {\n onColumnResizeStartIn?.(columnsIn[ind - rowMarkerOffset], w, ind - rowMarkerOffset, wg);\n },\n [onColumnResizeStartIn, rowMarkerOffset, columnsIn]\n )\n );\n\n const drawHeader = whenDefined(\n drawHeaderIn,\n React.useCallback>(\n (args, draw) => {\n return drawHeaderIn?.({ ...args, columnIndex: args.columnIndex - rowMarkerOffset }, draw) ?? false;\n },\n [drawHeaderIn, rowMarkerOffset]\n )\n );\n\n const drawCell = whenDefined(\n drawCellIn,\n React.useCallback>(\n (args, draw) => {\n return drawCellIn?.({ ...args, col: args.col - rowMarkerOffset }, draw) ?? false;\n },\n [drawCellIn, rowMarkerOffset]\n )\n );\n\n const onDelete = React.useCallback>(\n sel => {\n if (onDeleteIn !== undefined) {\n const result = onDeleteIn(shiftSelection(sel, -rowMarkerOffset));\n if (typeof result === \"boolean\") {\n return result;\n }\n return shiftSelection(result, rowMarkerOffset);\n }\n return true;\n },\n [onDeleteIn, rowMarkerOffset]\n );\n\n const [setCurrent, setSelectedRows, setSelectedColumns] = useSelectionBehavior(\n gridSelection,\n setGridSelection,\n rangeSelectionBlending,\n columnSelectionBlending,\n rowSelectionBlending,\n rangeSelect\n );\n\n const mergedTheme = React.useMemo(() => {\n return mergeAndRealizeTheme(getDataEditorTheme(), theme);\n }, [theme]);\n\n const [clientSize, setClientSize] = React.useState([0, 0, 0]);\n\n const rendererMap = React.useMemo(() => {\n if (renderers === undefined) return {};\n const result: Partial>> = {};\n for (const r of renderers) {\n result[r.kind] = r;\n }\n return result;\n }, [renderers]);\n\n const getCellRenderer: (cell: T) => CellRenderer | undefined = React.useCallback(\n (cell: T) => {\n if (cell.kind !== GridCellKind.Custom) {\n return rendererMap[cell.kind] as unknown as CellRenderer;\n }\n return additionalRenderers?.find(x => x.isMatch(cell)) as CellRenderer;\n },\n [additionalRenderers, rendererMap]\n );\n\n // eslint-disable-next-line prefer-const\n let { sizedColumns: columns, nonGrowWidth } = useColumnSizer(\n columnsIn,\n rows,\n getCellsForSeletionDirect,\n clientSize[0] - (rowMarkerOffset === 0 ? 0 : rowMarkerWidth) - clientSize[2],\n minColumnWidth,\n maxColumnAutoWidth,\n mergedTheme,\n getCellRenderer,\n abortControllerRef.current\n );\n if (rowMarkers !== \"none\") nonGrowWidth += rowMarkerWidth;\n\n const enableGroups = React.useMemo(() => {\n return columns.some(c => c.group !== undefined);\n }, [columns]);\n\n const totalHeaderHeight = enableGroups ? headerHeight + groupHeaderHeight : headerHeight;\n\n const numSelectedRows = gridSelection.rows.length;\n const rowMarkerChecked =\n rowMarkers === \"none\" ? undefined : numSelectedRows === 0 ? false : numSelectedRows === rows ? true : undefined;\n\n const mangledCols = React.useMemo(() => {\n if (rowMarkers === \"none\") return columns;\n return [\n {\n title: \"\",\n width: rowMarkerWidth,\n icon: undefined,\n hasMenu: false,\n style: \"normal\" as const,\n themeOverride: rowMarkerTheme,\n rowMarker: rowMarkerCheckboxStyle,\n rowMarkerChecked,\n },\n ...columns,\n ];\n }, [rowMarkers, columns, rowMarkerWidth, rowMarkerTheme, rowMarkerCheckboxStyle, rowMarkerChecked]);\n\n const [visibleRegionY, visibleRegionTy] = React.useMemo(() => {\n return [\n scrollOffsetY !== undefined && typeof rowHeight === \"number\" ? Math.floor(scrollOffsetY / rowHeight) : 0,\n scrollOffsetY !== undefined && typeof rowHeight === \"number\" ? -(scrollOffsetY % rowHeight) : 0,\n ];\n }, [scrollOffsetY, rowHeight]);\n\n type VisibleRegion = Rectangle & {\n /** value in px */\n tx?: number;\n /** value in px */\n ty?: number;\n extras?: {\n selected?: Item;\n /**\n * @deprecated\n */\n freezeRegion?: Rectangle;\n\n /**\n * All visible freeze regions\n */\n freezeRegions?: readonly Rectangle[];\n };\n };\n\n const visibleRegionRef = React.useRef({\n height: 1,\n width: 1,\n x: 0,\n y: 0,\n });\n const visibleRegionInput = React.useMemo(\n () => ({\n x: visibleRegionRef.current.x,\n y: visibleRegionY,\n width: visibleRegionRef.current.width ?? 1,\n height: visibleRegionRef.current.height ?? 1,\n // tx: 'TODO',\n ty: visibleRegionTy,\n }),\n [visibleRegionTy, visibleRegionY]\n );\n\n const hasJustScrolled = React.useRef(false);\n\n const [visibleRegion, setVisibleRegion, empty] = useStateWithReactiveInput(visibleRegionInput);\n visibleRegionRef.current = visibleRegion;\n\n const vScrollReady = (visibleRegion.height ?? 1) > 1;\n React.useLayoutEffect(() => {\n if (scrollOffsetY !== undefined && scrollRef.current !== null && vScrollReady) {\n if (scrollRef.current.scrollTop === scrollOffsetY) return;\n scrollRef.current.scrollTop = scrollOffsetY;\n if (scrollRef.current.scrollTop !== scrollOffsetY) {\n empty();\n }\n hasJustScrolled.current = true;\n }\n }, [scrollOffsetY, vScrollReady, empty]);\n\n const hScrollReady = (visibleRegion.width ?? 1) > 1;\n React.useLayoutEffect(() => {\n if (scrollOffsetX !== undefined && scrollRef.current !== null && hScrollReady) {\n if (scrollRef.current.scrollLeft === scrollOffsetX) return;\n scrollRef.current.scrollLeft = scrollOffsetX;\n if (scrollRef.current.scrollLeft !== scrollOffsetX) {\n empty();\n }\n hasJustScrolled.current = true;\n }\n }, [scrollOffsetX, hScrollReady, empty]);\n\n const cellXOffset = visibleRegion.x + rowMarkerOffset;\n const cellYOffset = visibleRegion.y;\n\n const gridRef = React.useRef(null);\n\n const focus = React.useCallback((immediate?: boolean) => {\n if (immediate === true) {\n gridRef.current?.focus();\n } else {\n window.requestAnimationFrame(() => {\n gridRef.current?.focus();\n });\n }\n }, []);\n\n const mangledRows = showTrailingBlankRow ? rows + 1 : rows;\n\n const mangledOnCellsEdited = React.useCallback>(\n (items: readonly EditListItem[]) => {\n const mangledItems =\n rowMarkerOffset === 0\n ? items\n : items.map(x => ({\n ...x,\n location: [x.location[0] - rowMarkerOffset, x.location[1]] as const,\n }));\n const r = onCellsEdited?.(mangledItems);\n\n if (r !== true) {\n for (const i of mangledItems) onCellEdited?.(i.location, i.value);\n }\n\n return r;\n },\n [onCellEdited, onCellsEdited, rowMarkerOffset]\n );\n\n const [fillHighlightRegion, setFillHighlightRegion] = React.useState();\n\n // this will generally be undefined triggering the memo less often\n const highlightRange =\n gridSelection.current !== undefined &&\n gridSelection.current.range.width * gridSelection.current.range.height > 1\n ? gridSelection.current.range\n : undefined;\n\n const highlightRegions = React.useMemo(() => {\n if (\n (highlightRegionsIn === undefined || highlightRegionsIn.length === 0) &&\n highlightRange === undefined &&\n fillHighlightRegion === undefined\n )\n return undefined;\n\n const regions: Highlight[] = [];\n\n if (highlightRegionsIn !== undefined) {\n for (const r of highlightRegionsIn) {\n const maxWidth = mangledCols.length - r.range.x - rowMarkerOffset;\n if (maxWidth > 0) {\n regions.push({\n color: r.color,\n range: {\n ...r.range,\n x: r.range.x + rowMarkerOffset,\n width: Math.min(maxWidth, r.range.width),\n },\n style: r.style,\n });\n }\n }\n }\n\n if (fillHighlightRegion !== undefined) {\n regions.push({\n color: withAlpha(mergedTheme.accentColor, 0),\n range: fillHighlightRegion,\n style: \"dashed\",\n });\n }\n\n if (highlightRange !== undefined) {\n regions.push({\n color: withAlpha(mergedTheme.accentColor, 0.5),\n range: highlightRange,\n style: \"solid-outline\",\n });\n }\n\n return regions.length > 0 ? regions : undefined;\n }, [\n fillHighlightRegion,\n highlightRange,\n highlightRegionsIn,\n mangledCols.length,\n mergedTheme.accentColor,\n rowMarkerOffset,\n ]);\n\n const mangledColsRef = React.useRef(mangledCols);\n mangledColsRef.current = mangledCols;\n const getMangledCellContent = React.useCallback(\n ([col, row]: Item, forceStrict: boolean = false): InnerGridCell => {\n const isTrailing = showTrailingBlankRow && row === mangledRows - 1;\n const isRowMarkerCol = col === 0 && hasRowMarkers;\n if (isRowMarkerCol) {\n if (isTrailing) {\n return loadingCell;\n }\n return {\n kind: InnerGridCellKind.Marker,\n allowOverlay: false,\n checkboxStyle: rowMarkerCheckboxStyle,\n checked: gridSelection?.rows.hasIndex(row) === true,\n markerKind: rowMarkers === \"clickable-number\" ? \"number\" : rowMarkers,\n row: rowMarkerStartIndex + row,\n drawHandle: onRowMoved !== undefined,\n cursor: rowMarkers === \"clickable-number\" ? \"pointer\" : undefined,\n };\n } else if (isTrailing) {\n //If the grid is empty, we will return text\n const isFirst = col === rowMarkerOffset;\n\n const maybeFirstColumnHint = isFirst ? trailingRowOptions?.hint ?? \"\" : \"\";\n const c = mangledColsRef.current[col];\n\n if (c?.trailingRowOptions?.disabled === true) {\n return loadingCell;\n } else {\n const hint = c?.trailingRowOptions?.hint ?? maybeFirstColumnHint;\n const icon = c?.trailingRowOptions?.addIcon ?? trailingRowOptions?.addIcon;\n return {\n kind: InnerGridCellKind.NewRow,\n hint,\n allowOverlay: false,\n icon,\n };\n }\n } else {\n const outerCol = col - rowMarkerOffset;\n if (forceStrict || experimental?.strict === true) {\n const vr = visibleRegionRef.current;\n const isOutsideMainArea =\n vr.x > outerCol ||\n outerCol > vr.x + vr.width ||\n vr.y > row ||\n row > vr.y + vr.height ||\n row >= rowsRef.current;\n const isSelected = outerCol === vr.extras?.selected?.[0] && row === vr.extras?.selected[1];\n let isInFreezeArea = false;\n if (vr.extras?.freezeRegions !== undefined) {\n for (const fr of vr.extras.freezeRegions) {\n if (pointInRect(fr, outerCol, row)) {\n isInFreezeArea = true;\n break;\n }\n }\n }\n\n if (isOutsideMainArea && !isSelected && !isInFreezeArea) {\n return loadingCell;\n }\n }\n let result = getCellContent([outerCol, row]);\n if (rowMarkerOffset !== 0 && result.span !== undefined) {\n result = {\n ...result, // FIXME: Mutate\n span: [result.span[0] + rowMarkerOffset, result.span[1] + rowMarkerOffset],\n };\n }\n return result;\n }\n },\n [\n showTrailingBlankRow,\n mangledRows,\n hasRowMarkers,\n rowMarkerCheckboxStyle,\n gridSelection?.rows,\n rowMarkers,\n rowMarkerStartIndex,\n onRowMoved,\n rowMarkerOffset,\n trailingRowOptions?.hint,\n trailingRowOptions?.addIcon,\n experimental?.strict,\n getCellContent,\n ]\n );\n\n const mangledGetGroupDetails = React.useCallback>(\n group => {\n let result = getGroupDetails?.(group) ?? { name: group };\n if (onGroupHeaderRenamed !== undefined && group !== \"\") {\n result = {\n // FIXME: Mutate\n icon: result.icon,\n name: result.name,\n overrideTheme: result.overrideTheme,\n actions: [\n ...(result.actions ?? []),\n {\n title: \"Rename\",\n icon: \"renameIcon\",\n onClick: e =>\n setRenameGroup({\n group: result.name,\n bounds: e.bounds,\n }),\n },\n ],\n };\n }\n return result;\n },\n [getGroupDetails, onGroupHeaderRenamed]\n );\n\n const setOverlaySimple = React.useCallback(\n (val: Omit, \"theme\">) => {\n const [col, row] = val.cell;\n const column = mangledCols[col];\n const groupTheme =\n column?.group !== undefined ? mangledGetGroupDetails(column.group)?.overrideTheme : undefined;\n const colTheme = column?.themeOverride;\n const rowTheme = getRowThemeOverride?.(row);\n\n setOverlay({\n ...val,\n theme: mergeAndRealizeTheme(mergedTheme, groupTheme, colTheme, rowTheme, val.content.themeOverride),\n });\n },\n [getRowThemeOverride, mangledCols, mangledGetGroupDetails, mergedTheme]\n );\n\n const reselect = React.useCallback(\n (bounds: Rectangle, fromKeyboard: boolean, initialValue?: string) => {\n if (gridSelection.current === undefined) return;\n\n const [col, row] = gridSelection.current.cell;\n const c = getMangledCellContent([col, row]);\n if (c.kind !== GridCellKind.Boolean && c.allowOverlay) {\n let content = c;\n if (initialValue !== undefined) {\n switch (content.kind) {\n case GridCellKind.Number: {\n const d = maybe(() => (initialValue === \"-\" ? -0 : Number.parseFloat(initialValue)), 0);\n content = {\n ...content,\n data: Number.isNaN(d) ? 0 : d,\n };\n break;\n }\n case GridCellKind.Text:\n case GridCellKind.Markdown:\n case GridCellKind.Uri:\n content = {\n ...content,\n data: initialValue,\n };\n break;\n }\n }\n\n setOverlaySimple({\n target: bounds,\n content,\n initialValue,\n cell: [col, row],\n highlight: initialValue === undefined,\n forceEditMode: initialValue !== undefined,\n });\n } else if (c.kind === GridCellKind.Boolean && fromKeyboard && c.readonly !== true) {\n mangledOnCellsEdited([\n {\n location: gridSelection.current.cell,\n value: {\n ...c,\n data: toggleBoolean(c.data),\n },\n },\n ]);\n gridRef.current?.damage([{ cell: gridSelection.current.cell }]);\n }\n },\n [getMangledCellContent, gridSelection, mangledOnCellsEdited, setOverlaySimple]\n );\n\n const focusOnRowFromTrailingBlankRow = React.useCallback(\n (col: number, row: number) => {\n const bounds = gridRef.current?.getBounds(col, row);\n if (bounds === undefined || scrollRef.current === null) {\n return;\n }\n\n const content = getMangledCellContent([col, row]);\n if (!content.allowOverlay) {\n return;\n }\n\n setOverlaySimple({\n target: bounds,\n content,\n initialValue: undefined,\n highlight: true,\n cell: [col, row],\n forceEditMode: true,\n });\n },\n [getMangledCellContent, setOverlaySimple]\n );\n\n const scrollTo = React.useCallback(\n (col, row, dir = \"both\", paddingX = 0, paddingY = 0, options = undefined): void => {\n if (scrollRef.current !== null) {\n const grid = gridRef.current;\n const canvas = canvasRef.current;\n\n const trueCol = typeof col !== \"number\" ? (col.unit === \"cell\" ? col.amount : undefined) : col;\n const trueRow = typeof row !== \"number\" ? (row.unit === \"cell\" ? row.amount : undefined) : row;\n const desiredX = typeof col !== \"number\" && col.unit === \"px\" ? col.amount : undefined;\n const desiredY = typeof row !== \"number\" && row.unit === \"px\" ? row.amount : undefined;\n if (grid !== null && canvas !== null) {\n let targetRect: Rectangle = {\n x: 0,\n y: 0,\n width: 0,\n height: 0,\n };\n\n let scrollX = 0;\n let scrollY = 0;\n\n if (trueCol !== undefined || trueRow !== undefined) {\n targetRect = grid.getBounds((trueCol ?? 0) + rowMarkerOffset, trueRow ?? 0) ?? targetRect;\n if (targetRect.width === 0 || targetRect.height === 0) return;\n }\n\n const scrollBounds = canvas.getBoundingClientRect();\n const scale = scrollBounds.width / canvas.offsetWidth;\n\n if (desiredX !== undefined) {\n targetRect = {\n ...targetRect,\n x: desiredX - scrollBounds.left - scrollRef.current.scrollLeft,\n width: 1,\n };\n }\n if (desiredY !== undefined) {\n targetRect = {\n ...targetRect,\n y: desiredY + scrollBounds.top - scrollRef.current.scrollTop,\n height: 1,\n };\n }\n\n if (targetRect !== undefined) {\n const bounds = {\n x: targetRect.x - paddingX,\n y: targetRect.y - paddingY,\n width: targetRect.width + 2 * paddingX,\n height: targetRect.height + 2 * paddingY,\n };\n\n let frozenWidth = 0;\n for (let i = 0; i < freezeColumns; i++) {\n frozenWidth += columns[i].width;\n }\n let trailingRowHeight = 0;\n const freezeTrailingRowsEffective = freezeTrailingRows + (lastRowSticky ? 1 : 0);\n if (freezeTrailingRowsEffective > 0) {\n trailingRowHeight = getFreezeTrailingHeight(\n mangledRows,\n freezeTrailingRowsEffective,\n rowHeight\n );\n }\n\n // scrollBounds is already scaled\n let sLeft = frozenWidth * scale + scrollBounds.left + rowMarkerOffset * rowMarkerWidth * scale;\n let sRight = scrollBounds.right;\n let sTop = scrollBounds.top + totalHeaderHeight * scale;\n let sBottom = scrollBounds.bottom - trailingRowHeight * scale;\n\n const minx = targetRect.width + paddingX * 2;\n switch (options?.hAlign) {\n case \"start\":\n sRight = sLeft + minx;\n break;\n case \"end\":\n sLeft = sRight - minx;\n break;\n case \"center\":\n sLeft = Math.floor((sLeft + sRight) / 2) - minx / 2;\n sRight = sLeft + minx;\n break;\n }\n\n const miny = targetRect.height + paddingY * 2;\n switch (options?.vAlign) {\n case \"start\":\n sBottom = sTop + miny;\n break;\n case \"end\":\n sTop = sBottom - miny;\n break;\n case \"center\":\n sTop = Math.floor((sTop + sBottom) / 2) - miny / 2;\n sBottom = sTop + miny;\n break;\n }\n\n if (sLeft > bounds.x) {\n scrollX = bounds.x - sLeft;\n } else if (sRight < bounds.x + bounds.width) {\n scrollX = bounds.x + bounds.width - sRight;\n }\n\n if (sTop > bounds.y) {\n scrollY = bounds.y - sTop;\n } else if (sBottom < bounds.y + bounds.height) {\n scrollY = bounds.y + bounds.height - sBottom;\n }\n\n if (dir === \"vertical\" || (typeof col === \"number\" && col < freezeColumns)) {\n scrollX = 0;\n } else if (\n dir === \"horizontal\" ||\n (typeof row === \"number\" && row >= mangledRows - freezeTrailingRowsEffective)\n ) {\n scrollY = 0;\n }\n\n if (scrollX !== 0 || scrollY !== 0) {\n // Remove scaling as scrollTo method is unaffected by transform scale.\n if (scale !== 1) {\n scrollX /= scale;\n scrollY /= scale;\n }\n scrollRef.current.scrollTo(\n scrollX + scrollRef.current.scrollLeft,\n scrollY + scrollRef.current.scrollTop\n );\n }\n }\n }\n }\n },\n [\n rowMarkerOffset,\n freezeTrailingRows,\n rowMarkerWidth,\n totalHeaderHeight,\n freezeColumns,\n columns,\n mangledRows,\n lastRowSticky,\n rowHeight,\n ]\n );\n\n const focusCallback = React.useRef(focusOnRowFromTrailingBlankRow);\n const getCellContentRef = React.useRef(getCellContent);\n const rowsRef = React.useRef(rows);\n focusCallback.current = focusOnRowFromTrailingBlankRow;\n getCellContentRef.current = getCellContent;\n rowsRef.current = rows;\n const appendRow = React.useCallback(\n async (col: number, openOverlay: boolean = true): Promise => {\n const c = mangledCols[col];\n if (c?.trailingRowOptions?.disabled === true) {\n return;\n }\n const appendResult = onRowAppended?.();\n\n let r: \"top\" | \"bottom\" | number | undefined = undefined;\n let bottom = true;\n if (appendResult !== undefined) {\n r = await appendResult;\n if (r === \"top\") bottom = false;\n if (typeof r === \"number\") bottom = false;\n }\n\n let backoff = 0;\n const doFocus = () => {\n if (rowsRef.current <= rows) {\n if (backoff < 500) {\n window.setTimeout(doFocus, backoff);\n }\n backoff = 50 + backoff * 2;\n return;\n }\n\n const row = typeof r === \"number\" ? r : bottom ? rows : 0;\n scrollToRef.current(col - rowMarkerOffset, row);\n setCurrent(\n {\n cell: [col, row],\n range: {\n x: col,\n y: row,\n width: 1,\n height: 1,\n },\n },\n false,\n false,\n \"edit\"\n );\n\n const cell = getCellContentRef.current([col - rowMarkerOffset, row]);\n if (cell.allowOverlay && isReadWriteCell(cell) && cell.readonly !== true && openOverlay) {\n // wait for scroll to have a chance to process\n window.setTimeout(() => {\n focusCallback.current(col, row);\n }, 0);\n }\n };\n // Queue up to allow the consumer to react to the event and let us check if they did\n doFocus();\n },\n [mangledCols, onRowAppended, rowMarkerOffset, rows, setCurrent]\n );\n\n const getCustomNewRowTargetColumn = React.useCallback(\n (col: number): number | undefined => {\n const customTargetColumn =\n columns[col]?.trailingRowOptions?.targetColumn ?? trailingRowOptions?.targetColumn;\n\n if (typeof customTargetColumn === \"number\") {\n const customTargetOffset = hasRowMarkers ? 1 : 0;\n return customTargetColumn + customTargetOffset;\n }\n\n if (typeof customTargetColumn === \"object\") {\n const maybeIndex = columnsIn.indexOf(customTargetColumn);\n if (maybeIndex >= 0) {\n const customTargetOffset = hasRowMarkers ? 1 : 0;\n return maybeIndex + customTargetOffset;\n }\n }\n\n return undefined;\n },\n [columns, columnsIn, hasRowMarkers, trailingRowOptions?.targetColumn]\n );\n\n const lastSelectedRowRef = React.useRef();\n const lastSelectedColRef = React.useRef();\n\n const themeForCell = React.useCallback(\n (cell: InnerGridCell, pos: Item): FullTheme => {\n const [col, row] = pos;\n return mergeAndRealizeTheme(\n mergedTheme,\n mangledCols[col]?.themeOverride,\n getRowThemeOverride?.(row),\n cell.themeOverride\n );\n },\n [getRowThemeOverride, mangledCols, mergedTheme]\n );\n\n const handleSelect = React.useCallback(\n (args: GridMouseEventArgs) => {\n const isMultiKey = browserIsOSX.value ? args.metaKey : args.ctrlKey;\n const isMultiRow = isMultiKey && rowSelect === \"multi\";\n const isMultiCol = isMultiKey && columnSelect === \"multi\";\n const [col, row] = args.location;\n const selectedColumns = gridSelection.columns;\n const selectedRows = gridSelection.rows;\n const [cellCol, cellRow] = gridSelection.current?.cell ?? [];\n // eslint-disable-next-line unicorn/prefer-switch\n if (args.kind === \"cell\") {\n lastSelectedColRef.current = undefined;\n\n lastMouseSelectLocation.current = [col, row];\n\n if (col === 0 && hasRowMarkers) {\n if (\n (showTrailingBlankRow === true && row === rows) ||\n rowMarkers === \"number\" ||\n rowSelect === \"none\"\n )\n return;\n\n const markerCell = getMangledCellContent(args.location);\n if (markerCell.kind !== InnerGridCellKind.Marker) {\n return;\n }\n\n if (onRowMoved !== undefined) {\n const renderer = getCellRenderer(markerCell);\n assert(renderer?.kind === InnerGridCellKind.Marker);\n const postClick = renderer?.onClick?.({\n ...args,\n cell: markerCell,\n posX: args.localEventX,\n posY: args.localEventY,\n bounds: args.bounds,\n theme: themeForCell(markerCell, args.location),\n preventDefault: () => undefined,\n }) as MarkerCell | undefined;\n if (postClick === undefined || postClick.checked === markerCell.checked) return;\n }\n\n setOverlay(undefined);\n focus();\n const isSelected = selectedRows.hasIndex(row);\n\n const lastHighlighted = lastSelectedRowRef.current;\n if (\n rowSelect === \"multi\" &&\n (args.shiftKey || args.isLongTouch === true) &&\n lastHighlighted !== undefined &&\n selectedRows.hasIndex(lastHighlighted)\n ) {\n const newSlice: Slice = [Math.min(lastHighlighted, row), Math.max(lastHighlighted, row) + 1];\n\n if (isMultiRow || rowSelectionMode === \"multi\") {\n setSelectedRows(undefined, newSlice, true);\n } else {\n setSelectedRows(CompactSelection.fromSingleSelection(newSlice), undefined, isMultiRow);\n }\n } else if (isMultiRow || args.isTouch || rowSelectionMode === \"multi\") {\n if (isSelected) {\n setSelectedRows(selectedRows.remove(row), undefined, true);\n } else {\n setSelectedRows(undefined, row, true);\n lastSelectedRowRef.current = row;\n }\n } else if (isSelected && selectedRows.length === 1) {\n setSelectedRows(CompactSelection.empty(), undefined, isMultiKey);\n } else {\n setSelectedRows(CompactSelection.fromSingleSelection(row), undefined, isMultiKey);\n lastSelectedRowRef.current = row;\n }\n } else if (col >= rowMarkerOffset && showTrailingBlankRow && row === rows) {\n const customTargetColumn = getCustomNewRowTargetColumn(col);\n void appendRow(customTargetColumn ?? col);\n } else {\n if (cellCol !== col || cellRow !== row) {\n const cell = getMangledCellContent(args.location);\n const renderer = getCellRenderer(cell);\n\n if (renderer?.onSelect !== undefined) {\n let prevented = false;\n renderer.onSelect({\n ...args,\n cell,\n posX: args.localEventX,\n posY: args.localEventY,\n bounds: args.bounds,\n preventDefault: () => (prevented = true),\n theme: themeForCell(cell, args.location),\n });\n if (prevented) {\n return;\n }\n }\n const isLastStickyRow = lastRowSticky && row === rows;\n\n const startedFromLastSticky =\n lastRowSticky && gridSelection !== undefined && gridSelection.current?.cell[1] === rows;\n\n if (\n (args.shiftKey || args.isLongTouch === true) &&\n cellCol !== undefined &&\n cellRow !== undefined &&\n gridSelection.current !== undefined &&\n !startedFromLastSticky\n ) {\n if (isLastStickyRow) {\n // If we're making a selection and shift click in to the last sticky row,\n // just drop the event. Don't kill the selection.\n return;\n }\n\n const left = Math.min(col, cellCol);\n const right = Math.max(col, cellCol);\n const top = Math.min(row, cellRow);\n const bottom = Math.max(row, cellRow);\n setCurrent(\n {\n ...gridSelection.current,\n range: {\n x: left,\n y: top,\n width: right - left + 1,\n height: bottom - top + 1,\n },\n },\n true,\n isMultiKey,\n \"click\"\n );\n lastSelectedRowRef.current = undefined;\n focus();\n } else {\n setCurrent(\n {\n cell: [col, row],\n range: { x: col, y: row, width: 1, height: 1 },\n },\n true,\n isMultiKey,\n \"click\"\n );\n lastSelectedRowRef.current = undefined;\n setOverlay(undefined);\n focus();\n }\n }\n }\n } else if (args.kind === \"header\") {\n lastMouseSelectLocation.current = [col, row];\n setOverlay(undefined);\n if (hasRowMarkers && col === 0) {\n lastSelectedRowRef.current = undefined;\n lastSelectedColRef.current = undefined;\n if (rowSelect === \"multi\") {\n if (selectedRows.length !== rows) {\n setSelectedRows(CompactSelection.fromSingleSelection([0, rows]), undefined, isMultiKey);\n } else {\n setSelectedRows(CompactSelection.empty(), undefined, isMultiKey);\n }\n focus();\n }\n } else {\n const lastCol = lastSelectedColRef.current;\n if (\n columnSelect === \"multi\" &&\n (args.shiftKey || args.isLongTouch === true) &&\n lastCol !== undefined &&\n selectedColumns.hasIndex(lastCol)\n ) {\n const newSlice: Slice = [Math.min(lastCol, col), Math.max(lastCol, col) + 1];\n\n if (isMultiCol) {\n setSelectedColumns(undefined, newSlice, isMultiKey);\n } else {\n setSelectedColumns(CompactSelection.fromSingleSelection(newSlice), undefined, isMultiKey);\n }\n } else if (isMultiCol) {\n if (selectedColumns.hasIndex(col)) {\n setSelectedColumns(selectedColumns.remove(col), undefined, isMultiKey);\n } else {\n setSelectedColumns(undefined, col, isMultiKey);\n }\n lastSelectedColRef.current = col;\n } else if (columnSelect !== \"none\") {\n setSelectedColumns(CompactSelection.fromSingleSelection(col), undefined, isMultiKey);\n lastSelectedColRef.current = col;\n }\n lastSelectedRowRef.current = undefined;\n focus();\n }\n } else if (args.kind === groupHeaderKind) {\n lastMouseSelectLocation.current = [col, row];\n } else if (args.kind === outOfBoundsKind && !args.isMaybeScrollbar) {\n setGridSelection(emptyGridSelection, false);\n setOverlay(undefined);\n focus();\n onSelectionCleared?.();\n lastSelectedRowRef.current = undefined;\n lastSelectedColRef.current = undefined;\n }\n },\n [\n appendRow,\n columnSelect,\n focus,\n getCellRenderer,\n getCustomNewRowTargetColumn,\n getMangledCellContent,\n gridSelection,\n hasRowMarkers,\n lastRowSticky,\n onSelectionCleared,\n onRowMoved,\n rowMarkerOffset,\n rowMarkers,\n rowSelect,\n rowSelectionMode,\n rows,\n setCurrent,\n setGridSelection,\n setSelectedColumns,\n setSelectedRows,\n showTrailingBlankRow,\n themeForCell,\n ]\n );\n const isActivelyDraggingHeader = React.useRef(false);\n const lastMouseSelectLocation = React.useRef();\n const touchDownArgs = React.useRef(visibleRegion);\n const mouseDownData = React.useRef<{\n time: number;\n button: number;\n location: Item;\n }>();\n const onMouseDown = React.useCallback(\n (args: GridMouseEventArgs) => {\n isPrevented.current = false;\n touchDownArgs.current = visibleRegionRef.current;\n if (args.button !== 0 && args.button !== 1) {\n mouseDownData.current = undefined;\n return;\n }\n\n const time = performance.now();\n mouseDownData.current = {\n button: args.button,\n time,\n location: args.location,\n };\n\n if (args?.kind === \"header\") {\n isActivelyDraggingHeader.current = true;\n }\n\n const fh = args.kind === \"cell\" && args.isFillHandle;\n\n if (!fh && args.kind !== \"cell\" && args.isEdge) return;\n\n setMouseState({\n previousSelection: gridSelection,\n fillHandle: fh,\n });\n lastMouseSelectLocation.current = undefined;\n\n if (!args.isTouch && args.button === 0 && !fh) {\n handleSelect(args);\n } else if (!args.isTouch && args.button === 1) {\n lastMouseSelectLocation.current = args.location;\n }\n },\n [gridSelection, handleSelect]\n );\n\n const [renameGroup, setRenameGroup] = React.useState<{\n group: string;\n bounds: Rectangle;\n }>();\n\n const handleGroupHeaderSelection = React.useCallback(\n (args: GridMouseEventArgs) => {\n if (args.kind !== groupHeaderKind || columnSelect !== \"multi\") {\n return;\n }\n const isMultiKey = browserIsOSX.value ? args.metaKey : args.ctrlKey;\n const [col] = args.location;\n const selectedColumns = gridSelection.columns;\n\n if (col < rowMarkerOffset) return;\n\n const needle = mangledCols[col];\n let start = col;\n let end = col;\n for (let i = col - 1; i >= rowMarkerOffset; i--) {\n if (!isGroupEqual(needle.group, mangledCols[i].group)) break;\n start--;\n }\n\n for (let i = col + 1; i < mangledCols.length; i++) {\n if (!isGroupEqual(needle.group, mangledCols[i].group)) break;\n end++;\n }\n\n focus();\n\n if (isMultiKey) {\n if (selectedColumns.hasAll([start, end + 1])) {\n let newVal = selectedColumns;\n for (let index = start; index <= end; index++) {\n newVal = newVal.remove(index);\n }\n setSelectedColumns(newVal, undefined, isMultiKey);\n } else {\n setSelectedColumns(undefined, [start, end + 1], isMultiKey);\n }\n } else {\n setSelectedColumns(CompactSelection.fromSingleSelection([start, end + 1]), undefined, isMultiKey);\n }\n },\n [columnSelect, focus, gridSelection.columns, mangledCols, rowMarkerOffset, setSelectedColumns]\n );\n\n const isPrevented = React.useRef(false);\n\n const normalSizeColumn = React.useCallback(\n async (col: number): Promise => {\n if (getCellsForSelection !== undefined && onColumnResize !== undefined) {\n const start = visibleRegionRef.current.y;\n const end = visibleRegionRef.current.height;\n let cells = getCellsForSelection(\n {\n x: col,\n y: start,\n width: 1,\n height: Math.min(end, rows - start),\n },\n abortControllerRef.current.signal\n );\n if (typeof cells !== \"object\") {\n cells = await cells();\n }\n const inputCol = columns[col - rowMarkerOffset];\n const offscreen = document.createElement(\"canvas\");\n const ctx = offscreen.getContext(\"2d\", { alpha: false });\n if (ctx !== null) {\n ctx.font = mergedTheme.baseFontFull;\n const newCol = measureColumn(\n ctx,\n mergedTheme,\n inputCol,\n 0,\n cells,\n minColumnWidth,\n maxColumnWidth,\n false,\n getCellRenderer\n );\n onColumnResize?.(inputCol, newCol.width, col, newCol.width);\n }\n }\n },\n [\n columns,\n getCellsForSelection,\n maxColumnWidth,\n mergedTheme,\n minColumnWidth,\n onColumnResize,\n rowMarkerOffset,\n rows,\n getCellRenderer,\n ]\n );\n\n const [scrollDir, setScrollDir] = React.useState();\n\n const fillPattern = React.useCallback(\n async (previousSelection: GridSelection, currentSelection: GridSelection) => {\n const patternRange = previousSelection.current?.range;\n\n if (\n patternRange === undefined ||\n getCellsForSelection === undefined ||\n currentSelection.current === undefined\n ) {\n return;\n }\n const currentRange = currentSelection.current.range;\n\n if (onFillPattern !== undefined) {\n let canceled = false;\n onFillPattern({\n fillDestination: { ...currentRange, x: currentRange.x - rowMarkerOffset },\n patternSource: { ...patternRange, x: patternRange.x - rowMarkerOffset },\n preventDefault: () => (canceled = true),\n });\n if (canceled) return;\n }\n\n let cells = getCellsForSelection(patternRange, abortControllerRef.current.signal);\n if (typeof cells !== \"object\") cells = await cells();\n\n const pattern = cells;\n\n // loop through all cells in currentSelection.current.range\n const editItemList: EditListItem[] = [];\n for (let x = 0; x < currentRange.width; x++) {\n for (let y = 0; y < currentRange.height; y++) {\n const cell: Item = [currentRange.x + x, currentRange.y + y];\n if (itemIsInRect(cell, patternRange)) continue;\n const patternCell = pattern[y % patternRange.height][x % patternRange.width];\n if (isInnerOnlyCell(patternCell) || !isReadWriteCell(patternCell)) continue;\n editItemList.push({\n location: cell,\n value: { ...patternCell },\n });\n }\n }\n mangledOnCellsEdited(editItemList);\n\n gridRef.current?.damage(\n editItemList.map(c => ({\n cell: c.location,\n }))\n );\n },\n [getCellsForSelection, mangledOnCellsEdited, onFillPattern, rowMarkerOffset]\n );\n\n const fillRight = React.useCallback(() => {\n if (gridSelection.current === undefined || gridSelection.current.range.width <= 1) return;\n\n const firstColSelection = {\n ...gridSelection,\n current: {\n ...gridSelection.current,\n range: {\n ...gridSelection.current.range,\n width: 1,\n },\n },\n };\n\n void fillPattern(firstColSelection, gridSelection);\n }, [fillPattern, gridSelection]);\n\n const fillDown = React.useCallback(() => {\n if (gridSelection.current === undefined || gridSelection.current.range.height <= 1) return;\n\n const firstRowSelection = {\n ...gridSelection,\n current: {\n ...gridSelection.current,\n range: {\n ...gridSelection.current.range,\n height: 1,\n },\n },\n };\n\n void fillPattern(firstRowSelection, gridSelection);\n }, [fillPattern, gridSelection]);\n\n const onMouseUp = React.useCallback(\n (args: GridMouseEventArgs, isOutside: boolean) => {\n const mouse = mouseState;\n setMouseState(undefined);\n setFillHighlightRegion(undefined);\n setScrollDir(undefined);\n isActivelyDraggingHeader.current = false;\n\n if (isOutside) return;\n\n if (\n mouse?.fillHandle === true &&\n gridSelection.current !== undefined &&\n mouse.previousSelection?.current !== undefined\n ) {\n if (fillHighlightRegion === undefined) return;\n const newRange = {\n ...gridSelection,\n current: {\n ...gridSelection.current,\n range: combineRects(mouse.previousSelection.current.range, fillHighlightRegion),\n },\n };\n void fillPattern(mouse.previousSelection, newRange);\n setGridSelection(newRange, true);\n return;\n }\n\n const [col, row] = args.location;\n const [lastMouseDownCol, lastMouseDownRow] = lastMouseSelectLocation.current ?? [];\n\n const preventDefault = () => {\n isPrevented.current = true;\n };\n\n const handleMaybeClick = (a: GridMouseCellEventArgs): boolean => {\n const isValidClick = a.isTouch || (lastMouseDownCol === col && lastMouseDownRow === row);\n if (isValidClick) {\n onCellClicked?.([col - rowMarkerOffset, row], {\n ...a,\n preventDefault,\n });\n }\n if (a.button === 1) return !isPrevented.current;\n if (!isPrevented.current) {\n const c = getMangledCellContent(args.location);\n const r = getCellRenderer(c);\n if (r !== undefined && r.onClick !== undefined && isValidClick) {\n const newVal = r.onClick({\n ...a,\n cell: c,\n posX: a.localEventX,\n posY: a.localEventY,\n bounds: a.bounds,\n theme: themeForCell(c, args.location),\n preventDefault,\n });\n if (newVal !== undefined && !isInnerOnlyCell(newVal) && isEditableGridCell(newVal)) {\n mangledOnCellsEdited([{ location: a.location, value: newVal }]);\n gridRef.current?.damage([\n {\n cell: a.location,\n },\n ]);\n }\n }\n if (isPrevented.current || gridSelection.current === undefined) return false;\n\n let shouldActivate = false;\n switch (cellActivationBehavior) {\n case \"double-click\":\n case \"second-click\": {\n if (mouse?.previousSelection?.current?.cell === undefined) break;\n const [selectedCol, selectedRow] = gridSelection.current.cell;\n const [prevCol, prevRow] = mouse.previousSelection.current.cell;\n const isClickOnSelected =\n col === selectedCol && col === prevCol && row === selectedRow && row === prevRow;\n shouldActivate =\n isClickOnSelected &&\n (a.isDoubleClick === true || cellActivationBehavior === \"second-click\");\n break;\n }\n case \"single-click\": {\n shouldActivate = true;\n break;\n }\n }\n if (shouldActivate) {\n onCellActivated?.([col - rowMarkerOffset, row]);\n reselect(a.bounds, false);\n return true;\n }\n }\n return false;\n };\n\n const clickLocation = args.location[0] - rowMarkerOffset;\n if (args.isTouch) {\n const vr = visibleRegionRef.current;\n const touchVr = touchDownArgs.current;\n if (vr.x !== touchVr.x || vr.y !== touchVr.y) {\n // we scrolled, abort\n return;\n }\n // take care of context menus first if long pressed item is already selected\n if (args.isLongTouch === true) {\n if (args.kind === \"cell\" && itemsAreEqual(gridSelection.current?.cell, args.location)) {\n onCellContextMenu?.([clickLocation, args.location[1]], {\n ...args,\n preventDefault,\n });\n return;\n } else if (args.kind === \"header\" && gridSelection.columns.hasIndex(col)) {\n onHeaderContextMenu?.(clickLocation, { ...args, preventDefault });\n return;\n } else if (args.kind === groupHeaderKind) {\n if (clickLocation < 0) {\n return;\n }\n\n onGroupHeaderContextMenu?.(clickLocation, { ...args, preventDefault });\n return;\n }\n }\n if (args.kind === \"cell\") {\n // click that cell\n if (!handleMaybeClick(args)) {\n handleSelect(args);\n }\n } else if (args.kind === groupHeaderKind) {\n onGroupHeaderClicked?.(clickLocation, { ...args, preventDefault });\n } else {\n if (args.kind === headerKind) {\n onHeaderClicked?.(clickLocation, {\n ...args,\n preventDefault,\n });\n }\n handleSelect(args);\n }\n return;\n }\n\n if (args.kind === \"header\") {\n if (clickLocation < 0) {\n return;\n }\n\n if (args.isEdge) {\n if (args.isDoubleClick === true) {\n void normalSizeColumn(col);\n }\n } else if (args.button === 0 && col === lastMouseDownCol && row === lastMouseDownRow) {\n onHeaderClicked?.(clickLocation, { ...args, preventDefault });\n }\n }\n\n if (args.kind === groupHeaderKind) {\n if (clickLocation < 0) {\n return;\n }\n\n if (args.button === 0 && col === lastMouseDownCol && row === lastMouseDownRow) {\n onGroupHeaderClicked?.(clickLocation, { ...args, preventDefault });\n if (!isPrevented.current) {\n handleGroupHeaderSelection(args);\n }\n }\n }\n\n if (args.kind === \"cell\" && (args.button === 0 || args.button === 1)) {\n handleMaybeClick(args);\n }\n\n lastMouseSelectLocation.current = undefined;\n },\n [\n mouseState,\n gridSelection,\n rowMarkerOffset,\n fillHighlightRegion,\n fillPattern,\n setGridSelection,\n onCellClicked,\n getMangledCellContent,\n getCellRenderer,\n cellActivationBehavior,\n themeForCell,\n mangledOnCellsEdited,\n onCellActivated,\n reselect,\n onCellContextMenu,\n onHeaderContextMenu,\n onGroupHeaderContextMenu,\n handleSelect,\n onGroupHeaderClicked,\n onHeaderClicked,\n normalSizeColumn,\n handleGroupHeaderSelection,\n ]\n );\n\n const onMouseMoveImpl = React.useCallback(\n (args: GridMouseEventArgs) => {\n const a: GridMouseEventArgs = {\n ...args, // FIXME: Mutate\n location: [args.location[0] - rowMarkerOffset, args.location[1]] as any,\n };\n onMouseMove?.(a);\n\n if (mouseState !== undefined && args.buttons === 0) {\n setMouseState(undefined);\n setFillHighlightRegion(undefined);\n setScrollDir(undefined);\n isActivelyDraggingHeader.current = false;\n }\n\n setScrollDir(cv => {\n if (isActivelyDraggingHeader.current) return [args.scrollEdge[0], 0];\n if (args.scrollEdge[0] === cv?.[0] && args.scrollEdge[1] === cv[1]) return cv;\n return mouseState === undefined || (mouseDownData.current?.location[0] ?? 0) < rowMarkerOffset\n ? undefined\n : args.scrollEdge;\n });\n },\n [mouseState, onMouseMove, rowMarkerOffset]\n );\n\n const onHeaderMenuClickInner = React.useCallback(\n (col: number, screenPosition: Rectangle) => {\n onHeaderMenuClick?.(col - rowMarkerOffset, screenPosition);\n },\n [onHeaderMenuClick, rowMarkerOffset]\n );\n\n const currentCell = gridSelection?.current?.cell;\n const onVisibleRegionChangedImpl = React.useCallback(\n (\n region: Rectangle,\n clientWidth: number,\n clientHeight: number,\n rightElWidth: number,\n tx: number,\n ty: number\n ) => {\n hasJustScrolled.current = false;\n let selected = currentCell;\n if (selected !== undefined) {\n selected = [selected[0] - rowMarkerOffset, selected[1]];\n }\n\n const freezeRegion =\n freezeColumns === 0\n ? undefined\n : {\n x: 0,\n y: region.y,\n width: freezeColumns,\n height: region.height,\n };\n\n const freezeRegions: Rectangle[] = [];\n if (freezeRegion !== undefined) freezeRegions.push(freezeRegion);\n if (freezeTrailingRows > 0) {\n freezeRegions.push({\n x: region.x - rowMarkerOffset,\n y: rows - freezeTrailingRows,\n width: region.width,\n height: freezeTrailingRows,\n });\n\n if (freezeColumns > 0) {\n freezeRegions.push({\n x: 0,\n y: rows - freezeTrailingRows,\n width: freezeColumns,\n height: freezeTrailingRows,\n });\n }\n }\n\n const newRegion = {\n x: region.x - rowMarkerOffset,\n y: region.y,\n width: region.width,\n height: showTrailingBlankRow && region.y + region.height >= rows ? region.height - 1 : region.height,\n tx,\n ty,\n extras: {\n selected,\n freezeRegion,\n freezeRegions,\n },\n };\n visibleRegionRef.current = newRegion;\n setVisibleRegion(newRegion);\n setClientSize([clientWidth, clientHeight, rightElWidth]);\n onVisibleRegionChanged?.(newRegion, newRegion.tx, newRegion.ty, newRegion.extras);\n },\n [\n currentCell,\n rowMarkerOffset,\n showTrailingBlankRow,\n rows,\n freezeColumns,\n freezeTrailingRows,\n setVisibleRegion,\n onVisibleRegionChanged,\n ]\n );\n\n const onColumnMovedImpl = whenDefined(\n onColumnMoved,\n React.useCallback(\n (startIndex: number, endIndex: number) => {\n onColumnMoved?.(startIndex - rowMarkerOffset, endIndex - rowMarkerOffset);\n if (columnSelect !== \"none\") {\n setSelectedColumns(CompactSelection.fromSingleSelection(endIndex), undefined, true);\n }\n },\n [columnSelect, onColumnMoved, rowMarkerOffset, setSelectedColumns]\n )\n );\n\n const isActivelyDragging = React.useRef(false);\n const onDragStartImpl = React.useCallback(\n (args: GridDragEventArgs) => {\n if (args.location[0] === 0 && rowMarkerOffset > 0) {\n args.preventDefault();\n return;\n }\n onDragStart?.({\n ...args,\n location: [args.location[0] - rowMarkerOffset, args.location[1]] as any,\n });\n\n if (!args.defaultPrevented()) {\n isActivelyDragging.current = true;\n }\n setMouseState(undefined);\n },\n [onDragStart, rowMarkerOffset]\n );\n\n const onDragEnd = React.useCallback(() => {\n isActivelyDragging.current = false;\n }, []);\n\n const hoveredRef = React.useRef();\n const onItemHoveredImpl = React.useCallback(\n (args: GridMouseEventArgs) => {\n // make sure we still have a button down\n if (mouseEventArgsAreEqual(args, hoveredRef.current)) return;\n hoveredRef.current = args;\n if (mouseDownData?.current?.button !== undefined && mouseDownData.current.button >= 1) return;\n if (\n args.buttons !== 0 &&\n mouseState !== undefined &&\n mouseDownData.current?.location[0] === 0 &&\n args.location[0] === 0 &&\n rowMarkerOffset === 1 &&\n rowSelect === \"multi\" &&\n mouseState.previousSelection &&\n !mouseState.previousSelection.rows.hasIndex(mouseDownData.current.location[1]) &&\n gridSelection.rows.hasIndex(mouseDownData.current.location[1])\n ) {\n const start = Math.min(mouseDownData.current.location[1], args.location[1]);\n const end = Math.max(mouseDownData.current.location[1], args.location[1]) + 1;\n setSelectedRows(CompactSelection.fromSingleSelection([start, end]), undefined, false);\n }\n if (\n args.buttons !== 0 &&\n mouseState !== undefined &&\n gridSelection.current !== undefined &&\n !isActivelyDragging.current &&\n !isActivelyDraggingHeader.current &&\n (rangeSelect === \"rect\" || rangeSelect === \"multi-rect\")\n ) {\n const [selectedCol, selectedRow] = gridSelection.current.cell;\n // eslint-disable-next-line prefer-const\n let [col, row] = args.location;\n\n if (row < 0) {\n row = visibleRegionRef.current.y;\n }\n\n if (mouseState.fillHandle === true && mouseState.previousSelection?.current !== undefined) {\n const prevRange = mouseState.previousSelection.current.range;\n row = Math.min(row, showTrailingBlankRow ? rows - 1 : rows);\n const rect = getClosestRect(prevRange, col, row, allowedFillDirections);\n setFillHighlightRegion(rect);\n } else {\n const startedFromLastStickyRow = showTrailingBlankRow && selectedRow === rows;\n if (startedFromLastStickyRow) return;\n\n const landedOnLastStickyRow = showTrailingBlankRow && row === rows;\n if (landedOnLastStickyRow) {\n if (args.kind === outOfBoundsKind) row--;\n else return;\n }\n\n col = Math.max(col, rowMarkerOffset);\n\n const deltaX = col - selectedCol;\n const deltaY = row - selectedRow;\n\n const newRange: Rectangle = {\n x: deltaX >= 0 ? selectedCol : col,\n y: deltaY >= 0 ? selectedRow : row,\n width: Math.abs(deltaX) + 1,\n height: Math.abs(deltaY) + 1,\n };\n\n setCurrent(\n {\n ...gridSelection.current,\n range: newRange,\n },\n true,\n false,\n \"drag\"\n );\n }\n }\n\n onItemHovered?.({ ...args, location: [args.location[0] - rowMarkerOffset, args.location[1]] as any });\n },\n [\n allowedFillDirections,\n mouseState,\n rowMarkerOffset,\n rowSelect,\n gridSelection,\n rangeSelect,\n onItemHovered,\n setSelectedRows,\n showTrailingBlankRow,\n rows,\n setCurrent,\n ]\n );\n\n const adjustSelectionOnScroll = React.useCallback(() => {\n const args = hoveredRef.current;\n if (args === undefined) return;\n const [xDir, yDir] = args.scrollEdge;\n let [col, row] = args.location;\n const visible = visibleRegionRef.current;\n if (xDir === -1) {\n col = visible.extras?.freezeRegion?.x ?? visible.x;\n } else if (xDir === 1) {\n col = visible.x + visible.width;\n }\n if (yDir === -1) {\n row = Math.max(0, visible.y);\n } else if (yDir === 1) {\n row = Math.min(rows - 1, visible.y + visible.height);\n }\n col = clamp(col, 0, mangledCols.length - 1);\n row = clamp(row, 0, rows - 1);\n onItemHoveredImpl({\n ...args,\n location: [col, row] as any,\n });\n }, [mangledCols.length, onItemHoveredImpl, rows]);\n\n useAutoscroll(scrollDir, scrollRef, adjustSelectionOnScroll);\n\n // 1 === move one\n // 2 === move to end\n const adjustSelection = React.useCallback(\n (direction: [0 | 1 | -1 | 2 | -2, 0 | 1 | -1 | 2 | -2]) => {\n if (gridSelection.current === undefined) return;\n\n const [x, y] = direction;\n const [col, row] = gridSelection.current.cell;\n const old = gridSelection.current.range;\n let left = old.x;\n let right = old.x + old.width;\n let top = old.y;\n let bottom = old.y + old.height;\n\n // take care of vertical first in case new spans come in\n if (y !== 0) {\n switch (y) {\n case 2: {\n // go to end\n bottom = rows;\n top = row;\n scrollTo(0, bottom, \"vertical\");\n\n break;\n }\n case -2: {\n // go to start\n top = 0;\n bottom = row + 1;\n scrollTo(0, top, \"vertical\");\n\n break;\n }\n case 1: {\n // motion down\n if (top < row) {\n top++;\n scrollTo(0, top, \"vertical\");\n } else {\n bottom = Math.min(rows, bottom + 1);\n scrollTo(0, bottom, \"vertical\");\n }\n\n break;\n }\n case -1: {\n // motion up\n if (bottom > row + 1) {\n bottom--;\n scrollTo(0, bottom, \"vertical\");\n } else {\n top = Math.max(0, top - 1);\n scrollTo(0, top, \"vertical\");\n }\n\n break;\n }\n default: {\n assertNever(y);\n }\n }\n }\n\n if (x !== 0) {\n if (x === 2) {\n right = mangledCols.length;\n left = col;\n scrollTo(right - 1 - rowMarkerOffset, 0, \"horizontal\");\n } else if (x === -2) {\n left = rowMarkerOffset;\n right = col + 1;\n scrollTo(left - rowMarkerOffset, 0, \"horizontal\");\n } else {\n let disallowed: number[] = [];\n if (getCellsForSelection !== undefined) {\n const cells = getCellsForSelection(\n {\n x: left,\n y: top,\n width: right - left - rowMarkerOffset,\n height: bottom - top,\n },\n abortControllerRef.current.signal\n );\n\n if (typeof cells === \"object\") {\n disallowed = getSpanStops(cells);\n }\n }\n if (x === 1) {\n // motion right\n let done = false;\n if (left < col) {\n if (disallowed.length > 0) {\n const target = range(left + 1, col + 1).find(\n n => !disallowed.includes(n - rowMarkerOffset)\n );\n if (target !== undefined) {\n left = target;\n done = true;\n }\n } else {\n left++;\n done = true;\n }\n if (done) scrollTo(left, 0, \"horizontal\");\n }\n if (!done) {\n right = Math.min(mangledCols.length, right + 1);\n scrollTo(right - 1 - rowMarkerOffset, 0, \"horizontal\");\n }\n } else if (x === -1) {\n // motion left\n let done = false;\n if (right > col + 1) {\n if (disallowed.length > 0) {\n const target = range(right - 1, col, -1).find(\n n => !disallowed.includes(n - rowMarkerOffset)\n );\n if (target !== undefined) {\n right = target;\n done = true;\n }\n } else {\n right--;\n done = true;\n }\n if (done) scrollTo(right - rowMarkerOffset, 0, \"horizontal\");\n }\n if (!done) {\n left = Math.max(rowMarkerOffset, left - 1);\n scrollTo(left - rowMarkerOffset, 0, \"horizontal\");\n }\n } else {\n assertNever(x);\n }\n }\n }\n\n setCurrent(\n {\n cell: gridSelection.current.cell,\n range: {\n x: left,\n y: top,\n width: right - left,\n height: bottom - top,\n },\n },\n true,\n false,\n \"keyboard-select\"\n );\n },\n [getCellsForSelection, gridSelection, mangledCols.length, rowMarkerOffset, rows, scrollTo, setCurrent]\n );\n\n const updateSelectedCell = React.useCallback(\n (col: number, row: number, fromEditingTrailingRow: boolean, freeMove: boolean): boolean => {\n const rowMax = mangledRows - (fromEditingTrailingRow ? 0 : 1);\n col = clamp(col, rowMarkerOffset, columns.length - 1 + rowMarkerOffset);\n row = clamp(row, 0, rowMax);\n\n if (col === currentCell?.[0] && row === currentCell?.[1]) return false;\n if (freeMove && gridSelection.current !== undefined) {\n const newStack = [...gridSelection.current.rangeStack];\n if (gridSelection.current.range.width > 1 || gridSelection.current.range.height > 1) {\n newStack.push(gridSelection.current.range);\n }\n setGridSelection(\n {\n ...gridSelection,\n current: {\n cell: [col, row],\n range: { x: col, y: row, width: 1, height: 1 },\n rangeStack: newStack,\n },\n },\n true\n );\n } else {\n setCurrent(\n {\n cell: [col, row],\n range: { x: col, y: row, width: 1, height: 1 },\n },\n true,\n false,\n \"keyboard-nav\"\n );\n }\n\n if (lastSent.current !== undefined && lastSent.current[0] === col && lastSent.current[1] === row) {\n lastSent.current = undefined;\n }\n\n scrollTo(col - rowMarkerOffset, row);\n\n return true;\n },\n [\n mangledRows,\n rowMarkerOffset,\n columns.length,\n currentCell,\n gridSelection,\n scrollTo,\n setGridSelection,\n setCurrent,\n ]\n );\n\n const onFinishEditing = React.useCallback(\n (newValue: GridCell | undefined, movement: readonly [-1 | 0 | 1, -1 | 0 | 1]) => {\n if (overlay?.cell !== undefined && newValue !== undefined && isEditableGridCell(newValue)) {\n mangledOnCellsEdited([{ location: overlay.cell, value: newValue }]);\n window.requestAnimationFrame(() => {\n gridRef.current?.damage([\n {\n cell: overlay.cell,\n },\n ]);\n });\n }\n focus(true);\n setOverlay(undefined);\n\n const [movX, movY] = movement;\n if (gridSelection.current !== undefined && (movX !== 0 || movY !== 0)) {\n const isEditingTrailingRow =\n gridSelection.current.cell[1] === mangledRows - 1 && newValue !== undefined;\n updateSelectedCell(\n clamp(gridSelection.current.cell[0] + movX, 0, mangledCols.length - 1),\n clamp(gridSelection.current.cell[1] + movY, 0, mangledRows - 1),\n isEditingTrailingRow,\n false\n );\n }\n onFinishedEditing?.(newValue, movement);\n },\n [\n overlay?.cell,\n focus,\n gridSelection,\n onFinishedEditing,\n mangledOnCellsEdited,\n mangledRows,\n updateSelectedCell,\n mangledCols.length,\n ]\n );\n\n const overlayID = React.useMemo(() => {\n return `gdg-overlay-${idCounter++}`;\n }, []);\n\n const deleteRange = React.useCallback(\n (r: Rectangle) => {\n focus();\n const editList: EditListItem[] = [];\n for (let x = r.x; x < r.x + r.width; x++) {\n for (let y = r.y; y < r.y + r.height; y++) {\n const cellValue = getCellContent([x - rowMarkerOffset, y]);\n if (!cellValue.allowOverlay && cellValue.kind !== GridCellKind.Boolean) continue;\n let newVal: InnerGridCell | undefined = undefined;\n if (cellValue.kind === GridCellKind.Custom) {\n const toDelete = getCellRenderer(cellValue);\n const editor = toDelete?.provideEditor?.(cellValue);\n if (toDelete?.onDelete !== undefined) {\n newVal = toDelete.onDelete(cellValue);\n } else if (isObjectEditorCallbackResult(editor)) {\n newVal = editor?.deletedValue?.(cellValue);\n }\n } else if (\n (isEditableGridCell(cellValue) && cellValue.allowOverlay) ||\n cellValue.kind === GridCellKind.Boolean\n ) {\n const toDelete = getCellRenderer(cellValue);\n newVal = toDelete?.onDelete?.(cellValue);\n }\n if (newVal !== undefined && !isInnerOnlyCell(newVal) && isEditableGridCell(newVal)) {\n editList.push({ location: [x, y], value: newVal });\n }\n }\n }\n mangledOnCellsEdited(editList);\n gridRef.current?.damage(editList.map(x => ({ cell: x.location })));\n },\n [focus, getCellContent, getCellRenderer, mangledOnCellsEdited, rowMarkerOffset]\n );\n\n const overlayOpen = overlay !== undefined;\n\n const handleFixedKeybindings = React.useCallback(\n (event: GridKeyEventArgs): boolean => {\n const cancel = () => {\n event.stopPropagation();\n event.preventDefault();\n };\n\n const details = {\n didMatch: false,\n };\n\n const { bounds } = event;\n const selectedColumns = gridSelection.columns;\n const selectedRows = gridSelection.rows;\n\n const keys = keybindings;\n\n if (!overlayOpen && isHotkey(keys.clear, event, details)) {\n setGridSelection(emptyGridSelection, false);\n onSelectionCleared?.();\n } else if (!overlayOpen && isHotkey(keys.selectAll, event, details)) {\n setGridSelection(\n {\n columns: CompactSelection.empty(),\n rows: CompactSelection.empty(),\n current: {\n cell: gridSelection.current?.cell ?? [rowMarkerOffset, 0],\n range: {\n x: rowMarkerOffset,\n y: 0,\n width: columnsIn.length,\n height: rows,\n },\n rangeStack: [],\n },\n },\n false\n );\n } else if (isHotkey(keys.search, event, details)) {\n searchInputRef?.current?.focus({ preventScroll: true });\n setShowSearchInner(true);\n } else if (isHotkey(keys.delete, event, details)) {\n const callbackResult = onDelete?.(gridSelection) ?? true;\n if (callbackResult !== false) {\n const toDelete = callbackResult === true ? gridSelection : callbackResult;\n\n // delete order:\n // 1) primary range\n // 2) secondary ranges\n // 3) columns\n // 4) rows\n\n if (toDelete.current !== undefined) {\n deleteRange(toDelete.current.range);\n for (const r of toDelete.current.rangeStack) {\n deleteRange(r);\n }\n }\n\n for (const r of toDelete.rows) {\n deleteRange({\n x: rowMarkerOffset,\n y: r,\n width: columnsIn.length,\n height: 1,\n });\n }\n\n for (const col of toDelete.columns) {\n deleteRange({\n x: col,\n y: 0,\n width: 1,\n height: rows,\n });\n }\n }\n }\n\n if (details.didMatch) {\n cancel();\n return true;\n }\n\n if (gridSelection.current === undefined) return false;\n let [col, row] = gridSelection.current.cell;\n let freeMove = false;\n let cancelOnlyOnMove = false;\n\n if (isHotkey(keys.scrollToSelectedCell, event, details)) {\n scrollToRef.current(col - rowMarkerOffset, row);\n } else if (columnSelect !== \"none\" && isHotkey(keys.selectColumn, event, details)) {\n if (selectedColumns.hasIndex(col)) {\n setSelectedColumns(selectedColumns.remove(col), undefined, true);\n } else {\n if (columnSelect === \"single\") {\n setSelectedColumns(CompactSelection.fromSingleSelection(col), undefined, true);\n } else {\n setSelectedColumns(undefined, col, true);\n }\n }\n } else if (rowSelect !== \"none\" && isHotkey(keys.selectRow, event, details)) {\n if (selectedRows.hasIndex(row)) {\n setSelectedRows(selectedRows.remove(row), undefined, true);\n } else {\n if (rowSelect === \"single\") {\n setSelectedRows(CompactSelection.fromSingleSelection(row), undefined, true);\n } else {\n setSelectedRows(undefined, row, true);\n }\n }\n } else if (!overlayOpen && bounds !== undefined && isHotkey(keys.activateCell, event, details)) {\n if (row === rows && showTrailingBlankRow) {\n window.setTimeout(() => {\n const customTargetColumn = getCustomNewRowTargetColumn(col);\n void appendRow(customTargetColumn ?? col);\n }, 0);\n } else {\n onCellActivated?.([col - rowMarkerOffset, row]);\n reselect(bounds, true);\n }\n } else if (gridSelection.current.range.height > 1 && isHotkey(keys.downFill, event, details)) {\n fillDown();\n } else if (gridSelection.current.range.width > 1 && isHotkey(keys.rightFill, event, details)) {\n fillRight();\n } else if (isHotkey(keys.goToNextPage, event, details)) {\n row += Math.max(1, visibleRegionRef.current.height - 4); // partial cell accounting\n } else if (isHotkey(keys.goToPreviousPage, event, details)) {\n row -= Math.max(1, visibleRegionRef.current.height - 4); // partial cell accounting\n } else if (isHotkey(keys.goToFirstCell, event, details)) {\n setOverlay(undefined);\n row = 0;\n col = 0;\n } else if (isHotkey(keys.goToLastCell, event, details)) {\n setOverlay(undefined);\n row = Number.MAX_SAFE_INTEGER;\n col = Number.MAX_SAFE_INTEGER;\n } else if (isHotkey(keys.selectToFirstCell, event, details)) {\n setOverlay(undefined);\n adjustSelection([-2, -2]);\n } else if (isHotkey(keys.selectToLastCell, event, details)) {\n setOverlay(undefined);\n adjustSelection([2, 2]);\n } else if (!overlayOpen) {\n if (isHotkey(keys.goDownCell, event, details)) {\n row += 1;\n } else if (isHotkey(keys.goUpCell, event, details)) {\n row -= 1;\n } else if (isHotkey(keys.goRightCell, event, details)) {\n col += 1;\n } else if (isHotkey(keys.goLeftCell, event, details)) {\n col -= 1;\n } else if (isHotkey(keys.goDownCellRetainSelection, event, details)) {\n row += 1;\n freeMove = true;\n } else if (isHotkey(keys.goUpCellRetainSelection, event, details)) {\n row -= 1;\n freeMove = true;\n } else if (isHotkey(keys.goRightCellRetainSelection, event, details)) {\n col += 1;\n freeMove = true;\n } else if (isHotkey(keys.goLeftCellRetainSelection, event, details)) {\n col -= 1;\n freeMove = true;\n } else if (isHotkey(keys.goToLastRow, event, details)) {\n row = rows - 1;\n } else if (isHotkey(keys.goToFirstRow, event, details)) {\n row = Number.MIN_SAFE_INTEGER;\n } else if (isHotkey(keys.goToLastColumn, event, details)) {\n col = Number.MAX_SAFE_INTEGER;\n } else if (isHotkey(keys.goToFirstColumn, event, details)) {\n col = Number.MIN_SAFE_INTEGER;\n } else if (rangeSelect === \"rect\" || rangeSelect === \"multi-rect\") {\n if (isHotkey(keys.selectGrowDown, event, details)) {\n adjustSelection([0, 1]);\n } else if (isHotkey(keys.selectGrowUp, event, details)) {\n adjustSelection([0, -1]);\n } else if (isHotkey(keys.selectGrowRight, event, details)) {\n adjustSelection([1, 0]);\n } else if (isHotkey(keys.selectGrowLeft, event, details)) {\n adjustSelection([-1, 0]);\n } else if (isHotkey(keys.selectToLastRow, event, details)) {\n adjustSelection([0, 2]);\n } else if (isHotkey(keys.selectToFirstRow, event, details)) {\n adjustSelection([0, -2]);\n } else if (isHotkey(keys.selectToLastColumn, event, details)) {\n adjustSelection([2, 0]);\n } else if (isHotkey(keys.selectToFirstColumn, event, details)) {\n adjustSelection([-2, 0]);\n }\n }\n cancelOnlyOnMove = details.didMatch;\n } else {\n if (isHotkey(keys.closeOverlay, event, details)) {\n setOverlay(undefined);\n }\n\n if (isHotkey(keys.acceptOverlayDown, event, details)) {\n setOverlay(undefined);\n row++;\n }\n\n if (isHotkey(keys.acceptOverlayUp, event, details)) {\n setOverlay(undefined);\n row--;\n }\n\n if (isHotkey(keys.acceptOverlayLeft, event, details)) {\n setOverlay(undefined);\n col--;\n }\n\n if (isHotkey(keys.acceptOverlayRight, event, details)) {\n setOverlay(undefined);\n col++;\n }\n }\n // #endregion\n\n const moved = updateSelectedCell(col, row, false, freeMove);\n\n const didMatch = details.didMatch;\n\n if (didMatch && (moved || !cancelOnlyOnMove || trapFocus)) {\n cancel();\n }\n\n return didMatch;\n },\n [\n overlayOpen,\n gridSelection,\n keybindings,\n columnSelect,\n rowSelect,\n rangeSelect,\n rowMarkerOffset,\n rows,\n updateSelectedCell,\n setGridSelection,\n onSelectionCleared,\n columnsIn.length,\n onDelete,\n trapFocus,\n deleteRange,\n setSelectedColumns,\n setSelectedRows,\n showTrailingBlankRow,\n getCustomNewRowTargetColumn,\n appendRow,\n onCellActivated,\n reselect,\n fillDown,\n fillRight,\n adjustSelection,\n ]\n );\n\n const onKeyDown = React.useCallback(\n (event: GridKeyEventArgs) => {\n let cancelled = false;\n if (onKeyDownIn !== undefined) {\n onKeyDownIn({\n ...event,\n cancel: () => {\n cancelled = true;\n },\n });\n }\n\n if (cancelled) return;\n\n if (handleFixedKeybindings(event)) return;\n\n if (gridSelection.current === undefined) return;\n const [col, row] = gridSelection.current.cell;\n const vr = visibleRegionRef.current;\n\n if (\n !event.metaKey &&\n !event.ctrlKey &&\n gridSelection.current !== undefined &&\n event.key.length === 1 &&\n /[ -~]/g.test(event.key) &&\n event.bounds !== undefined &&\n isReadWriteCell(getCellContent([col - rowMarkerOffset, Math.max(0, Math.min(row, rows - 1))]))\n ) {\n if (\n (!showTrailingBlankRow || row !== rows) &&\n (vr.y > row || row > vr.y + vr.height || vr.x > col || col > vr.x + vr.width)\n ) {\n return;\n }\n reselect(event.bounds, true, event.key);\n event.stopPropagation();\n event.preventDefault();\n }\n },\n [\n onKeyDownIn,\n handleFixedKeybindings,\n gridSelection,\n getCellContent,\n rowMarkerOffset,\n rows,\n showTrailingBlankRow,\n reselect,\n ]\n );\n\n const onContextMenu = React.useCallback(\n (args: GridMouseEventArgs, preventDefault: () => void) => {\n const adjustedCol = args.location[0] - rowMarkerOffset;\n if (args.kind === \"header\") {\n onHeaderContextMenu?.(adjustedCol, { ...args, preventDefault });\n }\n\n if (args.kind === groupHeaderKind) {\n if (adjustedCol < 0) {\n return;\n }\n onGroupHeaderContextMenu?.(adjustedCol, { ...args, preventDefault });\n }\n\n if (args.kind === \"cell\") {\n const [col, row] = args.location;\n onCellContextMenu?.([adjustedCol, row], {\n ...args,\n preventDefault,\n });\n\n if (!gridSelectionHasItem(gridSelection, args.location)) {\n updateSelectedCell(col, row, false, false);\n }\n }\n },\n [\n gridSelection,\n onCellContextMenu,\n onGroupHeaderContextMenu,\n onHeaderContextMenu,\n rowMarkerOffset,\n updateSelectedCell,\n ]\n );\n\n const onPasteInternal = React.useCallback(\n async (e?: ClipboardEvent) => {\n if (!keybindings.paste) return;\n function pasteToCell(\n inner: InnerGridCell,\n target: Item,\n rawValue: string | boolean | string[] | number | boolean | BooleanEmpty | BooleanIndeterminate,\n formatted?: string | string[]\n ): EditListItem | undefined {\n const stringifiedRawValue =\n typeof rawValue === \"object\" ? rawValue?.join(\"\\n\") ?? \"\" : rawValue?.toString() ?? \"\";\n\n if (!isInnerOnlyCell(inner) && isReadWriteCell(inner) && inner.readonly !== true) {\n const coerced = coercePasteValue?.(stringifiedRawValue, inner);\n if (coerced !== undefined && isEditableGridCell(coerced)) {\n if (process.env.NODE_ENV !== \"production\" && coerced.kind !== inner.kind) {\n // eslint-disable-next-line no-console\n console.warn(\"Coercion should not change cell kind.\");\n }\n return {\n location: target,\n value: coerced,\n };\n }\n const r = getCellRenderer(inner);\n if (r === undefined) return undefined;\n if (r.kind === GridCellKind.Custom) {\n assert(inner.kind === GridCellKind.Custom);\n const newVal = (r as unknown as CustomRenderer>).onPaste?.(\n stringifiedRawValue,\n inner.data\n );\n if (newVal === undefined) return undefined;\n return {\n location: target,\n value: {\n ...inner,\n data: newVal,\n },\n };\n } else {\n const newVal = r.onPaste?.(stringifiedRawValue, inner, {\n formatted,\n formattedString: typeof formatted === \"string\" ? formatted : formatted?.join(\"\\n\"),\n rawValue,\n });\n if (newVal === undefined) return undefined;\n assert(newVal.kind === inner.kind);\n return {\n location: target,\n value: newVal,\n };\n }\n }\n return undefined;\n }\n\n const selectedColumns = gridSelection.columns;\n const selectedRows = gridSelection.rows;\n const focused =\n scrollRef.current?.contains(document.activeElement) === true ||\n canvasRef.current?.contains(document.activeElement) === true;\n\n let target: Item | undefined;\n\n if (gridSelection.current !== undefined) {\n target = [gridSelection.current.range.x, gridSelection.current.range.y];\n } else if (selectedColumns.length === 1) {\n target = [selectedColumns.first() ?? 0, 0];\n } else if (selectedRows.length === 1) {\n target = [rowMarkerOffset, selectedRows.first() ?? 0];\n }\n\n if (focused && target !== undefined) {\n let data: CopyBuffer | undefined;\n let text: string | undefined;\n\n const textPlain = \"text/plain\";\n const textHtml = \"text/html\";\n\n if (navigator.clipboard.read !== undefined) {\n const clipboardContent = await navigator.clipboard.read();\n\n for (const item of clipboardContent) {\n if (item.types.includes(textHtml)) {\n const htmlBlob = await item.getType(textHtml);\n const html = await htmlBlob.text();\n const decoded = decodeHTML(html);\n if (decoded !== undefined) {\n data = decoded;\n break;\n }\n }\n if (item.types.includes(textPlain)) {\n // eslint-disable-next-line unicorn/no-await-expression-member\n text = await (await item.getType(textPlain)).text();\n }\n }\n } else if (navigator.clipboard.readText !== undefined) {\n text = await navigator.clipboard.readText();\n } else if (e !== undefined && e?.clipboardData !== null) {\n if (e.clipboardData.types.includes(textHtml)) {\n const html = e.clipboardData.getData(textHtml);\n data = decodeHTML(html);\n }\n if (data === undefined && e.clipboardData.types.includes(textPlain)) {\n text = e.clipboardData.getData(textPlain);\n }\n } else {\n return; // I didn't want to read that paste value anyway\n }\n\n const [targetCol, targetRow] = target;\n\n const editList: EditListItem[] = [];\n do {\n if (onPaste === undefined) {\n const cellData = getMangledCellContent(target);\n const rawValue = text ?? data?.map(r => r.map(cb => cb.rawValue).join(\"\\t\")).join(\"\\t\") ?? \"\";\n const newVal = pasteToCell(cellData, target, rawValue, undefined);\n if (newVal !== undefined) {\n editList.push(newVal);\n }\n break;\n }\n\n if (data === undefined) {\n if (text === undefined) return;\n data = unquote(text);\n }\n\n if (\n onPaste === false ||\n (typeof onPaste === \"function\" &&\n onPaste?.(\n [target[0] - rowMarkerOffset, target[1]],\n data.map(r => r.map(cb => cb.rawValue?.toString() ?? \"\"))\n ) !== true)\n ) {\n return;\n }\n\n for (const [row, dataRow] of data.entries()) {\n if (row + targetRow >= rows) break;\n for (const [col, dataItem] of dataRow.entries()) {\n const index = [col + targetCol, row + targetRow] as const;\n const [writeCol, writeRow] = index;\n if (writeCol >= mangledCols.length) continue;\n if (writeRow >= mangledRows) continue;\n const cellData = getMangledCellContent(index);\n const newVal = pasteToCell(cellData, index, dataItem.rawValue, dataItem.formatted);\n if (newVal !== undefined) {\n editList.push(newVal);\n }\n }\n }\n // eslint-disable-next-line no-constant-condition\n } while (false);\n\n mangledOnCellsEdited(editList);\n\n gridRef.current?.damage(\n editList.map(c => ({\n cell: c.location,\n }))\n );\n }\n },\n [\n coercePasteValue,\n getCellRenderer,\n getMangledCellContent,\n gridSelection,\n keybindings.paste,\n mangledCols.length,\n mangledOnCellsEdited,\n mangledRows,\n onPaste,\n rowMarkerOffset,\n rows,\n ]\n );\n\n useEventListener(\"paste\", onPasteInternal, safeWindow, false, true);\n\n // While this function is async, we deeply prefer not to await if we don't have to. This will lead to unpacking\n // promises in rather awkward ways when possible to avoid awaiting. We have to use fallback copy mechanisms when\n // an await has happened.\n const onCopy = React.useCallback(\n async (e?: ClipboardEvent, ignoreFocus?: boolean) => {\n if (!keybindings.copy) return;\n const focused =\n ignoreFocus === true ||\n scrollRef.current?.contains(document.activeElement) === true ||\n canvasRef.current?.contains(document.activeElement) === true;\n\n const selectedColumns = gridSelection.columns;\n const selectedRows = gridSelection.rows;\n\n const copyToClipboardWithHeaders = (\n cells: readonly (readonly GridCell[])[],\n columnIndexes: readonly number[]\n ) => {\n if (!copyHeaders) {\n copyToClipboard(cells, columnIndexes, e);\n } else {\n const headers = columnIndexes.map(index => ({\n kind: GridCellKind.Text,\n data: columnsIn[index].title,\n displayData: columnsIn[index].title,\n allowOverlay: false,\n })) as GridCell[];\n copyToClipboard([headers, ...cells], columnIndexes, e);\n }\n };\n\n if (focused && getCellsForSelection !== undefined) {\n if (gridSelection.current !== undefined) {\n let thunk = getCellsForSelection(gridSelection.current.range, abortControllerRef.current.signal);\n if (typeof thunk !== \"object\") {\n thunk = await thunk();\n }\n copyToClipboardWithHeaders(\n thunk,\n range(\n gridSelection.current.range.x - rowMarkerOffset,\n gridSelection.current.range.x + gridSelection.current.range.width - rowMarkerOffset\n )\n );\n } else if (selectedRows !== undefined && selectedRows.length > 0) {\n const toCopy = [...selectedRows];\n const cells = toCopy.map(rowIndex => {\n const thunk = getCellsForSelection(\n {\n x: rowMarkerOffset,\n y: rowIndex,\n width: columnsIn.length,\n height: 1,\n },\n abortControllerRef.current.signal\n );\n if (typeof thunk === \"object\") {\n return thunk[0];\n }\n return thunk().then(v => v[0]);\n });\n if (cells.some(x => x instanceof Promise)) {\n const settled = await Promise.all(cells);\n copyToClipboardWithHeaders(settled, range(columnsIn.length));\n } else {\n copyToClipboardWithHeaders(cells as (readonly GridCell[])[], range(columnsIn.length));\n }\n } else if (selectedColumns.length > 0) {\n const results: (readonly (readonly GridCell[])[])[] = [];\n const cols: number[] = [];\n for (const col of selectedColumns) {\n let thunk = getCellsForSelection(\n {\n x: col,\n y: 0,\n width: 1,\n height: rows,\n },\n abortControllerRef.current.signal\n );\n if (typeof thunk !== \"object\") {\n thunk = await thunk();\n }\n results.push(thunk);\n cols.push(col - rowMarkerOffset);\n }\n if (results.length === 1) {\n copyToClipboardWithHeaders(results[0], cols);\n } else {\n // FIXME: this is dumb\n const toCopy = results.reduce((pv, cv) => pv.map((row, index) => [...row, ...cv[index]]));\n copyToClipboardWithHeaders(toCopy, cols);\n }\n }\n }\n },\n [columnsIn, getCellsForSelection, gridSelection, keybindings.copy, rowMarkerOffset, rows, copyHeaders]\n );\n\n useEventListener(\"copy\", onCopy, safeWindow, false, false);\n\n const onCut = React.useCallback(\n async (e?: ClipboardEvent) => {\n if (!keybindings.cut) return;\n const focused =\n scrollRef.current?.contains(document.activeElement) === true ||\n canvasRef.current?.contains(document.activeElement) === true;\n\n if (!focused) return;\n await onCopy(e);\n if (gridSelection.current !== undefined) {\n let effectiveSelection: GridSelection = {\n current: {\n cell: gridSelection.current.cell,\n range: gridSelection.current.range,\n rangeStack: [],\n },\n rows: CompactSelection.empty(),\n columns: CompactSelection.empty(),\n };\n const onDeleteResult = onDelete?.(effectiveSelection);\n if (onDeleteResult === false) return;\n effectiveSelection = onDeleteResult === true ? effectiveSelection : onDeleteResult;\n if (effectiveSelection.current === undefined) return;\n deleteRange(effectiveSelection.current.range);\n }\n },\n [deleteRange, gridSelection, keybindings.cut, onCopy, onDelete]\n );\n\n useEventListener(\"cut\", onCut, safeWindow, false, false);\n\n const onSearchResultsChanged = React.useCallback(\n (results: readonly Item[], navIndex: number) => {\n if (onSearchResultsChangedIn !== undefined) {\n if (rowMarkerOffset !== 0) {\n results = results.map(item => [item[0] - rowMarkerOffset, item[1]]);\n }\n onSearchResultsChangedIn(results, navIndex);\n return;\n }\n if (results.length === 0 || navIndex === -1) return;\n\n const [col, row] = results[navIndex];\n if (lastSent.current !== undefined && lastSent.current[0] === col && lastSent.current[1] === row) {\n return;\n }\n lastSent.current = [col, row];\n updateSelectedCell(col, row, false, false);\n },\n [onSearchResultsChangedIn, rowMarkerOffset, updateSelectedCell]\n );\n\n // this effects purpose in life is to scroll the newly selected cell into view when and ONLY when that cell\n // is from an external gridSelection change. Also note we want the unmangled out selection because scrollTo\n // expects unmangled indexes\n const [outCol, outRow] = gridSelectionOuter?.current?.cell ?? [];\n const scrollToRef = React.useRef(scrollTo);\n scrollToRef.current = scrollTo;\n React.useLayoutEffect(() => {\n if (\n !hasJustScrolled.current &&\n outCol !== undefined &&\n outRow !== undefined &&\n (outCol !== expectedExternalGridSelection.current?.current?.cell[0] ||\n outRow !== expectedExternalGridSelection.current?.current?.cell[1])\n ) {\n scrollToRef.current(outCol, outRow);\n }\n hasJustScrolled.current = false; //only allow skipping a single scroll\n }, [outCol, outRow]);\n\n const selectionOutOfBounds =\n gridSelection.current !== undefined &&\n (gridSelection.current.cell[0] >= mangledCols.length || gridSelection.current.cell[1] >= mangledRows);\n React.useLayoutEffect(() => {\n if (selectionOutOfBounds) {\n setGridSelection(emptyGridSelection, false);\n }\n }, [selectionOutOfBounds, setGridSelection]);\n\n const disabledRows = React.useMemo(() => {\n if (showTrailingBlankRow === true && trailingRowOptions?.tint === true) {\n return CompactSelection.fromSingleSelection(mangledRows - 1);\n }\n return CompactSelection.empty();\n }, [mangledRows, showTrailingBlankRow, trailingRowOptions?.tint]);\n\n const mangledVerticalBorder = React.useCallback(\n (col: number) => {\n return typeof verticalBorder === \"boolean\"\n ? verticalBorder\n : verticalBorder?.(col - rowMarkerOffset) ?? true;\n },\n [rowMarkerOffset, verticalBorder]\n );\n\n const renameGroupNode = React.useMemo(() => {\n if (renameGroup === undefined || canvasRef.current === null) return null;\n const { bounds, group } = renameGroup;\n const canvasBounds = canvasRef.current.getBoundingClientRect();\n return (\n setRenameGroup(undefined)}\n onFinish={newVal => {\n setRenameGroup(undefined);\n onGroupHeaderRenamed?.(group, newVal);\n }}\n />\n );\n }, [onGroupHeaderRenamed, renameGroup]);\n\n const mangledFreezeColumns = Math.min(mangledCols.length, freezeColumns + (hasRowMarkers ? 1 : 0));\n\n React.useImperativeHandle(\n forwardedRef,\n () => ({\n appendRow: (col: number, openOverlay?: boolean) => appendRow(col + rowMarkerOffset, openOverlay),\n updateCells: damageList => {\n if (rowMarkerOffset !== 0) {\n damageList = damageList.map(x => ({ cell: [x.cell[0] + rowMarkerOffset, x.cell[1]] }));\n }\n return gridRef.current?.damage(damageList);\n },\n getBounds: (col, row) => {\n if (canvasRef?.current === null || scrollRef?.current === null) {\n return undefined;\n }\n\n if (col === undefined && row === undefined) {\n // Return the bounds of the entire scroll area:\n const rect = canvasRef.current.getBoundingClientRect();\n const scale = rect.width / scrollRef.current.clientWidth;\n return {\n x: rect.x - scrollRef.current.scrollLeft * scale,\n y: rect.y - scrollRef.current.scrollTop * scale,\n width: scrollRef.current.scrollWidth * scale,\n height: scrollRef.current.scrollHeight * scale,\n };\n }\n return gridRef.current?.getBounds((col ?? 0) + rowMarkerOffset, row);\n },\n focus: () => gridRef.current?.focus(),\n emit: async e => {\n switch (e) {\n case \"delete\":\n onKeyDown({\n bounds: undefined,\n cancel: () => undefined,\n stopPropagation: () => undefined,\n preventDefault: () => undefined,\n ctrlKey: false,\n key: \"Delete\",\n keyCode: 46,\n metaKey: false,\n shiftKey: false,\n altKey: false,\n rawEvent: undefined,\n location: undefined,\n });\n break;\n case \"fill-right\":\n onKeyDown({\n bounds: undefined,\n cancel: () => undefined,\n stopPropagation: () => undefined,\n preventDefault: () => undefined,\n ctrlKey: true,\n key: \"r\",\n keyCode: 82,\n metaKey: false,\n shiftKey: false,\n altKey: false,\n rawEvent: undefined,\n location: undefined,\n });\n break;\n case \"fill-down\":\n onKeyDown({\n bounds: undefined,\n cancel: () => undefined,\n stopPropagation: () => undefined,\n preventDefault: () => undefined,\n ctrlKey: true,\n key: \"d\",\n keyCode: 68,\n metaKey: false,\n shiftKey: false,\n altKey: false,\n rawEvent: undefined,\n location: undefined,\n });\n break;\n case \"copy\":\n await onCopy(undefined, true);\n break;\n case \"paste\":\n await onPasteInternal();\n break;\n }\n },\n scrollTo,\n remeasureColumns: cols => {\n for (const col of cols) {\n void normalSizeColumn(col + rowMarkerOffset);\n }\n },\n }),\n [appendRow, normalSizeColumn, onCopy, onKeyDown, onPasteInternal, rowMarkerOffset, scrollTo]\n );\n\n const [selCol, selRow] = currentCell ?? [];\n const onCellFocused = React.useCallback(\n (cell: Item) => {\n const [col, row] = cell;\n\n if (row === -1) {\n if (columnSelect !== \"none\") {\n setSelectedColumns(CompactSelection.fromSingleSelection(col), undefined, false);\n focus();\n }\n return;\n }\n\n if (selCol === col && selRow === row) return;\n setCurrent(\n {\n cell,\n range: { x: col, y: row, width: 1, height: 1 },\n },\n true,\n false,\n \"keyboard-nav\"\n );\n scrollTo(col, row);\n },\n [columnSelect, focus, scrollTo, selCol, selRow, setCurrent, setSelectedColumns]\n );\n\n const [isFocused, setIsFocused] = React.useState(false);\n const setIsFocusedDebounced = React.useRef(\n debounce((val: boolean) => {\n setIsFocused(val);\n }, 5)\n );\n\n const onCanvasFocused = React.useCallback(() => {\n setIsFocusedDebounced.current(true);\n\n // check for mouse state, don't do anything if the user is clicked to focus.\n if (\n gridSelection.current === undefined &&\n gridSelection.columns.length === 0 &&\n gridSelection.rows.length === 0 &&\n mouseState === undefined\n ) {\n setCurrent(\n {\n cell: [rowMarkerOffset, cellYOffset],\n range: {\n x: rowMarkerOffset,\n y: cellYOffset,\n width: 1,\n height: 1,\n },\n },\n true,\n false,\n \"keyboard-select\"\n );\n }\n }, [cellYOffset, gridSelection, mouseState, rowMarkerOffset, setCurrent]);\n\n const onFocusOut = React.useCallback(() => {\n setIsFocusedDebounced.current(false);\n }, []);\n\n const [idealWidth, idealHeight] = React.useMemo(() => {\n let h: number;\n const scrollbarWidth = experimental?.scrollbarWidthOverride ?? getScrollBarWidth();\n const rowsCountWithTrailingRow = rows + (showTrailingBlankRow ? 1 : 0);\n if (typeof rowHeight === \"number\") {\n h = totalHeaderHeight + rowsCountWithTrailingRow * rowHeight;\n } else {\n let avg = 0;\n const toAverage = Math.min(rowsCountWithTrailingRow, 10);\n for (let i = 0; i < toAverage; i++) {\n avg += rowHeight(i);\n }\n avg = Math.floor(avg / toAverage);\n\n h = totalHeaderHeight + rowsCountWithTrailingRow * avg;\n }\n h += scrollbarWidth;\n\n const w = mangledCols.reduce((acc, x) => x.width + acc, 0) + scrollbarWidth;\n\n // We need to set a reasonable cap here as some browsers will just ignore huge values\n // rather than treat them as huge values.\n return [`${Math.min(100_000, w)}px`, `${Math.min(100_000, h)}px`];\n }, [mangledCols, experimental?.scrollbarWidthOverride, rowHeight, rows, showTrailingBlankRow, totalHeaderHeight]);\n\n const cssStyle = React.useMemo(() => {\n return makeCSSStyle(mergedTheme);\n }, [mergedTheme]);\n\n return (\n \n \n \n {renameGroupNode}\n {overlay !== undefined && (\n \n \n \n )}\n \n \n );\n};\n\n/**\n * The primary component of Glide Data Grid.\n * @category DataEditor\n * @param {DataEditorProps} props\n */\nexport const DataEditor = React.forwardRef(DataEditorImpl);\n","import type { SpriteProps } from \"../../common/utils.js\";\n\nconst iconHead = ``;\nconst headerRowID = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n\n return `\n ${iconHead}`;\n};\n\nconst headerCode = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `\n ${iconHead}`;\n};\n\nconst headerNumber = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n `;\n};\n\nconst headerString = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n`;\n};\n\nconst headerBoolean = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n`;\n};\n\nconst headerUri = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n\n\n\n\n `;\n};\n\nconst renameIcon = (props: SpriteProps) => {\n const bg = props.bgColor;\n return `${iconHead}\n \n \n \n \n`;\n};\n\nconst headerAudioUri = headerUri;\n\nconst headerVideoUri = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n`;\n};\n\nconst headerEmoji = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `\n ${iconHead}\n \n \n \n \n \n \n \n `;\n};\n\nconst headerImage = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n \n`;\n};\n\nconst headerPhone = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `\n ${iconHead}\n \n \n `;\n};\n\nconst headerMarkdown = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `\n ${iconHead}\n \n \n `;\n};\n\nconst headerDate = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n`;\n};\n\nconst headerTime = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `\n ${iconHead}\n \n \n \n `;\n};\n\nconst headerEmail = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n \n`;\n};\n\nconst headerReference = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `\n ${iconHead}\n \n \n \n `;\n};\n\nconst headerIfThenElse = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n`;\n};\n\nconst headerSingleValue = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `\n ${iconHead}\n \n \n `;\n};\n\nconst headerLookup = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `\n ${iconHead}\n \n \n `;\n};\n\nconst headerTextTemplate = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n`;\n};\n\nconst headerMath = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n \n \n \n`;\n};\n\nconst headerRollup = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `\n ${iconHead}\n \n \n `;\n};\n\nconst headerJoinStrings = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n`;\n};\n\nconst headerSplitString = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `\n ${iconHead}\n \n \n `;\n};\n\nconst headerGeoDistance = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n \n`;\n};\n\nconst headerArray = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `${iconHead}\n \n \n`;\n};\n\nconst rowOwnerOverlay = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `\n \n \n `;\n};\n\nconst protectedColumnOverlay = (props: SpriteProps) => {\n const fg = props.fgColor;\n const bg = props.bgColor;\n return `\n \n \n \n`;\n};\n\nexport const sprites = {\n headerRowID,\n headerNumber,\n headerCode,\n headerString,\n headerBoolean,\n headerAudioUri,\n headerVideoUri,\n headerEmoji,\n headerImage,\n headerUri,\n headerPhone,\n headerMarkdown,\n headerDate,\n headerTime,\n headerEmail,\n headerReference,\n headerIfThenElse,\n headerSingleValue,\n headerLookup,\n headerTextTemplate,\n headerMath,\n headerRollup,\n headerJoinStrings,\n headerSplitString,\n headerGeoDistance,\n headerArray,\n rowOwnerOverlay,\n protectedColumnOverlay,\n renameIcon,\n};\n\nexport type HeaderIconMap = Readonly;\n","import * as React from \"react\";\nimport { DataEditor, type DataEditorProps, type DataEditorRef } from \"./data-editor/data-editor.js\";\nimport { AllCellRenderers } from \"./cells/index.js\";\nimport { sprites } from \"./internal/data-grid/sprites.js\";\nimport ImageWindowLoaderImpl from \"./common/image-window-loader.js\";\nimport type { ImageWindowLoader } from \"./internal/data-grid/image-window-loader-interface.js\";\n\nexport interface DataEditorAllProps extends Omit {\n imageWindowLoader?: ImageWindowLoader;\n}\n\nconst DataEditorAllImpl: React.ForwardRefRenderFunction = (p, ref) => {\n const allSprites = React.useMemo(() => {\n return { ...sprites, ...p.headerIcons };\n }, [p.headerIcons]);\n\n const imageWindowLoader = React.useMemo(() => {\n return p.imageWindowLoader ?? new ImageWindowLoaderImpl();\n }, [p.imageWindowLoader]);\n\n return (\n \n );\n};\n\nexport const DataEditorAll = React.forwardRef(DataEditorAllImpl);\n","import React from \"react\";\nimport { browserIsOSX } from \"../common/browser-detect.js\";\nimport { useDeepMemo } from \"../common/utils.js\";\n\nexport type Keybind = boolean | string;\n\ninterface ForcedKeybinds {\n copy: boolean;\n cut: boolean;\n paste: boolean;\n}\n\ninterface BackCompatKeybinds {\n readonly pageUp: boolean;\n readonly pageDown: boolean;\n readonly first: boolean;\n readonly last: boolean;\n}\n\nexport interface ConfigurableKeybinds {\n readonly downFill: Keybind;\n readonly rightFill: Keybind;\n readonly clear: Keybind;\n readonly closeOverlay: Keybind;\n readonly acceptOverlayDown: Keybind;\n readonly acceptOverlayUp: Keybind;\n readonly acceptOverlayLeft: Keybind;\n readonly acceptOverlayRight: Keybind;\n readonly search: Keybind;\n readonly delete: Keybind;\n readonly activateCell: Keybind;\n readonly scrollToSelectedCell: Keybind;\n\n // Navigation Keybinds\n readonly goToFirstColumn: Keybind;\n readonly goToLastColumn: Keybind;\n readonly goToFirstCell: Keybind;\n readonly goToLastCell: Keybind;\n readonly goToFirstRow: Keybind;\n readonly goToLastRow: Keybind;\n readonly goToNextPage: Keybind;\n readonly goToPreviousPage: Keybind;\n\n readonly goUpCell: Keybind;\n readonly goDownCell: Keybind;\n readonly goLeftCell: Keybind;\n readonly goRightCell: Keybind;\n\n readonly goUpCellRetainSelection: Keybind;\n readonly goDownCellRetainSelection: Keybind;\n readonly goLeftCellRetainSelection: Keybind;\n readonly goRightCellRetainSelection: Keybind;\n\n // Selection Keybinds\n readonly selectToFirstColumn: Keybind;\n readonly selectToLastColumn: Keybind;\n readonly selectToFirstCell: Keybind;\n readonly selectToLastCell: Keybind;\n readonly selectToFirstRow: Keybind;\n readonly selectToLastRow: Keybind;\n\n readonly selectGrowUp: Keybind;\n readonly selectGrowDown: Keybind;\n readonly selectGrowLeft: Keybind;\n readonly selectGrowRight: Keybind;\n\n readonly selectAll: Keybind;\n readonly selectRow: Keybind;\n readonly selectColumn: Keybind;\n}\n\nexport type Keybinds = ConfigurableKeybinds & ForcedKeybinds & Partial;\n\nexport type RealizedKeybinds = Readonly> & ForcedKeybinds;\n\nexport const keybindingDefaults: Keybinds = {\n downFill: false,\n rightFill: false,\n clear: true,\n closeOverlay: true,\n acceptOverlayDown: true,\n acceptOverlayUp: true,\n acceptOverlayLeft: true,\n acceptOverlayRight: true,\n copy: true,\n paste: true,\n cut: true,\n search: false,\n delete: true,\n activateCell: true,\n scrollToSelectedCell: true,\n goToFirstCell: true,\n goToFirstColumn: true,\n goToFirstRow: true,\n goToLastCell: true,\n goToLastColumn: true,\n goToLastRow: true,\n goToNextPage: true,\n goToPreviousPage: true,\n selectToFirstCell: true,\n selectToFirstColumn: true,\n selectToFirstRow: true,\n selectToLastCell: true,\n selectToLastColumn: true,\n selectToLastRow: true,\n selectAll: true,\n selectRow: true,\n selectColumn: true,\n goUpCell: true,\n goRightCell: true,\n goDownCell: true,\n goLeftCell: true,\n goUpCellRetainSelection: true,\n goRightCellRetainSelection: true,\n goDownCellRetainSelection: true,\n goLeftCellRetainSelection: true,\n selectGrowUp: true,\n selectGrowRight: true,\n selectGrowDown: true,\n selectGrowLeft: true,\n};\n\nfunction realizeKeybind(keybind: Keybind, defaultVal: string): string {\n if (keybind === true) return defaultVal;\n if (keybind === false) return \"\";\n return keybind;\n}\n\nexport function realizeKeybinds(keybinds: Keybinds): RealizedKeybinds {\n const isOSX = browserIsOSX.value;\n\n return {\n activateCell: realizeKeybind(keybinds.activateCell, \" |Enter|shift+Enter\"),\n clear: realizeKeybind(keybinds.clear, \"any+Escape\"),\n closeOverlay: realizeKeybind(keybinds.closeOverlay, \"any+Escape\"),\n acceptOverlayDown: realizeKeybind(keybinds.acceptOverlayDown, \"Enter\"),\n acceptOverlayUp: realizeKeybind(keybinds.acceptOverlayUp, \"shift+Enter\"),\n acceptOverlayLeft: realizeKeybind(keybinds.acceptOverlayLeft, \"shift+Tab\"),\n acceptOverlayRight: realizeKeybind(keybinds.acceptOverlayRight, \"Tab\"),\n copy: keybinds.copy,\n cut: keybinds.cut,\n delete: realizeKeybind(keybinds.delete, isOSX ? \"Backspace|Delete\" : \"Delete\"),\n downFill: realizeKeybind(keybinds.downFill, \"primary+_68\"),\n scrollToSelectedCell: realizeKeybind(keybinds.scrollToSelectedCell, \"primary+Enter\"),\n goDownCell: realizeKeybind(keybinds.goDownCell, \"ArrowDown\"),\n goDownCellRetainSelection: realizeKeybind(keybinds.goDownCellRetainSelection, \"alt+ArrowDown\"),\n goLeftCell: realizeKeybind(keybinds.goLeftCell, \"ArrowLeft|shift+Tab\"),\n goLeftCellRetainSelection: realizeKeybind(keybinds.goLeftCellRetainSelection, \"alt+ArrowLeft\"),\n goRightCell: realizeKeybind(keybinds.goRightCell, \"ArrowRight|Tab\"),\n goRightCellRetainSelection: realizeKeybind(keybinds.goRightCellRetainSelection, \"alt+ArrowRight\"),\n goUpCell: realizeKeybind(keybinds.goUpCell, \"ArrowUp\"),\n goUpCellRetainSelection: realizeKeybind(keybinds.goUpCellRetainSelection, \"alt+ArrowUp\"),\n goToFirstCell: realizeKeybind(keybinds.goToFirstCell, \"primary+Home\"),\n goToFirstColumn: realizeKeybind(keybinds.goToFirstColumn, \"Home|primary+ArrowLeft\"),\n goToFirstRow: realizeKeybind(keybinds.goToFirstRow, \"primary+ArrowUp\"),\n goToLastCell: realizeKeybind(keybinds.goToLastCell, \"primary+End\"),\n goToLastColumn: realizeKeybind(keybinds.goToLastColumn, \"End|primary+ArrowRight\"),\n goToLastRow: realizeKeybind(keybinds.goToLastRow, \"primary+ArrowDown\"),\n goToNextPage: realizeKeybind(keybinds.goToNextPage, \"PageDown\"),\n goToPreviousPage: realizeKeybind(keybinds.goToPreviousPage, \"PageUp\"),\n paste: keybinds.paste,\n rightFill: realizeKeybind(keybinds.rightFill, \"primary+_82\"),\n search: realizeKeybind(keybinds.search, \"primary+f\"),\n selectAll: realizeKeybind(keybinds.selectAll, \"primary+a\"),\n selectColumn: realizeKeybind(keybinds.selectColumn, \"ctrl+ \"),\n selectGrowDown: realizeKeybind(keybinds.selectGrowDown, \"shift+ArrowDown\"),\n selectGrowLeft: realizeKeybind(keybinds.selectGrowLeft, \"shift+ArrowLeft\"),\n selectGrowRight: realizeKeybind(keybinds.selectGrowRight, \"shift+ArrowRight\"),\n selectGrowUp: realizeKeybind(keybinds.selectGrowUp, \"shift+ArrowUp\"),\n selectRow: realizeKeybind(keybinds.selectRow, \"shift+ \"),\n selectToFirstCell: realizeKeybind(keybinds.selectToFirstCell, \"primary+shift+Home\"),\n selectToFirstColumn: realizeKeybind(keybinds.selectToFirstColumn, \"primary+shift+ArrowLeft\"),\n selectToFirstRow: realizeKeybind(keybinds.selectToFirstRow, \"primary+shift+ArrowUp\"),\n selectToLastCell: realizeKeybind(keybinds.selectToLastCell, \"primary+shift+End\"),\n selectToLastColumn: realizeKeybind(keybinds.selectToLastColumn, \"primary+shift+ArrowRight\"),\n selectToLastRow: realizeKeybind(keybinds.selectToLastRow, \"primary+shift+ArrowDown\"),\n };\n}\n\nexport function useKeybindingsWithDefaults(keybindingsIn?: Partial): RealizedKeybinds {\n const keys = useDeepMemo(keybindingsIn);\n return React.useMemo(() => {\n if (keys === undefined) return realizeKeybinds(keybindingDefaults);\n const withBackCompatApplied = {\n ...keys,\n goToNextPage: keys?.goToNextPage ?? keys?.pageDown ?? keybindingDefaults.goToNextPage,\n goToPreviousPage: keys?.goToPreviousPage ?? keys?.pageUp ?? keybindingDefaults.goToPreviousPage,\n goToFirstCell: keys?.goToFirstCell ?? keys?.first ?? keybindingDefaults.goToFirstCell,\n goToLastCell: keys?.goToLastCell ?? keys?.last ?? keybindingDefaults.goToLastCell,\n selectToFirstCell: keys?.selectToFirstCell ?? keys?.first ?? keybindingDefaults.selectToFirstCell,\n selectToLastCell: keys?.selectToLastCell ?? keys?.last ?? keybindingDefaults.selectToLastCell,\n };\n return realizeKeybinds({\n ...keybindingDefaults,\n ...withBackCompatApplied,\n });\n }, [keys]);\n}\n","import * as React from \"react\";\ninterface Props extends React.HTMLAttributes {\n onClickOutside: () => void;\n isOutsideClick?: (event: MouseEvent | TouchEvent) => boolean;\n}\n\nexport default class ClickOutsideContainer extends React.PureComponent {\n private wrapperRef = React.createRef();\n\n public componentDidMount() {\n document.addEventListener(\"touchend\", this.clickOutside, true);\n document.addEventListener(\"mousedown\", this.clickOutside, true);\n document.addEventListener(\"contextmenu\", this.clickOutside, true);\n }\n\n public componentWillUnmount() {\n document.removeEventListener(\"touchend\", this.clickOutside, true);\n document.removeEventListener(\"mousedown\", this.clickOutside, true);\n document.removeEventListener(\"contextmenu\", this.clickOutside, true);\n }\n\n private clickOutside = (event: MouseEvent | TouchEvent) => {\n if (this.props.isOutsideClick && !this.props.isOutsideClick(event)) {\n return;\n }\n if (this.wrapperRef.current !== null && !this.wrapperRef.current.contains(event.target as Node | null)) {\n let node = event.target as Element | null;\n while (node !== null) {\n if (node.classList.contains(\"click-outside-ignore\")) {\n return;\n }\n\n node = node.parentElement;\n }\n this.props.onClickOutside();\n }\n };\n\n public render(): React.ReactNode {\n const { onClickOutside, isOutsideClick, ...rest } = this.props;\n return (\n
\n {this.props.children}\n
\n );\n }\n}\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".r1fzhvm4{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;border:none;outline:none;background-color:var(--gdg-bg-header-has-focus);border-radius:9px;padding:0 8px;box-shadow:0 0 0 1px var(--gdg-border-color);color:var(--gdg-text-group-header);min-height:var(--r1fzhvm4-0);font:var(--gdg-header-font-style) var(--gdg-font-family);}\\n.c181oggi{padding:0 8px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--gdg-bg-header);}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvZGF0YS1lZGl0b3IvZ3JvdXAtcmVuYW1lLnRzeCJdLCJuYW1lcyI6WyIucjFmemh2bTQiLCIuYzE4MW9nZ2kiXSwibWFwcGluZ3MiOiJBQUtvQkE7QUE2QkxDIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvZGF0YS1lZGl0b3IvZ3JvdXAtcmVuYW1lLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbmltcG9ydCB7IHN0eWxlZCB9IGZyb20gXCJAbGluYXJpYS9yZWFjdFwiO1xuaW1wb3J0IHsgY3NzIH0gZnJvbSBcIkBsaW5hcmlhL2NvcmVcIjtcbmltcG9ydCBDbGlja091dHNpZGV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AgYXV0b0ZvY3VzOiB0cnVlXG4gICAgfSlcbiAgfSk7XG59O1xuR3JvdXBSZW5hbWUuZGlzcGxheU5hbWUgPSBcIkdyb3VwUmVuYW1lXCI7Il19*/\", \"\",{\"version\":3,\"sources\":[\"/home/runner/work/glide-data-grid/glide-data-grid/packages/core/src/data-editor/group-rename.tsx\",\"webpack://./packages/core/src/data-editor/group-rename.tsx\"],\"names\":[\".r1fzhvm4\",\".c181oggi\"],\"mappings\":\"AAKoBA,UAAAA,kBAAAA,CAAAA,mBAAAA,CAAAA,mBAAAA,CAAAA,WAAAA,CAAAA,WAAAA,CAAAA,YAAAA,CAAAA,+CAAAA,CAAAA,iBAAAA,CAAAA,aAAAA,CAAAA,4CAAAA,CAAAA,kCAAAA,CAAAA,4BAAAA,CAAAA,wDAAAA,CAAAA;AA6BLC,UAAAA,aAAAA,CAAAA,mBAAAA,CAAAA,oBAAAA,CAAAA,mBAAAA,CAAAA,YAAAA,CAAAA,0BAAAA,CAAAA,wBAAAA,CAAAA,qBAAAA,CAAAA,kBAAAA,CAAAA,qCAAAA,CAAAA;AChCf,u5FAAu5F\",\"sourcesContent\":[\"import React from \\\"react\\\";\\nimport { styled } from \\\"@linaria/react\\\";\\nimport { css } from \\\"@linaria/core\\\";\\nimport ClickOutsideContainer from \\\"../internal/click-outside-container/click-outside-container.js\\\";\\nimport { jsx as _jsx } from \\\"react/jsx-runtime\\\";\\nconst RenameInput = styled.input`\\n flex-grow: 1;\\n border: none;\\n outline: none;\\n background-color: var(--gdg-bg-header-has-focus);\\n border-radius: 9px;\\n padding: 0 8px;\\n box-shadow: 0 0 0 1px var(--gdg-border-color);\\n color: var(--gdg-text-group-header);\\n min-height: ${p => Math.max(16, p.targetHeight - 10)}px;\\n font: var(--gdg-header-font-style) var(--gdg-font-family);\\n`;\\nexport const GroupRename = p => {\\n const {\\n bounds,\\n group,\\n onClose,\\n canvasBounds,\\n onFinish\\n } = p;\\n const [value, setValue] = React.useState(group);\\n return _jsx(ClickOutsideContainer, {\\n style: {\\n position: \\\"absolute\\\",\\n left: bounds.x - canvasBounds.left + 1,\\n top: bounds.y - canvasBounds.top,\\n width: bounds.width - 2,\\n height: bounds.height\\n },\\n className: css`\\n padding: 0 8px;\\n display: flex;\\n align-items: center;\\n background-color: var(--gdg-bg-header);\\n `,\\n onClickOutside: onClose,\\n children: _jsx(RenameInput, {\\n targetHeight: bounds.height,\\n \\\"data-testid\\\": \\\"group-rename-input\\\",\\n value: value,\\n onBlur: onClose,\\n onFocus: e => e.target.setSelectionRange(0, value.length),\\n onChange: e => setValue(e.target.value),\\n onKeyDown: e => {\\n if (e.key === \\\"Enter\\\") {\\n onFinish(value);\\n } else if (e.key === \\\"Escape\\\") {\\n onClose();\\n }\\n },\\n autoFocus: true\\n })\\n });\\n};\\nGroupRename.displayName = \\\"GroupRename\\\";\",\".r1fzhvm4{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;border:none;outline:none;background-color:var(--gdg-bg-header-has-focus);border-radius:9px;padding:0 8px;box-shadow:0 0 0 1px var(--gdg-border-color);color:var(--gdg-text-group-header);min-height:var(--r1fzhvm4-0);font:var(--gdg-header-font-style) var(--gdg-font-family);}\\n.c181oggi{padding:0 8px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--gdg-bg-header);}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvZGF0YS1lZGl0b3IvZ3JvdXAtcmVuYW1lLnRzeCJdLCJuYW1lcyI6WyIucjFmemh2bTQiLCIuYzE4MW9nZ2kiXSwibWFwcGluZ3MiOiJBQUtvQkE7QUE2QkxDIiwiZmlsZSI6Ii9ob21lL3J1bm5l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uZ2UoMCwgdmFsdWUubGVuZ3RoKSxcbiAgICAgIG9uQ2hhbmdlOiBlID0+IHNldFZhbHVlKGUudGFyZ2V0LnZhbHVlKSxcbiAgICAgIG9uS2V5RG93bjogZSA9PiB7XG4gICAgICAgIGlmIChlLmtleSA9PT0gXCJFbnRlclwiKSB7XG4gICAgICAgICAgb25GaW5pc2godmFsdWUpO1xuICAgICAgICB9IGVsc2UgaWYgKGUua2V5ID09PSBcIkVzY2FwZVwiKSB7XG4gICAgICAgICAgb25DbG9zZSgpO1xuICAgICAgICB9XG4gICAgICB9LFxuICAgICAgYXV0b0ZvY3VzOiB0cnVlXG4gICAgfSlcbiAgfSk7XG59O1xuR3JvdXBSZW5hbWUuZGlzcGxheU5hbWUgPSBcIkdyb3VwUmVuYW1lXCI7Il19*/\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".w2q57ts{position:relative;min-width:10px;min-height:10px;max-width:100%;max-height:100%;width:var(--w2q57ts-0);height:var(--w2q57ts-1);overflow:hidden;overflow:clip;direction:ltr;}.w2q57ts > :first-child{position:absolute;left:0;top:0;width:100%;height:100%;}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvaW50ZXJuYWwvZGF0YS1lZGl0b3ItY29udGFpbmVyL2RhdGEtZ3JpZC1jb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dGg6IDEwMCU7XG4gICAgICAgIGhlaWdodDogMTAwJTtcbiAgICB9XG5gO1xuZXhwb3J0IGNvbnN0IERhdGFFZGl0b3JDb250YWluZXIgPSBwID0+IHtcbiAgY29uc3Qge1xuICAgIGluV2lkdGgsXG4gICAgaW5IZWlnaHQsXG4gICAgY2hpbGRyZW4sXG4gICAgLi4ucmVzdFxuICB9ID0gcDtcbiAgcmV0dXJuIF9qc3goV3JhcHBlciwge1xuICAgIGlubmVySGVpZ2h0OiB0b0NzcyhpbkhlaWdodCksXG4gICAgaW5uZXJXaWR0aDogdG9Dc3MoaW5XaWR0aCksXG4gICAgLi4ucmVzdCxcbiAgICBjaGlsZHJlbjogY2hpbGRyZW5cbiAgfSk7XG59O1xuRGF0YUVkaXRvckNvbnRhaW5lci5kaXNwbGF5TmFtZSA9IFwiRGF0YUVkaXRvckNvbnRhaW5lclwiOyJdfQ==*/\", \"\",{\"version\":3,\"sources\":[\"/home/runner/work/glide-data-grid/glide-data-grid/packages/core/src/internal/data-editor-container/data-grid-container.tsx\",\"webpack://./packages/core/src/internal/data-editor-container/data-grid-container.tsx\"],\"names\":[\".w2q57ts\"],\"mappings\":\"AAOgBA,SAAAA,iBAAAA,CAAAA,cAAAA,CAAAA,eAAAA,CAAAA,cAAAA,CAAAA,eAAAA,CAAAA,sBAAAA,CAAAA,uBAAAA,CAAAA,eAAAA,CAAAA,aAAAA,CAAAA,aAAAA,CAAAA,CAAAA,wBAAAA,iBAAAA,CAAAA,MAAAA,CAAAA,KAAAA,CAAAA,UAAAA,CAAAA,WAAAA,CAAAA;ACNhB,+wDAA+wD\",\"sourcesContent\":[\"import { styled } from \\\"@linaria/react\\\";\\nimport * as React from \\\"react\\\";\\nimport { jsx as _jsx } from \\\"react/jsx-runtime\\\";\\nfunction toCss(x) {\\n if (typeof x === \\\"string\\\") return x;\\n return `${x}px`;\\n}\\nconst Wrapper = styled.div`\\n position: relative;\\n\\n min-width: 10px;\\n min-height: 10px;\\n max-width: 100%;\\n max-height: 100%;\\n\\n width: ${p => p.innerWidth};\\n height: ${p => p.innerHeight};\\n\\n overflow: hidden;\\n overflow: clip;\\n\\n direction: ltr;\\n\\n > :first-child {\\n position: absolute;\\n left: 0;\\n top: 0;\\n width: 100%;\\n height: 100%;\\n }\\n`;\\nexport const DataEditorContainer = p => {\\n const {\\n inWidth,\\n inHeight,\\n children,\\n ...rest\\n } = p;\\n return _jsx(Wrapper, {\\n innerHeight: toCss(inHeight),\\n innerWidth: toCss(inWidth),\\n ...rest,\\n children: children\\n });\\n};\\nDataEditorContainer.displayName = \\\"DataEditorContainer\\\";\",\".w2q57ts{position:relative;min-width:10px;min-height:10px;max-width:100%;max-height:100%;width:var(--w2q57ts-0);height:var(--w2q57ts-1);overflow:hidden;overflow:clip;direction:ltr;}.w2q57ts > :first-child{position:absolute;left:0;top:0;width:100%;height:100%;}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvaW50ZXJuYWwvZGF0YS1lZGl0b3ItY29udGFpbmVyL2RhdGEtZ3JpZC1jb250YWluZXIudHN4Il0sIm5hbWVzIjpbIi53MnE1N3RzIl0sIm1hcHBpbmdzIjoiQUFPZ0JBIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvaW50ZXJuYWwvZGF0YS1lZGl0b3ItY29udGFpbmVyL2RhdGEtZ3JpZC1jb250YWluZXIudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgc3R5bGVkIH0gZnJvbSBcIkBsaW5hcmlhL3JlYWN0XCI7XG5pbXBvcnQgKiBhcyBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbmltcG9ydCB7IGp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O1xuRGF0YUVkaXRvckNvbnRhaW5lci5kaXNwbGF5TmFtZSA9IFwiRGF0YUVkaXRvckNvbnRhaW5lclwiOyJdfQ==*/\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".slyseh9{position:absolute;top:4px;right:20px;background-color:var(--gdg-bg-cell);color:var(--gdg-text-dark);padding:8px;border:1px solid var(--gdg-border-color);border-radius:6px;font-size:var(--gdg-editor-font-size);-webkit-animation:gdg-search-fadein-slyseh9 0.15s forwards;animation:gdg-search-fadein-slyseh9 0.15s forwards;}.slyseh9.out{-webkit-animation:gdg-search-fadeout-slyseh9 0.15s forwards;animation:gdg-search-fadeout-slyseh9 0.15s forwards;}.slyseh9 .gdg-search-bar-inner{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}.slyseh9 .gdg-search-status{padding-top:4px;font-size:11px;}.slyseh9 .gdg-search-progress{position:absolute;height:4px;left:0;bottom:0;background-color:var(--gdg-text-light);}.slyseh9 input{width:220px;color:var(--gdg-textDark);background-color:var(--gdg-bg-cell);border:none;border-width:0;outline:none;}.slyseh9 button{width:24px;height:24px;padding:0;border:none;outline:none;background:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;color:var(--gdg-text-medium);}.slyseh9 button:hover{color:var(--gdg-text-dark);}.slyseh9 button .button-icon{width:16px;height:16px;}.slyseh9 button:disabled{opacity:0.4;pointer-events:none;}@-webkit-keyframes gdg-search-fadeout-slyseh9{from{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}to{-webkit-transform:translateX(400px);-ms-transform:translateX(400px);transform:translateX(400px);}}@keyframes gdg-search-fadeout-slyseh9{from{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}to{-webkit-transform:translateX(400px);-ms-transform:translateX(400px);transform:translateX(400px);}}@-webkit-keyframes gdg-search-fadein-slyseh9{from{-webkit-transform:translateX(400px);-ms-transform:translateX(400px);transform:translateX(400px);}to{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}}@keyframes gdg-search-fadein-slyseh9{from{-webkit-transform:translateX(400px);-ms-transform:translateX(400px);transform:translateX(400px);}to{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvaW50ZXJuYWwvZGF0YS1ncmlkLXNlYXJjaC9kYXRhLWdyaWQtc2VhcmNoLXN0eWxlLnRzeCJdLCJuYW1lcyI6WyIuc2x5c2VoOSJdLCJtYXBwaW5ncyI6IkFBQzZCQSIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay9nbGlkZS1kYXRhLWdyaWQvZ2xpZGUtZGF0YS1ncmlkL3BhY2thZ2VzL2NvcmUvc3JjL2ludGVybmFsL2RhdGEtZ3JpZC1zZWFyY2gvZGF0YS1ncmlkLXNlYXJjaC1zdHlsZS50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBzdHlsZWQgfSBmcm9tIFwiQGxpbmFyaWEvcmVhY3RcIjtcbmV4cG9ydCBjb25zdCBTZWFyY2hXcmFwcGVyID0gc3R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b3I6IHZhcigtLWdkZy1iZy1jZWxsKTtcbiAgICAgICAgYm9yZGVyOiBub25lO1xuICAgICAgICBib3JkZXItd2lkdGg6IDA7XG4gICAgICAgIG91dGxpbmU6IG5vbmU7XG4gICAgfVxuXG4gICAgYnV0dG9uIHtcbiAgICAgICAgd2lkdGg6IDI0cHg7XG4gICAgICAgIGhlaWdodDogMjRweDtcbiAgICAgICAgcGFkZGluZzogMDtcblxuICAgICAgICBib3JkZXI6IG5vbmU7XG4gICAgICAgIG91dGxpbmU6IG5vbmU7XG4gICAgICAgIGJhY2tncm91bmQ6IG5vbmU7XG5cbiAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIGN1cnNvcjogcG9pbnRlcjtcbiAgICAgICAgY29sb3I6IHZhcigtLWdkZy10ZXh0LW1lZGl1bSk7XG5cbiAgICAgICAgOmhvdmVyIHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoLS1nZGctdGV4dC1kYXJrKTtcbiAgICAgICAgfVxuXG4gICAgICAgIC5idXR0b24taWNvbiB7XG4gICAgICAgICAgICB3aWR0aDogMTZweDtcbiAgICAgICAgICAgIGhlaWdodDogMTZweDtcbiAgICAgICAgfVxuXG4gICAgICAgIDpkaXNhYmxlZCB7XG4gICAgICAgICAgICBvcGFjaXR5OiAwLjQ7XG4gICAgICAgICAgICBwb2ludGVyLWV2ZW50czogbm9uZTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIEBrZXlmcmFtZXMgZ2RnLXNlYXJjaC1mYWRlb3V0IHtcbiAgICAgICAgZnJvbSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMCk7XG4gICAgICAgIH1cbiAgICAgICAgdG8ge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDQwMHB4KTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIEBrZXlmcmFtZXMgZ2RnLXNlYXJjaC1mYWRlaW4ge1xuICAgICAgICBmcm9tIHtcbiAgICAgICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCg0MDBweCk7XG4gICAgICAgIH1cbiAgICAgICAgdG8ge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDApO1xuICAgICAgICB9XG4gICAgfVxuYDsiXX0=*/\", \"\",{\"version\":3,\"sources\":[\"/home/runner/work/glide-data-grid/glide-data-grid/packages/core/src/internal/data-grid-search/data-grid-search-style.tsx\",\"webpack://./packages/core/src/internal/data-grid-search/data-grid-search-style.tsx\"],\"names\":[\".slyseh9\"],\"mappings\":\"AAC6BA,SAAAA,iBAAAA,CAAAA,OAAAA,CAAAA,UAAAA,CAAAA,mCAAAA,CAAAA,0BAAAA,CAAAA,WAAAA,CAAAA,wCAAAA,CAAAA,iBAAAA,CAAAA,qCAAAA,CAAAA,0DAAAA,CAAAA,kDAAAA,CAAAA,CAAAA,aAAAA,2DAAAA,CAAAA,mDAAAA,CAAAA,CAAAA,+BAAAA,mBAAAA,CAAAA,oBAAAA,CAAAA,mBAAAA,CAAAA,YAAAA,CAAAA,CAAAA,4BAAAA,eAAAA,CAAAA,cAAAA,CAAAA,CAAAA,8BAAAA,iBAAAA,CAAAA,UAAAA,CAAAA,MAAAA,CAAAA,QAAAA,CAAAA,sCAAAA,CAAAA,CAAAA,eAAAA,WAAAA,CAAAA,yBAAAA,CAAAA,mCAAAA,CAAAA,WAAAA,CAAAA,cAAAA,CAAAA,YAAAA,CAAAA,CAAAA,gBAAAA,UAAAA,CAAAA,WAAAA,CAAAA,SAAAA,CAAAA,WAAAA,CAAAA,YAAAA,CAAAA,eAAAA,CAAAA,mBAAAA,CAAAA,oBAAAA,CAAAA,mBAAAA,CAAAA,YAAAA,CAAAA,uBAAAA,CAAAA,8BAAAA,CAAAA,oBAAAA,CAAAA,sBAAAA,CAAAA,0BAAAA,CAAAA,wBAAAA,CAAAA,qBAAAA,CAAAA,kBAAAA,CAAAA,cAAAA,CAAAA,4BAAAA,CAAAA,CAAAA,sBAAAA,0BAAAA,CAAAA,CAAAA,6BAAAA,UAAAA,CAAAA,WAAAA,CAAAA,CAAAA,yBAAAA,WAAAA,CAAAA,mBAAAA,CAAAA,CAAAA,8CAAAA,KAAAA,+BAAAA,CAAAA,2BAAAA,CAAAA,uBAAAA,CAAAA,CAAAA,GAAAA,mCAAAA,CAAAA,+BAAAA,CAAAA,2BAAAA,CAAAA,CAAAA,CAAAA,sCAAAA,KAAAA,+BAAAA,CAAAA,2BAAAA,CAAAA,uBAAAA,CAAAA,CAAAA,GAAAA,mCAAAA,CAAAA,+BAAAA,CAAAA,2BAAAA,CAAAA,CAAAA,CAAAA,6CAAAA,KAAAA,mCAAAA,CAAAA,+BAAAA,CAAAA,2BAAAA,CAAAA,CAAAA,GAAAA,+BAAAA,CAAAA,2BAAAA,CAAAA,uBAAAA,CAAAA,CAAAA,CAAAA,qCAAAA,KAAAA,mCAAAA,CAAAA,+BAAAA,CAAAA,2BAAAA,CAAAA,CAAAA,GAAAA,+BAAAA,CAAAA,2BAAAA,CAAAA,uBAAAA,CAAAA,CAAAA;ACA7B,mjGAAmjG\",\"sourcesContent\":[\"import { styled } from \\\"@linaria/react\\\";\\nexport const SearchWrapper = styled.div`\\n position: absolute;\\n top: 4px;\\n right: 20px;\\n\\n background-color: var(--gdg-bg-cell);\\n color: var(--gdg-text-dark);\\n\\n padding: 8px;\\n border: 1px solid var(--gdg-border-color);\\n border-radius: 6px;\\n\\n font-size: var(--gdg-editor-font-size);\\n\\n &.out {\\n animation: gdg-search-fadeout 0.15s forwards;\\n }\\n animation: gdg-search-fadein 0.15s forwards;\\n\\n .gdg-search-bar-inner {\\n display: flex;\\n }\\n\\n .gdg-search-status {\\n padding-top: 4px;\\n font-size: 11px;\\n }\\n\\n .gdg-search-progress {\\n position: absolute;\\n height: 4px;\\n left: 0;\\n bottom: 0;\\n\\n background-color: var(--gdg-text-light);\\n }\\n\\n input {\\n width: 220px;\\n color: var(--gdg-textDark);\\n background-color: var(--gdg-bg-cell);\\n border: none;\\n border-width: 0;\\n outline: none;\\n }\\n\\n button {\\n width: 24px;\\n height: 24px;\\n padding: 0;\\n\\n border: none;\\n outline: none;\\n background: none;\\n\\n display: flex;\\n justify-content: center;\\n align-items: center;\\n cursor: pointer;\\n color: var(--gdg-text-medium);\\n\\n :hover {\\n color: var(--gdg-text-dark);\\n }\\n\\n .button-icon {\\n width: 16px;\\n height: 16px;\\n }\\n\\n :disabled {\\n opacity: 0.4;\\n pointer-events: none;\\n }\\n }\\n\\n @keyframes gdg-search-fadeout {\\n from {\\n transform: translateX(0);\\n }\\n to {\\n transform: translateX(400px);\\n }\\n }\\n\\n @keyframes gdg-search-fadein {\\n from {\\n transform: translateX(400px);\\n }\\n to {\\n transform: translateX(0);\\n }\\n }\\n`;\",\".slyseh9{position:absolute;top:4px;right:20px;background-color:var(--gdg-bg-cell);color:var(--gdg-text-dark);padding:8px;border:1px solid var(--gdg-border-color);border-radius:6px;font-size:var(--gdg-editor-font-size);-webkit-animation:gdg-search-fadein-slyseh9 0.15s forwards;animation:gdg-search-fadein-slyseh9 0.15s forwards;}.slyseh9.out{-webkit-animation:gdg-search-fadeout-slyseh9 0.15s forwards;animation:gdg-search-fadeout-slyseh9 0.15s forwards;}.slyseh9 .gdg-search-bar-inner{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}.slyseh9 .gdg-search-status{padding-top:4px;font-size:11px;}.slyseh9 .gdg-search-progress{position:absolute;height:4px;left:0;bottom:0;background-color:var(--gdg-text-light);}.slyseh9 input{width:220px;color:var(--gdg-textDark);background-color:var(--gdg-bg-cell);border:none;border-width:0;outline:none;}.slyseh9 button{width:24px;height:24px;padding:0;border:none;outline:none;background:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;color:var(--gdg-text-medium);}.slyseh9 button:hover{color:var(--gdg-text-dark);}.slyseh9 button .button-icon{width:16px;height:16px;}.slyseh9 button:disabled{opacity:0.4;pointer-events:none;}@-webkit-keyframes gdg-search-fadeout-slyseh9{from{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}to{-webkit-transform:translateX(400px);-ms-transform:translateX(400px);transform:translateX(400px);}}@keyframes gdg-search-fadeout-slyseh9{from{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}to{-webkit-transform:translateX(400px);-ms-transform:translateX(400px);transform:translateX(400px);}}@-webkit-keyframes gdg-search-fadein-slyseh9{from{-webkit-transform:translateX(400px);-ms-transform:translateX(400px);transform:translateX(400px);}to{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}}@keyframes gdg-search-fadein-slyseh9{from{-webkit-transform:translateX(400px);-ms-transform:translateX(400px);transform:translateX(400px);}to{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvaW50ZXJuYWwvZGF0YS1ncmlkLXNlYXJjaC9kYXRhLWdyaWQtc2VhcmNoLXN0eWxlLnRzeCJdLCJuYW1lcyI6WyIuc2x5c2VoOSJdLCJtYXBwaW5ncyI6IkFBQzZCQSIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay9nbGlkZS1kYXRhLWdyaWQvZ2xpZGUtZGF0YS1ncmlkL3BhY2thZ2VzL2NvcmUvc3JjL2ludGVybmFsL2RhdGEtZ3JpZC1zZWFyY2gvZGF0YS1ncmlkLXNlYXJjaC1zdHlsZS50c3giLCJzb3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G5cbiAgICBpbnB1dCB7XG4gICAgICAgIHdpZHRoOiAyMjBweDtcbiAgICAgICAgY29sb3I6IHZhcigtLWdkZy10ZXh0RGFyayk7XG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigtLWdkZy1iZy1jZWxsKTtcbiAgICAgICAgYm9yZGVyOiBub25lO1xuICAgICAgICBib3JkZXItd2lkdGg6IDA7XG4gICAgICAgIG91dGxpbmU6IG5vbmU7XG4gICAgfVxuXG4gICAgYnV0dG9uIHtcbiAgICAgICAgd2lkdGg6IDI0cHg7XG4gICAgICAgIGhlaWdodDogMjRweDtcbiAgICAgICAgcGFkZGluZzogMDtcblxuICAgICAgICBib3JkZXI6IG5vbmU7XG4gICAgICAgIG91dGxpbmU6IG5vbmU7XG4gICAgICAgIGJhY2tncm91bmQ6IG5vbmU7XG5cbiAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIGN1cnNvcjogcG9pbnRlcjtcbiAgICAgICAgY29sb3I6IHZhcigtLWdkZy10ZXh0LW1lZGl1bSk7XG5cbiAgICAgICAgOmhvdmVyIHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoLS1nZGctdGV4dC1kYXJrKTtcbiAgICAgICAgfVxuXG4gICAgICAgIC5idXR0b24taWNvbiB7XG4gICAgICAgICAgICB3aWR0aDogMTZweDtcbiAgICAgICAgICAgIGhlaWdodDogMTZweDtcbiAgICAgICAgfVxuXG4gICAgICAgIDpkaXNhYmxlZCB7XG4gICAgICAgICAgICBvcGFjaXR5OiAwLjQ7XG4gICAgICAgICAgICBwb2ludGVyLWV2ZW50czogbm9uZTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIEBrZXlmcmFtZXMgZ2RnLXNlYXJjaC1mYWRlb3V0IHtcbiAgICAgICAgZnJvbSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMCk7XG4gICAgICAgIH1cbiAgICAgICAgdG8ge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDQwMHB4KTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIEBrZXlmcmFtZXMgZ2RnLXNlYXJjaC1mYWRlaW4ge1xuICAgICAgICBmcm9tIHtcbiAgICAgICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCg0MDBweCk7XG4gICAgICAgIH1cbiAgICAgICAgdG8ge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDApO1xuICAgICAgICB9XG4gICAgfVxuYDsiXX0=*/\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../node_modules/@linaria/webpack5-loader/lib/outputCssLoader.js?cacheProvider=!./group-rename.tsx\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../node_modules/@linaria/webpack5-loader/lib/outputCssLoader.js?cacheProvider=!./group-rename.tsx\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/@linaria/webpack5-loader/lib/outputCssLoader.js?cacheProvider=!./data-grid-container.tsx\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/@linaria/webpack5-loader/lib/outputCssLoader.js?cacheProvider=!./data-grid-container.tsx\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/@linaria/webpack5-loader/lib/outputCssLoader.js?cacheProvider=!./data-grid-search-style.tsx\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].use[1]!../../../../../node_modules/@linaria/webpack5-loader/lib/outputCssLoader.js?cacheProvider=!./data-grid-search-style.tsx\";\n export default content && content.locals ? content.locals : undefined;\n"],"names":["styled","SearchWrapper","name","class","propsAsIs","React","GridCellKind","ScrollingDataGrid","assert","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","upArrow","className","viewBox","children","fill","stroke","strokeLinecap","strokeLinejoin","strokeWidth","d","downArrow","closeX","targetSearchTimeMS","DataGridSearch","p","canvasRef","cellYOffset","rows","columns","searchInputRef","searchValue","searchResults","searchResultsIn","onSearchValueChange","getCellsForSelection","onSearchResultsChanged","showSearch","onSearchClose","searchID","useState","Math","round","random","searchStringInner","setSearchStringInner","searchString","setSearchString","useCallback","newVal","searchStatus","setSearchStatus","searchStatusRef","useRef","current","useEffect","undefined","length","cv","_cv$selectedIndex","rowsSearched","results","selectedIndex","abortControllerRef","AbortController","searchHandle","searchResultsInner","setSearchResultsInner","cancelSearch","window","cancelAnimationFrame","abort","cellYOffsetRef","beginSearch","str","regex","RegExp","replace","startY","searchStride","min","runningResult","tick","_searchStatusRef$curr","_searchStatusRef$curr2","tStart","performance","now","rowsLeft","data","x","y","width","height","signal","added","row","entries","col","cell","testString","kind","Text","Number","displayData","Uri","Markdown","Boolean","toString","Image","Bubble","join","Custom","copyData","test","push","tEnd","tElapsed","rounded","max","scalar","ceil","requestAnimationFrame","onClose","_canvasRef$current","focus","onSearchChange","event","target","value","preventScroll","onNext","ev","_ev$stopPropagation","stopPropagation","call","newIndex","onPrev","_ev$stopPropagation2","onSearchKeyDown","ctrlKey","metaKey","nativeEvent","code","key","preventDefault","shiftKey","isAnimatingOut","setIsAnimatingOut","timeoutId","setTimeout","clearTimeout","searchbox","useMemo","_searchStatus$rowsSea","_searchStatus$results","_searchStatus$results2","resultString","cancelEvent","rowsSearchedProgress","floor","progressStyle","onMouseDown","onMouseMove","onMouseUp","onClick","id","ref","onChange","tabIndex","onKeyDownCapture","disabled","style","htmlFor","prelightCells","accessibilityHeight","cellXOffset","clientSize","disabledRows","enableGroups","fillHandle","firstColAccessible","nonGrowWidth","fixedShadowX","fixedShadowY","freezeColumns","getCellContent","getCellRenderer","getGroupDetails","getRowThemeOverride","groupHeaderHeight","headerHeight","highlightRegions","imageWindowLoader","initialSize","isFilling","isFocused","lockColumns","maxColumnWidth","minColumnWidth","onHeaderMenuClick","onVisibleRegionChanged","overscrollX","overscrollY","preventDiagonalScrolling","rightElement","rightElementProps","rowHeight","scrollRef","selection","theme","freezeTrailingRows","hasAppendRow","translateX","translateY","verticalBorder","onColumnProposeMove","drawFocusRing","drawCell","drawHeader","experimental","gridRef","headerIcons","isDraggable","onCanvasBlur","onCanvasFocused","onCellFocused","onColumnMoved","onColumnResize","onColumnResizeEnd","onColumnResizeStart","onContextMenu","onDragEnd","onDragLeave","onDragOverCell","onDragStart","onDrop","onItemHovered","onKeyDown","onKeyUp","onRowMoved","smoothScrollX","smoothScrollY","ClickOutsideContainer","_exp","targetHeight","RenameInput","vars","GroupRename","bounds","group","canvasBounds","onFinish","setValue","position","left","top","onClickOutside","onBlur","onFocus","e","setSelectionRange","autoFocus","displayName","isSizedGridColumn","resolveCellsThunk","defaultSize","measureCell","ctx","_r$measure","_r$measure2","r","measure","measureColumn","c","colIndex","selectedData","removeOutliers","sizes","map","sum","size","average","i","measureText","title","icon","final","useColumnSizer","clientWidth","abortController","rowsRef","getCellsForSelectionRef","themeRef","canvas","offscreen","document","createElement","getContext","alpha","useLayoutEffect","documentElement","append","remove","memoMap","lastColumns","setSelectionData","getCells","every","computeRows","tailRows","computeArea","tailComputeArea","fn","getResult","tailGetResult","toSet","getRaw","font","baseFontFull","result","totalWidth","totalGrow","distribute","grow","writeable","extra","remaining","di","_result$i$grow","weighted","toAdd","growOffset","sizedColumns","browserIsOSX","checkKey","args","startsWith","keycode","parseInt","slice","keyCode","toUpperCase","codePointAt","isHotkey","hotkey","details","isHotkeyInner","didMatch","includes","parts","split","part","wantCtrl","wantShift","wantAlt","wantMeta","pop","accel","altKey","CompactSelection","useSelectionBehavior","gridSelection","setGridSelection","rangeBehavior","columnBehavior","rowBehavior","rangeSelect","setCurrent","expand","trigger","_gridSelection$curren","_gridSelection$curren2","range","rangeMixable","allowColumnCoSelect","allowRowCoSelect","rangeStack","empty","addLastRange","setSelectedRows","newRows","allowMixed","_newRows","add","rangeMixed","columnMixed","setSelectedColumns","newCols","_newCols","rowMixed","useCellsForSelection","getCellsForSelectionIn","rowMarkerOffset","getCellsForSelectionDirectWhenValid","rect","_getCellsForSelection","Loading","allowOverlay","getCellsForSelectionDirect","getCellsForSelectionMangled","newRect","toCss","innerWidth","_exp2","innerHeight","Wrapper","DataEditorContainer","inWidth","inHeight","rest","maxPxPerMs","msToFullSpeed","useAutoscroll","scrollDirection","onScroll","speedScalar","xDir","yDir","cancelled","lastTime","scrollFn","curTime","_scrollRef$current","step","motion","scrollBy","getDataEditorTheme","useRemAdjuster","_ref","rowHeightIn","headerHeightIn","groupHeaderHeightIn","themeIn","overscrollXIn","overscrollYIn","scaleToRem","remSize","_themeIn$headerIconSi","_themeIn$cellHorizont","_themeIn$cellVertical","scaler","rh","bt","n","headerIconSize","cellHorizontalPadding","cellVerticalPadding","assertNever","maybe","clamp","uniq","flatten","debounce","isEditableGridCell","isReadWriteCell","InnerGridCellKind","isInnerOnlyCell","isObjectEditorCallbackResult","makeCSSStyle","ThemeContext","mergeAndRealizeTheme","getScrollBarWidth","useEventListener","useStateWithReactiveInput","whenDefined","isGroupEqual","itemsAreEqual","itemIsInRect","gridSelectionHasItem","getFreezeTrailingHeight","unquote","expandSelection","copyToClipboard","toggleBoolean","decodeHTML","withAlpha","combineRects","getClosestRect","pointInRect","groupHeaderKind","outOfBoundsKind","headerKind","mouseEventArgsAreEqual","useKeybindingsWithDefaults","DataGridOverlayEditor","lazy","idCounter","getSpanStops","cells","filter","span","_c$span$","_c$span","_c$span$2","_c$span2","shiftSelection","input","offset","loadingCell","emptyGridSelection","DataEditorImpl","forwardedRef","_rowMarkersObj$kind","_rowMarkersObj$width","_ref2","_rowMarkersObj$startI","_rowMarkersObj$theme","_rowMarkersObj$checkb","_visibleRegion$height","_visibleRegion$width","_gridSelection$curren5","_gridSelectionOuter$c","_gridSelectionOuter$c2","gridSelectionInner","setGridSelectionInner","overlay","setOverlay","mouseState","setMouseState","lastSent","safeWindow","imageEditorOverride","markdownDivCreateNode","columnsIn","onCellClicked","onCellActivated","onFillPattern","onFinishedEditing","coercePasteValue","drawHeaderIn","drawCellIn","editorBloom","onHeaderClicked","spanRangeBehavior","onGroupHeaderClicked","onCellContextMenu","onHeaderContextMenu","onGroupHeaderContextMenu","onGroupHeaderRenamed","onCellEdited","onCellsEdited","onSearchResultsChangedIn","onKeyDownIn","onKeyUpIn","keybindings","keybindingsIn","onRowAppended","validateCell","validateCellIn","highlightRegionsIn","columnSelect","rowSelect","rangeSelectionBlending","columnSelectionBlending","rowSelectionBlending","onDelete","onDeleteIn","onPaste","copyHeaders","cellActivationBehavior","rowSelectionMode","onSearchCloseIn","onSelectionCleared","showSearchIn","gridSelectionOuter","onGridSelectionChange","minColumnWidthIn","maxColumnWidthIn","maxColumnAutoWidth","maxColumnAutoWidthIn","provideEditor","trailingRowOptions","allowedFillDirections","scrollOffsetX","scrollOffsetY","onColumnResizeIn","onColumnResizeEndIn","onColumnResizeStartIn","customRenderers","additionalRenderers","trapFocus","isOutsideClick","renderers","rowMarkersObj","rowMarkers","rowMarkerWidthRaw","rowMarkerWidth","rowMarkerStartIndex","startIndex","rowMarkerTheme","rowMarkerCheckboxStyle","checkboxStyle","docStyle","fontSize","getComputedStyle","parseFloat","hasRowMarkers","showTrailingBlankRow","lastRowSticky","sticky","showSearchInner","setShowSearchInner","gridSelectionOuterMangled","getCellsForSeletionDirect","newValue","prevValue","item","expectedExternalGridSelection","_","w","ind","wg","draw","_drawHeaderIn","columnIndex","_drawCellIn","sel","mergedTheme","setClientSize","rendererMap","find","isMatch","some","totalHeaderHeight","numSelectedRows","rowMarkerChecked","mangledCols","hasMenu","themeOverride","rowMarker","visibleRegionY","visibleRegionTy","visibleRegionRef","visibleRegionInput","_visibleRegionRef$cur","_visibleRegionRef$cur2","ty","hasJustScrolled","visibleRegion","setVisibleRegion","vScrollReady","scrollTop","hScrollReady","scrollLeft","immediate","_gridRef$current","_gridRef$current2","mangledRows","mangledOnCellsEdited","items","mangledItems","location","fillHighlightRegion","setFillHighlightRegion","highlightRange","regions","maxWidth","color","accentColor","mangledColsRef","getMangledCellContent","_ref3","forceStrict","arguments","isTrailing","isRowMarkerCol","Marker","checked","hasIndex","markerKind","drawHandle","cursor","_trailingRowOptions$h","_c$trailingRowOptions","isFirst","maybeFirstColumnHint","hint","_c$trailingRowOptions2","_c$trailingRowOptions3","_c$trailingRowOptions4","_c$trailingRowOptions5","addIcon","NewRow","outerCol","strict","_vr$extras","_vr$extras2","_vr$extras3","vr","isOutsideMainArea","isSelected","extras","selected","isInFreezeArea","freezeRegions","fr","mangledGetGroupDetails","_getGroupDetails","_result$actions","overrideTheme","actions","setRenameGroup","setOverlaySimple","val","_mangledGetGroupDetai","column","groupTheme","colTheme","rowTheme","content","reselect","fromKeyboard","initialValue","isNaN","highlight","forceEditMode","readonly","_gridRef$current3","damage","focusOnRowFromTrailingBlankRow","_gridRef$current4","getBounds","scrollTo","dir","paddingX","paddingY","options","grid","trueCol","unit","amount","trueRow","desiredX","desiredY","targetRect","scrollX","scrollY","_grid$getBounds","scrollBounds","getBoundingClientRect","scale","offsetWidth","frozenWidth","trailingRowHeight","freezeTrailingRowsEffective","sLeft","sRight","right","sTop","sBottom","bottom","minx","hAlign","miny","vAlign","focusCallback","getCellContentRef","appendRow","_c$trailingRowOptions6","openOverlay","appendResult","backoff","doFocus","scrollToRef","getCustomNewRowTargetColumn","_columns$col$trailing","_columns$col","customTargetColumn","targetColumn","customTargetOffset","maybeIndex","indexOf","lastSelectedRowRef","lastSelectedColRef","themeForCell","pos","_mangledCols$col","handleSelect","isMultiKey","isMultiRow","isMultiCol","selectedColumns","selectedRows","cellCol","cellRow","lastMouseSelectLocation","markerCell","_renderer$onClick","renderer","postClick","posX","localEventX","posY","localEventY","lastHighlighted","isLongTouch","newSlice","fromSingleSelection","isTouch","_gridSelection$curren3","onSelect","prevented","isLastStickyRow","startedFromLastSticky","lastCol","isMaybeScrollbar","isActivelyDraggingHeader","touchDownArgs","mouseDownData","isPrevented","button","time","fh","isFillHandle","isEdge","previousSelection","renameGroup","handleGroupHeaderSelection","needle","start","end","hasAll","index","normalSizeColumn","inputCol","newCol","scrollDir","setScrollDir","fillPattern","currentSelection","_previousSelection$cu","_gridRef$current5","patternRange","currentRange","canceled","fillDestination","patternSource","pattern","editItemList","patternCell","fillRight","firstColSelection","fillDown","firstRowSelection","isOutside","_mouse$previousSelect","_lastMouseSelectLocat","mouse","newRange","lastMouseDownCol","lastMouseDownRow","handleMaybeClick","a","isValidClick","_gridRef$current6","shouldActivate","_mouse$previousSelect2","selectedCol","selectedRow","prevCol","prevRow","isClickOnSelected","isDoubleClick","clickLocation","touchVr","_gridSelection$curren4","onMouseMoveImpl","buttons","_mouseDownData$curren","_mouseDownData$curren2","scrollEdge","onHeaderMenuClickInner","screenPosition","currentCell","onVisibleRegionChangedImpl","region","clientHeight","rightElWidth","tx","freezeRegion","newRegion","onColumnMovedImpl","endIndex","isActivelyDragging","onDragStartImpl","defaultPrevented","hoveredRef","onItemHoveredImpl","_mouseDownData$curren3","_mouseDownData$curren4","_mouseState$previousS","prevRange","startedFromLastStickyRow","landedOnLastStickyRow","deltaX","deltaY","abs","adjustSelectionOnScroll","visible","_visible$extras$freez","_visible$extras","adjustSelection","direction","old","disallowed","done","updateSelectedCell","fromEditingTrailingRow","freeMove","rowMax","newStack","onFinishEditing","movement","_gridRef$current7","movX","movY","isEditingTrailingRow","overlayID","deleteRange","_gridRef$current8","editList","cellValue","_toDelete$provideEdit","toDelete","editor","_editor$deletedValue","deletedValue","_toDelete$onDelete","overlayOpen","handleFixedKeybindings","cancel","keys","clear","selectAll","_gridSelection$curren6","_gridSelection$curren7","search","_searchInputRef$curre","delete","_onDelete","callbackResult","cancelOnlyOnMove","scrollToSelectedCell","selectColumn","selectRow","activateCell","downFill","rightFill","goToNextPage","goToPreviousPage","goToFirstCell","goToLastCell","MAX_SAFE_INTEGER","selectToFirstCell","selectToLastCell","goDownCell","goUpCell","goRightCell","goLeftCell","goDownCellRetainSelection","goUpCellRetainSelection","goRightCellRetainSelection","goLeftCellRetainSelection","goToLastRow","goToFirstRow","MIN_SAFE_INTEGER","goToLastColumn","goToFirstColumn","selectGrowDown","selectGrowUp","selectGrowRight","selectGrowLeft","selectToLastRow","selectToFirstRow","selectToLastColumn","selectToFirstColumn","closeOverlay","acceptOverlayDown","acceptOverlayUp","acceptOverlayLeft","acceptOverlayRight","moved","adjustedCol","onPasteInternal","paste","pasteToCell","inner","rawValue","formatted","_rawValue$join","_rawValue$toString","stringifiedRawValue","coerced","process","env","NODE_ENV","console","warn","_onPaste","_ref4","_r$onPaste","formattedString","focused","contains","activeElement","_selectedColumns$firs","first","_selectedRows$first","_gridRef$current9","text","textPlain","textHtml","navigator","clipboard","read","clipboardContent","types","htmlBlob","getType","html","decoded","readText","clipboardData","getData","targetCol","targetRow","_ref5","_text","_data","cellData","cb","_cb$rawValue$toString","_cb$rawValue","dataRow","dataItem","writeCol","writeRow","onCopy","ignoreFocus","_scrollRef$current2","_canvasRef$current2","copy","copyToClipboardWithHeaders","columnIndexes","headers","thunk","toCopy","rowIndex","then","v","Promise","settled","all","cols","reduce","pv","onCut","_scrollRef$current3","_canvasRef$current3","cut","effectiveSelection","onDeleteResult","navIndex","outCol","outRow","_expectedExternalGrid","_expectedExternalGrid2","selectionOutOfBounds","tint","mangledVerticalBorder","_verticalBorder","renameGroupNode","mangledFreezeColumns","useImperativeHandle","updateCells","damageList","_gridRef$current10","_gridRef$current11","scrollWidth","scrollHeight","_gridRef$current12","emit","rawEvent","remeasureColumns","selCol","selRow","setIsFocused","setIsFocusedDebounced","onFocusOut","idealWidth","idealHeight","_experimental$scrollb","h","scrollbarWidth","scrollbarWidthOverride","rowsCountWithTrailingRow","avg","toAverage","acc","cssStyle","Provider","Suspense","fallback","bloom","isSubGrid","DataEditor","forwardRef","iconHead","headerRowID","props","fg","fgColor","bg","bgColor","headerCode","headerNumber","headerString","headerBoolean","headerUri","renameIcon","headerAudioUri","headerVideoUri","headerEmoji","headerImage","headerPhone","headerMarkdown","headerDate","headerTime","headerEmail","headerReference","headerIfThenElse","headerSingleValue","headerLookup","headerTextTemplate","headerMath","headerRollup","headerJoinStrings","headerSplitString","headerGeoDistance","headerArray","rowOwnerOverlay","protectedColumnOverlay","sprites","AllCellRenderers","ImageWindowLoaderImpl","DataEditorAllImpl","allSprites","_p$imageWindowLoader","DataEditorAll","useDeepMemo","keybindingDefaults","realizeKeybind","keybind","defaultVal","realizeKeybinds","keybinds","isOSX","_keys$goToNextPage","_keys$goToPreviousPag","_keys$goToFirstCell","_keys$goToLastCell","_keys$selectToFirstCe","_ref6","_keys$selectToLastCel","withBackCompatApplied","pageDown","pageUp","last","PureComponent","constructor","wrapperRef","createRef","clickOutside","node","classList","parentElement","componentDidMount","addEventListener","componentWillUnmount","removeEventListener","render"],"sourceRoot":""} \ No newline at end of file diff --git a/docs/7671.9a610ede.iframe.bundle.js b/docs/7671.57529faa.iframe.bundle.js similarity index 99% rename from docs/7671.9a610ede.iframe.bundle.js rename to docs/7671.57529faa.iframe.bundle.js index 6dc1eac29..900b26a67 100644 --- a/docs/7671.9a610ede.iframe.bundle.js +++ b/docs/7671.57529faa.iframe.bundle.js @@ -1235,17 +1235,53 @@ const rowIDCellRenderer = { + const textCellRenderer = { getAccessibilityString: c => { var _c$data$toString, _c$data; return (_c$data$toString = (_c$data = c.data) === null || _c$data === void 0 ? void 0 : _c$data.toString()) !== null && _c$data$toString !== void 0 ? _c$data$toString : ""; }, kind: data_grid_types/* GridCellKind.Text */.p6.Text, - needsHover: false, + needsHover: textCell => textCell.hoverEffect === true, needsHoverPosition: false, drawPrep: data_grid_lib/* prepTextCell */.k0, useLabel: true, - draw: a => ((0,data_grid_lib/* drawTextCell */.uN)(a, a.cell.displayData, a.cell.contentAlign, a.cell.allowWrapping, a.hyperWrapping), true), + draw: a => { + const { + cell, + hoverAmount, + hyperWrapping, + ctx, + rect, + theme, + overrideCursor + } = a; + const { + displayData, + contentAlign, + hoverEffect, + allowWrapping + } = cell; + if (hoverEffect === true && hoverAmount > 0) { + var _theme$roundingRadius; + ctx.textBaseline = "alphabetic"; + const padX = theme.cellHorizontalPadding; + const padY = theme.cellVerticalPadding; + const m = (0,data_grid_lib/* measureTextCached */.P7)(displayData, ctx, theme.baseFontFull, "alphabetic"); + const maxH = rect.height - padY; + const h = Math.min(maxH, m.actualBoundingBoxAscent * 2.5); + ctx.beginPath(); + (0,data_grid_lib/* roundedRect */.NK)(ctx, rect.x + padX / 2, rect.y + (rect.height - h) / 2 + 1, m.width + padX * 3, h - 1, (_theme$roundingRadius = theme.roundingRadius) !== null && _theme$roundingRadius !== void 0 ? _theme$roundingRadius : 4); + ctx.globalAlpha = hoverAmount; + ctx.fillStyle = (0,color_parser/* withAlpha */.fG)(theme.textDark, 0.1); + ctx.fill(); + ctx.globalAlpha = 1; + ctx.fillStyle = theme.textDark; + ctx.textBaseline = "middle"; + overrideCursor === null || overrideCursor === void 0 || overrideCursor("text"); + } + (0,data_grid_lib/* drawTextCell */.uN)(a, displayData, contentAlign, allowWrapping, hyperWrapping); + }, measure: (ctx, cell, t) => { const lines = cell.displayData.split("\n", cell.allowWrapping === true ? undefined : 1); let maxLineWidth = 0; @@ -1382,7 +1418,7 @@ const uriCellRenderer = { return (_c$data$toString = (_c$data = c.data) === null || _c$data === void 0 ? void 0 : _c$data.toString()) !== null && _c$data$toString !== void 0 ? _c$data$toString : ""; }, kind: data_grid_types/* GridCellKind.Uri */.p6.Uri, - needsHover: true, + needsHover: uriCell => uriCell.hoverEffect === true, needsHoverPosition: true, useLabel: true, drawPrep: data_grid_lib/* prepTextCell */.k0, @@ -5869,7 +5905,8 @@ const DataGrid = (p, forwardedRef) => { } const cell = getCellContent(hoveredItem, true); const r = getCellRenderer(cell); - am.setHovered(r === undefined && cell.kind === data_grid_types/* GridCellKind.Custom */.p6.Custom || (r === null || r === void 0 ? void 0 : r.needsHover) === true ? hoveredItem : undefined); + const cellNeedsHover = r === undefined && cell.kind === data_grid_types/* GridCellKind.Custom */.p6.Custom || (r === null || r === void 0 ? void 0 : r.needsHover) !== undefined && (typeof r.needsHover === "boolean" ? r.needsHover : r.needsHover(cell)); + am.setHovered(cellNeedsHover ? hoveredItem : undefined); }, [getCellContent, getCellRenderer, hoveredItem]); const hoveredRef = react.useRef(); const onMouseMoveImpl = react.useCallback(ev => { @@ -5891,6 +5928,7 @@ const DataGrid = (p, forwardedRef) => { }); }; if (!(0,event_args/* mouseEventArgsAreEqual */.PN)(args, hoveredRef.current)) { + setDrawCursorOverride(undefined); onItemHovered === null || onItemHovered === void 0 || onItemHovered(args); maybeSetHoveredInfo(args.kind === event_args/* outOfBoundsKind */.Xv ? undefined : [args.location, [args.localEventX, args.localEventY]], true); hoveredRef.current = args; @@ -6564,7 +6602,8 @@ function makeCacheKey(s, ctx, baseline, font) { return `${s}_${font !== null && font !== void 0 ? font : ctx === null || ctx === void 0 ? void 0 : ctx.font}_${baseline}`; } function measureTextCached(s, ctx, font) { - const key = makeCacheKey(s, ctx, "middle", font); + let baseline = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "middle"; + const key = makeCacheKey(s, ctx, baseline, font); let metrics = metricsCache[key]; if (metrics === undefined) { metrics = ctx.measureText(s); @@ -7663,4 +7702,4 @@ var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js /***/ }) }]); -//# sourceMappingURL=7671.9a610ede.iframe.bundle.js.map \ No newline at end of file +//# sourceMappingURL=7671.57529faa.iframe.bundle.js.map \ No newline at end of file diff --git a/docs/7671.57529faa.iframe.bundle.js.map b/docs/7671.57529faa.iframe.bundle.js.map new file mode 100644 index 000000000..d54e16bf8 --- /dev/null +++ b/docs/7671.57529faa.iframe.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"7671.57529faa.iframe.bundle.js","mappings":";;;;;;;;;;;;;;;;;;;;;AAA0G;AACxC;AAOhB;AAC2B;AAG7E,MAAMU,kBAAkB,GAAG,EAAE;AAEtB,MAAMC,mBAAsD,GAAG;EAClEC,sBAAsB,EAAEC,CAAC;IAAA,IAAAC,gBAAA,EAAAC,OAAA;IAAA,QAAAD,gBAAA,IAAAC,OAAA,GAAIF,CAAC,CAACG,IAAI,cAAAD,OAAA,uBAANA,OAAA,CAAQE,QAAQ,CAAC,CAAC,cAAAH,gBAAA,cAAAA,gBAAA,GAAI,OAAO;EAAA;EAC1DI,IAAI,EAAEb,oDAAoB;EAC1Be,UAAU,EAAE,IAAI;EAChBC,QAAQ,EAAE,KAAK;EACfC,kBAAkB,EAAE,IAAI;EACxBC,OAAO,EAAEA,CAAA,KAAM,EAAE;EACjBC,IAAI,EAAEC,CAAC;IAAA,IAAAC,eAAA;IAAA,OAAIC,WAAW,CAACF,CAAC,EAAEA,CAAC,CAACG,IAAI,CAACZ,IAAI,EAAEV,iDAAqB,CAACmB,CAAC,CAACG,IAAI,CAAC,GAAAF,eAAA,GAAED,CAAC,CAACG,IAAI,CAACC,OAAO,cAAAH,eAAA,cAAAA,eAAA,GAAIhB,kBAAkB,CAAC;EAAA;EAC3GoB,QAAQ,EAAEjB,CAAC,KAAK;IACZ,GAAGA,CAAC;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,EAAC","sources":["webpack://root/./packages/core/src/cells/boolean-cell.tsx","webpack://root/./packages/core/src/internal/data-grid-overlay-editor/private/bubbles-overlay-editor-style.tsx","webpack://root/./packages/core/src/internal/data-grid-overlay-editor/private/bubbles-overlay-editor.tsx","webpack://root/./packages/core/src/cells/bubble-cell.tsx","webpack://root/./packages/core/src/internal/data-grid-overlay-editor/private/drilldown-overlay-editor.tsx","webpack://root/./packages/core/src/cells/drilldown-cell.tsx","webpack://root/./packages/core/src/internal/data-grid-overlay-editor/private/image-overlay-editor-style.tsx","webpack://root/./packages/core/src/internal/data-grid-overlay-editor/private/image-overlay-editor.tsx","webpack://root/./packages/core/src/cells/image-cell.tsx","webpack://root/./packages/core/src/cells/loading-cell.tsx","webpack://root/./packages/core/src/internal/markdown-div/private/markdown-container.tsx","webpack://root/./packages/core/src/internal/markdown-div/markdown-div.tsx","webpack://root/./packages/core/src/internal/growing-entry/growing-entry-style.tsx","webpack://root/./packages/core/src/internal/growing-entry/growing-entry.tsx","webpack://root/./packages/core/src/internal/data-grid-overlay-editor/private/markdown-overlay-editor-style.tsx","webpack://root/./packages/core/src/internal/data-grid-overlay-editor/private/markdown-overlay-editor.tsx","webpack://root/./packages/core/src/cells/markdown-cell.tsx","webpack://root/./packages/core/src/cells/marker-cell.tsx","webpack://root/./packages/core/src/cells/new-row-cell.tsx","webpack://root/./packages/core/src/cells/number-cell.tsx","webpack://root/./packages/core/src/cells/protected-cell.tsx","webpack://root/./packages/core/src/cells/row-id-cell.tsx","webpack://root/./packages/core/src/cells/text-cell.tsx","webpack://root/./packages/core/src/internal/data-grid-overlay-editor/private/uri-overlay-editor-style.tsx","webpack://root/./packages/core/src/internal/data-grid-overlay-editor/private/uri-overlay-editor.tsx","webpack://root/./packages/core/src/cells/uri-cell.tsx","webpack://root/./packages/core/src/cells/index.ts","webpack://root/./packages/core/src/common/browser-detect.ts","webpack://root/./packages/core/src/common/image-window-loader.ts","webpack://root/./packages/core/src/common/math.ts","webpack://root/./packages/core/src/common/render-state-provider.ts","webpack://root/./packages/core/src/common/styles.ts","webpack://root/./packages/core/src/common/support.ts","webpack://root/./packages/core/src/common/utils.tsx","webpack://root/./packages/core/src/data-editor/copy-paste.ts","webpack://root/./packages/core/src/data-editor/data-editor-fns.ts","webpack://root/./packages/core/src/internal/data-grid/cell-set.ts","webpack://root/./packages/core/src/internal/data-grid/color-parser.ts","webpack://root/./packages/core/src/internal/data-grid/data-grid-types.ts","webpack://root/./packages/core/src/internal/data-grid/data-grid-sprites.ts","webpack://root/./packages/core/src/internal/data-grid/render/data-grid-render.walk.ts","webpack://root/./packages/core/src/internal/data-grid/render/data-grid-render.cells.ts","webpack://root/./packages/core/src/internal/data-grid/render/data-grid-render.header.ts","webpack://root/./packages/core/src/internal/data-grid/render/data-grid-render.lines.ts","webpack://root/./packages/core/src/internal/data-grid/render/data-grid-render.blit.ts","webpack://root/./packages/core/src/internal/data-grid/render/data-grid.render.rings.ts","webpack://root/./packages/core/src/internal/data-grid/render/data-grid-render.ts","webpack://root/./packages/core/src/internal/data-grid/animation-manager.ts","webpack://root/./packages/core/src/internal/data-grid/use-animation-queue.ts","webpack://root/./packages/core/src/internal/data-grid/data-grid.tsx","webpack://root/./packages/core/src/internal/data-grid/event-args.ts","webpack://root/./packages/core/src/internal/data-grid/render/data-grid-lib.ts","webpack://root/./packages/core/src/internal/data-grid/render/draw-checkbox.ts","webpack://root/./packages/core/src/stories/story-utils.tsx","webpack://root/./packages/core/src/internal/data-grid-overlay-editor/private/bubbles-overlay-editor-style.tsx?0842","webpack://root/./packages/core/src/internal/data-grid-overlay-editor/private/drilldown-overlay-editor.tsx?9b3b","webpack://root/./packages/core/src/internal/data-grid-overlay-editor/private/image-overlay-editor-style.tsx?cd4e","webpack://root/./packages/core/src/internal/data-grid-overlay-editor/private/markdown-overlay-editor-style.tsx?1292","webpack://root/./packages/core/src/internal/data-grid-overlay-editor/private/uri-overlay-editor-style.tsx?1393","webpack://root/./packages/core/src/internal/growing-entry/growing-entry-style.tsx?d1c3","webpack://root/./packages/core/src/internal/markdown-div/private/markdown-container.tsx?d89f","webpack://root/./packages/core/src/stories/story-utils.tsx?2b3b","webpack://root/./packages/core/src/internal/data-grid-overlay-editor/private/bubbles-overlay-editor-style.tsx?7407","webpack://root/./packages/core/src/internal/data-grid-overlay-editor/private/drilldown-overlay-editor.tsx?1f3e","webpack://root/./packages/core/src/internal/data-grid-overlay-editor/private/image-overlay-editor-style.tsx?1397","webpack://root/./packages/core/src/internal/data-grid-overlay-editor/private/markdown-overlay-editor-style.tsx?7418","webpack://root/./packages/core/src/internal/data-grid-overlay-editor/private/uri-overlay-editor-style.tsx?a195","webpack://root/./packages/core/src/internal/growing-entry/growing-entry-style.tsx?5d90","webpack://root/./packages/core/src/internal/markdown-div/private/markdown-container.tsx?2249","webpack://root/./packages/core/src/stories/story-utils.tsx?252e"],"sourcesContent":["import { getSquareWidth, getSquareXPosFromAlign, getSquareBB, pointIsWithinBB } from \"../common/utils.js\";\nimport { toggleBoolean } from \"../data-editor/data-editor-fns.js\";\nimport {\n GridCellKind,\n type BooleanCell,\n booleanCellIsEditable,\n BooleanEmpty,\n BooleanIndeterminate,\n} from \"../internal/data-grid/data-grid-types.js\";\nimport { drawCheckbox } from \"../internal/data-grid/render/draw-checkbox.js\";\nimport type { BaseDrawArgs, InternalCellRenderer } from \"./cell-types.js\";\n\nconst defaultCellMaxSize = 20;\n\nexport const booleanCellRenderer: InternalCellRenderer = {\n getAccessibilityString: c => c.data?.toString() ?? \"false\",\n kind: GridCellKind.Boolean,\n needsHover: true,\n useLabel: false,\n needsHoverPosition: true,\n measure: () => 50,\n draw: a => drawBoolean(a, a.cell.data, booleanCellIsEditable(a.cell), a.cell.maxSize ?? defaultCellMaxSize),\n onDelete: c => ({\n ...c,\n data: false,\n }),\n onClick: e => {\n const { cell, posX: pointerX, posY: pointerY, bounds, theme } = e;\n const { width, height, x: cellX, y: cellY } = bounds;\n const maxWidth = cell.maxSize ?? defaultCellMaxSize;\n const cellCenterY = Math.floor(bounds.y + height / 2);\n const checkBoxWidth = getSquareWidth(maxWidth, height, theme.cellVerticalPadding);\n const posX = getSquareXPosFromAlign(\n cell.contentAlign ?? \"center\",\n cellX,\n width,\n theme.cellHorizontalPadding,\n checkBoxWidth\n );\n const bb = getSquareBB(posX, cellCenterY, checkBoxWidth);\n const checkBoxClicked = pointIsWithinBB(cellX + pointerX, cellY + pointerY, bb);\n\n if (booleanCellIsEditable(cell) && checkBoxClicked) {\n return {\n ...cell,\n data: toggleBoolean(cell.data),\n };\n }\n return undefined;\n },\n onPaste: (toPaste, cell) => {\n let newVal: boolean | BooleanEmpty | BooleanIndeterminate = BooleanEmpty;\n if (toPaste.toLowerCase() === \"true\") {\n newVal = true;\n } else if (toPaste.toLowerCase() === \"false\") {\n newVal = false;\n } else if (toPaste.toLowerCase() === \"indeterminate\") {\n newVal = BooleanIndeterminate;\n }\n return newVal === cell.data\n ? undefined\n : {\n ...cell,\n data: newVal,\n };\n },\n};\n\nfunction drawBoolean(\n args: BaseDrawArgs,\n data: boolean | BooleanEmpty | BooleanIndeterminate,\n canEdit: boolean,\n maxSize?: number\n) {\n if (!canEdit && data === BooleanEmpty) {\n return;\n }\n const {\n ctx,\n hoverAmount,\n theme,\n rect,\n highlighted,\n hoverX,\n hoverY,\n cell: { contentAlign },\n } = args;\n const { x, y, width: w, height: h } = rect;\n\n const hoverEffect = 0.35;\n\n let alpha = canEdit ? 1 - hoverEffect + hoverEffect * hoverAmount : 0.4;\n if (data === BooleanEmpty) {\n alpha *= hoverAmount;\n }\n if (alpha === 0) {\n return;\n }\n ctx.globalAlpha = alpha;\n\n drawCheckbox(ctx, theme, data, x, y, w, h, highlighted, hoverX, hoverY, maxSize, contentAlign);\n\n ctx.globalAlpha = 1;\n}\n","import { styled } from \"@linaria/react\";\n\nconst BUBBLE_HEIGHT = 20;\n\nexport const BubblesOverlayEditorStyle = styled.div`\n display: flex;\n flex-wrap: wrap;\n margin-top: auto;\n margin-bottom: auto;\n\n .boe-bubble {\n display: flex;\n justify-content: center;\n align-items: center;\n\n border-radius: var(--gdg-rounding-radius, ${BUBBLE_HEIGHT / 2}px);\n\n padding: 0 8px;\n height: ${BUBBLE_HEIGHT}px;\n background-color: var(--gdg-bg-bubble);\n color: var(--gdg-text-dark);\n margin: 2px;\n }\n\n textarea {\n position: absolute;\n top: 0px;\n left: 0px;\n width: 0px;\n height: 0px;\n\n opacity: 0;\n }\n`;\n","import * as React from \"react\";\nimport { BubblesOverlayEditorStyle } from \"./bubbles-overlay-editor-style.js\";\n\ninterface Props {\n readonly bubbles: readonly string[];\n}\n\nconst BubblesOverlayEditor: React.FunctionComponent = p => {\n const { bubbles } = p;\n return (\n \n {bubbles.map((b, i) => (\n
\n {b}\n
\n ))}\n