solid-ui 3.1.3-11 → 3.1.3-13
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 +11 -0
- package/dist/chunks/{DialogProvider-ge2aA77F.js → DialogProvider-B7wEBrVN.js} +11 -13
- package/dist/chunks/{DialogProvider-ge2aA77F.js.map → DialogProvider-B7wEBrVN.js.map} +1 -1
- package/dist/chunks/{account-CdqIoTsl.js → account-DeNlj01m.js} +30 -27
- package/dist/chunks/account-DeNlj01m.js.map +1 -0
- package/dist/chunks/{auth-D8B5yczR.js → auth-Knq99zZ9.js} +100 -117
- package/dist/chunks/auth-Knq99zZ9.js.map +1 -0
- package/dist/chunks/{avatar-DNGFKkhm.js → avatar-DgO_p94F.js} +16 -9
- package/dist/chunks/avatar-DgO_p94F.js.map +1 -0
- package/dist/chunks/{button-oanBb_ha.js → button-Dvkek1tx.js} +10 -11
- package/dist/chunks/{button-oanBb_ha.js.map → button-Dvkek1tx.js.map} +1 -1
- package/dist/chunks/{chunk.7MPIABXH-CEYdxYyt.js → chunk.7MPIABXH-DNcYOuE8.js} +22 -22
- package/dist/chunks/{chunk.7MPIABXH-CEYdxYyt.js.map → chunk.7MPIABXH-DNcYOuE8.js.map} +1 -1
- package/dist/chunks/{combobox-Dav1bNHS.js → combobox-B5j4LoHY.js} +109 -180
- package/dist/chunks/combobox-B5j4LoHY.js.map +1 -0
- package/dist/chunks/{combobox-option-DxJvAZ_Q.js → combobox-option-C5lKAumO.js} +7 -8
- package/dist/chunks/{combobox-option-DxJvAZ_Q.js.map → combobox-option-C5lKAumO.js.map} +1 -1
- package/dist/chunks/components-BD458q30.js +758 -0
- package/dist/chunks/components-BD458q30.js.map +1 -0
- package/dist/chunks/{dialog-Ujvm11_B.js → dialog-DZgm_Tph.js} +57 -114
- package/dist/chunks/dialog-DZgm_Tph.js.map +1 -0
- package/dist/chunks/{dialog-content-CEITrC59.js → dialog-content-DY-ROHyi.js} +4 -4
- package/dist/chunks/{dialog-content-CEITrC59.js.map → dialog-content-DY-ROHyi.js.map} +1 -1
- package/dist/chunks/{dialog-footer-DVLEK5bU.js → dialog-footer-BAZTjZ8J.js} +4 -4
- package/dist/chunks/{dialog-footer-DVLEK5bU.js.map → dialog-footer-BAZTjZ8J.js.map} +1 -1
- package/dist/chunks/{dialog-header-kEWl21oD.js → dialog-header-COzPcK8F.js} +4 -4
- package/dist/chunks/{dialog-header-kEWl21oD.js.map → dialog-header-COzPcK8F.js.map} +1 -1
- package/dist/chunks/dialogs-DEuwXC46.js +26 -0
- package/dist/chunks/dialogs-DEuwXC46.js.map +1 -0
- package/dist/chunks/{dialogs-root-dPGfuzSZ.js → dialogs-root-BYp6fIUE.js} +12 -17
- package/dist/chunks/dialogs-root-BYp6fIUE.js.map +1 -0
- package/dist/chunks/guard-DI4k0FkM.js +225 -0
- package/dist/chunks/guard-DI4k0FkM.js.map +1 -0
- package/dist/chunks/{menu-item-BHJ4xljI.js → input-CCpEhtqA.js} +33 -31
- package/dist/chunks/input-CCpEhtqA.js.map +1 -0
- package/dist/chunks/{login-button-Ta3tkpn4.js → login-button-BafqiKef.js} +9 -10
- package/dist/chunks/{login-button-Ta3tkpn4.js.map → login-button-BafqiKef.js.map} +1 -1
- package/dist/chunks/{logout-button-Db6VmUmJ.js → logout-button-D54NF9EW.js} +9 -10
- package/dist/chunks/{logout-button-Db6VmUmJ.js.map → logout-button-D54NF9EW.js.map} +1 -1
- package/dist/chunks/{menu-CQEXqNO6.js → menu-DKxtACGA.js} +46 -47
- package/dist/chunks/{menu-CQEXqNO6.js.map → menu-DKxtACGA.js.map} +1 -1
- package/dist/chunks/{input-BjCX2bFe.js → menu-item-D9BqJtKZ.js} +72 -132
- package/dist/chunks/menu-item-D9BqJtKZ.js.map +1 -0
- package/dist/chunks/photo-capture-BoZF621r.js +403 -0
- package/dist/chunks/photo-capture-BoZF621r.js.map +1 -0
- package/dist/chunks/photo-capture-modal-BLZtHDj1.js +560 -0
- package/dist/chunks/photo-capture-modal-BLZtHDj1.js.map +1 -0
- package/dist/chunks/{provider-CoVkCkMs.js → provider-Btl6Lnki.js} +16 -14
- package/dist/chunks/provider-Btl6Lnki.js.map +1 -0
- package/dist/chunks/{select-OM-SgY4K.js → select-XkieYvDm.js} +53 -110
- package/dist/chunks/select-XkieYvDm.js.map +1 -0
- package/dist/chunks/{select-option-pVhYlXrt.js → select-option-DUg4AWzw.js} +7 -8
- package/dist/chunks/{select-option-pVhYlXrt.js.map → select-option-DUg4AWzw.js.map} +1 -1
- package/dist/chunks/{signup-button-wO4uoqUi.js → signup-button-D5wS8_gB.js} +9 -10
- package/dist/chunks/{signup-button-wO4uoqUi.js.map → signup-button-D5wS8_gB.js.map} +1 -1
- package/dist/chunks/{solid-emblem-D2clBuKZ.js → solid-emblem-XHk-oomv.js} +5 -5
- package/dist/chunks/{solid-emblem-D2clBuKZ.js.map → solid-emblem-XHk-oomv.js.map} +1 -1
- package/dist/chunks/{src-B9CXYA44.js → src-CJICzMIV.js} +4 -3
- package/dist/chunks/{src-B9CXYA44.js.map → src-CJICzMIV.js.map} +1 -1
- package/dist/components/account/Account.cjs.js +6 -4
- package/dist/components/account/Account.cjs.js.map +1 -1
- package/dist/components/account/Account.d.ts +2 -0
- package/dist/components/account/Account.d.ts.map +1 -1
- package/dist/components/account/Account.esm.js +10 -4
- package/dist/components/account/Account.esm.js.map +1 -1
- package/dist/components/account/Account.stories.d.ts +10 -12
- package/dist/components/account/Account.stories.d.ts.map +1 -1
- package/dist/components/account/Account.styles.cjs.js +1 -1
- package/dist/components/account/Account.styles.cjs.js.map +1 -1
- package/dist/components/account/Account.styles.esm.js +1 -1
- package/dist/components/account/Account.styles.esm.js.map +1 -1
- package/dist/components/account.js +1 -1
- package/dist/components/all.cjs.js +1 -0
- package/dist/components/all.d.ts +2 -0
- package/dist/components/all.d.ts.map +1 -0
- package/dist/components/all.esm.js +25 -0
- package/dist/components/avatar/Avatar.cjs.js +1 -1
- package/dist/components/avatar/Avatar.cjs.js.map +1 -1
- package/dist/components/avatar/Avatar.d.ts +3 -0
- package/dist/components/avatar/Avatar.d.ts.map +1 -1
- package/dist/components/avatar/Avatar.esm.js +9 -1
- package/dist/components/avatar/Avatar.esm.js.map +1 -1
- package/dist/components/avatar/Avatar.stories.d.ts +4 -22
- package/dist/components/avatar/Avatar.stories.d.ts.map +1 -1
- package/dist/components/avatar.js +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/Button.styles.cjs.js +1 -1
- package/dist/components/button/Button.styles.cjs.js.map +1 -1
- package/dist/components/button/Button.styles.esm.js +1 -1
- package/dist/components/button/Button.styles.esm.js.map +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/combobox/Combobox.cjs.js +12 -12
- package/dist/components/combobox/Combobox.cjs.js.map +1 -1
- package/dist/components/combobox/Combobox.d.ts +4 -11
- package/dist/components/combobox/Combobox.d.ts.map +1 -1
- package/dist/components/combobox/Combobox.esm.js +102 -173
- 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/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-option.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/dialog/Dialog.cjs.js +3 -3
- package/dist/components/dialog/Dialog.cjs.js.map +1 -1
- package/dist/components/dialog/Dialog.esm.js +6 -6
- 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.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 +4 -2
- package/dist/components/guard/Guard.cjs.js.map +1 -1
- package/dist/components/guard/Guard.d.ts +7 -0
- package/dist/components/guard/Guard.d.ts.map +1 -1
- package/dist/components/guard/Guard.esm.js +74 -48
- package/dist/components/guard/Guard.esm.js.map +1 -1
- package/dist/components/guard/Guard.stories.d.ts +9 -16
- package/dist/components/guard/Guard.stories.d.ts.map +1 -1
- package/dist/components/guard.js +1 -1
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.esm.js +1 -24
- package/dist/components/input/Input.cjs.js +2 -2
- package/dist/components/input/Input.cjs.js.map +1 -1
- package/dist/components/input/Input.d.ts +3 -11
- package/dist/components/input/Input.d.ts.map +1 -1
- package/dist/components/input/Input.esm.js +61 -135
- 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.js +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.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.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.styles.cjs.js +1 -1
- package/dist/components/menu/Menu.styles.cjs.js.map +1 -1
- package/dist/components/menu/Menu.styles.esm.js +1 -1
- package/dist/components/menu/Menu.styles.esm.js.map +1 -1
- package/dist/components/menu-item/MenuItem.cjs.js +4 -4
- package/dist/components/menu-item/MenuItem.cjs.js.map +1 -1
- package/dist/components/menu-item/MenuItem.d.ts +1 -0
- package/dist/components/menu-item/MenuItem.d.ts.map +1 -1
- package/dist/components/menu-item/MenuItem.esm.js +72 -55
- package/dist/components/menu-item/MenuItem.esm.js.map +1 -1
- package/dist/components/menu-item/MenuItem.styles.cjs.js +1 -1
- package/dist/components/menu-item/MenuItem.styles.cjs.js.map +1 -1
- package/dist/components/menu-item/MenuItem.styles.esm.js +1 -1
- package/dist/components/menu-item/MenuItem.styles.esm.js.map +1 -1
- package/dist/components/menu-item.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 +561 -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 +1 -1
- package/dist/components/provider/Provider.cjs.js.map +1 -1
- package/dist/components/provider/Provider.d.ts +1 -0
- package/dist/components/provider/Provider.d.ts.map +1 -1
- package/dist/components/provider/Provider.esm.js +3 -0
- package/dist/components/provider/Provider.esm.js.map +1 -1
- package/dist/components/provider.js +1 -1
- 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.js +1 -1
- package/dist/components/select.js +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 +24 -23
- 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 +6 -8
- package/dist/lib/auth/NoopAuth.cjs.js +1 -1
- package/dist/lib/auth/NoopAuth.cjs.js.map +1 -1
- package/dist/lib/auth/NoopAuth.d.ts +2 -2
- package/dist/lib/auth/NoopAuth.d.ts.map +1 -1
- package/dist/lib/auth/NoopAuth.esm.js +2 -3
- package/dist/lib/auth/NoopAuth.esm.js.map +1 -1
- 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 +6 -0
- package/dist/lib/auth/SolidAuth.d.ts.map +1 -1
- package/dist/lib/auth/SolidAuth.esm.js +31 -20
- package/dist/lib/auth/SolidAuth.esm.js.map +1 -1
- package/dist/lib/auth/context.cjs.js.map +1 -1
- package/dist/lib/auth/context.d.ts +2 -0
- package/dist/lib/auth/context.d.ts.map +1 -1
- package/dist/lib/auth/context.esm.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/{chunks/guard-DZGvf4tS.js → lib/components/dialog-component/DialogComponent.esm.js} +70 -67
- 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 +28 -6
- 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/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/loader.js +6 -8
- package/dist/solid-ui.js +137 -389
- package/dist/solid-ui.min.js +137 -389
- package/dist/solid-ui.min.js.map +1 -1
- package/dist/storybook/auth/StorybookAuth.d.ts +1 -0
- package/dist/storybook/auth/StorybookAuth.d.ts.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/stubs.d.ts +7 -3
- package/dist/storybook/stubs.d.ts.map +1 -1
- package/dist/theme.css +1 -1
- package/package.json +1 -2
- package/dist/chunks/account-CdqIoTsl.js.map +0 -1
- package/dist/chunks/auth-D8B5yczR.js.map +0 -1
- package/dist/chunks/avatar-DNGFKkhm.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-Dav1bNHS.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-Ujvm11_B.js.map +0 -1
- package/dist/chunks/dialogs-root-dPGfuzSZ.js.map +0 -1
- package/dist/chunks/guard-DZGvf4tS.js.map +0 -1
- package/dist/chunks/input-BjCX2bFe.js.map +0 -1
- package/dist/chunks/menu-item-BHJ4xljI.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/provider-CoVkCkMs.js.map +0 -1
- package/dist/chunks/select-OM-SgY4K.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,39 +1,38 @@
|
|
|
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 { isEmptyValue as
|
|
7
|
-
import
|
|
8
|
-
import { html as
|
|
9
|
-
import { property as
|
|
5
|
+
import { isEmptyValue as n } from "../../lib/values.esm.js";
|
|
6
|
+
import r from "./Select.styles.esm.js";
|
|
7
|
+
import { html as i, nothing as a } from "lit";
|
|
8
|
+
import { property as o, query as s, state as c } from "lit/decorators.js";
|
|
10
9
|
//#region src/components/select/Select.ts
|
|
11
|
-
var u, d, f, p, m, h, g, _, v, y, b, x, S
|
|
12
|
-
function
|
|
13
|
-
|
|
10
|
+
var l, u, d, f, p, m, h, g, _, v, y, b, x, S;
|
|
11
|
+
function C(e, t, n) {
|
|
12
|
+
w(e, t), t.set(e, n);
|
|
14
13
|
}
|
|
15
|
-
function
|
|
14
|
+
function w(e, t) {
|
|
16
15
|
if (t.has(e)) throw TypeError("Cannot initialize the same private elements twice on an object");
|
|
17
16
|
}
|
|
18
|
-
function
|
|
19
|
-
return e.set(
|
|
17
|
+
function T(e, t, n) {
|
|
18
|
+
return e.set(D(e, t), n), n;
|
|
20
19
|
}
|
|
21
|
-
function
|
|
22
|
-
return e.get(
|
|
20
|
+
function E(e, t) {
|
|
21
|
+
return e.get(D(e, t));
|
|
23
22
|
}
|
|
24
|
-
function
|
|
23
|
+
function D(e, t, n) {
|
|
25
24
|
if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
|
|
26
25
|
throw TypeError("Private element is not present on this object");
|
|
27
26
|
}
|
|
28
|
-
function
|
|
29
|
-
return (t =
|
|
27
|
+
function O(e, t, n) {
|
|
28
|
+
return (t = A(t)) in e ? Object.defineProperty(e, t, {
|
|
30
29
|
value: n,
|
|
31
30
|
enumerable: !0,
|
|
32
31
|
configurable: !0,
|
|
33
32
|
writable: !0
|
|
34
33
|
}) : e[t] = n, e;
|
|
35
34
|
}
|
|
36
|
-
function
|
|
35
|
+
function k(e, t, n, r, i, a) {
|
|
37
36
|
function o(e, t, n) {
|
|
38
37
|
return function(r, i) {
|
|
39
38
|
return n && n(r), e[t].call(r, i);
|
|
@@ -56,13 +55,13 @@ function H(e, t, n, r, i, a) {
|
|
|
56
55
|
n || Array.isArray(_) || (_ = [_]);
|
|
57
56
|
var b = {}, x = [], S = i === 3 ? "get" : i === 4 || p ? "set" : "value";
|
|
58
57
|
d ? (f || p ? b = {
|
|
59
|
-
get:
|
|
58
|
+
get: M(function() {
|
|
60
59
|
return v(this);
|
|
61
60
|
}, r, "get"),
|
|
62
61
|
set: function(e) {
|
|
63
62
|
t[4](this, e);
|
|
64
63
|
}
|
|
65
|
-
} : b[S] = v, f ||
|
|
64
|
+
} : b[S] = v, f || M(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
|
|
66
65
|
}
|
|
67
66
|
for (var C = e, w = _.length - 1; w >= 0; w -= n ? 2 : 1) {
|
|
68
67
|
var T = _[w], E = n ? _[w - 1] : void 0, D = {}, O = {
|
|
@@ -122,7 +121,7 @@ function H(e, t, n, r, i, a) {
|
|
|
122
121
|
if (arguments.length >= 6) var d = a[Symbol.metadata || Symbol.for("Symbol.metadata")];
|
|
123
122
|
var f = Object.create(d ?? null), p = function(e, t, n, r) {
|
|
124
123
|
var i, a, o = [], c = function(t) {
|
|
125
|
-
return
|
|
124
|
+
return N(t) === e;
|
|
126
125
|
}, u = /* @__PURE__ */ new Map();
|
|
127
126
|
function d(e) {
|
|
128
127
|
e && o.push(s.bind(null, e));
|
|
@@ -136,7 +135,7 @@ function H(e, t, n, r, i, a) {
|
|
|
136
135
|
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);
|
|
137
136
|
u.set(b, !(m > 2) || m);
|
|
138
137
|
}
|
|
139
|
-
l(v ? e : e.prototype, p, _, g ? "#" + h :
|
|
138
|
+
l(v ? e : e.prototype, p, _, g ? "#" + h : A(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
|
|
140
139
|
}
|
|
141
140
|
}
|
|
142
141
|
return d(i), d(a), o;
|
|
@@ -149,11 +148,11 @@ function H(e, t, n, r, i, a) {
|
|
|
149
148
|
}
|
|
150
149
|
};
|
|
151
150
|
}
|
|
152
|
-
function
|
|
153
|
-
var t =
|
|
151
|
+
function A(e) {
|
|
152
|
+
var t = j(e, "string");
|
|
154
153
|
return typeof t == "symbol" ? t : t + "";
|
|
155
154
|
}
|
|
156
|
-
function
|
|
155
|
+
function j(e, t) {
|
|
157
156
|
if (typeof e != "object" || !e) return e;
|
|
158
157
|
var n = e[Symbol.toPrimitive];
|
|
159
158
|
if (n !== void 0) {
|
|
@@ -163,7 +162,7 @@ function W(e, t) {
|
|
|
163
162
|
}
|
|
164
163
|
return (t === "string" ? String : Number)(e);
|
|
165
164
|
}
|
|
166
|
-
function
|
|
165
|
+
function M(e, t, n) {
|
|
167
166
|
typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
|
|
168
167
|
try {
|
|
169
168
|
Object.defineProperty(e, "name", {
|
|
@@ -173,50 +172,20 @@ function G(e, t, n) {
|
|
|
173
172
|
} catch {}
|
|
174
173
|
return e;
|
|
175
174
|
}
|
|
176
|
-
function
|
|
175
|
+
function N(e) {
|
|
177
176
|
if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
|
|
178
177
|
return e;
|
|
179
178
|
}
|
|
180
|
-
function
|
|
179
|
+
function P(e) {
|
|
181
180
|
return e;
|
|
182
181
|
}
|
|
183
|
-
|
|
184
|
-
var
|
|
185
|
-
new (
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
}), C = s({
|
|
189
|
-
type: String,
|
|
190
|
-
reflect: !0
|
|
191
|
-
}), T = s({ type: String }), D = s({
|
|
192
|
-
type: Boolean,
|
|
193
|
-
reflect: !0
|
|
194
|
-
}), k = s({ type: Array }), A = c("select"), M = l(), "label"), d = class extends t {
|
|
195
|
-
get [F]() {
|
|
196
|
-
return z(f, this);
|
|
182
|
+
h = [e("solid-ui-select")];
|
|
183
|
+
var F;
|
|
184
|
+
new (x = (d = /*#__PURE__*/ new WeakMap(), f = /*#__PURE__*/ new WeakMap(), S = (g = o({ type: Array }), _ = s("select"), y = c(), "options"), u = class extends t {
|
|
185
|
+
constructor(...e) {
|
|
186
|
+
super(...e), C(this, d, (p(this), v(this, null))), C(this, f, b(this, null));
|
|
197
187
|
}
|
|
198
|
-
set
|
|
199
|
-
R(f, this, e);
|
|
200
|
-
}
|
|
201
|
-
get name() {
|
|
202
|
-
return z(p, this);
|
|
203
|
-
}
|
|
204
|
-
set name(e) {
|
|
205
|
-
R(p, this, e);
|
|
206
|
-
}
|
|
207
|
-
get value() {
|
|
208
|
-
return z(m, this);
|
|
209
|
-
}
|
|
210
|
-
set value(e) {
|
|
211
|
-
R(m, this, e);
|
|
212
|
-
}
|
|
213
|
-
get required() {
|
|
214
|
-
return z(h, this);
|
|
215
|
-
}
|
|
216
|
-
set required(e) {
|
|
217
|
-
R(h, this, e);
|
|
218
|
-
}
|
|
219
|
-
set options(e) {
|
|
188
|
+
set [S](e) {
|
|
220
189
|
this._options = e;
|
|
221
190
|
}
|
|
222
191
|
get options() {
|
|
@@ -227,27 +196,21 @@ new (P = (f = /*#__PURE__*/ new WeakMap(), p = /*#__PURE__*/ new WeakMap(), m =
|
|
|
227
196
|
label: e.textContent
|
|
228
197
|
}));
|
|
229
198
|
}
|
|
230
|
-
get
|
|
231
|
-
return
|
|
199
|
+
get controlElement() {
|
|
200
|
+
return E(d, this);
|
|
232
201
|
}
|
|
233
|
-
set
|
|
234
|
-
|
|
202
|
+
set controlElement(e) {
|
|
203
|
+
T(d, this, e);
|
|
235
204
|
}
|
|
236
205
|
get _options() {
|
|
237
|
-
return
|
|
206
|
+
return E(f, this);
|
|
238
207
|
}
|
|
239
208
|
set _options(e) {
|
|
240
|
-
|
|
241
|
-
}
|
|
242
|
-
constructor() {
|
|
243
|
-
super(), I(this, f, (v(this), S(this, ""))), I(this, p, w(this, "")), I(this, m, E(this, "")), I(this, h, O(this, !1)), I(this, g, j(this, null)), I(this, _, N(this, null)), V(this, "controlTrait", void 0), this.controlTrait = this.addTrait(new n(this, {
|
|
244
|
-
getControlElement: () => this.inputElement,
|
|
245
|
-
getInternals: () => this.getInternals()
|
|
246
|
-
}));
|
|
209
|
+
T(f, this, e);
|
|
247
210
|
}
|
|
248
211
|
render() {
|
|
249
|
-
let e = this.options.some((e) =>
|
|
250
|
-
return
|
|
212
|
+
let e = this.options.some((e) => n(e.value)) ? a : i`<option disabled value="" ?selected=${!this.value}>Select an option</option>`;
|
|
213
|
+
return i`
|
|
251
214
|
${this.controlTrait.renderLabel()}
|
|
252
215
|
|
|
253
216
|
<div class="input-wrapper">
|
|
@@ -258,7 +221,7 @@ new (P = (f = /*#__PURE__*/ new WeakMap(), p = /*#__PURE__*/ new WeakMap(), m =
|
|
|
258
221
|
@change=${this.onChange}
|
|
259
222
|
>
|
|
260
223
|
${e}
|
|
261
|
-
${this.options.map((e) =>
|
|
224
|
+
${this.options.map((e) => i`<option
|
|
262
225
|
.value=${e.value}
|
|
263
226
|
?selected=${e.value === this.value}
|
|
264
227
|
>
|
|
@@ -270,55 +233,35 @@ new (P = (f = /*#__PURE__*/ new WeakMap(), p = /*#__PURE__*/ new WeakMap(), m =
|
|
|
270
233
|
`;
|
|
271
234
|
}
|
|
272
235
|
onChange() {
|
|
273
|
-
let e = this.
|
|
236
|
+
let e = this.controlElement?.value ?? null, t = this.options.find((t) => t.value === e);
|
|
274
237
|
this.controlTrait.setValue(e), this.dispatchEvent(new CustomEvent("change", {
|
|
275
238
|
bubbles: !0,
|
|
276
239
|
composed: !0,
|
|
277
240
|
detail: { option: t }
|
|
278
241
|
}));
|
|
279
242
|
}
|
|
280
|
-
}, {e: [
|
|
281
|
-
[
|
|
282
|
-
x,
|
|
283
|
-
1,
|
|
284
|
-
"label"
|
|
285
|
-
],
|
|
286
|
-
[
|
|
287
|
-
C,
|
|
288
|
-
1,
|
|
289
|
-
"name"
|
|
290
|
-
],
|
|
291
|
-
[
|
|
292
|
-
T,
|
|
293
|
-
1,
|
|
294
|
-
"value"
|
|
295
|
-
],
|
|
296
|
-
[
|
|
297
|
-
D,
|
|
298
|
-
1,
|
|
299
|
-
"required"
|
|
300
|
-
],
|
|
243
|
+
}, {e: [v, b, p], c: [F, m]} = k(u, [
|
|
301
244
|
[
|
|
302
|
-
|
|
245
|
+
g,
|
|
303
246
|
4,
|
|
304
247
|
"options"
|
|
305
248
|
],
|
|
306
249
|
[
|
|
307
|
-
|
|
250
|
+
_,
|
|
308
251
|
1,
|
|
309
|
-
"
|
|
252
|
+
"controlElement"
|
|
310
253
|
],
|
|
311
254
|
[
|
|
312
|
-
|
|
255
|
+
y,
|
|
313
256
|
1,
|
|
314
257
|
"_options"
|
|
315
258
|
]
|
|
316
|
-
],
|
|
259
|
+
], h, 0, void 0, t), u), l = class extends P {
|
|
317
260
|
constructor() {
|
|
318
|
-
super(
|
|
261
|
+
super(F), O(this, "styles", r), m();
|
|
319
262
|
}
|
|
320
|
-
},
|
|
263
|
+
}, O(l, x, void 0), l)();
|
|
321
264
|
//#endregion
|
|
322
|
-
export {
|
|
265
|
+
export { F as default };
|
|
323
266
|
|
|
324
267
|
//# sourceMappingURL=Select.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.esm.js","names":["customElement","
|
|
1
|
+
{"version":3,"file":"Select.esm.js","names":["customElement","FormControlComponent","html","nothing","property","query","state","isEmptyValue","styles","_classDecs","_Select","_Select2","_A","WeakMap","_B","_ref","_optionsDecs","type","Array","_controlElementDecs","_optionsDecs2","_Select3","Select","constructor","args","_classPrivateFieldInitSpec","_initProto","_init_controlElement","_init__options","value","_options","options","querySelectorAll","from","map","option","label","textContent","controlElement","_classPrivateFieldGet","v","_classPrivateFieldSet","render","defaultOption","some","controlTrait","renderLabel","controlId","name","required","onChange","find","setValue","dispatchEvent","CustomEvent","bubbles","composed","detail","e","c","_initClass","_applyDecs","_Class","_identity","_defineProperty","default"],"sources":["../../../src/components/select/Select.ts"],"sourcesContent":["import { customElement, FormControlComponent } from '@/lib/components'\nimport { html, nothing } from 'lit'\nimport { property, query, state } from 'lit/decorators.js'\nimport { isEmptyValue } from '@/lib/values'\nimport type SelectOption from '@/components/select-option/SelectOption'\n\nimport '~icons/lucide/chevron-down'\n\nimport styles from './Select.styles.css'\n\nexport type SelectOptionData = {\n value: unknown;\n label: string;\n}\n\nexport type SelectChangeEvent = CustomEvent<{ option: SelectOptionData }>\n\n@customElement('solid-ui-select')\nexport default class Select extends FormControlComponent {\n static styles = styles\n\n @property({ type: Array })\n set options (value: SelectOptionData[] | null) {\n this._options = value\n }\n\n get options (): SelectOptionData[] {\n if (this._options) {\n return this._options\n }\n\n const options = this.querySelectorAll<SelectOption>(\n 'solid-ui-select-option'\n )\n\n return Array.from(options).map((option) => ({\n value: option.value,\n label: option.textContent,\n }))\n }\n\n @query('select')\n protected accessor controlElement: HTMLSelectElement | null = null;\n\n @state()\n private accessor _options: SelectOptionData[] | null = null\n\n protected render () {\n const defaultOption = this.options.some(option => isEmptyValue(option.value))\n ? nothing\n : html`<option disabled value=\"\" ?selected=${!this.value}>Select an option</option>`\n\n return html`\n ${this.controlTrait.renderLabel()}\n\n <div class=\"input-wrapper\">\n <select\n id=\"${this.controlTrait.controlId}\"\n name=${this.name}\n ?required=${this.required}\n @change=${this.onChange}\n >\n ${defaultOption}\n ${this.options.map(\n (option) =>\n html`<option\n .value=${option.value}\n ?selected=${option.value === this.value}\n >\n ${option.label}\n </option>`\n )}\n </select>\n <icon-lucide-chevron-down></icon-lucide-chevron-down>\n </div>\n `\n }\n\n private onChange () {\n const value = this.controlElement?.value ?? null\n const option = this.options.find((option) => option.value === value)\n\n this.controlTrait.setValue(value)\n this.dispatchEvent(new CustomEvent('change', { bubbles: true, composed: true, detail: { option } }))\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQwCS,IAAA,CASvCT,EAAc,iBAAiB,CAAC;AAAA,IAAAU;AAAA,KAAAC,KAAAC,kBAAA,IAAAC,QAAA,GAAAC,kBAAA,IAAAD,QAAA,GAAAE,KAAAC,IAI9BZ,EAAS,EAAEa,MAAMC,MAAM,CAAC,GAACC,IAoBzBd,EAAM,QAAQ,GAACe,IAGfd,EAAM,GAAC,YAAAe,IA3BV,cACoCpB,EAAqB;CAAAsB,YAAA,GAAAC,GAAA;EAwBWC,AAxBX,MAAA,GAAAD,CAAA,GAAAC,EAAA,MAAAb,IAAAc,EAAA,IAAA,GAAAC,EAAA,MAwBO,IAAI,EAAA,GAAAF,EAAA,MAAAX,GAAAc,EAAA,MAGX,IAAI,CAAA;CAAA;CAxB3D,KAAAb,GACac,GAAkC;EAC7C,KAAKC,WAAWD;CAClB;CAEA,IAAIE,UAA+B;EACjC,IAAI,KAAKD,UACP,OAAO,KAAKA;EAGd,IAAMC,IAAU,KAAKC,iBACnB,wBACF;EAEA,OAAOd,MAAMe,KAAKF,CAAO,CAAC,CAACG,KAAKC,OAAY;GAC1CN,OAAOM,EAAON;GACdO,OAAOD,EAAOE;EAChB,EAAE;CACJ;CAAC,IAGkBC,iBAAc;EAAA,OAAAC,EAAA3B,GAAA,IAAA;CAAA;CAAA,IAAd0B,eAAcE,GAAA;EAAAC,EAAA7B,GAAA,MAAA4B,CAAA;CAAA;CAAA,IAGhBV,WAAQ;EAAA,OAAAS,EAAAzB,GAAA,IAAA;CAAA;CAAA,IAARgB,SAAQU,GAAA;EAAAC,EAAA3B,GAAA,MAAA0B,CAAA;CAAA;CAEfE,SAAU;EAClB,IAAMC,IAAgB,KAAKZ,QAAQa,MAAKT,MAAU5B,EAAa4B,EAAON,KAAK,CAAC,IACxE1B,IACAD,CAAI,uCAAuC,CAAC,KAAK2B,MAAK;EAE1D,OAAO3B,CAAI;QACP,KAAK2C,aAAaC,YAAY,EAAC;;;;gBAIvB,KAAKD,aAAaE,UAAS;iBAC1B,KAAKC,KAAI;sBACJ,KAAKC,SAAQ;oBACf,KAAKC,SAAQ;;YAErBP,EAAa;YACb,KAAKZ,QAAQG,KACZC,MACCjC,CAAI;yBACOiC,EAAON,MAAK;4BACTM,EAAON,UAAU,KAAKA,MAAK;;kBAErCM,EAAOC,MAAK;wBAEpB,EAAC;;;;;CAKT;CAEQc,WAAY;EAClB,IAAMrB,IAAQ,KAAKS,gBAAgBT,SAAS,MACtCM,IAAS,KAAKJ,QAAQoB,MAAMhB,MAAWA,EAAON,UAAUA,CAAK;EAGnE,AADA,KAAKgB,aAAaO,SAASvB,CAAK,GAChC,KAAKwB,cAAc,IAAIC,YAAY,UAAU;GAAEC,SAAS;GAAMC,UAAU;GAAMC,QAAQ,EAAEtB,UAAO;EAAE,CAAC,CAAC;CACrG;AACF,GAAC,CAAAuB,GAAA,CAAA/B,GAAAC,GAAAF,IAAAiC,GAAA,CAAAjD,GAAAkD,MAAAC,EAAAxC,GAAA;CAAA;EAAAL;EAAA;EAAA;CAAA;CAAA;EAAAG;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;AAAA,GAAAX,GAAA,GAAA,KAAA,GAnEmCR,CAAoB,GAAAoB,IAAAyC,IAAA,cAAAC,EAAA;CAAAxC,cAAA;EAAA,MAAAb,CAAA,GAAAsD,EAAA,MAAA,UACtCxD,CAAM,GAAAoD,EAAA;CAAA;AAAA,GAAAI,EAAAF,GAAAnD,GAAA,KAAA,CAAA,GAAAmD,GAAA"}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
declare const args: {
|
|
2
|
+
label: string;
|
|
3
|
+
options: string;
|
|
4
|
+
};
|
|
1
5
|
declare const meta: {
|
|
2
|
-
readonly title: "Select";
|
|
6
|
+
readonly title: "Basic UI/Select";
|
|
3
7
|
readonly args: {
|
|
4
|
-
|
|
5
|
-
|
|
8
|
+
label: string;
|
|
9
|
+
options: string;
|
|
6
10
|
};
|
|
7
11
|
readonly argTypes: {
|
|
8
12
|
readonly label: {
|
|
@@ -12,16 +16,8 @@ declare const meta: {
|
|
|
12
16
|
readonly control: "text";
|
|
13
17
|
};
|
|
14
18
|
};
|
|
19
|
+
readonly render: ({ label, options }: typeof args) => import('lit-html').TemplateResult<1>;
|
|
15
20
|
};
|
|
21
|
+
export declare const Primary: {};
|
|
16
22
|
export default meta;
|
|
17
|
-
export declare const Primary: {
|
|
18
|
-
render: (args: import('../../storybook').GetStoryArgs<{
|
|
19
|
-
readonly label: {
|
|
20
|
-
readonly control: "text";
|
|
21
|
-
};
|
|
22
|
-
readonly options: {
|
|
23
|
-
readonly control: "text";
|
|
24
|
-
};
|
|
25
|
-
}>) => HTMLDivElement;
|
|
26
|
-
};
|
|
27
23
|
//# sourceMappingURL=Select.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.stories.d.ts","sourceRoot":"","sources":["../../../src/components/select/Select.stories.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Select.stories.d.ts","sourceRoot":"","sources":["../../../src/components/select/Select.stories.ts"],"names":[],"mappings":"AAEA,OAAO,4BAA4B,CAAA;AAEnC,OAAO,UAAU,CAAA;AAEjB,QAAA,MAAM,IAAI;;;CAGT,CAAA;AAED,QAAA,MAAM,IAAI;;;;;;;;;;;;;;0CAOoB,OAAO,IAAI;CAa/B,CAAA;AAEV,eAAO,MAAM,OAAO,IAAK,CAAA;AAEzB,eAAe,IAAI,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/select-option-
|
|
1
|
+
import { n as e, t } from "../chunks/select-option-DUg4AWzw.js";
|
|
2
2
|
export { e as SelectOption, t as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/select-
|
|
1
|
+
import { n as e, t } from "../chunks/select-XkieYvDm.js";
|
|
2
2
|
export { e as Select, t as default };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
declare const meta: {
|
|
2
|
-
readonly title: "SignupButton";
|
|
2
|
+
readonly title: "Solid/SignupButton";
|
|
3
3
|
};
|
|
4
4
|
export declare const Primary: {
|
|
5
|
-
render: (
|
|
5
|
+
render: () => import('lit-html').TemplateResult<1>;
|
|
6
6
|
};
|
|
7
7
|
export declare const CustomLabel: {
|
|
8
|
-
render: (
|
|
8
|
+
render: () => import('lit-html').TemplateResult<1>;
|
|
9
9
|
};
|
|
10
10
|
export declare const CustomTrigger: {
|
|
11
|
-
render: (
|
|
11
|
+
render: () => import('lit-html').TemplateResult<1>;
|
|
12
12
|
};
|
|
13
13
|
export default meta;
|
|
14
14
|
//# sourceMappingURL=SignupButton.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignupButton.stories.d.ts","sourceRoot":"","sources":["../../../src/components/signup-button/SignupButton.stories.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SignupButton.stories.d.ts","sourceRoot":"","sources":["../../../src/components/signup-button/SignupButton.stories.ts"],"names":[],"mappings":"AAEA,OAAO,yBAAyB,CAAA;AAEhC,OAAO,gBAAgB,CAAA;AAEvB,QAAA,MAAM,IAAI;;CAEA,CAAA;AAEV,eAAO,MAAM,OAAO;;CAEnB,CAAA;AAED,eAAO,MAAM,WAAW;;CAOvB,CAAA;AAED,eAAO,MAAM,aAAa;;CAQzB,CAAA;AAED,eAAe,IAAI,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/signup-button-
|
|
1
|
+
import { n as e, t } from "../chunks/signup-button-D5wS8_gB.js";
|
|
2
2
|
export { e as SignupButton, t as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/solid-emblem-
|
|
1
|
+
import { n as e, t } from "../chunks/solid-emblem-XHk-oomv.js";
|
|
2
2
|
export { e as SolidEmblem, t as default };
|
package/dist/components.js
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
import "./chunks/auth-
|
|
2
|
-
import "./chunks/dialog-
|
|
3
|
-
import "./chunks/dialog-header-
|
|
4
|
-
import "./chunks/button-
|
|
5
|
-
import "./chunks/dialog-content-
|
|
6
|
-
import "./chunks/dialog-footer-
|
|
7
|
-
import "./chunks/combobox-
|
|
8
|
-
import "./chunks/combobox-option-
|
|
9
|
-
import "./chunks/
|
|
10
|
-
import "./chunks/
|
|
11
|
-
import "./chunks/
|
|
12
|
-
import "./chunks/
|
|
13
|
-
import "./chunks/
|
|
14
|
-
import "./chunks/
|
|
15
|
-
import "./chunks/
|
|
1
|
+
import "./chunks/auth-Knq99zZ9.js";
|
|
2
|
+
import "./chunks/dialog-DZgm_Tph.js";
|
|
3
|
+
import "./chunks/dialog-header-COzPcK8F.js";
|
|
4
|
+
import "./chunks/button-Dvkek1tx.js";
|
|
5
|
+
import "./chunks/dialog-content-DY-ROHyi.js";
|
|
6
|
+
import "./chunks/dialog-footer-BAZTjZ8J.js";
|
|
7
|
+
import "./chunks/combobox-B5j4LoHY.js";
|
|
8
|
+
import "./chunks/combobox-option-C5lKAumO.js";
|
|
9
|
+
import "./chunks/dialogs-root-BYp6fIUE.js";
|
|
10
|
+
import "./chunks/provider-Btl6Lnki.js";
|
|
11
|
+
import "./chunks/avatar-DgO_p94F.js";
|
|
12
|
+
import "./chunks/login-button-BafqiKef.js";
|
|
13
|
+
import "./chunks/logout-button-D54NF9EW.js";
|
|
14
|
+
import "./chunks/menu-item-D9BqJtKZ.js";
|
|
15
|
+
import "./chunks/menu-DKxtACGA.js";
|
|
16
|
+
import "./chunks/signup-button-D5wS8_gB.js";
|
|
17
|
+
import "./chunks/account-DeNlj01m.js";
|
|
16
18
|
import "./components/dialog-provider.js";
|
|
17
|
-
import "./chunks/dialogs-root-dPGfuzSZ.js";
|
|
18
19
|
import "./chunks/footer-BLSjn5ur.js";
|
|
19
|
-
import "./chunks/guard-
|
|
20
|
-
import "./chunks/input-
|
|
21
|
-
import "./chunks/photo-capture-
|
|
22
|
-
import "./chunks/
|
|
23
|
-
import "./chunks/select-
|
|
24
|
-
import "./chunks/select-option-
|
|
25
|
-
import "./chunks/solid-emblem-
|
|
20
|
+
import "./chunks/guard-DI4k0FkM.js";
|
|
21
|
+
import "./chunks/input-CCpEhtqA.js";
|
|
22
|
+
import "./chunks/photo-capture-modal-BLZtHDj1.js";
|
|
23
|
+
import "./chunks/photo-capture-BoZF621r.js";
|
|
24
|
+
import "./chunks/select-XkieYvDm.js";
|
|
25
|
+
import "./chunks/select-option-DUg4AWzw.js";
|
|
26
|
+
import "./chunks/solid-emblem-XHk-oomv.js";
|
package/dist/index.cjs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./lib/ns.cjs.js"),t=require("./lib/log.cjs.js"),n=require("./utils/index.cjs.js"),r=require("./lib/style.cjs.js"),i=require("./lib/iconBase.cjs.js"),a=require("./widgets/forms/autocomplete/language.cjs.js"),o=require("./widgets/index.cjs.js"),s=require("./login/login.cjs.js"),c=require("./acl/index.cjs.js"),l=require("./create/index.cjs.js"),u=require("./matrix/index.cjs.js"),d=require("./media/index.cjs.js"),f=require("./lib/messageArea.cjs.js"),p=require("./lib/participation.cjs.js"),m=require("./lib/pad.cjs.js"),h=require("./chat/infinite.cjs.js"),g=require("./lib/preferences.cjs.js"),_=require("./lib/table.cjs.js"),v=require("./lib/tabs.cjs.js"),y=require("./header/index.cjs.js"),b=require("./footer/index.cjs.js"),x=require("./create/types.cjs.js"),S=require("./lib/auth/Account.cjs.js"),C=require("./lib/auth/NoopAuth.cjs.js"),w=require("./lib/auth/context.cjs.js"),T=require("./lib/components/ids.cjs.js"),E=require("./lib/dialogs/context.cjs.js"),D=require("./lib/components/decorators.cjs.js"),O=require("./lib/components/web-component/WebComponent.cjs.js"),
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./lib/ns.cjs.js"),t=require("./lib/log.cjs.js"),n=require("./utils/index.cjs.js"),r=require("./lib/style.cjs.js"),i=require("./lib/iconBase.cjs.js"),a=require("./widgets/forms/autocomplete/language.cjs.js"),o=require("./widgets/index.cjs.js"),s=require("./login/login.cjs.js"),c=require("./acl/index.cjs.js"),l=require("./create/index.cjs.js"),u=require("./matrix/index.cjs.js"),d=require("./media/index.cjs.js"),f=require("./lib/messageArea.cjs.js"),p=require("./lib/participation.cjs.js"),m=require("./lib/pad.cjs.js"),h=require("./chat/infinite.cjs.js"),g=require("./lib/preferences.cjs.js"),_=require("./lib/table.cjs.js"),v=require("./lib/tabs.cjs.js"),y=require("./header/index.cjs.js"),b=require("./footer/index.cjs.js"),x=require("./create/types.cjs.js"),S=require("./lib/auth/Account.cjs.js"),C=require("./lib/auth/NoopAuth.cjs.js"),w=require("./lib/auth/context.cjs.js"),T=require("./lib/components/ids.cjs.js"),E=require("./lib/dialogs/context.cjs.js"),D=require("./lib/components/decorators.cjs.js"),O=require("./lib/dialogs/events/close-dialog.cjs.js"),k=require("./lib/components/traits/DialogTrait.cjs.js"),A=require("./lib/components/web-component/WebComponent.cjs.js"),j=require("./lib/components/dialog-component/DialogComponent.cjs.js"),M=require("./lib/components/traits/FormControlTrait.cjs.js"),N=require("./lib/components/form-control-component/FormControlComponent.cjs.js");require("./lib/components/index.cjs.js");const P=require("./lib/dialogs/Dialog.cjs.js"),F=require("./lib/dialogs/events/show-dialog.cjs.js"),I=require("./lib/dialogs/helpers.cjs.js");require("./lib/dialogs/index.cjs.js");const L=require("./lib/auth/SolidAuth.cjs.js");require("./lib/auth/index.cjs.js");var R=typeof window<`u`?window.document:null;exports.Account=S.default,exports.CloseDialogEvent=O.CloseDialogEvent,exports.DEFAULT_AUTH_CONTEXT=w.DEFAULT_AUTH_CONTEXT,exports.DEFAULT_DIALOG_CONTEXT=E.DEFAULT_DIALOG_CONTEXT,exports.DEFAULT_SIGNUP_URL=L.DEFAULT_SIGNUP_URL,exports.Dialog=P.default,exports.DialogComponent=j.default,exports.DialogTrait=k.default,exports.FormControlComponent=N.default,exports.FormControlTrait=M.default,exports.NoopAuth=C.default,exports.ShowDialogEvent=F.ShowDialogEvent,exports.SolidAuth=L.default,exports.WebComponent=A.default,exports.acl=c.acl,exports.aclControl=c.aclControl,exports.authContext=w.authContext,exports.create=l.create,Object.defineProperty(exports,"createTypes",{enumerable:!0,get:function(){return x.types_exports}}),exports.customElement=D.customElement,exports.dialogContext=E.dialogContext,exports.dom=R,exports.generateId=T.generateId,exports.icons=i.icons,exports.infiniteMessageArea=h.infiniteMessageArea,exports.initFooter=b.initFooter,exports.initHeader=y.initHeader,Object.defineProperty(exports,"language",{enumerable:!0,get:function(){return a.language_exports}}),Object.defineProperty(exports,"log",{enumerable:!0,get:function(){return t.log_exports}}),Object.defineProperty(exports,"login",{enumerable:!0,get:function(){return s.login_exports}}),exports.matrix=u.matrix,exports.media=d.media,exports.messageArea=f.messageArea,exports.ns=e.default,Object.defineProperty(exports,"pad",{enumerable:!0,get:function(){return m.pad_exports}}),Object.defineProperty(exports,"participation",{enumerable:!0,get:function(){return p.participation_exports}}),Object.defineProperty(exports,"preferences",{enumerable:!0,get:function(){return g.preferences_exports}}),exports.showDialog=I.showDialog,exports.style=r.style,exports.table=_.renderTableViewPane,Object.defineProperty(exports,"tabs",{enumerable:!0,get:function(){return v.tabs_exports}}),Object.defineProperty(exports,"utils",{enumerable:!0,get:function(){return n.utils_exports}}),Object.defineProperty(exports,"widgets",{enumerable:!0,get:function(){return o.widgets_exports}});
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
package/dist/index.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["// REMOVE @ts-ignore as you migrate files to TypeScript\n// @ts-ignore\nimport ns from './lib/ns'\nimport { acl, aclControl } from './acl/index'\nimport { create } from './create/index'\n// @ts-ignore\nimport { icons } from './lib/iconBase'\nimport * as language from './widgets/forms/autocomplete/language'\nimport * as log from './lib/log'\nimport { matrix } from './matrix/index'\nimport { media } from './media/index'\n// @ts-ignore\nimport { messageArea } from './lib/messageArea'\n// @ts-ignore\nimport { infiniteMessageArea } from './chat/infinite'\n// @ts-ignore\nimport * as pad from './lib/pad'\n// @ts-ignore\nimport * as participation from './lib/participation'\n// @ts-ignore\nimport * as preferences from './lib/preferences'\n// @ts-ignore\nimport { style } from './lib/style'\n// @ts-ignore\nimport { renderTableViewPane as table } from './lib/table'\nimport * as tabs from './lib/tabs'\n// @ts-ignore\nimport * as utils from './utils'\nimport * as login from './login/login'\nimport * as widgets from './widgets/index'\nimport { initHeader } from './header'\nimport { initFooter } from './footer'\nimport * as createTypes from './create/types'\n\nexport const dom = typeof window !== 'undefined' ? window.document : null // Idea that UI.dom can be adapted in non-browser environments\n\n// this variables are directly used in the storybook\nexport {\n ns,\n acl,\n aclControl,\n create,\n createTypes,\n icons,\n language,\n log,\n login,\n matrix,\n media,\n messageArea,\n infiniteMessageArea,\n pad,\n participation,\n preferences,\n style,\n table,\n tabs,\n utils,\n widgets,\n initHeader,\n initFooter\n}\n// uses in solid-panes\nexport type { CreateContext, NewAppInstanceOptions } from './create/types'\n\nexport * from './lib/auth'\nexport * from './lib/components'\nexport * from './lib/dialogs'\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["// REMOVE @ts-ignore as you migrate files to TypeScript\n// @ts-ignore\nimport ns from './lib/ns'\nimport { acl, aclControl } from './acl/index'\nimport { create } from './create/index'\n// @ts-ignore\nimport { icons } from './lib/iconBase'\nimport * as language from './widgets/forms/autocomplete/language'\nimport * as log from './lib/log'\nimport { matrix } from './matrix/index'\nimport { media } from './media/index'\n// @ts-ignore\nimport { messageArea } from './lib/messageArea'\n// @ts-ignore\nimport { infiniteMessageArea } from './chat/infinite'\n// @ts-ignore\nimport * as pad from './lib/pad'\n// @ts-ignore\nimport * as participation from './lib/participation'\n// @ts-ignore\nimport * as preferences from './lib/preferences'\n// @ts-ignore\nimport { style } from './lib/style'\n// @ts-ignore\nimport { renderTableViewPane as table } from './lib/table'\nimport * as tabs from './lib/tabs'\n// @ts-ignore\nimport * as utils from './utils'\nimport * as login from './login/login'\nimport * as widgets from './widgets/index'\nimport { initHeader } from './header'\nimport { initFooter } from './footer'\nimport * as createTypes from './create/types'\n\nexport const dom = typeof window !== 'undefined' ? window.document : null // Idea that UI.dom can be adapted in non-browser environments\n\n// this variables are directly used in the storybook\nexport {\n ns,\n acl,\n aclControl,\n create,\n createTypes,\n icons,\n language,\n log,\n login,\n matrix,\n media,\n messageArea,\n infiniteMessageArea,\n pad,\n participation,\n preferences,\n style,\n table,\n tabs,\n utils,\n widgets,\n initHeader,\n initFooter\n}\n// uses in solid-panes\nexport type { CreateContext, NewAppInstanceOptions } from './create/types'\n\nexport * from './lib/auth'\nexport * from './lib/components'\nexport * from './lib/dialogs'\n"],"mappings":"yvDAkCA,IAAa,EAAM,OAAO,OAAW,IAAc,OAAO,SAAW"}
|
package/dist/index.esm.js
CHANGED
|
@@ -26,20 +26,22 @@ import { DEFAULT_AUTH_CONTEXT as T, authContext as E } from "./lib/auth/context.
|
|
|
26
26
|
import { generateId as D } from "./lib/components/ids.esm.js";
|
|
27
27
|
import { DEFAULT_DIALOG_CONTEXT as O, dialogContext as k } from "./lib/dialogs/context.esm.js";
|
|
28
28
|
import { customElement as A } from "./lib/components/decorators.esm.js";
|
|
29
|
-
import j from "./lib/
|
|
30
|
-
import
|
|
31
|
-
import N from "./lib/components/
|
|
32
|
-
import P from "./lib/components/
|
|
29
|
+
import { CloseDialogEvent as j } from "./lib/dialogs/events/close-dialog.esm.js";
|
|
30
|
+
import M from "./lib/components/traits/DialogTrait.esm.js";
|
|
31
|
+
import N from "./lib/components/web-component/WebComponent.esm.js";
|
|
32
|
+
import P from "./lib/components/dialog-component/DialogComponent.esm.js";
|
|
33
|
+
import F from "./lib/components/traits/FormControlTrait.esm.js";
|
|
34
|
+
import I from "./lib/components/form-control-component/FormControlComponent.esm.js";
|
|
33
35
|
import "./lib/components/index.esm.js";
|
|
34
|
-
import
|
|
35
|
-
import { ShowDialogEvent as
|
|
36
|
-
import { showDialog as
|
|
36
|
+
import L from "./lib/dialogs/Dialog.esm.js";
|
|
37
|
+
import { ShowDialogEvent as R } from "./lib/dialogs/events/show-dialog.esm.js";
|
|
38
|
+
import { showDialog as z } from "./lib/dialogs/helpers.esm.js";
|
|
37
39
|
import "./lib/dialogs/index.esm.js";
|
|
38
|
-
import
|
|
40
|
+
import B, { DEFAULT_SIGNUP_URL as V } from "./lib/auth/SolidAuth.esm.js";
|
|
39
41
|
import "./lib/auth/index.esm.js";
|
|
40
42
|
//#region src/index.ts
|
|
41
|
-
var
|
|
43
|
+
var H = typeof window < "u" ? window.document : null;
|
|
42
44
|
//#endregion
|
|
43
|
-
export { C as Account,
|
|
45
|
+
export { C as Account, j as CloseDialogEvent, T as DEFAULT_AUTH_CONTEXT, O as DEFAULT_DIALOG_CONTEXT, V as DEFAULT_SIGNUP_URL, L as Dialog, P as DialogComponent, M as DialogTrait, I as FormControlComponent, F as FormControlTrait, w as NoopAuth, R as ShowDialogEvent, B as SolidAuth, N as WebComponent, c as acl, l as aclControl, E as authContext, u as create, S as createTypes, A as customElement, k as dialogContext, H as dom, D as generateId, i as icons, g as infiniteMessageArea, x as initFooter, b as initHeader, a as language, t as log, s as login, d as matrix, f as media, p as messageArea, e as ns, h as pad, m as participation, _ as preferences, z as showDialog, r as style, v as table, y as tabs, n as utils, o as widgets };
|
|
44
46
|
|
|
45
47
|
//# sourceMappingURL=index.esm.js.map
|
package/dist/index.esm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["// REMOVE @ts-ignore as you migrate files to TypeScript\n// @ts-ignore\nimport ns from './lib/ns'\nimport { acl, aclControl } from './acl/index'\nimport { create } from './create/index'\n// @ts-ignore\nimport { icons } from './lib/iconBase'\nimport * as language from './widgets/forms/autocomplete/language'\nimport * as log from './lib/log'\nimport { matrix } from './matrix/index'\nimport { media } from './media/index'\n// @ts-ignore\nimport { messageArea } from './lib/messageArea'\n// @ts-ignore\nimport { infiniteMessageArea } from './chat/infinite'\n// @ts-ignore\nimport * as pad from './lib/pad'\n// @ts-ignore\nimport * as participation from './lib/participation'\n// @ts-ignore\nimport * as preferences from './lib/preferences'\n// @ts-ignore\nimport { style } from './lib/style'\n// @ts-ignore\nimport { renderTableViewPane as table } from './lib/table'\nimport * as tabs from './lib/tabs'\n// @ts-ignore\nimport * as utils from './utils'\nimport * as login from './login/login'\nimport * as widgets from './widgets/index'\nimport { initHeader } from './header'\nimport { initFooter } from './footer'\nimport * as createTypes from './create/types'\n\nexport const dom = typeof window !== 'undefined' ? window.document : null // Idea that UI.dom can be adapted in non-browser environments\n\n// this variables are directly used in the storybook\nexport {\n ns,\n acl,\n aclControl,\n create,\n createTypes,\n icons,\n language,\n log,\n login,\n matrix,\n media,\n messageArea,\n infiniteMessageArea,\n pad,\n participation,\n preferences,\n style,\n table,\n tabs,\n utils,\n widgets,\n initHeader,\n initFooter\n}\n// uses in solid-panes\nexport type { CreateContext, NewAppInstanceOptions } from './create/types'\n\nexport * from './lib/auth'\nexport * from './lib/components'\nexport * from './lib/dialogs'\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["// REMOVE @ts-ignore as you migrate files to TypeScript\n// @ts-ignore\nimport ns from './lib/ns'\nimport { acl, aclControl } from './acl/index'\nimport { create } from './create/index'\n// @ts-ignore\nimport { icons } from './lib/iconBase'\nimport * as language from './widgets/forms/autocomplete/language'\nimport * as log from './lib/log'\nimport { matrix } from './matrix/index'\nimport { media } from './media/index'\n// @ts-ignore\nimport { messageArea } from './lib/messageArea'\n// @ts-ignore\nimport { infiniteMessageArea } from './chat/infinite'\n// @ts-ignore\nimport * as pad from './lib/pad'\n// @ts-ignore\nimport * as participation from './lib/participation'\n// @ts-ignore\nimport * as preferences from './lib/preferences'\n// @ts-ignore\nimport { style } from './lib/style'\n// @ts-ignore\nimport { renderTableViewPane as table } from './lib/table'\nimport * as tabs from './lib/tabs'\n// @ts-ignore\nimport * as utils from './utils'\nimport * as login from './login/login'\nimport * as widgets from './widgets/index'\nimport { initHeader } from './header'\nimport { initFooter } from './footer'\nimport * as createTypes from './create/types'\n\nexport const dom = typeof window !== 'undefined' ? window.document : null // Idea that UI.dom can be adapted in non-browser environments\n\n// this variables are directly used in the storybook\nexport {\n ns,\n acl,\n aclControl,\n create,\n createTypes,\n icons,\n language,\n log,\n login,\n matrix,\n media,\n messageArea,\n infiniteMessageArea,\n pad,\n participation,\n preferences,\n style,\n table,\n tabs,\n utils,\n widgets,\n initHeader,\n initFooter\n}\n// uses in solid-panes\nexport type { CreateContext, NewAppInstanceOptions } from './create/types'\n\nexport * from './lib/auth'\nexport * from './lib/components'\nexport * from './lib/dialogs'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,IAAa,IAAM,OAAO,SAAW,MAAc,OAAO,WAAW"}
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { h as e } from "./chunks/solid-logic.esm-BrMdCG2_.js";
|
|
2
|
-
import { C as t, S as n, _ as r, a as i, b as a, c as o, d as s, f as c, g as l, h as u, i as d, l as f, m as p, n as m, o as h, p as g, r as _, s as v, t as y, u as b, v as x, x as S, y as C } from "./chunks/src-
|
|
3
|
-
import { a as w, c as T,
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
import { t as B } from "./chunks/show-dialog-eEW5yRBv.js";
|
|
9
|
-
export { j as Account, z as CloseDialogEvent, k as DEFAULT_AUTH_CONTEXT, N as DEFAULT_DIALOG_CONTEXT, A as DEFAULT_SIGNUP_URL, O as Dialog, P as DialogTrait, R as FormControlTrait, E as NoopAuth, B as ShowDialogEvent, D as SolidAuth, I as WebComponent, u as acl, l as aclControl, T as authContext, p as create, m as createTypes, L as customElement, M as dialogContext, y as dom, F as generateId, a as icons, o as infiniteMessageArea, _ as initFooter, d as initHeader, C as language, t as log, r as login, g as matrix, c as media, s as messageArea, e as ns, f as pad, b as participation, v as preferences, w as showDialog, S as style, h as table, i as tabs, n as utils, x as widgets };
|
|
2
|
+
import { C as t, S as n, _ as r, a as i, b as a, c as o, d as s, f as c, g as l, h as u, i as d, l as f, m as p, n as m, o as h, p as g, r as _, s as v, t as y, u as b, v as x, x as S, y as C } from "./chunks/src-CJICzMIV.js";
|
|
3
|
+
import { a as w, c as T, n as E, o as D, s as O, t as k } from "./chunks/auth-Knq99zZ9.js";
|
|
4
|
+
import { a as A, c as j, d as M, f as N, l as P, n as F, o as I, s as L, t as R, u as z } from "./chunks/components-BD458q30.js";
|
|
5
|
+
import { n as B, t as V } from "./chunks/dialogs-DEuwXC46.js";
|
|
6
|
+
import { t as H } from "./chunks/show-dialog-eEW5yRBv.js";
|
|
7
|
+
export { T as Account, j as CloseDialogEvent, w as DEFAULT_AUTH_CONTEXT, z as DEFAULT_DIALOG_CONTEXT, k as DEFAULT_SIGNUP_URL, B as Dialog, A as DialogComponent, L as DialogTrait, R as FormControlComponent, F as FormControlTrait, O as NoopAuth, H as ShowDialogEvent, E as SolidAuth, I as WebComponent, u as acl, l as aclControl, D as authContext, p as create, m as createTypes, P as customElement, M as dialogContext, y as dom, N as generateId, a as icons, o as infiniteMessageArea, _ as initFooter, d as initHeader, C as language, t as log, r as login, g as matrix, c as media, s as messageArea, e as ns, f as pad, b as participation, v as preferences, V as showDialog, S as style, h as table, i as tabs, n as utils, x as widgets };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e=class{
|
|
1
|
+
var e=class{initialized=!1;account=null;async login(){throw Error(`Can't use auth, missing context provider`)}async signup(){throw Error(`Can't use auth, missing context provider`)}async logout(){throw Error(`Can't use auth, missing context provider`)}onSessionUpdated(){return()=>void 0}};exports.default=e;
|
|
2
2
|
//# sourceMappingURL=NoopAuth.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NoopAuth.cjs.js","names":[],"sources":["../../../src/lib/auth/NoopAuth.ts"],"sourcesContent":["import { AuthContext } from './context'\
|
|
1
|
+
{"version":3,"file":"NoopAuth.cjs.js","names":[],"sources":["../../../src/lib/auth/NoopAuth.ts"],"sourcesContent":["import { AuthContext } from './context'\n\nexport default class NoopAuth implements AuthContext {\n public readonly initialized = false\n public readonly account = null\n\n async login () {\n throw new Error('Can\\'t use auth, missing context provider')\n }\n\n async signup () {\n throw new Error('Can\\'t use auth, missing context provider')\n }\n\n async logout () {\n throw new Error('Can\\'t use auth, missing context provider')\n }\n\n onSessionUpdated () {\n return () => undefined\n }\n}\n"],"mappings":"AAEA,IAAqB,EAArB,KAAqD,CACnD,YAA8B,GAC9B,QAA0B,KAE1B,MAAM,OAAS,CACb,MAAU,MAAM,0CAA2C,CAC7D,CAEA,MAAM,QAAU,CACd,MAAU,MAAM,0CAA2C,CAC7D,CAEA,MAAM,QAAU,CACd,MAAU,MAAM,0CAA2C,CAC7D,CAEA,kBAAoB,CAClB,UAAa,IAAA,EACf,CACF"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AuthContext } from './context';
|
|
2
|
-
import { default as Account } from './Account';
|
|
3
2
|
export default class NoopAuth implements AuthContext {
|
|
4
|
-
|
|
3
|
+
readonly initialized = false;
|
|
4
|
+
readonly account: null;
|
|
5
5
|
login(): Promise<void>;
|
|
6
6
|
signup(): Promise<void>;
|
|
7
7
|
logout(): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NoopAuth.d.ts","sourceRoot":"","sources":["../../../src/lib/auth/NoopAuth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"NoopAuth.d.ts","sourceRoot":"","sources":["../../../src/lib/auth/NoopAuth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvC,MAAM,CAAC,OAAO,OAAO,QAAS,YAAW,WAAW;IAClD,SAAgB,WAAW,SAAQ;IACnC,SAAgB,OAAO,OAAO;IAExB,KAAK;IAIL,MAAM;IAIN,MAAM;IAIZ,gBAAgB;CAGjB"}
|