From 26fc5db8a5d743161f6982839235b5f17fb85779 Mon Sep 17 00:00:00 2001 From: jassmith Date: Mon, 29 Jan 2024 16:54:35 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=206ec86?= =?UTF-8?q?d1e1a10ff64665c4f7cb0f7e6f4dc286d71=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/4981.a26b4965.iframe.bundle.js.map | 1 - ...ndle.js => 4981.e14ef621.iframe.bundle.js} | 95 +++++++------- docs/4981.e14ef621.iframe.bundle.js.map | 1 + ...ndle.js => 7413.51cc96a9.iframe.bundle.js} | 39 +++--- docs/7413.51cc96a9.iframe.bundle.js.map | 1 + docs/7413.e9f36022.iframe.bundle.js.map | 1 - docs/7671.808875c8.iframe.bundle.js.map | 1 - ...ndle.js => 7671.d6d0c568.iframe.bundle.js} | 62 ++++----- docs/7671.d6d0c568.iframe.bundle.js.map | 1 + docs/iframe.html | 2 +- ...-markers-stories.00d5e9c9.iframe.bundle.js | 120 ++++++++++++++++++ ...ers-stories.00d5e9c9.iframe.bundle.js.map} | 2 +- ...-markers-stories.63b3f7ed.iframe.bundle.js | 116 ----------------- docs/project.json | 2 +- ...=> runtime~main.584cbc17.iframe.bundle.js} | 4 +- ...untime~main.584cbc17.iframe.bundle.js.map} | 2 +- 16 files changed, 226 insertions(+), 224 deletions(-) delete mode 100644 docs/4981.a26b4965.iframe.bundle.js.map rename docs/{4981.a26b4965.iframe.bundle.js => 4981.e14ef621.iframe.bundle.js} (99%) create mode 100644 docs/4981.e14ef621.iframe.bundle.js.map rename docs/{7413.e9f36022.iframe.bundle.js => 7413.51cc96a9.iframe.bundle.js} (98%) create mode 100644 docs/7413.51cc96a9.iframe.bundle.js.map delete mode 100644 docs/7413.e9f36022.iframe.bundle.js.map delete mode 100644 docs/7671.808875c8.iframe.bundle.js.map rename docs/{7671.808875c8.iframe.bundle.js => 7671.d6d0c568.iframe.bundle.js} (99%) create mode 100644 docs/7671.d6d0c568.iframe.bundle.js.map create mode 100644 docs/packages-core-src-docs-examples-row-markers-stories.00d5e9c9.iframe.bundle.js rename docs/{packages-core-src-docs-examples-row-markers-stories.63b3f7ed.iframe.bundle.js.map => packages-core-src-docs-examples-row-markers-stories.00d5e9c9.iframe.bundle.js.map} (74%) delete mode 100644 docs/packages-core-src-docs-examples-row-markers-stories.63b3f7ed.iframe.bundle.js rename docs/{runtime~main.4107ad25.iframe.bundle.js => runtime~main.584cbc17.iframe.bundle.js} (98%) rename docs/{runtime~main.4107ad25.iframe.bundle.js.map => runtime~main.584cbc17.iframe.bundle.js.map} (98%) diff --git a/docs/4981.a26b4965.iframe.bundle.js.map b/docs/4981.a26b4965.iframe.bundle.js.map deleted file mode 100644 index 5cb72db38..000000000 --- a/docs/4981.a26b4965.iframe.bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"4981.a26b4965.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;IACp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MAAA,IAAAg+E,iBAAA;MAClC,MAAMlhE,KAAK,GAAG,OAAO2wD,kBAAkB,KAAK,QAAQ,GAAG,CAACA,kBAAkB,EAAE,IAAI,CAAC,GAAGA,kBAAkB;MACtG,CAAAuQ,iBAAA,GAAAJ,QAAQ,CAAC95E,OAAO,cAAAk6E,iBAAA,eAAhBA,iBAAA,CAAkB3nC,iBAAiB,CAACv5B,KAAK,CAAC,CAAC,CAAC,EAAEA,KAAK,CAAC,CAAC,CAAC,CAAC;;EAE/D,CAAC,EAAE,CAAC2wD,kBAAkB,CAAC,CAAC;EAExB,MAAMwQ,cAAc,GAAGvgF,iBAAiB,CACpCy0B,CAAC,IAAG;IACA,IAAIA,CAAC,CAAC/wB,GAAG,KAAK,OAAO,IAAI+wB,CAAC,CAAC0H,QAAQ,IAAI82C,UAAU,KAAK,IAAI,EAAE;MACxD;;IAEJ95C,SAAS,aAATA,SAAS,eAATA,SAAS,CAAG1E,CAAC,CAAC;EAClB,CAAC,EACD,CAACw+C,UAAU,EAAE95C,SAAS,CAAC,CAC1B;EAED,OACIn5B,mBAAA,CAAC+/E,iBAAiB;IAACtxC,SAAS,EAAC;EAAmB,GAC5CzuC,mBAAA,CAAC8/E,SAAS;IAACrxC,SAAS,EAAEA;EAAS,GAAG0xC,OAAO,GAAG,IAAI,CAAa,EAC7DngF,mBAAA,CAAC6/E,QAAQ;IAAA,GACDx5B,IAAI;IACR5X,SAAS,EAAE,CAACA,SAAS,aAATA,SAAS,cAATA,SAAS,GAAI,EAAE,IAAI,YAAY;IAC3CrjC,EAAE,EAAEg1E,OAAO;IACX/yE,GAAG,EAAE6yE,QAAQ;IACb/mD,SAAS,EAAEonD,cAAc;IACzB71E,KAAK,EAAEy1E,OAAO;IACdF,WAAW,EAAEA,WAAW;IACxB5oB,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","headerCellCheckboxPrefix","GridColumnMenuIcon","headerCellCheckedMarker","headerCellUnheckedMarker","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","isCheckboxHeader","menuBounds","title","shouldDrawMenu","hasMenu","dirScalar","headerSize","overlayIcon","fadeStart","fadeEnd","fadeStartPercent","fadeEndPercent","textAlign","menuIcon","Triangle","triangleX","triangleY","Dots","dotsX","dotsY","iconX","iconY","startsWith","passCol","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","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","headerCellIndeterminateMarker","gridSelectionHasItem","DataGridOverlayEditor","idCounter","getSpanStops","_c$span$","_c$span","_c$span$2","_c$span2","shiftSelection","input","offset","emptyGridSelection","DataEditorImpl","_visibleRegion$height","_visibleRegion$width","_gridSelection$curren5","_gridSelectionOuter$c","_gridSelectionOuter$c2","gridSelectionInner","setGridSelectionInner","setOverlay","mouseState","setMouseState","lastSent","rowMarkers","rowMarkerWidth","rowMarkerWidthRaw","imageEditorOverride","markdownDivCreateNode","columnsIn","onCellClicked","onCellActivated","onFillPattern","onFinishedEditing","coercePasteValue","drawHeaderIn","drawCellIn","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","rowMarkerStartIndex","rowMarkerTheme","onSearchCloseIn","onSelectionCleared","showSearchIn","gridSelectionOuter","onGridSelectionChange","minColumnWidthIn","maxColumnWidthIn","maxColumnAutoWidth","maxColumnAutoWidthIn","provideEditor","allowedFillDirections","scrollOffsetX","scrollOffsetY","onColumnResizeIn","onColumnResizeEndIn","onColumnResizeStartIn","customRenderers","additionalRenderers","trapFocus","isOutsideClick","renderers","docStyle","fontSize","getComputedStyle","parseFloat","hasRowMarkers","showTrailingBlankRow","lastRowSticky","showSearchInner","setShowSearchInner","gridSelectionOuterMangled","getCellsForSeletionDirect","newValue","prevValue","expectedExternalGridSelection","wg","_drawHeaderIn","_drawCellIn","sel","mergedTheme","setClientSize","rendererMap","isMatch","numSelectedRows","rowMarkerHeader","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","startIndex","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","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","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.a26b4965.iframe.bundle.js b/docs/4981.e14ef621.iframe.bundle.js similarity index 99% rename from docs/4981.a26b4965.iframe.bundle.js rename to docs/4981.e14ef621.iframe.bundle.js index 0acdaf041..2dc21f590 100644 --- a/docs/4981.a26b4965.iframe.bundle.js +++ b/docs/4981.e14ef621.iframe.bundle.js @@ -1373,10 +1373,11 @@ function drawCheckbox(ctx, theme, checked, x, y, width, height, highlighted) { let hoverY = arguments.length > 9 && arguments[9] !== undefined ? arguments[9] : -20; let maxSize = arguments.length > 10 && arguments[10] !== undefined ? arguments[10] : 32; let alignment = arguments.length > 11 && arguments[11] !== undefined ? arguments[11] : "center"; + let style = arguments.length > 12 && arguments[12] !== undefined ? arguments[12] : "square"; const centerY = Math.floor(y + height / 2); - const rectBordRadius = (_theme$roundingRadius = theme.roundingRadius) !== null && _theme$roundingRadius !== void 0 ? _theme$roundingRadius : 4; - const checkBoxWidth = (0,utils/* getSquareWidth */.Qo)(maxSize, height, theme.cellVerticalPadding); - const checkBoxHalfWidth = checkBoxWidth / 2; + const rectBordRadius = style === "circle" ? 10000 : (_theme$roundingRadius = theme.roundingRadius) !== null && _theme$roundingRadius !== void 0 ? _theme$roundingRadius : 4; + let checkBoxWidth = (0,utils/* getSquareWidth */.Qo)(maxSize, height, theme.cellVerticalPadding); + let checkBoxHalfWidth = checkBoxWidth / 2; const posX = (0,utils/* getSquareXPosFromAlign */.XC)(alignment, x, width, theme.cellHorizontalPadding, checkBoxWidth); const bb = (0,utils/* getSquareBB */.kq)(posX, centerY, checkBoxWidth); const hovered = (0,utils/* pointIsWithinBB */.qq)(x + hoverX, y + hoverY, bb); @@ -1385,6 +1386,10 @@ function drawCheckbox(ctx, theme, checked, x, y, width, height, highlighted) { { ctx.beginPath(); (0,data_grid_lib/* roundedRect */.NK)(ctx, posX - checkBoxWidth / 2, centerY - checkBoxWidth / 2, checkBoxWidth, checkBoxWidth, rectBordRadius); + if (style === "circle") { + checkBoxHalfWidth *= 0.8; + checkBoxWidth *= 0.8; + } ctx.fillStyle = highlighted ? theme.accentColor : theme.textMedium; ctx.fill(); ctx.beginPath(); @@ -1414,6 +1419,10 @@ function drawCheckbox(ctx, theme, checked, x, y, width, height, highlighted) { (0,data_grid_lib/* roundedRect */.NK)(ctx, posX - checkBoxWidth / 2, centerY - checkBoxWidth / 2, checkBoxWidth, checkBoxWidth, rectBordRadius); ctx.fillStyle = hovered ? theme.textMedium : theme.textLight; ctx.fill(); + if (style === "circle") { + checkBoxHalfWidth *= 0.8; + checkBoxWidth *= 0.8; + } ctx.beginPath(); ctx.moveTo(posX - checkBoxWidth / 3, centerY); ctx.lineTo(posX + checkBoxWidth / 3, centerY); @@ -1615,15 +1624,13 @@ function getActionBoundsForGroup(box, actions) { } return result; } -function drawHeaderInner(ctx, x, y, width, height, c, selected, theme, isHovered, hoverAmount, spriteManager, touchMode, isRtl, isCheckboxHeader, menuBounds) { - if (isCheckboxHeader) { - let checked = undefined; - if (c.title === data_grid_types/* headerCellCheckedMarker */.qT) checked = true; - if (c.title === data_grid_types/* headerCellUnheckedMarker */.YK) checked = false; +function drawHeaderInner(ctx, x, y, width, height, c, selected, theme, isHovered, hoverAmount, spriteManager, touchMode, isRtl, menuBounds) { + if (c.rowMarker !== undefined) { + const checked = c.rowMarkerChecked; if (checked !== true) { ctx.globalAlpha = hoverAmount; } - drawCheckbox(ctx, theme, checked, x, y, width, height, false, undefined, undefined, 18); + drawCheckbox(ctx, theme, checked, x, y, width, height, false, undefined, undefined, 18, "center", c.rowMarker); if (checked !== true) { ctx.globalAlpha = 1; } @@ -1701,17 +1708,9 @@ function drawHeaderInner(ctx, x, y, width, height, c, selected, theme, isHovered } } function drawHeader(ctx, x, y, width, height, c, selected, theme, isHovered, hasSelectedCell, hoverAmount, spriteManager, drawHeaderCallback, touchMode) { - const isCheckboxHeader = c.title.startsWith(data_grid_types/* headerCellCheckboxPrefix */.Gf); const isRtl = (0,utils/* direction */.o7)(c.title) === "rtl"; const menuBounds = getHeaderMenuBounds(x, y, width, height, isRtl); if (drawHeaderCallback !== undefined) { - let passCol = c; - if (isCheckboxHeader) { - passCol = { - ...c, - title: "" - }; - } drawHeaderCallback({ ctx, theme, @@ -1721,17 +1720,17 @@ function drawHeader(ctx, x, y, width, height, c, selected, theme, isHovered, has width, height }, - column: passCol, - columnIndex: passCol.sourceIndex, + column: c, + columnIndex: c.sourceIndex, isSelected: selected, hoverAmount, isHovered, hasSelectedCell, spriteManager, menuBounds - }, () => drawHeaderInner(ctx, x, y, width, height, c, selected, theme, isHovered, hoverAmount, spriteManager, touchMode, isRtl, isCheckboxHeader, menuBounds)); + }, () => drawHeaderInner(ctx, x, y, width, height, c, selected, theme, isHovered, hoverAmount, spriteManager, touchMode, isRtl, menuBounds)); } else { - drawHeaderInner(ctx, x, y, width, height, c, selected, theme, isHovered, hoverAmount, spriteManager, touchMode, isRtl, isCheckboxHeader, menuBounds); + drawHeaderInner(ctx, x, y, width, height, c, selected, theme, isHovered, hoverAmount, spriteManager, touchMode, isRtl, menuBounds); } } // EXTERNAL MODULE: ./node_modules/lodash/groupBy.js @@ -6256,7 +6255,7 @@ const emptyGridSelection = { current: undefined }; const DataEditorImpl = (p, forwardedRef) => { - var _visibleRegion$height, _visibleRegion$width, _gridSelection$curren5, _gridSelectionOuter$c, _gridSelectionOuter$c2; + var _ref, _rowMarkersObj$kind, _rowMarkersObj$width, _ref2, _rowMarkersObj$startI, _rowMarkersObj$theme, _rowMarkersObj$checkb, _visibleRegion$height, _visibleRegion$width, _gridSelection$curren5, _gridSelectionOuter$c, _gridSelectionOuter$c2; const [gridSelectionInner, setGridSelectionInner] = react.useState(emptyGridSelection); const [overlay, setOverlay] = react.useState(); const searchInputRef = react.useRef(null); @@ -6266,8 +6265,6 @@ const DataEditorImpl = (p, forwardedRef) => { const lastSent = react.useRef(); const safeWindow = typeof window === "undefined" ? null : window; const { - rowMarkers = "none", - rowMarkerWidth: rowMarkerWidthRaw, imageEditorOverride, getRowThemeOverride, markdownDivCreateNode, @@ -6320,8 +6317,6 @@ const DataEditorImpl = (p, forwardedRef) => { freezeColumns = 0, cellActivationBehavior = "second-click", rowSelectionMode = "auto", - rowMarkerStartIndex = 1, - rowMarkerTheme, onHeaderMenuClick, getGroupDetails, onSearchClose: onSearchCloseIn, @@ -6374,6 +6369,12 @@ const DataEditorImpl = (p, forwardedRef) => { isOutsideClick, renderers } = p; + const rowMarkersObj = typeof p.rowMarkers === "string" ? undefined : p.rowMarkers; + const rowMarkers = (_ref = (_rowMarkersObj$kind = rowMarkersObj === null || rowMarkersObj === void 0 ? void 0 : rowMarkersObj.kind) !== null && _rowMarkersObj$kind !== void 0 ? _rowMarkersObj$kind : p.rowMarkers) !== null && _ref !== void 0 ? _ref : "none"; + const rowMarkerWidthRaw = (_rowMarkersObj$width = rowMarkersObj === null || rowMarkersObj === void 0 ? void 0 : rowMarkersObj.width) !== null && _rowMarkersObj$width !== void 0 ? _rowMarkersObj$width : p.rowMarkerWidth; + const rowMarkerStartIndex = (_ref2 = (_rowMarkersObj$startI = rowMarkersObj === null || rowMarkersObj === void 0 ? void 0 : rowMarkersObj.startIndex) !== null && _rowMarkersObj$startI !== void 0 ? _rowMarkersObj$startI : p.rowMarkerStartIndex) !== null && _ref2 !== void 0 ? _ref2 : 1; + const rowMarkerTheme = (_rowMarkersObj$theme = rowMarkersObj === null || rowMarkersObj === void 0 ? void 0 : rowMarkersObj.theme) !== null && _rowMarkersObj$theme !== void 0 ? _rowMarkersObj$theme : p.rowMarkerTheme; + const rowMarkerCheckboxStyle = (_rowMarkersObj$checkb = rowMarkersObj === null || rowMarkersObj === void 0 ? void 0 : rowMarkersObj.checkboxStyle) !== null && _rowMarkersObj$checkb !== void 0 ? _rowMarkersObj$checkb : "square"; const minColumnWidth = Math.max(minColumnWidthIn, 20); const maxColumnWidth = Math.max(maxColumnWidthIn, minColumnWidth); const maxColumnAutoWidth = Math.max(maxColumnAutoWidthIn !== null && maxColumnAutoWidthIn !== void 0 ? maxColumnAutoWidthIn : maxColumnWidth, minColumnWidth); @@ -6503,18 +6504,20 @@ const DataEditorImpl = (p, forwardedRef) => { }, [columns]); const totalHeaderHeight = enableGroups ? headerHeight + groupHeaderHeight : headerHeight; const numSelectedRows = gridSelection.rows.length; - const rowMarkerHeader = rowMarkers === "none" ? "" : numSelectedRows === 0 ? data_grid_types/* headerCellUnheckedMarker */.YK : numSelectedRows === rows ? data_grid_types/* headerCellCheckedMarker */.qT : data_grid_types/* headerCellIndeterminateMarker */.iJ; + const rowMarkerChecked = rowMarkers === "none" ? undefined : numSelectedRows === 0 ? false : numSelectedRows === rows ? true : undefined; const mangledCols = react.useMemo(() => { if (rowMarkers === "none") return columns; return [{ - title: rowMarkerHeader, + title: "", width: rowMarkerWidth, icon: undefined, hasMenu: false, style: "normal", - themeOverride: rowMarkerTheme + themeOverride: rowMarkerTheme, + rowMarker: rowMarkerCheckboxStyle, + rowMarkerChecked }, ...columns]; - }, [columns, rowMarkerWidth, rowMarkers, rowMarkerHeader, rowMarkerTheme]); + }, [rowMarkers, columns, rowMarkerWidth, rowMarkerTheme, rowMarkerCheckboxStyle, rowMarkerChecked]); const [visibleRegionY, visibleRegionTy] = react.useMemo(() => { return [scrollOffsetY !== undefined && typeof rowHeight === "number" ? Math.floor(scrollOffsetY / rowHeight) : 0, scrollOffsetY !== undefined && typeof rowHeight === "number" ? -(scrollOffsetY % rowHeight) : 0]; }, [scrollOffsetY, rowHeight]); @@ -6624,8 +6627,8 @@ const DataEditorImpl = (p, forwardedRef) => { }, [fillHighlightRegion, highlightRange, highlightRegionsIn, mangledCols.length, mergedTheme.accentColor, rowMarkerOffset]); const mangledColsRef = react.useRef(mangledCols); mangledColsRef.current = mangledCols; - const getMangledCellContent = react.useCallback(function (_ref) { - let [col, row] = _ref; + const getMangledCellContent = react.useCallback(function (_ref3) { + let [col, row] = _ref3; let forceStrict = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; const isTrailing = showTrailingBlankRow && row === mangledRows - 1; const isRowMarkerCol = col === 0 && hasRowMarkers; @@ -6636,6 +6639,7 @@ const DataEditorImpl = (p, forwardedRef) => { return { kind: data_grid_types/* InnerGridCellKind.Marker */.$o.Marker, allowOverlay: false, + checkboxStyle: rowMarkerCheckboxStyle, checked: (gridSelection === null || gridSelection === void 0 ? void 0 : gridSelection.rows.hasIndex(row)) === true, markerKind: rowMarkers === "clickable-number" ? "number" : rowMarkers, row: rowMarkerStartIndex + row, @@ -6689,7 +6693,7 @@ const DataEditorImpl = (p, forwardedRef) => { } return result; } - }, [showTrailingBlankRow, mangledRows, hasRowMarkers, gridSelection === null || gridSelection === void 0 ? void 0 : gridSelection.rows, onRowMoved, rowMarkers, rowMarkerOffset, trailingRowOptions === null || trailingRowOptions === void 0 ? void 0 : trailingRowOptions.hint, trailingRowOptions === null || trailingRowOptions === void 0 ? void 0 : trailingRowOptions.addIcon, experimental === null || experimental === void 0 ? void 0 : experimental.strict, getCellContent, rowMarkerStartIndex]); + }, [showTrailingBlankRow, mangledRows, hasRowMarkers, rowMarkerCheckboxStyle, gridSelection === null || gridSelection === void 0 ? void 0 : gridSelection.rows, rowMarkers, rowMarkerStartIndex, onRowMoved, rowMarkerOffset, trailingRowOptions === null || trailingRowOptions === void 0 ? void 0 : trailingRowOptions.hint, trailingRowOptions === null || trailingRowOptions === void 0 ? void 0 : trailingRowOptions.addIcon, experimental === null || experimental === void 0 ? void 0 : experimental.strict, getCellContent]); const mangledGetGroupDetails = react.useCallback(group => { var _getGroupDetails; let result = (_getGroupDetails = getGroupDetails === null || getGroupDetails === void 0 ? void 0 : getGroupDetails(group)) !== null && _getGroupDetails !== void 0 ? _getGroupDetails : { @@ -8244,9 +8248,9 @@ const DataEditorImpl = (p, forwardedRef) => { const editList = []; do { if (onPaste === undefined) { - var _ref2, _text, _data; + var _ref4, _text, _data; const cellData = getMangledCellContent(target); - const rawValue = (_ref2 = (_text = text) !== null && _text !== void 0 ? _text : (_data = data) === null || _data === void 0 ? void 0 : _data.map(r => r.map(cb => cb.rawValue).join("\t")).join("\t")) !== null && _ref2 !== void 0 ? _ref2 : ""; + const rawValue = (_ref4 = (_text = text) !== null && _text !== void 0 ? _text : (_data = data) === null || _data === void 0 ? void 0 : _data.map(r => r.map(cb => cb.rawValue).join("\t")).join("\t")) !== null && _ref4 !== void 0 ? _ref4 : ""; const newVal = pasteToCell(cellData, target, rawValue, undefined); if (newVal !== undefined) { editList.push(newVal); @@ -9491,7 +9495,7 @@ const markerCellRenderer = { needsHoverPosition: false, drawPrep: prepMarkerRowCell, measure: () => 44, - draw: a => drawMarkerRowCell(a, a.cell.row, a.cell.checked, a.cell.markerKind, a.cell.drawHandle), + draw: a => drawMarkerRowCell(a, a.cell.row, a.cell.checked, a.cell.markerKind, a.cell.drawHandle, a.cell.checkboxStyle), onClick: e => { const { bounds, @@ -9536,7 +9540,7 @@ function deprepMarkerRowCell(args) { } = args; ctx.textAlign = "start"; } -function drawMarkerRowCell(args, index, checked, markerKind, drawHandle) { +function drawMarkerRowCell(args, index, checked, markerKind, drawHandle, style) { const { ctx, rect, @@ -9553,7 +9557,7 @@ function drawMarkerRowCell(args, index, checked, markerKind, drawHandle) { if (markerKind !== "number" && checkedboxAlpha > 0) { ctx.globalAlpha = checkedboxAlpha; const offsetAmount = 7 * (checked ? hoverAmount : 1); - drawCheckbox(ctx, theme, checked, drawHandle ? x + offsetAmount : x, y, drawHandle ? width - offsetAmount : width, height, true, undefined, undefined, 18); + drawCheckbox(ctx, theme, checked, drawHandle ? x + offsetAmount : x, y, drawHandle ? width - offsetAmount : width, height, true, undefined, undefined, 18, "center", style); if (drawHandle) { ctx.globalAlpha = hoverAmount; ctx.beginPath(); @@ -10650,19 +10654,15 @@ function getLuminance(color) { /* harmony export */ "$o": () => (/* binding */ InnerGridCellKind), /* harmony export */ "DP": () => (/* binding */ isObjectEditorCallbackResult), /* harmony export */ "EV": () => (/* binding */ CompactSelection), -/* harmony export */ "Gf": () => (/* binding */ headerCellCheckboxPrefix), /* harmony export */ "PE": () => (/* binding */ GridColumnIcon), /* harmony export */ "Qo": () => (/* binding */ isReadWriteCell), /* harmony export */ "Sq": () => (/* binding */ isSizedGridColumn), /* harmony export */ "T9": () => (/* binding */ isEditableGridCell), -/* harmony export */ "YK": () => (/* binding */ headerCellUnheckedMarker), /* harmony export */ "f": () => (/* binding */ isTextEditableGridCell), -/* harmony export */ "iJ": () => (/* binding */ headerCellIndeterminateMarker), /* harmony export */ "kf": () => (/* binding */ booleanCellIsEditable), /* harmony export */ "p6": () => (/* binding */ GridCellKind), /* harmony export */ "pN": () => (/* binding */ GridColumnMenuIcon), /* harmony export */ "qF": () => (/* binding */ BooleanEmpty), -/* harmony export */ "qT": () => (/* binding */ headerCellCheckedMarker), /* harmony export */ "rL": () => (/* binding */ resolveCellsThunk), /* harmony export */ "rs": () => (/* binding */ isInnerOnlyCell), /* harmony export */ "sd": () => (/* binding */ BooleanIndeterminate) @@ -10728,10 +10728,6 @@ var GridColumnMenuIcon; GridColumnMenuIcon["Triangle"] = "triangle"; GridColumnMenuIcon["Dots"] = "dots"; })(GridColumnMenuIcon || (GridColumnMenuIcon = {})); -const headerCellCheckboxPrefix = "___gdg_header_cell_"; -const headerCellCheckedMarker = headerCellCheckboxPrefix + "checked"; -const headerCellUnheckedMarker = headerCellCheckboxPrefix + "unchecked"; -const headerCellIndeterminateMarker = headerCellCheckboxPrefix + "indeterminate"; function isSizedGridColumn(c) { return "width" in c && typeof c.width === "number"; } @@ -10961,7 +10957,10 @@ function useMappedColumns(columns, freezeColumns) { themeOverride: c.themeOverride, title: c.title, trailingRowOptions: c.trailingRowOptions, - width: c.width + width: c.width, + growOffset: c.growOffset, + rowMarker: c.rowMarker, + rowMarkerChecked: c.rowMarkerChecked })), [columns, freezeColumns]); } function gridSelectionHasItem(sel, item) { @@ -11601,4 +11600,4 @@ const GrowingEntry = props => { /***/ }) }]); -//# sourceMappingURL=4981.a26b4965.iframe.bundle.js.map \ No newline at end of file +//# sourceMappingURL=4981.e14ef621.iframe.bundle.js.map \ No newline at end of file diff --git a/docs/4981.e14ef621.iframe.bundle.js.map b/docs/4981.e14ef621.iframe.bundle.js.map new file mode 100644 index 000000000..54fe0f7ca --- /dev/null +++ b/docs/4981.e14ef621.iframe.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"4981.e14ef621.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,KAAK,CAACqB,gBAAgB;IAClD,wBAAwB,EAAErB,KAAK,CAACsB,cAAc;IAC9C,oBAAoB,EAAEtB,KAAK,CAACuB,WAAW;IACvC,+BAA+B,GAAArB,qBAAA,GAAEF,KAAK,CAACwB,qBAAqB,cAAAtB,q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AAG3E,CAAC,CAAC;EAClB,CAAC,EACD,CAAC++C,UAAU,EAAEp6C,SAAS,CAAC,CAC1B;EAED,OACIh5B,mBAAA,CAACkgF,iBAAiB;IAAC5xC,SAAS,EAAC;EAAmB,GAC5CtuC,mBAAA,CAACigF,SAAS;IAAC3xC,SAAS,EAAEA;EAAS,GAAGgyC,OAAO,GAAG,IAAI,CAAa,EAC7DtgF,mBAAA,CAACggF,QAAQ;IAAA,GACD95B,IAAI;IACR5X,SAAS,EAAE,CAACA,SAAS,aAATA,SAAS,cAATA,SAAS,GAAI,EAAE,IAAI,YAAY;IAC3CljC,EAAE,EAAEm1E,OAAO;IACXlzE,GAAG,EAAEgzE,QAAQ;IACbrnD,SAAS,EAAE0nD,cAAc;IACzBh2E,KAAK,EAAE41E,OAAO;IACdF,WAAW,EAAEA,WAAW;IACxB3oB,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","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","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","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.e9f36022.iframe.bundle.js b/docs/7413.51cc96a9.iframe.bundle.js similarity index 98% rename from docs/7413.e9f36022.iframe.bundle.js rename to docs/7413.51cc96a9.iframe.bundle.js index 2c00c77f0..469f92c1c 100644 --- a/docs/7413.e9f36022.iframe.bundle.js +++ b/docs/7413.51cc96a9.iframe.bundle.js @@ -1095,7 +1095,7 @@ const emptyGridSelection = { current: undefined }; const DataEditorImpl = (p, forwardedRef) => { - var _visibleRegion$height, _visibleRegion$width, _gridSelection$curren5, _gridSelectionOuter$c, _gridSelectionOuter$c2; + var _ref, _rowMarkersObj$kind, _rowMarkersObj$width, _ref2, _rowMarkersObj$startI, _rowMarkersObj$theme, _rowMarkersObj$checkb, _visibleRegion$height, _visibleRegion$width, _gridSelection$curren5, _gridSelectionOuter$c, _gridSelectionOuter$c2; const [gridSelectionInner, setGridSelectionInner] = react.useState(emptyGridSelection); const [overlay, setOverlay] = react.useState(); const searchInputRef = react.useRef(null); @@ -1105,8 +1105,6 @@ const DataEditorImpl = (p, forwardedRef) => { const lastSent = react.useRef(); const safeWindow = typeof window === "undefined" ? null : window; const { - rowMarkers = "none", - rowMarkerWidth: rowMarkerWidthRaw, imageEditorOverride, getRowThemeOverride, markdownDivCreateNode, @@ -1159,8 +1157,6 @@ const DataEditorImpl = (p, forwardedRef) => { freezeColumns = 0, cellActivationBehavior = "second-click", rowSelectionMode = "auto", - rowMarkerStartIndex = 1, - rowMarkerTheme, onHeaderMenuClick, getGroupDetails, onSearchClose: onSearchCloseIn, @@ -1213,6 +1209,12 @@ const DataEditorImpl = (p, forwardedRef) => { isOutsideClick, renderers } = p; + const rowMarkersObj = typeof p.rowMarkers === "string" ? undefined : p.rowMarkers; + const rowMarkers = (_ref = (_rowMarkersObj$kind = rowMarkersObj === null || rowMarkersObj === void 0 ? void 0 : rowMarkersObj.kind) !== null && _rowMarkersObj$kind !== void 0 ? _rowMarkersObj$kind : p.rowMarkers) !== null && _ref !== void 0 ? _ref : "none"; + const rowMarkerWidthRaw = (_rowMarkersObj$width = rowMarkersObj === null || rowMarkersObj === void 0 ? void 0 : rowMarkersObj.width) !== null && _rowMarkersObj$width !== void 0 ? _rowMarkersObj$width : p.rowMarkerWidth; + const rowMarkerStartIndex = (_ref2 = (_rowMarkersObj$startI = rowMarkersObj === null || rowMarkersObj === void 0 ? void 0 : rowMarkersObj.startIndex) !== null && _rowMarkersObj$startI !== void 0 ? _rowMarkersObj$startI : p.rowMarkerStartIndex) !== null && _ref2 !== void 0 ? _ref2 : 1; + const rowMarkerTheme = (_rowMarkersObj$theme = rowMarkersObj === null || rowMarkersObj === void 0 ? void 0 : rowMarkersObj.theme) !== null && _rowMarkersObj$theme !== void 0 ? _rowMarkersObj$theme : p.rowMarkerTheme; + const rowMarkerCheckboxStyle = (_rowMarkersObj$checkb = rowMarkersObj === null || rowMarkersObj === void 0 ? void 0 : rowMarkersObj.checkboxStyle) !== null && _rowMarkersObj$checkb !== void 0 ? _rowMarkersObj$checkb : "square"; const minColumnWidth = Math.max(minColumnWidthIn, 20); const maxColumnWidth = Math.max(maxColumnWidthIn, minColumnWidth); const maxColumnAutoWidth = Math.max(maxColumnAutoWidthIn !== null && maxColumnAutoWidthIn !== void 0 ? maxColumnAutoWidthIn : maxColumnWidth, minColumnWidth); @@ -1342,18 +1344,20 @@ const DataEditorImpl = (p, forwardedRef) => { }, [columns]); const totalHeaderHeight = enableGroups ? headerHeight + groupHeaderHeight : headerHeight; const numSelectedRows = gridSelection.rows.length; - const rowMarkerHeader = rowMarkers === "none" ? "" : numSelectedRows === 0 ? data_grid_types/* headerCellUnheckedMarker */.YK : numSelectedRows === rows ? data_grid_types/* headerCellCheckedMarker */.qT : data_grid_types/* headerCellIndeterminateMarker */.iJ; + const rowMarkerChecked = rowMarkers === "none" ? undefined : numSelectedRows === 0 ? false : numSelectedRows === rows ? true : undefined; const mangledCols = react.useMemo(() => { if (rowMarkers === "none") return columns; return [{ - title: rowMarkerHeader, + title: "", width: rowMarkerWidth, icon: undefined, hasMenu: false, style: "normal", - themeOverride: rowMarkerTheme + themeOverride: rowMarkerTheme, + rowMarker: rowMarkerCheckboxStyle, + rowMarkerChecked }, ...columns]; - }, [columns, rowMarkerWidth, rowMarkers, rowMarkerHeader, rowMarkerTheme]); + }, [rowMarkers, columns, rowMarkerWidth, rowMarkerTheme, rowMarkerCheckboxStyle, rowMarkerChecked]); const [visibleRegionY, visibleRegionTy] = react.useMemo(() => { return [scrollOffsetY !== undefined && typeof rowHeight === "number" ? Math.floor(scrollOffsetY / rowHeight) : 0, scrollOffsetY !== undefined && typeof rowHeight === "number" ? -(scrollOffsetY % rowHeight) : 0]; }, [scrollOffsetY, rowHeight]); @@ -1463,8 +1467,8 @@ const DataEditorImpl = (p, forwardedRef) => { }, [fillHighlightRegion, highlightRange, highlightRegionsIn, mangledCols.length, mergedTheme.accentColor, rowMarkerOffset]); const mangledColsRef = react.useRef(mangledCols); mangledColsRef.current = mangledCols; - const getMangledCellContent = react.useCallback(function (_ref) { - let [col, row] = _ref; + const getMangledCellContent = react.useCallback(function (_ref3) { + let [col, row] = _ref3; let forceStrict = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; const isTrailing = showTrailingBlankRow && row === mangledRows - 1; const isRowMarkerCol = col === 0 && hasRowMarkers; @@ -1475,6 +1479,7 @@ const DataEditorImpl = (p, forwardedRef) => { return { kind: data_grid_types/* InnerGridCellKind.Marker */.$o.Marker, allowOverlay: false, + checkboxStyle: rowMarkerCheckboxStyle, checked: (gridSelection === null || gridSelection === void 0 ? void 0 : gridSelection.rows.hasIndex(row)) === true, markerKind: rowMarkers === "clickable-number" ? "number" : rowMarkers, row: rowMarkerStartIndex + row, @@ -1528,7 +1533,7 @@ const DataEditorImpl = (p, forwardedRef) => { } return result; } - }, [showTrailingBlankRow, mangledRows, hasRowMarkers, gridSelection === null || gridSelection === void 0 ? void 0 : gridSelection.rows, onRowMoved, rowMarkers, rowMarkerOffset, trailingRowOptions === null || trailingRowOptions === void 0 ? void 0 : trailingRowOptions.hint, trailingRowOptions === null || trailingRowOptions === void 0 ? void 0 : trailingRowOptions.addIcon, experimental === null || experimental === void 0 ? void 0 : experimental.strict, getCellContent, rowMarkerStartIndex]); + }, [showTrailingBlankRow, mangledRows, hasRowMarkers, rowMarkerCheckboxStyle, gridSelection === null || gridSelection === void 0 ? void 0 : gridSelection.rows, rowMarkers, rowMarkerStartIndex, onRowMoved, rowMarkerOffset, trailingRowOptions === null || trailingRowOptions === void 0 ? void 0 : trailingRowOptions.hint, trailingRowOptions === null || trailingRowOptions === void 0 ? void 0 : trailingRowOptions.addIcon, experimental === null || experimental === void 0 ? void 0 : experimental.strict, getCellContent]); const mangledGetGroupDetails = react.useCallback(group => { var _getGroupDetails; let result = (_getGroupDetails = getGroupDetails === null || getGroupDetails === void 0 ? void 0 : getGroupDetails(group)) !== null && _getGroupDetails !== void 0 ? _getGroupDetails : { @@ -3003,9 +3008,9 @@ const DataEditorImpl = (p, forwardedRef) => { const r = getCellRenderer(inner); if (r === undefined) return undefined; if (r.kind === data_grid_types/* GridCellKind.Custom */.p6.Custom) { - var _onPaste, _ref2; + var _onPaste, _ref4; (0,support/* assert */.hu)(inner.kind === data_grid_types/* GridCellKind.Custom */.p6.Custom); - const newVal = (_onPaste = (_ref2 = r).onPaste) === null || _onPaste === void 0 ? void 0 : _onPaste.call(_ref2, stringifiedRawValue, inner.data); + const newVal = (_onPaste = (_ref4 = r).onPaste) === null || _onPaste === void 0 ? void 0 : _onPaste.call(_ref4, stringifiedRawValue, inner.data); if (newVal === undefined) return undefined; return { location: target, @@ -3083,9 +3088,9 @@ const DataEditorImpl = (p, forwardedRef) => { const editList = []; do { if (onPaste === undefined) { - var _ref3, _text, _data; + var _ref5, _text, _data; const cellData = getMangledCellContent(target); - const rawValue = (_ref3 = (_text = text) !== null && _text !== void 0 ? _text : (_data = data) === null || _data === void 0 ? void 0 : _data.map(r => r.map(cb => cb.rawValue).join("\t")).join("\t")) !== null && _ref3 !== void 0 ? _ref3 : ""; + const rawValue = (_ref5 = (_text = text) !== null && _text !== void 0 ? _text : (_data = data) === null || _data === void 0 ? void 0 : _data.map(r => r.map(cb => cb.rawValue).join("\t")).join("\t")) !== null && _ref5 !== void 0 ? _ref5 : ""; const newVal = pasteToCell(cellData, target, rawValue, undefined); if (newVal !== undefined) { editList.push(newVal); @@ -4293,4 +4298,4 @@ var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js /***/ }) }]); -//# sourceMappingURL=7413.e9f36022.iframe.bundle.js.map \ No newline at end of file +//# sourceMappingURL=7413.51cc96a9.iframe.bundle.js.map \ No newline at end of file diff --git a/docs/7413.51cc96a9.iframe.bundle.js.map b/docs/7413.51cc96a9.iframe.bundle.js.map new file mode 100644 index 000000000..25f3d10aa --- /dev/null +++ b/docs/7413.51cc96a9.iframe.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"7413.51cc96a9.iframe.bundle.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,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\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 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3J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biAgICAgIHRhcmdldEhlaWdodDogYm91bmRzLmhlaWdodCxcbiAgICAgIFwiZGF0YS10ZXN0aWRcIjogXCJncm91cC1yZW5hbWUtaW5wdXRcIixcbiAgICAgIHZhbHVlOiB2YWx1ZSxcbiAgICAgIG9uQmx1cjogb25DbG9zZSxcbiAgICAgIG9uRm9jdXM6IGUgPT4gZS50YXJnZXQuc2V0U2VsZWN0aW9uUmFuZ2UoMCwgdmFsdWUubGVuZ3RoKSxcbiAgICAgIG9uQ2hhbmdlOiBlID0+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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvZGF0YS1lZGl0b3IvZ3JvdXAtcmVuYW1lLnRzeCJdLCJuYW1lcyI6WyIucjFmemh2bTQiLCIuYzE4MW9nZ2kiXSwibWFwcGluZ3MiOiJBQUtvQkE7QUE2QkxDIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvZGF0YS1lZGl0b3IvZ3JvdXAtcmVuYW1lLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbmltcG9ydCB7IHN0eWxlZCB9IGZyb20gXCJAbGluYXJpYS9yZWFjdFwiO1xuaW1wb3J0IHsgY3NzIH0gZnJvbSBcIkBsaW5hcmlhL2NvcmVcIjtcbmltcG9ydCBDbGlja091dHNpZGVDb250YWluZXIgZnJvbSBcIi4uL2ludGVybmFsL2NsaWNrLW91dHNpZGUtY29udGFpbmVyL2NsaWNrLW91dHNpZGUtY29udGFpbmVyLmpzXCI7XG5pbXBvcnQgeyBqc3ggYXMgX2pzeCB9IGZyb20gXCJyZWFjdC9qc3gtcnVudGltZVwiO1xuY29uc3QgUmVuYW1lSW5wdXQgPSBzdHlsZWQ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zTmFtZTogY3NzYFxuICAgICAgICAgICAgICAgIHBhZGRpbmc6IDAgOHB4O1xuICAgICAgICAgICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICAgICAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1nZGctYmctaGVhZGVyKTtcbiAgICAgICAgICAgIGAsXG4gICAgb25DbGlja091dHNpZGU6IG9uQ2xvc2UsXG4gICAgY2hpbGRyZW46IF9qc3goUmVuYW1lSW5wdXQsIHtcbiAgICAgIHRhcmdldEhlaWdodDogYm91bmRzLmhlaWdodCxcbiAgICAgIFwiZGF0YS10ZXN0aWRcIjogXCJncm91cC1yZW5hbWUtaW5wdXRcIixcbiAgICAgIHZhbHVlOiB2YWx1ZSxcbiAgICAgIG9uQmx1cjogb25DbG9zZSxcbiAgICAgIG9uRm9jdXM6IGUgPT4gZS50YXJnZXQuc2V0U2VsZWN0aW9uUmFuZ2UoMCwgdmFsdWUubGVuZ3RoKSxcbiAgICAgIG9uQ2hhbmdlOiBlID0+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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9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pcmVjdGlvbjogbHRyO1xuXG4gICAgPiA6Zmlyc3QtY2hpbGQge1xuICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgIGxlZnQ6IDA7XG4gICAgICAgIHRvcDogMDtcbiAgICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICAgIGhlaWdodDogMTAwJTtcbiAgICB9XG5gO1xuZXhwb3J0IGNvbnN0IERhdGFFZGl0b3JDb250YWluZXIgPSBwID0+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,eyJ2ZXJzaW9uIjozLCJ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J3YXJkcztcblxuICAgIC5nZGctc2VhcmNoLWJhci1pbm5lciB7XG4gICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgfVxuXG4gICAgLmdkZy1zZWFyY2gtc3RhdHVzIHtcbiAgICAgICAgcGFkZGluZy10b3A6IDRweDtcbiAgICAgICAgZm9udC1zaXplOiAxMXB4O1xuICAgIH1cblxuICAgIC5nZGctc2VhcmNoLXByb2dyZXNzIHtcbiAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgICBoZWlnaHQ6IDRweDtcbiAgICAgICAgbGVmdDogMDtcbiAgICAgICAgYm90dG9tOiAwO1xuXG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigtLWdkZy10ZXh0LWxpZ2h0KTtcbiAgICB9XG5cbiAgICBpbnB1dCB7XG4gICAgICAgIHdpZHRoOiAyMjBweDtcbiAgICAgICAgY29sb3I6IHZhcigtLWdkZy10ZXh0RGFyayk7XG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigtLWdkZy1iZy1jZWxsKTtcbiAgICAgICAgYm9yZGVyOiBub25lO1xuICAgICAgICBib3JkZXItd2lkdGg6IDA7XG4gICAgICAgIG91dGxpbmU6IG5vbmU7XG4gICAgfVxuXG4gICAgYnV0dG9uIHtcbiAgICAgICAgd2lkdGg6IDI0cHg7XG4gICAgICAgIGhlaWdodDogMjRweDtcbiAgICAgICAgcGFkZGluZzogMDtcblxuICAgICAgICBib3JkZXI6IG5vbmU7XG4gICAgICAgIG91dGxpbmU6IG5vbmU7XG4gICAgICAgIGJhY2tncm91bmQ6IG5vbmU7XG5cbiAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIGN1cnNvcjogcG9pbnRlcjtcbiAgICAgICAgY29sb3I6IHZhcigtLWdkZy10ZXh0LW1lZGl1bSk7XG5cbiAgICAgICAgOmhvdmVyIHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoLS1nZGctdGV4dC1kYXJrKTtcbiAgICAgICAgfVxuXG4gICAgICAgIC5idXR0b24taWNvbiB7XG4gICAgICAgICAgICB3aWR0aDogMTZweDtcbiAgICAgICAgICAgIGhlaWdodDogMTZweDtcbiAgICAgICAgfVxuXG4gICAgICAgIDpkaXNhYmxlZCB7XG4gICAgICAgICAgICBvcGFjaXR5OiAwLjQ7XG4gICAgICAgICAgICBwb2ludGVyLWV2ZW50czogbm9uZTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIEBrZXlmcmFtZXMgZ2RnLXNlYXJjaC1mYWRlb3V0IHtcbiAgICAgICAgZnJvbSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMCk7XG4gICAgICAgIH1cbiAgICAgICAgdG8ge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDQwMHB4KTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIEBrZXlmcmFtZXMgZ2RnLXNlYXJjaC1mYWRlaW4ge1xuICAgICAgICBmcm9tIHtcbiAgICAgICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCg0MDBweCk7XG4gICAgICAgIH1cbiAgICAgICAgdG8ge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDApO1xuICAgICAgICB9XG4gICAgfVxuYDsiXX0=*/\", \"\",{\"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,CA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AAAA,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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvaW50ZXJuYWwvZGF0YS1ncmlkLXNlYXJjaC9kYXRhLWdyaWQtc2VhcmNoLXN0eWxlLnRzeCJdLCJuYW1lcyI6WyIuc2x5c2VoOSJdLCJtYXBwaW5ncyI6IkFBQzZCQSIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay9nbGlkZS1kYXRhLWdyaWQvZ2xpZGUtZGF0YS1ncmlkL3BhY2thZ2VzL2NvcmUvc3JjL2ludGVybmFsL2RhdGEtZ3JpZC1zZWFyY2gvZGF0YS1ncmlkLXNlYXJjaC1zdHlsZS50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBzdHlsZWQgfSBmcm9tIFwiQGxpbmFyaWEvcmVhY3RcIjtcbmV4cG9ydCBjb25zdCBTZWFyY2hXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgdG9wOiA0cHg7XG4gICAgcmlnaHQ6IDIwcHg7XG5cbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1nZGctYmctY2VsbCk7XG4gICAgY29sb3I6IHZhcigtLWdkZy10ZXh0LWRhcmspO1xuXG4gICAgcGFkZGluZzogOHB4O1xuICAgIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLWdkZy1ib3JkZXItY29sb3IpO1xuICAgIGJvcmRlci1yYWRpdXM6IDZweDtcblxuICAgIGZvbnQtc2l6ZTogdmFyKC0tZ2RnLWVkaXRvci1mb250LXNpemUpO1xuXG4gICAgJi5vdXQge1xuICAgICAgICBhbmltYXRpb246IGdkZy1zZWFyY2gtZmFkZW91dCAwLjE1cyBmb3J3YXJkcztcbiAgICB9XG4gICAgYW5pbWF0aW9uOiBnZGctc2VhcmNoLWZhZGVpbiAwLjE1cyBmb3J3YXJkcztcblxuICAgIC5nZGctc2VhcmNoLWJhci1pbm5lciB7XG4gICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgfVxuXG4gICAgLmdkZy1zZWFyY2gtc3RhdHVzIHtcbiAgICAgICAgcGFkZGluZy10b3A6IDRweDtcbiAgICAgICAgZm9udC1zaXplOiAxMXB4O1xuICAgIH1cblxuICAgIC5nZGctc2VhcmNoLXByb2dyZXNzIHtcbiAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgICBoZWlnaHQ6IDRweDtcbiAgICAgICAgbGVmdDogMDtcbiAgICAgICAgYm90dG9tOiAwO1xuXG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigtLWdkZy10ZXh0LWxpZ2h0KTtcbiAgICB9XG5cbiAgICBpbnB1dCB7XG4gICAgICAgIHdpZHRoOiAyMjBweDtcbiAgICAgICAgY29sb3I6IHZhcigtLWdkZy10ZXh0RGFyayk7XG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigtLWdkZy1iZy1jZWxsKTtcbiAgICAgICAgYm9yZGVyOiBub25lO1xuICAgICAgICBib3JkZXItd2lkdGg6IDA7XG4gICAgICAgIG91dGxpbmU6IG5vbmU7XG4gICAgfVxuXG4gICAgYnV0dG9uIHtcbiAgICAgICAgd2lkdGg6IDI0cHg7XG4gICAgICAgIGhlaWdodDogMjRweDtcbiAgICAgICAgcGFkZGluZzogMDtcblxuICAgICAgICBib3JkZXI6IG5vbmU7XG4gICAgICAgIG91dGxpbmU6IG5vbmU7XG4gICAgICAgIGJhY2tncm91bmQ6IG5vbmU7XG5cbiAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIGN1cnNvcjogcG9pbnRlcjtcbiAgICAgICAgY29sb3I6IHZhcigtLWdkZy10ZXh0LW1lZGl1bSk7XG5cbiAgICAgICAgOmhvdmVyIHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoLS1nZGctdGV4dC1kYXJrKTtcbiAgICAgICAgfVxuXG4gICAgICAgIC5idXR0b24taWNvbiB7XG4gICAgICAgICAgICB3aWR0aDogMTZweDtcbiAgICAgICAgICAgIGhlaWdodDogMTZweDtcbiAgICAgICAgfVxuXG4gICAgICAgIDpkaXNhYmxlZCB7XG4gICAgICAgICAgICBvcGFjaXR5OiAwLjQ7XG4gICAgICAgICAgICBwb2ludGVyLWV2ZW50czogbm9uZTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIEBrZXlmcmFtZXMgZ2RnLXNlYXJjaC1mYWRlb3V0IHtcbiAgICAgICAgZnJvbSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMCk7XG4gICAgICAgIH1cbiAgICAgICAgdG8ge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDQwMHB4KTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIEBrZXlmcmFtZXMgZ2RnLXNlYXJjaC1mYWRlaW4ge1xuICAgICAgICBmcm9tIHtcbiAgICAgICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCg0MDBweCk7XG4gICAgICAgIH1cbiAgICAgICAgdG8ge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDApO1xuICAgICAgICB9XG4gICAgfVxuYDsiXX0=*/\"],\"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","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","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.e9f36022.iframe.bundle.js.map b/docs/7413.e9f36022.iframe.bundle.js.map deleted file mode 100644 index dee3cc091..000000000 --- a/docs/7413.e9f36022.iframe.bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"7413.e9f36022.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,mBAA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AA4hG;AACpvc;AACA,iEAAe,uBAAuB,EAAC;;;;;;;;;;;;;;;;;;;;;;;;;;ACNvC,MAAwG;AACxG,MAA8F;AAC9F,MAAqG;AACrG,MAAwH;AACxH,MAAiH;AACjH,MAAiH;AACjH,MAAuO;AACvO;AACA;;AAEA;;AAEA,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 headerCellUnheckedMarker,\n headerCellCheckedMarker,\n headerCellIndeterminateMarker,\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\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?: \"checkbox\" | \"number\" | \"clickable-number\" | \"checkbox-visible\" | \"both\" | \"none\";\n /**\n * Sets the width of row markers in pixels, if unset row markers will automatically size.\n * @group Style\n */\n readonly rowMarkerWidth?: number;\n /** Changes the starting index for row markers.\n * @defaultValue 1\n * @group Style\n */\n readonly rowMarkerStartIndex?: number;\n\n /** Changes the theme of the row marker column\n * @group Style\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\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 rowMarkers = \"none\",\n rowMarkerWidth: rowMarkerWidthRaw,\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 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 rowMarkerStartIndex = 1,\n rowMarkerTheme,\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 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 rowMarkerHeader =\n rowMarkers === \"none\"\n ? \"\"\n : numSelectedRows === 0\n ? headerCellUnheckedMarker\n : numSelectedRows === rows\n ? headerCellCheckedMarker\n : headerCellIndeterminateMarker;\n\n const mangledCols = React.useMemo(() => {\n if (rowMarkers === \"none\") return columns;\n return [\n {\n title: rowMarkerHeader,\n width: rowMarkerWidth,\n icon: undefined,\n hasMenu: false,\n style: \"normal\" as const,\n themeOverride: rowMarkerTheme,\n },\n ...columns,\n ];\n }, [columns, rowMarkerWidth, rowMarkers, rowMarkerHeader, rowMarkerTheme]);\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 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 gridSelection?.rows,\n onRowMoved,\n rowMarkers,\n rowMarkerOffset,\n trailingRowOptions?.hint,\n trailingRowOptions?.addIcon,\n experimental?.strict,\n getCellContent,\n rowMarkerStartIndex,\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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvZGF0YS1lZGl0b3IvZ3JvdXAtcmVuYW1lLnRzeCJdLCJuYW1lcyI6WyIucjFmemh2bTQiLCIuYzE4MW9nZ2kiXSwibWFwcGluZ3MiOiJBQUtvQkE7QUE2QkxDIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvZGF0YS1lZGl0b3IvZ3JvdXAtcmVuYW1lLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbmltcG9ydCB7IHN0eWxlZCB9IGZyb20gXCJAbGluYXJpYS9yZWFjdFwiO1xuaW1wb3J0IHsgY3NzIH0gZnJvbSBcIkBsaW5hcmlhL2NvcmVcIjtcbmltcG9ydCBDbGlja091dHNpZGVDb250YWluZXIgZnJvbSBcIi4uL2ludGVybmFsL2NsaWNrLW91dHNpZGUtY29udGFpbmVyL2NsaWNrLW91dHNpZGUtY29udGFpbmVyLmpzXCI7XG5pbXBvcnQgeyBqc3ggYXMgX2pzeCB9IGZyb20gXCJyZWFjdC9qc3gtcnVudGltZVwiO1xuY29uc3QgUmVuYW1lSW5wdXQgPSBzdHlsZWQuaW5wdXRgXG4gICAgZmxleC1ncm93OiAxO1xuICAgIGJvcmRlcjogbm9u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1xuICAgICAgICAgICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICAgICAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1nZGctYmctaGVhZGVyKTtcbiAgICAgICAgICAgIGAsXG4gICAgb25DbGlja091dHNpZGU6IG9uQ2xvc2UsXG4gICAgY2hpbGRyZW46IF9qc3goUmVuYW1lSW5wdXQsIHtcbiAgICAgIHRhcmdldEhlaWdodDogYm91bmRzLmhlaWdodCxcbiAgICAgIFwiZGF0YS10ZXN0aWRcIjogXCJncm91cC1yZW5hbWUtaW5wdXRcIixcbiAgICAgIHZhbHVlOiB2YWx1ZSxcbiAgICAgIG9uQmx1cjogb25DbG9zZSxcbiAgICAgIG9uRm9jdXM6IGUgPT4gZS50YXJnZXQuc2V0U2VsZWN0aW9uUmFuZ2UoMCwgdmFsdWUubGVuZ3RoKSxcbiAgICAgIG9uQ2hhbmdlOiBlID0+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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvZGF0YS1lZGl0b3IvZ3JvdXAtcmVuYW1lLnRzeCJdLCJuYW1lcyI6WyIucjFmemh2bTQiLCIuYzE4MW9nZ2kiXSwibWFwcGluZ3MiOiJBQUtvQkE7QUE2QkxDIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvZGF0YS1lZGl0b3IvZ3JvdXAtcmVuYW1lLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbmltcG9ydCB7IHN0eWxlZCB9IGZyb20gXCJAbGluYXJpYS9yZWFjdFwiO1xuaW1wb3J0IHsgY3NzIH0gZnJv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ICAgICAgICAgb25DbG9zZSgpO1xuICAgICAgICB9XG4gICAgICB9LFxuICAgICAgYXV0b0ZvY3VzOiB0cnVlXG4gICAgfSlcbiAgfSk7XG59O1xuR3JvdXBSZW5hbWUuZGlzcGxheU5hbWUgPSBcIkdyb3VwUmVuYW1lXCI7Il19*/\"],\"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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvaW50ZXJuYWwvZGF0YS1lZGl0b3ItY29udGFpbmVyL2RhdGEtZ3JpZC1jb250YWluZXIudHN4Il0sIm5hbWVzIjpbIi53MnE1N3RzIl0sIm1hcHBpbmdzIjoiQUFPZ0JBIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvaW50ZXJuYWwvZGF0YS1lZGl0b3ItY29udGFpbmVyL2RhdGEtZ3JpZC1jb250YWluZXIudHN4Iiwic291cmNlc0NvbnRl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0OiB0b0NzcyhpbkhlaWdodCksXG4gICAgaW5uZXJXaWR0aDogdG9Dc3MoaW5XaWR0aCksXG4gICAgLi4ucmVzdCxcbiAgICBjaGlsZHJlbjogY2hpbGRyZW5cbiAgfSk7XG59O1xuRGF0YUVkaXRvckNvbnRhaW5lci5kaXNwbGF5TmFtZSA9IFwiRGF0YUVkaXRvckNvbnRhaW5lclwiOyJdfQ==*/\", \"\",{\"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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvaW50ZXJuYWwvZGF0YS1lZGl0b3ItY29udGFpbmVyL2RhdGEtZ3JpZC1jb250YWluZXIudHN4Il0sIm5hbWVzIjpbIi53MnE1N3RzIl0sIm1hcHBpbmdzIjoiQUFPZ0JBIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvaW50ZXJuYWwvZGF0YS1lZGl0b3ItY29udGFpbmVyL2RhdGEtZ3JpZC1jb250YWluZXIudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgc3R5bGVkIH0gZnJvbSBcIkBsaW5hcmlhL3JlYWN0XCI7XG5pbXBvcnQgKiBhcyBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbmltcG9ydCB7IGpzeCBhcyBfanN4IH0gZnJvbSBcInJlYWN0L2pzeC1ydW50aW1lXCI7XG5mdW5jdGlvbiB0b0Nzcyh4KSB7XG4gIGlmICh0eXBlb2YgeCA9PT0gXCJzdHJpbmdcIikgcmV0dXJuIHg7XG4gIHJldHVybiBgJHt4fXB4YDtcbn1cbmNvbnN0IFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcblxuICAgIG1pbi13aWR0aDogMTBweDtcbiAgICBtaW4taGVpZ2h0OiAxMHB4O1xuICAgIG1heC13aWR0aDogMTAwJTtcbiAgICBtYXgtaGVpZ2h0OiAxMDAlO1xuXG4gICAgd2lkdGg6ICR7cCA9PiBwLmlubmVyV2lkdGh9O1xuICAgIGhlaWdodDogJHtwID0+IHAuaW5uZXJIZWlnaHR9O1xuXG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICBvdmVyZmxvdzogY2xpcDtcblxuICAgIGRpcmVjdGlvbjogbHRyO1xuXG4gICAgPiA6Zmlyc3QtY2hpbGQge1xuICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgIGxlZnQ6IDA7XG4gICAgICAgIHRvcDogMDtcbiAgICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICAgIGhlaWdodDogMTAwJTtcbiAgICB9XG5gO1xuZXhwb3J0IGNvbnN0IERhdGFFZGl0b3JDb250YWluZXIgPSBwID0+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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvaW50ZXJuYWwvZGF0YS1ncmlkLXNlYXJjaC9kYXRhLWdyaWQtc2VhcmNoLXN0eWxlLnRzeCJdLCJuYW1lcyI6WyIuc2x5c2VoOSJdLCJtYXBwaW5ncyI6IkFBQzZCQSIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay9nbGlkZS1kYXRhLWdyaWQvZ2xpZGUtZGF0YS1ncmlkL3BhY2thZ2VzL2NvcmUvc3JjL2ludGVybmFsL2RhdGEtZ3JpZC1zZWFyY2gvZGF0YS1ncmlkLXNlYXJjaC1zdHlsZS50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBzdHlsZWQgfSBmcm9tIFwiQGxpbmFyaWEvcmVhY3RcIjtcbmV4cG9ydCBjb25zdCBTZWFyY2hXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgdG9wOiA0cHg7XG4gICAgcmlnaHQ6IDIwcHg7XG5cbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1nZGctYmctY2VsbCk7XG4gICAgY29sb3I6IHZhcigtLWdkZy10ZXh0LWRhcmspO1xuXG4gICAgcGFkZGluZzogOHB4O1xuICAgIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLWdkZy1ib3JkZXItY29sb3IpO1xuICAgIGJvcmRlci1yYWRpdXM6IDZweDtcblxuICAgIGZvbnQtc2l6ZTogdmFyKC0tZ2RnLWVkaXRvci1mb250LXNpemUpO1xuXG4gICAgJi5vdXQge1xuICAgICAgICBhbmltYXRpb246IGdkZy1zZWFyY2gtZmFkZW91dCAwLjE1cyBmb3J3YXJkcztcbiAgICB9XG4gICAgYW5pbWF0aW9uOiBnZGctc2VhcmNoLWZhZGVpbiAwLjE1cyBmb3J3YXJkcztcblxuICAgIC5nZGctc2VhcmNoLWJhci1pbm5lciB7XG4gICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgfVxuXG4gICAgLmdkZy1zZWFyY2gtc3RhdHVzIHtcbiAgICAgICAgcGFkZGluZy10b3A6IDRweDtcbiAgICAgICAgZm9udC1zaXplOiAxMXB4O1xuICAgIH1cblxuICAgIC5nZGctc2VhcmNoLXByb2dyZXNzIHtcbiAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgICBoZWlnaHQ6IDRweDtcbiAgICAgICAgbGVmdDogMDtcbiAgICAgICAgYm90dG9tOiAwO1xuXG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigtLWdkZy10ZXh0LWxpZ2h0KTtcbiAgICB9XG5cbiAgICBpbnB1dCB7XG4gICAgICAgIHdpZHRoOiAyMjBweDtcbiAgICAgICAgY29sb3I6IHZhcigtLWdkZy10ZXh0RGFyayk7XG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigtLWdkZy1iZy1jZWxsKTtcbiAgICAgICAgYm9yZGVyOiBub25lO1xuICAgICAgICBib3JkZXItd2lkdGg6IDA7XG4gICAgICAgIG91dGxpbmU6IG5vbmU7XG4gICAgfVxuXG4gICAgYnV0dG9uIHtcbiAgICAgICAgd2lkdGg6IDI0cHg7XG4gICAgICAgIGhlaWdodDogMjRweDtcbiAgICAgICAgcGFkZGluZzogMDtcblxuICAgICAgICBib3JkZXI6IG5vbmU7XG4gICAgICAgIG91dGxpbmU6IG5vbmU7XG4gICAgICAgIGJhY2tncm91bmQ6IG5vbmU7XG5cbiAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIGN1cnNvcjogcG9pbnRlcjtcbiAgICAgICAgY29sb3I6IHZhcigtLWdkZy10ZXh0LW1lZGl1bSk7XG5cbiAgICAgICAgOmhvdmVyIHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoLS1nZGctdGV4dC1kYXJrKTtcbiAgICAgICAgfVxuXG4gICAgICAgIC5idXR0b24taWNvbiB7XG4gICAgICAgICAgICB3aWR0aDogMTZweDtcbiAgICAgICAgICAgIGhlaWdodDogMTZweDtcbiAgICAgICAgfVxuXG4gICAgICAgIDpkaXNhYmxlZCB7XG4gICAgICAgICAgICBvcGFjaXR5OiAwLjQ7XG4gICAgICAgICAgICBwb2ludGVyLWV2ZW50czogbm9uZTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIEBrZXlmcmFtZXMgZ2RnLXNlYXJjaC1mYWRlb3V0IHtcbiAgICAgICAgZnJvbSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMCk7XG4gICAgICAgIH1cbiAgICAgICAgdG8ge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDQwMHB4KTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIEBrZXlmcmFtZXMgZ2RnLXNlYXJjaC1mYWRlaW4ge1xuICAgICAgICBmcm9tIHtcbiAgICAgICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCg0MDBweCk7XG4gICAgICAgIH1cbiAgICAgICAgdG8ge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDApO1xuICAgICAgICB9XG4gICAgfVxuYDsiXX0=*/\", \"\",{\"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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL2dsaWRlLWRhdGEtZ3JpZC9nbGlkZS1kYXRhLWdyaWQvcGFja2FnZXMvY29yZS9zcmMvaW50ZXJuYWwvZGF0YS1ncmlkLXNlYXJjaC9kYXRhLWdyaWQtc2VhcmNoLXN0eWxlLnRzeCJdLCJuYW1lcyI6WyIuc2x5c2VoOSJdLCJtYXBwaW5ncyI6IkFBQzZCQSIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay9nbGlkZS1kYXRhLWdyaWQvZ2xpZGUtZGF0YS1ncmlkL3BhY2thZ2VzL2NvcmUvc3JjL2ludGVybmFsL2RhdGEtZ3JpZC1zZWFyY2gvZGF0YS1ncmlkLXNlYXJjaC1zdHlsZS50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBzdHlsZWQgfSBmcm9tIFwiQGxpbmFyaWEvcmVhY3RcIjtcbmV4cG9ydCBjb25zdCBTZWFyY2hXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgdG9wOiA0cHg7XG4gICAgcmlnaHQ6IDIwcHg7XG5cbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1nZGctYmctY2VsbCk7XG4gICAgY29sb3I6IHZhcigtLWdkZy10ZXh0LWRhcmspO1xuXG4gICAgcGFkZGluZzogOHB4O1xuICAgIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLWdkZy1ib3JkZXItY29sb3IpO1xuICAgIGJvcmRlci1yYWRpdXM6IDZweDtcblxuICAgIGZvbnQtc2l6ZTogdmFyKC0tZ2RnLWVkaXRvci1mb250LXNpemUpO1xuXG4gICAgJi5vdXQge1xuICAgICAgICBhbmltYXRpb246IGdkZy1zZWFyY2gtZmFkZW91dCAwLjE1cyBmb3J3YXJkcztcbiAgICB9XG4gICAgYW5pbWF0aW9uOiBnZGctc2VhcmNoLWZhZGVpbiAwLjE1cyBmb3J3YXJkcztcblxuICAgIC5nZGctc2VhcmNoLWJhci1pbm5lciB7XG4gICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgfVxuXG4gICAgLmdkZy1zZWFyY2gtc3RhdHVzIHtcbiAgICAgICAgcGFkZGluZy10b3A6IDRweDtcbiAgICAgICAgZm9udC1zaXplOiAxMXB4O1xuICAgIH1cblxuICAgIC5nZGctc2VhcmNoLXByb2dyZXNzIHtcbiAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgICBoZWlnaHQ6IDRweDtcbiAgICAgICAgbGVmdDogMDtcbiAgICAgICAgYm90dG9tOiAwO1xuXG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigtLWdkZy10ZXh0LWxpZ2h0KTtcbiAgICB9XG5cbiAgICBpbnB1dCB7XG4gICAgICAgIHdpZHRoOiAyMjBweDtcbiAgICAgICAgY29sb3I6IHZhcigtLWdkZy10ZXh0RGFyayk7XG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigtLWdkZy1iZy1jZWxsKTtcbiAgICAgICAgYm9yZGVyOiBub25lO1xuICAgICAgICBib3JkZXItd2lkdGg6IDA7XG4gICAgICAgIG91dGxpbmU6IG5vbmU7XG4gICAgfVxuXG4gICAgYnV0dG9uIHtcbiAgICAgICAgd2lkdGg6IDI0cHg7XG4gICAgICAgIGhlaWdodDogMjRweDtcbiAgICAgICAgcGFkZGluZzogMDtcblxuICAgICAgICBib3JkZXI6IG5vbmU7XG4gICAgICAgIG91dGxpbmU6IG5vbmU7XG4gICAgICAgIGJhY2tncm91bmQ6IG5vbmU7XG5cbiAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgIGN1cnNvcjogcG9pbnRlcjtcbiAgICAgICAgY29sb3I6IHZhcigtLWdkZy10ZXh0LW1lZGl1bSk7XG5cbiAgICAgICAgOmhvdmVyIHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoLS1nZGctdGV4dC1kYXJrKTtcbiAgICAgICAgfVxuXG4gICAgICAgIC5idXR0b24taWNvbiB7XG4gICAgICAgICAgICB3aWR0aDogMTZweDtcbiAgICAgICAgICAgIGhlaWdodDogMTZweDtcbiAgICAgICAgfVxuXG4gICAgICAgIDpkaXNhYmxlZCB7XG4gICAgICAgICAgICBvcGFjaXR5OiAwLjQ7XG4gICAgICAgICAgICBwb2ludGVyLWV2ZW50czogbm9uZTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIEBrZXlmcmFtZXMgZ2RnLXNlYXJjaC1mYWRlb3V0IHtcbiAgICAgICAgZnJvbSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMCk7XG4gICAgICAgIH1cbiAgICAgICAgdG8ge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDQwMHB4KTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIEBrZXlmcmFtZXMgZ2RnLXNlYXJjaC1mYWRlaW4ge1xuICAgICAgICBmcm9tIHtcbiAgICAgICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCg0MDBweCk7XG4gICAgICAgIH1cbiAgICAgICAgdG8ge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDApO1xuICAgICAgICB9XG4gICAgfVxuYDsiXX0=*/\"],\"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","headerCellUnheckedMarker","headerCellCheckedMarker","headerCellIndeterminateMarker","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","_visibleRegion$height","_visibleRegion$width","_gridSelection$curren5","_gridSelectionOuter$c","_gridSelectionOuter$c2","gridSelectionInner","setGridSelectionInner","overlay","setOverlay","mouseState","setMouseState","lastSent","safeWindow","rowMarkers","rowMarkerWidth","rowMarkerWidthRaw","imageEditorOverride","markdownDivCreateNode","columnsIn","onCellClicked","onCellActivated","onFillPattern","onFinishedEditing","coercePasteValue","drawHeaderIn","drawCellIn","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","rowMarkerStartIndex","rowMarkerTheme","onSearchCloseIn","onSelectionCleared","showSearchIn","gridSelectionOuter","onGridSelectionChange","minColumnWidthIn","maxColumnWidthIn","maxColumnAutoWidth","maxColumnAutoWidthIn","provideEditor","trailingRowOptions","allowedFillDirections","scrollOffsetX","scrollOffsetY","onColumnResizeIn","onColumnResizeEndIn","onColumnResizeStartIn","customRenderers","additionalRenderers","trapFocus","isOutsideClick","renderers","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","rowMarkerHeader","mangledCols","hasMenu","themeOverride","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","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","startIndex","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","_ref2","_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","_ref3","_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","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","_ref4","_keys$goToLastCell","_ref5","_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.808875c8.iframe.bundle.js.map b/docs/7671.808875c8.iframe.bundle.js.map deleted file mode 100644 index 9d5565772..000000000 --- a/docs/7671.808875c8.iframe.bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"7671.808875c8.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;E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AAoP;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,MAA8G;AAC9G,MAAoG;AACpG,MAA2G;AAC3G,MAA8H;AAC9H,MAAuH;AACvH,MAAuH;AACvH,MAAyP;AACzP;AACA;;AAEA;;AAEA,4BAA4B,qGAAmB;AAC/C,wBAAwB,kHAAa;;AAErC,uBAAuB,uGAAa;AACpC;AACA,iBAAiB,+FAAM;AACvB,6BAA6B,sGAAkB;;AAE/C,aAAa,0GAAG,CAAC,8MAAO;;;;AAImM;AAC3N,OAAO,iEAAe,8MAAO,IAAI,4NAAc,GAAG,4NAAc,YAAY,EAAC;;;;;;;;;;;;;;;;;;;;;;;;;;ACzB7E,MAAwG;AACxG,MAA8F;AAC9F,MAAqG;AACrG,MAAwH;AACxH,MAAiH;AACjH,MAAiH;AACjH,MAAsO;AACtO;AACA;;AAEA;;AAEA,4BAA4B,qGAAmB;AAC/C,wBAAwB,kHAAa;;AAErC,uBAAuB,uGAAa;AACpC;AACA,iBAAiB,+FAAM;AACvB,6BAA6B,sGAAkB;;AAE/C,aAAa,0GAAG,CAAC,uMAAO;;;;AAIgL;AACxM,OAAO,iEAAe,uMAAO,IAAI,qNAAc,GAAG,qNAAc,YAAY,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