@selvajs/selva 4.10.0 → 4.12.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/build/client/_app/immutable/assets/0.CmWZyqA4.css +2 -0
- package/build/client/_app/immutable/assets/0.CmWZyqA4.css.br +0 -0
- package/build/client/_app/immutable/assets/0.CmWZyqA4.css.gz +0 -0
- package/build/client/_app/immutable/chunks/0IIMU97L.js +1 -0
- package/build/client/_app/immutable/chunks/0IIMU97L.js.br +1 -0
- package/build/client/_app/immutable/chunks/0IIMU97L.js.gz +0 -0
- package/build/client/_app/immutable/chunks/2WpvH37P2.js +1 -0
- package/build/client/_app/immutable/chunks/2WpvH37P2.js.br +0 -0
- package/build/client/_app/immutable/chunks/2WpvH37P2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/8jWEL6tF2.js +1 -0
- package/build/client/_app/immutable/chunks/8jWEL6tF2.js.br +0 -0
- package/build/client/_app/immutable/chunks/8jWEL6tF2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BTJ8jaRT2.js +64 -0
- package/build/client/_app/immutable/chunks/BTJ8jaRT2.js.br +0 -0
- package/build/client/_app/immutable/chunks/BTJ8jaRT2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BZBiPp80.js +3 -0
- package/build/client/_app/immutable/chunks/BZBiPp80.js.br +0 -0
- package/build/client/_app/immutable/chunks/BZBiPp80.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BpuTIjgL2.js +1 -0
- package/build/client/_app/immutable/chunks/BpuTIjgL2.js.br +2 -0
- package/build/client/_app/immutable/chunks/BpuTIjgL2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BypRKqAi.js +1 -0
- package/build/client/_app/immutable/chunks/BypRKqAi.js.br +0 -0
- package/build/client/_app/immutable/chunks/BypRKqAi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C1yiVMly.js +1 -0
- package/build/client/_app/immutable/chunks/C1yiVMly.js.br +0 -0
- package/build/client/_app/immutable/chunks/C1yiVMly.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CNqF8353.js +1 -0
- package/build/client/_app/immutable/chunks/CNqF8353.js.br +0 -0
- package/build/client/_app/immutable/chunks/CNqF8353.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CVKxCwTO.js +2 -0
- package/build/client/_app/immutable/chunks/CVKxCwTO.js.br +0 -0
- package/build/client/_app/immutable/chunks/CVKxCwTO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DoKHi-MF.js +1 -0
- package/build/client/_app/immutable/chunks/DoKHi-MF.js.br +0 -0
- package/build/client/_app/immutable/chunks/DoKHi-MF.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.B-5AdYmG.js +2 -0
- package/build/client/_app/immutable/entry/app.B-5AdYmG.js.br +0 -0
- package/build/client/_app/immutable/entry/app.B-5AdYmG.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.Dqr7WryU.js +1 -0
- package/build/client/_app/immutable/entry/start.Dqr7WryU.js.br +0 -0
- package/build/client/_app/immutable/entry/start.Dqr7WryU.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.D7JvLd3D.js +1 -0
- package/build/client/_app/immutable/nodes/1.D7JvLd3D.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.D7JvLd3D.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.DCxZYq8X.js +3 -0
- package/build/client/_app/immutable/nodes/10.DCxZYq8X.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.DCxZYq8X.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.C7d3ym2Z.js +3 -0
- package/build/client/_app/immutable/nodes/11.C7d3ym2Z.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.C7d3ym2Z.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.PSLcsOOA.js +2 -0
- package/build/client/_app/immutable/nodes/13.PSLcsOOA.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.PSLcsOOA.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.CzwLvp_j.js +2 -0
- package/build/client/_app/immutable/nodes/14.CzwLvp_j.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.CzwLvp_j.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.BiTs6p0n.js +25 -0
- package/build/client/_app/immutable/nodes/15.BiTs6p0n.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.BiTs6p0n.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.Bd6wHhbA.js +4 -0
- package/build/client/_app/immutable/nodes/16.Bd6wHhbA.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.Bd6wHhbA.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.DykDtv52.js +2 -0
- package/build/client/_app/immutable/nodes/17.DykDtv52.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.DykDtv52.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.BnBjnGvH.js +7 -0
- package/build/client/_app/immutable/nodes/19.BnBjnGvH.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.BnBjnGvH.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.BHmMDFt8.js +1 -0
- package/build/client/_app/immutable/nodes/2.BHmMDFt8.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.BHmMDFt8.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.CFwn2iyY.js +2 -0
- package/build/client/_app/immutable/nodes/20.CFwn2iyY.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.CFwn2iyY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.D0brveVJ.js +5495 -0
- package/build/client/_app/immutable/nodes/21.D0brveVJ.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.D0brveVJ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/22.BtFGp3qO.js +6 -0
- package/build/client/_app/immutable/nodes/22.BtFGp3qO.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.BtFGp3qO.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.B0ncHIgK.js +16 -0
- package/build/client/_app/immutable/nodes/24.B0ncHIgK.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.B0ncHIgK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.D4zi5sZ1.js +6 -0
- package/build/client/_app/immutable/nodes/25.D4zi5sZ1.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.D4zi5sZ1.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.B1nPvaNB.js +4 -0
- package/build/client/_app/immutable/nodes/28.B1nPvaNB.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.B1nPvaNB.js.gz +0 -0
- package/build/client/_app/immutable/nodes/29.D7wtqOaX.js +4 -0
- package/build/client/_app/immutable/nodes/29.D7wtqOaX.js.br +0 -0
- package/build/client/_app/immutable/nodes/29.D7wtqOaX.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.iBxFH1b4.js +1 -0
- package/build/client/_app/immutable/nodes/3.iBxFH1b4.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.iBxFH1b4.js.gz +0 -0
- package/build/client/_app/immutable/nodes/30.DEvHD32y.js +2 -0
- package/build/client/_app/immutable/nodes/30.DEvHD32y.js.br +0 -0
- package/build/client/_app/immutable/nodes/30.DEvHD32y.js.gz +0 -0
- package/build/client/_app/immutable/nodes/31.CIs400Zi.js +2 -0
- package/build/client/_app/immutable/nodes/31.CIs400Zi.js.br +0 -0
- package/build/client/_app/immutable/nodes/31.CIs400Zi.js.gz +0 -0
- package/build/client/_app/immutable/nodes/33.DNvh3W8t.js +1 -0
- package/build/client/_app/immutable/nodes/33.DNvh3W8t.js.br +0 -0
- package/build/client/_app/immutable/nodes/33.DNvh3W8t.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.PnKxDfd7.js +1 -0
- package/build/client/_app/immutable/nodes/5.PnKxDfd7.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.PnKxDfd7.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.DqNcqf73.js +1 -0
- package/build/client/_app/immutable/nodes/6.DqNcqf73.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.DqNcqf73.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.djUjPqMx.js +1 -0
- package/build/client/_app/immutable/nodes/7.djUjPqMx.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.djUjPqMx.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.Ckjx9hvE.js +3 -0
- package/build/client/_app/immutable/nodes/8.Ckjx9hvE.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.Ckjx9hvE.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.Bnmihi3p.js +1 -0
- package/build/client/_app/immutable/nodes/9.Bnmihi3p.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.Bnmihi3p.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/handler.js +4 -4
- package/build/index.js +4 -4
- package/build/server/chunks/chunks/AppHeader.js-D9UdrNG0.js +272 -0
- package/build/server/chunks/chunks/AppHeader.js-D9UdrNG0.js.map +1 -0
- package/build/server/chunks/chunks/DefinitionCard.js-DzupU0AJ.js +256 -0
- package/build/server/chunks/chunks/DefinitionCard.js-DzupU0AJ.js.map +1 -0
- package/build/server/chunks/chunks/ErrorScreen.js-CrMdwSpx.js +123 -0
- package/build/server/chunks/chunks/ErrorScreen.js-CrMdwSpx.js.map +1 -0
- package/build/server/chunks/chunks/FilterableDropdown.js-CCa4gpEE.js +45 -0
- package/build/server/chunks/chunks/FilterableDropdown.js-CCa4gpEE.js.map +1 -0
- package/build/server/chunks/chunks/SideNav.js-Su8QVVE-.js +67 -0
- package/build/server/chunks/chunks/SideNav.js-Su8QVVE-.js.map +1 -0
- package/build/server/chunks/chunks/StatCard.js-D0F2chUp.js +51 -0
- package/build/server/chunks/chunks/StatCard.js-D0F2chUp.js.map +1 -0
- package/build/server/chunks/chunks/UserChip.js-Dcev_MGB.js +1162 -0
- package/build/server/chunks/chunks/UserChip.js-Dcev_MGB.js.map +1 -0
- package/build/server/chunks/chunks/access.server.js-BkVI6Vou.js +531 -0
- package/build/server/chunks/chunks/access.server.js-BkVI6Vou.js.map +1 -0
- package/build/server/chunks/chunks/access2.server.js-DYC7aaj8.js +20 -0
- package/build/server/chunks/chunks/access2.server.js-DYC7aaj8.js.map +1 -0
- package/build/server/chunks/chunks/activity.js--RZ2Glwe.js +15 -0
- package/build/server/chunks/chunks/activity.js--RZ2Glwe.js.map +1 -0
- package/build/server/chunks/chunks/admin-auth.server.js-Bmh7GHbv.js +175 -0
- package/build/server/chunks/chunks/admin-auth.server.js-Bmh7GHbv.js.map +1 -0
- package/build/server/chunks/chunks/admin-config.js-Cr7SNsgi.js +3 -0
- package/build/server/chunks/chunks/admin-config.js-Cr7SNsgi.js.map +1 -0
- package/build/server/chunks/chunks/alert-description.js-DfT_X1Es.js +45 -0
- package/build/server/chunks/chunks/alert-description.js-DfT_X1Es.js.map +1 -0
- package/build/server/chunks/chunks/alert-dialog.js-DRHDpRS4.js +462 -0
- package/build/server/chunks/chunks/alert-dialog.js-DRHDpRS4.js.map +1 -0
- package/build/server/chunks/chunks/api-errors.js-C9xGTbW6.js +138 -0
- package/build/server/chunks/chunks/api-errors.js-C9xGTbW6.js.map +1 -0
- package/build/server/chunks/chunks/arrow-left.js-DMipUu-P.js +15 -0
- package/build/server/chunks/chunks/arrow-left.js-DMipUu-P.js.map +1 -0
- package/build/server/chunks/chunks/arrow-right.js-H4VCf_Ar.js +15 -0
- package/build/server/chunks/chunks/arrow-right.js-H4VCf_Ar.js.map +1 -0
- package/build/server/chunks/chunks/auth-bootstrap.server.js-pHCS1V9v.js +152 -0
- package/build/server/chunks/chunks/auth-bootstrap.server.js-pHCS1V9v.js.map +1 -0
- package/build/server/chunks/chunks/auth.server.js-B4Idfxld.js +2 -0
- package/build/server/chunks/chunks/auth.server.js-B4Idfxld.js.map +1 -0
- package/build/server/chunks/chunks/badge.js-TVhRK92W.js +35 -0
- package/build/server/chunks/chunks/badge.js-TVhRK92W.js.map +1 -0
- package/build/server/chunks/chunks/bodies.js-C9rGU8lD.js +74 -0
- package/build/server/chunks/chunks/bodies.js-C9rGU8lD.js.map +1 -0
- package/build/server/chunks/chunks/bootHealth.server.js-Bt3mvZRa.js +89 -0
- package/build/server/chunks/chunks/bootHealth.server.js-Bt3mvZRa.js.map +1 -0
- package/build/server/chunks/chunks/building-2.js-C6vnYzZ1.js +21 -0
- package/build/server/chunks/chunks/building-2.js-C6vnYzZ1.js.map +1 -0
- package/build/server/chunks/chunks/button.js-qfNojzVh.js +71 -0
- package/build/server/chunks/chunks/button.js-qfNojzVh.js.map +1 -0
- package/build/server/chunks/chunks/card-content.js-BlYu7dHI.js +35 -0
- package/build/server/chunks/chunks/card-content.js-BlYu7dHI.js.map +1 -0
- package/build/server/chunks/chunks/card-description.js-JGjhDRos.js +20 -0
- package/build/server/chunks/chunks/card-description.js-JGjhDRos.js.map +1 -0
- package/build/server/chunks/chunks/card-title.js-CH4pJvz-.js +35 -0
- package/build/server/chunks/chunks/card-title.js-CH4pJvz-.js.map +1 -0
- package/build/server/chunks/chunks/check.js-CScjdT7t.js +15 -0
- package/build/server/chunks/chunks/check.js-CScjdT7t.js.map +1 -0
- package/build/server/chunks/chunks/chevron-down.js-D-VnQC_B.js +15 -0
- package/build/server/chunks/chunks/chevron-down.js-D-VnQC_B.js.map +1 -0
- package/build/server/chunks/chunks/chevron-right.js-CJpcaAs8.js +15 -0
- package/build/server/chunks/chunks/chevron-right.js-CJpcaAs8.js.map +1 -0
- package/build/server/chunks/chunks/chevron-up.js-p9cFLkbI.js +15 -0
- package/build/server/chunks/chunks/chevron-up.js-p9cFLkbI.js.map +1 -0
- package/build/server/chunks/chunks/circle-alert.js-Ct_9uZ95.js +33 -0
- package/build/server/chunks/chunks/circle-alert.js-Ct_9uZ95.js.map +1 -0
- package/build/server/chunks/chunks/circle.js-BdyRCE-5.js +19 -0
- package/build/server/chunks/chunks/circle.js-BdyRCE-5.js.map +1 -0
- package/build/server/chunks/chunks/client.js-C5mJ0fz_.js +59 -0
- package/build/server/chunks/chunks/client.js-C5mJ0fz_.js.map +1 -0
- package/build/server/chunks/chunks/compute.js-4xF_3T_Q.js +276 -0
- package/build/server/chunks/chunks/compute.js-4xF_3T_Q.js.map +1 -0
- package/build/server/chunks/chunks/computeLimits.js-DPlUBeVz.js +43 -0
- package/build/server/chunks/chunks/computeLimits.js-DPlUBeVz.js.map +1 -0
- package/build/server/chunks/chunks/createProject.server.js-DeE3A8oG.js +47 -0
- package/build/server/chunks/chunks/createProject.server.js-DeE3A8oG.js.map +1 -0
- package/build/server/chunks/chunks/definitions.js-BAor6-wX.js +2 -0
- package/build/server/chunks/chunks/definitions.js-BAor6-wX.js.map +1 -0
- package/build/server/chunks/chunks/dialog-footer.js-CvtsCuLE.js +59 -0
- package/build/server/chunks/chunks/dialog-footer.js-CvtsCuLE.js.map +1 -0
- package/build/server/chunks/chunks/dialog.js-CP_xqSDE.js +367 -0
- package/build/server/chunks/chunks/dialog.js-CP_xqSDE.js.map +1 -0
- package/build/server/chunks/chunks/engine.server.js-mhYrAc3B.js +568 -0
- package/build/server/chunks/chunks/engine.server.js-mhYrAc3B.js.map +1 -0
- package/build/server/chunks/chunks/external-link.js-DgCCXXeO.js +19 -0
- package/build/server/chunks/chunks/external-link.js-DgCCXXeO.js.map +1 -0
- package/build/server/chunks/chunks/folder-kanban.js-CoOB0Bi8.js +20 -0
- package/build/server/chunks/chunks/folder-kanban.js-CoOB0Bi8.js.map +1 -0
- package/build/server/chunks/chunks/folder-open.js-C_NJMQfX.js +15 -0
- package/build/server/chunks/chunks/folder-open.js-C_NJMQfX.js.map +1 -0
- package/build/server/chunks/chunks/folders.js-zO7KRqe0.js +15 -0
- package/build/server/chunks/chunks/folders.js-zO7KRqe0.js.map +1 -0
- package/build/server/chunks/chunks/forms.js-WRv-eYUw.js +2 -0
- package/build/server/chunks/chunks/forms.js-WRv-eYUw.js.map +1 -0
- package/build/server/chunks/chunks/gauge.js-CcDN72-A.js +15 -0
- package/build/server/chunks/chunks/gauge.js-CcDN72-A.js.map +1 -0
- package/build/server/chunks/chunks/http.js-Ko5e-LxL.js +172 -0
- package/build/server/chunks/chunks/http.js-Ko5e-LxL.js.map +1 -0
- package/build/server/chunks/chunks/input.js-Bf18enzq.js +36 -0
- package/build/server/chunks/chunks/input.js-Bf18enzq.js.map +1 -0
- package/build/server/chunks/chunks/instanceAdmins.server.js-0IpII0ZU.js +23 -0
- package/build/server/chunks/chunks/instanceAdmins.server.js-0IpII0ZU.js.map +1 -0
- package/build/server/chunks/chunks/internal.js-CkVehOOc.js.map +1 -1
- package/build/server/chunks/chunks/internal2.js-CGjhfiRy.js +224 -0
- package/build/server/chunks/chunks/internal2.js-CGjhfiRy.js.map +1 -0
- package/build/server/chunks/chunks/label.js-DDepmJpS.js +108 -0
- package/build/server/chunks/chunks/label.js-DDepmJpS.js.map +1 -0
- package/build/server/chunks/chunks/link-2.js-BGCZaQVA.js +24 -0
- package/build/server/chunks/chunks/link-2.js-BGCZaQVA.js.map +1 -0
- package/build/server/chunks/chunks/mail.js-CmzfKCP-.js +21 -0
- package/build/server/chunks/chunks/mail.js-CmzfKCP-.js.map +1 -0
- package/build/server/chunks/chunks/minus.js-C1RYWSXM.js +33 -0
- package/build/server/chunks/chunks/minus.js-C1RYWSXM.js.map +1 -0
- package/build/server/chunks/chunks/navigation.js-WRv-eYUw.js +2 -0
- package/build/server/chunks/chunks/navigation.js-WRv-eYUw.js.map +1 -0
- package/build/server/chunks/chunks/org-members.server.js-6cGEao6w.js +35 -0
- package/build/server/chunks/chunks/org-members.server.js-6cGEao6w.js.map +1 -0
- package/build/server/chunks/chunks/package.js-BbgU79uw.js +78 -0
- package/build/server/chunks/chunks/package.js-BbgU79uw.js.map +1 -0
- package/build/server/chunks/chunks/pagination.server.js-CtQ_3Is9.js +41 -0
- package/build/server/chunks/chunks/pagination.server.js-CtQ_3Is9.js.map +1 -0
- package/build/server/chunks/chunks/paths.js-DgUkDZr3.js +19 -0
- package/build/server/chunks/chunks/paths.js-DgUkDZr3.js.map +1 -0
- package/build/server/chunks/chunks/permissions.server.js-DZOQPa29.js +23 -0
- package/build/server/chunks/chunks/permissions.server.js-DZOQPa29.js.map +1 -0
- package/build/server/chunks/chunks/plus.js-CcF6StO5.js +15 -0
- package/build/server/chunks/chunks/plus.js-CcF6StO5.js.map +1 -0
- package/build/server/chunks/chunks/providers.server.js-BSOw3gYp.js +6495 -0
- package/build/server/chunks/chunks/providers.server.js-BSOw3gYp.js.map +1 -0
- package/build/server/chunks/chunks/refresh-cw.js-Db0Ikgh0.js +20 -0
- package/build/server/chunks/chunks/refresh-cw.js-Db0Ikgh0.js.map +1 -0
- package/build/server/chunks/chunks/resolve.server.js-D2ChOh7Z.js +63 -0
- package/build/server/chunks/chunks/resolve.server.js-D2ChOh7Z.js.map +1 -0
- package/build/server/chunks/chunks/rotate-ccw.js-ByexOtKC.js +15 -0
- package/build/server/chunks/chunks/rotate-ccw.js-ByexOtKC.js.map +1 -0
- package/build/server/chunks/chunks/route.js-BMbW0gl2.js +4 -0
- package/build/server/chunks/chunks/route.js-BMbW0gl2.js.map +1 -0
- package/build/server/chunks/chunks/scroll-text.js-BgDL3Nrr.js +20 -0
- package/build/server/chunks/chunks/scroll-text.js-BgDL3Nrr.js.map +1 -0
- package/build/server/chunks/chunks/search.js-K7rREKTg.js +19 -0
- package/build/server/chunks/chunks/search.js-K7rREKTg.js.map +1 -0
- package/build/server/chunks/chunks/select.js-DIbpqZWD.js +3626 -0
- package/build/server/chunks/chunks/select.js-DIbpqZWD.js.map +1 -0
- package/build/server/chunks/chunks/selfUpdate.server.js-BfarIc28.js +149 -0
- package/build/server/chunks/chunks/selfUpdate.server.js-BfarIc28.js.map +1 -0
- package/build/server/chunks/chunks/server2.js-zMMQqCCv.js +44 -0
- package/build/server/chunks/chunks/server2.js-zMMQqCCv.js.map +1 -0
- package/build/server/chunks/chunks/serverConfigWrite.js-D7Xgwl9c.js +80 -0
- package/build/server/chunks/chunks/serverConfigWrite.js-D7Xgwl9c.js.map +1 -0
- package/build/server/chunks/chunks/settings.js-CIeBqhtg.js +19 -0
- package/build/server/chunks/chunks/settings.js-CIeBqhtg.js.map +1 -0
- package/build/server/chunks/chunks/shield-check.js-CwOiSefU.js +15 -0
- package/build/server/chunks/chunks/shield-check.js-CwOiSefU.js.map +1 -0
- package/build/server/chunks/chunks/shield.js-CgK_D9Yq.js +15 -0
- package/build/server/chunks/chunks/shield.js-CgK_D9Yq.js.map +1 -0
- package/build/server/chunks/chunks/solve.server.js-Ch_EFeCY.js +300 -0
- package/build/server/chunks/chunks/solve.server.js-Ch_EFeCY.js.map +1 -0
- package/build/server/chunks/chunks/src.js-B12bUNyu.js +386 -0
- package/build/server/chunks/chunks/src.js-B12bUNyu.js.map +1 -0
- package/build/server/chunks/chunks/star.js-CsC0W4jd.js +15 -0
- package/build/server/chunks/chunks/star.js-CsC0W4jd.js.map +1 -0
- package/build/server/chunks/chunks/state.js-DxhJEm_j.js +76 -0
- package/build/server/chunks/chunks/state.js-DxhJEm_j.js.map +1 -0
- package/build/server/chunks/chunks/stores.js-Brq6da2e.js +35 -0
- package/build/server/chunks/chunks/stores.js-Brq6da2e.js.map +1 -0
- package/build/server/chunks/chunks/textarea.js-BwH-6eDE.js +512 -0
- package/build/server/chunks/chunks/textarea.js-BwH-6eDE.js.map +1 -0
- package/build/server/chunks/chunks/trash-2.js-FNU37NaI.js +21 -0
- package/build/server/chunks/chunks/trash-2.js-FNU37NaI.js.map +1 -0
- package/build/server/chunks/chunks/triangle-alert.js-C4HPu6Ra.js +19 -0
- package/build/server/chunks/chunks/triangle-alert.js-C4HPu6Ra.js.map +1 -0
- package/build/server/chunks/chunks/user-plus.js-CEesdiZ5.js +51 -0
- package/build/server/chunks/chunks/user-plus.js-CEesdiZ5.js.map +1 -0
- package/build/server/chunks/chunks/users.js-E6IwOeq8.js +24 -0
- package/build/server/chunks/chunks/users.js-E6IwOeq8.js.map +1 -0
- package/build/server/chunks/chunks/utils2.js-AVgqWIzH.js +95 -0
- package/build/server/chunks/chunks/utils2.js-AVgqWIzH.js.map +1 -0
- package/build/server/chunks/chunks/visibility.server.js-DmQWNKGa.js +107 -0
- package/build/server/chunks/chunks/visibility.server.js-DmQWNKGa.js.map +1 -0
- package/build/server/chunks/chunks/x.js-CgwhOSyH.js +15 -0
- package/build/server/chunks/chunks/x.js-CgwhOSyH.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/compute/_server.ts.js-BORkSAYt.js +82 -0
- package/build/server/chunks/entries/endpoints/api/admin/compute/_server.ts.js-BORkSAYt.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/compute/actions/_server.ts.js-4ZWUgxdo.js +52 -0
- package/build/server/chunks/entries/endpoints/api/admin/compute/actions/_server.ts.js-4ZWUgxdo.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/compute/status/_server.ts.js-B4SvTxFr.js +78 -0
- package/build/server/chunks/entries/endpoints/api/admin/compute/status/_server.ts.js-B4SvTxFr.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/orgs/_id_/_server.ts.js-L6lp44af.js +40 -0
- package/build/server/chunks/entries/endpoints/api/admin/orgs/_id_/_server.ts.js-L6lp44af.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/orgs/_server.ts.js-DtzLXHT4.js +63 -0
- package/build/server/chunks/entries/endpoints/api/admin/orgs/_server.ts.js-DtzLXHT4.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/_server.ts.js-9TM4Wx-K.js +56 -0
- package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/_server.ts.js-9TM4Wx-K.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/grants/_grantId_/_server.ts.js-CcPaNNwV.js +28 -0
- package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/grants/_grantId_/_server.ts.js-CcPaNNwV.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/grants/_server.ts.js-Ch0ZsdC1.js +59 -0
- package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/grants/_server.ts.js-Ch0ZsdC1.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/projects/_server.ts.js-BPLa8FFr.js +74 -0
- package/build/server/chunks/entries/endpoints/api/admin/projects/_server.ts.js-BPLa8FFr.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/system/health/_server.ts.js-BcWF-uCN.js +192 -0
- package/build/server/chunks/entries/endpoints/api/admin/system/health/_server.ts.js-BcWF-uCN.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/system/throughput/_server.ts.js-DhWAJpZE.js +88 -0
- package/build/server/chunks/entries/endpoints/api/admin/system/throughput/_server.ts.js-DhWAJpZE.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/system/update/_server.ts.js-DNoYUUBX.js +562 -0
- package/build/server/chunks/entries/endpoints/api/admin/system/update/_server.ts.js-DNoYUUBX.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/users/_id_/_server.ts.js-DF6Wt_rm.js +52 -0
- package/build/server/chunks/entries/endpoints/api/admin/users/_id_/_server.ts.js-DF6Wt_rm.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/users/_id_/disable/_server.ts.js-C8jurNYS.js +61 -0
- package/build/server/chunks/entries/endpoints/api/admin/users/_id_/disable/_server.ts.js-C8jurNYS.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/admin/users/_server.ts.js-DymvjhAR.js +78 -0
- package/build/server/chunks/entries/endpoints/api/admin/users/_server.ts.js-DymvjhAR.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/diag/throughput/_server.ts.js-DKVXMxKt.js +58 -0
- package/build/server/chunks/entries/endpoints/api/diag/throughput/_server.ts.js-DKVXMxKt.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/files/_...path_/_server.ts.js-DtiAglAN.js +87 -0
- package/build/server/chunks/entries/endpoints/api/files/_...path_/_server.ts.js-DtiAglAN.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-DwXYmEJL.js +56 -0
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-DwXYmEJL.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/health/ready/_server.ts.js-iaUXey0e.js +59 -0
- package/build/server/chunks/entries/endpoints/api/health/ready/_server.ts.js-iaUXey0e.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/compute/_server.ts.js-D5PkMFt5.js +81 -0
- package/build/server/chunks/entries/endpoints/api/v1/compute/_server.ts.js-D5PkMFt5.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/compute/schema/_server.ts.js-H_VjboLt.js +59 -0
- package/build/server/chunks/entries/endpoints/api/v1/compute/schema/_server.ts.js-H_VjboLt.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/_server.ts.js-CkjqSgER.js +61 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/_server.ts.js-CkjqSgER.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/image/_server.ts.js-CnGI7Xjs.js +35 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/image/_server.ts.js-CnGI7Xjs.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/publish/_server.ts.js-Cc1__Yya.js +31 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/publish/_server.ts.js-Cc1__Yya.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/schema/_server.ts.js-B0VV5MVe.js +37 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/schema/_server.ts.js-B0VV5MVe.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/share-links/_linkId_/_server.ts.js-DChENxtK.js +37 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/share-links/_linkId_/_server.ts.js-DChENxtK.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/share-links/_server.ts.js-CKcw8dHk.js +79 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/share-links/_server.ts.js-CKcw8dHk.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/solve/_server.ts.js-kRiRDRnb.js +0 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/solve/_server.ts.js-kRiRDRnb.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_server.ts.js-BrmTs4V9.js +51 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_server.ts.js-BrmTs4V9.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/_server.ts.js-8Ezsxi_j.js +46 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/_server.ts.js-8Ezsxi_j.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/schema/_server.ts.js-BVPeE17v.js +38 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/schema/_server.ts.js-BVPeE17v.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_server.ts.js-hyhYWbim.js +112 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_server.ts.js-hyhYWbim.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/me/_server.ts.js-Rfl8J9Hh.js +37 -0
- package/build/server/chunks/entries/endpoints/api/v1/me/_server.ts.js-Rfl8J9Hh.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/me/starred/_guid_/_server.ts.js-BsVf3Ioe.js +34 -0
- package/build/server/chunks/entries/endpoints/api/v1/me/starred/_guid_/_server.ts.js-BsVf3Ioe.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/_server.ts.js-C3X2FQqf.js +28 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/_server.ts.js-C3X2FQqf.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/assets/_kind_/_server.ts.js-CHmBAaV1.js +72 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/assets/_kind_/_server.ts.js-CHmBAaV1.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/compute/_server.ts.js-GZo7Q7xm.js +99 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/compute/_server.ts.js-GZo7Q7xm.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_id_/_server.ts.js-DlaNwF1G.js +44 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_id_/_server.ts.js-DlaNwF1G.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_server.ts.js-C75hQmJ3.js +77 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_server.ts.js-C75hQmJ3.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/members/_server.ts.js-CYdGmpdr.js +31 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/members/_server.ts.js-CYdGmpdr.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/members/_userId_/_server.ts.js-Cu8VxVTL.js +172 -0
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/members/_userId_/_server.ts.js-Cu8VxVTL.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/_server.ts.js-BSAnLOzv.js +85 -0
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/_server.ts.js-BSAnLOzv.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/members/_server.ts.js-CpC0Jfaf.js +49 -0
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/members/_server.ts.js-CpC0Jfaf.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/members/_userId_/_server.ts.js-BJAJA4g1.js +64 -0
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/members/_userId_/_server.ts.js-BJAJA4g1.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/reclaim/_server.ts.js-aXktAfRy.js +49 -0
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/reclaim/_server.ts.js-aXktAfRy.js.map +1 -0
- package/build/server/chunks/entries/endpoints/api/v1/projects/_server.ts.js-BrD0gOS_.js +67 -0
- package/build/server/chunks/entries/endpoints/api/v1/projects/_server.ts.js-BrD0gOS_.js.map +1 -0
- package/build/server/chunks/entries/endpoints/auth/email/callback/_server.ts.js-B-F0HfD2.js +43 -0
- package/build/server/chunks/entries/endpoints/auth/email/callback/_server.ts.js-B-F0HfD2.js.map +1 -0
- package/build/server/chunks/entries/endpoints/auth/supabase/callback/_server.ts.js-Bj0GMCuc.js +47 -0
- package/build/server/chunks/entries/endpoints/auth/supabase/callback/_server.ts.js-Bj0GMCuc.js.map +1 -0
- package/build/server/chunks/entries/endpoints/auth/supabase/start/_server.ts.js-DXuoZ7V9.js +50 -0
- package/build/server/chunks/entries/endpoints/auth/supabase/start/_server.ts.js-DXuoZ7V9.js.map +1 -0
- package/build/server/chunks/entries/hooks.server.js-DBTORZRG.js +313 -0
- package/build/server/chunks/entries/hooks.server.js-DBTORZRG.js.map +1 -0
- package/build/server/chunks/entries/pages/_error.svelte.js-BDbhLlLN.js +36 -0
- package/build/server/chunks/entries/pages/_error.svelte.js-BDbhLlLN.js.map +1 -0
- package/build/server/chunks/entries/pages/_layout.server.ts.js-CXIu5Yaw.js +34 -0
- package/build/server/chunks/entries/pages/_layout.server.ts.js-CXIu5Yaw.js.map +1 -0
- package/build/server/chunks/entries/pages/_page.svelte.js-CjU52Q9q.js +79 -0
- package/build/server/chunks/entries/pages/_page.svelte.js-CjU52Q9q.js.map +1 -0
- package/build/server/chunks/entries/pages/accept-invite/_page.server.ts.js-YqAegEnD.js +168 -0
- package/build/server/chunks/entries/pages/accept-invite/_page.server.ts.js-YqAegEnD.js.map +1 -0
- package/build/server/chunks/entries/pages/accept-invite/_page.svelte.js-CXPszOMW.js +188 -0
- package/build/server/chunks/entries/pages/accept-invite/_page.svelte.js-CXPszOMW.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/_error.svelte.js-BA7GJPbH.js +37 -0
- package/build/server/chunks/entries/pages/admin/_error.svelte.js-BA7GJPbH.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/_layout.server.ts.js-BFyY20iY.js +31 -0
- package/build/server/chunks/entries/pages/admin/_layout.server.ts.js-BFyY20iY.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/_layout.svelte.js-DraGtDc3.js +124 -0
- package/build/server/chunks/entries/pages/admin/_layout.svelte.js-DraGtDc3.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/_page.server.ts.js-DjeE7c7V.js +75 -0
- package/build/server/chunks/entries/pages/admin/_page.server.ts.js-DjeE7c7V.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/_page.svelte.js-DND4yhJn.js +360 -0
- package/build/server/chunks/entries/pages/admin/_page.svelte.js-DND4yhJn.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/audit/_page.server.ts.js-bPb2A2dt.js +265 -0
- package/build/server/chunks/entries/pages/admin/audit/_page.server.ts.js-bPb2A2dt.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/audit/_page.svelte.js-D-3O4bNL.js +465 -0
- package/build/server/chunks/entries/pages/admin/audit/_page.svelte.js-D-3O4bNL.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/compute/_page.server.ts.js-EG7DCuPI.js +73 -0
- package/build/server/chunks/entries/pages/admin/compute/_page.server.ts.js-EG7DCuPI.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/compute/_page.svelte.js-B4l09MoL.js +673 -0
- package/build/server/chunks/entries/pages/admin/compute/_page.svelte.js-B4l09MoL.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/organizations/_page.server.ts.js-B9tSCFat.js +35 -0
- package/build/server/chunks/entries/pages/admin/organizations/_page.server.ts.js-B9tSCFat.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/organizations/_page.svelte.js-CmwF8odH.js +95 -0
- package/build/server/chunks/entries/pages/admin/organizations/_page.svelte.js-CmwF8odH.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/projects/_id_/_page.server.ts.js-MjUNs9jG.js +86 -0
- package/build/server/chunks/entries/pages/admin/projects/_id_/_page.server.ts.js-MjUNs9jG.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/projects/_id_/_page.svelte.js-D9jhVQUL.js +617 -0
- package/build/server/chunks/entries/pages/admin/projects/_id_/_page.svelte.js-D9jhVQUL.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/projects/_page.server.ts.js-QAqK6J_F.js +42 -0
- package/build/server/chunks/entries/pages/admin/projects/_page.server.ts.js-QAqK6J_F.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/projects/_page.svelte.js-CiQj6xrn.js +283 -0
- package/build/server/chunks/entries/pages/admin/projects/_page.svelte.js-CiQj6xrn.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/system/_page.server.ts.js-Bpj84lLY.js +86 -0
- package/build/server/chunks/entries/pages/admin/system/_page.server.ts.js-Bpj84lLY.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/system/_page.svelte.js-gCBzsZVp.js +1475 -0
- package/build/server/chunks/entries/pages/admin/system/_page.svelte.js-gCBzsZVp.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/users/_page.server.ts.js-BWn4CLvd.js +80 -0
- package/build/server/chunks/entries/pages/admin/users/_page.server.ts.js-BWn4CLvd.js.map +1 -0
- package/build/server/chunks/entries/pages/admin/users/_page.svelte.js-D3DaAMxG.js +594 -0
- package/build/server/chunks/entries/pages/admin/users/_page.svelte.js-D3DaAMxG.js.map +1 -0
- package/build/server/chunks/entries/pages/auth/email/sent/_page.svelte.js-CPq0s9oO.js +63 -0
- package/build/server/chunks/entries/pages/auth/email/sent/_page.svelte.js-CPq0s9oO.js.map +1 -0
- package/build/server/chunks/entries/pages/auth/email/start/_page.server.ts.js-NROcmcli.js +62 -0
- package/build/server/chunks/entries/pages/auth/email/start/_page.server.ts.js-NROcmcli.js.map +1 -0
- package/build/server/chunks/entries/pages/docs/api/_page.server.ts.js-D2t0uxjY.js +527 -0
- package/build/server/chunks/entries/pages/docs/api/_page.server.ts.js-D2t0uxjY.js.map +1 -0
- package/build/server/chunks/entries/pages/docs/api/_page.svelte.js-DCdkis_E.js +90 -0
- package/build/server/chunks/entries/pages/docs/api/_page.svelte.js-DCdkis_E.js.map +1 -0
- package/build/server/chunks/entries/pages/library/_guid_/_page.server.ts.js-CpIUD9FH.js +118 -0
- package/build/server/chunks/entries/pages/library/_guid_/_page.server.ts.js-CpIUD9FH.js.map +1 -0
- package/build/server/chunks/entries/pages/library/_guid_/_page.svelte.js-BQCwM0Sl.js +12889 -0
- package/build/server/chunks/entries/pages/library/_guid_/_page.svelte.js-BQCwM0Sl.js.map +1 -0
- package/build/server/chunks/entries/pages/library/_page.server.ts.js-zqpJayno.js +48 -0
- package/build/server/chunks/entries/pages/library/_page.server.ts.js-zqpJayno.js.map +1 -0
- package/build/server/chunks/entries/pages/library/_page.svelte.js-DG6m--kM.js +325 -0
- package/build/server/chunks/entries/pages/library/_page.svelte.js-DG6m--kM.js.map +1 -0
- package/build/server/chunks/entries/pages/login/_page.server.ts.js-Dt6-LTpF.js +83 -0
- package/build/server/chunks/entries/pages/login/_page.server.ts.js-Dt6-LTpF.js.map +1 -0
- package/build/server/chunks/entries/pages/login/_page.svelte.js-BtVTX3Kl.js +257 -0
- package/build/server/chunks/entries/pages/login/_page.svelte.js-BtVTX3Kl.js.map +1 -0
- package/build/server/chunks/entries/pages/logout/_page.server.ts.js-Dx-JC0ie.js +19 -0
- package/build/server/chunks/entries/pages/logout/_page.server.ts.js-Dx-JC0ie.js.map +1 -0
- package/build/server/chunks/entries/pages/projects/_layout.server.ts.js-CkTXc3yQ.js +22 -0
- package/build/server/chunks/entries/pages/projects/_layout.server.ts.js-CkTXc3yQ.js.map +1 -0
- package/build/server/chunks/entries/pages/projects/_layout.svelte.js-Bz71MlIV.js +52 -0
- package/build/server/chunks/entries/pages/projects/_layout.svelte.js-Bz71MlIV.js.map +1 -0
- package/build/server/chunks/entries/pages/projects/_page.server.ts.js-DB1kgCLA.js +88 -0
- package/build/server/chunks/entries/pages/projects/_page.server.ts.js-DB1kgCLA.js.map +1 -0
- package/build/server/chunks/entries/pages/projects/_page.svelte.js-CEhBptS3.js +3758 -0
- package/build/server/chunks/entries/pages/projects/_page.svelte.js-CEhBptS3.js.map +1 -0
- package/build/server/chunks/entries/pages/setup/_page.server.ts.js-Dr8qNNVE.js +115 -0
- package/build/server/chunks/entries/pages/setup/_page.server.ts.js-Dr8qNNVE.js.map +1 -0
- package/build/server/chunks/entries/pages/setup/_page.svelte.js-D3CUeRRr.js +322 -0
- package/build/server/chunks/entries/pages/setup/_page.svelte.js-D3CUeRRr.js.map +1 -0
- package/build/server/chunks/entries/pages/team/_layout.server.ts.js-DdLGPFkV.js +28 -0
- package/build/server/chunks/entries/pages/team/_layout.server.ts.js-DdLGPFkV.js.map +1 -0
- package/build/server/chunks/entries/pages/team/_layout.svelte.js-8AH91oUz.js +165 -0
- package/build/server/chunks/entries/pages/team/_layout.svelte.js-8AH91oUz.js.map +1 -0
- package/build/server/chunks/entries/pages/team/_page.server.ts.js-CSB0hdab.js +35 -0
- package/build/server/chunks/entries/pages/team/_page.server.ts.js-CSB0hdab.js.map +1 -0
- package/build/server/chunks/entries/pages/team/_page.svelte.js-D4ULKKny.js +110 -0
- package/build/server/chunks/entries/pages/team/_page.svelte.js-D4ULKKny.js.map +1 -0
- package/build/server/chunks/entries/pages/team/activity/_page.svelte.js-CRihvyJB.js +121 -0
- package/build/server/chunks/entries/pages/team/activity/_page.svelte.js-CRihvyJB.js.map +1 -0
- package/build/server/chunks/entries/pages/team/compute/_page.server.ts.js-8IdivLwJ.js +41 -0
- package/build/server/chunks/entries/pages/team/compute/_page.server.ts.js-8IdivLwJ.js.map +1 -0
- package/build/server/chunks/entries/pages/team/compute/_page.svelte.js-C29qFEdM.js +594 -0
- package/build/server/chunks/entries/pages/team/compute/_page.svelte.js-C29qFEdM.js.map +1 -0
- package/build/server/chunks/entries/pages/team/members/_page.server.ts.js-BUo65KPQ.js +58 -0
- package/build/server/chunks/entries/pages/team/members/_page.server.ts.js-BUo65KPQ.js.map +1 -0
- package/build/server/chunks/entries/pages/team/members/_page.svelte.js-B9HfGMWI.js +537 -0
- package/build/server/chunks/entries/pages/team/members/_page.svelte.js-B9HfGMWI.js.map +1 -0
- package/build/server/chunks/entries/pages/team/projects/_page.server.ts.js-BS_RayoZ.js +56 -0
- package/build/server/chunks/entries/pages/team/projects/_page.server.ts.js-BS_RayoZ.js.map +1 -0
- package/build/server/chunks/entries/pages/team/projects/_page.svelte.js-DMeL3rsn.js +424 -0
- package/build/server/chunks/entries/pages/team/projects/_page.svelte.js-DMeL3rsn.js.map +1 -0
- package/build/server/chunks/entries/pages/team/reclaim/_page.server.ts.js-DeyWNrwz.js +63 -0
- package/build/server/chunks/entries/pages/team/reclaim/_page.server.ts.js-DeyWNrwz.js.map +1 -0
- package/build/server/chunks/entries/pages/team/reclaim/_page.svelte.js-BfhcHpzG.js +263 -0
- package/build/server/chunks/entries/pages/team/reclaim/_page.svelte.js-BfhcHpzG.js.map +1 -0
- package/build/server/chunks/entries/pages/team/settings/_page.server.ts.js-CyvPuBgI.js +32 -0
- package/build/server/chunks/entries/pages/team/settings/_page.server.ts.js-CyvPuBgI.js.map +1 -0
- package/build/server/chunks/entries/pages/team/settings/_page.svelte.js-BWIT1Drc.js +303 -0
- package/build/server/chunks/entries/pages/team/settings/_page.svelte.js-BWIT1Drc.js.map +1 -0
- package/build/server/chunks/entries/pages/team/shares/_page.server.ts.js-CbKULrZb.js +29 -0
- package/build/server/chunks/entries/pages/team/shares/_page.server.ts.js-CbKULrZb.js.map +1 -0
- package/build/server/chunks/entries/pages/team/shares/_page.svelte.js-BJyL8gkH.js +323 -0
- package/build/server/chunks/entries/pages/team/shares/_page.svelte.js-BJyL8gkH.js.map +1 -0
- package/build/server/chunks/handler-BGlRLrGT.js +1206 -0
- package/build/server/chunks/handler-BGlRLrGT.js.map +1 -0
- package/build/server/chunks/index.js-BKzVtb6o.js +3757 -0
- package/build/server/chunks/index.js-BKzVtb6o.js.map +1 -0
- package/build/server/chunks/manifest.js-BuoQOpiy.js +605 -0
- package/build/server/chunks/manifest.js-BuoQOpiy.js.map +1 -0
- package/build/server/chunks/nodes/0.js-REOrKHbY.js +24 -0
- package/build/server/chunks/nodes/0.js-REOrKHbY.js.map +1 -0
- package/build/server/chunks/nodes/1.js-Xc2WbGHF.js +9 -0
- package/build/server/chunks/nodes/1.js-Xc2WbGHF.js.map +1 -0
- package/build/server/chunks/nodes/10.js-M4nPuFDr.js +27 -0
- package/build/server/chunks/nodes/10.js-M4nPuFDr.js.map +1 -0
- package/build/server/chunks/nodes/11.js-CYF8Oavv.js +33 -0
- package/build/server/chunks/nodes/11.js-CYF8Oavv.js.map +1 -0
- package/build/server/chunks/nodes/12.js-DXbfUnpy.js +25 -0
- package/build/server/chunks/nodes/12.js-DXbfUnpy.js.map +1 -0
- package/build/server/chunks/nodes/13.js-CNDyO0vg.js +25 -0
- package/build/server/chunks/nodes/13.js-CNDyO0vg.js.map +1 -0
- package/build/server/chunks/nodes/14.js-D5ob_-zV.js +25 -0
- package/build/server/chunks/nodes/14.js-D5ob_-zV.js.map +1 -0
- package/build/server/chunks/nodes/15.js-jX10svqW.js +34 -0
- package/build/server/chunks/nodes/15.js-jX10svqW.js.map +1 -0
- package/build/server/chunks/nodes/16.js-D7zO4unc.js +28 -0
- package/build/server/chunks/nodes/16.js-D7zO4unc.js.map +1 -0
- package/build/server/chunks/nodes/17.js-DZEwzpkT.js +9 -0
- package/build/server/chunks/nodes/17.js-DZEwzpkT.js.map +1 -0
- package/build/server/chunks/nodes/18.js-CF_CAtBp.js +29 -0
- package/build/server/chunks/nodes/18.js-CF_CAtBp.js.map +1 -0
- package/build/server/chunks/nodes/19.js-J2k5Rh3p.js +27 -0
- package/build/server/chunks/nodes/19.js-J2k5Rh3p.js.map +1 -0
- package/build/server/chunks/nodes/2.js-eZnDfOw-.js +27 -0
- package/build/server/chunks/nodes/2.js-eZnDfOw-.js.map +1 -0
- package/build/server/chunks/nodes/20.js-BWrqQIq0.js +28 -0
- package/build/server/chunks/nodes/20.js-BWrqQIq0.js.map +1 -0
- package/build/server/chunks/nodes/21.js-cFHfkQYI.js +36 -0
- package/build/server/chunks/nodes/21.js-cFHfkQYI.js.map +1 -0
- package/build/server/chunks/nodes/22.js-CDmseej8.js +29 -0
- package/build/server/chunks/nodes/22.js-CDmseej8.js.map +1 -0
- package/build/server/chunks/nodes/23.js-D-BuuZtv.js +26 -0
- package/build/server/chunks/nodes/23.js-D-BuuZtv.js.map +1 -0
- package/build/server/chunks/nodes/24.js-C_u8GJKw.js +27 -0
- package/build/server/chunks/nodes/24.js-C_u8GJKw.js.map +1 -0
- package/build/server/chunks/nodes/25.js-CXDzstFN.js +29 -0
- package/build/server/chunks/nodes/25.js-CXDzstFN.js.map +1 -0
- package/build/server/chunks/nodes/26.js-Bb5IJh4A.js +25 -0
- package/build/server/chunks/nodes/26.js-Bb5IJh4A.js.map +1 -0
- package/build/server/chunks/nodes/27.js-CnIMXlDu.js +9 -0
- package/build/server/chunks/nodes/27.js-CnIMXlDu.js.map +1 -0
- package/build/server/chunks/nodes/28.js-CcRJdiN3.js +25 -0
- package/build/server/chunks/nodes/28.js-CcRJdiN3.js.map +1 -0
- package/build/server/chunks/nodes/29.js-CBltA7bK.js +25 -0
- package/build/server/chunks/nodes/29.js-CBltA7bK.js.map +1 -0
- package/build/server/chunks/nodes/3.js-JyjSfGE_.js +9 -0
- package/build/server/chunks/nodes/3.js-JyjSfGE_.js.map +1 -0
- package/build/server/chunks/nodes/30.js-CCGICBN7.js +28 -0
- package/build/server/chunks/nodes/30.js-CCGICBN7.js.map +1 -0
- package/build/server/chunks/nodes/31.js-Tc5fcH3-.js +25 -0
- package/build/server/chunks/nodes/31.js-Tc5fcH3-.js.map +1 -0
- package/build/server/chunks/nodes/32.js-S-jeWqh9.js +25 -0
- package/build/server/chunks/nodes/32.js-S-jeWqh9.js.map +1 -0
- package/build/server/chunks/nodes/33.js-DmB4F9y4.js +25 -0
- package/build/server/chunks/nodes/33.js-DmB4F9y4.js.map +1 -0
- package/build/server/chunks/nodes/5.js-b_Zadoh0.js +15 -0
- package/build/server/chunks/nodes/5.js-b_Zadoh0.js.map +1 -0
- package/build/server/chunks/nodes/6.js-CPL_SwcZ.js +25 -0
- package/build/server/chunks/nodes/6.js-CPL_SwcZ.js.map +1 -0
- package/build/server/chunks/nodes/7.js-CiJa4a3g.js +12 -0
- package/build/server/chunks/nodes/7.js-CiJa4a3g.js.map +1 -0
- package/build/server/chunks/nodes/8.js-DfsCcga9.js +31 -0
- package/build/server/chunks/nodes/8.js-DfsCcga9.js.map +1 -0
- package/build/server/chunks/nodes/9.js-ONMLi-of.js +25 -0
- package/build/server/chunks/nodes/9.js-ONMLi-of.js.map +1 -0
- package/package.json +6 -6
- package/templates/.env.example +22 -0
- package/build/client/_app/immutable/assets/0.wYZ1J0xa.css +0 -2
- package/build/client/_app/immutable/assets/0.wYZ1J0xa.css.br +0 -0
- package/build/client/_app/immutable/assets/0.wYZ1J0xa.css.gz +0 -0
- package/build/client/_app/immutable/chunks/9mBCG_FT2.js +0 -1
- package/build/client/_app/immutable/chunks/9mBCG_FT2.js.br +0 -2
- package/build/client/_app/immutable/chunks/9mBCG_FT2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BCG5w5A8.js +0 -1
- package/build/client/_app/immutable/chunks/BCG5w5A8.js.br +0 -0
- package/build/client/_app/immutable/chunks/BCG5w5A8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BHKtwUjY2.js +0 -1
- package/build/client/_app/immutable/chunks/BHKtwUjY2.js.br +0 -0
- package/build/client/_app/immutable/chunks/BHKtwUjY2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BVIsLQjq.js +0 -3
- package/build/client/_app/immutable/chunks/BVIsLQjq.js.br +0 -0
- package/build/client/_app/immutable/chunks/BVIsLQjq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BqT90Slr2.js +0 -1
- package/build/client/_app/immutable/chunks/BqT90Slr2.js.br +0 -0
- package/build/client/_app/immutable/chunks/BqT90Slr2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CovsCXmD.js +0 -1
- package/build/client/_app/immutable/chunks/CovsCXmD.js.br +0 -0
- package/build/client/_app/immutable/chunks/CovsCXmD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cu1Pj0zN.js +0 -1
- package/build/client/_app/immutable/chunks/Cu1Pj0zN.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cu1Pj0zN.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DF0PCtKW.js +0 -1
- package/build/client/_app/immutable/chunks/DF0PCtKW.js.br +0 -2
- package/build/client/_app/immutable/chunks/DF0PCtKW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DhHPd6Ca.js +0 -64
- package/build/client/_app/immutable/chunks/DhHPd6Ca.js.br +0 -0
- package/build/client/_app/immutable/chunks/DhHPd6Ca.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dp78q_D4.js +0 -2
- package/build/client/_app/immutable/chunks/Dp78q_D4.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dp78q_D4.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.CIEerh5X.js +0 -2
- package/build/client/_app/immutable/entry/app.CIEerh5X.js.br +0 -0
- package/build/client/_app/immutable/entry/app.CIEerh5X.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.K3e5D1g5.js +0 -1
- package/build/client/_app/immutable/entry/start.K3e5D1g5.js.br +0 -0
- package/build/client/_app/immutable/entry/start.K3e5D1g5.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.CHYu4LOJ.js +0 -1
- package/build/client/_app/immutable/nodes/1.CHYu4LOJ.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.CHYu4LOJ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.BLPs7Wkp.js +0 -3
- package/build/client/_app/immutable/nodes/10.BLPs7Wkp.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.BLPs7Wkp.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.D53oPUUY.js +0 -3
- package/build/client/_app/immutable/nodes/11.D53oPUUY.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.D53oPUUY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.JiVbt7fT.js +0 -2
- package/build/client/_app/immutable/nodes/13.JiVbt7fT.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.JiVbt7fT.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.CBAysUst.js +0 -2
- package/build/client/_app/immutable/nodes/14.CBAysUst.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.CBAysUst.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.CbP8eRy4.js +0 -25
- package/build/client/_app/immutable/nodes/15.CbP8eRy4.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.CbP8eRy4.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.DMh--pkW.js +0 -7
- package/build/client/_app/immutable/nodes/16.DMh--pkW.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.DMh--pkW.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.CDv1mRBH.js +0 -2
- package/build/client/_app/immutable/nodes/17.CDv1mRBH.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.CDv1mRBH.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.prMdq9pK.js +0 -7
- package/build/client/_app/immutable/nodes/19.prMdq9pK.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.prMdq9pK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.COQ7b3lI.js +0 -1
- package/build/client/_app/immutable/nodes/2.COQ7b3lI.js.br +0 -5
- package/build/client/_app/immutable/nodes/2.COQ7b3lI.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.CxSsjn8U.js +0 -2
- package/build/client/_app/immutable/nodes/20.CxSsjn8U.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.CxSsjn8U.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.BYgwZP4H.js +0 -5495
- package/build/client/_app/immutable/nodes/21.BYgwZP4H.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.BYgwZP4H.js.gz +0 -0
- package/build/client/_app/immutable/nodes/22.DGWjw_73.js +0 -6
- package/build/client/_app/immutable/nodes/22.DGWjw_73.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.DGWjw_73.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.DWZbzpWX.js +0 -16
- package/build/client/_app/immutable/nodes/24.DWZbzpWX.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.DWZbzpWX.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.dXIz-84R.js +0 -6
- package/build/client/_app/immutable/nodes/25.dXIz-84R.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.dXIz-84R.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.DibqsAF3.js +0 -4
- package/build/client/_app/immutable/nodes/28.DibqsAF3.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.DibqsAF3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/29.Caai20kZ.js +0 -4
- package/build/client/_app/immutable/nodes/29.Caai20kZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/29.Caai20kZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.COHLplPG.js +0 -1
- package/build/client/_app/immutable/nodes/3.COHLplPG.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.COHLplPG.js.gz +0 -0
- package/build/client/_app/immutable/nodes/30.DqFl7zvG.js +0 -2
- package/build/client/_app/immutable/nodes/30.DqFl7zvG.js.br +0 -0
- package/build/client/_app/immutable/nodes/30.DqFl7zvG.js.gz +0 -0
- package/build/client/_app/immutable/nodes/31.C0MTcxhb.js +0 -2
- package/build/client/_app/immutable/nodes/31.C0MTcxhb.js.br +0 -0
- package/build/client/_app/immutable/nodes/31.C0MTcxhb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/33.IhBnI84m.js +0 -3
- package/build/client/_app/immutable/nodes/33.IhBnI84m.js.br +0 -0
- package/build/client/_app/immutable/nodes/33.IhBnI84m.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.Dof3W5qn.js +0 -1
- package/build/client/_app/immutable/nodes/5.Dof3W5qn.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.Dof3W5qn.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.BwaZq6eW.js +0 -1
- package/build/client/_app/immutable/nodes/6.BwaZq6eW.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.BwaZq6eW.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.CxsuWGVu.js +0 -1
- package/build/client/_app/immutable/nodes/7.CxsuWGVu.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.CxsuWGVu.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.CdgZOv_N.js +0 -2
- package/build/client/_app/immutable/nodes/8.CdgZOv_N.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.CdgZOv_N.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.CvThUr2X.js +0 -1
- package/build/client/_app/immutable/nodes/9.CvThUr2X.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.CvThUr2X.js.gz +0 -0
- package/build/server/chunks/chunks/AppHeader.js-BqqIT9_a.js +0 -281
- package/build/server/chunks/chunks/AppHeader.js-BqqIT9_a.js.map +0 -1
- package/build/server/chunks/chunks/DefinitionCard.js-Cd6Ugiya.js +0 -256
- package/build/server/chunks/chunks/DefinitionCard.js-Cd6Ugiya.js.map +0 -1
- package/build/server/chunks/chunks/ErrorScreen.js-BWarFoyc.js +0 -123
- package/build/server/chunks/chunks/ErrorScreen.js-BWarFoyc.js.map +0 -1
- package/build/server/chunks/chunks/FilterableDropdown.js-B5HX8_Rc.js +0 -45
- package/build/server/chunks/chunks/FilterableDropdown.js-B5HX8_Rc.js.map +0 -1
- package/build/server/chunks/chunks/SideNav.js-DSPpqjie.js +0 -67
- package/build/server/chunks/chunks/SideNav.js-DSPpqjie.js.map +0 -1
- package/build/server/chunks/chunks/StatCard.js-zRBLbtcF.js +0 -51
- package/build/server/chunks/chunks/StatCard.js-zRBLbtcF.js.map +0 -1
- package/build/server/chunks/chunks/UserChip.js-U7u7sT5N.js +0 -1162
- package/build/server/chunks/chunks/UserChip.js-U7u7sT5N.js.map +0 -1
- package/build/server/chunks/chunks/access.server.js-CtByiPfW.js +0 -459
- package/build/server/chunks/chunks/access.server.js-CtByiPfW.js.map +0 -1
- package/build/server/chunks/chunks/access2.server.js-DbGrdjPC.js +0 -22
- package/build/server/chunks/chunks/access2.server.js-DbGrdjPC.js.map +0 -1
- package/build/server/chunks/chunks/activity.js-Bzf3Rw-Y.js +0 -15
- package/build/server/chunks/chunks/activity.js-Bzf3Rw-Y.js.map +0 -1
- package/build/server/chunks/chunks/admin-auth.server.js-Bebbe9ky.js +0 -170
- package/build/server/chunks/chunks/admin-auth.server.js-Bebbe9ky.js.map +0 -1
- package/build/server/chunks/chunks/admin-config.js-Dg_fjIrF.js +0 -3
- package/build/server/chunks/chunks/admin-config.js-Dg_fjIrF.js.map +0 -1
- package/build/server/chunks/chunks/alert-description.js-0qlauLB3.js +0 -45
- package/build/server/chunks/chunks/alert-description.js-0qlauLB3.js.map +0 -1
- package/build/server/chunks/chunks/alert-dialog.js-DqpoTiwK.js +0 -462
- package/build/server/chunks/chunks/alert-dialog.js-DqpoTiwK.js.map +0 -1
- package/build/server/chunks/chunks/api-errors.js-BxgJsaxY.js +0 -139
- package/build/server/chunks/chunks/api-errors.js-BxgJsaxY.js.map +0 -1
- package/build/server/chunks/chunks/arrow-left.js-CPYywNA_.js +0 -15
- package/build/server/chunks/chunks/arrow-left.js-CPYywNA_.js.map +0 -1
- package/build/server/chunks/chunks/arrow-right.js-Dh-0ZDhg.js +0 -15
- package/build/server/chunks/chunks/arrow-right.js-Dh-0ZDhg.js.map +0 -1
- package/build/server/chunks/chunks/auth-bootstrap.server.js-B8cpS58t.js +0 -152
- package/build/server/chunks/chunks/auth-bootstrap.server.js-B8cpS58t.js.map +0 -1
- package/build/server/chunks/chunks/auth.server.js-BJ7UbJRt.js +0 -2
- package/build/server/chunks/chunks/auth.server.js-BJ7UbJRt.js.map +0 -1
- package/build/server/chunks/chunks/badge.js-Dcv6enEI.js +0 -35
- package/build/server/chunks/chunks/badge.js-Dcv6enEI.js.map +0 -1
- package/build/server/chunks/chunks/bodies.js-CTiPErFv.js +0 -74
- package/build/server/chunks/chunks/bodies.js-CTiPErFv.js.map +0 -1
- package/build/server/chunks/chunks/bootHealth.server.js-DMMDGqBg.js +0 -89
- package/build/server/chunks/chunks/bootHealth.server.js-DMMDGqBg.js.map +0 -1
- package/build/server/chunks/chunks/building-2.js-BCfVY0NJ.js +0 -21
- package/build/server/chunks/chunks/building-2.js-BCfVY0NJ.js.map +0 -1
- package/build/server/chunks/chunks/button.js-DnBIG_KP.js +0 -71
- package/build/server/chunks/chunks/button.js-DnBIG_KP.js.map +0 -1
- package/build/server/chunks/chunks/card-content.js-CELu9WjT.js +0 -35
- package/build/server/chunks/chunks/card-content.js-CELu9WjT.js.map +0 -1
- package/build/server/chunks/chunks/card-description.js-B7ZLv4Tz.js +0 -20
- package/build/server/chunks/chunks/card-description.js-B7ZLv4Tz.js.map +0 -1
- package/build/server/chunks/chunks/card-title.js-DYrOP1ML.js +0 -35
- package/build/server/chunks/chunks/card-title.js-DYrOP1ML.js.map +0 -1
- package/build/server/chunks/chunks/check.js-DvgnbFrm.js +0 -15
- package/build/server/chunks/chunks/check.js-DvgnbFrm.js.map +0 -1
- package/build/server/chunks/chunks/chevron-down.js-9Ga-rYOv.js +0 -15
- package/build/server/chunks/chunks/chevron-down.js-9Ga-rYOv.js.map +0 -1
- package/build/server/chunks/chunks/chevron-right.js-DkHFsOm1.js +0 -15
- package/build/server/chunks/chunks/chevron-right.js-DkHFsOm1.js.map +0 -1
- package/build/server/chunks/chunks/chevron-up.js-D-5Kni0i.js +0 -15
- package/build/server/chunks/chunks/chevron-up.js-D-5Kni0i.js.map +0 -1
- package/build/server/chunks/chunks/circle-alert.js-ewx1--Br.js +0 -33
- package/build/server/chunks/chunks/circle-alert.js-ewx1--Br.js.map +0 -1
- package/build/server/chunks/chunks/circle.js-DWTV3XEV.js +0 -19
- package/build/server/chunks/chunks/circle.js-DWTV3XEV.js.map +0 -1
- package/build/server/chunks/chunks/client.js-gE7PkUOx.js +0 -59
- package/build/server/chunks/chunks/client.js-gE7PkUOx.js.map +0 -1
- package/build/server/chunks/chunks/compute.js-CLbxijB0.js +0 -276
- package/build/server/chunks/chunks/compute.js-CLbxijB0.js.map +0 -1
- package/build/server/chunks/chunks/computeLimits.js-BW8Girbw.js +0 -44
- package/build/server/chunks/chunks/computeLimits.js-BW8Girbw.js.map +0 -1
- package/build/server/chunks/chunks/copy.js-NEXtqPba.js +0 -22
- package/build/server/chunks/chunks/copy.js-NEXtqPba.js.map +0 -1
- package/build/server/chunks/chunks/definitions.js-BiMLH2_T.js +0 -2
- package/build/server/chunks/chunks/definitions.js-BiMLH2_T.js.map +0 -1
- package/build/server/chunks/chunks/dialog-footer.js-Bx_47qNK.js +0 -59
- package/build/server/chunks/chunks/dialog-footer.js-Bx_47qNK.js.map +0 -1
- package/build/server/chunks/chunks/dialog.js-Cpi38kdr.js +0 -367
- package/build/server/chunks/chunks/dialog.js-Cpi38kdr.js.map +0 -1
- package/build/server/chunks/chunks/engine.server.js-17hYtiXl.js +0 -569
- package/build/server/chunks/chunks/engine.server.js-17hYtiXl.js.map +0 -1
- package/build/server/chunks/chunks/folder-kanban.js-D2H7VXFT.js +0 -20
- package/build/server/chunks/chunks/folder-kanban.js-D2H7VXFT.js.map +0 -1
- package/build/server/chunks/chunks/folder-open.js-CABtmima.js +0 -15
- package/build/server/chunks/chunks/folder-open.js-CABtmima.js.map +0 -1
- package/build/server/chunks/chunks/folders.js-CEnt1EJO.js +0 -15
- package/build/server/chunks/chunks/folders.js-CEnt1EJO.js.map +0 -1
- package/build/server/chunks/chunks/forms.js-mdPo9YOJ.js +0 -2
- package/build/server/chunks/chunks/forms.js-mdPo9YOJ.js.map +0 -1
- package/build/server/chunks/chunks/gauge.js-DWQ6M-aX.js +0 -15
- package/build/server/chunks/chunks/gauge.js-DWQ6M-aX.js.map +0 -1
- package/build/server/chunks/chunks/input.js-Cthc3x18.js +0 -36
- package/build/server/chunks/chunks/input.js-Cthc3x18.js.map +0 -1
- package/build/server/chunks/chunks/internal2.js-DmDzNPL8.js +0 -224
- package/build/server/chunks/chunks/internal2.js-DmDzNPL8.js.map +0 -1
- package/build/server/chunks/chunks/label.js-BOsVBhKa.js +0 -108
- package/build/server/chunks/chunks/label.js-BOsVBhKa.js.map +0 -1
- package/build/server/chunks/chunks/limits.js-DRxCN6Nq.js +0 -140
- package/build/server/chunks/chunks/limits.js-DRxCN6Nq.js.map +0 -1
- package/build/server/chunks/chunks/link-2.js-Cnwn-RND.js +0 -24
- package/build/server/chunks/chunks/link-2.js-Cnwn-RND.js.map +0 -1
- package/build/server/chunks/chunks/mail.js-DmmjlTJl.js +0 -21
- package/build/server/chunks/chunks/mail.js-DmmjlTJl.js.map +0 -1
- package/build/server/chunks/chunks/minus.js-iPLcHnYM.js +0 -33
- package/build/server/chunks/chunks/minus.js-iPLcHnYM.js.map +0 -1
- package/build/server/chunks/chunks/navigation.js-mdPo9YOJ.js +0 -2
- package/build/server/chunks/chunks/navigation.js-mdPo9YOJ.js.map +0 -1
- package/build/server/chunks/chunks/org-members.server.js-CFxu11S8.js +0 -35
- package/build/server/chunks/chunks/org-members.server.js-CFxu11S8.js.map +0 -1
- package/build/server/chunks/chunks/package.js-DGZfun5T.js +0 -78
- package/build/server/chunks/chunks/package.js-DGZfun5T.js.map +0 -1
- package/build/server/chunks/chunks/pagination.server.js-B3tH2LPH.js +0 -41
- package/build/server/chunks/chunks/pagination.server.js-B3tH2LPH.js.map +0 -1
- package/build/server/chunks/chunks/paths.js-D2qVOK2I.js +0 -19
- package/build/server/chunks/chunks/paths.js-D2qVOK2I.js.map +0 -1
- package/build/server/chunks/chunks/permissions-compat.server.js-DKkrat80.js +0 -23
- package/build/server/chunks/chunks/permissions-compat.server.js-DKkrat80.js.map +0 -1
- package/build/server/chunks/chunks/permissions.server.js-CkFRL-d3.js +0 -15
- package/build/server/chunks/chunks/permissions.server.js-CkFRL-d3.js.map +0 -1
- package/build/server/chunks/chunks/plus.js-BhIdNyVx.js +0 -15
- package/build/server/chunks/chunks/plus.js-BhIdNyVx.js.map +0 -1
- package/build/server/chunks/chunks/providers.server.js-DidbFirI.js +0 -6139
- package/build/server/chunks/chunks/providers.server.js-DidbFirI.js.map +0 -1
- package/build/server/chunks/chunks/refresh-cw.js-BntjTzeY.js +0 -20
- package/build/server/chunks/chunks/refresh-cw.js-BntjTzeY.js.map +0 -1
- package/build/server/chunks/chunks/resolve.server.js-0mH_FvvO.js +0 -62
- package/build/server/chunks/chunks/resolve.server.js-0mH_FvvO.js.map +0 -1
- package/build/server/chunks/chunks/rotate-ccw.js-DmgLvpm_.js +0 -15
- package/build/server/chunks/chunks/rotate-ccw.js-DmgLvpm_.js.map +0 -1
- package/build/server/chunks/chunks/route.js-D4ygOdcI.js +0 -166
- package/build/server/chunks/chunks/route.js-D4ygOdcI.js.map +0 -1
- package/build/server/chunks/chunks/scroll-text.js-DrMfDfhW.js +0 -20
- package/build/server/chunks/chunks/scroll-text.js-DrMfDfhW.js.map +0 -1
- package/build/server/chunks/chunks/search.js-DlGNRpd8.js +0 -19
- package/build/server/chunks/chunks/search.js-DlGNRpd8.js.map +0 -1
- package/build/server/chunks/chunks/select.js-BwezyKiE.js +0 -3626
- package/build/server/chunks/chunks/select.js-BwezyKiE.js.map +0 -1
- package/build/server/chunks/chunks/selfUpdate.server.js-DgOltfDI.js +0 -149
- package/build/server/chunks/chunks/selfUpdate.server.js-DgOltfDI.js.map +0 -1
- package/build/server/chunks/chunks/server2.js-DB90hivZ.js +0 -44
- package/build/server/chunks/chunks/server2.js-DB90hivZ.js.map +0 -1
- package/build/server/chunks/chunks/serverConfigWrite.js-D7Ys--kd.js +0 -80
- package/build/server/chunks/chunks/serverConfigWrite.js-D7Ys--kd.js.map +0 -1
- package/build/server/chunks/chunks/settings.js-CGr02WS8.js +0 -19
- package/build/server/chunks/chunks/settings.js-CGr02WS8.js.map +0 -1
- package/build/server/chunks/chunks/shield-check.js-DtVMjVXb.js +0 -15
- package/build/server/chunks/chunks/shield-check.js-DtVMjVXb.js.map +0 -1
- package/build/server/chunks/chunks/shield.js-DANrVlXm.js +0 -15
- package/build/server/chunks/chunks/shield.js-DANrVlXm.js.map +0 -1
- package/build/server/chunks/chunks/solve.server.js-DGACE4Pn.js +0 -300
- package/build/server/chunks/chunks/solve.server.js-DGACE4Pn.js.map +0 -1
- package/build/server/chunks/chunks/src.js-BT_hYA9R.js +0 -356
- package/build/server/chunks/chunks/src.js-BT_hYA9R.js.map +0 -1
- package/build/server/chunks/chunks/star.js-BnAXo_AN.js +0 -15
- package/build/server/chunks/chunks/star.js-BnAXo_AN.js.map +0 -1
- package/build/server/chunks/chunks/state.js-ChDEmDWa.js +0 -76
- package/build/server/chunks/chunks/state.js-ChDEmDWa.js.map +0 -1
- package/build/server/chunks/chunks/stores.js-BA_asgTq.js +0 -35
- package/build/server/chunks/chunks/stores.js-BA_asgTq.js.map +0 -1
- package/build/server/chunks/chunks/textarea.js-DGuIk_8W.js +0 -512
- package/build/server/chunks/chunks/textarea.js-DGuIk_8W.js.map +0 -1
- package/build/server/chunks/chunks/trash-2.js-C7ZQNvja.js +0 -21
- package/build/server/chunks/chunks/trash-2.js-C7ZQNvja.js.map +0 -1
- package/build/server/chunks/chunks/triangle-alert.js-DpFmhAmt.js +0 -19
- package/build/server/chunks/chunks/triangle-alert.js-DpFmhAmt.js.map +0 -1
- package/build/server/chunks/chunks/user-plus.js-nHq1U-k8.js +0 -34
- package/build/server/chunks/chunks/user-plus.js-nHq1U-k8.js.map +0 -1
- package/build/server/chunks/chunks/users.js-CuxrhRp_.js +0 -24
- package/build/server/chunks/chunks/users.js-CuxrhRp_.js.map +0 -1
- package/build/server/chunks/chunks/utils2.js-DPcucOBl.js +0 -56
- package/build/server/chunks/chunks/utils2.js-DPcucOBl.js.map +0 -1
- package/build/server/chunks/chunks/utils3.js-AVgqWIzH.js +0 -95
- package/build/server/chunks/chunks/utils3.js-AVgqWIzH.js.map +0 -1
- package/build/server/chunks/chunks/visibility.server.js-C2GlXeqe.js +0 -107
- package/build/server/chunks/chunks/visibility.server.js-C2GlXeqe.js.map +0 -1
- package/build/server/chunks/chunks/x.js-DdSw7Ync.js +0 -15
- package/build/server/chunks/chunks/x.js-DdSw7Ync.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/compute/_server.ts.js-D8TKd93c.js +0 -84
- package/build/server/chunks/entries/endpoints/api/admin/compute/_server.ts.js-D8TKd93c.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/compute/actions/_server.ts.js-DcGdczKi.js +0 -54
- package/build/server/chunks/entries/endpoints/api/admin/compute/actions/_server.ts.js-DcGdczKi.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/compute/status/_server.ts.js-CmDEN3Zj.js +0 -80
- package/build/server/chunks/entries/endpoints/api/admin/compute/status/_server.ts.js-CmDEN3Zj.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/orgs/_id_/_server.ts.js-C22Amph3.js +0 -51
- package/build/server/chunks/entries/endpoints/api/admin/orgs/_id_/_server.ts.js-C22Amph3.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/orgs/_server.ts.js-8kVdLD4e.js +0 -72
- package/build/server/chunks/entries/endpoints/api/admin/orgs/_server.ts.js-8kVdLD4e.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/_server.ts.js-CuFT5UYK.js +0 -75
- package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/_server.ts.js-CuFT5UYK.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/grants/_grantId_/_server.ts.js-buPp6WBB.js +0 -34
- package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/grants/_grantId_/_server.ts.js-buPp6WBB.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/grants/_server.ts.js-ByFepiSi.js +0 -72
- package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/grants/_server.ts.js-ByFepiSi.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/projects/_server.ts.js-BMFX9kWJ.js +0 -103
- package/build/server/chunks/entries/endpoints/api/admin/projects/_server.ts.js-BMFX9kWJ.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/system/health/_server.ts.js-Wd55F6z4.js +0 -194
- package/build/server/chunks/entries/endpoints/api/admin/system/health/_server.ts.js-Wd55F6z4.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/system/throughput/_server.ts.js-CLGsobSr.js +0 -90
- package/build/server/chunks/entries/endpoints/api/admin/system/throughput/_server.ts.js-CLGsobSr.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/system/update/_server.ts.js-CbMz3wmb.js +0 -564
- package/build/server/chunks/entries/endpoints/api/admin/system/update/_server.ts.js-CbMz3wmb.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/users/_id_/_server.ts.js-Qy_amyG3.js +0 -76
- package/build/server/chunks/entries/endpoints/api/admin/users/_id_/_server.ts.js-Qy_amyG3.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/users/_id_/disable/_server.ts.js-Fkq-f51-.js +0 -46
- package/build/server/chunks/entries/endpoints/api/admin/users/_id_/disable/_server.ts.js-Fkq-f51-.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/admin/users/_server.ts.js-R-RlaNof.js +0 -84
- package/build/server/chunks/entries/endpoints/api/admin/users/_server.ts.js-R-RlaNof.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/diag/throughput/_server.ts.js-D5rstuc9.js +0 -60
- package/build/server/chunks/entries/endpoints/api/diag/throughput/_server.ts.js-D5rstuc9.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/files/_...path_/_server.ts.js-DDCo989-.js +0 -89
- package/build/server/chunks/entries/endpoints/api/files/_...path_/_server.ts.js-DDCo989-.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-2rT5V9Qg.js +0 -57
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-2rT5V9Qg.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/health/ready/_server.ts.js-Dby6985v.js +0 -60
- package/build/server/chunks/entries/endpoints/api/health/ready/_server.ts.js-Dby6985v.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/compute/_server.ts.js-CtOccShJ.js +0 -83
- package/build/server/chunks/entries/endpoints/api/v1/compute/_server.ts.js-CtOccShJ.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/compute/schema/_server.ts.js-I6Ata7-b.js +0 -61
- package/build/server/chunks/entries/endpoints/api/v1/compute/schema/_server.ts.js-I6Ata7-b.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/_server.ts.js-ENn5Un43.js +0 -63
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/_server.ts.js-ENn5Un43.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/image/_server.ts.js-C9U4v9SK.js +0 -37
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/image/_server.ts.js-C9U4v9SK.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/publish/_server.ts.js-Cz4t6Pw4.js +0 -33
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/publish/_server.ts.js-Cz4t6Pw4.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/schema/_server.ts.js-DPWOMh0N.js +0 -39
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/schema/_server.ts.js-DPWOMh0N.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/share-links/_linkId_/_server.ts.js-CCPMelZ3.js +0 -39
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/share-links/_linkId_/_server.ts.js-CCPMelZ3.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/share-links/_server.ts.js-IisAh27x.js +0 -81
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/share-links/_server.ts.js-IisAh27x.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/solve/_server.ts.js-CU_hEfWw.js +0 -0
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/solve/_server.ts.js-CU_hEfWw.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_server.ts.js-BOkikAzQ.js +0 -54
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_server.ts.js-BOkikAzQ.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/_server.ts.js-CR-wSySw.js +0 -48
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/_server.ts.js-CR-wSySw.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/schema/_server.ts.js-BH9xWvlR.js +0 -40
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/schema/_server.ts.js-BH9xWvlR.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_server.ts.js-fXnpb3gt.js +0 -113
- package/build/server/chunks/entries/endpoints/api/v1/definitions/_server.ts.js-fXnpb3gt.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/me/_server.ts.js-DG1apOg2.js +0 -39
- package/build/server/chunks/entries/endpoints/api/v1/me/_server.ts.js-DG1apOg2.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/me/starred/_guid_/_server.ts.js-h8LQFRmx.js +0 -36
- package/build/server/chunks/entries/endpoints/api/v1/me/starred/_guid_/_server.ts.js-h8LQFRmx.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/_server.ts.js-Cdg3heqW.js +0 -30
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/_server.ts.js-Cdg3heqW.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/assets/_kind_/_server.ts.js-CpyN_qYd.js +0 -74
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/assets/_kind_/_server.ts.js-CpyN_qYd.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/compute/_server.ts.js-BqRLXi8N.js +0 -101
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/compute/_server.ts.js-BqRLXi8N.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_id_/_server.ts.js-B68WN_od.js +0 -46
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_id_/_server.ts.js-B68WN_od.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_server.ts.js-CCK8e3MY.js +0 -64
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_server.ts.js-CCK8e3MY.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/members/_server.ts.js-DZLKVRtE.js +0 -33
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/members/_server.ts.js-DZLKVRtE.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/members/_userId_/_server.ts.js-DQsDdRNm.js +0 -90
- package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/members/_userId_/_server.ts.js-DQsDdRNm.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/_server.ts.js-slgXt3YW.js +0 -84
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/_server.ts.js-slgXt3YW.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/members/_server.ts.js-C60DdAoA.js +0 -51
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/members/_server.ts.js-C60DdAoA.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/members/_userId_/_server.ts.js-4Q6hl2nQ.js +0 -51
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/members/_userId_/_server.ts.js-4Q6hl2nQ.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/reclaim/_server.ts.js-CcyCqNun.js +0 -44
- package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/reclaim/_server.ts.js-CcyCqNun.js.map +0 -1
- package/build/server/chunks/entries/endpoints/api/v1/projects/_server.ts.js-Ct7moAo7.js +0 -83
- package/build/server/chunks/entries/endpoints/api/v1/projects/_server.ts.js-Ct7moAo7.js.map +0 -1
- package/build/server/chunks/entries/endpoints/auth/email/callback/_server.ts.js-BWJq3jJi.js +0 -45
- package/build/server/chunks/entries/endpoints/auth/email/callback/_server.ts.js-BWJq3jJi.js.map +0 -1
- package/build/server/chunks/entries/endpoints/auth/supabase/callback/_server.ts.js-cEVdkBgC.js +0 -49
- package/build/server/chunks/entries/endpoints/auth/supabase/callback/_server.ts.js-cEVdkBgC.js.map +0 -1
- package/build/server/chunks/entries/endpoints/auth/supabase/start/_server.ts.js-BOUF3if-.js +0 -52
- package/build/server/chunks/entries/endpoints/auth/supabase/start/_server.ts.js-BOUF3if-.js.map +0 -1
- package/build/server/chunks/entries/hooks.server.js-YjRSJtzl.js +0 -314
- package/build/server/chunks/entries/hooks.server.js-YjRSJtzl.js.map +0 -1
- package/build/server/chunks/entries/pages/_error.svelte.js-B9oCN23V.js +0 -36
- package/build/server/chunks/entries/pages/_error.svelte.js-B9oCN23V.js.map +0 -1
- package/build/server/chunks/entries/pages/_layout.server.ts.js-XXU_UHt9.js +0 -34
- package/build/server/chunks/entries/pages/_layout.server.ts.js-XXU_UHt9.js.map +0 -1
- package/build/server/chunks/entries/pages/_page.svelte.js-BQdj8Qyn.js +0 -77
- package/build/server/chunks/entries/pages/_page.svelte.js-BQdj8Qyn.js.map +0 -1
- package/build/server/chunks/entries/pages/accept-invite/_page.server.ts.js-DcW2WrPT.js +0 -116
- package/build/server/chunks/entries/pages/accept-invite/_page.server.ts.js-DcW2WrPT.js.map +0 -1
- package/build/server/chunks/entries/pages/accept-invite/_page.svelte.js-YPa6-wl1.js +0 -149
- package/build/server/chunks/entries/pages/accept-invite/_page.svelte.js-YPa6-wl1.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/_error.svelte.js-D-PHsom9.js +0 -37
- package/build/server/chunks/entries/pages/admin/_error.svelte.js-D-PHsom9.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/_layout.server.ts.js-BIDgiygf.js +0 -31
- package/build/server/chunks/entries/pages/admin/_layout.server.ts.js-BIDgiygf.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/_layout.svelte.js-bkdXRNJA.js +0 -122
- package/build/server/chunks/entries/pages/admin/_layout.svelte.js-bkdXRNJA.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/_page.server.ts.js-DX6Tdo-7.js +0 -75
- package/build/server/chunks/entries/pages/admin/_page.server.ts.js-DX6Tdo-7.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/_page.svelte.js-DpI_koon.js +0 -360
- package/build/server/chunks/entries/pages/admin/_page.svelte.js-DpI_koon.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/audit/_page.server.ts.js-DH_BS6lc.js +0 -245
- package/build/server/chunks/entries/pages/admin/audit/_page.server.ts.js-DH_BS6lc.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/audit/_page.svelte.js-BArYFVnE.js +0 -459
- package/build/server/chunks/entries/pages/admin/audit/_page.svelte.js-BArYFVnE.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/compute/_page.server.ts.js-BOBDx9Jh.js +0 -74
- package/build/server/chunks/entries/pages/admin/compute/_page.server.ts.js-BOBDx9Jh.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/compute/_page.svelte.js-D9V2VQsk.js +0 -673
- package/build/server/chunks/entries/pages/admin/compute/_page.svelte.js-D9V2VQsk.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/organizations/_page.server.ts.js-48PQEk5e.js +0 -35
- package/build/server/chunks/entries/pages/admin/organizations/_page.server.ts.js-48PQEk5e.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/organizations/_page.svelte.js-CdEhl6T-.js +0 -95
- package/build/server/chunks/entries/pages/admin/organizations/_page.svelte.js-CdEhl6T-.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/projects/_id_/_page.server.ts.js-Cw7O8f6m.js +0 -86
- package/build/server/chunks/entries/pages/admin/projects/_id_/_page.server.ts.js-Cw7O8f6m.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/projects/_id_/_page.svelte.js-siYf9Q4a.js +0 -617
- package/build/server/chunks/entries/pages/admin/projects/_id_/_page.svelte.js-siYf9Q4a.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/projects/_page.server.ts.js-D-xaRX4J.js +0 -42
- package/build/server/chunks/entries/pages/admin/projects/_page.server.ts.js-D-xaRX4J.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/projects/_page.svelte.js-CsnZchUj.js +0 -283
- package/build/server/chunks/entries/pages/admin/projects/_page.svelte.js-CsnZchUj.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/system/_page.server.ts.js-C9cWn9JR.js +0 -86
- package/build/server/chunks/entries/pages/admin/system/_page.server.ts.js-C9cWn9JR.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/system/_page.svelte.js-DP8y8a3W.js +0 -1475
- package/build/server/chunks/entries/pages/admin/system/_page.svelte.js-DP8y8a3W.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/users/_page.server.ts.js-CKlsGxgO.js +0 -70
- package/build/server/chunks/entries/pages/admin/users/_page.server.ts.js-CKlsGxgO.js.map +0 -1
- package/build/server/chunks/entries/pages/admin/users/_page.svelte.js-BWngOGES.js +0 -805
- package/build/server/chunks/entries/pages/admin/users/_page.svelte.js-BWngOGES.js.map +0 -1
- package/build/server/chunks/entries/pages/auth/email/sent/_page.svelte.js-DcBkxE2N.js +0 -63
- package/build/server/chunks/entries/pages/auth/email/sent/_page.svelte.js-DcBkxE2N.js.map +0 -1
- package/build/server/chunks/entries/pages/auth/email/start/_page.server.ts.js-B1IikTvV.js +0 -62
- package/build/server/chunks/entries/pages/auth/email/start/_page.server.ts.js-B1IikTvV.js.map +0 -1
- package/build/server/chunks/entries/pages/docs/api/_page.server.ts.js-CEEnV5ld.js +0 -527
- package/build/server/chunks/entries/pages/docs/api/_page.server.ts.js-CEEnV5ld.js.map +0 -1
- package/build/server/chunks/entries/pages/docs/api/_page.svelte.js-BpA6hqVU.js +0 -90
- package/build/server/chunks/entries/pages/docs/api/_page.svelte.js-BpA6hqVU.js.map +0 -1
- package/build/server/chunks/entries/pages/library/_guid_/_page.server.ts.js-BWip5kRc.js +0 -118
- package/build/server/chunks/entries/pages/library/_guid_/_page.server.ts.js-BWip5kRc.js.map +0 -1
- package/build/server/chunks/entries/pages/library/_guid_/_page.svelte.js-Bq7zfAi6.js +0 -12881
- package/build/server/chunks/entries/pages/library/_guid_/_page.svelte.js-Bq7zfAi6.js.map +0 -1
- package/build/server/chunks/entries/pages/library/_page.server.ts.js-DdBljSPR.js +0 -48
- package/build/server/chunks/entries/pages/library/_page.server.ts.js-DdBljSPR.js.map +0 -1
- package/build/server/chunks/entries/pages/library/_page.svelte.js-BOaWIY84.js +0 -323
- package/build/server/chunks/entries/pages/library/_page.svelte.js-BOaWIY84.js.map +0 -1
- package/build/server/chunks/entries/pages/login/_page.server.ts.js-CcIqkImB.js +0 -83
- package/build/server/chunks/entries/pages/login/_page.server.ts.js-CcIqkImB.js.map +0 -1
- package/build/server/chunks/entries/pages/login/_page.svelte.js-BZF2SPGZ.js +0 -257
- package/build/server/chunks/entries/pages/login/_page.svelte.js-BZF2SPGZ.js.map +0 -1
- package/build/server/chunks/entries/pages/logout/_page.server.ts.js-CmFhF8iB.js +0 -16
- package/build/server/chunks/entries/pages/logout/_page.server.ts.js-CmFhF8iB.js.map +0 -1
- package/build/server/chunks/entries/pages/projects/_layout.server.ts.js-pf64a6K8.js +0 -22
- package/build/server/chunks/entries/pages/projects/_layout.server.ts.js-pf64a6K8.js.map +0 -1
- package/build/server/chunks/entries/pages/projects/_layout.svelte.js-CMAdRDUJ.js +0 -50
- package/build/server/chunks/entries/pages/projects/_layout.svelte.js-CMAdRDUJ.js.map +0 -1
- package/build/server/chunks/entries/pages/projects/_page.server.ts.js-BK0No9tN.js +0 -92
- package/build/server/chunks/entries/pages/projects/_page.server.ts.js-BK0No9tN.js.map +0 -1
- package/build/server/chunks/entries/pages/projects/_page.svelte.js-CWGZYH86.js +0 -3745
- package/build/server/chunks/entries/pages/projects/_page.svelte.js-CWGZYH86.js.map +0 -1
- package/build/server/chunks/entries/pages/setup/_page.server.ts.js-Bwbv2byC.js +0 -114
- package/build/server/chunks/entries/pages/setup/_page.server.ts.js-Bwbv2byC.js.map +0 -1
- package/build/server/chunks/entries/pages/setup/_page.svelte.js-Ci0h_3Y0.js +0 -322
- package/build/server/chunks/entries/pages/setup/_page.svelte.js-Ci0h_3Y0.js.map +0 -1
- package/build/server/chunks/entries/pages/team/_layout.server.ts.js-CGsNm3GK.js +0 -28
- package/build/server/chunks/entries/pages/team/_layout.server.ts.js-CGsNm3GK.js.map +0 -1
- package/build/server/chunks/entries/pages/team/_layout.svelte.js-B7V8rmk_.js +0 -163
- package/build/server/chunks/entries/pages/team/_layout.svelte.js-B7V8rmk_.js.map +0 -1
- package/build/server/chunks/entries/pages/team/_page.server.ts.js-BTHBuOfN.js +0 -35
- package/build/server/chunks/entries/pages/team/_page.server.ts.js-BTHBuOfN.js.map +0 -1
- package/build/server/chunks/entries/pages/team/_page.svelte.js-DuqTm5uS.js +0 -110
- package/build/server/chunks/entries/pages/team/_page.svelte.js-DuqTm5uS.js.map +0 -1
- package/build/server/chunks/entries/pages/team/activity/_page.svelte.js-DUkXBRhl.js +0 -121
- package/build/server/chunks/entries/pages/team/activity/_page.svelte.js-DUkXBRhl.js.map +0 -1
- package/build/server/chunks/entries/pages/team/compute/_page.server.ts.js-CbGtMo68.js +0 -42
- package/build/server/chunks/entries/pages/team/compute/_page.server.ts.js-CbGtMo68.js.map +0 -1
- package/build/server/chunks/entries/pages/team/compute/_page.svelte.js-URIaf15M.js +0 -594
- package/build/server/chunks/entries/pages/team/compute/_page.svelte.js-URIaf15M.js.map +0 -1
- package/build/server/chunks/entries/pages/team/members/_page.server.ts.js-CA_qsfOy.js +0 -58
- package/build/server/chunks/entries/pages/team/members/_page.server.ts.js-CA_qsfOy.js.map +0 -1
- package/build/server/chunks/entries/pages/team/members/_page.svelte.js-Bp1rcYA8.js +0 -540
- package/build/server/chunks/entries/pages/team/members/_page.svelte.js-Bp1rcYA8.js.map +0 -1
- package/build/server/chunks/entries/pages/team/projects/_page.server.ts.js-CldH9eBq.js +0 -42
- package/build/server/chunks/entries/pages/team/projects/_page.server.ts.js-CldH9eBq.js.map +0 -1
- package/build/server/chunks/entries/pages/team/projects/_page.svelte.js-CeGAmMEB.js +0 -437
- package/build/server/chunks/entries/pages/team/projects/_page.svelte.js-CeGAmMEB.js.map +0 -1
- package/build/server/chunks/entries/pages/team/reclaim/_page.server.ts.js-BBRg2eHu.js +0 -50
- package/build/server/chunks/entries/pages/team/reclaim/_page.server.ts.js-BBRg2eHu.js.map +0 -1
- package/build/server/chunks/entries/pages/team/reclaim/_page.svelte.js-BqeVJ5u4.js +0 -263
- package/build/server/chunks/entries/pages/team/reclaim/_page.svelte.js-BqeVJ5u4.js.map +0 -1
- package/build/server/chunks/entries/pages/team/settings/_page.server.ts.js-DwhZp-tF.js +0 -32
- package/build/server/chunks/entries/pages/team/settings/_page.server.ts.js-DwhZp-tF.js.map +0 -1
- package/build/server/chunks/entries/pages/team/settings/_page.svelte.js-Bf2ZUkx-.js +0 -303
- package/build/server/chunks/entries/pages/team/settings/_page.svelte.js-Bf2ZUkx-.js.map +0 -1
- package/build/server/chunks/entries/pages/team/shares/_page.server.ts.js-COka0di6.js +0 -16
- package/build/server/chunks/entries/pages/team/shares/_page.server.ts.js-COka0di6.js.map +0 -1
- package/build/server/chunks/entries/pages/team/shares/_page.svelte.js-JoCT8vRV.js +0 -121
- package/build/server/chunks/entries/pages/team/shares/_page.svelte.js-JoCT8vRV.js.map +0 -1
- package/build/server/chunks/handler-BcqCh2dp.js +0 -1206
- package/build/server/chunks/handler-BcqCh2dp.js.map +0 -1
- package/build/server/chunks/index.js-Cxzt7Vsw.js +0 -3757
- package/build/server/chunks/index.js-Cxzt7Vsw.js.map +0 -1
- package/build/server/chunks/manifest.js-D0-7SmM1.js +0 -605
- package/build/server/chunks/manifest.js-D0-7SmM1.js.map +0 -1
- package/build/server/chunks/nodes/0.js-CLwe0gsI.js +0 -25
- package/build/server/chunks/nodes/0.js-CLwe0gsI.js.map +0 -1
- package/build/server/chunks/nodes/1.js-ihy9Wwkl.js +0 -9
- package/build/server/chunks/nodes/1.js-ihy9Wwkl.js.map +0 -1
- package/build/server/chunks/nodes/10.js-CFBHLaAR.js +0 -29
- package/build/server/chunks/nodes/10.js-CFBHLaAR.js.map +0 -1
- package/build/server/chunks/nodes/11.js-BRf_avb7.js +0 -35
- package/build/server/chunks/nodes/11.js-BRf_avb7.js.map +0 -1
- package/build/server/chunks/nodes/12.js-CWP3hyMG.js +0 -26
- package/build/server/chunks/nodes/12.js-CWP3hyMG.js.map +0 -1
- package/build/server/chunks/nodes/13.js-C51jLglF.js +0 -26
- package/build/server/chunks/nodes/13.js-C51jLglF.js.map +0 -1
- package/build/server/chunks/nodes/14.js-BzZSvZhb.js +0 -26
- package/build/server/chunks/nodes/14.js-BzZSvZhb.js.map +0 -1
- package/build/server/chunks/nodes/15.js-Dyk8djqm.js +0 -36
- package/build/server/chunks/nodes/15.js-Dyk8djqm.js.map +0 -1
- package/build/server/chunks/nodes/16.js-CQac7tXW.js +0 -31
- package/build/server/chunks/nodes/16.js-CQac7tXW.js.map +0 -1
- package/build/server/chunks/nodes/17.js-iB1jet_M.js +0 -9
- package/build/server/chunks/nodes/17.js-iB1jet_M.js.map +0 -1
- package/build/server/chunks/nodes/18.js-4fzwYkSG.js +0 -30
- package/build/server/chunks/nodes/18.js-4fzwYkSG.js.map +0 -1
- package/build/server/chunks/nodes/19.js-BYPfbf-y.js +0 -29
- package/build/server/chunks/nodes/19.js-BYPfbf-y.js.map +0 -1
- package/build/server/chunks/nodes/2.js-Be9hoYTU.js +0 -29
- package/build/server/chunks/nodes/2.js-Be9hoYTU.js.map +0 -1
- package/build/server/chunks/nodes/20.js-pZnyCvmY.js +0 -30
- package/build/server/chunks/nodes/20.js-pZnyCvmY.js.map +0 -1
- package/build/server/chunks/nodes/21.js-vWOn41x-.js +0 -38
- package/build/server/chunks/nodes/21.js-vWOn41x-.js.map +0 -1
- package/build/server/chunks/nodes/22.js-DZ9wgC1W.js +0 -30
- package/build/server/chunks/nodes/22.js-DZ9wgC1W.js.map +0 -1
- package/build/server/chunks/nodes/23.js-CXmRpjxE.js +0 -17
- package/build/server/chunks/nodes/23.js-CXmRpjxE.js.map +0 -1
- package/build/server/chunks/nodes/24.js-oV8e5WCa.js +0 -29
- package/build/server/chunks/nodes/24.js-oV8e5WCa.js.map +0 -1
- package/build/server/chunks/nodes/25.js-Ddk8sxcP.js +0 -30
- package/build/server/chunks/nodes/25.js-Ddk8sxcP.js.map +0 -1
- package/build/server/chunks/nodes/26.js-3O9AxOJG.js +0 -26
- package/build/server/chunks/nodes/26.js-3O9AxOJG.js.map +0 -1
- package/build/server/chunks/nodes/27.js-D3I97Zph.js +0 -9
- package/build/server/chunks/nodes/27.js-D3I97Zph.js.map +0 -1
- package/build/server/chunks/nodes/28.js-DzGJtNjX.js +0 -27
- package/build/server/chunks/nodes/28.js-DzGJtNjX.js.map +0 -1
- package/build/server/chunks/nodes/29.js-B5Rpt8XA.js +0 -26
- package/build/server/chunks/nodes/29.js-B5Rpt8XA.js.map +0 -1
- package/build/server/chunks/nodes/3.js-zvN4l2Te.js +0 -9
- package/build/server/chunks/nodes/3.js-zvN4l2Te.js.map +0 -1
- package/build/server/chunks/nodes/30.js-C4gYJEb3.js +0 -26
- package/build/server/chunks/nodes/30.js-C4gYJEb3.js.map +0 -1
- package/build/server/chunks/nodes/31.js-CZDfpsl2.js +0 -26
- package/build/server/chunks/nodes/31.js-CZDfpsl2.js.map +0 -1
- package/build/server/chunks/nodes/32.js-CiwBKGgV.js +0 -26
- package/build/server/chunks/nodes/32.js-CiwBKGgV.js.map +0 -1
- package/build/server/chunks/nodes/33.js-DB1zIgiV.js +0 -26
- package/build/server/chunks/nodes/33.js-DB1zIgiV.js.map +0 -1
- package/build/server/chunks/nodes/5.js-BoIy95vq.js +0 -15
- package/build/server/chunks/nodes/5.js-BoIy95vq.js.map +0 -1
- package/build/server/chunks/nodes/6.js-DYNDdl9-.js +0 -26
- package/build/server/chunks/nodes/6.js-DYNDdl9-.js.map +0 -1
- package/build/server/chunks/nodes/7.js-DDQo7vSf.js +0 -12
- package/build/server/chunks/nodes/7.js-DDQo7vSf.js.map +0 -1
- package/build/server/chunks/nodes/8.js-DNADmqSk.js +0 -32
- package/build/server/chunks/nodes/8.js-DNADmqSk.js.map +0 -1
- package/build/server/chunks/nodes/9.js-DPPBQ5sI.js +0 -26
- package/build/server/chunks/nodes/9.js-DPPBQ5sI.js.map +0 -1
- /package/build/client/_app/immutable/chunks/{CAB-AK4E.js → CAB-AK4E2.js} +0 -0
- /package/build/client/_app/immutable/chunks/{CAB-AK4E.js.br → CAB-AK4E2.js.br} +0 -0
- /package/build/client/_app/immutable/chunks/{CAB-AK4E.js.gz → CAB-AK4E2.js.gz} +0 -0
- /package/build/client/_app/immutable/chunks/{iLVM5qSy2.js → iLVM5qSy.js} +0 -0
- /package/build/client/_app/immutable/chunks/{iLVM5qSy2.js.br → iLVM5qSy.js.br} +0 -0
- /package/build/client/_app/immutable/chunks/{iLVM5qSy2.js.gz → iLVM5qSy.js.gz} +0 -0
- /package/build/client/_app/immutable/nodes/{0.Do9sYcCq.js → 0.qLlCk-9Q.js} +0 -0
- /package/build/client/_app/immutable/nodes/{0.Do9sYcCq.js.br → 0.qLlCk-9Q.js.br} +0 -0
- /package/build/client/_app/immutable/nodes/{0.Do9sYcCq.js.gz → 0.qLlCk-9Q.js.gz} +0 -0
|
@@ -0,0 +1,3626 @@
|
|
|
1
|
+
import { a6 as bind_props, $ as ensure_array_like, T as derived, Z as spread_props, a0 as attributes, a8 as props_id, a4 as escape_html } from './server.js-BBls-Hb5.js';
|
|
2
|
+
import { o as on } from './events.js-B5CKX0i1.js';
|
|
3
|
+
import { r as styleToString, f as createBitsAttrs, a as boxWith, s as simpleBox, u as boolToTrueOrUndef, p as mergeProps, q as createId, k as attachRef, m as boolToEmptyStrOrUndef, l as getDataOpenClosed, n as boolToStr, o as getDataTransitionAttrs, b as boxFrom, v as boolToStrTrueOrUndef, w as cssToStyleObj } from './create-id.js-CIH4qcdX.js';
|
|
4
|
+
import { c as cn } from './utils2.js-AVgqWIzH.js';
|
|
5
|
+
import { C as Check } from './check.js-CScjdT7t.js';
|
|
6
|
+
import { C as Chevron_down } from './chevron-down.js-D-VnQC_B.js';
|
|
7
|
+
import { C as Chevron_up } from './chevron-up.js-p9cFLkbI.js';
|
|
8
|
+
import { n as noop, w as watch, C as Context, A as ARROW_DOWN, P as PAGE_UP, H as HOME, e as ARROW_UP, f as PAGE_DOWN, k as ElementSize, l as isNotNull, m as Previous, b as isIOS } from './noop.js-mfQ_gdT-.js';
|
|
9
|
+
import { b as afterTick, c as DOMContext, P as PresenceManager, a as Portal, d as DOMTypeahead, n as next, p as prev, f as forward, e as backward, g as boxAutoReset, h as getNextMatch, i as afterSleep, u as useId, j as getWindow$1, S as Scroll_lock, F as Focus_scope, E as Escape_layer, D as Dismissible_layer, T as Text_selection_layer } from './scroll-lock.js-CPRBborm.js';
|
|
10
|
+
|
|
11
|
+
//#region ../../node_modules/.pnpm/svelte-toolbelt@0.10.6_@sveltejs+kit@2.70.2_@opentelemetry+api@1.9.1_@sveltejs+vite-plu_7f517894883e8704c4614651c6dcf1ee/node_modules/svelte-toolbelt/dist/utils/sr-only-styles.js
|
|
12
|
+
var srOnlyStyles = {
|
|
13
|
+
position: "absolute",
|
|
14
|
+
width: "1px",
|
|
15
|
+
height: "1px",
|
|
16
|
+
padding: "0",
|
|
17
|
+
margin: "-1px",
|
|
18
|
+
overflow: "hidden",
|
|
19
|
+
clip: "rect(0, 0, 0, 0)",
|
|
20
|
+
whiteSpace: "nowrap",
|
|
21
|
+
borderWidth: "0",
|
|
22
|
+
transform: "translateX(-100%)"
|
|
23
|
+
};
|
|
24
|
+
styleToString(srOnlyStyles);
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region ../../node_modules/.pnpm/bits-ui@2.18.1_@internationalized+date@3.12.3_@sveltejs+kit@2.70.2_@opentelemetry+api@1_928e570f1afd842a71a2bdb10737e411/node_modules/bits-ui/dist/bits/utilities/hidden-input.svelte
|
|
27
|
+
function Hidden_input($$renderer, $$props) {
|
|
28
|
+
$$renderer.component(($$renderer) => {
|
|
29
|
+
let { value = void 0, $$slots, $$events, ...restProps } = $$props;
|
|
30
|
+
const mergedProps = derived(() => mergeProps(restProps, {
|
|
31
|
+
"aria-hidden": "true",
|
|
32
|
+
tabindex: -1,
|
|
33
|
+
style: {
|
|
34
|
+
...srOnlyStyles,
|
|
35
|
+
position: "absolute",
|
|
36
|
+
top: "0",
|
|
37
|
+
left: "0"
|
|
38
|
+
}
|
|
39
|
+
}));
|
|
40
|
+
if (mergedProps().type === "checkbox") {
|
|
41
|
+
$$renderer.push("<!--[0-->");
|
|
42
|
+
$$renderer.push(`<input${attributes({
|
|
43
|
+
...mergedProps(),
|
|
44
|
+
value
|
|
45
|
+
}, void 0, void 0, void 0, 4)}/>`);
|
|
46
|
+
} else {
|
|
47
|
+
$$renderer.push("<!--[-1-->");
|
|
48
|
+
$$renderer.push(`<input${attributes({
|
|
49
|
+
value,
|
|
50
|
+
...mergedProps()
|
|
51
|
+
}, void 0, void 0, void 0, 4)}/>`);
|
|
52
|
+
}
|
|
53
|
+
$$renderer.push(`<!--]-->`);
|
|
54
|
+
bind_props($$props, { value });
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region ../../node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
59
|
+
/**
|
|
60
|
+
* Custom positioning reference element.
|
|
61
|
+
* @see https://floating-ui.com/docs/virtual-elements
|
|
62
|
+
*/
|
|
63
|
+
var sides = [
|
|
64
|
+
"top",
|
|
65
|
+
"right",
|
|
66
|
+
"bottom",
|
|
67
|
+
"left"
|
|
68
|
+
];
|
|
69
|
+
var min = Math.min;
|
|
70
|
+
var max = Math.max;
|
|
71
|
+
var round = Math.round;
|
|
72
|
+
var createCoords = (v) => ({
|
|
73
|
+
x: v,
|
|
74
|
+
y: v
|
|
75
|
+
});
|
|
76
|
+
var oppositeSideMap = {
|
|
77
|
+
left: "right",
|
|
78
|
+
right: "left",
|
|
79
|
+
bottom: "top",
|
|
80
|
+
top: "bottom"
|
|
81
|
+
};
|
|
82
|
+
function clamp(start, value, end) {
|
|
83
|
+
return max(start, min(value, end));
|
|
84
|
+
}
|
|
85
|
+
function evaluate(value, param) {
|
|
86
|
+
return typeof value === "function" ? value(param) : value;
|
|
87
|
+
}
|
|
88
|
+
function getSide(placement) {
|
|
89
|
+
return placement.split("-")[0];
|
|
90
|
+
}
|
|
91
|
+
function getAlignment(placement) {
|
|
92
|
+
return placement.split("-")[1];
|
|
93
|
+
}
|
|
94
|
+
function getOppositeAxis(axis) {
|
|
95
|
+
return axis === "x" ? "y" : "x";
|
|
96
|
+
}
|
|
97
|
+
function getAxisLength(axis) {
|
|
98
|
+
return axis === "y" ? "height" : "width";
|
|
99
|
+
}
|
|
100
|
+
function getSideAxis(placement) {
|
|
101
|
+
const firstChar = placement[0];
|
|
102
|
+
return firstChar === "t" || firstChar === "b" ? "y" : "x";
|
|
103
|
+
}
|
|
104
|
+
function getAlignmentAxis(placement) {
|
|
105
|
+
return getOppositeAxis(getSideAxis(placement));
|
|
106
|
+
}
|
|
107
|
+
function getAlignmentSides(placement, rects, rtl) {
|
|
108
|
+
if (rtl === void 0) rtl = false;
|
|
109
|
+
const alignment = getAlignment(placement);
|
|
110
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
111
|
+
const length = getAxisLength(alignmentAxis);
|
|
112
|
+
let mainAlignmentSide = alignmentAxis === "x" ? alignment === (rtl ? "end" : "start") ? "right" : "left" : alignment === "start" ? "bottom" : "top";
|
|
113
|
+
if (rects.reference[length] > rects.floating[length]) mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
114
|
+
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
115
|
+
}
|
|
116
|
+
function getExpandedPlacements(placement) {
|
|
117
|
+
const oppositePlacement = getOppositePlacement(placement);
|
|
118
|
+
return [
|
|
119
|
+
getOppositeAlignmentPlacement(placement),
|
|
120
|
+
oppositePlacement,
|
|
121
|
+
getOppositeAlignmentPlacement(oppositePlacement)
|
|
122
|
+
];
|
|
123
|
+
}
|
|
124
|
+
function getOppositeAlignmentPlacement(placement) {
|
|
125
|
+
return placement.includes("start") ? placement.replace("start", "end") : placement.replace("end", "start");
|
|
126
|
+
}
|
|
127
|
+
var lrPlacement = ["left", "right"];
|
|
128
|
+
var rlPlacement = ["right", "left"];
|
|
129
|
+
var tbPlacement = ["top", "bottom"];
|
|
130
|
+
var btPlacement = ["bottom", "top"];
|
|
131
|
+
function getSideList(side, isStart, rtl) {
|
|
132
|
+
switch (side) {
|
|
133
|
+
case "top":
|
|
134
|
+
case "bottom":
|
|
135
|
+
if (rtl) return isStart ? rlPlacement : lrPlacement;
|
|
136
|
+
return isStart ? lrPlacement : rlPlacement;
|
|
137
|
+
case "left":
|
|
138
|
+
case "right": return isStart ? tbPlacement : btPlacement;
|
|
139
|
+
default: return [];
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
143
|
+
const alignment = getAlignment(placement);
|
|
144
|
+
let list = getSideList(getSide(placement), direction === "start", rtl);
|
|
145
|
+
if (alignment) {
|
|
146
|
+
list = list.map((side) => side + "-" + alignment);
|
|
147
|
+
if (flipAlignment) list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
148
|
+
}
|
|
149
|
+
return list;
|
|
150
|
+
}
|
|
151
|
+
function getOppositePlacement(placement) {
|
|
152
|
+
const side = getSide(placement);
|
|
153
|
+
return oppositeSideMap[side] + placement.slice(side.length);
|
|
154
|
+
}
|
|
155
|
+
function expandPaddingObject(padding) {
|
|
156
|
+
var _padding$top, _padding$right, _padding$bottom, _padding$left;
|
|
157
|
+
return {
|
|
158
|
+
top: (_padding$top = padding.top) != null ? _padding$top : 0,
|
|
159
|
+
right: (_padding$right = padding.right) != null ? _padding$right : 0,
|
|
160
|
+
bottom: (_padding$bottom = padding.bottom) != null ? _padding$bottom : 0,
|
|
161
|
+
left: (_padding$left = padding.left) != null ? _padding$left : 0
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
function getPaddingObject(padding) {
|
|
165
|
+
return typeof padding !== "number" ? expandPaddingObject(padding) : {
|
|
166
|
+
top: padding,
|
|
167
|
+
right: padding,
|
|
168
|
+
bottom: padding,
|
|
169
|
+
left: padding
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
function rectToClientRect(rect) {
|
|
173
|
+
const { x, y, width, height } = rect;
|
|
174
|
+
return {
|
|
175
|
+
width,
|
|
176
|
+
height,
|
|
177
|
+
top: y,
|
|
178
|
+
left: x,
|
|
179
|
+
right: x + width,
|
|
180
|
+
bottom: y + height,
|
|
181
|
+
x,
|
|
182
|
+
y
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
//#endregion
|
|
186
|
+
//#region ../../node_modules/.pnpm/@floating-ui+core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
187
|
+
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
188
|
+
let { reference, floating } = _ref;
|
|
189
|
+
const sideAxis = getSideAxis(placement);
|
|
190
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
191
|
+
const alignLength = getAxisLength(alignmentAxis);
|
|
192
|
+
const side = getSide(placement);
|
|
193
|
+
const isVertical = sideAxis === "y";
|
|
194
|
+
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
195
|
+
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
196
|
+
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
197
|
+
let coords;
|
|
198
|
+
switch (side) {
|
|
199
|
+
case "top":
|
|
200
|
+
coords = {
|
|
201
|
+
x: commonX,
|
|
202
|
+
y: reference.y - floating.height
|
|
203
|
+
};
|
|
204
|
+
break;
|
|
205
|
+
case "bottom":
|
|
206
|
+
coords = {
|
|
207
|
+
x: commonX,
|
|
208
|
+
y: reference.y + reference.height
|
|
209
|
+
};
|
|
210
|
+
break;
|
|
211
|
+
case "right":
|
|
212
|
+
coords = {
|
|
213
|
+
x: reference.x + reference.width,
|
|
214
|
+
y: commonY
|
|
215
|
+
};
|
|
216
|
+
break;
|
|
217
|
+
case "left":
|
|
218
|
+
coords = {
|
|
219
|
+
x: reference.x - floating.width,
|
|
220
|
+
y: commonY
|
|
221
|
+
};
|
|
222
|
+
break;
|
|
223
|
+
default: coords = {
|
|
224
|
+
x: reference.x,
|
|
225
|
+
y: reference.y
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
const alignment = getAlignment(placement);
|
|
229
|
+
if (alignment) coords[alignmentAxis] += commonAlign * (alignment === "end" ? 1 : -1) * (rtl && isVertical ? -1 : 1);
|
|
230
|
+
return coords;
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* Resolves with an object of overflow side offsets that determine how much the
|
|
234
|
+
* element is overflowing a given clipping boundary on each side.
|
|
235
|
+
* - positive = overflowing the boundary by that number of pixels
|
|
236
|
+
* - negative = how many pixels left before it will overflow
|
|
237
|
+
* - 0 = lies flush with the boundary
|
|
238
|
+
* @see https://floating-ui.com/docs/detectOverflow
|
|
239
|
+
*/
|
|
240
|
+
async function detectOverflow(state, options) {
|
|
241
|
+
var _await$platform$isEle;
|
|
242
|
+
if (options === void 0) options = {};
|
|
243
|
+
const { x, y, platform, rects, elements, strategy } = state;
|
|
244
|
+
const { boundary = "clippingAncestors", rootBoundary = "viewport", elementContext = "floating", altBoundary = false, padding = 0 } = evaluate(options, state);
|
|
245
|
+
const paddingObject = getPaddingObject(padding);
|
|
246
|
+
const element = elements[altBoundary ? elementContext === "floating" ? "reference" : "floating" : elementContext];
|
|
247
|
+
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
248
|
+
element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating)),
|
|
249
|
+
boundary,
|
|
250
|
+
rootBoundary,
|
|
251
|
+
strategy
|
|
252
|
+
}));
|
|
253
|
+
const rect = elementContext === "floating" ? {
|
|
254
|
+
x,
|
|
255
|
+
y,
|
|
256
|
+
width: rects.floating.width,
|
|
257
|
+
height: rects.floating.height
|
|
258
|
+
} : rects.reference;
|
|
259
|
+
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
260
|
+
const offsetScale = await (platform.isElement == null ? void 0 : platform.isElement(offsetParent)) && await (platform.getScale == null ? void 0 : platform.getScale(offsetParent)) || {
|
|
261
|
+
x: 1,
|
|
262
|
+
y: 1
|
|
263
|
+
};
|
|
264
|
+
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
265
|
+
elements,
|
|
266
|
+
rect,
|
|
267
|
+
offsetParent,
|
|
268
|
+
strategy
|
|
269
|
+
}) : rect);
|
|
270
|
+
return {
|
|
271
|
+
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
272
|
+
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
273
|
+
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
274
|
+
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
275
|
+
};
|
|
276
|
+
}
|
|
277
|
+
var MAX_RESET_COUNT = 50;
|
|
278
|
+
/**
|
|
279
|
+
* Computes the `x` and `y` coordinates that will place the floating element
|
|
280
|
+
* next to a given reference element.
|
|
281
|
+
*
|
|
282
|
+
* This export does not have any `platform` interface logic. You will need to
|
|
283
|
+
* write one for the platform you are using Floating UI with.
|
|
284
|
+
*/
|
|
285
|
+
var computePosition$1 = async (reference, floating, config) => {
|
|
286
|
+
const { placement = "bottom", strategy = "absolute", middleware = [], platform } = config;
|
|
287
|
+
const platformWithDetectOverflow = platform.detectOverflow ? platform : {
|
|
288
|
+
...platform,
|
|
289
|
+
detectOverflow
|
|
290
|
+
};
|
|
291
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
292
|
+
let rects = await platform.getElementRects({
|
|
293
|
+
reference,
|
|
294
|
+
floating,
|
|
295
|
+
strategy
|
|
296
|
+
});
|
|
297
|
+
let { x, y } = computeCoordsFromPlacement(rects, placement, rtl);
|
|
298
|
+
let statefulPlacement = placement;
|
|
299
|
+
let resetCount = 0;
|
|
300
|
+
const middlewareData = {};
|
|
301
|
+
for (let i = 0; i < middleware.length; i++) {
|
|
302
|
+
const currentMiddleware = middleware[i];
|
|
303
|
+
if (!currentMiddleware) continue;
|
|
304
|
+
const { name, fn } = currentMiddleware;
|
|
305
|
+
const { x: nextX, y: nextY, data, reset } = await fn({
|
|
306
|
+
x,
|
|
307
|
+
y,
|
|
308
|
+
initialPlacement: placement,
|
|
309
|
+
placement: statefulPlacement,
|
|
310
|
+
strategy,
|
|
311
|
+
middlewareData,
|
|
312
|
+
rects,
|
|
313
|
+
platform: platformWithDetectOverflow,
|
|
314
|
+
elements: {
|
|
315
|
+
reference,
|
|
316
|
+
floating
|
|
317
|
+
}
|
|
318
|
+
});
|
|
319
|
+
x = nextX != null ? nextX : x;
|
|
320
|
+
y = nextY != null ? nextY : y;
|
|
321
|
+
middlewareData[name] = {
|
|
322
|
+
...middlewareData[name],
|
|
323
|
+
...data
|
|
324
|
+
};
|
|
325
|
+
if (reset && resetCount < MAX_RESET_COUNT) {
|
|
326
|
+
resetCount++;
|
|
327
|
+
if (typeof reset === "object") {
|
|
328
|
+
if (reset.placement) statefulPlacement = reset.placement;
|
|
329
|
+
if (reset.rects) rects = reset.rects === true ? await platform.getElementRects({
|
|
330
|
+
reference,
|
|
331
|
+
floating,
|
|
332
|
+
strategy
|
|
333
|
+
}) : reset.rects;
|
|
334
|
+
({x, y} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
|
335
|
+
}
|
|
336
|
+
i = -1;
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
return {
|
|
340
|
+
x,
|
|
341
|
+
y,
|
|
342
|
+
placement: statefulPlacement,
|
|
343
|
+
strategy,
|
|
344
|
+
middlewareData
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
/**
|
|
348
|
+
* Provides data to position an inner element of the floating element so that it
|
|
349
|
+
* appears centered to the reference element.
|
|
350
|
+
* @see https://floating-ui.com/docs/arrow
|
|
351
|
+
*/
|
|
352
|
+
var arrow$1 = (options) => ({
|
|
353
|
+
name: "arrow",
|
|
354
|
+
options,
|
|
355
|
+
async fn(state) {
|
|
356
|
+
const { x, y, placement, rects, platform, elements, middlewareData } = state;
|
|
357
|
+
const { element, padding = 0 } = evaluate(options, state) || {};
|
|
358
|
+
if (element == null) return {};
|
|
359
|
+
const paddingObject = getPaddingObject(padding);
|
|
360
|
+
const coords = {
|
|
361
|
+
x,
|
|
362
|
+
y
|
|
363
|
+
};
|
|
364
|
+
const axis = getAlignmentAxis(placement);
|
|
365
|
+
const length = getAxisLength(axis);
|
|
366
|
+
const arrowDimensions = await platform.getDimensions(element);
|
|
367
|
+
const isYAxis = axis === "y";
|
|
368
|
+
const minProp = isYAxis ? "top" : "left";
|
|
369
|
+
const maxProp = isYAxis ? "bottom" : "right";
|
|
370
|
+
const clientProp = isYAxis ? "clientHeight" : "clientWidth";
|
|
371
|
+
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
372
|
+
const startDiff = coords[axis] - rects.reference[axis];
|
|
373
|
+
const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
|
|
374
|
+
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
375
|
+
if (!clientSize || !await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent))) clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
376
|
+
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
377
|
+
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
378
|
+
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
379
|
+
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
380
|
+
const max = clientSize - arrowDimensions[length] - maxPadding;
|
|
381
|
+
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
382
|
+
const offset = clamp(minPadding, center, max);
|
|
383
|
+
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < minPadding ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
384
|
+
const alignmentOffset = shouldAddOffset ? center < minPadding ? center - minPadding : center - max : 0;
|
|
385
|
+
return {
|
|
386
|
+
[axis]: coords[axis] + alignmentOffset,
|
|
387
|
+
data: {
|
|
388
|
+
[axis]: offset,
|
|
389
|
+
centerOffset: center - offset - alignmentOffset,
|
|
390
|
+
...shouldAddOffset && { alignmentOffset }
|
|
391
|
+
},
|
|
392
|
+
reset: shouldAddOffset
|
|
393
|
+
};
|
|
394
|
+
}
|
|
395
|
+
});
|
|
396
|
+
/**
|
|
397
|
+
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
398
|
+
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
399
|
+
* clipping boundary. Alternative to `autoPlacement`.
|
|
400
|
+
* @see https://floating-ui.com/docs/flip
|
|
401
|
+
*/
|
|
402
|
+
var flip$1 = function(options) {
|
|
403
|
+
if (options === void 0) options = {};
|
|
404
|
+
return {
|
|
405
|
+
name: "flip",
|
|
406
|
+
options,
|
|
407
|
+
async fn(state) {
|
|
408
|
+
var _middlewareData$arrow, _middlewareData$flip;
|
|
409
|
+
const { placement, middlewareData, rects, initialPlacement, platform, elements } = state;
|
|
410
|
+
const { mainAxis: checkMainAxis = true, crossAxis: checkCrossAxis = true, fallbackPlacements: specifiedFallbackPlacements, fallbackStrategy = "bestFit", fallbackAxisSideDirection = "none", flipAlignment = true, ...detectOverflowOptions } = evaluate(options, state);
|
|
411
|
+
if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) return {};
|
|
412
|
+
const side = getSide(placement);
|
|
413
|
+
const initialSideAxis = getSideAxis(initialPlacement);
|
|
414
|
+
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
415
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
416
|
+
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
417
|
+
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
|
|
418
|
+
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
419
|
+
const placements = [initialPlacement, ...fallbackPlacements];
|
|
420
|
+
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
421
|
+
const overflows = [];
|
|
422
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
423
|
+
if (checkMainAxis) overflows.push(overflow[side]);
|
|
424
|
+
if (checkCrossAxis) {
|
|
425
|
+
const sides = getAlignmentSides(placement, rects, rtl);
|
|
426
|
+
overflows.push(overflow[sides[0]], overflow[sides[1]]);
|
|
427
|
+
}
|
|
428
|
+
overflowsData = [...overflowsData, {
|
|
429
|
+
placement,
|
|
430
|
+
overflows
|
|
431
|
+
}];
|
|
432
|
+
if (!overflows.every((side) => side <= 0)) {
|
|
433
|
+
var _middlewareData$flip2, _overflowsData$filter;
|
|
434
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
435
|
+
const nextPlacement = placements[nextIndex];
|
|
436
|
+
if (nextPlacement) {
|
|
437
|
+
if (!(checkCrossAxis === "alignment" ? initialSideAxis !== getSideAxis(nextPlacement) : false) || overflowsData.every((d) => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) return {
|
|
438
|
+
data: {
|
|
439
|
+
index: nextIndex,
|
|
440
|
+
overflows: overflowsData
|
|
441
|
+
},
|
|
442
|
+
reset: { placement: nextPlacement }
|
|
443
|
+
};
|
|
444
|
+
}
|
|
445
|
+
let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
|
|
446
|
+
if (!resetPlacement) switch (fallbackStrategy) {
|
|
447
|
+
case "bestFit": {
|
|
448
|
+
var _overflowsData$filter2;
|
|
449
|
+
const placement = (_overflowsData$filter2 = overflowsData.filter((d) => {
|
|
450
|
+
if (hasFallbackAxisSideDirection) {
|
|
451
|
+
const currentSideAxis = getSideAxis(d.placement);
|
|
452
|
+
return currentSideAxis === initialSideAxis || currentSideAxis === "y";
|
|
453
|
+
}
|
|
454
|
+
return true;
|
|
455
|
+
}).map((d) => [d.placement, d.overflows.filter((overflow) => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
|
|
456
|
+
if (placement) resetPlacement = placement;
|
|
457
|
+
break;
|
|
458
|
+
}
|
|
459
|
+
case "initialPlacement": resetPlacement = initialPlacement;
|
|
460
|
+
}
|
|
461
|
+
if (placement !== resetPlacement) return { reset: { placement: resetPlacement } };
|
|
462
|
+
}
|
|
463
|
+
return {};
|
|
464
|
+
}
|
|
465
|
+
};
|
|
466
|
+
};
|
|
467
|
+
function getSideOffsets(overflow, rect) {
|
|
468
|
+
return {
|
|
469
|
+
top: overflow.top - rect.height,
|
|
470
|
+
right: overflow.right - rect.width,
|
|
471
|
+
bottom: overflow.bottom - rect.height,
|
|
472
|
+
left: overflow.left - rect.width
|
|
473
|
+
};
|
|
474
|
+
}
|
|
475
|
+
function isAnySideFullyClipped(overflow) {
|
|
476
|
+
return sides.some((side) => overflow[side] >= 0);
|
|
477
|
+
}
|
|
478
|
+
/**
|
|
479
|
+
* Provides data to hide the floating element in applicable situations, such as
|
|
480
|
+
* when it is not in the same clipping context as the reference element.
|
|
481
|
+
* @see https://floating-ui.com/docs/hide
|
|
482
|
+
*/
|
|
483
|
+
var hide$1 = function(options) {
|
|
484
|
+
if (options === void 0) options = {};
|
|
485
|
+
return {
|
|
486
|
+
name: "hide",
|
|
487
|
+
options,
|
|
488
|
+
async fn(state) {
|
|
489
|
+
const { rects, platform } = state;
|
|
490
|
+
const { strategy = "referenceHidden", ...detectOverflowOptions } = evaluate(options, state);
|
|
491
|
+
switch (strategy) {
|
|
492
|
+
case "referenceHidden": {
|
|
493
|
+
const offsets = getSideOffsets(await platform.detectOverflow(state, {
|
|
494
|
+
...detectOverflowOptions,
|
|
495
|
+
elementContext: "reference"
|
|
496
|
+
}), rects.reference);
|
|
497
|
+
return { data: {
|
|
498
|
+
referenceHiddenOffsets: offsets,
|
|
499
|
+
referenceHidden: isAnySideFullyClipped(offsets)
|
|
500
|
+
} };
|
|
501
|
+
}
|
|
502
|
+
case "escaped": {
|
|
503
|
+
const offsets = getSideOffsets(await platform.detectOverflow(state, {
|
|
504
|
+
...detectOverflowOptions,
|
|
505
|
+
altBoundary: true
|
|
506
|
+
}), rects.floating);
|
|
507
|
+
return { data: {
|
|
508
|
+
escapedOffsets: offsets,
|
|
509
|
+
escaped: isAnySideFullyClipped(offsets)
|
|
510
|
+
} };
|
|
511
|
+
}
|
|
512
|
+
default: return {};
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
};
|
|
516
|
+
};
|
|
517
|
+
var originSides = /*#__PURE__*/ new Set(["left", "top"]);
|
|
518
|
+
async function convertValueToCoords(state, options) {
|
|
519
|
+
const { placement, platform, elements } = state;
|
|
520
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
521
|
+
const side = getSide(placement);
|
|
522
|
+
const alignment = getAlignment(placement);
|
|
523
|
+
const isVertical = getSideAxis(placement) === "y";
|
|
524
|
+
const mainAxisMulti = originSides.has(side) ? -1 : 1;
|
|
525
|
+
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
526
|
+
const rawValue = evaluate(options, state);
|
|
527
|
+
let { mainAxis, crossAxis, alignmentAxis } = typeof rawValue === "number" ? {
|
|
528
|
+
mainAxis: rawValue,
|
|
529
|
+
crossAxis: 0,
|
|
530
|
+
alignmentAxis: null
|
|
531
|
+
} : {
|
|
532
|
+
mainAxis: rawValue.mainAxis || 0,
|
|
533
|
+
crossAxis: rawValue.crossAxis || 0,
|
|
534
|
+
alignmentAxis: rawValue.alignmentAxis
|
|
535
|
+
};
|
|
536
|
+
if (alignment && typeof alignmentAxis === "number") crossAxis = alignment === "end" ? alignmentAxis * -1 : alignmentAxis;
|
|
537
|
+
return isVertical ? {
|
|
538
|
+
x: crossAxis * crossAxisMulti,
|
|
539
|
+
y: mainAxis * mainAxisMulti
|
|
540
|
+
} : {
|
|
541
|
+
x: mainAxis * mainAxisMulti,
|
|
542
|
+
y: crossAxis * crossAxisMulti
|
|
543
|
+
};
|
|
544
|
+
}
|
|
545
|
+
/**
|
|
546
|
+
* Modifies the placement by translating the floating element along the
|
|
547
|
+
* specified axes.
|
|
548
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
549
|
+
* object may be passed.
|
|
550
|
+
* @see https://floating-ui.com/docs/offset
|
|
551
|
+
*/
|
|
552
|
+
var offset$1 = function(options) {
|
|
553
|
+
if (options === void 0) options = 0;
|
|
554
|
+
return {
|
|
555
|
+
name: "offset",
|
|
556
|
+
options,
|
|
557
|
+
async fn(state) {
|
|
558
|
+
var _middlewareData$offse, _middlewareData$arrow;
|
|
559
|
+
const { x, y, placement, middlewareData } = state;
|
|
560
|
+
const diffCoords = await convertValueToCoords(state, options);
|
|
561
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) return {};
|
|
562
|
+
return {
|
|
563
|
+
x: x + diffCoords.x,
|
|
564
|
+
y: y + diffCoords.y,
|
|
565
|
+
data: {
|
|
566
|
+
...diffCoords,
|
|
567
|
+
placement
|
|
568
|
+
}
|
|
569
|
+
};
|
|
570
|
+
}
|
|
571
|
+
};
|
|
572
|
+
};
|
|
573
|
+
/**
|
|
574
|
+
* Optimizes the visibility of the floating element by shifting it in order to
|
|
575
|
+
* keep it in view when it will overflow the clipping boundary.
|
|
576
|
+
* @see https://floating-ui.com/docs/shift
|
|
577
|
+
*/
|
|
578
|
+
var shift$1 = function(options) {
|
|
579
|
+
if (options === void 0) options = {};
|
|
580
|
+
return {
|
|
581
|
+
name: "shift",
|
|
582
|
+
options,
|
|
583
|
+
async fn(state) {
|
|
584
|
+
const { x, y, placement, platform } = state;
|
|
585
|
+
const { mainAxis: checkMainAxis = true, crossAxis: checkCrossAxis = false, limiter = { fn: (_ref) => {
|
|
586
|
+
let { x, y } = _ref;
|
|
587
|
+
return {
|
|
588
|
+
x,
|
|
589
|
+
y
|
|
590
|
+
};
|
|
591
|
+
} }, ...detectOverflowOptions } = evaluate(options, state);
|
|
592
|
+
const coords = {
|
|
593
|
+
x,
|
|
594
|
+
y
|
|
595
|
+
};
|
|
596
|
+
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
597
|
+
const crossAxis = getSideAxis(placement);
|
|
598
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
|
599
|
+
let mainAxisCoord = coords[mainAxis];
|
|
600
|
+
let crossAxisCoord = coords[crossAxis];
|
|
601
|
+
const clampCoord = (axis, coord) => clamp(coord + overflow[axis === "y" ? "top" : "left"], coord, coord - overflow[axis === "y" ? "bottom" : "right"]);
|
|
602
|
+
if (checkMainAxis) mainAxisCoord = clampCoord(mainAxis, mainAxisCoord);
|
|
603
|
+
if (checkCrossAxis) crossAxisCoord = clampCoord(crossAxis, crossAxisCoord);
|
|
604
|
+
const limitedCoords = limiter.fn({
|
|
605
|
+
...state,
|
|
606
|
+
[mainAxis]: mainAxisCoord,
|
|
607
|
+
[crossAxis]: crossAxisCoord
|
|
608
|
+
});
|
|
609
|
+
return {
|
|
610
|
+
...limitedCoords,
|
|
611
|
+
data: {
|
|
612
|
+
x: limitedCoords.x - x,
|
|
613
|
+
y: limitedCoords.y - y,
|
|
614
|
+
enabled: {
|
|
615
|
+
[mainAxis]: checkMainAxis,
|
|
616
|
+
[crossAxis]: checkCrossAxis
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
};
|
|
620
|
+
}
|
|
621
|
+
};
|
|
622
|
+
};
|
|
623
|
+
/**
|
|
624
|
+
* Built-in `limiter` that will stop `shift()` at a certain point.
|
|
625
|
+
*/
|
|
626
|
+
var limitShift$1 = function(options) {
|
|
627
|
+
if (options === void 0) options = {};
|
|
628
|
+
return {
|
|
629
|
+
options,
|
|
630
|
+
fn(state) {
|
|
631
|
+
var _rawOffset$mainAxis, _rawOffset$crossAxis;
|
|
632
|
+
const { x, y, placement, rects, middlewareData } = state;
|
|
633
|
+
const { offset = 0, mainAxis: checkMainAxis = true, crossAxis: checkCrossAxis = true } = evaluate(options, state);
|
|
634
|
+
const coords = {
|
|
635
|
+
x,
|
|
636
|
+
y
|
|
637
|
+
};
|
|
638
|
+
const crossAxis = getSideAxis(placement);
|
|
639
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
|
640
|
+
let mainAxisCoord = coords[mainAxis];
|
|
641
|
+
let crossAxisCoord = coords[crossAxis];
|
|
642
|
+
const rawOffset = evaluate(offset, state);
|
|
643
|
+
const computedOffset = typeof rawOffset === "number" ? {
|
|
644
|
+
mainAxis: rawOffset,
|
|
645
|
+
crossAxis: 0
|
|
646
|
+
} : {
|
|
647
|
+
mainAxis: (_rawOffset$mainAxis = rawOffset.mainAxis) != null ? _rawOffset$mainAxis : 0,
|
|
648
|
+
crossAxis: (_rawOffset$crossAxis = rawOffset.crossAxis) != null ? _rawOffset$crossAxis : 0
|
|
649
|
+
};
|
|
650
|
+
if (checkMainAxis) {
|
|
651
|
+
const len = mainAxis === "y" ? "height" : "width";
|
|
652
|
+
const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;
|
|
653
|
+
const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;
|
|
654
|
+
if (mainAxisCoord < limitMin) mainAxisCoord = limitMin;
|
|
655
|
+
else if (mainAxisCoord > limitMax) mainAxisCoord = limitMax;
|
|
656
|
+
}
|
|
657
|
+
if (checkCrossAxis) {
|
|
658
|
+
var _middlewareData$offse, _middlewareData$offse2;
|
|
659
|
+
const len = mainAxis === "y" ? "width" : "height";
|
|
660
|
+
const isOriginSide = originSides.has(getSide(placement));
|
|
661
|
+
const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);
|
|
662
|
+
const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);
|
|
663
|
+
if (crossAxisCoord < limitMin) crossAxisCoord = limitMin;
|
|
664
|
+
else if (crossAxisCoord > limitMax) crossAxisCoord = limitMax;
|
|
665
|
+
}
|
|
666
|
+
return {
|
|
667
|
+
[mainAxis]: mainAxisCoord,
|
|
668
|
+
[crossAxis]: crossAxisCoord
|
|
669
|
+
};
|
|
670
|
+
}
|
|
671
|
+
};
|
|
672
|
+
};
|
|
673
|
+
/**
|
|
674
|
+
* Provides data that allows you to change the size of the floating element —
|
|
675
|
+
* for instance, prevent it from overflowing the clipping boundary or match the
|
|
676
|
+
* width of the reference element.
|
|
677
|
+
* @see https://floating-ui.com/docs/size
|
|
678
|
+
*/
|
|
679
|
+
var size$1 = function(options) {
|
|
680
|
+
if (options === void 0) options = {};
|
|
681
|
+
return {
|
|
682
|
+
name: "size",
|
|
683
|
+
options,
|
|
684
|
+
async fn(state) {
|
|
685
|
+
const { placement, rects, platform, elements } = state;
|
|
686
|
+
const { apply = () => {}, ...detectOverflowOptions } = evaluate(options, state);
|
|
687
|
+
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
688
|
+
const side = getSide(placement);
|
|
689
|
+
const alignment = getAlignment(placement);
|
|
690
|
+
const isYAxis = getSideAxis(placement) === "y";
|
|
691
|
+
const { width, height } = rects.floating;
|
|
692
|
+
let heightSide;
|
|
693
|
+
let widthSide;
|
|
694
|
+
if (side === "top" || side === "bottom") {
|
|
695
|
+
heightSide = side;
|
|
696
|
+
widthSide = alignment === (await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
|
|
697
|
+
} else {
|
|
698
|
+
widthSide = side;
|
|
699
|
+
heightSide = alignment === "end" ? "top" : "bottom";
|
|
700
|
+
}
|
|
701
|
+
const maximumClippingHeight = height - overflow.top - overflow.bottom;
|
|
702
|
+
const maximumClippingWidth = width - overflow.left - overflow.right;
|
|
703
|
+
const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
|
|
704
|
+
const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
|
|
705
|
+
const shiftData = state.middlewareData.shift;
|
|
706
|
+
const noShift = !shiftData;
|
|
707
|
+
let availableHeight = overflowAvailableHeight;
|
|
708
|
+
let availableWidth = overflowAvailableWidth;
|
|
709
|
+
if (shiftData != null && shiftData.enabled.x) availableWidth = maximumClippingWidth;
|
|
710
|
+
if (shiftData != null && shiftData.enabled.y) availableHeight = maximumClippingHeight;
|
|
711
|
+
if (noShift && !alignment) if (isYAxis) availableWidth = width - 2 * max(overflow.left, overflow.right);
|
|
712
|
+
else availableHeight = height - 2 * max(overflow.top, overflow.bottom);
|
|
713
|
+
await apply({
|
|
714
|
+
...state,
|
|
715
|
+
availableWidth,
|
|
716
|
+
availableHeight
|
|
717
|
+
});
|
|
718
|
+
const nextDimensions = await platform.getDimensions(elements.floating);
|
|
719
|
+
if (width !== nextDimensions.width || height !== nextDimensions.height) return { reset: { rects: true } };
|
|
720
|
+
return {};
|
|
721
|
+
}
|
|
722
|
+
};
|
|
723
|
+
};
|
|
724
|
+
//#endregion
|
|
725
|
+
//#region ../../node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
726
|
+
function hasWindow() {
|
|
727
|
+
return typeof window !== "undefined";
|
|
728
|
+
}
|
|
729
|
+
function getNodeName(node) {
|
|
730
|
+
if (isNode(node)) return (node.nodeName || "").toLowerCase();
|
|
731
|
+
return "#document";
|
|
732
|
+
}
|
|
733
|
+
function getWindow(node) {
|
|
734
|
+
var _node$ownerDocument;
|
|
735
|
+
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
736
|
+
}
|
|
737
|
+
function getDocumentElement(node) {
|
|
738
|
+
var _ref;
|
|
739
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
740
|
+
}
|
|
741
|
+
function isNode(value) {
|
|
742
|
+
if (!hasWindow()) return false;
|
|
743
|
+
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
744
|
+
}
|
|
745
|
+
function isElement(value) {
|
|
746
|
+
if (!hasWindow()) return false;
|
|
747
|
+
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
748
|
+
}
|
|
749
|
+
function isHTMLElement(value) {
|
|
750
|
+
if (!hasWindow()) return false;
|
|
751
|
+
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
752
|
+
}
|
|
753
|
+
function isShadowRoot(value) {
|
|
754
|
+
if (!hasWindow() || typeof ShadowRoot === "undefined") return false;
|
|
755
|
+
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
756
|
+
}
|
|
757
|
+
function isOverflowElement(element) {
|
|
758
|
+
const { overflow, overflowX, overflowY, display } = getComputedStyle$1(element);
|
|
759
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== "inline" && display !== "contents";
|
|
760
|
+
}
|
|
761
|
+
function isTableElement(element) {
|
|
762
|
+
return /^(table|td|th)$/.test(getNodeName(element));
|
|
763
|
+
}
|
|
764
|
+
function isTopLayer(element) {
|
|
765
|
+
try {
|
|
766
|
+
if (element.matches(":popover-open")) return true;
|
|
767
|
+
} catch (_e) {}
|
|
768
|
+
try {
|
|
769
|
+
return element.matches(":modal");
|
|
770
|
+
} catch (_e) {
|
|
771
|
+
return false;
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
var willChangeRe = /transform|translate|scale|rotate|perspective|filter/;
|
|
775
|
+
var containRe = /paint|layout|strict|content/;
|
|
776
|
+
var isNotNone = (value) => !!value && value !== "none";
|
|
777
|
+
var isWebKitValue;
|
|
778
|
+
function isContainingBlock(elementOrCss) {
|
|
779
|
+
const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
|
|
780
|
+
return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || "") || containRe.test(css.contain || "");
|
|
781
|
+
}
|
|
782
|
+
function getContainingBlock(element) {
|
|
783
|
+
let currentNode = getParentNode(element);
|
|
784
|
+
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
785
|
+
if (isContainingBlock(currentNode)) return currentNode;
|
|
786
|
+
else if (isTopLayer(currentNode)) return null;
|
|
787
|
+
currentNode = getParentNode(currentNode);
|
|
788
|
+
}
|
|
789
|
+
return null;
|
|
790
|
+
}
|
|
791
|
+
function isWebKit() {
|
|
792
|
+
if (isWebKitValue == null) isWebKitValue = typeof CSS !== "undefined" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none");
|
|
793
|
+
return isWebKitValue;
|
|
794
|
+
}
|
|
795
|
+
function isLastTraversableNode(node) {
|
|
796
|
+
return /^(html|body|#document)$/.test(getNodeName(node));
|
|
797
|
+
}
|
|
798
|
+
function getComputedStyle$1(element) {
|
|
799
|
+
return getWindow(element).getComputedStyle(element);
|
|
800
|
+
}
|
|
801
|
+
function getNodeScroll(element) {
|
|
802
|
+
if (isElement(element)) return {
|
|
803
|
+
scrollLeft: element.scrollLeft,
|
|
804
|
+
scrollTop: element.scrollTop
|
|
805
|
+
};
|
|
806
|
+
return {
|
|
807
|
+
scrollLeft: element.scrollX,
|
|
808
|
+
scrollTop: element.scrollY
|
|
809
|
+
};
|
|
810
|
+
}
|
|
811
|
+
function getParentNode(node) {
|
|
812
|
+
if (getNodeName(node) === "html") return node;
|
|
813
|
+
const result = node.assignedSlot || node.parentNode || isShadowRoot(node) && node.host || getDocumentElement(node);
|
|
814
|
+
return isShadowRoot(result) ? result.host : result;
|
|
815
|
+
}
|
|
816
|
+
function getNearestOverflowAncestor(node) {
|
|
817
|
+
const parentNode = getParentNode(node);
|
|
818
|
+
if (isLastTraversableNode(parentNode)) return (node.ownerDocument || node).body;
|
|
819
|
+
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) return parentNode;
|
|
820
|
+
return getNearestOverflowAncestor(parentNode);
|
|
821
|
+
}
|
|
822
|
+
function getOverflowAncestors(node, list, traverseIframes) {
|
|
823
|
+
var _node$ownerDocument2;
|
|
824
|
+
if (list === void 0) list = [];
|
|
825
|
+
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
826
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
827
|
+
const win = getWindow(scrollableAncestor);
|
|
828
|
+
if (isBody) {
|
|
829
|
+
getFrameElement(win);
|
|
830
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], []);
|
|
831
|
+
} else return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, []));
|
|
832
|
+
}
|
|
833
|
+
function getFrameElement(win) {
|
|
834
|
+
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
|
835
|
+
}
|
|
836
|
+
//#endregion
|
|
837
|
+
//#region ../../node_modules/.pnpm/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
838
|
+
function getCssDimensions(element) {
|
|
839
|
+
const css = getComputedStyle$1(element);
|
|
840
|
+
let width = parseFloat(css.width) || 0;
|
|
841
|
+
let height = parseFloat(css.height) || 0;
|
|
842
|
+
const hasOffset = isHTMLElement(element);
|
|
843
|
+
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
844
|
+
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
845
|
+
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
846
|
+
if (shouldFallback) {
|
|
847
|
+
width = offsetWidth;
|
|
848
|
+
height = offsetHeight;
|
|
849
|
+
}
|
|
850
|
+
return {
|
|
851
|
+
width,
|
|
852
|
+
height,
|
|
853
|
+
$: shouldFallback
|
|
854
|
+
};
|
|
855
|
+
}
|
|
856
|
+
function unwrapElement(element) {
|
|
857
|
+
return !isElement(element) ? element.contextElement : element;
|
|
858
|
+
}
|
|
859
|
+
function getScale(element) {
|
|
860
|
+
const domElement = unwrapElement(element);
|
|
861
|
+
if (!isHTMLElement(domElement)) return createCoords(1);
|
|
862
|
+
const rect = domElement.getBoundingClientRect();
|
|
863
|
+
const { width, height, $ } = getCssDimensions(domElement);
|
|
864
|
+
let x = ($ ? round(rect.width) : rect.width) / width;
|
|
865
|
+
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
866
|
+
if (!x || !Number.isFinite(x)) x = 1;
|
|
867
|
+
if (!y || !Number.isFinite(y)) y = 1;
|
|
868
|
+
return {
|
|
869
|
+
x,
|
|
870
|
+
y
|
|
871
|
+
};
|
|
872
|
+
}
|
|
873
|
+
var noOffsets = /*#__PURE__*/ createCoords(0);
|
|
874
|
+
function getVisualOffsets(element) {
|
|
875
|
+
const win = getWindow(element);
|
|
876
|
+
if (!isWebKit() || !win.visualViewport) return noOffsets;
|
|
877
|
+
return {
|
|
878
|
+
x: win.visualViewport.offsetLeft,
|
|
879
|
+
y: win.visualViewport.offsetTop
|
|
880
|
+
};
|
|
881
|
+
}
|
|
882
|
+
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
883
|
+
if (isFixed === void 0) isFixed = false;
|
|
884
|
+
return !!floatingOffsetParent && isFixed && floatingOffsetParent === getWindow(element);
|
|
885
|
+
}
|
|
886
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
887
|
+
if (includeScale === void 0) includeScale = false;
|
|
888
|
+
if (isFixedStrategy === void 0) isFixedStrategy = false;
|
|
889
|
+
const clientRect = element.getBoundingClientRect();
|
|
890
|
+
const domElement = unwrapElement(element);
|
|
891
|
+
let scale = createCoords(1);
|
|
892
|
+
if (includeScale) if (offsetParent) {
|
|
893
|
+
if (isElement(offsetParent)) scale = getScale(offsetParent);
|
|
894
|
+
} else scale = getScale(element);
|
|
895
|
+
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
|
896
|
+
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
|
897
|
+
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
898
|
+
let width = clientRect.width / scale.x;
|
|
899
|
+
let height = clientRect.height / scale.y;
|
|
900
|
+
if (domElement && offsetParent) {
|
|
901
|
+
const win = getWindow(domElement);
|
|
902
|
+
const offsetWin = isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
903
|
+
let currentWin = win;
|
|
904
|
+
let currentIFrame = getFrameElement(currentWin);
|
|
905
|
+
while (currentIFrame && offsetWin !== currentWin) {
|
|
906
|
+
const iframeScale = getScale(currentIFrame);
|
|
907
|
+
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
908
|
+
const css = getComputedStyle$1(currentIFrame);
|
|
909
|
+
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
910
|
+
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
911
|
+
x *= iframeScale.x;
|
|
912
|
+
y *= iframeScale.y;
|
|
913
|
+
width *= iframeScale.x;
|
|
914
|
+
height *= iframeScale.y;
|
|
915
|
+
x += left;
|
|
916
|
+
y += top;
|
|
917
|
+
currentWin = getWindow(currentIFrame);
|
|
918
|
+
currentIFrame = getFrameElement(currentWin);
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
return rectToClientRect({
|
|
922
|
+
width,
|
|
923
|
+
height,
|
|
924
|
+
x,
|
|
925
|
+
y
|
|
926
|
+
});
|
|
927
|
+
}
|
|
928
|
+
function getWindowScrollBarX(element, rect) {
|
|
929
|
+
const leftScroll = getNodeScroll(element).scrollLeft;
|
|
930
|
+
if (!rect) return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
|
|
931
|
+
return rect.left + leftScroll;
|
|
932
|
+
}
|
|
933
|
+
function getHTMLOffset(documentElement, scroll) {
|
|
934
|
+
const htmlRect = documentElement.getBoundingClientRect();
|
|
935
|
+
return {
|
|
936
|
+
x: htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect),
|
|
937
|
+
y: htmlRect.top + scroll.scrollTop
|
|
938
|
+
};
|
|
939
|
+
}
|
|
940
|
+
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
941
|
+
let { elements, rect, offsetParent, strategy } = _ref;
|
|
942
|
+
const isFixed = strategy === "fixed";
|
|
943
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
944
|
+
const topLayer = elements ? isTopLayer(elements.floating) : false;
|
|
945
|
+
if (offsetParent === documentElement || topLayer && isFixed) return rect;
|
|
946
|
+
let scroll = {
|
|
947
|
+
scrollLeft: 0,
|
|
948
|
+
scrollTop: 0
|
|
949
|
+
};
|
|
950
|
+
let scale = createCoords(1);
|
|
951
|
+
const offsets = createCoords(0);
|
|
952
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
953
|
+
if (isOffsetParentAnElement || !isFixed) {
|
|
954
|
+
if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) scroll = getNodeScroll(offsetParent);
|
|
955
|
+
if (isOffsetParentAnElement) {
|
|
956
|
+
const offsetRect = getBoundingClientRect(offsetParent);
|
|
957
|
+
scale = getScale(offsetParent);
|
|
958
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
959
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
963
|
+
return {
|
|
964
|
+
width: rect.width * scale.x,
|
|
965
|
+
height: rect.height * scale.y,
|
|
966
|
+
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
|
|
967
|
+
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
|
|
968
|
+
};
|
|
969
|
+
}
|
|
970
|
+
function getClientRects(element) {
|
|
971
|
+
return element.getClientRects ? Array.from(element.getClientRects()) : [];
|
|
972
|
+
}
|
|
973
|
+
function getDocumentRect(html) {
|
|
974
|
+
const scroll = getNodeScroll(html);
|
|
975
|
+
const body = html.ownerDocument.body;
|
|
976
|
+
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
977
|
+
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
978
|
+
let x = -scroll.scrollLeft + getWindowScrollBarX(html);
|
|
979
|
+
const y = -scroll.scrollTop;
|
|
980
|
+
if (getComputedStyle$1(body).direction === "rtl") x += max(html.clientWidth, body.clientWidth) - width;
|
|
981
|
+
return {
|
|
982
|
+
width,
|
|
983
|
+
height,
|
|
984
|
+
x,
|
|
985
|
+
y
|
|
986
|
+
};
|
|
987
|
+
}
|
|
988
|
+
var SCROLLBAR_MAX = 25;
|
|
989
|
+
function getViewportRect(element, strategy, rootBoundary) {
|
|
990
|
+
if (rootBoundary === void 0) rootBoundary = "viewport";
|
|
991
|
+
const isLayoutViewport = rootBoundary === "layoutViewport";
|
|
992
|
+
const win = getWindow(element);
|
|
993
|
+
const html = getDocumentElement(element);
|
|
994
|
+
const visualViewport = win.visualViewport;
|
|
995
|
+
let width = html.clientWidth;
|
|
996
|
+
let height = html.clientHeight;
|
|
997
|
+
let x = 0;
|
|
998
|
+
let y = 0;
|
|
999
|
+
if (visualViewport) {
|
|
1000
|
+
const layoutRelativeClientCoords = !isWebKit() || strategy === "fixed";
|
|
1001
|
+
if (isLayoutViewport) {
|
|
1002
|
+
if (!layoutRelativeClientCoords) {
|
|
1003
|
+
x = -visualViewport.offsetLeft;
|
|
1004
|
+
y = -visualViewport.offsetTop;
|
|
1005
|
+
}
|
|
1006
|
+
} else {
|
|
1007
|
+
width = visualViewport.width;
|
|
1008
|
+
height = visualViewport.height;
|
|
1009
|
+
if (layoutRelativeClientCoords) {
|
|
1010
|
+
x = visualViewport.offsetLeft;
|
|
1011
|
+
y = visualViewport.offsetTop;
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
if (getWindowScrollBarX(html) <= 0) {
|
|
1016
|
+
const doc = html.ownerDocument;
|
|
1017
|
+
const body = doc.body;
|
|
1018
|
+
const bodyStyles = getComputedStyle(body);
|
|
1019
|
+
const bodyMarginInline = doc.compatMode === "CSS1Compat" ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;
|
|
1020
|
+
const reservedWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);
|
|
1021
|
+
const gutter = getComputedStyle(html).scrollbarGutter === "stable both-edges" ? reservedWidth / 2 : reservedWidth;
|
|
1022
|
+
if (gutter <= SCROLLBAR_MAX) width -= gutter;
|
|
1023
|
+
}
|
|
1024
|
+
return {
|
|
1025
|
+
width,
|
|
1026
|
+
height,
|
|
1027
|
+
x,
|
|
1028
|
+
y
|
|
1029
|
+
};
|
|
1030
|
+
}
|
|
1031
|
+
function getInnerBoundingClientRect(element, strategy) {
|
|
1032
|
+
const clientRect = getBoundingClientRect(element, true, strategy === "fixed");
|
|
1033
|
+
const top = clientRect.top + element.clientTop;
|
|
1034
|
+
const left = clientRect.left + element.clientLeft;
|
|
1035
|
+
const scale = getScale(element);
|
|
1036
|
+
return {
|
|
1037
|
+
width: element.clientWidth * scale.x,
|
|
1038
|
+
height: element.clientHeight * scale.y,
|
|
1039
|
+
x: left * scale.x,
|
|
1040
|
+
y: top * scale.y
|
|
1041
|
+
};
|
|
1042
|
+
}
|
|
1043
|
+
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
1044
|
+
let rect;
|
|
1045
|
+
if (clippingAncestor === "viewport" || clippingAncestor === "layoutViewport") rect = getViewportRect(element, strategy, clippingAncestor);
|
|
1046
|
+
else if (clippingAncestor === "document") rect = getDocumentRect(getDocumentElement(element));
|
|
1047
|
+
else if (isElement(clippingAncestor)) rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
1048
|
+
else {
|
|
1049
|
+
const visualOffsets = getVisualOffsets(element);
|
|
1050
|
+
rect = {
|
|
1051
|
+
x: clippingAncestor.x - visualOffsets.x,
|
|
1052
|
+
y: clippingAncestor.y - visualOffsets.y,
|
|
1053
|
+
width: clippingAncestor.width,
|
|
1054
|
+
height: clippingAncestor.height
|
|
1055
|
+
};
|
|
1056
|
+
}
|
|
1057
|
+
return rectToClientRect(rect);
|
|
1058
|
+
}
|
|
1059
|
+
function getClippingElementAncestors(element, cache) {
|
|
1060
|
+
const cachedResult = cache.get(element);
|
|
1061
|
+
if (cachedResult) return cachedResult;
|
|
1062
|
+
let result = getOverflowAncestors(element, []).filter((el) => isElement(el) && getNodeName(el) !== "body");
|
|
1063
|
+
let lastKeptComputedStyle = null;
|
|
1064
|
+
const elementIsFixed = getComputedStyle$1(element).position === "fixed";
|
|
1065
|
+
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
1066
|
+
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1067
|
+
const computedStyle = getComputedStyle$1(currentNode);
|
|
1068
|
+
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
1069
|
+
const lastPosition = lastKeptComputedStyle ? lastKeptComputedStyle.position : elementIsFixed ? "fixed" : "";
|
|
1070
|
+
if (!currentNodeIsContaining && (lastPosition === "fixed" || lastPosition === "absolute" && computedStyle.position === "static")) result = result.filter((ancestor) => ancestor !== currentNode);
|
|
1071
|
+
else lastKeptComputedStyle = computedStyle;
|
|
1072
|
+
currentNode = getParentNode(currentNode);
|
|
1073
|
+
}
|
|
1074
|
+
cache.set(element, result);
|
|
1075
|
+
return result;
|
|
1076
|
+
}
|
|
1077
|
+
function getClippingRect(_ref) {
|
|
1078
|
+
let { element, boundary, rootBoundary, strategy } = _ref;
|
|
1079
|
+
const clippingAncestors = [...boundary === "clippingAncestors" ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary), rootBoundary];
|
|
1080
|
+
const firstRect = getClientRectFromClippingAncestor(element, clippingAncestors[0], strategy);
|
|
1081
|
+
let top = firstRect.top;
|
|
1082
|
+
let right = firstRect.right;
|
|
1083
|
+
let bottom = firstRect.bottom;
|
|
1084
|
+
let left = firstRect.left;
|
|
1085
|
+
for (let i = 1; i < clippingAncestors.length; i++) {
|
|
1086
|
+
const rect = getClientRectFromClippingAncestor(element, clippingAncestors[i], strategy);
|
|
1087
|
+
top = max(rect.top, top);
|
|
1088
|
+
right = min(rect.right, right);
|
|
1089
|
+
bottom = min(rect.bottom, bottom);
|
|
1090
|
+
left = max(rect.left, left);
|
|
1091
|
+
}
|
|
1092
|
+
return {
|
|
1093
|
+
width: right - left,
|
|
1094
|
+
height: bottom - top,
|
|
1095
|
+
x: left,
|
|
1096
|
+
y: top
|
|
1097
|
+
};
|
|
1098
|
+
}
|
|
1099
|
+
function getDimensions(element) {
|
|
1100
|
+
const { width, height } = getCssDimensions(element);
|
|
1101
|
+
return {
|
|
1102
|
+
width,
|
|
1103
|
+
height
|
|
1104
|
+
};
|
|
1105
|
+
}
|
|
1106
|
+
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
1107
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1108
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1109
|
+
const isFixed = strategy === "fixed";
|
|
1110
|
+
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
1111
|
+
let scroll = {
|
|
1112
|
+
scrollLeft: 0,
|
|
1113
|
+
scrollTop: 0
|
|
1114
|
+
};
|
|
1115
|
+
const offsets = createCoords(0);
|
|
1116
|
+
if (isOffsetParentAnElement || !isFixed) {
|
|
1117
|
+
if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) scroll = getNodeScroll(offsetParent);
|
|
1118
|
+
if (isOffsetParentAnElement) {
|
|
1119
|
+
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1120
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1121
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
if (!isOffsetParentAnElement && documentElement) offsets.x = getWindowScrollBarX(documentElement);
|
|
1125
|
+
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
1126
|
+
return {
|
|
1127
|
+
x: rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x,
|
|
1128
|
+
y: rect.top + scroll.scrollTop - offsets.y - htmlOffset.y,
|
|
1129
|
+
width: rect.width,
|
|
1130
|
+
height: rect.height
|
|
1131
|
+
};
|
|
1132
|
+
}
|
|
1133
|
+
function isStaticPositioned(element) {
|
|
1134
|
+
return getComputedStyle$1(element).position === "static";
|
|
1135
|
+
}
|
|
1136
|
+
function getTrueOffsetParent(element, polyfill) {
|
|
1137
|
+
if (!isHTMLElement(element) || getComputedStyle$1(element).position === "fixed") return null;
|
|
1138
|
+
if (polyfill) return polyfill(element);
|
|
1139
|
+
let rawOffsetParent = element.offsetParent;
|
|
1140
|
+
if (getDocumentElement(element) === rawOffsetParent) rawOffsetParent = rawOffsetParent.ownerDocument.body;
|
|
1141
|
+
return rawOffsetParent;
|
|
1142
|
+
}
|
|
1143
|
+
function getOffsetParent(element, polyfill) {
|
|
1144
|
+
const win = getWindow(element);
|
|
1145
|
+
if (isTopLayer(element)) return win;
|
|
1146
|
+
if (!isHTMLElement(element)) {
|
|
1147
|
+
let svgOffsetParent = getParentNode(element);
|
|
1148
|
+
while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
|
|
1149
|
+
if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) return svgOffsetParent;
|
|
1150
|
+
svgOffsetParent = getParentNode(svgOffsetParent);
|
|
1151
|
+
}
|
|
1152
|
+
return win;
|
|
1153
|
+
}
|
|
1154
|
+
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
1155
|
+
while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
1156
|
+
if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) return win;
|
|
1157
|
+
return offsetParent || getContainingBlock(element) || win;
|
|
1158
|
+
}
|
|
1159
|
+
var getElementRects = async function(data) {
|
|
1160
|
+
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1161
|
+
const getDimensionsFn = this.getDimensions;
|
|
1162
|
+
const floatingDimensions = await getDimensionsFn(data.floating);
|
|
1163
|
+
return {
|
|
1164
|
+
reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
|
|
1165
|
+
floating: {
|
|
1166
|
+
x: 0,
|
|
1167
|
+
y: 0,
|
|
1168
|
+
width: floatingDimensions.width,
|
|
1169
|
+
height: floatingDimensions.height
|
|
1170
|
+
}
|
|
1171
|
+
};
|
|
1172
|
+
};
|
|
1173
|
+
function isRTL(element) {
|
|
1174
|
+
return getComputedStyle$1(element).direction === "rtl";
|
|
1175
|
+
}
|
|
1176
|
+
var platform = {
|
|
1177
|
+
convertOffsetParentRelativeRectToViewportRelativeRect,
|
|
1178
|
+
getDocumentElement,
|
|
1179
|
+
getClippingRect,
|
|
1180
|
+
getOffsetParent,
|
|
1181
|
+
getElementRects,
|
|
1182
|
+
getClientRects,
|
|
1183
|
+
getDimensions,
|
|
1184
|
+
getScale,
|
|
1185
|
+
isElement,
|
|
1186
|
+
isRTL
|
|
1187
|
+
};
|
|
1188
|
+
/**
|
|
1189
|
+
* Modifies the placement by translating the floating element along the
|
|
1190
|
+
* specified axes.
|
|
1191
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
1192
|
+
* object may be passed.
|
|
1193
|
+
* @see https://floating-ui.com/docs/offset
|
|
1194
|
+
*/
|
|
1195
|
+
var offset = offset$1;
|
|
1196
|
+
/**
|
|
1197
|
+
* Optimizes the visibility of the floating element by shifting it in order to
|
|
1198
|
+
* keep it in view when it will overflow the clipping boundary.
|
|
1199
|
+
* @see https://floating-ui.com/docs/shift
|
|
1200
|
+
*/
|
|
1201
|
+
var shift = shift$1;
|
|
1202
|
+
/**
|
|
1203
|
+
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
1204
|
+
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
1205
|
+
* clipping boundary. Alternative to `autoPlacement`.
|
|
1206
|
+
* @see https://floating-ui.com/docs/flip
|
|
1207
|
+
*/
|
|
1208
|
+
var flip = flip$1;
|
|
1209
|
+
/**
|
|
1210
|
+
* Provides data that allows you to change the size of the floating element —
|
|
1211
|
+
* for instance, prevent it from overflowing the clipping boundary or match the
|
|
1212
|
+
* width of the reference element.
|
|
1213
|
+
* @see https://floating-ui.com/docs/size
|
|
1214
|
+
*/
|
|
1215
|
+
var size = size$1;
|
|
1216
|
+
/**
|
|
1217
|
+
* Provides data to hide the floating element in applicable situations, such as
|
|
1218
|
+
* when it is not in the same clipping context as the reference element.
|
|
1219
|
+
* @see https://floating-ui.com/docs/hide
|
|
1220
|
+
*/
|
|
1221
|
+
var hide = hide$1;
|
|
1222
|
+
/**
|
|
1223
|
+
* Provides data to position an inner element of the floating element so that it
|
|
1224
|
+
* appears centered to the reference element.
|
|
1225
|
+
* @see https://floating-ui.com/docs/arrow
|
|
1226
|
+
*/
|
|
1227
|
+
var arrow = arrow$1;
|
|
1228
|
+
/**
|
|
1229
|
+
* Built-in `limiter` that will stop `shift()` at a certain point.
|
|
1230
|
+
*/
|
|
1231
|
+
var limitShift = limitShift$1;
|
|
1232
|
+
/**
|
|
1233
|
+
* Computes the `x` and `y` coordinates that will place the floating element
|
|
1234
|
+
* next to a given reference element.
|
|
1235
|
+
*/
|
|
1236
|
+
var computePosition = (reference, floating, options) => {
|
|
1237
|
+
const cache = /* @__PURE__ */ new Map();
|
|
1238
|
+
const mergedOptions = options != null ? options : {};
|
|
1239
|
+
const platformWithCache = {
|
|
1240
|
+
...platform,
|
|
1241
|
+
...mergedOptions.platform,
|
|
1242
|
+
_c: cache
|
|
1243
|
+
};
|
|
1244
|
+
return computePosition$1(reference, floating, {
|
|
1245
|
+
...mergedOptions,
|
|
1246
|
+
platform: platformWithCache
|
|
1247
|
+
});
|
|
1248
|
+
};
|
|
1249
|
+
//#endregion
|
|
1250
|
+
//#region ../../node_modules/.pnpm/bits-ui@2.18.1_@internationalized+date@3.12.3_@sveltejs+kit@2.70.2_@opentelemetry+api@1_928e570f1afd842a71a2bdb10737e411/node_modules/bits-ui/dist/internal/floating-svelte/floating-utils.svelte.js
|
|
1251
|
+
function get(valueOrGetValue) {
|
|
1252
|
+
return typeof valueOrGetValue === "function" ? valueOrGetValue() : valueOrGetValue;
|
|
1253
|
+
}
|
|
1254
|
+
function getDPR(element) {
|
|
1255
|
+
if (typeof window === "undefined") return 1;
|
|
1256
|
+
return (element.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
1257
|
+
}
|
|
1258
|
+
function roundByDPR(element, value) {
|
|
1259
|
+
const dpr = getDPR(element);
|
|
1260
|
+
return Math.round(value * dpr) / dpr;
|
|
1261
|
+
}
|
|
1262
|
+
function getFloatingContentCSSVars(name) {
|
|
1263
|
+
return {
|
|
1264
|
+
[`--bits-${name}-content-transform-origin`]: `var(--bits-floating-transform-origin)`,
|
|
1265
|
+
[`--bits-${name}-content-available-width`]: `var(--bits-floating-available-width)`,
|
|
1266
|
+
[`--bits-${name}-content-available-height`]: `var(--bits-floating-available-height)`,
|
|
1267
|
+
[`--bits-${name}-anchor-width`]: `var(--bits-floating-anchor-width)`,
|
|
1268
|
+
[`--bits-${name}-anchor-height`]: `var(--bits-floating-anchor-height)`
|
|
1269
|
+
};
|
|
1270
|
+
}
|
|
1271
|
+
//#endregion
|
|
1272
|
+
//#region ../../node_modules/.pnpm/bits-ui@2.18.1_@internationalized+date@3.12.3_@sveltejs+kit@2.70.2_@opentelemetry+api@1_928e570f1afd842a71a2bdb10737e411/node_modules/bits-ui/dist/internal/floating-svelte/use-floating.svelte.js
|
|
1273
|
+
function useFloating(options) {
|
|
1274
|
+
const openOption = derived(() => get(options.open) ?? true);
|
|
1275
|
+
const middlewareOption = derived(() => get(options.middleware));
|
|
1276
|
+
const transformOption = derived(() => get(options.transform) ?? true);
|
|
1277
|
+
const placementOption = derived(() => get(options.placement) ?? "bottom");
|
|
1278
|
+
const strategyOption = derived(() => get(options.strategy) ?? "absolute");
|
|
1279
|
+
const sideOffsetOption = derived(() => get(options.sideOffset) ?? 0);
|
|
1280
|
+
const alignOffsetOption = derived(() => get(options.alignOffset) ?? 0);
|
|
1281
|
+
const reference = options.reference;
|
|
1282
|
+
/** State */
|
|
1283
|
+
let x = 0;
|
|
1284
|
+
let y = 0;
|
|
1285
|
+
const floating = simpleBox(null);
|
|
1286
|
+
let strategy = strategyOption();
|
|
1287
|
+
let placement = placementOption();
|
|
1288
|
+
let middlewareData = {};
|
|
1289
|
+
let isPositioned = false;
|
|
1290
|
+
let updateRequestId = 0;
|
|
1291
|
+
const floatingStyles = derived(() => {
|
|
1292
|
+
const xVal = floating.current ? roundByDPR(floating.current, x) : x;
|
|
1293
|
+
const yVal = floating.current ? roundByDPR(floating.current, y) : y;
|
|
1294
|
+
if (transformOption()) return {
|
|
1295
|
+
position: strategy,
|
|
1296
|
+
left: "0",
|
|
1297
|
+
top: "0",
|
|
1298
|
+
transform: `translate(${xVal}px, ${yVal}px)`,
|
|
1299
|
+
...floating.current && getDPR(floating.current) >= 1.5 && { willChange: "transform" }
|
|
1300
|
+
};
|
|
1301
|
+
return {
|
|
1302
|
+
position: strategy,
|
|
1303
|
+
left: `${xVal}px`,
|
|
1304
|
+
top: `${yVal}px`
|
|
1305
|
+
};
|
|
1306
|
+
});
|
|
1307
|
+
function update() {
|
|
1308
|
+
if (reference.current === null || floating.current === null) return;
|
|
1309
|
+
const referenceNode = reference.current;
|
|
1310
|
+
const floatingNode = floating.current;
|
|
1311
|
+
const requestId = ++updateRequestId;
|
|
1312
|
+
computePosition(referenceNode, floatingNode, {
|
|
1313
|
+
middleware: middlewareOption(),
|
|
1314
|
+
placement: placementOption(),
|
|
1315
|
+
strategy: strategyOption()
|
|
1316
|
+
}).then((position) => {
|
|
1317
|
+
if (requestId !== updateRequestId) return;
|
|
1318
|
+
if (reference.current !== referenceNode || floating.current !== floatingNode) return;
|
|
1319
|
+
if (isReferenceHidden(referenceNode)) {
|
|
1320
|
+
middlewareData = {
|
|
1321
|
+
...middlewareData,
|
|
1322
|
+
hide: {
|
|
1323
|
+
...middlewareData.hide,
|
|
1324
|
+
referenceHidden: true
|
|
1325
|
+
}
|
|
1326
|
+
};
|
|
1327
|
+
return;
|
|
1328
|
+
}
|
|
1329
|
+
if (!openOption() && x !== 0 && y !== 0) {
|
|
1330
|
+
const maxExpectedOffset = Math.max(Math.abs(sideOffsetOption()), Math.abs(alignOffsetOption()), 15);
|
|
1331
|
+
if (position.x <= maxExpectedOffset && position.y <= maxExpectedOffset) return;
|
|
1332
|
+
}
|
|
1333
|
+
x = position.x;
|
|
1334
|
+
y = position.y;
|
|
1335
|
+
strategy = position.strategy;
|
|
1336
|
+
placement = position.placement;
|
|
1337
|
+
middlewareData = position.middlewareData;
|
|
1338
|
+
isPositioned = true;
|
|
1339
|
+
});
|
|
1340
|
+
}
|
|
1341
|
+
return {
|
|
1342
|
+
floating,
|
|
1343
|
+
reference,
|
|
1344
|
+
get strategy() {
|
|
1345
|
+
return strategy;
|
|
1346
|
+
},
|
|
1347
|
+
get placement() {
|
|
1348
|
+
return placement;
|
|
1349
|
+
},
|
|
1350
|
+
get middlewareData() {
|
|
1351
|
+
return middlewareData;
|
|
1352
|
+
},
|
|
1353
|
+
get isPositioned() {
|
|
1354
|
+
return isPositioned;
|
|
1355
|
+
},
|
|
1356
|
+
get floatingStyles() {
|
|
1357
|
+
return floatingStyles();
|
|
1358
|
+
},
|
|
1359
|
+
get update() {
|
|
1360
|
+
return update;
|
|
1361
|
+
}
|
|
1362
|
+
};
|
|
1363
|
+
}
|
|
1364
|
+
function isReferenceHidden(node) {
|
|
1365
|
+
if (!(node instanceof Element)) return false;
|
|
1366
|
+
if (!node.isConnected) return true;
|
|
1367
|
+
if (node instanceof HTMLElement && node.hidden) return true;
|
|
1368
|
+
return node.getClientRects().length === 0;
|
|
1369
|
+
}
|
|
1370
|
+
//#endregion
|
|
1371
|
+
//#region ../../node_modules/.pnpm/bits-ui@2.18.1_@internationalized+date@3.12.3_@sveltejs+kit@2.70.2_@opentelemetry+api@1_928e570f1afd842a71a2bdb10737e411/node_modules/bits-ui/dist/bits/utilities/floating-layer/use-floating-layer.svelte.js
|
|
1372
|
+
var OPPOSITE_SIDE = {
|
|
1373
|
+
top: "bottom",
|
|
1374
|
+
right: "left",
|
|
1375
|
+
bottom: "top",
|
|
1376
|
+
left: "right"
|
|
1377
|
+
};
|
|
1378
|
+
var FloatingRootContext = new Context("Floating.Root");
|
|
1379
|
+
var FloatingContentContext = new Context("Floating.Content");
|
|
1380
|
+
var FloatingTooltipRootContext = new Context("Floating.Root");
|
|
1381
|
+
var FloatingRootState = class FloatingRootState {
|
|
1382
|
+
static create(tooltip = false) {
|
|
1383
|
+
return tooltip ? FloatingTooltipRootContext.set(new FloatingRootState()) : FloatingRootContext.set(new FloatingRootState());
|
|
1384
|
+
}
|
|
1385
|
+
anchorNode = simpleBox(null);
|
|
1386
|
+
customAnchorNode = simpleBox(null);
|
|
1387
|
+
triggerNode = simpleBox(null);
|
|
1388
|
+
constructor() {}
|
|
1389
|
+
};
|
|
1390
|
+
var FloatingContentState = class FloatingContentState {
|
|
1391
|
+
static create(opts, tooltip = false) {
|
|
1392
|
+
return tooltip ? FloatingContentContext.set(new FloatingContentState(opts, FloatingTooltipRootContext.get())) : FloatingContentContext.set(new FloatingContentState(opts, FloatingRootContext.get()));
|
|
1393
|
+
}
|
|
1394
|
+
opts;
|
|
1395
|
+
root;
|
|
1396
|
+
contentRef = simpleBox(null);
|
|
1397
|
+
wrapperRef = simpleBox(null);
|
|
1398
|
+
arrowRef = simpleBox(null);
|
|
1399
|
+
contentAttachment = attachRef(this.contentRef);
|
|
1400
|
+
wrapperAttachment = attachRef(this.wrapperRef);
|
|
1401
|
+
arrowAttachment = attachRef(this.arrowRef);
|
|
1402
|
+
arrowId = simpleBox(useId());
|
|
1403
|
+
#transformedStyle = derived(() => {
|
|
1404
|
+
if (typeof this.opts.style === "string") return cssToStyleObj(this.opts.style);
|
|
1405
|
+
if (!this.opts.style) return {};
|
|
1406
|
+
});
|
|
1407
|
+
#updatePositionStrategy = void 0;
|
|
1408
|
+
#arrowSize = new ElementSize(() => this.arrowRef.current ?? void 0);
|
|
1409
|
+
#arrowWidth = derived(() => this.#arrowSize?.width ?? 0);
|
|
1410
|
+
#arrowHeight = derived(() => this.#arrowSize?.height ?? 0);
|
|
1411
|
+
#desiredPlacement = derived(() => this.opts.side?.current + (this.opts.align.current !== "center" ? `-${this.opts.align.current}` : ""));
|
|
1412
|
+
#boundary = derived(() => Array.isArray(this.opts.collisionBoundary.current) ? this.opts.collisionBoundary.current : [this.opts.collisionBoundary.current]);
|
|
1413
|
+
#hasExplicitBoundaries = derived(() => this.#boundary().length > 0);
|
|
1414
|
+
get hasExplicitBoundaries() {
|
|
1415
|
+
return this.#hasExplicitBoundaries();
|
|
1416
|
+
}
|
|
1417
|
+
set hasExplicitBoundaries($$value) {
|
|
1418
|
+
return this.#hasExplicitBoundaries($$value);
|
|
1419
|
+
}
|
|
1420
|
+
#detectOverflowOptions = derived(() => ({
|
|
1421
|
+
padding: this.opts.collisionPadding.current,
|
|
1422
|
+
boundary: this.#boundary().filter(isNotNull),
|
|
1423
|
+
altBoundary: this.hasExplicitBoundaries
|
|
1424
|
+
}));
|
|
1425
|
+
get detectOverflowOptions() {
|
|
1426
|
+
return this.#detectOverflowOptions();
|
|
1427
|
+
}
|
|
1428
|
+
set detectOverflowOptions($$value) {
|
|
1429
|
+
return this.#detectOverflowOptions($$value);
|
|
1430
|
+
}
|
|
1431
|
+
#availableWidth = void 0;
|
|
1432
|
+
#availableHeight = void 0;
|
|
1433
|
+
#anchorWidth = void 0;
|
|
1434
|
+
#anchorHeight = void 0;
|
|
1435
|
+
#middleware = derived(() => [
|
|
1436
|
+
offset({
|
|
1437
|
+
mainAxis: this.opts.sideOffset.current + this.#arrowHeight(),
|
|
1438
|
+
alignmentAxis: this.opts.alignOffset.current
|
|
1439
|
+
}),
|
|
1440
|
+
this.opts.avoidCollisions.current && shift({
|
|
1441
|
+
mainAxis: true,
|
|
1442
|
+
crossAxis: false,
|
|
1443
|
+
limiter: this.opts.sticky.current === "partial" ? limitShift() : void 0,
|
|
1444
|
+
...this.detectOverflowOptions
|
|
1445
|
+
}),
|
|
1446
|
+
this.opts.avoidCollisions.current && flip({ ...this.detectOverflowOptions }),
|
|
1447
|
+
size({
|
|
1448
|
+
...this.detectOverflowOptions,
|
|
1449
|
+
apply: ({ rects, availableWidth, availableHeight }) => {
|
|
1450
|
+
const { width: anchorWidth, height: anchorHeight } = rects.reference;
|
|
1451
|
+
this.#availableWidth = availableWidth;
|
|
1452
|
+
this.#availableHeight = availableHeight;
|
|
1453
|
+
this.#anchorWidth = anchorWidth;
|
|
1454
|
+
this.#anchorHeight = anchorHeight;
|
|
1455
|
+
}
|
|
1456
|
+
}),
|
|
1457
|
+
this.arrowRef.current && arrow({
|
|
1458
|
+
element: this.arrowRef.current,
|
|
1459
|
+
padding: this.opts.arrowPadding.current
|
|
1460
|
+
}),
|
|
1461
|
+
transformOrigin({
|
|
1462
|
+
arrowWidth: this.#arrowWidth(),
|
|
1463
|
+
arrowHeight: this.#arrowHeight()
|
|
1464
|
+
}),
|
|
1465
|
+
this.opts.hideWhenDetached.current && hide({
|
|
1466
|
+
strategy: "referenceHidden",
|
|
1467
|
+
...this.detectOverflowOptions
|
|
1468
|
+
})
|
|
1469
|
+
].filter(Boolean));
|
|
1470
|
+
get middleware() {
|
|
1471
|
+
return this.#middleware();
|
|
1472
|
+
}
|
|
1473
|
+
set middleware($$value) {
|
|
1474
|
+
return this.#middleware($$value);
|
|
1475
|
+
}
|
|
1476
|
+
floating;
|
|
1477
|
+
#placedSide = derived(() => getSideFromPlacement(this.floating.placement));
|
|
1478
|
+
get placedSide() {
|
|
1479
|
+
return this.#placedSide();
|
|
1480
|
+
}
|
|
1481
|
+
set placedSide($$value) {
|
|
1482
|
+
return this.#placedSide($$value);
|
|
1483
|
+
}
|
|
1484
|
+
#placedAlign = derived(() => getAlignFromPlacement(this.floating.placement));
|
|
1485
|
+
get placedAlign() {
|
|
1486
|
+
return this.#placedAlign();
|
|
1487
|
+
}
|
|
1488
|
+
set placedAlign($$value) {
|
|
1489
|
+
return this.#placedAlign($$value);
|
|
1490
|
+
}
|
|
1491
|
+
#arrowX = derived(() => this.floating.middlewareData.arrow?.x ?? 0);
|
|
1492
|
+
get arrowX() {
|
|
1493
|
+
return this.#arrowX();
|
|
1494
|
+
}
|
|
1495
|
+
set arrowX($$value) {
|
|
1496
|
+
return this.#arrowX($$value);
|
|
1497
|
+
}
|
|
1498
|
+
#arrowY = derived(() => this.floating.middlewareData.arrow?.y ?? 0);
|
|
1499
|
+
get arrowY() {
|
|
1500
|
+
return this.#arrowY();
|
|
1501
|
+
}
|
|
1502
|
+
set arrowY($$value) {
|
|
1503
|
+
return this.#arrowY($$value);
|
|
1504
|
+
}
|
|
1505
|
+
#cannotCenterArrow = derived(() => this.floating.middlewareData.arrow?.centerOffset !== 0);
|
|
1506
|
+
get cannotCenterArrow() {
|
|
1507
|
+
return this.#cannotCenterArrow();
|
|
1508
|
+
}
|
|
1509
|
+
set cannotCenterArrow($$value) {
|
|
1510
|
+
return this.#cannotCenterArrow($$value);
|
|
1511
|
+
}
|
|
1512
|
+
contentZIndex;
|
|
1513
|
+
#arrowBaseSide = derived(() => OPPOSITE_SIDE[this.placedSide]);
|
|
1514
|
+
get arrowBaseSide() {
|
|
1515
|
+
return this.#arrowBaseSide();
|
|
1516
|
+
}
|
|
1517
|
+
set arrowBaseSide($$value) {
|
|
1518
|
+
return this.#arrowBaseSide($$value);
|
|
1519
|
+
}
|
|
1520
|
+
#wrapperProps = derived(() => ({
|
|
1521
|
+
id: this.opts.wrapperId.current,
|
|
1522
|
+
"data-bits-floating-content-wrapper": "",
|
|
1523
|
+
style: {
|
|
1524
|
+
...this.floating.floatingStyles,
|
|
1525
|
+
transform: this.floating.isPositioned ? this.floating.floatingStyles.transform : "translate(0, -200%)",
|
|
1526
|
+
minWidth: "max-content",
|
|
1527
|
+
zIndex: this.contentZIndex,
|
|
1528
|
+
"--bits-floating-transform-origin": `${this.floating.middlewareData.transformOrigin?.x} ${this.floating.middlewareData.transformOrigin?.y}`,
|
|
1529
|
+
"--bits-floating-available-width": `${this.#availableWidth}px`,
|
|
1530
|
+
"--bits-floating-available-height": `${this.#availableHeight}px`,
|
|
1531
|
+
"--bits-floating-anchor-width": `${this.#anchorWidth}px`,
|
|
1532
|
+
"--bits-floating-anchor-height": `${this.#anchorHeight}px`,
|
|
1533
|
+
...this.floating.middlewareData.hide?.referenceHidden && {
|
|
1534
|
+
visibility: "hidden",
|
|
1535
|
+
"pointer-events": "none"
|
|
1536
|
+
},
|
|
1537
|
+
...this.#transformedStyle()
|
|
1538
|
+
},
|
|
1539
|
+
dir: this.opts.dir.current,
|
|
1540
|
+
...this.wrapperAttachment
|
|
1541
|
+
}));
|
|
1542
|
+
get wrapperProps() {
|
|
1543
|
+
return this.#wrapperProps();
|
|
1544
|
+
}
|
|
1545
|
+
set wrapperProps($$value) {
|
|
1546
|
+
return this.#wrapperProps($$value);
|
|
1547
|
+
}
|
|
1548
|
+
#props = derived(() => ({
|
|
1549
|
+
"data-side": this.placedSide,
|
|
1550
|
+
"data-align": this.placedAlign,
|
|
1551
|
+
style: styleToString({ ...this.#transformedStyle() }),
|
|
1552
|
+
...this.contentAttachment
|
|
1553
|
+
}));
|
|
1554
|
+
get props() {
|
|
1555
|
+
return this.#props();
|
|
1556
|
+
}
|
|
1557
|
+
set props($$value) {
|
|
1558
|
+
return this.#props($$value);
|
|
1559
|
+
}
|
|
1560
|
+
#arrowStyle = derived(() => ({
|
|
1561
|
+
position: "absolute",
|
|
1562
|
+
left: this.arrowX ? `${this.arrowX}px` : void 0,
|
|
1563
|
+
top: this.arrowY ? `${this.arrowY}px` : void 0,
|
|
1564
|
+
[this.arrowBaseSide]: 0,
|
|
1565
|
+
"transform-origin": {
|
|
1566
|
+
top: "",
|
|
1567
|
+
right: "0 0",
|
|
1568
|
+
bottom: "center 0",
|
|
1569
|
+
left: "100% 0"
|
|
1570
|
+
}[this.placedSide],
|
|
1571
|
+
transform: {
|
|
1572
|
+
top: "translateY(100%)",
|
|
1573
|
+
right: "translateY(50%) rotate(90deg) translateX(-50%)",
|
|
1574
|
+
bottom: "rotate(180deg)",
|
|
1575
|
+
left: "translateY(50%) rotate(-90deg) translateX(50%)"
|
|
1576
|
+
}[this.placedSide],
|
|
1577
|
+
visibility: this.cannotCenterArrow ? "hidden" : void 0
|
|
1578
|
+
}));
|
|
1579
|
+
get arrowStyle() {
|
|
1580
|
+
return this.#arrowStyle();
|
|
1581
|
+
}
|
|
1582
|
+
set arrowStyle($$value) {
|
|
1583
|
+
return this.#arrowStyle($$value);
|
|
1584
|
+
}
|
|
1585
|
+
constructor(opts, root) {
|
|
1586
|
+
this.opts = opts;
|
|
1587
|
+
this.root = root;
|
|
1588
|
+
this.#updatePositionStrategy = opts.updatePositionStrategy;
|
|
1589
|
+
if (opts.customAnchor) this.root.customAnchorNode.current = opts.customAnchor.current;
|
|
1590
|
+
watch(() => opts.customAnchor.current, (customAnchor) => {
|
|
1591
|
+
this.root.customAnchorNode.current = customAnchor;
|
|
1592
|
+
});
|
|
1593
|
+
this.floating = useFloating({
|
|
1594
|
+
strategy: () => this.opts.strategy.current,
|
|
1595
|
+
placement: () => this.#desiredPlacement(),
|
|
1596
|
+
middleware: () => this.middleware,
|
|
1597
|
+
reference: this.root.anchorNode,
|
|
1598
|
+
open: () => this.opts.enabled.current,
|
|
1599
|
+
sideOffset: () => this.opts.sideOffset.current,
|
|
1600
|
+
alignOffset: () => this.opts.alignOffset.current
|
|
1601
|
+
});
|
|
1602
|
+
watch(() => this.contentRef.current, (contentNode) => {
|
|
1603
|
+
if (!contentNode || !this.opts.enabled.current) return;
|
|
1604
|
+
const win = getWindow$1(contentNode);
|
|
1605
|
+
const rafId = win.requestAnimationFrame(() => {
|
|
1606
|
+
if (this.contentRef.current !== contentNode || !this.opts.enabled.current) return;
|
|
1607
|
+
const zIndex = win.getComputedStyle(contentNode).zIndex;
|
|
1608
|
+
if (zIndex !== this.contentZIndex) this.contentZIndex = zIndex;
|
|
1609
|
+
});
|
|
1610
|
+
return () => {
|
|
1611
|
+
win.cancelAnimationFrame(rafId);
|
|
1612
|
+
};
|
|
1613
|
+
});
|
|
1614
|
+
}
|
|
1615
|
+
};
|
|
1616
|
+
var FloatingAnchorState = class FloatingAnchorState {
|
|
1617
|
+
static create(opts, tooltip = false) {
|
|
1618
|
+
return tooltip ? new FloatingAnchorState(opts, FloatingTooltipRootContext.get()) : new FloatingAnchorState(opts, FloatingRootContext.get());
|
|
1619
|
+
}
|
|
1620
|
+
opts;
|
|
1621
|
+
root;
|
|
1622
|
+
constructor(opts, root) {
|
|
1623
|
+
this.opts = opts;
|
|
1624
|
+
this.root = root;
|
|
1625
|
+
if (opts.virtualEl && opts.virtualEl.current) root.triggerNode = boxFrom(opts.virtualEl.current);
|
|
1626
|
+
else root.triggerNode = opts.ref;
|
|
1627
|
+
}
|
|
1628
|
+
};
|
|
1629
|
+
function transformOrigin(options) {
|
|
1630
|
+
return {
|
|
1631
|
+
name: "transformOrigin",
|
|
1632
|
+
options,
|
|
1633
|
+
fn(data) {
|
|
1634
|
+
const { placement, rects, middlewareData } = data;
|
|
1635
|
+
const isArrowHidden = middlewareData.arrow?.centerOffset !== 0;
|
|
1636
|
+
const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;
|
|
1637
|
+
const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;
|
|
1638
|
+
const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);
|
|
1639
|
+
const noArrowAlign = {
|
|
1640
|
+
start: "0%",
|
|
1641
|
+
center: "50%",
|
|
1642
|
+
end: "100%"
|
|
1643
|
+
}[placedAlign];
|
|
1644
|
+
const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;
|
|
1645
|
+
const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;
|
|
1646
|
+
let x = "";
|
|
1647
|
+
let y = "";
|
|
1648
|
+
if (placedSide === "bottom") {
|
|
1649
|
+
x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;
|
|
1650
|
+
y = `${-arrowHeight}px`;
|
|
1651
|
+
} else if (placedSide === "top") {
|
|
1652
|
+
x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;
|
|
1653
|
+
y = `${rects.floating.height + arrowHeight}px`;
|
|
1654
|
+
} else if (placedSide === "right") {
|
|
1655
|
+
x = `${-arrowHeight}px`;
|
|
1656
|
+
y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;
|
|
1657
|
+
} else if (placedSide === "left") {
|
|
1658
|
+
x = `${rects.floating.width + arrowHeight}px`;
|
|
1659
|
+
y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;
|
|
1660
|
+
}
|
|
1661
|
+
return { data: {
|
|
1662
|
+
x,
|
|
1663
|
+
y
|
|
1664
|
+
} };
|
|
1665
|
+
}
|
|
1666
|
+
};
|
|
1667
|
+
}
|
|
1668
|
+
function getSideAndAlignFromPlacement(placement) {
|
|
1669
|
+
const [side, align = "center"] = placement.split("-");
|
|
1670
|
+
return [side, align];
|
|
1671
|
+
}
|
|
1672
|
+
function getSideFromPlacement(placement) {
|
|
1673
|
+
return getSideAndAlignFromPlacement(placement)[0];
|
|
1674
|
+
}
|
|
1675
|
+
function getAlignFromPlacement(placement) {
|
|
1676
|
+
return getSideAndAlignFromPlacement(placement)[1];
|
|
1677
|
+
}
|
|
1678
|
+
//#endregion
|
|
1679
|
+
//#region ../../node_modules/.pnpm/bits-ui@2.18.1_@internationalized+date@3.12.3_@sveltejs+kit@2.70.2_@opentelemetry+api@1_928e570f1afd842a71a2bdb10737e411/node_modules/bits-ui/dist/bits/utilities/floating-layer/components/floating-layer.svelte
|
|
1680
|
+
function Floating_layer($$renderer, $$props) {
|
|
1681
|
+
$$renderer.component(($$renderer) => {
|
|
1682
|
+
let { children, tooltip = false } = $$props;
|
|
1683
|
+
FloatingRootState.create(tooltip);
|
|
1684
|
+
children?.($$renderer);
|
|
1685
|
+
$$renderer.push(`<!---->`);
|
|
1686
|
+
});
|
|
1687
|
+
}
|
|
1688
|
+
//#endregion
|
|
1689
|
+
//#region ../../node_modules/.pnpm/bits-ui@2.18.1_@internationalized+date@3.12.3_@sveltejs+kit@2.70.2_@opentelemetry+api@1_928e570f1afd842a71a2bdb10737e411/node_modules/bits-ui/dist/internal/data-typeahead.svelte.js
|
|
1690
|
+
var DataTypeahead = class {
|
|
1691
|
+
#opts;
|
|
1692
|
+
#candidateValues = derived(() => this.#opts.candidateValues());
|
|
1693
|
+
#search;
|
|
1694
|
+
constructor(opts) {
|
|
1695
|
+
this.#opts = opts;
|
|
1696
|
+
this.#search = boxAutoReset("", {
|
|
1697
|
+
afterMs: 1e3,
|
|
1698
|
+
getWindow: this.#opts.getWindow
|
|
1699
|
+
});
|
|
1700
|
+
this.handleTypeaheadSearch = this.handleTypeaheadSearch.bind(this);
|
|
1701
|
+
this.resetTypeahead = this.resetTypeahead.bind(this);
|
|
1702
|
+
}
|
|
1703
|
+
handleTypeaheadSearch(key) {
|
|
1704
|
+
if (!this.#opts.enabled() || !this.#candidateValues().length) return;
|
|
1705
|
+
this.#search.current = this.#search.current + key;
|
|
1706
|
+
const currentItem = this.#opts.getCurrentItem();
|
|
1707
|
+
const currentMatch = this.#candidateValues().find((item) => item === currentItem) ?? "";
|
|
1708
|
+
const values = this.#candidateValues().map((item) => item ?? "");
|
|
1709
|
+
const nextMatch = getNextMatch(values, this.#search.current, currentMatch);
|
|
1710
|
+
const newItem = this.#candidateValues().find((item) => item === nextMatch);
|
|
1711
|
+
if (newItem) this.#opts.onMatch(newItem);
|
|
1712
|
+
return newItem;
|
|
1713
|
+
}
|
|
1714
|
+
resetTypeahead() {
|
|
1715
|
+
this.#search.current = "";
|
|
1716
|
+
}
|
|
1717
|
+
};
|
|
1718
|
+
var FIRST_KEYS = [
|
|
1719
|
+
ARROW_DOWN,
|
|
1720
|
+
PAGE_UP,
|
|
1721
|
+
HOME
|
|
1722
|
+
];
|
|
1723
|
+
var LAST_KEYS = [
|
|
1724
|
+
ARROW_UP,
|
|
1725
|
+
PAGE_DOWN,
|
|
1726
|
+
"End"
|
|
1727
|
+
];
|
|
1728
|
+
var FIRST_LAST_KEYS = [...FIRST_KEYS, ...LAST_KEYS];
|
|
1729
|
+
var selectAttrs = createBitsAttrs({
|
|
1730
|
+
component: "select",
|
|
1731
|
+
parts: [
|
|
1732
|
+
"trigger",
|
|
1733
|
+
"content",
|
|
1734
|
+
"item",
|
|
1735
|
+
"viewport",
|
|
1736
|
+
"scroll-up-button",
|
|
1737
|
+
"scroll-down-button",
|
|
1738
|
+
"group",
|
|
1739
|
+
"group-label",
|
|
1740
|
+
"separator",
|
|
1741
|
+
"arrow",
|
|
1742
|
+
"input",
|
|
1743
|
+
"content-wrapper",
|
|
1744
|
+
"item-text",
|
|
1745
|
+
"value"
|
|
1746
|
+
]
|
|
1747
|
+
});
|
|
1748
|
+
var SelectRootContext = new Context("Select.Root | Combobox.Root");
|
|
1749
|
+
var SelectContentContext = new Context("Select.Content | Combobox.Content");
|
|
1750
|
+
var SelectBaseRootState = class {
|
|
1751
|
+
opts;
|
|
1752
|
+
touchedInput = false;
|
|
1753
|
+
inputNode = null;
|
|
1754
|
+
contentNode = null;
|
|
1755
|
+
contentPresence;
|
|
1756
|
+
viewportNode = null;
|
|
1757
|
+
triggerNode = null;
|
|
1758
|
+
valueNode = null;
|
|
1759
|
+
valueId = "";
|
|
1760
|
+
highlightedNode = null;
|
|
1761
|
+
#highlightedValue = derived(() => {
|
|
1762
|
+
if (!this.highlightedNode) return null;
|
|
1763
|
+
return this.highlightedNode.getAttribute("data-value");
|
|
1764
|
+
});
|
|
1765
|
+
get highlightedValue() {
|
|
1766
|
+
return this.#highlightedValue();
|
|
1767
|
+
}
|
|
1768
|
+
set highlightedValue($$value) {
|
|
1769
|
+
return this.#highlightedValue($$value);
|
|
1770
|
+
}
|
|
1771
|
+
#highlightedId = derived(() => {
|
|
1772
|
+
if (!this.highlightedNode) return void 0;
|
|
1773
|
+
return this.highlightedNode.id;
|
|
1774
|
+
});
|
|
1775
|
+
get highlightedId() {
|
|
1776
|
+
return this.#highlightedId();
|
|
1777
|
+
}
|
|
1778
|
+
set highlightedId($$value) {
|
|
1779
|
+
return this.#highlightedId($$value);
|
|
1780
|
+
}
|
|
1781
|
+
#highlightedLabel = derived(() => {
|
|
1782
|
+
if (!this.highlightedNode) return null;
|
|
1783
|
+
return this.highlightedNode.getAttribute("data-label");
|
|
1784
|
+
});
|
|
1785
|
+
get highlightedLabel() {
|
|
1786
|
+
return this.#highlightedLabel();
|
|
1787
|
+
}
|
|
1788
|
+
set highlightedLabel($$value) {
|
|
1789
|
+
return this.#highlightedLabel($$value);
|
|
1790
|
+
}
|
|
1791
|
+
contentIsPositioned = false;
|
|
1792
|
+
isUsingKeyboard = false;
|
|
1793
|
+
isCombobox = false;
|
|
1794
|
+
domContext = new DOMContext(() => null);
|
|
1795
|
+
constructor(opts) {
|
|
1796
|
+
this.opts = opts;
|
|
1797
|
+
this.isCombobox = opts.isCombobox;
|
|
1798
|
+
this.contentPresence = new PresenceManager({
|
|
1799
|
+
ref: boxWith(() => this.contentNode),
|
|
1800
|
+
open: this.opts.open,
|
|
1801
|
+
onComplete: () => {
|
|
1802
|
+
this.opts.onOpenChangeComplete.current(this.opts.open.current);
|
|
1803
|
+
}
|
|
1804
|
+
});
|
|
1805
|
+
}
|
|
1806
|
+
setHighlightedNode(node, initial = false) {
|
|
1807
|
+
this.highlightedNode = node;
|
|
1808
|
+
if (node && (this.isUsingKeyboard || initial)) this.scrollHighlightedNodeIntoView(node);
|
|
1809
|
+
}
|
|
1810
|
+
scrollHighlightedNodeIntoView(node) {
|
|
1811
|
+
if (!this.viewportNode || !this.contentIsPositioned) return;
|
|
1812
|
+
node.scrollIntoView({ block: this.opts.scrollAlignment.current });
|
|
1813
|
+
}
|
|
1814
|
+
getCandidateNodes() {
|
|
1815
|
+
const node = this.contentNode;
|
|
1816
|
+
if (!node) return [];
|
|
1817
|
+
return Array.from(node.querySelectorAll(`[${this.getBitsAttr("item")}]:not([data-disabled])`));
|
|
1818
|
+
}
|
|
1819
|
+
setHighlightedToFirstCandidate(initial = false) {
|
|
1820
|
+
this.setHighlightedNode(null);
|
|
1821
|
+
let nodes = this.getCandidateNodes();
|
|
1822
|
+
if (!nodes.length) return;
|
|
1823
|
+
if (this.viewportNode) {
|
|
1824
|
+
const viewportRect = this.viewportNode.getBoundingClientRect();
|
|
1825
|
+
nodes = nodes.filter((node) => {
|
|
1826
|
+
if (!this.viewportNode) return false;
|
|
1827
|
+
const nodeRect = node.getBoundingClientRect();
|
|
1828
|
+
return nodeRect.right <= viewportRect.right && nodeRect.left >= viewportRect.left && nodeRect.bottom <= viewportRect.bottom && nodeRect.top >= viewportRect.top;
|
|
1829
|
+
});
|
|
1830
|
+
}
|
|
1831
|
+
this.setHighlightedNode(nodes[0], initial);
|
|
1832
|
+
}
|
|
1833
|
+
getNodeByValue(value) {
|
|
1834
|
+
return this.getCandidateNodes().find((node) => node.dataset.value === value) ?? null;
|
|
1835
|
+
}
|
|
1836
|
+
/**
|
|
1837
|
+
* Resolves the display label for a value: `items` entry when present, otherwise the
|
|
1838
|
+
* mounted item's `data-label` or its text content.
|
|
1839
|
+
*/
|
|
1840
|
+
getLabelForValue(value) {
|
|
1841
|
+
if (value === "") return "";
|
|
1842
|
+
const fromItems = this.opts.items.current.find((item) => item.value === value)?.label;
|
|
1843
|
+
if (fromItems !== void 0) return fromItems;
|
|
1844
|
+
const node = this.getNodeByValue(value);
|
|
1845
|
+
if (node) {
|
|
1846
|
+
const dataLabel = node.getAttribute("data-label");
|
|
1847
|
+
if (dataLabel !== null && dataLabel !== "") return dataLabel;
|
|
1848
|
+
return node.textContent?.trim() ?? value;
|
|
1849
|
+
}
|
|
1850
|
+
return value;
|
|
1851
|
+
}
|
|
1852
|
+
setOpen(open) {
|
|
1853
|
+
this.opts.open.current = open;
|
|
1854
|
+
}
|
|
1855
|
+
toggleOpen() {
|
|
1856
|
+
this.opts.open.current = !this.opts.open.current;
|
|
1857
|
+
}
|
|
1858
|
+
handleOpen() {
|
|
1859
|
+
this.setOpen(true);
|
|
1860
|
+
}
|
|
1861
|
+
handleClose() {
|
|
1862
|
+
this.setHighlightedNode(null);
|
|
1863
|
+
this.setOpen(false);
|
|
1864
|
+
}
|
|
1865
|
+
toggleMenu() {
|
|
1866
|
+
this.toggleOpen();
|
|
1867
|
+
}
|
|
1868
|
+
getBitsAttr = (part) => {
|
|
1869
|
+
return selectAttrs.getAttr(part, this.isCombobox ? "combobox" : void 0);
|
|
1870
|
+
};
|
|
1871
|
+
};
|
|
1872
|
+
var SelectSingleRootState = class extends SelectBaseRootState {
|
|
1873
|
+
opts;
|
|
1874
|
+
isMulti = false;
|
|
1875
|
+
#hasValue = derived(() => this.opts.value.current !== "");
|
|
1876
|
+
get hasValue() {
|
|
1877
|
+
return this.#hasValue();
|
|
1878
|
+
}
|
|
1879
|
+
set hasValue($$value) {
|
|
1880
|
+
return this.#hasValue($$value);
|
|
1881
|
+
}
|
|
1882
|
+
#currentLabel = derived(() => {
|
|
1883
|
+
if (!this.opts.items.current.length) return "";
|
|
1884
|
+
return this.opts.items.current.find((item) => item.value === this.opts.value.current)?.label ?? "";
|
|
1885
|
+
});
|
|
1886
|
+
get currentLabel() {
|
|
1887
|
+
return this.#currentLabel();
|
|
1888
|
+
}
|
|
1889
|
+
set currentLabel($$value) {
|
|
1890
|
+
return this.#currentLabel($$value);
|
|
1891
|
+
}
|
|
1892
|
+
#candidateLabels = derived(() => {
|
|
1893
|
+
if (!this.opts.items.current.length) return [];
|
|
1894
|
+
return this.opts.items.current.filter((item) => !item.disabled).map((item) => item.label);
|
|
1895
|
+
});
|
|
1896
|
+
get candidateLabels() {
|
|
1897
|
+
return this.#candidateLabels();
|
|
1898
|
+
}
|
|
1899
|
+
set candidateLabels($$value) {
|
|
1900
|
+
return this.#candidateLabels($$value);
|
|
1901
|
+
}
|
|
1902
|
+
#dataTypeaheadEnabled = derived(() => {
|
|
1903
|
+
if (this.isMulti) return false;
|
|
1904
|
+
if (this.opts.items.current.length === 0) return false;
|
|
1905
|
+
return true;
|
|
1906
|
+
});
|
|
1907
|
+
get dataTypeaheadEnabled() {
|
|
1908
|
+
return this.#dataTypeaheadEnabled();
|
|
1909
|
+
}
|
|
1910
|
+
set dataTypeaheadEnabled($$value) {
|
|
1911
|
+
return this.#dataTypeaheadEnabled($$value);
|
|
1912
|
+
}
|
|
1913
|
+
constructor(opts) {
|
|
1914
|
+
super(opts);
|
|
1915
|
+
this.opts = opts;
|
|
1916
|
+
watch(() => this.opts.open.current, () => {
|
|
1917
|
+
if (!this.opts.open.current) return;
|
|
1918
|
+
this.setInitialHighlightedNode();
|
|
1919
|
+
});
|
|
1920
|
+
}
|
|
1921
|
+
includesItem(itemValue) {
|
|
1922
|
+
return this.opts.value.current === itemValue;
|
|
1923
|
+
}
|
|
1924
|
+
toggleItem(itemValue, itemLabel = itemValue) {
|
|
1925
|
+
const newValue = this.includesItem(itemValue) ? "" : itemValue;
|
|
1926
|
+
this.opts.value.current = newValue;
|
|
1927
|
+
if (newValue !== "") this.opts.inputValue.current = itemLabel;
|
|
1928
|
+
}
|
|
1929
|
+
setInitialHighlightedNode() {
|
|
1930
|
+
afterTick(() => {
|
|
1931
|
+
if (this.highlightedNode && this.domContext.getDocument().contains(this.highlightedNode)) return;
|
|
1932
|
+
if (this.opts.value.current !== "") {
|
|
1933
|
+
const node = this.getNodeByValue(this.opts.value.current);
|
|
1934
|
+
if (node) {
|
|
1935
|
+
this.setHighlightedNode(node, true);
|
|
1936
|
+
return;
|
|
1937
|
+
}
|
|
1938
|
+
}
|
|
1939
|
+
this.setHighlightedToFirstCandidate(true);
|
|
1940
|
+
});
|
|
1941
|
+
}
|
|
1942
|
+
};
|
|
1943
|
+
var SelectMultipleRootState = class extends SelectBaseRootState {
|
|
1944
|
+
opts;
|
|
1945
|
+
isMulti = true;
|
|
1946
|
+
#hasValue = derived(() => this.opts.value.current.length > 0);
|
|
1947
|
+
get hasValue() {
|
|
1948
|
+
return this.#hasValue();
|
|
1949
|
+
}
|
|
1950
|
+
set hasValue($$value) {
|
|
1951
|
+
return this.#hasValue($$value);
|
|
1952
|
+
}
|
|
1953
|
+
constructor(opts) {
|
|
1954
|
+
super(opts);
|
|
1955
|
+
this.opts = opts;
|
|
1956
|
+
watch(() => this.opts.open.current, () => {
|
|
1957
|
+
if (!this.opts.open.current) return;
|
|
1958
|
+
this.setInitialHighlightedNode();
|
|
1959
|
+
});
|
|
1960
|
+
}
|
|
1961
|
+
includesItem(itemValue) {
|
|
1962
|
+
return this.opts.value.current.includes(itemValue);
|
|
1963
|
+
}
|
|
1964
|
+
toggleItem(itemValue, itemLabel = itemValue) {
|
|
1965
|
+
if (this.includesItem(itemValue)) this.opts.value.current = this.opts.value.current.filter((v) => v !== itemValue);
|
|
1966
|
+
else this.opts.value.current = [...this.opts.value.current, itemValue];
|
|
1967
|
+
this.opts.inputValue.current = itemLabel;
|
|
1968
|
+
}
|
|
1969
|
+
setInitialHighlightedNode() {
|
|
1970
|
+
afterTick(() => {
|
|
1971
|
+
if (!this.domContext) return;
|
|
1972
|
+
if (this.highlightedNode && this.domContext.getDocument().contains(this.highlightedNode)) return;
|
|
1973
|
+
if (this.opts.value.current.length && this.opts.value.current[0] !== "") {
|
|
1974
|
+
const node = this.getNodeByValue(this.opts.value.current[0]);
|
|
1975
|
+
if (node) {
|
|
1976
|
+
this.setHighlightedNode(node, true);
|
|
1977
|
+
return;
|
|
1978
|
+
}
|
|
1979
|
+
}
|
|
1980
|
+
this.setHighlightedToFirstCandidate(true);
|
|
1981
|
+
});
|
|
1982
|
+
}
|
|
1983
|
+
};
|
|
1984
|
+
var SelectRootState = class {
|
|
1985
|
+
static create(props) {
|
|
1986
|
+
const { type, ...rest } = props;
|
|
1987
|
+
const rootState = type === "single" ? new SelectSingleRootState(rest) : new SelectMultipleRootState(rest);
|
|
1988
|
+
return SelectRootContext.set(rootState);
|
|
1989
|
+
}
|
|
1990
|
+
};
|
|
1991
|
+
var SelectTriggerState = class SelectTriggerState {
|
|
1992
|
+
static create(opts) {
|
|
1993
|
+
return new SelectTriggerState(opts, SelectRootContext.get());
|
|
1994
|
+
}
|
|
1995
|
+
opts;
|
|
1996
|
+
root;
|
|
1997
|
+
attachment;
|
|
1998
|
+
#domTypeahead;
|
|
1999
|
+
#dataTypeahead;
|
|
2000
|
+
constructor(opts, root) {
|
|
2001
|
+
this.opts = opts;
|
|
2002
|
+
this.root = root;
|
|
2003
|
+
this.attachment = attachRef(opts.ref, (v) => this.root.triggerNode = v);
|
|
2004
|
+
this.root.domContext = new DOMContext(opts.ref);
|
|
2005
|
+
this.#domTypeahead = new DOMTypeahead({
|
|
2006
|
+
getCurrentItem: () => this.root.highlightedNode,
|
|
2007
|
+
onMatch: (node) => {
|
|
2008
|
+
this.root.setHighlightedNode(node);
|
|
2009
|
+
},
|
|
2010
|
+
getActiveElement: () => this.root.domContext.getActiveElement(),
|
|
2011
|
+
getWindow: () => this.root.domContext.getWindow()
|
|
2012
|
+
});
|
|
2013
|
+
this.#dataTypeahead = new DataTypeahead({
|
|
2014
|
+
getCurrentItem: () => {
|
|
2015
|
+
if (this.root.isMulti) return "";
|
|
2016
|
+
return this.root.currentLabel;
|
|
2017
|
+
},
|
|
2018
|
+
onMatch: (label) => {
|
|
2019
|
+
if (this.root.isMulti) return;
|
|
2020
|
+
if (!this.root.opts.items.current) return;
|
|
2021
|
+
const matchedItem = this.root.opts.items.current.find((item) => item.label === label);
|
|
2022
|
+
if (!matchedItem) return;
|
|
2023
|
+
this.root.opts.value.current = matchedItem.value;
|
|
2024
|
+
},
|
|
2025
|
+
enabled: () => !this.root.isMulti && this.root.dataTypeaheadEnabled,
|
|
2026
|
+
candidateValues: () => this.root.isMulti ? [] : this.root.candidateLabels,
|
|
2027
|
+
getWindow: () => this.root.domContext.getWindow()
|
|
2028
|
+
});
|
|
2029
|
+
this.onkeydown = this.onkeydown.bind(this);
|
|
2030
|
+
this.onpointerdown = this.onpointerdown.bind(this);
|
|
2031
|
+
this.onpointerup = this.onpointerup.bind(this);
|
|
2032
|
+
this.onclick = this.onclick.bind(this);
|
|
2033
|
+
}
|
|
2034
|
+
#handleOpen() {
|
|
2035
|
+
this.root.opts.open.current = true;
|
|
2036
|
+
this.#dataTypeahead.resetTypeahead();
|
|
2037
|
+
this.#domTypeahead.resetTypeahead();
|
|
2038
|
+
}
|
|
2039
|
+
#handlePointerOpen(_) {
|
|
2040
|
+
this.#handleOpen();
|
|
2041
|
+
}
|
|
2042
|
+
/**
|
|
2043
|
+
* Logic used to handle keyboard selection/deselection.
|
|
2044
|
+
*
|
|
2045
|
+
* If it returns true, it means the item was selected and whatever is calling
|
|
2046
|
+
* this function should return early
|
|
2047
|
+
*
|
|
2048
|
+
*/
|
|
2049
|
+
#handleKeyboardSelection() {
|
|
2050
|
+
const isCurrentSelectedValue = this.root.highlightedValue === this.root.opts.value.current;
|
|
2051
|
+
if (!this.root.opts.allowDeselect.current && isCurrentSelectedValue && !this.root.isMulti) {
|
|
2052
|
+
this.root.handleClose();
|
|
2053
|
+
return true;
|
|
2054
|
+
}
|
|
2055
|
+
if (this.root.highlightedValue !== null) this.root.toggleItem(this.root.highlightedValue, this.root.highlightedLabel ?? void 0);
|
|
2056
|
+
if (!this.root.isMulti && !isCurrentSelectedValue) {
|
|
2057
|
+
this.root.handleClose();
|
|
2058
|
+
return true;
|
|
2059
|
+
}
|
|
2060
|
+
return false;
|
|
2061
|
+
}
|
|
2062
|
+
onkeydown(e) {
|
|
2063
|
+
this.root.isUsingKeyboard = true;
|
|
2064
|
+
if (e.key === "ArrowUp" || e.key === "ArrowDown") e.preventDefault();
|
|
2065
|
+
if (!this.root.opts.open.current) {
|
|
2066
|
+
if (e.key === "Enter" || e.key === " " || e.key === "ArrowDown" || e.key === "ArrowUp") {
|
|
2067
|
+
e.preventDefault();
|
|
2068
|
+
this.root.handleOpen();
|
|
2069
|
+
} else if (!this.root.isMulti && this.root.dataTypeaheadEnabled) {
|
|
2070
|
+
this.#dataTypeahead.handleTypeaheadSearch(e.key);
|
|
2071
|
+
return;
|
|
2072
|
+
}
|
|
2073
|
+
if (this.root.hasValue) return;
|
|
2074
|
+
const candidateNodes = this.root.getCandidateNodes();
|
|
2075
|
+
if (!candidateNodes.length) return;
|
|
2076
|
+
if (e.key === "ArrowDown") {
|
|
2077
|
+
const firstCandidate = candidateNodes[0];
|
|
2078
|
+
this.root.setHighlightedNode(firstCandidate);
|
|
2079
|
+
} else if (e.key === "ArrowUp") {
|
|
2080
|
+
const lastCandidate = candidateNodes[candidateNodes.length - 1];
|
|
2081
|
+
this.root.setHighlightedNode(lastCandidate);
|
|
2082
|
+
}
|
|
2083
|
+
return;
|
|
2084
|
+
}
|
|
2085
|
+
if (e.key === "Tab") {
|
|
2086
|
+
this.root.handleClose();
|
|
2087
|
+
return;
|
|
2088
|
+
}
|
|
2089
|
+
if ((e.key === "Enter" || e.key === " " && this.#domTypeahead.search === "") && !e.isComposing) {
|
|
2090
|
+
e.preventDefault();
|
|
2091
|
+
if (this.#handleKeyboardSelection()) return;
|
|
2092
|
+
}
|
|
2093
|
+
if (e.key === "ArrowUp" && e.altKey) this.root.handleClose();
|
|
2094
|
+
if (FIRST_LAST_KEYS.includes(e.key)) {
|
|
2095
|
+
e.preventDefault();
|
|
2096
|
+
const candidateNodes = this.root.getCandidateNodes();
|
|
2097
|
+
const currHighlightedNode = this.root.highlightedNode;
|
|
2098
|
+
const currIndex = currHighlightedNode ? candidateNodes.indexOf(currHighlightedNode) : -1;
|
|
2099
|
+
const loop = this.root.opts.loop.current;
|
|
2100
|
+
let nextItem;
|
|
2101
|
+
if (e.key === "ArrowDown") nextItem = next(candidateNodes, currIndex, loop);
|
|
2102
|
+
else if (e.key === "ArrowUp") nextItem = prev(candidateNodes, currIndex, loop);
|
|
2103
|
+
else if (e.key === "PageDown") nextItem = forward(candidateNodes, currIndex, 10, loop);
|
|
2104
|
+
else if (e.key === "PageUp") nextItem = backward(candidateNodes, currIndex, 10, loop);
|
|
2105
|
+
else if (e.key === "Home") nextItem = candidateNodes[0];
|
|
2106
|
+
else if (e.key === "End") nextItem = candidateNodes[candidateNodes.length - 1];
|
|
2107
|
+
if (!nextItem) return;
|
|
2108
|
+
this.root.setHighlightedNode(nextItem);
|
|
2109
|
+
return;
|
|
2110
|
+
}
|
|
2111
|
+
const isModifierKey = e.ctrlKey || e.altKey || e.metaKey;
|
|
2112
|
+
const isCharacterKey = e.key.length === 1;
|
|
2113
|
+
const isSpaceKey = e.key === " ";
|
|
2114
|
+
const candidateNodes = this.root.getCandidateNodes();
|
|
2115
|
+
if (e.key === "Tab") return;
|
|
2116
|
+
if (!isModifierKey && (isCharacterKey || isSpaceKey)) {
|
|
2117
|
+
if (!this.#domTypeahead.handleTypeaheadSearch(e.key, candidateNodes) && isSpaceKey) {
|
|
2118
|
+
e.preventDefault();
|
|
2119
|
+
this.#handleKeyboardSelection();
|
|
2120
|
+
}
|
|
2121
|
+
return;
|
|
2122
|
+
}
|
|
2123
|
+
if (!this.root.highlightedNode) this.root.setHighlightedToFirstCandidate();
|
|
2124
|
+
}
|
|
2125
|
+
onclick(e) {
|
|
2126
|
+
e.currentTarget.focus();
|
|
2127
|
+
}
|
|
2128
|
+
onpointerdown(e) {
|
|
2129
|
+
if (this.root.opts.disabled.current) return;
|
|
2130
|
+
if (e.pointerType === "touch") return e.preventDefault();
|
|
2131
|
+
const target = e.target;
|
|
2132
|
+
if (target?.hasPointerCapture(e.pointerId)) target?.releasePointerCapture(e.pointerId);
|
|
2133
|
+
if (e.button === 0 && e.ctrlKey === false) if (this.root.opts.open.current === false) this.#handlePointerOpen(e);
|
|
2134
|
+
else this.root.handleClose();
|
|
2135
|
+
}
|
|
2136
|
+
onpointerup(e) {
|
|
2137
|
+
if (this.root.opts.disabled.current) return;
|
|
2138
|
+
e.preventDefault();
|
|
2139
|
+
if (e.pointerType === "touch") if (this.root.opts.open.current === false) this.#handlePointerOpen(e);
|
|
2140
|
+
else this.root.handleClose();
|
|
2141
|
+
}
|
|
2142
|
+
#props = derived(() => ({
|
|
2143
|
+
id: this.opts.id.current,
|
|
2144
|
+
disabled: this.root.opts.disabled.current ? true : void 0,
|
|
2145
|
+
"aria-haspopup": "listbox",
|
|
2146
|
+
"aria-expanded": boolToStr(this.root.opts.open.current),
|
|
2147
|
+
"aria-activedescendant": this.root.highlightedId,
|
|
2148
|
+
"data-state": getDataOpenClosed(this.root.opts.open.current),
|
|
2149
|
+
"data-disabled": boolToEmptyStrOrUndef(this.root.opts.disabled.current),
|
|
2150
|
+
"data-placeholder": this.root.hasValue ? void 0 : "",
|
|
2151
|
+
[this.root.getBitsAttr("trigger")]: "",
|
|
2152
|
+
onpointerdown: this.onpointerdown,
|
|
2153
|
+
onkeydown: this.onkeydown,
|
|
2154
|
+
onclick: this.onclick,
|
|
2155
|
+
onpointerup: this.onpointerup,
|
|
2156
|
+
...this.attachment
|
|
2157
|
+
}));
|
|
2158
|
+
get props() {
|
|
2159
|
+
return this.#props();
|
|
2160
|
+
}
|
|
2161
|
+
set props($$value) {
|
|
2162
|
+
return this.#props($$value);
|
|
2163
|
+
}
|
|
2164
|
+
};
|
|
2165
|
+
var SelectContentState = class SelectContentState {
|
|
2166
|
+
static create(opts) {
|
|
2167
|
+
return SelectContentContext.set(new SelectContentState(opts, SelectRootContext.get()));
|
|
2168
|
+
}
|
|
2169
|
+
opts;
|
|
2170
|
+
root;
|
|
2171
|
+
attachment;
|
|
2172
|
+
isPositioned = false;
|
|
2173
|
+
domContext;
|
|
2174
|
+
constructor(opts, root) {
|
|
2175
|
+
this.opts = opts;
|
|
2176
|
+
this.root = root;
|
|
2177
|
+
this.attachment = attachRef(opts.ref, (v) => this.root.contentNode = v);
|
|
2178
|
+
this.domContext = new DOMContext(this.opts.ref);
|
|
2179
|
+
if (this.root.domContext === null) this.root.domContext = this.domContext;
|
|
2180
|
+
watch(() => this.root.opts.open.current, () => {
|
|
2181
|
+
if (this.root.opts.open.current) return;
|
|
2182
|
+
this.root.contentIsPositioned = false;
|
|
2183
|
+
this.isPositioned = false;
|
|
2184
|
+
});
|
|
2185
|
+
watch([() => this.isPositioned, () => this.root.highlightedNode], () => {
|
|
2186
|
+
if (!this.isPositioned || !this.root.highlightedNode) return;
|
|
2187
|
+
this.root.scrollHighlightedNodeIntoView(this.root.highlightedNode);
|
|
2188
|
+
});
|
|
2189
|
+
this.onpointermove = this.onpointermove.bind(this);
|
|
2190
|
+
}
|
|
2191
|
+
onpointermove(_) {
|
|
2192
|
+
this.root.isUsingKeyboard = false;
|
|
2193
|
+
}
|
|
2194
|
+
#styles = derived(() => {
|
|
2195
|
+
return getFloatingContentCSSVars(this.root.isCombobox ? "combobox" : "select");
|
|
2196
|
+
});
|
|
2197
|
+
onInteractOutside = (e) => {
|
|
2198
|
+
if (e.target === this.root.triggerNode || e.target === this.root.inputNode) {
|
|
2199
|
+
e.preventDefault();
|
|
2200
|
+
return;
|
|
2201
|
+
}
|
|
2202
|
+
this.opts.onInteractOutside.current(e);
|
|
2203
|
+
if (e.defaultPrevented) return;
|
|
2204
|
+
this.root.handleClose();
|
|
2205
|
+
};
|
|
2206
|
+
onEscapeKeydown = (e) => {
|
|
2207
|
+
this.opts.onEscapeKeydown.current(e);
|
|
2208
|
+
if (e.defaultPrevented) return;
|
|
2209
|
+
this.root.handleClose();
|
|
2210
|
+
};
|
|
2211
|
+
onOpenAutoFocus = (e) => {
|
|
2212
|
+
e.preventDefault();
|
|
2213
|
+
};
|
|
2214
|
+
onCloseAutoFocus = (e) => {
|
|
2215
|
+
e.preventDefault();
|
|
2216
|
+
};
|
|
2217
|
+
get shouldRender() {
|
|
2218
|
+
return this.root.contentPresence.shouldRender;
|
|
2219
|
+
}
|
|
2220
|
+
#snippetProps = derived(() => ({ open: this.root.opts.open.current }));
|
|
2221
|
+
get snippetProps() {
|
|
2222
|
+
return this.#snippetProps();
|
|
2223
|
+
}
|
|
2224
|
+
set snippetProps($$value) {
|
|
2225
|
+
return this.#snippetProps($$value);
|
|
2226
|
+
}
|
|
2227
|
+
#props = derived(() => ({
|
|
2228
|
+
id: this.opts.id.current,
|
|
2229
|
+
role: "listbox",
|
|
2230
|
+
"aria-multiselectable": this.root.isMulti ? "true" : void 0,
|
|
2231
|
+
"data-state": getDataOpenClosed(this.root.opts.open.current),
|
|
2232
|
+
...getDataTransitionAttrs(this.root.contentPresence.transitionStatus),
|
|
2233
|
+
[this.root.getBitsAttr("content")]: "",
|
|
2234
|
+
style: {
|
|
2235
|
+
display: "flex",
|
|
2236
|
+
flexDirection: "column",
|
|
2237
|
+
outline: "none",
|
|
2238
|
+
boxSizing: "border-box",
|
|
2239
|
+
pointerEvents: "auto",
|
|
2240
|
+
...this.#styles()
|
|
2241
|
+
},
|
|
2242
|
+
onpointermove: this.onpointermove,
|
|
2243
|
+
...this.attachment
|
|
2244
|
+
}));
|
|
2245
|
+
get props() {
|
|
2246
|
+
return this.#props();
|
|
2247
|
+
}
|
|
2248
|
+
set props($$value) {
|
|
2249
|
+
return this.#props($$value);
|
|
2250
|
+
}
|
|
2251
|
+
popperProps = {
|
|
2252
|
+
onInteractOutside: this.onInteractOutside,
|
|
2253
|
+
onEscapeKeydown: this.onEscapeKeydown,
|
|
2254
|
+
onOpenAutoFocus: this.onOpenAutoFocus,
|
|
2255
|
+
onCloseAutoFocus: this.onCloseAutoFocus,
|
|
2256
|
+
trapFocus: false,
|
|
2257
|
+
loop: false,
|
|
2258
|
+
onPlaced: () => {
|
|
2259
|
+
if (this.root.opts.open.current) {
|
|
2260
|
+
this.root.contentIsPositioned = true;
|
|
2261
|
+
this.isPositioned = true;
|
|
2262
|
+
}
|
|
2263
|
+
}
|
|
2264
|
+
};
|
|
2265
|
+
};
|
|
2266
|
+
var SelectItemState = class SelectItemState {
|
|
2267
|
+
static create(opts) {
|
|
2268
|
+
return new SelectItemState(opts, SelectRootContext.get());
|
|
2269
|
+
}
|
|
2270
|
+
opts;
|
|
2271
|
+
root;
|
|
2272
|
+
attachment;
|
|
2273
|
+
#isSelected = derived(() => this.root.includesItem(this.opts.value.current));
|
|
2274
|
+
get isSelected() {
|
|
2275
|
+
return this.#isSelected();
|
|
2276
|
+
}
|
|
2277
|
+
set isSelected($$value) {
|
|
2278
|
+
return this.#isSelected($$value);
|
|
2279
|
+
}
|
|
2280
|
+
#isHighlighted = derived(() => this.root.highlightedValue === this.opts.value.current);
|
|
2281
|
+
get isHighlighted() {
|
|
2282
|
+
return this.#isHighlighted();
|
|
2283
|
+
}
|
|
2284
|
+
set isHighlighted($$value) {
|
|
2285
|
+
return this.#isHighlighted($$value);
|
|
2286
|
+
}
|
|
2287
|
+
prevHighlighted = new Previous(() => this.isHighlighted);
|
|
2288
|
+
mounted = false;
|
|
2289
|
+
constructor(opts, root) {
|
|
2290
|
+
this.opts = opts;
|
|
2291
|
+
this.root = root;
|
|
2292
|
+
this.attachment = attachRef(opts.ref);
|
|
2293
|
+
watch([() => this.isHighlighted, () => this.prevHighlighted.current], () => {
|
|
2294
|
+
if (this.isHighlighted) this.opts.onHighlight.current();
|
|
2295
|
+
else if (this.prevHighlighted.current) this.opts.onUnhighlight.current();
|
|
2296
|
+
});
|
|
2297
|
+
watch(() => this.mounted, () => {
|
|
2298
|
+
if (!this.mounted) return;
|
|
2299
|
+
this.root.setInitialHighlightedNode();
|
|
2300
|
+
});
|
|
2301
|
+
this.onpointerdown = this.onpointerdown.bind(this);
|
|
2302
|
+
this.onpointerup = this.onpointerup.bind(this);
|
|
2303
|
+
this.onpointermove = this.onpointermove.bind(this);
|
|
2304
|
+
}
|
|
2305
|
+
handleSelect() {
|
|
2306
|
+
if (this.opts.disabled.current) return;
|
|
2307
|
+
const isCurrentSelectedValue = this.opts.value.current === this.root.opts.value.current;
|
|
2308
|
+
if (!this.root.opts.allowDeselect.current && isCurrentSelectedValue && !this.root.isMulti) {
|
|
2309
|
+
this.root.handleClose();
|
|
2310
|
+
return;
|
|
2311
|
+
}
|
|
2312
|
+
this.root.toggleItem(this.opts.value.current, this.opts.label.current);
|
|
2313
|
+
if (!this.root.isMulti && !isCurrentSelectedValue) this.root.handleClose();
|
|
2314
|
+
}
|
|
2315
|
+
#snippetProps = derived(() => ({
|
|
2316
|
+
selected: this.isSelected,
|
|
2317
|
+
highlighted: this.isHighlighted
|
|
2318
|
+
}));
|
|
2319
|
+
get snippetProps() {
|
|
2320
|
+
return this.#snippetProps();
|
|
2321
|
+
}
|
|
2322
|
+
set snippetProps($$value) {
|
|
2323
|
+
return this.#snippetProps($$value);
|
|
2324
|
+
}
|
|
2325
|
+
onpointerdown(e) {
|
|
2326
|
+
e.preventDefault();
|
|
2327
|
+
}
|
|
2328
|
+
/**
|
|
2329
|
+
* Using `pointerup` instead of `click` allows power users to pointerdown
|
|
2330
|
+
* the trigger, then release pointerup on an item to select it vs having to do
|
|
2331
|
+
* multiple clicks.
|
|
2332
|
+
*/
|
|
2333
|
+
onpointerup(e) {
|
|
2334
|
+
if (e.defaultPrevented || !this.opts.ref.current) return;
|
|
2335
|
+
/**
|
|
2336
|
+
* For one reason or another, when it's a touch pointer and _not_ on IOS,
|
|
2337
|
+
* we need to listen for the immediate click event to handle the selection,
|
|
2338
|
+
* otherwise a click event will fire on the element _behind_ the item.
|
|
2339
|
+
*/
|
|
2340
|
+
if (e.pointerType === "touch" && !isIOS) {
|
|
2341
|
+
on(this.opts.ref.current, "click", () => {
|
|
2342
|
+
this.handleSelect();
|
|
2343
|
+
this.root.setHighlightedNode(this.opts.ref.current);
|
|
2344
|
+
}, { once: true });
|
|
2345
|
+
return;
|
|
2346
|
+
}
|
|
2347
|
+
e.preventDefault();
|
|
2348
|
+
this.handleSelect();
|
|
2349
|
+
if (e.pointerType === "touch") this.root.setHighlightedNode(this.opts.ref.current);
|
|
2350
|
+
}
|
|
2351
|
+
onpointermove(e) {
|
|
2352
|
+
/**
|
|
2353
|
+
* We don't want to highlight items on touch devices when scrolling,
|
|
2354
|
+
* as this is confusing behavior, so we return here and instead handle
|
|
2355
|
+
* the highlighting on the `pointerup` (or following `click`) event for
|
|
2356
|
+
* touch devices only.
|
|
2357
|
+
*/
|
|
2358
|
+
if (e.pointerType === "touch") return;
|
|
2359
|
+
if (this.root.highlightedNode !== this.opts.ref.current) this.root.setHighlightedNode(this.opts.ref.current);
|
|
2360
|
+
}
|
|
2361
|
+
#props = derived(() => ({
|
|
2362
|
+
id: this.opts.id.current,
|
|
2363
|
+
role: "option",
|
|
2364
|
+
"aria-selected": this.root.includesItem(this.opts.value.current) ? "true" : void 0,
|
|
2365
|
+
"data-value": this.opts.value.current,
|
|
2366
|
+
"data-disabled": boolToEmptyStrOrUndef(this.opts.disabled.current),
|
|
2367
|
+
"data-highlighted": this.root.highlightedValue === this.opts.value.current && !this.opts.disabled.current ? "" : void 0,
|
|
2368
|
+
"data-selected": this.root.includesItem(this.opts.value.current) ? "" : void 0,
|
|
2369
|
+
"data-label": this.opts.label.current,
|
|
2370
|
+
[this.root.getBitsAttr("item")]: "",
|
|
2371
|
+
onpointermove: this.onpointermove,
|
|
2372
|
+
onpointerdown: this.onpointerdown,
|
|
2373
|
+
onpointerup: this.onpointerup,
|
|
2374
|
+
...this.attachment
|
|
2375
|
+
}));
|
|
2376
|
+
get props() {
|
|
2377
|
+
return this.#props();
|
|
2378
|
+
}
|
|
2379
|
+
set props($$value) {
|
|
2380
|
+
return this.#props($$value);
|
|
2381
|
+
}
|
|
2382
|
+
};
|
|
2383
|
+
var SelectHiddenInputState = class SelectHiddenInputState {
|
|
2384
|
+
static create(opts) {
|
|
2385
|
+
return new SelectHiddenInputState(opts, SelectRootContext.get());
|
|
2386
|
+
}
|
|
2387
|
+
opts;
|
|
2388
|
+
root;
|
|
2389
|
+
#shouldRender = derived(() => this.root.opts.name.current !== "");
|
|
2390
|
+
get shouldRender() {
|
|
2391
|
+
return this.#shouldRender();
|
|
2392
|
+
}
|
|
2393
|
+
set shouldRender($$value) {
|
|
2394
|
+
return this.#shouldRender($$value);
|
|
2395
|
+
}
|
|
2396
|
+
constructor(opts, root) {
|
|
2397
|
+
this.opts = opts;
|
|
2398
|
+
this.root = root;
|
|
2399
|
+
this.onfocus = this.onfocus.bind(this);
|
|
2400
|
+
}
|
|
2401
|
+
onfocus(e) {
|
|
2402
|
+
e.preventDefault();
|
|
2403
|
+
if (!this.root.isCombobox) this.root.triggerNode?.focus();
|
|
2404
|
+
else this.root.inputNode?.focus();
|
|
2405
|
+
}
|
|
2406
|
+
#props = derived(() => ({
|
|
2407
|
+
disabled: boolToTrueOrUndef(this.root.opts.disabled.current),
|
|
2408
|
+
required: boolToTrueOrUndef(this.root.opts.required.current),
|
|
2409
|
+
name: this.root.opts.name.current,
|
|
2410
|
+
value: this.opts.value.current,
|
|
2411
|
+
onfocus: this.onfocus
|
|
2412
|
+
}));
|
|
2413
|
+
get props() {
|
|
2414
|
+
return this.#props();
|
|
2415
|
+
}
|
|
2416
|
+
set props($$value) {
|
|
2417
|
+
return this.#props($$value);
|
|
2418
|
+
}
|
|
2419
|
+
};
|
|
2420
|
+
var SelectViewportState = class SelectViewportState {
|
|
2421
|
+
static create(opts) {
|
|
2422
|
+
return new SelectViewportState(opts, SelectContentContext.get());
|
|
2423
|
+
}
|
|
2424
|
+
opts;
|
|
2425
|
+
content;
|
|
2426
|
+
root;
|
|
2427
|
+
attachment;
|
|
2428
|
+
prevScrollTop = 0;
|
|
2429
|
+
constructor(opts, content) {
|
|
2430
|
+
this.opts = opts;
|
|
2431
|
+
this.content = content;
|
|
2432
|
+
this.root = content.root;
|
|
2433
|
+
this.attachment = attachRef(opts.ref, (v) => {
|
|
2434
|
+
this.root.viewportNode = v;
|
|
2435
|
+
});
|
|
2436
|
+
}
|
|
2437
|
+
#props = derived(() => ({
|
|
2438
|
+
id: this.opts.id.current,
|
|
2439
|
+
role: "presentation",
|
|
2440
|
+
[this.root.getBitsAttr("viewport")]: "",
|
|
2441
|
+
style: {
|
|
2442
|
+
position: "relative",
|
|
2443
|
+
flex: 1,
|
|
2444
|
+
overflow: "auto"
|
|
2445
|
+
},
|
|
2446
|
+
...this.attachment
|
|
2447
|
+
}));
|
|
2448
|
+
get props() {
|
|
2449
|
+
return this.#props();
|
|
2450
|
+
}
|
|
2451
|
+
set props($$value) {
|
|
2452
|
+
return this.#props($$value);
|
|
2453
|
+
}
|
|
2454
|
+
};
|
|
2455
|
+
var SelectScrollButtonImplState = class {
|
|
2456
|
+
opts;
|
|
2457
|
+
content;
|
|
2458
|
+
root;
|
|
2459
|
+
attachment;
|
|
2460
|
+
autoScrollTimer = null;
|
|
2461
|
+
userScrollTimer = -1;
|
|
2462
|
+
isUserScrolling = false;
|
|
2463
|
+
onAutoScroll = noop;
|
|
2464
|
+
mounted = false;
|
|
2465
|
+
constructor(opts, content) {
|
|
2466
|
+
this.opts = opts;
|
|
2467
|
+
this.content = content;
|
|
2468
|
+
this.root = content.root;
|
|
2469
|
+
this.attachment = attachRef(opts.ref);
|
|
2470
|
+
watch([() => this.mounted], () => {
|
|
2471
|
+
if (!this.mounted) {
|
|
2472
|
+
this.isUserScrolling = false;
|
|
2473
|
+
return;
|
|
2474
|
+
}
|
|
2475
|
+
if (this.isUserScrolling) return;
|
|
2476
|
+
});
|
|
2477
|
+
this.onpointerdown = this.onpointerdown.bind(this);
|
|
2478
|
+
this.onpointermove = this.onpointermove.bind(this);
|
|
2479
|
+
this.onpointerleave = this.onpointerleave.bind(this);
|
|
2480
|
+
}
|
|
2481
|
+
handleUserScroll() {
|
|
2482
|
+
this.content.domContext.clearTimeout(this.userScrollTimer);
|
|
2483
|
+
this.isUserScrolling = true;
|
|
2484
|
+
this.userScrollTimer = this.content.domContext.setTimeout(() => {
|
|
2485
|
+
this.isUserScrolling = false;
|
|
2486
|
+
}, 200);
|
|
2487
|
+
}
|
|
2488
|
+
clearAutoScrollInterval() {
|
|
2489
|
+
if (this.autoScrollTimer === null) return;
|
|
2490
|
+
this.content.domContext.clearTimeout(this.autoScrollTimer);
|
|
2491
|
+
this.autoScrollTimer = null;
|
|
2492
|
+
}
|
|
2493
|
+
onpointerdown(_) {
|
|
2494
|
+
if (this.autoScrollTimer !== null) return;
|
|
2495
|
+
const autoScroll = (tick) => {
|
|
2496
|
+
this.onAutoScroll();
|
|
2497
|
+
this.autoScrollTimer = this.content.domContext.setTimeout(() => autoScroll(tick + 1), this.opts.delay.current(tick));
|
|
2498
|
+
};
|
|
2499
|
+
this.autoScrollTimer = this.content.domContext.setTimeout(() => autoScroll(1), this.opts.delay.current(0));
|
|
2500
|
+
}
|
|
2501
|
+
onpointermove(e) {
|
|
2502
|
+
this.onpointerdown(e);
|
|
2503
|
+
}
|
|
2504
|
+
onpointerleave(_) {
|
|
2505
|
+
this.clearAutoScrollInterval();
|
|
2506
|
+
}
|
|
2507
|
+
#props = derived(() => ({
|
|
2508
|
+
id: this.opts.id.current,
|
|
2509
|
+
"aria-hidden": boolToStrTrueOrUndef(true),
|
|
2510
|
+
style: { flexShrink: 0 },
|
|
2511
|
+
onpointerdown: this.onpointerdown,
|
|
2512
|
+
onpointermove: this.onpointermove,
|
|
2513
|
+
onpointerleave: this.onpointerleave,
|
|
2514
|
+
...this.attachment
|
|
2515
|
+
}));
|
|
2516
|
+
get props() {
|
|
2517
|
+
return this.#props();
|
|
2518
|
+
}
|
|
2519
|
+
set props($$value) {
|
|
2520
|
+
return this.#props($$value);
|
|
2521
|
+
}
|
|
2522
|
+
};
|
|
2523
|
+
var SelectScrollDownButtonState = class SelectScrollDownButtonState {
|
|
2524
|
+
static create(opts) {
|
|
2525
|
+
return new SelectScrollDownButtonState(new SelectScrollButtonImplState(opts, SelectContentContext.get()));
|
|
2526
|
+
}
|
|
2527
|
+
scrollButtonState;
|
|
2528
|
+
content;
|
|
2529
|
+
root;
|
|
2530
|
+
canScrollDown = false;
|
|
2531
|
+
scrollIntoViewTimer = null;
|
|
2532
|
+
constructor(scrollButtonState) {
|
|
2533
|
+
this.scrollButtonState = scrollButtonState;
|
|
2534
|
+
this.content = scrollButtonState.content;
|
|
2535
|
+
this.root = scrollButtonState.root;
|
|
2536
|
+
this.scrollButtonState.onAutoScroll = this.handleAutoScroll;
|
|
2537
|
+
watch([() => this.root.viewportNode, () => this.content.isPositioned], () => {
|
|
2538
|
+
if (!this.root.viewportNode || !this.content.isPositioned) return;
|
|
2539
|
+
this.handleScroll(true);
|
|
2540
|
+
return on(this.root.viewportNode, "scroll", () => this.handleScroll());
|
|
2541
|
+
});
|
|
2542
|
+
/**
|
|
2543
|
+
* If the input value changes, this means that the filtered items may have changed,
|
|
2544
|
+
* so we need to re-evaluate the scroll-ability of the list.
|
|
2545
|
+
*/
|
|
2546
|
+
watch([
|
|
2547
|
+
() => this.root.opts.inputValue.current,
|
|
2548
|
+
() => this.root.viewportNode,
|
|
2549
|
+
() => this.content.isPositioned
|
|
2550
|
+
], () => {
|
|
2551
|
+
if (!this.root.viewportNode || !this.content.isPositioned) return;
|
|
2552
|
+
this.handleScroll(true);
|
|
2553
|
+
});
|
|
2554
|
+
watch(() => this.scrollButtonState.mounted, () => {
|
|
2555
|
+
if (!this.scrollButtonState.mounted) return;
|
|
2556
|
+
if (this.scrollIntoViewTimer) clearTimeout(this.scrollIntoViewTimer);
|
|
2557
|
+
this.scrollIntoViewTimer = afterSleep(5, () => {
|
|
2558
|
+
const activeItem = this.root.highlightedNode;
|
|
2559
|
+
if (!activeItem) return;
|
|
2560
|
+
this.root.scrollHighlightedNodeIntoView(activeItem);
|
|
2561
|
+
});
|
|
2562
|
+
});
|
|
2563
|
+
}
|
|
2564
|
+
/**
|
|
2565
|
+
* @param manual - if true, it means the function was invoked manually outside of an event
|
|
2566
|
+
* listener, so we don't call `handleUserScroll` to prevent the auto scroll from kicking in.
|
|
2567
|
+
*/
|
|
2568
|
+
handleScroll = (manual = false) => {
|
|
2569
|
+
if (!manual) this.scrollButtonState.handleUserScroll();
|
|
2570
|
+
if (!this.root.viewportNode) return;
|
|
2571
|
+
const maxScroll = this.root.viewportNode.scrollHeight - this.root.viewportNode.clientHeight;
|
|
2572
|
+
const paddingTop = Number.parseInt(getComputedStyle(this.root.viewportNode).paddingTop, 10);
|
|
2573
|
+
this.canScrollDown = Math.ceil(this.root.viewportNode.scrollTop) < maxScroll - paddingTop;
|
|
2574
|
+
};
|
|
2575
|
+
handleAutoScroll = () => {
|
|
2576
|
+
const viewport = this.root.viewportNode;
|
|
2577
|
+
const selectedItem = this.root.highlightedNode;
|
|
2578
|
+
if (!viewport || !selectedItem) return;
|
|
2579
|
+
viewport.scrollTop = viewport.scrollTop + selectedItem.offsetHeight;
|
|
2580
|
+
};
|
|
2581
|
+
#props = derived(() => ({
|
|
2582
|
+
...this.scrollButtonState.props,
|
|
2583
|
+
[this.root.getBitsAttr("scroll-down-button")]: ""
|
|
2584
|
+
}));
|
|
2585
|
+
get props() {
|
|
2586
|
+
return this.#props();
|
|
2587
|
+
}
|
|
2588
|
+
set props($$value) {
|
|
2589
|
+
return this.#props($$value);
|
|
2590
|
+
}
|
|
2591
|
+
};
|
|
2592
|
+
var SelectScrollUpButtonState = class SelectScrollUpButtonState {
|
|
2593
|
+
static create(opts) {
|
|
2594
|
+
return new SelectScrollUpButtonState(new SelectScrollButtonImplState(opts, SelectContentContext.get()));
|
|
2595
|
+
}
|
|
2596
|
+
scrollButtonState;
|
|
2597
|
+
content;
|
|
2598
|
+
root;
|
|
2599
|
+
canScrollUp = false;
|
|
2600
|
+
constructor(scrollButtonState) {
|
|
2601
|
+
this.scrollButtonState = scrollButtonState;
|
|
2602
|
+
this.content = scrollButtonState.content;
|
|
2603
|
+
this.root = scrollButtonState.root;
|
|
2604
|
+
this.scrollButtonState.onAutoScroll = this.handleAutoScroll;
|
|
2605
|
+
watch([() => this.root.viewportNode, () => this.content.isPositioned], () => {
|
|
2606
|
+
if (!this.root.viewportNode || !this.content.isPositioned) return;
|
|
2607
|
+
this.handleScroll(true);
|
|
2608
|
+
return on(this.root.viewportNode, "scroll", () => this.handleScroll());
|
|
2609
|
+
});
|
|
2610
|
+
}
|
|
2611
|
+
/**
|
|
2612
|
+
* @param manual - if true, it means the function was invoked manually outside of an event
|
|
2613
|
+
* listener, so we don't call `handleUserScroll` to prevent the auto scroll from kicking in.
|
|
2614
|
+
*/
|
|
2615
|
+
handleScroll = (manual = false) => {
|
|
2616
|
+
if (!manual) this.scrollButtonState.handleUserScroll();
|
|
2617
|
+
if (!this.root.viewportNode) return;
|
|
2618
|
+
const paddingTop = Number.parseInt(getComputedStyle(this.root.viewportNode).paddingTop, 10);
|
|
2619
|
+
this.canScrollUp = this.root.viewportNode.scrollTop - paddingTop > .1;
|
|
2620
|
+
};
|
|
2621
|
+
handleAutoScroll = () => {
|
|
2622
|
+
if (!this.root.viewportNode || !this.root.highlightedNode) return;
|
|
2623
|
+
this.root.viewportNode.scrollTop = this.root.viewportNode.scrollTop - this.root.highlightedNode.offsetHeight;
|
|
2624
|
+
};
|
|
2625
|
+
#props = derived(() => ({
|
|
2626
|
+
...this.scrollButtonState.props,
|
|
2627
|
+
[this.root.getBitsAttr("scroll-up-button")]: ""
|
|
2628
|
+
}));
|
|
2629
|
+
get props() {
|
|
2630
|
+
return this.#props();
|
|
2631
|
+
}
|
|
2632
|
+
set props($$value) {
|
|
2633
|
+
return this.#props($$value);
|
|
2634
|
+
}
|
|
2635
|
+
};
|
|
2636
|
+
//#endregion
|
|
2637
|
+
//#region ../../node_modules/.pnpm/bits-ui@2.18.1_@internationalized+date@3.12.3_@sveltejs+kit@2.70.2_@opentelemetry+api@1_928e570f1afd842a71a2bdb10737e411/node_modules/bits-ui/dist/bits/select/components/select-hidden-input.svelte
|
|
2638
|
+
function Select_hidden_input($$renderer, $$props) {
|
|
2639
|
+
$$renderer.component(($$renderer) => {
|
|
2640
|
+
let { value = void 0, autocomplete } = $$props;
|
|
2641
|
+
const hiddenInputState = SelectHiddenInputState.create({ value: boxWith(() => value) });
|
|
2642
|
+
let $$settled = true;
|
|
2643
|
+
let $$inner_renderer;
|
|
2644
|
+
function $$render_inner($$renderer) {
|
|
2645
|
+
if (hiddenInputState.shouldRender) {
|
|
2646
|
+
$$renderer.push("<!--[0-->");
|
|
2647
|
+
Hidden_input($$renderer, spread_props([hiddenInputState.props, {
|
|
2648
|
+
autocomplete,
|
|
2649
|
+
get value() {
|
|
2650
|
+
return value;
|
|
2651
|
+
},
|
|
2652
|
+
set value($$value) {
|
|
2653
|
+
value = $$value;
|
|
2654
|
+
$$settled = false;
|
|
2655
|
+
}
|
|
2656
|
+
}]));
|
|
2657
|
+
} else $$renderer.push("<!--[-1-->");
|
|
2658
|
+
$$renderer.push(`<!--]-->`);
|
|
2659
|
+
}
|
|
2660
|
+
do {
|
|
2661
|
+
$$settled = true;
|
|
2662
|
+
$$inner_renderer = $$renderer.copy();
|
|
2663
|
+
$$render_inner($$inner_renderer);
|
|
2664
|
+
} while (!$$settled);
|
|
2665
|
+
$$renderer.subsume($$inner_renderer);
|
|
2666
|
+
bind_props($$props, { value });
|
|
2667
|
+
});
|
|
2668
|
+
}
|
|
2669
|
+
//#endregion
|
|
2670
|
+
//#region ../../node_modules/.pnpm/bits-ui@2.18.1_@internationalized+date@3.12.3_@sveltejs+kit@2.70.2_@opentelemetry+api@1_928e570f1afd842a71a2bdb10737e411/node_modules/bits-ui/dist/bits/utilities/floating-layer/components/floating-layer-anchor.svelte
|
|
2671
|
+
function Floating_layer_anchor($$renderer, $$props) {
|
|
2672
|
+
$$renderer.component(($$renderer) => {
|
|
2673
|
+
let { id, children, virtualEl, ref, tooltip = false } = $$props;
|
|
2674
|
+
FloatingAnchorState.create({
|
|
2675
|
+
id: boxWith(() => id),
|
|
2676
|
+
virtualEl: boxWith(() => virtualEl),
|
|
2677
|
+
ref
|
|
2678
|
+
}, tooltip);
|
|
2679
|
+
children?.($$renderer);
|
|
2680
|
+
$$renderer.push(`<!---->`);
|
|
2681
|
+
});
|
|
2682
|
+
}
|
|
2683
|
+
//#endregion
|
|
2684
|
+
//#region ../../node_modules/.pnpm/bits-ui@2.18.1_@internationalized+date@3.12.3_@sveltejs+kit@2.70.2_@opentelemetry+api@1_928e570f1afd842a71a2bdb10737e411/node_modules/bits-ui/dist/bits/utilities/floating-layer/components/floating-layer-content.svelte
|
|
2685
|
+
function Floating_layer_content($$renderer, $$props) {
|
|
2686
|
+
$$renderer.component(($$renderer) => {
|
|
2687
|
+
let { content, side = "bottom", sideOffset = 0, align = "center", alignOffset = 0, id, arrowPadding = 0, avoidCollisions = true, collisionBoundary = [], collisionPadding = 0, hideWhenDetached = false, onPlaced = () => {}, sticky = "partial", updatePositionStrategy = "optimized", strategy = "fixed", dir = "ltr", style = {}, wrapperId = useId(), customAnchor = null, enabled, tooltip = false } = $$props;
|
|
2688
|
+
const contentState = FloatingContentState.create({
|
|
2689
|
+
side: boxWith(() => side),
|
|
2690
|
+
sideOffset: boxWith(() => sideOffset),
|
|
2691
|
+
align: boxWith(() => align),
|
|
2692
|
+
alignOffset: boxWith(() => alignOffset),
|
|
2693
|
+
id: boxWith(() => id),
|
|
2694
|
+
arrowPadding: boxWith(() => arrowPadding),
|
|
2695
|
+
avoidCollisions: boxWith(() => avoidCollisions),
|
|
2696
|
+
collisionBoundary: boxWith(() => collisionBoundary),
|
|
2697
|
+
collisionPadding: boxWith(() => collisionPadding),
|
|
2698
|
+
hideWhenDetached: boxWith(() => hideWhenDetached),
|
|
2699
|
+
onPlaced: boxWith(() => onPlaced),
|
|
2700
|
+
sticky: boxWith(() => sticky),
|
|
2701
|
+
updatePositionStrategy: boxWith(() => updatePositionStrategy),
|
|
2702
|
+
strategy: boxWith(() => strategy),
|
|
2703
|
+
dir: boxWith(() => dir),
|
|
2704
|
+
style: boxWith(() => style),
|
|
2705
|
+
enabled: boxWith(() => enabled),
|
|
2706
|
+
wrapperId: boxWith(() => wrapperId),
|
|
2707
|
+
customAnchor: boxWith(() => customAnchor)
|
|
2708
|
+
}, tooltip);
|
|
2709
|
+
const mergedProps = derived(() => mergeProps(contentState.wrapperProps, { style: { pointerEvents: "auto" } }));
|
|
2710
|
+
content?.($$renderer, {
|
|
2711
|
+
props: contentState.props,
|
|
2712
|
+
wrapperProps: mergedProps()
|
|
2713
|
+
});
|
|
2714
|
+
$$renderer.push(`<!---->`);
|
|
2715
|
+
});
|
|
2716
|
+
}
|
|
2717
|
+
//#endregion
|
|
2718
|
+
//#region ../../node_modules/.pnpm/bits-ui@2.18.1_@internationalized+date@3.12.3_@sveltejs+kit@2.70.2_@opentelemetry+api@1_928e570f1afd842a71a2bdb10737e411/node_modules/bits-ui/dist/bits/utilities/floating-layer/components/floating-layer-content-static.svelte
|
|
2719
|
+
function Floating_layer_content_static($$renderer, $$props) {
|
|
2720
|
+
$$renderer.component(($$renderer) => {
|
|
2721
|
+
let { content} = $$props;
|
|
2722
|
+
content?.($$renderer, {
|
|
2723
|
+
props: {},
|
|
2724
|
+
wrapperProps: {}
|
|
2725
|
+
});
|
|
2726
|
+
$$renderer.push(`<!---->`);
|
|
2727
|
+
});
|
|
2728
|
+
}
|
|
2729
|
+
//#endregion
|
|
2730
|
+
//#region ../../node_modules/.pnpm/bits-ui@2.18.1_@internationalized+date@3.12.3_@sveltejs+kit@2.70.2_@opentelemetry+api@1_928e570f1afd842a71a2bdb10737e411/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-content.svelte
|
|
2731
|
+
function Popper_content($$renderer, $$props) {
|
|
2732
|
+
let { content, isStatic = false, onPlaced, $$slots, $$events, ...restProps } = $$props;
|
|
2733
|
+
if (isStatic) {
|
|
2734
|
+
$$renderer.push("<!--[0-->");
|
|
2735
|
+
Floating_layer_content_static($$renderer, {
|
|
2736
|
+
content});
|
|
2737
|
+
} else {
|
|
2738
|
+
$$renderer.push("<!--[-1-->");
|
|
2739
|
+
Floating_layer_content($$renderer, spread_props([{
|
|
2740
|
+
content,
|
|
2741
|
+
onPlaced
|
|
2742
|
+
}, restProps]));
|
|
2743
|
+
}
|
|
2744
|
+
$$renderer.push(`<!--]-->`);
|
|
2745
|
+
}
|
|
2746
|
+
//#endregion
|
|
2747
|
+
//#region ../../node_modules/.pnpm/bits-ui@2.18.1_@internationalized+date@3.12.3_@sveltejs+kit@2.70.2_@opentelemetry+api@1_928e570f1afd842a71a2bdb10737e411/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer-inner.svelte
|
|
2748
|
+
function Popper_layer_inner($$renderer, $$props) {
|
|
2749
|
+
$$renderer.component(($$renderer) => {
|
|
2750
|
+
let { popper, onEscapeKeydown, escapeKeydownBehavior, preventOverflowTextSelection, id, onPointerDown, onPointerUp, side, sideOffset, align, alignOffset, arrowPadding, avoidCollisions, collisionBoundary, collisionPadding, sticky, hideWhenDetached, updatePositionStrategy, strategy, dir, preventScroll, wrapperId, style, onPlaced, onInteractOutside, onCloseAutoFocus, onOpenAutoFocus, onFocusOutside, interactOutsideBehavior = "close", loop, trapFocus = true, isValidEvent = () => false, customAnchor = null, isStatic = false, enabled, ref, tooltip = false, contentPointerEvents = "auto", $$slots, $$events, ...restProps } = $$props;
|
|
2751
|
+
const resolvedPreventScroll = derived(() => preventScroll ?? true);
|
|
2752
|
+
const effectiveStrategy = derived(() => strategy ?? (resolvedPreventScroll() ? "fixed" : "absolute"));
|
|
2753
|
+
{
|
|
2754
|
+
function content($$renderer, { props: floatingProps, wrapperProps }) {
|
|
2755
|
+
if (restProps.forceMount && enabled) {
|
|
2756
|
+
$$renderer.push("<!--[0-->");
|
|
2757
|
+
Scroll_lock($$renderer, { preventScroll: resolvedPreventScroll() });
|
|
2758
|
+
} else if (!restProps.forceMount) {
|
|
2759
|
+
$$renderer.push("<!--[1-->");
|
|
2760
|
+
Scroll_lock($$renderer, { preventScroll: resolvedPreventScroll() });
|
|
2761
|
+
} else $$renderer.push("<!--[-1-->");
|
|
2762
|
+
$$renderer.push(`<!--]--> `);
|
|
2763
|
+
{
|
|
2764
|
+
function focusScope($$renderer, { props: focusScopeProps }) {
|
|
2765
|
+
Escape_layer($$renderer, {
|
|
2766
|
+
onEscapeKeydown,
|
|
2767
|
+
escapeKeydownBehavior,
|
|
2768
|
+
enabled,
|
|
2769
|
+
ref,
|
|
2770
|
+
children: ($$renderer) => {
|
|
2771
|
+
{
|
|
2772
|
+
function children($$renderer, { props: dismissibleProps }) {
|
|
2773
|
+
Text_selection_layer($$renderer, {
|
|
2774
|
+
id,
|
|
2775
|
+
preventOverflowTextSelection,
|
|
2776
|
+
onPointerDown,
|
|
2777
|
+
onPointerUp,
|
|
2778
|
+
enabled,
|
|
2779
|
+
ref,
|
|
2780
|
+
children: ($$renderer) => {
|
|
2781
|
+
popper?.($$renderer, {
|
|
2782
|
+
props: mergeProps(restProps, floatingProps, dismissibleProps, focusScopeProps, { style: { pointerEvents: contentPointerEvents } }),
|
|
2783
|
+
wrapperProps
|
|
2784
|
+
});
|
|
2785
|
+
$$renderer.push(`<!---->`);
|
|
2786
|
+
}});
|
|
2787
|
+
}
|
|
2788
|
+
Dismissible_layer($$renderer, {
|
|
2789
|
+
id,
|
|
2790
|
+
onInteractOutside,
|
|
2791
|
+
onFocusOutside,
|
|
2792
|
+
interactOutsideBehavior,
|
|
2793
|
+
isValidEvent,
|
|
2794
|
+
enabled,
|
|
2795
|
+
ref,
|
|
2796
|
+
children});
|
|
2797
|
+
}
|
|
2798
|
+
}});
|
|
2799
|
+
}
|
|
2800
|
+
Focus_scope($$renderer, {
|
|
2801
|
+
onOpenAutoFocus,
|
|
2802
|
+
onCloseAutoFocus,
|
|
2803
|
+
loop,
|
|
2804
|
+
enabled,
|
|
2805
|
+
trapFocus,
|
|
2806
|
+
forceMount: restProps.forceMount,
|
|
2807
|
+
ref,
|
|
2808
|
+
focusScope});
|
|
2809
|
+
}
|
|
2810
|
+
$$renderer.push(`<!---->`);
|
|
2811
|
+
}
|
|
2812
|
+
Popper_content($$renderer, {
|
|
2813
|
+
isStatic,
|
|
2814
|
+
id,
|
|
2815
|
+
side,
|
|
2816
|
+
sideOffset,
|
|
2817
|
+
align,
|
|
2818
|
+
alignOffset,
|
|
2819
|
+
arrowPadding,
|
|
2820
|
+
avoidCollisions,
|
|
2821
|
+
collisionBoundary,
|
|
2822
|
+
collisionPadding,
|
|
2823
|
+
sticky,
|
|
2824
|
+
hideWhenDetached,
|
|
2825
|
+
updatePositionStrategy,
|
|
2826
|
+
strategy: effectiveStrategy(),
|
|
2827
|
+
dir,
|
|
2828
|
+
wrapperId,
|
|
2829
|
+
style,
|
|
2830
|
+
onPlaced,
|
|
2831
|
+
customAnchor,
|
|
2832
|
+
enabled,
|
|
2833
|
+
tooltip,
|
|
2834
|
+
content,
|
|
2835
|
+
$$slots: { content: true }
|
|
2836
|
+
});
|
|
2837
|
+
}
|
|
2838
|
+
});
|
|
2839
|
+
}
|
|
2840
|
+
//#endregion
|
|
2841
|
+
//#region ../../node_modules/.pnpm/bits-ui@2.18.1_@internationalized+date@3.12.3_@sveltejs+kit@2.70.2_@opentelemetry+api@1_928e570f1afd842a71a2bdb10737e411/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer.svelte
|
|
2842
|
+
function Popper_layer($$renderer, $$props) {
|
|
2843
|
+
let { popper, open, onEscapeKeydown, escapeKeydownBehavior, preventOverflowTextSelection, id, onPointerDown, onPointerUp, side, sideOffset, align, alignOffset, arrowPadding, avoidCollisions, collisionBoundary, collisionPadding, sticky, hideWhenDetached, updatePositionStrategy, strategy, dir, preventScroll, wrapperId, style, onPlaced, onInteractOutside, onCloseAutoFocus, onOpenAutoFocus, onFocusOutside, interactOutsideBehavior = "close", loop, trapFocus = true, isValidEvent = () => false, customAnchor = null, isStatic = false, ref, shouldRender, $$slots, $$events, ...restProps } = $$props;
|
|
2844
|
+
if (shouldRender) {
|
|
2845
|
+
$$renderer.push("<!--[0-->");
|
|
2846
|
+
Popper_layer_inner($$renderer, spread_props([{
|
|
2847
|
+
popper,
|
|
2848
|
+
onEscapeKeydown,
|
|
2849
|
+
escapeKeydownBehavior,
|
|
2850
|
+
preventOverflowTextSelection,
|
|
2851
|
+
id,
|
|
2852
|
+
onPointerDown,
|
|
2853
|
+
onPointerUp,
|
|
2854
|
+
side,
|
|
2855
|
+
sideOffset,
|
|
2856
|
+
align,
|
|
2857
|
+
alignOffset,
|
|
2858
|
+
arrowPadding,
|
|
2859
|
+
avoidCollisions,
|
|
2860
|
+
collisionBoundary,
|
|
2861
|
+
collisionPadding,
|
|
2862
|
+
sticky,
|
|
2863
|
+
hideWhenDetached,
|
|
2864
|
+
updatePositionStrategy,
|
|
2865
|
+
strategy,
|
|
2866
|
+
dir,
|
|
2867
|
+
preventScroll,
|
|
2868
|
+
wrapperId,
|
|
2869
|
+
style,
|
|
2870
|
+
onPlaced,
|
|
2871
|
+
customAnchor,
|
|
2872
|
+
isStatic,
|
|
2873
|
+
enabled: open,
|
|
2874
|
+
onInteractOutside,
|
|
2875
|
+
onCloseAutoFocus,
|
|
2876
|
+
onOpenAutoFocus,
|
|
2877
|
+
interactOutsideBehavior,
|
|
2878
|
+
loop,
|
|
2879
|
+
trapFocus,
|
|
2880
|
+
isValidEvent,
|
|
2881
|
+
onFocusOutside,
|
|
2882
|
+
forceMount: false,
|
|
2883
|
+
ref
|
|
2884
|
+
}, restProps]));
|
|
2885
|
+
} else $$renderer.push("<!--[-1-->");
|
|
2886
|
+
$$renderer.push(`<!--]-->`);
|
|
2887
|
+
}
|
|
2888
|
+
//#endregion
|
|
2889
|
+
//#region ../../node_modules/.pnpm/bits-ui@2.18.1_@internationalized+date@3.12.3_@sveltejs+kit@2.70.2_@opentelemetry+api@1_928e570f1afd842a71a2bdb10737e411/node_modules/bits-ui/dist/bits/utilities/popper-layer/popper-layer-force-mount.svelte
|
|
2890
|
+
function Popper_layer_force_mount($$renderer, $$props) {
|
|
2891
|
+
let { popper, onEscapeKeydown, escapeKeydownBehavior, preventOverflowTextSelection, id, onPointerDown, onPointerUp, side, sideOffset, align, alignOffset, arrowPadding, avoidCollisions, collisionBoundary, collisionPadding, sticky, hideWhenDetached, updatePositionStrategy, strategy, dir, preventScroll, wrapperId, style, onPlaced, onInteractOutside, onCloseAutoFocus, onOpenAutoFocus, onFocusOutside, interactOutsideBehavior = "close", loop, trapFocus = true, isValidEvent = () => false, customAnchor = null, isStatic = false, enabled, $$slots, $$events, ...restProps } = $$props;
|
|
2892
|
+
Popper_layer_inner($$renderer, spread_props([
|
|
2893
|
+
{
|
|
2894
|
+
popper,
|
|
2895
|
+
onEscapeKeydown,
|
|
2896
|
+
escapeKeydownBehavior,
|
|
2897
|
+
preventOverflowTextSelection,
|
|
2898
|
+
id,
|
|
2899
|
+
onPointerDown,
|
|
2900
|
+
onPointerUp,
|
|
2901
|
+
side,
|
|
2902
|
+
sideOffset,
|
|
2903
|
+
align,
|
|
2904
|
+
alignOffset,
|
|
2905
|
+
arrowPadding,
|
|
2906
|
+
avoidCollisions,
|
|
2907
|
+
collisionBoundary,
|
|
2908
|
+
collisionPadding,
|
|
2909
|
+
sticky,
|
|
2910
|
+
hideWhenDetached,
|
|
2911
|
+
updatePositionStrategy,
|
|
2912
|
+
strategy,
|
|
2913
|
+
dir,
|
|
2914
|
+
preventScroll,
|
|
2915
|
+
wrapperId,
|
|
2916
|
+
style,
|
|
2917
|
+
onPlaced,
|
|
2918
|
+
customAnchor,
|
|
2919
|
+
isStatic,
|
|
2920
|
+
enabled,
|
|
2921
|
+
onInteractOutside,
|
|
2922
|
+
onCloseAutoFocus,
|
|
2923
|
+
onOpenAutoFocus,
|
|
2924
|
+
interactOutsideBehavior,
|
|
2925
|
+
loop,
|
|
2926
|
+
trapFocus,
|
|
2927
|
+
isValidEvent,
|
|
2928
|
+
onFocusOutside
|
|
2929
|
+
},
|
|
2930
|
+
restProps,
|
|
2931
|
+
{ forceMount: true }
|
|
2932
|
+
]));
|
|
2933
|
+
}
|
|
2934
|
+
//#endregion
|
|
2935
|
+
//#region ../../node_modules/.pnpm/bits-ui@2.18.1_@internationalized+date@3.12.3_@sveltejs+kit@2.70.2_@opentelemetry+api@1_928e570f1afd842a71a2bdb10737e411/node_modules/bits-ui/dist/bits/select/components/select-content.svelte
|
|
2936
|
+
function Select_content$1($$renderer, $$props) {
|
|
2937
|
+
$$renderer.component(($$renderer) => {
|
|
2938
|
+
const uid = props_id($$renderer);
|
|
2939
|
+
let { id = createId(uid), ref = null, forceMount = false, side = "bottom", onInteractOutside = noop, onEscapeKeydown = noop, children, child, preventScroll = false, style, $$slots, $$events, ...restProps } = $$props;
|
|
2940
|
+
const contentState = SelectContentState.create({
|
|
2941
|
+
id: boxWith(() => id),
|
|
2942
|
+
ref: boxWith(() => ref, (v) => ref = v),
|
|
2943
|
+
onInteractOutside: boxWith(() => onInteractOutside),
|
|
2944
|
+
onEscapeKeydown: boxWith(() => onEscapeKeydown)
|
|
2945
|
+
});
|
|
2946
|
+
const mergedProps = derived(() => mergeProps(restProps, contentState.props));
|
|
2947
|
+
if (forceMount) {
|
|
2948
|
+
$$renderer.push("<!--[0-->");
|
|
2949
|
+
{
|
|
2950
|
+
function popper($$renderer, { props, wrapperProps }) {
|
|
2951
|
+
const finalProps = mergeProps(props, { style: contentState.props.style }, { style });
|
|
2952
|
+
if (child) {
|
|
2953
|
+
$$renderer.push("<!--[0-->");
|
|
2954
|
+
child($$renderer, {
|
|
2955
|
+
props: finalProps,
|
|
2956
|
+
wrapperProps,
|
|
2957
|
+
...contentState.snippetProps
|
|
2958
|
+
});
|
|
2959
|
+
$$renderer.push(`<!---->`);
|
|
2960
|
+
} else {
|
|
2961
|
+
$$renderer.push("<!--[-1-->");
|
|
2962
|
+
$$renderer.push(`<div${attributes({ ...wrapperProps })}><div${attributes({ ...finalProps })}>`);
|
|
2963
|
+
children?.($$renderer);
|
|
2964
|
+
$$renderer.push(`<!----></div></div>`);
|
|
2965
|
+
}
|
|
2966
|
+
$$renderer.push(`<!--]-->`);
|
|
2967
|
+
}
|
|
2968
|
+
Popper_layer_force_mount($$renderer, spread_props([
|
|
2969
|
+
mergedProps(),
|
|
2970
|
+
contentState.popperProps,
|
|
2971
|
+
{
|
|
2972
|
+
ref: contentState.opts.ref,
|
|
2973
|
+
side,
|
|
2974
|
+
enabled: contentState.root.opts.open.current,
|
|
2975
|
+
id,
|
|
2976
|
+
preventScroll,
|
|
2977
|
+
forceMount: true,
|
|
2978
|
+
shouldRender: contentState.shouldRender,
|
|
2979
|
+
popper,
|
|
2980
|
+
$$slots: { popper: true }
|
|
2981
|
+
}
|
|
2982
|
+
]));
|
|
2983
|
+
}
|
|
2984
|
+
} else if (!forceMount) {
|
|
2985
|
+
$$renderer.push("<!--[1-->");
|
|
2986
|
+
{
|
|
2987
|
+
function popper($$renderer, { props, wrapperProps }) {
|
|
2988
|
+
const finalProps = mergeProps(props, { style: contentState.props.style }, { style });
|
|
2989
|
+
if (child) {
|
|
2990
|
+
$$renderer.push("<!--[0-->");
|
|
2991
|
+
child($$renderer, {
|
|
2992
|
+
props: finalProps,
|
|
2993
|
+
wrapperProps,
|
|
2994
|
+
...contentState.snippetProps
|
|
2995
|
+
});
|
|
2996
|
+
$$renderer.push(`<!---->`);
|
|
2997
|
+
} else {
|
|
2998
|
+
$$renderer.push("<!--[-1-->");
|
|
2999
|
+
$$renderer.push(`<div${attributes({ ...wrapperProps })}><div${attributes({ ...finalProps })}>`);
|
|
3000
|
+
children?.($$renderer);
|
|
3001
|
+
$$renderer.push(`<!----></div></div>`);
|
|
3002
|
+
}
|
|
3003
|
+
$$renderer.push(`<!--]-->`);
|
|
3004
|
+
}
|
|
3005
|
+
Popper_layer($$renderer, spread_props([
|
|
3006
|
+
mergedProps(),
|
|
3007
|
+
contentState.popperProps,
|
|
3008
|
+
{
|
|
3009
|
+
ref: contentState.opts.ref,
|
|
3010
|
+
side,
|
|
3011
|
+
open: contentState.root.opts.open.current,
|
|
3012
|
+
id,
|
|
3013
|
+
preventScroll,
|
|
3014
|
+
forceMount: false,
|
|
3015
|
+
shouldRender: contentState.shouldRender,
|
|
3016
|
+
popper,
|
|
3017
|
+
$$slots: { popper: true }
|
|
3018
|
+
}
|
|
3019
|
+
]));
|
|
3020
|
+
}
|
|
3021
|
+
} else $$renderer.push("<!--[-1-->");
|
|
3022
|
+
$$renderer.push(`<!--]-->`);
|
|
3023
|
+
bind_props($$props, { ref });
|
|
3024
|
+
});
|
|
3025
|
+
}
|
|
3026
|
+
//#endregion
|
|
3027
|
+
//#region ../../node_modules/.pnpm/bits-ui@2.18.1_@internationalized+date@3.12.3_@sveltejs+kit@2.70.2_@opentelemetry+api@1_928e570f1afd842a71a2bdb10737e411/node_modules/bits-ui/dist/bits/utilities/mounted.svelte
|
|
3028
|
+
function Mounted($$renderer, $$props) {
|
|
3029
|
+
$$renderer.component(($$renderer) => {
|
|
3030
|
+
let { mounted = false, onMountedChange = noop } = $$props;
|
|
3031
|
+
bind_props($$props, { mounted });
|
|
3032
|
+
});
|
|
3033
|
+
}
|
|
3034
|
+
//#endregion
|
|
3035
|
+
//#region ../../node_modules/.pnpm/bits-ui@2.18.1_@internationalized+date@3.12.3_@sveltejs+kit@2.70.2_@opentelemetry+api@1_928e570f1afd842a71a2bdb10737e411/node_modules/bits-ui/dist/bits/select/components/select-item.svelte
|
|
3036
|
+
function Select_item$1($$renderer, $$props) {
|
|
3037
|
+
$$renderer.component(($$renderer) => {
|
|
3038
|
+
const uid = props_id($$renderer);
|
|
3039
|
+
let { id = createId(uid), ref = null, value, label = value, disabled = false, children, child, onHighlight = noop, onUnhighlight = noop, $$slots, $$events, ...restProps } = $$props;
|
|
3040
|
+
const itemState = SelectItemState.create({
|
|
3041
|
+
id: boxWith(() => id),
|
|
3042
|
+
ref: boxWith(() => ref, (v) => ref = v),
|
|
3043
|
+
value: boxWith(() => value),
|
|
3044
|
+
disabled: boxWith(() => disabled),
|
|
3045
|
+
label: boxWith(() => label),
|
|
3046
|
+
onHighlight: boxWith(() => onHighlight),
|
|
3047
|
+
onUnhighlight: boxWith(() => onUnhighlight)
|
|
3048
|
+
});
|
|
3049
|
+
const mergedProps = derived(() => mergeProps(restProps, itemState.props));
|
|
3050
|
+
let $$settled = true;
|
|
3051
|
+
let $$inner_renderer;
|
|
3052
|
+
function $$render_inner($$renderer) {
|
|
3053
|
+
if (child) {
|
|
3054
|
+
$$renderer.push("<!--[0-->");
|
|
3055
|
+
child($$renderer, {
|
|
3056
|
+
props: mergedProps(),
|
|
3057
|
+
...itemState.snippetProps
|
|
3058
|
+
});
|
|
3059
|
+
$$renderer.push(`<!---->`);
|
|
3060
|
+
} else {
|
|
3061
|
+
$$renderer.push("<!--[-1-->");
|
|
3062
|
+
$$renderer.push(`<div${attributes({ ...mergedProps() })}>`);
|
|
3063
|
+
children?.($$renderer, itemState.snippetProps);
|
|
3064
|
+
$$renderer.push(`<!----></div>`);
|
|
3065
|
+
}
|
|
3066
|
+
$$renderer.push(`<!--]--> `);
|
|
3067
|
+
Mounted($$renderer, {
|
|
3068
|
+
get mounted() {
|
|
3069
|
+
return itemState.mounted;
|
|
3070
|
+
},
|
|
3071
|
+
set mounted($$value) {
|
|
3072
|
+
itemState.mounted = $$value;
|
|
3073
|
+
$$settled = false;
|
|
3074
|
+
}
|
|
3075
|
+
});
|
|
3076
|
+
$$renderer.push(`<!---->`);
|
|
3077
|
+
}
|
|
3078
|
+
do {
|
|
3079
|
+
$$settled = true;
|
|
3080
|
+
$$inner_renderer = $$renderer.copy();
|
|
3081
|
+
$$render_inner($$inner_renderer);
|
|
3082
|
+
} while (!$$settled);
|
|
3083
|
+
$$renderer.subsume($$inner_renderer);
|
|
3084
|
+
bind_props($$props, { ref });
|
|
3085
|
+
});
|
|
3086
|
+
}
|
|
3087
|
+
//#endregion
|
|
3088
|
+
//#region ../../node_modules/.pnpm/bits-ui@2.18.1_@internationalized+date@3.12.3_@sveltejs+kit@2.70.2_@opentelemetry+api@1_928e570f1afd842a71a2bdb10737e411/node_modules/bits-ui/dist/bits/select/components/select-viewport.svelte
|
|
3089
|
+
function Select_viewport($$renderer, $$props) {
|
|
3090
|
+
$$renderer.component(($$renderer) => {
|
|
3091
|
+
const uid = props_id($$renderer);
|
|
3092
|
+
let { id = createId(uid), ref = null, children, child, $$slots, $$events, ...restProps } = $$props;
|
|
3093
|
+
const viewportState = SelectViewportState.create({
|
|
3094
|
+
id: boxWith(() => id),
|
|
3095
|
+
ref: boxWith(() => ref, (v) => ref = v)
|
|
3096
|
+
});
|
|
3097
|
+
const mergedProps = derived(() => mergeProps(restProps, viewportState.props));
|
|
3098
|
+
if (child) {
|
|
3099
|
+
$$renderer.push("<!--[0-->");
|
|
3100
|
+
child($$renderer, { props: mergedProps() });
|
|
3101
|
+
$$renderer.push(`<!---->`);
|
|
3102
|
+
} else {
|
|
3103
|
+
$$renderer.push("<!--[-1-->");
|
|
3104
|
+
$$renderer.push(`<div${attributes({ ...mergedProps() })}>`);
|
|
3105
|
+
children?.($$renderer);
|
|
3106
|
+
$$renderer.push(`<!----></div>`);
|
|
3107
|
+
}
|
|
3108
|
+
$$renderer.push(`<!--]-->`);
|
|
3109
|
+
bind_props($$props, { ref });
|
|
3110
|
+
});
|
|
3111
|
+
}
|
|
3112
|
+
//#endregion
|
|
3113
|
+
//#region ../../node_modules/.pnpm/bits-ui@2.18.1_@internationalized+date@3.12.3_@sveltejs+kit@2.70.2_@opentelemetry+api@1_928e570f1afd842a71a2bdb10737e411/node_modules/bits-ui/dist/bits/select/components/select-scroll-down-button.svelte
|
|
3114
|
+
function Select_scroll_down_button$1($$renderer, $$props) {
|
|
3115
|
+
$$renderer.component(($$renderer) => {
|
|
3116
|
+
const uid = props_id($$renderer);
|
|
3117
|
+
let { id = createId(uid), ref = null, delay = () => 50, child, children, $$slots, $$events, ...restProps } = $$props;
|
|
3118
|
+
const scrollButtonState = SelectScrollDownButtonState.create({
|
|
3119
|
+
id: boxWith(() => id),
|
|
3120
|
+
ref: boxWith(() => ref, (v) => ref = v),
|
|
3121
|
+
delay: boxWith(() => delay)
|
|
3122
|
+
});
|
|
3123
|
+
const mergedProps = derived(() => mergeProps(restProps, scrollButtonState.props));
|
|
3124
|
+
let $$settled = true;
|
|
3125
|
+
let $$inner_renderer;
|
|
3126
|
+
function $$render_inner($$renderer) {
|
|
3127
|
+
if (scrollButtonState.canScrollDown) {
|
|
3128
|
+
$$renderer.push("<!--[0-->");
|
|
3129
|
+
Mounted($$renderer, {
|
|
3130
|
+
get mounted() {
|
|
3131
|
+
return scrollButtonState.scrollButtonState.mounted;
|
|
3132
|
+
},
|
|
3133
|
+
set mounted($$value) {
|
|
3134
|
+
scrollButtonState.scrollButtonState.mounted = $$value;
|
|
3135
|
+
$$settled = false;
|
|
3136
|
+
}
|
|
3137
|
+
});
|
|
3138
|
+
$$renderer.push(`<!----> `);
|
|
3139
|
+
if (child) {
|
|
3140
|
+
$$renderer.push("<!--[0-->");
|
|
3141
|
+
child($$renderer, { props: restProps });
|
|
3142
|
+
$$renderer.push(`<!---->`);
|
|
3143
|
+
} else {
|
|
3144
|
+
$$renderer.push("<!--[-1-->");
|
|
3145
|
+
$$renderer.push(`<div${attributes({ ...mergedProps() })}>`);
|
|
3146
|
+
children?.($$renderer);
|
|
3147
|
+
$$renderer.push(`<!----></div>`);
|
|
3148
|
+
}
|
|
3149
|
+
$$renderer.push(`<!--]-->`);
|
|
3150
|
+
} else $$renderer.push("<!--[-1-->");
|
|
3151
|
+
$$renderer.push(`<!--]-->`);
|
|
3152
|
+
}
|
|
3153
|
+
do {
|
|
3154
|
+
$$settled = true;
|
|
3155
|
+
$$inner_renderer = $$renderer.copy();
|
|
3156
|
+
$$render_inner($$inner_renderer);
|
|
3157
|
+
} while (!$$settled);
|
|
3158
|
+
$$renderer.subsume($$inner_renderer);
|
|
3159
|
+
bind_props($$props, { ref });
|
|
3160
|
+
});
|
|
3161
|
+
}
|
|
3162
|
+
//#endregion
|
|
3163
|
+
//#region ../../node_modules/.pnpm/bits-ui@2.18.1_@internationalized+date@3.12.3_@sveltejs+kit@2.70.2_@opentelemetry+api@1_928e570f1afd842a71a2bdb10737e411/node_modules/bits-ui/dist/bits/select/components/select-scroll-up-button.svelte
|
|
3164
|
+
function Select_scroll_up_button$1($$renderer, $$props) {
|
|
3165
|
+
$$renderer.component(($$renderer) => {
|
|
3166
|
+
const uid = props_id($$renderer);
|
|
3167
|
+
let { id = createId(uid), ref = null, delay = () => 50, child, children, $$slots, $$events, ...restProps } = $$props;
|
|
3168
|
+
const scrollButtonState = SelectScrollUpButtonState.create({
|
|
3169
|
+
id: boxWith(() => id),
|
|
3170
|
+
ref: boxWith(() => ref, (v) => ref = v),
|
|
3171
|
+
delay: boxWith(() => delay)
|
|
3172
|
+
});
|
|
3173
|
+
const mergedProps = derived(() => mergeProps(restProps, scrollButtonState.props));
|
|
3174
|
+
let $$settled = true;
|
|
3175
|
+
let $$inner_renderer;
|
|
3176
|
+
function $$render_inner($$renderer) {
|
|
3177
|
+
if (scrollButtonState.canScrollUp) {
|
|
3178
|
+
$$renderer.push("<!--[0-->");
|
|
3179
|
+
Mounted($$renderer, {
|
|
3180
|
+
get mounted() {
|
|
3181
|
+
return scrollButtonState.scrollButtonState.mounted;
|
|
3182
|
+
},
|
|
3183
|
+
set mounted($$value) {
|
|
3184
|
+
scrollButtonState.scrollButtonState.mounted = $$value;
|
|
3185
|
+
$$settled = false;
|
|
3186
|
+
}
|
|
3187
|
+
});
|
|
3188
|
+
$$renderer.push(`<!----> `);
|
|
3189
|
+
if (child) {
|
|
3190
|
+
$$renderer.push("<!--[0-->");
|
|
3191
|
+
child($$renderer, { props: restProps });
|
|
3192
|
+
$$renderer.push(`<!---->`);
|
|
3193
|
+
} else {
|
|
3194
|
+
$$renderer.push("<!--[-1-->");
|
|
3195
|
+
$$renderer.push(`<div${attributes({ ...mergedProps() })}>`);
|
|
3196
|
+
children?.($$renderer);
|
|
3197
|
+
$$renderer.push(`<!----></div>`);
|
|
3198
|
+
}
|
|
3199
|
+
$$renderer.push(`<!--]-->`);
|
|
3200
|
+
} else $$renderer.push("<!--[-1-->");
|
|
3201
|
+
$$renderer.push(`<!--]-->`);
|
|
3202
|
+
}
|
|
3203
|
+
do {
|
|
3204
|
+
$$settled = true;
|
|
3205
|
+
$$inner_renderer = $$renderer.copy();
|
|
3206
|
+
$$render_inner($$inner_renderer);
|
|
3207
|
+
} while (!$$settled);
|
|
3208
|
+
$$renderer.subsume($$inner_renderer);
|
|
3209
|
+
bind_props($$props, { ref });
|
|
3210
|
+
});
|
|
3211
|
+
}
|
|
3212
|
+
//#endregion
|
|
3213
|
+
//#region ../../node_modules/.pnpm/bits-ui@2.18.1_@internationalized+date@3.12.3_@sveltejs+kit@2.70.2_@opentelemetry+api@1_928e570f1afd842a71a2bdb10737e411/node_modules/bits-ui/dist/bits/select/components/select.svelte
|
|
3214
|
+
function Select($$renderer, $$props) {
|
|
3215
|
+
$$renderer.component(($$renderer) => {
|
|
3216
|
+
let { value = void 0, onValueChange = noop, name = "", disabled = false, type, open = false, onOpenChange = noop, onOpenChangeComplete = noop, loop = false, scrollAlignment = "nearest", required = false, items = [], allowDeselect = false, autocomplete, children } = $$props;
|
|
3217
|
+
function handleDefaultValue() {
|
|
3218
|
+
if (value !== void 0) return;
|
|
3219
|
+
value = type === "single" ? "" : [];
|
|
3220
|
+
}
|
|
3221
|
+
handleDefaultValue();
|
|
3222
|
+
watch.pre(() => value, () => {
|
|
3223
|
+
handleDefaultValue();
|
|
3224
|
+
});
|
|
3225
|
+
let inputValue = "";
|
|
3226
|
+
const rootState = SelectRootState.create({
|
|
3227
|
+
type,
|
|
3228
|
+
value: boxWith(() => value, (v) => {
|
|
3229
|
+
value = v;
|
|
3230
|
+
onValueChange(v);
|
|
3231
|
+
}),
|
|
3232
|
+
disabled: boxWith(() => disabled),
|
|
3233
|
+
required: boxWith(() => required),
|
|
3234
|
+
open: boxWith(() => open, (v) => {
|
|
3235
|
+
open = v;
|
|
3236
|
+
onOpenChange(v);
|
|
3237
|
+
}),
|
|
3238
|
+
loop: boxWith(() => loop),
|
|
3239
|
+
scrollAlignment: boxWith(() => scrollAlignment),
|
|
3240
|
+
name: boxWith(() => name),
|
|
3241
|
+
isCombobox: false,
|
|
3242
|
+
items: boxWith(() => items),
|
|
3243
|
+
allowDeselect: boxWith(() => allowDeselect),
|
|
3244
|
+
inputValue: boxWith(() => inputValue, (v) => inputValue = v),
|
|
3245
|
+
onOpenChangeComplete: boxWith(() => onOpenChangeComplete)
|
|
3246
|
+
});
|
|
3247
|
+
let $$settled = true;
|
|
3248
|
+
let $$inner_renderer;
|
|
3249
|
+
function $$render_inner($$renderer) {
|
|
3250
|
+
Floating_layer($$renderer, {
|
|
3251
|
+
children: ($$renderer) => {
|
|
3252
|
+
children?.($$renderer);
|
|
3253
|
+
$$renderer.push(`<!---->`);
|
|
3254
|
+
}});
|
|
3255
|
+
$$renderer.push(`<!----> `);
|
|
3256
|
+
if (Array.isArray(rootState.opts.value.current)) {
|
|
3257
|
+
$$renderer.push("<!--[0-->");
|
|
3258
|
+
if (rootState.opts.value.current.length === 0) {
|
|
3259
|
+
$$renderer.push("<!--[0-->");
|
|
3260
|
+
Select_hidden_input($$renderer, { autocomplete });
|
|
3261
|
+
} else {
|
|
3262
|
+
$$renderer.push("<!--[-1-->");
|
|
3263
|
+
$$renderer.push(`<!--[-->`);
|
|
3264
|
+
const each_array = ensure_array_like(rootState.opts.value.current);
|
|
3265
|
+
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
3266
|
+
let item = each_array[$$index];
|
|
3267
|
+
Select_hidden_input($$renderer, {
|
|
3268
|
+
value: item,
|
|
3269
|
+
autocomplete
|
|
3270
|
+
});
|
|
3271
|
+
}
|
|
3272
|
+
$$renderer.push(`<!--]-->`);
|
|
3273
|
+
}
|
|
3274
|
+
$$renderer.push(`<!--]-->`);
|
|
3275
|
+
} else {
|
|
3276
|
+
$$renderer.push("<!--[-1-->");
|
|
3277
|
+
Select_hidden_input($$renderer, {
|
|
3278
|
+
autocomplete,
|
|
3279
|
+
get value() {
|
|
3280
|
+
return rootState.opts.value.current;
|
|
3281
|
+
},
|
|
3282
|
+
set value($$value) {
|
|
3283
|
+
rootState.opts.value.current = $$value;
|
|
3284
|
+
$$settled = false;
|
|
3285
|
+
}
|
|
3286
|
+
});
|
|
3287
|
+
}
|
|
3288
|
+
$$renderer.push(`<!--]-->`);
|
|
3289
|
+
}
|
|
3290
|
+
do {
|
|
3291
|
+
$$settled = true;
|
|
3292
|
+
$$inner_renderer = $$renderer.copy();
|
|
3293
|
+
$$render_inner($$inner_renderer);
|
|
3294
|
+
} while (!$$settled);
|
|
3295
|
+
$$renderer.subsume($$inner_renderer);
|
|
3296
|
+
bind_props($$props, {
|
|
3297
|
+
value,
|
|
3298
|
+
open
|
|
3299
|
+
});
|
|
3300
|
+
});
|
|
3301
|
+
}
|
|
3302
|
+
//#endregion
|
|
3303
|
+
//#region ../../node_modules/.pnpm/bits-ui@2.18.1_@internationalized+date@3.12.3_@sveltejs+kit@2.70.2_@opentelemetry+api@1_928e570f1afd842a71a2bdb10737e411/node_modules/bits-ui/dist/bits/select/components/select-trigger.svelte
|
|
3304
|
+
function Select_trigger$1($$renderer, $$props) {
|
|
3305
|
+
$$renderer.component(($$renderer) => {
|
|
3306
|
+
const uid = props_id($$renderer);
|
|
3307
|
+
let { id = createId(uid), ref = null, child, children, type = "button", $$slots, $$events, ...restProps } = $$props;
|
|
3308
|
+
const triggerState = SelectTriggerState.create({
|
|
3309
|
+
id: boxWith(() => id),
|
|
3310
|
+
ref: boxWith(() => ref, (v) => ref = v)
|
|
3311
|
+
});
|
|
3312
|
+
const mergedProps = derived(() => mergeProps(restProps, triggerState.props, { type }));
|
|
3313
|
+
if (Floating_layer_anchor) {
|
|
3314
|
+
$$renderer.push("<!--[-->");
|
|
3315
|
+
Floating_layer_anchor($$renderer, {
|
|
3316
|
+
id,
|
|
3317
|
+
ref: triggerState.opts.ref,
|
|
3318
|
+
children: ($$renderer) => {
|
|
3319
|
+
if (child) {
|
|
3320
|
+
$$renderer.push("<!--[0-->");
|
|
3321
|
+
child($$renderer, { props: mergedProps() });
|
|
3322
|
+
$$renderer.push(`<!---->`);
|
|
3323
|
+
} else {
|
|
3324
|
+
$$renderer.push("<!--[-1-->");
|
|
3325
|
+
$$renderer.push(`<button${attributes({ ...mergedProps() })}>`);
|
|
3326
|
+
children?.($$renderer);
|
|
3327
|
+
$$renderer.push(`<!----></button>`);
|
|
3328
|
+
}
|
|
3329
|
+
$$renderer.push(`<!--]-->`);
|
|
3330
|
+
}});
|
|
3331
|
+
$$renderer.push("<!--]-->");
|
|
3332
|
+
} else {
|
|
3333
|
+
$$renderer.push("<!--[!-->");
|
|
3334
|
+
$$renderer.push("<!--]-->");
|
|
3335
|
+
}
|
|
3336
|
+
bind_props($$props, { ref });
|
|
3337
|
+
});
|
|
3338
|
+
}
|
|
3339
|
+
//#endregion
|
|
3340
|
+
//#region ../ui/dist/components/primitives/select/select-item.svelte
|
|
3341
|
+
function Select_item($$renderer, $$props) {
|
|
3342
|
+
$$renderer.component(($$renderer) => {
|
|
3343
|
+
let { ref = null, class: className, value, label, children: childrenProp, $$slots, $$events, ...restProps } = $$props;
|
|
3344
|
+
let $$settled = true;
|
|
3345
|
+
let $$inner_renderer;
|
|
3346
|
+
function $$render_inner($$renderer) {
|
|
3347
|
+
{
|
|
3348
|
+
function children($$renderer, { selected, highlighted }) {
|
|
3349
|
+
$$renderer.push(`<span class="right-2 size-3.5 absolute flex items-center justify-center">`);
|
|
3350
|
+
if (selected) {
|
|
3351
|
+
$$renderer.push("<!--[0-->");
|
|
3352
|
+
Check($$renderer, { class: "size-4" });
|
|
3353
|
+
} else $$renderer.push("<!--[-1-->");
|
|
3354
|
+
$$renderer.push(`<!--]--></span> `);
|
|
3355
|
+
if (childrenProp) {
|
|
3356
|
+
$$renderer.push("<!--[0-->");
|
|
3357
|
+
childrenProp($$renderer, {
|
|
3358
|
+
selected,
|
|
3359
|
+
highlighted
|
|
3360
|
+
});
|
|
3361
|
+
$$renderer.push(`<!---->`);
|
|
3362
|
+
} else {
|
|
3363
|
+
$$renderer.push("<!--[-1-->");
|
|
3364
|
+
$$renderer.push(`${escape_html(label || value)}`);
|
|
3365
|
+
}
|
|
3366
|
+
$$renderer.push(`<!--]-->`);
|
|
3367
|
+
}
|
|
3368
|
+
if (Select_item$1) {
|
|
3369
|
+
$$renderer.push("<!--[-->");
|
|
3370
|
+
Select_item$1($$renderer, spread_props([
|
|
3371
|
+
{
|
|
3372
|
+
value,
|
|
3373
|
+
"data-slot": "select-item",
|
|
3374
|
+
class: cn("gap-2 py-1.5 pr-8 pl-2 text-sm [&_svg:not([class*='size-'])]:size-4 *:[span]:last:gap-2 relative flex w-full cursor-default items-center rounded-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='text-'])]:text-muted-foreground *:[span]:last:flex *:[span]:last:items-center", className)
|
|
3375
|
+
},
|
|
3376
|
+
restProps,
|
|
3377
|
+
{
|
|
3378
|
+
get ref() {
|
|
3379
|
+
return ref;
|
|
3380
|
+
},
|
|
3381
|
+
set ref($$value) {
|
|
3382
|
+
ref = $$value;
|
|
3383
|
+
$$settled = false;
|
|
3384
|
+
},
|
|
3385
|
+
children,
|
|
3386
|
+
$$slots: { default: true }
|
|
3387
|
+
}
|
|
3388
|
+
]));
|
|
3389
|
+
$$renderer.push("<!--]-->");
|
|
3390
|
+
} else {
|
|
3391
|
+
$$renderer.push("<!--[!-->");
|
|
3392
|
+
$$renderer.push("<!--]-->");
|
|
3393
|
+
}
|
|
3394
|
+
}
|
|
3395
|
+
}
|
|
3396
|
+
do {
|
|
3397
|
+
$$settled = true;
|
|
3398
|
+
$$inner_renderer = $$renderer.copy();
|
|
3399
|
+
$$render_inner($$inner_renderer);
|
|
3400
|
+
} while (!$$settled);
|
|
3401
|
+
$$renderer.subsume($$inner_renderer);
|
|
3402
|
+
bind_props($$props, { ref });
|
|
3403
|
+
});
|
|
3404
|
+
}
|
|
3405
|
+
//#endregion
|
|
3406
|
+
//#region ../ui/dist/components/primitives/select/select-scroll-up-button.svelte
|
|
3407
|
+
function Select_scroll_up_button($$renderer, $$props) {
|
|
3408
|
+
$$renderer.component(($$renderer) => {
|
|
3409
|
+
let { ref = null, class: className, $$slots, $$events, ...restProps } = $$props;
|
|
3410
|
+
let $$settled = true;
|
|
3411
|
+
let $$inner_renderer;
|
|
3412
|
+
function $$render_inner($$renderer) {
|
|
3413
|
+
if (Select_scroll_up_button$1) {
|
|
3414
|
+
$$renderer.push("<!--[-->");
|
|
3415
|
+
Select_scroll_up_button$1($$renderer, spread_props([
|
|
3416
|
+
{
|
|
3417
|
+
"data-slot": "select-scroll-up-button",
|
|
3418
|
+
class: cn("py-1 flex cursor-default items-center justify-center", className)
|
|
3419
|
+
},
|
|
3420
|
+
restProps,
|
|
3421
|
+
{
|
|
3422
|
+
get ref() {
|
|
3423
|
+
return ref;
|
|
3424
|
+
},
|
|
3425
|
+
set ref($$value) {
|
|
3426
|
+
ref = $$value;
|
|
3427
|
+
$$settled = false;
|
|
3428
|
+
},
|
|
3429
|
+
children: ($$renderer) => {
|
|
3430
|
+
Chevron_up($$renderer, { class: "size-4" });
|
|
3431
|
+
},
|
|
3432
|
+
$$slots: { default: true }
|
|
3433
|
+
}
|
|
3434
|
+
]));
|
|
3435
|
+
$$renderer.push("<!--]-->");
|
|
3436
|
+
} else {
|
|
3437
|
+
$$renderer.push("<!--[!-->");
|
|
3438
|
+
$$renderer.push("<!--]-->");
|
|
3439
|
+
}
|
|
3440
|
+
}
|
|
3441
|
+
do {
|
|
3442
|
+
$$settled = true;
|
|
3443
|
+
$$inner_renderer = $$renderer.copy();
|
|
3444
|
+
$$render_inner($$inner_renderer);
|
|
3445
|
+
} while (!$$settled);
|
|
3446
|
+
$$renderer.subsume($$inner_renderer);
|
|
3447
|
+
bind_props($$props, { ref });
|
|
3448
|
+
});
|
|
3449
|
+
}
|
|
3450
|
+
//#endregion
|
|
3451
|
+
//#region ../ui/dist/components/primitives/select/select-scroll-down-button.svelte
|
|
3452
|
+
function Select_scroll_down_button($$renderer, $$props) {
|
|
3453
|
+
$$renderer.component(($$renderer) => {
|
|
3454
|
+
let { ref = null, class: className, $$slots, $$events, ...restProps } = $$props;
|
|
3455
|
+
let $$settled = true;
|
|
3456
|
+
let $$inner_renderer;
|
|
3457
|
+
function $$render_inner($$renderer) {
|
|
3458
|
+
if (Select_scroll_down_button$1) {
|
|
3459
|
+
$$renderer.push("<!--[-->");
|
|
3460
|
+
Select_scroll_down_button$1($$renderer, spread_props([
|
|
3461
|
+
{
|
|
3462
|
+
"data-slot": "select-scroll-down-button",
|
|
3463
|
+
class: cn("py-1 flex cursor-default items-center justify-center", className)
|
|
3464
|
+
},
|
|
3465
|
+
restProps,
|
|
3466
|
+
{
|
|
3467
|
+
get ref() {
|
|
3468
|
+
return ref;
|
|
3469
|
+
},
|
|
3470
|
+
set ref($$value) {
|
|
3471
|
+
ref = $$value;
|
|
3472
|
+
$$settled = false;
|
|
3473
|
+
},
|
|
3474
|
+
children: ($$renderer) => {
|
|
3475
|
+
Chevron_down($$renderer, { class: "size-4" });
|
|
3476
|
+
},
|
|
3477
|
+
$$slots: { default: true }
|
|
3478
|
+
}
|
|
3479
|
+
]));
|
|
3480
|
+
$$renderer.push("<!--]-->");
|
|
3481
|
+
} else {
|
|
3482
|
+
$$renderer.push("<!--[!-->");
|
|
3483
|
+
$$renderer.push("<!--]-->");
|
|
3484
|
+
}
|
|
3485
|
+
}
|
|
3486
|
+
do {
|
|
3487
|
+
$$settled = true;
|
|
3488
|
+
$$inner_renderer = $$renderer.copy();
|
|
3489
|
+
$$render_inner($$inner_renderer);
|
|
3490
|
+
} while (!$$settled);
|
|
3491
|
+
$$renderer.subsume($$inner_renderer);
|
|
3492
|
+
bind_props($$props, { ref });
|
|
3493
|
+
});
|
|
3494
|
+
}
|
|
3495
|
+
//#endregion
|
|
3496
|
+
//#region ../ui/dist/components/primitives/select/select-content.svelte
|
|
3497
|
+
function Select_content($$renderer, $$props) {
|
|
3498
|
+
$$renderer.component(($$renderer) => {
|
|
3499
|
+
let { ref = null, class: className, sideOffset = 4, portalProps, children, $$slots, $$events, ...restProps } = $$props;
|
|
3500
|
+
let $$settled = true;
|
|
3501
|
+
let $$inner_renderer;
|
|
3502
|
+
function $$render_inner($$renderer) {
|
|
3503
|
+
if (Portal) {
|
|
3504
|
+
$$renderer.push("<!--[-->");
|
|
3505
|
+
Portal($$renderer, spread_props([portalProps, {
|
|
3506
|
+
children: ($$renderer) => {
|
|
3507
|
+
if (Select_content$1) {
|
|
3508
|
+
$$renderer.push("<!--[-->");
|
|
3509
|
+
Select_content$1($$renderer, spread_props([
|
|
3510
|
+
{
|
|
3511
|
+
sideOffset,
|
|
3512
|
+
"data-slot": "select-content",
|
|
3513
|
+
class: cn("shadow-md data-[side=bottom]:translate-y-1 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:-translate-x-1 data-[side=left]:slide-in-from-right-2 data-[side=right]:translate-x-1 data-[side=right]:slide-in-from-left-2 data-[side=top]:-translate-y-1 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 relative z-50 max-h-(--bits-select-content-available-height) min-w-[8rem] origin-(--bits-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover text-popover-foreground", className)
|
|
3514
|
+
},
|
|
3515
|
+
restProps,
|
|
3516
|
+
{
|
|
3517
|
+
get ref() {
|
|
3518
|
+
return ref;
|
|
3519
|
+
},
|
|
3520
|
+
set ref($$value) {
|
|
3521
|
+
ref = $$value;
|
|
3522
|
+
$$settled = false;
|
|
3523
|
+
},
|
|
3524
|
+
children: ($$renderer) => {
|
|
3525
|
+
Select_scroll_up_button($$renderer, {});
|
|
3526
|
+
$$renderer.push(`<!----> `);
|
|
3527
|
+
if (Select_viewport) {
|
|
3528
|
+
$$renderer.push("<!--[-->");
|
|
3529
|
+
Select_viewport($$renderer, {
|
|
3530
|
+
class: cn("scroll-my-1 p-1 h-(--bits-select-anchor-height) w-full min-w-(--bits-select-anchor-width)"),
|
|
3531
|
+
children: ($$renderer) => {
|
|
3532
|
+
children?.($$renderer);
|
|
3533
|
+
$$renderer.push(`<!---->`);
|
|
3534
|
+
},
|
|
3535
|
+
$$slots: { default: true }
|
|
3536
|
+
});
|
|
3537
|
+
$$renderer.push("<!--]-->");
|
|
3538
|
+
} else {
|
|
3539
|
+
$$renderer.push("<!--[!-->");
|
|
3540
|
+
$$renderer.push("<!--]-->");
|
|
3541
|
+
}
|
|
3542
|
+
$$renderer.push(` `);
|
|
3543
|
+
Select_scroll_down_button($$renderer, {});
|
|
3544
|
+
$$renderer.push(`<!---->`);
|
|
3545
|
+
},
|
|
3546
|
+
$$slots: { default: true }
|
|
3547
|
+
}
|
|
3548
|
+
]));
|
|
3549
|
+
$$renderer.push("<!--]-->");
|
|
3550
|
+
} else {
|
|
3551
|
+
$$renderer.push("<!--[!-->");
|
|
3552
|
+
$$renderer.push("<!--]-->");
|
|
3553
|
+
}
|
|
3554
|
+
},
|
|
3555
|
+
$$slots: { default: true }
|
|
3556
|
+
}]));
|
|
3557
|
+
$$renderer.push("<!--]-->");
|
|
3558
|
+
} else {
|
|
3559
|
+
$$renderer.push("<!--[!-->");
|
|
3560
|
+
$$renderer.push("<!--]-->");
|
|
3561
|
+
}
|
|
3562
|
+
}
|
|
3563
|
+
do {
|
|
3564
|
+
$$settled = true;
|
|
3565
|
+
$$inner_renderer = $$renderer.copy();
|
|
3566
|
+
$$render_inner($$inner_renderer);
|
|
3567
|
+
} while (!$$settled);
|
|
3568
|
+
$$renderer.subsume($$inner_renderer);
|
|
3569
|
+
bind_props($$props, { ref });
|
|
3570
|
+
});
|
|
3571
|
+
}
|
|
3572
|
+
//#endregion
|
|
3573
|
+
//#region ../ui/dist/components/primitives/select/select-trigger.svelte
|
|
3574
|
+
function Select_trigger($$renderer, $$props) {
|
|
3575
|
+
$$renderer.component(($$renderer) => {
|
|
3576
|
+
let { ref = null, class: className, children, size = "default", $$slots, $$events, ...restProps } = $$props;
|
|
3577
|
+
let $$settled = true;
|
|
3578
|
+
let $$inner_renderer;
|
|
3579
|
+
function $$render_inner($$renderer) {
|
|
3580
|
+
if (Select_trigger$1) {
|
|
3581
|
+
$$renderer.push("<!--[-->");
|
|
3582
|
+
Select_trigger$1($$renderer, spread_props([
|
|
3583
|
+
{
|
|
3584
|
+
"data-slot": "select-trigger",
|
|
3585
|
+
"data-size": size,
|
|
3586
|
+
class: cn("gap-2 px-3 py-2 text-sm shadow-xs data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:gap-2 [&_svg:not([class*='size-'])]:size-4 flex w-fit items-center justify-between rounded-md border border-input bg-transparent whitespace-nowrap transition-[color,box-shadow] outline-none select-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[placeholder]:text-muted-foreground *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='text-'])]:text-muted-foreground", className)
|
|
3587
|
+
},
|
|
3588
|
+
restProps,
|
|
3589
|
+
{
|
|
3590
|
+
get ref() {
|
|
3591
|
+
return ref;
|
|
3592
|
+
},
|
|
3593
|
+
set ref($$value) {
|
|
3594
|
+
ref = $$value;
|
|
3595
|
+
$$settled = false;
|
|
3596
|
+
},
|
|
3597
|
+
children: ($$renderer) => {
|
|
3598
|
+
children?.($$renderer);
|
|
3599
|
+
$$renderer.push(`<!----> `);
|
|
3600
|
+
Chevron_down($$renderer, { class: "size-4 opacity-50" });
|
|
3601
|
+
$$renderer.push(`<!---->`);
|
|
3602
|
+
},
|
|
3603
|
+
$$slots: { default: true }
|
|
3604
|
+
}
|
|
3605
|
+
]));
|
|
3606
|
+
$$renderer.push("<!--]-->");
|
|
3607
|
+
} else {
|
|
3608
|
+
$$renderer.push("<!--[!-->");
|
|
3609
|
+
$$renderer.push("<!--]-->");
|
|
3610
|
+
}
|
|
3611
|
+
}
|
|
3612
|
+
do {
|
|
3613
|
+
$$settled = true;
|
|
3614
|
+
$$inner_renderer = $$renderer.copy();
|
|
3615
|
+
$$render_inner($$inner_renderer);
|
|
3616
|
+
} while (!$$settled);
|
|
3617
|
+
$$renderer.subsume($$inner_renderer);
|
|
3618
|
+
bind_props($$props, { ref });
|
|
3619
|
+
});
|
|
3620
|
+
}
|
|
3621
|
+
//#endregion
|
|
3622
|
+
//#region ../ui/dist/components/primitives/select/index.js
|
|
3623
|
+
var Root = Select;
|
|
3624
|
+
|
|
3625
|
+
export { Floating_layer as F, Hidden_input as H, Popper_layer_force_mount as P, Root as R, Select_trigger as S, Select_content as a, Select_item as b, Floating_layer_anchor as c, Popper_layer as d, getFloatingContentCSSVars as g };
|
|
3626
|
+
//# sourceMappingURL=select.js-DIbpqZWD.js.map
|