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.
Files changed (168) hide show
  1. package/dist/acl/add-agent-buttons.cjs.js +1 -1
  2. package/dist/acl/add-agent-buttons.cjs.js.map +1 -1
  3. package/dist/acl/add-agent-buttons.d.ts.map +1 -1
  4. package/dist/acl/add-agent-buttons.esm.js +22 -20
  5. package/dist/acl/add-agent-buttons.esm.js.map +1 -1
  6. package/dist/chunks/{DialogProvider-CdesAsw-.js → DialogProvider-DwymaGN5.js} +3 -3
  7. package/dist/chunks/{DialogProvider-CdesAsw-.js.map → DialogProvider-DwymaGN5.js.map} +1 -1
  8. package/dist/chunks/{ResourceActionsMenu-KFMLta44.js → ResourceActionsMenu-mLMf4fAa.js} +9 -9
  9. package/dist/chunks/{ResourceActionsMenu-KFMLta44.js.map → ResourceActionsMenu-mLMf4fAa.js.map} +1 -1
  10. package/dist/chunks/{access-control-modal-BZdBv6VD.js → access-control-modal-BR7HhqpN.js} +29 -29
  11. package/dist/chunks/{access-control-modal-BZdBv6VD.js.map → access-control-modal-BR7HhqpN.js.map} +1 -1
  12. package/dist/chunks/{account-DWmMJre6.js → account-Dtv8-QEH.js} +10 -10
  13. package/dist/chunks/{account-DWmMJre6.js.map → account-Dtv8-QEH.js.map} +1 -1
  14. package/dist/chunks/{auth-EK-iYNYZ.js → auth-Cj-J-3Nf.js} +26 -26
  15. package/dist/chunks/auth-Cj-J-3Nf.js.map +1 -0
  16. package/dist/chunks/{avatar-BBgvMlqv.js → avatar-D_bHMV5F.js} +3 -3
  17. package/dist/chunks/{avatar-BBgvMlqv.js.map → avatar-D_bHMV5F.js.map} +1 -1
  18. package/dist/chunks/{button-D6qO2idW.js → button-D7XurXfj.js} +2 -2
  19. package/dist/chunks/{button-D6qO2idW.js.map → button-D7XurXfj.js.map} +1 -1
  20. package/dist/chunks/{chunk.UEBQI7VV-lcP-fpUk.js → chunk.UEBQI7VV-CrSDe9uN.js} +2 -2
  21. package/dist/chunks/{chunk.UEBQI7VV-lcP-fpUk.js.map → chunk.UEBQI7VV-CrSDe9uN.js.map} +1 -1
  22. package/dist/chunks/{combobox-DS6byaf1.js → combobox-CHli5LVO.js} +3 -3
  23. package/dist/chunks/{combobox-DS6byaf1.js.map → combobox-CHli5LVO.js.map} +1 -1
  24. package/dist/chunks/{combobox-option-DOtGuKel.js → combobox-option-lOJdg5cD.js} +2 -2
  25. package/dist/chunks/{combobox-option-DOtGuKel.js.map → combobox-option-lOJdg5cD.js.map} +1 -1
  26. package/dist/chunks/{components-C8c2Ucm5.js → components-CVuqsI0R.js} +2 -2
  27. package/dist/chunks/{components-C8c2Ucm5.js.map → components-CVuqsI0R.js.map} +1 -1
  28. package/dist/chunks/{context-BDrfQ9bN.js → context-0sxUfxf7.js} +2 -2
  29. package/dist/chunks/{context-BDrfQ9bN.js.map → context-0sxUfxf7.js.map} +1 -1
  30. package/dist/chunks/{dialog-CgYK767T.js → dialog-BTlq_YfO.js} +4 -4
  31. package/dist/chunks/{dialog-CgYK767T.js.map → dialog-BTlq_YfO.js.map} +1 -1
  32. package/dist/chunks/{dialog-content-DjwRH1ci.js → dialog-content-DHim135-.js} +2 -2
  33. package/dist/chunks/{dialog-content-DjwRH1ci.js.map → dialog-content-DHim135-.js.map} +1 -1
  34. package/dist/chunks/{dialog-footer-GQWi8lfB.js → dialog-footer-B8uRmp3J.js} +2 -2
  35. package/dist/chunks/{dialog-footer-GQWi8lfB.js.map → dialog-footer-B8uRmp3J.js.map} +1 -1
  36. package/dist/chunks/{dialog-header-c3qOMQfb.js → dialog-header-CQ2jzzUd.js} +2 -2
  37. package/dist/chunks/{dialog-header-c3qOMQfb.js.map → dialog-header-CQ2jzzUd.js.map} +1 -1
  38. package/dist/chunks/{dialogs-BmtLjMzg.js → dialogs-gEIIeLi6.js} +2 -2
  39. package/dist/chunks/{dialogs-BmtLjMzg.js.map → dialogs-gEIIeLi6.js.map} +1 -1
  40. package/dist/chunks/{dialogs-root-BNF3_SA8.js → dialogs-root-DuRAjRjg.js} +3 -3
  41. package/dist/chunks/{dialogs-root-BNF3_SA8.js.map → dialogs-root-DuRAjRjg.js.map} +1 -1
  42. package/dist/chunks/{error-state-jV9dlFX2.js → error-state-Y-Fe0JiX.js} +3 -3
  43. package/dist/chunks/{error-state-jV9dlFX2.js.map → error-state-Y-Fe0JiX.js.map} +1 -1
  44. package/dist/chunks/{file-explorer-header-BJzo6xDU.js → file-explorer-header-DGcG6Agk.js} +165 -137
  45. package/dist/chunks/file-explorer-header-DGcG6Agk.js.map +1 -0
  46. package/dist/chunks/{file-explorer-provider-DpjC7uds.js → file-explorer-provider-CIAJV8hq.js} +4 -4
  47. package/dist/chunks/{file-explorer-provider-DpjC7uds.js.map → file-explorer-provider-CIAJV8hq.js.map} +1 -1
  48. package/dist/chunks/{guard-SxVT1xr4.js → guard-53kvhglh.js} +3 -3
  49. package/dist/chunks/{guard-SxVT1xr4.js.map → guard-53kvhglh.js.map} +1 -1
  50. package/dist/chunks/index.esm-BYrQu5rV.js +6 -0
  51. package/dist/chunks/index.esm-BYrQu5rV.js.map +1 -0
  52. package/dist/chunks/{input-Bz3l514j.js → input-MtTyDieA.js} +2 -2
  53. package/dist/chunks/{input-Bz3l514j.js.map → input-MtTyDieA.js.map} +1 -1
  54. package/dist/chunks/{jsonld-C6IOQ1Tg.js → jsonld-lAxnRr2L.js} +2 -2
  55. package/dist/chunks/{jsonld-C6IOQ1Tg.js.map → jsonld-lAxnRr2L.js.map} +1 -1
  56. package/dist/chunks/{login-button-Dd0rwZJk.js → login-button-Dx58UUyH.js} +4 -4
  57. package/dist/chunks/{login-button-Dd0rwZJk.js.map → login-button-Dx58UUyH.js.map} +1 -1
  58. package/dist/chunks/{logout-button-Da34Lrnq.js → logout-button-Vrn0nLVQ.js} +4 -4
  59. package/dist/chunks/{logout-button-Da34Lrnq.js.map → logout-button-Vrn0nLVQ.js.map} +1 -1
  60. package/dist/chunks/{menu-item-nfPpH4dN.js → menu-item-EARrOY8C.js} +3 -3
  61. package/dist/chunks/menu-item-EARrOY8C.js.map +1 -0
  62. package/dist/chunks/{menu-BNJU654v.js → menu-pe4NxtfD.js} +3 -3
  63. package/dist/chunks/{menu-BNJU654v.js.map → menu-pe4NxtfD.js.map} +1 -1
  64. package/dist/chunks/{photo-capture-hJaJm4TM.js → photo-capture-B8ponMpE.js} +4 -4
  65. package/dist/chunks/{photo-capture-hJaJm4TM.js.map → photo-capture-B8ponMpE.js.map} +1 -1
  66. package/dist/chunks/{photo-capture-modal-BsHv6wmh.js → photo-capture-modal-SOcYsArw.js} +6 -6
  67. package/dist/chunks/{photo-capture-modal-BsHv6wmh.js.map → photo-capture-modal-SOcYsArw.js.map} +1 -1
  68. package/dist/chunks/{provide-z9U64q4m.js → provide-BQN7o60i.js} +2 -2
  69. package/dist/chunks/{provide-z9U64q4m.js.map → provide-BQN7o60i.js.map} +1 -1
  70. package/dist/chunks/{provider-B3FoP2qW.js → provider-CnOHE-B-.js} +5 -5
  71. package/dist/chunks/{provider-B3FoP2qW.js.map → provider-CnOHE-B-.js.map} +1 -1
  72. package/dist/chunks/{rdf-form-BkKDmFPD.js → rdf-form-CtskuSp2.js} +4 -4
  73. package/dist/chunks/{rdf-form-BkKDmFPD.js.map → rdf-form-CtskuSp2.js.map} +1 -1
  74. package/dist/chunks/{rdf-input-BPePtqfS.js → rdf-input-DfTBeaCB.js} +8 -8
  75. package/dist/chunks/{rdf-input-BPePtqfS.js.map → rdf-input-DfTBeaCB.js.map} +1 -1
  76. package/dist/chunks/{select-ClPkDkGl.js → select-BKXrVwJC.js} +2 -2
  77. package/dist/chunks/{select-ClPkDkGl.js.map → select-BKXrVwJC.js.map} +1 -1
  78. package/dist/chunks/{select-option-DQan7rcB.js → select-option-SlgG53he.js} +2 -2
  79. package/dist/chunks/{select-option-DQan7rcB.js.map → select-option-SlgG53he.js.map} +1 -1
  80. package/dist/chunks/{signup-button-DOInssOu.js → signup-button-C-dLsqr8.js} +4 -4
  81. package/dist/chunks/{signup-button-DOInssOu.js.map → signup-button-C-dLsqr8.js.map} +1 -1
  82. package/dist/chunks/{solid-emblem-DwLdkGuO.js → solid-emblem-BmFc2G2B.js} +2 -2
  83. package/dist/chunks/{solid-emblem-DwLdkGuO.js.map → solid-emblem-BmFc2G2B.js.map} +1 -1
  84. package/dist/chunks/{solidLogicSingleton.esm-Bvt7E7Vl.js → solidLogicSingleton.esm-CKYdvLzf.js} +12317 -4363
  85. package/dist/chunks/solidLogicSingleton.esm-CKYdvLzf.js.map +1 -0
  86. package/dist/chunks/{src-Cv9Lm1V-.js → src-CiHeLI_K.js} +2303 -2302
  87. package/dist/chunks/src-CiHeLI_K.js.map +1 -0
  88. package/dist/chunks/{style-Dlw9-wPn.js → style-Du-nyh8u.js} +7 -7
  89. package/dist/chunks/{style-Dlw9-wPn.js.map → style-Du-nyh8u.js.map} +1 -1
  90. package/dist/chunks/widgets-CTH3oXJI.js +2762 -0
  91. package/dist/chunks/widgets-CTH3oXJI.js.map +1 -0
  92. package/dist/components/access-control-modal.js +1 -1
  93. package/dist/components/account.js +1 -1
  94. package/dist/components/avatar.js +1 -1
  95. package/dist/components/button.js +1 -1
  96. package/dist/components/combobox-option.js +1 -1
  97. package/dist/components/combobox.js +1 -1
  98. package/dist/components/dialog-content.js +1 -1
  99. package/dist/components/dialog-footer.js +1 -1
  100. package/dist/components/dialog-header.js +1 -1
  101. package/dist/components/dialog-provider.js +1 -1
  102. package/dist/components/dialog.js +1 -1
  103. package/dist/components/dialogs-root.js +1 -1
  104. package/dist/components/error-state.js +1 -1
  105. package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js +3 -2
  106. package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js.map +1 -1
  107. package/dist/components/file-explorer-header/FileExplorerHeader.d.ts +1 -0
  108. package/dist/components/file-explorer-header/FileExplorerHeader.d.ts.map +1 -1
  109. package/dist/components/file-explorer-header/FileExplorerHeader.esm.js +57 -45
  110. package/dist/components/file-explorer-header/FileExplorerHeader.esm.js.map +1 -1
  111. package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js +1 -1
  112. package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js.map +1 -1
  113. package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js +5 -2
  114. package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js.map +1 -1
  115. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js +12 -10
  116. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js.map +1 -1
  117. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.d.ts +1 -0
  118. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.d.ts.map +1 -1
  119. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js +72 -59
  120. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js.map +1 -1
  121. package/dist/components/file-explorer-header.js +1 -1
  122. package/dist/components/file-explorer-provider.js +1 -1
  123. package/dist/components/guard.js +1 -1
  124. package/dist/components/input.js +1 -1
  125. package/dist/components/login-button.js +1 -1
  126. package/dist/components/login-modal.js +1 -1
  127. package/dist/components/logout-button.js +1 -1
  128. package/dist/components/menu-item/MenuItem.styles.cjs.js +1 -1
  129. package/dist/components/menu-item/MenuItem.styles.cjs.js.map +1 -1
  130. package/dist/components/menu-item/MenuItem.styles.esm.js +1 -1
  131. package/dist/components/menu-item/MenuItem.styles.esm.js.map +1 -1
  132. package/dist/components/menu-item.js +1 -1
  133. package/dist/components/menu.js +1 -1
  134. package/dist/components/photo-capture-modal.js +1 -1
  135. package/dist/components/photo-capture.js +1 -1
  136. package/dist/components/provider.js +1 -1
  137. package/dist/components/rdf-form.js +1 -1
  138. package/dist/components/rdf-input.js +1 -1
  139. package/dist/components/resource-actions-menu.js +1 -1
  140. package/dist/components/select-option.js +1 -1
  141. package/dist/components/select.js +1 -1
  142. package/dist/components/signup-button.js +1 -1
  143. package/dist/components/solid-emblem.js +1 -1
  144. package/dist/components.js +30 -30
  145. package/dist/index.js +8 -8
  146. package/dist/lib/components/web-component/WebComponent.styles.cjs.js +1 -1
  147. package/dist/lib/components/web-component/WebComponent.styles.esm.js +1 -1
  148. package/dist/lib/file-explorer/compose-explorer.cjs.js +1 -1
  149. package/dist/lib/file-explorer/compose-explorer.cjs.js.map +1 -1
  150. package/dist/lib/file-explorer/compose-explorer.d.ts +1 -1
  151. package/dist/lib/file-explorer/compose-explorer.d.ts.map +1 -1
  152. package/dist/lib/file-explorer/compose-explorer.esm.js +1 -1
  153. package/dist/lib/file-explorer/compose-explorer.esm.js.map +1 -1
  154. package/dist/loader.js +8 -8
  155. package/dist/solid-ui.js +66 -63
  156. package/dist/solid-ui.min.js +66 -63
  157. package/dist/solid-ui.min.js.map +1 -1
  158. package/dist/theme.css +1 -1
  159. package/package.json +3 -3
  160. package/dist/chunks/auth-EK-iYNYZ.js.map +0 -1
  161. package/dist/chunks/file-explorer-header-BJzo6xDU.js.map +0 -1
  162. package/dist/chunks/index.esm-BQrkxchZ.js +0 -6
  163. package/dist/chunks/index.esm-BQrkxchZ.js.map +0 -1
  164. package/dist/chunks/menu-item-nfPpH4dN.js.map +0 -1
  165. package/dist/chunks/solidLogicSingleton.esm-Bvt7E7Vl.js.map +0 -1
  166. package/dist/chunks/src-Cv9Lm1V-.js.map +0 -1
  167. package/dist/chunks/widgets-C92ihtlF.js +0 -10628
  168. 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-C8c2Ucm5.js";
2
- import { u as c } from "./style-Dlw9-wPn.js";
3
- import { T as l, p as u } from "./widgets-C92ihtlF.js";
4
- import { E as d, _ as f, d as p, g as m, h, m as g, n as _, p as v, t as y, y as b } from "./solidLogicSingleton.esm-Bvt7E7Vl.js";
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-CgYK767T.js";
8
- import "./dialog-content-DjwRH1ci.js";
9
- import "./dialog-footer-GQWi8lfB.js";
10
- import "./button-D6qO2idW.js";
11
- import { r as x } from "./combobox-DS6byaf1.js";
12
- import "./combobox-option-DOtGuKel.js";
13
- import "./error-state-jV9dlFX2.js";
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" ? v.find((e) => e === n) : void 0;
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 v.map((e) => s`
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, v);
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 v.map((e) => s`
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 !== m.iri && e !== f.iri)
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(m.iri)).flatMap((e) => e.mode);
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(f.iri)).flatMap((e) => e.mode);
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 === m.iri ? "Authenticated users" : e.iri === f.iri ? "Public" : c(d(e.iri)).trim() || 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" ? v.find((e) => e === t) : void 0;
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
- ${v.filter((e) => e !== "No Access").map((e) => s`
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, b.acl("trustedApp")).flatMap((t) => {
1529
- let r = n.any(t, b.acl("origin"));
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 === f.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 : p(this.subjectUri, t, e, this.accessContext?.inherited ?? !1);
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: m,
2290
+ subject: f,
2291
2291
  role: this.authenticatedAccessRoleValue,
2292
2292
  label: "Authenticated users"
2293
2293
  }, this.publicAccessRoleValue === n ? void 0 : {
2294
- subject: f,
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-BZdBv6VD.js.map
2476
+ //# sourceMappingURL=access-control-modal-BR7HhqpN.js.map