solid-ui 3.1.3-6 → 3.1.3-7
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/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/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-BZ2rYQhV.js} +12 -12
- package/dist/chunks/account-BZ2rYQhV.js.map +1 -0
- package/dist/chunks/{auth-Cpf3HYqF.js → auth-RHyQ2iIl.js} +10 -10
- package/dist/chunks/{auth-Cpf3HYqF.js.map → auth-RHyQ2iIl.js.map} +1 -1
- package/dist/chunks/{avatar-D281qln0.js → avatar-Jx8xm2Op.js} +5 -5
- package/dist/chunks/avatar-Jx8xm2Op.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-D64T6XLO.js} +3 -3
- package/dist/chunks/{footer-Bxe4WPgl.js.map → footer-D64T6XLO.js.map} +1 -1
- package/dist/chunks/{guard-Da3znlJI.js → guard-CjUBGVDk.js} +4 -4
- package/dist/chunks/{guard-Da3znlJI.js.map → guard-CjUBGVDk.js.map} +1 -1
- package/dist/chunks/{header-Bqd2CEK3.js → header-COBaJDdB.js} +4 -4
- package/dist/chunks/{header-Bqd2CEK3.js.map → header-COBaJDdB.js.map} +1 -1
- package/dist/chunks/{headerFooterHelpers-5LYv-0Rt.js → headerFooterHelpers-7O_ln1QD.js} +2 -2
- package/dist/chunks/{headerFooterHelpers-5LYv-0Rt.js.map → headerFooterHelpers-7O_ln1QD.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-DRZuoyoU.js} +54 -54
- package/dist/chunks/{jsonld-DZG2v1pE.js.map → jsonld-DRZuoyoU.js.map} +1 -1
- package/dist/chunks/lit-C4H1jI4q.js.map +1 -1
- package/dist/chunks/{login-button-C603hM0G.js → login-button-DPeMi00d.js} +5 -5
- package/dist/chunks/{login-button-C603hM0G.js.map → login-button-DPeMi00d.js.map} +1 -1
- package/dist/chunks/{logout-button-Cxzpq-C3.js → logout-button-CbiLE7jO.js} +5 -5
- package/dist/chunks/{logout-button-Cxzpq-C3.js.map → logout-button-CbiLE7jO.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-Ck0l-uEI.js} +2 -2
- package/dist/chunks/{menu-item-DBy4o-M4.js.map → menu-item-Ck0l-uEI.js.map} +1 -1
- package/dist/chunks/photo-capture-tiBsdSbA.js.map +1 -1
- package/dist/chunks/{provider-DZmdgerD.js → provider-C4eSzopG.js} +5 -5
- package/dist/chunks/{provider-DZmdgerD.js.map → provider-C4eSzopG.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-BfIxbpwa.js} +5 -5
- package/dist/chunks/{signup-button-CsRaOUI4.js.map → signup-button-BfIxbpwa.js.map} +1 -1
- package/dist/chunks/{solid-logic.esm-7q6hmfIF.js → solid-logic.esm-T70qfHAr.js} +2521 -2504
- package/dist/chunks/solid-logic.esm-T70qfHAr.js.map +1 -0
- package/dist/chunks/{src-BOU-JwWx.js → src-Bx4GAnWq.js} +16 -16
- package/dist/chunks/{src-BOU-JwWx.js.map → src-Bx4GAnWq.js.map} +1 -1
- package/dist/components/account/Account.cjs.js +1 -1
- package/dist/components/account/Account.cjs.js.map +1 -1
- package/dist/components/account/Account.esm.js +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.esm.js +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/header.js +1 -1
- 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 +1 -1
- package/dist/components/menu-item/MenuItem.cjs.js.map +1 -1
- package/dist/components/menu-item/MenuItem.esm.js +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.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 +5 -5
- 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/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 +5 -5
- 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 +307 -275
- package/dist/solid-ui.min.js +307 -275
- package/dist/solid-ui.min.js.map +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/auth/loginButton/LoginButton.cjs.js.map +1 -1
- package/dist/v2/components/auth/loginButton/LoginButton.esm.js.map +1 -1
- package/dist/v2/components/auth/loginButton/downArrow.cjs.js.map +1 -1
- package/dist/v2/components/auth/loginButton/index.cjs.js +1 -1
- package/dist/v2/components/auth/loginButton/index.esm.js +1 -0
- package/dist/v2/components/auth/signupButton/index.cjs.js +1 -1
- package/dist/v2/components/auth/signupButton/index.esm.js +1 -0
- 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/layout/header/Header.cjs.js.map +1 -1
- package/dist/v2/components/layout/header/Header.esm.js.map +1 -1
- package/dist/v2/components/layout/header/index.cjs.js +1 -1
- package/dist/v2/components/layout/header/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 +8 -10
- 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/menu-aQiqq1ET.js.map +0 -1
- package/dist/chunks/solid-logic.esm-7q6hmfIF.js.map +0 -1
- package/dist/solid-ui.js.map +0 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { a as e, i as t } from "./components-
|
|
2
|
-
import { a as n, c as r, i
|
|
3
|
-
import { i as
|
|
1
|
+
import { a as e, i as t } from "./components-C1LEhsaK.js";
|
|
2
|
+
import { a as n, c as r, i } from "./lit-C4H1jI4q.js";
|
|
3
|
+
import { i as a, n as o, r as s, t as c } from "./decorators-BiCkPd_3.js";
|
|
4
|
+
import { a as l, c as u, i as d, n as f, o as p, r as m, s as h, t as g } from "./chunk.K442ELDU-TtQSV9g1.js";
|
|
4
5
|
//#region node_modules/@awesome.me/webawesome/dist/chunks/chunk.2LXKNNNE.js
|
|
5
|
-
var
|
|
6
|
+
var _ = class extends Event {
|
|
6
7
|
constructor(e) {
|
|
7
8
|
super("wa-select", {
|
|
8
9
|
bubbles: !0,
|
|
@@ -13,12 +14,12 @@ var d = class extends Event {
|
|
|
13
14
|
};
|
|
14
15
|
//#endregion
|
|
15
16
|
//#region node_modules/@awesome.me/webawesome/dist/chunks/chunk.TTJR7FH2.js
|
|
16
|
-
function*
|
|
17
|
-
e != null && (yield e, "shadowRoot" in e && e.shadowRoot && e.shadowRoot.mode !== "closed" && (yield*
|
|
17
|
+
function* v(e = document.activeElement) {
|
|
18
|
+
e != null && (yield e, "shadowRoot" in e && e.shadowRoot && e.shadowRoot.mode !== "closed" && (yield* v(e.shadowRoot.activeElement)));
|
|
18
19
|
}
|
|
19
20
|
//#endregion
|
|
20
21
|
//#region node_modules/@awesome.me/webawesome/dist/chunks/chunk.Z6IK7DP4.js
|
|
21
|
-
var
|
|
22
|
+
var y = r`
|
|
22
23
|
:host {
|
|
23
24
|
--show-duration: var(--wa-transition-fast);
|
|
24
25
|
--hide-duration: var(--wa-transition-fast);
|
|
@@ -112,7 +113,7 @@ var p = r`
|
|
|
112
113
|
opacity: 1;
|
|
113
114
|
}
|
|
114
115
|
}
|
|
115
|
-
`,
|
|
116
|
+
`, b = class extends Event {
|
|
116
117
|
constructor() {
|
|
117
118
|
super("wa-show", {
|
|
118
119
|
bubbles: !0,
|
|
@@ -120,7 +121,7 @@ var p = r`
|
|
|
120
121
|
composed: !0
|
|
121
122
|
});
|
|
122
123
|
}
|
|
123
|
-
},
|
|
124
|
+
}, x = class extends Event {
|
|
124
125
|
constructor(e) {
|
|
125
126
|
super("wa-hide", {
|
|
126
127
|
bubbles: !0,
|
|
@@ -128,7 +129,7 @@ var p = r`
|
|
|
128
129
|
composed: !0
|
|
129
130
|
}), this.detail = e;
|
|
130
131
|
}
|
|
131
|
-
},
|
|
132
|
+
}, S = class extends Event {
|
|
132
133
|
constructor() {
|
|
133
134
|
super("wa-after-hide", {
|
|
134
135
|
bubbles: !0,
|
|
@@ -136,7 +137,7 @@ var p = r`
|
|
|
136
137
|
composed: !0
|
|
137
138
|
});
|
|
138
139
|
}
|
|
139
|
-
},
|
|
140
|
+
}, C = class extends Event {
|
|
140
141
|
constructor() {
|
|
141
142
|
super("wa-after-show", {
|
|
142
143
|
bubbles: !0,
|
|
@@ -144,44 +145,44 @@ var p = r`
|
|
|
144
145
|
composed: !0
|
|
145
146
|
});
|
|
146
147
|
}
|
|
147
|
-
},
|
|
148
|
-
function
|
|
149
|
-
|
|
148
|
+
}, w = [];
|
|
149
|
+
function T(e) {
|
|
150
|
+
w.push(e);
|
|
150
151
|
}
|
|
151
|
-
function
|
|
152
|
-
for (let t =
|
|
153
|
-
|
|
152
|
+
function E(e) {
|
|
153
|
+
for (let t = w.length - 1; t >= 0; t--) if (w[t] === e) {
|
|
154
|
+
w.splice(t, 1);
|
|
154
155
|
break;
|
|
155
156
|
}
|
|
156
157
|
}
|
|
157
|
-
function
|
|
158
|
-
return
|
|
158
|
+
function D(e) {
|
|
159
|
+
return w.length > 0 && w[w.length - 1] === e;
|
|
159
160
|
}
|
|
160
161
|
//#endregion
|
|
161
|
-
//#region node_modules
|
|
162
|
-
var
|
|
162
|
+
//#region node_modules/nanoid/url-alphabet/index.js
|
|
163
|
+
var O = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", k = (e = 21) => {
|
|
163
164
|
let t = "", n = crypto.getRandomValues(new Uint8Array(e |= 0));
|
|
164
|
-
for (; e--;) t +=
|
|
165
|
+
for (; e--;) t += O[n[e] & 63];
|
|
165
166
|
return t;
|
|
166
167
|
};
|
|
167
168
|
//#endregion
|
|
168
169
|
//#region node_modules/@awesome.me/webawesome/dist/chunks/chunk.KNJT7KBU.js
|
|
169
|
-
function
|
|
170
|
-
return `${e}${
|
|
170
|
+
function A(e = "") {
|
|
171
|
+
return `${e}${k()}`;
|
|
171
172
|
}
|
|
172
173
|
//#endregion
|
|
173
174
|
//#region node_modules/@awesome.me/webawesome/dist/chunks/chunk.RPQJAXXR.js
|
|
174
|
-
var
|
|
175
|
+
var j = {
|
|
175
176
|
small: "s",
|
|
176
177
|
medium: "m",
|
|
177
178
|
large: "l"
|
|
178
179
|
}, ee = /* @__PURE__ */ new Set();
|
|
179
180
|
function te(e, t) {
|
|
180
|
-
t in
|
|
181
|
+
t in j && !ee.has(`${e}:${t}`) && (ee.add(`${e}:${t}`), console.warn(`[${e}] size="${t}" is deprecated. Use size="${j[t]}" instead. The long-form value will be removed in the next major version.`));
|
|
181
182
|
}
|
|
182
183
|
//#endregion
|
|
183
184
|
//#region node_modules/@awesome.me/webawesome/dist/chunks/chunk.G5ZZIGWB.js
|
|
184
|
-
var
|
|
185
|
+
var ne = r`
|
|
185
186
|
:host([size='xs']) {
|
|
186
187
|
font-size: var(--wa-font-size-xs);
|
|
187
188
|
}
|
|
@@ -207,7 +208,7 @@ var E = r`
|
|
|
207
208
|
`;
|
|
208
209
|
//#endregion
|
|
209
210
|
//#region node_modules/@awesome.me/webawesome/dist/chunks/chunk.L6CIKOFQ.js
|
|
210
|
-
function
|
|
211
|
+
function M(e, t) {
|
|
211
212
|
return new Promise((n) => {
|
|
212
213
|
let r = new AbortController(), { signal: i } = r;
|
|
213
214
|
if (e.classList.contains(t)) return;
|
|
@@ -228,7 +229,7 @@ function D(e, t) {
|
|
|
228
229
|
}
|
|
229
230
|
//#endregion
|
|
230
231
|
//#region node_modules/@awesome.me/webawesome/dist/chunks/chunk.PZAN6FPN.js
|
|
231
|
-
function
|
|
232
|
+
function N(e, t) {
|
|
232
233
|
let n = {
|
|
233
234
|
waitUntilFirstUpdate: !1,
|
|
234
235
|
...t
|
|
@@ -247,1145 +248,17 @@ function O(e, t) {
|
|
|
247
248
|
};
|
|
248
249
|
}
|
|
249
250
|
//#endregion
|
|
250
|
-
//#region node_modules/@awesome.me/webawesome/dist/chunks/chunk.
|
|
251
|
-
var
|
|
252
|
-
throw TypeError(e);
|
|
253
|
-
}, A = (e, t, n, r) => {
|
|
254
|
-
for (var i = r > 1 ? void 0 : r ? ne(t, n) : t, a = e.length - 1, o; a >= 0; a--) (o = e[a]) && (i = (r ? o(t, n, i) : o(i)) || i);
|
|
255
|
-
return r && i && k(t, n, i), i;
|
|
256
|
-
}, ie = (e, t, n) => t.has(e) || re("Cannot " + n), ae = (e, t, n) => (ie(e, t, "read from private field"), n ? n.call(e) : t.get(e)), oe = (e, t, n) => t.has(e) ? re("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), se = (e, t, n, r) => (ie(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), ce = r`
|
|
257
|
-
:host {
|
|
258
|
-
box-sizing: border-box;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
:host *,
|
|
262
|
-
:host *::before,
|
|
263
|
-
:host *::after {
|
|
264
|
-
box-sizing: inherit;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
[hidden],
|
|
268
|
-
:host([hidden]) {
|
|
269
|
-
display: none !important;
|
|
270
|
-
}
|
|
271
|
-
`, le = /;\s+$/;
|
|
272
|
-
function ue(e) {
|
|
273
|
-
return e.replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`);
|
|
274
|
-
}
|
|
275
|
-
function de(e) {
|
|
276
|
-
let { property: t, value: n, element: r } = e;
|
|
277
|
-
if (n) {
|
|
278
|
-
let e = r.getAttribute("style") || "";
|
|
279
|
-
e && (e.match(le) || (e += ";"), e += " ");
|
|
280
|
-
let i = `${t}: ${n}`;
|
|
281
|
-
return e.includes(i) ? void 0 : `${e}${i};`;
|
|
282
|
-
}
|
|
283
|
-
return null;
|
|
284
|
-
}
|
|
285
|
-
var fe, j = class extends o {
|
|
286
|
-
constructor() {
|
|
287
|
-
super(), oe(this, fe, !1), this.initialReflectedProperties = /* @__PURE__ */ new Map(), this.didSSR = !!this.shadowRoot, this.customStates = {
|
|
288
|
-
set: (e, t) => {
|
|
289
|
-
if (this.internals?.states) try {
|
|
290
|
-
t ? this.internals.states.add(e) : this.internals.states.delete(e);
|
|
291
|
-
} catch (e) {
|
|
292
|
-
if (String(e).includes("must start with '--'")) console.error("Your browser implements an outdated version of CustomStateSet. Consider using a polyfill");
|
|
293
|
-
else throw e;
|
|
294
|
-
}
|
|
295
|
-
},
|
|
296
|
-
has: (e) => {
|
|
297
|
-
if (!this.internals?.states) return !1;
|
|
298
|
-
try {
|
|
299
|
-
return this.internals.states.has(e);
|
|
300
|
-
} catch {
|
|
301
|
-
return !1;
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
};
|
|
305
|
-
try {
|
|
306
|
-
this.internals = this.attachInternals();
|
|
307
|
-
} catch {
|
|
308
|
-
console.error("Element internals are not supported in your browser. Consider using a polyfill");
|
|
309
|
-
}
|
|
310
|
-
this.customStates.set("wa-defined", !0);
|
|
311
|
-
let e = this.constructor;
|
|
312
|
-
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);
|
|
313
|
-
}
|
|
314
|
-
static get styles() {
|
|
315
|
-
return [ce, ...Array.isArray(this.css) ? this.css : this.css ? [this.css] : []];
|
|
316
|
-
}
|
|
317
|
-
connectedCallback() {
|
|
318
|
-
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(() => {
|
|
319
|
-
this.shadowRoot?.prepend(document.createComment(` Web Awesome: https://webawesome.com/docs/components/${this.localName.replace("wa-", "")} `));
|
|
320
|
-
});
|
|
321
|
-
}
|
|
322
|
-
attributeChangedCallback(e, t, n) {
|
|
323
|
-
ae(this, fe) || (this.constructor.elementProperties.forEach((e, t) => {
|
|
324
|
-
e.reflect && this[t] != null && this.initialReflectedProperties.set(t, this[t]);
|
|
325
|
-
}), se(this, fe, !0)), super.attributeChangedCallback(e, t, n);
|
|
326
|
-
}
|
|
327
|
-
willUpdate(e) {
|
|
328
|
-
super.willUpdate(e), this.initialReflectedProperties.forEach((t, n) => {
|
|
329
|
-
e.has(n) && this[n] == null && (this[n] = t);
|
|
330
|
-
});
|
|
331
|
-
}
|
|
332
|
-
firstUpdated(e) {
|
|
333
|
-
super.firstUpdated(e), this.didSSR && this.shadowRoot?.querySelectorAll("slot").forEach((e) => {
|
|
334
|
-
e.dispatchEvent(new Event("slotchange", {
|
|
335
|
-
bubbles: !0,
|
|
336
|
-
composed: !1,
|
|
337
|
-
cancelable: !1
|
|
338
|
-
}));
|
|
339
|
-
});
|
|
340
|
-
}
|
|
341
|
-
update(e) {
|
|
342
|
-
try {
|
|
343
|
-
super.update(e);
|
|
344
|
-
} catch (e) {
|
|
345
|
-
if (this.didSSR && !this.hasUpdated) {
|
|
346
|
-
let t = new Event("lit-hydration-error", {
|
|
347
|
-
bubbles: !0,
|
|
348
|
-
composed: !0,
|
|
349
|
-
cancelable: !1
|
|
350
|
-
});
|
|
351
|
-
t.error = e, this.dispatchEvent(t);
|
|
352
|
-
}
|
|
353
|
-
throw e;
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
setStyle(e, t) {
|
|
357
|
-
if (!this.style) {
|
|
358
|
-
let n = de({
|
|
359
|
-
property: ue(e),
|
|
360
|
-
value: t,
|
|
361
|
-
element: this
|
|
362
|
-
});
|
|
363
|
-
n && this.setAttribute("style", n);
|
|
364
|
-
return;
|
|
365
|
-
}
|
|
366
|
-
this.style[e] = t;
|
|
367
|
-
}
|
|
368
|
-
setStyleProperty(e, t) {
|
|
369
|
-
if (!this.style) {
|
|
370
|
-
let n = de({
|
|
371
|
-
property: e,
|
|
372
|
-
value: t,
|
|
373
|
-
element: this
|
|
374
|
-
});
|
|
375
|
-
n && this.setAttribute("style", n);
|
|
376
|
-
return;
|
|
377
|
-
}
|
|
378
|
-
this.style.setProperty(e, t);
|
|
379
|
-
}
|
|
380
|
-
relayNativeEvent(e, t) {
|
|
381
|
-
e.stopImmediatePropagation(), this.dispatchEvent(new e.constructor(e.type, {
|
|
382
|
-
...e,
|
|
383
|
-
...t
|
|
384
|
-
}));
|
|
385
|
-
}
|
|
386
|
-
};
|
|
387
|
-
fe = /* @__PURE__ */ new WeakMap(), A([l()], j.prototype, "dir", 2), A([l()], j.prototype, "lang", 2), A([l({
|
|
388
|
-
type: Boolean,
|
|
389
|
-
reflect: !0,
|
|
390
|
-
attribute: "did-ssr"
|
|
391
|
-
})], j.prototype, "didSSR", 2);
|
|
392
|
-
//#endregion
|
|
393
|
-
//#region node_modules/@shoelace-style/localize/dist/index.js
|
|
394
|
-
var pe = /* @__PURE__ */ new Set(), M = /* @__PURE__ */ new Map(), N, me = "ltr", he = "en", ge = typeof MutationObserver < "u" && typeof document < "u" && document.documentElement !== void 0;
|
|
395
|
-
if (ge) {
|
|
396
|
-
let e = new MutationObserver(ve);
|
|
397
|
-
me = document.documentElement.dir || "ltr", he = document.documentElement.lang || navigator.language, e.observe(document.documentElement, {
|
|
398
|
-
attributes: !0,
|
|
399
|
-
attributeFilter: ["dir", "lang"]
|
|
400
|
-
});
|
|
401
|
-
}
|
|
402
|
-
function _e(...e) {
|
|
403
|
-
e.map((e) => {
|
|
404
|
-
let t = e.$code.toLowerCase();
|
|
405
|
-
M.has(t) ? M.set(t, Object.assign(Object.assign({}, M.get(t)), e)) : M.set(t, e), N ||= e;
|
|
406
|
-
}), ve();
|
|
407
|
-
}
|
|
408
|
-
function ve() {
|
|
409
|
-
ge && (me = document.documentElement.dir || "ltr", he = document.documentElement.lang || navigator.language), [...pe.keys()].map((e) => {
|
|
410
|
-
typeof e.requestUpdate == "function" && e.requestUpdate();
|
|
411
|
-
});
|
|
412
|
-
}
|
|
413
|
-
var ye = class {
|
|
414
|
-
constructor(e) {
|
|
415
|
-
this.host = e, this.host.addController(this);
|
|
416
|
-
}
|
|
417
|
-
hostConnected() {
|
|
418
|
-
pe.add(this.host);
|
|
419
|
-
}
|
|
420
|
-
hostDisconnected() {
|
|
421
|
-
pe.delete(this.host);
|
|
422
|
-
}
|
|
423
|
-
dir() {
|
|
424
|
-
return `${this.host.dir || me}`.toLowerCase();
|
|
425
|
-
}
|
|
426
|
-
lang() {
|
|
427
|
-
return `${this.host.lang || he}`.toLowerCase();
|
|
428
|
-
}
|
|
429
|
-
getTranslationData(e) {
|
|
430
|
-
let t;
|
|
431
|
-
try {
|
|
432
|
-
t = new Intl.Locale(e.replace(/_/g, "-"));
|
|
433
|
-
} catch {
|
|
434
|
-
return {
|
|
435
|
-
locale: void 0,
|
|
436
|
-
language: "",
|
|
437
|
-
region: "",
|
|
438
|
-
primary: void 0,
|
|
439
|
-
secondary: void 0
|
|
440
|
-
};
|
|
441
|
-
}
|
|
442
|
-
let n = t.language.toLowerCase(), r = t.region?.toLowerCase() ?? "", i = M.get(`${n}-${r}`), a = M.get(n);
|
|
443
|
-
return {
|
|
444
|
-
locale: t,
|
|
445
|
-
language: n,
|
|
446
|
-
region: r,
|
|
447
|
-
primary: i,
|
|
448
|
-
secondary: a
|
|
449
|
-
};
|
|
450
|
-
}
|
|
451
|
-
exists(e, t) {
|
|
452
|
-
let { primary: n, secondary: r } = this.getTranslationData(t.lang ?? this.lang());
|
|
453
|
-
return t = Object.assign({ includeFallback: !1 }, t), !!(n && n[e] || r && r[e] || t.includeFallback && N && N[e]);
|
|
454
|
-
}
|
|
455
|
-
term(e, ...t) {
|
|
456
|
-
let { primary: n, secondary: r } = this.getTranslationData(this.lang()), i;
|
|
457
|
-
if (n && n[e]) i = n[e];
|
|
458
|
-
else if (r && r[e]) i = r[e];
|
|
459
|
-
else if (N && N[e]) i = N[e];
|
|
460
|
-
else return console.error(`No translation found for: ${String(e)}`), String(e);
|
|
461
|
-
return typeof i == "function" ? i(...t) : i;
|
|
462
|
-
}
|
|
463
|
-
date(e, t) {
|
|
464
|
-
return e = new Date(e), new Intl.DateTimeFormat(this.lang(), t).format(e);
|
|
465
|
-
}
|
|
466
|
-
number(e, t) {
|
|
467
|
-
return e = Number(e), isNaN(e) ? "" : new Intl.NumberFormat(this.lang(), t).format(e);
|
|
468
|
-
}
|
|
469
|
-
relativeTime(e, t, n) {
|
|
470
|
-
return new Intl.RelativeTimeFormat(this.lang(), n).format(e, t);
|
|
471
|
-
}
|
|
472
|
-
}, be = {
|
|
473
|
-
$code: "en",
|
|
474
|
-
$name: "English",
|
|
475
|
-
$dir: "ltr",
|
|
476
|
-
carousel: "Carousel",
|
|
477
|
-
captions: "Captions",
|
|
478
|
-
chooseDate: "Choose date",
|
|
479
|
-
chooseDecade: "Choose decade",
|
|
480
|
-
chooseMonth: "Choose month",
|
|
481
|
-
chooseYear: "Choose year",
|
|
482
|
-
clearEntry: "Clear entry",
|
|
483
|
-
close: "Close",
|
|
484
|
-
closeCalendar: "Close calendar",
|
|
485
|
-
createOption: (e) => `Create "${e}"`,
|
|
486
|
-
copied: "Copied",
|
|
487
|
-
copy: "Copy",
|
|
488
|
-
currentValue: "Current value",
|
|
489
|
-
date: "Date",
|
|
490
|
-
datePickerKeyboardHelp: "Use arrow keys to change values; press Alt+Down Arrow to open the calendar.",
|
|
491
|
-
day: "Day",
|
|
492
|
-
incompleteDate: "Enter a complete date.",
|
|
493
|
-
dropFileHere: "Drop file here or click to browse",
|
|
494
|
-
decrement: "Decrement",
|
|
495
|
-
dropFilesHere: "Drop files here or click to browse",
|
|
496
|
-
empty: "Empty",
|
|
497
|
-
endDate: "End date",
|
|
498
|
-
error: "Error",
|
|
499
|
-
enterFullscreen: "Enter fullscreen",
|
|
500
|
-
exitFullscreen: "Exit fullscreen",
|
|
501
|
-
goToSlide: (e, t) => `Go to slide ${e} of ${t}`,
|
|
502
|
-
hidePassword: "Hide password",
|
|
503
|
-
increment: "Increment",
|
|
504
|
-
loading: "Loading",
|
|
505
|
-
month: "Month",
|
|
506
|
-
moreOptions: "More Options",
|
|
507
|
-
mute: "Mute",
|
|
508
|
-
nextDecade: "Next decade",
|
|
509
|
-
nextMonth: "Next month",
|
|
510
|
-
nextSlide: "Next slide",
|
|
511
|
-
nextVideo: "Next Video",
|
|
512
|
-
nextYear: "Next year",
|
|
513
|
-
numCharacters: (e) => e === 1 ? "1 character" : `${e} characters`,
|
|
514
|
-
numCharactersRemaining: (e) => e === 1 ? "1 character remaining" : `${e} characters remaining`,
|
|
515
|
-
numOptionsSelected: (e) => e === 0 ? "No options selected" : e === 1 ? "1 option selected" : `${e} options selected`,
|
|
516
|
-
pause: "Pause",
|
|
517
|
-
pauseAnimation: "Pause animation",
|
|
518
|
-
pictureInPicture: "Picture in picture",
|
|
519
|
-
play: "Play",
|
|
520
|
-
playbackSpeed: "Playback speed",
|
|
521
|
-
playlist: "Playlist",
|
|
522
|
-
playAnimation: "Play animation",
|
|
523
|
-
previousDecade: "Previous decade",
|
|
524
|
-
previousMonth: "Previous month",
|
|
525
|
-
previousSlide: "Previous slide",
|
|
526
|
-
previousVideo: "Previous video",
|
|
527
|
-
previousYear: "Previous year",
|
|
528
|
-
progress: "Progress",
|
|
529
|
-
rangeTooLong: (e) => e === 1 ? "Select a range no longer than 1 day" : `Select a range no longer than ${e} days`,
|
|
530
|
-
rangeTooShort: (e) => e === 1 ? "Select a range at least 1 day long" : `Select a range at least ${e} days long`,
|
|
531
|
-
readonly: "Read-only",
|
|
532
|
-
selected: "Selected",
|
|
533
|
-
selectedDateLabel: (e) => `Selected: ${e}`,
|
|
534
|
-
selectedRangeLabel: (e) => `Selected range: ${e}`,
|
|
535
|
-
selectionCleared: "Selection cleared",
|
|
536
|
-
remove: "Remove",
|
|
537
|
-
resize: "Resize",
|
|
538
|
-
scrollableRegion: "Scrollable region",
|
|
539
|
-
scrollToEnd: "Scroll to end",
|
|
540
|
-
scrollToStart: "Scroll to start",
|
|
541
|
-
selectAColorFromTheScreen: "Select a color from the screen",
|
|
542
|
-
showPassword: "Show password",
|
|
543
|
-
slideNum: (e) => `Slide ${e}`,
|
|
544
|
-
startDate: "Start date",
|
|
545
|
-
today: "Today",
|
|
546
|
-
toggleColorFormat: "Toggle color format",
|
|
547
|
-
seek: "Seek",
|
|
548
|
-
seekProgress: (e, t) => `${e} of ${t}`,
|
|
549
|
-
currentlyPlaying: "currently playing",
|
|
550
|
-
unmute: "Unmute",
|
|
551
|
-
videoPlayer: "Video player",
|
|
552
|
-
volume: "Volume",
|
|
553
|
-
year: "Year",
|
|
554
|
-
zoomIn: "Zoom in",
|
|
555
|
-
zoomOut: "Zoom out",
|
|
556
|
-
am: "AM",
|
|
557
|
-
chooseTime: "Choose time",
|
|
558
|
-
closeTimeInput: "Close time picker",
|
|
559
|
-
dayPeriod: "AM/PM",
|
|
560
|
-
hour: "Hour",
|
|
561
|
-
minute: "Minute",
|
|
562
|
-
now: "Now",
|
|
563
|
-
pm: "PM",
|
|
564
|
-
second: "Second",
|
|
565
|
-
time: "Time",
|
|
566
|
-
timeInputKeyboardHelp: "Use arrow keys to change values; press Alt+Down Arrow to open the time picker."
|
|
567
|
-
};
|
|
568
|
-
_e(be);
|
|
569
|
-
var xe = be, Se = class extends ye {
|
|
570
|
-
lang() {
|
|
571
|
-
return this.host.didSSR && !this.host.hasUpdated ? this.host.lang || "en" : super.lang();
|
|
572
|
-
}
|
|
573
|
-
};
|
|
574
|
-
_e(xe);
|
|
575
|
-
//#endregion
|
|
576
|
-
//#region node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
577
|
-
var P = Math.min, F = Math.max, Ce = Math.round, we = Math.floor, I = (e) => ({
|
|
578
|
-
x: e,
|
|
579
|
-
y: e
|
|
580
|
-
}), Te = {
|
|
581
|
-
left: "right",
|
|
582
|
-
right: "left",
|
|
583
|
-
bottom: "top",
|
|
584
|
-
top: "bottom"
|
|
585
|
-
};
|
|
586
|
-
function Ee(e, t, n) {
|
|
587
|
-
return F(e, P(t, n));
|
|
588
|
-
}
|
|
589
|
-
function L(e, t) {
|
|
590
|
-
return typeof e == "function" ? e(t) : e;
|
|
591
|
-
}
|
|
592
|
-
function R(e) {
|
|
593
|
-
return e.split("-")[0];
|
|
594
|
-
}
|
|
595
|
-
function z(e) {
|
|
596
|
-
return e.split("-")[1];
|
|
597
|
-
}
|
|
598
|
-
function De(e) {
|
|
599
|
-
return e === "x" ? "y" : "x";
|
|
600
|
-
}
|
|
601
|
-
function Oe(e) {
|
|
602
|
-
return e === "y" ? "height" : "width";
|
|
603
|
-
}
|
|
604
|
-
function B(e) {
|
|
605
|
-
let t = e[0];
|
|
606
|
-
return t === "t" || t === "b" ? "y" : "x";
|
|
607
|
-
}
|
|
608
|
-
function ke(e) {
|
|
609
|
-
return De(B(e));
|
|
610
|
-
}
|
|
611
|
-
function Ae(e, t, n) {
|
|
612
|
-
n === void 0 && (n = !1);
|
|
613
|
-
let r = z(e), i = ke(e), a = Oe(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
614
|
-
return t.reference[a] > t.floating[a] && (o = ze(o)), [o, ze(o)];
|
|
615
|
-
}
|
|
616
|
-
function je(e) {
|
|
617
|
-
let t = ze(e);
|
|
618
|
-
return [
|
|
619
|
-
Me(e),
|
|
620
|
-
t,
|
|
621
|
-
Me(t)
|
|
622
|
-
];
|
|
623
|
-
}
|
|
624
|
-
function Me(e) {
|
|
625
|
-
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
626
|
-
}
|
|
627
|
-
var Ne = ["left", "right"], Pe = ["right", "left"], Fe = ["top", "bottom"], Ie = ["bottom", "top"];
|
|
628
|
-
function Le(e, t, n) {
|
|
629
|
-
switch (e) {
|
|
630
|
-
case "top":
|
|
631
|
-
case "bottom": return n ? t ? Pe : Ne : t ? Ne : Pe;
|
|
632
|
-
case "left":
|
|
633
|
-
case "right": return t ? Fe : Ie;
|
|
634
|
-
default: return [];
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
function Re(e, t, n, r) {
|
|
638
|
-
let i = z(e), a = Le(R(e), n === "start", r);
|
|
639
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Me)))), a;
|
|
640
|
-
}
|
|
641
|
-
function ze(e) {
|
|
642
|
-
let t = R(e);
|
|
643
|
-
return Te[t] + e.slice(t.length);
|
|
644
|
-
}
|
|
645
|
-
function Be(e) {
|
|
646
|
-
return {
|
|
647
|
-
top: 0,
|
|
648
|
-
right: 0,
|
|
649
|
-
bottom: 0,
|
|
650
|
-
left: 0,
|
|
651
|
-
...e
|
|
652
|
-
};
|
|
653
|
-
}
|
|
654
|
-
function Ve(e) {
|
|
655
|
-
return typeof e == "number" ? {
|
|
656
|
-
top: e,
|
|
657
|
-
right: e,
|
|
658
|
-
bottom: e,
|
|
659
|
-
left: e
|
|
660
|
-
} : Be(e);
|
|
661
|
-
}
|
|
662
|
-
function He(e) {
|
|
663
|
-
let { x: t, y: n, width: r, height: i } = e;
|
|
664
|
-
return {
|
|
665
|
-
width: r,
|
|
666
|
-
height: i,
|
|
667
|
-
top: n,
|
|
668
|
-
left: t,
|
|
669
|
-
right: t + r,
|
|
670
|
-
bottom: n + i,
|
|
671
|
-
x: t,
|
|
672
|
-
y: n
|
|
673
|
-
};
|
|
674
|
-
}
|
|
675
|
-
//#endregion
|
|
676
|
-
//#region node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
677
|
-
function Ue(e, t, n) {
|
|
678
|
-
let { reference: r, floating: i } = e, a = B(t), o = ke(t), s = Oe(o), c = R(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;
|
|
679
|
-
switch (c) {
|
|
680
|
-
case "top":
|
|
681
|
-
p = {
|
|
682
|
-
x: u,
|
|
683
|
-
y: r.y - i.height
|
|
684
|
-
};
|
|
685
|
-
break;
|
|
686
|
-
case "bottom":
|
|
687
|
-
p = {
|
|
688
|
-
x: u,
|
|
689
|
-
y: r.y + r.height
|
|
690
|
-
};
|
|
691
|
-
break;
|
|
692
|
-
case "right":
|
|
693
|
-
p = {
|
|
694
|
-
x: r.x + r.width,
|
|
695
|
-
y: d
|
|
696
|
-
};
|
|
697
|
-
break;
|
|
698
|
-
case "left":
|
|
699
|
-
p = {
|
|
700
|
-
x: r.x - i.width,
|
|
701
|
-
y: d
|
|
702
|
-
};
|
|
703
|
-
break;
|
|
704
|
-
default: p = {
|
|
705
|
-
x: r.x,
|
|
706
|
-
y: r.y
|
|
707
|
-
};
|
|
708
|
-
}
|
|
709
|
-
switch (z(t)) {
|
|
710
|
-
case "start":
|
|
711
|
-
p[o] -= f * (n && l ? -1 : 1);
|
|
712
|
-
break;
|
|
713
|
-
case "end":
|
|
714
|
-
p[o] += f * (n && l ? -1 : 1);
|
|
715
|
-
break;
|
|
716
|
-
}
|
|
717
|
-
return p;
|
|
718
|
-
}
|
|
719
|
-
async function We(e, t) {
|
|
720
|
-
t === void 0 && (t = {});
|
|
721
|
-
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 } = L(t, e), p = Ve(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = He(await i.getClippingRect({
|
|
722
|
-
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
723
|
-
boundary: c,
|
|
724
|
-
rootBoundary: l,
|
|
725
|
-
strategy: s
|
|
726
|
-
})), g = u === "floating" ? {
|
|
727
|
-
x: n,
|
|
728
|
-
y: r,
|
|
729
|
-
width: a.floating.width,
|
|
730
|
-
height: a.floating.height
|
|
731
|
-
} : 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(_)) || {
|
|
732
|
-
x: 1,
|
|
733
|
-
y: 1
|
|
734
|
-
}, y = He(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
735
|
-
elements: o,
|
|
736
|
-
rect: g,
|
|
737
|
-
offsetParent: _,
|
|
738
|
-
strategy: s
|
|
739
|
-
}) : g);
|
|
740
|
-
return {
|
|
741
|
-
top: (h.top - y.top + p.top) / v.y,
|
|
742
|
-
bottom: (y.bottom - h.bottom + p.bottom) / v.y,
|
|
743
|
-
left: (h.left - y.left + p.left) / v.x,
|
|
744
|
-
right: (y.right - h.right + p.right) / v.x
|
|
745
|
-
};
|
|
746
|
-
}
|
|
747
|
-
var Ge = 50, Ke = async (e, t, n) => {
|
|
748
|
-
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
749
|
-
...o,
|
|
750
|
-
detectOverflow: We
|
|
751
|
-
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
752
|
-
reference: e,
|
|
753
|
-
floating: t,
|
|
754
|
-
strategy: i
|
|
755
|
-
}), { x: u, y: d } = Ue(l, r, c), f = r, p = 0, m = {};
|
|
756
|
-
for (let n = 0; n < a.length; n++) {
|
|
757
|
-
let h = a[n];
|
|
758
|
-
if (!h) continue;
|
|
759
|
-
let { name: g, fn: _ } = h, { x: v, y, data: b, reset: x } = await _({
|
|
760
|
-
x: u,
|
|
761
|
-
y: d,
|
|
762
|
-
initialPlacement: r,
|
|
763
|
-
placement: f,
|
|
764
|
-
strategy: i,
|
|
765
|
-
middlewareData: m,
|
|
766
|
-
rects: l,
|
|
767
|
-
platform: s,
|
|
768
|
-
elements: {
|
|
769
|
-
reference: e,
|
|
770
|
-
floating: t
|
|
771
|
-
}
|
|
772
|
-
});
|
|
773
|
-
u = v ?? u, d = y ?? d, m[g] = {
|
|
774
|
-
...m[g],
|
|
775
|
-
...b
|
|
776
|
-
}, x && p < Ge && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
777
|
-
reference: e,
|
|
778
|
-
floating: t,
|
|
779
|
-
strategy: i
|
|
780
|
-
}) : x.rects), {x: u, y: d} = Ue(l, f, c)), n = -1);
|
|
781
|
-
}
|
|
782
|
-
return {
|
|
783
|
-
x: u,
|
|
784
|
-
y: d,
|
|
785
|
-
placement: f,
|
|
786
|
-
strategy: i,
|
|
787
|
-
middlewareData: m
|
|
788
|
-
};
|
|
789
|
-
}, qe = (e) => ({
|
|
790
|
-
name: "arrow",
|
|
791
|
-
options: e,
|
|
792
|
-
async fn(t) {
|
|
793
|
-
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = L(e, t) || {};
|
|
794
|
-
if (l == null) return {};
|
|
795
|
-
let d = Ve(u), f = {
|
|
796
|
-
x: n,
|
|
797
|
-
y: r
|
|
798
|
-
}, p = ke(i), m = Oe(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;
|
|
799
|
-
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
800
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee = P(d[_], T), te = P(d[v], T), E = ee, D = C - h[m] - te, O = C / 2 - h[m] / 2 + w, k = Ee(E, O, D), ne = !c.arrow && z(i) != null && O !== k && a.reference[m] / 2 - (O < E ? ee : te) - h[m] / 2 < 0, re = ne ? O < E ? O - E : O - D : 0;
|
|
801
|
-
return {
|
|
802
|
-
[p]: f[p] + re,
|
|
803
|
-
data: {
|
|
804
|
-
[p]: k,
|
|
805
|
-
centerOffset: O - k - re,
|
|
806
|
-
...ne && { alignmentOffset: re }
|
|
807
|
-
},
|
|
808
|
-
reset: ne
|
|
809
|
-
};
|
|
810
|
-
}
|
|
811
|
-
}), Je = function(e) {
|
|
812
|
-
return e === void 0 && (e = {}), {
|
|
813
|
-
name: "flip",
|
|
814
|
-
options: e,
|
|
815
|
-
async fn(t) {
|
|
816
|
-
var n;
|
|
817
|
-
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 } = L(e, t);
|
|
818
|
-
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
819
|
-
let g = R(r), _ = B(o), v = R(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [ze(o)] : je(o)), x = p !== "none";
|
|
820
|
-
!d && x && b.push(...Re(o, m, p, y));
|
|
821
|
-
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
822
|
-
if (l && w.push(C[g]), u) {
|
|
823
|
-
let e = Ae(r, a, y);
|
|
824
|
-
w.push(C[e[0]], C[e[1]]);
|
|
825
|
-
}
|
|
826
|
-
if (T = [...T, {
|
|
827
|
-
placement: r,
|
|
828
|
-
overflows: w
|
|
829
|
-
}], !w.every((e) => e <= 0)) {
|
|
830
|
-
let e = (i.flip?.index || 0) + 1, t = S[e];
|
|
831
|
-
if (t && (!(u === "alignment" && _ !== B(t)) || T.every((e) => B(e.placement) === _ ? e.overflows[0] > 0 : !0))) return {
|
|
832
|
-
data: {
|
|
833
|
-
index: e,
|
|
834
|
-
overflows: T
|
|
835
|
-
},
|
|
836
|
-
reset: { placement: t }
|
|
837
|
-
};
|
|
838
|
-
let n = T.filter((e) => e.overflows[0] <= 0).sort((e, t) => e.overflows[1] - t.overflows[1])[0]?.placement;
|
|
839
|
-
if (!n) switch (f) {
|
|
840
|
-
case "bestFit": {
|
|
841
|
-
let e = T.filter((e) => {
|
|
842
|
-
if (x) {
|
|
843
|
-
let t = B(e.placement);
|
|
844
|
-
return t === _ || t === "y";
|
|
845
|
-
}
|
|
846
|
-
return !0;
|
|
847
|
-
}).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];
|
|
848
|
-
e && (n = e);
|
|
849
|
-
break;
|
|
850
|
-
}
|
|
851
|
-
case "initialPlacement":
|
|
852
|
-
n = o;
|
|
853
|
-
break;
|
|
854
|
-
}
|
|
855
|
-
if (r !== n) return { reset: { placement: n } };
|
|
856
|
-
}
|
|
857
|
-
return {};
|
|
858
|
-
}
|
|
859
|
-
};
|
|
860
|
-
}, Ye = /*#__PURE__*/ new Set(["left", "top"]);
|
|
861
|
-
async function Xe(e, t) {
|
|
862
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = R(n), s = z(n), c = B(n) === "y", l = Ye.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = L(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
863
|
-
mainAxis: d,
|
|
864
|
-
crossAxis: 0,
|
|
865
|
-
alignmentAxis: null
|
|
866
|
-
} : {
|
|
867
|
-
mainAxis: d.mainAxis || 0,
|
|
868
|
-
crossAxis: d.crossAxis || 0,
|
|
869
|
-
alignmentAxis: d.alignmentAxis
|
|
870
|
-
};
|
|
871
|
-
return s && typeof m == "number" && (p = s === "end" ? m * -1 : m), c ? {
|
|
872
|
-
x: p * u,
|
|
873
|
-
y: f * l
|
|
874
|
-
} : {
|
|
875
|
-
x: f * l,
|
|
876
|
-
y: p * u
|
|
877
|
-
};
|
|
878
|
-
}
|
|
879
|
-
var Ze = function(e) {
|
|
880
|
-
return e === void 0 && (e = 0), {
|
|
881
|
-
name: "offset",
|
|
882
|
-
options: e,
|
|
883
|
-
async fn(t) {
|
|
884
|
-
var n;
|
|
885
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await Xe(t, e);
|
|
886
|
-
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
887
|
-
x: r + s.x,
|
|
888
|
-
y: i + s.y,
|
|
889
|
-
data: {
|
|
890
|
-
...s,
|
|
891
|
-
placement: a
|
|
892
|
-
}
|
|
893
|
-
};
|
|
894
|
-
}
|
|
895
|
-
};
|
|
896
|
-
}, Qe = function(e) {
|
|
897
|
-
return e === void 0 && (e = {}), {
|
|
898
|
-
name: "shift",
|
|
899
|
-
options: e,
|
|
900
|
-
async fn(t) {
|
|
901
|
-
let { x: n, y: r, placement: i, platform: a } = t, { mainAxis: o = !0, crossAxis: s = !1, limiter: c = { fn: (e) => {
|
|
902
|
-
let { x: t, y: n } = e;
|
|
903
|
-
return {
|
|
904
|
-
x: t,
|
|
905
|
-
y: n
|
|
906
|
-
};
|
|
907
|
-
} }, ...l } = L(e, t), u = {
|
|
908
|
-
x: n,
|
|
909
|
-
y: r
|
|
910
|
-
}, d = await a.detectOverflow(t, l), f = B(R(i)), p = De(f), m = u[p], h = u[f];
|
|
911
|
-
if (o) {
|
|
912
|
-
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
913
|
-
m = Ee(n, m, r);
|
|
914
|
-
}
|
|
915
|
-
if (s) {
|
|
916
|
-
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
917
|
-
h = Ee(n, h, r);
|
|
918
|
-
}
|
|
919
|
-
let g = c.fn({
|
|
920
|
-
...t,
|
|
921
|
-
[p]: m,
|
|
922
|
-
[f]: h
|
|
923
|
-
});
|
|
924
|
-
return {
|
|
925
|
-
...g,
|
|
926
|
-
data: {
|
|
927
|
-
x: g.x - n,
|
|
928
|
-
y: g.y - r,
|
|
929
|
-
enabled: {
|
|
930
|
-
[p]: o,
|
|
931
|
-
[f]: s
|
|
932
|
-
}
|
|
933
|
-
}
|
|
934
|
-
};
|
|
935
|
-
}
|
|
936
|
-
};
|
|
937
|
-
}, $e = function(e) {
|
|
938
|
-
return e === void 0 && (e = {}), {
|
|
939
|
-
name: "size",
|
|
940
|
-
options: e,
|
|
941
|
-
async fn(t) {
|
|
942
|
-
var n, r;
|
|
943
|
-
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = L(e, t), u = await o.detectOverflow(t, l), d = R(i), f = z(i), p = B(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
944
|
-
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");
|
|
945
|
-
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = P(h - u[g], v), x = P(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
946
|
-
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
947
|
-
let e = F(u.left, 0), t = F(u.right, 0), n = F(u.top, 0), r = F(u.bottom, 0);
|
|
948
|
-
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t : F(u.left, u.right)) : C = h - 2 * (n !== 0 || r !== 0 ? n + r : F(u.top, u.bottom));
|
|
949
|
-
}
|
|
950
|
-
await c({
|
|
951
|
-
...t,
|
|
952
|
-
availableWidth: w,
|
|
953
|
-
availableHeight: C
|
|
954
|
-
});
|
|
955
|
-
let T = await o.getDimensions(s.floating);
|
|
956
|
-
return m !== T.width || h !== T.height ? { reset: { rects: !0 } } : {};
|
|
957
|
-
}
|
|
958
|
-
};
|
|
959
|
-
};
|
|
960
|
-
//#endregion
|
|
961
|
-
//#region node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
962
|
-
function et() {
|
|
963
|
-
return typeof window < "u";
|
|
964
|
-
}
|
|
965
|
-
function V(e) {
|
|
966
|
-
return tt(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
967
|
-
}
|
|
968
|
-
function H(e) {
|
|
969
|
-
var t;
|
|
970
|
-
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
971
|
-
}
|
|
972
|
-
function U(e) {
|
|
973
|
-
return ((tt(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
974
|
-
}
|
|
975
|
-
function tt(e) {
|
|
976
|
-
return et() ? e instanceof Node || e instanceof H(e).Node : !1;
|
|
977
|
-
}
|
|
978
|
-
function W(e) {
|
|
979
|
-
return et() ? e instanceof Element || e instanceof H(e).Element : !1;
|
|
980
|
-
}
|
|
981
|
-
function G(e) {
|
|
982
|
-
return et() ? e instanceof HTMLElement || e instanceof H(e).HTMLElement : !1;
|
|
983
|
-
}
|
|
984
|
-
function nt(e) {
|
|
985
|
-
return !et() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof H(e).ShadowRoot;
|
|
986
|
-
}
|
|
987
|
-
function rt(e) {
|
|
988
|
-
let { overflow: t, overflowX: n, overflowY: r, display: i } = q(e);
|
|
989
|
-
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
990
|
-
}
|
|
991
|
-
function it(e) {
|
|
992
|
-
return /^(table|td|th)$/.test(V(e));
|
|
993
|
-
}
|
|
994
|
-
function at(e) {
|
|
995
|
-
try {
|
|
996
|
-
if (e.matches(":popover-open")) return !0;
|
|
997
|
-
} catch {}
|
|
998
|
-
try {
|
|
999
|
-
return e.matches(":modal");
|
|
1000
|
-
} catch {
|
|
1001
|
-
return !1;
|
|
1002
|
-
}
|
|
1003
|
-
}
|
|
1004
|
-
var ot = /transform|translate|scale|rotate|perspective|filter/, st = /paint|layout|strict|content/, K = (e) => !!e && e !== "none", ct;
|
|
1005
|
-
function lt(e) {
|
|
1006
|
-
let t = W(e) ? q(e) : e;
|
|
1007
|
-
return K(t.transform) || K(t.translate) || K(t.scale) || K(t.rotate) || K(t.perspective) || !dt() && (K(t.backdropFilter) || K(t.filter)) || ot.test(t.willChange || "") || st.test(t.contain || "");
|
|
1008
|
-
}
|
|
1009
|
-
function ut(e) {
|
|
1010
|
-
let t = J(e);
|
|
1011
|
-
for (; G(t) && !ft(t);) {
|
|
1012
|
-
if (lt(t)) return t;
|
|
1013
|
-
if (at(t)) return null;
|
|
1014
|
-
t = J(t);
|
|
1015
|
-
}
|
|
1016
|
-
return null;
|
|
1017
|
-
}
|
|
1018
|
-
function dt() {
|
|
1019
|
-
return ct ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), ct;
|
|
1020
|
-
}
|
|
1021
|
-
function ft(e) {
|
|
1022
|
-
return /^(html|body|#document)$/.test(V(e));
|
|
1023
|
-
}
|
|
1024
|
-
function q(e) {
|
|
1025
|
-
return H(e).getComputedStyle(e);
|
|
1026
|
-
}
|
|
1027
|
-
function pt(e) {
|
|
1028
|
-
return W(e) ? {
|
|
1029
|
-
scrollLeft: e.scrollLeft,
|
|
1030
|
-
scrollTop: e.scrollTop
|
|
1031
|
-
} : {
|
|
1032
|
-
scrollLeft: e.scrollX,
|
|
1033
|
-
scrollTop: e.scrollY
|
|
1034
|
-
};
|
|
1035
|
-
}
|
|
1036
|
-
function J(e) {
|
|
1037
|
-
if (V(e) === "html") return e;
|
|
1038
|
-
let t = e.assignedSlot || e.parentNode || nt(e) && e.host || U(e);
|
|
1039
|
-
return nt(t) ? t.host : t;
|
|
1040
|
-
}
|
|
1041
|
-
function mt(e) {
|
|
1042
|
-
let t = J(e);
|
|
1043
|
-
return ft(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : G(t) && rt(t) ? t : mt(t);
|
|
1044
|
-
}
|
|
1045
|
-
function ht(e, t, n) {
|
|
1046
|
-
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
1047
|
-
let r = mt(e), i = r === e.ownerDocument?.body, a = H(r);
|
|
1048
|
-
if (i) {
|
|
1049
|
-
let e = gt(a);
|
|
1050
|
-
return t.concat(a, a.visualViewport || [], rt(r) ? r : [], e && n ? ht(e) : []);
|
|
1051
|
-
} else return t.concat(r, ht(r, [], n));
|
|
1052
|
-
}
|
|
1053
|
-
function gt(e) {
|
|
1054
|
-
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
1055
|
-
}
|
|
1056
|
-
//#endregion
|
|
1057
|
-
//#region node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
1058
|
-
function _t(e) {
|
|
1059
|
-
let t = q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = G(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = Ce(n) !== a || Ce(r) !== o;
|
|
1060
|
-
return s && (n = a, r = o), {
|
|
1061
|
-
width: n,
|
|
1062
|
-
height: r,
|
|
1063
|
-
$: s
|
|
1064
|
-
};
|
|
1065
|
-
}
|
|
1066
|
-
function vt(e) {
|
|
1067
|
-
return W(e) ? e : e.contextElement;
|
|
1068
|
-
}
|
|
1069
|
-
function yt(e) {
|
|
1070
|
-
let t = vt(e);
|
|
1071
|
-
if (!G(t)) return I(1);
|
|
1072
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = _t(t), o = (a ? Ce(n.width) : n.width) / r, s = (a ? Ce(n.height) : n.height) / i;
|
|
1073
|
-
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
1074
|
-
x: o,
|
|
1075
|
-
y: s
|
|
1076
|
-
};
|
|
1077
|
-
}
|
|
1078
|
-
var bt = /*#__PURE__*/ I(0);
|
|
1079
|
-
function xt(e) {
|
|
1080
|
-
let t = H(e);
|
|
1081
|
-
return !dt() || !t.visualViewport ? bt : {
|
|
1082
|
-
x: t.visualViewport.offsetLeft,
|
|
1083
|
-
y: t.visualViewport.offsetTop
|
|
1084
|
-
};
|
|
1085
|
-
}
|
|
1086
|
-
function St(e, t, n) {
|
|
1087
|
-
return t === void 0 && (t = !1), !n || t && n !== H(e) ? !1 : t;
|
|
1088
|
-
}
|
|
1089
|
-
function Y(e, t, n, r) {
|
|
1090
|
-
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
1091
|
-
let i = e.getBoundingClientRect(), a = vt(e), o = I(1);
|
|
1092
|
-
t && (r ? W(r) && (o = yt(r)) : o = yt(e));
|
|
1093
|
-
let s = St(a, n, r) ? xt(a) : I(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;
|
|
1094
|
-
if (a) {
|
|
1095
|
-
let e = H(a), t = r && W(r) ? H(r) : r, n = e, i = gt(n);
|
|
1096
|
-
for (; i && r && t !== n;) {
|
|
1097
|
-
let e = yt(i), t = i.getBoundingClientRect(), r = q(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
|
|
1098
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = H(i), i = gt(n);
|
|
1099
|
-
}
|
|
1100
|
-
}
|
|
1101
|
-
return He({
|
|
1102
|
-
width: u,
|
|
1103
|
-
height: d,
|
|
1104
|
-
x: c,
|
|
1105
|
-
y: l
|
|
1106
|
-
});
|
|
1107
|
-
}
|
|
1108
|
-
function Ct(e, t) {
|
|
1109
|
-
let n = pt(e).scrollLeft;
|
|
1110
|
-
return t ? t.left + n : Y(U(e)).left + n;
|
|
1111
|
-
}
|
|
1112
|
-
function wt(e, t) {
|
|
1113
|
-
let n = e.getBoundingClientRect();
|
|
1114
|
-
return {
|
|
1115
|
-
x: n.left + t.scrollLeft - Ct(e, n),
|
|
1116
|
-
y: n.top + t.scrollTop
|
|
1117
|
-
};
|
|
1118
|
-
}
|
|
1119
|
-
function Tt(e) {
|
|
1120
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = U(r), s = t ? at(t.floating) : !1;
|
|
1121
|
-
if (r === o || s && a) return n;
|
|
1122
|
-
let c = {
|
|
1123
|
-
scrollLeft: 0,
|
|
1124
|
-
scrollTop: 0
|
|
1125
|
-
}, l = I(1), u = I(0), d = G(r);
|
|
1126
|
-
if ((d || !d && !a) && ((V(r) !== "body" || rt(o)) && (c = pt(r)), d)) {
|
|
1127
|
-
let e = Y(r);
|
|
1128
|
-
l = yt(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
1129
|
-
}
|
|
1130
|
-
let f = o && !d && !a ? wt(o, c) : I(0);
|
|
1131
|
-
return {
|
|
1132
|
-
width: n.width * l.x,
|
|
1133
|
-
height: n.height * l.y,
|
|
1134
|
-
x: n.x * l.x - c.scrollLeft * l.x + u.x + f.x,
|
|
1135
|
-
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
1136
|
-
};
|
|
1137
|
-
}
|
|
1138
|
-
function Et(e) {
|
|
1139
|
-
return Array.from(e.getClientRects());
|
|
1140
|
-
}
|
|
1141
|
-
function Dt(e) {
|
|
1142
|
-
let t = U(e), n = pt(e), r = e.ownerDocument.body, i = F(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = F(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + Ct(e), s = -n.scrollTop;
|
|
1143
|
-
return q(r).direction === "rtl" && (o += F(t.clientWidth, r.clientWidth) - i), {
|
|
1144
|
-
width: i,
|
|
1145
|
-
height: a,
|
|
1146
|
-
x: o,
|
|
1147
|
-
y: s
|
|
1148
|
-
};
|
|
1149
|
-
}
|
|
1150
|
-
var Ot = 25;
|
|
1151
|
-
function kt(e, t) {
|
|
1152
|
-
let n = H(e), r = U(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
1153
|
-
if (i) {
|
|
1154
|
-
a = i.width, o = i.height;
|
|
1155
|
-
let e = dt();
|
|
1156
|
-
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
1157
|
-
}
|
|
1158
|
-
let l = Ct(r);
|
|
1159
|
-
if (l <= 0) {
|
|
1160
|
-
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);
|
|
1161
|
-
o <= Ot && (a -= o);
|
|
1162
|
-
} else l <= Ot && (a += l);
|
|
1163
|
-
return {
|
|
1164
|
-
width: a,
|
|
1165
|
-
height: o,
|
|
1166
|
-
x: s,
|
|
1167
|
-
y: c
|
|
1168
|
-
};
|
|
1169
|
-
}
|
|
1170
|
-
function At(e, t) {
|
|
1171
|
-
let n = Y(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = G(e) ? yt(e) : I(1);
|
|
1172
|
-
return {
|
|
1173
|
-
width: e.clientWidth * a.x,
|
|
1174
|
-
height: e.clientHeight * a.y,
|
|
1175
|
-
x: i * a.x,
|
|
1176
|
-
y: r * a.y
|
|
1177
|
-
};
|
|
1178
|
-
}
|
|
1179
|
-
function jt(e, t, n) {
|
|
1180
|
-
let r;
|
|
1181
|
-
if (t === "viewport") r = kt(e, n);
|
|
1182
|
-
else if (t === "document") r = Dt(U(e));
|
|
1183
|
-
else if (W(t)) r = At(t, n);
|
|
1184
|
-
else {
|
|
1185
|
-
let n = xt(e);
|
|
1186
|
-
r = {
|
|
1187
|
-
x: t.x - n.x,
|
|
1188
|
-
y: t.y - n.y,
|
|
1189
|
-
width: t.width,
|
|
1190
|
-
height: t.height
|
|
1191
|
-
};
|
|
1192
|
-
}
|
|
1193
|
-
return He(r);
|
|
1194
|
-
}
|
|
1195
|
-
function Mt(e, t) {
|
|
1196
|
-
let n = J(e);
|
|
1197
|
-
return n === t || !W(n) || ft(n) ? !1 : q(n).position === "fixed" || Mt(n, t);
|
|
1198
|
-
}
|
|
1199
|
-
function Nt(e, t) {
|
|
1200
|
-
let n = t.get(e);
|
|
1201
|
-
if (n) return n;
|
|
1202
|
-
let r = ht(e, [], !1).filter((e) => W(e) && V(e) !== "body"), i = null, a = q(e).position === "fixed", o = a ? J(e) : e;
|
|
1203
|
-
for (; W(o) && !ft(o);) {
|
|
1204
|
-
let t = q(o), n = lt(o);
|
|
1205
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || rt(o) && !n && Mt(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = J(o);
|
|
1206
|
-
}
|
|
1207
|
-
return t.set(e, r), r;
|
|
1208
|
-
}
|
|
1209
|
-
function Pt(e) {
|
|
1210
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? at(t) ? [] : Nt(t, this._c) : [].concat(n), r], o = jt(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
1211
|
-
for (let e = 1; e < a.length; e++) {
|
|
1212
|
-
let n = jt(t, a[e], i);
|
|
1213
|
-
s = F(n.top, s), c = P(n.right, c), l = P(n.bottom, l), u = F(n.left, u);
|
|
1214
|
-
}
|
|
1215
|
-
return {
|
|
1216
|
-
width: c - u,
|
|
1217
|
-
height: l - s,
|
|
1218
|
-
x: u,
|
|
1219
|
-
y: s
|
|
1220
|
-
};
|
|
1221
|
-
}
|
|
1222
|
-
function Ft(e) {
|
|
1223
|
-
let { width: t, height: n } = _t(e);
|
|
1224
|
-
return {
|
|
1225
|
-
width: t,
|
|
1226
|
-
height: n
|
|
1227
|
-
};
|
|
1228
|
-
}
|
|
1229
|
-
function It(e, t, n) {
|
|
1230
|
-
let r = G(t), i = U(t), a = n === "fixed", o = Y(e, !0, a, t), s = {
|
|
1231
|
-
scrollLeft: 0,
|
|
1232
|
-
scrollTop: 0
|
|
1233
|
-
}, c = I(0);
|
|
1234
|
-
function l() {
|
|
1235
|
-
c.x = Ct(i);
|
|
1236
|
-
}
|
|
1237
|
-
if (r || !r && !a) if ((V(t) !== "body" || rt(i)) && (s = pt(t)), r) {
|
|
1238
|
-
let e = Y(t, !0, a, t);
|
|
1239
|
-
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
1240
|
-
} else i && l();
|
|
1241
|
-
a && !r && i && l();
|
|
1242
|
-
let u = i && !r && !a ? wt(i, s) : I(0);
|
|
1243
|
-
return {
|
|
1244
|
-
x: o.left + s.scrollLeft - c.x - u.x,
|
|
1245
|
-
y: o.top + s.scrollTop - c.y - u.y,
|
|
1246
|
-
width: o.width,
|
|
1247
|
-
height: o.height
|
|
1248
|
-
};
|
|
1249
|
-
}
|
|
1250
|
-
function Lt(e) {
|
|
1251
|
-
return q(e).position === "static";
|
|
1252
|
-
}
|
|
1253
|
-
function Rt(e, t) {
|
|
1254
|
-
if (!G(e) || q(e).position === "fixed") return null;
|
|
1255
|
-
if (t) return t(e);
|
|
1256
|
-
let n = e.offsetParent;
|
|
1257
|
-
return U(e) === n && (n = n.ownerDocument.body), n;
|
|
1258
|
-
}
|
|
1259
|
-
function zt(e, t) {
|
|
1260
|
-
let n = H(e);
|
|
1261
|
-
if (at(e)) return n;
|
|
1262
|
-
if (!G(e)) {
|
|
1263
|
-
let t = J(e);
|
|
1264
|
-
for (; t && !ft(t);) {
|
|
1265
|
-
if (W(t) && !Lt(t)) return t;
|
|
1266
|
-
t = J(t);
|
|
1267
|
-
}
|
|
1268
|
-
return n;
|
|
1269
|
-
}
|
|
1270
|
-
let r = Rt(e, t);
|
|
1271
|
-
for (; r && it(r) && Lt(r);) r = Rt(r, t);
|
|
1272
|
-
return r && ft(r) && Lt(r) && !lt(r) ? n : r || ut(e) || n;
|
|
1273
|
-
}
|
|
1274
|
-
var Bt = async function(e) {
|
|
1275
|
-
let t = this.getOffsetParent || zt, n = this.getDimensions, r = await n(e.floating);
|
|
1276
|
-
return {
|
|
1277
|
-
reference: It(e.reference, await t(e.floating), e.strategy),
|
|
1278
|
-
floating: {
|
|
1279
|
-
x: 0,
|
|
1280
|
-
y: 0,
|
|
1281
|
-
width: r.width,
|
|
1282
|
-
height: r.height
|
|
1283
|
-
}
|
|
1284
|
-
};
|
|
1285
|
-
};
|
|
1286
|
-
function Vt(e) {
|
|
1287
|
-
return q(e).direction === "rtl";
|
|
1288
|
-
}
|
|
1289
|
-
var Ht = {
|
|
1290
|
-
convertOffsetParentRelativeRectToViewportRelativeRect: Tt,
|
|
1291
|
-
getDocumentElement: U,
|
|
1292
|
-
getClippingRect: Pt,
|
|
1293
|
-
getOffsetParent: zt,
|
|
1294
|
-
getElementRects: Bt,
|
|
1295
|
-
getClientRects: Et,
|
|
1296
|
-
getDimensions: Ft,
|
|
1297
|
-
getScale: yt,
|
|
1298
|
-
isElement: W,
|
|
1299
|
-
isRTL: Vt
|
|
1300
|
-
};
|
|
1301
|
-
function Ut(e, t) {
|
|
1302
|
-
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
1303
|
-
}
|
|
1304
|
-
function Wt(e, t) {
|
|
1305
|
-
let n = null, r, i = U(e);
|
|
1306
|
-
function a() {
|
|
1307
|
-
var e;
|
|
1308
|
-
clearTimeout(r), (e = n) == null || e.disconnect(), n = null;
|
|
1309
|
-
}
|
|
1310
|
-
function o(s, c) {
|
|
1311
|
-
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
1312
|
-
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
1313
|
-
if (s || t(), !f || !p) return;
|
|
1314
|
-
let m = we(d), h = we(i.clientWidth - (u + f)), g = we(i.clientHeight - (d + p)), _ = we(u), v = {
|
|
1315
|
-
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
1316
|
-
threshold: F(0, P(1, c)) || 1
|
|
1317
|
-
}, y = !0;
|
|
1318
|
-
function b(t) {
|
|
1319
|
-
let n = t[0].intersectionRatio;
|
|
1320
|
-
if (n !== c) {
|
|
1321
|
-
if (!y) return o();
|
|
1322
|
-
n ? o(!1, n) : r = setTimeout(() => {
|
|
1323
|
-
o(!1, 1e-7);
|
|
1324
|
-
}, 1e3);
|
|
1325
|
-
}
|
|
1326
|
-
n === 1 && !Ut(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
1327
|
-
}
|
|
1328
|
-
try {
|
|
1329
|
-
n = new IntersectionObserver(b, {
|
|
1330
|
-
...v,
|
|
1331
|
-
root: i.ownerDocument
|
|
1332
|
-
});
|
|
1333
|
-
} catch {
|
|
1334
|
-
n = new IntersectionObserver(b, v);
|
|
1335
|
-
}
|
|
1336
|
-
n.observe(e);
|
|
1337
|
-
}
|
|
1338
|
-
return o(!0), a;
|
|
1339
|
-
}
|
|
1340
|
-
function Gt(e, t, n, r) {
|
|
1341
|
-
r === void 0 && (r = {});
|
|
1342
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = vt(e), u = i || a ? [...l ? ht(l) : [], ...t ? ht(t) : []] : [];
|
|
1343
|
-
u.forEach((e) => {
|
|
1344
|
-
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
1345
|
-
});
|
|
1346
|
-
let d = l && s ? Wt(l, n) : null, f = -1, p = null;
|
|
1347
|
-
o && (p = new ResizeObserver((e) => {
|
|
1348
|
-
let [r] = e;
|
|
1349
|
-
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
1350
|
-
var e;
|
|
1351
|
-
(e = p) == null || e.observe(t);
|
|
1352
|
-
})), n();
|
|
1353
|
-
}), l && !c && p.observe(l), t && p.observe(t));
|
|
1354
|
-
let m, h = c ? Y(e) : null;
|
|
1355
|
-
c && g();
|
|
1356
|
-
function g() {
|
|
1357
|
-
let t = Y(e);
|
|
1358
|
-
h && !Ut(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
1359
|
-
}
|
|
1360
|
-
return n(), () => {
|
|
1361
|
-
var e;
|
|
1362
|
-
u.forEach((e) => {
|
|
1363
|
-
i && e.removeEventListener("scroll", n), a && e.removeEventListener("resize", n);
|
|
1364
|
-
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
1365
|
-
};
|
|
1366
|
-
}
|
|
1367
|
-
var Kt = Ze, qt = Qe, Jt = Je, Yt = $e, Xt = qe, Zt = (e, t, n) => {
|
|
1368
|
-
let r = /* @__PURE__ */ new Map(), i = {
|
|
1369
|
-
platform: Ht,
|
|
1370
|
-
...n
|
|
1371
|
-
}, a = {
|
|
1372
|
-
...i.platform,
|
|
1373
|
-
_c: r
|
|
1374
|
-
};
|
|
1375
|
-
return Ke(e, t, {
|
|
1376
|
-
...i,
|
|
1377
|
-
platform: a
|
|
1378
|
-
});
|
|
1379
|
-
}, Qt = /* @__PURE__ */ new Set(), X = class extends j {
|
|
251
|
+
//#region node_modules/@awesome.me/webawesome/dist/chunks/chunk.5SFAASOS.js
|
|
252
|
+
var P = /* @__PURE__ */ new Set(), F = class extends h {
|
|
1380
253
|
constructor() {
|
|
1381
|
-
super(...arguments), this.submenuCleanups = /* @__PURE__ */ new Map(), this.localize = new
|
|
254
|
+
super(...arguments), this.submenuCleanups = /* @__PURE__ */ new Map(), this.localize = new p(this), this.userTypedQuery = "", this.openSubmenuStack = [], this.open = !1, this.size = "m", this.placement = "bottom-start", this.distance = 0, this.skidding = 0, this.handleDocumentKeyDown = async (e) => {
|
|
1382
255
|
let t = this.localize.dir() === "rtl";
|
|
1383
|
-
if (e.key === "Escape" && this.open &&
|
|
256
|
+
if (e.key === "Escape" && this.open && D(this)) {
|
|
1384
257
|
let t = this.getTrigger();
|
|
1385
258
|
e.preventDefault(), e.stopPropagation(), this.open = !1, t?.focus({ preventScroll: !0 });
|
|
1386
259
|
return;
|
|
1387
260
|
}
|
|
1388
|
-
let n = [...
|
|
261
|
+
let n = [...v()].find((e) => e.localName === "wa-dropdown-item"), r = n?.localName === "wa-dropdown-item", i = this.getCurrentSubmenuItem(), a = !!i, o, s, c;
|
|
1389
262
|
a ? (o = this.getSubmenuItems(i), s = o.find((e) => e.active || e === n), c = s ? o.indexOf(s) : -1) : (o = this.getItems(), s = o.find((e) => e.active || e === n), c = s ? o.indexOf(s) : -1);
|
|
1390
263
|
let l;
|
|
1391
264
|
if (e.key === "ArrowUp" && (e.preventDefault(), e.stopPropagation(), l = c > 0 ? o[c - 1] : o[o.length - 1]), e.key === "ArrowDown" && (e.preventDefault(), e.stopPropagation(), l = c !== -1 && c < o.length - 1 ? o[c + 1] : o[0]), e.key === (t ? "ArrowLeft" : "ArrowRight") && r && s && s.hasSubmenu) {
|
|
@@ -1435,7 +308,7 @@ var Kt = Ze, qt = Qe, Jt = Je, Yt = $e, Xt = qe, Zt = (e, t, n) => {
|
|
|
1435
308
|
te(this.localName, this.size);
|
|
1436
309
|
}
|
|
1437
310
|
disconnectedCallback() {
|
|
1438
|
-
super.disconnectedCallback(), clearInterval(this.userTypedTimeout), this.closeAllSubmenus(), this.submenuCleanups.forEach((e) => e()), this.submenuCleanups.clear(), document.removeEventListener("mousemove", this.handleGlobalMouseMove), document.removeEventListener("keydown", this.handleDocumentKeyDown), document.removeEventListener("pointerdown", this.handleDocumentPointerDown),
|
|
311
|
+
super.disconnectedCallback(), clearInterval(this.userTypedTimeout), this.closeAllSubmenus(), this.submenuCleanups.forEach((e) => e()), this.submenuCleanups.clear(), document.removeEventListener("mousemove", this.handleGlobalMouseMove), document.removeEventListener("keydown", this.handleDocumentKeyDown), document.removeEventListener("pointerdown", this.handleDocumentPointerDown), E(this);
|
|
1439
312
|
}
|
|
1440
313
|
firstUpdated() {
|
|
1441
314
|
this.syncAriaAttributes();
|
|
@@ -1487,24 +360,24 @@ var Kt = Ze, qt = Qe, Jt = Je, Yt = $e, Xt = qe, Zt = (e, t, n) => {
|
|
|
1487
360
|
}
|
|
1488
361
|
async showMenu() {
|
|
1489
362
|
if (!this.getTrigger() || !this.popup || !this.menu) return;
|
|
1490
|
-
let e = new
|
|
363
|
+
let e = new b();
|
|
1491
364
|
if (this.dispatchEvent(e), e.defaultPrevented) {
|
|
1492
365
|
this.open = !1;
|
|
1493
366
|
return;
|
|
1494
367
|
}
|
|
1495
368
|
if (this.popup.active) return;
|
|
1496
|
-
|
|
369
|
+
P.forEach((e) => e.open = !1), this.popup.active = !0, this.open = !0, P.add(this), T(this), this.syncAriaAttributes(), document.addEventListener("keydown", this.handleDocumentKeyDown), document.addEventListener("pointerdown", this.handleDocumentPointerDown), document.addEventListener("mousemove", this.handleGlobalMouseMove), this.menu.classList.remove("hide"), await M(this.menu, "show");
|
|
1497
370
|
let t = this.getItems();
|
|
1498
|
-
t.length > 0 && (t.forEach((e, t) => e.active = t === 0), t[0].focus({ preventScroll: !0 })), this.dispatchEvent(new
|
|
371
|
+
t.length > 0 && (t.forEach((e, t) => e.active = t === 0), t[0].focus({ preventScroll: !0 })), this.dispatchEvent(new C());
|
|
1499
372
|
}
|
|
1500
373
|
async hideMenu() {
|
|
1501
374
|
if (!this.popup || !this.menu) return;
|
|
1502
|
-
let e = new
|
|
375
|
+
let e = new x({ source: this });
|
|
1503
376
|
if (this.dispatchEvent(e), e.defaultPrevented) {
|
|
1504
377
|
this.open = !0;
|
|
1505
378
|
return;
|
|
1506
379
|
}
|
|
1507
|
-
this.open = !1,
|
|
380
|
+
this.open = !1, P.delete(this), E(this), this.syncAriaAttributes(), document.removeEventListener("keydown", this.handleDocumentKeyDown), document.removeEventListener("pointerdown", this.handleDocumentPointerDown), document.removeEventListener("mousemove", this.handleGlobalMouseMove), this.menu.classList.remove("show"), await M(this.menu, "hide"), this.popup.active = this.open, this.dispatchEvent(new S());
|
|
1508
381
|
}
|
|
1509
382
|
handleMenuClick(e) {
|
|
1510
383
|
let t = e.target.closest("wa-dropdown-item");
|
|
@@ -1534,12 +407,12 @@ var Kt = Ze, qt = Qe, Jt = Je, Yt = $e, Xt = qe, Zt = (e, t, n) => {
|
|
|
1534
407
|
setupSubmenuPosition(e) {
|
|
1535
408
|
if (!e.submenuElement) return;
|
|
1536
409
|
this.cleanupSubmenuPosition(e);
|
|
1537
|
-
let t =
|
|
410
|
+
let t = g(e, e.submenuElement, () => {
|
|
1538
411
|
this.positionSubmenu(e), this.updateSafeTriangleCoordinates(e);
|
|
1539
412
|
});
|
|
1540
413
|
this.submenuCleanups.set(e, t);
|
|
1541
414
|
let n = e.submenuElement.querySelector("slot[name=\"submenu\"]");
|
|
1542
|
-
n && (n.removeEventListener("slotchange",
|
|
415
|
+
n && (n.removeEventListener("slotchange", F.handleSubmenuSlotChange), n.addEventListener("slotchange", F.handleSubmenuSlotChange), F.handleSubmenuSlotChange({ target: n }));
|
|
1543
416
|
}
|
|
1544
417
|
static handleSubmenuSlotChange(e) {
|
|
1545
418
|
let t = e.target;
|
|
@@ -1565,15 +438,15 @@ var Kt = Ze, qt = Qe, Jt = Je, Yt = $e, Xt = qe, Zt = (e, t, n) => {
|
|
|
1565
438
|
positionSubmenu(e) {
|
|
1566
439
|
if (!e.submenuElement) return;
|
|
1567
440
|
let t = this.localize.dir() === "rtl" ? "left-start" : "right-start";
|
|
1568
|
-
|
|
441
|
+
f(e, e.submenuElement, {
|
|
1569
442
|
placement: t,
|
|
1570
443
|
middleware: [
|
|
1571
|
-
|
|
444
|
+
d({
|
|
1572
445
|
mainAxis: 0,
|
|
1573
446
|
crossAxis: -5
|
|
1574
447
|
}),
|
|
1575
|
-
|
|
1576
|
-
|
|
448
|
+
m({ fallbackStrategy: "bestFit" }),
|
|
449
|
+
l({ padding: 8 })
|
|
1577
450
|
]
|
|
1578
451
|
}).then(({ x: t, y: n, placement: r }) => {
|
|
1579
452
|
e.submenuElement.setAttribute("data-placement", r), Object.assign(e.submenuElement.style, {
|
|
@@ -1596,12 +469,12 @@ var Kt = Ze, qt = Qe, Jt = Je, Yt = $e, Xt = qe, Zt = (e, t, n) => {
|
|
|
1596
469
|
let t = this.getTrigger();
|
|
1597
470
|
if (e.disabled) return;
|
|
1598
471
|
e.type === "checkbox" && (e.checked = !e.checked);
|
|
1599
|
-
let n = new
|
|
472
|
+
let n = new _({ item: e });
|
|
1600
473
|
this.dispatchEvent(n), n.defaultPrevented || (this.open = !1, t?.focus({ preventScroll: !0 }));
|
|
1601
474
|
}
|
|
1602
475
|
async syncAriaAttributes() {
|
|
1603
476
|
let e = this.getTrigger(), t;
|
|
1604
|
-
e && (e.localName === "wa-button" ? (await customElements.whenDefined("wa-button"), await e.updateComplete, t = e.shadowRoot.querySelector("[part=\"base\"]")) : t = e, t.hasAttribute("id") || t.setAttribute("id",
|
|
477
|
+
e && (e.localName === "wa-button" ? (await customElements.whenDefined("wa-button"), await e.updateComplete, t = e.shadowRoot.querySelector("[part=\"base\"]")) : t = e, t.hasAttribute("id") || t.setAttribute("id", A("wa-dropdown-trigger-")), t.setAttribute("aria-haspopup", "menu"), t.setAttribute("aria-expanded", this.open ? "true" : "false"), this.menu?.setAttribute("aria-expanded", "false"));
|
|
1605
478
|
}
|
|
1606
479
|
render() {
|
|
1607
480
|
let e = this.didSSR && !this.hasUpdated ? this.open : this.popup?.active;
|
|
@@ -1639,13 +512,13 @@ var Kt = Ze, qt = Qe, Jt = Je, Yt = $e, Xt = qe, Zt = (e, t, n) => {
|
|
|
1639
512
|
`;
|
|
1640
513
|
}
|
|
1641
514
|
};
|
|
1642
|
-
|
|
515
|
+
F.css = [ne, y], u([c("slot:not([name])")], F.prototype, "defaultSlot", 2), u([c("#menu")], F.prototype, "menu", 2), u([c("wa-popup")], F.prototype, "popup", 2), u([s({
|
|
1643
516
|
type: Boolean,
|
|
1644
517
|
reflect: !0
|
|
1645
|
-
})],
|
|
518
|
+
})], F.prototype, "open", 2), u([s({ reflect: !0 })], F.prototype, "size", 2), u([N("size")], F.prototype, "handleSizeChange", 1), u([s({ reflect: !0 })], F.prototype, "placement", 2), u([s({ type: Number })], F.prototype, "distance", 2), u([s({ type: Number })], F.prototype, "skidding", 2), F = u([a("wa-dropdown")], F);
|
|
1646
519
|
//#endregion
|
|
1647
520
|
//#region node_modules/@awesome.me/webawesome/dist/chunks/chunk.VCKA3KNZ.js
|
|
1648
|
-
var
|
|
521
|
+
var re = r`
|
|
1649
522
|
:host {
|
|
1650
523
|
display: flex;
|
|
1651
524
|
position: relative;
|
|
@@ -1876,7 +749,7 @@ var $t = r`
|
|
|
1876
749
|
opacity: 1;
|
|
1877
750
|
}
|
|
1878
751
|
}
|
|
1879
|
-
`,
|
|
752
|
+
`, ie = class {
|
|
1880
753
|
constructor(e, ...t) {
|
|
1881
754
|
this.slotNames = [], this.handleSlotChange = (e) => {
|
|
1882
755
|
let t = e.target;
|
|
@@ -1908,9 +781,9 @@ var $t = r`
|
|
|
1908
781
|
let e = this.host.shadowRoot;
|
|
1909
782
|
e && "removeEventListener" in e && e.removeEventListener("slotchange", this.handleSlotChange);
|
|
1910
783
|
}
|
|
1911
|
-
},
|
|
784
|
+
}, I = class extends h {
|
|
1912
785
|
constructor() {
|
|
1913
|
-
super(...arguments), this.hasSlotController = new
|
|
786
|
+
super(...arguments), this.hasSlotController = new ie(this, "[default]", "start", "end"), this.active = !1, this.variant = "default", this.size = "m", this.checkboxAdjacent = !1, this.submenuAdjacent = !1, this.type = "normal", this.checked = !1, this.disabled = !1, this.submenuOpen = !1, this.hasSubmenu = !1, this.handleSlotChange = () => {
|
|
1914
787
|
this.hasSubmenu = this.hasSlotController.test("submenu"), this.updateHasSubmenuState(), this.hasSubmenu ? (this.setAttribute("aria-haspopup", "menu"), this.setAttribute("aria-expanded", this.submenuOpen ? "true" : "false")) : (this.removeAttribute("aria-haspopup"), this.removeAttribute("aria-expanded"));
|
|
1915
788
|
}, this.handleHostClick = (e) => {
|
|
1916
789
|
this.disabled && (e.preventDefault(), e.stopImmediatePropagation());
|
|
@@ -1938,7 +811,7 @@ var $t = r`
|
|
|
1938
811
|
}
|
|
1939
812
|
async openSubmenu() {
|
|
1940
813
|
let e = this.submenuElement;
|
|
1941
|
-
!this.hasSubmenu || !e || !this.isConnected || (this.notifyParentOfOpening(), e.showPopover?.(), e.hidden = !1, e.setAttribute("data-visible", ""), this.submenuOpen = !0, this.setAttribute("aria-expanded", "true"), await
|
|
814
|
+
!this.hasSubmenu || !e || !this.isConnected || (this.notifyParentOfOpening(), e.showPopover?.(), e.hidden = !1, e.setAttribute("data-visible", ""), this.submenuOpen = !0, this.setAttribute("aria-expanded", "true"), await M(e, "show"), setTimeout(() => {
|
|
1942
815
|
let e = this.getSubmenuItems();
|
|
1943
816
|
e.length > 0 && (e.forEach((e, t) => e.active = t === 0), e[0].focus({ preventScroll: !0 }));
|
|
1944
817
|
}, 0));
|
|
@@ -1957,7 +830,7 @@ var $t = r`
|
|
|
1957
830
|
}
|
|
1958
831
|
async closeSubmenu() {
|
|
1959
832
|
let e = this.submenuElement;
|
|
1960
|
-
!this.hasSubmenu || !e || (this.submenuOpen = !1, this.setAttribute("aria-expanded", "false"), e.hidden || (await
|
|
833
|
+
!this.hasSubmenu || !e || (this.submenuOpen = !1, this.setAttribute("aria-expanded", "false"), e.hidden || (await M(e, "hide"), e?.isConnected && (e.hidden = !0, e.removeAttribute("data-visible"), e.hidePopover?.())));
|
|
1961
834
|
}
|
|
1962
835
|
getSubmenuItems() {
|
|
1963
836
|
return [...this.children].filter((e) => e.localName === "wa-dropdown-item" && e.getAttribute("slot") === "submenu" && !e.hasAttribute("disabled"));
|
|
@@ -2014,407 +887,24 @@ var $t = r`
|
|
|
2014
887
|
`;
|
|
2015
888
|
}
|
|
2016
889
|
};
|
|
2017
|
-
|
|
890
|
+
I.css = re, u([c("#submenu")], I.prototype, "submenuElement", 2), u([s({ type: Boolean })], I.prototype, "active", 2), u([s({ reflect: !0 })], I.prototype, "variant", 2), u([s({ reflect: !0 })], I.prototype, "size", 2), u([N("size")], I.prototype, "handleSizeChange", 1), u([s({
|
|
2018
891
|
attribute: "checkbox-adjacent",
|
|
2019
892
|
type: Boolean,
|
|
2020
893
|
reflect: !0
|
|
2021
|
-
})],
|
|
894
|
+
})], I.prototype, "checkboxAdjacent", 2), u([s({
|
|
2022
895
|
attribute: "submenu-adjacent",
|
|
2023
896
|
type: Boolean,
|
|
2024
897
|
reflect: !0
|
|
2025
|
-
})],
|
|
898
|
+
})], I.prototype, "submenuAdjacent", 2), u([s()], I.prototype, "value", 2), u([s({ reflect: !0 })], I.prototype, "type", 2), u([s({ type: Boolean })], I.prototype, "checked", 2), u([s({
|
|
2026
899
|
type: Boolean,
|
|
2027
900
|
reflect: !0
|
|
2028
|
-
})],
|
|
901
|
+
})], I.prototype, "disabled", 2), u([s({
|
|
2029
902
|
type: Boolean,
|
|
2030
903
|
reflect: !0
|
|
2031
|
-
})],
|
|
2032
|
-
//#endregion
|
|
2033
|
-
//#region node_modules/@awesome.me/webawesome/dist/chunks/chunk.ZWQCGLB5.js
|
|
2034
|
-
var tn = class extends Event {
|
|
2035
|
-
constructor() {
|
|
2036
|
-
super("wa-reposition", {
|
|
2037
|
-
bubbles: !0,
|
|
2038
|
-
cancelable: !1,
|
|
2039
|
-
composed: !0
|
|
2040
|
-
});
|
|
2041
|
-
}
|
|
2042
|
-
}, nn = r`
|
|
2043
|
-
:host {
|
|
2044
|
-
--arrow-color: black;
|
|
2045
|
-
--arrow-size: var(--wa-tooltip-arrow-size);
|
|
2046
|
-
--popup-border-width: 0px;
|
|
2047
|
-
--show-duration: var(--wa-transition-fast);
|
|
2048
|
-
--hide-duration: var(--wa-transition-fast);
|
|
2049
|
-
|
|
2050
|
-
/*
|
|
2051
|
-
* These properties are computed to account for the arrow's dimensions after being rotated 45º. The constant
|
|
2052
|
-
* 0.7071 is derived from sin(45) to calculate the length of the arrow after rotation.
|
|
2053
|
-
*
|
|
2054
|
-
* The diamond will be translated inward by --arrow-base-offset, the border thickness, to centralise it on
|
|
2055
|
-
* the inner edge of the popup border. This also means we need to increase the size of the arrow by the
|
|
2056
|
-
* same amount to compensate.
|
|
2057
|
-
*
|
|
2058
|
-
* A diamond shaped clipping mask is used to avoid overlap of popup content. This extends slightly inward so
|
|
2059
|
-
* the popup border is covered with no sub-pixel rounding artifacts. The diamond corners are mitred at 22.5º
|
|
2060
|
-
* to properly merge any arrow border with the popup border. The constant 1.4142 is derived from 1 + tan(22.5).
|
|
2061
|
-
*
|
|
2062
|
-
*/
|
|
2063
|
-
--arrow-base-offset: var(--popup-border-width);
|
|
2064
|
-
--arrow-size-diagonal: calc((var(--arrow-size) + var(--arrow-base-offset)) * 0.7071);
|
|
2065
|
-
--arrow-padding-offset: calc(var(--arrow-size-diagonal) - var(--arrow-size));
|
|
2066
|
-
--arrow-size-div: calc(var(--arrow-size-diagonal) * 2);
|
|
2067
|
-
--arrow-clipping-corner: calc(var(--arrow-base-offset) * 1.4142);
|
|
2068
|
-
|
|
2069
|
-
display: contents;
|
|
2070
|
-
}
|
|
2071
|
-
|
|
2072
|
-
.popup {
|
|
2073
|
-
position: absolute;
|
|
2074
|
-
isolation: isolate;
|
|
2075
|
-
max-width: var(--auto-size-available-width, none);
|
|
2076
|
-
max-height: var(--auto-size-available-height, none);
|
|
2077
|
-
|
|
2078
|
-
/* Clear UA styles for [popover] */
|
|
2079
|
-
:where(&) {
|
|
2080
|
-
inset: unset;
|
|
2081
|
-
padding: unset;
|
|
2082
|
-
margin: unset;
|
|
2083
|
-
width: unset;
|
|
2084
|
-
height: unset;
|
|
2085
|
-
color: unset;
|
|
2086
|
-
background: unset;
|
|
2087
|
-
border: unset;
|
|
2088
|
-
overflow: unset;
|
|
2089
|
-
}
|
|
2090
|
-
}
|
|
2091
|
-
|
|
2092
|
-
.popup-fixed {
|
|
2093
|
-
position: fixed;
|
|
2094
|
-
}
|
|
2095
|
-
|
|
2096
|
-
.popup:not(.popup-active) {
|
|
2097
|
-
display: none;
|
|
2098
|
-
}
|
|
2099
|
-
|
|
2100
|
-
.arrow {
|
|
2101
|
-
position: absolute;
|
|
2102
|
-
width: var(--arrow-size-div);
|
|
2103
|
-
height: var(--arrow-size-div);
|
|
2104
|
-
background: var(--arrow-color);
|
|
2105
|
-
z-index: 3;
|
|
2106
|
-
clip-path: polygon(
|
|
2107
|
-
var(--arrow-clipping-corner) 100%,
|
|
2108
|
-
var(--arrow-base-offset) calc(100% - var(--arrow-base-offset)),
|
|
2109
|
-
calc(var(--arrow-base-offset) - 2px) calc(100% - var(--arrow-base-offset)),
|
|
2110
|
-
calc(100% - var(--arrow-base-offset)) calc(var(--arrow-base-offset) - 2px),
|
|
2111
|
-
calc(100% - var(--arrow-base-offset)) var(--arrow-base-offset),
|
|
2112
|
-
100% var(--arrow-clipping-corner),
|
|
2113
|
-
100% 100%
|
|
2114
|
-
);
|
|
2115
|
-
rotate: 45deg;
|
|
2116
|
-
}
|
|
2117
|
-
|
|
2118
|
-
:host([data-current-placement|='left']) .arrow {
|
|
2119
|
-
rotate: -45deg;
|
|
2120
|
-
}
|
|
2121
|
-
|
|
2122
|
-
:host([data-current-placement|='right']) .arrow {
|
|
2123
|
-
rotate: 135deg;
|
|
2124
|
-
}
|
|
2125
|
-
|
|
2126
|
-
:host([data-current-placement|='bottom']) .arrow {
|
|
2127
|
-
rotate: 225deg;
|
|
2128
|
-
}
|
|
2129
|
-
|
|
2130
|
-
/* Hover bridge */
|
|
2131
|
-
.popup-hover-bridge:not(.popup-hover-bridge-visible) {
|
|
2132
|
-
display: none;
|
|
2133
|
-
}
|
|
2134
|
-
|
|
2135
|
-
.popup-hover-bridge {
|
|
2136
|
-
position: fixed;
|
|
2137
|
-
z-index: 899;
|
|
2138
|
-
top: 0;
|
|
2139
|
-
right: 0;
|
|
2140
|
-
bottom: 0;
|
|
2141
|
-
left: 0;
|
|
2142
|
-
clip-path: polygon(
|
|
2143
|
-
var(--hover-bridge-top-left-x, 0) var(--hover-bridge-top-left-y, 0),
|
|
2144
|
-
var(--hover-bridge-top-right-x, 0) var(--hover-bridge-top-right-y, 0),
|
|
2145
|
-
var(--hover-bridge-bottom-right-x, 0) var(--hover-bridge-bottom-right-y, 0),
|
|
2146
|
-
var(--hover-bridge-bottom-left-x, 0) var(--hover-bridge-bottom-left-y, 0)
|
|
2147
|
-
);
|
|
2148
|
-
}
|
|
2149
|
-
|
|
2150
|
-
/* Built-in animations */
|
|
2151
|
-
.show {
|
|
2152
|
-
animation: show var(--show-duration) ease;
|
|
2153
|
-
}
|
|
2154
|
-
|
|
2155
|
-
.hide {
|
|
2156
|
-
animation: show var(--hide-duration) ease reverse;
|
|
2157
|
-
}
|
|
2158
|
-
|
|
2159
|
-
@keyframes show {
|
|
2160
|
-
from {
|
|
2161
|
-
opacity: 0;
|
|
2162
|
-
}
|
|
2163
|
-
to {
|
|
2164
|
-
opacity: 1;
|
|
2165
|
-
}
|
|
2166
|
-
}
|
|
2167
|
-
|
|
2168
|
-
.show-with-scale {
|
|
2169
|
-
animation: show-with-scale var(--show-duration) ease;
|
|
2170
|
-
}
|
|
2171
|
-
|
|
2172
|
-
.hide-with-scale {
|
|
2173
|
-
animation: show-with-scale var(--hide-duration) ease reverse;
|
|
2174
|
-
}
|
|
2175
|
-
|
|
2176
|
-
@keyframes show-with-scale {
|
|
2177
|
-
from {
|
|
2178
|
-
opacity: 0;
|
|
2179
|
-
scale: 0.8;
|
|
2180
|
-
}
|
|
2181
|
-
to {
|
|
2182
|
-
opacity: 1;
|
|
2183
|
-
scale: 1;
|
|
2184
|
-
}
|
|
2185
|
-
}
|
|
2186
|
-
`;
|
|
2187
|
-
//#endregion
|
|
2188
|
-
//#region node_modules/composed-offset-position/dist/composed-offset-position.browser.min.mjs
|
|
2189
|
-
function rn(e) {
|
|
2190
|
-
return on(e);
|
|
2191
|
-
}
|
|
2192
|
-
function an(e) {
|
|
2193
|
-
return e.assignedSlot ? e.assignedSlot : e.parentNode instanceof ShadowRoot ? e.parentNode.host : e.parentNode;
|
|
2194
|
-
}
|
|
2195
|
-
function on(e) {
|
|
2196
|
-
for (let t = e; t; t = an(t)) if (t instanceof Element && getComputedStyle(t).display === "none") return null;
|
|
2197
|
-
for (let t = an(e); t; t = an(t)) {
|
|
2198
|
-
if (!(t instanceof Element)) continue;
|
|
2199
|
-
let e = getComputedStyle(t);
|
|
2200
|
-
if (e.display !== "contents" && (e.position !== "static" || lt(e) || t.tagName === "BODY")) return t;
|
|
2201
|
-
}
|
|
2202
|
-
return null;
|
|
2203
|
-
}
|
|
2204
|
-
//#endregion
|
|
2205
|
-
//#region node_modules/lit-html/directive.js
|
|
2206
|
-
var sn = {
|
|
2207
|
-
ATTRIBUTE: 1,
|
|
2208
|
-
CHILD: 2,
|
|
2209
|
-
PROPERTY: 3,
|
|
2210
|
-
BOOLEAN_ATTRIBUTE: 4,
|
|
2211
|
-
EVENT: 5,
|
|
2212
|
-
ELEMENT: 6
|
|
2213
|
-
}, cn = (e) => (...t) => ({
|
|
2214
|
-
_$litDirective$: e,
|
|
2215
|
-
values: t
|
|
2216
|
-
}), ln = class {
|
|
2217
|
-
constructor(e) {}
|
|
2218
|
-
get _$AU() {
|
|
2219
|
-
return this._$AM._$AU;
|
|
2220
|
-
}
|
|
2221
|
-
_$AT(e, t, n) {
|
|
2222
|
-
this._$Ct = e, this._$AM = t, this._$Ci = n;
|
|
2223
|
-
}
|
|
2224
|
-
_$AS(e, t) {
|
|
2225
|
-
return this.update(e, t);
|
|
2226
|
-
}
|
|
2227
|
-
update(e, t) {
|
|
2228
|
-
return this.render(...t);
|
|
2229
|
-
}
|
|
2230
|
-
}, un = cn(class extends ln {
|
|
2231
|
-
constructor(e) {
|
|
2232
|
-
if (super(e), e.type !== sn.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.");
|
|
2233
|
-
}
|
|
2234
|
-
render(e) {
|
|
2235
|
-
return " " + Object.keys(e).filter((t) => e[t]).join(" ") + " ";
|
|
2236
|
-
}
|
|
2237
|
-
update(e, [t]) {
|
|
2238
|
-
if (this.st === void 0) {
|
|
2239
|
-
this.st = /* @__PURE__ */ new Set(), e.strings !== void 0 && (this.nt = new Set(e.strings.join(" ").split(/\s/).filter((e) => e !== "")));
|
|
2240
|
-
for (let e in t) t[e] && !this.nt?.has(e) && this.st.add(e);
|
|
2241
|
-
return this.render(t);
|
|
2242
|
-
}
|
|
2243
|
-
let n = e.element.classList;
|
|
2244
|
-
for (let e of this.st) e in t || (n.remove(e), this.st.delete(e));
|
|
2245
|
-
for (let e in t) {
|
|
2246
|
-
let r = !!t[e];
|
|
2247
|
-
r === this.st.has(e) || this.nt?.has(e) || (r ? (n.add(e), this.st.add(e)) : (n.remove(e), this.st.delete(e)));
|
|
2248
|
-
}
|
|
2249
|
-
return a;
|
|
2250
|
-
}
|
|
2251
|
-
});
|
|
2252
|
-
//#endregion
|
|
2253
|
-
//#region node_modules/@awesome.me/webawesome/dist/chunks/chunk.K442ELDU.js
|
|
2254
|
-
function dn(e) {
|
|
2255
|
-
return typeof e == "object" && !!e && "getBoundingClientRect" in e && ("contextElement" in e ? e instanceof Element : !0);
|
|
2256
|
-
}
|
|
2257
|
-
var fn = !!globalThis?.HTMLElement?.prototype.hasOwnProperty("popover"), Q = class extends j {
|
|
2258
|
-
constructor() {
|
|
2259
|
-
super(...arguments), this.localize = new Se(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 = () => {
|
|
2260
|
-
if (this.hoverBridge && this.anchorEl && this.popup) {
|
|
2261
|
-
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;
|
|
2262
|
-
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`);
|
|
2263
|
-
}
|
|
2264
|
-
};
|
|
2265
|
-
}
|
|
2266
|
-
async connectedCallback() {
|
|
2267
|
-
super.connectedCallback(), await this.updateComplete, this.SUPPORTS_POPOVER = fn, this.start();
|
|
2268
|
-
}
|
|
2269
|
-
disconnectedCallback() {
|
|
2270
|
-
super.disconnectedCallback(), this.stop();
|
|
2271
|
-
}
|
|
2272
|
-
async updated(e) {
|
|
2273
|
-
super.updated(e), e.has("active") && (this.active ? this.start() : this.stop()), e.has("anchor") && this.handleAnchorChange(), this.active && (await this.updateComplete, this.reposition());
|
|
2274
|
-
}
|
|
2275
|
-
async handleAnchorChange() {
|
|
2276
|
-
if (await this.stop(), this.anchor && typeof this.anchor == "string") {
|
|
2277
|
-
let e = this.getRootNode();
|
|
2278
|
-
this.anchorEl = e.getElementById(this.anchor);
|
|
2279
|
-
} else this.anchor instanceof Element || dn(this.anchor) ? this.anchorEl = this.anchor : this.anchorEl = this.querySelector("[slot=\"anchor\"]");
|
|
2280
|
-
this.anchorEl instanceof HTMLSlotElement && (this.anchorEl = this.anchorEl.assignedElements({ flatten: !0 })[0]), this.anchorEl && this.start();
|
|
2281
|
-
}
|
|
2282
|
-
start() {
|
|
2283
|
-
!this.anchorEl || !this.active || !this.isConnected || (this.popup?.showPopover?.(), this.cleanup = Gt(this.anchorEl, this.popup, () => {
|
|
2284
|
-
this.reposition();
|
|
2285
|
-
}));
|
|
2286
|
-
}
|
|
2287
|
-
async stop() {
|
|
2288
|
-
return new Promise((e) => {
|
|
2289
|
-
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();
|
|
2290
|
-
});
|
|
2291
|
-
}
|
|
2292
|
-
reposition() {
|
|
2293
|
-
if (!this.active || !this.anchorEl || !this.popup) return;
|
|
2294
|
-
let e = [Kt({
|
|
2295
|
-
mainAxis: this.distance,
|
|
2296
|
-
crossAxis: this.skidding
|
|
2297
|
-
})];
|
|
2298
|
-
this.sync ? e.push(Yt({ apply: ({ rects: e }) => {
|
|
2299
|
-
let t = this.sync === "width" || this.sync === "both", n = this.sync === "height" || this.sync === "both";
|
|
2300
|
-
this.popup.style.width = t ? `${e.reference.width}px` : "", this.popup.style.height = n ? `${e.reference.height}px` : "";
|
|
2301
|
-
} })) : (this.popup.style.width = "", this.popup.style.height = "");
|
|
2302
|
-
let t;
|
|
2303
|
-
this.SUPPORTS_POPOVER && !dn(this.anchor) && this.boundary === "scroll" && (t = ht(this.anchorEl).filter((e) => e instanceof Element)), this.flip && e.push(Jt({
|
|
2304
|
-
boundary: this.flipBoundary || t,
|
|
2305
|
-
fallbackPlacements: this.flipFallbackPlacements,
|
|
2306
|
-
fallbackStrategy: this.flipFallbackStrategy === "best-fit" ? "bestFit" : "initialPlacement",
|
|
2307
|
-
padding: this.flipPadding
|
|
2308
|
-
})), this.shift && e.push(qt({
|
|
2309
|
-
boundary: this.shiftBoundary || t,
|
|
2310
|
-
padding: this.shiftPadding
|
|
2311
|
-
})), this.autoSize ? e.push(Yt({
|
|
2312
|
-
boundary: this.autoSizeBoundary || t,
|
|
2313
|
-
padding: this.autoSizePadding,
|
|
2314
|
-
apply: ({ availableWidth: e, availableHeight: t }) => {
|
|
2315
|
-
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");
|
|
2316
|
-
}
|
|
2317
|
-
})) : (this.style.removeProperty("--auto-size-available-width"), this.style.removeProperty("--auto-size-available-height")), this.arrow && e.push(Xt({
|
|
2318
|
-
element: this.arrowEl,
|
|
2319
|
-
padding: this.arrowPadding
|
|
2320
|
-
}));
|
|
2321
|
-
let n = this.SUPPORTS_POPOVER ? (e) => Ht.getOffsetParent(e, rn) : Ht.getOffsetParent;
|
|
2322
|
-
Zt(this.anchorEl, this.popup, {
|
|
2323
|
-
placement: this.placement,
|
|
2324
|
-
middleware: e,
|
|
2325
|
-
strategy: this.SUPPORTS_POPOVER ? "absolute" : "fixed",
|
|
2326
|
-
platform: {
|
|
2327
|
-
...Ht,
|
|
2328
|
-
getOffsetParent: n
|
|
2329
|
-
}
|
|
2330
|
-
}).then(({ x: e, y: t, middlewareData: n, placement: r }) => {
|
|
2331
|
-
let i = this.localize.dir() === "rtl", a = {
|
|
2332
|
-
top: "bottom",
|
|
2333
|
-
right: "left",
|
|
2334
|
-
bottom: "top",
|
|
2335
|
-
left: "right"
|
|
2336
|
-
}[r.split("-")[0]];
|
|
2337
|
-
if (this.setAttribute("data-current-placement", r), Object.assign(this.popup.style, {
|
|
2338
|
-
left: `${e}px`,
|
|
2339
|
-
top: `${t}px`
|
|
2340
|
-
}), this.arrow) {
|
|
2341
|
-
let e = n.arrow.x, t = n.arrow.y, r = "", o = "", s = "", c = "";
|
|
2342
|
-
if (this.arrowPlacement === "start") {
|
|
2343
|
-
let n = typeof e == "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
2344
|
-
r = typeof t == "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "", o = i ? n : "", c = i ? "" : n;
|
|
2345
|
-
} else if (this.arrowPlacement === "end") {
|
|
2346
|
-
let n = typeof e == "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
2347
|
-
o = i ? "" : n, c = i ? n : "", s = typeof t == "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
2348
|
-
} 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` : "");
|
|
2349
|
-
Object.assign(this.arrowEl.style, {
|
|
2350
|
-
top: r,
|
|
2351
|
-
right: o,
|
|
2352
|
-
bottom: s,
|
|
2353
|
-
left: c,
|
|
2354
|
-
[a]: "calc(var(--arrow-base-offset) - var(--arrow-size-diagonal))"
|
|
2355
|
-
});
|
|
2356
|
-
}
|
|
2357
|
-
}), requestAnimationFrame(() => this.updateHoverBridge()), this.dispatchEvent(new tn());
|
|
2358
|
-
}
|
|
2359
|
-
render() {
|
|
2360
|
-
return i`
|
|
2361
|
-
<slot name="anchor" @slotchange=${this.handleAnchorChange}></slot>
|
|
2362
|
-
|
|
2363
|
-
<span
|
|
2364
|
-
part="hover-bridge"
|
|
2365
|
-
class=${un({
|
|
2366
|
-
"popup-hover-bridge": !0,
|
|
2367
|
-
"popup-hover-bridge-visible": this.hoverBridge && this.active
|
|
2368
|
-
})}
|
|
2369
|
-
></span>
|
|
2370
|
-
|
|
2371
|
-
<div
|
|
2372
|
-
popover="manual"
|
|
2373
|
-
part="popup"
|
|
2374
|
-
class=${un({
|
|
2375
|
-
popup: !0,
|
|
2376
|
-
"popup-active": this.active,
|
|
2377
|
-
"popup-fixed": !this.SUPPORTS_POPOVER,
|
|
2378
|
-
"popup-has-arrow": this.arrow
|
|
2379
|
-
})}
|
|
2380
|
-
>
|
|
2381
|
-
<slot></slot>
|
|
2382
|
-
${this.arrow ? i`<div part="arrow" class="arrow" role="presentation"></div>` : ""}
|
|
2383
|
-
</div>
|
|
2384
|
-
`;
|
|
2385
|
-
}
|
|
2386
|
-
};
|
|
2387
|
-
Q.css = nn, A([u(".popup")], Q.prototype, "popup", 2), A([u(".arrow")], Q.prototype, "arrowEl", 2), A([l({
|
|
2388
|
-
attribute: !1,
|
|
2389
|
-
type: Boolean
|
|
2390
|
-
})], Q.prototype, "SUPPORTS_POPOVER", 2), A([l()], Q.prototype, "anchor", 2), A([l({
|
|
2391
|
-
type: Boolean,
|
|
2392
|
-
reflect: !0
|
|
2393
|
-
})], Q.prototype, "active", 2), A([l({ reflect: !0 })], Q.prototype, "placement", 2), A([l()], Q.prototype, "boundary", 2), A([l({ type: Number })], Q.prototype, "distance", 2), A([l({ type: Number })], Q.prototype, "skidding", 2), A([l({ type: Boolean })], Q.prototype, "arrow", 2), A([l({ attribute: "arrow-placement" })], Q.prototype, "arrowPlacement", 2), A([l({
|
|
2394
|
-
attribute: "arrow-padding",
|
|
2395
|
-
type: Number
|
|
2396
|
-
})], Q.prototype, "arrowPadding", 2), A([l({ type: Boolean })], Q.prototype, "flip", 2), A([l({
|
|
2397
|
-
attribute: "flip-fallback-placements",
|
|
2398
|
-
converter: {
|
|
2399
|
-
fromAttribute: (e) => e.split(" ").map((e) => e.trim()).filter((e) => e !== ""),
|
|
2400
|
-
toAttribute: (e) => e.join(" ")
|
|
2401
|
-
}
|
|
2402
|
-
})], Q.prototype, "flipFallbackPlacements", 2), A([l({ attribute: "flip-fallback-strategy" })], Q.prototype, "flipFallbackStrategy", 2), A([l({ type: Object })], Q.prototype, "flipBoundary", 2), A([l({
|
|
2403
|
-
attribute: "flip-padding",
|
|
2404
|
-
type: Number
|
|
2405
|
-
})], Q.prototype, "flipPadding", 2), A([l({ type: Boolean })], Q.prototype, "shift", 2), A([l({ type: Object })], Q.prototype, "shiftBoundary", 2), A([l({
|
|
2406
|
-
attribute: "shift-padding",
|
|
2407
|
-
type: Number
|
|
2408
|
-
})], Q.prototype, "shiftPadding", 2), A([l({ attribute: "auto-size" })], Q.prototype, "autoSize", 2), A([l()], Q.prototype, "sync", 2), A([l({ type: Object })], Q.prototype, "autoSizeBoundary", 2), A([l({
|
|
2409
|
-
attribute: "auto-size-padding",
|
|
2410
|
-
type: Number
|
|
2411
|
-
})], Q.prototype, "autoSizePadding", 2), A([l({
|
|
2412
|
-
attribute: "hover-bridge",
|
|
2413
|
-
type: Boolean
|
|
2414
|
-
})], Q.prototype, "hoverBridge", 2), Q = A([s("wa-popup")], Q);
|
|
904
|
+
})], I.prototype, "submenuOpen", 2), u([o()], I.prototype, "hasSubmenu", 2), I = u([a("wa-dropdown-item")], I);
|
|
2415
905
|
//#endregion
|
|
2416
906
|
//#region node_modules/@awesome.me/webawesome/dist/chunks/chunk.YDQCS2HK.js
|
|
2417
|
-
var
|
|
907
|
+
var ae = class extends Event {
|
|
2418
908
|
constructor() {
|
|
2419
909
|
super("wa-error", {
|
|
2420
910
|
bubbles: !0,
|
|
@@ -2422,7 +912,7 @@ var pn = class extends Event {
|
|
|
2422
912
|
composed: !0
|
|
2423
913
|
});
|
|
2424
914
|
}
|
|
2425
|
-
},
|
|
915
|
+
}, oe = class extends Event {
|
|
2426
916
|
constructor() {
|
|
2427
917
|
super("wa-load", {
|
|
2428
918
|
bubbles: !0,
|
|
@@ -2430,7 +920,7 @@ var pn = class extends Event {
|
|
|
2430
920
|
composed: !0
|
|
2431
921
|
});
|
|
2432
922
|
}
|
|
2433
|
-
},
|
|
923
|
+
}, se = r`
|
|
2434
924
|
:host {
|
|
2435
925
|
--primary-color: currentColor;
|
|
2436
926
|
--primary-opacity: 1;
|
|
@@ -2709,36 +1199,36 @@ var pn = class extends Event {
|
|
|
2709
1199
|
transform: rotate(360deg);
|
|
2710
1200
|
}
|
|
2711
1201
|
}
|
|
2712
|
-
`,
|
|
2713
|
-
function
|
|
2714
|
-
return
|
|
1202
|
+
`, ce = "", L = "";
|
|
1203
|
+
function le() {
|
|
1204
|
+
return ce.replace(/\/$/, "");
|
|
2715
1205
|
}
|
|
2716
|
-
function
|
|
2717
|
-
|
|
1206
|
+
function ue(e) {
|
|
1207
|
+
L = e;
|
|
2718
1208
|
}
|
|
2719
|
-
function
|
|
2720
|
-
if (!
|
|
1209
|
+
function de() {
|
|
1210
|
+
if (!L) {
|
|
2721
1211
|
let e = document.querySelector("[data-fa-kit-code]");
|
|
2722
|
-
e &&
|
|
1212
|
+
e && ue(e.getAttribute("data-fa-kit-code") || "");
|
|
2723
1213
|
}
|
|
2724
|
-
return
|
|
1214
|
+
return L;
|
|
2725
1215
|
}
|
|
2726
1216
|
//#endregion
|
|
2727
1217
|
//#region node_modules/@awesome.me/webawesome/dist/chunks/chunk.HCXBOJYW.js
|
|
2728
|
-
var
|
|
2729
|
-
function
|
|
1218
|
+
var fe = "7.2.0";
|
|
1219
|
+
function pe(e, t, n) {
|
|
2730
1220
|
let r = "solid";
|
|
2731
1221
|
return t === "chisel" && (r = "chisel-regular"), t === "etch" && (r = "etch-solid"), t === "graphite" && (r = "graphite-thin"), t === "jelly" && (r = "jelly-regular", n === "duo-regular" && (r = "jelly-duo-regular"), n === "fill-regular" && (r = "jelly-fill-regular")), t === "jelly-duo" && (r = "jelly-duo-regular"), t === "jelly-fill" && (r = "jelly-fill-regular"), t === "notdog" && (n === "solid" && (r = "notdog-solid"), n === "duo-solid" && (r = "notdog-duo-solid")), t === "notdog-duo" && (r = "notdog-duo-solid"), t === "slab" && ((n === "solid" || n === "regular") && (r = "slab-regular"), n === "press-regular" && (r = "slab-press-regular")), t === "slab-press" && (r = "slab-press-regular"), t === "thumbprint" && (r = "thumbprint-light"), t === "utility" && (r = "utility-semibold"), t === "utility-duo" && (r = "utility-duo-semibold"), t === "utility-fill" && (r = "utility-fill-semibold"), t === "whiteboard" && (r = "whiteboard-semibold"), t === "classic" && (n === "thin" && (r = "thin"), n === "light" && (r = "light"), n === "regular" && (r = "regular"), n === "solid" && (r = "solid")), t === "duotone" && (n === "thin" && (r = "duotone-thin"), n === "light" && (r = "duotone-light"), n === "regular" && (r = "duotone-regular"), n === "solid" && (r = "duotone")), t === "sharp" && (n === "thin" && (r = "sharp-thin"), n === "light" && (r = "sharp-light"), n === "regular" && (r = "sharp-regular"), n === "solid" && (r = "sharp-solid")), t === "sharp-duotone" && (n === "thin" && (r = "sharp-duotone-thin"), n === "light" && (r = "sharp-duotone-light"), n === "regular" && (r = "sharp-duotone-regular"), n === "solid" && (r = "sharp-duotone-solid")), t === "brands" && (r = "brands"), r;
|
|
2732
1222
|
}
|
|
2733
|
-
function
|
|
2734
|
-
let r =
|
|
1223
|
+
function me(e, t, n) {
|
|
1224
|
+
let r = pe(e, t, n), i = le();
|
|
2735
1225
|
if (i) return `${i}/${r}/${e}.svg`;
|
|
2736
|
-
let a =
|
|
2737
|
-
return a.length > 0 ? `https://ka-p.fontawesome.com/releases/v${
|
|
1226
|
+
let a = de();
|
|
1227
|
+
return a.length > 0 ? `https://ka-p.fontawesome.com/releases/v${fe}/svgs/${r}/${e}.svg?token=${encodeURIComponent(a)}` : `https://ka-f.fontawesome.com/releases/v${fe}/svgs/${r}/${e}.svg`;
|
|
2738
1228
|
}
|
|
2739
|
-
var
|
|
1229
|
+
var he = {
|
|
2740
1230
|
name: "default",
|
|
2741
|
-
resolver: (e, t = "classic", n = "solid") =>
|
|
1231
|
+
resolver: (e, t = "classic", n = "solid") => me(e, t, n),
|
|
2742
1232
|
mutator: (e, t) => {
|
|
2743
1233
|
if (t?.family && !e.hasAttribute("data-duotone-initialized")) {
|
|
2744
1234
|
let { family: n, variant: r } = t;
|
|
@@ -2756,10 +1246,10 @@ var wn = {
|
|
|
2756
1246
|
};
|
|
2757
1247
|
//#endregion
|
|
2758
1248
|
//#region node_modules/@awesome.me/webawesome/dist/chunks/chunk.XTA2JDH4.js
|
|
2759
|
-
function
|
|
1249
|
+
function ge(e) {
|
|
2760
1250
|
return `data:image/svg+xml,${encodeURIComponent(e)}`;
|
|
2761
1251
|
}
|
|
2762
|
-
var
|
|
1252
|
+
var R = {
|
|
2763
1253
|
solid: {
|
|
2764
1254
|
backward: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 640\"><!--!Font Awesome Free v7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path fill=\"currentColor\" d=\"M236.3 107.1C247.9 96 265 92.9 279.7 99.2C294.4 105.5 304 120 304 136L304 272.3L476.3 107.2C487.9 96 505 92.9 519.7 99.2C534.4 105.5 544 120 544 136L544 504C544 520 534.4 534.5 519.7 540.8C505 547.1 487.9 544 476.3 532.9L304 367.7L304 504C304 520 294.4 534.5 279.7 540.8C265 547.1 247.9 544 236.3 532.9L44.3 348.9C36.5 341.3 32 330.9 32 320C32 309.1 36.5 298.7 44.3 291.1L236.3 107.1z\"/></svg>",
|
|
2765
1255
|
"backward-step": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 640\"><!--!Font Awesome Free v7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path fill=\"currentColor\" d=\"M491 100.8C478.1 93.8 462.3 94.5 450 102.6L192 272.1L192 128C192 110.3 177.7 96 160 96C142.3 96 128 110.3 128 128L128 512C128 529.7 142.3 544 160 544C177.7 544 192 529.7 192 512L192 367.9L450 537.5C462.3 545.6 478 546.3 491 539.3C504 532.3 512 518.8 512 504.1L512 136.1C512 121.4 503.9 107.9 491 100.9z\"/></svg>",
|
|
@@ -2814,28 +1304,28 @@ var En = {
|
|
|
2814
1304
|
"eye-slash": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><!--! Font Awesome Free 7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M41-24.9c-9.4-9.4-24.6-9.4-33.9 0S-2.3-.3 7 9.1l528 528c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-96.4-96.4c2.7-2.4 5.4-4.8 8-7.2 46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6-56.8 0-105.6 18.2-146 44.2L41-24.9zM176.9 111.1c32.1-18.9 69.2-31.1 111.1-31.1 65.2 0 118.8 29.6 159.9 67.7 38.5 35.7 65.1 78.3 78.6 108.3-13.6 30-40.2 72.5-78.6 108.3-3.1 2.8-6.2 5.6-9.4 8.4L393.8 328c14-20.5 22.2-45.3 22.2-72 0-70.7-57.3-128-128-128-26.7 0-51.5 8.2-72 22.2l-39.1-39.1zm182 182l-108-108c11.1-5.8 23.7-9.1 37.1-9.1 44.2 0 80 35.8 80 80 0 13.4-3.3 26-9.1 37.1zM103.4 173.2l-34-34c-32.6 36.8-55 75.8-66.9 104.5-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6 37.3 0 71.2-7.9 101.5-20.6L352.2 422c-20 6.4-41.4 10-64.2 10-65.2 0-118.8-29.6-159.9-67.7-38.5-35.7-65.1-78.3-78.6-108.3 10.4-23.1 28.6-53.6 54-82.8z\"/></svg>",
|
|
2815
1305
|
star: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><!--! Font Awesome Free 7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M288.1-32c9 0 17.3 5.1 21.4 13.1L383 125.3 542.9 150.7c8.9 1.4 16.3 7.7 19.1 16.3s.5 18-5.8 24.4L441.7 305.9 467 465.8c1.4 8.9-2.3 17.9-9.6 23.2s-17 6.1-25 2L288.1 417.6 143.8 491c-8 4.1-17.7 3.3-25-2s-11-14.2-9.6-23.2L134.4 305.9 20 191.4c-6.4-6.4-8.6-15.8-5.8-24.4s10.1-14.9 19.1-16.3l159.9-25.4 73.6-144.2c4.1-8 12.4-13.1 21.4-13.1zm0 76.8L230.3 158c-3.5 6.8-10 11.6-17.6 12.8l-125.5 20 89.8 89.9c5.4 5.4 7.9 13.1 6.7 20.7l-19.8 125.5 113.3-57.6c6.8-3.5 14.9-3.5 21.8 0l113.3 57.6-19.8-125.5c-1.2-7.6 1.3-15.3 6.7-20.7l89.8-89.9-125.5-20c-7.6-1.2-14.1-6-17.6-12.8L288.1 44.8z\"/></svg>"
|
|
2816
1306
|
}
|
|
2817
|
-
},
|
|
1307
|
+
}, _e = {
|
|
2818
1308
|
name: "system",
|
|
2819
1309
|
resolver: (e, t = "classic", n = "solid") => {
|
|
2820
|
-
let r =
|
|
2821
|
-
return r ?
|
|
1310
|
+
let r = R[n][e] ?? R.regular[e] ?? R.regular["circle-question"];
|
|
1311
|
+
return r ? ge(r) : "";
|
|
2822
1312
|
}
|
|
2823
|
-
},
|
|
2824
|
-
function
|
|
2825
|
-
|
|
1313
|
+
}, ve = "classic", ye = [he, _e], be = /* @__PURE__ */ new Set();
|
|
1314
|
+
function xe(e) {
|
|
1315
|
+
be.add(e);
|
|
2826
1316
|
}
|
|
2827
|
-
function
|
|
2828
|
-
|
|
1317
|
+
function Se(e) {
|
|
1318
|
+
be.delete(e);
|
|
2829
1319
|
}
|
|
2830
|
-
function
|
|
2831
|
-
return
|
|
1320
|
+
function z(e) {
|
|
1321
|
+
return ye.find((t) => t.name === e);
|
|
2832
1322
|
}
|
|
2833
|
-
function
|
|
2834
|
-
return
|
|
1323
|
+
function Ce() {
|
|
1324
|
+
return ve;
|
|
2835
1325
|
}
|
|
2836
1326
|
//#endregion
|
|
2837
1327
|
//#region node_modules/lit-html/directive-helpers.js
|
|
2838
|
-
var { I:
|
|
1328
|
+
var { I: we } = n, Te = (e, t) => t === void 0 ? e?._$litType$ !== void 0 : e?._$litType$ === t, B = Symbol(), V = Symbol(), Ee, H = /* @__PURE__ */ new Map(), U = class extends h {
|
|
2839
1329
|
constructor() {
|
|
2840
1330
|
super(...arguments), this.svg = null, this.autoWidth = !1, this.swapOpacity = !1, this.label = "", this.library = "default", this.rotate = 0, this.resolveIcon = async (e, t) => {
|
|
2841
1331
|
let n;
|
|
@@ -2847,34 +1337,34 @@ var { I: Fn } = n, In = (e, t) => t === void 0 ? e?._$litType$ !== void 0 : e?._
|
|
|
2847
1337
|
return typeof t.mutator == "function" && t.mutator(n, this), this.svg;
|
|
2848
1338
|
}
|
|
2849
1339
|
try {
|
|
2850
|
-
if (n = await fetch(e, { mode: "cors" }), !n.ok) return n.status === 410 ?
|
|
1340
|
+
if (n = await fetch(e, { mode: "cors" }), !n.ok) return n.status === 410 ? B : V;
|
|
2851
1341
|
} catch {
|
|
2852
|
-
return
|
|
1342
|
+
return V;
|
|
2853
1343
|
}
|
|
2854
1344
|
try {
|
|
2855
1345
|
let e = document.createElement("div");
|
|
2856
1346
|
e.innerHTML = await n.text();
|
|
2857
1347
|
let t = e.firstElementChild;
|
|
2858
|
-
if (t?.tagName?.toLowerCase() !== "svg") return
|
|
2859
|
-
|
|
2860
|
-
let r =
|
|
2861
|
-
return r ? (r.part.add("svg"), document.adoptNode(r)) :
|
|
1348
|
+
if (t?.tagName?.toLowerCase() !== "svg") return B;
|
|
1349
|
+
Ee ||= new DOMParser();
|
|
1350
|
+
let r = Ee.parseFromString(t.outerHTML, "text/html").body.querySelector("svg");
|
|
1351
|
+
return r ? (r.part.add("svg"), document.adoptNode(r)) : B;
|
|
2862
1352
|
} catch {
|
|
2863
|
-
return
|
|
1353
|
+
return B;
|
|
2864
1354
|
}
|
|
2865
1355
|
};
|
|
2866
1356
|
}
|
|
2867
1357
|
connectedCallback() {
|
|
2868
|
-
super.connectedCallback(),
|
|
1358
|
+
super.connectedCallback(), xe(this);
|
|
2869
1359
|
}
|
|
2870
1360
|
firstUpdated(e) {
|
|
2871
1361
|
super.firstUpdated(e), this.hasAttribute("rotate") && this.style.setProperty("--rotate-angle", `${this.rotate}deg`), this.setIcon();
|
|
2872
1362
|
}
|
|
2873
1363
|
disconnectedCallback() {
|
|
2874
|
-
super.disconnectedCallback(),
|
|
1364
|
+
super.disconnectedCallback(), Se(this);
|
|
2875
1365
|
}
|
|
2876
1366
|
async getIconSource() {
|
|
2877
|
-
let e =
|
|
1367
|
+
let e = z(this.library), t = this.family || Ce();
|
|
2878
1368
|
if (this.name && e) {
|
|
2879
1369
|
let n;
|
|
2880
1370
|
try {
|
|
@@ -2896,25 +1386,25 @@ var { I: Fn } = n, In = (e, t) => t === void 0 ? e?._$litType$ !== void 0 : e?._
|
|
|
2896
1386
|
typeof this.label == "string" && this.label.length > 0 ? (this.setAttribute("role", "img"), this.setAttribute("aria-label", this.label), this.removeAttribute("aria-hidden")) : (this.removeAttribute("role"), this.removeAttribute("aria-label"), this.setAttribute("aria-hidden", "true"));
|
|
2897
1387
|
}
|
|
2898
1388
|
async setIcon() {
|
|
2899
|
-
let { url: e, fromLibrary: t } = await this.getIconSource(), n = t ?
|
|
1389
|
+
let { url: e, fromLibrary: t } = await this.getIconSource(), n = t ? z(this.library) : void 0;
|
|
2900
1390
|
if (!e) {
|
|
2901
1391
|
this.svg = null;
|
|
2902
1392
|
return;
|
|
2903
1393
|
}
|
|
2904
|
-
let r =
|
|
2905
|
-
r || (r = this.resolveIcon(e, n),
|
|
1394
|
+
let r = H.get(e);
|
|
1395
|
+
r || (r = this.resolveIcon(e, n), H.set(e, r));
|
|
2906
1396
|
let i = await r;
|
|
2907
|
-
if (i ===
|
|
2908
|
-
if (
|
|
1397
|
+
if (i === V && H.delete(e), e === (await this.getIconSource()).url) {
|
|
1398
|
+
if (Te(i)) {
|
|
2909
1399
|
this.svg = i;
|
|
2910
1400
|
return;
|
|
2911
1401
|
}
|
|
2912
1402
|
switch (i) {
|
|
2913
|
-
case
|
|
2914
|
-
case
|
|
2915
|
-
this.svg = null, this.dispatchEvent(new
|
|
1403
|
+
case V:
|
|
1404
|
+
case B:
|
|
1405
|
+
this.svg = null, this.dispatchEvent(new ae());
|
|
2916
1406
|
break;
|
|
2917
|
-
default: this.svg = i.cloneNode(!0), n?.mutator?.(this.svg, this), this.dispatchEvent(new
|
|
1407
|
+
default: this.svg = i.cloneNode(!0), n?.mutator?.(this.svg, this), this.dispatchEvent(new oe());
|
|
2918
1408
|
}
|
|
2919
1409
|
}
|
|
2920
1410
|
}
|
|
@@ -2923,7 +1413,7 @@ var { I: Fn } = n, In = (e, t) => t === void 0 ? e?._$litType$ !== void 0 : e?._
|
|
|
2923
1413
|
}
|
|
2924
1414
|
updated(e) {
|
|
2925
1415
|
super.updated(e);
|
|
2926
|
-
let t =
|
|
1416
|
+
let t = z(this.library);
|
|
2927
1417
|
this.hasAttribute("rotate") && this.style.setProperty("--rotate-angle", `${this.rotate}deg`);
|
|
2928
1418
|
let n = this.shadowRoot?.querySelector("svg");
|
|
2929
1419
|
n && t?.mutator?.(n, this);
|
|
@@ -2932,24 +1422,24 @@ var { I: Fn } = n, In = (e, t) => t === void 0 ? e?._$litType$ !== void 0 : e?._
|
|
|
2932
1422
|
return this.hasUpdated ? this.svg : i`<svg part="svg" width="16" height="16" viewBox="0 0 16 16"></svg>`;
|
|
2933
1423
|
}
|
|
2934
1424
|
};
|
|
2935
|
-
|
|
1425
|
+
U.css = se, u([o()], U.prototype, "svg", 2), u([s({ reflect: !0 })], U.prototype, "name", 2), u([s({ reflect: !0 })], U.prototype, "family", 2), u([s({ reflect: !0 })], U.prototype, "variant", 2), u([s({
|
|
2936
1426
|
attribute: "auto-width",
|
|
2937
1427
|
type: Boolean,
|
|
2938
1428
|
reflect: !0
|
|
2939
|
-
})],
|
|
1429
|
+
})], U.prototype, "autoWidth", 2), u([s({
|
|
2940
1430
|
attribute: "swap-opacity",
|
|
2941
1431
|
type: Boolean,
|
|
2942
1432
|
reflect: !0
|
|
2943
|
-
})],
|
|
1433
|
+
})], U.prototype, "swapOpacity", 2), u([s()], U.prototype, "src", 2), u([s()], U.prototype, "label", 2), u([s({ reflect: !0 })], U.prototype, "library", 2), u([s({
|
|
2944
1434
|
type: Number,
|
|
2945
1435
|
reflect: !0
|
|
2946
|
-
})],
|
|
1436
|
+
})], U.prototype, "rotate", 2), u([s({
|
|
2947
1437
|
type: String,
|
|
2948
1438
|
reflect: !0
|
|
2949
|
-
})],
|
|
1439
|
+
})], U.prototype, "flip", 2), u([s({
|
|
2950
1440
|
type: String,
|
|
2951
1441
|
reflect: !0
|
|
2952
|
-
})],
|
|
1442
|
+
})], U.prototype, "animation", 2), u([N("label")], U.prototype, "handleLabelChange", 1), u([N([
|
|
2953
1443
|
"family",
|
|
2954
1444
|
"name",
|
|
2955
1445
|
"library",
|
|
@@ -2957,35 +1447,35 @@ $.css = hn, A([c()], $.prototype, "svg", 2), A([l({ reflect: !0 })], $.prototype
|
|
|
2957
1447
|
"src",
|
|
2958
1448
|
"autoWidth",
|
|
2959
1449
|
"swapOpacity"
|
|
2960
|
-
], { waitUntilFirstUpdate: !0 })],
|
|
1450
|
+
], { waitUntilFirstUpdate: !0 })], U.prototype, "setIcon", 1), U = u([a("wa-icon")], U);
|
|
2961
1451
|
//#endregion
|
|
2962
1452
|
//#region src/components/menu/Menu.styles.css
|
|
2963
|
-
var
|
|
2964
|
-
function
|
|
2965
|
-
|
|
1453
|
+
var De = r`wa-dropdown::part(menu){min-width:300px;box-shadow:0 4px 16px #00000059}wa-dropdown-item{padding:0}`, W, G, K, q, J, Y, Oe, ke, Ae, je, Me, Ne, Pe, Fe, Ie, Le, Re, ze, Be;
|
|
1454
|
+
function X(e, t, n) {
|
|
1455
|
+
Ve(e, t), t.set(e, n);
|
|
2966
1456
|
}
|
|
2967
|
-
function
|
|
1457
|
+
function Ve(e, t) {
|
|
2968
1458
|
if (t.has(e)) throw TypeError("Cannot initialize the same private elements twice on an object");
|
|
2969
1459
|
}
|
|
2970
|
-
function
|
|
2971
|
-
return e.set(
|
|
1460
|
+
function Z(e, t, n) {
|
|
1461
|
+
return e.set(He(e, t), n), n;
|
|
2972
1462
|
}
|
|
2973
|
-
function
|
|
2974
|
-
return e.get(
|
|
1463
|
+
function Q(e, t) {
|
|
1464
|
+
return e.get(He(e, t));
|
|
2975
1465
|
}
|
|
2976
|
-
function
|
|
1466
|
+
function He(e, t, n) {
|
|
2977
1467
|
if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
|
|
2978
1468
|
throw TypeError("Private element is not present on this object");
|
|
2979
1469
|
}
|
|
2980
|
-
function
|
|
2981
|
-
return (t =
|
|
1470
|
+
function Ue(e, t, n) {
|
|
1471
|
+
return (t = Ge(t)) in e ? Object.defineProperty(e, t, {
|
|
2982
1472
|
value: n,
|
|
2983
1473
|
enumerable: !0,
|
|
2984
1474
|
configurable: !0,
|
|
2985
1475
|
writable: !0
|
|
2986
1476
|
}) : e[t] = n, e;
|
|
2987
1477
|
}
|
|
2988
|
-
function
|
|
1478
|
+
function We(e, t, n, r, i, a) {
|
|
2989
1479
|
function o(e, t, n) {
|
|
2990
1480
|
return function(r, i) {
|
|
2991
1481
|
return n && n(r), e[t].call(r, i);
|
|
@@ -3008,16 +1498,16 @@ function pr(e, t, n, r, i, a) {
|
|
|
3008
1498
|
n || Array.isArray(_) || (_ = [_]);
|
|
3009
1499
|
var b = {}, x = [], S = i === 3 ? "get" : i === 4 || p ? "set" : "value";
|
|
3010
1500
|
d ? (f || p ? b = {
|
|
3011
|
-
get:
|
|
1501
|
+
get: qe(function() {
|
|
3012
1502
|
return v(this);
|
|
3013
1503
|
}, r, "get"),
|
|
3014
1504
|
set: function(e) {
|
|
3015
1505
|
t[4](this, e);
|
|
3016
1506
|
}
|
|
3017
|
-
} : b[S] = v, f ||
|
|
1507
|
+
} : b[S] = v, f || qe(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
|
|
3018
1508
|
}
|
|
3019
1509
|
for (var C = e, w = _.length - 1; w >= 0; w -= n ? 2 : 1) {
|
|
3020
|
-
var T = _[w],
|
|
1510
|
+
var T = _[w], E = n ? _[w - 1] : void 0, D = {}, O = {
|
|
3021
1511
|
kind: [
|
|
3022
1512
|
"field",
|
|
3023
1513
|
"accessor",
|
|
@@ -3031,32 +1521,32 @@ function pr(e, t, n, r, i, a) {
|
|
|
3031
1521
|
addInitializer: function(e, t) {
|
|
3032
1522
|
if (e.v) throw Error("attempted to call addInitializer after decoration was finished");
|
|
3033
1523
|
c(t, "An initializer", "be", !0), s.push(t);
|
|
3034
|
-
}.bind(null,
|
|
1524
|
+
}.bind(null, D)
|
|
3035
1525
|
};
|
|
3036
1526
|
try {
|
|
3037
|
-
if (y) (g = c(T.call(
|
|
1527
|
+
if (y) (g = c(T.call(E, C, O), "class decorators", "return")) && (C = g);
|
|
3038
1528
|
else {
|
|
3039
|
-
var
|
|
3040
|
-
|
|
1529
|
+
var k, A;
|
|
1530
|
+
O.static = u, O.private = d, d ? i === 2 ? k = function(e) {
|
|
3041
1531
|
return h(e), b.value;
|
|
3042
|
-
} : (i < 4 && (
|
|
1532
|
+
} : (i < 4 && (k = o(b, "get", h)), i !== 3 && (A = o(b, "set", h))) : (k = function(e) {
|
|
3043
1533
|
return e[r];
|
|
3044
|
-
}, (i < 2 || i === 4) && (
|
|
1534
|
+
}, (i < 2 || i === 4) && (A = function(e, t) {
|
|
3045
1535
|
e[r] = t;
|
|
3046
1536
|
}));
|
|
3047
|
-
var
|
|
1537
|
+
var j = O.access = { has: d ? m.bind() : function(e) {
|
|
3048
1538
|
return r in e;
|
|
3049
1539
|
} };
|
|
3050
|
-
if (
|
|
1540
|
+
if (k && (j.get = k), A && (j.set = A), C = T.call(E, p ? {
|
|
3051
1541
|
get: b.get,
|
|
3052
1542
|
set: b.set
|
|
3053
|
-
} : b[S],
|
|
1543
|
+
} : b[S], O), p) {
|
|
3054
1544
|
if (typeof C == "object" && C) (g = c(C.get, "accessor.get")) && (b.get = g), (g = c(C.set, "accessor.set")) && (b.set = g), (g = c(C.init, "accessor.init")) && x.push(g);
|
|
3055
1545
|
else if (C !== void 0) throw TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
|
|
3056
1546
|
} else c(C, (f ? "field" : "method") + " decorators", "return") && (f ? x.push(C) : b[S] = C);
|
|
3057
1547
|
}
|
|
3058
1548
|
} finally {
|
|
3059
|
-
|
|
1549
|
+
D.v = !0;
|
|
3060
1550
|
}
|
|
3061
1551
|
}
|
|
3062
1552
|
return (f || p) && l.push(function(e, t) {
|
|
@@ -3074,7 +1564,7 @@ function pr(e, t, n, r, i, a) {
|
|
|
3074
1564
|
if (arguments.length >= 6) var d = a[Symbol.metadata || Symbol.for("Symbol.metadata")];
|
|
3075
1565
|
var f = Object.create(d ?? null), p = function(e, t, n, r) {
|
|
3076
1566
|
var i, a, o = [], c = function(t) {
|
|
3077
|
-
return
|
|
1567
|
+
return Je(t) === e;
|
|
3078
1568
|
}, u = /* @__PURE__ */ new Map();
|
|
3079
1569
|
function d(e) {
|
|
3080
1570
|
e && o.push(s.bind(null, e));
|
|
@@ -3088,7 +1578,7 @@ function pr(e, t, n, r, i, a) {
|
|
|
3088
1578
|
if (!0 === x || x === 3 && m !== 4 || x === 4 && m !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h);
|
|
3089
1579
|
u.set(b, !(m > 2) || m);
|
|
3090
1580
|
}
|
|
3091
|
-
l(v ? e : e.prototype, p, _, g ? "#" + h :
|
|
1581
|
+
l(v ? e : e.prototype, p, _, g ? "#" + h : Ge(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
|
|
3092
1582
|
}
|
|
3093
1583
|
}
|
|
3094
1584
|
return d(i), d(a), o;
|
|
@@ -3101,11 +1591,11 @@ function pr(e, t, n, r, i, a) {
|
|
|
3101
1591
|
}
|
|
3102
1592
|
};
|
|
3103
1593
|
}
|
|
3104
|
-
function
|
|
3105
|
-
var t =
|
|
1594
|
+
function Ge(e) {
|
|
1595
|
+
var t = Ke(e, "string");
|
|
3106
1596
|
return typeof t == "symbol" ? t : t + "";
|
|
3107
1597
|
}
|
|
3108
|
-
function
|
|
1598
|
+
function Ke(e, t) {
|
|
3109
1599
|
if (typeof e != "object" || !e) return e;
|
|
3110
1600
|
var n = e[Symbol.toPrimitive];
|
|
3111
1601
|
if (n !== void 0) {
|
|
@@ -3115,7 +1605,7 @@ function hr(e, t) {
|
|
|
3115
1605
|
}
|
|
3116
1606
|
return (t === "string" ? String : Number)(e);
|
|
3117
1607
|
}
|
|
3118
|
-
function
|
|
1608
|
+
function qe(e, t, n) {
|
|
3119
1609
|
typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
|
|
3120
1610
|
try {
|
|
3121
1611
|
Object.defineProperty(e, "name", {
|
|
@@ -3125,48 +1615,48 @@ function gr(e, t, n) {
|
|
|
3125
1615
|
} catch {}
|
|
3126
1616
|
return e;
|
|
3127
1617
|
}
|
|
3128
|
-
function
|
|
1618
|
+
function Je(e) {
|
|
3129
1619
|
if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
|
|
3130
1620
|
return e;
|
|
3131
1621
|
}
|
|
3132
|
-
function
|
|
1622
|
+
function Ye(e) {
|
|
3133
1623
|
return e;
|
|
3134
1624
|
}
|
|
3135
|
-
|
|
3136
|
-
var
|
|
3137
|
-
new (
|
|
1625
|
+
Ae = [e("solid-ui-menu")];
|
|
1626
|
+
var $;
|
|
1627
|
+
new (ze = (K = /*#__PURE__*/ new WeakMap(), q = /*#__PURE__*/ new WeakMap(), J = /*#__PURE__*/ new WeakMap(), Y = /*#__PURE__*/ new WeakMap(), Be = (je = s({
|
|
3138
1628
|
type: String,
|
|
3139
1629
|
reflect: !0
|
|
3140
|
-
}),
|
|
1630
|
+
}), Ne = s({
|
|
3141
1631
|
type: Number,
|
|
3142
1632
|
reflect: !0
|
|
3143
|
-
}),
|
|
1633
|
+
}), Fe = c("wa-dropdown"), Le = o(), "placement"), G = class extends t {
|
|
3144
1634
|
constructor(...e) {
|
|
3145
|
-
super(...e),
|
|
1635
|
+
super(...e), X(this, K, (Oe(this), Me(this, "bottom-start"))), X(this, q, Pe(this, 0)), X(this, J, Ie(this, null)), X(this, Y, Re(this, [])), Ue(this, "observer", new MutationObserver(() => this.syncItems()));
|
|
3146
1636
|
}
|
|
3147
|
-
get [
|
|
3148
|
-
return
|
|
1637
|
+
get [Be]() {
|
|
1638
|
+
return Q(K, this);
|
|
3149
1639
|
}
|
|
3150
1640
|
set placement(e) {
|
|
3151
|
-
|
|
1641
|
+
Z(K, this, e);
|
|
3152
1642
|
}
|
|
3153
1643
|
get distance() {
|
|
3154
|
-
return
|
|
1644
|
+
return Q(q, this);
|
|
3155
1645
|
}
|
|
3156
1646
|
set distance(e) {
|
|
3157
|
-
|
|
1647
|
+
Z(q, this, e);
|
|
3158
1648
|
}
|
|
3159
1649
|
get dropdown() {
|
|
3160
|
-
return
|
|
1650
|
+
return Q(J, this);
|
|
3161
1651
|
}
|
|
3162
1652
|
set dropdown(e) {
|
|
3163
|
-
|
|
1653
|
+
Z(J, this, e);
|
|
3164
1654
|
}
|
|
3165
1655
|
get items() {
|
|
3166
|
-
return
|
|
1656
|
+
return Q(Y, this);
|
|
3167
1657
|
}
|
|
3168
1658
|
set items(e) {
|
|
3169
|
-
|
|
1659
|
+
Z(Y, this, e);
|
|
3170
1660
|
}
|
|
3171
1661
|
connectedCallback() {
|
|
3172
1662
|
super.connectedCallback(), this.syncItems(), this.observer.observe(this, { childList: !0 });
|
|
@@ -3216,36 +1706,36 @@ new (ar = (Wn = /*#__PURE__*/ new WeakMap(), Gn = /*#__PURE__*/ new WeakMap(), K
|
|
|
3216
1706
|
});
|
|
3217
1707
|
return n?.dispatchEvent(r), r;
|
|
3218
1708
|
}
|
|
3219
|
-
}, {e: [
|
|
1709
|
+
}, {e: [Me, Pe, Ie, Re, Oe], c: [$, ke]} = We(G, [
|
|
3220
1710
|
[
|
|
3221
|
-
|
|
1711
|
+
je,
|
|
3222
1712
|
1,
|
|
3223
1713
|
"placement"
|
|
3224
1714
|
],
|
|
3225
1715
|
[
|
|
3226
|
-
|
|
1716
|
+
Ne,
|
|
3227
1717
|
1,
|
|
3228
1718
|
"distance"
|
|
3229
1719
|
],
|
|
3230
1720
|
[
|
|
3231
|
-
|
|
1721
|
+
Fe,
|
|
3232
1722
|
1,
|
|
3233
1723
|
"dropdown"
|
|
3234
1724
|
],
|
|
3235
1725
|
[
|
|
3236
|
-
|
|
1726
|
+
Le,
|
|
3237
1727
|
1,
|
|
3238
1728
|
"items"
|
|
3239
1729
|
]
|
|
3240
|
-
],
|
|
1730
|
+
], Ae, 0, void 0, t), G), W = class extends Ye {
|
|
3241
1731
|
constructor() {
|
|
3242
|
-
super(
|
|
1732
|
+
super($), Ue(this, "styles", De), ke();
|
|
3243
1733
|
}
|
|
3244
|
-
},
|
|
1734
|
+
}, Ue(W, ze, void 0), W)();
|
|
3245
1735
|
//#endregion
|
|
3246
1736
|
//#region src/components/menu/index.ts
|
|
3247
|
-
var
|
|
1737
|
+
var Xe = $;
|
|
3248
1738
|
//#endregion
|
|
3249
|
-
export {
|
|
1739
|
+
export { $ as n, Xe as t };
|
|
3250
1740
|
|
|
3251
|
-
//# sourceMappingURL=menu-
|
|
1741
|
+
//# sourceMappingURL=menu-DNcuV-1J.js.map
|