@cardstack/boxel-cli 0.12.0 → 0.13.0-unstable.1
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/base/command.gts +4 -4
- package/bundled-realms/base/realm-api-keys.gts +35 -3
- 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-DxxsXNXe.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-BEvPLshl.js} +8 -8
- 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-B_gcWqxF.js} +1 -1
- package/bundled-test-harness/assets/{bundled-base-DldokUSJ.js → bundled-base-CYD5iFX3.js} +3 -3
- package/bundled-test-harness/assets/{bundled-base-modules-test-VAlRx4t3.js → bundled-base-modules-test-bO7yZysu.js} +1 -1
- package/bundled-test-harness/assets/{can-invoke-test-BGmUJHxo.js → can-invoke-test-BBTE4_cE.js} +1 -1
- package/bundled-test-harness/assets/{card-chooser-paging-test-CzooKL4I.js → card-chooser-paging-test-14IqQei3.js} +1 -1
- package/bundled-test-harness/assets/{card-chooser-test-C3fjaDYi.js → card-chooser-test-CRg2JrXQ.js} +1 -1
- package/bundled-test-harness/assets/{card-def-field-def-relationships-test-yqv8ir8Y.js → card-def-field-def-relationships-test-BapYGyoB.js} +1 -1
- package/bundled-test-harness/assets/{card-delete-test-BtjqrqKO.js → card-delete-test-CvbDQUUE.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-j4ES37-L.js} +1 -1
- package/bundled-test-harness/assets/{compaction-test-D1G3KCSe.js → compaction-test-CyhMODxy.js} +1 -1
- package/bundled-test-harness/assets/{container-BCOmNUou.css → container-CAEYXGQg.css} +179 -155
- package/bundled-test-harness/assets/{container-XSX5809v.js → container-CATqNgYF.js} +20 -19
- package/bundled-test-harness/assets/{create-listing-modal-test--oGT9P_F.js → create-listing-modal-test-QmWcm9hl.js} +1 -1
- package/bundled-test-harness/assets/{debug-message-test-C8UZUtCt.js → debug-message-test-D-4Dcu8y.js} +1 -1
- package/bundled-test-harness/assets/{externals--YMzwHwd.js → externals-Cw0MmkHM.js} +38 -38
- package/bundled-test-harness/assets/{fallback-banner-live-delete-test-DPK_coJY.js → fallback-banner-live-delete-test-Bzqw4uMs.js} +1 -1
- package/bundled-test-harness/assets/{fallback-banner-test-C2wi6Lu6.js → fallback-banner-test-BMQVK4gy.js} +1 -1
- package/bundled-test-harness/assets/{fallback-models-test-SqdXWB1Z.js → fallback-models-test-DkdjPwvA.js} +1 -1
- package/bundled-test-harness/assets/{file-attachment-test-DT0HK6yS.js → file-attachment-test-yvR5gw9_.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-D2j4JhrD.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-DFkm037X.js} +1 -1
- package/bundled-test-harness/assets/{instance-filter-matcher-test-CNIzKZvP.js → instance-filter-matcher-test-UqB2Rto8.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-CM62YtMN.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-CDXxio0B.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-C_CaTJ0F.js} +1 -1
- package/bundled-test-harness/assets/{operator-mode-card-chooser-test-Bo5ZnF_x.js → operator-mode-card-chooser-test-CU5f7q6r.js} +1 -1
- package/bundled-test-harness/assets/{operator-mode-links-test-DVx_LQOU.js → operator-mode-links-test-CoeF3prV.js} +1 -1
- package/bundled-test-harness/assets/{operator-mode-test-CCbFrYgN.js → operator-mode-test-B9c6N5FF.js} +1 -1
- package/bundled-test-harness/assets/{operator-mode-ui-test-Dm2Bf6Vn.js → operator-mode-ui-test-CJQxypf_.js} +1 -1
- package/bundled-test-harness/assets/{overlay-menu-items-test-Bk5AidFD.js → overlay-menu-items-test-CFWZ-tzq.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-7FgLJlog.js} +1 -1
- package/bundled-test-harness/assets/{permission-checking-realm-test-CuImx8ie.js → permission-checking-realm-test-Cm9eB-hE.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-DrqgCLlM.js} +1 -1
- package/bundled-test-harness/assets/{realm-api-keys-Tlj0OK1c.css → realm-api-keys-16eN_yJb.css} +35 -25
- package/bundled-test-harness/assets/{realm-api-keys-sg--fohv.js → realm-api-keys-ZJedocgl.js} +11 -5
- package/bundled-test-harness/assets/realm-api-keys-m-EOSWuV.js +2 -0
- package/bundled-test-harness/assets/{realm-api-keys-test-mrgvnhFJ.js → realm-api-keys-test-Ba_1CKJu.js} +3 -5
- package/bundled-test-harness/assets/{realm-api-keys-test-Cy7qSoAd.js → realm-api-keys-test-jXscHLbS.js} +1 -1
- package/bundled-test-harness/assets/{realm-config-DvpP1xf-.js → realm-config-DIOozzdQ.js} +1 -1
- package/bundled-test-harness/assets/{realm-config-policy-standing-test-DJk-ftgH.js → realm-config-policy-standing-test-DEFQEEvl.js} +1 -1
- package/bundled-test-harness/assets/{realm-config-routing-rule-edit-test-CTPiJrAL.js → realm-config-routing-rule-edit-test-CtLYsxzq.js} +1 -1
- package/bundled-test-harness/assets/{realm-config-settings-test-CUa-PjMC.js → realm-config-settings-test-Dsatuv-T.js} +1 -1
- package/bundled-test-harness/assets/{reasoning-test-CeeGGwvf.js → reasoning-test-3p_PygAV.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/{schema-generation-test-De1eamwr.js → schema-generation-test-hkFzUr7-.js} +1 -1
- package/bundled-test-harness/assets/{scrolling-test-C7R0UASi.js → scrolling-test-B8CudFE9.js} +2 -2
- package/bundled-test-harness/assets/{searchable-option-test-BiOqxIIs.js → searchable-option-test-B8lZyJij.js} +1 -1
- package/bundled-test-harness/assets/{sending-test-DOXQ0Tvx.js → sending-test-BtH1z2uE.js} +1 -1
- package/bundled-test-harness/assets/{skills-test-BjCYI4Z_.js → skills-test-DIQvoCLm.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-DoHgyfQA.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-DXX9TrgY.js} +759 -750
- package/bundled-test-harness/assets/{text-input-validator-test-CW6Ay7bo.js → text-input-validator-test-D56aDP2e.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-Ug8UnlUl.js} +1 -1
- package/bundled-test-harness/assets/{token-usage-test-Ck9rB3Ie.js → token-usage-test-BolKbZVL.js} +1 -1
- package/bundled-test-harness/assets/{tools-DRCjAZCp.js → tools-CkouX4wE.js} +1 -1
- package/bundled-test-harness/assets/{tools-test-B3zniq10.js → tools-test-CdYgRu5Z.js} +1 -1
- package/bundled-test-harness/assets/{turn-settling-test-C0X6hL7x.js → turn-settling-test-CS0PlpTg.js} +1 -1
- package/bundled-test-harness/assets/{turn-summary-0XOoAv3j.js → turn-summary-CAZVdcBd.js} +1 -1
- package/bundled-test-harness/assets/{unshare-key-Dfy1IK9g.js → unshare-key-W_bNI_MF.js} +0 -1
- package/bundled-test-harness/index.html +29 -28
- package/bundled-test-harness/tests/index.html +29 -28
- package/bundled-types/base/command.d.ts +0 -1
- 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/operator-mode/dashboard/add-workspace.gts +5 -3
- package/bundled-types/host-app/components/operator-mode/dashboard/archived-workspace.gts +3 -5
- package/bundled-types/host-app/components/operator-mode/dashboard/catalog-shelf.gts +24 -7
- package/bundled-types/host-app/components/operator-mode/dashboard/workspace.gts +9 -4
- package/bundled-types/host-app/components/pill-menu/index.gts +74 -23
- package/bundled-types/host-app/lib/key-shares.ts +0 -1
- package/bundled-types/host-app/tools/get-key-share-usage.ts +0 -1
- package/dist/index.js +161 -161
- package/package.json +1 -1
- package/src/commands/keys/manage.ts +22 -6
- package/src/lib/user-keys.ts +18 -5
- 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
|
@@ -5,7 +5,7 @@ import { H as templateFactory } from "./index-DaCZcoCY-CgzbilMy.js";
|
|
|
5
5
|
import "./component-BJO47HTh.js";
|
|
6
6
|
import { t as Component } from "./dist-CkA1rgqO.js";
|
|
7
7
|
import "./template-factory-ds9s0u8l.js";
|
|
8
|
-
import { t as OperatorModeContainer } from "./container-
|
|
8
|
+
import { t as OperatorModeContainer } from "./container-CATqNgYF.js";
|
|
9
9
|
import { M as waitUntil, d as click, o as waitFor } from "./dist-BOAdzfkP.js";
|
|
10
10
|
import { t as require_qunit } from "./qunit-C-Foo4Nd.js";
|
|
11
11
|
import { 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";
|
|
@@ -6,7 +6,7 @@ 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 { t as OperatorModeContainer } from "./container-
|
|
9
|
+
import { t as OperatorModeContainer } from "./container-CATqNgYF.js";
|
|
10
10
|
import { M as waitUntil, T as settled, c as triggerKeyEvent, d as click, f as focus, l as triggerEvent, o as waitFor, s as fillIn } from "./dist-BOAdzfkP.js";
|
|
11
11
|
import { t as require_qunit } from "./qunit-C-Foo4Nd.js";
|
|
12
12
|
import { Ct as getTestRealmRegistry, 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";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { t as Clip } from "./clip-
|
|
2
|
-
import { C as clipWindow, S as clipLanes, T as resolveClips, _ as lerp, a as chapterHeads, b as rgba, c as joinInto, d as tailFor, f as totalSecs, g as hex, h as clamp01, i as beatStart, l as schedule, m as RAD, n as Seam, o as contents, p as waypoints, r as TICK, s as cues, t as Film, u as secsBefore, v as luminance, w as resolveClip, x as smooth, y as mmss } from "./film-
|
|
1
|
+
import { t as Clip } from "./clip-Cm32sLyn.js";
|
|
2
|
+
import { C as clipWindow, S as clipLanes, T as resolveClips, _ as lerp, a as chapterHeads, b as rgba, c as joinInto, d as tailFor, f as totalSecs, g as hex, h as clamp01, i as beatStart, l as schedule, m as RAD, n as Seam, o as contents, p as waypoints, r as TICK, s as cues, t as Film, u as secsBefore, v as luminance, w as resolveClip, x as smooth, y as mmss } from "./film-Z87hSVo_.js";
|
|
3
3
|
import { C as collectGraph, S as Voice, _ as Stamp, a as Freeze, b as Type, d as Mark, f as PatchComponent, g as Spine, h as Sky, i as Eye, l as JoinInto, m as Shot, n as Chapter, o as GraphNodeComponent, p as Sequence, s as Insert, t as Attach, u as Lineup, v as To, x as Video, y as Trace } from "./nodes-BH4FGkKK.js";
|
|
4
4
|
import { a as IFRAME_PICTURE, c as Mix, d as Sun, f as Weather, i as Filter, l as SOUND, n as Build, o as Light, p as Winter, s as Look, t as Adjustment, u as Set } from "./adjust--n_OTVbP.js";
|
|
5
5
|
import { n as VOCABULARY, r as compileGraph, t as FilmGraph } from "./host-KVk6VIHI.js";
|
|
6
6
|
import { a as Iris, c as Luma, d as STILL_JOINS, f as Wipe, h as seamShape, i as Flash, l as Melt, m as retire, n as Blur, o as JOIN_SECS, p as inGlass, r as Dip, s as Joins, t as Blend, u as PRESENTATIONS } from "./joins-D_xzMJAJ.js";
|
|
7
|
-
import { i as Track, n as Insert$1, r as Stamp$1, t as Captions } from "./overlays-
|
|
8
|
-
import { t as Plate } from "./plate-
|
|
9
|
-
import { n as Menu, r as Player, t as Burst } from "./player-
|
|
7
|
+
import { i as Track, n as Insert$1, r as Stamp$1, t as Captions } from "./overlays-DZXjQykn.js";
|
|
8
|
+
import { t as Plate } from "./plate-Cu5EnXQZ.js";
|
|
9
|
+
import { n as Menu, r as Player, t as Burst } from "./player-CVdsx7Ng.js";
|
|
10
10
|
import { t as Rail } from "./rail-CQ53Dakr.js";
|
|
11
|
-
import { n as Gate, t as EndCard } from "./titles-
|
|
11
|
+
import { n as Gate, t as EndCard } from "./titles-BUbpcMoe.js";
|
|
12
12
|
import { t as IframePicture } from "./picture-DbNWRbtX.js";
|
|
13
13
|
export { Adjustment, Blend, Blur, Build, Burst, Captions, Clip, Dip, EndCard, Eye, Film, FilmGraph, Filter, Flash, Freeze, Gate, Attach as GraphAttach, Chapter as GraphChapter, Insert as GraphInsert, GraphNodeComponent, Stamp as GraphStamp, IFRAME_PICTURE, IframePicture, Insert$1 as Insert, Iris, JOIN_SECS, JoinInto, Joins, Light, Lineup, Look, Luma, Mark, Melt, Menu, Mix, PRESENTATIONS, PatchComponent, Plate, Player, RAD, Rail, SOUND, STILL_JOINS, Seam, Sequence, Set, Shot, Sky, Spine, Stamp$1 as Stamp, Sun, TICK, To, Trace, Track, Type, VOCABULARY, Video, Voice, Weather, Winter, Wipe, beatStart, chapterHeads, clamp01, clipLanes, clipWindow, collectGraph, compileGraph, contents, cues, hex, inGlass, joinInto, lerp, luminance, mmss, resolveClip, resolveClips, retire, rgba, schedule, seamShape, secsBefore, smooth, tailFor, totalSecs, waypoints };
|
|
@@ -8,18 +8,18 @@ import "./component-BJO47HTh.js";
|
|
|
8
8
|
import { t as Component } from "./dist-CkA1rgqO.js";
|
|
9
9
|
import "./template-factory-ds9s0u8l.js";
|
|
10
10
|
import { r as modifier } from "./dist-nMt-N14r.js";
|
|
11
|
-
import "./src-
|
|
12
|
-
import { t as MotionModifier } from "./motion-
|
|
11
|
+
import "./src-CbBcj3xm.js";
|
|
12
|
+
import { t as MotionModifier } from "./motion-BiMvMS08.js";
|
|
13
13
|
import { E as at } from "./steps-D0xobKkB.js";
|
|
14
|
-
import { t as Choreo } from "./choreo-
|
|
15
|
-
import { t as Clip } from "./clip-
|
|
14
|
+
import { t as Choreo } from "./choreo-CIrop3HM.js";
|
|
15
|
+
import { t as Clip } from "./clip-Cm32sLyn.js";
|
|
16
16
|
import { n as VOCABULARY, t as FilmGraph } from "./host-KVk6VIHI.js";
|
|
17
17
|
import { h as seamShape, p as inGlass, s as Joins, u as PRESENTATIONS } from "./joins-D_xzMJAJ.js";
|
|
18
|
-
import { i as Track, n as Insert, r as Stamp, t as Captions } from "./overlays-
|
|
19
|
-
import { t as Plate } from "./plate-
|
|
20
|
-
import { n as Menu, r as Player, t as Burst } from "./player-
|
|
18
|
+
import { i as Track, n as Insert, r as Stamp, t as Captions } from "./overlays-DZXjQykn.js";
|
|
19
|
+
import { t as Plate } from "./plate-Cu5EnXQZ.js";
|
|
20
|
+
import { n as Menu, r as Player, t as Burst } from "./player-CVdsx7Ng.js";
|
|
21
21
|
import { t as Rail } from "./rail-CQ53Dakr.js";
|
|
22
|
-
import { n as Gate, t as EndCard } from "./titles-
|
|
22
|
+
import { n as Gate, t as EndCard } from "./titles-BUbpcMoe.js";
|
|
23
23
|
//#region ../choreo/src/film/clips.ts
|
|
24
24
|
/**
|
|
25
25
|
* CLIPS — a source-time window over the film's clock.
|
|
@@ -9,7 +9,7 @@ import "./template-factory-ds9s0u8l.js";
|
|
|
9
9
|
import { t as templateOnly } from "./template-only-6nVzLWF-.js";
|
|
10
10
|
import { t as parseHtmlContent } from "./utils-B5fmeXrR.js";
|
|
11
11
|
import { M as waitUntil, T as settled, h as render } from "./dist-BOAdzfkP.js";
|
|
12
|
-
import { t as FormattedAiBotMessage } from "./aibot-message-
|
|
12
|
+
import { t as FormattedAiBotMessage } from "./aibot-message-Dg5nzE1b.js";
|
|
13
13
|
import { t as require_qunit } from "./qunit-C-Foo4Nd.js";
|
|
14
14
|
import { lt as setupRenderingTest } from "./mock-matrix-Ci72h1Wf.js";
|
|
15
15
|
import { r as getService } from "./dist-CPfIHBla.js";
|
|
@@ -6,7 +6,7 @@ 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 { t as OperatorModeContainer } from "./container-
|
|
9
|
+
import { t as OperatorModeContainer } from "./container-CATqNgYF.js";
|
|
10
10
|
import { M as waitUntil, T as settled, a as find, d as click, l as triggerEvent, o as waitFor, s as fillIn } from "./dist-BOAdzfkP.js";
|
|
11
11
|
import { t as require_qunit } from "./qunit-C-Foo4Nd.js";
|
|
12
12
|
import { D as realmConfigCardJSON, Et as percySnapshot, F as setupLocalIndexing, I as setupOnSave, M as setupCardLogs, P as setupIntegrationTestRealm, R as setupRealmServerEndpoints, S as getMonacoContent, k as setMonacoContent, lt as setupRenderingTest, ot as setupOperatorModeStateCleanup, t as setupMockMatrix } from "./mock-matrix-Ci72h1Wf.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[(globalThis.__boxelAssetsURL||"/")+"assets/src-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[(globalThis.__boxelAssetsURL||"/")+"assets/src-CEw1V0fi.js",(globalThis.__boxelAssetsURL||"/")+"assets/src-CbBcj3xm.js",(globalThis.__boxelAssetsURL||"/")+"assets/chunk-Rp0pCe6z.js",(globalThis.__boxelAssetsURL||"/")+"assets/runtime--fcdnjmJ-BoCBNIsz.js",(globalThis.__boxelAssetsURL||"/")+"assets/dist-nMt-N14r.js",(globalThis.__boxelAssetsURL||"/")+"assets/cache-DtDz7X5V-Wn8jRDfL.js",(globalThis.__boxelAssetsURL||"/")+"assets/owner-CP0__uFm.js",(globalThis.__boxelAssetsURL||"/")+"assets/debug-Dg0TiPYl.js",(globalThis.__boxelAssetsURL||"/")+"assets/validator-T25d_ucg.js",(globalThis.__boxelAssetsURL||"/")+"assets/application-VoCE-EjL.js",(globalThis.__boxelAssetsURL||"/")+"assets/service-LFpJ8EEP.js",(globalThis.__boxelAssetsURL||"/")+"assets/computed_cache-DmYKevAP-DyWE_fcK.js",(globalThis.__boxelAssetsURL||"/")+"assets/index-DaCZcoCY-CgzbilMy.js",(globalThis.__boxelAssetsURL||"/")+"assets/owner-BT6cj890.js",(globalThis.__boxelAssetsURL||"/")+"assets/alias-CPqbuwcg-B1_trmq0.js",(globalThis.__boxelAssetsURL||"/")+"assets/destroyable-mdLYRn_o.js",(globalThis.__boxelAssetsURL||"/")+"assets/modifier-D0EP-FQ7.js",(globalThis.__boxelAssetsURL||"/")+"assets/tracking-CNiq91Pk.js",(globalThis.__boxelAssetsURL||"/")+"assets/node-BWOLCOMI.js",(globalThis.__boxelAssetsURL||"/")+"assets/layout-group-BS0gklZp.js",(globalThis.__boxelAssetsURL||"/")+"assets/dist-CkA1rgqO.js",(globalThis.__boxelAssetsURL||"/")+"assets/component-BJO47HTh.js",(globalThis.__boxelAssetsURL||"/")+"assets/managers-CbMgnSoo-yzoWKLy4.js",(globalThis.__boxelAssetsURL||"/")+"assets/template-factory-ds9s0u8l.js",(globalThis.__boxelAssetsURL||"/")+"assets/resolve-transition-CVjf7YAq.js",(globalThis.__boxelAssetsURL||"/")+"assets/motion-config-BbHByW3a.js",(globalThis.__boxelAssetsURL||"/")+"assets/speed-bIo0tyrM.js",(globalThis.__boxelAssetsURL||"/")+"assets/item-CBEoTOyj.js",(globalThis.__boxelAssetsURL||"/")+"assets/motion-BiMvMS08.js",(globalThis.__boxelAssetsURL||"/")+"assets/memory-B73-H_Rp.js",(globalThis.__boxelAssetsURL||"/")+"assets/presence-BKkR2au7.js",(globalThis.__boxelAssetsURL||"/")+"assets/group-DL-b_Hzj.js",(globalThis.__boxelAssetsURL||"/")+"assets/layout-group-c7PX1fQs.js",(globalThis.__boxelAssetsURL||"/")+"assets/motion-config-BczpMH0l.js",(globalThis.__boxelAssetsURL||"/")+"assets/presence-CcEXVges.js",(globalThis.__boxelAssetsURL||"/")+"assets/group-Cgg5RLul.js",(globalThis.__boxelAssetsURL||"/")+"assets/item-Bu9hhPf2.js",(globalThis.__boxelAssetsURL||"/")+"assets/test-support-CgWmpebE.js",(globalThis.__boxelAssetsURL||"/")+"assets/test-support-BOFeeYuE.js",(globalThis.__boxelAssetsURL||"/")+"assets/dist-CSQ-y1Ft.js",(globalThis.__boxelAssetsURL||"/")+"assets/es-compat2-CZCbH4TS.js",(globalThis.__boxelAssetsURL||"/")+"assets/es-B1dO8RuH.js",(globalThis.__boxelAssetsURL||"/")+"assets/proxy-Br6ueHyJ.js",(globalThis.__boxelAssetsURL||"/")+"assets/is-equal-CgIVjIN-.js",(globalThis.__boxelAssetsURL||"/")+"assets/src-Df4Vutrk.js",(globalThis.__boxelAssetsURL||"/")+"assets/steps-D0xobKkB.js",(globalThis.__boxelAssetsURL||"/")+"assets/src-D8bpj2tb.js",(globalThis.__boxelAssetsURL||"/")+"assets/run-CfyzhBXb.js",(globalThis.__boxelAssetsURL||"/")+"assets/choreo-CIrop3HM.js",(globalThis.__boxelAssetsURL||"/")+"assets/choreo-Ca2Y2sF3.js",(globalThis.__boxelAssetsURL||"/")+"assets/steps-aNa4m6PJ.js",(globalThis.__boxelAssetsURL||"/")+"assets/test-support-CXESl4Wf.js",(globalThis.__boxelAssetsURL||"/")+"assets/test-support-xTaMuaOA.js",(globalThis.__boxelAssetsURL||"/")+"assets/film-9V69qBWw.js",(globalThis.__boxelAssetsURL||"/")+"assets/clip-Cm32sLyn.js",(globalThis.__boxelAssetsURL||"/")+"assets/helper-BHX0HLF2.js",(globalThis.__boxelAssetsURL||"/")+"assets/film-Z87hSVo_.js",(globalThis.__boxelAssetsURL||"/")+"assets/host-KVk6VIHI.js",(globalThis.__boxelAssetsURL||"/")+"assets/adjust--n_OTVbP.js",(globalThis.__boxelAssetsURL||"/")+"assets/nodes-BH4FGkKK.js",(globalThis.__boxelAssetsURL||"/")+"assets/joins-D_xzMJAJ.js",(globalThis.__boxelAssetsURL||"/")+"assets/overlays-DZXjQykn.js",(globalThis.__boxelAssetsURL||"/")+"assets/plate-Cu5EnXQZ.js",(globalThis.__boxelAssetsURL||"/")+"assets/player-CVdsx7Ng.js",(globalThis.__boxelAssetsURL||"/")+"assets/rail-CQ53Dakr.js",(globalThis.__boxelAssetsURL||"/")+"assets/titles-BUbpcMoe.js",(globalThis.__boxelAssetsURL||"/")+"assets/picture-DbNWRbtX.js",(globalThis.__boxelAssetsURL||"/")+"assets/clip--wioup_3.js",(globalThis.__boxelAssetsURL||"/")+"assets/film-h1N8vUjG.js",(globalThis.__boxelAssetsURL||"/")+"assets/adjust-tbcBqG-n.js",(globalThis.__boxelAssetsURL||"/")+"assets/host-DMN-E78f.js",(globalThis.__boxelAssetsURL||"/")+"assets/nodes-Cb9jGNmV.js",(globalThis.__boxelAssetsURL||"/")+"assets/joins-CFhtaZ7U.js",(globalThis.__boxelAssetsURL||"/")+"assets/overlays-hrAO43jG.js",(globalThis.__boxelAssetsURL||"/")+"assets/picture-CPj4Wgsy.js",(globalThis.__boxelAssetsURL||"/")+"assets/plate-CnatwP3n.js",(globalThis.__boxelAssetsURL||"/")+"assets/player-Bwn5tEsh.js",(globalThis.__boxelAssetsURL||"/")+"assets/rail-CFPU0tFe.js",(globalThis.__boxelAssetsURL||"/")+"assets/titles-D80DwOQU.js",(globalThis.__boxelAssetsURL||"/")+"assets/src-DOKnNfG8.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
import { s as __toESM } from "./chunk-Rp0pCe6z.js";
|
|
3
3
|
import { Hr as testRealmURL } from "./runtime-common-DDGDdNb5.js";
|
|
4
4
|
import { t as __vitePreload } from "./preload-helper-CKDH5-7N.js";
|
|
5
5
|
import { M as waitUntil, d as click } from "./dist-BOAdzfkP.js";
|
|
6
6
|
import { rn as whatIsBusy } from "./layout-group-BS0gklZp.js";
|
|
7
|
-
import "./src-
|
|
8
|
-
import { i as choreoHostById } from "./run-
|
|
7
|
+
import "./src-D8bpj2tb.js";
|
|
8
|
+
import { i as choreoHostById } from "./run-CfyzhBXb.js";
|
|
9
9
|
import { t as require_qunit } from "./qunit-C-Foo4Nd.js";
|
|
10
10
|
import { F as setupLocalIndexing, M as setupCardLogs, P as setupIntegrationTestRealm, lt as setupRenderingTest, t as setupMockMatrix } from "./mock-matrix-Ci72h1Wf.js";
|
|
11
11
|
import { r as getService } from "./dist-CPfIHBla.js";
|
|
12
|
-
import { t as animationsSettled } from "./test-support-
|
|
13
|
-
import {
|
|
12
|
+
import { t as animationsSettled } from "./test-support-BOFeeYuE.js";
|
|
13
|
+
import { i as setupChoreo } from "./test-support-xTaMuaOA.js";
|
|
14
14
|
import { t as renderCard } from "./render-component-B15Z0e2v.js";
|
|
15
15
|
//#region tests/integration/glimmer-motion-and-choreo-in-cards-test.gts
|
|
16
16
|
var import_qunit = /* @__PURE__ */ __toESM(require_qunit());
|
|
@@ -99,9 +99,9 @@ var motionCardsSource = `
|
|
|
99
99
|
await renderIsolated("ChoreoStage");
|
|
100
100
|
await animationsSettled();
|
|
101
101
|
await click("[data-test-hide]");
|
|
102
|
-
assert.dom("[data-choreo-orphans] [data-test-leaver]").exists("the removed element moves to the orphan layer for its exit");
|
|
102
|
+
assert.dom("[data-choreo-orphans] [data-test-leaver-memory]").exists("the removed element moves to the orphan layer for its exit");
|
|
103
103
|
await animationsSettled();
|
|
104
|
-
assert.dom("[data-test-leaver]").doesNotExist("it unmounts when its exit ends");
|
|
104
|
+
assert.dom("[data-test-leaver-memory]").doesNotExist("it unmounts when its exit ends");
|
|
105
105
|
});
|
|
106
106
|
(0, import_qunit.test)("a card driving a style from glimmer-motion's motionValue re-export", async function(assert) {
|
|
107
107
|
await renderIsolated("BoundOpacity");
|
|
@@ -113,31 +113,31 @@ var motionCardsSource = `
|
|
|
113
113
|
});
|
|
114
114
|
(0, import_qunit.test)("cards get the host’s own module objects", async function(assert) {
|
|
115
115
|
let shims = [
|
|
116
|
-
["glimmer-motion", () => __vitePreload(() => import("./src-
|
|
117
|
-
["glimmer-motion/layout-group", () => __vitePreload(() => import("./layout-group-c7PX1fQs.js"), __vite__mapDeps([
|
|
118
|
-
["glimmer-motion/motion-config", () => __vitePreload(() => import("./motion-config-BczpMH0l.js"), __vite__mapDeps([
|
|
119
|
-
["glimmer-motion/presence", () => __vitePreload(() => import("./presence-
|
|
120
|
-
["glimmer-motion/reorder/group", () => __vitePreload(() => import("./group-
|
|
121
|
-
["glimmer-motion/reorder/item", () => __vitePreload(() => import("./item-
|
|
122
|
-
["glimmer-motion/test-support", () => __vitePreload(() => import("./test-support-
|
|
123
|
-
["@cardstack/choreo", () => __vitePreload(() => import("./src-
|
|
124
|
-
["@cardstack/choreo/choreo", () => __vitePreload(() => import("./choreo-
|
|
125
|
-
["@cardstack/choreo/steps", () => __vitePreload(() => import("./steps-aNa4m6PJ.js"), __vite__mapDeps([
|
|
126
|
-
["@cardstack/choreo/test-support", () => __vitePreload(() => import("./test-support-
|
|
127
|
-
["@cardstack/choreo/film", () => __vitePreload(() => import("./film-
|
|
128
|
-
["@cardstack/choreo/film/clip", () => __vitePreload(() => import("./clip
|
|
129
|
-
["@cardstack/choreo/film/film", () => __vitePreload(() => import("./film-
|
|
130
|
-
["@cardstack/choreo/film/graph/adjust", () => __vitePreload(() => import("./adjust-tbcBqG-n.js"), __vite__mapDeps([
|
|
131
|
-
["@cardstack/choreo/film/graph/host", () => __vitePreload(() => import("./host-DMN-E78f.js"), __vite__mapDeps([
|
|
132
|
-
["@cardstack/choreo/film/graph/nodes", () => __vitePreload(() => import("./nodes-Cb9jGNmV.js"), __vite__mapDeps([
|
|
133
|
-
["@cardstack/choreo/film/joins", () => __vitePreload(() => import("./joins-CFhtaZ7U.js"), __vite__mapDeps([
|
|
134
|
-
["@cardstack/choreo/film/overlays", () => __vitePreload(() => import("./overlays-
|
|
135
|
-
["@cardstack/choreo/film/picture", () => __vitePreload(() => import("./picture-CPj4Wgsy.js"), __vite__mapDeps([
|
|
136
|
-
["@cardstack/choreo/film/plate", () => __vitePreload(() => import("./plate-
|
|
137
|
-
["@cardstack/choreo/film/player", () => __vitePreload(() => import("./player-
|
|
138
|
-
["@cardstack/choreo/film/rail", () => __vitePreload(() => import("./rail-CFPU0tFe.js"), __vite__mapDeps([
|
|
139
|
-
["@cardstack/choreo/film/titles", () => __vitePreload(() => import("./titles-
|
|
140
|
-
["@cardstack/choreo-player", () => __vitePreload(() => import("./src-DOKnNfG8.js"), __vite__mapDeps([
|
|
116
|
+
["glimmer-motion", () => __vitePreload(() => import("./src-CEw1V0fi.js"), __vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]), import.meta.url)],
|
|
117
|
+
["glimmer-motion/layout-group", () => __vitePreload(() => import("./layout-group-c7PX1fQs.js"), __vite__mapDeps([32,19,2,20,10,5,6,7,8,11,21,12,13,14,22,15,3,4,9,16,23,17,24]), import.meta.url)],
|
|
118
|
+
["glimmer-motion/motion-config", () => __vitePreload(() => import("./motion-config-BczpMH0l.js"), __vite__mapDeps([33,25,2,20,10,5,6,7,8,11,21,12,13,14,22,15,4,9,16,23,24]), import.meta.url)],
|
|
119
|
+
["glimmer-motion/presence", () => __vitePreload(() => import("./presence-CcEXVges.js"), __vite__mapDeps([34,30,2,20,10,5,6,7,8,11,21,12,13,14,22,15,3,23,17,18,19,4,9,16,24,25,26,29]), import.meta.url)],
|
|
120
|
+
["glimmer-motion/reorder/group", () => __vitePreload(() => import("./group-Cgg5RLul.js"), __vite__mapDeps([35,31,2,20,10,5,6,7,8,11,21,12,13,14,22,15,3,4,9,16,23,17,18,19,24,25,26,28]), import.meta.url)],
|
|
121
|
+
["glimmer-motion/reorder/item", () => __vitePreload(() => import("./item-Bu9hhPf2.js"), __vite__mapDeps([36,27,2,20,10,5,6,7,8,11,21,12,13,14,22,15,23,18,19,3,4,9,16,17,24,25,26,28]), import.meta.url)],
|
|
122
|
+
["glimmer-motion/test-support", () => __vitePreload(() => import("./test-support-CgWmpebE.js"), __vite__mapDeps([37,38,2,39,7,40,41,10,5,6,8,11,12,13,14,9,42,15,23,43,22,19,20,21,3,4,16,17,24,29,26]), import.meta.url)],
|
|
123
|
+
["@cardstack/choreo", () => __vitePreload(() => import("./src-Df4Vutrk.js"), __vite__mapDeps([44,45,2,20,10,5,6,7,8,11,21,12,13,14,22,15,4,9,16,23,46,3,17,47,1,18,19,24,25,26,27,28,29,30,31,48]), import.meta.url)],
|
|
124
|
+
["@cardstack/choreo/choreo", () => __vitePreload(() => import("./choreo-Ca2Y2sF3.js"), __vite__mapDeps([49,48,2,20,10,5,6,7,8,11,21,12,13,14,22,15,3,4,9,16,23,17,1,18,19,24,25,26,27,28,29,30,31,45,47]), import.meta.url)],
|
|
125
|
+
["@cardstack/choreo/steps", () => __vitePreload(() => import("./steps-aNa4m6PJ.js"), __vite__mapDeps([50,45,2,20,10,5,6,7,8,11,21,12,13,14,22,15,4,9,16,23]), import.meta.url)],
|
|
126
|
+
["@cardstack/choreo/test-support", () => __vitePreload(() => import("./test-support-CXESl4Wf.js"), __vite__mapDeps([51,38,2,39,7,40,41,10,5,6,8,11,12,13,14,9,42,15,23,43,22,19,20,21,3,4,16,17,24,29,26,52,18,25,47,1,27,28,30,31]), import.meta.url)],
|
|
127
|
+
["@cardstack/choreo/film", () => __vitePreload(() => import("./film-9V69qBWw.js"), __vite__mapDeps([53,54,2,20,10,5,6,7,8,11,21,12,13,14,22,15,55,23,1,3,4,9,16,17,18,19,24,25,26,27,28,29,30,31,48,45,47,56,57,58,59,60,61,62,63,64,65,66]), import.meta.url)],
|
|
128
|
+
["@cardstack/choreo/film/clip", () => __vitePreload(() => import("./clip--wioup_3.js"), __vite__mapDeps([67,54,2,20,10,5,6,7,8,11,21,12,13,14,22,15,55,23,1,3,4,9,16,17,18,19,24,25,26,27,28,29,30,31,48,45,47]), import.meta.url)],
|
|
129
|
+
["@cardstack/choreo/film/film", () => __vitePreload(() => import("./film-h1N8vUjG.js"), __vite__mapDeps([68,56,2,20,10,5,6,7,8,11,21,12,13,14,22,15,3,4,9,16,23,17,1,18,19,24,25,26,27,28,29,30,31,45,48,47,54,55,57,58,59,60,61,62,63,64,65]), import.meta.url)],
|
|
130
|
+
["@cardstack/choreo/film/graph/adjust", () => __vitePreload(() => import("./adjust-tbcBqG-n.js"), __vite__mapDeps([69,58,2,59,20,10,5,6,7,8,11,21,12,13,14,22,15,4,9,16,23]), import.meta.url)],
|
|
131
|
+
["@cardstack/choreo/film/graph/host", () => __vitePreload(() => import("./host-DMN-E78f.js"), __vite__mapDeps([70,57,2,20,10,5,6,7,8,11,21,12,13,14,22,15,4,9,16,23,58,59]), import.meta.url)],
|
|
132
|
+
["@cardstack/choreo/film/graph/nodes", () => __vitePreload(() => import("./nodes-Cb9jGNmV.js"), __vite__mapDeps([71,59,2,20,10,5,6,7,8,11,21,12,13,14,22,15,4,9,16,23]), import.meta.url)],
|
|
133
|
+
["@cardstack/choreo/film/joins", () => __vitePreload(() => import("./joins-CFhtaZ7U.js"), __vite__mapDeps([72,60,2,20,10,5,6,7,8,11,21,12,13,14,22,15,4,9,16,23]), import.meta.url)],
|
|
134
|
+
["@cardstack/choreo/film/overlays", () => __vitePreload(() => import("./overlays-hrAO43jG.js"), __vite__mapDeps([73,61,2,20,10,5,6,7,8,11,21,12,13,14,22,15,16,23,1,3,4,9,17,18,19,24,25,26,27,28,29,30,31,48,45,47]), import.meta.url)],
|
|
135
|
+
["@cardstack/choreo/film/picture", () => __vitePreload(() => import("./picture-CPj4Wgsy.js"), __vite__mapDeps([74,66,2,20,10,5,6,7,8,11,21,12,13,14,22,15,4,9,16,23,58,59]), import.meta.url)],
|
|
136
|
+
["@cardstack/choreo/film/plate", () => __vitePreload(() => import("./plate-CnatwP3n.js"), __vite__mapDeps([75,62,2,20,10,5,6,7,8,11,21,12,13,14,22,15,55,23,1,3,4,9,16,17,18,19,24,25,26,27,28,29,30,31,48,45,47]), import.meta.url)],
|
|
137
|
+
["@cardstack/choreo/film/player", () => __vitePreload(() => import("./player-Bwn5tEsh.js"), __vite__mapDeps([76,63,2,20,10,5,6,7,8,11,21,12,13,14,22,15,55,16,23,1,3,4,9,17,18,19,24,25,26,27,28,29,30,31,48,45,47]), import.meta.url)],
|
|
138
|
+
["@cardstack/choreo/film/rail", () => __vitePreload(() => import("./rail-CFPU0tFe.js"), __vite__mapDeps([77,64,2,20,10,5,6,7,8,11,21,12,13,14,22,15,55,16,23]), import.meta.url)],
|
|
139
|
+
["@cardstack/choreo/film/titles", () => __vitePreload(() => import("./titles-D80DwOQU.js"), __vite__mapDeps([78,65,2,20,10,5,6,7,8,11,21,12,13,14,22,15,23,1,3,4,9,16,17,18,19,24,25,26,27,28,29,30,31,48,45,47]), import.meta.url)],
|
|
140
|
+
["@cardstack/choreo-player", () => __vitePreload(() => import("./src-DOKnNfG8.js"), __vite__mapDeps([79,2]), import.meta.url)]
|
|
141
141
|
];
|
|
142
142
|
for (let [specifier, importFromHost] of shims) {
|
|
143
143
|
let cardModule = await loader.import(specifier);
|
|
@@ -9,14 +9,14 @@ import { n as tracked } from "./tracking-800VJb8b.js";
|
|
|
9
9
|
import "./template-factory-ds9s0u8l.js";
|
|
10
10
|
import { t as templateOnly } from "./template-only-6nVzLWF-.js";
|
|
11
11
|
import { T as settled, a as find, h as render } from "./dist-BOAdzfkP.js";
|
|
12
|
-
import "./src-
|
|
13
|
-
import { t as MotionModifier } from "./motion-
|
|
14
|
-
import "./src-
|
|
15
|
-
import { t as Choreo } from "./choreo-
|
|
12
|
+
import "./src-CbBcj3xm.js";
|
|
13
|
+
import { t as MotionModifier } from "./motion-BiMvMS08.js";
|
|
14
|
+
import "./src-D8bpj2tb.js";
|
|
15
|
+
import { t as Choreo } from "./choreo-CIrop3HM.js";
|
|
16
16
|
import { t as require_qunit } from "./qunit-C-Foo4Nd.js";
|
|
17
17
|
import { lt as setupRenderingTest } from "./mock-matrix-Ci72h1Wf.js";
|
|
18
|
-
import { t as animationsSettled } from "./test-support-
|
|
19
|
-
import {
|
|
18
|
+
import { t as animationsSettled } from "./test-support-BOFeeYuE.js";
|
|
19
|
+
import { i as setupChoreo } from "./test-support-xTaMuaOA.js";
|
|
20
20
|
//#region tests/integration/components/glimmer-motion-and-choreo-test.gts
|
|
21
21
|
var import_qunit = /* @__PURE__ */ __toESM(require_qunit());
|
|
22
22
|
(0, import_qunit.module)("Integration | glimmer-motion and choreo", function(hooks) {
|
|
@@ -47,8 +47,8 @@ var import_qunit = /* @__PURE__ */ __toESM(require_qunit());
|
|
|
47
47
|
}
|
|
48
48
|
static {
|
|
49
49
|
setComponentTemplate(templateFactory({
|
|
50
|
-
"id": "
|
|
51
|
-
"block": "[[[8,[32,0],null,null,[[\"default\"],[[[[1,\"\\n\"],[41,[30,0,[\"show\"]],[[[1,\" \"],[11,0],[24
|
|
50
|
+
"id": "fG+8h+c4",
|
|
51
|
+
"block": "[[[8,[32,0],null,null,[[\"default\"],[[[[1,\"\\n\"],[41,[30,0,[\"show\"]],[[[1,\" \"],[11,0],[24,\"data-test-id\",\"leaver\"],[4,[32,1],null,[[\"id\",\"role\"],[\"leaver\",\"card\"]]],[12],[1,\"Leaver\"],[13],[1,\"\\n\"]],[]],null],[1,\" \"],[8,[30,1,[\"Tween\"]],null,[[\"@of\",\"@opacity\",\"@duration\"],[[28,[30,1,[\"removed\"]],[\"card\"],null],0,0.05]],null],[1,\"\\n\"]],[1]]]]]],[\"c\"],[\"if\"]]",
|
|
52
52
|
"moduleName": "/home/runner/work/boxel/boxel/packages/host/tests/integration/components/glimmer-motion-and-choreo-test.gts",
|
|
53
53
|
"scope": () => [Choreo, MotionModifier],
|
|
54
54
|
"isStrictMode": true
|
|
@@ -66,9 +66,9 @@ var import_qunit = /* @__PURE__ */ __toESM(require_qunit());
|
|
|
66
66
|
await animationsSettled();
|
|
67
67
|
stage.show = false;
|
|
68
68
|
await settled();
|
|
69
|
-
assert.dom("[data-choreo-orphans]
|
|
69
|
+
assert.dom("[data-choreo-orphans] [data-test-id-memory=\"leaver\"]").exists("the removed element moves to the orphan layer for its exit");
|
|
70
70
|
await animationsSettled();
|
|
71
|
-
assert.dom("
|
|
71
|
+
assert.dom("[data-test-id-memory=\"leaver\"]").doesNotExist("it unmounts when its exit ends");
|
|
72
72
|
});
|
|
73
73
|
});
|
|
74
74
|
//#endregion
|
|
@@ -9,8 +9,8 @@ import { t as Component } from "./dist-CkA1rgqO.js";
|
|
|
9
9
|
import "./template-factory-ds9s0u8l.js";
|
|
10
10
|
import { r as modifier } from "./dist-nMt-N14r.js";
|
|
11
11
|
import { o as snapshotOnRender, v as postRender } from "./layout-group-BS0gklZp.js";
|
|
12
|
-
import {
|
|
13
|
-
import { t as MotionModifier } from "./motion-
|
|
12
|
+
import { f as checkReorder, p as detectAxis } from "./node-BWOLCOMI.js";
|
|
13
|
+
import { t as MotionModifier } from "./motion-BiMvMS08.js";
|
|
14
14
|
//#region ../glimmer-motion/src/reorder/capture.ts
|
|
15
15
|
/** React's ref on the group element */
|
|
16
16
|
var captureGroup = modifier((el, [ref]) => {
|
|
@@ -4,7 +4,7 @@ import { Es as FilterRefersToNonexistentTypeError, Fa as maybeHandleScopedCSSReq
|
|
|
4
4
|
import { w as rri } from "./paths-4AIbQADn.js";
|
|
5
5
|
import { O as baseRealm, rt as baseRealmRRI } from "./constants-4hDiBQYp.js";
|
|
6
6
|
import { t as config } from "./environment-DIUJgBKt.js";
|
|
7
|
-
import { t as shimExternals } from "./externals
|
|
7
|
+
import { t as shimExternals } from "./externals-Cw0MmkHM.js";
|
|
8
8
|
import { t as require_qunit } from "./qunit-C-Foo4Nd.js";
|
|
9
9
|
import { at as setupIndex, b as getDbAdapter, it as serializeCard, rt as getTypes } from "./mock-matrix-Ci72h1Wf.js";
|
|
10
10
|
import { t as p } from "./helpers-BWlX0JrK.js";
|
|
@@ -4,7 +4,7 @@ import { Fa as maybeHandleScopedCSSRequest, G as makeInstanceComparator, Hr as t
|
|
|
4
4
|
import { w as rri } from "./paths-4AIbQADn.js";
|
|
5
5
|
import { O as baseRealm } from "./constants-4hDiBQYp.js";
|
|
6
6
|
import { t as config } from "./environment-DIUJgBKt.js";
|
|
7
|
-
import { t as shimExternals } from "./externals
|
|
7
|
+
import { t as shimExternals } from "./externals-Cw0MmkHM.js";
|
|
8
8
|
import { t as require_qunit } from "./qunit-C-Foo4Nd.js";
|
|
9
9
|
import "./mock-matrix-Ci72h1Wf.js";
|
|
10
10
|
import { t as p } from "./helpers-BWlX0JrK.js";
|
|
@@ -5,8 +5,8 @@ import "./component-BJO47HTh.js";
|
|
|
5
5
|
import { t as Component } from "./dist-CkA1rgqO.js";
|
|
6
6
|
import "./template-factory-ds9s0u8l.js";
|
|
7
7
|
import { H as collectMotionValues, R as isMotionValue, U as motionValue, vt as cancelFrame, yt as frame } from "./layout-group-BS0gklZp.js";
|
|
8
|
-
import {
|
|
9
|
-
import { t as MotionModifier } from "./motion-
|
|
8
|
+
import { d as autoScrollIfNeeded, m as resetAutoScrollState } from "./node-BWOLCOMI.js";
|
|
9
|
+
import { t as MotionModifier } from "./motion-BiMvMS08.js";
|
|
10
10
|
//#region ../../node_modules/.pnpm/motion-dom@13.5.0/node_modules/motion-dom/dist/es/value/subscribe-value.mjs
|
|
11
11
|
function subscribeValue(inputValues, outputValue, getLatest) {
|
|
12
12
|
const update = () => outputValue.set(getLatest());
|
package/bundled-test-harness/assets/{markdown-preview-BItI_AEl.js → markdown-preview-D_QssEOi.js}
RENAMED
|
@@ -13,7 +13,7 @@ import { c as eq, it as cn_default } from "./helpers-ICHGzkFF.js";
|
|
|
13
13
|
import { dt as ButtonComponent } from "./components-BDPSqiPt.js";
|
|
14
14
|
import { r as modifier } from "./dist-nMt-N14r.js";
|
|
15
15
|
import { t as CardRenderer } from "./card-renderer-BxpiPOZ6.js";
|
|
16
|
-
import { t as RenderedMarkdown } from "./rendered-markdown-
|
|
16
|
+
import { t as RenderedMarkdown } from "./rendered-markdown-DPEXS7MQ.js";
|
|
17
17
|
//#region app/components/operator-mode/preview-panel/markdown-preview.gts
|
|
18
18
|
var MarkdownPreview = class extends Component {
|
|
19
19
|
static {
|
|
@@ -8,7 +8,7 @@ import "./component-BJO47HTh.js";
|
|
|
8
8
|
import { t as Component } from "./dist-CkA1rgqO.js";
|
|
9
9
|
import "./template-factory-ds9s0u8l.js";
|
|
10
10
|
import { T as settled, d as click, o as waitFor } from "./dist-BOAdzfkP.js";
|
|
11
|
-
import { t as MarkdownPreview } from "./markdown-preview-
|
|
11
|
+
import { t as MarkdownPreview } from "./markdown-preview-D_QssEOi.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
14
|
import { r as getService } from "./dist-CPfIHBla.js";
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import "./chunk-Rp0pCe6z.js";
|
|
2
|
+
//#region ../glimmer-motion/src/memory.ts
|
|
3
|
+
/**
|
|
4
|
+
* A memory: an element that has left, kept on screen for as long as its exit
|
|
5
|
+
* plays. `<Presence @mode="snapshot">` keeps a copy of its leaver as one, and
|
|
6
|
+
* a layer that parks removed elements itself (Choreo's orphan layer) keeps
|
|
7
|
+
* each element it parks as one, so a leaver looks and behaves the same
|
|
8
|
+
* whichever layer let it go.
|
|
9
|
+
*
|
|
10
|
+
* A memory shows the frame its element last showed, and nothing in it acts:
|
|
11
|
+
*
|
|
12
|
+
* - Its CSS animations hold still. An element put back in the document
|
|
13
|
+
* restarts every stylesheet animation on it, so an entrance that had
|
|
14
|
+
* finished would play again while the element leaves. Each animation the
|
|
15
|
+
* element was showing pauses at the time it had reached, and any other (one
|
|
16
|
+
* that had finished, or one the re-insertion started) jumps to its end.
|
|
17
|
+
* Animations on a scroll timeline follow the restored scroll offsets. The
|
|
18
|
+
* engine's own animations are not stylesheet animations, and are left
|
|
19
|
+
* alone.
|
|
20
|
+
* - Its scroll offsets are restored: an element taken out of the document
|
|
21
|
+
* loses them.
|
|
22
|
+
* - Its backdrop filters are off. A backdrop filter re-samples whatever is
|
|
23
|
+
* behind it on every frame, at full price inside a moving, fading element,
|
|
24
|
+
* and what is behind a memory is the scene that replaced it.
|
|
25
|
+
* - It is composited as one texture (`will-change: transform, opacity`).
|
|
26
|
+
* That also makes it a stacking context, and the containing block of every
|
|
27
|
+
* positioned descendant, `position: fixed` included: a descendant that was
|
|
28
|
+
* placed against a box outside the element is placed against the memory.
|
|
29
|
+
* - It is inert and hidden from assistive technology.
|
|
30
|
+
* - Its HTML elements carry no ids, `autofocus` or form-control names. A
|
|
31
|
+
* duplicate id that comes first in the document is what `getElementById`
|
|
32
|
+
* and `<label for>` find, and a checked radio button joining the document
|
|
33
|
+
* unchecks the live one in its group. Its SVG elements keep their ids,
|
|
34
|
+
* which its own fills, clips, masks and `<use>` references resolve through.
|
|
35
|
+
* A reference resolves to the first element in the document with its id,
|
|
36
|
+
* so while a memory comes before its replacement (as one in Choreo's orphan
|
|
37
|
+
* layer, its region's first child, does), the replacement's `url(#id)` and
|
|
38
|
+
* `<use>` references resolve to the memory's definitions. Definitions that
|
|
39
|
+
* change as their element is replaced need an id per version. Its iframes
|
|
40
|
+
* are blank, and its media neither plays nor loads.
|
|
41
|
+
* - Its test hooks carry a suffix: `data-test-title` becomes
|
|
42
|
+
* `data-test-title-memory`, with its value. A test's selector finds only the
|
|
43
|
+
* live element, which is what replaced the leaver or nothing, and a test that
|
|
44
|
+
* means the leaver names it with the suffix. `live()` and `liveAll()` in
|
|
45
|
+
* `glimmer-motion/test-support` skip memories for every other selector.
|
|
46
|
+
* - Its classes and its other attributes stay, so it looks as its element
|
|
47
|
+
* did wherever its styles are keyed on them. A rule keyed on an id
|
|
48
|
+
* (`#panel`, `:target`) no longer reaches it, so an element that may leave
|
|
49
|
+
* is styled by class. A memory put back in its parent (a
|
|
50
|
+
* `<Presence @mode="snapshot">` copy) therefore still matches structural
|
|
51
|
+
* selectors that read the live scene: `:has()`, `+`, `~`, `:nth-child()`,
|
|
52
|
+
* `:empty`. A rule that should see only live content excludes it, as in
|
|
53
|
+
* `:has(.menu:not([data-motion-memory], [data-motion-memory] *))`.
|
|
54
|
+
*
|
|
55
|
+
* Custom elements in a memory are connected again, and run their
|
|
56
|
+
* `connectedCallback`.
|
|
57
|
+
*/
|
|
58
|
+
/** the attribute every memory carries */
|
|
59
|
+
var MEMORY_ATTRIBUTE = "data-motion-memory";
|
|
60
|
+
/** what a memory's `data-test-*` hooks are renamed with */
|
|
61
|
+
var MEMORY_HOOK_SUFFIX = "-memory";
|
|
62
|
+
/** a CSS animation on the document timeline that an element was showing */
|
|
63
|
+
/** what a subtree showed before the render that removed it, for its memory to show */
|
|
64
|
+
/** form controls whose name would join a live radio group or form submission */
|
|
65
|
+
var NAMED_CONTROLS = "input, select, textarea, button, fieldset, output, object, form, iframe";
|
|
66
|
+
/** the element and every element inside it, in document order */
|
|
67
|
+
function elementsOf(root) {
|
|
68
|
+
return [root, ...root.querySelectorAll("*")];
|
|
69
|
+
}
|
|
70
|
+
/** a stylesheet animation on the document timeline: a scroll-driven one follows its scroller instead */
|
|
71
|
+
function onDocumentTimeline(animation) {
|
|
72
|
+
return animation instanceof CSSAnimation && animation.timeline === document.timeline;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* The CSS animations on the document timeline that `root` and the elements
|
|
76
|
+
* inside it are showing, by the element each runs on. Read it while `root` is
|
|
77
|
+
* still in the document: a removed element has none.
|
|
78
|
+
*/
|
|
79
|
+
function readAnimations(root) {
|
|
80
|
+
const shown = /* @__PURE__ */ new Map();
|
|
81
|
+
for (const animation of root.getAnimations({ subtree: true })) {
|
|
82
|
+
const effect = animation.effect;
|
|
83
|
+
if (!onDocumentTimeline(animation) || !(effect instanceof KeyframeEffect) || !effect.target) continue;
|
|
84
|
+
const list = shown.get(effect.target) ?? [];
|
|
85
|
+
list.push({
|
|
86
|
+
finished: animation.playState === "finished",
|
|
87
|
+
name: animation.animationName,
|
|
88
|
+
pseudoElement: effect.pseudoElement,
|
|
89
|
+
time: Number(animation.currentTime ?? 0)
|
|
90
|
+
});
|
|
91
|
+
shown.set(effect.target, list);
|
|
92
|
+
}
|
|
93
|
+
return shown;
|
|
94
|
+
}
|
|
95
|
+
/** the scroll offsets of `root` and of every element inside it that is scrolled */
|
|
96
|
+
function readScrolls(root) {
|
|
97
|
+
const scrolls = /* @__PURE__ */ new Map();
|
|
98
|
+
for (const el of elementsOf(root)) if (el.scrollTop || el.scrollLeft) scrolls.set(el, {
|
|
99
|
+
top: el.scrollTop,
|
|
100
|
+
left: el.scrollLeft
|
|
101
|
+
});
|
|
102
|
+
return scrolls;
|
|
103
|
+
}
|
|
104
|
+
/** what `root` shows now. Read it while `root` is still in the document. */
|
|
105
|
+
function readShown(root) {
|
|
106
|
+
return {
|
|
107
|
+
animations: readAnimations(root),
|
|
108
|
+
scrolls: readScrolls(root)
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
/** what `original` showed, moved onto the matching elements of `copy`, a deep clone of it */
|
|
112
|
+
function shownOnCopy(shown, original, copy) {
|
|
113
|
+
const from = elementsOf(original);
|
|
114
|
+
const to = elementsOf(copy);
|
|
115
|
+
const animations = /* @__PURE__ */ new Map();
|
|
116
|
+
const scrolls = /* @__PURE__ */ new Map();
|
|
117
|
+
from.forEach((el, i) => {
|
|
118
|
+
const counterpart = to[i];
|
|
119
|
+
if (!counterpart) return;
|
|
120
|
+
const animation = shown.animations.get(el);
|
|
121
|
+
if (animation) animations.set(counterpart, animation);
|
|
122
|
+
const scroll = shown.scrolls.get(el);
|
|
123
|
+
if (scroll) scrolls.set(counterpart, scroll);
|
|
124
|
+
});
|
|
125
|
+
return {
|
|
126
|
+
animations,
|
|
127
|
+
scrolls
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Records the scroll offset of every element inside `root` as it scrolls. For
|
|
132
|
+
* a layer that learns which elements left only after the render that removed
|
|
133
|
+
* them, by when their offsets are gone.
|
|
134
|
+
*/
|
|
135
|
+
function trackScrolls(root) {
|
|
136
|
+
const scrolls = /* @__PURE__ */ new WeakMap();
|
|
137
|
+
const record = (event) => {
|
|
138
|
+
const el = event.target;
|
|
139
|
+
if (el instanceof Element) scrolls.set(el, {
|
|
140
|
+
top: el.scrollTop,
|
|
141
|
+
left: el.scrollLeft
|
|
142
|
+
});
|
|
143
|
+
};
|
|
144
|
+
root.addEventListener("scroll", record, {
|
|
145
|
+
capture: true,
|
|
146
|
+
passive: true
|
|
147
|
+
});
|
|
148
|
+
return {
|
|
149
|
+
scrolls,
|
|
150
|
+
stop: () => root.removeEventListener("scroll", record, { capture: true })
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
var memoryStyle;
|
|
154
|
+
function ensureMemoryStyle() {
|
|
155
|
+
if (memoryStyle?.isConnected) return;
|
|
156
|
+
const m = `[${MEMORY_ATTRIBUTE}]`;
|
|
157
|
+
memoryStyle = document.createElement("style");
|
|
158
|
+
memoryStyle.setAttribute("data-motion-memory-style", "");
|
|
159
|
+
memoryStyle.textContent = `${m},${m}::before,${m}::after,${m} *,${m} *::before,${m} *::after{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}`;
|
|
160
|
+
document.head.appendChild(memoryStyle);
|
|
161
|
+
}
|
|
162
|
+
/** nothing in a memory can be found by id or test hook, submitted, focused, loaded or played */
|
|
163
|
+
function neutralize(el) {
|
|
164
|
+
for (const name of el.getAttributeNames()) if (name === "data-test" || name.startsWith("data-test-")) {
|
|
165
|
+
el.setAttribute(`${name}${MEMORY_HOOK_SUFFIX}`, el.getAttribute(name));
|
|
166
|
+
el.removeAttribute(name);
|
|
167
|
+
}
|
|
168
|
+
if (!(el instanceof SVGElement)) el.removeAttribute("id");
|
|
169
|
+
el.removeAttribute("autofocus");
|
|
170
|
+
if (el.matches(NAMED_CONTROLS)) el.removeAttribute("name");
|
|
171
|
+
if (el instanceof HTMLIFrameElement) {
|
|
172
|
+
el.removeAttribute("srcdoc");
|
|
173
|
+
el.src = "about:blank";
|
|
174
|
+
} else if (el instanceof HTMLMediaElement) {
|
|
175
|
+
el.removeAttribute("autoplay");
|
|
176
|
+
el.preload = "none";
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
/** each stylesheet animation pauses where it was shown, or jumps to its end */
|
|
180
|
+
function holdAnimations(root, shown) {
|
|
181
|
+
for (const animation of root.getAnimations({ subtree: true })) {
|
|
182
|
+
const effect = animation.effect;
|
|
183
|
+
if (!onDocumentTimeline(animation) || !(effect instanceof KeyframeEffect)) continue;
|
|
184
|
+
const was = effect.target ? shown.get(effect.target)?.find((a) => a.name === animation.animationName && a.pseudoElement === effect.pseudoElement) : void 0;
|
|
185
|
+
try {
|
|
186
|
+
if (was && !was.finished) {
|
|
187
|
+
animation.pause();
|
|
188
|
+
animation.currentTime = was.time;
|
|
189
|
+
} else animation.finish();
|
|
190
|
+
} catch {
|
|
191
|
+
animation.cancel();
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Makes `root` a memory of what `shown` describes, and puts it back in the
|
|
197
|
+
* document with `insert`. Ids, form-control names and test hooks are changed
|
|
198
|
+
* before `insert` runs, so none of them joins the document even for a moment;
|
|
199
|
+
* scroll offsets and animations are restored after it, in the same task, so
|
|
200
|
+
* no frame shows them reset. Whatever is already in a memory (a leaver lifted
|
|
201
|
+
* out of one that left with it, a copy still fading inside a leaver) is put
|
|
202
|
+
* back and restored, and not changed twice.
|
|
203
|
+
*/
|
|
204
|
+
function keepAsMemory(root, shown, insert) {
|
|
205
|
+
ensureMemoryStyle();
|
|
206
|
+
const elements = elementsOf(root);
|
|
207
|
+
for (const el of elements) if (!el.closest(`[data-motion-memory]`)) neutralize(el);
|
|
208
|
+
root.setAttribute(MEMORY_ATTRIBUTE, "");
|
|
209
|
+
root.setAttribute("inert", "");
|
|
210
|
+
root.setAttribute("aria-hidden", "true");
|
|
211
|
+
root.style.willChange = "transform, opacity";
|
|
212
|
+
insert();
|
|
213
|
+
for (const el of elements) {
|
|
214
|
+
const scroll = shown.scrolls.get(el);
|
|
215
|
+
if (scroll) {
|
|
216
|
+
el.scrollTop = scroll.top;
|
|
217
|
+
el.scrollLeft = scroll.left;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
holdAnimations(root, shown.animations);
|
|
221
|
+
}
|
|
222
|
+
//#endregion
|
|
223
|
+
export { readAnimations as a, trackScrolls as c, keepAsMemory as i, MEMORY_HOOK_SUFFIX as n, readShown as o, elementsOf as r, shownOnCopy as s, MEMORY_ATTRIBUTE as t };
|
|
@@ -6,7 +6,7 @@ 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 { t as OperatorModeContainer } from "./container-
|
|
9
|
+
import { t as OperatorModeContainer } from "./container-CATqNgYF.js";
|
|
10
10
|
import { M as waitUntil, T as settled, d as click, o as waitFor } from "./dist-BOAdzfkP.js";
|
|
11
11
|
import { t as require_qunit } from "./qunit-C-Foo4Nd.js";
|
|
12
12
|
import { F as setupLocalIndexing, I as setupOnSave, L as setupRealmCacheTeardown, M as setupCardLogs, P as setupIntegrationTestRealm, Z as withCachedRealmSetup, a as SYSTEM_CARD_FIXTURE_CONTENTS, lt as setupRenderingTest, ot as setupOperatorModeStateCleanup, t as setupMockMatrix } from "./mock-matrix-Ci72h1Wf.js";
|
|
@@ -3,7 +3,7 @@ import { _t as schedule } from "./service-LFpJ8EEP.js";
|
|
|
3
3
|
import { n as registerDestructor } from "./destroyable-mdLYRn_o.js";
|
|
4
4
|
import { t as ClassBasedModifier } from "./dist-nMt-N14r.js";
|
|
5
5
|
import { y as setPostRender } from "./layout-group-BS0gklZp.js";
|
|
6
|
-
import { t as MotionNode } from "./node-
|
|
6
|
+
import { t as MotionNode } from "./node-BWOLCOMI.js";
|
|
7
7
|
//#region ../glimmer-motion/src/motion.ts
|
|
8
8
|
/**
|
|
9
9
|
* {{motion}} — motion.div for Glimmer: the ember-modifier shell around MotionNode (node.ts), which holds
|