solid-ui 5.0.2-6 → 5.0.2-8
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/add-agent-buttons.cjs.js +1 -1
- package/dist/acl/add-agent-buttons.cjs.js.map +1 -1
- package/dist/acl/add-agent-buttons.d.ts.map +1 -1
- package/dist/acl/add-agent-buttons.esm.js +22 -20
- package/dist/acl/add-agent-buttons.esm.js.map +1 -1
- package/dist/chunks/{DialogProvider-CdesAsw-.js → DialogProvider-DwymaGN5.js} +3 -3
- package/dist/chunks/{DialogProvider-CdesAsw-.js.map → DialogProvider-DwymaGN5.js.map} +1 -1
- package/dist/chunks/{ResourceActionsMenu-KFMLta44.js → ResourceActionsMenu-mLMf4fAa.js} +9 -9
- package/dist/chunks/{ResourceActionsMenu-KFMLta44.js.map → ResourceActionsMenu-mLMf4fAa.js.map} +1 -1
- package/dist/chunks/{access-control-modal-BZdBv6VD.js → access-control-modal-BR7HhqpN.js} +29 -29
- package/dist/chunks/{access-control-modal-BZdBv6VD.js.map → access-control-modal-BR7HhqpN.js.map} +1 -1
- package/dist/chunks/{account-DWmMJre6.js → account-Dtv8-QEH.js} +10 -10
- package/dist/chunks/{account-DWmMJre6.js.map → account-Dtv8-QEH.js.map} +1 -1
- package/dist/chunks/{auth-EK-iYNYZ.js → auth-Cj-J-3Nf.js} +26 -26
- package/dist/chunks/auth-Cj-J-3Nf.js.map +1 -0
- package/dist/chunks/{avatar-BBgvMlqv.js → avatar-D_bHMV5F.js} +3 -3
- package/dist/chunks/{avatar-BBgvMlqv.js.map → avatar-D_bHMV5F.js.map} +1 -1
- package/dist/chunks/{button-D6qO2idW.js → button-D7XurXfj.js} +2 -2
- package/dist/chunks/{button-D6qO2idW.js.map → button-D7XurXfj.js.map} +1 -1
- package/dist/chunks/{chunk.UEBQI7VV-lcP-fpUk.js → chunk.UEBQI7VV-CrSDe9uN.js} +2 -2
- package/dist/chunks/{chunk.UEBQI7VV-lcP-fpUk.js.map → chunk.UEBQI7VV-CrSDe9uN.js.map} +1 -1
- package/dist/chunks/{combobox-DS6byaf1.js → combobox-CHli5LVO.js} +3 -3
- package/dist/chunks/{combobox-DS6byaf1.js.map → combobox-CHli5LVO.js.map} +1 -1
- package/dist/chunks/{combobox-option-DOtGuKel.js → combobox-option-lOJdg5cD.js} +2 -2
- package/dist/chunks/{combobox-option-DOtGuKel.js.map → combobox-option-lOJdg5cD.js.map} +1 -1
- package/dist/chunks/{components-C8c2Ucm5.js → components-CVuqsI0R.js} +2 -2
- package/dist/chunks/{components-C8c2Ucm5.js.map → components-CVuqsI0R.js.map} +1 -1
- package/dist/chunks/{context-BDrfQ9bN.js → context-0sxUfxf7.js} +2 -2
- package/dist/chunks/{context-BDrfQ9bN.js.map → context-0sxUfxf7.js.map} +1 -1
- package/dist/chunks/{dialog-CgYK767T.js → dialog-BTlq_YfO.js} +4 -4
- package/dist/chunks/{dialog-CgYK767T.js.map → dialog-BTlq_YfO.js.map} +1 -1
- package/dist/chunks/{dialog-content-DjwRH1ci.js → dialog-content-DHim135-.js} +2 -2
- package/dist/chunks/{dialog-content-DjwRH1ci.js.map → dialog-content-DHim135-.js.map} +1 -1
- package/dist/chunks/{dialog-footer-GQWi8lfB.js → dialog-footer-B8uRmp3J.js} +2 -2
- package/dist/chunks/{dialog-footer-GQWi8lfB.js.map → dialog-footer-B8uRmp3J.js.map} +1 -1
- package/dist/chunks/{dialog-header-c3qOMQfb.js → dialog-header-CQ2jzzUd.js} +2 -2
- package/dist/chunks/{dialog-header-c3qOMQfb.js.map → dialog-header-CQ2jzzUd.js.map} +1 -1
- package/dist/chunks/{dialogs-BmtLjMzg.js → dialogs-gEIIeLi6.js} +2 -2
- package/dist/chunks/{dialogs-BmtLjMzg.js.map → dialogs-gEIIeLi6.js.map} +1 -1
- package/dist/chunks/{dialogs-root-BNF3_SA8.js → dialogs-root-DuRAjRjg.js} +3 -3
- package/dist/chunks/{dialogs-root-BNF3_SA8.js.map → dialogs-root-DuRAjRjg.js.map} +1 -1
- package/dist/chunks/{error-state-jV9dlFX2.js → error-state-Y-Fe0JiX.js} +3 -3
- package/dist/chunks/{error-state-jV9dlFX2.js.map → error-state-Y-Fe0JiX.js.map} +1 -1
- package/dist/chunks/{file-explorer-header-BJzo6xDU.js → file-explorer-header-DGcG6Agk.js} +165 -137
- package/dist/chunks/file-explorer-header-DGcG6Agk.js.map +1 -0
- package/dist/chunks/{file-explorer-provider-DpjC7uds.js → file-explorer-provider-CIAJV8hq.js} +4 -4
- package/dist/chunks/{file-explorer-provider-DpjC7uds.js.map → file-explorer-provider-CIAJV8hq.js.map} +1 -1
- package/dist/chunks/{guard-SxVT1xr4.js → guard-53kvhglh.js} +3 -3
- package/dist/chunks/{guard-SxVT1xr4.js.map → guard-53kvhglh.js.map} +1 -1
- package/dist/chunks/index.esm-BYrQu5rV.js +6 -0
- package/dist/chunks/index.esm-BYrQu5rV.js.map +1 -0
- package/dist/chunks/{input-Bz3l514j.js → input-MtTyDieA.js} +2 -2
- package/dist/chunks/{input-Bz3l514j.js.map → input-MtTyDieA.js.map} +1 -1
- package/dist/chunks/{jsonld-C6IOQ1Tg.js → jsonld-lAxnRr2L.js} +2 -2
- package/dist/chunks/{jsonld-C6IOQ1Tg.js.map → jsonld-lAxnRr2L.js.map} +1 -1
- package/dist/chunks/{login-button-Dd0rwZJk.js → login-button-Dx58UUyH.js} +4 -4
- package/dist/chunks/{login-button-Dd0rwZJk.js.map → login-button-Dx58UUyH.js.map} +1 -1
- package/dist/chunks/{logout-button-Da34Lrnq.js → logout-button-Vrn0nLVQ.js} +4 -4
- package/dist/chunks/{logout-button-Da34Lrnq.js.map → logout-button-Vrn0nLVQ.js.map} +1 -1
- package/dist/chunks/{menu-item-nfPpH4dN.js → menu-item-EARrOY8C.js} +3 -3
- package/dist/chunks/menu-item-EARrOY8C.js.map +1 -0
- package/dist/chunks/{menu-BNJU654v.js → menu-pe4NxtfD.js} +3 -3
- package/dist/chunks/{menu-BNJU654v.js.map → menu-pe4NxtfD.js.map} +1 -1
- package/dist/chunks/{photo-capture-hJaJm4TM.js → photo-capture-B8ponMpE.js} +4 -4
- package/dist/chunks/{photo-capture-hJaJm4TM.js.map → photo-capture-B8ponMpE.js.map} +1 -1
- package/dist/chunks/{photo-capture-modal-BsHv6wmh.js → photo-capture-modal-SOcYsArw.js} +6 -6
- package/dist/chunks/{photo-capture-modal-BsHv6wmh.js.map → photo-capture-modal-SOcYsArw.js.map} +1 -1
- package/dist/chunks/{provide-z9U64q4m.js → provide-BQN7o60i.js} +2 -2
- package/dist/chunks/{provide-z9U64q4m.js.map → provide-BQN7o60i.js.map} +1 -1
- package/dist/chunks/{provider-B3FoP2qW.js → provider-CnOHE-B-.js} +5 -5
- package/dist/chunks/{provider-B3FoP2qW.js.map → provider-CnOHE-B-.js.map} +1 -1
- package/dist/chunks/{rdf-form-BkKDmFPD.js → rdf-form-CtskuSp2.js} +4 -4
- package/dist/chunks/{rdf-form-BkKDmFPD.js.map → rdf-form-CtskuSp2.js.map} +1 -1
- package/dist/chunks/{rdf-input-BPePtqfS.js → rdf-input-DfTBeaCB.js} +8 -8
- package/dist/chunks/{rdf-input-BPePtqfS.js.map → rdf-input-DfTBeaCB.js.map} +1 -1
- package/dist/chunks/{select-ClPkDkGl.js → select-BKXrVwJC.js} +2 -2
- package/dist/chunks/{select-ClPkDkGl.js.map → select-BKXrVwJC.js.map} +1 -1
- package/dist/chunks/{select-option-DQan7rcB.js → select-option-SlgG53he.js} +2 -2
- package/dist/chunks/{select-option-DQan7rcB.js.map → select-option-SlgG53he.js.map} +1 -1
- package/dist/chunks/{signup-button-DOInssOu.js → signup-button-C-dLsqr8.js} +4 -4
- package/dist/chunks/{signup-button-DOInssOu.js.map → signup-button-C-dLsqr8.js.map} +1 -1
- package/dist/chunks/{solid-emblem-DwLdkGuO.js → solid-emblem-BmFc2G2B.js} +2 -2
- package/dist/chunks/{solid-emblem-DwLdkGuO.js.map → solid-emblem-BmFc2G2B.js.map} +1 -1
- package/dist/chunks/{solidLogicSingleton.esm-Bvt7E7Vl.js → solidLogicSingleton.esm-CKYdvLzf.js} +12317 -4363
- package/dist/chunks/solidLogicSingleton.esm-CKYdvLzf.js.map +1 -0
- package/dist/chunks/{src-Cv9Lm1V-.js → src-CiHeLI_K.js} +2303 -2302
- package/dist/chunks/src-CiHeLI_K.js.map +1 -0
- package/dist/chunks/{style-Dlw9-wPn.js → style-Du-nyh8u.js} +7 -7
- package/dist/chunks/{style-Dlw9-wPn.js.map → style-Du-nyh8u.js.map} +1 -1
- package/dist/chunks/widgets-CTH3oXJI.js +2762 -0
- package/dist/chunks/widgets-CTH3oXJI.js.map +1 -0
- package/dist/components/access-control-modal.js +1 -1
- package/dist/components/account.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/combobox-option.js +1 -1
- package/dist/components/combobox.js +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.js +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/dialogs-root.js +1 -1
- package/dist/components/error-state.js +1 -1
- package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js +3 -2
- package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js.map +1 -1
- package/dist/components/file-explorer-header/FileExplorerHeader.d.ts +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.d.ts.map +1 -1
- package/dist/components/file-explorer-header/FileExplorerHeader.esm.js +57 -45
- package/dist/components/file-explorer-header/FileExplorerHeader.esm.js.map +1 -1
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js +1 -1
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js.map +1 -1
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js +5 -2
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js.map +1 -1
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js +12 -10
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js.map +1 -1
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.d.ts +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.d.ts.map +1 -1
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js +72 -59
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js.map +1 -1
- package/dist/components/file-explorer-header.js +1 -1
- package/dist/components/file-explorer-provider.js +1 -1
- package/dist/components/guard.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/login-button.js +1 -1
- package/dist/components/login-modal.js +1 -1
- package/dist/components/logout-button.js +1 -1
- package/dist/components/menu-item/MenuItem.styles.cjs.js +1 -1
- package/dist/components/menu-item/MenuItem.styles.cjs.js.map +1 -1
- package/dist/components/menu-item/MenuItem.styles.esm.js +1 -1
- package/dist/components/menu-item/MenuItem.styles.esm.js.map +1 -1
- package/dist/components/menu-item.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/photo-capture-modal.js +1 -1
- package/dist/components/photo-capture.js +1 -1
- package/dist/components/provider.js +1 -1
- package/dist/components/rdf-form.js +1 -1
- package/dist/components/rdf-input.js +1 -1
- package/dist/components/resource-actions-menu.js +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 +30 -30
- package/dist/index.js +8 -8
- package/dist/lib/components/web-component/WebComponent.styles.cjs.js +1 -1
- package/dist/lib/components/web-component/WebComponent.styles.esm.js +1 -1
- package/dist/lib/file-explorer/compose-explorer.cjs.js +1 -1
- package/dist/lib/file-explorer/compose-explorer.cjs.js.map +1 -1
- package/dist/lib/file-explorer/compose-explorer.d.ts +1 -1
- package/dist/lib/file-explorer/compose-explorer.d.ts.map +1 -1
- package/dist/lib/file-explorer/compose-explorer.esm.js +1 -1
- package/dist/lib/file-explorer/compose-explorer.esm.js.map +1 -1
- package/dist/loader.js +8 -8
- package/dist/solid-ui.js +66 -63
- package/dist/solid-ui.min.js +66 -63
- package/dist/solid-ui.min.js.map +1 -1
- package/dist/theme.css +1 -1
- package/package.json +3 -3
- package/dist/chunks/auth-EK-iYNYZ.js.map +0 -1
- package/dist/chunks/file-explorer-header-BJzo6xDU.js.map +0 -1
- package/dist/chunks/index.esm-BQrkxchZ.js +0 -6
- package/dist/chunks/index.esm-BQrkxchZ.js.map +0 -1
- package/dist/chunks/menu-item-nfPpH4dN.js.map +0 -1
- package/dist/chunks/solidLogicSingleton.esm-Bvt7E7Vl.js.map +0 -1
- package/dist/chunks/src-Cv9Lm1V-.js.map +0 -1
- package/dist/chunks/widgets-C92ihtlF.js +0 -10628
- package/dist/chunks/widgets-C92ihtlF.js.map +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { a as e, c as t, g as n, i as r, o as i, p as a, r as o, u as s } from "./components-
|
|
2
|
-
import { u as c } from "./style-
|
|
3
|
-
import { T as l, p as u } from "./widgets-
|
|
4
|
-
import {
|
|
1
|
+
import { a as e, c as t, g as n, i as r, o as i, p as a, r as o, u as s } from "./components-CVuqsI0R.js";
|
|
2
|
+
import { u as c } from "./style-Du-nyh8u.js";
|
|
3
|
+
import { T as l, p as u } from "./widgets-CTH3oXJI.js";
|
|
4
|
+
import { D as d, _ as f, b as p, f as m, g as h, h as g, m as _, n as v, t as y, v as b } from "./solidLogicSingleton.esm-CKYdvLzf.js";
|
|
5
5
|
import "./globe-CsCgZcy5.js";
|
|
6
6
|
import "./x-D1JUUSOS.js";
|
|
7
|
-
import "./dialog-
|
|
8
|
-
import "./dialog-content-
|
|
9
|
-
import "./dialog-footer-
|
|
10
|
-
import "./button-
|
|
11
|
-
import { r as x } from "./combobox-
|
|
12
|
-
import "./combobox-option-
|
|
13
|
-
import "./error-state-
|
|
7
|
+
import "./dialog-BTlq_YfO.js";
|
|
8
|
+
import "./dialog-content-DHim135-.js";
|
|
9
|
+
import "./dialog-footer-B8uRmp3J.js";
|
|
10
|
+
import "./button-D7XurXfj.js";
|
|
11
|
+
import { r as x } from "./combobox-CHli5LVO.js";
|
|
12
|
+
import "./combobox-option-lOJdg5cD.js";
|
|
13
|
+
import "./error-state-Y-Fe0JiX.js";
|
|
14
14
|
// ~icons/lucide/circle-x
|
|
15
15
|
var S = class extends HTMLElement {
|
|
16
16
|
constructor() {
|
|
@@ -231,7 +231,7 @@ new (se = (D = /*#__PURE__*/ new WeakMap(), O = /*#__PURE__*/ new WeakMap(), k =
|
|
|
231
231
|
typeof t.label == "string" && (this.searchValue = t.label);
|
|
232
232
|
}
|
|
233
233
|
onAccessGrantRoleChange(e, t) {
|
|
234
|
-
let n = t.detail.option.value, r = typeof n == "string" ?
|
|
234
|
+
let n = t.detail.option.value, r = typeof n == "string" ? _.find((e) => e === n) : void 0;
|
|
235
235
|
if (!r) return;
|
|
236
236
|
let i = {
|
|
237
237
|
id: e,
|
|
@@ -312,7 +312,7 @@ new (se = (D = /*#__PURE__*/ new WeakMap(), O = /*#__PURE__*/ new WeakMap(), k =
|
|
|
312
312
|
`;
|
|
313
313
|
}
|
|
314
314
|
renderGrantRoleOptions() {
|
|
315
|
-
return
|
|
315
|
+
return _.map((e) => s`
|
|
316
316
|
<solid-ui-combobox-option value=${e}>${e === "No Access" ? "Remove" : e}</solid-ui-combobox-option>
|
|
317
317
|
`);
|
|
318
318
|
}
|
|
@@ -578,7 +578,7 @@ new (Ve = (Ee = /*#__PURE__*/ new WeakMap(), De = /*#__PURE__*/ new WeakMap(), O
|
|
|
578
578
|
M(ke, this, e);
|
|
579
579
|
}
|
|
580
580
|
onAuthenticatedRoleChange(e) {
|
|
581
|
-
this.dispatchRoleChange("authenticated-role-changed", e,
|
|
581
|
+
this.dispatchRoleChange("authenticated-role-changed", e, _);
|
|
582
582
|
}
|
|
583
583
|
onPublicRoleChange(e) {
|
|
584
584
|
this.dispatchRoleChange("public-role-changed", e, h);
|
|
@@ -601,7 +601,7 @@ new (Ve = (Ee = /*#__PURE__*/ new WeakMap(), De = /*#__PURE__*/ new WeakMap(), O
|
|
|
601
601
|
}
|
|
602
602
|
}
|
|
603
603
|
renderAuthenticatedRoleOptions() {
|
|
604
|
-
return
|
|
604
|
+
return _.map((e) => s`
|
|
605
605
|
<solid-ui-combobox-option value=${e}>${e}</solid-ui-combobox-option>
|
|
606
606
|
`);
|
|
607
607
|
}
|
|
@@ -950,7 +950,7 @@ var Tt = a`:host{& .access-control-mixed-policy-warning{border:1px solid var(--s
|
|
|
950
950
|
function Et(e) {
|
|
951
951
|
return {
|
|
952
952
|
...e,
|
|
953
|
-
agentClass: e.agentClass.filter((e) => e !==
|
|
953
|
+
agentClass: e.agentClass.filter((e) => e !== f.iri && e !== b.iri)
|
|
954
954
|
};
|
|
955
955
|
}
|
|
956
956
|
function Dt(e) {
|
|
@@ -1030,15 +1030,15 @@ function Ft(e) {
|
|
|
1030
1030
|
}));
|
|
1031
1031
|
}
|
|
1032
1032
|
function It(e) {
|
|
1033
|
-
let t = e.filter((e) => e.agentClass.includes(
|
|
1033
|
+
let t = e.filter((e) => e.agentClass.includes(f.iri)).flatMap((e) => e.mode);
|
|
1034
1034
|
return t.length ? y.acl.roleFromModes(t) : "No Access";
|
|
1035
1035
|
}
|
|
1036
1036
|
function Lt(e) {
|
|
1037
|
-
let t = e.filter((e) => e.agentClass.includes(
|
|
1037
|
+
let t = e.filter((e) => e.agentClass.includes(b.iri)).flatMap((e) => e.mode);
|
|
1038
1038
|
return t.length ? y.acl.publicRoleFromModes(t) : "No Access";
|
|
1039
1039
|
}
|
|
1040
1040
|
function Rt(e) {
|
|
1041
|
-
return e.iri ===
|
|
1041
|
+
return e.iri === f.iri ? "Authenticated users" : e.iri === b.iri ? "Public" : c(d(e.iri)).trim() || e.iri;
|
|
1042
1042
|
}
|
|
1043
1043
|
// ~icons/lucide/book-user
|
|
1044
1044
|
var zt = class extends HTMLElement {
|
|
@@ -1308,7 +1308,7 @@ new (sn = (I = /*#__PURE__*/ new WeakMap(), L = /*#__PURE__*/ new WeakMap(), R =
|
|
|
1308
1308
|
}));
|
|
1309
1309
|
}
|
|
1310
1310
|
onRoleChange(e) {
|
|
1311
|
-
let t = e.detail.option.value, n = typeof t == "string" ?
|
|
1311
|
+
let t = e.detail.option.value, n = typeof t == "string" ? _.find((e) => e === t) : void 0;
|
|
1312
1312
|
n && this.dispatchEvent(new CustomEvent("role-changed", {
|
|
1313
1313
|
detail: { role: n },
|
|
1314
1314
|
bubbles: !0,
|
|
@@ -1352,7 +1352,7 @@ new (sn = (I = /*#__PURE__*/ new WeakMap(), L = /*#__PURE__*/ new WeakMap(), R =
|
|
|
1352
1352
|
.value=${this.addAccessRoleValue}
|
|
1353
1353
|
@change=${this.onRoleChange}
|
|
1354
1354
|
>
|
|
1355
|
-
${
|
|
1355
|
+
${_.filter((e) => e !== "No Access").map((e) => s`
|
|
1356
1356
|
<solid-ui-combobox-option value=${e}>${e}</solid-ui-combobox-option>
|
|
1357
1357
|
`)}
|
|
1358
1358
|
</solid-ui-combobox>
|
|
@@ -1525,8 +1525,8 @@ async function Mn(e) {
|
|
|
1525
1525
|
if (!t) return [];
|
|
1526
1526
|
await y.profile.loadProfile(t);
|
|
1527
1527
|
let n = y.store;
|
|
1528
|
-
return n.each(t,
|
|
1529
|
-
let r = n.any(t,
|
|
1528
|
+
return n.each(t, p.acl("trustedApp")).flatMap((t) => {
|
|
1529
|
+
let r = n.any(t, p.acl("origin"));
|
|
1530
1530
|
if (!r || !Sn(r.value)) return [];
|
|
1531
1531
|
let i = new URL(r.value).origin;
|
|
1532
1532
|
return e && !`${i} trusted app`.toLowerCase().includes(e.toLowerCase()) ? [] : [{
|
|
@@ -1561,7 +1561,7 @@ var Pn = x(async (e) => {
|
|
|
1561
1561
|
try {
|
|
1562
1562
|
i = await y.directory.search({
|
|
1563
1563
|
query: t,
|
|
1564
|
-
sources:
|
|
1564
|
+
sources: v
|
|
1565
1565
|
});
|
|
1566
1566
|
} catch (e) {
|
|
1567
1567
|
if (!n.length && !r.length) throw e;
|
|
@@ -1605,7 +1605,7 @@ async function Fn(e, t, n = {}) {
|
|
|
1605
1605
|
return r;
|
|
1606
1606
|
}
|
|
1607
1607
|
function In(e, t) {
|
|
1608
|
-
if (e.type === "agentClass" && e.iri ===
|
|
1608
|
+
if (e.type === "agentClass" && e.iri === b.iri) {
|
|
1609
1609
|
let e = h.find((e) => e === t);
|
|
1610
1610
|
if (!e) throw Error(`Public access does not support the ${t} role.`);
|
|
1611
1611
|
return y.acl.modesFromPublicRole(e);
|
|
@@ -2064,7 +2064,7 @@ new (Rr = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
|
|
|
2064
2064
|
}
|
|
2065
2065
|
getScopedAccessGrants(e = this.getSelectedContainerScope()) {
|
|
2066
2066
|
let t = this.accessGrants ?? [];
|
|
2067
|
-
return !this.isContainer() || !this.subjectUri || this.protectedTarget ? t :
|
|
2067
|
+
return !this.isContainer() || !this.subjectUri || this.protectedTarget ? t : m(this.subjectUri, t, e, this.accessContext?.inherited ?? !1);
|
|
2068
2068
|
}
|
|
2069
2069
|
refreshScopedAccessGrantDrafts() {
|
|
2070
2070
|
let e = this.getScopedAccessGrants();
|
|
@@ -2287,11 +2287,11 @@ new (Rr = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
|
|
|
2287
2287
|
if (!this.subjectUri) return [];
|
|
2288
2288
|
let e = this.getScopedAccessGrants(), t = It(e), n = Lt(e);
|
|
2289
2289
|
return [this.authenticatedAccessRoleValue === t ? void 0 : {
|
|
2290
|
-
subject:
|
|
2290
|
+
subject: f,
|
|
2291
2291
|
role: this.authenticatedAccessRoleValue,
|
|
2292
2292
|
label: "Authenticated users"
|
|
2293
2293
|
}, this.publicAccessRoleValue === n ? void 0 : {
|
|
2294
|
-
subject:
|
|
2294
|
+
subject: b,
|
|
2295
2295
|
role: this.publicAccessRoleValue,
|
|
2296
2296
|
label: "Public"
|
|
2297
2297
|
}].filter(Jr);
|
|
@@ -2473,4 +2473,4 @@ new (Rr = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
|
|
|
2473
2473
|
var Xr = Yr;
|
|
2474
2474
|
export { Yr as n, Xr as t };
|
|
2475
2475
|
|
|
2476
|
-
//# sourceMappingURL=access-control-modal-
|
|
2476
|
+
//# sourceMappingURL=access-control-modal-BR7HhqpN.js.map
|