@cardstack/boxel-cli 0.12.0 → 0.13.0-unstable.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled-realms/pretui/components/chip.gts +47 -2
- package/bundled-realms/pretui/components/chip.md +5 -2
- package/bundled-realms/pretui/components/chip.usage.gts +37 -2
- package/bundled-realms/pretui/components/status-chip.gts +12 -2
- package/bundled-realms/pretui/components/status-chip.md +2 -1
- package/bundled-realms/pretui/components/status-chip.usage.gts +2 -0
- package/bundled-test-harness/assets/{ai-module-creation-test-B9lSKNq1.js → ai-module-creation-test-Czsh1MyP.js} +1 -1
- package/bundled-test-harness/assets/{aibot-message-LXV0UlzI.js → aibot-message-Dg5nzE1b.js} +1 -1
- package/bundled-test-harness/assets/{app-BIQcKrVT.js → app-hXF_bqWy.js} +6 -6
- package/bundled-test-harness/assets/{assistant-transcript-test-CG_2-bog.js → assistant-transcript-test-kILRv_pf.js} +1 -1
- package/bundled-test-harness/assets/{binary-upload-dedupe-test-Q7e6bzl1.js → binary-upload-dedupe-test-Bt5RqtEk.js} +1 -1
- package/bundled-test-harness/assets/{bundled-base-DldokUSJ.js → bundled-base-DtxlKFXx.js} +3 -3
- package/bundled-test-harness/assets/{bundled-base-modules-test-VAlRx4t3.js → bundled-base-modules-test-D1fXHMTE.js} +1 -1
- package/bundled-test-harness/assets/{can-invoke-test-BGmUJHxo.js → can-invoke-test-DqBuecdl.js} +1 -1
- package/bundled-test-harness/assets/{card-chooser-paging-test-CzooKL4I.js → card-chooser-paging-test-Cf8r032c.js} +1 -1
- package/bundled-test-harness/assets/{card-chooser-test-C3fjaDYi.js → card-chooser-test-q_qnUKxi.js} +1 -1
- package/bundled-test-harness/assets/{card-def-field-def-relationships-test-yqv8ir8Y.js → card-def-field-def-relationships-test-C5xkWMZi.js} +1 -1
- package/bundled-test-harness/assets/{card-delete-test-BtjqrqKO.js → card-delete-test-KB4aJuv_.js} +1 -1
- package/bundled-test-harness/assets/{chip-D6Xffhjx.css → chip-B2Ns53A6.css} +35 -9
- package/bundled-test-harness/assets/{chip-BydgljDL.js → chip-DVJE_YDh.js} +11 -3
- package/bundled-test-harness/assets/{choreo-D7dLCdGB.js → choreo-CIrop3HM.js} +16 -35
- package/bundled-test-harness/assets/choreo-Ca2Y2sF3.js +2 -0
- package/bundled-test-harness/assets/{choreo-feature-reel-test--x-L3ZKc.js → choreo-feature-reel-test-CJHms7Sf.js} +2 -2
- package/bundled-test-harness/assets/{choreo-gallery-ZO9vXOxd.js → choreo-gallery-DZm1KZ20.js} +3 -3
- package/bundled-test-harness/assets/{choreo-gallery-build-order-test-DG5UTyc9.js → choreo-gallery-build-order-test-QKyMWELN.js} +4 -4
- package/bundled-test-harness/assets/{choreo-gallery-compositor-test-DJP80SNj.js → choreo-gallery-compositor-test-BQDptxfE.js} +1 -1
- package/bundled-test-harness/assets/{choreo-gallery-cover-test-CHYz7sM4.js → choreo-gallery-cover-test-Do-HYF96.js} +1 -1
- package/bundled-test-harness/assets/{choreo-gallery-crossing-stage-test-BuinlINr.js → choreo-gallery-crossing-stage-test-yJVXghRc.js} +10 -10
- package/bundled-test-harness/assets/{choreo-gallery-demos-alive-test-BjNCGfH9.js → choreo-gallery-demos-alive-test-BCeaaZye.js} +1 -1
- package/bundled-test-harness/assets/{choreo-gallery-drift-test-BJ17f3yv.js → choreo-gallery-drift-test-CJ1yq6R0.js} +1 -1
- package/bundled-test-harness/assets/{choreo-gallery-escort-test-Dadih8-S.js → choreo-gallery-escort-test-DypqSgvs.js} +1 -1
- package/bundled-test-harness/assets/{choreo-gallery-films-test-CCXty_WI.js → choreo-gallery-films-test-ClMy5M_p.js} +2 -2
- package/bundled-test-harness/assets/{choreo-gallery-filter-test-BozCoT_M.js → choreo-gallery-filter-test-CzOmgqgl.js} +1 -1
- package/bundled-test-harness/assets/{choreo-gallery-fold-test-Kez2P3_Y.js → choreo-gallery-fold-test-qNnH6wtC.js} +2 -2
- package/bundled-test-harness/assets/{choreo-gallery-guide-pages-test-BV5oxrYA.js → choreo-gallery-guide-pages-test-BtKWMkTv.js} +1 -1
- package/bundled-test-harness/assets/{choreo-gallery-guides-test-DwYBDgKi.js → choreo-gallery-guides-test-CXMsuDYi.js} +4 -3
- package/bundled-test-harness/assets/{choreo-gallery-hang-test-B-5u7cGJ.js → choreo-gallery-hang-test-BD4JQ04e.js} +2 -2
- package/bundled-test-harness/assets/{choreo-gallery-highlight-test-BZ5Lg8V6.js → choreo-gallery-highlight-test-BK280K2W.js} +2 -2
- package/bundled-test-harness/assets/{choreo-gallery-inline-edit-test-wSlSI-VM.js → choreo-gallery-inline-edit-test-DAgUcaaw.js} +2 -2
- package/bundled-test-harness/assets/{choreo-gallery-interruption-test-DBpCEiro.js → choreo-gallery-interruption-test-DY5KUilC.js} +4 -4
- package/bundled-test-harness/assets/{choreo-gallery-lone-stack-test-aMLrHsns.js → choreo-gallery-lone-stack-test-Dxd_Nb0-.js} +4 -4
- package/bundled-test-harness/assets/{choreo-gallery-navigation-test-B8b-2ZTz.js → choreo-gallery-navigation-test-DWJq12PN.js} +1 -1
- package/bundled-test-harness/assets/{choreo-gallery-playhead-transport-test-B95CYBh7.js → choreo-gallery-playhead-transport-test-DlQ6yTKW.js} +1 -1
- package/bundled-test-harness/assets/{choreo-gallery-poplayout-subtree-test-jZAAICV6.js → choreo-gallery-poplayout-subtree-test-D59W8gYt.js} +5 -5
- package/bundled-test-harness/assets/{choreo-gallery-presence-modes-test-BawIKB-a.js → choreo-gallery-presence-modes-test-BAU-dggP.js} +2 -2
- package/bundled-test-harness/assets/{choreo-gallery-presentation-test-CYIb-8ML.js → choreo-gallery-presentation-test-BqGsinE0.js} +2 -2
- package/bundled-test-harness/assets/{choreo-gallery-reduced-motion-test-C6Vi1WYr.js → choreo-gallery-reduced-motion-test-By0rb2Ai.js} +4 -3
- package/bundled-test-harness/assets/{choreo-gallery-sheet-standalone-test-_e4T5KDI.js → choreo-gallery-sheet-standalone-test-Cfw-4ULF.js} +2 -2
- package/bundled-test-harness/assets/{choreo-gallery-sheet-test-Cv51Te3G.js → choreo-gallery-sheet-test-dm53Pdzb.js} +2 -2
- package/bundled-test-harness/assets/{choreo-gallery-site-test-Cm35kHu_.js → choreo-gallery-site-test-SAlqtZgL.js} +3 -2
- package/bundled-test-harness/assets/{choreo-gallery-stage-Bp6QVqlI.js → choreo-gallery-stage-CU8LvQqX.js} +2 -2
- package/bundled-test-harness/assets/{choreo-gallery-stage-keyboard-test-DDX2cuMa.js → choreo-gallery-stage-keyboard-test-DQ4v5qA4.js} +2 -2
- package/bundled-test-harness/assets/{choreo-gallery-stages-test-Dfa_33_4.js → choreo-gallery-stages-test-CRvaS6w6.js} +2 -2
- package/bundled-test-harness/assets/{choreo-gallery-subdivision-test-CgR3WdcT.js → choreo-gallery-subdivision-test-CtOm-U35.js} +3 -3
- package/bundled-test-harness/assets/{choreo-gallery-table-plan-test-DF-cE3J9.js → choreo-gallery-table-plan-test-_0koIm2u.js} +1 -1
- package/bundled-test-harness/assets/{choreo-gallery-theater-test-BuIyb2ke.js → choreo-gallery-theater-test-yedwQVyP.js} +4 -4
- package/bundled-test-harness/assets/{choreo-gallery-tuning-test-BdZ45YBK.js → choreo-gallery-tuning-test-CmMtfJ5a.js} +1 -1
- package/bundled-test-harness/assets/{choreo-gallery-widget-room-test-HcPX75Dg.js → choreo-gallery-widget-room-test-jnYOas5x.js} +2 -2
- package/bundled-test-harness/assets/{choreo-gallery-wires-test-BhFCIjB1.js → choreo-gallery-wires-test-CSyqjVnm.js} +2 -2
- package/bundled-test-harness/assets/clip--wioup_3.js +2 -0
- package/bundled-test-harness/assets/{clip-BmBVqUyU.js → clip-Cm32sLyn.js} +3 -3
- package/bundled-test-harness/assets/{codeblocks-test-DbZYlmG_.js → codeblocks-test-DLVRpBAl.js} +1 -1
- package/bundled-test-harness/assets/{compaction-test-D1G3KCSe.js → compaction-test-zX01t57K.js} +1 -1
- package/bundled-test-harness/assets/{container-XSX5809v.js → container-CXZoEvul.js} +10 -9
- package/bundled-test-harness/assets/{create-listing-modal-test--oGT9P_F.js → create-listing-modal-test-DPgVovcL.js} +1 -1
- package/bundled-test-harness/assets/{debug-message-test-C8UZUtCt.js → debug-message-test-CWl-ido2.js} +1 -1
- package/bundled-test-harness/assets/{externals--YMzwHwd.js → externals-Ddhtv753.js} +37 -37
- package/bundled-test-harness/assets/{fallback-banner-live-delete-test-DPK_coJY.js → fallback-banner-live-delete-test-CFbMEFHo.js} +1 -1
- package/bundled-test-harness/assets/{fallback-banner-test-C2wi6Lu6.js → fallback-banner-test-3O0imkxJ.js} +1 -1
- package/bundled-test-harness/assets/{fallback-models-test-SqdXWB1Z.js → fallback-models-test-hyQfQLuM.js} +1 -1
- package/bundled-test-harness/assets/{file-attachment-test-DT0HK6yS.js → file-attachment-test-C63Ttyaj.js} +1 -1
- package/bundled-test-harness/assets/{film-Zt2YoVoG.js → film-9V69qBWw.js} +6 -6
- package/bundled-test-harness/assets/{film-77OfTGL7.js → film-Z87hSVo_.js} +8 -8
- package/bundled-test-harness/assets/film-h1N8vUjG.js +2 -0
- package/bundled-test-harness/assets/{formatted-aibot-message-test-B6i0k9wW.js → formatted-aibot-message-test-DH3WPvU1.js} +1 -1
- package/bundled-test-harness/assets/{general-test-C0Xb2Idr.js → general-test-wrSeNkrm.js} +1 -1
- package/bundled-test-harness/assets/{glimmer-motion-and-choreo-in-cards-test-DFlkZtek.js → glimmer-motion-and-choreo-in-cards-test-Byg3fSOY.js} +32 -32
- package/bundled-test-harness/assets/{glimmer-motion-and-choreo-test-B2ustNm9.js → glimmer-motion-and-choreo-test-BM7uX8k4.js} +10 -10
- package/bundled-test-harness/assets/group-Cgg5RLul.js +2 -0
- package/bundled-test-harness/assets/{group-BNxp6qON.js → group-DL-b_Hzj.js} +2 -2
- package/bundled-test-harness/assets/{index-query-engine-test-BKOqgBMv.js → index-query-engine-test-DvfKgn6s.js} +1 -1
- package/bundled-test-harness/assets/{instance-filter-matcher-test-CNIzKZvP.js → instance-filter-matcher-test-KqGi-K79.js} +1 -1
- package/bundled-test-harness/assets/item-Bu9hhPf2.js +2 -0
- package/bundled-test-harness/assets/{item-BDyVqxdA.js → item-CBEoTOyj.js} +2 -2
- package/bundled-test-harness/assets/{main-BiI-FhMc.js → main-CoUo04VF.js} +1 -1
- package/bundled-test-harness/assets/{markdown-preview-BItI_AEl.js → markdown-preview-D_QssEOi.js} +1 -1
- package/bundled-test-harness/assets/{markdown-preview-test-Bntyikh1.js → markdown-preview-test-nljzB8o_.js} +1 -1
- package/bundled-test-harness/assets/memory-B73-H_Rp.js +223 -0
- package/bundled-test-harness/assets/{model-cost-tier-test-Hu2-LpEw.js → model-cost-tier-test-B5ByLtAP.js} +1 -1
- package/bundled-test-harness/assets/{motion-DeM7UCtd.js → motion-BiMvMS08.js} +1 -1
- package/bundled-test-harness/assets/{node-BAM535H5.js → node-BWOLCOMI.js} +95 -6
- package/bundled-test-harness/assets/{operation-lowering-test-CG1gatuH.js → operation-lowering-test-Bz81V0Gt.js} +1 -1
- package/bundled-test-harness/assets/{operator-mode-card-chooser-test-Bo5ZnF_x.js → operator-mode-card-chooser-test-DNOnplV8.js} +1 -1
- package/bundled-test-harness/assets/{operator-mode-links-test-DVx_LQOU.js → operator-mode-links-test-BeXsOYMU.js} +1 -1
- package/bundled-test-harness/assets/{operator-mode-test-CCbFrYgN.js → operator-mode-test-jdeCXqhV.js} +1 -1
- package/bundled-test-harness/assets/{operator-mode-ui-test-Dm2Bf6Vn.js → operator-mode-ui-test-DdiFZylM.js} +1 -1
- package/bundled-test-harness/assets/{overlay-menu-items-test-Bk5AidFD.js → overlay-menu-items-test-C_Q4sJlC.js} +1 -1
- package/bundled-test-harness/assets/{overlays-CY7IgeOl.js → overlays-DZXjQykn.js} +3 -3
- package/bundled-test-harness/assets/{overlays-DhVKmSP-.js → overlays-hrAO43jG.js} +1 -1
- package/bundled-test-harness/assets/{panel-t9QyU1lY.js → panel-CXmB6GMs.js} +15 -75
- package/bundled-test-harness/assets/{panel-CUYJ8oHS.css → panel-D2zkZoIr.css} +39 -31
- package/bundled-test-harness/assets/{past-sessions-test-Dq-Y9T6W.js → past-sessions-test-Bm1UiLD0.js} +1 -1
- package/bundled-test-harness/assets/{permission-checking-realm-test-CuImx8ie.js → permission-checking-realm-test-Jq7R-yRT.js} +1 -1
- package/bundled-test-harness/assets/pill-menu-Ctn3JNqG.js +154 -0
- package/bundled-test-harness/assets/{pill-menu-test-kpWBGrX5.js → pill-menu-test-Cf2xO2w6.js} +1 -1
- package/bundled-test-harness/assets/plate-CnatwP3n.js +2 -0
- package/bundled-test-harness/assets/{plate-B4Lz2Ulo.js → plate-Cu5EnXQZ.js} +3 -3
- package/bundled-test-harness/assets/player-Bwn5tEsh.js +2 -0
- package/bundled-test-harness/assets/{player-B965XH82.js → player-CVdsx7Ng.js} +3 -3
- package/bundled-test-harness/assets/presence-BKkR2au7.js +553 -0
- package/bundled-test-harness/assets/presence-CcEXVges.js +2 -0
- package/bundled-test-harness/assets/{quick-look-test-VW5_W7dm.js → quick-look-test-BrnxRRsq.js} +1 -1
- package/bundled-test-harness/assets/{realm-api-keys-sg--fohv.js → realm-api-keys-CHPnfcko.js} +1 -1
- package/bundled-test-harness/assets/realm-api-keys-GLBmvu4U.js +2 -0
- package/bundled-test-harness/assets/{realm-api-keys-test-Cy7qSoAd.js → realm-api-keys-test-CHBGOFcx.js} +1 -1
- package/bundled-test-harness/assets/{realm-config-DvpP1xf-.js → realm-config-C7c3B2er.js} +1 -1
- package/bundled-test-harness/assets/{realm-config-policy-standing-test-DJk-ftgH.js → realm-config-policy-standing-test-C8aNeb6_.js} +1 -1
- package/bundled-test-harness/assets/{realm-config-routing-rule-edit-test-CTPiJrAL.js → realm-config-routing-rule-edit-test-Dmnw-VQz.js} +1 -1
- package/bundled-test-harness/assets/{realm-config-settings-test-CUa-PjMC.js → realm-config-settings-test-C6V0Mx35.js} +1 -1
- package/bundled-test-harness/assets/{reasoning-test-CeeGGwvf.js → reasoning-test-Dn0Xb42V.js} +1 -1
- package/bundled-test-harness/assets/{rendered-markdown-B8TH0yN4.js → rendered-markdown-DPEXS7MQ.js} +1 -1
- package/bundled-test-harness/assets/{rendered-markdown-test-CBRsIBqW.js → rendered-markdown-test-DxbJ1nFX.js} +1 -1
- package/bundled-test-harness/assets/{room-message-test-BTxZ_W74.js → room-message-test-BBE8UIPX.js} +1 -1
- package/bundled-test-harness/assets/{run-BSEzn_PH.js → run-CfyzhBXb.js} +2 -2
- package/bundled-test-harness/assets/{scrolling-test-C7R0UASi.js → scrolling-test-sLBz7Gxv.js} +2 -2
- package/bundled-test-harness/assets/{searchable-option-test-BiOqxIIs.js → searchable-option-test-Ix9_H5QV.js} +1 -1
- package/bundled-test-harness/assets/{sending-test-DOXQ0Tvx.js → sending-test-_Pqzq1bN.js} +1 -1
- package/bundled-test-harness/assets/{skills-test-BjCYI4Z_.js → skills-test-DUHRQGiC.js} +1 -1
- package/bundled-test-harness/assets/src-CEw1V0fi.js +11 -0
- package/bundled-test-harness/assets/{src-Bhefkhqj.js → src-CbBcj3xm.js} +11 -5
- package/bundled-test-harness/assets/{src-BDDYD1rs.js → src-D8bpj2tb.js} +2 -2
- package/bundled-test-harness/assets/{src-DySBAkac.js → src-Df4Vutrk.js} +3 -3
- package/bundled-test-harness/assets/{stick-to-bottom-resize-test-hN0AjdXP.js → stick-to-bottom-resize-test-Du4B3w2x.js} +4 -4
- package/bundled-test-harness/assets/{store-test-BD99H9dQ.js → store-test-9C-s0-H6.js} +1 -1
- package/bundled-test-harness/assets/{test-support-BcjhIHQa.js → test-support-BOFeeYuE.js} +25 -2
- package/bundled-test-harness/assets/test-support-CXESl4Wf.js +3 -0
- package/bundled-test-harness/assets/test-support-CgWmpebE.js +3 -0
- package/bundled-test-harness/assets/{test-support-Dl6FChlV.js → test-support-xTaMuaOA.js} +4 -27
- package/bundled-test-harness/assets/{tests-BqLDuQog.js → tests-CVpu0hZj.js} +437 -437
- package/bundled-test-harness/assets/{text-input-validator-test-CW6Ay7bo.js → text-input-validator-test-CcVh-MFa.js} +1 -1
- package/bundled-test-harness/assets/{titles-CFt3dEls.js → titles-BUbpcMoe.js} +3 -3
- package/bundled-test-harness/assets/titles-D80DwOQU.js +2 -0
- package/bundled-test-harness/assets/{to-device-streaming-test-DRxNCi7Z.js → to-device-streaming-test-RFHD62PN.js} +1 -1
- package/bundled-test-harness/assets/{token-usage-test-Ck9rB3Ie.js → token-usage-test-B2iJC-UX.js} +1 -1
- package/bundled-test-harness/assets/{tools-test-B3zniq10.js → tools-test-BZOWfXML.js} +1 -1
- package/bundled-test-harness/assets/{turn-settling-test-C0X6hL7x.js → turn-settling-test-Cvu2rvzM.js} +1 -1
- package/bundled-test-harness/assets/{turn-summary-0XOoAv3j.js → turn-summary-CAZVdcBd.js} +1 -1
- package/bundled-test-harness/index.html +26 -25
- package/bundled-test-harness/tests/index.html +26 -25
- package/bundled-types/choreo/choreo.gts +21 -42
- package/bundled-types/choreo/test-support/index.ts +9 -30
- package/bundled-types/glimmer-motion/index.ts +11 -3
- package/bundled-types/glimmer-motion/memory.ts +302 -0
- package/bundled-types/glimmer-motion/node.ts +125 -14
- package/bundled-types/glimmer-motion/presence-types.ts +13 -5
- package/bundled-types/glimmer-motion/presence.gts +199 -11
- package/bundled-types/glimmer-motion/snapshot.ts +280 -0
- package/bundled-types/glimmer-motion/test-support/index.ts +36 -4
- package/bundled-types/host-app/components/ai-assistant/llm-select.gts +3 -0
- package/bundled-types/host-app/components/ai-assistant/skill-menu/index.gts +3 -0
- package/bundled-types/host-app/components/matrix/room.gts +15 -3
- package/bundled-types/host-app/components/pill-menu/index.gts +74 -23
- package/package.json +1 -1
- package/bundled-test-harness/assets/choreo-Cd9yKlEK.js +0 -2
- package/bundled-test-harness/assets/clip-DnEy6oK5.js +0 -2
- package/bundled-test-harness/assets/film-C4NJTl9U.js +0 -2
- package/bundled-test-harness/assets/group-CPQojb-T.js +0 -2
- package/bundled-test-harness/assets/item-DGzMAZ9K.js +0 -2
- package/bundled-test-harness/assets/pill-menu-DaRpDMUm.js +0 -68
- package/bundled-test-harness/assets/plate-B7JjCVMj.js +0 -2
- package/bundled-test-harness/assets/player-DpGXST02.js +0 -2
- package/bundled-test-harness/assets/presence-CmLmFwhO.js +0 -2
- package/bundled-test-harness/assets/presence-Sv4y4tQy.js +0 -230
- package/bundled-test-harness/assets/realm-api-keys-DkdlXgAg.js +0 -2
- package/bundled-test-harness/assets/src-BpmcuCfH.js +0 -10
- package/bundled-test-harness/assets/test-support-CB3auo8h.js +0 -2
- package/bundled-test-harness/assets/test-support-DfGKwg35.js +0 -3
- package/bundled-test-harness/assets/titles-DVhrJZzS.js +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./chunk-Rp0pCe6z.js";
|
|
2
2
|
import { $ as flushKeyframeResolvers, Ft as easingDefinitionToFunction, _t as generateLinearEasing, bt as mix, gt as maxGeneratorDuration, ht as calcGeneratorDuration, nn as registerBusyProbe, pt as spring, vt as cancelFrame, yt as frame } from "./layout-group-BS0gklZp.js";
|
|
3
|
-
import {
|
|
4
|
-
import "./src-
|
|
3
|
+
import { C as animateTarget, c as defineParticipantArg, l as setParticipantHost, w as positionalKeys } from "./node-BWOLCOMI.js";
|
|
4
|
+
import "./src-CbBcj3xm.js";
|
|
5
5
|
import { r as scaleTransition, t as motionSpeed } from "./speed-bIo0tyrM.js";
|
|
6
6
|
//#region ../choreo/src/measure.ts
|
|
7
7
|
/**
|
package/bundled-test-harness/assets/{scrolling-test-C7R0UASi.js → scrolling-test-sLBz7Gxv.js}
RENAMED
|
@@ -6,8 +6,8 @@ import { H as templateFactory } from "./index-DaCZcoCY-CgzbilMy.js";
|
|
|
6
6
|
import "./component-BJO47HTh.js";
|
|
7
7
|
import { t as Component } from "./dist-CkA1rgqO.js";
|
|
8
8
|
import "./template-factory-ds9s0u8l.js";
|
|
9
|
-
import "./panel-
|
|
10
|
-
import { t as OperatorModeContainer } from "./container-
|
|
9
|
+
import "./panel-CXmB6GMs.js";
|
|
10
|
+
import { t as OperatorModeContainer } from "./container-CXZoEvul.js";
|
|
11
11
|
import { M as waitUntil, T as settled, d as click, l as triggerEvent, o as waitFor } from "./dist-BOAdzfkP.js";
|
|
12
12
|
import { t as require_qunit } from "./qunit-C-Foo4Nd.js";
|
|
13
13
|
import { D as realmConfigCardJSON, F as setupLocalIndexing, I as setupOnSave, L as setupRealmCacheTeardown, M as setupCardLogs, P as setupIntegrationTestRealm, Z as withCachedRealmSetup, lt as setupRenderingTest, ot as setupOperatorModeStateCleanup, t as setupMockMatrix } from "./mock-matrix-Ci72h1Wf.js";
|
|
@@ -3,7 +3,7 @@ import { r as initializeDeferredDecorator, t as decorateFieldV2 } from "./runtim
|
|
|
3
3
|
import { Fa as maybeHandleScopedCSSRequest, Hr as testRealmURL, Ka as VirtualNetwork, Ss as getFieldDefinitions, Wo as identifyCard, Za as fetcher, qs as Loader, u as internalKeyFor, ws as validateSearchablePaths, xs as getFieldDef } from "./runtime-common-DDGDdNb5.js";
|
|
4
4
|
import { O as baseRealm } from "./constants-4hDiBQYp.js";
|
|
5
5
|
import { t as config } from "./environment-DIUJgBKt.js";
|
|
6
|
-
import { t as shimExternals } from "./externals
|
|
6
|
+
import { t as shimExternals } from "./externals-Ddhtv753.js";
|
|
7
7
|
import { t as require_qunit } from "./qunit-C-Foo4Nd.js";
|
|
8
8
|
import "./mock-matrix-Ci72h1Wf.js";
|
|
9
9
|
//#region tests/unit/searchable-option-test.ts
|
|
@@ -9,7 +9,7 @@ import { n as Submodes } from "./submode-switcher-2-ACaqRv.js";
|
|
|
9
9
|
import "./component-BJO47HTh.js";
|
|
10
10
|
import { t as Component } from "./dist-CkA1rgqO.js";
|
|
11
11
|
import "./template-factory-ds9s0u8l.js";
|
|
12
|
-
import { t as OperatorModeContainer } from "./container-
|
|
12
|
+
import { t as OperatorModeContainer } from "./container-CXZoEvul.js";
|
|
13
13
|
import { M as waitUntil, T as settled, d as click, l as triggerEvent, m as rerender, o as waitFor, s as fillIn } from "./dist-BOAdzfkP.js";
|
|
14
14
|
import { t as require_qunit } from "./qunit-C-Foo4Nd.js";
|
|
15
15
|
import { D as realmConfigCardJSON, Et as percySnapshot, F as setupLocalIndexing, I as setupOnSave, L as setupRealmCacheTeardown, M as setupCardLogs, P as setupIntegrationTestRealm, Z as withCachedRealmSetup, lt as setupRenderingTest, ot as setupOperatorModeStateCleanup, t as setupMockMatrix } from "./mock-matrix-Ci72h1Wf.js";
|
|
@@ -8,7 +8,7 @@ import { H as templateFactory } from "./index-DaCZcoCY-CgzbilMy.js";
|
|
|
8
8
|
import "./component-BJO47HTh.js";
|
|
9
9
|
import { t as Component } from "./dist-CkA1rgqO.js";
|
|
10
10
|
import "./template-factory-ds9s0u8l.js";
|
|
11
|
-
import { t as OperatorModeContainer } from "./container-
|
|
11
|
+
import { t as OperatorModeContainer } from "./container-CXZoEvul.js";
|
|
12
12
|
import { o as skillsIndexId } from "./utils-D5UFfd4L.js";
|
|
13
13
|
import { M as waitUntil, T as settled, d as click, o as waitFor, s as fillIn } from "./dist-BOAdzfkP.js";
|
|
14
14
|
import { t as require_qunit } from "./qunit-C-Foo4Nd.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { U as motionValue, _ as snapshotAll, c as afterSettle, d as layoutChange, f as layoutLoopDetected, h as resetLayoutLoopGuard, m as requestSettle, n as RENDER_DETECTOR_ATTRIBUTE, nn as registerBusyProbe, o as snapshotOnRender, r as closestLayoutGroup, t as LayoutGroup, u as instantLayoutTransition, v as postRender, y as setPostRender, yt as frame } from "./layout-group-BS0gklZp.js";
|
|
2
|
+
import { c as defineParticipantArg, l as setParticipantHost, n as flushPendingMounts, o as PARTICIPANT_HOST_ATTRIBUTE, r as retime, s as closestParticipantHost, t as MotionNode, u as DragControls } from "./node-BWOLCOMI.js";
|
|
3
|
+
import { C as styleEffect, S as stagger, _ as to, a as scrollProgress, b as transformViewBoxPoint, c as inView, d as animate, f as ease, g as styles, h as spring, i as InView, l as scroll, m as perValue, n as animateView, o as useInView, p as inertia, r as viewTransition, s as useScroll, u as scrollInfo, v as tween, x as createDragControls, y as correctParentTransform } from "./src-CbBcj3xm.js";
|
|
4
|
+
import { r as transformValue, t as ReorderItem } from "./item-CBEoTOyj.js";
|
|
5
|
+
import { a as readAnimations, c as trackScrolls, i as keepAsMemory, n as MEMORY_HOOK_SUFFIX, t as MEMORY_ATTRIBUTE } from "./memory-B73-H_Rp.js";
|
|
6
|
+
import { n as closestMotionConfig, t as MotionConfig } from "./motion-config-BbHByW3a.js";
|
|
7
|
+
import { i as setMotionSpeed, n as onMotionSpeed, r as scaleTransition, t as motionSpeed } from "./speed-bIo0tyrM.js";
|
|
8
|
+
import { t as MotionModifier } from "./motion-BiMvMS08.js";
|
|
9
|
+
import { t as Presence } from "./presence-BKkR2au7.js";
|
|
10
|
+
import { t as ReorderGroup } from "./group-DL-b_Hzj.js";
|
|
11
|
+
export { DragControls, InView, LayoutGroup, MEMORY_ATTRIBUTE, MEMORY_HOOK_SUFFIX, MotionConfig, MotionModifier, MotionModifier as motion, MotionNode, PARTICIPANT_HOST_ATTRIBUTE, Presence, RENDER_DETECTOR_ATTRIBUTE, ReorderGroup, ReorderItem, afterSettle, animate, animateView, closestLayoutGroup, closestMotionConfig, closestParticipantHost, correctParentTransform, createDragControls, defineParticipantArg, ease, flushPendingMounts, frame, inView, inertia, instantLayoutTransition, keepAsMemory, layoutChange, layoutLoopDetected, motionSpeed, motionValue, onMotionSpeed, perValue, postRender, readAnimations, registerBusyProbe, requestSettle, resetLayoutLoopGuard, retime, scaleTransition, scroll, scrollInfo, scrollProgress, setMotionSpeed, setParticipantHost, setPostRender, snapshotAll, snapshotOnRender, spring, stagger, styleEffect, styles, to, trackScrolls, transformValue, transformViewBoxPoint, tween, useInView, useScroll, viewTransition };
|
|
@@ -5,13 +5,14 @@ import { _t as schedule, dt as join } from "./service-LFpJ8EEP.js";
|
|
|
5
5
|
import "./tracking-CNiq91Pk.js";
|
|
6
6
|
import { r as modifier } from "./dist-nMt-N14r.js";
|
|
7
7
|
import { B as getValueTransition$1, F as cornerRadiusProps, Ft as easingDefinitionToFunction, G as NativeAnimation, Gt as noop, It as isEasingArray, J as mapEasingToNativeEasing, K as applyGeneratorOptions, L as camelToDash, Lt as reverseEasing, M as microtask, P as isSVGElement, Pt as frameData, Qt as clamp, R as isMotionValue, Rt as warnOnce, U as motionValue, Ut as progress, V as MotionValue, Vt as secondsToMilliseconds, X as supportsViewTimeline, Xt as invariant, Y as supportsScrollTimeline, Z as isCSSVar, Zt as warning, _ as snapshotAll, at as readTransformValue, c as afterSettle, ct as numberValueTypes, d as layoutChange, dt as defaultOffset$1, en as removeItem, f as layoutLoopDetected, ft as fillOffset, h as resetLayoutLoopGuard, lt as transformValueTypes, m as requestSettle, mt as createGeneratorEasing, n as RENDER_DETECTOR_ATTRIBUTE, nn as registerBusyProbe, nt as transformPropOrder, o as snapshotOnRender, pt as spring$1, q as isGenerator, qt as isObject, r as closestLayoutGroup, rt as transformProps, t as LayoutGroup, u as instantLayoutTransition, ut as notifyAnimationStart, v as postRender, vt as cancelFrame, w as animateSingleValue, xt as mixNumber, y as setPostRender, yt as frame, z as animateMotionValue, zt as velocityPerSecond } from "./layout-group-BS0gklZp.js";
|
|
8
|
-
import { S as
|
|
9
|
-
import { r as transformValue, t as ReorderItem } from "./item-
|
|
8
|
+
import { S as DOMKeyframesResolver, _ as measureViewportBox, b as getValueAsType, c as defineParticipantArg, g as resize, h as visualElementStore, l as setParticipantHost, n as flushPendingMounts, o as PARTICIPANT_HOST_ATTRIBUTE, r as retime, s as closestParticipantHost, t as MotionNode, u as DragControls, v as cssStyleProperties, w as positionalKeys, x as isHTMLElement, y as resolveElements } from "./node-BWOLCOMI.js";
|
|
9
|
+
import { r as transformValue, t as ReorderItem } from "./item-CBEoTOyj.js";
|
|
10
|
+
import { a as readAnimations, c as trackScrolls, i as keepAsMemory, n as MEMORY_HOOK_SUFFIX, t as MEMORY_ATTRIBUTE } from "./memory-B73-H_Rp.js";
|
|
10
11
|
import { n as closestMotionConfig, t as MotionConfig } from "./motion-config-BbHByW3a.js";
|
|
11
12
|
import { i as setMotionSpeed, n as onMotionSpeed, r as scaleTransition, t as motionSpeed } from "./speed-bIo0tyrM.js";
|
|
12
|
-
import { t as MotionModifier } from "./motion-
|
|
13
|
-
import { t as Presence } from "./presence-
|
|
14
|
-
import { t as ReorderGroup } from "./group-
|
|
13
|
+
import { t as MotionModifier } from "./motion-BiMvMS08.js";
|
|
14
|
+
import { t as Presence } from "./presence-BKkR2au7.js";
|
|
15
|
+
import { t as ReorderGroup } from "./group-DL-b_Hzj.js";
|
|
15
16
|
//#region ../../node_modules/.pnpm/motion-utils@13.5.0/node_modules/motion-utils/dist/es/wrap.mjs
|
|
16
17
|
var wrap = (min, max, v) => {
|
|
17
18
|
const rangeSize = max - min;
|
|
@@ -2879,6 +2880,8 @@ var src_exports = /* @__PURE__ */ __exportAll({
|
|
|
2879
2880
|
DragControls: () => DragControls,
|
|
2880
2881
|
InView: () => InView,
|
|
2881
2882
|
LayoutGroup: () => LayoutGroup,
|
|
2883
|
+
MEMORY_ATTRIBUTE: () => MEMORY_ATTRIBUTE,
|
|
2884
|
+
MEMORY_HOOK_SUFFIX: () => MEMORY_HOOK_SUFFIX,
|
|
2882
2885
|
MotionConfig: () => MotionConfig,
|
|
2883
2886
|
MotionModifier: () => MotionModifier,
|
|
2884
2887
|
MotionNode: () => MotionNode,
|
|
@@ -2902,6 +2905,7 @@ var src_exports = /* @__PURE__ */ __exportAll({
|
|
|
2902
2905
|
inView: () => inView,
|
|
2903
2906
|
inertia: () => inertia,
|
|
2904
2907
|
instantLayoutTransition: () => instantLayoutTransition,
|
|
2908
|
+
keepAsMemory: () => keepAsMemory,
|
|
2905
2909
|
layoutChange: () => layoutChange,
|
|
2906
2910
|
layoutLoopDetected: () => layoutLoopDetected,
|
|
2907
2911
|
motion: () => MotionModifier,
|
|
@@ -2910,6 +2914,7 @@ var src_exports = /* @__PURE__ */ __exportAll({
|
|
|
2910
2914
|
onMotionSpeed: () => onMotionSpeed,
|
|
2911
2915
|
perValue: () => perValue,
|
|
2912
2916
|
postRender: () => postRender,
|
|
2917
|
+
readAnimations: () => readAnimations,
|
|
2913
2918
|
registerBusyProbe: () => registerBusyProbe,
|
|
2914
2919
|
requestSettle: () => requestSettle,
|
|
2915
2920
|
resetLayoutLoopGuard: () => resetLayoutLoopGuard,
|
|
@@ -2928,6 +2933,7 @@ var src_exports = /* @__PURE__ */ __exportAll({
|
|
|
2928
2933
|
styleEffect: () => styleEffect,
|
|
2929
2934
|
styles: () => styles,
|
|
2930
2935
|
to: () => to,
|
|
2936
|
+
trackScrolls: () => trackScrolls,
|
|
2931
2937
|
transformValue: () => transformValue,
|
|
2932
2938
|
transformViewBoxPoint: () => transformViewBoxPoint,
|
|
2933
2939
|
tween: () => tween,
|
|
@@ -4,8 +4,8 @@ import { et as tracked } from "./cache-DtDz7X5V-Wn8jRDfL.js";
|
|
|
4
4
|
import "./tracking-CNiq91Pk.js";
|
|
5
5
|
import { r as modifier } from "./dist-nMt-N14r.js";
|
|
6
6
|
import "./steps-D0xobKkB.js";
|
|
7
|
-
import { x as registerBeacon } from "./run-
|
|
8
|
-
import "./choreo-
|
|
7
|
+
import { x as registerBeacon } from "./run-CfyzhBXb.js";
|
|
8
|
+
import "./choreo-CIrop3HM.js";
|
|
9
9
|
//#region ../choreo/src/arming.ts
|
|
10
10
|
/**
|
|
11
11
|
* Arming — "a scene change is under way", as a value a host can read.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { E as at, T as after, w as toMs, y as StepComponent } from "./steps-D0xobKkB.js";
|
|
2
|
-
import { a as easeInAndOut, c as createArming, i as easeIn, n as toLocal, o as easeOut, r as toPage, s as beacon, t as appliedCamera } from "./src-
|
|
3
|
-
import { a as closestChoreo, i as choreoHostById, l as registerSettle, r as choreoHostAt, x as registerBeacon } from "./run-
|
|
4
|
-
import { t as Choreo } from "./choreo-
|
|
2
|
+
import { a as easeInAndOut, c as createArming, i as easeIn, n as toLocal, o as easeOut, r as toPage, s as beacon, t as appliedCamera } from "./src-D8bpj2tb.js";
|
|
3
|
+
import { a as closestChoreo, i as choreoHostById, l as registerSettle, r as choreoHostAt, x as registerBeacon } from "./run-CfyzhBXb.js";
|
|
4
|
+
import { t as Choreo } from "./choreo-CIrop3HM.js";
|
|
5
5
|
export { Choreo, StepComponent, after, appliedCamera, at, beacon, choreoHostAt, choreoHostById, closestChoreo, createArming, easeIn, easeInAndOut, easeOut, registerBeacon, registerSettle, toLocal, toMs, toPage };
|
|
@@ -5,13 +5,13 @@ import "./component-BJO47HTh.js";
|
|
|
5
5
|
import { t as Component } from "./dist-CkA1rgqO.js";
|
|
6
6
|
import "./template-factory-ds9s0u8l.js";
|
|
7
7
|
import { T as settled } from "./dist-BOAdzfkP.js";
|
|
8
|
-
import "./src-
|
|
9
|
-
import { l as registerSettle } from "./run-
|
|
10
|
-
import { t as Choreo } from "./choreo-
|
|
8
|
+
import "./src-D8bpj2tb.js";
|
|
9
|
+
import { l as registerSettle } from "./run-CfyzhBXb.js";
|
|
10
|
+
import { t as Choreo } from "./choreo-CIrop3HM.js";
|
|
11
11
|
import { t as StickToBottom } from "./stick-to-bottom-CPppJpG4.js";
|
|
12
12
|
import { t as require_qunit } from "./qunit-C-Foo4Nd.js";
|
|
13
13
|
import { lt as setupRenderingTest } from "./mock-matrix-Ci72h1Wf.js";
|
|
14
|
-
import {
|
|
14
|
+
import { i as setupChoreo } from "./test-support-xTaMuaOA.js";
|
|
15
15
|
import { n as renderComponent } from "./render-component-B15Z0e2v.js";
|
|
16
16
|
//#region tests/integration/components/5df621897f.css
|
|
17
17
|
var import_qunit = /* @__PURE__ */ __toESM(require_qunit());
|
|
@@ -11,7 +11,7 @@ import { n as tracked, t as cached } from "./tracking-800VJb8b.js";
|
|
|
11
11
|
import "./template-factory-ds9s0u8l.js";
|
|
12
12
|
import { n as getCardCollection } from "./card-collection-DROiEsNV.js";
|
|
13
13
|
import { n as getCard } from "./card-resource-BF1P-sI3.js";
|
|
14
|
-
import { t as OperatorModeContainer } from "./container-
|
|
14
|
+
import { t as OperatorModeContainer } from "./container-CXZoEvul.js";
|
|
15
15
|
import { M as waitUntil, T as settled, a as find, d as click, o as waitFor, r as typeIn } from "./dist-BOAdzfkP.js";
|
|
16
16
|
import { t as require_qunit } from "./qunit-C-Foo4Nd.js";
|
|
17
17
|
import { $ as withSavesHeldOpen, F as setupLocalIndexing, I as setupOnSave, L as setupRealmCacheTeardown, M as setupCardLogs, P as setupIntegrationTestRealm, Z as withCachedRealmSetup, et as withSlowSave, lt as setupRenderingTest, ot as setupOperatorModeStateCleanup, t as setupMockMatrix, vt as registerDefaultRoutes, yt as registerRealmServerRoute } from "./mock-matrix-Ci72h1Wf.js";
|
|
@@ -15,6 +15,7 @@ import { n as isPresent, r as isBlank, t as isEqual } from "./is-equal-CgIVjIN-.
|
|
|
15
15
|
import { i as hasPendingWaiters, r as getPendingWaiterState } from "./dist-CSQ-y1Ft.js";
|
|
16
16
|
import { c as getTemplates, d as setTemplates, f as _impl, h as Test, p as pendingRequests$1 } from "./es-B1dO8RuH.js";
|
|
17
17
|
import { a as resetUngroupedLayoutWarning, f as layoutLoopDetected, h as resetLayoutLoopGuard, rn as whatIsBusy, tn as isMotionIdle, x as rootProjectionNode, yt as frame } from "./layout-group-BS0gklZp.js";
|
|
18
|
+
import { t as MEMORY_ATTRIBUTE } from "./memory-B73-H_Rp.js";
|
|
18
19
|
import { i as setMotionSpeed } from "./speed-bIo0tyrM.js";
|
|
19
20
|
import { a as ArrayProxy, r as PromiseProxyMixin, t as ObjectProxy } from "./proxy-Br6ueHyJ.js";
|
|
20
21
|
//#region ../../node_modules/.pnpm/@ember+test-helpers@4.0.5_@babel+core@7.29.7_supports-color@8.1.1__@glint+template@1.7._fcb78a00e2f6dcea9a6af61b0dbaa8a6/node_modules/@ember/test-helpers/dist/has-ember-version.js
|
|
@@ -1572,8 +1573,9 @@ registerHook("typeIn", "start", (target, text) => {
|
|
|
1572
1573
|
* anything. See src/activity.ts.
|
|
1573
1574
|
*/
|
|
1574
1575
|
var nextFrame = () => new Promise((resolve) => frame.postRender(() => resolve()));
|
|
1576
|
+
var testRoot = () => document.querySelector("#ember-testing") ?? document.body;
|
|
1575
1577
|
/** the box QUnit renders the test into; every measurement here is relative to it */
|
|
1576
|
-
var container = () => (
|
|
1578
|
+
var container = () => testRoot().getBoundingClientRect();
|
|
1577
1579
|
/**
|
|
1578
1580
|
* getBoundingClientRect(), relative to `#ember-testing`.
|
|
1579
1581
|
*
|
|
@@ -1621,6 +1623,27 @@ function boundsAndShape(element) {
|
|
|
1621
1623
|
};
|
|
1622
1624
|
}
|
|
1623
1625
|
/**
|
|
1626
|
+
* The first LIVE match for `selector`: never a memory, a leaver kept on screen
|
|
1627
|
+
* while its exit plays (a `<Presence @mode="snapshot">` copy, a leaver in a
|
|
1628
|
+
* `<Choreo>` orphan layer).
|
|
1629
|
+
*
|
|
1630
|
+
* A memory's test hooks carry a suffix (`data-test-title-memory`), so a
|
|
1631
|
+
* selector made of test hooks already matches only live elements. Any other
|
|
1632
|
+
* selector (a class, a role, a tag) can match a memory as well as whatever
|
|
1633
|
+
* replaced it, and a bare `querySelector` can answer with the memory: an
|
|
1634
|
+
* element whose component has already been torn down, which is inert, and
|
|
1635
|
+
* whose box is where the old scene stood. Clicking it does nothing; measuring
|
|
1636
|
+
* it measures the past. Neither failure names itself. Such a query, made while
|
|
1637
|
+
* an exit may still be playing, should come through here.
|
|
1638
|
+
*/
|
|
1639
|
+
function live(selector, root = testRoot()) {
|
|
1640
|
+
return liveAll(selector, root)[0] ?? null;
|
|
1641
|
+
}
|
|
1642
|
+
/** every live match for `selector`, in document order: see `live()` */
|
|
1643
|
+
function liveAll(selector, root = testRoot()) {
|
|
1644
|
+
return [...root.querySelectorAll(selector)].filter((el) => !el.closest(`[${MEMORY_ATTRIBUTE}]`));
|
|
1645
|
+
}
|
|
1646
|
+
/**
|
|
1624
1647
|
* Resolve when every motion element, layout animation and <Choreo> timeline in
|
|
1625
1648
|
* the document has stopped.
|
|
1626
1649
|
*
|
|
@@ -1715,4 +1738,4 @@ function unblockLayout() {
|
|
|
1715
1738
|
rootProjectionNode.current?.unblockUpdate?.();
|
|
1716
1739
|
}
|
|
1717
1740
|
//#endregion
|
|
1718
|
-
export {
|
|
1741
|
+
export { liveAll as a, setupMotion as c, settled as d, live as i, shape as l, bounds as n, registerMotionReset as o, boundsAndShape as r, resetMotion as s, animationsSettled as t, velocityOf as u };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { a as liveAll, i as live } from "./test-support-BOFeeYuE.js";
|
|
2
|
+
import { a as strandedTransforms, i as setupChoreo, n as orphanCount, r as seekTo, t as advanceGate } from "./test-support-xTaMuaOA.js";
|
|
3
|
+
export { advanceGate, live, liveAll, orphanCount, seekTo, setupChoreo, strandedTransforms };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { rn as whatIsBusy, tn as isMotionIdle } from "./layout-group-BS0gklZp.js";
|
|
2
|
+
import { a as liveAll, c as setupMotion, i as live, l as shape, n as bounds, o as registerMotionReset, r as boundsAndShape, s as resetMotion, t as animationsSettled, u as velocityOf } from "./test-support-BOFeeYuE.js";
|
|
3
|
+
export { animationsSettled, bounds, boundsAndShape, isMotionIdle, live, liveAll, registerMotionReset, resetMotion, setupMotion, shape, velocityOf, whatIsBusy };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./chunk-Rp0pCe6z.js";
|
|
2
2
|
import { yt as frame } from "./layout-group-BS0gklZp.js";
|
|
3
|
-
import {
|
|
4
|
-
import { S as resetBeacons, t as activeRuns, u as resetBarrier, v as resetGestures } from "./run-
|
|
5
|
-
import {
|
|
3
|
+
import { h as visualElementStore } from "./node-BWOLCOMI.js";
|
|
4
|
+
import { S as resetBeacons, t as activeRuns, u as resetBarrier, v as resetGestures } from "./run-CfyzhBXb.js";
|
|
5
|
+
import { c as setupMotion, d as settled, o as registerMotionReset, t as animationsSettled } from "./test-support-BOFeeYuE.js";
|
|
6
6
|
//#region ../choreo/src/test-support/index.ts
|
|
7
7
|
/**
|
|
8
8
|
* @cardstack/choreo/test-support — how a test drives and checks <Choreo>.
|
|
@@ -61,29 +61,6 @@ function orphanCount(root = testRoot()) {
|
|
|
61
61
|
return [...root.querySelectorAll("[data-choreo-orphans]")].reduce((n, layer) => n + layer.children.length, 0);
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
|
-
* The first LIVE match for `selector` — the copy that is still part of the
|
|
65
|
-
* rendered tree, never a leaver parked in a region's orphan layer.
|
|
66
|
-
*
|
|
67
|
-
* Mid-crossing an identity exists twice: the arriving element in the live
|
|
68
|
-
* tree, and the departing skin the region locked into `[data-choreo-orphans]`
|
|
69
|
-
* so it can be flown and faded. That layer is the region's FIRST child, so a
|
|
70
|
-
* bare `querySelector` answers with the ghost — an element whose component
|
|
71
|
-
* has already been torn down, whose listeners are gone, and whose box is
|
|
72
|
-
* where the OLD scene stood. Clicking it does nothing; measuring it measures
|
|
73
|
-
* the past. Neither failure names itself.
|
|
74
|
-
*
|
|
75
|
-
* So any assertion or interaction a test performs while a crossing may be
|
|
76
|
-
* aloft should come through here. A raised sprite (`c.Raise`) is deliberately
|
|
77
|
-
* still live: it is the real element on a different layer, not a copy.
|
|
78
|
-
*/
|
|
79
|
-
function live(selector, root = testRoot()) {
|
|
80
|
-
return liveAll(selector, root)[0] ?? null;
|
|
81
|
-
}
|
|
82
|
-
/** every live match for `selector`, in document order — see `live()` */
|
|
83
|
-
function liveAll(selector, root = testRoot()) {
|
|
84
|
-
return [...root.querySelectorAll(selector)].filter((el) => !el.closest("[data-choreo-orphans]"));
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
64
|
* Elements still wearing a transform that nothing is animating.
|
|
88
65
|
*
|
|
89
66
|
* The identity spellings (`translateX(0px)`, `scale(1)`) are rest: the engine
|
|
@@ -117,4 +94,4 @@ function isFollower(el) {
|
|
|
117
94
|
return Boolean(lead?.instance?.isConnected);
|
|
118
95
|
}
|
|
119
96
|
//#endregion
|
|
120
|
-
export {
|
|
97
|
+
export { strandedTransforms as a, setupChoreo as i, orphanCount as n, seekTo as r, advanceGate as t };
|