solid-ui 3.1.3-6 → 3.1.3-8
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/dist/_virtual/~icons/app/solid-emblem.cjs.js +3 -0
- package/dist/_virtual/~icons/app/solid-emblem.cjs.js.map +1 -0
- package/dist/_virtual/~icons/app/solid-emblem.esm.js +11 -0
- package/dist/_virtual/~icons/app/solid-emblem.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/chevron-down.cjs.js +1 -1
- package/dist/_virtual/~icons/lucide/chevron-down.esm.js +1 -0
- package/dist/_virtual/~icons/lucide/circle-user.cjs.js +1 -1
- package/dist/_virtual/~icons/lucide/circle-user.esm.js +1 -0
- package/dist/_virtual/~icons/lucide/log-in.cjs.js +1 -1
- package/dist/_virtual/~icons/lucide/log-in.esm.js +1 -0
- package/dist/_virtual/~icons/lucide/log-out.cjs.js +1 -1
- package/dist/_virtual/~icons/lucide/log-out.esm.js +1 -0
- package/dist/_virtual/~icons/lucide/user.cjs.js +1 -1
- package/dist/_virtual/~icons/lucide/user.esm.js +1 -0
- package/dist/_virtual/~icons/lucide/x.cjs.js +1 -1
- package/dist/_virtual/~icons/lucide/x.esm.js +1 -0
- package/dist/_virtual/~icons/svg-spinners/180-ring.cjs.js +1 -1
- package/dist/_virtual/~icons/svg-spinners/180-ring.esm.js +1 -0
- package/dist/acl/access-controller.cjs.js +1 -1
- package/dist/acl/access-controller.cjs.js.map +1 -1
- package/dist/acl/access-controller.esm.js.map +1 -1
- package/dist/acl/access-groups.cjs.js.map +1 -1
- package/dist/acl/access-groups.esm.js.map +1 -1
- package/dist/acl/acl-control.cjs.js +1 -1
- package/dist/acl/acl-control.cjs.js.map +1 -1
- package/dist/acl/acl-control.esm.js +1 -1
- package/dist/acl/acl-control.esm.js.map +1 -1
- package/dist/acl/acl.cjs.js.map +1 -1
- package/dist/acl/acl.esm.js.map +1 -1
- package/dist/acl/add-agent-buttons.cjs.js.map +1 -1
- package/dist/acl/add-agent-buttons.esm.js.map +1 -1
- package/dist/breakpoints.css +1 -0
- package/dist/breakpoints.css.d.ts +1 -0
- package/dist/chat/bookmarks.cjs.js +1 -1
- package/dist/chat/bookmarks.cjs.js.map +1 -1
- package/dist/chat/bookmarks.esm.js +1 -1
- package/dist/chat/bookmarks.esm.js.map +1 -1
- package/dist/chat/chatLogic.cjs.js.map +1 -1
- package/dist/chat/chatLogic.esm.js.map +1 -1
- package/dist/chat/dateFolder.cjs.js +1 -1
- package/dist/chat/dateFolder.cjs.js.map +1 -1
- package/dist/chat/dateFolder.esm.js +1 -1
- package/dist/chat/dateFolder.esm.js.map +1 -1
- package/dist/chat/infinite.cjs.js +1 -1
- package/dist/chat/infinite.cjs.js.map +1 -1
- package/dist/chat/infinite.esm.js +1 -1
- package/dist/chat/infinite.esm.js.map +1 -1
- package/dist/chat/keys.cjs.js +1 -1
- package/dist/chat/keys.cjs.js.map +1 -1
- package/dist/chat/keys.esm.js +1 -1
- package/dist/chat/keys.esm.js.map +1 -1
- package/dist/chat/message.cjs.js +1 -1
- package/dist/chat/message.cjs.js.map +1 -1
- package/dist/chat/message.esm.js +24 -24
- package/dist/chat/message.esm.js.map +1 -1
- package/dist/chat/messageTools.cjs.js.map +1 -1
- package/dist/chat/messageTools.esm.js.map +1 -1
- package/dist/chat/signature.cjs.js +1 -1
- package/dist/chat/signature.cjs.js.map +1 -1
- package/dist/chat/signature.esm.js +1 -1
- package/dist/chunks/{DialogProvider-DphduSXG.js → DialogProvider-Bt65G0Tk.js} +4 -4
- package/dist/chunks/DialogProvider-Bt65G0Tk.js.map +1 -0
- package/dist/chunks/{account-CFhrB0LO.js → account-jSZP2tZ5.js} +76 -60
- package/dist/chunks/account-jSZP2tZ5.js.map +1 -0
- package/dist/chunks/{auth-Cpf3HYqF.js → auth-CZOEEeJ8.js} +23 -23
- package/dist/chunks/{auth-Cpf3HYqF.js.map → auth-CZOEEeJ8.js.map} +1 -1
- package/dist/chunks/{avatar-D281qln0.js → avatar-BugsRJZg.js} +5 -5
- package/dist/chunks/avatar-BugsRJZg.js.map +1 -0
- package/dist/chunks/{button-DbKYu6-r.js → button-0s0lZdxm.js} +2 -2
- package/dist/chunks/{button-DbKYu6-r.js.map → button-0s0lZdxm.js.map} +1 -1
- package/dist/chunks/chunk.K442ELDU-TtQSV9g1.js +1516 -0
- package/dist/chunks/chunk.K442ELDU-TtQSV9g1.js.map +1 -0
- package/dist/chunks/combobox-Cxi8xUMn.js +473 -0
- package/dist/chunks/combobox-Cxi8xUMn.js.map +1 -0
- package/dist/chunks/{combobox-option-Ck0mu4Gc.js → combobox-option-DiR3VpyT.js} +2 -2
- package/dist/chunks/{combobox-option-Ck0mu4Gc.js.map → combobox-option-DiR3VpyT.js.map} +1 -1
- package/dist/chunks/{components-BlEGdx4i.js → components-C1LEhsaK.js} +5 -9
- package/dist/chunks/components-C1LEhsaK.js.map +1 -0
- package/dist/chunks/{context-DJ_8r7Oc.js → context-uE5jJlS0.js} +2 -2
- package/dist/chunks/{context-DJ_8r7Oc.js.map → context-uE5jJlS0.js.map} +1 -1
- package/dist/chunks/decorators-BiCkPd_3.js.map +1 -1
- package/dist/chunks/{dialog-DlBtmOm6.js → dialog-BAzrHJ8w.js} +6 -6
- package/dist/chunks/dialog-BAzrHJ8w.js.map +1 -0
- package/dist/chunks/{dialog-content-CMeH_BD7.js → dialog-content-fdJrkCyB.js} +2 -2
- package/dist/chunks/{dialog-content-CMeH_BD7.js.map → dialog-content-fdJrkCyB.js.map} +1 -1
- package/dist/chunks/{dialog-footer-D0zzIMlx.js → dialog-footer-Bs_p2Nn9.js} +2 -2
- package/dist/chunks/{dialog-footer-D0zzIMlx.js.map → dialog-footer-Bs_p2Nn9.js.map} +1 -1
- package/dist/chunks/{dialog-header-DeC1iiLD.js → dialog-header-CWIAAoDo.js} +2 -2
- package/dist/chunks/{dialog-header-DeC1iiLD.js.map → dialog-header-CWIAAoDo.js.map} +1 -1
- package/dist/chunks/{dialogs-root-BcUcRuAt.js → dialogs-root-Cv932Aqm.js} +3 -3
- package/dist/chunks/{dialogs-root-BcUcRuAt.js.map → dialogs-root-Cv932Aqm.js.map} +1 -1
- package/dist/chunks/{footer-Bxe4WPgl.js → footer-kVa_uMeQ.js} +3 -3
- package/dist/chunks/{footer-Bxe4WPgl.js.map → footer-kVa_uMeQ.js.map} +1 -1
- package/dist/chunks/{guard-Da3znlJI.js → guard-Cml6dHTv.js} +4 -4
- package/dist/chunks/{guard-Da3znlJI.js.map → guard-Cml6dHTv.js.map} +1 -1
- package/dist/chunks/{headerFooterHelpers-5LYv-0Rt.js → headerFooterHelpers-BiZ6X10e.js} +15 -15
- package/dist/chunks/{headerFooterHelpers-5LYv-0Rt.js.map → headerFooterHelpers-BiZ6X10e.js.map} +1 -1
- package/dist/chunks/{input-Bkzi4zSV.js → input-BF224Jid.js} +2 -2
- package/dist/chunks/{input-Bkzi4zSV.js.map → input-BF224Jid.js.map} +1 -1
- package/dist/chunks/{jsonld-DZG2v1pE.js → jsonld-Cd-ZhJmZ.js} +54 -54
- package/dist/chunks/{jsonld-DZG2v1pE.js.map → jsonld-Cd-ZhJmZ.js.map} +1 -1
- package/dist/chunks/lit-C4H1jI4q.js.map +1 -1
- package/dist/chunks/{login-button-C603hM0G.js → login-button-pe1-DVNZ.js} +5 -5
- package/dist/chunks/{login-button-C603hM0G.js.map → login-button-pe1-DVNZ.js.map} +1 -1
- package/dist/chunks/{logout-button-Cxzpq-C3.js → logout-button-C5dtQiBB.js} +5 -5
- package/dist/chunks/{logout-button-Cxzpq-C3.js.map → logout-button-C5dtQiBB.js.map} +1 -1
- package/dist/chunks/{menu-aQiqq1ET.js → menu-DNcuV-1J.js} +183 -1693
- package/dist/chunks/menu-DNcuV-1J.js.map +1 -0
- package/dist/chunks/{menu-item-DBy4o-M4.js → menu-item-CWg-eS4V.js} +8 -6
- package/dist/chunks/menu-item-CWg-eS4V.js.map +1 -0
- package/dist/chunks/photo-capture-tiBsdSbA.js.map +1 -1
- package/dist/chunks/{provider-DZmdgerD.js → provider-DRxSExO6.js} +5 -5
- package/dist/chunks/{provider-DZmdgerD.js.map → provider-DRxSExO6.js.map} +1 -1
- package/dist/chunks/{select-wczAzbZF.js → select-D8dW53pr.js} +2 -2
- package/dist/chunks/{select-wczAzbZF.js.map → select-D8dW53pr.js.map} +1 -1
- package/dist/chunks/{select-option-hd_d1RNj.js → select-option-B-6ULCpQ.js} +2 -2
- package/dist/chunks/{select-option-hd_d1RNj.js.map → select-option-B-6ULCpQ.js.map} +1 -1
- package/dist/chunks/{signup-button-CsRaOUI4.js → signup-button-QvYELqb6.js} +5 -5
- package/dist/chunks/{signup-button-CsRaOUI4.js.map → signup-button-QvYELqb6.js.map} +1 -1
- package/dist/chunks/solid-emblem-BDzhMTjL.js +185 -0
- package/dist/chunks/solid-emblem-BDzhMTjL.js.map +1 -0
- package/dist/chunks/{solid-logic.esm-7q6hmfIF.js → solid-logic.esm-BhVcNu8u.js} +2517 -2521
- package/dist/chunks/solid-logic.esm-BhVcNu8u.js.map +1 -0
- package/dist/chunks/{src-BOU-JwWx.js → src-DYvSns7X.js} +2378 -2354
- package/dist/chunks/src-DYvSns7X.js.map +1 -0
- package/dist/components/account/Account.cjs.js +7 -2
- package/dist/components/account/Account.cjs.js.map +1 -1
- package/dist/components/account/Account.d.ts +8 -1
- package/dist/components/account/Account.d.ts.map +1 -1
- package/dist/components/account/Account.esm.js +64 -48
- package/dist/components/account/Account.esm.js.map +1 -1
- package/dist/components/account/Account.stories.d.ts +3 -8
- package/dist/components/account/Account.stories.d.ts.map +1 -1
- package/dist/components/account/Account.styles.cjs.js +1 -1
- package/dist/components/account/Account.styles.cjs.js.map +1 -1
- package/dist/components/account/Account.styles.esm.js +1 -1
- package/dist/components/account/Account.styles.esm.js.map +1 -1
- package/dist/components/account/index.cjs.js +1 -1
- package/dist/components/account/index.cjs.js.map +1 -1
- package/dist/components/account/index.d.ts +2 -2
- package/dist/components/account/index.d.ts.map +1 -1
- package/dist/components/account/index.esm.js +1 -1
- package/dist/components/account/index.esm.js.map +1 -1
- package/dist/components/account.js +1 -1
- package/dist/components/avatar/Avatar.cjs.js +1 -1
- package/dist/components/avatar/Avatar.cjs.js.map +1 -1
- package/dist/components/avatar/Avatar.esm.js +1 -1
- package/dist/components/avatar/Avatar.styles.cjs.js +1 -1
- package/dist/components/avatar/Avatar.styles.cjs.js.map +1 -1
- package/dist/components/avatar/Avatar.styles.esm.js +1 -1
- package/dist/components/avatar/Avatar.styles.esm.js.map +1 -1
- package/dist/components/avatar/index.cjs.js +1 -1
- package/dist/components/avatar/index.esm.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/button/Button.cjs.js +1 -1
- package/dist/components/button/Button.cjs.js.map +1 -1
- package/dist/components/button/Button.esm.js +1 -1
- package/dist/components/button/Button.esm.js.map +1 -1
- package/dist/components/button/index.cjs.js +1 -1
- package/dist/components/button/index.esm.js +3 -3
- package/dist/components/button.js +1 -1
- package/dist/components/combobox/Combobox.cjs.js +57 -25
- package/dist/components/combobox/Combobox.cjs.js.map +1 -1
- package/dist/components/combobox/Combobox.d.ts +22 -3
- package/dist/components/combobox/Combobox.d.ts.map +1 -1
- package/dist/components/combobox/Combobox.esm.js +220 -101
- package/dist/components/combobox/Combobox.esm.js.map +1 -1
- package/dist/components/combobox/Combobox.styles.cjs.js +1 -1
- package/dist/components/combobox/Combobox.styles.cjs.js.map +1 -1
- package/dist/components/combobox/Combobox.styles.esm.js +1 -1
- package/dist/components/combobox/Combobox.styles.esm.js.map +1 -1
- package/dist/components/combobox/index.cjs.js +1 -1
- package/dist/components/combobox/index.esm.js +1 -1
- package/dist/components/combobox-option/ComboboxOption.cjs.js +1 -1
- package/dist/components/combobox-option/ComboboxOption.cjs.js.map +1 -1
- package/dist/components/combobox-option/ComboboxOption.esm.js +1 -1
- package/dist/components/combobox-option/index.cjs.js +1 -1
- package/dist/components/combobox-option/index.esm.js +1 -1
- package/dist/components/combobox-option.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/dialog/Dialog.cjs.js +2 -2
- package/dist/components/dialog/Dialog.cjs.js.map +1 -1
- package/dist/components/dialog/Dialog.d.ts.map +1 -1
- package/dist/components/dialog/Dialog.esm.js +2 -2
- package/dist/components/dialog/Dialog.esm.js.map +1 -1
- package/dist/components/dialog/index.cjs.js +1 -1
- package/dist/components/dialog/index.esm.js +1 -1
- package/dist/components/dialog-content/DialogContent.cjs.js +1 -1
- package/dist/components/dialog-content/DialogContent.cjs.js.map +1 -1
- package/dist/components/dialog-content/DialogContent.esm.js +1 -1
- package/dist/components/dialog-content/DialogContent.esm.js.map +1 -1
- package/dist/components/dialog-content/index.cjs.js +1 -1
- package/dist/components/dialog-content/index.esm.js +1 -1
- package/dist/components/dialog-content.js +1 -1
- package/dist/components/dialog-footer/DialogFooter.cjs.js +1 -1
- package/dist/components/dialog-footer/DialogFooter.cjs.js.map +1 -1
- package/dist/components/dialog-footer/DialogFooter.esm.js +1 -1
- package/dist/components/dialog-footer/DialogFooter.esm.js.map +1 -1
- package/dist/components/dialog-footer/index.cjs.js +1 -1
- package/dist/components/dialog-footer/index.esm.js +1 -1
- package/dist/components/dialog-footer.js +1 -1
- package/dist/components/dialog-header/DialogHeader.cjs.js +1 -1
- package/dist/components/dialog-header/DialogHeader.cjs.js.map +1 -1
- package/dist/components/dialog-header/DialogHeader.esm.js +1 -1
- package/dist/components/dialog-header/DialogHeader.esm.js.map +1 -1
- package/dist/components/dialog-header/index.cjs.js +1 -1
- package/dist/components/dialog-header/index.esm.js +1 -1
- package/dist/components/dialog-header.js +1 -1
- package/dist/components/dialog-provider/DialogProvider.cjs.js +1 -1
- package/dist/components/dialog-provider/DialogProvider.cjs.js.map +1 -1
- package/dist/components/dialog-provider/DialogProvider.esm.js +2 -2
- package/dist/components/dialog-provider/DialogProvider.esm.js.map +1 -1
- package/dist/components/dialog-provider/index.cjs.js +1 -1
- package/dist/components/dialog-provider/index.esm.js +1 -1
- package/dist/components/dialog-provider.js +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/dialogs-root/DialogsRoot.cjs.js +1 -1
- package/dist/components/dialogs-root/DialogsRoot.cjs.js.map +1 -1
- package/dist/components/dialogs-root/DialogsRoot.esm.js +1 -1
- package/dist/components/dialogs-root/index.cjs.js +1 -1
- package/dist/components/dialogs-root/index.esm.js +1 -1
- package/dist/components/dialogs-root.js +1 -1
- package/dist/components/footer.js +1 -1
- package/dist/components/guard/Guard.cjs.js +1 -1
- package/dist/components/guard/Guard.cjs.js.map +1 -1
- package/dist/components/guard/Guard.esm.js +1 -1
- package/dist/components/guard/index.cjs.js +1 -1
- package/dist/components/guard/index.esm.js +1 -1
- package/dist/components/guard.js +1 -1
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.esm.js +2 -2
- package/dist/components/input/Input.cjs.js +1 -1
- package/dist/components/input/Input.cjs.js.map +1 -1
- package/dist/components/input/Input.esm.js +1 -1
- package/dist/components/input/index.cjs.js +1 -1
- package/dist/components/input/index.esm.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/login-button/LoginButton.cjs.js +1 -1
- package/dist/components/login-button/LoginButton.cjs.js.map +1 -1
- package/dist/components/login-button/LoginButton.esm.js +1 -1
- package/dist/components/login-button/index.cjs.js +1 -1
- package/dist/components/login-button/index.esm.js +1 -1
- package/dist/components/login-button.js +1 -1
- package/dist/components/login-modal/LoginModal.cjs.js +1 -1
- package/dist/components/login-modal/LoginModal.cjs.js.map +1 -1
- package/dist/components/login-modal/LoginModal.esm.js +1 -1
- package/dist/components/login-modal/index.cjs.js +1 -1
- package/dist/components/login-modal/index.esm.js +1 -1
- package/dist/components/login-modal.js +1 -1
- package/dist/components/logout-button/LogoutButton.cjs.js +1 -1
- package/dist/components/logout-button/LogoutButton.cjs.js.map +1 -1
- package/dist/components/logout-button/LogoutButton.esm.js +1 -1
- package/dist/components/logout-button/index.cjs.js +1 -1
- package/dist/components/logout-button/index.esm.js +1 -1
- package/dist/components/logout-button.js +1 -1
- package/dist/components/menu/Menu.cjs.js +1 -1
- package/dist/components/menu/Menu.cjs.js.map +1 -1
- package/dist/components/menu/Menu.esm.js +1 -1
- package/dist/components/menu/Menu.esm.js.map +1 -1
- package/dist/components/menu/index.cjs.js +1 -1
- package/dist/components/menu/index.esm.js +1 -1
- package/dist/components/menu-item/MenuItem.cjs.js +6 -4
- package/dist/components/menu-item/MenuItem.cjs.js.map +1 -1
- package/dist/components/menu-item/MenuItem.d.ts.map +1 -1
- package/dist/components/menu-item/MenuItem.esm.js +6 -4
- package/dist/components/menu-item/MenuItem.esm.js.map +1 -1
- package/dist/components/menu-item/MenuItem.styles.cjs.js +1 -1
- package/dist/components/menu-item/MenuItem.styles.cjs.js.map +1 -1
- package/dist/components/menu-item/MenuItem.styles.esm.js +1 -1
- package/dist/components/menu-item/MenuItem.styles.esm.js.map +1 -1
- package/dist/components/menu-item/index.cjs.js +1 -1
- package/dist/components/menu-item/index.esm.js +1 -1
- package/dist/components/menu-item.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/provider/Provider.cjs.js +1 -1
- package/dist/components/provider/Provider.cjs.js.map +1 -1
- package/dist/components/provider/Provider.esm.js +1 -1
- package/dist/components/provider/index.cjs.js +1 -1
- package/dist/components/provider/index.esm.js +1 -1
- package/dist/components/provider.js +1 -1
- package/dist/components/select/Select.cjs.js +1 -1
- package/dist/components/select/Select.cjs.js.map +1 -1
- package/dist/components/select/Select.esm.js +1 -1
- package/dist/components/select/Select.esm.js.map +1 -1
- package/dist/components/select/index.cjs.js +1 -1
- package/dist/components/select/index.esm.js +1 -1
- package/dist/components/select-option/SelectOption.cjs.js +1 -1
- package/dist/components/select-option/SelectOption.cjs.js.map +1 -1
- package/dist/components/select-option/SelectOption.esm.js +1 -1
- package/dist/components/select-option/index.cjs.js +1 -1
- package/dist/components/select-option/index.esm.js +1 -1
- package/dist/components/select-option.js +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/signup-button/SignupButton.cjs.js +1 -1
- package/dist/components/signup-button/SignupButton.cjs.js.map +1 -1
- package/dist/components/signup-button/SignupButton.esm.js +1 -1
- package/dist/components/signup-button/index.cjs.js +1 -1
- package/dist/components/signup-button/index.esm.js +1 -1
- package/dist/components/signup-button.js +1 -1
- package/dist/components/solid-emblem/SolidEmblem.cjs.js +2 -0
- package/dist/components/solid-emblem/SolidEmblem.cjs.js.map +1 -0
- package/dist/components/solid-emblem/SolidEmblem.d.ts +6 -0
- package/dist/components/solid-emblem/SolidEmblem.d.ts.map +1 -0
- package/dist/components/solid-emblem/SolidEmblem.esm.js +178 -0
- package/dist/components/solid-emblem/SolidEmblem.esm.js.map +1 -0
- package/dist/components/solid-emblem/SolidEmblem.styles.cjs.js +2 -0
- package/dist/components/solid-emblem/SolidEmblem.styles.cjs.js.map +1 -0
- package/dist/components/solid-emblem/SolidEmblem.styles.esm.js +7 -0
- package/dist/components/solid-emblem/SolidEmblem.styles.esm.js.map +1 -0
- package/dist/components/solid-emblem/index.cjs.js +2 -0
- package/dist/components/solid-emblem/index.cjs.js.map +1 -0
- package/dist/components/solid-emblem/index.d.ts +4 -0
- package/dist/components/solid-emblem/index.d.ts.map +1 -0
- package/dist/components/solid-emblem/index.esm.js +7 -0
- package/dist/components/solid-emblem/index.esm.js.map +1 -0
- package/dist/components/solid-emblem.js +2 -0
- package/dist/components.js +23 -23
- package/dist/create/create.cjs.js.map +1 -1
- package/dist/create/create.esm.js.map +1 -1
- package/dist/create/index.cjs.js.map +1 -1
- package/dist/footer/index.cjs.js +1 -1
- package/dist/footer/index.esm.js +1 -1
- package/dist/header/index.cjs.js +1 -1
- package/dist/header/index.cjs.js.map +1 -1
- package/dist/header/index.esm.js +1 -1
- package/dist/header/index.esm.js.map +1 -1
- package/dist/index.js +6 -7
- package/dist/lib/auth/SolidAuth.cjs.js.map +1 -1
- package/dist/lib/auth/SolidAuth.esm.js.map +1 -1
- package/dist/lib/auth/context.cjs.js.map +1 -1
- package/dist/lib/auth/index.cjs.js +1 -1
- package/dist/lib/auth/index.esm.js +5 -4
- package/dist/lib/components/ids.cjs.js.map +1 -1
- package/dist/lib/components/ids.esm.js.map +1 -1
- package/dist/lib/components/index.cjs.js +1 -1
- package/dist/lib/components/index.esm.js +6 -5
- package/dist/lib/components/traits/DialogTrait.cjs.js.map +1 -1
- package/dist/lib/components/traits/DialogTrait.esm.js.map +1 -1
- package/dist/lib/components/traits/InputTrait.cjs.js +1 -1
- package/dist/lib/components/traits/InputTrait.cjs.js.map +1 -1
- package/dist/lib/components/traits/InputTrait.d.ts +1 -0
- package/dist/lib/components/traits/InputTrait.d.ts.map +1 -1
- package/dist/lib/components/traits/InputTrait.esm.js +3 -2
- package/dist/lib/components/traits/InputTrait.esm.js.map +1 -1
- package/dist/lib/components/traits/index.cjs.js +1 -1
- package/dist/lib/components/traits/index.esm.js +3 -2
- package/dist/lib/components/web-component/WebComponent.cjs.js +1 -1
- package/dist/lib/components/web-component/WebComponent.cjs.js.map +1 -1
- package/dist/lib/components/web-component/WebComponent.d.ts.map +1 -1
- package/dist/lib/components/web-component/WebComponent.esm.js +1 -6
- package/dist/lib/components/web-component/WebComponent.esm.js.map +1 -1
- package/dist/lib/components/web-component/WebComponent.styles.cjs.js.map +1 -1
- package/dist/lib/components/web-component/WebComponent.styles.esm.js.map +1 -1
- package/dist/lib/components/web-component/index.cjs.js +1 -1
- package/dist/lib/components/web-component/index.esm.js +2 -1
- package/dist/lib/dialogs/context.cjs.js.map +1 -1
- package/dist/lib/dialogs/index.cjs.js +1 -1
- package/dist/lib/dialogs/index.esm.js +6 -5
- package/dist/lib/forms/rdfHelper.d.ts +4 -0
- package/dist/lib/forms/rdfHelper.d.ts.map +1 -0
- package/dist/lib/log.cjs.js +1 -1
- package/dist/lib/log.cjs.js.map +1 -1
- package/dist/lib/log.esm.js +1 -1
- package/dist/lib/log.esm.js.map +1 -1
- package/dist/lib/messageArea.cjs.js.map +1 -1
- package/dist/lib/messageArea.esm.js.map +1 -1
- package/dist/lib/ns.cjs.js.map +1 -1
- package/dist/lib/pad.cjs.js +1 -1
- package/dist/lib/pad.cjs.js.map +1 -1
- package/dist/lib/pad.esm.js +1 -1
- package/dist/lib/pad.esm.js.map +1 -1
- package/dist/lib/participation.cjs.js.map +1 -1
- package/dist/lib/participation.esm.js.map +1 -1
- package/dist/lib/preferences.cjs.js +1 -1
- package/dist/lib/preferences.cjs.js.map +1 -1
- package/dist/lib/preferences.esm.js +1 -1
- package/dist/lib/preferences.esm.js.map +1 -1
- package/dist/lib/table.cjs.js.map +1 -1
- package/dist/lib/table.esm.js.map +1 -1
- package/dist/lib/tabs.cjs.js +1 -1
- package/dist/lib/tabs.cjs.js.map +1 -1
- package/dist/lib/tabs.esm.js +1 -1
- package/dist/lib/tabs.esm.js.map +1 -1
- package/dist/loader.js +6 -7
- package/dist/login/login.cjs.js +1 -1
- package/dist/login/login.cjs.js.map +1 -1
- package/dist/login/login.esm.js +1 -1
- package/dist/login/login.esm.js.map +1 -1
- package/dist/matrix/index.cjs.js.map +1 -1
- package/dist/matrix/matrix.cjs.js.map +1 -1
- package/dist/matrix/matrix.esm.js.map +1 -1
- package/dist/media/media-capture.cjs.js.map +1 -1
- package/dist/media/media-capture.esm.js.map +1 -1
- package/dist/signup/signup.cjs.js.map +1 -1
- package/dist/signup/signup.esm.js.map +1 -1
- package/dist/solid-ui.js +321 -1380
- package/dist/solid-ui.min.js +321 -1380
- package/dist/solid-ui.min.js.map +1 -1
- package/dist/theme.css +1 -1
- package/dist/utils/headerFooterHelpers.cjs.js.map +1 -1
- package/dist/utils/headerFooterHelpers.esm.js.map +1 -1
- package/dist/utils/index.cjs.js +2 -2
- package/dist/utils/index.cjs.js.map +1 -1
- package/dist/utils/index.esm.js +1 -1
- package/dist/utils/index.esm.js.map +1 -1
- package/dist/utils/keyHelpers/accessData.cjs.js +1 -1
- package/dist/utils/keyHelpers/accessData.cjs.js.map +1 -1
- package/dist/utils/keyHelpers/accessData.esm.js +1 -1
- package/dist/utils/keyHelpers/accessData.esm.js.map +1 -1
- package/dist/utils/keyHelpers/acl.cjs.js.map +1 -1
- package/dist/utils/keyHelpers/acl.esm.js.map +1 -1
- package/dist/utils/keyHelpers/otherHelpers.cjs.js.map +1 -1
- package/dist/utils/keyHelpers/otherHelpers.esm.js.map +1 -1
- package/dist/utils/label.cjs.js.map +1 -1
- package/dist/utils/label.esm.js.map +1 -1
- package/dist/v2/components/layout/footer/index.cjs.js +1 -1
- package/dist/v2/components/layout/footer/index.esm.js +1 -0
- package/dist/v2/components/media/photoCapture/PhotoCapture.cjs.js.map +1 -1
- package/dist/v2/components/media/photoCapture/PhotoCapture.esm.js.map +1 -1
- package/dist/v2/components/media/photoCapture/index.cjs.js +1 -1
- package/dist/v2/components/media/photoCapture/index.esm.js +1 -0
- package/dist/widgets/buttons/iconLinks.cjs.js.map +1 -1
- package/dist/widgets/buttons/iconLinks.esm.js.map +1 -1
- package/dist/widgets/buttons.cjs.js.map +1 -1
- package/dist/widgets/buttons.esm.js.map +1 -1
- package/dist/widgets/dragAndDrop.cjs.js.map +1 -1
- package/dist/widgets/dragAndDrop.esm.js.map +1 -1
- package/dist/widgets/error.cjs.js.map +1 -1
- package/dist/widgets/error.esm.js.map +1 -1
- package/dist/widgets/forms/autocomplete/autocompleteField.cjs.js.map +1 -1
- package/dist/widgets/forms/autocomplete/autocompleteField.esm.js.map +1 -1
- package/dist/widgets/forms/autocomplete/autocompletePicker.cjs.js.map +1 -1
- package/dist/widgets/forms/autocomplete/autocompletePicker.esm.js.map +1 -1
- package/dist/widgets/forms/autocomplete/language.cjs.js +1 -1
- package/dist/widgets/forms/autocomplete/language.cjs.js.map +1 -1
- package/dist/widgets/forms/autocomplete/language.esm.js +1 -1
- package/dist/widgets/forms/autocomplete/language.esm.js.map +1 -1
- package/dist/widgets/forms/autocomplete/publicData.cjs.js +1 -1
- package/dist/widgets/forms/autocomplete/publicData.cjs.js.map +1 -1
- package/dist/widgets/forms/autocomplete/publicData.esm.js +1 -1
- package/dist/widgets/forms/autocomplete/publicData.esm.js.map +1 -1
- package/dist/widgets/forms/basic.cjs.js.map +1 -1
- package/dist/widgets/forms/basic.esm.js.map +1 -1
- package/dist/widgets/forms/fieldFunction.cjs.js.map +1 -1
- package/dist/widgets/forms/fieldParams.cjs.js.map +1 -1
- package/dist/widgets/forms/fieldParams.esm.js.map +1 -1
- package/dist/widgets/forms/formStyle.cjs.js.map +1 -1
- package/dist/widgets/forms/formStyle.esm.js.map +1 -1
- package/dist/widgets/forms.cjs.js +1 -1
- package/dist/widgets/forms.cjs.js.map +1 -1
- package/dist/widgets/forms.esm.js +1 -1
- package/dist/widgets/forms.esm.js.map +1 -1
- package/dist/widgets/index.cjs.js +1 -1
- package/dist/widgets/index.esm.js +65 -65
- package/dist/widgets/multiSelect.cjs.js.map +1 -1
- package/dist/widgets/multiSelect.esm.js.map +1 -1
- package/dist/widgets/peoplePicker.cjs.js.map +1 -1
- package/dist/widgets/peoplePicker.esm.js.map +1 -1
- package/dist/widgets/widgetHelpers.cjs.js.map +1 -1
- package/dist/widgets/widgetHelpers.esm.js.map +1 -1
- package/package.json +14 -11
- package/dist/chunks/DialogProvider-DphduSXG.js.map +0 -1
- package/dist/chunks/account-CFhrB0LO.js.map +0 -1
- package/dist/chunks/avatar-D281qln0.js.map +0 -1
- package/dist/chunks/combobox-Dtgc8qqO.js +0 -354
- package/dist/chunks/combobox-Dtgc8qqO.js.map +0 -1
- package/dist/chunks/components-BlEGdx4i.js.map +0 -1
- package/dist/chunks/dialog-DlBtmOm6.js.map +0 -1
- package/dist/chunks/header-Bqd2CEK3.js +0 -1486
- package/dist/chunks/header-Bqd2CEK3.js.map +0 -1
- package/dist/chunks/iconBase-DJ0zbNSL.js +0 -31
- package/dist/chunks/iconBase-DJ0zbNSL.js.map +0 -1
- package/dist/chunks/menu-aQiqq1ET.js.map +0 -1
- package/dist/chunks/menu-item-DBy4o-M4.js.map +0 -1
- package/dist/chunks/solid-logic.esm-7q6hmfIF.js.map +0 -1
- package/dist/chunks/src-BOU-JwWx.js.map +0 -1
- package/dist/components/header/index.cjs.js +0 -1
- package/dist/components/header/index.d.ts +0 -2
- package/dist/components/header/index.d.ts.map +0 -1
- package/dist/components/header/index.esm.js +0 -3
- package/dist/components/header.js +0 -2
- package/dist/lib/features.cjs.js +0 -2
- package/dist/lib/features.cjs.js.map +0 -1
- package/dist/lib/features.d.ts +0 -8
- package/dist/lib/features.d.ts.map +0 -1
- package/dist/lib/features.esm.js +0 -6
- package/dist/lib/features.esm.js.map +0 -1
- package/dist/solid-ui.js.map +0 -1
- package/dist/v2/components/actions/button/Button.d.ts +0 -97
- package/dist/v2/components/actions/button/Button.d.ts.map +0 -1
- package/dist/v2/components/actions/button/Button.test.d.ts +0 -1
- package/dist/v2/components/actions/button/Button.test.d.ts.map +0 -1
- package/dist/v2/components/actions/button/index.d.ts +0 -8
- package/dist/v2/components/actions/button/index.d.ts.map +0 -1
- package/dist/v2/components/auth/loginButton/LoginButton.cjs.js +0 -414
- package/dist/v2/components/auth/loginButton/LoginButton.cjs.js.map +0 -1
- package/dist/v2/components/auth/loginButton/LoginButton.esm.js +0 -519
- package/dist/v2/components/auth/loginButton/LoginButton.esm.js.map +0 -1
- package/dist/v2/components/auth/loginButton/downArrow.cjs.js +0 -9
- package/dist/v2/components/auth/loginButton/downArrow.cjs.js.map +0 -1
- package/dist/v2/components/auth/loginButton/downArrow.esm.js +0 -14
- package/dist/v2/components/auth/loginButton/downArrow.esm.js.map +0 -1
- package/dist/v2/components/auth/loginButton/index.cjs.js +0 -2
- package/dist/v2/components/auth/loginButton/index.cjs.js.map +0 -1
- package/dist/v2/components/auth/loginButton/index.esm.js +0 -7
- package/dist/v2/components/auth/loginButton/index.esm.js.map +0 -1
- package/dist/v2/components/auth/signupButton/SignupButton.cjs.js +0 -59
- package/dist/v2/components/auth/signupButton/SignupButton.cjs.js.map +0 -1
- package/dist/v2/components/auth/signupButton/SignupButton.esm.js +0 -98
- package/dist/v2/components/auth/signupButton/SignupButton.esm.js.map +0 -1
- package/dist/v2/components/auth/signupButton/index.cjs.js +0 -2
- package/dist/v2/components/auth/signupButton/index.cjs.js.map +0 -1
- package/dist/v2/components/auth/signupButton/index.esm.js +0 -7
- package/dist/v2/components/auth/signupButton/index.esm.js.map +0 -1
- package/dist/v2/components/forms/combobox/Combobox.d.ts +0 -82
- package/dist/v2/components/forms/combobox/Combobox.d.ts.map +0 -1
- package/dist/v2/components/forms/combobox/Combobox.test.d.ts +0 -1
- package/dist/v2/components/forms/combobox/Combobox.test.d.ts.map +0 -1
- package/dist/v2/components/forms/combobox/comboboxTypes.d.ts +0 -6
- package/dist/v2/components/forms/combobox/comboboxTypes.d.ts.map +0 -1
- package/dist/v2/components/forms/combobox/index.d.ts +0 -3
- package/dist/v2/components/forms/combobox/index.d.ts.map +0 -1
- package/dist/v2/components/forms/select/Select.d.ts +0 -68
- package/dist/v2/components/forms/select/Select.d.ts.map +0 -1
- package/dist/v2/components/forms/select/Select.test.d.ts +0 -1
- package/dist/v2/components/forms/select/Select.test.d.ts.map +0 -1
- package/dist/v2/components/forms/select/index.d.ts +0 -3
- package/dist/v2/components/forms/select/index.d.ts.map +0 -1
- package/dist/v2/components/forms/shared/downArrow.d.ts +0 -2
- package/dist/v2/components/forms/shared/downArrow.d.ts.map +0 -1
- package/dist/v2/components/forms/shared/keyboard.d.ts +0 -7
- package/dist/v2/components/forms/shared/keyboard.d.ts.map +0 -1
- package/dist/v2/components/forms/shared/listboxStyles.d.ts +0 -2
- package/dist/v2/components/forms/shared/listboxStyles.d.ts.map +0 -1
- package/dist/v2/components/forms/shared/listboxTemplate.d.ts +0 -11
- package/dist/v2/components/forms/shared/listboxTemplate.d.ts.map +0 -1
- package/dist/v2/components/forms/shared/optionTypes.d.ts +0 -6
- package/dist/v2/components/forms/shared/optionTypes.d.ts.map +0 -1
- package/dist/v2/components/layout/header/Header.cjs.js +0 -625
- package/dist/v2/components/layout/header/Header.cjs.js.map +0 -1
- package/dist/v2/components/layout/header/Header.d.ts +0 -160
- package/dist/v2/components/layout/header/Header.d.ts.map +0 -1
- package/dist/v2/components/layout/header/Header.esm.js +0 -873
- package/dist/v2/components/layout/header/Header.esm.js.map +0 -1
- package/dist/v2/components/layout/header/header.test.d.ts +0 -1
- package/dist/v2/components/layout/header/header.test.d.ts.map +0 -1
- package/dist/v2/components/layout/header/index.cjs.js +0 -2
- package/dist/v2/components/layout/header/index.cjs.js.map +0 -1
- package/dist/v2/components/layout/header/index.d.ts +0 -4
- package/dist/v2/components/layout/header/index.d.ts.map +0 -1
- package/dist/v2/components/layout/header/index.esm.js +0 -7
- package/dist/v2/components/layout/header/index.esm.js.map +0 -1
|
@@ -0,0 +1,1516 @@
|
|
|
1
|
+
import { c as e, i as t, r as n, t as r } from "./lit-C4H1jI4q.js";
|
|
2
|
+
import { i, r as a, t as o } from "./decorators-BiCkPd_3.js";
|
|
3
|
+
//#region node_modules/@awesome.me/webawesome/dist/chunks/chunk.ZWQCGLB5.js
|
|
4
|
+
var s = class extends Event {
|
|
5
|
+
constructor() {
|
|
6
|
+
super("wa-reposition", {
|
|
7
|
+
bubbles: !0,
|
|
8
|
+
cancelable: !1,
|
|
9
|
+
composed: !0
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
}, c = e`
|
|
13
|
+
:host {
|
|
14
|
+
--arrow-color: black;
|
|
15
|
+
--arrow-size: var(--wa-tooltip-arrow-size);
|
|
16
|
+
--popup-border-width: 0px;
|
|
17
|
+
--show-duration: var(--wa-transition-fast);
|
|
18
|
+
--hide-duration: var(--wa-transition-fast);
|
|
19
|
+
|
|
20
|
+
/*
|
|
21
|
+
* These properties are computed to account for the arrow's dimensions after being rotated 45º. The constant
|
|
22
|
+
* 0.7071 is derived from sin(45) to calculate the length of the arrow after rotation.
|
|
23
|
+
*
|
|
24
|
+
* The diamond will be translated inward by --arrow-base-offset, the border thickness, to centralise it on
|
|
25
|
+
* the inner edge of the popup border. This also means we need to increase the size of the arrow by the
|
|
26
|
+
* same amount to compensate.
|
|
27
|
+
*
|
|
28
|
+
* A diamond shaped clipping mask is used to avoid overlap of popup content. This extends slightly inward so
|
|
29
|
+
* the popup border is covered with no sub-pixel rounding artifacts. The diamond corners are mitred at 22.5º
|
|
30
|
+
* to properly merge any arrow border with the popup border. The constant 1.4142 is derived from 1 + tan(22.5).
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
--arrow-base-offset: var(--popup-border-width);
|
|
34
|
+
--arrow-size-diagonal: calc((var(--arrow-size) + var(--arrow-base-offset)) * 0.7071);
|
|
35
|
+
--arrow-padding-offset: calc(var(--arrow-size-diagonal) - var(--arrow-size));
|
|
36
|
+
--arrow-size-div: calc(var(--arrow-size-diagonal) * 2);
|
|
37
|
+
--arrow-clipping-corner: calc(var(--arrow-base-offset) * 1.4142);
|
|
38
|
+
|
|
39
|
+
display: contents;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.popup {
|
|
43
|
+
position: absolute;
|
|
44
|
+
isolation: isolate;
|
|
45
|
+
max-width: var(--auto-size-available-width, none);
|
|
46
|
+
max-height: var(--auto-size-available-height, none);
|
|
47
|
+
|
|
48
|
+
/* Clear UA styles for [popover] */
|
|
49
|
+
:where(&) {
|
|
50
|
+
inset: unset;
|
|
51
|
+
padding: unset;
|
|
52
|
+
margin: unset;
|
|
53
|
+
width: unset;
|
|
54
|
+
height: unset;
|
|
55
|
+
color: unset;
|
|
56
|
+
background: unset;
|
|
57
|
+
border: unset;
|
|
58
|
+
overflow: unset;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.popup-fixed {
|
|
63
|
+
position: fixed;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.popup:not(.popup-active) {
|
|
67
|
+
display: none;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.arrow {
|
|
71
|
+
position: absolute;
|
|
72
|
+
width: var(--arrow-size-div);
|
|
73
|
+
height: var(--arrow-size-div);
|
|
74
|
+
background: var(--arrow-color);
|
|
75
|
+
z-index: 3;
|
|
76
|
+
clip-path: polygon(
|
|
77
|
+
var(--arrow-clipping-corner) 100%,
|
|
78
|
+
var(--arrow-base-offset) calc(100% - var(--arrow-base-offset)),
|
|
79
|
+
calc(var(--arrow-base-offset) - 2px) calc(100% - var(--arrow-base-offset)),
|
|
80
|
+
calc(100% - var(--arrow-base-offset)) calc(var(--arrow-base-offset) - 2px),
|
|
81
|
+
calc(100% - var(--arrow-base-offset)) var(--arrow-base-offset),
|
|
82
|
+
100% var(--arrow-clipping-corner),
|
|
83
|
+
100% 100%
|
|
84
|
+
);
|
|
85
|
+
rotate: 45deg;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
:host([data-current-placement|='left']) .arrow {
|
|
89
|
+
rotate: -45deg;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:host([data-current-placement|='right']) .arrow {
|
|
93
|
+
rotate: 135deg;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
:host([data-current-placement|='bottom']) .arrow {
|
|
97
|
+
rotate: 225deg;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/* Hover bridge */
|
|
101
|
+
.popup-hover-bridge:not(.popup-hover-bridge-visible) {
|
|
102
|
+
display: none;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.popup-hover-bridge {
|
|
106
|
+
position: fixed;
|
|
107
|
+
z-index: 899;
|
|
108
|
+
top: 0;
|
|
109
|
+
right: 0;
|
|
110
|
+
bottom: 0;
|
|
111
|
+
left: 0;
|
|
112
|
+
clip-path: polygon(
|
|
113
|
+
var(--hover-bridge-top-left-x, 0) var(--hover-bridge-top-left-y, 0),
|
|
114
|
+
var(--hover-bridge-top-right-x, 0) var(--hover-bridge-top-right-y, 0),
|
|
115
|
+
var(--hover-bridge-bottom-right-x, 0) var(--hover-bridge-bottom-right-y, 0),
|
|
116
|
+
var(--hover-bridge-bottom-left-x, 0) var(--hover-bridge-bottom-left-y, 0)
|
|
117
|
+
);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/* Built-in animations */
|
|
121
|
+
.show {
|
|
122
|
+
animation: show var(--show-duration) ease;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.hide {
|
|
126
|
+
animation: show var(--hide-duration) ease reverse;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
@keyframes show {
|
|
130
|
+
from {
|
|
131
|
+
opacity: 0;
|
|
132
|
+
}
|
|
133
|
+
to {
|
|
134
|
+
opacity: 1;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.show-with-scale {
|
|
139
|
+
animation: show-with-scale var(--show-duration) ease;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.hide-with-scale {
|
|
143
|
+
animation: show-with-scale var(--hide-duration) ease reverse;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@keyframes show-with-scale {
|
|
147
|
+
from {
|
|
148
|
+
opacity: 0;
|
|
149
|
+
scale: 0.8;
|
|
150
|
+
}
|
|
151
|
+
to {
|
|
152
|
+
opacity: 1;
|
|
153
|
+
scale: 1;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
`, l = Object.defineProperty, u = Object.getOwnPropertyDescriptor, d = (e) => {
|
|
157
|
+
throw TypeError(e);
|
|
158
|
+
}, f = (e, t, n, r) => {
|
|
159
|
+
for (var i = r > 1 ? void 0 : r ? u(t, n) : t, a = e.length - 1, o; a >= 0; a--) (o = e[a]) && (i = (r ? o(t, n, i) : o(i)) || i);
|
|
160
|
+
return r && i && l(t, n, i), i;
|
|
161
|
+
}, p = (e, t, n) => t.has(e) || d("Cannot " + n), m = (e, t, n) => (p(e, t, "read from private field"), n ? n.call(e) : t.get(e)), h = (e, t, n) => t.has(e) ? d("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), g = (e, t, n, r) => (p(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), _ = e`
|
|
162
|
+
:host {
|
|
163
|
+
box-sizing: border-box;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
:host *,
|
|
167
|
+
:host *::before,
|
|
168
|
+
:host *::after {
|
|
169
|
+
box-sizing: inherit;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
[hidden],
|
|
173
|
+
:host([hidden]) {
|
|
174
|
+
display: none !important;
|
|
175
|
+
}
|
|
176
|
+
`, v = /;\s+$/;
|
|
177
|
+
function y(e) {
|
|
178
|
+
return e.replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`);
|
|
179
|
+
}
|
|
180
|
+
function b(e) {
|
|
181
|
+
let { property: t, value: n, element: r } = e;
|
|
182
|
+
if (n) {
|
|
183
|
+
let e = r.getAttribute("style") || "";
|
|
184
|
+
e && (e.match(v) || (e += ";"), e += " ");
|
|
185
|
+
let i = `${t}: ${n}`;
|
|
186
|
+
return e.includes(i) ? void 0 : `${e}${i};`;
|
|
187
|
+
}
|
|
188
|
+
return null;
|
|
189
|
+
}
|
|
190
|
+
var x, S = class extends r {
|
|
191
|
+
constructor() {
|
|
192
|
+
super(), h(this, x, !1), this.initialReflectedProperties = /* @__PURE__ */ new Map(), this.didSSR = !!this.shadowRoot, this.customStates = {
|
|
193
|
+
set: (e, t) => {
|
|
194
|
+
if (this.internals?.states) try {
|
|
195
|
+
t ? this.internals.states.add(e) : this.internals.states.delete(e);
|
|
196
|
+
} catch (e) {
|
|
197
|
+
if (String(e).includes("must start with '--'")) console.error("Your browser implements an outdated version of CustomStateSet. Consider using a polyfill");
|
|
198
|
+
else throw e;
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
has: (e) => {
|
|
202
|
+
if (!this.internals?.states) return !1;
|
|
203
|
+
try {
|
|
204
|
+
return this.internals.states.has(e);
|
|
205
|
+
} catch {
|
|
206
|
+
return !1;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
try {
|
|
211
|
+
this.internals = this.attachInternals();
|
|
212
|
+
} catch {
|
|
213
|
+
console.error("Element internals are not supported in your browser. Consider using a polyfill");
|
|
214
|
+
}
|
|
215
|
+
this.customStates.set("wa-defined", !0);
|
|
216
|
+
let e = this.constructor;
|
|
217
|
+
for (let [t, n] of e.elementProperties) n.default === "inherit" && n.initial !== void 0 && typeof t == "string" && this.customStates.set(`initial-${t}-${n.initial}`, !0);
|
|
218
|
+
}
|
|
219
|
+
static get styles() {
|
|
220
|
+
return [_, ...Array.isArray(this.css) ? this.css : this.css ? [this.css] : []];
|
|
221
|
+
}
|
|
222
|
+
connectedCallback() {
|
|
223
|
+
super.connectedCallback(), this.didSSR || this.shadowRoot?.prepend(document.createComment(` Web Awesome: https://webawesome.com/docs/components/${this.localName.replace("wa-", "")} `)), this.didSSR && this.updateComplete.then(() => {
|
|
224
|
+
this.shadowRoot?.prepend(document.createComment(` Web Awesome: https://webawesome.com/docs/components/${this.localName.replace("wa-", "")} `));
|
|
225
|
+
});
|
|
226
|
+
}
|
|
227
|
+
attributeChangedCallback(e, t, n) {
|
|
228
|
+
m(this, x) || (this.constructor.elementProperties.forEach((e, t) => {
|
|
229
|
+
e.reflect && this[t] != null && this.initialReflectedProperties.set(t, this[t]);
|
|
230
|
+
}), g(this, x, !0)), super.attributeChangedCallback(e, t, n);
|
|
231
|
+
}
|
|
232
|
+
willUpdate(e) {
|
|
233
|
+
super.willUpdate(e), this.initialReflectedProperties.forEach((t, n) => {
|
|
234
|
+
e.has(n) && this[n] == null && (this[n] = t);
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
firstUpdated(e) {
|
|
238
|
+
super.firstUpdated(e), this.didSSR && this.shadowRoot?.querySelectorAll("slot").forEach((e) => {
|
|
239
|
+
e.dispatchEvent(new Event("slotchange", {
|
|
240
|
+
bubbles: !0,
|
|
241
|
+
composed: !1,
|
|
242
|
+
cancelable: !1
|
|
243
|
+
}));
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
update(e) {
|
|
247
|
+
try {
|
|
248
|
+
super.update(e);
|
|
249
|
+
} catch (e) {
|
|
250
|
+
if (this.didSSR && !this.hasUpdated) {
|
|
251
|
+
let t = new Event("lit-hydration-error", {
|
|
252
|
+
bubbles: !0,
|
|
253
|
+
composed: !0,
|
|
254
|
+
cancelable: !1
|
|
255
|
+
});
|
|
256
|
+
t.error = e, this.dispatchEvent(t);
|
|
257
|
+
}
|
|
258
|
+
throw e;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
setStyle(e, t) {
|
|
262
|
+
if (!this.style) {
|
|
263
|
+
let n = b({
|
|
264
|
+
property: y(e),
|
|
265
|
+
value: t,
|
|
266
|
+
element: this
|
|
267
|
+
});
|
|
268
|
+
n && this.setAttribute("style", n);
|
|
269
|
+
return;
|
|
270
|
+
}
|
|
271
|
+
this.style[e] = t;
|
|
272
|
+
}
|
|
273
|
+
setStyleProperty(e, t) {
|
|
274
|
+
if (!this.style) {
|
|
275
|
+
let n = b({
|
|
276
|
+
property: e,
|
|
277
|
+
value: t,
|
|
278
|
+
element: this
|
|
279
|
+
});
|
|
280
|
+
n && this.setAttribute("style", n);
|
|
281
|
+
return;
|
|
282
|
+
}
|
|
283
|
+
this.style.setProperty(e, t);
|
|
284
|
+
}
|
|
285
|
+
relayNativeEvent(e, t) {
|
|
286
|
+
e.stopImmediatePropagation(), this.dispatchEvent(new e.constructor(e.type, {
|
|
287
|
+
...e,
|
|
288
|
+
...t
|
|
289
|
+
}));
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
x = /* @__PURE__ */ new WeakMap(), f([a()], S.prototype, "dir", 2), f([a()], S.prototype, "lang", 2), f([a({
|
|
293
|
+
type: Boolean,
|
|
294
|
+
reflect: !0,
|
|
295
|
+
attribute: "did-ssr"
|
|
296
|
+
})], S.prototype, "didSSR", 2);
|
|
297
|
+
//#endregion
|
|
298
|
+
//#region node_modules/@shoelace-style/localize/dist/index.js
|
|
299
|
+
var C = /* @__PURE__ */ new Set(), w = /* @__PURE__ */ new Map(), T, E = "ltr", D = "en", O = typeof MutationObserver < "u" && typeof document < "u" && document.documentElement !== void 0;
|
|
300
|
+
if (O) {
|
|
301
|
+
let e = new MutationObserver(k);
|
|
302
|
+
E = document.documentElement.dir || "ltr", D = document.documentElement.lang || navigator.language, e.observe(document.documentElement, {
|
|
303
|
+
attributes: !0,
|
|
304
|
+
attributeFilter: ["dir", "lang"]
|
|
305
|
+
});
|
|
306
|
+
}
|
|
307
|
+
function ee(...e) {
|
|
308
|
+
e.map((e) => {
|
|
309
|
+
let t = e.$code.toLowerCase();
|
|
310
|
+
w.has(t) ? w.set(t, Object.assign(Object.assign({}, w.get(t)), e)) : w.set(t, e), T ||= e;
|
|
311
|
+
}), k();
|
|
312
|
+
}
|
|
313
|
+
function k() {
|
|
314
|
+
O && (E = document.documentElement.dir || "ltr", D = document.documentElement.lang || navigator.language), [...C.keys()].map((e) => {
|
|
315
|
+
typeof e.requestUpdate == "function" && e.requestUpdate();
|
|
316
|
+
});
|
|
317
|
+
}
|
|
318
|
+
var te = class {
|
|
319
|
+
constructor(e) {
|
|
320
|
+
this.host = e, this.host.addController(this);
|
|
321
|
+
}
|
|
322
|
+
hostConnected() {
|
|
323
|
+
C.add(this.host);
|
|
324
|
+
}
|
|
325
|
+
hostDisconnected() {
|
|
326
|
+
C.delete(this.host);
|
|
327
|
+
}
|
|
328
|
+
dir() {
|
|
329
|
+
return `${this.host.dir || E}`.toLowerCase();
|
|
330
|
+
}
|
|
331
|
+
lang() {
|
|
332
|
+
return `${this.host.lang || D}`.toLowerCase();
|
|
333
|
+
}
|
|
334
|
+
getTranslationData(e) {
|
|
335
|
+
let t;
|
|
336
|
+
try {
|
|
337
|
+
t = new Intl.Locale(e.replace(/_/g, "-"));
|
|
338
|
+
} catch {
|
|
339
|
+
return {
|
|
340
|
+
locale: void 0,
|
|
341
|
+
language: "",
|
|
342
|
+
region: "",
|
|
343
|
+
primary: void 0,
|
|
344
|
+
secondary: void 0
|
|
345
|
+
};
|
|
346
|
+
}
|
|
347
|
+
let n = t.language.toLowerCase(), r = t.region?.toLowerCase() ?? "", i = w.get(`${n}-${r}`), a = w.get(n);
|
|
348
|
+
return {
|
|
349
|
+
locale: t,
|
|
350
|
+
language: n,
|
|
351
|
+
region: r,
|
|
352
|
+
primary: i,
|
|
353
|
+
secondary: a
|
|
354
|
+
};
|
|
355
|
+
}
|
|
356
|
+
exists(e, t) {
|
|
357
|
+
let { primary: n, secondary: r } = this.getTranslationData(t.lang ?? this.lang());
|
|
358
|
+
return t = Object.assign({ includeFallback: !1 }, t), !!(n && n[e] || r && r[e] || t.includeFallback && T && T[e]);
|
|
359
|
+
}
|
|
360
|
+
term(e, ...t) {
|
|
361
|
+
let { primary: n, secondary: r } = this.getTranslationData(this.lang()), i;
|
|
362
|
+
if (n && n[e]) i = n[e];
|
|
363
|
+
else if (r && r[e]) i = r[e];
|
|
364
|
+
else if (T && T[e]) i = T[e];
|
|
365
|
+
else return console.error(`No translation found for: ${String(e)}`), String(e);
|
|
366
|
+
return typeof i == "function" ? i(...t) : i;
|
|
367
|
+
}
|
|
368
|
+
date(e, t) {
|
|
369
|
+
return e = new Date(e), new Intl.DateTimeFormat(this.lang(), t).format(e);
|
|
370
|
+
}
|
|
371
|
+
number(e, t) {
|
|
372
|
+
return e = Number(e), isNaN(e) ? "" : new Intl.NumberFormat(this.lang(), t).format(e);
|
|
373
|
+
}
|
|
374
|
+
relativeTime(e, t, n) {
|
|
375
|
+
return new Intl.RelativeTimeFormat(this.lang(), n).format(e, t);
|
|
376
|
+
}
|
|
377
|
+
}, A = {
|
|
378
|
+
$code: "en",
|
|
379
|
+
$name: "English",
|
|
380
|
+
$dir: "ltr",
|
|
381
|
+
carousel: "Carousel",
|
|
382
|
+
captions: "Captions",
|
|
383
|
+
chooseDate: "Choose date",
|
|
384
|
+
chooseDecade: "Choose decade",
|
|
385
|
+
chooseMonth: "Choose month",
|
|
386
|
+
chooseYear: "Choose year",
|
|
387
|
+
clearEntry: "Clear entry",
|
|
388
|
+
close: "Close",
|
|
389
|
+
closeCalendar: "Close calendar",
|
|
390
|
+
createOption: (e) => `Create "${e}"`,
|
|
391
|
+
copied: "Copied",
|
|
392
|
+
copy: "Copy",
|
|
393
|
+
currentValue: "Current value",
|
|
394
|
+
date: "Date",
|
|
395
|
+
datePickerKeyboardHelp: "Use arrow keys to change values; press Alt+Down Arrow to open the calendar.",
|
|
396
|
+
day: "Day",
|
|
397
|
+
incompleteDate: "Enter a complete date.",
|
|
398
|
+
dropFileHere: "Drop file here or click to browse",
|
|
399
|
+
decrement: "Decrement",
|
|
400
|
+
dropFilesHere: "Drop files here or click to browse",
|
|
401
|
+
empty: "Empty",
|
|
402
|
+
endDate: "End date",
|
|
403
|
+
error: "Error",
|
|
404
|
+
enterFullscreen: "Enter fullscreen",
|
|
405
|
+
exitFullscreen: "Exit fullscreen",
|
|
406
|
+
goToSlide: (e, t) => `Go to slide ${e} of ${t}`,
|
|
407
|
+
hidePassword: "Hide password",
|
|
408
|
+
increment: "Increment",
|
|
409
|
+
loading: "Loading",
|
|
410
|
+
month: "Month",
|
|
411
|
+
moreOptions: "More Options",
|
|
412
|
+
mute: "Mute",
|
|
413
|
+
nextDecade: "Next decade",
|
|
414
|
+
nextMonth: "Next month",
|
|
415
|
+
nextSlide: "Next slide",
|
|
416
|
+
nextVideo: "Next Video",
|
|
417
|
+
nextYear: "Next year",
|
|
418
|
+
numCharacters: (e) => e === 1 ? "1 character" : `${e} characters`,
|
|
419
|
+
numCharactersRemaining: (e) => e === 1 ? "1 character remaining" : `${e} characters remaining`,
|
|
420
|
+
numOptionsSelected: (e) => e === 0 ? "No options selected" : e === 1 ? "1 option selected" : `${e} options selected`,
|
|
421
|
+
pause: "Pause",
|
|
422
|
+
pauseAnimation: "Pause animation",
|
|
423
|
+
pictureInPicture: "Picture in picture",
|
|
424
|
+
play: "Play",
|
|
425
|
+
playbackSpeed: "Playback speed",
|
|
426
|
+
playlist: "Playlist",
|
|
427
|
+
playAnimation: "Play animation",
|
|
428
|
+
previousDecade: "Previous decade",
|
|
429
|
+
previousMonth: "Previous month",
|
|
430
|
+
previousSlide: "Previous slide",
|
|
431
|
+
previousVideo: "Previous video",
|
|
432
|
+
previousYear: "Previous year",
|
|
433
|
+
progress: "Progress",
|
|
434
|
+
rangeTooLong: (e) => e === 1 ? "Select a range no longer than 1 day" : `Select a range no longer than ${e} days`,
|
|
435
|
+
rangeTooShort: (e) => e === 1 ? "Select a range at least 1 day long" : `Select a range at least ${e} days long`,
|
|
436
|
+
readonly: "Read-only",
|
|
437
|
+
selected: "Selected",
|
|
438
|
+
selectedDateLabel: (e) => `Selected: ${e}`,
|
|
439
|
+
selectedRangeLabel: (e) => `Selected range: ${e}`,
|
|
440
|
+
selectionCleared: "Selection cleared",
|
|
441
|
+
remove: "Remove",
|
|
442
|
+
resize: "Resize",
|
|
443
|
+
scrollableRegion: "Scrollable region",
|
|
444
|
+
scrollToEnd: "Scroll to end",
|
|
445
|
+
scrollToStart: "Scroll to start",
|
|
446
|
+
selectAColorFromTheScreen: "Select a color from the screen",
|
|
447
|
+
showPassword: "Show password",
|
|
448
|
+
slideNum: (e) => `Slide ${e}`,
|
|
449
|
+
startDate: "Start date",
|
|
450
|
+
today: "Today",
|
|
451
|
+
toggleColorFormat: "Toggle color format",
|
|
452
|
+
seek: "Seek",
|
|
453
|
+
seekProgress: (e, t) => `${e} of ${t}`,
|
|
454
|
+
currentlyPlaying: "currently playing",
|
|
455
|
+
unmute: "Unmute",
|
|
456
|
+
videoPlayer: "Video player",
|
|
457
|
+
volume: "Volume",
|
|
458
|
+
year: "Year",
|
|
459
|
+
zoomIn: "Zoom in",
|
|
460
|
+
zoomOut: "Zoom out",
|
|
461
|
+
am: "AM",
|
|
462
|
+
chooseTime: "Choose time",
|
|
463
|
+
closeTimeInput: "Close time picker",
|
|
464
|
+
dayPeriod: "AM/PM",
|
|
465
|
+
hour: "Hour",
|
|
466
|
+
minute: "Minute",
|
|
467
|
+
now: "Now",
|
|
468
|
+
pm: "PM",
|
|
469
|
+
second: "Second",
|
|
470
|
+
time: "Time",
|
|
471
|
+
timeInputKeyboardHelp: "Use arrow keys to change values; press Alt+Down Arrow to open the time picker."
|
|
472
|
+
};
|
|
473
|
+
ee(A);
|
|
474
|
+
var ne = A, re = class extends te {
|
|
475
|
+
lang() {
|
|
476
|
+
return this.host.didSSR && !this.host.hasUpdated ? this.host.lang || "en" : super.lang();
|
|
477
|
+
}
|
|
478
|
+
};
|
|
479
|
+
ee(ne);
|
|
480
|
+
//#endregion
|
|
481
|
+
//#region node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
482
|
+
var j = Math.min, M = Math.max, ie = Math.round, ae = Math.floor, N = (e) => ({
|
|
483
|
+
x: e,
|
|
484
|
+
y: e
|
|
485
|
+
}), oe = {
|
|
486
|
+
left: "right",
|
|
487
|
+
right: "left",
|
|
488
|
+
bottom: "top",
|
|
489
|
+
top: "bottom"
|
|
490
|
+
};
|
|
491
|
+
function se(e, t, n) {
|
|
492
|
+
return M(e, j(t, n));
|
|
493
|
+
}
|
|
494
|
+
function P(e, t) {
|
|
495
|
+
return typeof e == "function" ? e(t) : e;
|
|
496
|
+
}
|
|
497
|
+
function F(e) {
|
|
498
|
+
return e.split("-")[0];
|
|
499
|
+
}
|
|
500
|
+
function I(e) {
|
|
501
|
+
return e.split("-")[1];
|
|
502
|
+
}
|
|
503
|
+
function ce(e) {
|
|
504
|
+
return e === "x" ? "y" : "x";
|
|
505
|
+
}
|
|
506
|
+
function le(e) {
|
|
507
|
+
return e === "y" ? "height" : "width";
|
|
508
|
+
}
|
|
509
|
+
function L(e) {
|
|
510
|
+
let t = e[0];
|
|
511
|
+
return t === "t" || t === "b" ? "y" : "x";
|
|
512
|
+
}
|
|
513
|
+
function ue(e) {
|
|
514
|
+
return ce(L(e));
|
|
515
|
+
}
|
|
516
|
+
function de(e, t, n) {
|
|
517
|
+
n === void 0 && (n = !1);
|
|
518
|
+
let r = I(e), i = ue(e), a = le(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
519
|
+
return t.reference[a] > t.floating[a] && (o = R(o)), [o, R(o)];
|
|
520
|
+
}
|
|
521
|
+
function fe(e) {
|
|
522
|
+
let t = R(e);
|
|
523
|
+
return [
|
|
524
|
+
pe(e),
|
|
525
|
+
t,
|
|
526
|
+
pe(t)
|
|
527
|
+
];
|
|
528
|
+
}
|
|
529
|
+
function pe(e) {
|
|
530
|
+
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
531
|
+
}
|
|
532
|
+
var me = ["left", "right"], he = ["right", "left"], ge = ["top", "bottom"], _e = ["bottom", "top"];
|
|
533
|
+
function ve(e, t, n) {
|
|
534
|
+
switch (e) {
|
|
535
|
+
case "top":
|
|
536
|
+
case "bottom": return n ? t ? he : me : t ? me : he;
|
|
537
|
+
case "left":
|
|
538
|
+
case "right": return t ? ge : _e;
|
|
539
|
+
default: return [];
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
function ye(e, t, n, r) {
|
|
543
|
+
let i = I(e), a = ve(F(e), n === "start", r);
|
|
544
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(pe)))), a;
|
|
545
|
+
}
|
|
546
|
+
function R(e) {
|
|
547
|
+
let t = F(e);
|
|
548
|
+
return oe[t] + e.slice(t.length);
|
|
549
|
+
}
|
|
550
|
+
function be(e) {
|
|
551
|
+
return {
|
|
552
|
+
top: 0,
|
|
553
|
+
right: 0,
|
|
554
|
+
bottom: 0,
|
|
555
|
+
left: 0,
|
|
556
|
+
...e
|
|
557
|
+
};
|
|
558
|
+
}
|
|
559
|
+
function xe(e) {
|
|
560
|
+
return typeof e == "number" ? {
|
|
561
|
+
top: e,
|
|
562
|
+
right: e,
|
|
563
|
+
bottom: e,
|
|
564
|
+
left: e
|
|
565
|
+
} : be(e);
|
|
566
|
+
}
|
|
567
|
+
function z(e) {
|
|
568
|
+
let { x: t, y: n, width: r, height: i } = e;
|
|
569
|
+
return {
|
|
570
|
+
width: r,
|
|
571
|
+
height: i,
|
|
572
|
+
top: n,
|
|
573
|
+
left: t,
|
|
574
|
+
right: t + r,
|
|
575
|
+
bottom: n + i,
|
|
576
|
+
x: t,
|
|
577
|
+
y: n
|
|
578
|
+
};
|
|
579
|
+
}
|
|
580
|
+
//#endregion
|
|
581
|
+
//#region node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
582
|
+
function Se(e, t, n) {
|
|
583
|
+
let { reference: r, floating: i } = e, a = L(t), o = ue(t), s = le(o), c = F(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
|
|
584
|
+
switch (c) {
|
|
585
|
+
case "top":
|
|
586
|
+
p = {
|
|
587
|
+
x: u,
|
|
588
|
+
y: r.y - i.height
|
|
589
|
+
};
|
|
590
|
+
break;
|
|
591
|
+
case "bottom":
|
|
592
|
+
p = {
|
|
593
|
+
x: u,
|
|
594
|
+
y: r.y + r.height
|
|
595
|
+
};
|
|
596
|
+
break;
|
|
597
|
+
case "right":
|
|
598
|
+
p = {
|
|
599
|
+
x: r.x + r.width,
|
|
600
|
+
y: d
|
|
601
|
+
};
|
|
602
|
+
break;
|
|
603
|
+
case "left":
|
|
604
|
+
p = {
|
|
605
|
+
x: r.x - i.width,
|
|
606
|
+
y: d
|
|
607
|
+
};
|
|
608
|
+
break;
|
|
609
|
+
default: p = {
|
|
610
|
+
x: r.x,
|
|
611
|
+
y: r.y
|
|
612
|
+
};
|
|
613
|
+
}
|
|
614
|
+
switch (I(t)) {
|
|
615
|
+
case "start":
|
|
616
|
+
p[o] -= f * (n && l ? -1 : 1);
|
|
617
|
+
break;
|
|
618
|
+
case "end":
|
|
619
|
+
p[o] += f * (n && l ? -1 : 1);
|
|
620
|
+
break;
|
|
621
|
+
}
|
|
622
|
+
return p;
|
|
623
|
+
}
|
|
624
|
+
async function Ce(e, t) {
|
|
625
|
+
t === void 0 && (t = {});
|
|
626
|
+
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = P(t, e), p = xe(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = z(await i.getClippingRect({
|
|
627
|
+
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
628
|
+
boundary: c,
|
|
629
|
+
rootBoundary: l,
|
|
630
|
+
strategy: s
|
|
631
|
+
})), g = u === "floating" ? {
|
|
632
|
+
x: n,
|
|
633
|
+
y: r,
|
|
634
|
+
width: a.floating.width,
|
|
635
|
+
height: a.floating.height
|
|
636
|
+
} : a.reference, _ = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(o.floating)), v = await (i.isElement == null ? void 0 : i.isElement(_)) && await (i.getScale == null ? void 0 : i.getScale(_)) || {
|
|
637
|
+
x: 1,
|
|
638
|
+
y: 1
|
|
639
|
+
}, y = z(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
640
|
+
elements: o,
|
|
641
|
+
rect: g,
|
|
642
|
+
offsetParent: _,
|
|
643
|
+
strategy: s
|
|
644
|
+
}) : g);
|
|
645
|
+
return {
|
|
646
|
+
top: (h.top - y.top + p.top) / v.y,
|
|
647
|
+
bottom: (y.bottom - h.bottom + p.bottom) / v.y,
|
|
648
|
+
left: (h.left - y.left + p.left) / v.x,
|
|
649
|
+
right: (y.right - h.right + p.right) / v.x
|
|
650
|
+
};
|
|
651
|
+
}
|
|
652
|
+
var we = 50, Te = async (e, t, n) => {
|
|
653
|
+
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
654
|
+
...o,
|
|
655
|
+
detectOverflow: Ce
|
|
656
|
+
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
657
|
+
reference: e,
|
|
658
|
+
floating: t,
|
|
659
|
+
strategy: i
|
|
660
|
+
}), { x: u, y: d } = Se(l, r, c), f = r, p = 0, m = {};
|
|
661
|
+
for (let n = 0; n < a.length; n++) {
|
|
662
|
+
let h = a[n];
|
|
663
|
+
if (!h) continue;
|
|
664
|
+
let { name: g, fn: _ } = h, { x: v, y, data: b, reset: x } = await _({
|
|
665
|
+
x: u,
|
|
666
|
+
y: d,
|
|
667
|
+
initialPlacement: r,
|
|
668
|
+
placement: f,
|
|
669
|
+
strategy: i,
|
|
670
|
+
middlewareData: m,
|
|
671
|
+
rects: l,
|
|
672
|
+
platform: s,
|
|
673
|
+
elements: {
|
|
674
|
+
reference: e,
|
|
675
|
+
floating: t
|
|
676
|
+
}
|
|
677
|
+
});
|
|
678
|
+
u = v ?? u, d = y ?? d, m[g] = {
|
|
679
|
+
...m[g],
|
|
680
|
+
...b
|
|
681
|
+
}, x && p < we && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
682
|
+
reference: e,
|
|
683
|
+
floating: t,
|
|
684
|
+
strategy: i
|
|
685
|
+
}) : x.rects), {x: u, y: d} = Se(l, f, c)), n = -1);
|
|
686
|
+
}
|
|
687
|
+
return {
|
|
688
|
+
x: u,
|
|
689
|
+
y: d,
|
|
690
|
+
placement: f,
|
|
691
|
+
strategy: i,
|
|
692
|
+
middlewareData: m
|
|
693
|
+
};
|
|
694
|
+
}, Ee = (e) => ({
|
|
695
|
+
name: "arrow",
|
|
696
|
+
options: e,
|
|
697
|
+
async fn(t) {
|
|
698
|
+
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = P(e, t) || {};
|
|
699
|
+
if (l == null) return {};
|
|
700
|
+
let d = xe(u), f = {
|
|
701
|
+
x: n,
|
|
702
|
+
y: r
|
|
703
|
+
}, p = ue(i), m = le(p), h = await o.getDimensions(l), g = p === "y", _ = g ? "top" : "left", v = g ? "bottom" : "right", y = g ? "clientHeight" : "clientWidth", b = a.reference[m] + a.reference[p] - f[p] - a.floating[m], x = f[p] - a.reference[p], S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l)), C = S ? S[y] : 0;
|
|
704
|
+
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
705
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E = j(d[_], T), D = j(d[v], T), O = E, ee = C - h[m] - D, k = C / 2 - h[m] / 2 + w, te = se(O, k, ee), A = !c.arrow && I(i) != null && k !== te && a.reference[m] / 2 - (k < O ? E : D) - h[m] / 2 < 0, ne = A ? k < O ? k - O : k - ee : 0;
|
|
706
|
+
return {
|
|
707
|
+
[p]: f[p] + ne,
|
|
708
|
+
data: {
|
|
709
|
+
[p]: te,
|
|
710
|
+
centerOffset: k - te - ne,
|
|
711
|
+
...A && { alignmentOffset: ne }
|
|
712
|
+
},
|
|
713
|
+
reset: A
|
|
714
|
+
};
|
|
715
|
+
}
|
|
716
|
+
}), De = function(e) {
|
|
717
|
+
return e === void 0 && (e = {}), {
|
|
718
|
+
name: "flip",
|
|
719
|
+
options: e,
|
|
720
|
+
async fn(t) {
|
|
721
|
+
var n;
|
|
722
|
+
let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = P(e, t);
|
|
723
|
+
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
724
|
+
let g = F(r), _ = L(o), v = F(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [R(o)] : fe(o)), x = p !== "none";
|
|
725
|
+
!d && x && b.push(...ye(o, m, p, y));
|
|
726
|
+
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
727
|
+
if (l && w.push(C[g]), u) {
|
|
728
|
+
let e = de(r, a, y);
|
|
729
|
+
w.push(C[e[0]], C[e[1]]);
|
|
730
|
+
}
|
|
731
|
+
if (T = [...T, {
|
|
732
|
+
placement: r,
|
|
733
|
+
overflows: w
|
|
734
|
+
}], !w.every((e) => e <= 0)) {
|
|
735
|
+
let e = (i.flip?.index || 0) + 1, t = S[e];
|
|
736
|
+
if (t && (!(u === "alignment" && _ !== L(t)) || T.every((e) => L(e.placement) === _ ? e.overflows[0] > 0 : !0))) return {
|
|
737
|
+
data: {
|
|
738
|
+
index: e,
|
|
739
|
+
overflows: T
|
|
740
|
+
},
|
|
741
|
+
reset: { placement: t }
|
|
742
|
+
};
|
|
743
|
+
let n = T.filter((e) => e.overflows[0] <= 0).sort((e, t) => e.overflows[1] - t.overflows[1])[0]?.placement;
|
|
744
|
+
if (!n) switch (f) {
|
|
745
|
+
case "bestFit": {
|
|
746
|
+
let e = T.filter((e) => {
|
|
747
|
+
if (x) {
|
|
748
|
+
let t = L(e.placement);
|
|
749
|
+
return t === _ || t === "y";
|
|
750
|
+
}
|
|
751
|
+
return !0;
|
|
752
|
+
}).map((e) => [e.placement, e.overflows.filter((e) => e > 0).reduce((e, t) => e + t, 0)]).sort((e, t) => e[1] - t[1])[0]?.[0];
|
|
753
|
+
e && (n = e);
|
|
754
|
+
break;
|
|
755
|
+
}
|
|
756
|
+
case "initialPlacement":
|
|
757
|
+
n = o;
|
|
758
|
+
break;
|
|
759
|
+
}
|
|
760
|
+
if (r !== n) return { reset: { placement: n } };
|
|
761
|
+
}
|
|
762
|
+
return {};
|
|
763
|
+
}
|
|
764
|
+
};
|
|
765
|
+
}, Oe = /*#__PURE__*/ new Set(["left", "top"]);
|
|
766
|
+
async function ke(e, t) {
|
|
767
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = F(n), s = I(n), c = L(n) === "y", l = Oe.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = P(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
768
|
+
mainAxis: d,
|
|
769
|
+
crossAxis: 0,
|
|
770
|
+
alignmentAxis: null
|
|
771
|
+
} : {
|
|
772
|
+
mainAxis: d.mainAxis || 0,
|
|
773
|
+
crossAxis: d.crossAxis || 0,
|
|
774
|
+
alignmentAxis: d.alignmentAxis
|
|
775
|
+
};
|
|
776
|
+
return s && typeof m == "number" && (p = s === "end" ? m * -1 : m), c ? {
|
|
777
|
+
x: p * u,
|
|
778
|
+
y: f * l
|
|
779
|
+
} : {
|
|
780
|
+
x: f * l,
|
|
781
|
+
y: p * u
|
|
782
|
+
};
|
|
783
|
+
}
|
|
784
|
+
var Ae = function(e) {
|
|
785
|
+
return e === void 0 && (e = 0), {
|
|
786
|
+
name: "offset",
|
|
787
|
+
options: e,
|
|
788
|
+
async fn(t) {
|
|
789
|
+
var n;
|
|
790
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await ke(t, e);
|
|
791
|
+
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
792
|
+
x: r + s.x,
|
|
793
|
+
y: i + s.y,
|
|
794
|
+
data: {
|
|
795
|
+
...s,
|
|
796
|
+
placement: a
|
|
797
|
+
}
|
|
798
|
+
};
|
|
799
|
+
}
|
|
800
|
+
};
|
|
801
|
+
}, je = function(e) {
|
|
802
|
+
return e === void 0 && (e = {}), {
|
|
803
|
+
name: "shift",
|
|
804
|
+
options: e,
|
|
805
|
+
async fn(t) {
|
|
806
|
+
let { x: n, y: r, placement: i, platform: a } = t, { mainAxis: o = !0, crossAxis: s = !1, limiter: c = { fn: (e) => {
|
|
807
|
+
let { x: t, y: n } = e;
|
|
808
|
+
return {
|
|
809
|
+
x: t,
|
|
810
|
+
y: n
|
|
811
|
+
};
|
|
812
|
+
} }, ...l } = P(e, t), u = {
|
|
813
|
+
x: n,
|
|
814
|
+
y: r
|
|
815
|
+
}, d = await a.detectOverflow(t, l), f = L(F(i)), p = ce(f), m = u[p], h = u[f];
|
|
816
|
+
if (o) {
|
|
817
|
+
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
818
|
+
m = se(n, m, r);
|
|
819
|
+
}
|
|
820
|
+
if (s) {
|
|
821
|
+
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
822
|
+
h = se(n, h, r);
|
|
823
|
+
}
|
|
824
|
+
let g = c.fn({
|
|
825
|
+
...t,
|
|
826
|
+
[p]: m,
|
|
827
|
+
[f]: h
|
|
828
|
+
});
|
|
829
|
+
return {
|
|
830
|
+
...g,
|
|
831
|
+
data: {
|
|
832
|
+
x: g.x - n,
|
|
833
|
+
y: g.y - r,
|
|
834
|
+
enabled: {
|
|
835
|
+
[p]: o,
|
|
836
|
+
[f]: s
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
};
|
|
840
|
+
}
|
|
841
|
+
};
|
|
842
|
+
}, Me = function(e) {
|
|
843
|
+
return e === void 0 && (e = {}), {
|
|
844
|
+
name: "size",
|
|
845
|
+
options: e,
|
|
846
|
+
async fn(t) {
|
|
847
|
+
var n, r;
|
|
848
|
+
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = P(e, t), u = await o.detectOverflow(t, l), d = F(i), f = I(i), p = L(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
849
|
+
d === "top" || d === "bottom" ? (g = d, _ = f === (await (o.isRTL == null ? void 0 : o.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (_ = d, g = f === "end" ? "top" : "bottom");
|
|
850
|
+
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = j(h - u[g], v), x = j(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
851
|
+
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
852
|
+
let e = M(u.left, 0), t = M(u.right, 0), n = M(u.top, 0), r = M(u.bottom, 0);
|
|
853
|
+
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t : M(u.left, u.right)) : C = h - 2 * (n !== 0 || r !== 0 ? n + r : M(u.top, u.bottom));
|
|
854
|
+
}
|
|
855
|
+
await c({
|
|
856
|
+
...t,
|
|
857
|
+
availableWidth: w,
|
|
858
|
+
availableHeight: C
|
|
859
|
+
});
|
|
860
|
+
let T = await o.getDimensions(s.floating);
|
|
861
|
+
return m !== T.width || h !== T.height ? { reset: { rects: !0 } } : {};
|
|
862
|
+
}
|
|
863
|
+
};
|
|
864
|
+
};
|
|
865
|
+
//#endregion
|
|
866
|
+
//#region node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
867
|
+
function Ne() {
|
|
868
|
+
return typeof window < "u";
|
|
869
|
+
}
|
|
870
|
+
function B(e) {
|
|
871
|
+
return Pe(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
872
|
+
}
|
|
873
|
+
function V(e) {
|
|
874
|
+
var t;
|
|
875
|
+
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
876
|
+
}
|
|
877
|
+
function H(e) {
|
|
878
|
+
return ((Pe(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
879
|
+
}
|
|
880
|
+
function Pe(e) {
|
|
881
|
+
return Ne() ? e instanceof Node || e instanceof V(e).Node : !1;
|
|
882
|
+
}
|
|
883
|
+
function U(e) {
|
|
884
|
+
return Ne() ? e instanceof Element || e instanceof V(e).Element : !1;
|
|
885
|
+
}
|
|
886
|
+
function W(e) {
|
|
887
|
+
return Ne() ? e instanceof HTMLElement || e instanceof V(e).HTMLElement : !1;
|
|
888
|
+
}
|
|
889
|
+
function Fe(e) {
|
|
890
|
+
return !Ne() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof V(e).ShadowRoot;
|
|
891
|
+
}
|
|
892
|
+
function G(e) {
|
|
893
|
+
let { overflow: t, overflowX: n, overflowY: r, display: i } = J(e);
|
|
894
|
+
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
895
|
+
}
|
|
896
|
+
function Ie(e) {
|
|
897
|
+
return /^(table|td|th)$/.test(B(e));
|
|
898
|
+
}
|
|
899
|
+
function Le(e) {
|
|
900
|
+
try {
|
|
901
|
+
if (e.matches(":popover-open")) return !0;
|
|
902
|
+
} catch {}
|
|
903
|
+
try {
|
|
904
|
+
return e.matches(":modal");
|
|
905
|
+
} catch {
|
|
906
|
+
return !1;
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
var Re = /transform|translate|scale|rotate|perspective|filter/, ze = /paint|layout|strict|content/, K = (e) => !!e && e !== "none", Be;
|
|
910
|
+
function Ve(e) {
|
|
911
|
+
let t = U(e) ? J(e) : e;
|
|
912
|
+
return K(t.transform) || K(t.translate) || K(t.scale) || K(t.rotate) || K(t.perspective) || !Ue() && (K(t.backdropFilter) || K(t.filter)) || Re.test(t.willChange || "") || ze.test(t.contain || "");
|
|
913
|
+
}
|
|
914
|
+
function He(e) {
|
|
915
|
+
let t = Y(e);
|
|
916
|
+
for (; W(t) && !q(t);) {
|
|
917
|
+
if (Ve(t)) return t;
|
|
918
|
+
if (Le(t)) return null;
|
|
919
|
+
t = Y(t);
|
|
920
|
+
}
|
|
921
|
+
return null;
|
|
922
|
+
}
|
|
923
|
+
function Ue() {
|
|
924
|
+
return Be ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), Be;
|
|
925
|
+
}
|
|
926
|
+
function q(e) {
|
|
927
|
+
return /^(html|body|#document)$/.test(B(e));
|
|
928
|
+
}
|
|
929
|
+
function J(e) {
|
|
930
|
+
return V(e).getComputedStyle(e);
|
|
931
|
+
}
|
|
932
|
+
function We(e) {
|
|
933
|
+
return U(e) ? {
|
|
934
|
+
scrollLeft: e.scrollLeft,
|
|
935
|
+
scrollTop: e.scrollTop
|
|
936
|
+
} : {
|
|
937
|
+
scrollLeft: e.scrollX,
|
|
938
|
+
scrollTop: e.scrollY
|
|
939
|
+
};
|
|
940
|
+
}
|
|
941
|
+
function Y(e) {
|
|
942
|
+
if (B(e) === "html") return e;
|
|
943
|
+
let t = e.assignedSlot || e.parentNode || Fe(e) && e.host || H(e);
|
|
944
|
+
return Fe(t) ? t.host : t;
|
|
945
|
+
}
|
|
946
|
+
function Ge(e) {
|
|
947
|
+
let t = Y(e);
|
|
948
|
+
return q(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : W(t) && G(t) ? t : Ge(t);
|
|
949
|
+
}
|
|
950
|
+
function X(e, t, n) {
|
|
951
|
+
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
952
|
+
let r = Ge(e), i = r === e.ownerDocument?.body, a = V(r);
|
|
953
|
+
if (i) {
|
|
954
|
+
let e = Ke(a);
|
|
955
|
+
return t.concat(a, a.visualViewport || [], G(r) ? r : [], e && n ? X(e) : []);
|
|
956
|
+
} else return t.concat(r, X(r, [], n));
|
|
957
|
+
}
|
|
958
|
+
function Ke(e) {
|
|
959
|
+
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
960
|
+
}
|
|
961
|
+
//#endregion
|
|
962
|
+
//#region node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
963
|
+
function qe(e) {
|
|
964
|
+
let t = J(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = W(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = ie(n) !== a || ie(r) !== o;
|
|
965
|
+
return s && (n = a, r = o), {
|
|
966
|
+
width: n,
|
|
967
|
+
height: r,
|
|
968
|
+
$: s
|
|
969
|
+
};
|
|
970
|
+
}
|
|
971
|
+
function Je(e) {
|
|
972
|
+
return U(e) ? e : e.contextElement;
|
|
973
|
+
}
|
|
974
|
+
function Z(e) {
|
|
975
|
+
let t = Je(e);
|
|
976
|
+
if (!W(t)) return N(1);
|
|
977
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = qe(t), o = (a ? ie(n.width) : n.width) / r, s = (a ? ie(n.height) : n.height) / i;
|
|
978
|
+
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
979
|
+
x: o,
|
|
980
|
+
y: s
|
|
981
|
+
};
|
|
982
|
+
}
|
|
983
|
+
var Ye = /*#__PURE__*/ N(0);
|
|
984
|
+
function Xe(e) {
|
|
985
|
+
let t = V(e);
|
|
986
|
+
return !Ue() || !t.visualViewport ? Ye : {
|
|
987
|
+
x: t.visualViewport.offsetLeft,
|
|
988
|
+
y: t.visualViewport.offsetTop
|
|
989
|
+
};
|
|
990
|
+
}
|
|
991
|
+
function Ze(e, t, n) {
|
|
992
|
+
return t === void 0 && (t = !1), !n || t && n !== V(e) ? !1 : t;
|
|
993
|
+
}
|
|
994
|
+
function Q(e, t, n, r) {
|
|
995
|
+
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
996
|
+
let i = e.getBoundingClientRect(), a = Je(e), o = N(1);
|
|
997
|
+
t && (r ? U(r) && (o = Z(r)) : o = Z(e));
|
|
998
|
+
let s = Ze(a, n, r) ? Xe(a) : N(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
|
|
999
|
+
if (a) {
|
|
1000
|
+
let e = V(a), t = r && U(r) ? V(r) : r, n = e, i = Ke(n);
|
|
1001
|
+
for (; i && r && t !== n;) {
|
|
1002
|
+
let e = Z(i), t = i.getBoundingClientRect(), r = J(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
|
|
1003
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = V(i), i = Ke(n);
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
return z({
|
|
1007
|
+
width: u,
|
|
1008
|
+
height: d,
|
|
1009
|
+
x: c,
|
|
1010
|
+
y: l
|
|
1011
|
+
});
|
|
1012
|
+
}
|
|
1013
|
+
function Qe(e, t) {
|
|
1014
|
+
let n = We(e).scrollLeft;
|
|
1015
|
+
return t ? t.left + n : Q(H(e)).left + n;
|
|
1016
|
+
}
|
|
1017
|
+
function $e(e, t) {
|
|
1018
|
+
let n = e.getBoundingClientRect();
|
|
1019
|
+
return {
|
|
1020
|
+
x: n.left + t.scrollLeft - Qe(e, n),
|
|
1021
|
+
y: n.top + t.scrollTop
|
|
1022
|
+
};
|
|
1023
|
+
}
|
|
1024
|
+
function et(e) {
|
|
1025
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = H(r), s = t ? Le(t.floating) : !1;
|
|
1026
|
+
if (r === o || s && a) return n;
|
|
1027
|
+
let c = {
|
|
1028
|
+
scrollLeft: 0,
|
|
1029
|
+
scrollTop: 0
|
|
1030
|
+
}, l = N(1), u = N(0), d = W(r);
|
|
1031
|
+
if ((d || !d && !a) && ((B(r) !== "body" || G(o)) && (c = We(r)), d)) {
|
|
1032
|
+
let e = Q(r);
|
|
1033
|
+
l = Z(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
1034
|
+
}
|
|
1035
|
+
let f = o && !d && !a ? $e(o, c) : N(0);
|
|
1036
|
+
return {
|
|
1037
|
+
width: n.width * l.x,
|
|
1038
|
+
height: n.height * l.y,
|
|
1039
|
+
x: n.x * l.x - c.scrollLeft * l.x + u.x + f.x,
|
|
1040
|
+
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
1041
|
+
};
|
|
1042
|
+
}
|
|
1043
|
+
function tt(e) {
|
|
1044
|
+
return Array.from(e.getClientRects());
|
|
1045
|
+
}
|
|
1046
|
+
function nt(e) {
|
|
1047
|
+
let t = H(e), n = We(e), r = e.ownerDocument.body, i = M(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = M(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + Qe(e), s = -n.scrollTop;
|
|
1048
|
+
return J(r).direction === "rtl" && (o += M(t.clientWidth, r.clientWidth) - i), {
|
|
1049
|
+
width: i,
|
|
1050
|
+
height: a,
|
|
1051
|
+
x: o,
|
|
1052
|
+
y: s
|
|
1053
|
+
};
|
|
1054
|
+
}
|
|
1055
|
+
var rt = 25;
|
|
1056
|
+
function it(e, t) {
|
|
1057
|
+
let n = V(e), r = H(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
1058
|
+
if (i) {
|
|
1059
|
+
a = i.width, o = i.height;
|
|
1060
|
+
let e = Ue();
|
|
1061
|
+
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
1062
|
+
}
|
|
1063
|
+
let l = Qe(r);
|
|
1064
|
+
if (l <= 0) {
|
|
1065
|
+
let e = r.ownerDocument, t = e.body, n = getComputedStyle(t), i = e.compatMode === "CSS1Compat" && parseFloat(n.marginLeft) + parseFloat(n.marginRight) || 0, o = Math.abs(r.clientWidth - t.clientWidth - i);
|
|
1066
|
+
o <= rt && (a -= o);
|
|
1067
|
+
} else l <= rt && (a += l);
|
|
1068
|
+
return {
|
|
1069
|
+
width: a,
|
|
1070
|
+
height: o,
|
|
1071
|
+
x: s,
|
|
1072
|
+
y: c
|
|
1073
|
+
};
|
|
1074
|
+
}
|
|
1075
|
+
function at(e, t) {
|
|
1076
|
+
let n = Q(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = W(e) ? Z(e) : N(1);
|
|
1077
|
+
return {
|
|
1078
|
+
width: e.clientWidth * a.x,
|
|
1079
|
+
height: e.clientHeight * a.y,
|
|
1080
|
+
x: i * a.x,
|
|
1081
|
+
y: r * a.y
|
|
1082
|
+
};
|
|
1083
|
+
}
|
|
1084
|
+
function ot(e, t, n) {
|
|
1085
|
+
let r;
|
|
1086
|
+
if (t === "viewport") r = it(e, n);
|
|
1087
|
+
else if (t === "document") r = nt(H(e));
|
|
1088
|
+
else if (U(t)) r = at(t, n);
|
|
1089
|
+
else {
|
|
1090
|
+
let n = Xe(e);
|
|
1091
|
+
r = {
|
|
1092
|
+
x: t.x - n.x,
|
|
1093
|
+
y: t.y - n.y,
|
|
1094
|
+
width: t.width,
|
|
1095
|
+
height: t.height
|
|
1096
|
+
};
|
|
1097
|
+
}
|
|
1098
|
+
return z(r);
|
|
1099
|
+
}
|
|
1100
|
+
function st(e, t) {
|
|
1101
|
+
let n = Y(e);
|
|
1102
|
+
return n === t || !U(n) || q(n) ? !1 : J(n).position === "fixed" || st(n, t);
|
|
1103
|
+
}
|
|
1104
|
+
function ct(e, t) {
|
|
1105
|
+
let n = t.get(e);
|
|
1106
|
+
if (n) return n;
|
|
1107
|
+
let r = X(e, [], !1).filter((e) => U(e) && B(e) !== "body"), i = null, a = J(e).position === "fixed", o = a ? Y(e) : e;
|
|
1108
|
+
for (; U(o) && !q(o);) {
|
|
1109
|
+
let t = J(o), n = Ve(o);
|
|
1110
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || G(o) && !n && st(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = Y(o);
|
|
1111
|
+
}
|
|
1112
|
+
return t.set(e, r), r;
|
|
1113
|
+
}
|
|
1114
|
+
function lt(e) {
|
|
1115
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? Le(t) ? [] : ct(t, this._c) : [].concat(n), r], o = ot(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
1116
|
+
for (let e = 1; e < a.length; e++) {
|
|
1117
|
+
let n = ot(t, a[e], i);
|
|
1118
|
+
s = M(n.top, s), c = j(n.right, c), l = j(n.bottom, l), u = M(n.left, u);
|
|
1119
|
+
}
|
|
1120
|
+
return {
|
|
1121
|
+
width: c - u,
|
|
1122
|
+
height: l - s,
|
|
1123
|
+
x: u,
|
|
1124
|
+
y: s
|
|
1125
|
+
};
|
|
1126
|
+
}
|
|
1127
|
+
function ut(e) {
|
|
1128
|
+
let { width: t, height: n } = qe(e);
|
|
1129
|
+
return {
|
|
1130
|
+
width: t,
|
|
1131
|
+
height: n
|
|
1132
|
+
};
|
|
1133
|
+
}
|
|
1134
|
+
function dt(e, t, n) {
|
|
1135
|
+
let r = W(t), i = H(t), a = n === "fixed", o = Q(e, !0, a, t), s = {
|
|
1136
|
+
scrollLeft: 0,
|
|
1137
|
+
scrollTop: 0
|
|
1138
|
+
}, c = N(0);
|
|
1139
|
+
function l() {
|
|
1140
|
+
c.x = Qe(i);
|
|
1141
|
+
}
|
|
1142
|
+
if (r || !r && !a) if ((B(t) !== "body" || G(i)) && (s = We(t)), r) {
|
|
1143
|
+
let e = Q(t, !0, a, t);
|
|
1144
|
+
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
1145
|
+
} else i && l();
|
|
1146
|
+
a && !r && i && l();
|
|
1147
|
+
let u = i && !r && !a ? $e(i, s) : N(0);
|
|
1148
|
+
return {
|
|
1149
|
+
x: o.left + s.scrollLeft - c.x - u.x,
|
|
1150
|
+
y: o.top + s.scrollTop - c.y - u.y,
|
|
1151
|
+
width: o.width,
|
|
1152
|
+
height: o.height
|
|
1153
|
+
};
|
|
1154
|
+
}
|
|
1155
|
+
function ft(e) {
|
|
1156
|
+
return J(e).position === "static";
|
|
1157
|
+
}
|
|
1158
|
+
function pt(e, t) {
|
|
1159
|
+
if (!W(e) || J(e).position === "fixed") return null;
|
|
1160
|
+
if (t) return t(e);
|
|
1161
|
+
let n = e.offsetParent;
|
|
1162
|
+
return H(e) === n && (n = n.ownerDocument.body), n;
|
|
1163
|
+
}
|
|
1164
|
+
function mt(e, t) {
|
|
1165
|
+
let n = V(e);
|
|
1166
|
+
if (Le(e)) return n;
|
|
1167
|
+
if (!W(e)) {
|
|
1168
|
+
let t = Y(e);
|
|
1169
|
+
for (; t && !q(t);) {
|
|
1170
|
+
if (U(t) && !ft(t)) return t;
|
|
1171
|
+
t = Y(t);
|
|
1172
|
+
}
|
|
1173
|
+
return n;
|
|
1174
|
+
}
|
|
1175
|
+
let r = pt(e, t);
|
|
1176
|
+
for (; r && Ie(r) && ft(r);) r = pt(r, t);
|
|
1177
|
+
return r && q(r) && ft(r) && !Ve(r) ? n : r || He(e) || n;
|
|
1178
|
+
}
|
|
1179
|
+
var ht = async function(e) {
|
|
1180
|
+
let t = this.getOffsetParent || mt, n = this.getDimensions, r = await n(e.floating);
|
|
1181
|
+
return {
|
|
1182
|
+
reference: dt(e.reference, await t(e.floating), e.strategy),
|
|
1183
|
+
floating: {
|
|
1184
|
+
x: 0,
|
|
1185
|
+
y: 0,
|
|
1186
|
+
width: r.width,
|
|
1187
|
+
height: r.height
|
|
1188
|
+
}
|
|
1189
|
+
};
|
|
1190
|
+
};
|
|
1191
|
+
function gt(e) {
|
|
1192
|
+
return J(e).direction === "rtl";
|
|
1193
|
+
}
|
|
1194
|
+
var _t = {
|
|
1195
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: et,
|
|
1196
|
+
getDocumentElement: H,
|
|
1197
|
+
getClippingRect: lt,
|
|
1198
|
+
getOffsetParent: mt,
|
|
1199
|
+
getElementRects: ht,
|
|
1200
|
+
getClientRects: tt,
|
|
1201
|
+
getDimensions: ut,
|
|
1202
|
+
getScale: Z,
|
|
1203
|
+
isElement: U,
|
|
1204
|
+
isRTL: gt
|
|
1205
|
+
};
|
|
1206
|
+
function vt(e, t) {
|
|
1207
|
+
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
1208
|
+
}
|
|
1209
|
+
function yt(e, t) {
|
|
1210
|
+
let n = null, r, i = H(e);
|
|
1211
|
+
function a() {
|
|
1212
|
+
var e;
|
|
1213
|
+
clearTimeout(r), (e = n) == null || e.disconnect(), n = null;
|
|
1214
|
+
}
|
|
1215
|
+
function o(s, c) {
|
|
1216
|
+
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
1217
|
+
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
1218
|
+
if (s || t(), !f || !p) return;
|
|
1219
|
+
let m = ae(d), h = ae(i.clientWidth - (u + f)), g = ae(i.clientHeight - (d + p)), _ = ae(u), v = {
|
|
1220
|
+
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
1221
|
+
threshold: M(0, j(1, c)) || 1
|
|
1222
|
+
}, y = !0;
|
|
1223
|
+
function b(t) {
|
|
1224
|
+
let n = t[0].intersectionRatio;
|
|
1225
|
+
if (n !== c) {
|
|
1226
|
+
if (!y) return o();
|
|
1227
|
+
n ? o(!1, n) : r = setTimeout(() => {
|
|
1228
|
+
o(!1, 1e-7);
|
|
1229
|
+
}, 1e3);
|
|
1230
|
+
}
|
|
1231
|
+
n === 1 && !vt(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
1232
|
+
}
|
|
1233
|
+
try {
|
|
1234
|
+
n = new IntersectionObserver(b, {
|
|
1235
|
+
...v,
|
|
1236
|
+
root: i.ownerDocument
|
|
1237
|
+
});
|
|
1238
|
+
} catch {
|
|
1239
|
+
n = new IntersectionObserver(b, v);
|
|
1240
|
+
}
|
|
1241
|
+
n.observe(e);
|
|
1242
|
+
}
|
|
1243
|
+
return o(!0), a;
|
|
1244
|
+
}
|
|
1245
|
+
function bt(e, t, n, r) {
|
|
1246
|
+
r === void 0 && (r = {});
|
|
1247
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = Je(e), u = i || a ? [...l ? X(l) : [], ...t ? X(t) : []] : [];
|
|
1248
|
+
u.forEach((e) => {
|
|
1249
|
+
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
1250
|
+
});
|
|
1251
|
+
let d = l && s ? yt(l, n) : null, f = -1, p = null;
|
|
1252
|
+
o && (p = new ResizeObserver((e) => {
|
|
1253
|
+
let [r] = e;
|
|
1254
|
+
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
1255
|
+
var e;
|
|
1256
|
+
(e = p) == null || e.observe(t);
|
|
1257
|
+
})), n();
|
|
1258
|
+
}), l && !c && p.observe(l), t && p.observe(t));
|
|
1259
|
+
let m, h = c ? Q(e) : null;
|
|
1260
|
+
c && g();
|
|
1261
|
+
function g() {
|
|
1262
|
+
let t = Q(e);
|
|
1263
|
+
h && !vt(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
1264
|
+
}
|
|
1265
|
+
return n(), () => {
|
|
1266
|
+
var e;
|
|
1267
|
+
u.forEach((e) => {
|
|
1268
|
+
i && e.removeEventListener("scroll", n), a && e.removeEventListener("resize", n);
|
|
1269
|
+
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
1270
|
+
};
|
|
1271
|
+
}
|
|
1272
|
+
var xt = Ae, St = je, Ct = De, wt = Me, Tt = Ee, Et = (e, t, n) => {
|
|
1273
|
+
let r = /* @__PURE__ */ new Map(), i = {
|
|
1274
|
+
platform: _t,
|
|
1275
|
+
...n
|
|
1276
|
+
}, a = {
|
|
1277
|
+
...i.platform,
|
|
1278
|
+
_c: r
|
|
1279
|
+
};
|
|
1280
|
+
return Te(e, t, {
|
|
1281
|
+
...i,
|
|
1282
|
+
platform: a
|
|
1283
|
+
});
|
|
1284
|
+
};
|
|
1285
|
+
//#endregion
|
|
1286
|
+
//#region node_modules/composed-offset-position/dist/composed-offset-position.browser.min.mjs
|
|
1287
|
+
function Dt(e) {
|
|
1288
|
+
return kt(e);
|
|
1289
|
+
}
|
|
1290
|
+
function Ot(e) {
|
|
1291
|
+
return e.assignedSlot ? e.assignedSlot : e.parentNode instanceof ShadowRoot ? e.parentNode.host : e.parentNode;
|
|
1292
|
+
}
|
|
1293
|
+
function kt(e) {
|
|
1294
|
+
for (let t = e; t; t = Ot(t)) if (t instanceof Element && getComputedStyle(t).display === "none") return null;
|
|
1295
|
+
for (let t = Ot(e); t; t = Ot(t)) {
|
|
1296
|
+
if (!(t instanceof Element)) continue;
|
|
1297
|
+
let e = getComputedStyle(t);
|
|
1298
|
+
if (e.display !== "contents" && (e.position !== "static" || Ve(e) || t.tagName === "BODY")) return t;
|
|
1299
|
+
}
|
|
1300
|
+
return null;
|
|
1301
|
+
}
|
|
1302
|
+
//#endregion
|
|
1303
|
+
//#region node_modules/lit-html/directive.js
|
|
1304
|
+
var At = {
|
|
1305
|
+
ATTRIBUTE: 1,
|
|
1306
|
+
CHILD: 2,
|
|
1307
|
+
PROPERTY: 3,
|
|
1308
|
+
BOOLEAN_ATTRIBUTE: 4,
|
|
1309
|
+
EVENT: 5,
|
|
1310
|
+
ELEMENT: 6
|
|
1311
|
+
}, jt = (e) => (...t) => ({
|
|
1312
|
+
_$litDirective$: e,
|
|
1313
|
+
values: t
|
|
1314
|
+
}), Mt = class {
|
|
1315
|
+
constructor(e) {}
|
|
1316
|
+
get _$AU() {
|
|
1317
|
+
return this._$AM._$AU;
|
|
1318
|
+
}
|
|
1319
|
+
_$AT(e, t, n) {
|
|
1320
|
+
this._$Ct = e, this._$AM = t, this._$Ci = n;
|
|
1321
|
+
}
|
|
1322
|
+
_$AS(e, t) {
|
|
1323
|
+
return this.update(e, t);
|
|
1324
|
+
}
|
|
1325
|
+
update(e, t) {
|
|
1326
|
+
return this.render(...t);
|
|
1327
|
+
}
|
|
1328
|
+
}, Nt = jt(class extends Mt {
|
|
1329
|
+
constructor(e) {
|
|
1330
|
+
if (super(e), e.type !== At.ATTRIBUTE || e.name !== "class" || e.strings?.length > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
1331
|
+
}
|
|
1332
|
+
render(e) {
|
|
1333
|
+
return " " + Object.keys(e).filter((t) => e[t]).join(" ") + " ";
|
|
1334
|
+
}
|
|
1335
|
+
update(e, [t]) {
|
|
1336
|
+
if (this.st === void 0) {
|
|
1337
|
+
this.st = /* @__PURE__ */ new Set(), e.strings !== void 0 && (this.nt = new Set(e.strings.join(" ").split(/\s/).filter((e) => e !== "")));
|
|
1338
|
+
for (let e in t) t[e] && !this.nt?.has(e) && this.st.add(e);
|
|
1339
|
+
return this.render(t);
|
|
1340
|
+
}
|
|
1341
|
+
let r = e.element.classList;
|
|
1342
|
+
for (let e of this.st) e in t || (r.remove(e), this.st.delete(e));
|
|
1343
|
+
for (let e in t) {
|
|
1344
|
+
let n = !!t[e];
|
|
1345
|
+
n === this.st.has(e) || this.nt?.has(e) || (n ? (r.add(e), this.st.add(e)) : (r.remove(e), this.st.delete(e)));
|
|
1346
|
+
}
|
|
1347
|
+
return n;
|
|
1348
|
+
}
|
|
1349
|
+
});
|
|
1350
|
+
//#endregion
|
|
1351
|
+
//#region node_modules/@awesome.me/webawesome/dist/chunks/chunk.K442ELDU.js
|
|
1352
|
+
function Pt(e) {
|
|
1353
|
+
return typeof e == "object" && !!e && "getBoundingClientRect" in e && ("contextElement" in e ? e instanceof Element : !0);
|
|
1354
|
+
}
|
|
1355
|
+
var Ft = !!globalThis?.HTMLElement?.prototype.hasOwnProperty("popover"), $ = class extends S {
|
|
1356
|
+
constructor() {
|
|
1357
|
+
super(...arguments), this.localize = new re(this), this.SUPPORTS_POPOVER = !1, this.active = !1, this.placement = "top", this.boundary = "viewport", this.distance = 0, this.skidding = 0, this.arrow = !1, this.arrowPlacement = "anchor", this.arrowPadding = 10, this.flip = !1, this.flipFallbackPlacements = "", this.flipFallbackStrategy = "best-fit", this.flipPadding = 0, this.shift = !1, this.shiftPadding = 0, this.autoSizePadding = 0, this.hoverBridge = !1, this.updateHoverBridge = () => {
|
|
1358
|
+
if (this.hoverBridge && this.anchorEl && this.popup) {
|
|
1359
|
+
let e = this.anchorEl.getBoundingClientRect(), t = this.popup.getBoundingClientRect(), n = this.placement.includes("top") || this.placement.includes("bottom"), r = 0, i = 0, a = 0, o = 0, s = 0, c = 0, l = 0, u = 0;
|
|
1360
|
+
n ? e.top < t.top ? (r = e.left, i = e.bottom, a = e.right, o = e.bottom, s = t.left, c = t.top, l = t.right, u = t.top) : (r = t.left, i = t.bottom, a = t.right, o = t.bottom, s = e.left, c = e.top, l = e.right, u = e.top) : e.left < t.left ? (r = e.right, i = e.top, a = t.left, o = t.top, s = e.right, c = e.bottom, l = t.left, u = t.bottom) : (r = t.right, i = t.top, a = e.left, o = e.top, s = t.right, c = t.bottom, l = e.left, u = e.bottom), this.style.setProperty("--hover-bridge-top-left-x", `${r}px`), this.style.setProperty("--hover-bridge-top-left-y", `${i}px`), this.style.setProperty("--hover-bridge-top-right-x", `${a}px`), this.style.setProperty("--hover-bridge-top-right-y", `${o}px`), this.style.setProperty("--hover-bridge-bottom-left-x", `${s}px`), this.style.setProperty("--hover-bridge-bottom-left-y", `${c}px`), this.style.setProperty("--hover-bridge-bottom-right-x", `${l}px`), this.style.setProperty("--hover-bridge-bottom-right-y", `${u}px`);
|
|
1361
|
+
}
|
|
1362
|
+
};
|
|
1363
|
+
}
|
|
1364
|
+
async connectedCallback() {
|
|
1365
|
+
super.connectedCallback(), await this.updateComplete, this.SUPPORTS_POPOVER = Ft, this.start();
|
|
1366
|
+
}
|
|
1367
|
+
disconnectedCallback() {
|
|
1368
|
+
super.disconnectedCallback(), this.stop();
|
|
1369
|
+
}
|
|
1370
|
+
async updated(e) {
|
|
1371
|
+
super.updated(e), e.has("active") && (this.active ? this.start() : this.stop()), e.has("anchor") && this.handleAnchorChange(), this.active && (await this.updateComplete, this.reposition());
|
|
1372
|
+
}
|
|
1373
|
+
async handleAnchorChange() {
|
|
1374
|
+
if (await this.stop(), this.anchor && typeof this.anchor == "string") {
|
|
1375
|
+
let e = this.getRootNode();
|
|
1376
|
+
this.anchorEl = e.getElementById(this.anchor);
|
|
1377
|
+
} else this.anchor instanceof Element || Pt(this.anchor) ? this.anchorEl = this.anchor : this.anchorEl = this.querySelector("[slot=\"anchor\"]");
|
|
1378
|
+
this.anchorEl instanceof HTMLSlotElement && (this.anchorEl = this.anchorEl.assignedElements({ flatten: !0 })[0]), this.anchorEl && this.start();
|
|
1379
|
+
}
|
|
1380
|
+
start() {
|
|
1381
|
+
!this.anchorEl || !this.active || !this.isConnected || (this.popup?.showPopover?.(), this.cleanup = bt(this.anchorEl, this.popup, () => {
|
|
1382
|
+
this.reposition();
|
|
1383
|
+
}));
|
|
1384
|
+
}
|
|
1385
|
+
async stop() {
|
|
1386
|
+
return new Promise((e) => {
|
|
1387
|
+
this.popup?.hidePopover?.(), this.cleanup ? (this.cleanup(), this.cleanup = void 0, this.removeAttribute("data-current-placement"), this.style.removeProperty("--auto-size-available-width"), this.style.removeProperty("--auto-size-available-height"), requestAnimationFrame(() => e())) : e();
|
|
1388
|
+
});
|
|
1389
|
+
}
|
|
1390
|
+
reposition() {
|
|
1391
|
+
if (!this.active || !this.anchorEl || !this.popup) return;
|
|
1392
|
+
let e = [xt({
|
|
1393
|
+
mainAxis: this.distance,
|
|
1394
|
+
crossAxis: this.skidding
|
|
1395
|
+
})];
|
|
1396
|
+
this.sync ? e.push(wt({ apply: ({ rects: e }) => {
|
|
1397
|
+
let t = this.sync === "width" || this.sync === "both", n = this.sync === "height" || this.sync === "both";
|
|
1398
|
+
this.popup.style.width = t ? `${e.reference.width}px` : "", this.popup.style.height = n ? `${e.reference.height}px` : "";
|
|
1399
|
+
} })) : (this.popup.style.width = "", this.popup.style.height = "");
|
|
1400
|
+
let t;
|
|
1401
|
+
this.SUPPORTS_POPOVER && !Pt(this.anchor) && this.boundary === "scroll" && (t = X(this.anchorEl).filter((e) => e instanceof Element)), this.flip && e.push(Ct({
|
|
1402
|
+
boundary: this.flipBoundary || t,
|
|
1403
|
+
fallbackPlacements: this.flipFallbackPlacements,
|
|
1404
|
+
fallbackStrategy: this.flipFallbackStrategy === "best-fit" ? "bestFit" : "initialPlacement",
|
|
1405
|
+
padding: this.flipPadding
|
|
1406
|
+
})), this.shift && e.push(St({
|
|
1407
|
+
boundary: this.shiftBoundary || t,
|
|
1408
|
+
padding: this.shiftPadding
|
|
1409
|
+
})), this.autoSize ? e.push(wt({
|
|
1410
|
+
boundary: this.autoSizeBoundary || t,
|
|
1411
|
+
padding: this.autoSizePadding,
|
|
1412
|
+
apply: ({ availableWidth: e, availableHeight: t }) => {
|
|
1413
|
+
this.autoSize === "vertical" || this.autoSize === "both" ? this.style.setProperty("--auto-size-available-height", `${t}px`) : this.style.removeProperty("--auto-size-available-height"), this.autoSize === "horizontal" || this.autoSize === "both" ? this.style.setProperty("--auto-size-available-width", `${e}px`) : this.style.removeProperty("--auto-size-available-width");
|
|
1414
|
+
}
|
|
1415
|
+
})) : (this.style.removeProperty("--auto-size-available-width"), this.style.removeProperty("--auto-size-available-height")), this.arrow && e.push(Tt({
|
|
1416
|
+
element: this.arrowEl,
|
|
1417
|
+
padding: this.arrowPadding
|
|
1418
|
+
}));
|
|
1419
|
+
let n = this.SUPPORTS_POPOVER ? (e) => _t.getOffsetParent(e, Dt) : _t.getOffsetParent;
|
|
1420
|
+
Et(this.anchorEl, this.popup, {
|
|
1421
|
+
placement: this.placement,
|
|
1422
|
+
middleware: e,
|
|
1423
|
+
strategy: this.SUPPORTS_POPOVER ? "absolute" : "fixed",
|
|
1424
|
+
platform: {
|
|
1425
|
+
..._t,
|
|
1426
|
+
getOffsetParent: n
|
|
1427
|
+
}
|
|
1428
|
+
}).then(({ x: e, y: t, middlewareData: n, placement: r }) => {
|
|
1429
|
+
let i = this.localize.dir() === "rtl", a = {
|
|
1430
|
+
top: "bottom",
|
|
1431
|
+
right: "left",
|
|
1432
|
+
bottom: "top",
|
|
1433
|
+
left: "right"
|
|
1434
|
+
}[r.split("-")[0]];
|
|
1435
|
+
if (this.setAttribute("data-current-placement", r), Object.assign(this.popup.style, {
|
|
1436
|
+
left: `${e}px`,
|
|
1437
|
+
top: `${t}px`
|
|
1438
|
+
}), this.arrow) {
|
|
1439
|
+
let e = n.arrow.x, t = n.arrow.y, r = "", o = "", s = "", c = "";
|
|
1440
|
+
if (this.arrowPlacement === "start") {
|
|
1441
|
+
let n = typeof e == "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1442
|
+
r = typeof t == "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "", o = i ? n : "", c = i ? "" : n;
|
|
1443
|
+
} else if (this.arrowPlacement === "end") {
|
|
1444
|
+
let n = typeof e == "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1445
|
+
o = i ? "" : n, c = i ? n : "", s = typeof t == "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1446
|
+
} else this.arrowPlacement === "center" ? (c = typeof e == "number" ? "calc(50% - var(--arrow-size-diagonal))" : "", r = typeof t == "number" ? "calc(50% - var(--arrow-size-diagonal))" : "") : (c = typeof e == "number" ? `${e}px` : "", r = typeof t == "number" ? `${t}px` : "");
|
|
1447
|
+
Object.assign(this.arrowEl.style, {
|
|
1448
|
+
top: r,
|
|
1449
|
+
right: o,
|
|
1450
|
+
bottom: s,
|
|
1451
|
+
left: c,
|
|
1452
|
+
[a]: "calc(var(--arrow-base-offset) - var(--arrow-size-diagonal))"
|
|
1453
|
+
});
|
|
1454
|
+
}
|
|
1455
|
+
}), requestAnimationFrame(() => this.updateHoverBridge()), this.dispatchEvent(new s());
|
|
1456
|
+
}
|
|
1457
|
+
render() {
|
|
1458
|
+
return t`
|
|
1459
|
+
<slot name="anchor" @slotchange=${this.handleAnchorChange}></slot>
|
|
1460
|
+
|
|
1461
|
+
<span
|
|
1462
|
+
part="hover-bridge"
|
|
1463
|
+
class=${Nt({
|
|
1464
|
+
"popup-hover-bridge": !0,
|
|
1465
|
+
"popup-hover-bridge-visible": this.hoverBridge && this.active
|
|
1466
|
+
})}
|
|
1467
|
+
></span>
|
|
1468
|
+
|
|
1469
|
+
<div
|
|
1470
|
+
popover="manual"
|
|
1471
|
+
part="popup"
|
|
1472
|
+
class=${Nt({
|
|
1473
|
+
popup: !0,
|
|
1474
|
+
"popup-active": this.active,
|
|
1475
|
+
"popup-fixed": !this.SUPPORTS_POPOVER,
|
|
1476
|
+
"popup-has-arrow": this.arrow
|
|
1477
|
+
})}
|
|
1478
|
+
>
|
|
1479
|
+
<slot></slot>
|
|
1480
|
+
${this.arrow ? t`<div part="arrow" class="arrow" role="presentation"></div>` : ""}
|
|
1481
|
+
</div>
|
|
1482
|
+
`;
|
|
1483
|
+
}
|
|
1484
|
+
};
|
|
1485
|
+
$.css = c, f([o(".popup")], $.prototype, "popup", 2), f([o(".arrow")], $.prototype, "arrowEl", 2), f([a({
|
|
1486
|
+
attribute: !1,
|
|
1487
|
+
type: Boolean
|
|
1488
|
+
})], $.prototype, "SUPPORTS_POPOVER", 2), f([a()], $.prototype, "anchor", 2), f([a({
|
|
1489
|
+
type: Boolean,
|
|
1490
|
+
reflect: !0
|
|
1491
|
+
})], $.prototype, "active", 2), f([a({ reflect: !0 })], $.prototype, "placement", 2), f([a()], $.prototype, "boundary", 2), f([a({ type: Number })], $.prototype, "distance", 2), f([a({ type: Number })], $.prototype, "skidding", 2), f([a({ type: Boolean })], $.prototype, "arrow", 2), f([a({ attribute: "arrow-placement" })], $.prototype, "arrowPlacement", 2), f([a({
|
|
1492
|
+
attribute: "arrow-padding",
|
|
1493
|
+
type: Number
|
|
1494
|
+
})], $.prototype, "arrowPadding", 2), f([a({ type: Boolean })], $.prototype, "flip", 2), f([a({
|
|
1495
|
+
attribute: "flip-fallback-placements",
|
|
1496
|
+
converter: {
|
|
1497
|
+
fromAttribute: (e) => e.split(" ").map((e) => e.trim()).filter((e) => e !== ""),
|
|
1498
|
+
toAttribute: (e) => e.join(" ")
|
|
1499
|
+
}
|
|
1500
|
+
})], $.prototype, "flipFallbackPlacements", 2), f([a({ attribute: "flip-fallback-strategy" })], $.prototype, "flipFallbackStrategy", 2), f([a({ type: Object })], $.prototype, "flipBoundary", 2), f([a({
|
|
1501
|
+
attribute: "flip-padding",
|
|
1502
|
+
type: Number
|
|
1503
|
+
})], $.prototype, "flipPadding", 2), f([a({ type: Boolean })], $.prototype, "shift", 2), f([a({ type: Object })], $.prototype, "shiftBoundary", 2), f([a({
|
|
1504
|
+
attribute: "shift-padding",
|
|
1505
|
+
type: Number
|
|
1506
|
+
})], $.prototype, "shiftPadding", 2), f([a({ attribute: "auto-size" })], $.prototype, "autoSize", 2), f([a()], $.prototype, "sync", 2), f([a({ type: Object })], $.prototype, "autoSizeBoundary", 2), f([a({
|
|
1507
|
+
attribute: "auto-size-padding",
|
|
1508
|
+
type: Number
|
|
1509
|
+
})], $.prototype, "autoSizePadding", 2), f([a({
|
|
1510
|
+
attribute: "hover-bridge",
|
|
1511
|
+
type: Boolean
|
|
1512
|
+
})], $.prototype, "hoverBridge", 2), $ = f([i("wa-popup")], $);
|
|
1513
|
+
//#endregion
|
|
1514
|
+
export { St as a, f as c, xt as i, Et as n, re as o, Ct as r, S as s, bt as t };
|
|
1515
|
+
|
|
1516
|
+
//# sourceMappingURL=chunk.K442ELDU-TtQSV9g1.js.map
|