folder-pane 4.0.0-0 → 4.0.1-0

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 (176) hide show
  1. package/declarations.d.ts +4 -4
  2. package/dist/_virtual/~icons/lucide/chevron-down.cjs.js +2 -0
  3. package/dist/_virtual/~icons/lucide/chevron-down.cjs.js.map +1 -0
  4. package/dist/_virtual/~icons/lucide/chevron-down.esm.js +10 -0
  5. package/dist/_virtual/~icons/lucide/chevron-down.esm.js.map +1 -0
  6. package/dist/_virtual/~icons/lucide/chevron-right.cjs.js +2 -0
  7. package/dist/_virtual/~icons/lucide/chevron-right.cjs.js.map +1 -0
  8. package/dist/_virtual/~icons/lucide/chevron-right.esm.js +10 -0
  9. package/dist/_virtual/~icons/lucide/chevron-right.esm.js.map +1 -0
  10. package/dist/_virtual/~icons/lucide/circle-small.cjs.js +2 -0
  11. package/dist/_virtual/~icons/lucide/circle-small.cjs.js.map +1 -0
  12. package/dist/_virtual/~icons/lucide/circle-small.esm.js +10 -0
  13. package/dist/_virtual/~icons/lucide/circle-small.esm.js.map +1 -0
  14. package/dist/_virtual/~icons/lucide/file-box.cjs.js +2 -0
  15. package/dist/_virtual/~icons/lucide/file-box.cjs.js.map +1 -0
  16. package/dist/_virtual/~icons/lucide/file-box.esm.js +10 -0
  17. package/dist/_virtual/~icons/lucide/file-box.esm.js.map +1 -0
  18. package/dist/_virtual/~icons/lucide/file.cjs.js +2 -0
  19. package/dist/_virtual/~icons/lucide/file.cjs.js.map +1 -0
  20. package/dist/_virtual/~icons/lucide/file.esm.js +10 -0
  21. package/dist/_virtual/~icons/lucide/file.esm.js.map +1 -0
  22. package/dist/_virtual/~icons/lucide/folder-open.cjs.js +2 -0
  23. package/dist/_virtual/~icons/lucide/folder-open.cjs.js.map +1 -0
  24. package/dist/_virtual/~icons/lucide/folder-open.esm.js +10 -0
  25. package/dist/_virtual/~icons/lucide/folder-open.esm.js.map +1 -0
  26. package/dist/_virtual/~icons/lucide/folder.cjs.js +2 -0
  27. package/dist/_virtual/~icons/lucide/folder.cjs.js.map +1 -0
  28. package/dist/_virtual/~icons/lucide/folder.esm.js +10 -0
  29. package/dist/_virtual/~icons/lucide/folder.esm.js.map +1 -0
  30. package/dist/_virtual/~icons/lucide/globe.cjs.js +2 -0
  31. package/dist/_virtual/~icons/lucide/globe.cjs.js.map +1 -0
  32. package/dist/_virtual/~icons/lucide/globe.esm.js +10 -0
  33. package/dist/_virtual/~icons/lucide/globe.esm.js.map +1 -0
  34. package/dist/_virtual/~icons/lucide/layout-grid.cjs.js +2 -0
  35. package/dist/_virtual/~icons/lucide/layout-grid.cjs.js.map +1 -0
  36. package/dist/_virtual/~icons/lucide/layout-grid.esm.js +10 -0
  37. package/dist/_virtual/~icons/lucide/layout-grid.esm.js.map +1 -0
  38. package/dist/_virtual/~icons/lucide/list.cjs.js +2 -0
  39. package/dist/_virtual/~icons/lucide/list.cjs.js.map +1 -0
  40. package/dist/_virtual/~icons/lucide/list.esm.js +10 -0
  41. package/dist/_virtual/~icons/lucide/list.esm.js.map +1 -0
  42. package/dist/_virtual/~icons/lucide/lock-keyhole.cjs.js +2 -0
  43. package/dist/_virtual/~icons/lucide/lock-keyhole.cjs.js.map +1 -0
  44. package/dist/_virtual/~icons/lucide/lock-keyhole.esm.js +10 -0
  45. package/dist/_virtual/~icons/lucide/lock-keyhole.esm.js.map +1 -0
  46. package/dist/_virtual/~icons/lucide/plus.cjs.js +2 -0
  47. package/dist/_virtual/~icons/lucide/plus.cjs.js.map +1 -0
  48. package/dist/_virtual/~icons/lucide/plus.esm.js +10 -0
  49. package/dist/_virtual/~icons/lucide/plus.esm.js.map +1 -0
  50. package/dist/_virtual/~icons/lucide/search.cjs.js +2 -0
  51. package/dist/_virtual/~icons/lucide/search.cjs.js.map +1 -0
  52. package/dist/_virtual/~icons/lucide/search.esm.js +10 -0
  53. package/dist/_virtual/~icons/lucide/search.esm.js.map +1 -0
  54. package/dist/_virtual/~icons/lucide/trash-2.cjs.js +2 -0
  55. package/dist/_virtual/~icons/lucide/trash-2.cjs.js.map +1 -0
  56. package/dist/_virtual/~icons/lucide/trash-2.esm.js +10 -0
  57. package/dist/_virtual/~icons/lucide/trash-2.esm.js.map +1 -0
  58. package/dist/_virtual/~icons/lucide/upload.cjs.js +2 -0
  59. package/dist/_virtual/~icons/lucide/upload.cjs.js.map +1 -0
  60. package/dist/_virtual/~icons/lucide/upload.esm.js +10 -0
  61. package/dist/_virtual/~icons/lucide/upload.esm.js.map +1 -0
  62. package/dist/_virtual/~icons/lucide/x.cjs.js +2 -0
  63. package/dist/_virtual/~icons/lucide/x.cjs.js.map +1 -0
  64. package/dist/_virtual/~icons/lucide/x.esm.js +10 -0
  65. package/dist/_virtual/~icons/lucide/x.esm.js.map +1 -0
  66. package/dist/components/folder-pane-container/FolderPaneContainer.cjs.js +91 -0
  67. package/dist/components/folder-pane-container/FolderPaneContainer.cjs.js.map +1 -0
  68. package/dist/components/folder-pane-container/FolderPaneContainer.d.ts +44 -0
  69. package/dist/components/folder-pane-container/FolderPaneContainer.d.ts.map +1 -0
  70. package/dist/components/folder-pane-container/FolderPaneContainer.esm.js +585 -0
  71. package/dist/components/folder-pane-container/FolderPaneContainer.esm.js.map +1 -0
  72. package/dist/components/folder-pane-container/FolderPaneContainer.styles.cjs.js +2 -0
  73. package/dist/components/folder-pane-container/FolderPaneContainer.styles.cjs.js.map +1 -0
  74. package/dist/components/folder-pane-container/FolderPaneContainer.styles.esm.js +6 -0
  75. package/dist/components/folder-pane-container/FolderPaneContainer.styles.esm.js.map +1 -0
  76. package/dist/components/folder-pane-container/index.cjs.js +1 -0
  77. package/dist/components/folder-pane-container/index.d.ts +2 -0
  78. package/dist/components/folder-pane-container/index.d.ts.map +1 -0
  79. package/dist/components/folder-pane-container/index.esm.js +1 -0
  80. package/dist/components/folder-pane-content/FolderPaneContent.cjs.js +4 -0
  81. package/dist/components/folder-pane-content/FolderPaneContent.cjs.js.map +1 -0
  82. package/dist/components/folder-pane-content/FolderPaneContent.d.ts +6 -0
  83. package/dist/components/folder-pane-content/FolderPaneContent.d.ts.map +1 -0
  84. package/dist/components/folder-pane-content/FolderPaneContent.esm.js +176 -0
  85. package/dist/components/folder-pane-content/FolderPaneContent.esm.js.map +1 -0
  86. package/dist/components/folder-pane-content/FolderPaneContent.styles.cjs.js +2 -0
  87. package/dist/components/folder-pane-content/FolderPaneContent.styles.cjs.js.map +1 -0
  88. package/dist/components/folder-pane-content/FolderPaneContent.styles.esm.js +6 -0
  89. package/dist/components/folder-pane-content/FolderPaneContent.styles.esm.js.map +1 -0
  90. package/dist/components/folder-pane-content/index.cjs.js +1 -0
  91. package/dist/components/folder-pane-content/index.d.ts +2 -0
  92. package/dist/components/folder-pane-content/index.d.ts.map +1 -0
  93. package/dist/components/folder-pane-content/index.esm.js +1 -0
  94. package/dist/components/folder-pane-sidebar/FolderPaneSidebar.cjs.js +53 -0
  95. package/dist/components/folder-pane-sidebar/FolderPaneSidebar.cjs.js.map +1 -0
  96. package/dist/components/folder-pane-sidebar/FolderPaneSidebar.d.ts +33 -0
  97. package/dist/components/folder-pane-sidebar/FolderPaneSidebar.d.ts.map +1 -0
  98. package/dist/components/folder-pane-sidebar/FolderPaneSidebar.esm.js +429 -0
  99. package/dist/components/folder-pane-sidebar/FolderPaneSidebar.esm.js.map +1 -0
  100. package/dist/components/folder-pane-sidebar/FolderPaneSidebar.styles.cjs.js +2 -0
  101. package/dist/components/folder-pane-sidebar/FolderPaneSidebar.styles.cjs.js.map +1 -0
  102. package/dist/components/folder-pane-sidebar/FolderPaneSidebar.styles.esm.js +6 -0
  103. package/dist/components/folder-pane-sidebar/FolderPaneSidebar.styles.esm.js.map +1 -0
  104. package/dist/components/folder-pane-sidebar/index.cjs.js +1 -0
  105. package/dist/components/folder-pane-sidebar/index.d.ts +2 -0
  106. package/dist/components/folder-pane-sidebar/index.d.ts.map +1 -0
  107. package/dist/components/folder-pane-sidebar/index.esm.js +1 -0
  108. package/dist/components/folder-pane-storage-header/FolderPaneCreateDialog.cjs.js +32 -0
  109. package/dist/components/folder-pane-storage-header/FolderPaneCreateDialog.cjs.js.map +1 -0
  110. package/dist/components/folder-pane-storage-header/FolderPaneCreateDialog.d.ts +15 -0
  111. package/dist/components/folder-pane-storage-header/FolderPaneCreateDialog.d.ts.map +1 -0
  112. package/dist/components/folder-pane-storage-header/FolderPaneCreateDialog.esm.js +290 -0
  113. package/dist/components/folder-pane-storage-header/FolderPaneCreateDialog.esm.js.map +1 -0
  114. package/dist/components/folder-pane-storage-header/FolderPaneCreateDialog.styles.cjs.js +2 -0
  115. package/dist/components/folder-pane-storage-header/FolderPaneCreateDialog.styles.cjs.js.map +1 -0
  116. package/dist/components/folder-pane-storage-header/FolderPaneCreateDialog.styles.esm.js +6 -0
  117. package/dist/components/folder-pane-storage-header/FolderPaneCreateDialog.styles.esm.js.map +1 -0
  118. package/dist/components/folder-pane-storage-header/FolderPaneStorageHeader.cjs.js +79 -0
  119. package/dist/components/folder-pane-storage-header/FolderPaneStorageHeader.cjs.js.map +1 -0
  120. package/dist/components/folder-pane-storage-header/FolderPaneStorageHeader.d.ts +27 -0
  121. package/dist/components/folder-pane-storage-header/FolderPaneStorageHeader.d.ts.map +1 -0
  122. package/dist/components/folder-pane-storage-header/FolderPaneStorageHeader.esm.js +437 -0
  123. package/dist/components/folder-pane-storage-header/FolderPaneStorageHeader.esm.js.map +1 -0
  124. package/dist/components/folder-pane-storage-header/FolderPaneStorageHeader.styles.cjs.js +2 -0
  125. package/dist/components/folder-pane-storage-header/FolderPaneStorageHeader.styles.cjs.js.map +1 -0
  126. package/dist/components/folder-pane-storage-header/FolderPaneStorageHeader.styles.esm.js +6 -0
  127. package/dist/components/folder-pane-storage-header/FolderPaneStorageHeader.styles.esm.js.map +1 -0
  128. package/dist/components/folder-pane-storage-header/index.cjs.js +1 -0
  129. package/dist/components/folder-pane-storage-header/index.d.ts +2 -0
  130. package/dist/components/folder-pane-storage-header/index.d.ts.map +1 -0
  131. package/dist/components/folder-pane-storage-header/index.esm.js +1 -0
  132. package/dist/components/folder-pane-view/FolderPaneView.cjs.js +51 -0
  133. package/dist/components/folder-pane-view/FolderPaneView.cjs.js.map +1 -0
  134. package/dist/components/folder-pane-view/FolderPaneView.d.ts +82 -0
  135. package/dist/components/folder-pane-view/FolderPaneView.d.ts.map +1 -0
  136. package/dist/components/folder-pane-view/FolderPaneView.esm.js +728 -0
  137. package/dist/components/folder-pane-view/FolderPaneView.esm.js.map +1 -0
  138. package/dist/components/folder-pane-view/index.cjs.js +1 -0
  139. package/dist/components/folder-pane-view/index.d.ts +2 -0
  140. package/dist/components/folder-pane-view/index.d.ts.map +1 -0
  141. package/dist/components/folder-pane-view/index.esm.js +1 -0
  142. package/dist/components/folder-pane-view/renderRequest.cjs.js +2 -0
  143. package/dist/components/folder-pane-view/renderRequest.cjs.js.map +1 -0
  144. package/dist/components/folder-pane-view/renderRequest.d.ts +8 -0
  145. package/dist/components/folder-pane-view/renderRequest.d.ts.map +1 -0
  146. package/dist/components/folder-pane-view/renderRequest.esm.js +10 -0
  147. package/dist/components/folder-pane-view/renderRequest.esm.js.map +1 -0
  148. package/dist/creationSafety.cjs.js +2 -0
  149. package/dist/creationSafety.cjs.js.map +1 -0
  150. package/dist/creationSafety.d.ts +9 -0
  151. package/dist/creationSafety.d.ts.map +1 -0
  152. package/dist/creationSafety.esm.js +17 -0
  153. package/dist/creationSafety.esm.js.map +1 -0
  154. package/dist/folderPane.cjs.js +2 -2
  155. package/dist/folderPane.cjs.js.map +1 -1
  156. package/dist/folderPane.d.ts +2 -1
  157. package/dist/folderPane.d.ts.map +1 -1
  158. package/dist/folderPane.esm.js +23 -60
  159. package/dist/folderPane.esm.js.map +1 -1
  160. package/dist/helpers.cjs.js +2 -0
  161. package/dist/helpers.cjs.js.map +1 -0
  162. package/dist/helpers.d.ts +30 -0
  163. package/dist/helpers.d.ts.map +1 -0
  164. package/dist/helpers.esm.js +59 -0
  165. package/dist/helpers.esm.js.map +1 -0
  166. package/dist/index.esm.js +1 -2
  167. package/dist/mintPaneInstance.cjs.js +2 -0
  168. package/dist/mintPaneInstance.cjs.js.map +1 -0
  169. package/dist/mintPaneInstance.d.ts +43 -0
  170. package/dist/mintPaneInstance.d.ts.map +1 -0
  171. package/dist/mintPaneInstance.esm.js +104 -0
  172. package/dist/mintPaneInstance.esm.js.map +1 -0
  173. package/dist/types.d.ts +9 -0
  174. package/dist/types.d.ts.map +1 -0
  175. package/package.json +9 -6
  176. package/dist/_virtual/_rolldown/runtime.cjs.js +0 -1
package/declarations.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare module '*.css' {
2
- const classes: Record<string, string>;
3
- export default classes;
4
- }
1
+ /// <reference types="unplugin-icons/types/web-components" />
2
+
3
+ declare module '*.css';
4
+ declare module '~icons/*';
@@ -0,0 +1,2 @@
1
+ var e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:`open`}).innerHTML=`<style>:host { display: inline-flex; }</style><svg viewBox="0 0 24 24" width="100%" height="100%" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m6 9l6 6l6-6"/></svg>`}};customElements.get(`icon-lucide-chevron-down`)||customElements.define(`icon-lucide-chevron-down`,e),exports.default=e;
2
+ //# sourceMappingURL=chevron-down.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chevron-down.cjs.js","names":["iconlucidechevrondown"],"sources":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ // ~icons/lucide/chevron-down
2
+ var e = class extends HTMLElement {
3
+ constructor() {
4
+ super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m6 9l6 6l6-6\"/></svg>";
5
+ }
6
+ };
7
+ customElements.get("icon-lucide-chevron-down") || customElements.define("icon-lucide-chevron-down", e);
8
+ export { e as default };
9
+
10
+ //# sourceMappingURL=chevron-down.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chevron-down.esm.js","names":["iconlucidechevrondown"],"sources":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ var e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:`open`}).innerHTML=`<style>:host { display: inline-flex; }</style><svg viewBox="0 0 24 24" width="100%" height="100%" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m9 18l6-6l-6-6"/></svg>`}};customElements.get(`icon-lucide-chevron-right`)||customElements.define(`icon-lucide-chevron-right`,e),exports.default=e;
2
+ //# sourceMappingURL=chevron-right.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chevron-right.cjs.js","names":["iconlucidechevronright"],"sources":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ // ~icons/lucide/chevron-right
2
+ var e = class extends HTMLElement {
3
+ constructor() {
4
+ super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 18l6-6l-6-6\"/></svg>";
5
+ }
6
+ };
7
+ customElements.get("icon-lucide-chevron-right") || customElements.define("icon-lucide-chevron-right", e);
8
+ export { e as default };
9
+
10
+ //# sourceMappingURL=chevron-right.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chevron-right.esm.js","names":["iconlucidechevronright"],"sources":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ var e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:`open`}).innerHTML=`<style>:host { display: inline-flex; }</style><svg viewBox="0 0 24 24" width="100%" height="100%" ><circle cx="12" cy="12" r="6" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/></svg>`}};customElements.get(`icon-lucide-circle-small`)||customElements.define(`icon-lucide-circle-small`,e),exports.default=e;
2
+ //# sourceMappingURL=circle-small.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"circle-small.cjs.js","names":["iconlucidecirclesmall"],"sources":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ // ~icons/lucide/circle-small
2
+ var e = class extends HTMLElement {
3
+ constructor() {
4
+ super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><circle cx=\"12\" cy=\"12\" r=\"6\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"/></svg>";
5
+ }
6
+ };
7
+ customElements.get("icon-lucide-circle-small") || customElements.define("icon-lucide-circle-small", e);
8
+ export { e as default };
9
+
10
+ //# sourceMappingURL=circle-small.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"circle-small.esm.js","names":["iconlucidecirclesmall"],"sources":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ var e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:`open`}).innerHTML=`<style>:host { display: inline-flex; }</style><svg viewBox="0 0 24 24" width="100%" height="100%" ><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M14 2v5a1 1 0 0 0 1 1h5"/><path d="M14.692 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v3.804"/><path d="M2.264 13.752L7 16.5l4.737-2.748"/><path d="M2.995 13.014A2 2 0 0 0 2 14.744v3.516a2 2 0 0 0 .996 1.73l3 1.74a2 2 0 0 0 2.008 0l3-1.74A2 2 0 0 0 12 18.26v-3.517a2 2 0 0 0-.995-1.73l-3-1.742a2 2 0 0 0-1.892-.064zM7 16.5V22"/></g></svg>`}};customElements.get(`icon-lucide-file-box`)||customElements.define(`icon-lucide-file-box`,e),exports.default=e;
2
+ //# sourceMappingURL=file-box.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file-box.cjs.js","names":["iconlucidefilebox"],"sources":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ // ~icons/lucide/file-box
2
+ var e = class extends HTMLElement {
3
+ constructor() {
4
+ super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M14 2v5a1 1 0 0 0 1 1h5\"/><path d=\"M14.692 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v3.804\"/><path d=\"M2.264 13.752L7 16.5l4.737-2.748\"/><path d=\"M2.995 13.014A2 2 0 0 0 2 14.744v3.516a2 2 0 0 0 .996 1.73l3 1.74a2 2 0 0 0 2.008 0l3-1.74A2 2 0 0 0 12 18.26v-3.517a2 2 0 0 0-.995-1.73l-3-1.742a2 2 0 0 0-1.892-.064zM7 16.5V22\"/></g></svg>";
5
+ }
6
+ };
7
+ customElements.get("icon-lucide-file-box") || customElements.define("icon-lucide-file-box", e);
8
+ export { e as default };
9
+
10
+ //# sourceMappingURL=file-box.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file-box.esm.js","names":["iconlucidefilebox"],"sources":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ var e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:`open`}).innerHTML=`<style>:host { display: inline-flex; }</style><svg viewBox="0 0 24 24" width="100%" height="100%" ><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"/><path d="M14 2v5a1 1 0 0 0 1 1h5"/></g></svg>`}};customElements.get(`icon-lucide-file`)||customElements.define(`icon-lucide-file`,e),exports.default=e;
2
+ //# sourceMappingURL=file.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file.cjs.js","names":["iconlucidefile"],"sources":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ // ~icons/lucide/file
2
+ var e = class extends HTMLElement {
3
+ constructor() {
4
+ super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\"/><path d=\"M14 2v5a1 1 0 0 0 1 1h5\"/></g></svg>";
5
+ }
6
+ };
7
+ customElements.get("icon-lucide-file") || customElements.define("icon-lucide-file", e);
8
+ export { e as default };
9
+
10
+ //# sourceMappingURL=file.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file.esm.js","names":["iconlucidefile"],"sources":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ var e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:`open`}).innerHTML=`<style>:host { display: inline-flex; }</style><svg viewBox="0 0 24 24" width="100%" height="100%" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m6 14l1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2"/></svg>`}};customElements.get(`icon-lucide-folder-open`)||customElements.define(`icon-lucide-folder-open`,e),exports.default=e;
2
+ //# sourceMappingURL=folder-open.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"folder-open.cjs.js","names":["iconlucidefolderopen"],"sources":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ // ~icons/lucide/folder-open
2
+ var e = class extends HTMLElement {
3
+ constructor() {
4
+ super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m6 14l1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2\"/></svg>";
5
+ }
6
+ };
7
+ customElements.get("icon-lucide-folder-open") || customElements.define("icon-lucide-folder-open", e);
8
+ export { e as default };
9
+
10
+ //# sourceMappingURL=folder-open.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"folder-open.esm.js","names":["iconlucidefolderopen"],"sources":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ var e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:`open`}).innerHTML=`<style>:host { display: inline-flex; }</style><svg viewBox="0 0 24 24" width="100%" height="100%" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"/></svg>`}};customElements.get(`icon-lucide-folder`)||customElements.define(`icon-lucide-folder`,e),exports.default=e;
2
+ //# sourceMappingURL=folder.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"folder.cjs.js","names":["iconlucidefolder"],"sources":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ // ~icons/lucide/folder
2
+ var e = class extends HTMLElement {
3
+ constructor() {
4
+ super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\"/></svg>";
5
+ }
6
+ };
7
+ customElements.get("icon-lucide-folder") || customElements.define("icon-lucide-folder", e);
8
+ export { e as default };
9
+
10
+ //# sourceMappingURL=folder.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"folder.esm.js","names":["iconlucidefolder"],"sources":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ var e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:`open`}).innerHTML=`<style>:host { display: inline-flex; }</style><svg viewBox="0 0 24 24" width="100%" height="100%" ><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><circle cx="12" cy="12" r="10"/><path d="M12 2a14.5 14.5 0 0 0 0 20a14.5 14.5 0 0 0 0-20M2 12h20"/></g></svg>`}};customElements.get(`icon-lucide-globe`)||customElements.define(`icon-lucide-globe`,e),exports.default=e;
2
+ //# sourceMappingURL=globe.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"globe.cjs.js","names":["iconlucideglobe"],"sources":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ // ~icons/lucide/globe
2
+ var e = class extends HTMLElement {
3
+ constructor() {
4
+ super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 2a14.5 14.5 0 0 0 0 20a14.5 14.5 0 0 0 0-20M2 12h20\"/></g></svg>";
5
+ }
6
+ };
7
+ customElements.get("icon-lucide-globe") || customElements.define("icon-lucide-globe", e);
8
+ export { e as default };
9
+
10
+ //# sourceMappingURL=globe.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"globe.esm.js","names":["iconlucideglobe"],"sources":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ var e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:`open`}).innerHTML=`<style>:host { display: inline-flex; }</style><svg viewBox="0 0 24 24" width="100%" height="100%" ><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><rect width="7" height="7" x="3" y="3" rx="1"/><rect width="7" height="7" x="14" y="3" rx="1"/><rect width="7" height="7" x="14" y="14" rx="1"/><rect width="7" height="7" x="3" y="14" rx="1"/></g></svg>`}};customElements.get(`icon-lucide-layout-grid`)||customElements.define(`icon-lucide-layout-grid`,e),exports.default=e;
2
+ //# sourceMappingURL=layout-grid.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layout-grid.cjs.js","names":["iconlucidelayoutgrid"],"sources":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ // ~icons/lucide/layout-grid
2
+ var e = class extends HTMLElement {
3
+ constructor() {
4
+ super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><rect width=\"7\" height=\"7\" x=\"3\" y=\"3\" rx=\"1\"/><rect width=\"7\" height=\"7\" x=\"14\" y=\"3\" rx=\"1\"/><rect width=\"7\" height=\"7\" x=\"14\" y=\"14\" rx=\"1\"/><rect width=\"7\" height=\"7\" x=\"3\" y=\"14\" rx=\"1\"/></g></svg>";
5
+ }
6
+ };
7
+ customElements.get("icon-lucide-layout-grid") || customElements.define("icon-lucide-layout-grid", e);
8
+ export { e as default };
9
+
10
+ //# sourceMappingURL=layout-grid.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layout-grid.esm.js","names":["iconlucidelayoutgrid"],"sources":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ var e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:`open`}).innerHTML=`<style>:host { display: inline-flex; }</style><svg viewBox="0 0 24 24" width="100%" height="100%" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5h.01M3 12h.01M3 19h.01M8 5h13M8 12h13M8 19h13"/></svg>`}};customElements.get(`icon-lucide-list`)||customElements.define(`icon-lucide-list`,e),exports.default=e;
2
+ //# sourceMappingURL=list.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.cjs.js","names":["iconlucidelist"],"sources":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ // ~icons/lucide/list
2
+ var e = class extends HTMLElement {
3
+ constructor() {
4
+ super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 5h.01M3 12h.01M3 19h.01M8 5h13M8 12h13M8 19h13\"/></svg>";
5
+ }
6
+ };
7
+ customElements.get("icon-lucide-list") || customElements.define("icon-lucide-list", e);
8
+ export { e as default };
9
+
10
+ //# sourceMappingURL=list.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.esm.js","names":["iconlucidelist"],"sources":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ var e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:`open`}).innerHTML=`<style>:host { display: inline-flex; }</style><svg viewBox="0 0 24 24" width="100%" height="100%" ><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><circle cx="12" cy="16" r="1"/><rect width="18" height="12" x="3" y="10" rx="2"/><path d="M7 10V7a5 5 0 0 1 10 0v3"/></g></svg>`}};customElements.get(`icon-lucide-lock-keyhole`)||customElements.define(`icon-lucide-lock-keyhole`,e),exports.default=e;
2
+ //# sourceMappingURL=lock-keyhole.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lock-keyhole.cjs.js","names":["iconlucidelockkeyhole"],"sources":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ // ~icons/lucide/lock-keyhole
2
+ var e = class extends HTMLElement {
3
+ constructor() {
4
+ super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"16\" r=\"1\"/><rect width=\"18\" height=\"12\" x=\"3\" y=\"10\" rx=\"2\"/><path d=\"M7 10V7a5 5 0 0 1 10 0v3\"/></g></svg>";
5
+ }
6
+ };
7
+ customElements.get("icon-lucide-lock-keyhole") || customElements.define("icon-lucide-lock-keyhole", e);
8
+ export { e as default };
9
+
10
+ //# sourceMappingURL=lock-keyhole.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lock-keyhole.esm.js","names":["iconlucidelockkeyhole"],"sources":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ var e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:`open`}).innerHTML=`<style>:host { display: inline-flex; }</style><svg viewBox="0 0 24 24" width="100%" height="100%" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 12h14m-7-7v14"/></svg>`}};customElements.get(`icon-lucide-plus`)||customElements.define(`icon-lucide-plus`,e),exports.default=e;
2
+ //# sourceMappingURL=plus.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plus.cjs.js","names":["iconlucideplus"],"sources":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ // ~icons/lucide/plus
2
+ var e = class extends HTMLElement {
3
+ constructor() {
4
+ super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7-7v14\"/></svg>";
5
+ }
6
+ };
7
+ customElements.get("icon-lucide-plus") || customElements.define("icon-lucide-plus", e);
8
+ export { e as default };
9
+
10
+ //# sourceMappingURL=plus.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plus.esm.js","names":["iconlucideplus"],"sources":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ var e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:`open`}).innerHTML=`<style>:host { display: inline-flex; }</style><svg viewBox="0 0 24 24" width="100%" height="100%" ><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="m21 21l-4.34-4.34"/><circle cx="11" cy="11" r="8"/></g></svg>`}};customElements.get(`icon-lucide-search`)||customElements.define(`icon-lucide-search`,e),exports.default=e;
2
+ //# sourceMappingURL=search.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search.cjs.js","names":["iconlucidesearch"],"sources":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ // ~icons/lucide/search
2
+ var e = class extends HTMLElement {
3
+ constructor() {
4
+ super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"m21 21l-4.34-4.34\"/><circle cx=\"11\" cy=\"11\" r=\"8\"/></g></svg>";
5
+ }
6
+ };
7
+ customElements.get("icon-lucide-search") || customElements.define("icon-lucide-search", e);
8
+ export { e as default };
9
+
10
+ //# sourceMappingURL=search.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search.esm.js","names":["iconlucidesearch"],"sources":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ var e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:`open`}).innerHTML=`<style>:host { display: inline-flex; }</style><svg viewBox="0 0 24 24" width="100%" height="100%" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 11v6m4-6v6m5-11v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/></svg>`}};customElements.get(`icon-lucide-trash-2`)||customElements.define(`icon-lucide-trash-2`,e),exports.default=e;
2
+ //# sourceMappingURL=trash-2.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trash-2.cjs.js","names":["iconlucidetrash2"],"sources":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ // ~icons/lucide/trash-2
2
+ var e = class extends HTMLElement {
3
+ constructor() {
4
+ super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11v6m4-6v6m5-11v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\"/></svg>";
5
+ }
6
+ };
7
+ customElements.get("icon-lucide-trash-2") || customElements.define("icon-lucide-trash-2", e);
8
+ export { e as default };
9
+
10
+ //# sourceMappingURL=trash-2.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trash-2.esm.js","names":["iconlucidetrash2"],"sources":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ var e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:`open`}).innerHTML=`<style>:host { display: inline-flex; }</style><svg viewBox="0 0 24 24" width="100%" height="100%" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 3v12m5-7l-5-5l-5 5m14 7v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/></svg>`}};customElements.get(`icon-lucide-upload`)||customElements.define(`icon-lucide-upload`,e),exports.default=e;
2
+ //# sourceMappingURL=upload.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upload.cjs.js","names":["iconlucideupload"],"sources":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ // ~icons/lucide/upload
2
+ var e = class extends HTMLElement {
3
+ constructor() {
4
+ super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 3v12m5-7l-5-5l-5 5m14 7v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"/></svg>";
5
+ }
6
+ };
7
+ customElements.get("icon-lucide-upload") || customElements.define("icon-lucide-upload", e);
8
+ export { e as default };
9
+
10
+ //# sourceMappingURL=upload.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upload.esm.js","names":["iconlucideupload"],"sources":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ var e=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:`open`}).innerHTML=`<style>:host { display: inline-flex; }</style><svg viewBox="0 0 24 24" width="100%" height="100%" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18 6L6 18M6 6l12 12"/></svg>`}};customElements.get(`icon-lucide-x`)||customElements.define(`icon-lucide-x`,e),exports.default=e;
2
+ //# sourceMappingURL=x.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x.cjs.js","names":["iconlucidex"],"sources":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ // ~icons/lucide/x
2
+ var e = class extends HTMLElement {
3
+ constructor() {
4
+ super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 6L6 18M6 6l12 12\"/></svg>";
5
+ }
6
+ };
7
+ customElements.get("icon-lucide-x") || customElements.define("icon-lucide-x", e);
8
+ export { e as default };
9
+
10
+ //# sourceMappingURL=x.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x.esm.js","names":["iconlucidex"],"sources":[],"mappings":""}
@@ -0,0 +1,91 @@
1
+ const e=require("../../helpers.cjs.js");require("../../_virtual/~icons/lucide/file.cjs.js"),require("../../_virtual/~icons/lucide/file-box.cjs.js"),require("../../_virtual/~icons/lucide/folder.cjs.js");const t=require("./FolderPaneContainer.styles.cjs.js");require("../../_virtual/~icons/lucide/globe.cjs.js"),require("../../_virtual/~icons/lucide/lock-keyhole.cjs.js");let n=require("solid-ui"),r=require("lit"),i=require("lit/decorators.js");require("solid-ui/components/resource-actions-menu");var a,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,ee,te,F,I,L,R,z,B,V,H,U,W,G,K,q,J;function Y(e,t,n){ne(e,t),t.set(e,n)}function ne(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}function X(e,t,n){return e.set(re(e,t),n),n}function Z(e,t){return e.get(re(e,t))}function re(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 Q(e,t,n){return(t=ae(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ie(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:se(function(){return v(this)},r,`get`),set:function(e){t[4](this,e)}}:b[S]=v,f||se(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 ce(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:ae(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 ae(e){var t=oe(e,`string`);return typeof t==`symbol`?t:t+``}function oe(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 se(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 ce(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 le(e){return e}S=[(0,n.customElement)(`folder-pane-container`)];var $;new(q=(s=new WeakMap,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,v=new WeakMap,y=new WeakMap,J=(C=(0,i.property)({attribute:!1}),T=(0,i.property)({attribute:!1}),D=(0,i.property)({attribute:!1}),k=(0,i.property)(),j=(0,i.property)(),N=(0,i.property)({type:Boolean,attribute:`hide-root-special-folders`}),ee=(0,i.state)(),F=(0,i.state)(),L=(0,i.state)(),z=(0,i.state)(),V=(0,i.state)(),U=(0,i.state)(),G=(0,i.state)(),`subject`),o=class extends n.WebComponent{constructor(...e){super(...e),Y(this,s,(b(this),w(this,void 0))),Y(this,c,E(this,null)),Y(this,l,O(this,void 0)),Y(this,u,A(this,`grid`)),Y(this,d,M(this,``)),Y(this,f,P(this,!1)),Y(this,p,te(this,new Map)),Y(this,m,I(this,[])),Y(this,h,R(this,[])),Y(this,g,B(this,new Map)),Y(this,_,H(this,new Map)),Y(this,v,W(this,!0)),Y(this,y,K(this,void 0)),Q(this,`actionMenuGeneration`,0),Q(this,`resourceGeneration`,0)}get[J](){return Z(s,this)}set subject(e){X(s,this,e)}get resourceLogic(){return Z(c,this)}set resourceLogic(e){X(c,this,e)}get browserContext(){return Z(l,this)}set browserContext(e){X(l,this,e)}get view(){return Z(u,this)}set view(e){X(u,this,e)}get searchQuery(){return Z(d,this)}set searchQuery(e){X(d,this,e)}get hideRootSpecialFolders(){return Z(f,this)}set hideRootSpecialFolders(e){X(f,this,e)}get resourceActionMenuItems(){return Z(p,this)}set resourceActionMenuItems(e){X(p,this,e)}get resources(){return Z(m,this)}set resources(e){X(m,this,e)}get optimisticResources(){return Z(h,this)}set optimisticResources(e){X(h,this,e)}get resourceAccess(){return Z(g,this)}set resourceAccess(e){X(g,this,e)}get memberLoad(){return Z(_,this)}set memberLoad(e){X(_,this,e)}get loading(){return Z(v,this)}set loading(e){X(v,this,e)}get loadError(){return Z(y,this)}set loadError(e){X(y,this,e)}selectResource(e){this.dispatchEvent(new CustomEvent(`resource-selected`,{detail:{resource:e.subject},bubbles:!0,composed:!0}))}handleResourceKeyDown(e,t){e.target===e.currentTarget&&(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),this.selectResource(t))}getVisibleMemberCount(e){if(!e.isContainer||!this.resourceLogic)return 0;let t=this.resourceLogic;return t.getContainerMembers(e.subject).filter(e=>!t.isHiddenFile(e)).length}isRootSpecialFolder(e){if(!e.isContainer)return!1;let t=n.utils.label(e.subject).toLowerCase();return t===`public`||t===`trash`}getResourcesFromStore(){let t=this.subject?[...e.getResourcesForContainer(this.subject,this.resourceLogic).values()]:[],n=this.optimisticResources.filter(e=>!t.some(t=>t.id===e.id)),r=[...t,...n];return this.hideRootSpecialFolders?r.filter(e=>!this.isRootSpecialFolder(e)):r}addOptimisticResource(e){if(!this.resourceLogic||this.optimisticResources.some(t=>t.id===e.value))return;let t={id:e.value,subject:e,parentId:this.subject?.value??null,isContainer:e.uri.endsWith(`/`)||this.resourceLogic.isContainer(e)};this.optimisticResources=[...this.optimisticResources,t],this.loadResources()}get visibleResources(){let e=this.searchQuery.trim().toLowerCase();return e?this.resources.filter(t=>n.utils.label(t.subject).toLowerCase().includes(e)):this.resources}async loadResources(){let e=++this.resourceGeneration,t=this.getResourcesFromStore();if(this.resources=t,this.loading=!1,this.loadError=void 0,this.memberLoad=new Map(t.filter(e=>e.isContainer).map(e=>[e.id,`loading`])),this.browserContext&&Promise.all(t.filter(e=>e.isContainer).map(async t=>{try{if(await this.browserContext?.session.store.fetcher.load(t.subject),e!==this.resourceGeneration)return;this.memberLoad=new Map(this.memberLoad).set(t.id,`loaded`)}catch(n){if(console.warn(`Unable to load folder-pane container member count`,n),e!==this.resourceGeneration)return;this.memberLoad=new Map(this.memberLoad).set(t.id,`error`)}})),e===this.resourceGeneration){this.resources=this.getResourcesFromStore();for(let t of this.resources)this.loadResourceAccess(t,e);this.loadResourceActionMenuItems(e)}}async loadResourceAccess(t,n=this.resourceGeneration){if(!this.resourceAccess.has(t.id)&&this.browserContext)try{let r=await this.browserContext.session.logic.resource.fetchMetadata(t.subject);if(n!==this.resourceGeneration)return;let i=e.getResourceAccessState(r.access);this.resourceAccess=new Map(this.resourceAccess).set(t.id,{state:i,canManageAccess:r.access.canManageAccess})}catch{n===this.resourceGeneration&&(this.resourceAccess=new Map(this.resourceAccess).set(t.id,{state:`error`,canManageAccess:!1}))}}renderAccessIndicator(e){let t=this.resourceAccess.get(e.id);return t?t.state===`public`?r.html`<icon-lucide-globe class="resource-access-indicator resource-access-indicator--public" role="img" aria-label="Public" title="Public"></icon-lucide-globe>`:t.state===`private`?r.html`<icon-lucide-lock-keyhole class="resource-access-indicator resource-access-indicator--private" role="img" aria-label="Private" title="Private"></icon-lucide-lock-keyhole>`:r.nothing:r.nothing}async refresh(e=!0){if(this.resourceGeneration++,this.resourceAccess=new Map,this.memberLoad=new Map,this.resourceActionMenuItems=new Map,this.optimisticResources=[],e&&this.subject&&this.browserContext)try{await this.browserContext.session.store.fetcher.load(this.subject,{force:!0,clearPreviousData:!0})}catch(e){await this.loadResources(),this.loadError=`The folder could not be refreshed. Showing the last known listing.`,console.warn(`Unable to refresh folder-pane container`,e);return}await this.loadResources()}async loadResourceActionMenuItems(e=this.resourceGeneration){let t=++this.actionMenuGeneration;if(!this.browserContext){this.resourceActionMenuItems=new Map;return}let r=await Promise.all(this.resources.map(async e=>{let t=await(0,n.getRelevantPanes)(e.subject,this.browserContext,{excludedPaneNames:[`sharing`],fallbackPaneName:`internal`}),r=await Promise.all(t.map(async t=>{let n=t.label(e.subject,this.browserContext)||t.name,r=t.icon;return{label:n,icon:typeof r==`function`?await r(e.subject,this.browserContext):r,action:()=>{this.dispatchEvent(new CustomEvent(`resource-open-pane`,{detail:{resource:e.subject,paneName:t.name},bubbles:!0,composed:!0}))}}}));return[e.id,r]}));e===this.resourceGeneration&&t===this.actionMenuGeneration&&(this.resourceActionMenuItems=new Map(r))}updated(e){(e.has(`subject`)||e.has(`resourceLogic`)||e.has(`browserContext`)||e.has(`hideRootSpecialFolders`))&&(this.resourceAccess=new Map,this.memberLoad=new Map,this.resourceActionMenuItems=new Map,this.loadResources())}openAccessControls(e){this.dispatchEvent(new CustomEvent(n.FILE_EXPLORER_MANAGE_ACCESS_EVENT,{detail:{subjectUri:e.subject.uri},bubbles:!0,composed:!0}))}renderResourceActionsMenu(e,t){return r.html`
2
+ <div
3
+ class="resource-actions-menu resource-actions-menu--${t}"
4
+ @click=${e=>e.stopPropagation()}
5
+ >
6
+ <solid-ui-resource-actions-menu
7
+ .store=${this.browserContext?.session.store}
8
+ .subjectUri=${e.subject.uri}
9
+ .handleAccessClick=${()=>this.openAccessControls(e)}
10
+ .showAccessInMenu=${!0}
11
+ .canManageAccess=${this.resourceAccess.get(e.id)?.canManageAccess===!0}
12
+ .menuItems=${this.resourceActionMenuItems.get(e.id)||[]}
13
+ ></solid-ui-resource-actions-menu>
14
+ </div>
15
+ `}renderResourceItem(t){let i=n.utils.label(t.subject),a=t.isContainer&&this.memberLoad.get(t.id)===`loaded`?this.getVisibleMemberCount(t):-1;return r.html`
16
+ <li
17
+ class="resource-list-item"
18
+ notSelectable="false"
19
+ aria-selected="false"
20
+ aria-label=${i}
21
+ about=${t.subject.toNT()}
22
+ role="option"
23
+ tabindex="0"
24
+ .subject=${t.subject}
25
+ @click=${()=>this.selectResource(t)}
26
+ @keydown=${e=>this.handleResourceKeyDown(e,t)}
27
+ >
28
+ <span class="resource-list-main">
29
+ <span class=${t.isContainer?`resource-list-icon resource-list-icon--container`:`resource-list-icon`} aria-hidden="true">
30
+ ${t.isContainer?r.html`<icon-lucide-folder></icon-lucide-folder>`:r.html`<icon-lucide-file></icon-lucide-file>`}
31
+ </span>
32
+ <span class="resource-list-label">${i}</span>
33
+ ${a>=0?r.html`<span class="container-member-count">${e.getContainerMemberCountLabel(a)}</span>`:r.nothing}
34
+ ${this.renderAccessIndicator(t)}
35
+ </span>
36
+ ${this.renderResourceActionsMenu(t,`list`)}
37
+ </li>
38
+ `}renderListView(e){return r.html`
39
+ <ul class="resource-list" role="listbox" aria-label="Container resources">
40
+ <li class="resource-list-header" role="presentation" aria-hidden="true">
41
+ <span>Name</span>
42
+ <span>Actions</span>
43
+ </li>
44
+ ${e.map(e=>this.renderResourceItem(e))}
45
+ </ul>
46
+ `}renderGridItem(t){let i=n.utils.label(t.subject),a=t.isContainer&&this.memberLoad.get(t.id)===`loaded`?this.getVisibleMemberCount(t):-1;return r.html`
47
+ <li
48
+ class="resource-grid-item"
49
+ notSelectable="false"
50
+ aria-selected="false"
51
+ aria-label=${i}
52
+ about=${t.subject.toNT()}
53
+ role="option"
54
+ tabindex="0"
55
+ .subject=${t.subject}
56
+ @click=${()=>this.selectResource(t)}
57
+ @keydown=${e=>this.handleResourceKeyDown(e,t)}
58
+ >
59
+ <span class=${t.isContainer?`resource-grid-icon resource-grid-icon--container`:`resource-grid-icon`} aria-hidden="true">
60
+ ${t.isContainer?r.html`<icon-lucide-folder></icon-lucide-folder>`:r.html`<icon-lucide-file></icon-lucide-file>`}
61
+ </span>
62
+ ${t.isContainer?r.html`<span class="resource-grid-label resource-grid-label--container">${i}</span>`:r.nothing}
63
+ <div class="resource-grid-item-footer">
64
+ ${t.isContainer&&a>=0?r.html`<span class="container-member-count">${e.getContainerMemberCountLabel(a)}</span>`:t.isContainer?r.nothing:r.html`<span class="resource-grid-label">${i}</span>`}
65
+ ${this.renderAccessIndicator(t)}
66
+ </div>
67
+ ${this.renderResourceActionsMenu(t,`grid`)}
68
+ </li>
69
+ `}renderGridView(e){return r.html`
70
+ <ul class="resource-grid" role="listbox" aria-label="Container resources">
71
+ ${e.map(e=>this.renderGridItem(e))}
72
+ </ul>
73
+ `}renderEmptyContainer(){return this.searchQuery.trim()?r.html`
74
+ <div class="folder-pane-container-empty-message" role="status">
75
+ <h2 class="folder-pane-container-empty-message-title">No resources match this search.</h2>
76
+ </div>
77
+ `:r.html`
78
+ <div class="folder-pane-container-empty-message" role="status">
79
+ <div class="folder-pane-container-empty-message-icon" aria-hidden="true">
80
+ <icon-lucide-file-box></icon-lucide-file-box>
81
+ </div>
82
+ <h2 class="folder-pane-container-empty-message-title">This folder is empty</h2>
83
+ <p class="folder-pane-container-empty-message-body">Resources added to this folder will appear here.</p>
84
+ </div>
85
+ `}render(){let e=this.visibleResources;return r.html`
86
+ <div class="folder-pane-container-content">
87
+ ${this.loadError?r.html`<div class="folder-pane-container-error" role="alert">${this.loadError}</div>`:r.nothing}
88
+ ${this.loading?r.html`<div class="folder-pane-container-loading" role="status">Loading resources…</div>`:e.length>0?this.view===`grid`?this.renderGridView(e):this.renderListView(e):this.renderEmptyContainer()}
89
+ </div>
90
+ `}},{e:[w,E,O,A,M,P,te,I,R,B,H,W,K,b],c:[$,x]}=ie(o,[[C,1,`subject`],[T,1,`resourceLogic`],[D,1,`browserContext`],[k,1,`view`],[j,1,`searchQuery`],[N,1,`hideRootSpecialFolders`],[ee,1,`resourceActionMenuItems`],[F,1,`resources`],[L,1,`optimisticResources`],[z,1,`resourceAccess`],[V,1,`memberLoad`],[U,1,`loading`],[G,1,`loadError`]],S,0,void 0,n.WebComponent),o),a=class extends le{constructor(){super($),Q(this,`styles`,t.default),x()}},Q(a,q,void 0),a),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return $}});
91
+ //# sourceMappingURL=FolderPaneContainer.cjs.js.map