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,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { b as n, c as r, g as i, i as a, o, p as s, r as c, u as l } from "./components-
|
|
3
|
-
import { n as u, t as d } from "./context-
|
|
4
|
-
import {
|
|
1
|
+
import { D as e, t } from "./solidLogicSingleton.esm-CKYdvLzf.js";
|
|
2
|
+
import { b as n, c as r, g as i, i as a, o, p as s, r as c, u as l } from "./components-CVuqsI0R.js";
|
|
3
|
+
import { n as u, t as d } from "./context-0sxUfxf7.js";
|
|
4
|
+
import { r as f, t as p } from "./events-CXQHDCs2.js";
|
|
5
5
|
import { t as m } from "./query-DjAOg-tk.js";
|
|
6
|
-
import { n as h, r as g } from "./ResourceActionsMenu-
|
|
7
|
-
import { u as _ } from "./style-
|
|
8
|
-
import { S as v } from "./widgets-
|
|
9
|
-
import "./button-
|
|
6
|
+
import { n as h, r as g } from "./ResourceActionsMenu-mLMf4fAa.js";
|
|
7
|
+
import { u as _ } from "./style-Du-nyh8u.js";
|
|
8
|
+
import { S as v } from "./widgets-CTH3oXJI.js";
|
|
9
|
+
import "./button-D7XurXfj.js";
|
|
10
10
|
import "./globe-CsCgZcy5.js";
|
|
11
11
|
// ~icons/lucide/share-2
|
|
12
12
|
var y = class extends HTMLElement {
|
|
@@ -30,32 +30,32 @@ var S = class extends HTMLElement {
|
|
|
30
30
|
};
|
|
31
31
|
customElements.get("icon-lucide-arrow-left") || customElements.define("icon-lucide-arrow-left", S);
|
|
32
32
|
// src/components/file-explorer-header/FileExplorerHeaderSummary.styles.css
|
|
33
|
-
var C = s`:host{& .file-explorer-header-summary{text-align:left;flex-wrap:wrap;flex:auto;justify-content:flex-start;align-items:center;gap:6px;min-width:0;display:flex}& h1{color:var(--solid-ui-color-gray-700,#364153);font-size:var(--solid-ui-font-size-xl,1.25rem);align-items:center;gap:8px;margin:0;font-weight:500;display:flex}& .resource-info{flex-direction:column;min-width:0;display:flex}& .container-info{flex-direction:row;gap:10px;min-width:0;display:flex}& .pane-icon{aspect-ratio:1;justify-content:center;align-items:center;width:40px;height:40px;padding:7.5px 7px 6.5px;display:flex}& .pane-icon img{object-fit:contain;width:100%;height:100%;display:block}& p{color:var(--solid-ui-gray-500,#6a7282);font-size:var(--solid-ui-font-size-xs,.75rem);align-items:center;gap:5px;font-weight:500;display:flex}& .public{color:var(--blue-400,#51a2ff);background:var(--blue-50,#eff6ff);border-radius:5px;justify-content:center;align-items:center;gap:3px;padding:2px 5px;display:flex}& icon-lucide-globe{stroke-width:1.021px;stroke:var(--blue-400,#51a2ff)}& .private{color:var(--yellow-600,#d08700);background:var(--yellow-100,#fef9c2);border-radius:5px;justify-content:center;align-items:center;gap:3px;padding:2px 5px;display:flex}& icon-lucide-lock-keyhole{stroke-width:1.021px;stroke:var(--yellow-600,#d08700)}& icon-lucide-globe,& icon-lucide-lock-keyhole{width:.875rem;height:.875rem}& .resource-date{font-size:inherit}& icon-lucide-arrow-left{width:1.125rem;height:1.125rem}@media (width<=600px){& .file-explorer-header-summary{gap:7px}& h1{font-size:14px}& .pane-icon{aspect-ratio:1;flex-shrink:0;width:18.2px;height:18.2px;padding:0}& p{font-size:14px}& .resource-date{font-size:10px}& .public,& .private{font-size:9px}& icon-lucide-arrow-left{aspect-ratio:5/6;flex-shrink:0;width:15px;height:18px}}}`, w, T, E, D, O, k, A, j, ee, te, ne, re, ie, ae, oe, se, ce, le, ue, de, fe, pe, me, he, ge;
|
|
33
|
+
var C = s`:host{& .file-explorer-header-summary{text-align:left;flex-wrap:wrap;flex:auto;justify-content:flex-start;align-items:center;gap:6px;min-width:0;display:flex}& h1{color:var(--solid-ui-color-gray-700,#364153);font-size:var(--solid-ui-font-size-xl,1.25rem);align-items:center;gap:8px;margin:0;font-weight:500;display:flex}& .resource-info{flex-direction:column;min-width:0;display:flex}& .container-info{flex-direction:row;gap:10px;min-width:0;display:flex}& .pane-icon{aspect-ratio:1;justify-content:center;align-items:center;width:40px;height:40px;padding:7.5px 7px 6.5px;display:flex}& .pane-icon img{object-fit:contain;width:100%;height:100%;display:block}& p{color:var(--solid-ui-gray-500,#6a7282);font-size:var(--solid-ui-font-size-xs,.75rem);align-items:center;gap:5px;font-weight:500;display:flex}& .public{color:var(--blue-400,#51a2ff);background:var(--blue-50,#eff6ff);border-radius:5px;justify-content:center;align-items:center;gap:3px;padding:2px 5px;display:flex}& icon-lucide-globe{stroke-width:1.021px;stroke:var(--blue-400,#51a2ff)}& .private{color:var(--yellow-600,#d08700);background:var(--yellow-100,#fef9c2);border-radius:5px;justify-content:center;align-items:center;gap:3px;padding:2px 5px;display:flex}& icon-lucide-lock-keyhole{stroke-width:1.021px;stroke:var(--yellow-600,#d08700)}& icon-lucide-globe,& icon-lucide-lock-keyhole{width:.875rem;height:.875rem}& .resource-date{font-size:inherit}& icon-lucide-arrow-left{width:1.125rem;height:1.125rem}@media (width<=600px){& .file-explorer-header-summary{gap:7px}& h1{font-size:14px}& .pane-icon{aspect-ratio:1;flex-shrink:0;width:18.2px;height:18.2px;padding:0}& p{font-size:14px}& .resource-date{font-size:10px}& .public,& .private{font-size:9px}& icon-lucide-arrow-left{aspect-ratio:5/6;flex-shrink:0;width:15px;height:18px}}}`, w, T, E, D, O, k, A, j, ee, te, ne, re, ie, ae, oe, se, ce, le, ue, de, fe, pe, me, he, ge, _e, ve, ye;
|
|
34
34
|
function M(e, t, n) {
|
|
35
|
-
|
|
35
|
+
be(e, t), t.set(e, n);
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function be(e, t) {
|
|
38
38
|
if (t.has(e)) throw TypeError("Cannot initialize the same private elements twice on an object");
|
|
39
39
|
}
|
|
40
40
|
function N(e, t, n) {
|
|
41
|
-
return e.set(
|
|
41
|
+
return e.set(xe(e, t), n), n;
|
|
42
42
|
}
|
|
43
43
|
function P(e, t) {
|
|
44
|
-
return e.get(
|
|
44
|
+
return e.get(xe(e, t));
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function xe(e, t, n) {
|
|
47
47
|
if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
|
|
48
48
|
throw TypeError("Private element is not present on this object");
|
|
49
49
|
}
|
|
50
50
|
function F(e, t, n) {
|
|
51
|
-
return (t =
|
|
51
|
+
return (t = Ce(t)) in e ? Object.defineProperty(e, t, {
|
|
52
52
|
value: n,
|
|
53
53
|
enumerable: !0,
|
|
54
54
|
configurable: !0,
|
|
55
55
|
writable: !0
|
|
56
56
|
}) : e[t] = n, e;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function Se(e, t, n, r, i, a) {
|
|
59
59
|
function o(e, t, n) {
|
|
60
60
|
return function(r, i) {
|
|
61
61
|
return n && n(r), e[t].call(r, i);
|
|
@@ -78,13 +78,13 @@ function ye(e, t, n, r, i, a) {
|
|
|
78
78
|
n || Array.isArray(_) || (_ = [_]);
|
|
79
79
|
var b = {}, x = [], S = i === 3 ? "get" : i === 4 || p ? "set" : "value";
|
|
80
80
|
d ? (f || p ? b = {
|
|
81
|
-
get:
|
|
81
|
+
get: Te(function() {
|
|
82
82
|
return v(this);
|
|
83
83
|
}, r, "get"),
|
|
84
84
|
set: function(e) {
|
|
85
85
|
t[4](this, e);
|
|
86
86
|
}
|
|
87
|
-
} : b[S] = v, f ||
|
|
87
|
+
} : b[S] = v, f || Te(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
|
|
88
88
|
}
|
|
89
89
|
for (var C = e, w = _.length - 1; w >= 0; w -= n ? 2 : 1) {
|
|
90
90
|
var T = _[w], E = n ? _[w - 1] : void 0, D = {}, O = {
|
|
@@ -144,7 +144,7 @@ function ye(e, t, n, r, i, a) {
|
|
|
144
144
|
if (arguments.length >= 6) var d = a[Symbol.metadata || Symbol.for("Symbol.metadata")];
|
|
145
145
|
var f = Object.create(d ?? null), p = function(e, t, n, r) {
|
|
146
146
|
var i, a, o = [], c = function(t) {
|
|
147
|
-
return
|
|
147
|
+
return Ee(t) === e;
|
|
148
148
|
}, u = /* @__PURE__ */ new Map();
|
|
149
149
|
function d(e) {
|
|
150
150
|
e && o.push(s.bind(null, e));
|
|
@@ -158,7 +158,7 @@ function ye(e, t, n, r, i, a) {
|
|
|
158
158
|
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);
|
|
159
159
|
u.set(b, !(m > 2) || m);
|
|
160
160
|
}
|
|
161
|
-
l(v ? e : e.prototype, p, _, g ? "#" + h :
|
|
161
|
+
l(v ? e : e.prototype, p, _, g ? "#" + h : Ce(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
return d(i), d(a), o;
|
|
@@ -171,11 +171,11 @@ function ye(e, t, n, r, i, a) {
|
|
|
171
171
|
}
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
|
-
function
|
|
175
|
-
var t =
|
|
174
|
+
function Ce(e) {
|
|
175
|
+
var t = we(e, "string");
|
|
176
176
|
return typeof t == "symbol" ? t : t + "";
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function we(e, t) {
|
|
179
179
|
if (typeof e != "object" || !e) return e;
|
|
180
180
|
var n;
|
|
181
181
|
if (typeof Symbol < "u" && (n = e[Symbol.toPrimitive]) !== void 0) {
|
|
@@ -185,7 +185,7 @@ function xe(e, t) {
|
|
|
185
185
|
}
|
|
186
186
|
return (t === "string" ? String : Number)(e);
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function Te(e, t, n) {
|
|
189
189
|
typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
|
|
190
190
|
try {
|
|
191
191
|
Object.defineProperty(e, "name", {
|
|
@@ -195,24 +195,24 @@ function Se(e, t, n) {
|
|
|
195
195
|
} catch {}
|
|
196
196
|
return e;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Ee(e) {
|
|
199
199
|
if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
|
|
200
200
|
return e;
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function De(e) {
|
|
203
203
|
return e;
|
|
204
204
|
}
|
|
205
|
-
|
|
206
|
-
var
|
|
207
|
-
new (
|
|
205
|
+
re = [i("solid-ui-file-explorer-header-summary")];
|
|
206
|
+
var Oe;
|
|
207
|
+
new (ve = (E = /*#__PURE__*/ new WeakMap(), D = /*#__PURE__*/ new WeakMap(), O = /*#__PURE__*/ new WeakMap(), k = /*#__PURE__*/ new WeakMap(), A = /*#__PURE__*/ new WeakMap(), j = /*#__PURE__*/ new WeakMap(), ee = /*#__PURE__*/ new WeakMap(), ye = (ie = n({
|
|
208
208
|
context: u,
|
|
209
209
|
subscribe: !0
|
|
210
|
-
}),
|
|
210
|
+
}), oe = a({ attribute: !1 }), ce = a({ attribute: !1 }), ue = a({ type: Boolean }), fe = a({ attribute: !1 }), me = c(), ge = m("h1"), "_draggableSubjectUri"), T = class extends o {
|
|
211
211
|
constructor(...e) {
|
|
212
|
-
super(...e), F(this,
|
|
212
|
+
super(...e), F(this, ye, void te(this)), F(this, "_paneIconGeneration", 0), M(this, E, ae(this, d)), M(this, D, se(this)), M(this, O, le(this)), M(this, k, de(this, !0)), M(this, A, pe(this, {
|
|
213
213
|
modified: void 0,
|
|
214
214
|
isPublic: !1
|
|
215
|
-
})), M(this,
|
|
215
|
+
})), M(this, j, he(this, void 0)), M(this, ee, _e(this, null));
|
|
216
216
|
}
|
|
217
217
|
get fileExplorerContext() {
|
|
218
218
|
return P(E, this);
|
|
@@ -232,24 +232,30 @@ new (he = (E = /*#__PURE__*/ new WeakMap(), D = /*#__PURE__*/ new WeakMap(), O =
|
|
|
232
232
|
set onBackClick(e) {
|
|
233
233
|
N(O, this, e);
|
|
234
234
|
}
|
|
235
|
-
get
|
|
235
|
+
get showBack() {
|
|
236
236
|
return P(k, this);
|
|
237
237
|
}
|
|
238
|
-
set
|
|
238
|
+
set showBack(e) {
|
|
239
239
|
N(k, this, e);
|
|
240
240
|
}
|
|
241
|
-
get
|
|
241
|
+
get responseMetadata() {
|
|
242
242
|
return P(A, this);
|
|
243
243
|
}
|
|
244
|
-
set
|
|
244
|
+
set responseMetadata(e) {
|
|
245
245
|
N(A, this, e);
|
|
246
246
|
}
|
|
247
|
-
get
|
|
247
|
+
get resolvedPaneIcon() {
|
|
248
248
|
return P(j, this);
|
|
249
249
|
}
|
|
250
|
-
set
|
|
250
|
+
set resolvedPaneIcon(e) {
|
|
251
251
|
N(j, this, e);
|
|
252
252
|
}
|
|
253
|
+
get titleHeading() {
|
|
254
|
+
return P(ee, this);
|
|
255
|
+
}
|
|
256
|
+
set titleHeading(e) {
|
|
257
|
+
N(ee, this, e);
|
|
258
|
+
}
|
|
253
259
|
formatModifiedDate(e) {
|
|
254
260
|
if (!e) return "";
|
|
255
261
|
let t = new Date(e);
|
|
@@ -311,14 +317,16 @@ new (he = (E = /*#__PURE__*/ new WeakMap(), D = /*#__PURE__*/ new WeakMap(), O =
|
|
|
311
317
|
let t = this.fileExplorerContext?.subjectUri ? e(this.fileExplorerContext.subjectUri) : void 0, n = t ? _(t) : "", r = this.responseMetadata.isPublic, i = g(this.fileExplorerContext?.store, this.fileExplorerContext?.subjectUri);
|
|
312
318
|
return l`
|
|
313
319
|
<div class="file-explorer-header-summary">
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
320
|
+
${this.showBack ? l`
|
|
321
|
+
<solid-ui-button
|
|
322
|
+
variant="ghost"
|
|
323
|
+
@click=${this.onBackClick}
|
|
324
|
+
title="Back"
|
|
325
|
+
>
|
|
326
|
+
<icon-lucide-arrow-left></icon-lucide-arrow-left>
|
|
327
|
+
<span class="sr-only">Back</span>
|
|
328
|
+
</solid-ui-button>
|
|
329
|
+
` : ""}
|
|
322
330
|
<span class="pane-icon">
|
|
323
331
|
${this.resolvedPaneIcon ? l`<img src=${this.resolvedPaneIcon} alt="" />` : ""}
|
|
324
332
|
</span>
|
|
@@ -327,69 +335,74 @@ new (he = (E = /*#__PURE__*/ new WeakMap(), D = /*#__PURE__*/ new WeakMap(), O =
|
|
|
327
335
|
</div>
|
|
328
336
|
`;
|
|
329
337
|
}
|
|
330
|
-
}, {e: [
|
|
338
|
+
}, {e: [ae, se, le, de, pe, he, _e, te], c: [Oe, ne]} = Se(T, [
|
|
331
339
|
[
|
|
332
|
-
|
|
340
|
+
ie,
|
|
333
341
|
1,
|
|
334
342
|
"fileExplorerContext"
|
|
335
343
|
],
|
|
336
344
|
[
|
|
337
|
-
|
|
345
|
+
oe,
|
|
338
346
|
1,
|
|
339
347
|
"paneIcon"
|
|
340
348
|
],
|
|
341
349
|
[
|
|
342
|
-
|
|
350
|
+
ce,
|
|
343
351
|
1,
|
|
344
352
|
"onBackClick"
|
|
345
353
|
],
|
|
346
354
|
[
|
|
347
|
-
|
|
355
|
+
ue,
|
|
356
|
+
1,
|
|
357
|
+
"showBack"
|
|
358
|
+
],
|
|
359
|
+
[
|
|
360
|
+
fe,
|
|
348
361
|
1,
|
|
349
362
|
"responseMetadata"
|
|
350
363
|
],
|
|
351
364
|
[
|
|
352
|
-
|
|
365
|
+
me,
|
|
353
366
|
1,
|
|
354
367
|
"resolvedPaneIcon"
|
|
355
368
|
],
|
|
356
369
|
[
|
|
357
|
-
|
|
370
|
+
ge,
|
|
358
371
|
1,
|
|
359
372
|
"titleHeading"
|
|
360
373
|
]
|
|
361
|
-
],
|
|
374
|
+
], re, 0, void 0, o), T), w = class extends De {
|
|
362
375
|
constructor() {
|
|
363
|
-
super(
|
|
376
|
+
super(Oe), F(this, "styles", C), ne();
|
|
364
377
|
}
|
|
365
|
-
}, F(w,
|
|
378
|
+
}, F(w, ve, void 0), w)();
|
|
366
379
|
// src/components/file-explorer-header/FileExplorerHeaderControls.styles.css
|
|
367
|
-
var
|
|
380
|
+
var ke = s`:host{flex:0 auto;min-width:0;& div{text-align:right;flex:none;justify-content:flex-end;align-items:center;gap:6px;display:flex}& div>*{flex:0 auto}& .file-explorer-header-action-button{width:var(--solid-ui-clickable-area,42px);height:var(--solid-ui-clickable-area,42px);padding:0}& .dirtyIndicator{color:#92400e;white-space:nowrap;background:#fffbeb;border:1px solid #f59e0b;border-radius:999px;align-items:center;padding:4px 8px;font-size:.72rem;font-weight:600;line-height:1;display:inline-flex}& icon-lucide-user-round-cog,& icon-lucide-pencil{width:16px;height:16px}@media (width<=900px){& div{padding-right:3px}}@media (width<=600px){& div{justify-content:flex-start;gap:5px}& .file-explorer-header-action-button{display:none}& icon-lucide-ellipsis-vertical{aspect-ratio:1;flex-shrink:0;width:15.36px;height:15.36px}}}`, Ae, je, I, L, R, z, B, Me, Ne, Pe, Fe, Ie, Le, Re, ze, Be, Ve, He, Ue, We, Ge, Ke;
|
|
368
381
|
function V(e, t, n) {
|
|
369
|
-
|
|
382
|
+
qe(e, t), t.set(e, n);
|
|
370
383
|
}
|
|
371
|
-
function
|
|
384
|
+
function qe(e, t) {
|
|
372
385
|
if (t.has(e)) throw TypeError("Cannot initialize the same private elements twice on an object");
|
|
373
386
|
}
|
|
374
387
|
function H(e, t, n) {
|
|
375
|
-
return e.set(
|
|
388
|
+
return e.set(Je(e, t), n), n;
|
|
376
389
|
}
|
|
377
390
|
function U(e, t) {
|
|
378
|
-
return e.get(
|
|
391
|
+
return e.get(Je(e, t));
|
|
379
392
|
}
|
|
380
|
-
function
|
|
393
|
+
function Je(e, t, n) {
|
|
381
394
|
if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
|
|
382
395
|
throw TypeError("Private element is not present on this object");
|
|
383
396
|
}
|
|
384
397
|
function W(e, t, n) {
|
|
385
|
-
return (t =
|
|
398
|
+
return (t = Xe(t)) in e ? Object.defineProperty(e, t, {
|
|
386
399
|
value: n,
|
|
387
400
|
enumerable: !0,
|
|
388
401
|
configurable: !0,
|
|
389
402
|
writable: !0
|
|
390
403
|
}) : e[t] = n, e;
|
|
391
404
|
}
|
|
392
|
-
function
|
|
405
|
+
function Ye(e, t, n, r, i, a) {
|
|
393
406
|
function o(e, t, n) {
|
|
394
407
|
return function(r, i) {
|
|
395
408
|
return n && n(r), e[t].call(r, i);
|
|
@@ -412,13 +425,13 @@ function Ke(e, t, n, r, i, a) {
|
|
|
412
425
|
n || Array.isArray(_) || (_ = [_]);
|
|
413
426
|
var b = {}, x = [], S = i === 3 ? "get" : i === 4 || p ? "set" : "value";
|
|
414
427
|
d ? (f || p ? b = {
|
|
415
|
-
get:
|
|
428
|
+
get: Qe(function() {
|
|
416
429
|
return v(this);
|
|
417
430
|
}, r, "get"),
|
|
418
431
|
set: function(e) {
|
|
419
432
|
t[4](this, e);
|
|
420
433
|
}
|
|
421
|
-
} : b[S] = v, f ||
|
|
434
|
+
} : b[S] = v, f || Qe(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
|
|
422
435
|
}
|
|
423
436
|
for (var C = e, w = _.length - 1; w >= 0; w -= n ? 2 : 1) {
|
|
424
437
|
var T = _[w], E = n ? _[w - 1] : void 0, D = {}, O = {
|
|
@@ -478,7 +491,7 @@ function Ke(e, t, n, r, i, a) {
|
|
|
478
491
|
if (arguments.length >= 6) var d = a[Symbol.metadata || Symbol.for("Symbol.metadata")];
|
|
479
492
|
var f = Object.create(d ?? null), p = function(e, t, n, r) {
|
|
480
493
|
var i, a, o = [], c = function(t) {
|
|
481
|
-
return
|
|
494
|
+
return $e(t) === e;
|
|
482
495
|
}, u = /* @__PURE__ */ new Map();
|
|
483
496
|
function d(e) {
|
|
484
497
|
e && o.push(s.bind(null, e));
|
|
@@ -492,7 +505,7 @@ function Ke(e, t, n, r, i, a) {
|
|
|
492
505
|
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);
|
|
493
506
|
u.set(b, !(m > 2) || m);
|
|
494
507
|
}
|
|
495
|
-
l(v ? e : e.prototype, p, _, g ? "#" + h :
|
|
508
|
+
l(v ? e : e.prototype, p, _, g ? "#" + h : Xe(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
|
|
496
509
|
}
|
|
497
510
|
}
|
|
498
511
|
return d(i), d(a), o;
|
|
@@ -505,11 +518,11 @@ function Ke(e, t, n, r, i, a) {
|
|
|
505
518
|
}
|
|
506
519
|
};
|
|
507
520
|
}
|
|
508
|
-
function
|
|
509
|
-
var t =
|
|
521
|
+
function Xe(e) {
|
|
522
|
+
var t = Ze(e, "string");
|
|
510
523
|
return typeof t == "symbol" ? t : t + "";
|
|
511
524
|
}
|
|
512
|
-
function
|
|
525
|
+
function Ze(e, t) {
|
|
513
526
|
if (typeof e != "object" || !e) return e;
|
|
514
527
|
var n;
|
|
515
528
|
if (typeof Symbol < "u" && (n = e[Symbol.toPrimitive]) !== void 0) {
|
|
@@ -519,7 +532,7 @@ function Je(e, t) {
|
|
|
519
532
|
}
|
|
520
533
|
return (t === "string" ? String : Number)(e);
|
|
521
534
|
}
|
|
522
|
-
function
|
|
535
|
+
function Qe(e, t, n) {
|
|
523
536
|
typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
|
|
524
537
|
try {
|
|
525
538
|
Object.defineProperty(e, "name", {
|
|
@@ -529,28 +542,31 @@ function Ye(e, t, n) {
|
|
|
529
542
|
} catch {}
|
|
530
543
|
return e;
|
|
531
544
|
}
|
|
532
|
-
function
|
|
545
|
+
function $e(e) {
|
|
533
546
|
if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
|
|
534
547
|
return e;
|
|
535
548
|
}
|
|
536
|
-
function
|
|
549
|
+
function et(e) {
|
|
537
550
|
return e;
|
|
538
551
|
}
|
|
539
|
-
|
|
540
|
-
var
|
|
541
|
-
new (
|
|
552
|
+
Pe = [i("solid-ui-file-explorer-header-controls")];
|
|
553
|
+
var tt;
|
|
554
|
+
new (Ge = (I = /*#__PURE__*/ new WeakMap(), L = /*#__PURE__*/ new WeakMap(), R = /*#__PURE__*/ new WeakMap(), z = /*#__PURE__*/ new WeakMap(), B = /*#__PURE__*/ new WeakMap(), Ke = (Fe = n({
|
|
542
555
|
context: u,
|
|
543
556
|
subscribe: !0
|
|
544
|
-
}),
|
|
557
|
+
}), Le = a({ attribute: !1 }), ze = a({ type: Boolean }), Ve = a({ type: Boolean }), Ue = c(), "mobileMediaQuery"), je = class extends o {
|
|
545
558
|
constructor(...e) {
|
|
546
|
-
super(...e), W(this,
|
|
559
|
+
super(...e), W(this, Ke, void Me(this)), W(this, "mobileQuery", "(max-width: 600px)"), W(this, "handleMobileMediaChange", (e) => {
|
|
547
560
|
this.isMobile = e.matches;
|
|
548
|
-
}), V(this, I,
|
|
561
|
+
}), V(this, I, Ie(this, d)), V(this, L, Re(this, [])), V(this, R, Be(this, !1)), V(this, z, He(this, !1)), V(this, B, We(this, typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(max-width: 600px)").matches)), W(this, "handleManageAccess", () => {
|
|
549
562
|
let e = this.fileExplorerContext.subjectUri;
|
|
550
563
|
e && this.dispatchEvent(new CustomEvent(f, {
|
|
551
564
|
bubbles: !0,
|
|
552
565
|
composed: !0,
|
|
553
|
-
detail: {
|
|
566
|
+
detail: {
|
|
567
|
+
subjectUri: e,
|
|
568
|
+
paneName: "sharing"
|
|
569
|
+
}
|
|
554
570
|
}));
|
|
555
571
|
});
|
|
556
572
|
}
|
|
@@ -633,64 +649,64 @@ new (He = (I = /*#__PURE__*/ new WeakMap(), L = /*#__PURE__*/ new WeakMap(), R =
|
|
|
633
649
|
</div>
|
|
634
650
|
`;
|
|
635
651
|
}
|
|
636
|
-
}, {e: [
|
|
652
|
+
}, {e: [Ie, Re, Be, He, We, Me], c: [tt, Ne]} = Ye(je, [
|
|
637
653
|
[
|
|
638
|
-
|
|
654
|
+
Fe,
|
|
639
655
|
1,
|
|
640
656
|
"fileExplorerContext"
|
|
641
657
|
],
|
|
642
658
|
[
|
|
643
|
-
|
|
659
|
+
Le,
|
|
644
660
|
1,
|
|
645
661
|
"menuItems"
|
|
646
662
|
],
|
|
647
663
|
[
|
|
648
|
-
|
|
664
|
+
ze,
|
|
649
665
|
1,
|
|
650
666
|
"canEdit"
|
|
651
667
|
],
|
|
652
668
|
[
|
|
653
|
-
|
|
669
|
+
Ve,
|
|
654
670
|
1,
|
|
655
671
|
"canManageAccess"
|
|
656
672
|
],
|
|
657
673
|
[
|
|
658
|
-
|
|
674
|
+
Ue,
|
|
659
675
|
1,
|
|
660
676
|
"isMobile"
|
|
661
677
|
]
|
|
662
|
-
],
|
|
678
|
+
], Pe, 0, void 0, o), je), Ae = class extends et {
|
|
663
679
|
constructor() {
|
|
664
|
-
super(
|
|
680
|
+
super(tt), W(this, "styles", ke), Ne();
|
|
665
681
|
}
|
|
666
|
-
}, W(
|
|
682
|
+
}, W(Ae, Ge, void 0), Ae)();
|
|
667
683
|
// src/components/file-explorer-header/FileExplorerHeader.ts
|
|
668
|
-
var
|
|
669
|
-
function
|
|
670
|
-
|
|
684
|
+
var nt, rt, G, K, q, J, Y, it, at, ot, st, ct, lt, ut, dt, ft, pt, mt, ht, gt, _t, vt;
|
|
685
|
+
function X(e, t, n) {
|
|
686
|
+
yt(e, t), t.set(e, n);
|
|
671
687
|
}
|
|
672
|
-
function
|
|
688
|
+
function yt(e, t) {
|
|
673
689
|
if (t.has(e)) throw TypeError("Cannot initialize the same private elements twice on an object");
|
|
674
690
|
}
|
|
675
|
-
function
|
|
676
|
-
return e.set(
|
|
691
|
+
function Z(e, t, n) {
|
|
692
|
+
return e.set(bt(e, t), n), n;
|
|
677
693
|
}
|
|
678
|
-
function
|
|
679
|
-
return e.get(
|
|
694
|
+
function Q(e, t) {
|
|
695
|
+
return e.get(bt(e, t));
|
|
680
696
|
}
|
|
681
|
-
function
|
|
697
|
+
function bt(e, t, n) {
|
|
682
698
|
if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
|
|
683
699
|
throw TypeError("Private element is not present on this object");
|
|
684
700
|
}
|
|
685
|
-
function
|
|
686
|
-
return (t =
|
|
701
|
+
function $(e, t, n) {
|
|
702
|
+
return (t = St(t)) in e ? Object.defineProperty(e, t, {
|
|
687
703
|
value: n,
|
|
688
704
|
enumerable: !0,
|
|
689
705
|
configurable: !0,
|
|
690
706
|
writable: !0
|
|
691
707
|
}) : e[t] = n, e;
|
|
692
708
|
}
|
|
693
|
-
function
|
|
709
|
+
function xt(e, t, n, r, i, a) {
|
|
694
710
|
function o(e, t, n) {
|
|
695
711
|
return function(r, i) {
|
|
696
712
|
return n && n(r), e[t].call(r, i);
|
|
@@ -713,13 +729,13 @@ function gt(e, t, n, r, i, a) {
|
|
|
713
729
|
n || Array.isArray(_) || (_ = [_]);
|
|
714
730
|
var b = {}, x = [], S = i === 3 ? "get" : i === 4 || p ? "set" : "value";
|
|
715
731
|
d ? (f || p ? b = {
|
|
716
|
-
get:
|
|
732
|
+
get: wt(function() {
|
|
717
733
|
return v(this);
|
|
718
734
|
}, r, "get"),
|
|
719
735
|
set: function(e) {
|
|
720
736
|
t[4](this, e);
|
|
721
737
|
}
|
|
722
|
-
} : b[S] = v, f ||
|
|
738
|
+
} : b[S] = v, f || wt(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
|
|
723
739
|
}
|
|
724
740
|
for (var C = e, w = _.length - 1; w >= 0; w -= n ? 2 : 1) {
|
|
725
741
|
var T = _[w], E = n ? _[w - 1] : void 0, D = {}, O = {
|
|
@@ -779,7 +795,7 @@ function gt(e, t, n, r, i, a) {
|
|
|
779
795
|
if (arguments.length >= 6) var d = a[Symbol.metadata || Symbol.for("Symbol.metadata")];
|
|
780
796
|
var f = Object.create(d ?? null), p = function(e, t, n, r) {
|
|
781
797
|
var i, a, o = [], c = function(t) {
|
|
782
|
-
return
|
|
798
|
+
return Tt(t) === e;
|
|
783
799
|
}, u = /* @__PURE__ */ new Map();
|
|
784
800
|
function d(e) {
|
|
785
801
|
e && o.push(s.bind(null, e));
|
|
@@ -793,7 +809,7 @@ function gt(e, t, n, r, i, a) {
|
|
|
793
809
|
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);
|
|
794
810
|
u.set(b, !(m > 2) || m);
|
|
795
811
|
}
|
|
796
|
-
l(v ? e : e.prototype, p, _, g ? "#" + h :
|
|
812
|
+
l(v ? e : e.prototype, p, _, g ? "#" + h : St(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
|
|
797
813
|
}
|
|
798
814
|
}
|
|
799
815
|
return d(i), d(a), o;
|
|
@@ -806,11 +822,11 @@ function gt(e, t, n, r, i, a) {
|
|
|
806
822
|
}
|
|
807
823
|
};
|
|
808
824
|
}
|
|
809
|
-
function
|
|
810
|
-
var t =
|
|
825
|
+
function St(e) {
|
|
826
|
+
var t = Ct(e, "string");
|
|
811
827
|
return typeof t == "symbol" ? t : t + "";
|
|
812
828
|
}
|
|
813
|
-
function
|
|
829
|
+
function Ct(e, t) {
|
|
814
830
|
if (typeof e != "object" || !e) return e;
|
|
815
831
|
var n;
|
|
816
832
|
if (typeof Symbol < "u" && (n = e[Symbol.toPrimitive]) !== void 0) {
|
|
@@ -820,7 +836,7 @@ function vt(e, t) {
|
|
|
820
836
|
}
|
|
821
837
|
return (t === "string" ? String : Number)(e);
|
|
822
838
|
}
|
|
823
|
-
function
|
|
839
|
+
function wt(e, t, n) {
|
|
824
840
|
typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
|
|
825
841
|
try {
|
|
826
842
|
Object.defineProperty(e, "name", {
|
|
@@ -830,27 +846,27 @@ function yt(e, t, n) {
|
|
|
830
846
|
} catch {}
|
|
831
847
|
return e;
|
|
832
848
|
}
|
|
833
|
-
function
|
|
849
|
+
function Tt(e) {
|
|
834
850
|
if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
|
|
835
851
|
return e;
|
|
836
852
|
}
|
|
837
|
-
function
|
|
853
|
+
function Et(e) {
|
|
838
854
|
return e;
|
|
839
855
|
}
|
|
840
|
-
|
|
841
|
-
var
|
|
842
|
-
new (
|
|
856
|
+
ot = [i("solid-ui-file-explorer-header")];
|
|
857
|
+
var Dt;
|
|
858
|
+
new (_t = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q = /*#__PURE__*/ new WeakMap(), J = /*#__PURE__*/ new WeakMap(), Y = /*#__PURE__*/ new WeakMap(), vt = (st = n({
|
|
843
859
|
context: u,
|
|
844
860
|
subscribe: !0
|
|
845
|
-
}),
|
|
861
|
+
}), lt = a({ attribute: !1 }), dt = a({ attribute: !1 }), pt = a({ type: Boolean }), ht = c(), "_loadedMetadataForUri"), rt = class extends o {
|
|
846
862
|
constructor(...e) {
|
|
847
|
-
super(...e),
|
|
863
|
+
super(...e), $(this, vt, void it(this)), $(this, "_metadataGeneration", 0), X(this, G, ct(this, d)), X(this, K, ut(this, [])), X(this, q, ft(this, void 0)), X(this, J, mt(this, !0)), X(this, Y, gt(this, {
|
|
848
864
|
modified: void 0,
|
|
849
865
|
isPublic: !1,
|
|
850
866
|
canEdit: !1,
|
|
851
867
|
canManageAccess: !1,
|
|
852
868
|
aclUri: void 0
|
|
853
|
-
})),
|
|
869
|
+
})), $(this, "handleBack", () => {
|
|
854
870
|
this.dispatchEvent(new CustomEvent(p, {
|
|
855
871
|
bubbles: !0,
|
|
856
872
|
composed: !0,
|
|
@@ -859,28 +875,34 @@ new (ft = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
|
|
|
859
875
|
});
|
|
860
876
|
}
|
|
861
877
|
get fileExplorerContext() {
|
|
862
|
-
return
|
|
878
|
+
return Q(G, this);
|
|
863
879
|
}
|
|
864
880
|
set fileExplorerContext(e) {
|
|
865
|
-
|
|
881
|
+
Z(G, this, e);
|
|
866
882
|
}
|
|
867
883
|
get menuItems() {
|
|
868
|
-
return
|
|
884
|
+
return Q(K, this);
|
|
869
885
|
}
|
|
870
886
|
set menuItems(e) {
|
|
871
|
-
|
|
887
|
+
Z(K, this, e);
|
|
872
888
|
}
|
|
873
889
|
get paneIcon() {
|
|
874
|
-
return
|
|
890
|
+
return Q(q, this);
|
|
875
891
|
}
|
|
876
892
|
set paneIcon(e) {
|
|
877
|
-
|
|
893
|
+
Z(q, this, e);
|
|
894
|
+
}
|
|
895
|
+
get showBack() {
|
|
896
|
+
return Q(J, this);
|
|
897
|
+
}
|
|
898
|
+
set showBack(e) {
|
|
899
|
+
Z(J, this, e);
|
|
878
900
|
}
|
|
879
901
|
get responseMetadata() {
|
|
880
|
-
return
|
|
902
|
+
return Q(Y, this);
|
|
881
903
|
}
|
|
882
904
|
set responseMetadata(e) {
|
|
883
|
-
|
|
905
|
+
Z(Y, this, e);
|
|
884
906
|
}
|
|
885
907
|
getDefaultResponseMetadata() {
|
|
886
908
|
return {
|
|
@@ -918,6 +940,7 @@ new (ft = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
|
|
|
918
940
|
<header>
|
|
919
941
|
<solid-ui-file-explorer-header-summary
|
|
920
942
|
.paneIcon=${this.paneIcon}
|
|
943
|
+
.showBack=${this.showBack}
|
|
921
944
|
.onBackClick=${this.handleBack}
|
|
922
945
|
.responseMetadata=${this.responseMetadata}
|
|
923
946
|
></solid-ui-file-explorer-header-summary>
|
|
@@ -929,34 +952,39 @@ new (ft = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
|
|
|
929
952
|
</header>
|
|
930
953
|
`;
|
|
931
954
|
}
|
|
932
|
-
}, {e: [
|
|
955
|
+
}, {e: [ct, ut, ft, mt, gt, it], c: [Dt, at]} = xt(rt, [
|
|
933
956
|
[
|
|
934
|
-
|
|
957
|
+
st,
|
|
935
958
|
1,
|
|
936
959
|
"fileExplorerContext"
|
|
937
960
|
],
|
|
938
961
|
[
|
|
939
|
-
|
|
962
|
+
lt,
|
|
940
963
|
1,
|
|
941
964
|
"menuItems"
|
|
942
965
|
],
|
|
943
966
|
[
|
|
944
|
-
|
|
967
|
+
dt,
|
|
945
968
|
1,
|
|
946
969
|
"paneIcon"
|
|
947
970
|
],
|
|
948
971
|
[
|
|
949
|
-
|
|
972
|
+
pt,
|
|
973
|
+
1,
|
|
974
|
+
"showBack"
|
|
975
|
+
],
|
|
976
|
+
[
|
|
977
|
+
ht,
|
|
950
978
|
1,
|
|
951
979
|
"responseMetadata"
|
|
952
980
|
]
|
|
953
|
-
],
|
|
981
|
+
], ot, 0, void 0, o), rt), nt = class extends Et {
|
|
954
982
|
constructor() {
|
|
955
|
-
super(
|
|
983
|
+
super(Dt), $(this, "styles", b), at();
|
|
956
984
|
}
|
|
957
|
-
},
|
|
985
|
+
}, $(nt, _t, void 0), nt)();
|
|
958
986
|
// src/components/file-explorer-header/index.ts
|
|
959
|
-
var
|
|
960
|
-
export {
|
|
987
|
+
var Ot = Dt;
|
|
988
|
+
export { Dt as n, Ot as t };
|
|
961
989
|
|
|
962
|
-
//# sourceMappingURL=file-explorer-header-
|
|
990
|
+
//# sourceMappingURL=file-explorer-header-DGcG6Agk.js.map
|