solid-ui 5.0.2-2 → 5.0.2-4

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 (236) hide show
  1. package/dist/_virtual/~icons/lucide/arrow-left.cjs.js +2 -0
  2. package/dist/_virtual/~icons/lucide/arrow-left.cjs.js.map +1 -0
  3. package/dist/_virtual/~icons/lucide/arrow-left.esm.js +10 -0
  4. package/dist/_virtual/~icons/lucide/arrow-left.esm.js.map +1 -0
  5. package/dist/_virtual/~icons/lucide/ellipsis-vertical.cjs.js +2 -0
  6. package/dist/_virtual/~icons/lucide/ellipsis-vertical.cjs.js.map +1 -0
  7. package/dist/_virtual/~icons/lucide/ellipsis-vertical.esm.js +10 -0
  8. package/dist/_virtual/~icons/lucide/ellipsis-vertical.esm.js.map +1 -0
  9. package/dist/_virtual/~icons/lucide/file.cjs.js +2 -0
  10. package/dist/_virtual/~icons/lucide/file.cjs.js.map +1 -0
  11. package/dist/_virtual/~icons/lucide/file.esm.js +10 -0
  12. package/dist/_virtual/~icons/lucide/file.esm.js.map +1 -0
  13. package/dist/_virtual/~icons/lucide/lock-keyhole.cjs.js +2 -0
  14. package/dist/_virtual/~icons/lucide/lock-keyhole.cjs.js.map +1 -0
  15. package/dist/_virtual/~icons/lucide/lock-keyhole.esm.js +10 -0
  16. package/dist/_virtual/~icons/lucide/lock-keyhole.esm.js.map +1 -0
  17. package/dist/_virtual/~icons/lucide/pencil.cjs.js +2 -0
  18. package/dist/_virtual/~icons/lucide/pencil.cjs.js.map +1 -0
  19. package/dist/_virtual/~icons/lucide/pencil.esm.js +10 -0
  20. package/dist/_virtual/~icons/lucide/pencil.esm.js.map +1 -0
  21. package/dist/_virtual/~icons/lucide/share-2.cjs.js +2 -0
  22. package/dist/_virtual/~icons/lucide/share-2.cjs.js.map +1 -0
  23. package/dist/_virtual/~icons/lucide/share-2.esm.js +10 -0
  24. package/dist/_virtual/~icons/lucide/share-2.esm.js.map +1 -0
  25. package/dist/_virtual/~icons/lucide/user-round-cog.cjs.js +2 -0
  26. package/dist/_virtual/~icons/lucide/user-round-cog.cjs.js.map +1 -0
  27. package/dist/_virtual/~icons/lucide/user-round-cog.esm.js +10 -0
  28. package/dist/_virtual/~icons/lucide/user-round-cog.esm.js.map +1 -0
  29. package/dist/chunks/DialogProvider-CdesAsw-.js +208 -0
  30. package/dist/chunks/DialogProvider-CdesAsw-.js.map +1 -0
  31. package/dist/chunks/ResourceActionsMenu-Bllpr4M5.js +378 -0
  32. package/dist/chunks/ResourceActionsMenu-Bllpr4M5.js.map +1 -0
  33. package/dist/chunks/{access-control-modal-Dcg6-f4V.js → access-control-modal-CwmY_Dod.js} +419 -432
  34. package/dist/chunks/access-control-modal-CwmY_Dod.js.map +1 -0
  35. package/dist/chunks/{account-D6JK-n7u.js → account-CoHPKKDu.js} +6 -6
  36. package/dist/chunks/{account-D6JK-n7u.js.map → account-CoHPKKDu.js.map} +1 -1
  37. package/dist/chunks/{auth-B_abPDvH.js → auth-CocCqS1p.js} +23 -22
  38. package/dist/chunks/{auth-B_abPDvH.js.map → auth-CocCqS1p.js.map} +1 -1
  39. package/dist/chunks/{avatar-BR3COVSQ.js → avatar-sNdKdWVO.js} +2 -2
  40. package/dist/chunks/{avatar-BR3COVSQ.js.map → avatar-sNdKdWVO.js.map} +1 -1
  41. package/dist/chunks/context-BDrfQ9bN.js +21 -0
  42. package/dist/chunks/context-BDrfQ9bN.js.map +1 -0
  43. package/dist/chunks/{dialogs-root-BcQo2XMF.js → dialogs-root-BNF3_SA8.js} +2 -2
  44. package/dist/chunks/{dialogs-root-BcQo2XMF.js.map → dialogs-root-BNF3_SA8.js.map} +1 -1
  45. package/dist/chunks/events-CXQHDCs2.js +8 -0
  46. package/dist/chunks/events-CXQHDCs2.js.map +1 -0
  47. package/dist/chunks/file-explorer-header-D0TebSYR.js +962 -0
  48. package/dist/chunks/file-explorer-header-D0TebSYR.js.map +1 -0
  49. package/dist/chunks/file-explorer-provider-DpjC7uds.js +295 -0
  50. package/dist/chunks/file-explorer-provider-DpjC7uds.js.map +1 -0
  51. package/dist/chunks/globe-CsCgZcy5.js +16 -0
  52. package/dist/chunks/globe-CsCgZcy5.js.map +1 -0
  53. package/dist/chunks/{guard-bTeM7wd7.js → guard-BOicu9dt.js} +2 -2
  54. package/dist/chunks/{guard-bTeM7wd7.js.map → guard-BOicu9dt.js.map} +1 -1
  55. package/dist/chunks/index.esm-C9oV3H3X.js +6 -0
  56. package/dist/chunks/index.esm-C9oV3H3X.js.map +1 -0
  57. package/dist/chunks/{jsonld-CnfzCyCn.js → jsonld-D-TE94B0.js} +2 -2
  58. package/dist/chunks/{jsonld-CnfzCyCn.js.map → jsonld-D-TE94B0.js.map} +1 -1
  59. package/dist/chunks/{login-button-Div4ZT4J.js → login-button-clTw_9tX.js} +2 -2
  60. package/dist/chunks/{login-button-Div4ZT4J.js.map → login-button-clTw_9tX.js.map} +1 -1
  61. package/dist/chunks/{logout-button-D3lqlnCX.js → logout-button-CP-Pz70O.js} +2 -2
  62. package/dist/chunks/{logout-button-D3lqlnCX.js.map → logout-button-CP-Pz70O.js.map} +1 -1
  63. package/dist/chunks/provide-z9U64q4m.js +111 -0
  64. package/dist/chunks/provide-z9U64q4m.js.map +1 -0
  65. package/dist/chunks/{provider-Dcd1NPYx.js → provider-Cuv3Kp6G.js} +4 -4
  66. package/dist/chunks/{provider-Dcd1NPYx.js.map → provider-Cuv3Kp6G.js.map} +1 -1
  67. package/dist/chunks/{rdf-form-CmPnHKR-.js → rdf-form-DVmTw3RG.js} +20 -20
  68. package/dist/chunks/{rdf-form-CmPnHKR-.js.map → rdf-form-DVmTw3RG.js.map} +1 -1
  69. package/dist/chunks/{rdf-input-3AgoeCkJ.js → rdf-input-CRYLK-27.js} +42 -42
  70. package/dist/chunks/{rdf-input-3AgoeCkJ.js.map → rdf-input-CRYLK-27.js.map} +1 -1
  71. package/dist/chunks/{signup-button-2fAoS0Nv.js → signup-button-CexdMWj6.js} +2 -2
  72. package/dist/chunks/{signup-button-2fAoS0Nv.js.map → signup-button-CexdMWj6.js.map} +1 -1
  73. package/dist/chunks/{index.esm-CECfD0e9.js → solidLogicSingleton.esm-BXyHD7mn.js} +1210 -1161
  74. package/dist/chunks/solidLogicSingleton.esm-BXyHD7mn.js.map +1 -0
  75. package/dist/chunks/{src-Dx7k_VIe.js → src-DQgHAH3d.js} +4579 -4542
  76. package/dist/chunks/src-DQgHAH3d.js.map +1 -0
  77. package/dist/chunks/{style-w0Fl0xnd.js → style-CXaw5EYi.js} +9 -8
  78. package/dist/chunks/{style-w0Fl0xnd.js.map → style-CXaw5EYi.js.map} +1 -1
  79. package/dist/chunks/{widgets-BWpm5CPx.js → widgets-BBEQu0CS.js} +722 -721
  80. package/dist/chunks/{widgets-BWpm5CPx.js.map → widgets-BBEQu0CS.js.map} +1 -1
  81. package/dist/components/access-control-modal/AccessControlModal.cjs.js +1 -1
  82. package/dist/components/access-control-modal/AccessControlModal.cjs.js.map +1 -1
  83. package/dist/components/access-control-modal/AccessControlModal.esm.js +1 -1
  84. package/dist/components/access-control-modal/AccessControlModal.esm.js.map +1 -1
  85. package/dist/components/access-control-modal.js +1 -1
  86. package/dist/components/account.js +1 -1
  87. package/dist/components/all.cjs.js +1 -1
  88. package/dist/components/all.esm.js +3 -0
  89. package/dist/components/avatar.js +1 -1
  90. package/dist/components/dialog-provider.js +1 -1
  91. package/dist/components/dialogs-root.js +1 -1
  92. package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js +15 -0
  93. package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js.map +1 -0
  94. package/dist/components/file-explorer-header/FileExplorerHeader.d.ts +20 -0
  95. package/dist/components/file-explorer-header/FileExplorerHeader.d.ts.map +1 -0
  96. package/dist/components/file-explorer-header/FileExplorerHeader.esm.js +310 -0
  97. package/dist/components/file-explorer-header/FileExplorerHeader.esm.js.map +1 -0
  98. package/dist/components/file-explorer-header/FileExplorerHeader.styles.cjs.js +2 -0
  99. package/dist/components/file-explorer-header/FileExplorerHeader.styles.cjs.js.map +1 -0
  100. package/dist/components/file-explorer-header/FileExplorerHeader.styles.esm.js +6 -0
  101. package/dist/components/file-explorer-header/FileExplorerHeader.styles.esm.js.map +1 -0
  102. package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js +35 -0
  103. package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js.map +1 -0
  104. package/dist/components/file-explorer-header/FileExplorerHeaderControls.d.ts +23 -0
  105. package/dist/components/file-explorer-header/FileExplorerHeaderControls.d.ts.map +1 -0
  106. package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js +318 -0
  107. package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js.map +1 -0
  108. package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.cjs.js +2 -0
  109. package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.cjs.js.map +1 -0
  110. package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.esm.js +6 -0
  111. package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.esm.js.map +1 -0
  112. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js +35 -0
  113. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js.map +1 -0
  114. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.d.ts +22 -0
  115. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.d.ts.map +1 -0
  116. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js +356 -0
  117. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js.map +1 -0
  118. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.cjs.js +2 -0
  119. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.cjs.js.map +1 -0
  120. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.esm.js +6 -0
  121. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.esm.js.map +1 -0
  122. package/dist/components/file-explorer-header/index.cjs.js +2 -0
  123. package/dist/components/file-explorer-header/index.cjs.js.map +1 -0
  124. package/dist/components/file-explorer-header/index.d.ts +4 -0
  125. package/dist/components/file-explorer-header/index.d.ts.map +1 -0
  126. package/dist/components/file-explorer-header/index.esm.js +6 -0
  127. package/dist/components/file-explorer-header/index.esm.js.map +1 -0
  128. package/dist/components/file-explorer-header/types.d.ts +11 -0
  129. package/dist/components/file-explorer-header/types.d.ts.map +1 -0
  130. package/dist/components/file-explorer-header.js +1 -0
  131. package/dist/components/file-explorer-provider/FileExplorerProvider.cjs.js +2 -0
  132. package/dist/components/file-explorer-provider/FileExplorerProvider.cjs.js.map +1 -0
  133. package/dist/components/file-explorer-provider/FileExplorerProvider.d.ts +17 -0
  134. package/dist/components/file-explorer-provider/FileExplorerProvider.d.ts.map +1 -0
  135. package/dist/components/file-explorer-provider/FileExplorerProvider.esm.js +297 -0
  136. package/dist/components/file-explorer-provider/FileExplorerProvider.esm.js.map +1 -0
  137. package/dist/components/file-explorer-provider/index.cjs.js +2 -0
  138. package/dist/components/file-explorer-provider/index.cjs.js.map +1 -0
  139. package/dist/components/file-explorer-provider/index.d.ts +4 -0
  140. package/dist/components/file-explorer-provider/index.d.ts.map +1 -0
  141. package/dist/components/file-explorer-provider/index.esm.js +6 -0
  142. package/dist/components/file-explorer-provider/index.esm.js.map +1 -0
  143. package/dist/components/file-explorer-provider.js +1 -0
  144. package/dist/components/guard.js +1 -1
  145. package/dist/components/index.cjs.js +1 -1
  146. package/dist/components/index.d.ts.map +1 -1
  147. package/dist/components/index.esm.js +1 -0
  148. package/dist/components/login-button.js +1 -1
  149. package/dist/components/login-modal.js +1 -1
  150. package/dist/components/logout-button.js +1 -1
  151. package/dist/components/provider.js +1 -1
  152. package/dist/components/rdf-form.js +1 -1
  153. package/dist/components/rdf-input.js +1 -1
  154. package/dist/components/resource-actions-menu/DeleteResourceDialog.d.ts +8 -0
  155. package/dist/components/resource-actions-menu/DeleteResourceDialog.d.ts.map +1 -0
  156. package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js +27 -0
  157. package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js.map +1 -0
  158. package/dist/components/resource-actions-menu/ResourceActionsMenu.d.ts +23 -0
  159. package/dist/components/resource-actions-menu/ResourceActionsMenu.d.ts.map +1 -0
  160. package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js +344 -0
  161. package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js.map +1 -0
  162. package/dist/components/resource-actions-menu/ResourceActionsMenu.styles.cjs.js +2 -0
  163. package/dist/components/resource-actions-menu/ResourceActionsMenu.styles.cjs.js.map +1 -0
  164. package/dist/components/resource-actions-menu/ResourceActionsMenu.styles.esm.js +6 -0
  165. package/dist/components/resource-actions-menu/ResourceActionsMenu.styles.esm.js.map +1 -0
  166. package/dist/components/resource-actions-menu/ResourceActionsMenu.test.d.ts +1 -0
  167. package/dist/components/resource-actions-menu/ResourceActionsMenu.test.d.ts.map +1 -0
  168. package/dist/components/resource-actions-menu/index.cjs.js +1 -0
  169. package/dist/components/resource-actions-menu/index.d.ts +2 -0
  170. package/dist/components/resource-actions-menu/index.d.ts.map +1 -0
  171. package/dist/components/resource-actions-menu/index.esm.js +1 -0
  172. package/dist/components/resource-actions-menu.js +1 -0
  173. package/dist/components/signup-button.js +1 -1
  174. package/dist/components.js +15 -12
  175. package/dist/index.cjs.js +1 -1
  176. package/dist/index.cjs.js.map +1 -1
  177. package/dist/index.d.ts +1 -1
  178. package/dist/index.d.ts.map +1 -1
  179. package/dist/index.esm.js +8 -4
  180. package/dist/index.esm.js.map +1 -1
  181. package/dist/index.js +11 -9
  182. package/dist/lib/context/noopContext.cjs.js +2 -0
  183. package/dist/lib/context/noopContext.cjs.js.map +1 -0
  184. package/dist/lib/context/noopContext.d.ts +2 -0
  185. package/dist/lib/context/noopContext.d.ts.map +1 -0
  186. package/dist/lib/context/noopContext.esm.js +18 -0
  187. package/dist/lib/context/noopContext.esm.js.map +1 -0
  188. package/dist/lib/file-explorer/compose-explorer.cjs.js +2 -0
  189. package/dist/lib/file-explorer/compose-explorer.cjs.js.map +1 -0
  190. package/dist/lib/file-explorer/compose-explorer.d.ts +17 -0
  191. package/dist/lib/file-explorer/compose-explorer.d.ts.map +1 -0
  192. package/dist/lib/file-explorer/compose-explorer.esm.js +18 -0
  193. package/dist/lib/file-explorer/compose-explorer.esm.js.map +1 -0
  194. package/dist/lib/file-explorer/context.cjs.js +1 -1
  195. package/dist/lib/file-explorer/context.cjs.js.map +1 -1
  196. package/dist/lib/file-explorer/context.d.ts +12 -14
  197. package/dist/lib/file-explorer/context.d.ts.map +1 -1
  198. package/dist/lib/file-explorer/context.esm.js +4 -3
  199. package/dist/lib/file-explorer/context.esm.js.map +1 -1
  200. package/dist/lib/file-explorer/events.cjs.js +2 -0
  201. package/dist/lib/file-explorer/events.cjs.js.map +1 -0
  202. package/dist/lib/file-explorer/events.d.ts +16 -0
  203. package/dist/lib/file-explorer/events.d.ts.map +1 -0
  204. package/dist/lib/file-explorer/events.esm.js +8 -0
  205. package/dist/lib/file-explorer/events.esm.js.map +1 -0
  206. package/dist/lib/file-explorer/index.cjs.js +1 -0
  207. package/dist/lib/file-explorer/index.d.ts +5 -0
  208. package/dist/lib/file-explorer/index.d.ts.map +1 -0
  209. package/dist/lib/file-explorer/index.esm.js +5 -0
  210. package/dist/lib/file-explorer/relevant-panes.cjs.js +2 -0
  211. package/dist/lib/file-explorer/relevant-panes.cjs.js.map +1 -0
  212. package/dist/lib/file-explorer/relevant-panes.d.ts +22 -0
  213. package/dist/lib/file-explorer/relevant-panes.d.ts.map +1 -0
  214. package/dist/lib/file-explorer/relevant-panes.esm.js +23 -0
  215. package/dist/lib/file-explorer/relevant-panes.esm.js.map +1 -0
  216. package/dist/loader.js +11 -9
  217. package/dist/solid-ui.js +211 -107
  218. package/dist/solid-ui.min.js +211 -107
  219. package/dist/solid-ui.min.js.map +1 -1
  220. package/dist/theme.css +1 -1
  221. package/dist/utils/podUtils.cjs.js +2 -0
  222. package/dist/utils/podUtils.cjs.js.map +1 -0
  223. package/dist/utils/podUtils.d.ts +6 -0
  224. package/dist/utils/podUtils.d.ts.map +1 -0
  225. package/dist/utils/podUtils.esm.js +22 -0
  226. package/dist/utils/podUtils.esm.js.map +1 -0
  227. package/dist/utils/webIdUtils.cjs.js +1 -0
  228. package/dist/utils/webIdUtils.d.ts +7 -0
  229. package/dist/utils/webIdUtils.d.ts.map +1 -0
  230. package/dist/utils/webIdUtils.esm.js +3 -0
  231. package/package.json +3 -3
  232. package/dist/chunks/DialogProvider-C89v7x0r.js +0 -314
  233. package/dist/chunks/DialogProvider-C89v7x0r.js.map +0 -1
  234. package/dist/chunks/access-control-modal-Dcg6-f4V.js.map +0 -1
  235. package/dist/chunks/index.esm-CECfD0e9.js.map +0 -1
  236. package/dist/chunks/src-Dx7k_VIe.js.map +0 -1
@@ -0,0 +1,297 @@
1
+ import { customElement as e } from "../../lib/components/decorators.esm.js";
2
+ import t from "../../lib/components/web-component/WebComponent.esm.js";
3
+ import "../../lib/components/index.esm.js";
4
+ import { fileExplorerContext as n } from "../../lib/file-explorer/context.esm.js";
5
+ import { provide as r } from "@lit/context";
6
+ import { property as i, state as a } from "lit/decorators.js";
7
+ import { html as o } from "lit-html";
8
+ // src/components/file-explorer-provider/FileExplorerProvider.ts
9
+ var s, c, l, u, d, f, p, m, h, g, _, v, y, b, x, S, C, w, T, E, D;
10
+ function O(e, t, n) {
11
+ return (t = F(t)) in e ? Object.defineProperty(e, t, {
12
+ value: n,
13
+ enumerable: !0,
14
+ configurable: !0,
15
+ writable: !0
16
+ }) : e[t] = n, e;
17
+ }
18
+ function k(e, t, n) {
19
+ A(e, t), t.set(e, n);
20
+ }
21
+ function A(e, t) {
22
+ if (t.has(e)) throw TypeError("Cannot initialize the same private elements twice on an object");
23
+ }
24
+ function j(e, t, n) {
25
+ return e.set(N(e, t), n), n;
26
+ }
27
+ function M(e, t) {
28
+ return e.get(N(e, t));
29
+ }
30
+ function N(e, t, n) {
31
+ if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
32
+ throw TypeError("Private element is not present on this object");
33
+ }
34
+ function P(e, t, n, r, i, a) {
35
+ function o(e, t, n) {
36
+ return function(r, i) {
37
+ return n && n(r), e[t].call(r, i);
38
+ };
39
+ }
40
+ function s(e, t) {
41
+ for (var n = 0; n < e.length; n++) e[n].call(t);
42
+ return t;
43
+ }
44
+ function c(e, t, n, r) {
45
+ if (typeof e != "function" && (r || e !== void 0)) throw TypeError(t + " must " + (n || "be") + " a function" + (r ? "" : " or undefined"));
46
+ return e;
47
+ }
48
+ function l(e, t, n, r, i, a, s, l, u, d, f, p, m) {
49
+ function h(e) {
50
+ if (!m(e)) throw TypeError("Attempted to access private element on non-instance");
51
+ }
52
+ var g, _ = t[0], v = t[3], y = !l;
53
+ if (!y) {
54
+ n || Array.isArray(_) || (_ = [_]);
55
+ var b = {}, x = [], S = i === 3 ? "get" : i === 4 || p ? "set" : "value";
56
+ d ? (f || p ? b = {
57
+ get: L(function() {
58
+ return v(this);
59
+ }, r, "get"),
60
+ set: function(e) {
61
+ t[4](this, e);
62
+ }
63
+ } : b[S] = v, f || L(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
64
+ }
65
+ for (var C = e, w = _.length - 1; w >= 0; w -= n ? 2 : 1) {
66
+ var T = _[w], E = n ? _[w - 1] : void 0, D = {}, O = {
67
+ kind: [
68
+ "field",
69
+ "accessor",
70
+ "method",
71
+ "getter",
72
+ "setter",
73
+ "class"
74
+ ][i],
75
+ name: r,
76
+ metadata: a,
77
+ addInitializer: function(e, t) {
78
+ if (e.v) throw Error("attempted to call addInitializer after decoration was finished");
79
+ c(t, "An initializer", "be", !0), s.push(t);
80
+ }.bind(null, D)
81
+ };
82
+ try {
83
+ if (y) (g = c(T.call(E, C, O), "class decorators", "return")) && (C = g);
84
+ else {
85
+ var k, A;
86
+ O.static = u, O.private = d, d ? i === 2 ? k = function(e) {
87
+ return h(e), b.value;
88
+ } : (i < 4 && (k = o(b, "get", h)), i !== 3 && (A = o(b, "set", h))) : (k = function(e) {
89
+ return e[r];
90
+ }, (i < 2 || i === 4) && (A = function(e, t) {
91
+ e[r] = t;
92
+ }));
93
+ var j = O.access = { has: d ? m.bind() : function(e) {
94
+ return r in e;
95
+ } };
96
+ if (k && (j.get = k), A && (j.set = A), C = T.call(E, p ? {
97
+ get: b.get,
98
+ set: b.set
99
+ } : b[S], O), p) {
100
+ if (typeof C == "object" && C) (g = c(C.get, "accessor.get")) && (b.get = g), (g = c(C.set, "accessor.set")) && (b.set = g), (g = c(C.init, "accessor.init")) && x.push(g);
101
+ else if (C !== void 0) throw TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
102
+ } else c(C, (f ? "field" : "method") + " decorators", "return") && (f ? x.push(C) : b[S] = C);
103
+ }
104
+ } finally {
105
+ D.v = !0;
106
+ }
107
+ }
108
+ return (f || p) && l.push(function(e, t) {
109
+ for (var n = x.length - 1; n >= 0; n--) t = x[n].call(e, t);
110
+ return t;
111
+ }), f || y || (d ? p ? l.push(o(b, "get"), o(b, "set")) : l.push(i === 2 ? b[S] : o.call.bind(b[S])) : Object.defineProperty(e, r, b)), C;
112
+ }
113
+ function u(e, t) {
114
+ return Object.defineProperty(e, Symbol.metadata || Symbol.for("Symbol.metadata"), {
115
+ configurable: !0,
116
+ enumerable: !0,
117
+ value: t
118
+ });
119
+ }
120
+ if (arguments.length >= 6) var d = a[Symbol.metadata || Symbol.for("Symbol.metadata")];
121
+ var f = Object.create(d ?? null), p = function(e, t, n, r) {
122
+ var i, a, o = [], c = function(t) {
123
+ return R(t) === e;
124
+ }, u = /* @__PURE__ */ new Map();
125
+ function d(e) {
126
+ e && o.push(s.bind(null, e));
127
+ }
128
+ for (var f = 0; f < t.length; f++) {
129
+ var p = t[f];
130
+ if (Array.isArray(p)) {
131
+ var m = p[1], h = p[2], g = p.length > 3, _ = 16 & m, v = !!(8 & m), y = (m &= 7) == 0, b = h + "/" + v;
132
+ if (!y && !g) {
133
+ var x = u.get(b);
134
+ 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);
135
+ u.set(b, !(m > 2) || m);
136
+ }
137
+ l(v ? e : e.prototype, p, _, g ? "#" + h : F(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
138
+ }
139
+ }
140
+ return d(i), d(a), o;
141
+ }(e, t, i, f);
142
+ return n.length || u(e, f), {
143
+ e: p,
144
+ get c() {
145
+ var t = [];
146
+ return n.length && [u(l(e, [n], r, e.name, 5, f, t), f), s.bind(null, t, e)];
147
+ }
148
+ };
149
+ }
150
+ function F(e) {
151
+ var t = I(e, "string");
152
+ return typeof t == "symbol" ? t : t + "";
153
+ }
154
+ function I(e, t) {
155
+ if (typeof e != "object" || !e) return e;
156
+ var n;
157
+ if (typeof Symbol < "u" && (n = e[Symbol.toPrimitive]) !== void 0) {
158
+ var r = n.call(e, t || "default");
159
+ if (typeof r != "object") return r;
160
+ throw TypeError("@@toPrimitive must return a primitive value.");
161
+ }
162
+ return (t === "string" ? String : Number)(e);
163
+ }
164
+ function L(e, t, n) {
165
+ typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
166
+ try {
167
+ Object.defineProperty(e, "name", {
168
+ configurable: !0,
169
+ value: n ? n + " " + t : t
170
+ });
171
+ } catch {}
172
+ return e;
173
+ }
174
+ function R(e) {
175
+ if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
176
+ return e;
177
+ }
178
+ u = [e("solid-ui-file-explorer-provider")];
179
+ var z, B = /*#__PURE__*/ new WeakMap(), V = /*#__PURE__*/ new WeakMap(), H = /*#__PURE__*/ new WeakMap(), U = /*#__PURE__*/ new WeakMap(), W = /*#__PURE__*/ new WeakMap(), G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q = /*#__PURE__*/ new WeakMap();
180
+ D = (d = i({ attribute: !1 }), p = i({ attribute: !1 }), h = i({ attribute: !1 }), _ = i({ attribute: !1 }), y = i({ attribute: !1 }), x = a(), C = a(), T = r({ context: n }), "context"), s = class extends t {
181
+ constructor(...e) {
182
+ super(...e), k(this, B, (c(this), f(this))), k(this, V, m(this)), k(this, H, g(this)), k(this, U, v(this, [])), k(this, W, b(this)), k(this, G, S(this)), k(this, K, w(this, !1)), k(this, q, E(this)), O(this, "registerEditor", (e) => (this.editor = e, () => {
183
+ this.editor === e && (this.editor = void 0);
184
+ }));
185
+ }
186
+ get [D]() {
187
+ return M(B, this);
188
+ }
189
+ set context(e) {
190
+ j(B, this, e);
191
+ }
192
+ get subjectUri() {
193
+ return M(V, this);
194
+ }
195
+ set subjectUri(e) {
196
+ j(V, this, e);
197
+ }
198
+ get pane() {
199
+ return M(H, this);
200
+ }
201
+ set pane(e) {
202
+ j(H, this, e);
203
+ }
204
+ get relevantPanes() {
205
+ return M(U, this);
206
+ }
207
+ set relevantPanes(e) {
208
+ j(U, this, e);
209
+ }
210
+ get soloPane() {
211
+ return M(W, this);
212
+ }
213
+ set soloPane(e) {
214
+ j(W, this, e);
215
+ }
216
+ get editor() {
217
+ return M(G, this);
218
+ }
219
+ set editor(e) {
220
+ j(G, this, e);
221
+ }
222
+ get isDirty() {
223
+ return M(K, this);
224
+ }
225
+ set isDirty(e) {
226
+ j(K, this, e);
227
+ }
228
+ get value() {
229
+ return M(q, this);
230
+ }
231
+ set value(e) {
232
+ j(q, this, e);
233
+ }
234
+ willUpdate() {
235
+ this.value = {
236
+ store: this.context?.session.store,
237
+ subjectUri: this.subjectUri,
238
+ pane: this.pane,
239
+ isDirty: this.isDirty,
240
+ canEdit: !!this.editor,
241
+ registerEditor: this.registerEditor,
242
+ beginEditing: () => {
243
+ this.editor?.beginEditing();
244
+ },
245
+ setDirty: (e) => {
246
+ this.isDirty = e;
247
+ }
248
+ };
249
+ }
250
+ render() {
251
+ return o`<slot></slot>`;
252
+ }
253
+ }, {e: [f, m, g, v, b, S, w, E, c], c: [z, l]} = P(s, [
254
+ [
255
+ d,
256
+ 1,
257
+ "context"
258
+ ],
259
+ [
260
+ p,
261
+ 1,
262
+ "subjectUri"
263
+ ],
264
+ [
265
+ h,
266
+ 1,
267
+ "pane"
268
+ ],
269
+ [
270
+ _,
271
+ 1,
272
+ "relevantPanes"
273
+ ],
274
+ [
275
+ y,
276
+ 1,
277
+ "soloPane"
278
+ ],
279
+ [
280
+ x,
281
+ 1,
282
+ "editor"
283
+ ],
284
+ [
285
+ C,
286
+ 1,
287
+ "isDirty"
288
+ ],
289
+ [
290
+ T,
291
+ 1,
292
+ "value"
293
+ ]
294
+ ], u, 0, void 0, t), l();
295
+ export { z as default };
296
+
297
+ //# sourceMappingURL=FileExplorerProvider.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileExplorerProvider.esm.js","names":["html","provide","customElement","WebComponent","property","state","fileExplorerContext","_classDecs","_FileExplorerProvider","_A","WeakMap","_B","_C","_D","_E","_F","_G","_H","_ref","_contextDecs","attribute","_subjectUriDecs","_paneDecs","_relevantPanesDecs","_soloPaneDecs","_editorDecs","_isDirtyDecs","_valueDecs","context","FileExplorerProvider","constructor","args","_classPrivateFieldInitSpec","_initProto","_init_context","_init_subjectUri","_init_pane","_init_relevantPanes","_init_soloPane","_init_editor","_init_isDirty","_init_value","_defineProperty","editor","undefined","_classPrivateFieldGet","v","_classPrivateFieldSet","subjectUri","pane","relevantPanes","soloPane","isDirty","value","willUpdate","store","session","canEdit","registerEditor","beginEditing","setDirty","dirty","render","_FileExplorerProvider2","e","c","_initClass","_applyDecs","default","WebComponent","_FileExplorerProvider2","_initProto","_initClass","_classDecs","_contextDecs","_init_context","_subjectUriDecs","_init_subjectUri","_paneDecs","_init_pane","_relevantPanesDecs","_init_relevantPanes","_soloPaneDecs","_init_soloPane","_editorDecs","_init_editor","_isDirtyDecs","_init_isDirty","_valueDecs","_init_value","_ref","_defineProperty","_toPropertyKey","r","t","_classPrivateFieldInitSpec","a","_checkPrivateRedeclaration","_classPrivateFieldSet","s","_assertClassBrand","_classPrivateFieldGet","_applyDecs","i","n","o","c","applyDec","m","h","y","v","g","b","u","w","S","A","d","p","_setFunctionName","P","j","D","I","F","l","f","N","_checkInRHS","_toPrimitive","e","customElement","_FileExplorerProvider","_A","_B","_C","_D","_E","_F","_G","_H","property","state","provide","fileExplorerContext","args","editor","dirty"],"sources":["../../../src/components/file-explorer-provider/FileExplorerProvider.ts"],"sourcesContent":["import { html } from 'lit-html'\nimport { provide } from '@lit/context'\nimport { customElement, WebComponent } from '@/lib/components'\nimport { property, state } from 'lit/decorators.js'\nimport { DataBrowserContext, PaneDefinition } from 'pane-registry'\nimport { FileExplorerContext, FileExplorerEditor, fileExplorerContext } from '@/lib/file-explorer/context'\n\n@customElement('solid-ui-file-explorer-provider')\nexport default class FileExplorerProvider extends WebComponent {\n @property({ attribute: false })\n accessor context: DataBrowserContext | undefined\n\n @property({ attribute: false })\n accessor subjectUri: string | undefined\n\n @property({ attribute: false })\n accessor pane: PaneDefinition | undefined\n\n @property({ attribute: false })\n accessor relevantPanes: PaneDefinition[] = []\n\n @property({ attribute: false })\n accessor soloPane: boolean | undefined\n\n @state() private accessor editor: FileExplorerEditor | undefined\n @state() private accessor isDirty = false\n\n @provide({ context: fileExplorerContext })\n accessor value!: FileExplorerContext\n\n private registerEditor = (editor: FileExplorerEditor) => {\n this.editor = editor\n return () => { if (this.editor === editor) this.editor = undefined }\n }\n\n protected willUpdate () {\n this.value = {\n store: this.context?.session.store,\n subjectUri: this.subjectUri,\n pane: this.pane,\n isDirty: this.isDirty,\n canEdit: !!this.editor,\n registerEditor: this.registerEditor,\n beginEditing: () => { this.editor?.beginEditing() },\n setDirty: (dirty) => { this.isDirty = dirty }\n }\n }\n\n render () {\n return html`<slot></slot>`\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;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EAAA9B,GAAA,MAAA6B,CAAA;CAAA;CAOJQ,aAAc;EACtB,KAAKD,QAAQ;GACXE,OAAO,KAAK3B,SAAS4B,QAAQD;GAC7BP,YAAY,KAAKA;GACjBC,MAAM,KAAKA;GACXG,SAAS,KAAKA;GACdK,SAAS,CAAC,CAAC,KAAKd;GAChBe,gBAAgB,KAAKA;GACrBC,oBAAoB;IAAE,KAAKhB,QAAQgB,aAAa;GAAE;GAClDC,WAAWC,MAAU;IAAE,KAAKT,UAAUS;GAAM;EAC9C;CACF;CAEAC,SAAU;EACR,OAAO9D,CAAI;CACb;AACF,GAAC,CAAAgE,GAAA,CAAA9B,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAR,IAAAgC,GAAA,CAAAzD,GAAA0D,MAAAC,EAAAJ,GAAA;CAAA;EAAA5C;EAAA;EAAA;CAAA;CAAA;EAAAE;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;AAAA,GAAApB,GAAA,GAAA,KAAA,GA3CiDJ,CAAY,GAAA+D,EAAA"}
@@ -0,0 +1,2 @@
1
+ Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("./FileExplorerProvider.cjs.js");var t=e.default;Object.defineProperty(exports,"FileExplorerProvider",{enumerable:!0,get:function(){return e.default}}),exports.default=t;
2
+ //# sourceMappingURL=index.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs.js","names":["FileExplorerProvider","FileExplorerProvider","require_FileExplorerProvider","file_explorer_provider_default"],"sources":["../../../src/components/file-explorer-provider/index.ts"],"sourcesContent":["import FileExplorerProvider from './FileExplorerProvider'\n\nexport { FileExplorerProvider }\nexport default FileExplorerProvider\n"],"mappings":"A,gJAGA,IAAAG,EAAeH,EAAAA,Q"}
@@ -0,0 +1,4 @@
1
+ import { default as FileExplorerProvider } from './FileExplorerProvider';
2
+ export { FileExplorerProvider };
3
+ export default FileExplorerProvider;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/file-explorer-provider/index.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,MAAM,wBAAwB,CAAA;AAEzD,OAAO,EAAE,oBAAoB,EAAE,CAAA;AAC/B,eAAe,oBAAoB,CAAA"}
@@ -0,0 +1,6 @@
1
+ import e from "./FileExplorerProvider.esm.js";
2
+ // src/components/file-explorer-provider/index.ts
3
+ var t = e;
4
+ export { e as FileExplorerProvider, t as default };
5
+
6
+ //# sourceMappingURL=index.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.esm.js","names":["FileExplorerProvider","FileExplorerProvider","_FileExplorerProvider","file_explorer_provider_default"],"sources":["../../../src/components/file-explorer-provider/index.ts"],"sourcesContent":["import FileExplorerProvider from './FileExplorerProvider'\n\nexport { FileExplorerProvider }\nexport default FileExplorerProvider\n"],"mappings":";;AAGA,IAAAG,IAAeH"}
@@ -0,0 +1 @@
1
+ export { n as FileExplorerProvider, t as default } from "../chunks/file-explorer-provider-DpjC7uds.js";
@@ -1 +1 @@
1
- export { n as Guard, t as default } from "../chunks/guard-bTeM7wd7.js";
1
+ export { n as Guard, t as default } from "../chunks/guard-BOicu9dt.js";
@@ -1 +1 @@
1
- require("./provider/index.cjs.js"),require("./all.cjs.js");
1
+ require("./provider/index.cjs.js"),require("./file-explorer-provider/index.cjs.js"),require("./all.cjs.js");
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAEA,OAAO,YAAY,CAAA;AACnB,OAAO,OAAO,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAEA,OAAO,YAAY,CAAA;AACnB,OAAO,0BAA0B,CAAA;AACjC,OAAO,OAAO,CAAA"}
@@ -1,2 +1,3 @@
1
1
  import "./provider/index.esm.js";
2
+ import "./file-explorer-provider/index.esm.js";
2
3
  import "./all.esm.js";
@@ -1 +1 @@
1
- export { n as LoginButton, t as default } from "../chunks/login-button-Div4ZT4J.js";
1
+ export { n as LoginButton, t as default } from "../chunks/login-button-clTw_9tX.js";
@@ -1 +1 @@
1
- export { i as LoginModal, r as default } from "../chunks/auth-B_abPDvH.js";
1
+ export { i as LoginModal, r as default } from "../chunks/auth-CocCqS1p.js";
@@ -1 +1 @@
1
- export { n as LogoutButton, t as default } from "../chunks/logout-button-D3lqlnCX.js";
1
+ export { n as LogoutButton, t as default } from "../chunks/logout-button-CP-Pz70O.js";
@@ -1 +1 @@
1
- export { n as Provider, t as default } from "../chunks/provider-Dcd1NPYx.js";
1
+ export { n as Provider, t as default } from "../chunks/provider-Cuv3Kp6G.js";
@@ -1 +1 @@
1
- export { n as RDFForm, t as default } from "../chunks/rdf-form-CmPnHKR-.js";
1
+ export { n as RDFForm, t as default } from "../chunks/rdf-form-DVmTw3RG.js";
@@ -1 +1 @@
1
- export { n as RDFInput, t as default } from "../chunks/rdf-input-3AgoeCkJ.js";
1
+ export { n as RDFInput, t as default } from "../chunks/rdf-input-CRYLK-27.js";
@@ -0,0 +1,8 @@
1
+ import { DialogComponent } from '../../lib/components';
2
+ export default class DeleteResourceDialog extends DialogComponent<boolean> {
3
+ accessor resourceName: string;
4
+ private cancel;
5
+ private confirm;
6
+ protected render(): import('lit-html').TemplateResult<1>;
7
+ }
8
+ //# sourceMappingURL=DeleteResourceDialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteResourceDialog.d.ts","sourceRoot":"","sources":["../../../src/components/resource-actions-menu/DeleteResourceDialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAIjE,OAAO,qBAAqB,CAAA;AAC5B,OAAO,qBAAqB,CAAA;AAC5B,OAAO,6BAA6B,CAAA;AACpC,OAAO,4BAA4B,CAAA;AAGnC,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,eAAe,CAAC,OAAO,CAAC;IAExE,QAAQ,CAAC,YAAY,SAAkB;IAEvC,OAAO,CAAC,MAAM,CAA0B;IAExC,OAAO,CAAC,OAAO,CAAyB;IAExC,SAAS,CAAC,MAAM;CAiBjB"}
@@ -0,0 +1,27 @@
1
+ const e=require("../../lib/components/decorators.cjs.js"),t=require("../../lib/components/web-component/WebComponent.cjs.js");require("../../lib/components/index.cjs.js"),require("../button/index.cjs.js"),require("../menu-item/index.cjs.js"),require("../menu/index.cjs.js"),require("../../_virtual/~icons/lucide/pencil.cjs.js"),require("../../_virtual/~icons/lucide/ellipsis-vertical.cjs.js");const n=require("../../utils/podUtils.cjs.js");require("../../_virtual/~icons/lucide/user-round-cog.cjs.js"),require("../../_virtual/~icons/lucide/file.cjs.js");const r=require("./ResourceActionsMenu.styles.cjs.js");let i=require("lit"),a=require("lit/decorators.js");var o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k,A,j,M,N,P,F,I,L,R,z,B,V,H;function U(e,t,n){W(e,t),t.set(e,n)}function W(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}function G(e,t,n){return e.set(q(e,t),n),n}function K(e,t){return e.get(q(e,t))}function q(e,t,n){if(typeof e==`function`?e===t:e.has(t))return arguments.length<3?t:n;throw TypeError(`Private element is not present on this object`)}function J(e,t,n){return(t=X(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Y(e,t,n,r,i,a){function o(e,t,n){return function(r,i){return n&&n(r),e[t].call(r,i)}}function s(e,t){for(var n=0;n<e.length;n++)e[n].call(t);return t}function c(e,t,n,r){if(typeof e!=`function`&&(r||e!==void 0))throw TypeError(t+` must `+(n||`be`)+` a function`+(r?``:` or undefined`));return e}function l(e,t,n,r,i,a,s,l,u,d,f,p,m){function h(e){if(!m(e))throw TypeError(`Attempted to access private element on non-instance`)}var g,_=t[0],v=t[3],y=!l;if(!y){n||Array.isArray(_)||(_=[_]);var b={},x=[],S=i===3?`get`:i===4||p?`set`:`value`;d?(f||p?b={get:Q(function(){return v(this)},r,`get`),set:function(e){t[4](this,e)}}:b[S]=v,f||Q(b[S],r,i===2?``:S)):f||(b=Object.getOwnPropertyDescriptor(e,r))}for(var C=e,w=_.length-1;w>=0;w-=n?2:1){var T=_[w],E=n?_[w-1]:void 0,D={},O={kind:[`field`,`accessor`,`method`,`getter`,`setter`,`class`][i],name:r,metadata:a,addInitializer:function(e,t){if(e.v)throw Error(`attempted to call addInitializer after decoration was finished`);c(t,`An initializer`,`be`,!0),s.push(t)}.bind(null,D)};try{if(y)(g=c(T.call(E,C,O),`class decorators`,`return`))&&(C=g);else{var k,A;O.static=u,O.private=d,d?i===2?k=function(e){return h(e),b.value}:(i<4&&(k=o(b,`get`,h)),i!==3&&(A=o(b,`set`,h))):(k=function(e){return e[r]},(i<2||i===4)&&(A=function(e,t){e[r]=t}));var j=O.access={has:d?m.bind():function(e){return r in e}};if(k&&(j.get=k),A&&(j.set=A),C=T.call(E,p?{get:b.get,set:b.set}:b[S],O),p){if(typeof C==`object`&&C)(g=c(C.get,`accessor.get`))&&(b.get=g),(g=c(C.set,`accessor.set`))&&(b.set=g),(g=c(C.init,`accessor.init`))&&x.push(g);else if(C!==void 0)throw TypeError(`accessor decorators must return an object with get, set, or init properties or void 0`)}else c(C,(f?`field`:`method`)+` decorators`,`return`)&&(f?x.push(C):b[S]=C)}}finally{D.v=!0}}return(f||p)&&l.push(function(e,t){for(var n=x.length-1;n>=0;n--)t=x[n].call(e,t);return t}),f||y||(d?p?l.push(o(b,`get`),o(b,`set`)):l.push(i===2?b[S]:o.call.bind(b[S])):Object.defineProperty(e,r,b)),C}function u(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for(`Symbol.metadata`),{configurable:!0,enumerable:!0,value:t})}if(arguments.length>=6)var d=a[Symbol.metadata||Symbol.for(`Symbol.metadata`)];var f=Object.create(d??null),p=function(e,t,n,r){var i,a,o=[],c=function(t){return ee(t)===e},u=new Map;function d(e){e&&o.push(s.bind(null,e))}for(var f=0;f<t.length;f++){var p=t[f];if(Array.isArray(p)){var m=p[1],h=p[2],g=p.length>3,_=16&m,v=!!(8&m),y=(m&=7)==0,b=h+`/`+v;if(!y&&!g){var x=u.get(b);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);u.set(b,!(m>2)||m)}l(v?e:e.prototype,p,_,g?`#`+h:X(h),m,r,v?a||=[]:i||=[],o,v,g,y,m===1,v&&g?c:n)}}return d(i),d(a),o}(e,t,i,f);return n.length||u(e,f),{e:p,get c(){var t=[];return n.length&&[u(l(e,[n],r,e.name,5,f,t),f),s.bind(null,t,e)]}}}function X(e){var t=Z(e,`string`);return typeof t==`symbol`?t:t+``}function Z(e,t){if(typeof e!=`object`||!e)return e;var n;if(typeof Symbol<`u`&&(n=e[Symbol.toPrimitive])!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Q(e,t,n){typeof t==`symbol`&&(t=(t=t.description)?`[`+t+`]`:``);try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+` `+t:t})}catch{}return e}function ee(e){if(Object(e)!==e)throw TypeError(`right-hand side of 'in' should be an object, got `+(e===null?`null`:typeof e));return e}function te(e){return e}b=[e.customElement(`solid-ui-resource-actions-menu`)];var $;new(V=(c=new WeakMap,l=new WeakMap,u=new WeakMap,d=new WeakMap,f=new WeakMap,p=new WeakMap,m=new WeakMap,h=new WeakMap,g=new WeakMap,_=new WeakMap,H=(x=(0,a.property)({attribute:!1}),C=(0,a.property)({type:String}),T=(0,a.property)({attribute:!1}),D=(0,a.property)({attribute:!1}),k=(0,a.property)({type:Boolean}),j=(0,a.property)({type:Boolean}),N=(0,a.property)({type:Boolean}),F=(0,a.property)({type:Boolean}),L=(0,a.property)({type:Boolean,attribute:`show-access-in-menu`}),z=(0,a.property)({attribute:!1}),`store`),s=class extends t.default{constructor(...e){super(...e),U(this,c,(v(this),S(this))),U(this,l,w(this)),U(this,u,E(this,void 0)),U(this,d,O(this,void 0)),U(this,f,A(this,!1)),U(this,p,M(this,!1)),U(this,m,P(this,!1)),U(this,h,I(this,!1)),U(this,g,R(this,!1)),U(this,_,B(this,[]))}get[H](){return K(c,this)}set store(e){G(c,this,e)}get subjectUri(){return K(l,this)}set subjectUri(e){G(l,this,e)}get handleAccessClick(){return K(u,this)}set handleAccessClick(e){G(u,this,e)}get handleEditingClick(){return K(d,this)}set handleEditingClick(e){G(d,this,e)}get paneSupportsEditing(){return K(f,this)}set paneSupportsEditing(e){G(f,this,e)}get canEdit(){return K(p,this)}set canEdit(e){G(p,this,e)}get canManageAccess(){return K(m,this)}set canManageAccess(e){G(m,this,e)}get isMobile(){return K(h,this)}set isMobile(e){G(h,this,e)}get showAccessInMenu(){return K(g,this)}set showAccessInMenu(e){G(g,this,e)}get menuItems(){return K(_,this)}set menuItems(e){G(_,this,e)}render(){let e=!n.isContainerSubject(this.store,this.subjectUri)&&this.isMobile&&this.paneSupportsEditing&&this.canEdit&&!!this.handleEditingClick,t=this.canManageAccess&&!!this.handleAccessClick&&(this.showAccessInMenu||this.isMobile),r=this.menuItems.filter(e=>typeof e.action==`function`);return i.html`
2
+ <solid-ui-menu>
3
+ <solid-ui-button slot="trigger" class="file-explorer-header-more-button" variant="ghost" title="More options">
4
+ <icon-lucide-ellipsis-vertical slot="icon" class="ellipsisIcon"></icon-lucide-ellipsis-vertical>
5
+ <span class="sr-only">More options</span>
6
+ </solid-ui-button>
7
+ ${r.map(e=>i.html`
8
+ <solid-ui-menu-item @solid-ui-select=${t=>e.action(t)}>
9
+ ${typeof e.icon==`string`?i.html`<img slot="left-icon" src=${e.icon} alt="">`:e.icon??i.html`<icon-lucide-file slot="left-icon" aria-hidden="true"></icon-lucide-file>`}
10
+ ${e.label}
11
+ </solid-ui-menu-item>
12
+ `)}
13
+ ${e?i.html`
14
+ <solid-ui-menu-item @solid-ui-select=${this.handleEditingClick}>
15
+ <icon-lucide-pencil slot="left-icon"></icon-lucide-pencil>
16
+ Edit
17
+ </solid-ui-menu-item>
18
+ `:i.nothing}
19
+ ${t?i.html`
20
+ <solid-ui-menu-item @solid-ui-select=${this.handleAccessClick}>
21
+ <icon-lucide-user-round-cog slot="left-icon"></icon-lucide-user-round-cog>
22
+ Manage Access
23
+ </solid-ui-menu-item>
24
+ `:i.nothing}
25
+ </solid-ui-menu>
26
+ `}},{e:[S,w,E,O,A,M,P,I,R,B,v],c:[$,y]}=Y(s,[[x,1,`store`],[C,1,`subjectUri`],[T,1,`handleAccessClick`],[D,1,`handleEditingClick`],[k,1,`paneSupportsEditing`],[j,1,`canEdit`],[N,1,`canManageAccess`],[F,1,`isMobile`],[L,1,`showAccessInMenu`],[z,1,`menuItems`]],b,0,void 0,t.default),s),o=class extends te{constructor(){super($),J(this,`styles`,r.default),y()}},J(o,V,void 0),o),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return $}});
27
+ //# sourceMappingURL=ResourceActionsMenu.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResourceActionsMenu.cjs.js","names":["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","customElement","property","WebComponent","isContainerSubject","nothing","styles","require_decorators","require_WebComponent","require_podUtils","require_ResourceActionsMenu_styles","lit","lit_decorators_js","_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","_checkPrivateRedeclaration","a","_classPrivateFieldSet","s","_assertClassBrand","r","_classPrivateFieldGet","_defineProperty","_toPropertyKey","t","_applyDecs","i","n","o","c","applyDec","m","h","y","v","g","b","u","w","S","A","d","f","p","_setFunctionName","P","j","D","I","F","l","N","_checkInRHS","_toPrimitive","e","_identity","_ResourceActionsMenu","args","canEdit","canManageAccess","actionableMenuItems","item","event"],"sources":["../../../src/components/resource-actions-menu/ResourceActionsMenu.ts"],"sourcesContent":["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":"A,+yJAYqDO,EAAA,CAYpDP,EAAAA,cAAc,gCAAgC,CAAC,EAAA,IAAAQ,EAAA,IAAAC,GAAAC,EAAA,IAAAC,QAAAC,EAAA,IAAAD,QAAAE,EAAA,IAAAF,QAAAG,EAAA,IAAAH,QAAAI,EAAA,IAAAJ,QAAAK,EAAA,IAAAL,QAAAM,EAAA,IAAAN,QAAAO,EAAA,IAAAP,QAAAQ,EAAA,IAAAR,QAAAS,EAAA,IAAAT,QAAAU,GAAAC,GAAAA,EAI7CpB,EAAAA,SAAAA,CAAS,CAAEqB,UAAW,EAAM,CAAC,EAACC,GAAAA,EAG9BtB,EAAAA,SAAAA,CAAS,CAAEuB,KAAMC,MAAO,CAAC,EAACC,GAAAA,EAG1BzB,EAAAA,SAAAA,CAAS,CAAEqB,UAAW,EAAM,CAAC,EAACK,GAAAA,EAG9B1B,EAAAA,SAAAA,CAAS,CAAEqB,UAAW,EAAM,CAAC,EAACM,GAAAA,EAG9B3B,EAAAA,SAAAA,CAAS,CAAEuB,KAAMK,OAAQ,CAAC,EAACC,GAAAA,EAG3B7B,EAAAA,SAAAA,CAAS,CAAEuB,KAAMK,O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AAM,EAAAyE,EAAA,CAAA,CAAA,EAAAI,EAAAF,EAAAvE,EAAA,IAAA,EAAA,EAAAuE,G"}
@@ -0,0 +1,23 @@
1
+ import { WebComponent } from '../../lib/components';
2
+ import { LiveStore } from 'rdflib';
3
+ type ResourceActionMenuItem = {
4
+ label: string;
5
+ icon?: HTMLElement | string;
6
+ action?: (event: Event) => void;
7
+ };
8
+ export default class ResourceActionsMenu extends WebComponent {
9
+ static styles: import('lit').CSSResult;
10
+ accessor store: LiveStore | undefined;
11
+ accessor subjectUri: string | undefined;
12
+ accessor handleAccessClick: (() => void) | undefined;
13
+ accessor handleEditingClick: (() => void) | undefined;
14
+ accessor paneSupportsEditing: boolean;
15
+ accessor canEdit: boolean;
16
+ accessor canManageAccess: boolean;
17
+ accessor isMobile: boolean;
18
+ accessor showAccessInMenu: boolean;
19
+ accessor menuItems: ResourceActionMenuItem[];
20
+ render(): import('lit-html').TemplateResult<1>;
21
+ }
22
+ export {};
23
+ //# sourceMappingURL=ResourceActionsMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResourceActionsMenu.d.ts","sourceRoot":"","sources":["../../../src/components/resource-actions-menu/ResourceActionsMenu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAG9D,OAAO,qBAAqB,CAAA;AAC5B,OAAO,mBAAmB,CAAA;AAC1B,OAAO,wBAAwB,CAAA;AAC/B,OAAO,iCAAiC,CAAA;AACxC,OAAO,8BAA8B,CAAA;AACrC,OAAO,sBAAsB,CAAA;AAC7B,OAAO,oBAAoB,CAAA;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAIlC,KAAK,sBAAsB,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,WAAW,GAAG,MAAM,CAAA;IAC3B,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAA;CAChC,C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