solid-ui 3.1.3-12 → 3.1.3-14
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/README.md +9 -14
- package/dist/_virtual/_rolldown/runtime.cjs.js +1 -1
- package/dist/acl/access-controller.cjs.js.map +1 -1
- package/dist/acl/access-groups.cjs.js +1 -1
- package/dist/acl/access-groups.cjs.js.map +1 -1
- package/dist/acl/access-groups.esm.js +2 -1
- package/dist/acl/access-groups.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/chat/bookmarks.esm.js +2 -1
- package/dist/chat/bookmarks.esm.js.map +1 -1
- package/dist/chat/chatLogic.cjs.js +1 -1
- package/dist/chat/chatLogic.cjs.js.map +1 -1
- package/dist/chat/chatLogic.esm.js +2 -2
- package/dist/chat/chatLogic.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.d.ts +1 -1
- package/dist/chat/keys.d.ts.map +1 -1
- package/dist/chat/keys.esm.js +5 -2
- package/dist/chat/keys.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 +2 -1
- package/dist/chat/signature.esm.js.map +1 -1
- package/dist/chunks/{DialogProvider-ge2aA77F.js → DialogProvider-0HIHjONx.js} +7 -9
- package/dist/chunks/{DialogProvider-ge2aA77F.js.map → DialogProvider-0HIHjONx.js.map} +1 -1
- package/dist/chunks/{account-Bb818bGF.js → account-Ch8h_zTv.js} +22 -25
- package/dist/chunks/{account-Bb818bGF.js.map → account-Ch8h_zTv.js.map} +1 -1
- package/dist/chunks/{auth-ClVI18ss.js → auth-D4NUMSzc.js} +111 -113
- package/dist/chunks/auth-D4NUMSzc.js.map +1 -0
- package/dist/chunks/{avatar-DGu_PX5y.js → avatar-BWtz4RlU.js} +9 -11
- package/dist/chunks/{avatar-DGu_PX5y.js.map → avatar-BWtz4RlU.js.map} +1 -1
- package/dist/chunks/{button-B9-nlEpz.js → button-BJyFKOKO.js} +12 -16
- package/dist/chunks/{button-B9-nlEpz.js.map → button-BJyFKOKO.js.map} +1 -1
- package/dist/chunks/{chunk.7MPIABXH-CEYdxYyt.js → chunk.64OG2H45-BADxAtEI.js} +104 -57
- package/dist/chunks/chunk.64OG2H45-BADxAtEI.js.map +1 -0
- package/dist/chunks/{combobox-DrT0Nb-A.js → combobox-0NWv9K3D.js} +120 -178
- package/dist/chunks/combobox-0NWv9K3D.js.map +1 -0
- package/dist/chunks/{combobox-option-DxJvAZ_Q.js → combobox-option-B-twy1Zn.js} +6 -8
- package/dist/chunks/{combobox-option-DxJvAZ_Q.js.map → combobox-option-B-twy1Zn.js.map} +1 -1
- package/dist/chunks/components-DrP7BOrs.js +1281 -0
- package/dist/chunks/components-DrP7BOrs.js.map +1 -0
- package/dist/chunks/{dialog-kyHgc-uy.js → dialog-CcMVH-Ut.js} +58 -115
- package/dist/chunks/dialog-CcMVH-Ut.js.map +1 -0
- package/dist/chunks/{dialog-content-CEITrC59.js → dialog-content-DcD_s3hK.js} +4 -5
- package/dist/chunks/{dialog-content-CEITrC59.js.map → dialog-content-DcD_s3hK.js.map} +1 -1
- package/dist/chunks/{dialog-footer-DVLEK5bU.js → dialog-footer-CHgSH7G5.js} +4 -5
- package/dist/chunks/{dialog-footer-DVLEK5bU.js.map → dialog-footer-CHgSH7G5.js.map} +1 -1
- package/dist/chunks/{dialog-header-kEWl21oD.js → dialog-header-BjellR7_.js} +4 -5
- package/dist/chunks/{dialog-header-kEWl21oD.js.map → dialog-header-BjellR7_.js.map} +1 -1
- package/dist/chunks/dialogs-CeHuLUo5.js +26 -0
- package/dist/chunks/dialogs-CeHuLUo5.js.map +1 -0
- package/dist/chunks/{dialogs-root-dPGfuzSZ.js → dialogs-root-CvsON-m8.js} +12 -18
- package/dist/chunks/dialogs-root-CvsON-m8.js.map +1 -0
- package/dist/chunks/{guard-DEqOFEs4.js → guard-BIesxo_f.js} +9 -11
- package/dist/chunks/{guard-DEqOFEs4.js.map → guard-BIesxo_f.js.map} +1 -1
- package/dist/chunks/{solid-logic.esm-BrMdCG2_.js → index.esm-CyyOkz04.js} +2663 -2745
- package/dist/chunks/index.esm-CyyOkz04.js.map +1 -0
- package/dist/chunks/{input-BjCX2bFe.js → input-CFDN76Y5.js} +68 -97
- package/dist/chunks/input-CFDN76Y5.js.map +1 -0
- package/dist/chunks/{jsonld-B61R4iOL.js → jsonld-52q5nY_t.js} +22 -27
- package/dist/chunks/{jsonld-B61R4iOL.js.map → jsonld-52q5nY_t.js.map} +1 -1
- package/dist/chunks/{login-button-Czm-E9Na.js → login-button-BhdKFJ-F.js} +10 -12
- package/dist/chunks/{login-button-Czm-E9Na.js.map → login-button-BhdKFJ-F.js.map} +1 -1
- package/dist/chunks/{logout-button-BrR_jOhK.js → logout-button-ClbKS9ss.js} +10 -12
- package/dist/chunks/{logout-button-BrR_jOhK.js.map → logout-button-ClbKS9ss.js.map} +1 -1
- package/dist/chunks/{menu-1PG19fCC.js → menu-DVgG-el5.js} +58 -55
- package/dist/chunks/menu-DVgG-el5.js.map +1 -0
- package/dist/chunks/{menu-item-C9uErV38.js → menu-item-Bj3NgLzB.js} +10 -12
- package/dist/chunks/{menu-item-C9uErV38.js.map → menu-item-Bj3NgLzB.js.map} +1 -1
- package/dist/chunks/photo-capture-CVKE0SKx.js +402 -0
- package/dist/chunks/photo-capture-CVKE0SKx.js.map +1 -0
- package/dist/chunks/photo-capture-modal-DARmhHUH.js +560 -0
- package/dist/chunks/photo-capture-modal-DARmhHUH.js.map +1 -0
- package/dist/chunks/{provider-qd_4VaKB.js → provider-CBSBzOfP.js} +11 -13
- package/dist/chunks/{provider-qd_4VaKB.js.map → provider-CBSBzOfP.js.map} +1 -1
- package/dist/chunks/rdf-form-BeuzVBOP.js +339 -0
- package/dist/chunks/rdf-form-BeuzVBOP.js.map +1 -0
- package/dist/chunks/rdf-input-n73oeSkf.js +440 -0
- package/dist/chunks/rdf-input-n73oeSkf.js.map +1 -0
- package/dist/chunks/{rolldown-runtime-B1bRi_D7.js → rolldown-runtime-Cb76FRpK.js} +2 -2
- package/dist/chunks/{select-OM-SgY4K.js → select-BuIxSm1A.js} +53 -111
- package/dist/chunks/select-BuIxSm1A.js.map +1 -0
- package/dist/chunks/{select-option-pVhYlXrt.js → select-option-Z8qZsCQo.js} +6 -8
- package/dist/chunks/{select-option-pVhYlXrt.js.map → select-option-Z8qZsCQo.js.map} +1 -1
- package/dist/chunks/{signup-button-BnA5p-uJ.js → signup-button-B-AgjjAK.js} +10 -12
- package/dist/chunks/{signup-button-BnA5p-uJ.js.map → signup-button-B-AgjjAK.js.map} +1 -1
- package/dist/chunks/{solid-emblem-D2clBuKZ.js → solid-emblem-D4ItOckU.js} +5 -6
- package/dist/chunks/{solid-emblem-D2clBuKZ.js.map → solid-emblem-D4ItOckU.js.map} +1 -1
- package/dist/chunks/{src-DJOb1wMf.js → src-CMpy92si.js} +2741 -3206
- package/dist/chunks/src-CMpy92si.js.map +1 -0
- package/dist/chunks/style-CjYxsW7j.js +536 -0
- package/dist/chunks/style-CjYxsW7j.js.map +1 -0
- package/dist/components/account/Account.cjs.js.map +1 -1
- package/dist/components/account/Account.stories.d.ts +3 -13
- package/dist/components/account/Account.stories.d.ts.map +1 -1
- package/dist/components/account.js +1 -1
- package/dist/components/all.cjs.js +1 -1
- package/dist/components/all.esm.js +3 -1
- package/dist/components/avatar/Avatar.cjs.js.map +1 -1
- package/dist/components/avatar/Avatar.stories.d.ts +3 -21
- package/dist/components/avatar/Avatar.stories.d.ts.map +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 -3
- package/dist/components/button/Button.esm.js.map +1 -1
- package/dist/components/button/Button.stories.d.ts +15 -154
- package/dist/components/button/Button.stories.d.ts.map +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/combobox/Combobox.cjs.js +11 -11
- package/dist/components/combobox/Combobox.cjs.js.map +1 -1
- package/dist/components/combobox/Combobox.d.ts +5 -11
- package/dist/components/combobox/Combobox.d.ts.map +1 -1
- package/dist/components/combobox/Combobox.esm.js +115 -172
- package/dist/components/combobox/Combobox.esm.js.map +1 -1
- package/dist/components/combobox/Combobox.stories.d.ts +9 -46
- package/dist/components/combobox/Combobox.stories.d.ts.map +1 -1
- package/dist/components/combobox-option/ComboboxOption.cjs.js.map +1 -1
- package/dist/components/combobox-option.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/dialog/Dialog.cjs.js +6 -6
- package/dist/components/dialog/Dialog.cjs.js.map +1 -1
- package/dist/components/dialog/Dialog.esm.js +11 -10
- package/dist/components/dialog/Dialog.esm.js.map +1 -1
- package/dist/components/dialog/Dialog.stories.d.ts +22 -0
- package/dist/components/dialog/Dialog.stories.d.ts.map +1 -0
- package/dist/components/dialog/docs/sample-modal/SampleModal.d.ts +6 -0
- package/dist/components/dialog/docs/sample-modal/SampleModal.d.ts.map +1 -0
- package/dist/components/dialog/docs/sample-modal/index.d.ts +4 -0
- package/dist/components/dialog/docs/sample-modal/index.d.ts.map +1 -0
- package/dist/components/dialog-content.js +1 -1
- package/dist/components/dialog-footer.js +1 -1
- package/dist/components/dialog-header.js +1 -1
- package/dist/components/dialog-provider/DialogProvider.cjs.js.map +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 +4 -7
- package/dist/components/dialogs-root/DialogsRoot.cjs.js.map +1 -1
- package/dist/components/dialogs-root/DialogsRoot.d.ts.map +1 -1
- package/dist/components/dialogs-root/DialogsRoot.esm.js +7 -10
- package/dist/components/dialogs-root/DialogsRoot.esm.js.map +1 -1
- package/dist/components/dialogs-root.js +1 -1
- package/dist/components/guard/Guard.cjs.js.map +1 -1
- package/dist/components/guard/Guard.stories.d.ts +3 -21
- package/dist/components/guard/Guard.stories.d.ts.map +1 -1
- package/dist/components/guard.js +1 -1
- package/dist/components/input/Input.cjs.js +3 -2
- package/dist/components/input/Input.cjs.js.map +1 -1
- package/dist/components/input/Input.d.ts +4 -9
- package/dist/components/input/Input.d.ts.map +1 -1
- package/dist/components/input/Input.esm.js +69 -97
- package/dist/components/input/Input.esm.js.map +1 -1
- package/dist/components/input/Input.stories.d.ts +13 -22
- package/dist/components/input/Input.stories.d.ts.map +1 -1
- package/dist/components/input/Input.styles.cjs.js +1 -1
- package/dist/components/input/Input.styles.cjs.js.map +1 -1
- package/dist/components/input/Input.styles.esm.js +1 -1
- package/dist/components/input/Input.styles.esm.js.map +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/login-button/LoginButton.cjs.js.map +1 -1
- package/dist/components/login-button/LoginButton.stories.d.ts +4 -4
- package/dist/components/login-button/LoginButton.stories.d.ts.map +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/LoginModal.esm.js.map +1 -1
- package/dist/components/login-modal/LoginModal.stories.d.ts +13 -5
- package/dist/components/login-modal/LoginModal.stories.d.ts.map +1 -1
- package/dist/components/login-modal.js +1 -1
- package/dist/components/logout-button/LogoutButton.cjs.js.map +1 -1
- package/dist/components/logout-button/LogoutButton.stories.d.ts +4 -4
- package/dist/components/logout-button/LogoutButton.stories.d.ts.map +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.d.ts.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/Menu.stories.d.ts +3 -4
- package/dist/components/menu/Menu.stories.d.ts.map +1 -1
- package/dist/components/menu/Menu.test.d.ts +1 -0
- package/dist/components/menu/Menu.test.d.ts.map +1 -0
- package/dist/components/menu-item/MenuItem.cjs.js.map +1 -1
- package/dist/components/menu-item.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/photo-capture/PhotoCapture.cjs.js +6 -0
- package/dist/components/photo-capture/PhotoCapture.cjs.js.map +1 -0
- package/dist/components/photo-capture/PhotoCapture.d.ts +20 -0
- package/dist/components/photo-capture/PhotoCapture.d.ts.map +1 -0
- package/dist/components/photo-capture/PhotoCapture.esm.js +404 -0
- package/dist/components/photo-capture/PhotoCapture.esm.js.map +1 -0
- package/dist/components/photo-capture/PhotoCapture.stories.d.ts +16 -0
- package/dist/components/photo-capture/PhotoCapture.stories.d.ts.map +1 -0
- package/dist/components/photo-capture/docs/photo-capture-sandbox/PhotoCaptureSandbox.d.ts +9 -0
- package/dist/components/photo-capture/docs/photo-capture-sandbox/PhotoCaptureSandbox.d.ts.map +1 -0
- package/dist/components/photo-capture/docs/photo-capture-sandbox/index.d.ts +4 -0
- package/dist/components/photo-capture/docs/photo-capture-sandbox/index.d.ts.map +1 -0
- package/dist/components/photo-capture/index.cjs.js +2 -1
- package/dist/components/photo-capture/index.cjs.js.map +1 -0
- package/dist/components/photo-capture/index.d.ts +4 -1
- package/dist/components/photo-capture/index.d.ts.map +1 -1
- package/dist/components/photo-capture/index.esm.js +7 -3
- package/dist/components/photo-capture/index.esm.js.map +1 -0
- package/dist/components/photo-capture-modal/PhotoCaptureModal.cjs.js +24 -0
- package/dist/components/photo-capture-modal/PhotoCaptureModal.cjs.js.map +1 -0
- package/dist/components/photo-capture-modal/PhotoCaptureModal.d.ts +42 -0
- package/dist/components/photo-capture-modal/PhotoCaptureModal.d.ts.map +1 -0
- package/dist/components/photo-capture-modal/PhotoCaptureModal.esm.js +562 -0
- package/dist/components/photo-capture-modal/PhotoCaptureModal.esm.js.map +1 -0
- package/dist/components/photo-capture-modal/PhotoCaptureModal.styles.cjs.js +2 -0
- package/dist/components/photo-capture-modal/PhotoCaptureModal.styles.cjs.js.map +1 -0
- package/dist/components/photo-capture-modal/PhotoCaptureModal.styles.esm.js +7 -0
- package/dist/components/photo-capture-modal/PhotoCaptureModal.styles.esm.js.map +1 -0
- package/dist/components/photo-capture-modal/index.cjs.js +2 -0
- package/dist/components/photo-capture-modal/index.cjs.js.map +1 -0
- package/dist/components/photo-capture-modal/index.d.ts +4 -0
- package/dist/components/photo-capture-modal/index.d.ts.map +1 -0
- package/dist/components/photo-capture-modal/index.esm.js +7 -0
- package/dist/components/photo-capture-modal/index.esm.js.map +1 -0
- package/dist/components/photo-capture-modal.js +2 -0
- package/dist/components/photo-capture.js +2 -2
- package/dist/components/provider/Provider.cjs.js.map +1 -1
- package/dist/components/provider.js +1 -1
- package/dist/components/rdf-form/RDFForm.cjs.js +12 -0
- package/dist/components/rdf-form/RDFForm.cjs.js.map +1 -0
- package/dist/components/rdf-form/RDFForm.d.ts +17 -0
- package/dist/components/rdf-form/RDFForm.d.ts.map +1 -0
- package/dist/components/rdf-form/RDFForm.esm.js +344 -0
- package/dist/components/rdf-form/RDFForm.esm.js.map +1 -0
- package/dist/components/rdf-form/RDForm.stories.d.ts +20 -0
- package/dist/components/rdf-form/RDForm.stories.d.ts.map +1 -0
- package/dist/components/rdf-form/index.cjs.js +2 -0
- package/dist/components/rdf-form/index.cjs.js.map +1 -0
- package/dist/components/rdf-form/index.d.ts +4 -0
- package/dist/components/rdf-form/index.d.ts.map +1 -0
- package/dist/components/rdf-form/index.esm.js +7 -0
- package/dist/components/rdf-form/index.esm.js.map +1 -0
- package/dist/components/rdf-form.js +2 -0
- package/dist/components/rdf-input/RDFInput.cjs.js +11 -0
- package/dist/components/rdf-input/RDFInput.cjs.js.map +1 -0
- package/dist/components/rdf-input/RDFInput.d.ts +24 -0
- package/dist/components/rdf-input/RDFInput.d.ts.map +1 -0
- package/dist/components/rdf-input/RDFInput.esm.js +349 -0
- package/dist/components/rdf-input/RDFInput.esm.js.map +1 -0
- package/dist/components/rdf-input/index.cjs.js +2 -0
- package/dist/components/rdf-input/index.cjs.js.map +1 -0
- package/dist/components/rdf-input/index.d.ts +4 -0
- package/dist/components/rdf-input/index.d.ts.map +1 -0
- package/dist/components/rdf-input/index.esm.js +7 -0
- package/dist/components/rdf-input/index.esm.js.map +1 -0
- package/dist/components/rdf-input.js +2 -0
- package/dist/components/select/Select.cjs.js +3 -3
- package/dist/components/select/Select.cjs.js.map +1 -1
- package/dist/components/select/Select.d.ts +3 -10
- package/dist/components/select/Select.d.ts.map +1 -1
- package/dist/components/select/Select.esm.js +52 -109
- package/dist/components/select/Select.esm.js.map +1 -1
- package/dist/components/select/Select.stories.d.ts +9 -13
- package/dist/components/select/Select.stories.d.ts.map +1 -1
- package/dist/components/select-option/SelectOption.cjs.js.map +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.map +1 -1
- package/dist/components/signup-button/SignupButton.stories.d.ts +4 -4
- package/dist/components/signup-button/SignupButton.stories.d.ts.map +1 -1
- package/dist/components/signup-button.js +1 -1
- package/dist/components/solid-emblem.js +1 -1
- package/dist/components.js +26 -24
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +12 -10
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8 -9
- package/dist/lib/auth/SolidAuth.cjs.js +1 -1
- package/dist/lib/auth/SolidAuth.cjs.js.map +1 -1
- package/dist/lib/auth/SolidAuth.d.ts.map +1 -1
- package/dist/lib/auth/SolidAuth.esm.js +17 -16
- package/dist/lib/auth/SolidAuth.esm.js.map +1 -1
- package/dist/lib/auth/context.cjs.js.map +1 -1
- package/dist/lib/components/decorators.cjs.js.map +1 -1
- package/dist/lib/components/decorators.esm.js.map +1 -1
- package/dist/lib/components/dialog-component/DialogComponent.cjs.js +2 -0
- package/dist/lib/components/dialog-component/DialogComponent.cjs.js.map +1 -0
- package/dist/lib/components/dialog-component/DialogComponent.d.ts +10 -0
- package/dist/lib/components/dialog-component/DialogComponent.d.ts.map +1 -0
- package/dist/lib/components/dialog-component/DialogComponent.esm.js +203 -0
- package/dist/lib/components/dialog-component/DialogComponent.esm.js.map +1 -0
- package/dist/lib/components/dialog-component/index.cjs.js +1 -0
- package/dist/lib/components/dialog-component/index.d.ts +4 -0
- package/dist/lib/components/dialog-component/index.d.ts.map +1 -0
- package/dist/lib/components/dialog-component/index.esm.js +2 -0
- package/dist/lib/components/form-control-component/FormControlComponent.cjs.js +2 -0
- package/dist/lib/components/form-control-component/FormControlComponent.cjs.js.map +1 -0
- package/dist/lib/components/form-control-component/FormControlComponent.d.ts +15 -0
- package/dist/lib/components/form-control-component/FormControlComponent.d.ts.map +1 -0
- package/dist/lib/components/form-control-component/FormControlComponent.esm.js +271 -0
- package/dist/lib/components/form-control-component/FormControlComponent.esm.js.map +1 -0
- package/dist/lib/components/form-control-component/index.cjs.js +1 -0
- package/dist/lib/components/form-control-component/index.d.ts +4 -0
- package/dist/lib/components/form-control-component/index.d.ts.map +1 -0
- package/dist/lib/components/form-control-component/index.esm.js +2 -0
- 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.d.ts +3 -1
- package/dist/lib/components/index.d.ts.map +1 -1
- package/dist/lib/components/index.esm.js +8 -4
- package/dist/lib/components/traits/DialogTrait.cjs.js +1 -1
- package/dist/lib/components/traits/DialogTrait.cjs.js.map +1 -1
- package/dist/lib/components/traits/DialogTrait.d.ts +2 -1
- package/dist/lib/components/traits/DialogTrait.d.ts.map +1 -1
- package/dist/lib/components/traits/DialogTrait.esm.js +26 -6
- package/dist/lib/components/traits/DialogTrait.esm.js.map +1 -1
- package/dist/lib/components/traits/FormControlTrait.cjs.js +1 -1
- package/dist/lib/components/traits/FormControlTrait.cjs.js.map +1 -1
- package/dist/lib/components/traits/FormControlTrait.d.ts +4 -2
- package/dist/lib/components/traits/FormControlTrait.d.ts.map +1 -1
- package/dist/lib/components/traits/FormControlTrait.esm.js +28 -10
- package/dist/lib/components/traits/FormControlTrait.esm.js.map +1 -1
- 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 +12 -1
- package/dist/lib/components/web-component/WebComponent.d.ts.map +1 -1
- package/dist/lib/components/web-component/WebComponent.esm.js +30 -7
- package/dist/lib/components/web-component/WebComponent.esm.js.map +1 -1
- package/dist/lib/components/web-component/WebComponent.styles.cjs.js +1 -1
- package/dist/lib/components/web-component/WebComponent.styles.esm.js +1 -1
- package/dist/lib/dialogs/Dialog.cjs.js +1 -1
- package/dist/lib/dialogs/Dialog.cjs.js.map +1 -1
- package/dist/lib/dialogs/Dialog.d.ts +4 -8
- package/dist/lib/dialogs/Dialog.d.ts.map +1 -1
- package/dist/lib/dialogs/Dialog.esm.js +1 -8
- package/dist/lib/dialogs/Dialog.esm.js.map +1 -1
- package/dist/lib/dialogs/context.cjs.js.map +1 -1
- package/dist/lib/dialogs/helpers.cjs.js +1 -1
- package/dist/lib/dialogs/helpers.cjs.js.map +1 -1
- package/dist/lib/dialogs/helpers.d.ts +7 -2
- package/dist/lib/dialogs/helpers.d.ts.map +1 -1
- package/dist/lib/dialogs/helpers.esm.js +5 -3
- package/dist/lib/dialogs/helpers.esm.js.map +1 -1
- package/dist/lib/forms/fieldParams.cjs.js +2 -0
- package/dist/lib/forms/fieldParams.cjs.js.map +1 -0
- package/dist/lib/forms/fieldParams.d.ts +21 -0
- package/dist/lib/forms/fieldParams.d.ts.map +1 -0
- package/dist/lib/forms/fieldParams.esm.js +74 -0
- package/dist/lib/forms/fieldParams.esm.js.map +1 -0
- package/dist/lib/forms/rdfFormsHelper.cjs.js +2 -0
- package/dist/lib/forms/rdfFormsHelper.cjs.js.map +1 -0
- package/dist/lib/forms/rdfFormsHelper.d.ts +16 -0
- package/dist/lib/forms/rdfFormsHelper.d.ts.map +1 -0
- package/dist/lib/forms/rdfFormsHelper.esm.js +34 -0
- package/dist/lib/forms/rdfFormsHelper.esm.js.map +1 -0
- package/dist/lib/forms/store/NoopStore.cjs.js +2 -0
- package/dist/lib/forms/store/NoopStore.cjs.js.map +1 -0
- package/dist/lib/forms/store/NoopStore.d.ts +6 -0
- package/dist/lib/forms/store/NoopStore.d.ts.map +1 -0
- package/dist/lib/forms/store/NoopStore.esm.js +10 -0
- package/dist/lib/forms/store/NoopStore.esm.js.map +1 -0
- package/dist/lib/forms/store/StoreContext.cjs.js +2 -0
- package/dist/lib/forms/store/StoreContext.cjs.js.map +1 -0
- package/dist/lib/forms/store/StoreContext.d.ts +10 -0
- package/dist/lib/forms/store/StoreContext.d.ts.map +1 -0
- package/dist/lib/forms/store/StoreContext.esm.js +8 -0
- package/dist/lib/forms/store/StoreContext.esm.js.map +1 -0
- 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 +6 -5
- package/dist/lib/pad.esm.js.map +1 -1
- package/dist/lib/participation.cjs.js +1 -1
- package/dist/lib/participation.cjs.js.map +1 -1
- package/dist/lib/participation.esm.js +4 -2
- 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 +9 -7
- package/dist/lib/preferences.esm.js.map +1 -1
- package/dist/lib/table.cjs.js +2 -2
- package/dist/lib/table.cjs.js.map +1 -1
- package/dist/lib/table.esm.js +2 -2
- package/dist/lib/table.esm.js.map +1 -1
- package/dist/loader.js +8 -9
- package/dist/login/login.cjs.js.map +1 -1
- package/dist/media/media-capture.esm.js +2 -1
- package/dist/media/media-capture.esm.js.map +1 -1
- package/dist/solid-ui.js +162 -467
- package/dist/solid-ui.min.js +162 -467
- package/dist/solid-ui.min.js.map +1 -1
- package/dist/storybook/components/StorybookProvider.d.ts +1 -0
- package/dist/storybook/components/StorybookProvider.d.ts.map +1 -1
- package/dist/storybook/helpers.d.ts +2 -6
- package/dist/storybook/helpers.d.ts.map +1 -1
- package/dist/storybook/store/StorybookStore.d.ts +6 -0
- package/dist/storybook/store/StorybookStore.d.ts.map +1 -0
- package/dist/utils/headerFooterHelpers.cjs.js +1 -1
- package/dist/utils/headerFooterHelpers.cjs.js.map +1 -1
- package/dist/utils/headerFooterHelpers.esm.js +2 -1
- package/dist/utils/headerFooterHelpers.esm.js.map +1 -1
- package/dist/utils/index.cjs.js +1 -1
- 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.d.ts +3 -3
- package/dist/utils/keyHelpers/accessData.d.ts.map +1 -1
- package/dist/utils/keyHelpers/accessData.esm.js +2 -1
- package/dist/utils/keyHelpers/accessData.esm.js.map +1 -1
- package/dist/utils/keyHelpers/otherHelpers.d.ts +1 -1
- package/dist/utils/keyHelpers/otherHelpers.d.ts.map +1 -1
- package/dist/widgets/buttons.cjs.js +2 -2
- package/dist/widgets/buttons.cjs.js.map +1 -1
- package/dist/widgets/buttons.esm.js +10 -5
- package/dist/widgets/buttons.esm.js.map +1 -1
- package/dist/widgets/dragAndDrop.cjs.js +1 -1
- package/dist/widgets/dragAndDrop.cjs.js.map +1 -1
- package/dist/widgets/dragAndDrop.esm.js +1 -1
- package/dist/widgets/dragAndDrop.esm.js.map +1 -1
- package/dist/widgets/forms/autocomplete/autocompleteBar.esm.js +25 -18
- package/dist/widgets/forms/autocomplete/autocompleteBar.esm.js.map +1 -1
- package/dist/widgets/forms/autocomplete/autocompleteField.cjs.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.d.ts +3 -3
- package/dist/widgets/forms/autocomplete/publicData.d.ts.map +1 -1
- package/dist/widgets/forms/autocomplete/publicData.esm.js +6 -4
- package/dist/widgets/forms/autocomplete/publicData.esm.js.map +1 -1
- package/dist/widgets/forms/basic.cjs.js +1 -1
- package/dist/widgets/forms/basic.cjs.js.map +1 -1
- package/dist/widgets/forms/basic.esm.js +27 -25
- package/dist/widgets/forms/basic.esm.js.map +1 -1
- package/dist/widgets/forms/formStyle.cjs.js +1 -1
- package/dist/widgets/forms/formStyle.cjs.js.map +1 -1
- package/dist/widgets/forms/formStyle.esm.js +4 -4
- package/dist/widgets/forms/formStyle.esm.js.map +1 -1
- package/dist/widgets/forms.cjs.js +2 -2
- package/dist/widgets/forms.cjs.js.map +1 -1
- package/dist/widgets/forms.esm.js +10 -8
- package/dist/widgets/forms.esm.js.map +1 -1
- package/dist/widgets/multiSelect.cjs.js +1 -1
- package/dist/widgets/multiSelect.cjs.js.map +1 -1
- package/dist/widgets/multiSelect.esm.js +2 -1
- package/dist/widgets/multiSelect.esm.js.map +1 -1
- package/dist/widgets/peoplePicker.cjs.js.map +1 -1
- package/package.json +4 -4
- package/dist/chunks/auth-ClVI18ss.js.map +0 -1
- package/dist/chunks/chunk.7MPIABXH-CEYdxYyt.js.map +0 -1
- package/dist/chunks/close-dialog-DfAh83bX.js +0 -14
- package/dist/chunks/close-dialog-DfAh83bX.js.map +0 -1
- package/dist/chunks/combobox-DrT0Nb-A.js.map +0 -1
- package/dist/chunks/components-PQfnwrHI.js +0 -107
- package/dist/chunks/components-PQfnwrHI.js.map +0 -1
- package/dist/chunks/context-B_xwK-Y_.js +0 -22
- package/dist/chunks/context-B_xwK-Y_.js.map +0 -1
- package/dist/chunks/decorators-BqWyWiL9.js +0 -50
- package/dist/chunks/decorators-BqWyWiL9.js.map +0 -1
- package/dist/chunks/dialog-kyHgc-uy.js.map +0 -1
- package/dist/chunks/dialogs-root-dPGfuzSZ.js.map +0 -1
- package/dist/chunks/footer-BLSjn5ur.js +0 -144
- package/dist/chunks/footer-BLSjn5ur.js.map +0 -1
- package/dist/chunks/headerFooterHelpers-CPd5d20q.js +0 -52
- package/dist/chunks/headerFooterHelpers-CPd5d20q.js.map +0 -1
- package/dist/chunks/input-BjCX2bFe.js.map +0 -1
- package/dist/chunks/lit-C4H1jI4q.js +0 -527
- package/dist/chunks/lit-C4H1jI4q.js.map +0 -1
- package/dist/chunks/menu-1PG19fCC.js.map +0 -1
- package/dist/chunks/photo-capture-DzK6wZF4.js +0 -624
- package/dist/chunks/photo-capture-DzK6wZF4.js.map +0 -1
- package/dist/chunks/select-OM-SgY4K.js.map +0 -1
- package/dist/chunks/solid-logic.esm-BrMdCG2_.js.map +0 -1
- package/dist/chunks/src-DJOb1wMf.js.map +0 -1
- package/dist/components/footer/index.cjs.js +0 -1
- package/dist/components/footer/index.d.ts +0 -2
- package/dist/components/footer/index.d.ts.map +0 -1
- package/dist/components/footer/index.esm.js +0 -3
- package/dist/components/footer.js +0 -2
- package/dist/v2/components/layout/footer/Footer.cjs.js +0 -73
- package/dist/v2/components/layout/footer/Footer.cjs.js.map +0 -1
- package/dist/v2/components/layout/footer/Footer.d.ts +0 -60
- package/dist/v2/components/layout/footer/Footer.d.ts.map +0 -1
- package/dist/v2/components/layout/footer/Footer.esm.js +0 -143
- package/dist/v2/components/layout/footer/Footer.esm.js.map +0 -1
- package/dist/v2/components/layout/footer/Footer.test.d.ts +0 -1
- package/dist/v2/components/layout/footer/Footer.test.d.ts.map +0 -1
- package/dist/v2/components/layout/footer/index.cjs.js +0 -2
- package/dist/v2/components/layout/footer/index.cjs.js.map +0 -1
- package/dist/v2/components/layout/footer/index.d.ts +0 -3
- package/dist/v2/components/layout/footer/index.d.ts.map +0 -1
- package/dist/v2/components/layout/footer/index.esm.js +0 -8
- package/dist/v2/components/layout/footer/index.esm.js.map +0 -1
- package/dist/v2/components/media/photoCapture/PhotoCapture.cjs.js +0 -281
- package/dist/v2/components/media/photoCapture/PhotoCapture.cjs.js.map +0 -1
- package/dist/v2/components/media/photoCapture/PhotoCapture.d.ts +0 -200
- package/dist/v2/components/media/photoCapture/PhotoCapture.d.ts.map +0 -1
- package/dist/v2/components/media/photoCapture/PhotoCapture.esm.js +0 -623
- package/dist/v2/components/media/photoCapture/PhotoCapture.esm.js.map +0 -1
- package/dist/v2/components/media/photoCapture/PhotoCapture.test.d.ts +0 -1
- package/dist/v2/components/media/photoCapture/PhotoCapture.test.d.ts.map +0 -1
- package/dist/v2/components/media/photoCapture/index.cjs.js +0 -2
- package/dist/v2/components/media/photoCapture/index.cjs.js.map +0 -1
- package/dist/v2/components/media/photoCapture/index.d.ts +0 -3
- package/dist/v2/components/media/photoCapture/index.d.ts.map +0 -1
- package/dist/v2/components/media/photoCapture/index.esm.js +0 -8
- package/dist/v2/components/media/photoCapture/index.esm.js.map +0 -1
|
@@ -1,42 +1,41 @@
|
|
|
1
1
|
import { customElement as e } from "../../lib/components/decorators.esm.js";
|
|
2
|
-
import t from "../../lib/components/
|
|
3
|
-
import n from "../../lib/components/traits/FormControlTrait.esm.js";
|
|
2
|
+
import t from "../../lib/components/form-control-component/FormControlComponent.esm.js";
|
|
4
3
|
import "../../lib/components/index.esm.js";
|
|
5
4
|
import "../../_virtual/~icons/lucide/chevron-down.esm.js";
|
|
6
|
-
import { debounce as
|
|
5
|
+
import { debounce as n } from "../../lib/timing.esm.js";
|
|
7
6
|
import "../../_virtual/~icons/svg-spinners/3-dots-fade.esm.js";
|
|
8
|
-
import
|
|
9
|
-
import { html as
|
|
10
|
-
import { property as
|
|
11
|
-
import { Task as
|
|
7
|
+
import r from "./Combobox.styles.esm.js";
|
|
8
|
+
import { html as i, nothing as a } from "lit";
|
|
9
|
+
import { property as o, query as s, state as c } from "lit/decorators.js";
|
|
10
|
+
import { Task as l } from "@lit/task";
|
|
12
11
|
import "@awesome.me/webawesome/dist/components/popup/popup.js";
|
|
13
12
|
//#region src/components/combobox/Combobox.ts
|
|
14
|
-
var d, f, p, m, h, g, _, v, y, b, x, S, C, w, T, E, D, O, k, A, j,
|
|
15
|
-
function
|
|
16
|
-
|
|
13
|
+
var u, d, f, p, m, h, g, _, v, y, b, x, S, C, w, T, E, D, O, k, A, j, ee, te, ne, re, ie, ae, oe, M, N, P, F, I, L, R, z, B, V, H, U, W, G, K, se, ce;
|
|
14
|
+
function q(e, t, n) {
|
|
15
|
+
le(e, t), t.set(e, n);
|
|
17
16
|
}
|
|
18
|
-
function
|
|
17
|
+
function le(e, t) {
|
|
19
18
|
if (t.has(e)) throw TypeError("Cannot initialize the same private elements twice on an object");
|
|
20
19
|
}
|
|
21
|
-
function
|
|
22
|
-
return e.set(
|
|
20
|
+
function J(e, t, n) {
|
|
21
|
+
return e.set(ue(e, t), n), n;
|
|
23
22
|
}
|
|
24
|
-
function
|
|
25
|
-
return e.get(
|
|
23
|
+
function Y(e, t) {
|
|
24
|
+
return e.get(ue(e, t));
|
|
26
25
|
}
|
|
27
|
-
function
|
|
26
|
+
function ue(e, t, n) {
|
|
28
27
|
if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
|
|
29
28
|
throw TypeError("Private element is not present on this object");
|
|
30
29
|
}
|
|
31
|
-
function
|
|
32
|
-
return (t =
|
|
30
|
+
function X(e, t, n) {
|
|
31
|
+
return (t = Z(t)) in e ? Object.defineProperty(e, t, {
|
|
33
32
|
value: n,
|
|
34
33
|
enumerable: !0,
|
|
35
34
|
configurable: !0,
|
|
36
35
|
writable: !0
|
|
37
36
|
}) : e[t] = n, e;
|
|
38
37
|
}
|
|
39
|
-
function
|
|
38
|
+
function de(e, t, n, r, i, a) {
|
|
40
39
|
function o(e, t, n) {
|
|
41
40
|
return function(r, i) {
|
|
42
41
|
return n && n(r), e[t].call(r, i);
|
|
@@ -59,13 +58,13 @@ function Ce(e, t, n, r, i, a) {
|
|
|
59
58
|
n || Array.isArray(_) || (_ = [_]);
|
|
60
59
|
var b = {}, x = [], S = i === 3 ? "get" : i === 4 || p ? "set" : "value";
|
|
61
60
|
d ? (f || p ? b = {
|
|
62
|
-
get:
|
|
61
|
+
get: pe(function() {
|
|
63
62
|
return v(this);
|
|
64
63
|
}, r, "get"),
|
|
65
64
|
set: function(e) {
|
|
66
65
|
t[4](this, e);
|
|
67
66
|
}
|
|
68
|
-
} : b[S] = v, f ||
|
|
67
|
+
} : b[S] = v, f || pe(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
|
|
69
68
|
}
|
|
70
69
|
for (var C = e, w = _.length - 1; w >= 0; w -= n ? 2 : 1) {
|
|
71
70
|
var T = _[w], E = n ? _[w - 1] : void 0, D = {}, O = {
|
|
@@ -125,7 +124,7 @@ function Ce(e, t, n, r, i, a) {
|
|
|
125
124
|
if (arguments.length >= 6) var d = a[Symbol.metadata || Symbol.for("Symbol.metadata")];
|
|
126
125
|
var f = Object.create(d ?? null), p = function(e, t, n, r) {
|
|
127
126
|
var i, a, o = [], c = function(t) {
|
|
128
|
-
return
|
|
127
|
+
return me(t) === e;
|
|
129
128
|
}, u = /* @__PURE__ */ new Map();
|
|
130
129
|
function d(e) {
|
|
131
130
|
e && o.push(s.bind(null, e));
|
|
@@ -139,7 +138,7 @@ function Ce(e, t, n, r, i, a) {
|
|
|
139
138
|
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);
|
|
140
139
|
u.set(b, !(m > 2) || m);
|
|
141
140
|
}
|
|
142
|
-
l(v ? e : e.prototype, p, _, g ? "#" + h :
|
|
141
|
+
l(v ? e : e.prototype, p, _, g ? "#" + h : Z(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
|
|
143
142
|
}
|
|
144
143
|
}
|
|
145
144
|
return d(i), d(a), o;
|
|
@@ -152,11 +151,11 @@ function Ce(e, t, n, r, i, a) {
|
|
|
152
151
|
}
|
|
153
152
|
};
|
|
154
153
|
}
|
|
155
|
-
function
|
|
156
|
-
var t =
|
|
154
|
+
function Z(e) {
|
|
155
|
+
var t = fe(e, "string");
|
|
157
156
|
return typeof t == "symbol" ? t : t + "";
|
|
158
157
|
}
|
|
159
|
-
function
|
|
158
|
+
function fe(e, t) {
|
|
160
159
|
if (typeof e != "object" || !e) return e;
|
|
161
160
|
var n = e[Symbol.toPrimitive];
|
|
162
161
|
if (n !== void 0) {
|
|
@@ -166,7 +165,7 @@ function Te(e, t) {
|
|
|
166
165
|
}
|
|
167
166
|
return (t === "string" ? String : Number)(e);
|
|
168
167
|
}
|
|
169
|
-
function
|
|
168
|
+
function pe(e, t, n) {
|
|
170
169
|
typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
|
|
171
170
|
try {
|
|
172
171
|
Object.defineProperty(e, "name", {
|
|
@@ -176,159 +175,123 @@ function Ee(e, t, n) {
|
|
|
176
175
|
} catch {}
|
|
177
176
|
return e;
|
|
178
177
|
}
|
|
179
|
-
function
|
|
178
|
+
function me(e) {
|
|
180
179
|
if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
|
|
181
180
|
return e;
|
|
182
181
|
}
|
|
183
|
-
function
|
|
182
|
+
function he(e) {
|
|
184
183
|
return e;
|
|
185
184
|
}
|
|
186
185
|
var Q = class extends Error {};
|
|
187
|
-
function
|
|
186
|
+
function ge(e) {
|
|
188
187
|
return e;
|
|
189
188
|
}
|
|
190
|
-
|
|
189
|
+
D = [e("solid-ui-combobox")];
|
|
191
190
|
var $;
|
|
192
|
-
new (
|
|
193
|
-
type: String,
|
|
194
|
-
reflect: !0
|
|
195
|
-
}), ne = s({
|
|
196
|
-
type: String,
|
|
197
|
-
reflect: !0
|
|
198
|
-
}), ie = s(), oe = s({
|
|
199
|
-
type: String,
|
|
200
|
-
reflect: !0
|
|
201
|
-
}), P = s({
|
|
202
|
-
type: Boolean,
|
|
203
|
-
reflect: !0
|
|
204
|
-
}), I = s({
|
|
191
|
+
new (se = (f = /*#__PURE__*/ new WeakMap(), p = /*#__PURE__*/ new WeakMap(), m = /*#__PURE__*/ new WeakMap(), h = /*#__PURE__*/ new WeakMap(), g = /*#__PURE__*/ new WeakMap(), _ = /*#__PURE__*/ new WeakMap(), v = /*#__PURE__*/ new WeakMap(), y = /*#__PURE__*/ new WeakMap(), b = /*#__PURE__*/ new WeakMap(), x = /*#__PURE__*/ new WeakMap(), S = /*#__PURE__*/ new WeakMap(), C = /*#__PURE__*/ new WeakMap(), w = /*#__PURE__*/ new WeakMap(), ce = (O = o({
|
|
205
192
|
type: Boolean,
|
|
206
193
|
reflect: !0,
|
|
207
194
|
attribute: "select-only"
|
|
208
|
-
}),
|
|
195
|
+
}), A = o({
|
|
209
196
|
type: String,
|
|
210
197
|
attribute: "async-options-url"
|
|
211
|
-
}),
|
|
198
|
+
}), ee = o({
|
|
212
199
|
type: String,
|
|
213
200
|
attribute: "async-options-results-field"
|
|
214
|
-
}),
|
|
201
|
+
}), ne = o({
|
|
215
202
|
type: String,
|
|
216
203
|
attribute: "async-options-label-field"
|
|
217
|
-
}),
|
|
204
|
+
}), ie = o({
|
|
218
205
|
type: String,
|
|
219
206
|
attribute: "async-options-value-field"
|
|
220
|
-
}),
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
Y(
|
|
226
|
-
}
|
|
227
|
-
get name() {
|
|
228
|
-
return X(m, this);
|
|
229
|
-
}
|
|
230
|
-
set name(e) {
|
|
231
|
-
Y(m, this, e);
|
|
232
|
-
}
|
|
233
|
-
get value() {
|
|
234
|
-
return X(h, this);
|
|
235
|
-
}
|
|
236
|
-
set value(e) {
|
|
237
|
-
Y(h, this, e);
|
|
238
|
-
}
|
|
239
|
-
get placeholder() {
|
|
240
|
-
return X(g, this);
|
|
241
|
-
}
|
|
242
|
-
set placeholder(e) {
|
|
243
|
-
Y(g, this, e);
|
|
244
|
-
}
|
|
245
|
-
get required() {
|
|
246
|
-
return X(_, this);
|
|
247
|
-
}
|
|
248
|
-
set required(e) {
|
|
249
|
-
Y(_, this, e);
|
|
250
|
-
}
|
|
251
|
-
get selectOnly() {
|
|
252
|
-
return X(v, this);
|
|
207
|
+
}), oe = o({ type: Function }), N = o({ type: Array }), F = s("input"), L = o({
|
|
208
|
+
type: Boolean,
|
|
209
|
+
reflect: !0
|
|
210
|
+
}), z = c(), V = c(), U = c(), G = c(), "selectOnly"), d = class extends t {
|
|
211
|
+
get [ce]() {
|
|
212
|
+
return Y(f, this);
|
|
253
213
|
}
|
|
254
214
|
set selectOnly(e) {
|
|
255
|
-
|
|
215
|
+
J(f, this, e);
|
|
256
216
|
}
|
|
257
217
|
get asyncOptionsUrl() {
|
|
258
|
-
return
|
|
218
|
+
return Y(p, this);
|
|
259
219
|
}
|
|
260
220
|
set asyncOptionsUrl(e) {
|
|
261
|
-
|
|
221
|
+
J(p, this, e);
|
|
262
222
|
}
|
|
263
223
|
get asyncOptionsResultsField() {
|
|
264
|
-
return
|
|
224
|
+
return Y(m, this);
|
|
265
225
|
}
|
|
266
226
|
set asyncOptionsResultsField(e) {
|
|
267
|
-
|
|
227
|
+
J(m, this, e);
|
|
268
228
|
}
|
|
269
229
|
get asyncOptionsLabelField() {
|
|
270
|
-
return
|
|
230
|
+
return Y(h, this);
|
|
271
231
|
}
|
|
272
232
|
set asyncOptionsLabelField(e) {
|
|
273
|
-
|
|
233
|
+
J(h, this, e);
|
|
274
234
|
}
|
|
275
235
|
get asyncOptionsValueField() {
|
|
276
|
-
return
|
|
236
|
+
return Y(g, this);
|
|
277
237
|
}
|
|
278
238
|
set asyncOptionsValueField(e) {
|
|
279
|
-
|
|
239
|
+
J(g, this, e);
|
|
280
240
|
}
|
|
281
241
|
get asyncOptionsProvider() {
|
|
282
|
-
return
|
|
242
|
+
return Y(_, this);
|
|
283
243
|
}
|
|
284
244
|
set asyncOptionsProvider(e) {
|
|
285
|
-
|
|
245
|
+
J(_, this, e);
|
|
286
246
|
}
|
|
287
247
|
get optionsFallback() {
|
|
288
|
-
return
|
|
248
|
+
return Y(v, this);
|
|
289
249
|
}
|
|
290
250
|
set optionsFallback(e) {
|
|
291
|
-
|
|
251
|
+
J(v, this, e);
|
|
292
252
|
}
|
|
293
|
-
get
|
|
294
|
-
return
|
|
253
|
+
get controlElement() {
|
|
254
|
+
return Y(y, this);
|
|
295
255
|
}
|
|
296
|
-
set
|
|
297
|
-
|
|
256
|
+
set controlElement(e) {
|
|
257
|
+
J(y, this, e);
|
|
258
|
+
}
|
|
259
|
+
get readonly() {
|
|
260
|
+
return Y(b, this);
|
|
261
|
+
}
|
|
262
|
+
set readonly(e) {
|
|
263
|
+
J(b, this, e);
|
|
298
264
|
}
|
|
299
265
|
get filter() {
|
|
300
|
-
return
|
|
266
|
+
return Y(x, this);
|
|
301
267
|
}
|
|
302
268
|
set filter(e) {
|
|
303
|
-
|
|
269
|
+
J(x, this, e);
|
|
304
270
|
}
|
|
305
271
|
get displayValue() {
|
|
306
|
-
return
|
|
272
|
+
return Y(S, this);
|
|
307
273
|
}
|
|
308
274
|
set displayValue(e) {
|
|
309
|
-
|
|
275
|
+
J(S, this, e);
|
|
310
276
|
}
|
|
311
277
|
get open() {
|
|
312
|
-
return
|
|
278
|
+
return Y(C, this);
|
|
313
279
|
}
|
|
314
280
|
set open(e) {
|
|
315
|
-
|
|
281
|
+
J(C, this, e);
|
|
316
282
|
}
|
|
317
283
|
get activeIndex() {
|
|
318
|
-
return
|
|
284
|
+
return Y(w, this);
|
|
319
285
|
}
|
|
320
286
|
set activeIndex(e) {
|
|
321
|
-
|
|
287
|
+
J(w, this, e);
|
|
322
288
|
}
|
|
323
289
|
constructor() {
|
|
324
|
-
super(),
|
|
290
|
+
super(), q(this, f, (T(this), k(this, !1))), q(this, p, j(this, "")), q(this, m, te(this, "")), q(this, h, re(this, "")), q(this, g, ae(this, "")), q(this, _, M(this, null)), q(this, v, P(this, null)), q(this, y, I(this, null)), q(this, b, R(this, !1)), q(this, x, B(this, "")), q(this, S, H(this, "")), q(this, C, W(this, !1)), q(this, w, K(this, -1)), X(this, "openListenersAttached", !1), X(this, "updateDebouncedFilter", n(300, (e) => this.filter = e)), X(this, "asyncOptionsTask", void 0), X(this, "_selectedOption", void 0), X(this, "listboxId", void 0), X(this, "handleDocumentFocusIn", (e) => {
|
|
325
291
|
e.composedPath().includes(this) || this.hide();
|
|
326
|
-
}),
|
|
292
|
+
}), X(this, "handleDocumentMouseDown", (e) => {
|
|
327
293
|
e.composedPath().includes(this) || this.hide();
|
|
328
|
-
}), this.
|
|
329
|
-
getControlElement: () => this.inputElement,
|
|
330
|
-
getInternals: () => this.getInternals()
|
|
331
|
-
})), this.listboxId = `listbox-${this.controlTrait.controlId}`;
|
|
294
|
+
}), this.listboxId = `listbox-${this.controlTrait.controlId}`;
|
|
332
295
|
}
|
|
333
296
|
get selectedOption() {
|
|
334
297
|
return this._selectedOption;
|
|
@@ -344,7 +307,7 @@ new (ye = (p = /*#__PURE__*/ new WeakMap(), m = /*#__PURE__*/ new WeakMap(), h =
|
|
|
344
307
|
}
|
|
345
308
|
render() {
|
|
346
309
|
let e = this.getFilteredOptions(), t = (this.open && this.activeIndex >= 0 ? e[this.activeIndex] : void 0) === void 0 ? void 0 : this.getOptionId(this.activeIndex), n = this.placeholder || "Combobox";
|
|
347
|
-
return
|
|
310
|
+
return i`
|
|
348
311
|
${this.controlTrait.renderLabel()}
|
|
349
312
|
<wa-popup
|
|
350
313
|
placement="bottom"
|
|
@@ -366,17 +329,17 @@ new (ye = (p = /*#__PURE__*/ new WeakMap(), m = /*#__PURE__*/ new WeakMap(), h =
|
|
|
366
329
|
aria-haspopup="listbox"
|
|
367
330
|
aria-expanded=${this.open ? "true" : "false"}
|
|
368
331
|
aria-controls=${this.listboxId}
|
|
369
|
-
aria-activedescendant=${t ??
|
|
370
|
-
aria-labelledby=${this.label ? this.controlTrait.labelId :
|
|
371
|
-
aria-label=${this.label ?
|
|
372
|
-
aria-required=${this.required ? "true" :
|
|
332
|
+
aria-activedescendant=${t ?? a}
|
|
333
|
+
aria-labelledby=${this.label ? this.controlTrait.labelId : a}
|
|
334
|
+
aria-label=${this.label ? a : n}
|
|
335
|
+
aria-required=${this.required ? "true" : a}
|
|
373
336
|
autocomplete="off"
|
|
374
337
|
spellcheck="false"
|
|
375
338
|
?required=${this.required}
|
|
376
339
|
.value=${this.displayValue}
|
|
377
340
|
@keydown=${this.onInputKeyDown}
|
|
378
341
|
@focus=${this.onInputFocus}
|
|
379
|
-
@input=${() => this.selectOnly ? this.updateDisplayValue(this.
|
|
342
|
+
@input=${() => this.selectOnly ? this.updateDisplayValue(this.controlElement?.value ?? "") : this.controlTrait.onInput()}
|
|
380
343
|
/>
|
|
381
344
|
<icon-lucide-chevron-down></icon-lucide-chevron-down>
|
|
382
345
|
</div>
|
|
@@ -385,16 +348,16 @@ new (ye = (p = /*#__PURE__*/ new WeakMap(), m = /*#__PURE__*/ new WeakMap(), h =
|
|
|
385
348
|
class="listbox"
|
|
386
349
|
role="listbox"
|
|
387
350
|
aria-orientation="vertical"
|
|
388
|
-
aria-labelledby=${this.label ? this.controlTrait.labelId :
|
|
389
|
-
aria-label=${this.label ?
|
|
351
|
+
aria-labelledby=${this.label ? this.controlTrait.labelId : a}
|
|
352
|
+
aria-label=${this.label ? a : n}
|
|
390
353
|
?hidden=${!this.open}
|
|
391
354
|
@mousedown=${this.onListboxMouseDown}
|
|
392
355
|
>
|
|
393
|
-
${e.map((e, t) => e.selectable === !1 ?
|
|
356
|
+
${e.map((e, t) => e.selectable === !1 ? i`<div class="non-selectable-option">${e.template ?? e.label}</div>` : i`<div
|
|
394
357
|
id=${this.getOptionId(t)}
|
|
395
358
|
role="option"
|
|
396
359
|
aria-selected=${e.value === this.value ? "true" : "false"}
|
|
397
|
-
data-active=${t === this.activeIndex ||
|
|
360
|
+
data-active=${t === this.activeIndex || a}
|
|
398
361
|
@mousemove=${() => this.setActiveIndex(t)}
|
|
399
362
|
>
|
|
400
363
|
${e.template ?? e.label}
|
|
@@ -410,7 +373,7 @@ new (ye = (p = /*#__PURE__*/ new WeakMap(), m = /*#__PURE__*/ new WeakMap(), h =
|
|
|
410
373
|
pending: () => [{
|
|
411
374
|
value: "",
|
|
412
375
|
label: "Loading...",
|
|
413
|
-
template:
|
|
376
|
+
template: i`<icon-svg-spinners-3-dots-fade></icon-svg-spinners-3-dots-fade>`,
|
|
414
377
|
selectable: !1
|
|
415
378
|
}],
|
|
416
379
|
error: (e) => {
|
|
@@ -418,7 +381,7 @@ new (ye = (p = /*#__PURE__*/ new WeakMap(), m = /*#__PURE__*/ new WeakMap(), h =
|
|
|
418
381
|
return [{
|
|
419
382
|
value: "",
|
|
420
383
|
label: n,
|
|
421
|
-
template:
|
|
384
|
+
template: i`<span class="message message--${t ? "error" : "info"}">${n}</span>`,
|
|
422
385
|
selectable: !1
|
|
423
386
|
}];
|
|
424
387
|
}
|
|
@@ -445,7 +408,7 @@ new (ye = (p = /*#__PURE__*/ new WeakMap(), m = /*#__PURE__*/ new WeakMap(), h =
|
|
|
445
408
|
this.activeIndex = e;
|
|
446
409
|
}
|
|
447
410
|
updateDisplayValue(e) {
|
|
448
|
-
if (this.displayValue = String(e), this.open) {
|
|
411
|
+
if (this.displayValue = e ? String(e) : "", this.open) {
|
|
449
412
|
let e = this.displayValue.toLowerCase();
|
|
450
413
|
this.asyncOptionsTask ? this.updateDebouncedFilter(e) : this.filter = e;
|
|
451
414
|
}
|
|
@@ -455,7 +418,7 @@ new (ye = (p = /*#__PURE__*/ new WeakMap(), m = /*#__PURE__*/ new WeakMap(), h =
|
|
|
455
418
|
this.asyncOptionsTask = void 0;
|
|
456
419
|
return;
|
|
457
420
|
}
|
|
458
|
-
this.asyncOptionsTask ??= new
|
|
421
|
+
this.asyncOptionsTask ??= new l(this, async ([e]) => {
|
|
459
422
|
if (this.asyncOptionsProvider) {
|
|
460
423
|
let t = await this.asyncOptionsProvider(e);
|
|
461
424
|
if (t.length === 0) throw new Q("No results found");
|
|
@@ -480,7 +443,7 @@ new (ye = (p = /*#__PURE__*/ new WeakMap(), m = /*#__PURE__*/ new WeakMap(), h =
|
|
|
480
443
|
}
|
|
481
444
|
selectOption(e) {
|
|
482
445
|
let t = this.value;
|
|
483
|
-
this._selectedOption = e, this.hide(), this.controlTrait.setValue(e.value), this.
|
|
446
|
+
this._selectedOption = e, this.hide(), this.controlTrait.setValue(e.value), this.controlElement?.focus({ preventScroll: !0 }), this.dispatchEvent(new CustomEvent("change", {
|
|
484
447
|
bubbles: !0,
|
|
485
448
|
composed: !0,
|
|
486
449
|
detail: { option: e }
|
|
@@ -502,7 +465,7 @@ new (ye = (p = /*#__PURE__*/ new WeakMap(), m = /*#__PURE__*/ new WeakMap(), h =
|
|
|
502
465
|
e !== document && e.removeEventListener("focusin", this.handleDocumentFocusIn), this.openListenersAttached = !1;
|
|
503
466
|
}
|
|
504
467
|
onAnchorMouseDown(e) {
|
|
505
|
-
e.target !== this.
|
|
468
|
+
e.target !== this.controlElement && (e.preventDefault(), this.controlElement?.focus({ preventScroll: !0 }));
|
|
506
469
|
}
|
|
507
470
|
onInputFocus() {
|
|
508
471
|
this.show();
|
|
@@ -523,7 +486,7 @@ new (ye = (p = /*#__PURE__*/ new WeakMap(), m = /*#__PURE__*/ new WeakMap(), h =
|
|
|
523
486
|
this.open && this.activeIndex >= 0 && t[this.activeIndex] ? (e.preventDefault(), this.selectOption(t[this.activeIndex])) : this.open || (e.preventDefault(), this.controlTrait.onSubmit());
|
|
524
487
|
break;
|
|
525
488
|
case "Escape":
|
|
526
|
-
this.open && (e.preventDefault(), e.stopPropagation(), this.hide(), this.
|
|
489
|
+
this.open && (e.preventDefault(), e.stopPropagation(), this.hide(), this.controlElement?.focus({ preventScroll: !0 }));
|
|
527
490
|
break;
|
|
528
491
|
case "Tab":
|
|
529
492
|
this.hide();
|
|
@@ -538,98 +501,78 @@ new (ye = (p = /*#__PURE__*/ new WeakMap(), m = /*#__PURE__*/ new WeakMap(), h =
|
|
|
538
501
|
let n = t.id, r = Number.parseInt(n.replace(`${this.listboxId}-option-`, ""), 10), i = this.getFilteredOptions()[r];
|
|
539
502
|
i && this.selectOption(i);
|
|
540
503
|
}
|
|
541
|
-
}, {e: [
|
|
542
|
-
[
|
|
543
|
-
ee,
|
|
544
|
-
1,
|
|
545
|
-
"label"
|
|
546
|
-
],
|
|
504
|
+
}, {e: [k, j, te, re, ae, M, P, I, R, B, H, W, K, T], c: [$, E]} = de(d, [
|
|
547
505
|
[
|
|
548
|
-
|
|
549
|
-
1,
|
|
550
|
-
"name"
|
|
551
|
-
],
|
|
552
|
-
[
|
|
553
|
-
ie,
|
|
554
|
-
1,
|
|
555
|
-
"value"
|
|
556
|
-
],
|
|
557
|
-
[
|
|
558
|
-
oe,
|
|
559
|
-
1,
|
|
560
|
-
"placeholder"
|
|
561
|
-
],
|
|
562
|
-
[
|
|
563
|
-
P,
|
|
564
|
-
1,
|
|
565
|
-
"required"
|
|
566
|
-
],
|
|
567
|
-
[
|
|
568
|
-
I,
|
|
506
|
+
O,
|
|
569
507
|
1,
|
|
570
508
|
"selectOnly"
|
|
571
509
|
],
|
|
572
510
|
[
|
|
573
|
-
|
|
511
|
+
A,
|
|
574
512
|
1,
|
|
575
513
|
"asyncOptionsUrl"
|
|
576
514
|
],
|
|
577
515
|
[
|
|
578
|
-
|
|
516
|
+
ee,
|
|
579
517
|
1,
|
|
580
518
|
"asyncOptionsResultsField"
|
|
581
519
|
],
|
|
582
520
|
[
|
|
583
|
-
|
|
521
|
+
ne,
|
|
584
522
|
1,
|
|
585
523
|
"asyncOptionsLabelField"
|
|
586
524
|
],
|
|
587
525
|
[
|
|
588
|
-
|
|
526
|
+
ie,
|
|
589
527
|
1,
|
|
590
528
|
"asyncOptionsValueField"
|
|
591
529
|
],
|
|
592
530
|
[
|
|
593
|
-
|
|
531
|
+
oe,
|
|
594
532
|
1,
|
|
595
533
|
"asyncOptionsProvider"
|
|
596
534
|
],
|
|
597
535
|
[
|
|
598
|
-
|
|
536
|
+
N,
|
|
599
537
|
1,
|
|
600
538
|
"optionsFallback"
|
|
601
539
|
],
|
|
602
540
|
[
|
|
603
|
-
|
|
541
|
+
F,
|
|
542
|
+
1,
|
|
543
|
+
"controlElement"
|
|
544
|
+
],
|
|
545
|
+
[
|
|
546
|
+
L,
|
|
604
547
|
1,
|
|
605
|
-
"
|
|
548
|
+
"readonly"
|
|
606
549
|
],
|
|
607
550
|
[
|
|
608
|
-
|
|
551
|
+
z,
|
|
609
552
|
1,
|
|
610
553
|
"filter"
|
|
611
554
|
],
|
|
612
555
|
[
|
|
613
|
-
|
|
556
|
+
V,
|
|
614
557
|
1,
|
|
615
558
|
"displayValue"
|
|
616
559
|
],
|
|
617
560
|
[
|
|
618
|
-
|
|
561
|
+
U,
|
|
619
562
|
1,
|
|
620
563
|
"open"
|
|
621
564
|
],
|
|
622
565
|
[
|
|
623
|
-
|
|
566
|
+
G,
|
|
624
567
|
1,
|
|
625
568
|
"activeIndex"
|
|
626
569
|
]
|
|
627
|
-
],
|
|
570
|
+
], D, 0, void 0, t), d), u = class extends he {
|
|
628
571
|
constructor() {
|
|
629
|
-
super($),
|
|
572
|
+
super($), X(this, "styles", r), E();
|
|
630
573
|
}
|
|
631
|
-
},
|
|
574
|
+
}, X(u, se, void 0), u)();
|
|
632
575
|
//#endregion
|
|
633
|
-
export { $ as default,
|
|
576
|
+
export { $ as default, ge as defineAsyncComboboxOptionsProvider };
|
|
634
577
|
|
|
635
578
|
//# sourceMappingURL=Combobox.esm.js.map
|