@spectrum-web-components/split-view 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["split-view.test.ts"],
4
- "sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport {\n elementUpdated,\n expect,\n fixture,\n html,\n nextFrame,\n} from '@open-wc/testing';\n\nimport '@spectrum-web-components/split-view/sp-split-view.js';\nimport { SplitView } from '@spectrum-web-components/split-view';\nimport {\n arrowDownEvent,\n arrowLeftEvent,\n arrowRightEvent,\n arrowUpEvent,\n endEvent,\n homeEvent,\n pageDownEvent,\n pageUpEvent,\n shiftTabEvent,\n testForLitDevWarnings,\n} from '../../../test/testing-helpers.js';\nimport { spy } from 'sinon';\n\ndescribe('SplitView', () => {\n testForLitDevWarnings(\n async () =>\n await fixture<SplitView>(\n html`\n <sp-split-view primary-size=\"100\">\n <div>First panel</div>\n <div>Second panel</div>\n </sp-split-view>\n `\n )\n );\n it('loads default (horizontal) split-view accessibly', async () => {\n const el = await fixture<SplitView>(\n html`\n <sp-split-view primary-size=\"100\">\n <div>First panel</div>\n <div>Second panel</div>\n </sp-split-view>\n `\n );\n\n await elementUpdated(el);\n await expect(el).to.be.accessible();\n expect(el.splitterPos || 0).to.equal(100);\n expect(el.resizable).to.be.false;\n expect(el.collapsible).to.be.false;\n const gripper = el.shadowRoot.querySelector(\n '#gripper'\n ) as HTMLDivElement;\n expect(gripper).to.be.null;\n const splitter = el.shadowRoot.querySelector(\n '#splitter'\n ) as HTMLDivElement;\n expect(getComputedStyle(splitter).cursor).to.equal('auto');\n });\n\n it('loads horizontal [resizable] split-view accessibly', async () => {\n const el = await fixture<SplitView>(\n html`\n <sp-split-view resizable primary-size=\"100px\">\n <div>First panel</div>\n <div>Second panel</div>\n </sp-split-view>\n `\n );\n\n await elementUpdated(el);\n await expect(el).to.be.accessible();\n expect(el.splitterPos || 0).to.equal(100);\n\n const gripper = el.shadowRoot.querySelector(\n '#gripper'\n ) as HTMLDivElement;\n await expect(gripper).to.be.accessible();\n const splitter = el.shadowRoot.querySelector(\n '#splitter'\n ) as HTMLDivElement;\n expect(getComputedStyle(splitter).cursor).to.equal('ew-resize');\n });\n\n it('loads [vertical] split-view accessibly', async () => {\n const el = await fixture<SplitView>(\n html`\n <sp-split-view\n vertical\n primary-size=\"75%\"\n style=\"height: 400px\"\n >\n <div>First panel</div>\n <div>Second panel</div>\n </sp-split-view>\n `\n );\n\n await elementUpdated(el);\n await expect(el).to.be.accessible();\n expect(el.splitterPos || 0).to.equal(300);\n const splitter = el.shadowRoot.querySelector(\n '#splitter'\n ) as HTMLDivElement;\n expect(getComputedStyle(splitter).cursor).to.equal('auto');\n });\n\n it('loads [vertical] [resizable] split-view accessibly', async () => {\n const el = await fixture<SplitView>(\n html`\n <sp-split-view vertical resizable style=\"height: 400px\">\n <div>First panel</div>\n <div>Second panel</div>\n </sp-split-view>\n `\n );\n\n await elementUpdated(el);\n await expect(el).to.be.accessible();\n expect(el.splitterPos || 0).to.equal(200);\n\n const splitter = el.shadowRoot.querySelector(\n '#splitter'\n ) as HTMLDivElement;\n expect(getComputedStyle(splitter).cursor).to.equal('ns-resize');\n });\n\n it('set all panel values', async () => {\n const splitTotalWidth = 400;\n const el = await fixture<SplitView>(\n html`\n <sp-split-view\n resizable\n primary-min=\"50\"\n primary-max=\"300\"\n secondary-min=\"50\"\n style=${`height: 500px; width: ${splitTotalWidth}px;`}\n >\n <div>First panel</div>\n <div>Second panel</div>\n </sp-split-view>\n `\n );\n await elementUpdated(el);\n expect(el.resizable).to.be.true;\n expect(el.primaryMin).to.equal(50);\n expect(el.primaryMax).to.equal(300);\n expect(el.secondaryMin).to.equal(50);\n expect(el.secondaryMax).to.equal(3840);\n });\n\n it('use auto height in primary pane', async () => {\n const splitTotalWidth = 400;\n const el = await fixture<SplitView>(\n html`\n <sp-split-view\n resizable\n primary-size=\"auto\"\n style=${`height: 500px; width: ${splitTotalWidth}px;`}\n >\n <div>\n First panel Lorem Ipsum is simply dummy text of the\n printing and typesetting industry. Lorem Ipsum has been\n the industry's standard dummy text ever since the 1500s,\n when an unknown printer took a galley of type and\n scrambled it to make a type specimen book. It has\n survived not only five centuries, but also the leap into\n electronic typesetting, remaining essentially unchanged.\n </div>\n <div>Second panel</div>\n </sp-split-view>\n `\n );\n await elementUpdated(el);\n expect(el.resizable).to.be.true;\n expect(el.primarySize).to.equal('auto');\n expect(el.splitterPos || 0).to.equal(398);\n });\n\n it('resizes when pointer moves and resizable is enabled [ltr]', async () => {\n let pointerId = -1;\n const splitTotalWidth = 400;\n const el = await fixture<\n SplitView & {\n splitterPos: number;\n }\n >(\n html`\n <sp-split-view\n resizable\n primary-min=\"50\"\n secondary-min=\"50\"\n style=${`height: 200px; width: ${splitTotalWidth}px;`}\n >\n <div>First panel</div>\n <div>Second panel</div>\n </sp-split-view>\n `\n );\n\n await elementUpdated(el);\n expect(el.resizable).to.be.true;\n const splitter = el.shadowRoot.querySelector(\n '#splitter'\n ) as HTMLDivElement;\n splitter.setPointerCapture = (id: number) => (pointerId = id);\n splitter.releasePointerCapture = (id: number) => (pointerId = id);\n let pos = el.splitterPos;\n expect(el.splitterPos).to.equal(200);\n\n splitter.dispatchEvent(\n new PointerEvent('pointerdown', { pointerId: 1 })\n );\n await elementUpdated(el);\n expect(pointerId).to.equal(1);\n\n pos -= 10;\n splitter.dispatchEvent(\n new PointerEvent('pointermove', {\n clientX: pos,\n })\n );\n await elementUpdated(el);\n await nextFrame();\n expect(Math.round(el.splitterPos)).to.equal(\n pos - el.getBoundingClientRect().left\n );\n\n // don't collapse to start\n splitter.dispatchEvent(\n new PointerEvent('pointermove', {\n clientX: 0,\n })\n );\n await elementUpdated(el);\n await nextFrame();\n expect(el.splitterPos).to.equal(el.primaryMin);\n expect(getComputedStyle(splitter).cursor).to.equal('e-resize');\n\n // don't collapse to end\n splitter.dispatchEvent(\n new PointerEvent('pointermove', {\n clientX: splitTotalWidth,\n })\n );\n await elementUpdated(el);\n expect(el.splitterPos, '350 first time').to.equal(\n splitTotalWidth - el.secondaryMin\n );\n expect(getComputedStyle(splitter).cursor).to.equal('w-resize');\n\n splitter.dispatchEvent(new PointerEvent('pointerup'));\n await elementUpdated(el);\n // don't change anything when triggering mouseevent with right button click\n splitter.dispatchEvent(\n new MouseEvent('pointerdown', { button: 2, cancelable: true })\n );\n await elementUpdated(el);\n splitter.dispatchEvent(\n new PointerEvent('pointermove', {\n clientX: 0,\n })\n );\n expect(el.splitterPos, '350 second time, because right click').to.equal(\n splitTotalWidth - el.secondaryMin\n );\n });\n\n it('resizes when pointer moves and resizable is enabled [rtl]', async () => {\n let pointerId = -1;\n const splitTotalWidth = 400;\n const el = await fixture<SplitView>(\n html`\n <sp-split-view\n resizable\n primary-min=\"50\"\n secondary-min=\"40\"\n style=${`height: 200px; width: ${splitTotalWidth}px;`}\n dir=\"rtl\"\n >\n <div>First panel</div>\n <div>Second panel</div>\n </sp-split-view>\n `\n );\n\n await elementUpdated(el);\n expect(el.resizable).to.be.true;\n const splitter = el.shadowRoot.querySelector(\n '#splitter'\n ) as HTMLDivElement;\n splitter.setPointerCapture = (id: number) => (pointerId = id);\n splitter.releasePointerCapture = (id: number) => (pointerId = id);\n\n let pos = el.splitterPos || 0;\n splitter.dispatchEvent(\n new PointerEvent('pointerdown', { pointerId: 1 })\n );\n await elementUpdated(el);\n expect(pointerId).to.equal(1);\n\n pos = el.getBoundingClientRect().right - 100;\n splitter.dispatchEvent(\n new PointerEvent('pointermove', {\n clientX: pos,\n })\n );\n await elementUpdated(el);\n await nextFrame();\n expect(Math.round(el.splitterPos || 0)).to.equal(\n el.getBoundingClientRect().right - pos\n );\n\n splitter.dispatchEvent(\n new PointerEvent('pointermove', {\n clientX: 0,\n })\n );\n await elementUpdated(el);\n await nextFrame();\n expect(el.splitterPos || 0).to.equal(splitTotalWidth - el.secondaryMin);\n expect(getComputedStyle(splitter).cursor).to.equal('e-resize');\n\n splitter.dispatchEvent(\n new PointerEvent('pointermove', {\n clientX: el.getBoundingClientRect().right,\n })\n );\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(el.primaryMin);\n expect(getComputedStyle(splitter).cursor).to.equal('w-resize');\n });\n\n it('resizes to start pos when pointer moves in horizontal splitview', async () => {\n let pointerId = -1;\n const el = await fixture<SplitView>(\n html`\n <sp-split-view\n resizable\n secondary-min=\"50\"\n style=\"height: 200px; width: 400px;\"\n >\n <div>First panel</div>\n <div>Second panel</div>\n </sp-split-view>\n `\n );\n\n await elementUpdated(el);\n const splitter = el.shadowRoot.querySelector(\n '#splitter'\n ) as HTMLDivElement;\n splitter.setPointerCapture = (id: number) => (pointerId = id);\n splitter.releasePointerCapture = (id: number) => (pointerId = id);\n splitter.dispatchEvent(\n new PointerEvent('pointerdown', { pointerId: 1 })\n );\n await elementUpdated(el);\n expect(pointerId).to.equal(1);\n\n splitter.dispatchEvent(\n new PointerEvent('pointermove', {\n clientX: -10,\n })\n );\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(0);\n\n splitter.dispatchEvent(new PointerEvent('pointerup'));\n await elementUpdated(el);\n expect(splitter.classList.contains('is-collapsed-start')).to.be.true;\n expect(getComputedStyle(splitter).cursor).to.equal('e-resize');\n });\n\n it('resizes to end pos when pointer moves in horizontal splitview', async () => {\n let pointerId = -1;\n const splitTotalWidth = 400;\n const el = await fixture<SplitView>(\n html`\n <sp-split-view\n resizable\n primary-min=\"50\"\n style=${`height: 200px; width: ${splitTotalWidth}px;`}\n >\n <div>First panel</div>\n <div>Second panel</div>\n </sp-split-view>\n `\n );\n\n await elementUpdated(el);\n const splitter = el.shadowRoot.querySelector(\n '#splitter'\n ) as HTMLDivElement;\n splitter.setPointerCapture = (id: number) => (pointerId = id);\n splitter.releasePointerCapture = (id: number) => (pointerId = id);\n expect(el.primaryMin).to.equal(50);\n expect(el.resizable).to.be.true;\n\n splitter.dispatchEvent(\n new PointerEvent('pointerdown', { pointerId: 1 })\n );\n await elementUpdated(el);\n expect(pointerId).to.equal(1);\n\n splitter.dispatchEvent(\n new PointerEvent('pointermove', {\n clientX: splitTotalWidth + 10,\n })\n );\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(splitTotalWidth - el.splitterSize);\n\n splitter.dispatchEvent(new PointerEvent('pointerup'));\n await elementUpdated(el);\n expect(splitter.classList.contains('is-collapsed-end')).to.be.true;\n expect(getComputedStyle(splitter).cursor).to.equal('w-resize');\n });\n\n it('resizes to start pos when pointer moves in [vertical] splitview', async () => {\n let pointerId = -1;\n const el = await fixture<SplitView>(\n html`\n <sp-split-view\n vertical\n resizable\n primary-min=\"0\"\n secondary-min=\"50\"\n style=\"height: 400px; width: 200px;\"\n >\n <div>First panel</div>\n <div>Second panel</div>\n </sp-split-view>\n `\n );\n\n await elementUpdated(el);\n const splitter = el.shadowRoot.querySelector(\n '#splitter'\n ) as HTMLDivElement;\n splitter.setPointerCapture = (id: number) => (pointerId = id);\n splitter.releasePointerCapture = (id: number) => (pointerId = id);\n splitter.dispatchEvent(\n new PointerEvent('pointerdown', { pointerId: 1 })\n );\n await elementUpdated(el);\n expect(pointerId).to.equal(1);\n\n splitter.dispatchEvent(\n new PointerEvent('pointermove', {\n clientY: 0,\n })\n );\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(0);\n\n splitter.dispatchEvent(new PointerEvent('pointerup'));\n await elementUpdated(el);\n expect(splitter.classList.contains('is-collapsed-start')).to.be.true;\n expect(getComputedStyle(splitter).cursor).to.equal('s-resize');\n });\n\n it('resizes to end pos when pointer moves in [vertical] splitview', async () => {\n let pointerId = -1;\n const splitTotalHeight = 400;\n const el = await fixture<SplitView>(\n html`\n <sp-split-view\n vertical\n resizable\n primary-min=\"50\"\n style=${`height: ${splitTotalHeight}px; width: 200px;`}\n >\n <div>First panel</div>\n <div>Second panel</div>\n </sp-split-view>\n `\n );\n\n await elementUpdated(el);\n const splitter = el.shadowRoot.querySelector(\n '#splitter'\n ) as HTMLDivElement;\n splitter.setPointerCapture = (id: number) => (pointerId = id);\n splitter.releasePointerCapture = (id: number) => (pointerId = id);\n expect(el.primaryMin).to.equal(50);\n expect(el.resizable).to.be.true;\n\n splitter.dispatchEvent(\n new PointerEvent('pointerdown', { pointerId: 1 })\n );\n await elementUpdated(el);\n expect(pointerId).to.equal(1);\n\n splitter.dispatchEvent(\n new PointerEvent('pointermove', {\n clientY: splitTotalHeight + 10,\n })\n );\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(\n splitTotalHeight - el.splitterSize\n );\n\n splitter.dispatchEvent(new PointerEvent('pointerup'));\n await elementUpdated(el);\n expect(splitter.classList.contains('is-collapsed-end')).to.be.true;\n expect(getComputedStyle(splitter).cursor).to.equal('n-resize');\n });\n\n it('resizes and collapses when pointer moves in horizontal splitview', async () => {\n let pointerId = -1;\n const el = await fixture<SplitView>(\n html`\n <sp-split-view\n resizable\n collapsible\n primary-min=\"50\"\n secondary-min=\"50\"\n style=\"height: 200px; width: 400px;\"\n >\n <div>First panel</div>\n <div>Second panel</div>\n </sp-split-view>\n `\n );\n\n await elementUpdated(el);\n expect(el.collapsible).to.be.true;\n const splitter = el.shadowRoot.querySelector(\n '#splitter'\n ) as HTMLDivElement;\n splitter.setPointerCapture = (id: number) => (pointerId = id);\n splitter.releasePointerCapture = (id: number) => (pointerId = id);\n splitter.dispatchEvent(\n new PointerEvent('pointerdown', { pointerId: 1 })\n );\n await elementUpdated(el);\n expect(pointerId).to.equal(1);\n\n splitter.dispatchEvent(\n new PointerEvent('pointermove', {\n clientX: 40,\n })\n );\n await elementUpdated(el);\n await nextFrame();\n expect(el.splitterPos || 0).to.equal(50);\n expect(splitter.classList.contains('is-collapsed-start')).to.be.false;\n expect(getComputedStyle(splitter).cursor).to.equal('ew-resize');\n\n splitter.dispatchEvent(\n new PointerEvent('pointermove', {\n clientX: -10,\n })\n );\n await elementUpdated(el);\n await nextFrame();\n expect(el.splitterPos || 0).to.equal(0);\n\n expect(splitter.classList.contains('is-collapsed-start')).to.be.true;\n expect(getComputedStyle(splitter).cursor).to.equal('e-resize');\n\n splitter.dispatchEvent(\n new PointerEvent('pointermove', {\n clientX: el.getBoundingClientRect().right - 10,\n })\n );\n await elementUpdated(el);\n await nextFrame();\n expect(el.splitterPos || 0).to.equal(350);\n expect(splitter.classList.contains('is-collapsed-end')).to.be.false;\n expect(getComputedStyle(splitter).cursor).to.equal('ew-resize');\n\n splitter.dispatchEvent(\n new PointerEvent('pointermove', {\n clientX: el.getBoundingClientRect().right,\n })\n );\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(400 - el.splitterSize);\n\n splitter.dispatchEvent(new PointerEvent('pointerup'));\n await elementUpdated(el);\n expect(splitter.classList.contains('is-collapsed-end')).to.be.true;\n expect(getComputedStyle(splitter).cursor).to.equal('w-resize');\n });\n\n it('resizes and collapses when pointer moves in [vertical] splitview', async () => {\n let pointerId = -1;\n const splitTotalHeight = 400;\n const el = await fixture<SplitView>(\n html`\n <sp-split-view\n vertical\n resizable\n collapsible\n primary-min=\"50\"\n secondary-min=\"50\"\n style=${`height: ${splitTotalHeight}px; width: 200px;`}\n >\n <div>First panel</div>\n <div>Second panel</div>\n </sp-split-view>\n `\n );\n\n await elementUpdated(el);\n const splitter = el.shadowRoot.querySelector(\n '#splitter'\n ) as HTMLDivElement;\n splitter.setPointerCapture = (id: number) => (pointerId = id);\n splitter.releasePointerCapture = (id: number) => (pointerId = id);\n splitter.dispatchEvent(\n new PointerEvent('pointerdown', { pointerId: 1 })\n );\n await elementUpdated(el);\n expect(pointerId).to.equal(1);\n\n splitter.dispatchEvent(\n new PointerEvent('pointermove', {\n clientY: 40,\n })\n );\n await elementUpdated(el);\n await nextFrame();\n expect(el.splitterPos || 0).to.equal(50);\n expect(splitter.classList.contains('is-collapsed-start')).to.be.false;\n expect(getComputedStyle(splitter).cursor).to.equal('ns-resize');\n\n splitter.dispatchEvent(\n new PointerEvent('pointermove', {\n clientY: -10,\n })\n );\n await elementUpdated(el);\n await nextFrame();\n expect(el.splitterPos || 0).to.equal(0);\n\n expect(splitter.classList.contains('is-collapsed-start')).to.be.true;\n expect(getComputedStyle(splitter).cursor).to.equal('s-resize');\n\n splitter.dispatchEvent(\n new PointerEvent('pointermove', {\n clientY: splitTotalHeight - 40,\n })\n );\n await elementUpdated(el);\n await nextFrame();\n expect(el.splitterPos || 0).to.equal(splitTotalHeight - 50);\n expect(splitter.classList.contains('is-collapsed-end')).to.be.false;\n expect(getComputedStyle(splitter).cursor).to.equal('ns-resize');\n\n splitter.dispatchEvent(\n new PointerEvent('pointermove', {\n clientY: splitTotalHeight + 50,\n })\n );\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(\n splitTotalHeight - el.splitterSize\n );\n\n splitter.dispatchEvent(new PointerEvent('pointerup'));\n await elementUpdated(el);\n expect(splitter.classList.contains('is-collapsed-end')).to.be.true;\n expect(getComputedStyle(splitter).cursor).to.equal('n-resize');\n });\n\n it('handles focus and keyboard inputs and resizes accordingly for horizontal splitviews [ltr]', async () => {\n const splitTotalWidth = 500;\n const el = await fixture<SplitView>(\n html`\n <sp-split-view\n resizable\n primary-min=\"50\"\n secondary-min=\"50\"\n style=${`height: 200px; width: ${splitTotalWidth}px;`}\n >\n <div>First panel</div>\n <div>Second panel</div>\n </sp-split-view>\n `\n );\n\n await elementUpdated(el);\n expect(el.resizable).to.be.true;\n\n const pos = el.splitterPos || 0;\n const splitter = el.shadowRoot.querySelector(\n '#splitter'\n ) as HTMLDivElement;\n\n splitter.dispatchEvent(arrowLeftEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(pos - 10);\n\n splitter.dispatchEvent(arrowRightEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(pos);\n\n splitter.dispatchEvent(arrowUpEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(pos + 10);\n\n splitter.dispatchEvent(arrowDownEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(pos);\n\n splitter.dispatchEvent(pageUpEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(pos + 50);\n\n splitter.dispatchEvent(pageDownEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(pos);\n\n splitter.dispatchEvent(homeEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(50);\n\n splitter.dispatchEvent(arrowLeftEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(50);\n\n splitter.dispatchEvent(endEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(splitTotalWidth - 50);\n\n splitter.dispatchEvent(arrowRightEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(splitTotalWidth - 50);\n\n splitter.dispatchEvent(shiftTabEvent());\n await elementUpdated(el);\n const outsideFocused = document.activeElement as HTMLElement;\n expect(typeof outsideFocused).not.to.equal(splitter);\n });\n\n it('handles focus and keyboard inputs and resizes accordingly for horizontal splitviews [rtl]', async () => {\n const splitTotalWidth = 500;\n const el = await fixture<SplitView>(\n html`\n <sp-split-view\n resizable\n style=${`height: 200px; width: ${splitTotalWidth}px;`}\n dir=\"rtl\"\n >\n <div>First panel</div>\n <div>Second panel</div>\n </sp-split-view>\n `\n );\n\n await elementUpdated(el);\n expect(el.resizable).to.be.true;\n\n const pos = el.splitterPos || 0;\n const splitter = el.shadowRoot.querySelector(\n '#splitter'\n ) as HTMLDivElement;\n\n splitter.dispatchEvent(arrowLeftEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(pos + 10);\n\n splitter.dispatchEvent(arrowRightEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(pos);\n\n splitter.dispatchEvent(arrowUpEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(pos + 10);\n\n splitter.dispatchEvent(arrowDownEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(pos);\n\n splitter.dispatchEvent(pageUpEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(pos + 50);\n\n splitter.dispatchEvent(pageDownEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(pos);\n\n splitter.dispatchEvent(homeEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(0);\n\n splitter.dispatchEvent(endEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(splitTotalWidth - el.splitterSize);\n\n splitter.dispatchEvent(shiftTabEvent());\n await elementUpdated(el);\n const outsideFocused = document.activeElement as HTMLElement;\n expect(typeof outsideFocused).not.to.equal(splitter);\n });\n\n it('handles keyboard inputs and resizes accordingly for [vertical] splitviews', async () => {\n const splitTotalHeight = 500;\n const el = await fixture<SplitView>(\n html`\n <sp-split-view\n vertical\n resizable\n style=${`width: 200px; height: ${splitTotalHeight}px;`}\n >\n <div>First panel</div>\n <div>Second panel</div>\n </sp-split-view>\n `\n );\n await elementUpdated(el);\n expect(el.resizable).to.be.true;\n\n const pos = el.splitterPos || 0;\n const splitter = el.shadowRoot.querySelector(\n '#splitter'\n ) as HTMLDivElement;\n\n splitter.dispatchEvent(arrowLeftEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(pos - 10);\n\n splitter.dispatchEvent(arrowRightEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(pos);\n\n splitter.dispatchEvent(arrowUpEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(pos - 10);\n\n splitter.dispatchEvent(arrowDownEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(pos);\n\n splitter.dispatchEvent(pageUpEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(pos - 50);\n\n splitter.dispatchEvent(pageDownEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(pos);\n\n splitter.dispatchEvent(homeEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(0);\n\n splitter.dispatchEvent(endEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(\n splitTotalHeight - el.splitterSize\n );\n\n splitter.dispatchEvent(shiftTabEvent());\n await elementUpdated(el);\n const outsideFocused = document.activeElement as HTMLElement;\n expect(typeof outsideFocused).not.to.equal(splitter);\n });\n\n it('handles focus and keyboard inputs and resizes accordingly for collapsible horizontal splitviews', async () => {\n const splitTotalWidth = 500;\n const el = await fixture<SplitView>(\n html`\n <sp-split-view\n resizable\n collapsible\n primary-min=\"50\"\n secondary-min=\"50\"\n style=${`height: 200px; width: ${splitTotalWidth}px;`}\n >\n <div>First panel</div>\n <div>Second panel</div>\n </sp-split-view>\n `\n );\n\n await elementUpdated(el);\n expect(el.resizable).to.be.true;\n\n const splitter = el.shadowRoot.querySelector(\n '#splitter'\n ) as HTMLDivElement;\n\n splitter.dispatchEvent(homeEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(0);\n\n splitter.dispatchEvent(endEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(splitTotalWidth - el.splitterSize);\n });\n\n it('does not resize when not resizable', async () => {\n const el = await fixture<SplitView>(\n html`\n <sp-split-view>\n <div>First panel</div>\n <div>Second panel</div>\n </sp-split-view>\n `\n );\n await elementUpdated(el);\n expect(el.resizable).to.be.false;\n\n const pos = el.splitterPos || 0;\n const splitter = el.shadowRoot\n ? (el.shadowRoot.querySelector('#splitter') as HTMLDivElement)\n : (el as SplitView);\n splitter.dispatchEvent(new PointerEvent('pointerdown'));\n await elementUpdated(el);\n //Send keyboard events to resize\n splitter.dispatchEvent(arrowLeftEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(pos);\n });\n\n it('renders no splitter if only one panel is provided', async () => {\n const el = await fixture<SplitView>(\n html`\n <sp-split-view style=\"width: 400px\">\n <div id=\"primary\" style=\"width: 200px\">First panel</div>\n </sp-split-view>\n `\n );\n\n await elementUpdated(el);\n expect(el.resizable).to.be.false;\n const splitter = el.shadowRoot.querySelector(\n '#splitter'\n ) as HTMLDivElement;\n expect(splitter).to.be.null;\n\n const slot = el.shadowRoot.querySelector('slot') as HTMLSlotElement;\n expect(slot).to.exist;\n\n expect(slot.assignedElements().length).to.equal(1);\n\n const elPrim = slot.assignedElements()[0] as HTMLDivElement;\n expect(getComputedStyle(elPrim).width).to.equal('200px');\n });\n\n it('renders only 2 out of 3 panels', async () => {\n const el = await fixture<SplitView>(\n html`\n <sp-split-view>\n <div>First panel</div>\n <div>Second panel</div>\n <div id=\"testPanel\">Third (invisible) panel</div>\n </sp-split-view>\n `\n );\n await elementUpdated(el);\n const testPanel = el.shadowRoot.querySelector(\n '#testPanel'\n ) as HTMLDivElement;\n expect(testPanel).to.be.null;\n });\n\n it('allows a custom label when resizable if specified', async () => {\n const customLabel = 'Resizable Split View Custom Label';\n const defaultLabel = 'Resize the panels';\n let el = await fixture<SplitView>(\n html`\n <sp-split-view\n resizable\n label=${customLabel}\n primary-min=\"50\"\n secondary-min=\"50\"\n >\n <div>First panel</div>\n <div>Second panel</div>\n </sp-split-view>\n `\n );\n expect(el.label).to.equal(customLabel);\n let splitter = el.shadowRoot.querySelector(\n '#splitter'\n ) as HTMLDivElement;\n expect(splitter.ariaLabel).to.equal(customLabel);\n\n // If custom label not provided, should fall back to default label\n el = await fixture<SplitView>(\n html`\n <sp-split-view resizable primary-min=\"50\" secondary-min=\"50\">\n <div>First panel</div>\n <div>Second panel</div>\n </sp-split-view>\n `\n );\n splitter = el.shadowRoot.querySelector('#splitter') as HTMLDivElement;\n expect(splitter.ariaLabel).to.equal(defaultLabel);\n });\n\n it('keeps the splitter pos when removing and re-adding a panel', async () => {\n let pointerId = -1;\n const el = await fixture<SplitView>(\n html`\n <sp-split-view resizable style=\"width: 400px\">\n <div id=\"primary\">First panel</div>\n <div id=\"secondary\">Second panel</div>\n </sp-split-view>\n `\n );\n\n await elementUpdated(el);\n expect(el.resizable).to.be.true;\n let splitter = el.shadowRoot.querySelector(\n '#splitter'\n ) as HTMLDivElement;\n splitter.setPointerCapture = (id: number) => (pointerId = id);\n splitter.releasePointerCapture = (id: number) => (pointerId = id);\n let pos = el.splitterPos || 0;\n expect(pos).to.equal(200);\n\n splitter.dispatchEvent(\n new PointerEvent('pointerdown', { pointerId: 1 })\n );\n await elementUpdated(el);\n expect(pointerId).to.equal(1);\n\n pos -= 10;\n splitter.dispatchEvent(\n new PointerEvent('pointermove', {\n clientX: pos,\n })\n );\n await elementUpdated(el);\n expect(Math.round(el.splitterPos || 0)).to.equal(\n pos - el.getBoundingClientRect().left\n );\n\n // Remove second panel\n const secPanel = el.lastElementChild?.cloneNode(true);\n expect(secPanel).not.to.be.null;\n\n el.lastElementChild?.remove();\n await elementUpdated(el);\n let slot = el.shadowRoot.querySelector('slot') as HTMLSlotElement;\n expect(slot).to.exist;\n expect(slot.assignedElements().length).to.equal(1);\n\n splitter = el.shadowRoot.querySelector('#splitter') as HTMLDivElement;\n expect(splitter).to.be.null;\n\n if (secPanel) {\n // Re-add second panel\n el.appendChild(secPanel);\n await elementUpdated(el);\n expect(Math.round(el.splitterPos || 0)).to.equal(\n pos - el.getBoundingClientRect().left\n );\n slot = el.shadowRoot.querySelector('slot') as HTMLSlotElement;\n expect(slot).to.exist;\n\n expect(slot.assignedElements().length).to.equal(2);\n\n splitter = el.shadowRoot.querySelector(\n '#splitter'\n ) as HTMLDivElement;\n await expect(splitter).to.be.accessible();\n }\n });\n\n it('announces when splitterPos moves', async () => {\n const changeSpy = spy();\n const el = await fixture<SplitView>(\n html`\n <sp-split-view\n resizable\n style=${`height: 200px; width: 500px;`}\n >\n <div>First panel</div>\n <div>Second panel</div>\n </sp-split-view>\n `\n );\n el.addEventListener('change', changeSpy);\n await elementUpdated(el);\n expect(el.resizable).to.be.true;\n\n const pos = el.splitterPos || 0;\n const splitter = el.shadowRoot.querySelector(\n '#splitter'\n ) as HTMLDivElement;\n\n splitter.dispatchEvent(arrowLeftEvent());\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(pos - 10);\n expect(changeSpy.callCount).to.equal(1);\n });\n\n it('resizes when primarySize changes', async () => {\n const el = await fixture<SplitView>(\n html`\n <sp-split-view\n resizable\n primary-size=\"100\"\n style=${`height: 200px; width: 500px;`}\n >\n <div>First panel</div>\n <div>Second panel</div>\n </sp-split-view>\n `\n );\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(100);\n el.primarySize = '300';\n await elementUpdated(el);\n expect(el.splitterPos || 0).to.equal(300);\n });\n});\n"],
5
- "mappings": ";AAYA;AAAA,EACI;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACG;AAEP,OAAO;AAEP;AAAA,EACI;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACG;AACP,SAAS,WAAW;AAEpB,SAAS,aAAa,MAAM;AACxB;AAAA,IACI,YACI,MAAM;AAAA,MACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMJ;AAAA,EACR;AACA,KAAG,oDAAoD,YAAY;AAC/D,UAAM,KAAK,MAAM;AAAA,MACb;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMJ;AAEA,UAAM,eAAe,EAAE;AACvB,UAAM,OAAO,EAAE,EAAE,GAAG,GAAG,WAAW;AAClC,WAAO,GAAG,eAAe,CAAC,EAAE,GAAG,MAAM,GAAG;AACxC,WAAO,GAAG,SAAS,EAAE,GAAG,GAAG;AAC3B,WAAO,GAAG,WAAW,EAAE,GAAG,GAAG;AAC7B,UAAM,UAAU,GAAG,WAAW;AAAA,MAC1B;AAAA,IACJ;AACA,WAAO,OA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