solid-ui 5.0.2-1 → 5.0.2-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/~icons/lucide/arrow-left.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/arrow-left.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/arrow-left.esm.js +10 -0
- package/dist/_virtual/~icons/lucide/arrow-left.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/ellipsis-vertical.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/ellipsis-vertical.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/ellipsis-vertical.esm.js +10 -0
- package/dist/_virtual/~icons/lucide/ellipsis-vertical.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/file.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/file.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/file.esm.js +10 -0
- package/dist/_virtual/~icons/lucide/file.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/lock-keyhole.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/lock-keyhole.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/lock-keyhole.esm.js +10 -0
- package/dist/_virtual/~icons/lucide/lock-keyhole.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/pencil.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/pencil.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/pencil.esm.js +10 -0
- package/dist/_virtual/~icons/lucide/pencil.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/share-2.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/share-2.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/share-2.esm.js +10 -0
- package/dist/_virtual/~icons/lucide/share-2.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/user-round-cog.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/user-round-cog.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/user-round-cog.esm.js +10 -0
- package/dist/_virtual/~icons/lucide/user-round-cog.esm.js.map +1 -0
- package/dist/chunks/DialogProvider-dagk2fHm.js +209 -0
- package/dist/chunks/DialogProvider-dagk2fHm.js.map +1 -0
- package/dist/chunks/ResourceActionsMenu-o-8kWx8z.js +379 -0
- package/dist/chunks/ResourceActionsMenu-o-8kWx8z.js.map +1 -0
- package/dist/chunks/{access-control-modal-Dcg6-f4V.js → access-control-modal-CWH98HX3.js} +466 -478
- package/dist/chunks/access-control-modal-CWH98HX3.js.map +1 -0
- package/dist/chunks/{account-D6JK-n7u.js → account-Cocvv0H3.js} +21 -20
- package/dist/chunks/{account-D6JK-n7u.js.map → account-Cocvv0H3.js.map} +1 -1
- package/dist/chunks/{auth-B_abPDvH.js → auth-Df5uYksz.js} +41 -39
- package/dist/chunks/{auth-B_abPDvH.js.map → auth-Df5uYksz.js.map} +1 -1
- package/dist/chunks/{avatar-BR3COVSQ.js → avatar-DeotTinS.js} +11 -10
- package/dist/chunks/{avatar-BR3COVSQ.js.map → avatar-DeotTinS.js.map} +1 -1
- package/dist/chunks/{button-D6qO2idW.js → button-Dy1aFjqG.js} +11 -10
- package/dist/chunks/{button-D6qO2idW.js.map → button-Dy1aFjqG.js.map} +1 -1
- package/dist/chunks/{chunk.UEBQI7VV-lcP-fpUk.js → chunk.UEBQI7VV-9M5gO7Ew.js} +9 -12
- package/dist/chunks/chunk.UEBQI7VV-9M5gO7Ew.js.map +1 -0
- package/dist/chunks/{combobox-fSTp9qoT.js → combobox-BL0-8wef.js} +18 -17
- package/dist/chunks/{combobox-fSTp9qoT.js.map → combobox-BL0-8wef.js.map} +1 -1
- package/dist/chunks/{combobox-option-DOtGuKel.js → combobox-option-DjlmXt1O.js} +8 -7
- package/dist/chunks/{combobox-option-DOtGuKel.js.map → combobox-option-DjlmXt1O.js.map} +1 -1
- package/dist/chunks/{components-C8c2Ucm5.js → components-LxiwG5ae.js} +190 -201
- package/dist/chunks/components-LxiwG5ae.js.map +1 -0
- package/dist/chunks/context-By_u12WA.js +21 -0
- package/dist/chunks/context-By_u12WA.js.map +1 -0
- package/dist/chunks/custom-element-BW8Ua4c7.js +9 -0
- package/dist/chunks/custom-element-BW8Ua4c7.js.map +1 -0
- package/dist/chunks/decorators-V-B013l9.js +12 -0
- package/dist/chunks/decorators-V-B013l9.js.map +1 -0
- package/dist/chunks/{dialog-CgYK767T.js → dialog-CrmftB9c.js} +16 -15
- package/dist/chunks/{dialog-CgYK767T.js.map → dialog-CrmftB9c.js.map} +1 -1
- package/dist/chunks/{dialog-content-DjwRH1ci.js → dialog-content-Cw3xqJ45.js} +6 -5
- package/dist/chunks/{dialog-content-DjwRH1ci.js.map → dialog-content-Cw3xqJ45.js.map} +1 -1
- package/dist/chunks/{dialog-footer-GQWi8lfB.js → dialog-footer-sFQf-2zD.js} +6 -5
- package/dist/chunks/{dialog-footer-GQWi8lfB.js.map → dialog-footer-sFQf-2zD.js.map} +1 -1
- package/dist/chunks/{dialog-header-c3qOMQfb.js → dialog-header-xIWIqfZK.js} +6 -5
- package/dist/chunks/{dialog-header-c3qOMQfb.js.map → dialog-header-xIWIqfZK.js.map} +1 -1
- package/dist/chunks/{dialogs-BmtLjMzg.js → dialogs-B3tHtjMf.js} +2 -2
- package/dist/chunks/{dialogs-BmtLjMzg.js.map → dialogs-B3tHtjMf.js.map} +1 -1
- package/dist/chunks/{dialogs-root-BcQo2XMF.js → dialogs-root-Lh2u-3Cs.js} +9 -8
- package/dist/chunks/{dialogs-root-BcQo2XMF.js.map → dialogs-root-Lh2u-3Cs.js.map} +1 -1
- package/dist/chunks/{error-state-BD4_Wrkz.js → error-state-DnsXVj1z.js} +11 -10
- package/dist/chunks/{error-state-BD4_Wrkz.js.map → error-state-DnsXVj1z.js.map} +1 -1
- package/dist/chunks/events-CXQHDCs2.js +8 -0
- package/dist/chunks/events-CXQHDCs2.js.map +1 -0
- package/dist/chunks/file-explorer-header-B6-Q0i6V.js +963 -0
- package/dist/chunks/file-explorer-header-B6-Q0i6V.js.map +1 -0
- package/dist/chunks/file-explorer-provider-B3gUBkHg.js +296 -0
- package/dist/chunks/file-explorer-provider-B3gUBkHg.js.map +1 -0
- package/dist/chunks/globe-CsCgZcy5.js +16 -0
- package/dist/chunks/globe-CsCgZcy5.js.map +1 -0
- package/dist/chunks/{guard-bTeM7wd7.js → guard-C39y81In.js} +11 -10
- package/dist/chunks/{guard-bTeM7wd7.js.map → guard-C39y81In.js.map} +1 -1
- package/dist/chunks/index.esm-C9oV3H3X.js +6 -0
- package/dist/chunks/index.esm-C9oV3H3X.js.map +1 -0
- package/dist/chunks/{input-Bz3l514j.js → input-Bi6ZBZQw.js} +12 -11
- package/dist/chunks/{input-Bz3l514j.js.map → input-Bi6ZBZQw.js.map} +1 -1
- package/dist/chunks/{jsonld-CnfzCyCn.js → jsonld-D-TE94B0.js} +2 -2
- package/dist/chunks/{jsonld-CnfzCyCn.js.map → jsonld-D-TE94B0.js.map} +1 -1
- package/dist/chunks/{login-button-Div4ZT4J.js → login-button-fo0P8vym.js} +10 -9
- package/dist/chunks/{login-button-Div4ZT4J.js.map → login-button-fo0P8vym.js.map} +1 -1
- package/dist/chunks/{logout-button-D3lqlnCX.js → logout-button-CF2YFgID.js} +10 -9
- package/dist/chunks/{logout-button-D3lqlnCX.js.map → logout-button-CF2YFgID.js.map} +1 -1
- package/dist/chunks/{menu-D0k2fkiE.js → menu-RumUciM-.js} +49 -47
- package/dist/chunks/{menu-D0k2fkiE.js.map → menu-RumUciM-.js.map} +1 -1
- package/dist/chunks/{menu-item-nfPpH4dN.js → menu-item-CVAZyipz.js} +11 -10
- package/dist/chunks/{menu-item-nfPpH4dN.js.map → menu-item-CVAZyipz.js.map} +1 -1
- package/dist/chunks/{photo-capture-hJaJm4TM.js → photo-capture-CAfo7y6-.js} +21 -20
- package/dist/chunks/photo-capture-CAfo7y6-.js.map +1 -0
- package/dist/chunks/{photo-capture-modal-BsHv6wmh.js → photo-capture-modal-DWmDE_Ws.js} +29 -28
- package/dist/chunks/{photo-capture-modal-BsHv6wmh.js.map → photo-capture-modal-DWmDE_Ws.js.map} +1 -1
- package/dist/chunks/provide-B5NeVMM_.js +111 -0
- package/dist/chunks/provide-B5NeVMM_.js.map +1 -0
- package/dist/chunks/{provider-Dcd1NPYx.js → provider-BbT2duMy.js} +11 -10
- package/dist/chunks/{provider-Dcd1NPYx.js.map → provider-BbT2duMy.js.map} +1 -1
- package/dist/chunks/{rdf-form-CmPnHKR-.js → rdf-form-CH9bDx98.js} +30 -29
- package/dist/chunks/{rdf-form-CmPnHKR-.js.map → rdf-form-CH9bDx98.js.map} +1 -1
- package/dist/chunks/{rdf-input-3AgoeCkJ.js → rdf-input-C_V0pIS5.js} +56 -55
- package/dist/chunks/{rdf-input-3AgoeCkJ.js.map → rdf-input-C_V0pIS5.js.map} +1 -1
- package/dist/chunks/{select-option-DQan7rcB.js → select-option-U4ALXL20.js} +8 -7
- package/dist/chunks/{select-option-DQan7rcB.js.map → select-option-U4ALXL20.js.map} +1 -1
- package/dist/chunks/{select-ClPkDkGl.js → select-y1Z6fwmh.js} +10 -9
- package/dist/chunks/{select-ClPkDkGl.js.map → select-y1Z6fwmh.js.map} +1 -1
- package/dist/chunks/{signup-button-2fAoS0Nv.js → signup-button-DicFpAjD.js} +10 -9
- package/dist/chunks/{signup-button-2fAoS0Nv.js.map → signup-button-DicFpAjD.js.map} +1 -1
- package/dist/chunks/{solid-emblem-DwLdkGuO.js → solid-emblem-CeCXTpve.js} +8 -7
- package/dist/chunks/{solid-emblem-DwLdkGuO.js.map → solid-emblem-CeCXTpve.js.map} +1 -1
- package/dist/chunks/{index.esm-CECfD0e9.js → solidLogicSingleton.esm-BXyHD7mn.js} +1210 -1161
- package/dist/chunks/solidLogicSingleton.esm-BXyHD7mn.js.map +1 -0
- package/dist/chunks/{src-Dx7k_VIe.js → src-Bhtor0ZC.js} +2311 -2282
- package/dist/chunks/src-Bhtor0ZC.js.map +1 -0
- package/dist/chunks/{style-w0Fl0xnd.js → style-CXaw5EYi.js} +9 -8
- package/dist/chunks/{style-w0Fl0xnd.js.map → style-CXaw5EYi.js.map} +1 -1
- package/dist/chunks/{widgets-BWpm5CPx.js → widgets-BBEQu0CS.js} +722 -721
- package/dist/chunks/{widgets-BWpm5CPx.js.map → widgets-BBEQu0CS.js.map} +1 -1
- package/dist/components/access-control-modal/AccessControlAddAccess.esm.js.map +1 -1
- package/dist/components/access-control-modal/AccessControlErrors.esm.js.map +1 -1
- package/dist/components/access-control-modal/AccessControlGeneralAccess.esm.js.map +1 -1
- package/dist/components/access-control-modal/AccessControlModal.cjs.js +1 -1
- package/dist/components/access-control-modal/AccessControlModal.cjs.js.map +1 -1
- package/dist/components/access-control-modal/AccessControlModal.esm.js +1 -1
- package/dist/components/access-control-modal/AccessControlModal.esm.js.map +1 -1
- package/dist/components/access-control-modal/AccessControlSharedAccess.esm.js.map +1 -1
- package/dist/components/access-control-modal.js +1 -1
- package/dist/components/account/Account.esm.js.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 -0
- package/dist/components/avatar.js +1 -1
- package/dist/components/button/Button.esm.js.map +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/combobox/Combobox.esm.js.map +1 -1
- package/dist/components/combobox-option/ComboboxOption.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.esm.js.map +1 -1
- 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.esm.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.esm.js.map +1 -1
- package/dist/components/dialogs-root.js +1 -1
- package/dist/components/error-state/ErrorState.esm.js.map +1 -1
- package/dist/components/error-state.js +1 -1
- package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js +15 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.d.ts +20 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.d.ts.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.esm.js +309 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.esm.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.styles.cjs.js +2 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.styles.cjs.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.styles.esm.js +6 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.styles.esm.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js +35 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.d.ts +23 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.d.ts.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js +317 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.cjs.js +2 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.cjs.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.esm.js +6 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.esm.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js +35 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.d.ts +22 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.d.ts.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js +355 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.cjs.js +2 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.cjs.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.esm.js +6 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.esm.js.map +1 -0
- package/dist/components/file-explorer-header/index.cjs.js +2 -0
- package/dist/components/file-explorer-header/index.cjs.js.map +1 -0
- package/dist/components/file-explorer-header/index.d.ts +4 -0
- package/dist/components/file-explorer-header/index.d.ts.map +1 -0
- package/dist/components/file-explorer-header/index.esm.js +6 -0
- package/dist/components/file-explorer-header/index.esm.js.map +1 -0
- package/dist/components/file-explorer-header/types.d.ts +11 -0
- package/dist/components/file-explorer-header/types.d.ts.map +1 -0
- package/dist/components/file-explorer-header.js +1 -0
- package/dist/components/file-explorer-provider/FileExplorerProvider.cjs.js +2 -0
- package/dist/components/file-explorer-provider/FileExplorerProvider.cjs.js.map +1 -0
- package/dist/components/file-explorer-provider/FileExplorerProvider.d.ts +17 -0
- package/dist/components/file-explorer-provider/FileExplorerProvider.d.ts.map +1 -0
- package/dist/components/file-explorer-provider/FileExplorerProvider.esm.js +296 -0
- package/dist/components/file-explorer-provider/FileExplorerProvider.esm.js.map +1 -0
- package/dist/components/file-explorer-provider/index.cjs.js +2 -0
- package/dist/components/file-explorer-provider/index.cjs.js.map +1 -0
- package/dist/components/file-explorer-provider/index.d.ts +4 -0
- package/dist/components/file-explorer-provider/index.d.ts.map +1 -0
- package/dist/components/file-explorer-provider/index.esm.js +6 -0
- package/dist/components/file-explorer-provider/index.esm.js.map +1 -0
- package/dist/components/file-explorer-provider.js +1 -0
- package/dist/components/guard.js +1 -1
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.esm.js +1 -0
- package/dist/components/input/Input.esm.js.map +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/login-button.js +1 -1
- package/dist/components/login-modal/LoginModal.esm.js.map +1 -1
- package/dist/components/login-modal.js +1 -1
- package/dist/components/logout-button.js +1 -1
- package/dist/components/menu/Menu.esm.js.map +1 -1
- package/dist/components/menu-item/MenuItem.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.esm.js.map +1 -1
- package/dist/components/photo-capture-modal/PhotoCaptureModal.esm.js.map +1 -1
- package/dist/components/photo-capture-modal.js +1 -1
- package/dist/components/photo-capture.js +1 -1
- package/dist/components/provider/Provider.esm.js.map +1 -1
- package/dist/components/provider.js +1 -1
- package/dist/components/rdf-form/RDFForm.esm.js.map +1 -1
- package/dist/components/rdf-form.js +1 -1
- package/dist/components/rdf-input/RDFInput.esm.js.map +1 -1
- package/dist/components/rdf-input.js +1 -1
- package/dist/components/resource-actions-menu/DeleteResourceDialog.d.ts +8 -0
- package/dist/components/resource-actions-menu/DeleteResourceDialog.d.ts.map +1 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js +27 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js.map +1 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.d.ts +23 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.d.ts.map +1 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js +343 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js.map +1 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.styles.cjs.js +2 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.styles.cjs.js.map +1 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.styles.esm.js +6 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.styles.esm.js.map +1 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.test.d.ts +1 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.test.d.ts.map +1 -0
- package/dist/components/resource-actions-menu/index.cjs.js +1 -0
- package/dist/components/resource-actions-menu/index.d.ts +2 -0
- package/dist/components/resource-actions-menu/index.d.ts.map +1 -0
- package/dist/components/resource-actions-menu/index.esm.js +1 -0
- package/dist/components/resource-actions-menu.js +1 -0
- package/dist/components/select/Select.esm.js.map +1 -1
- package/dist/components/select-option/SelectOption.esm.js.map +1 -1
- package/dist/components/select-option.js +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/signup-button.js +1 -1
- package/dist/components/solid-emblem.js +1 -1
- package/dist/components.js +31 -28
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +8 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +12 -9
- package/dist/lib/context/noopContext.cjs.js +2 -0
- package/dist/lib/context/noopContext.cjs.js.map +1 -0
- package/dist/lib/context/noopContext.d.ts +2 -0
- package/dist/lib/context/noopContext.d.ts.map +1 -0
- package/dist/lib/context/noopContext.esm.js +18 -0
- package/dist/lib/context/noopContext.esm.js.map +1 -0
- package/dist/lib/file-explorer/compose-explorer.cjs.js +2 -0
- package/dist/lib/file-explorer/compose-explorer.cjs.js.map +1 -0
- package/dist/lib/file-explorer/compose-explorer.d.ts +17 -0
- package/dist/lib/file-explorer/compose-explorer.d.ts.map +1 -0
- package/dist/lib/file-explorer/compose-explorer.esm.js +18 -0
- package/dist/lib/file-explorer/compose-explorer.esm.js.map +1 -0
- package/dist/lib/file-explorer/context.cjs.js +1 -1
- package/dist/lib/file-explorer/context.cjs.js.map +1 -1
- package/dist/lib/file-explorer/context.d.ts +12 -14
- package/dist/lib/file-explorer/context.d.ts.map +1 -1
- package/dist/lib/file-explorer/context.esm.js +4 -3
- package/dist/lib/file-explorer/context.esm.js.map +1 -1
- package/dist/lib/file-explorer/events.cjs.js +2 -0
- package/dist/lib/file-explorer/events.cjs.js.map +1 -0
- package/dist/lib/file-explorer/events.d.ts +16 -0
- package/dist/lib/file-explorer/events.d.ts.map +1 -0
- package/dist/lib/file-explorer/events.esm.js +8 -0
- package/dist/lib/file-explorer/events.esm.js.map +1 -0
- package/dist/lib/file-explorer/index.cjs.js +1 -0
- package/dist/lib/file-explorer/index.d.ts +5 -0
- package/dist/lib/file-explorer/index.d.ts.map +1 -0
- package/dist/lib/file-explorer/index.esm.js +5 -0
- package/dist/lib/file-explorer/relevant-panes.cjs.js +2 -0
- package/dist/lib/file-explorer/relevant-panes.cjs.js.map +1 -0
- package/dist/lib/file-explorer/relevant-panes.d.ts +15 -0
- package/dist/lib/file-explorer/relevant-panes.d.ts.map +1 -0
- package/dist/lib/file-explorer/relevant-panes.esm.js +14 -0
- package/dist/lib/file-explorer/relevant-panes.esm.js.map +1 -0
- package/dist/loader.js +12 -9
- package/dist/solid-ui.js +211 -107
- package/dist/solid-ui.min.js +211 -107
- package/dist/solid-ui.min.js.map +1 -1
- package/dist/theme.css +1 -1
- package/dist/utils/podUtils.cjs.js +2 -0
- package/dist/utils/podUtils.cjs.js.map +1 -0
- package/dist/utils/podUtils.d.ts +6 -0
- package/dist/utils/podUtils.d.ts.map +1 -0
- package/dist/utils/podUtils.esm.js +22 -0
- package/dist/utils/podUtils.esm.js.map +1 -0
- package/dist/utils/webIdUtils.cjs.js +1 -0
- package/dist/utils/webIdUtils.d.ts +7 -0
- package/dist/utils/webIdUtils.d.ts.map +1 -0
- package/dist/utils/webIdUtils.esm.js +3 -0
- package/package.json +3 -3
- package/dist/chunks/DialogProvider-C89v7x0r.js +0 -314
- package/dist/chunks/DialogProvider-C89v7x0r.js.map +0 -1
- package/dist/chunks/access-control-modal-Dcg6-f4V.js.map +0 -1
- package/dist/chunks/chunk.UEBQI7VV-lcP-fpUk.js.map +0 -1
- package/dist/chunks/components-C8c2Ucm5.js.map +0 -1
- package/dist/chunks/index.esm-CECfD0e9.js.map +0 -1
- package/dist/chunks/photo-capture-hJaJm4TM.js.map +0 -1
- package/dist/chunks/src-Dx7k_VIe.js.map +0 -1
|
@@ -59,19 +59,8 @@ function i() {
|
|
|
59
59
|
return Math.random().toString(36).substring(2, 15);
|
|
60
60
|
}
|
|
61
61
|
// src/lib/dialogs/context.ts
|
|
62
|
-
var a = { id: `noop-${i()}` }, o = t(Symbol("dialog"))
|
|
63
|
-
|
|
64
|
-
function s(e, t) {
|
|
65
|
-
customElements.get(e) || customElements.define(e, t);
|
|
66
|
-
}
|
|
67
|
-
function c(e) {
|
|
68
|
-
return (t, n) => {
|
|
69
|
-
n ? n.addInitializer(() => s(e, t)) : s(e, t);
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
// src/lib/dialogs/events/close-dialog.ts
|
|
73
|
-
var l = "solid-ui:close-dialog", u = class e extends Event {
|
|
74
|
-
static eventName = l;
|
|
62
|
+
var a = { id: `noop-${i()}` }, o = t(Symbol("dialog")), s = "solid-ui:close-dialog", c = class e extends Event {
|
|
63
|
+
static eventName = s;
|
|
75
64
|
constructor(t, n) {
|
|
76
65
|
super(e.eventName, {
|
|
77
66
|
bubbles: !0,
|
|
@@ -80,19 +69,19 @@ var l = "solid-ui:close-dialog", u = class e extends Event {
|
|
|
80
69
|
}
|
|
81
70
|
};
|
|
82
71
|
// src/lib/components/traits/DialogTrait.ts
|
|
83
|
-
function
|
|
84
|
-
return (t =
|
|
72
|
+
function l(e, t, n) {
|
|
73
|
+
return (t = u(t)) in e ? Object.defineProperty(e, t, {
|
|
85
74
|
value: n,
|
|
86
75
|
enumerable: !0,
|
|
87
76
|
configurable: !0,
|
|
88
77
|
writable: !0
|
|
89
78
|
}) : e[t] = n, e;
|
|
90
79
|
}
|
|
91
|
-
function
|
|
92
|
-
var t =
|
|
80
|
+
function u(e) {
|
|
81
|
+
var t = d(e, "string");
|
|
93
82
|
return typeof t == "symbol" ? t : t + "";
|
|
94
83
|
}
|
|
95
|
-
function
|
|
84
|
+
function d(e, t) {
|
|
96
85
|
if (typeof e != "object" || !e) return e;
|
|
97
86
|
var n;
|
|
98
87
|
if (typeof Symbol < "u" && (n = e[Symbol.toPrimitive]) !== void 0) {
|
|
@@ -102,48 +91,48 @@ function p(e, t) {
|
|
|
102
91
|
}
|
|
103
92
|
return (t === "string" ? String : Number)(e);
|
|
104
93
|
}
|
|
105
|
-
var
|
|
94
|
+
var f = class {
|
|
106
95
|
constructor(e, t) {
|
|
107
|
-
|
|
96
|
+
l(this, "target", void 0), l(this, "config", void 0), this.target = e, this.config = t;
|
|
108
97
|
}
|
|
109
98
|
close(e) {
|
|
110
|
-
window.dispatchEvent(new
|
|
99
|
+
window.dispatchEvent(new c(this.config.getContext().id, e));
|
|
111
100
|
}
|
|
112
|
-
},
|
|
101
|
+
}, p = globalThis, m = p.ShadowRoot && (p.ShadyCSS === void 0 || p.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, h = Symbol(), g = /* @__PURE__ */ new WeakMap(), _ = class {
|
|
113
102
|
constructor(e, t, n) {
|
|
114
|
-
if (this._$cssResult$ = !0, n !==
|
|
103
|
+
if (this._$cssResult$ = !0, n !== h) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
115
104
|
this.cssText = e, this.t = t;
|
|
116
105
|
}
|
|
117
106
|
get styleSheet() {
|
|
118
107
|
let e = this.o, t = this.t;
|
|
119
|
-
if (
|
|
108
|
+
if (m && e === void 0) {
|
|
120
109
|
let n = t !== void 0 && t.length === 1;
|
|
121
|
-
n && (e =
|
|
110
|
+
n && (e = g.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), n && g.set(t, e));
|
|
122
111
|
}
|
|
123
112
|
return e;
|
|
124
113
|
}
|
|
125
114
|
toString() {
|
|
126
115
|
return this.cssText;
|
|
127
116
|
}
|
|
128
|
-
},
|
|
117
|
+
}, v = (e) => new _(typeof e == "string" ? e : e + "", void 0, h), y = (e, ...t) => new _(e.length === 1 ? e[0] : t.reduce((t, n, r) => t + ((e) => {
|
|
129
118
|
if (!0 === e._$cssResult$) return e.cssText;
|
|
130
119
|
if (typeof e == "number") return e;
|
|
131
120
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + e + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
132
|
-
})(n) + e[r + 1], e[0]), e,
|
|
133
|
-
if (
|
|
121
|
+
})(n) + e[r + 1], e[0]), e, h), b = (e, t) => {
|
|
122
|
+
if (m) e.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
134
123
|
else for (let n of t) {
|
|
135
|
-
let t = document.createElement("style"), r =
|
|
124
|
+
let t = document.createElement("style"), r = p.litNonce;
|
|
136
125
|
r !== void 0 && t.setAttribute("nonce", r), t.textContent = n.cssText, e.appendChild(t);
|
|
137
126
|
}
|
|
138
|
-
},
|
|
127
|
+
}, x = m ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((e) => {
|
|
139
128
|
let t = "";
|
|
140
129
|
for (let n of e.cssRules) t += n.cssText;
|
|
141
|
-
return
|
|
142
|
-
})(e) : e, { is:
|
|
130
|
+
return v(t);
|
|
131
|
+
})(e) : e, { is: S, defineProperty: C, getOwnPropertyDescriptor: w, getOwnPropertyNames: T, getOwnPropertySymbols: E, getPrototypeOf: D } = Object, O = globalThis, k = O.trustedTypes, A = k ? k.emptyScript : "", j = O.reactiveElementPolyfillSupport, M = (e, t) => e, ee = {
|
|
143
132
|
toAttribute(e, t) {
|
|
144
133
|
switch (t) {
|
|
145
134
|
case Boolean:
|
|
146
|
-
e = e ?
|
|
135
|
+
e = e ? A : null;
|
|
147
136
|
break;
|
|
148
137
|
case Object:
|
|
149
138
|
case Array: e = e == null ? e : JSON.stringify(e);
|
|
@@ -168,15 +157,15 @@ var m = class {
|
|
|
168
157
|
}
|
|
169
158
|
return n;
|
|
170
159
|
}
|
|
171
|
-
},
|
|
160
|
+
}, te = (e, t) => !S(e, t), ne = {
|
|
172
161
|
attribute: !0,
|
|
173
162
|
type: String,
|
|
174
|
-
converter:
|
|
163
|
+
converter: ee,
|
|
175
164
|
reflect: !1,
|
|
176
165
|
useDefault: !1,
|
|
177
|
-
hasChanged:
|
|
166
|
+
hasChanged: te
|
|
178
167
|
};
|
|
179
|
-
Symbol.metadata ??= Symbol("metadata"),
|
|
168
|
+
Symbol.metadata ??= Symbol("metadata"), O.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
180
169
|
var N = class extends HTMLElement {
|
|
181
170
|
static addInitializer(e) {
|
|
182
171
|
this._$Ei(), (this.l ??= []).push(e);
|
|
@@ -184,14 +173,14 @@ var N = class extends HTMLElement {
|
|
|
184
173
|
static get observedAttributes() {
|
|
185
174
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
186
175
|
}
|
|
187
|
-
static createProperty(e, t =
|
|
176
|
+
static createProperty(e, t = ne) {
|
|
188
177
|
if (t.state && (t.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((t = Object.create(t)).wrapped = !0), this.elementProperties.set(e, t), !t.noAccessor) {
|
|
189
178
|
let n = Symbol(), r = this.getPropertyDescriptor(e, n, t);
|
|
190
|
-
r !== void 0 &&
|
|
179
|
+
r !== void 0 && C(this.prototype, e, r);
|
|
191
180
|
}
|
|
192
181
|
}
|
|
193
182
|
static getPropertyDescriptor(e, t, n) {
|
|
194
|
-
let { get: r, set: i } =
|
|
183
|
+
let { get: r, set: i } = w(this.prototype, e) ?? {
|
|
195
184
|
get() {
|
|
196
185
|
return this[t];
|
|
197
186
|
},
|
|
@@ -210,17 +199,17 @@ var N = class extends HTMLElement {
|
|
|
210
199
|
};
|
|
211
200
|
}
|
|
212
201
|
static getPropertyOptions(e) {
|
|
213
|
-
return this.elementProperties.get(e) ??
|
|
202
|
+
return this.elementProperties.get(e) ?? ne;
|
|
214
203
|
}
|
|
215
204
|
static _$Ei() {
|
|
216
205
|
if (this.hasOwnProperty(M("elementProperties"))) return;
|
|
217
|
-
let e =
|
|
206
|
+
let e = D(this);
|
|
218
207
|
e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
|
|
219
208
|
}
|
|
220
209
|
static finalize() {
|
|
221
210
|
if (this.hasOwnProperty(M("finalized"))) return;
|
|
222
211
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(M("properties"))) {
|
|
223
|
-
let e = this.properties, t = [...
|
|
212
|
+
let e = this.properties, t = [...T(e), ...E(e)];
|
|
224
213
|
for (let n of t) this.createProperty(n, e[n]);
|
|
225
214
|
}
|
|
226
215
|
let e = this[Symbol.metadata];
|
|
@@ -239,8 +228,8 @@ var N = class extends HTMLElement {
|
|
|
239
228
|
let t = [];
|
|
240
229
|
if (Array.isArray(e)) {
|
|
241
230
|
let n = new Set(e.flat(1 / 0).reverse());
|
|
242
|
-
for (let e of n) t.unshift(
|
|
243
|
-
} else e !== void 0 && t.push(
|
|
231
|
+
for (let e of n) t.unshift(x(e));
|
|
232
|
+
} else e !== void 0 && t.push(x(e));
|
|
244
233
|
return t;
|
|
245
234
|
}
|
|
246
235
|
static _$Eu(e, t) {
|
|
@@ -266,7 +255,7 @@ var N = class extends HTMLElement {
|
|
|
266
255
|
}
|
|
267
256
|
createRenderRoot() {
|
|
268
257
|
let e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
269
|
-
return
|
|
258
|
+
return b(e, this.constructor.elementStyles), e;
|
|
270
259
|
}
|
|
271
260
|
connectedCallback() {
|
|
272
261
|
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach((e) => e.hostConnected?.());
|
|
@@ -281,14 +270,14 @@ var N = class extends HTMLElement {
|
|
|
281
270
|
_$ET(e, t) {
|
|
282
271
|
let n = this.constructor.elementProperties.get(e), r = this.constructor._$Eu(e, n);
|
|
283
272
|
if (r !== void 0 && !0 === n.reflect) {
|
|
284
|
-
let i = (n.converter?.toAttribute === void 0 ?
|
|
273
|
+
let i = (n.converter?.toAttribute === void 0 ? ee : n.converter).toAttribute(t, n.type);
|
|
285
274
|
this._$Em = e, i == null ? this.removeAttribute(r) : this.setAttribute(r, i), this._$Em = null;
|
|
286
275
|
}
|
|
287
276
|
}
|
|
288
277
|
_$AK(e, t) {
|
|
289
278
|
let n = this.constructor, r = n._$Eh.get(e);
|
|
290
279
|
if (r !== void 0 && this._$Em !== r) {
|
|
291
|
-
let e = n.getPropertyOptions(r), i = typeof e.converter == "function" ? { fromAttribute: e.converter } : e.converter?.fromAttribute === void 0 ?
|
|
280
|
+
let e = n.getPropertyOptions(r), i = typeof e.converter == "function" ? { fromAttribute: e.converter } : e.converter?.fromAttribute === void 0 ? ee : e.converter;
|
|
292
281
|
this._$Em = r;
|
|
293
282
|
let a = i.fromAttribute(t, e.type);
|
|
294
283
|
this[r] = a ?? this._$Ej?.get(r) ?? a, this._$Em = null;
|
|
@@ -297,7 +286,7 @@ var N = class extends HTMLElement {
|
|
|
297
286
|
requestUpdate(e, t, n, r = !1, i) {
|
|
298
287
|
if (e !== void 0) {
|
|
299
288
|
let a = this.constructor;
|
|
300
|
-
if (!1 === r && (i = this[e]), n ??= a.getPropertyOptions(e), !((n.hasChanged ??
|
|
289
|
+
if (!1 === r && (i = this[e]), n ??= a.getPropertyOptions(e), !((n.hasChanged ?? te)(i, t) || n.useDefault && n.reflect && i === this._$Ej?.get(e) && !this.hasAttribute(a._$Eu(e, n)))) return;
|
|
301
290
|
this.C(e, t, n);
|
|
302
291
|
}
|
|
303
292
|
!1 === this.isUpdatePending && (this._$ES = this._$EP());
|
|
@@ -361,51 +350,51 @@ var N = class extends HTMLElement {
|
|
|
361
350
|
updated(e) {}
|
|
362
351
|
firstUpdated(e) {}
|
|
363
352
|
};
|
|
364
|
-
N.elementStyles = [], N.shadowRootOptions = { mode: "open" }, N[M("elementProperties")] = /* @__PURE__ */ new Map(), N[M("finalized")] = /* @__PURE__ */ new Map(),
|
|
353
|
+
N.elementStyles = [], N.shadowRootOptions = { mode: "open" }, N[M("elementProperties")] = /* @__PURE__ */ new Map(), N[M("finalized")] = /* @__PURE__ */ new Map(), j?.({ ReactiveElement: N }), (O.reactiveElementVersions ??= []).push("2.1.2");
|
|
365
354
|
// node_modules/lit-html/lit-html.js
|
|
366
|
-
var
|
|
355
|
+
var re = globalThis, ie = (e) => e, P = re.trustedTypes, ae = P ? P.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, oe = "$lit$", F = `lit$${Math.random().toFixed(9).slice(2)}$`, se = "?" + F, ce = `<${se}>`, I = document, L = () => I.createComment(""), R = (e) => e === null || typeof e != "object" && typeof e != "function", le = Array.isArray, ue = (e) => le(e) || typeof e?.[Symbol.iterator] == "function", de = "[ \n\f\r]", z = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, fe = /-->/g, pe = />/g, B = RegExp(`>|${de}(?:([^\\s"'>=/]+)(${de}*=${de}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"), me = /'/g, he = /"/g, ge = /^(?:script|style|textarea|title)$/i, _e = ((e) => (t, ...n) => ({
|
|
367
356
|
_$litType$: e,
|
|
368
357
|
strings: t,
|
|
369
358
|
values: n
|
|
370
|
-
}))(1), V = Symbol.for("lit-noChange"), H = Symbol.for("lit-nothing"),
|
|
371
|
-
function
|
|
372
|
-
if (!
|
|
373
|
-
return
|
|
359
|
+
}))(1), V = Symbol.for("lit-noChange"), H = Symbol.for("lit-nothing"), ve = /* @__PURE__ */ new WeakMap(), U = I.createTreeWalker(I, 129);
|
|
360
|
+
function ye(e, t) {
|
|
361
|
+
if (!le(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
362
|
+
return ae === void 0 ? t : ae.createHTML(t);
|
|
374
363
|
}
|
|
375
|
-
var
|
|
364
|
+
var be = (e, t) => {
|
|
376
365
|
let n = e.length - 1, r = [], i, a = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = z;
|
|
377
366
|
for (let t = 0; t < n; t++) {
|
|
378
367
|
let n = e[t], s, c, l = -1, u = 0;
|
|
379
|
-
for (; u < n.length && (o.lastIndex = u, c = o.exec(n), c !== null);) u = o.lastIndex, o === z ? c[1] === "!--" ? o =
|
|
368
|
+
for (; u < n.length && (o.lastIndex = u, c = o.exec(n), c !== null);) u = o.lastIndex, o === z ? c[1] === "!--" ? o = fe : c[1] === void 0 ? c[2] === void 0 ? c[3] !== void 0 && (o = B) : (ge.test(c[2]) && (i = RegExp("</" + c[2], "g")), o = B) : o = pe : o === B ? c[0] === ">" ? (o = i ?? z, l = -1) : c[1] === void 0 ? l = -2 : (l = o.lastIndex - c[2].length, s = c[1], o = c[3] === void 0 ? B : c[3] === "\"" ? he : me) : o === he || o === me ? o = B : o === fe || o === pe ? o = z : (o = B, i = void 0);
|
|
380
369
|
let d = o === B && e[t + 1].startsWith("/>") ? " " : "";
|
|
381
|
-
a += o === z ? n +
|
|
370
|
+
a += o === z ? n + ce : l >= 0 ? (r.push(s), n.slice(0, l) + oe + n.slice(l) + F + d) : n + F + (l === -2 ? t : d);
|
|
382
371
|
}
|
|
383
|
-
return [
|
|
384
|
-
},
|
|
372
|
+
return [ye(e, a + (e[n] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), r];
|
|
373
|
+
}, xe = class e {
|
|
385
374
|
constructor({ strings: t, _$litType$: n }, r) {
|
|
386
375
|
let i;
|
|
387
376
|
this.parts = [];
|
|
388
|
-
let a = 0, o = 0, s = t.length - 1, c = this.parts, [l, u] =
|
|
377
|
+
let a = 0, o = 0, s = t.length - 1, c = this.parts, [l, u] = be(t, n);
|
|
389
378
|
if (this.el = e.createElement(l, r), U.currentNode = this.el.content, n === 2 || n === 3) {
|
|
390
379
|
let e = this.el.content.firstChild;
|
|
391
380
|
e.replaceWith(...e.childNodes);
|
|
392
381
|
}
|
|
393
382
|
for (; (i = U.nextNode()) !== null && c.length < s;) {
|
|
394
383
|
if (i.nodeType === 1) {
|
|
395
|
-
if (i.hasAttributes()) for (let e of i.getAttributeNames()) if (e.endsWith(
|
|
384
|
+
if (i.hasAttributes()) for (let e of i.getAttributeNames()) if (e.endsWith(oe)) {
|
|
396
385
|
let t = u[o++], n = i.getAttribute(e).split(F), r = /([.?@])?(.*)/.exec(t);
|
|
397
386
|
c.push({
|
|
398
387
|
type: 1,
|
|
399
388
|
index: a,
|
|
400
389
|
name: r[2],
|
|
401
390
|
strings: n,
|
|
402
|
-
ctor: r[1] === "." ?
|
|
391
|
+
ctor: r[1] === "." ? Ce : r[1] === "?" ? we : r[1] === "@" ? Te : K
|
|
403
392
|
}), i.removeAttribute(e);
|
|
404
393
|
} else e.startsWith(F) && (c.push({
|
|
405
394
|
type: 6,
|
|
406
395
|
index: a
|
|
407
396
|
}), i.removeAttribute(e));
|
|
408
|
-
if (
|
|
397
|
+
if (ge.test(i.tagName)) {
|
|
409
398
|
let e = i.textContent.split(F), t = e.length - 1;
|
|
410
399
|
if (t > 0) {
|
|
411
400
|
i.textContent = P ? P.emptyScript : "";
|
|
@@ -417,7 +406,7 @@ var Se = (e, t) => {
|
|
|
417
406
|
}
|
|
418
407
|
}
|
|
419
408
|
} else if (i.nodeType === 8) {
|
|
420
|
-
if (i.data ===
|
|
409
|
+
if (i.data === se) c.push({
|
|
421
410
|
type: 2,
|
|
422
411
|
index: a
|
|
423
412
|
});
|
|
@@ -442,7 +431,7 @@ function W(e, t, n = e, r) {
|
|
|
442
431
|
let i = r === void 0 ? n._$Cl : n._$Co?.[r], a = R(t) ? void 0 : t._$litDirective$;
|
|
443
432
|
return i?.constructor !== a && (i?._$AO?.(!1), a === void 0 ? i = void 0 : (i = new a(e), i._$AT(e, n, r)), r === void 0 ? n._$Cl = i : (n._$Co ??= [])[r] = i), i !== void 0 && (t = W(e, i._$AS(e, t.values), i, r)), t;
|
|
444
433
|
}
|
|
445
|
-
var
|
|
434
|
+
var Se = class {
|
|
446
435
|
constructor(e, t) {
|
|
447
436
|
this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
|
|
448
437
|
}
|
|
@@ -459,7 +448,7 @@ var we = class {
|
|
|
459
448
|
for (; s !== void 0;) {
|
|
460
449
|
if (a === s.index) {
|
|
461
450
|
let t;
|
|
462
|
-
s.type === 2 ? t = new G(i, i.nextSibling, this, e) : s.type === 1 ? t = new s.ctor(i, s.name, s.strings, this, e) : s.type === 6 && (t = new
|
|
451
|
+
s.type === 2 ? t = new G(i, i.nextSibling, this, e) : s.type === 1 ? t = new s.ctor(i, s.name, s.strings, this, e) : s.type === 6 && (t = new Ee(i, this, e)), this._$AV.push(t), s = n[++o];
|
|
463
452
|
}
|
|
464
453
|
a !== s?.index && (i = U.nextNode(), a++);
|
|
465
454
|
}
|
|
@@ -487,7 +476,7 @@ var we = class {
|
|
|
487
476
|
return this._$AB;
|
|
488
477
|
}
|
|
489
478
|
_$AI(e, t = this) {
|
|
490
|
-
e = W(this, e, t), R(e) ? e === H || e == null || e === "" ? (this._$AH !== H && this._$AR(), this._$AH = H) : e !== this._$AH && e !== V && this._(e) : e._$litType$ === void 0 ? e.nodeType === void 0 ?
|
|
479
|
+
e = W(this, e, t), R(e) ? e === H || e == null || e === "" ? (this._$AH !== H && this._$AR(), this._$AH = H) : e !== this._$AH && e !== V && this._(e) : e._$litType$ === void 0 ? e.nodeType === void 0 ? ue(e) ? this.k(e) : this._(e) : this.T(e) : this.$(e);
|
|
491
480
|
}
|
|
492
481
|
O(e) {
|
|
493
482
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -499,27 +488,27 @@ var we = class {
|
|
|
499
488
|
this._$AH !== H && R(this._$AH) ? this._$AA.nextSibling.data = e : this.T(I.createTextNode(e)), this._$AH = e;
|
|
500
489
|
}
|
|
501
490
|
$(e) {
|
|
502
|
-
let { values: t, _$litType$: n } = e, r = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el =
|
|
491
|
+
let { values: t, _$litType$: n } = e, r = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el = xe.createElement(ye(n.h, n.h[0]), this.options)), n);
|
|
503
492
|
if (this._$AH?._$AD === r) this._$AH.p(t);
|
|
504
493
|
else {
|
|
505
|
-
let e = new
|
|
494
|
+
let e = new Se(r, this), n = e.u(this.options);
|
|
506
495
|
e.p(t), this.T(n), this._$AH = e;
|
|
507
496
|
}
|
|
508
497
|
}
|
|
509
498
|
_$AC(e) {
|
|
510
|
-
let t =
|
|
511
|
-
return t === void 0 &&
|
|
499
|
+
let t = ve.get(e.strings);
|
|
500
|
+
return t === void 0 && ve.set(e.strings, t = new xe(e)), t;
|
|
512
501
|
}
|
|
513
502
|
k(t) {
|
|
514
|
-
|
|
503
|
+
le(this._$AH) || (this._$AH = [], this._$AR());
|
|
515
504
|
let n = this._$AH, r, i = 0;
|
|
516
505
|
for (let a of t) i === n.length ? n.push(r = new e(this.O(L()), this.O(L()), this, this.options)) : r = n[i], r._$AI(a), i++;
|
|
517
506
|
i < n.length && (this._$AR(r && r._$AB.nextSibling, i), n.length = i);
|
|
518
507
|
}
|
|
519
508
|
_$AR(e = this._$AA.nextSibling, t) {
|
|
520
509
|
for (this._$AP?.(!1, !0, t); e !== this._$AB;) {
|
|
521
|
-
let t =
|
|
522
|
-
|
|
510
|
+
let t = ie(e).nextSibling;
|
|
511
|
+
ie(e).remove(), e = t;
|
|
523
512
|
}
|
|
524
513
|
}
|
|
525
514
|
setConnected(e) {
|
|
@@ -547,21 +536,21 @@ var we = class {
|
|
|
547
536
|
j(e) {
|
|
548
537
|
e === H ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
|
|
549
538
|
}
|
|
550
|
-
},
|
|
539
|
+
}, Ce = class extends K {
|
|
551
540
|
constructor() {
|
|
552
541
|
super(...arguments), this.type = 3;
|
|
553
542
|
}
|
|
554
543
|
j(e) {
|
|
555
544
|
this.element[this.name] = e === H ? void 0 : e;
|
|
556
545
|
}
|
|
557
|
-
},
|
|
546
|
+
}, we = class extends K {
|
|
558
547
|
constructor() {
|
|
559
548
|
super(...arguments), this.type = 4;
|
|
560
549
|
}
|
|
561
550
|
j(e) {
|
|
562
551
|
this.element.toggleAttribute(this.name, !!e && e !== H);
|
|
563
552
|
}
|
|
564
|
-
},
|
|
553
|
+
}, Te = class extends K {
|
|
565
554
|
constructor(e, t, n, r, i) {
|
|
566
555
|
super(e, t, n, r, i), this.type = 5;
|
|
567
556
|
}
|
|
@@ -573,7 +562,7 @@ var we = class {
|
|
|
573
562
|
handleEvent(e) {
|
|
574
563
|
typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, e) : this._$AH.handleEvent(e);
|
|
575
564
|
}
|
|
576
|
-
},
|
|
565
|
+
}, Ee = class {
|
|
577
566
|
constructor(e, t, n) {
|
|
578
567
|
this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = n;
|
|
579
568
|
}
|
|
@@ -583,31 +572,31 @@ var we = class {
|
|
|
583
572
|
_$AI(e) {
|
|
584
573
|
W(this, e);
|
|
585
574
|
}
|
|
586
|
-
},
|
|
587
|
-
M:
|
|
575
|
+
}, De = {
|
|
576
|
+
M: oe,
|
|
588
577
|
P: F,
|
|
589
|
-
A:
|
|
578
|
+
A: se,
|
|
590
579
|
C: 1,
|
|
591
|
-
L:
|
|
592
|
-
R:
|
|
593
|
-
D:
|
|
580
|
+
L: be,
|
|
581
|
+
R: Se,
|
|
582
|
+
D: ue,
|
|
594
583
|
V: W,
|
|
595
584
|
I: G,
|
|
596
585
|
H: K,
|
|
597
|
-
N:
|
|
598
|
-
U:
|
|
599
|
-
B:
|
|
600
|
-
F:
|
|
601
|
-
},
|
|
602
|
-
|
|
603
|
-
var
|
|
586
|
+
N: we,
|
|
587
|
+
U: Te,
|
|
588
|
+
B: Ce,
|
|
589
|
+
F: Ee
|
|
590
|
+
}, Oe = re.litHtmlPolyfillSupport;
|
|
591
|
+
Oe?.(xe, G), (re.litHtmlVersions ??= []).push("3.3.3");
|
|
592
|
+
var ke = (e, t, n) => {
|
|
604
593
|
let r = n?.renderBefore ?? t, i = r._$litPart$;
|
|
605
594
|
if (i === void 0) {
|
|
606
595
|
let e = n?.renderBefore ?? null;
|
|
607
596
|
r._$litPart$ = i = new G(t.insertBefore(L(), e), e, void 0, n ?? {});
|
|
608
597
|
}
|
|
609
598
|
return i._$AI(e), i;
|
|
610
|
-
},
|
|
599
|
+
}, Ae = globalThis, q = class extends N {
|
|
611
600
|
constructor() {
|
|
612
601
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
613
602
|
}
|
|
@@ -617,7 +606,7 @@ var je = (e, t, n) => {
|
|
|
617
606
|
}
|
|
618
607
|
update(e) {
|
|
619
608
|
let t = this.render();
|
|
620
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do =
|
|
609
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = ke(t, this.renderRoot, this.renderOptions);
|
|
621
610
|
}
|
|
622
611
|
connectedCallback() {
|
|
623
612
|
super.connectedCallback(), this._$Do?.setConnected(!0);
|
|
@@ -629,25 +618,25 @@ var je = (e, t, n) => {
|
|
|
629
618
|
return V;
|
|
630
619
|
}
|
|
631
620
|
};
|
|
632
|
-
q._$litElement$ = !0, q.finalized = !0,
|
|
633
|
-
var
|
|
634
|
-
|
|
621
|
+
q._$litElement$ = !0, q.finalized = !0, Ae.litElementHydrateSupport?.({ LitElement: q });
|
|
622
|
+
var je = Ae.litElementPolyfillSupport;
|
|
623
|
+
je?.({ LitElement: q }), (Ae.litElementVersions ??= []).push("4.2.2");
|
|
635
624
|
// src/lib/components/web-component/WebComponent.styles.css
|
|
636
|
-
var
|
|
625
|
+
var Me = y`/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid}::file-selector-button{box-sizing:border-box;border:0 solid}a,abbr,address,area,article,aside,audio,b,base,bdi,bdo,blockquote,body,br,button,canvas,caption,cite,code,col,colgroup,data,datalist,dd,del,details,dfn,dialog,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,i,iframe,img,input,ins,kbd,label,legend,li,link,main,map,mark,menu,meta,meter,nav,noscript,object,ol,optgroup,option,output,p,picture,pre,progress,q,rp,rt,ruby,s,samp,script,search,section,select,slot,small,source,span,strong,style,sub,summary,sup,table,tbody,td,template,textarea,tfoot,th,thead,time,title,tr,track,u,ul,var,video,wbr,:after,:before,::backdrop{margin:0;padding:0}::file-selector-button{margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}`;
|
|
637
626
|
// src/lib/components/web-component/WebComponent.ts
|
|
638
627
|
function J(e, t, n) {
|
|
639
|
-
return (t =
|
|
628
|
+
return (t = Ne(t)) in e ? Object.defineProperty(e, t, {
|
|
640
629
|
value: n,
|
|
641
630
|
enumerable: !0,
|
|
642
631
|
configurable: !0,
|
|
643
632
|
writable: !0
|
|
644
633
|
}) : e[t] = n, e;
|
|
645
634
|
}
|
|
646
|
-
function
|
|
647
|
-
var t =
|
|
635
|
+
function Ne(e) {
|
|
636
|
+
var t = Pe(e, "string");
|
|
648
637
|
return typeof t == "symbol" ? t : t + "";
|
|
649
638
|
}
|
|
650
|
-
function
|
|
639
|
+
function Pe(e, t) {
|
|
651
640
|
if (typeof e != "object" || !e) return e;
|
|
652
641
|
var n;
|
|
653
642
|
if (typeof Symbol < "u" && (n = e[Symbol.toPrimitive]) !== void 0) {
|
|
@@ -657,12 +646,12 @@ function Ie(e, t) {
|
|
|
657
646
|
}
|
|
658
647
|
return (t === "string" ? String : Number)(e);
|
|
659
648
|
}
|
|
660
|
-
var
|
|
649
|
+
var Fe = Symbol("WebComponentMetadata"), Y = class extends q {
|
|
661
650
|
constructor(...e) {
|
|
662
|
-
super(...e), J(this,
|
|
651
|
+
super(...e), J(this, Fe, void 0), J(this, "internals", void 0), J(this, "globalListeners", []), J(this, "traits", []);
|
|
663
652
|
}
|
|
664
653
|
static finalizeStyles(e) {
|
|
665
|
-
return [
|
|
654
|
+
return [Me, ...super.finalizeStyles(e)];
|
|
666
655
|
}
|
|
667
656
|
disconnectedCallback() {
|
|
668
657
|
super.disconnectedCallback();
|
|
@@ -690,7 +679,7 @@ var Le = Symbol("WebComponentMetadata"), Y = class extends q {
|
|
|
690
679
|
this.globalListeners.push([e, t]), window.addEventListener(e, t);
|
|
691
680
|
}
|
|
692
681
|
render() {
|
|
693
|
-
return
|
|
682
|
+
return _e`<slot></slot>`;
|
|
694
683
|
}
|
|
695
684
|
getInternals() {
|
|
696
685
|
return this.internals ??= this.attachInternals(), this.internals;
|
|
@@ -704,32 +693,32 @@ var Le = Symbol("WebComponentMetadata"), Y = class extends q {
|
|
|
704
693
|
};
|
|
705
694
|
J(Y, "states", void 0);
|
|
706
695
|
// src/lib/components/dialog-component/DialogComponent.ts
|
|
707
|
-
var
|
|
708
|
-
function
|
|
709
|
-
|
|
696
|
+
var Ie, Le, Re, ze, Be;
|
|
697
|
+
function Ve(e, t, n) {
|
|
698
|
+
He(e, t), t.set(e, n);
|
|
710
699
|
}
|
|
711
|
-
function
|
|
700
|
+
function He(e, t) {
|
|
712
701
|
if (t.has(e)) throw TypeError("Cannot initialize the same private elements twice on an object");
|
|
713
702
|
}
|
|
714
|
-
function
|
|
715
|
-
return (t =
|
|
703
|
+
function Ue(e, t, n) {
|
|
704
|
+
return (t = Je(t)) in e ? Object.defineProperty(e, t, {
|
|
716
705
|
value: n,
|
|
717
706
|
enumerable: !0,
|
|
718
707
|
configurable: !0,
|
|
719
708
|
writable: !0
|
|
720
709
|
}) : e[t] = n, e;
|
|
721
710
|
}
|
|
722
|
-
function
|
|
723
|
-
return e.set(
|
|
711
|
+
function We(e, t, n) {
|
|
712
|
+
return e.set(Ke(e, t), n), n;
|
|
724
713
|
}
|
|
725
|
-
function
|
|
726
|
-
return e.get(
|
|
714
|
+
function Ge(e, t) {
|
|
715
|
+
return e.get(Ke(e, t));
|
|
727
716
|
}
|
|
728
|
-
function
|
|
717
|
+
function Ke(e, t, n) {
|
|
729
718
|
if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
|
|
730
719
|
throw TypeError("Private element is not present on this object");
|
|
731
720
|
}
|
|
732
|
-
function
|
|
721
|
+
function qe(e, t, n, r, i, a) {
|
|
733
722
|
function o(e, t, n) {
|
|
734
723
|
return function(r, i) {
|
|
735
724
|
return n && n(r), e[t].call(r, i);
|
|
@@ -752,13 +741,13 @@ function Ye(e, t, n, r, i, a) {
|
|
|
752
741
|
n || Array.isArray(_) || (_ = [_]);
|
|
753
742
|
var b = {}, x = [], S = i === 3 ? "get" : i === 4 || p ? "set" : "value";
|
|
754
743
|
d ? (f || p ? b = {
|
|
755
|
-
get:
|
|
744
|
+
get: Xe(function() {
|
|
756
745
|
return v(this);
|
|
757
746
|
}, r, "get"),
|
|
758
747
|
set: function(e) {
|
|
759
748
|
t[4](this, e);
|
|
760
749
|
}
|
|
761
|
-
} : b[S] = v, f ||
|
|
750
|
+
} : b[S] = v, f || Xe(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
|
|
762
751
|
}
|
|
763
752
|
for (var C = e, w = _.length - 1; w >= 0; w -= n ? 2 : 1) {
|
|
764
753
|
var T = _[w], E = n ? _[w - 1] : void 0, D = {}, O = {
|
|
@@ -818,7 +807,7 @@ function Ye(e, t, n, r, i, a) {
|
|
|
818
807
|
if (arguments.length >= 6) var d = a[Symbol.metadata || Symbol.for("Symbol.metadata")];
|
|
819
808
|
var f = Object.create(d ?? null), p = function(e, t, n, r) {
|
|
820
809
|
var i, a, o = [], c = function(t) {
|
|
821
|
-
return
|
|
810
|
+
return Ze(t) === e;
|
|
822
811
|
}, u = /* @__PURE__ */ new Map();
|
|
823
812
|
function d(e) {
|
|
824
813
|
e && o.push(s.bind(null, e));
|
|
@@ -832,7 +821,7 @@ function Ye(e, t, n, r, i, a) {
|
|
|
832
821
|
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);
|
|
833
822
|
u.set(b, !(m > 2) || m);
|
|
834
823
|
}
|
|
835
|
-
l(v ? e : e.prototype, p, _, g ? "#" + h :
|
|
824
|
+
l(v ? e : e.prototype, p, _, g ? "#" + h : Je(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
|
|
836
825
|
}
|
|
837
826
|
}
|
|
838
827
|
return d(i), d(a), o;
|
|
@@ -845,11 +834,11 @@ function Ye(e, t, n, r, i, a) {
|
|
|
845
834
|
}
|
|
846
835
|
};
|
|
847
836
|
}
|
|
848
|
-
function
|
|
849
|
-
var t =
|
|
837
|
+
function Je(e) {
|
|
838
|
+
var t = Ye(e, "string");
|
|
850
839
|
return typeof t == "symbol" ? t : t + "";
|
|
851
840
|
}
|
|
852
|
-
function
|
|
841
|
+
function Ye(e, t) {
|
|
853
842
|
if (typeof e != "object" || !e) return e;
|
|
854
843
|
var n;
|
|
855
844
|
if (typeof Symbol < "u" && (n = e[Symbol.toPrimitive]) !== void 0) {
|
|
@@ -859,7 +848,7 @@ function Ze(e, t) {
|
|
|
859
848
|
}
|
|
860
849
|
return (t === "string" ? String : Number)(e);
|
|
861
850
|
}
|
|
862
|
-
function
|
|
851
|
+
function Xe(e, t, n) {
|
|
863
852
|
typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
|
|
864
853
|
try {
|
|
865
854
|
Object.defineProperty(e, "name", {
|
|
@@ -869,42 +858,42 @@ function Qe(e, t, n) {
|
|
|
869
858
|
} catch {}
|
|
870
859
|
return e;
|
|
871
860
|
}
|
|
872
|
-
function
|
|
861
|
+
function Ze(e) {
|
|
873
862
|
if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
|
|
874
863
|
return e;
|
|
875
864
|
}
|
|
876
|
-
var
|
|
877
|
-
|
|
865
|
+
var Qe = /*#__PURE__*/ new WeakMap();
|
|
866
|
+
Be = (Re = r({
|
|
878
867
|
context: o,
|
|
879
868
|
subscribe: !0
|
|
880
869
|
}), "dialogTrait");
|
|
881
|
-
var
|
|
870
|
+
var $e = class extends Y {
|
|
882
871
|
get context() {
|
|
883
|
-
return
|
|
872
|
+
return Ge(Qe, this);
|
|
884
873
|
}
|
|
885
874
|
set context(e) {
|
|
886
|
-
|
|
875
|
+
We(Qe, this, e);
|
|
887
876
|
}
|
|
888
877
|
constructor() {
|
|
889
|
-
super(),
|
|
878
|
+
super(), Ue(this, Be, void Le(this)), Ve(this, Qe, ze(this, a)), this.dialogTrait = this.addTrait(new f(this, { getContext: () => this.context }));
|
|
890
879
|
}
|
|
891
880
|
close(e) {
|
|
892
881
|
this.dialogTrait.close(e);
|
|
893
882
|
}
|
|
894
883
|
};
|
|
895
|
-
|
|
896
|
-
|
|
884
|
+
Ie = $e, [ze, Le] = qe(Ie, [[
|
|
885
|
+
Re,
|
|
897
886
|
1,
|
|
898
887
|
"context"
|
|
899
888
|
]], [], 0, void 0, Y).e;
|
|
900
889
|
// node_modules/@lit/reactive-element/decorators/property.js
|
|
901
|
-
var
|
|
890
|
+
var et = {
|
|
902
891
|
attribute: !0,
|
|
903
892
|
type: String,
|
|
904
|
-
converter:
|
|
893
|
+
converter: ee,
|
|
905
894
|
reflect: !1,
|
|
906
|
-
hasChanged:
|
|
907
|
-
},
|
|
895
|
+
hasChanged: te
|
|
896
|
+
}, tt = (e = et, t, n) => {
|
|
908
897
|
let { kind: r, metadata: i } = n, a = globalThis.litPropertyMetadata.get(i);
|
|
909
898
|
if (a === void 0 && globalThis.litPropertyMetadata.set(i, a = /* @__PURE__ */ new Map()), r === "setter" && ((e = Object.create(e)).wrapped = !0), a.set(n.name, e), r === "accessor") {
|
|
910
899
|
let { name: r } = n;
|
|
@@ -928,13 +917,13 @@ var nt = {
|
|
|
928
917
|
throw Error("Unsupported decorator location: " + r);
|
|
929
918
|
};
|
|
930
919
|
function X(e) {
|
|
931
|
-
return (t, n) => typeof n == "object" ?
|
|
920
|
+
return (t, n) => typeof n == "object" ? tt(e, t, n) : ((e, t, n) => {
|
|
932
921
|
let r = t.hasOwnProperty(n);
|
|
933
922
|
return t.constructor.createProperty(n, e), r ? Object.getOwnPropertyDescriptor(t, n) : void 0;
|
|
934
923
|
})(e, t, n);
|
|
935
924
|
}
|
|
936
925
|
// node_modules/@lit/reactive-element/decorators/state.js
|
|
937
|
-
function
|
|
926
|
+
function nt(e) {
|
|
938
927
|
return X({
|
|
939
928
|
...e,
|
|
940
929
|
state: !0,
|
|
@@ -942,19 +931,19 @@ function it(e) {
|
|
|
942
931
|
});
|
|
943
932
|
}
|
|
944
933
|
// src/lib/components/traits/FormControlTrait.ts
|
|
945
|
-
function
|
|
946
|
-
return (t =
|
|
934
|
+
function rt(e, t, n) {
|
|
935
|
+
return (t = it(t)) in e ? Object.defineProperty(e, t, {
|
|
947
936
|
value: n,
|
|
948
937
|
enumerable: !0,
|
|
949
938
|
configurable: !0,
|
|
950
939
|
writable: !0
|
|
951
940
|
}) : e[t] = n, e;
|
|
952
941
|
}
|
|
953
|
-
function
|
|
954
|
-
var t =
|
|
942
|
+
function it(e) {
|
|
943
|
+
var t = at(e, "string");
|
|
955
944
|
return typeof t == "symbol" ? t : t + "";
|
|
956
945
|
}
|
|
957
|
-
function
|
|
946
|
+
function at(e, t) {
|
|
958
947
|
if (typeof e != "object" || !e) return e;
|
|
959
948
|
var n;
|
|
960
949
|
if (typeof Symbol < "u" && (n = e[Symbol.toPrimitive]) !== void 0) {
|
|
@@ -964,9 +953,9 @@ function st(e, t) {
|
|
|
964
953
|
}
|
|
965
954
|
return (t === "string" ? String : Number)(e);
|
|
966
955
|
}
|
|
967
|
-
var
|
|
956
|
+
var ot = class {
|
|
968
957
|
constructor(e, t) {
|
|
969
|
-
|
|
958
|
+
rt(this, "controlId", void 0), rt(this, "labelId", void 0), rt(this, "target", void 0), rt(this, "config", void 0), this.config = t, this.controlId = `control-${i()}`, this.labelId = `label-${this.controlId}`, this.target = e;
|
|
970
959
|
}
|
|
971
960
|
firstUpdated() {
|
|
972
961
|
this.config.getInternals().setFormValue(this.target.value ?? ""), this.updateValidity();
|
|
@@ -978,7 +967,7 @@ var ct = class {
|
|
|
978
967
|
this.target.value = "", this.config.getInternals().setFormValue(""), this.updateValidity();
|
|
979
968
|
}
|
|
980
969
|
renderLabel() {
|
|
981
|
-
return this.target.label ?
|
|
970
|
+
return this.target.label ? _e`<label id="${this.labelId}" for="${this.controlId}" class=${this.target.srOnlyLabel ? "sr-only" : H}>${this.target.label}</label>` : H;
|
|
982
971
|
}
|
|
983
972
|
onInput() {
|
|
984
973
|
this.setValue(this.config.getControlElement()?.value ?? null);
|
|
@@ -996,15 +985,15 @@ var ct = class {
|
|
|
996
985
|
let e = this.config.getInternals();
|
|
997
986
|
this.target.required && (this.target.value ?? "") === "" ? e.setValidity({ valueMissing: !0 }, "Please fill out this field.", this.config.getControlElement() ?? void 0) : e.setValidity({});
|
|
998
987
|
}
|
|
999
|
-
}, lt, ut, dt, ft, pt, mt, ht, gt, _t, vt, yt, bt, xt, St, Ct
|
|
988
|
+
}, st, ct, lt, ut, dt, ft, pt, mt, ht, gt, _t, vt, yt, bt, xt, St, Ct;
|
|
1000
989
|
function Z(e, t, n) {
|
|
1001
|
-
|
|
990
|
+
wt(e, t), t.set(e, n);
|
|
1002
991
|
}
|
|
1003
|
-
function
|
|
992
|
+
function wt(e, t) {
|
|
1004
993
|
if (t.has(e)) throw TypeError("Cannot initialize the same private elements twice on an object");
|
|
1005
994
|
}
|
|
1006
|
-
function
|
|
1007
|
-
return (t =
|
|
995
|
+
function Tt(e, t, n) {
|
|
996
|
+
return (t = Ot(t)) in e ? Object.defineProperty(e, t, {
|
|
1008
997
|
value: n,
|
|
1009
998
|
enumerable: !0,
|
|
1010
999
|
configurable: !0,
|
|
@@ -1012,16 +1001,16 @@ function Dt(e, t, n) {
|
|
|
1012
1001
|
}) : e[t] = n, e;
|
|
1013
1002
|
}
|
|
1014
1003
|
function Q(e, t, n) {
|
|
1015
|
-
return e.set(
|
|
1004
|
+
return e.set(Et(e, t), n), n;
|
|
1016
1005
|
}
|
|
1017
1006
|
function $(e, t) {
|
|
1018
|
-
return e.get(
|
|
1007
|
+
return e.get(Et(e, t));
|
|
1019
1008
|
}
|
|
1020
|
-
function
|
|
1009
|
+
function Et(e, t, n) {
|
|
1021
1010
|
if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
|
|
1022
1011
|
throw TypeError("Private element is not present on this object");
|
|
1023
1012
|
}
|
|
1024
|
-
function
|
|
1013
|
+
function Dt(e, t, n, r, i, a) {
|
|
1025
1014
|
function o(e, t, n) {
|
|
1026
1015
|
return function(r, i) {
|
|
1027
1016
|
return n && n(r), e[t].call(r, i);
|
|
@@ -1044,13 +1033,13 @@ function kt(e, t, n, r, i, a) {
|
|
|
1044
1033
|
n || Array.isArray(_) || (_ = [_]);
|
|
1045
1034
|
var b = {}, x = [], S = i === 3 ? "get" : i === 4 || p ? "set" : "value";
|
|
1046
1035
|
d ? (f || p ? b = {
|
|
1047
|
-
get:
|
|
1036
|
+
get: At(function() {
|
|
1048
1037
|
return v(this);
|
|
1049
1038
|
}, r, "get"),
|
|
1050
1039
|
set: function(e) {
|
|
1051
1040
|
t[4](this, e);
|
|
1052
1041
|
}
|
|
1053
|
-
} : b[S] = v, f ||
|
|
1042
|
+
} : b[S] = v, f || At(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
|
|
1054
1043
|
}
|
|
1055
1044
|
for (var C = e, w = _.length - 1; w >= 0; w -= n ? 2 : 1) {
|
|
1056
1045
|
var T = _[w], E = n ? _[w - 1] : void 0, D = {}, O = {
|
|
@@ -1110,7 +1099,7 @@ function kt(e, t, n, r, i, a) {
|
|
|
1110
1099
|
if (arguments.length >= 6) var d = a[Symbol.metadata || Symbol.for("Symbol.metadata")];
|
|
1111
1100
|
var f = Object.create(d ?? null), p = function(e, t, n, r) {
|
|
1112
1101
|
var i, a, o = [], c = function(t) {
|
|
1113
|
-
return
|
|
1102
|
+
return jt(t) === e;
|
|
1114
1103
|
}, u = /* @__PURE__ */ new Map();
|
|
1115
1104
|
function d(e) {
|
|
1116
1105
|
e && o.push(s.bind(null, e));
|
|
@@ -1124,7 +1113,7 @@ function kt(e, t, n, r, i, a) {
|
|
|
1124
1113
|
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);
|
|
1125
1114
|
u.set(b, !(m > 2) || m);
|
|
1126
1115
|
}
|
|
1127
|
-
l(v ? e : e.prototype, p, _, g ? "#" + h :
|
|
1116
|
+
l(v ? e : e.prototype, p, _, g ? "#" + h : Ot(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
|
|
1128
1117
|
}
|
|
1129
1118
|
}
|
|
1130
1119
|
return d(i), d(a), o;
|
|
@@ -1137,11 +1126,11 @@ function kt(e, t, n, r, i, a) {
|
|
|
1137
1126
|
}
|
|
1138
1127
|
};
|
|
1139
1128
|
}
|
|
1140
|
-
function
|
|
1141
|
-
var t =
|
|
1129
|
+
function Ot(e) {
|
|
1130
|
+
var t = kt(e, "string");
|
|
1142
1131
|
return typeof t == "symbol" ? t : t + "";
|
|
1143
1132
|
}
|
|
1144
|
-
function
|
|
1133
|
+
function kt(e, t) {
|
|
1145
1134
|
if (typeof e != "object" || !e) return e;
|
|
1146
1135
|
var n;
|
|
1147
1136
|
if (typeof Symbol < "u" && (n = e[Symbol.toPrimitive]) !== void 0) {
|
|
@@ -1151,7 +1140,7 @@ function jt(e, t) {
|
|
|
1151
1140
|
}
|
|
1152
1141
|
return (t === "string" ? String : Number)(e);
|
|
1153
1142
|
}
|
|
1154
|
-
function
|
|
1143
|
+
function At(e, t, n) {
|
|
1155
1144
|
typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
|
|
1156
1145
|
try {
|
|
1157
1146
|
Object.defineProperty(e, "name", {
|
|
@@ -1161,118 +1150,118 @@ function Mt(e, t, n) {
|
|
|
1161
1150
|
} catch {}
|
|
1162
1151
|
return e;
|
|
1163
1152
|
}
|
|
1164
|
-
function
|
|
1153
|
+
function jt(e) {
|
|
1165
1154
|
if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
|
|
1166
1155
|
return e;
|
|
1167
1156
|
}
|
|
1168
|
-
var
|
|
1169
|
-
|
|
1157
|
+
var Mt = /*#__PURE__*/ new WeakMap(), Nt = /*#__PURE__*/ new WeakMap(), Pt = /*#__PURE__*/ new WeakMap(), Ft = /*#__PURE__*/ new WeakMap(), It = /*#__PURE__*/ new WeakMap(), Lt = /*#__PURE__*/ new WeakMap(), Rt = /*#__PURE__*/ new WeakMap();
|
|
1158
|
+
Ct = (lt = X({
|
|
1170
1159
|
type: String,
|
|
1171
1160
|
reflect: !0
|
|
1172
|
-
}),
|
|
1161
|
+
}), dt = X({
|
|
1173
1162
|
type: Boolean,
|
|
1174
1163
|
reflect: !0,
|
|
1175
1164
|
attribute: "sr-only-label"
|
|
1176
|
-
}),
|
|
1165
|
+
}), pt = X({
|
|
1177
1166
|
type: String,
|
|
1178
1167
|
reflect: !0
|
|
1179
|
-
}),
|
|
1168
|
+
}), ht = X(), _t = X({
|
|
1180
1169
|
type: String,
|
|
1181
1170
|
reflect: !0
|
|
1182
|
-
}),
|
|
1171
|
+
}), yt = X({
|
|
1183
1172
|
type: Boolean,
|
|
1184
1173
|
reflect: !0
|
|
1185
|
-
}),
|
|
1174
|
+
}), xt = X({
|
|
1186
1175
|
type: Boolean,
|
|
1187
1176
|
reflect: !0
|
|
1188
1177
|
}), "formAssociated");
|
|
1189
|
-
var
|
|
1178
|
+
var zt = class extends Y {
|
|
1190
1179
|
get label() {
|
|
1191
|
-
return $(
|
|
1180
|
+
return $(Mt, this);
|
|
1192
1181
|
}
|
|
1193
1182
|
set label(e) {
|
|
1194
|
-
Q(
|
|
1183
|
+
Q(Mt, this, e);
|
|
1195
1184
|
}
|
|
1196
1185
|
get srOnlyLabel() {
|
|
1197
|
-
return $(
|
|
1186
|
+
return $(Nt, this);
|
|
1198
1187
|
}
|
|
1199
1188
|
set srOnlyLabel(e) {
|
|
1200
|
-
Q(
|
|
1189
|
+
Q(Nt, this, e);
|
|
1201
1190
|
}
|
|
1202
1191
|
get name() {
|
|
1203
|
-
return $(
|
|
1192
|
+
return $(Pt, this);
|
|
1204
1193
|
}
|
|
1205
1194
|
set name(e) {
|
|
1206
|
-
Q(
|
|
1195
|
+
Q(Pt, this, e);
|
|
1207
1196
|
}
|
|
1208
1197
|
get value() {
|
|
1209
|
-
return $(
|
|
1198
|
+
return $(Ft, this);
|
|
1210
1199
|
}
|
|
1211
1200
|
set value(e) {
|
|
1212
|
-
Q(
|
|
1201
|
+
Q(Ft, this, e);
|
|
1213
1202
|
}
|
|
1214
1203
|
get placeholder() {
|
|
1215
|
-
return $(
|
|
1204
|
+
return $(It, this);
|
|
1216
1205
|
}
|
|
1217
1206
|
set placeholder(e) {
|
|
1218
|
-
Q(
|
|
1207
|
+
Q(It, this, e);
|
|
1219
1208
|
}
|
|
1220
1209
|
get required() {
|
|
1221
|
-
return $(
|
|
1210
|
+
return $(Lt, this);
|
|
1222
1211
|
}
|
|
1223
1212
|
set required(e) {
|
|
1224
|
-
Q(
|
|
1213
|
+
Q(Lt, this, e);
|
|
1225
1214
|
}
|
|
1226
1215
|
get disabled() {
|
|
1227
|
-
return $(
|
|
1216
|
+
return $(Rt, this);
|
|
1228
1217
|
}
|
|
1229
1218
|
set disabled(e) {
|
|
1230
|
-
Q(
|
|
1219
|
+
Q(Rt, this, e);
|
|
1231
1220
|
}
|
|
1232
1221
|
constructor() {
|
|
1233
|
-
super(), Z(this,
|
|
1222
|
+
super(), Z(this, Mt, (ct(this), ut(this, ""))), Z(this, Nt, ft(this, !1)), Z(this, Pt, mt(this, "")), Z(this, Ft, gt(this, null)), Z(this, It, vt(this, "")), Z(this, Lt, bt(this, !1)), Z(this, Rt, St(this, !1)), Tt(this, "controlTrait", void 0), this.controlTrait = this.addTrait(new ot(this, {
|
|
1234
1223
|
getControlElement: () => this.controlElement,
|
|
1235
1224
|
getInternals: () => this.getInternals()
|
|
1236
1225
|
}));
|
|
1237
1226
|
}
|
|
1238
1227
|
};
|
|
1239
|
-
|
|
1228
|
+
st = zt, [ut, ft, mt, gt, vt, bt, St, ct] = Dt(st, [
|
|
1240
1229
|
[
|
|
1241
|
-
|
|
1230
|
+
lt,
|
|
1242
1231
|
1,
|
|
1243
1232
|
"label"
|
|
1244
1233
|
],
|
|
1245
1234
|
[
|
|
1246
|
-
|
|
1235
|
+
dt,
|
|
1247
1236
|
1,
|
|
1248
1237
|
"srOnlyLabel"
|
|
1249
1238
|
],
|
|
1250
1239
|
[
|
|
1251
|
-
|
|
1240
|
+
pt,
|
|
1252
1241
|
1,
|
|
1253
1242
|
"name"
|
|
1254
1243
|
],
|
|
1255
1244
|
[
|
|
1256
|
-
|
|
1245
|
+
ht,
|
|
1257
1246
|
1,
|
|
1258
1247
|
"value"
|
|
1259
1248
|
],
|
|
1260
1249
|
[
|
|
1261
|
-
|
|
1250
|
+
_t,
|
|
1262
1251
|
1,
|
|
1263
1252
|
"placeholder"
|
|
1264
1253
|
],
|
|
1265
1254
|
[
|
|
1266
|
-
|
|
1255
|
+
yt,
|
|
1267
1256
|
1,
|
|
1268
1257
|
"required"
|
|
1269
1258
|
],
|
|
1270
1259
|
[
|
|
1271
|
-
|
|
1260
|
+
xt,
|
|
1272
1261
|
1,
|
|
1273
1262
|
"disabled"
|
|
1274
1263
|
]
|
|
1275
|
-
], [], 0, void 0, Y).e,
|
|
1276
|
-
export {
|
|
1264
|
+
], [], 0, void 0, Y).e, Tt(zt, Ct, !0);
|
|
1265
|
+
export { o as _, $e as a, t as b, H as c, De as d, te as f, a as g, c as h, X as i, V as l, f as m, ot as n, Y as o, y as p, nt as r, q as s, zt as t, _e as u, i as v, e as x, r as y };
|
|
1277
1266
|
|
|
1278
|
-
//# sourceMappingURL=components-
|
|
1267
|
+
//# sourceMappingURL=components-LxiwG5ae.js.map
|