solid-ui 5.0.2-4 → 5.0.2-6
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/acl/access-controller.cjs.js +1 -1
- package/dist/acl/access-controller.cjs.js.map +1 -1
- package/dist/acl/access-controller.esm.js +37 -37
- package/dist/acl/access-groups.cjs.js +2 -2
- package/dist/acl/access-groups.cjs.js.map +1 -1
- package/dist/acl/access-groups.esm.js +78 -78
- package/dist/acl/acl-control.cjs.js +1 -1
- package/dist/acl/acl-control.cjs.js.map +1 -1
- package/dist/acl/acl-control.esm.js +19 -19
- package/dist/acl/add-agent-buttons.cjs.js +1 -1
- package/dist/acl/add-agent-buttons.cjs.js.map +1 -1
- package/dist/acl/add-agent-buttons.esm.js +51 -51
- package/dist/chat/bookmarks.cjs.js +1 -1
- package/dist/chat/bookmarks.cjs.js.map +1 -1
- package/dist/chat/bookmarks.esm.js +44 -44
- package/dist/chat/bookmarks.esm.js.map +1 -1
- package/dist/chat/chatLogic.cjs.js +2 -2
- package/dist/chat/chatLogic.cjs.js.map +1 -1
- package/dist/chat/chatLogic.esm.js +54 -54
- package/dist/chat/dateFolder.cjs.js +1 -1
- package/dist/chat/dateFolder.cjs.js.map +1 -1
- package/dist/chat/dateFolder.esm.js +30 -30
- package/dist/chat/infinite.cjs.js +1 -1
- package/dist/chat/infinite.cjs.js.map +1 -1
- package/dist/chat/infinite.esm.js +49 -49
- package/dist/chat/keys.cjs.js +2 -2
- package/dist/chat/keys.cjs.js.map +1 -1
- package/dist/chat/keys.esm.js +17 -17
- package/dist/chat/message.cjs.js +4 -4
- package/dist/chat/message.cjs.js.map +1 -1
- package/dist/chat/message.esm.js +114 -114
- package/dist/chat/message.esm.js.map +1 -1
- package/dist/chat/messageTools.cjs.js +1 -1
- package/dist/chat/messageTools.cjs.js.map +1 -1
- package/dist/chat/messageTools.esm.js +51 -51
- package/dist/chunks/{ResourceActionsMenu-Bllpr4M5.js → ResourceActionsMenu-KFMLta44.js} +78 -69
- package/dist/chunks/ResourceActionsMenu-KFMLta44.js.map +1 -0
- package/dist/chunks/{access-control-modal-CwmY_Dod.js → access-control-modal-BZdBv6VD.js} +165 -165
- package/dist/chunks/{access-control-modal-CwmY_Dod.js.map → access-control-modal-BZdBv6VD.js.map} +1 -1
- package/dist/chunks/{account-CoHPKKDu.js → account-DWmMJre6.js} +22 -22
- package/dist/chunks/{account-CoHPKKDu.js.map → account-DWmMJre6.js.map} +1 -1
- package/dist/chunks/{auth-CocCqS1p.js → auth-EK-iYNYZ.js} +37 -37
- package/dist/chunks/{auth-CocCqS1p.js.map → auth-EK-iYNYZ.js.map} +1 -1
- package/dist/chunks/{avatar-sNdKdWVO.js → avatar-BBgvMlqv.js} +13 -13
- package/dist/chunks/{avatar-sNdKdWVO.js.map → avatar-BBgvMlqv.js.map} +1 -1
- package/dist/chunks/{combobox-fSTp9qoT.js → combobox-DS6byaf1.js} +3 -3
- package/dist/chunks/{combobox-fSTp9qoT.js.map → combobox-DS6byaf1.js.map} +1 -1
- package/dist/chunks/{error-state-BD4_Wrkz.js → error-state-jV9dlFX2.js} +2 -2
- package/dist/chunks/{error-state-BD4_Wrkz.js.map → error-state-jV9dlFX2.js.map} +1 -1
- package/dist/chunks/{file-explorer-header-D0TebSYR.js → file-explorer-header-BJzo6xDU.js} +50 -50
- package/dist/chunks/{file-explorer-header-D0TebSYR.js.map → file-explorer-header-BJzo6xDU.js.map} +1 -1
- package/dist/chunks/{guard-BOicu9dt.js → guard-SxVT1xr4.js} +13 -13
- package/dist/chunks/{guard-BOicu9dt.js.map → guard-SxVT1xr4.js.map} +1 -1
- package/dist/chunks/{index.esm-C9oV3H3X.js → index.esm-BQrkxchZ.js} +2 -2
- package/dist/chunks/{index.esm-C9oV3H3X.js.map → index.esm-BQrkxchZ.js.map} +1 -1
- package/dist/chunks/{jsonld-D-TE94B0.js → jsonld-C6IOQ1Tg.js} +2 -2
- package/dist/chunks/{jsonld-D-TE94B0.js.map → jsonld-C6IOQ1Tg.js.map} +1 -1
- package/dist/chunks/{login-button-clTw_9tX.js → login-button-Dd0rwZJk.js} +11 -11
- package/dist/chunks/{login-button-clTw_9tX.js.map → login-button-Dd0rwZJk.js.map} +1 -1
- package/dist/chunks/{logout-button-CP-Pz70O.js → logout-button-Da34Lrnq.js} +11 -11
- package/dist/chunks/{logout-button-CP-Pz70O.js.map → logout-button-Da34Lrnq.js.map} +1 -1
- package/dist/chunks/{menu-D0k2fkiE.js → menu-BNJU654v.js} +2 -2
- package/dist/chunks/{menu-D0k2fkiE.js.map → menu-BNJU654v.js.map} +1 -1
- package/dist/chunks/{provider-Cuv3Kp6G.js → provider-B3FoP2qW.js} +11 -11
- package/dist/chunks/{provider-Cuv3Kp6G.js.map → provider-B3FoP2qW.js.map} +1 -1
- package/dist/chunks/{rdf-form-DVmTw3RG.js → rdf-form-BkKDmFPD.js} +36 -36
- package/dist/chunks/{rdf-form-DVmTw3RG.js.map → rdf-form-BkKDmFPD.js.map} +1 -1
- package/dist/chunks/{rdf-input-CRYLK-27.js → rdf-input-BPePtqfS.js} +61 -61
- package/dist/chunks/{rdf-input-CRYLK-27.js.map → rdf-input-BPePtqfS.js.map} +1 -1
- package/dist/chunks/{signup-button-CexdMWj6.js → signup-button-DOInssOu.js} +11 -11
- package/dist/chunks/{signup-button-CexdMWj6.js.map → signup-button-DOInssOu.js.map} +1 -1
- package/dist/chunks/{solidLogicSingleton.esm-BXyHD7mn.js → solidLogicSingleton.esm-Bvt7E7Vl.js} +50 -29
- package/dist/chunks/solidLogicSingleton.esm-Bvt7E7Vl.js.map +1 -0
- package/dist/chunks/square-arrow-out-up-right-DaALlpHo.js +9 -0
- package/dist/chunks/square-arrow-out-up-right-DaALlpHo.js.map +1 -0
- package/dist/chunks/{src-DQgHAH3d.js → src-Cv9Lm1V-.js} +3009 -2980
- package/dist/chunks/src-Cv9Lm1V-.js.map +1 -0
- package/dist/chunks/{style-CXaw5EYi.js → style-Dlw9-wPn.js} +3 -3
- package/dist/chunks/{style-CXaw5EYi.js.map → style-Dlw9-wPn.js.map} +1 -1
- package/dist/chunks/{widgets-BBEQu0CS.js → widgets-C92ihtlF.js} +733 -737
- package/dist/chunks/widgets-C92ihtlF.js.map +1 -0
- package/dist/components/access-control-modal/AccessControlAddAccess.cjs.js +1 -1
- package/dist/components/access-control-modal/AccessControlAddAccess.esm.js +5 -5
- package/dist/components/access-control-modal/AccessControlGeneralAccess.cjs.js +2 -2
- package/dist/components/access-control-modal/AccessControlGeneralAccess.cjs.js.map +1 -1
- package/dist/components/access-control-modal/AccessControlGeneralAccess.esm.js +12 -12
- package/dist/components/access-control-modal/AccessControlModal.cjs.js +2 -2
- package/dist/components/access-control-modal/AccessControlModal.cjs.js.map +1 -1
- package/dist/components/access-control-modal/AccessControlModal.esm.js +35 -35
- package/dist/components/access-control-modal/AccessControlModal.esm.js.map +1 -1
- package/dist/components/access-control-modal/AccessControlSharedAccess.cjs.js +1 -1
- package/dist/components/access-control-modal/AccessControlSharedAccess.esm.js +2 -2
- package/dist/components/access-control-modal/accessTargetResolver.cjs.js +1 -1
- package/dist/components/access-control-modal/accessTargetResolver.cjs.js.map +1 -1
- package/dist/components/access-control-modal/accessTargetResolver.esm.js +21 -21
- package/dist/components/access-control-modal.js +1 -1
- package/dist/components/account/Account.cjs.js +1 -1
- package/dist/components/account/Account.esm.js +3 -3
- package/dist/components/account.js +1 -1
- package/dist/components/all.cjs.js +1 -1
- package/dist/components/all.esm.js +16 -16
- package/dist/components/avatar.js +1 -1
- package/dist/components/combobox/Combobox.cjs.js +1 -1
- package/dist/components/combobox/Combobox.esm.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/dialog/Dialog.cjs.js +2 -2
- package/dist/components/dialog/Dialog.cjs.js.map +1 -1
- package/dist/components/dialog/Dialog.esm.js +9 -9
- package/dist/components/dialog/Dialog.esm.js.map +1 -1
- package/dist/components/dialog-provider/DialogProvider.cjs.js +1 -1
- package/dist/components/dialog-provider/DialogProvider.cjs.js.map +1 -1
- package/dist/components/dialog-provider/DialogProvider.esm.js +6 -6
- package/dist/components/dialogs-root/DialogsRoot.cjs.js +2 -2
- package/dist/components/dialogs-root/DialogsRoot.cjs.js.map +1 -1
- package/dist/components/dialogs-root/DialogsRoot.esm.js +7 -7
- package/dist/components/error-state/ErrorState.cjs.js +1 -1
- package/dist/components/error-state/ErrorState.esm.js +1 -1
- package/dist/components/error-state.js +1 -1
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js +2 -2
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js.map +1 -1
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js +10 -10
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js +1 -1
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js +5 -5
- package/dist/components/file-explorer-header.js +1 -1
- package/dist/components/guard.js +1 -1
- package/dist/components/login-button/LoginButton.cjs.js +1 -1
- package/dist/components/login-button/LoginButton.esm.js +1 -1
- package/dist/components/login-button.js +1 -1
- package/dist/components/login-modal/LoginModal.cjs.js +1 -1
- package/dist/components/login-modal/LoginModal.esm.js +2 -2
- package/dist/components/login-modal.js +1 -1
- package/dist/components/logout-button/LogoutButton.cjs.js +1 -1
- package/dist/components/logout-button/LogoutButton.esm.js +1 -1
- package/dist/components/logout-button.js +1 -1
- package/dist/components/menu/Menu.cjs.js +1 -1
- package/dist/components/menu/Menu.cjs.js.map +1 -1
- package/dist/components/menu/Menu.esm.js +1 -1
- package/dist/components/menu/Menu.esm.js.map +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/provider.js +1 -1
- package/dist/components/rdf-form/RDFForm.cjs.js +3 -3
- package/dist/components/rdf-form/RDFForm.cjs.js.map +1 -1
- package/dist/components/rdf-form/RDFForm.esm.js +13 -13
- 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.cjs.js +2 -2
- package/dist/components/rdf-input/RDFInput.cjs.js.map +1 -1
- package/dist/components/rdf-input/RDFInput.esm.js +4 -4
- 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/ResourceActionsMenu.cjs.js +9 -3
- package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js.map +1 -1
- package/dist/components/resource-actions-menu/ResourceActionsMenu.d.ts +1 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.d.ts.map +1 -1
- package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js +18 -9
- package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js.map +1 -1
- package/dist/components/resource-actions-menu.js +1 -1
- package/dist/components/select/Select.cjs.js +1 -1
- package/dist/components/select/Select.cjs.js.map +1 -1
- package/dist/components/select/Select.esm.js +1 -1
- package/dist/components/signup-button/SignupButton.cjs.js +1 -1
- package/dist/components/signup-button/SignupButton.esm.js +1 -1
- package/dist/components/signup-button.js +1 -1
- package/dist/components.js +21 -21
- package/dist/create/create.cjs.js +1 -1
- package/dist/create/create.cjs.js.map +1 -1
- package/dist/create/create.esm.js +23 -23
- package/dist/header/index.cjs.js +1 -1
- package/dist/header/index.cjs.js.map +1 -1
- package/dist/header/index.esm.js +53 -53
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +23 -22
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +11 -11
- package/dist/lib/auth/SolidAuth.cjs.js +1 -1
- package/dist/lib/auth/SolidAuth.cjs.js.map +1 -1
- package/dist/lib/auth/SolidAuth.esm.js +8 -8
- package/dist/lib/auth/SolidAuth.esm.js.map +1 -1
- package/dist/lib/code-editor/CodeEditor.cjs.js +1 -1
- package/dist/lib/code-editor/CodeEditor.cjs.js.map +1 -1
- package/dist/lib/code-editor/CodeEditor.d.ts.map +1 -1
- package/dist/lib/code-editor/CodeEditor.esm.js +34 -30
- package/dist/lib/code-editor/CodeEditor.esm.js.map +1 -1
- package/dist/lib/components/dialog-component/DialogComponent.cjs.js +1 -1
- package/dist/lib/components/dialog-component/DialogComponent.cjs.js.map +1 -1
- package/dist/lib/components/dialog-component/DialogComponent.esm.js +4 -4
- package/dist/lib/components/index.cjs.js +1 -1
- package/dist/lib/components/index.esm.js +3 -3
- package/dist/lib/dialogs/helpers.cjs.js +1 -1
- package/dist/lib/dialogs/helpers.cjs.js.map +1 -1
- package/dist/lib/dialogs/helpers.esm.js +4 -4
- package/dist/lib/file-explorer/index.cjs.js +1 -1
- package/dist/lib/file-explorer/index.d.ts +1 -0
- package/dist/lib/file-explorer/index.d.ts.map +1 -1
- package/dist/lib/file-explorer/index.esm.js +2 -1
- package/dist/lib/file-explorer/pane-menu-items.cjs.js +2 -0
- package/dist/lib/file-explorer/pane-menu-items.cjs.js.map +1 -0
- package/dist/lib/file-explorer/pane-menu-items.d.ts +22 -0
- package/dist/lib/file-explorer/pane-menu-items.d.ts.map +1 -0
- package/dist/lib/file-explorer/pane-menu-items.esm.js +20 -0
- package/dist/lib/file-explorer/pane-menu-items.esm.js.map +1 -0
- package/dist/lib/file-explorer/relevant-panes.cjs.js +1 -1
- package/dist/lib/file-explorer/relevant-panes.cjs.js.map +1 -1
- package/dist/lib/file-explorer/relevant-panes.esm.js +8 -8
- package/dist/lib/messageArea.cjs.js +1 -1
- package/dist/lib/messageArea.cjs.js.map +1 -1
- package/dist/lib/messageArea.esm.js +27 -27
- package/dist/lib/pad.cjs.js +1 -1
- package/dist/lib/pad.cjs.js.map +1 -1
- package/dist/lib/pad.esm.js +15 -15
- package/dist/lib/participation.cjs.js +1 -1
- package/dist/lib/participation.cjs.js.map +1 -1
- package/dist/lib/participation.esm.js +59 -59
- package/dist/lib/preferences.cjs.js +1 -1
- package/dist/lib/preferences.cjs.js.map +1 -1
- package/dist/lib/preferences.esm.js +28 -28
- package/dist/lib/table.cjs.js +3 -3
- package/dist/lib/table.cjs.js.map +1 -1
- package/dist/lib/table.esm.js +123 -123
- package/dist/lib/table.esm.js.map +1 -1
- package/dist/lib/tabs.cjs.js +1 -1
- package/dist/lib/tabs.cjs.js.map +1 -1
- package/dist/lib/tabs.esm.js +16 -16
- package/dist/loader.js +11 -11
- package/dist/login/login.cjs.js +6 -6
- package/dist/login/login.cjs.js.map +1 -1
- package/dist/login/login.esm.js +142 -142
- package/dist/media/media-capture.cjs.js +1 -1
- package/dist/media/media-capture.cjs.js.map +1 -1
- package/dist/media/media-capture.esm.js +6 -6
- package/dist/solid-ui.js +34 -28
- package/dist/solid-ui.min.js +34 -28
- package/dist/solid-ui.min.js.map +1 -1
- package/dist/utils/index.cjs.js +1 -1
- package/dist/utils/index.cjs.js.map +1 -1
- package/dist/utils/index.esm.js +4 -4
- package/dist/utils/keyHelpers/accessData.cjs.js +1 -1
- package/dist/utils/keyHelpers/accessData.cjs.js.map +1 -1
- package/dist/utils/keyHelpers/accessData.esm.js +15 -15
- package/dist/utils/label.cjs.js +1 -1
- package/dist/utils/label.cjs.js.map +1 -1
- package/dist/utils/label.esm.js +4 -4
- package/dist/widgets/buttons.cjs.js +12 -12
- package/dist/widgets/buttons.cjs.js.map +1 -1
- package/dist/widgets/buttons.esm.js +179 -179
- package/dist/widgets/error.cjs.js +1 -1
- package/dist/widgets/error.cjs.js.map +1 -1
- package/dist/widgets/error.esm.js +5 -5
- package/dist/widgets/forms/autocomplete/autocompleteBar.cjs.js +1 -1
- package/dist/widgets/forms/autocomplete/autocompleteBar.cjs.js.map +1 -1
- package/dist/widgets/forms/autocomplete/autocompleteBar.esm.js +17 -17
- package/dist/widgets/forms/autocomplete/autocompleteField.cjs.js +1 -1
- package/dist/widgets/forms/autocomplete/autocompleteField.cjs.js.map +1 -1
- package/dist/widgets/forms/autocomplete/autocompleteField.esm.js +23 -23
- package/dist/widgets/forms/autocomplete/autocompletePicker.cjs.js +1 -1
- package/dist/widgets/forms/autocomplete/autocompletePicker.cjs.js.map +1 -1
- package/dist/widgets/forms/autocomplete/autocompletePicker.esm.js +26 -26
- package/dist/widgets/forms/autocomplete/language.cjs.js +1 -1
- package/dist/widgets/forms/autocomplete/language.cjs.js.map +1 -1
- package/dist/widgets/forms/autocomplete/language.esm.js +9 -9
- package/dist/widgets/forms/autocomplete/publicData.cjs.js +5 -5
- package/dist/widgets/forms/autocomplete/publicData.cjs.js.map +1 -1
- package/dist/widgets/forms/autocomplete/publicData.esm.js +67 -67
- package/dist/widgets/forms/basic.cjs.js +1 -1
- package/dist/widgets/forms/basic.cjs.js.map +1 -1
- package/dist/widgets/forms/basic.esm.js +11 -11
- package/dist/widgets/forms.cjs.js +4 -4
- package/dist/widgets/forms.cjs.js.map +1 -1
- package/dist/widgets/forms.esm.js +561 -561
- package/dist/widgets/forms.esm.js.map +1 -1
- package/dist/widgets/index.cjs.js +1 -1
- package/dist/widgets/index.cjs.js.map +1 -1
- package/dist/widgets/index.esm.js +82 -82
- package/dist/widgets/peoplePicker.cjs.js +2 -2
- package/dist/widgets/peoplePicker.cjs.js.map +1 -1
- package/dist/widgets/peoplePicker.esm.js +82 -82
- package/package.json +3 -3
- package/dist/chunks/ResourceActionsMenu-Bllpr4M5.js.map +0 -1
- package/dist/chunks/solidLogicSingleton.esm-BXyHD7mn.js.map +0 -1
- package/dist/chunks/src-DQgHAH3d.js.map +0 -1
- package/dist/chunks/widgets-BBEQu0CS.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import e from "../lib/
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
1
|
+
import { log as e } from "../lib/debug.esm.js";
|
|
2
|
+
import { makeDropTarget as t } from "./dragAndDrop.esm.js";
|
|
3
|
+
import { errorMessageBlock as n } from "./error.esm.js";
|
|
4
|
+
import { iconBase as r } from "../lib/iconBase.esm.js";
|
|
5
|
+
import i from "../lib/ns.esm.js";
|
|
6
6
|
import * as a from "rdflib";
|
|
7
7
|
import { solidLogicSingleton as o } from "solid-logic";
|
|
8
8
|
import s from "escape-html";
|
|
@@ -23,8 +23,8 @@ var l = o.store, u = class {
|
|
|
23
23
|
this.selectedgroup = null, this.render();
|
|
24
24
|
}), e.appendChild(t), e.appendChild(n);
|
|
25
25
|
} else this.findAddressBook(this.typeIndex).then(({ book: t }) => {
|
|
26
|
-
let
|
|
27
|
-
|
|
26
|
+
let r = document.createElement("button");
|
|
27
|
+
r.textContent = s("Pick an existing group"), r.style.margin = "auto", r.addEventListener("click", (n) => {
|
|
28
28
|
new d(e, t, this.onSelectGroup).render();
|
|
29
29
|
});
|
|
30
30
|
let i = document.createElement("button");
|
|
@@ -32,45 +32,45 @@ var l = o.store, u = class {
|
|
|
32
32
|
this.createNewGroup(t, this.options.defaultNewGroupName).then(({ group: e }) => {
|
|
33
33
|
new p(this.element, t, e, this.onSelectGroup).render();
|
|
34
34
|
}).catch((e) => {
|
|
35
|
-
this.element.appendChild(
|
|
35
|
+
this.element.appendChild(n(document, s(`Error creating a new group. (${e})`)));
|
|
36
36
|
});
|
|
37
|
-
}), e.appendChild(
|
|
37
|
+
}), e.appendChild(r), e.appendChild(i), this.element.innerHTML = "", this.element.appendChild(e);
|
|
38
38
|
}).catch((e) => {
|
|
39
|
-
this.element.appendChild(
|
|
39
|
+
this.element.appendChild(n(document, s(`Could find your groups. (${e})`)));
|
|
40
40
|
});
|
|
41
41
|
return this.element.innerHTML = "", this.element.appendChild(e), this;
|
|
42
42
|
}
|
|
43
|
-
findAddressBook(
|
|
44
|
-
return new Promise((
|
|
45
|
-
l.fetcher.nowOrWhenFetched(
|
|
46
|
-
if (!
|
|
47
|
-
let o = l.any(null,
|
|
48
|
-
if (!o) return
|
|
49
|
-
let s = l.any(o,
|
|
50
|
-
if (!s) return
|
|
43
|
+
findAddressBook(e) {
|
|
44
|
+
return new Promise((t, n) => {
|
|
45
|
+
l.fetcher.nowOrWhenFetched(e, (r, a) => {
|
|
46
|
+
if (!r) return n(a);
|
|
47
|
+
let o = l.any(null, i.solid("forClass"), i.vcard("AddressBook"));
|
|
48
|
+
if (!o) return n(/* @__PURE__ */ Error("no address book registered in the solid type index " + e));
|
|
49
|
+
let s = l.any(o, i.solid("instance"));
|
|
50
|
+
if (!s) return n(/* @__PURE__ */ Error("incomplete address book registration"));
|
|
51
51
|
l.fetcher.load(s).then(function(e) {
|
|
52
|
-
return
|
|
52
|
+
return t({ book: s });
|
|
53
53
|
}).catch(function(e) {
|
|
54
|
-
return
|
|
54
|
+
return n(/* @__PURE__ */ Error("Could not load address book " + e));
|
|
55
55
|
});
|
|
56
56
|
});
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
|
-
createNewGroup(
|
|
60
|
-
let { groupIndex:
|
|
61
|
-
let
|
|
62
|
-
|
|
59
|
+
createNewGroup(t, n) {
|
|
60
|
+
let { groupIndex: r, groupContainer: o } = _(t), s = a.sym(`${o.uri}${c().slice(0, 8)}.ttl#this`), u = n || "Untitled Group", d = [s.doc(), r].map((e) => {
|
|
61
|
+
let n = a.st(s, i.rdf("type"), i.vcard("Group"), e), o = a.st(s, i.vcard("fn"), u, s.doc(), e), c = a.st(t, i.vcard("includesGroup"), s, e), d = e.equals(r) ? [
|
|
62
|
+
n,
|
|
63
63
|
o,
|
|
64
64
|
c
|
|
65
|
-
] : [
|
|
66
|
-
return g(
|
|
65
|
+
] : [n, o];
|
|
66
|
+
return g(e.uri, { toIns: d }).then(() => {
|
|
67
67
|
d.forEach((e) => {
|
|
68
68
|
l.add(e);
|
|
69
69
|
});
|
|
70
70
|
});
|
|
71
71
|
});
|
|
72
|
-
return Promise.all(d).then(() => ({ group: s })).catch((
|
|
73
|
-
throw
|
|
72
|
+
return Promise.all(d).then(() => ({ group: s })).catch((t) => {
|
|
73
|
+
throw e("Could not create new group. PATCH failed " + t), Error(`Couldn't create new group. PATCH failed for (${t.xhr ? t.xhr.responseURL : ""} )`);
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
onSelectGroup(e) {
|
|
@@ -88,13 +88,13 @@ var l = o.store, u = class {
|
|
|
88
88
|
n.addEventListener("click", this.handleClickGroup(e)), new f(n, e).render(), t.appendChild(n);
|
|
89
89
|
}), this.element.innerHTML = "", this.element.appendChild(t);
|
|
90
90
|
}).catch((e) => {
|
|
91
|
-
this.element.appendChild(
|
|
91
|
+
this.element.appendChild(n(document, s(`There was an error loading your groups. (${e})`)));
|
|
92
92
|
}), this;
|
|
93
93
|
}
|
|
94
94
|
loadGroups() {
|
|
95
|
-
return new Promise((
|
|
96
|
-
let { groupIndex:
|
|
97
|
-
l.fetcher.nowOrWhenFetched(
|
|
95
|
+
return new Promise((e, t) => {
|
|
96
|
+
let { groupIndex: n } = _(this.book);
|
|
97
|
+
l.fetcher.nowOrWhenFetched(n, (n, r) => n ? e(l.each(this.book, i.vcard("includesGroup"))) : t(r));
|
|
98
98
|
});
|
|
99
99
|
}
|
|
100
100
|
handleClickGroup(e) {
|
|
@@ -107,8 +107,8 @@ var l = o.store, u = class {
|
|
|
107
107
|
this.element = e, this.group = t;
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
|
-
let
|
|
111
|
-
return
|
|
110
|
+
let e = document.createElement("div");
|
|
111
|
+
return e.textContent = s(h(this.group, i.vcard("fn"), `[${this.group.value}]`)), this.element.innerHTML = "", this.element.appendChild(e), this;
|
|
112
112
|
}
|
|
113
113
|
}, p = class {
|
|
114
114
|
constructor(e, t, n, r, i) {
|
|
@@ -118,86 +118,86 @@ var l = o.store, u = class {
|
|
|
118
118
|
}
|
|
119
119
|
refresh() {}
|
|
120
120
|
render() {
|
|
121
|
-
let
|
|
122
|
-
|
|
121
|
+
let e = document.createElement("div");
|
|
122
|
+
e.style.maxWidth = "350px", e.style.minHeight = "200px", e.style.outline = "1px solid black", e.style.display = "flex", e.style.flexDirection = "column", t(e, (e) => {
|
|
123
123
|
e.forEach((e) => {
|
|
124
124
|
this.add(e).catch((e) => {
|
|
125
|
-
this.element.appendChild(
|
|
125
|
+
this.element.appendChild(n(document, s(`Could not add the given WebId. (${e})`)));
|
|
126
126
|
});
|
|
127
127
|
});
|
|
128
128
|
});
|
|
129
|
-
let
|
|
130
|
-
|
|
129
|
+
let r = document.createElement("input");
|
|
130
|
+
r.type = "text", r.value = h(this.group, i.vcard("fn"), "Untitled Group"), r.addEventListener("change", (e) => {
|
|
131
131
|
this.setGroupName(e.target.value).catch((e) => {
|
|
132
|
-
this.element.appendChild(
|
|
132
|
+
this.element.appendChild(n(document, `Error changing group name. (${e})`));
|
|
133
133
|
});
|
|
134
134
|
});
|
|
135
135
|
let a = document.createElement("label");
|
|
136
|
-
if (a.textContent = s("Group Name:"), a.appendChild(
|
|
137
|
-
let n =
|
|
138
|
-
new m(r, n, this.handleRemove(n)).render(),
|
|
136
|
+
if (a.textContent = s("Group Name:"), a.appendChild(r), e.appendChild(a), l.any(this.group, i.vcard("hasMember"))) l.match(this.group, i.vcard("hasMember")).forEach((t) => {
|
|
137
|
+
let n = t.object, r = document.createElement("div");
|
|
138
|
+
new m(r, n, this.handleRemove(n)).render(), e.appendChild(r);
|
|
139
139
|
});
|
|
140
140
|
else {
|
|
141
|
-
let
|
|
142
|
-
|
|
141
|
+
let t = document.createElement("p");
|
|
142
|
+
t.textContent = s`
|
|
143
143
|
To add someone to this group, drag and drop their WebID URL onto the box.
|
|
144
|
-
`,
|
|
144
|
+
`, e.appendChild(t);
|
|
145
145
|
}
|
|
146
146
|
let o = document.createElement("button");
|
|
147
147
|
return o.textContent = s("Done"), o.addEventListener("click", (e) => {
|
|
148
148
|
this.doneBuildingCb(this.group);
|
|
149
|
-
}),
|
|
150
|
-
}
|
|
151
|
-
add(
|
|
152
|
-
return new Promise((
|
|
153
|
-
l.fetcher.nowOrWhenFetched(
|
|
154
|
-
if (!
|
|
155
|
-
let s = a.namedNode(
|
|
156
|
-
return !c || !c.equals(
|
|
149
|
+
}), e.appendChild(o), this.element.innerHTML = "", this.element.appendChild(e), this;
|
|
150
|
+
}
|
|
151
|
+
add(e) {
|
|
152
|
+
return new Promise((t, n) => {
|
|
153
|
+
l.fetcher.nowOrWhenFetched(e, (r, o) => {
|
|
154
|
+
if (!r) return this.onGroupChanged(o), n(o);
|
|
155
|
+
let s = a.namedNode(e), c = l.any(s, i.rdf("type"));
|
|
156
|
+
return !c || !c.equals(i.foaf("Person")) ? n(/* @__PURE__ */ Error(`Only people supported right now. (tried to add something of type ${c.value})`)) : t(s);
|
|
157
157
|
});
|
|
158
|
-
}).then((
|
|
159
|
-
let
|
|
160
|
-
return l.holdsStatement(
|
|
161
|
-
|
|
158
|
+
}).then((e) => {
|
|
159
|
+
let t = a.st(this.group, i.vcard("hasMember"), e);
|
|
160
|
+
return l.holdsStatement(t) ? e : g(this.group.doc().uri, { toIns: [t] }).then(() => {
|
|
161
|
+
t.why = this.group.doc(), l.add(t), this.onGroupChanged(null, "added", e), this.render();
|
|
162
162
|
});
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
|
-
handleRemove(
|
|
166
|
-
return (
|
|
167
|
-
let
|
|
168
|
-
return g(this.group.doc().uri, { toDel: [
|
|
169
|
-
let
|
|
170
|
-
throw Error(
|
|
165
|
+
handleRemove(e) {
|
|
166
|
+
return (t) => {
|
|
167
|
+
let n = a.st(this.group, i.vcard("hasMember"), e);
|
|
168
|
+
return g(this.group.doc().uri, { toDel: [n] }).then(() => (l.remove(n), this.onGroupChanged(null, "removed", e), this.render(), !0)).catch((t) => {
|
|
169
|
+
let n = l.any(e, i.foaf("name")), r = n && n.value ? `Could not remove ${n.value}. (${t})` : `Could not remove ${e.value}. (${t})`;
|
|
170
|
+
throw Error(r);
|
|
171
171
|
});
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
|
-
setGroupName(
|
|
175
|
-
let { groupIndex:
|
|
176
|
-
let
|
|
177
|
-
return g(
|
|
178
|
-
toDel:
|
|
179
|
-
toIns: [
|
|
174
|
+
setGroupName(e) {
|
|
175
|
+
let { groupIndex: t } = _(this.book), n = [this.group.doc(), t].map((t) => {
|
|
176
|
+
let n = l.match(this.group, i.vcard("fn"), null, t), r = a.st(this.group, i.vcard("fn"), a.literal(e));
|
|
177
|
+
return g(t.value, {
|
|
178
|
+
toDel: n,
|
|
179
|
+
toIns: [r]
|
|
180
180
|
}).then((e) => {
|
|
181
|
-
l.removeStatements(
|
|
181
|
+
l.removeStatements(n), r.why = t, l.add(r);
|
|
182
182
|
});
|
|
183
183
|
});
|
|
184
|
-
return Promise.all(
|
|
184
|
+
return Promise.all(n);
|
|
185
185
|
}
|
|
186
186
|
}, m = class {
|
|
187
187
|
constructor(e, t, n) {
|
|
188
188
|
this.webIdNode = t, this.element = e, this.handleRemove = n;
|
|
189
189
|
}
|
|
190
190
|
render() {
|
|
191
|
-
let
|
|
192
|
-
|
|
193
|
-
let
|
|
194
|
-
a.src = s(
|
|
195
|
-
let o = h(this.webIdNode,
|
|
191
|
+
let e = document.createElement("div");
|
|
192
|
+
e.style.display = "flex";
|
|
193
|
+
let t = h(this.webIdNode, i.foaf("img"), r + "noun_15059.svg"), a = document.createElement("img");
|
|
194
|
+
a.src = s(t), a.width = "50", a.height = "50", a.style.margin = "5px";
|
|
195
|
+
let o = h(this.webIdNode, i.foaf("name"), `[${this.webIdNode}]`), c = document.createElement("span");
|
|
196
196
|
c.innerHTML = s(o), c.style.flexGrow = "1", c.style.margin = "auto 0";
|
|
197
197
|
let l = document.createElement("button");
|
|
198
198
|
return l.textContent = "Remove", l.addEventListener("click", (e) => this.handleRemove().catch((e) => {
|
|
199
|
-
this.element.appendChild(
|
|
200
|
-
})), l.style.margin = "5px",
|
|
199
|
+
this.element.appendChild(n(document, s(`${e}`)));
|
|
200
|
+
})), l.style.margin = "5px", e.appendChild(a), e.appendChild(c), e.appendChild(l), this.element.innerHTML = "", this.element.appendChild(e), this;
|
|
201
201
|
}
|
|
202
202
|
};
|
|
203
203
|
function h(e, t, n) {
|
|
@@ -212,10 +212,10 @@ function g(e, { toDel: t, toIns: n }) {
|
|
|
212
212
|
});
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
|
-
function _(
|
|
215
|
+
function _(e) {
|
|
216
216
|
return {
|
|
217
|
-
groupIndex: l.any(
|
|
218
|
-
groupContainer: l.sym(
|
|
217
|
+
groupIndex: l.any(e, i.vcard("groupIndex")),
|
|
218
|
+
groupContainer: l.sym(e.dir().uri + "Group/")
|
|
219
219
|
};
|
|
220
220
|
}
|
|
221
221
|
export { f as Group, p as GroupBuilder, d as GroupPicker, u as PeoplePicker, m as Person };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "solid-ui",
|
|
3
|
-
"version": "5.0.2-
|
|
3
|
+
"version": "5.0.2-6",
|
|
4
4
|
"description": "UI library for Solid applications",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -112,9 +112,9 @@
|
|
|
112
112
|
"escape-html": "^1.0.3",
|
|
113
113
|
"lit": "^3.3.3",
|
|
114
114
|
"mime-types": "^3.0.2",
|
|
115
|
-
"pane-registry": "5.0.2-
|
|
115
|
+
"pane-registry": "5.0.2-2",
|
|
116
116
|
"rdflib": "2.4.1",
|
|
117
|
-
"solid-logic": "6.0.1-
|
|
117
|
+
"solid-logic": "6.0.1-5",
|
|
118
118
|
"solid-namespace": "^0.5.4",
|
|
119
119
|
"uuid": "^14.0.0"
|
|
120
120
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResourceActionsMenu-Bllpr4M5.js","names":["solidLogicSingleton","store","ns","parse","isWebIdUri","getPodStorages","url","fetcher","load","doc","err","console","warn","uri","podStorages","each","space","results","Promise","all","map","pod","isPodStorage","filter","storage","findPodStorageFromUrl","error","podStorage","URL","value","pathStorage","pathname","length","substring","lastIndexOf","candidate","sym","origin","loadContainerRepresentation","holds","rdf","subject","any","ldp","undefined","response","webOperation","initFetchOptions","headers","accept","containerTurtle","responseText","isContainerSubject","subjectUri","typeUris","findTypeURIs","Boolean","endsWith","getContainerItemCount","seen","Set","item","termType","resource","isHiddenFile","add","size","ns","solidLogicSingleton","customElement","WebComponent","property","html","nothing","styles","isContainerSubject","_classDecs","_ResourceActionsMenu","_ResourceActionsMenu2","_A","WeakMap","_B","_C","_D","_E","_F","_G","_H","_I","_J","_ref","_storeDecs","attribute","_subjectUriDecs","type","String","_handleAccessClickDecs","_handleEditingClickDecs","_paneSupportsEditingDecs","Boolean","_canEditDecs","_canManageAccessDecs","_isMobileDecs","_showAccessInMenuDecs","_menuItemsDecs","_ResourceActionsMenu3","ResourceActionsMenu","constructor","args","_classPrivateFieldInitSpec","_initProto","_init_store","_init_subjectUri","_init_handleAccessClick","undefined","_init_handleEditingClick","_init_paneSupportsEditing","_init_canEdit","_init_canManageAccess","_init_isMobile","_init_showAccessInMenu","_init_menuItems","_classPrivateFieldGet","store","v","_classPrivateFieldSet","subjectUri","handleAccessClick","handleEditingClick","paneSupportsEditing","canEdit","canManageAccess","isMobile","showAccessInMenu","menuItems","render","isContainerResource","actionableMenuItems","filter","item","action","map","event","icon","label","e","c","_initClass","_applyDecs","_Class","_identity","_defineProperty","default","property","nothing","styles","c","ns_default","A","customElement","WebComponent","i","b","iconlucidepencil","iconlucideellipsisvertical","isContainerSubject","store","subjectUri","subject","typeUris","getContainerItemCount","seen","item","resource","iconlucideuserroundcog","iconlucidefile","ResourceActionsMenu_styles_default","_Class","_ResourceActionsMenu3","_A","_B","_C","_D","_E","_F","_G","_H","_I","_J","_initProto","_initClass","_classDecs","_storeDecs","_init_store","_subjectUriDecs","_init_subjectUri","_handleAccessClickDecs","_init_handleAccessClick","_handleEditingClickDecs","_init_handleEditingClick","_paneSupportsEditingDecs","_init_paneSupportsEditing","_canEditDecs","_init_canEdit","_canManageAccessDecs","_init_canManageAccess","_isMobileDecs","_init_isMobile","_showAccessInMenuDecs","_init_showAccessInMenu","_menuItemsDecs","_init_menuItems","_ResourceActionsMenu2","_ref","_classPrivateFieldInitSpec","a","_checkPrivateRedeclaration","_classPrivateFieldSet","s","_assertClassBrand","r","_classPrivateFieldGet","_defineProperty","_toPropertyKey","t","_applyDecs","n","o","applyDec","m","h","y","v","g","u","w","S","d","p","_setFunctionName","P","j","D","I","F","l","f","N","_checkInRHS","_toPrimitive","e","_identity","_ResourceActionsMenu","args","canEdit","canManageAccess","actionableMenuItems","event"],"sources":["../../src/utils/podUtils.ts","../../src/components/resource-actions-menu/ResourceActionsMenu.styles.css","../../src/components/resource-actions-menu/ResourceActionsMenu.ts"],"sourcesContent":["import { solidLogicSingleton, store } from 'solid-logic'\nimport ns from '@/lib/ns'\nimport { LiveStore, NamedNode, parse } from 'rdflib'\nimport { isWebIdUri } from './webIdUtils'\n\nexport async function getPodStorages (url: NamedNode): Promise<NamedNode[]> {\n if (isWebIdUri(url)) {\n try {\n await store.fetcher.load(url.doc())\n } catch (err) {\n console.warn('Unable to load profile document for WebID', url.doc().uri, err)\n }\n const podStorages = store.each(url, ns.space('storage'))\n const results = await Promise.all(podStorages.map(async pod => await isPodStorage(pod as NamedNode) ? pod as NamedNode : null))\n return results.filter(pod => pod !== null) as NamedNode[]\n }\n try {\n const storage = await findPodStorageFromUrl(url)\n return storage ? [storage] : []\n } catch (err) {\n console.error('cannot load container', err)\n return []\n }\n}\n\nasync function findPodStorageFromUrl (url: NamedNode): Promise<NamedNode | null> {\n const podStorage = new URL(url.value || url.uri)\n let pathStorage = podStorage.pathname\n\n while (pathStorage.length) {\n pathStorage = pathStorage.substring(0, pathStorage.lastIndexOf('/'))\n const candidate = store.sym(`${podStorage.origin}${pathStorage}/`)\n if (await isPodStorage(candidate)) return candidate\n }\n\n // TODO should url.origin be added to pods list when there are no pim:Storage ???\n return null\n}\n\nasync function isPodStorage (pod: NamedNode): Promise<boolean> {\n await loadContainerRepresentation(pod)\n return store.holds(pod, ns.rdf('type'), ns.space('Storage'), pod.doc())\n}\n\nexport async function loadContainerRepresentation (subject) {\n // force reload for index.html with RDFa\n if (!store.any(subject, ns.ldp('contains'), undefined, subject.doc())) {\n try {\n const response = await store.fetcher.webOperation('GET', subject.uri, store.fetcher.initFetchOptions(subject.uri, { headers: { accept: 'text/turtle' } }))\n const containerTurtle = response.responseText\n if (subject.uri && containerTurtle) {\n parse(containerTurtle, store, subject.uri, 'text/turtle')\n }\n } catch (err) {\n console.warn('Unable to load container representation for', subject.uri, err)\n }\n }\n}\n\nexport function isContainerSubject (store: LiveStore | undefined, subjectUri: string | undefined): boolean {\n if (!store || !subjectUri) return false\n\n const subject = store.sym(subjectUri)\n const typeUris = store.findTypeURIs(subject)\n return Boolean(\n typeUris[ns.ldp('Container').uri] ||\n typeUris[ns.ldp('BasicContainer').uri] ||\n subject.uri.endsWith('/')\n )\n}\n\n// The shared rdflib store can hold duplicate ldp:contains statements for the\n// same child resource when the container and companion metadata are both loaded.\n// Count unique visible children here so the header summary matches the list UI.\nexport function getContainerItemCount (store: LiveStore | undefined, subjectUri: string | undefined): number {\n if (!store || !subjectUri) return 0\n\n const subject = store.sym(subjectUri)\n const seen = new Set<string>()\n\n for (const item of store.each(subject, ns.ldp('contains'))) {\n if (item.termType === 'NamedNode') {\n const resource = item as NamedNode\n if (!solidLogicSingleton.resource.isHiddenFile(resource)) {\n seen.add(resource.uri)\n }\n }\n }\n return seen.size\n}\n",":host {\n .file-explorer-header-more-button {\n width: var(--solid-ui-clickable-area, 42px);\n height: var(--solid-ui-clickable-area, 42px);\n padding: 0;\n }\n\n .ellipsisIcon {\n width: 16px;\n height: 16px;\n }\n}\n","import { customElement, WebComponent } from '@/lib/components'\nimport { property } from 'lit/decorators.js'\nimport { html, nothing } from 'lit'\nimport '@/components/button'\nimport '@/components/menu'\nimport '@/components/menu-item'\nimport '~icons/lucide/ellipsis-vertical'\nimport '~icons/lucide/user-round-cog'\nimport '~icons/lucide/pencil'\nimport '~icons/lucide/file'\nimport { LiveStore } from 'rdflib'\nimport styles from './ResourceActionsMenu.styles.css'\nimport { isContainerSubject } from '@/utils/podUtils'\n\ntype ResourceActionMenuItem = {\n label: string\n icon?: HTMLElement | string\n action?: (event: Event) => void\n}\n\ntype ActionableResourceActionMenuItem = ResourceActionMenuItem & {\n action: (event: Event) => void\n}\n\n@customElement('solid-ui-resource-actions-menu')\nexport default class ResourceActionsMenu extends WebComponent {\n static styles = styles\n\n @property({ attribute: false })\n accessor store: LiveStore | undefined\n\n @property({ type: String })\n accessor subjectUri: string | undefined\n\n @property({ attribute: false })\n accessor handleAccessClick: (() => void) | undefined = undefined\n\n @property({ attribute: false })\n accessor handleEditingClick: (() => void) | undefined = undefined\n\n @property({ type: Boolean })\n accessor paneSupportsEditing = false\n\n @property({ type: Boolean })\n accessor canEdit = false\n\n @property({ type: Boolean })\n accessor canManageAccess = false\n\n @property({ type: Boolean })\n accessor isMobile = false\n\n @property({ type: Boolean, attribute: 'show-access-in-menu' })\n accessor showAccessInMenu = false\n\n @property({ attribute: false })\n accessor menuItems: ResourceActionMenuItem[] = []\n\n render () {\n const isContainerResource = isContainerSubject(this.store, this.subjectUri)\n const canEdit = !isContainerResource && this.isMobile && this.paneSupportsEditing && this.canEdit && !!this.handleEditingClick\n const canManageAccess = this.canManageAccess && !!this.handleAccessClick &&\n (this.showAccessInMenu || this.isMobile)\n const actionableMenuItems = this.menuItems.filter((item): item is ActionableResourceActionMenuItem => typeof item.action === 'function')\n return html`\n <solid-ui-menu>\n <solid-ui-button slot=\"trigger\" class=\"file-explorer-header-more-button\" variant=\"ghost\" title=\"More options\">\n <icon-lucide-ellipsis-vertical slot=\"icon\" class=\"ellipsisIcon\"></icon-lucide-ellipsis-vertical>\n <span class=\"sr-only\">More options</span>\n </solid-ui-button>\n ${actionableMenuItems.map(item => html`\n <solid-ui-menu-item @solid-ui-select=${(event: Event) => item.action(event)}>\n ${typeof item.icon === 'string'\n ? html`<img slot=\"left-icon\" src=${item.icon} alt=\"\">`\n : item.icon ?? html`<icon-lucide-file slot=\"left-icon\" aria-hidden=\"true\"></icon-lucide-file>`}\n ${item.label}\n </solid-ui-menu-item>\n `)}\n ${canEdit\n ? html`\n <solid-ui-menu-item @solid-ui-select=${this.handleEditingClick}>\n <icon-lucide-pencil slot=\"left-icon\"></icon-lucide-pencil>\n Edit\n </solid-ui-menu-item>\n `\n : nothing}\n ${canManageAccess\n ? html`\n <solid-ui-menu-item @solid-ui-select=${this.handleAccessClick}>\n <icon-lucide-user-round-cog slot=\"left-icon\"></icon-lucide-user-round-cog>\n Manage Access\n </solid-ui-menu-item>\n `\n : nothing}\n </solid-ui-menu>\n `\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AA2DA,SAAgBoD,EAAoBnD,GAA8BoD,GAAyC;CACzG,IAAI,CAACpD,KAAS,CAACoD,GAAY,OAAO;CAElC,IAAMZ,IAAUxC,EAAMmC,IAAIiB,CAAU,GAC9BC,IAAWrD,EAAMsD,aAAad,CAAO;CAC3C,OAAOe,GACLF,EAASpD,EAAGyC,IAAI,WAAW,CAAC,CAAC9B,QAC7ByC,EAASpD,EAAGyC,IAAI,gBAAgB,CAAC,CAAC9B,QAClC4B,EAAQ5B,IAAI4C,SAAS,GAAG;AAE5B;AAKA,SAAgBC,EAAuBzD,GAA8BoD,GAAwC;CAC3G,IAAI,CAACpD,KAAS,CAACoD,GAAY,OAAO;CAElC,IAAMZ,IAAUxC,EAAMmC,IAAIiB,CAAU,GAC9BM,oBAAO,IAAIC,IAAY;CAE7B,KAAK,IAAMC,KAAQ5D,EAAMc,KAAK0B,GAASvC,EAAGyC,IAAI,UAAU,CAAC,GACvD,IAAIkB,EAAKC,aAAa,aAAa;EACjC,IAAMC,IAAWF;EACjB,AAAK7D,EAAoB+D,SAASC,aAAaD,CAAQ,KACrDJ,EAAKM,IAAIF,EAASlD,GAAG;CAEzB;CAEF,OAAO8C,EAAKO;AACd;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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