folder-pane 4.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 +8 -5
  176. package/dist/_virtual/_rolldown/runtime.cjs.js +0 -1
@@ -0,0 +1,2 @@
1
+ var e=require("lit").css`:host{box-sizing:border-box;flex-direction:column;flex:auto;width:100%;height:100%;min-height:0;display:flex;overflow:hidden}:host .folder-pane-container-content{scrollbar-width:thin;scrollbar-color:transparent transparent;flex-direction:column;flex:auto;width:100%;min-height:0;display:flex;overflow:hidden auto}:host .folder-pane-container-loading{min-height:8rem;color:var(--solid-ui-color-gray-500,#6a7282);font-size:var(--solid-ui-font-size-sm,.875rem);flex:auto;justify-content:center;align-items:center;display:flex}:host .folder-pane-container-content::-webkit-scrollbar{width:6px}:host .folder-pane-container-content::-webkit-scrollbar-track{background:0 0}:host .folder-pane-container-content::-webkit-scrollbar-thumb{background:0 0;border-radius:999px}:host .folder-pane-container-content:hover{scrollbar-color:var(--solid-ui-color-gray-300,#d1d5dc) transparent}:host .folder-pane-container-content:hover::-webkit-scrollbar-thumb{background:var(--solid-ui-color-gray-300,#d1d5dc)}:host .resource-list{box-sizing:border-box;flex-direction:column;flex:auto;width:100%;min-height:0;margin:0;padding:20px;list-style:none;display:flex}:host .resource-grid{box-sizing:border-box;flex-wrap:wrap;flex:auto;align-content:flex-start;align-items:flex-start;gap:20px;width:100%;min-height:0;margin:0;padding:20px;list-style:none;display:flex;overflow:visible}:host .resource-grid-item{border:1px solid var(--solid-ui-color-gray-200,#cbd5e1);background:var(--solid-ui-color-white,#fff);cursor:pointer;border-radius:5px;flex-direction:column;flex:none;width:206px;max-width:100%;height:145.824px;display:flex;position:relative;overflow:hidden}:host .resource-actions-menu{flex:none;justify-content:flex-end;align-items:center;display:flex}:host .resource-actions-menu--grid{position:absolute;top:10px;right:10px}:host .resource-actions-menu--list{margin-left:auto}:host .resource-grid-icon{flex:none;justify-content:center;align-items:center;width:80px;height:80px;margin:12px auto 0;display:flex}:host .resource-grid-icon icon-lucide-file{width:64px;height:64px}:host .resource-grid-icon--container{justify-content:flex-start;width:37.282px;height:37.282px;margin:12px 0 0 12px;padding:0 9.32px}:host .resource-grid-label{color:var(--solid-ui-color-gray-500,#6a7282);font-size:var(--solid-ui-font-size-xs,.75rem);text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:500;overflow:hidden}:host .resource-grid-label--container{color:var(--solid-ui-color-gray-700,#364153);font-size:var(--solid-ui-font-size-md,1rem);padding:0 12px}:host .resource-grid-item-footer{border-top:1px solid var(--solid-ui-color-gray-200,#cbd5e1);flex:0 0 40px;justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding:0 15px;display:flex}:host .resource-list-header{color:var(--solid-ui-color-gray-600,#4a5565);font-size:var(--solid-ui-font-size-sm,.875rem);border-bottom:1px solid var(--solid-ui-color-gray-200,#e5e7eb);background:var(--white,#fff);justify-content:space-between;align-self:stretch;align-items:center;padding:14px 12px;font-weight:500;list-style:none;display:flex}:host .resource-list-item{border-bottom:1px solid var(--solid-ui-color-gray-200,#e5e7eb);background:var(--white,#fff);cursor:pointer;align-self:stretch;align-items:center;gap:10px;padding:14px 12px;display:flex}:host .resource-list-item:hover,:host .resource-grid-item:hover{background:var(--solid-ui-color-gray-50,#f9fafb)}:host .resource-list-item:focus-visible,:host .resource-grid-item:focus-visible{outline:2px solid var(--solid-ui-color-primary,#7c4dff);outline-offset:-2px}:host .resource-list-main{flex:auto;align-items:center;gap:10px;min-width:0;display:flex}:host .resource-list-label{color:var(--solid-ui-color-gray-700,#364153);font-size:var(--solid-ui-font-size-md,1rem);text-overflow:ellipsis;white-space:nowrap;flex:0 auto;min-width:0;font-weight:500;overflow:hidden}:host .resource-list-icon{flex:none;justify-content:center;align-items:center;display:flex}:host .container-member-count{color:var(--solid-ui-color-gray-500,#6a7282);font-size:var(--solid-ui-font-size-xs,.75rem);white-space:nowrap;font-weight:500}:host icon-lucide-folder,:host icon-lucide-file,:host icon-lucide-globe,:host icon-lucide-lock-keyhole{width:15px;height:15px;color:var(--solid-ui-color-gray-500,#6a7282);fill:#e0e7ff80;stroke:var(--solid-ui-color-gray-500,#6a7282);stroke-width:1.25px;flex-shrink:0}:host .resource-access-indicator{width:15px;height:15px;color:var(--solid-ui-color-gray-500,#6a7282);flex:none}:host .resource-access-indicator--public{color:var(--blue-600,#2563eb);stroke:var(--blue-600,#2563eb)}:host .resource-access-indicator--private{color:var(--yellow-700,#a16207);stroke:var(--yellow-700,#a16207)}:host .folder-pane-container-empty-message{text-align:center;min-height:100%;color:var(--solid-ui-color-gray-700,#364153);flex-direction:column;flex:auto;justify-content:center;align-items:center;gap:20px;display:flex}:host .folder-pane-container-empty-message-icon{border:1px solid var(--solid-ui-color-slate-200,#e2e8f0);background:var(--solid-ui-color-white,#fff);border-radius:16px;justify-content:center;align-items:center;width:64px;height:64px;padding:0 16.785px;display:flex}:host .folder-pane-container-empty-message-icon icon-lucide-file-box{width:32px;height:32px;color:var(--solid-ui-color-gray-300,#d1d5dc);stroke-width:2px}:host .folder-pane-container-empty-message-title{color:var(--solid-ui-color-gray-900,#030712);margin:0;font-size:1.25rem;font-weight:700;line-height:1.2}:host .folder-pane-container-empty-message-body{max-width:24rem;color:var(--solid-ui-color-gray-600,#4a5565);font-size:var(--solid-ui-font-size-sm,.875rem);margin:0;line-height:21.125px}`;exports.default=e;
2
+ //# sourceMappingURL=FolderPaneContainer.styles.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FolderPaneContainer.styles.cjs.js","names":["FolderPaneContainer_styles_default"],"sources":["../../../src/components/folder-pane-container/FolderPaneContainer.styles.css"],"sourcesContent":[":host {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n min-height: 0;\n box-sizing: border-box;\n overflow: hidden;\n flex: 1 1 auto;\n\n .folder-pane-container-content {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n min-height: 0;\n width: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n scrollbar-width: thin;\n scrollbar-color: transparent transparent;\n }\n\n .folder-pane-container-loading {\n display: flex;\n flex: 1 1 auto;\n align-items: center;\n justify-content: center;\n min-height: 8rem;\n color: var(--solid-ui-color-gray-500, #6a7282);\n font-size: var(--solid-ui-font-size-sm, 0.875rem);\n }\n\n .folder-pane-container-content::-webkit-scrollbar {\n width: 6px;\n }\n\n .folder-pane-container-content::-webkit-scrollbar-track {\n background: transparent;\n }\n\n .folder-pane-container-content::-webkit-scrollbar-thumb {\n background: transparent;\n border-radius: 999px;\n }\n\n .folder-pane-container-content:hover {\n scrollbar-color: var(--solid-ui-color-gray-300, #d1d5dc) transparent;\n }\n\n .folder-pane-container-content:hover::-webkit-scrollbar-thumb {\n background: var(--solid-ui-color-gray-300, #d1d5dc);\n }\n\n .resource-list {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n width: 100%;\n min-height: 0;\n box-sizing: border-box;\n margin: 0;\n padding: 20px;\n list-style: none;\n }\n\n .resource-grid {\n display: flex;\n flex-wrap: wrap;\n flex: 1 1 auto;\n align-content: flex-start;\n align-items: flex-start;\n gap: 20px;\n width: 100%;\n min-height: 0;\n box-sizing: border-box;\n margin: 0;\n padding: 20px;\n list-style: none;\n overflow: visible;\n }\n\n .resource-grid-item {\n position: relative;\n display: flex;\n flex-direction: column;\n flex: 0 0 auto;\n width: 206px;\n max-width: 100%;\n height: 145.824px;\n border-radius: 5px;\n border: 1px solid var(--solid-ui-color-gray-200, #cbd5e1);\n background: var(--solid-ui-color-white, #ffffff);\n cursor: pointer;\n overflow: hidden;\n }\n\n .resource-actions-menu {\n display: flex;\n flex: 0 0 auto;\n align-items: center;\n justify-content: flex-end;\n }\n\n .resource-actions-menu--grid {\n position: absolute;\n top: 10px;\n right: 10px;\n }\n\n .resource-actions-menu--list {\n margin-left: auto;\n }\n\n .resource-grid-icon {\n display: flex;\n width: 80px;\n height: 80px;\n justify-content: center;\n align-items: center;\n margin: 12px auto 0;\n flex: 0 0 auto;\n }\n\n .resource-grid-icon icon-lucide-file {\n width: 64px;\n height: 64px;\n }\n\n .resource-grid-icon--container {\n width: 37.282px;\n height: 37.282px;\n padding: 0 9.32px;\n margin: 12px 0 0 12px;\n justify-content: flex-start;\n }\n\n .resource-grid-label {\n color: var(--solid-ui-color-gray-500, #6a7282);\n font-size: var(--solid-ui-font-size-xs, 0.75rem);\n font-weight: 500;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .resource-grid-label--container {\n color: var(--solid-ui-color-gray-700, #364153);\n font-size: var(--solid-ui-font-size-md, 1rem);\n padding: 0 12px;\n }\n\n .resource-grid-item-footer {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex: 0 0 40px;\n margin-top: auto;\n padding: 0 15px;\n border-top: 1px solid var(--solid-ui-color-gray-200, #cbd5e1);\n gap: 12px;\n }\n\n .resource-list-header {\n display: flex;\n padding: 14px 12px;\n align-items: center;\n justify-content: space-between;\n align-self: stretch;\n color: var(--solid-ui-color-gray-600, #4a5565);\n font-size: var(--solid-ui-font-size-sm, .875rem);\n font-weight: 500;\n list-style: none;\n border-bottom: 1px solid var(--solid-ui-color-gray-200, #E5E7EB);\n background: var(--white, #FFF);\n }\n\n .resource-list-item {\n display: flex;\n padding: 14px 12px;\n align-items: center;\n gap: 10px;\n align-self: stretch;\n border-bottom: 1px solid var(--solid-ui-color-gray-200, #E5E7EB);\n background: var(--white, #FFF);\n cursor: pointer;\n }\n\n .resource-list-item:hover,\n .resource-grid-item:hover {\n background: var(--solid-ui-color-gray-50, #f9fafb);\n }\n\n .resource-list-item:focus-visible,\n .resource-grid-item:focus-visible {\n outline: 2px solid var(--solid-ui-color-primary, #7c4dff);\n outline-offset: -2px;\n }\n\n .resource-list-main {\n display: flex;\n align-items: center;\n gap: 10px;\n min-width: 0;\n flex: 1 1 auto;\n }\n\n .resource-list-label {\n color: var(--solid-ui-color-gray-700, #364153);\n font-size: var(--solid-ui-font-size-md, 1rem);\n font-weight: 500;\n min-width: 0;\n flex: 0 1 auto;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .resource-list-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n flex: 0 0 auto;\n }\n\n .container-member-count {\n color: var(--solid-ui-color-gray-500, #6a7282);\n font-size: var(--solid-ui-font-size-xs, .75rem);\n font-weight: 500;\n white-space: nowrap;\n }\n\n icon-lucide-folder,\n icon-lucide-file,\n icon-lucide-globe,\n icon-lucide-lock-keyhole {\n width: 15px;\n height: 15px;\n flex-shrink: 0;\n color: var(--solid-ui-color-gray-500, #6a7282);\n fill: rgba(224, 231, 255, 0.50);\n stroke: var(--solid-ui-color-gray-500, #6a7282);\n stroke-width: 1.25px;\n }\n\n .resource-access-indicator {\n width: 15px;\n height: 15px;\n flex: 0 0 auto;\n color: var(--solid-ui-color-gray-500, #6a7282);\n }\n\n /*\n * WCAG 1.4.11 Non-text Contrast: these icons are the only visual indicator\n * of a resource's public/private access state, so they need >= 3:1 contrast\n * against the white item background. --blue-400/--yellow-600 (as used\n * elsewhere against tinted pill backgrounds) only reach ~2.6:1/~2.9:1 here;\n * --blue-600/--yellow-700 keep the same hue family at ~5.2:1/~4.9:1.\n */\n .resource-access-indicator--public {\n color: var(--blue-600, #2563eb);\n stroke: var(--blue-600, #2563eb);\n }\n\n .resource-access-indicator--private {\n color: var(--yellow-700, #a16207);\n stroke: var(--yellow-700, #a16207);\n }\n\n .folder-pane-container-empty-message {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 20px;\n min-height: 100%;\n text-align: center;\n color: var(--solid-ui-color-gray-700, #364153);\n }\n\n .folder-pane-container-empty-message-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 64px;\n height: 64px;\n padding: 0 16.785px;\n border-radius: 16px;\n border: 1px solid var(--solid-ui-color-slate-200, #e2e8f0);\n background: var(--solid-ui-color-white, #ffffff);\n }\n\n .folder-pane-container-empty-message-icon icon-lucide-file-box {\n width: 32px;\n height: 32px;\n color: var(--solid-ui-color-gray-300, #d1d5dc);\n stroke-width: 2px;\n }\n\n .folder-pane-container-empty-message-title {\n margin: 0;\n color: var(--solid-ui-color-gray-900, #030712);\n font-size: 1.25rem;\n font-weight: 700;\n line-height: 1.2;\n }\n\n .folder-pane-container-empty-message-body {\n max-width: 24rem;\n margin: 0;\n color: var(--solid-ui-color-gray-600, #4a5565);\n font-size: var(--solid-ui-font-size-sm, .875rem);\n line-height: 21.125px;\n }\n}\n"],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { css as e } from "lit";
2
+ // src/components/folder-pane-container/FolderPaneContainer.styles.css
3
+ var t = e`:host{box-sizing:border-box;flex-direction:column;flex:auto;width:100%;height:100%;min-height:0;display:flex;overflow:hidden}:host .folder-pane-container-content{scrollbar-width:thin;scrollbar-color:transparent transparent;flex-direction:column;flex:auto;width:100%;min-height:0;display:flex;overflow:hidden auto}:host .folder-pane-container-loading{min-height:8rem;color:var(--solid-ui-color-gray-500,#6a7282);font-size:var(--solid-ui-font-size-sm,.875rem);flex:auto;justify-content:center;align-items:center;display:flex}:host .folder-pane-container-content::-webkit-scrollbar{width:6px}:host .folder-pane-container-content::-webkit-scrollbar-track{background:0 0}:host .folder-pane-container-content::-webkit-scrollbar-thumb{background:0 0;border-radius:999px}:host .folder-pane-container-content:hover{scrollbar-color:var(--solid-ui-color-gray-300,#d1d5dc) transparent}:host .folder-pane-container-content:hover::-webkit-scrollbar-thumb{background:var(--solid-ui-color-gray-300,#d1d5dc)}:host .resource-list{box-sizing:border-box;flex-direction:column;flex:auto;width:100%;min-height:0;margin:0;padding:20px;list-style:none;display:flex}:host .resource-grid{box-sizing:border-box;flex-wrap:wrap;flex:auto;align-content:flex-start;align-items:flex-start;gap:20px;width:100%;min-height:0;margin:0;padding:20px;list-style:none;display:flex;overflow:visible}:host .resource-grid-item{border:1px solid var(--solid-ui-color-gray-200,#cbd5e1);background:var(--solid-ui-color-white,#fff);cursor:pointer;border-radius:5px;flex-direction:column;flex:none;width:206px;max-width:100%;height:145.824px;display:flex;position:relative;overflow:hidden}:host .resource-actions-menu{flex:none;justify-content:flex-end;align-items:center;display:flex}:host .resource-actions-menu--grid{position:absolute;top:10px;right:10px}:host .resource-actions-menu--list{margin-left:auto}:host .resource-grid-icon{flex:none;justify-content:center;align-items:center;width:80px;height:80px;margin:12px auto 0;display:flex}:host .resource-grid-icon icon-lucide-file{width:64px;height:64px}:host .resource-grid-icon--container{justify-content:flex-start;width:37.282px;height:37.282px;margin:12px 0 0 12px;padding:0 9.32px}:host .resource-grid-label{color:var(--solid-ui-color-gray-500,#6a7282);font-size:var(--solid-ui-font-size-xs,.75rem);text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:500;overflow:hidden}:host .resource-grid-label--container{color:var(--solid-ui-color-gray-700,#364153);font-size:var(--solid-ui-font-size-md,1rem);padding:0 12px}:host .resource-grid-item-footer{border-top:1px solid var(--solid-ui-color-gray-200,#cbd5e1);flex:0 0 40px;justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding:0 15px;display:flex}:host .resource-list-header{color:var(--solid-ui-color-gray-600,#4a5565);font-size:var(--solid-ui-font-size-sm,.875rem);border-bottom:1px solid var(--solid-ui-color-gray-200,#e5e7eb);background:var(--white,#fff);justify-content:space-between;align-self:stretch;align-items:center;padding:14px 12px;font-weight:500;list-style:none;display:flex}:host .resource-list-item{border-bottom:1px solid var(--solid-ui-color-gray-200,#e5e7eb);background:var(--white,#fff);cursor:pointer;align-self:stretch;align-items:center;gap:10px;padding:14px 12px;display:flex}:host .resource-list-item:hover,:host .resource-grid-item:hover{background:var(--solid-ui-color-gray-50,#f9fafb)}:host .resource-list-item:focus-visible,:host .resource-grid-item:focus-visible{outline:2px solid var(--solid-ui-color-primary,#7c4dff);outline-offset:-2px}:host .resource-list-main{flex:auto;align-items:center;gap:10px;min-width:0;display:flex}:host .resource-list-label{color:var(--solid-ui-color-gray-700,#364153);font-size:var(--solid-ui-font-size-md,1rem);text-overflow:ellipsis;white-space:nowrap;flex:0 auto;min-width:0;font-weight:500;overflow:hidden}:host .resource-list-icon{flex:none;justify-content:center;align-items:center;display:flex}:host .container-member-count{color:var(--solid-ui-color-gray-500,#6a7282);font-size:var(--solid-ui-font-size-xs,.75rem);white-space:nowrap;font-weight:500}:host icon-lucide-folder,:host icon-lucide-file,:host icon-lucide-globe,:host icon-lucide-lock-keyhole{width:15px;height:15px;color:var(--solid-ui-color-gray-500,#6a7282);fill:#e0e7ff80;stroke:var(--solid-ui-color-gray-500,#6a7282);stroke-width:1.25px;flex-shrink:0}:host .resource-access-indicator{width:15px;height:15px;color:var(--solid-ui-color-gray-500,#6a7282);flex:none}:host .resource-access-indicator--public{color:var(--blue-600,#2563eb);stroke:var(--blue-600,#2563eb)}:host .resource-access-indicator--private{color:var(--yellow-700,#a16207);stroke:var(--yellow-700,#a16207)}:host .folder-pane-container-empty-message{text-align:center;min-height:100%;color:var(--solid-ui-color-gray-700,#364153);flex-direction:column;flex:auto;justify-content:center;align-items:center;gap:20px;display:flex}:host .folder-pane-container-empty-message-icon{border:1px solid var(--solid-ui-color-slate-200,#e2e8f0);background:var(--solid-ui-color-white,#fff);border-radius:16px;justify-content:center;align-items:center;width:64px;height:64px;padding:0 16.785px;display:flex}:host .folder-pane-container-empty-message-icon icon-lucide-file-box{width:32px;height:32px;color:var(--solid-ui-color-gray-300,#d1d5dc);stroke-width:2px}:host .folder-pane-container-empty-message-title{color:var(--solid-ui-color-gray-900,#030712);margin:0;font-size:1.25rem;font-weight:700;line-height:1.2}:host .folder-pane-container-empty-message-body{max-width:24rem;color:var(--solid-ui-color-gray-600,#4a5565);font-size:var(--solid-ui-font-size-sm,.875rem);margin:0;line-height:21.125px}`;
4
+ export { t as default };
5
+
6
+ //# sourceMappingURL=FolderPaneContainer.styles.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FolderPaneContainer.styles.esm.js","names":["FolderPaneContainer_styles_default"],"sources":["../../../src/components/folder-pane-container/FolderPaneContainer.styles.css"],"sourcesContent":[":host {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n min-height: 0;\n box-sizing: border-box;\n overflow: hidden;\n flex: 1 1 auto;\n\n .folder-pane-container-content {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n min-height: 0;\n width: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n scrollbar-width: thin;\n scrollbar-color: transparent transparent;\n }\n\n .folder-pane-container-loading {\n display: flex;\n flex: 1 1 auto;\n align-items: center;\n justify-content: center;\n min-height: 8rem;\n color: var(--solid-ui-color-gray-500, #6a7282);\n font-size: var(--solid-ui-font-size-sm, 0.875rem);\n }\n\n .folder-pane-container-content::-webkit-scrollbar {\n width: 6px;\n }\n\n .folder-pane-container-content::-webkit-scrollbar-track {\n background: transparent;\n }\n\n .folder-pane-container-content::-webkit-scrollbar-thumb {\n background: transparent;\n border-radius: 999px;\n }\n\n .folder-pane-container-content:hover {\n scrollbar-color: var(--solid-ui-color-gray-300, #d1d5dc) transparent;\n }\n\n .folder-pane-container-content:hover::-webkit-scrollbar-thumb {\n background: var(--solid-ui-color-gray-300, #d1d5dc);\n }\n\n .resource-list {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n width: 100%;\n min-height: 0;\n box-sizing: border-box;\n margin: 0;\n padding: 20px;\n list-style: none;\n }\n\n .resource-grid {\n display: flex;\n flex-wrap: wrap;\n flex: 1 1 auto;\n align-content: flex-start;\n align-items: flex-start;\n gap: 20px;\n width: 100%;\n min-height: 0;\n box-sizing: border-box;\n margin: 0;\n padding: 20px;\n list-style: none;\n overflow: visible;\n }\n\n .resource-grid-item {\n position: relative;\n display: flex;\n flex-direction: column;\n flex: 0 0 auto;\n width: 206px;\n max-width: 100%;\n height: 145.824px;\n border-radius: 5px;\n border: 1px solid var(--solid-ui-color-gray-200, #cbd5e1);\n background: var(--solid-ui-color-white, #ffffff);\n cursor: pointer;\n overflow: hidden;\n }\n\n .resource-actions-menu {\n display: flex;\n flex: 0 0 auto;\n align-items: center;\n justify-content: flex-end;\n }\n\n .resource-actions-menu--grid {\n position: absolute;\n top: 10px;\n right: 10px;\n }\n\n .resource-actions-menu--list {\n margin-left: auto;\n }\n\n .resource-grid-icon {\n display: flex;\n width: 80px;\n height: 80px;\n justify-content: center;\n align-items: center;\n margin: 12px auto 0;\n flex: 0 0 auto;\n }\n\n .resource-grid-icon icon-lucide-file {\n width: 64px;\n height: 64px;\n }\n\n .resource-grid-icon--container {\n width: 37.282px;\n height: 37.282px;\n padding: 0 9.32px;\n margin: 12px 0 0 12px;\n justify-content: flex-start;\n }\n\n .resource-grid-label {\n color: var(--solid-ui-color-gray-500, #6a7282);\n font-size: var(--solid-ui-font-size-xs, 0.75rem);\n font-weight: 500;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .resource-grid-label--container {\n color: var(--solid-ui-color-gray-700, #364153);\n font-size: var(--solid-ui-font-size-md, 1rem);\n padding: 0 12px;\n }\n\n .resource-grid-item-footer {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex: 0 0 40px;\n margin-top: auto;\n padding: 0 15px;\n border-top: 1px solid var(--solid-ui-color-gray-200, #cbd5e1);\n gap: 12px;\n }\n\n .resource-list-header {\n display: flex;\n padding: 14px 12px;\n align-items: center;\n justify-content: space-between;\n align-self: stretch;\n color: var(--solid-ui-color-gray-600, #4a5565);\n font-size: var(--solid-ui-font-size-sm, .875rem);\n font-weight: 500;\n list-style: none;\n border-bottom: 1px solid var(--solid-ui-color-gray-200, #E5E7EB);\n background: var(--white, #FFF);\n }\n\n .resource-list-item {\n display: flex;\n padding: 14px 12px;\n align-items: center;\n gap: 10px;\n align-self: stretch;\n border-bottom: 1px solid var(--solid-ui-color-gray-200, #E5E7EB);\n background: var(--white, #FFF);\n cursor: pointer;\n }\n\n .resource-list-item:hover,\n .resource-grid-item:hover {\n background: var(--solid-ui-color-gray-50, #f9fafb);\n }\n\n .resource-list-item:focus-visible,\n .resource-grid-item:focus-visible {\n outline: 2px solid var(--solid-ui-color-primary, #7c4dff);\n outline-offset: -2px;\n }\n\n .resource-list-main {\n display: flex;\n align-items: center;\n gap: 10px;\n min-width: 0;\n flex: 1 1 auto;\n }\n\n .resource-list-label {\n color: var(--solid-ui-color-gray-700, #364153);\n font-size: var(--solid-ui-font-size-md, 1rem);\n font-weight: 500;\n min-width: 0;\n flex: 0 1 auto;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .resource-list-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n flex: 0 0 auto;\n }\n\n .container-member-count {\n color: var(--solid-ui-color-gray-500, #6a7282);\n font-size: var(--solid-ui-font-size-xs, .75rem);\n font-weight: 500;\n white-space: nowrap;\n }\n\n icon-lucide-folder,\n icon-lucide-file,\n icon-lucide-globe,\n icon-lucide-lock-keyhole {\n width: 15px;\n height: 15px;\n flex-shrink: 0;\n color: var(--solid-ui-color-gray-500, #6a7282);\n fill: rgba(224, 231, 255, 0.50);\n stroke: var(--solid-ui-color-gray-500, #6a7282);\n stroke-width: 1.25px;\n }\n\n .resource-access-indicator {\n width: 15px;\n height: 15px;\n flex: 0 0 auto;\n color: var(--solid-ui-color-gray-500, #6a7282);\n }\n\n /*\n * WCAG 1.4.11 Non-text Contrast: these icons are the only visual indicator\n * of a resource's public/private access state, so they need >= 3:1 contrast\n * against the white item background. --blue-400/--yellow-600 (as used\n * elsewhere against tinted pill backgrounds) only reach ~2.6:1/~2.9:1 here;\n * --blue-600/--yellow-700 keep the same hue family at ~5.2:1/~4.9:1.\n */\n .resource-access-indicator--public {\n color: var(--blue-600, #2563eb);\n stroke: var(--blue-600, #2563eb);\n }\n\n .resource-access-indicator--private {\n color: var(--yellow-700, #a16207);\n stroke: var(--yellow-700, #a16207);\n }\n\n .folder-pane-container-empty-message {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 20px;\n min-height: 100%;\n text-align: center;\n color: var(--solid-ui-color-gray-700, #364153);\n }\n\n .folder-pane-container-empty-message-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 64px;\n height: 64px;\n padding: 0 16.785px;\n border-radius: 16px;\n border: 1px solid var(--solid-ui-color-slate-200, #e2e8f0);\n background: var(--solid-ui-color-white, #ffffff);\n }\n\n .folder-pane-container-empty-message-icon icon-lucide-file-box {\n width: 32px;\n height: 32px;\n color: var(--solid-ui-color-gray-300, #d1d5dc);\n stroke-width: 2px;\n }\n\n .folder-pane-container-empty-message-title {\n margin: 0;\n color: var(--solid-ui-color-gray-900, #030712);\n font-size: 1.25rem;\n font-weight: 700;\n line-height: 1.2;\n }\n\n .folder-pane-container-empty-message-body {\n max-width: 24rem;\n margin: 0;\n color: var(--solid-ui-color-gray-600, #4a5565);\n font-size: var(--solid-ui-font-size-sm, .875rem);\n line-height: 21.125px;\n }\n}\n"],"mappings":""}
@@ -0,0 +1 @@
1
+ require("./FolderPaneContainer.cjs.js");
@@ -0,0 +1,2 @@
1
+ export { default as FolderPaneContainer } from './FolderPaneContainer';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/folder-pane-container/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAA"}
@@ -0,0 +1 @@
1
+ import "./FolderPaneContainer.esm.js";
@@ -0,0 +1,4 @@
1
+ const e=require("./FolderPaneContent.styles.cjs.js");let t=require("solid-ui"),n=require("lit");var r,i,a,o,s;function c(e,t,n){return(t=u(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(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,p,m,h){function g(e){if(!h(e))throw TypeError(`Attempted to access private element on non-instance`)}var _,v=t[0],y=t[3],b=!l;if(!b){n||Array.isArray(v)||(v=[v]);var x={},S=[],C=i===3?`get`:i===4||m?`set`:`value`;d?(p||m?x={get:f(function(){return y(this)},r,`get`),set:function(e){t[4](this,e)}}:x[C]=y,p||f(x[C],r,i===2?``:C)):p||(x=Object.getOwnPropertyDescriptor(e,r))}for(var w=e,T=v.length-1;T>=0;T-=n?2:1){var E=v[T],D=n?v[T-1]:void 0,O={},k={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,O)};try{if(b)(_=c(E.call(D,w,k),`class decorators`,`return`))&&(w=_);else{var A,j;k.static=u,k.private=d,d?i===2?A=function(e){return g(e),x.value}:(i<4&&(A=o(x,`get`,g)),i!==3&&(j=o(x,`set`,g))):(A=function(e){return e[r]},(i<2||i===4)&&(j=function(e,t){e[r]=t}));var M=k.access={has:d?h.bind():function(e){return r in e}};if(A&&(M.get=A),j&&(M.set=j),w=E.call(D,m?{get:x.get,set:x.set}:x[C],k),m){if(typeof w==`object`&&w)(_=c(w.get,`accessor.get`))&&(x.get=_),(_=c(w.set,`accessor.set`))&&(x.set=_),(_=c(w.init,`accessor.init`))&&S.push(_);else if(w!==void 0)throw TypeError(`accessor decorators must return an object with get, set, or init properties or void 0`)}else c(w,(p?`field`:`method`)+` decorators`,`return`)&&(p?S.push(w):x[C]=w)}}finally{O.v=!0}}return(p||m)&&l.push(function(e,t){for(var n=S.length-1;n>=0;n--)t=S[n].call(e,t);return t}),p||b||(d?m?l.push(o(x,`get`),o(x,`set`)):l.push(i===2?x[C]:o.call.bind(x[C])):Object.defineProperty(e,r,x)),w}function d(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for(`Symbol.metadata`),{configurable:!0,enumerable:!0,value:t})}if(arguments.length>=6)var m=a[Symbol.metadata||Symbol.for(`Symbol.metadata`)];var h=Object.create(m??null),g=function(e,t,n,r){var i,a,o=[],c=function(t){return p(t)===e},d=new Map;function f(e){e&&o.push(s.bind(null,e))}for(var m=0;m<t.length;m++){var h=t[m];if(Array.isArray(h)){var g=h[1],_=h[2],v=h.length>3,y=16&g,b=!!(8&g),x=(g&=7)==0,S=_+`/`+b;if(!x&&!v){var C=d.get(S);if(!0===C||C===3&&g!==4||C===4&&g!==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: `+_);d.set(S,!(g>2)||g)}l(b?e:e.prototype,h,y,v?`#`+_:u(_),g,r,b?a||=[]:i||=[],o,b,v,x,g===1,b&&v?c:n)}}return f(i),f(a),o}(e,t,i,h);return n.length||d(e,h),{e:g,get c(){var t=[];return n.length&&[d(l(e,[n],r,e.name,5,h,t),h),s.bind(null,t,e)]}}}function u(e){var t=d(e,`string`);return typeof t==`symbol`?t:t+``}function d(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 f(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 p(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 m(e){return e}o=[(0,t.customElement)(`folder-pane-content`)];var h;new(s=(i=class extends t.WebComponent{render(){return n.html`
2
+ <slot></slot>
3
+ `}},[h,a]=l(i,[],o,0,void 0,t.WebComponent).c,i),r=class extends m{constructor(){super(h),c(this,`styles`,e.default),a()}},c(r,s,void 0),r),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return h}});
4
+ //# sourceMappingURL=FolderPaneContent.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FolderPaneContent.cjs.js","names":["customElement","WebComponent","html","styles","_classDecs","_FolderPaneContent","_FolderPaneContent2","_FolderPaneContent3","FolderPaneContent","render","_initClass","_applyDecs","c","_Class","_identity","constructor","_defineProperty","default","customElement","WebComponent","styles","require_FolderPaneContent_styles","solid_ui","lit","_Class","_FolderPaneContent3","_initClass","_classDecs","_FolderPaneContent2","_defineProperty","_toPropertyKey","r","t","_applyDecs","i","n","o","c","s","applyDec","m","y","g","u","w","A","d","f","_setFunctionName","P","j","D","E","I","O","k","F","l","N","p","_checkInRHS","h","v","b","_toPrimitive","e","_identity","_FolderPaneContent"],"sources":["../../../src/components/folder-pane-content/FolderPaneContent.ts"],"sourcesContent":["import { customElement, WebComponent } from 'solid-ui'\nimport { html } from 'lit'\nimport styles from './FolderPaneContent.styles.css'\n\n@customElement('folder-pane-content')\nexport default class FolderPaneContent extends WebComponent {\n static styles = styles\n\n render () {\n return html`\n <slot></slot>\n `\n }\n}\n"],"mappings":"A,6zHAEmDI,EAAA,EAAA,EAElDJ,EAAAA,cAAAA,CAAc,qBAAqB,CAAC,EAAA,IAAAK,EAAA,IAAAC,GAAAC,EAArC,cAC+CN,EAAAA,YAAa,CAG1DQ,QAAU,CACR,MAAOP,GAAAA,IAAI;;KAGb,CACF,EAAC,CAAAG,EAAAK,GAAAC,EAAAJ,EAAA,CAAA,EAAAH,EAAA,EAAA,IAAA,GAR8CH,EAAAA,YAAY,CAAA,CAAAW,EAAAL,GAAAM,EAAA,cAAAC,CAAA,CAAAC,aAAA,CAAA,MAAAV,CAAA,EAAAW,EAAA,KAAA,SACzCb,EAAAA,OAAM,EAAAO,EAAA,CAAA,CAAA,EAAAM,EAAAH,EAAAP,EAAA,IAAA,EAAA,EAAAO,G"}
@@ -0,0 +1,6 @@
1
+ import { WebComponent } from 'solid-ui';
2
+ export default class FolderPaneContent extends WebComponent {
3
+ static styles: any;
4
+ render(): import('lit-html').TemplateResult<1>;
5
+ }
6
+ //# sourceMappingURL=FolderPaneContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FolderPaneContent.d.ts","sourceRoot":"","sources":["../../../src/components/folder-pane-content/FolderPaneContent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,YAAY,EAAE,MAAM,UAAU,CAAA;AAKtD,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,YAAY;IACzD,MAAM,CAAC,MAAM,MAAS;IAEtB,MAAM;CAKP"}
@@ -0,0 +1,176 @@
1
+ import e from "./FolderPaneContent.styles.esm.js";
2
+ import { WebComponent as t, customElement as n } from "solid-ui";
3
+ import { html as r } from "lit";
4
+ // src/components/folder-pane-content/FolderPaneContent.ts
5
+ var i, a, o, s, c;
6
+ function l(e, t, n) {
7
+ return (t = d(t)) in e ? Object.defineProperty(e, t, {
8
+ value: n,
9
+ enumerable: !0,
10
+ configurable: !0,
11
+ writable: !0
12
+ }) : e[t] = n, e;
13
+ }
14
+ function u(e, t, n, r, i, a) {
15
+ function o(e, t, n) {
16
+ return function(r, i) {
17
+ return n && n(r), e[t].call(r, i);
18
+ };
19
+ }
20
+ function s(e, t) {
21
+ for (var n = 0; n < e.length; n++) e[n].call(t);
22
+ return t;
23
+ }
24
+ function c(e, t, n, r) {
25
+ if (typeof e != "function" && (r || e !== void 0)) throw TypeError(t + " must " + (n || "be") + " a function" + (r ? "" : " or undefined"));
26
+ return e;
27
+ }
28
+ function l(e, t, n, r, i, a, s, l, u, d, f, m, h) {
29
+ function g(e) {
30
+ if (!h(e)) throw TypeError("Attempted to access private element on non-instance");
31
+ }
32
+ var _, v = t[0], y = t[3], b = !l;
33
+ if (!b) {
34
+ n || Array.isArray(v) || (v = [v]);
35
+ var x = {}, S = [], C = i === 3 ? "get" : i === 4 || m ? "set" : "value";
36
+ d ? (f || m ? x = {
37
+ get: p(function() {
38
+ return y(this);
39
+ }, r, "get"),
40
+ set: function(e) {
41
+ t[4](this, e);
42
+ }
43
+ } : x[C] = y, f || p(x[C], r, i === 2 ? "" : C)) : f || (x = Object.getOwnPropertyDescriptor(e, r));
44
+ }
45
+ for (var w = e, T = v.length - 1; T >= 0; T -= n ? 2 : 1) {
46
+ var E = v[T], D = n ? v[T - 1] : void 0, O = {}, k = {
47
+ kind: [
48
+ "field",
49
+ "accessor",
50
+ "method",
51
+ "getter",
52
+ "setter",
53
+ "class"
54
+ ][i],
55
+ name: r,
56
+ metadata: a,
57
+ addInitializer: function(e, t) {
58
+ if (e.v) throw Error("attempted to call addInitializer after decoration was finished");
59
+ c(t, "An initializer", "be", !0), s.push(t);
60
+ }.bind(null, O)
61
+ };
62
+ try {
63
+ if (b) (_ = c(E.call(D, w, k), "class decorators", "return")) && (w = _);
64
+ else {
65
+ var A, j;
66
+ k.static = u, k.private = d, d ? i === 2 ? A = function(e) {
67
+ return g(e), x.value;
68
+ } : (i < 4 && (A = o(x, "get", g)), i !== 3 && (j = o(x, "set", g))) : (A = function(e) {
69
+ return e[r];
70
+ }, (i < 2 || i === 4) && (j = function(e, t) {
71
+ e[r] = t;
72
+ }));
73
+ var M = k.access = { has: d ? h.bind() : function(e) {
74
+ return r in e;
75
+ } };
76
+ if (A && (M.get = A), j && (M.set = j), w = E.call(D, m ? {
77
+ get: x.get,
78
+ set: x.set
79
+ } : x[C], k), m) {
80
+ if (typeof w == "object" && w) (_ = c(w.get, "accessor.get")) && (x.get = _), (_ = c(w.set, "accessor.set")) && (x.set = _), (_ = c(w.init, "accessor.init")) && S.push(_);
81
+ else if (w !== void 0) throw TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
82
+ } else c(w, (f ? "field" : "method") + " decorators", "return") && (f ? S.push(w) : x[C] = w);
83
+ }
84
+ } finally {
85
+ O.v = !0;
86
+ }
87
+ }
88
+ return (f || m) && l.push(function(e, t) {
89
+ for (var n = S.length - 1; n >= 0; n--) t = S[n].call(e, t);
90
+ return t;
91
+ }), f || b || (d ? m ? l.push(o(x, "get"), o(x, "set")) : l.push(i === 2 ? x[C] : o.call.bind(x[C])) : Object.defineProperty(e, r, x)), w;
92
+ }
93
+ function u(e, t) {
94
+ return Object.defineProperty(e, Symbol.metadata || Symbol.for("Symbol.metadata"), {
95
+ configurable: !0,
96
+ enumerable: !0,
97
+ value: t
98
+ });
99
+ }
100
+ if (arguments.length >= 6) var f = a[Symbol.metadata || Symbol.for("Symbol.metadata")];
101
+ var h = Object.create(f ?? null), g = function(e, t, n, r) {
102
+ var i, a, o = [], c = function(t) {
103
+ return m(t) === e;
104
+ }, u = /* @__PURE__ */ new Map();
105
+ function f(e) {
106
+ e && o.push(s.bind(null, e));
107
+ }
108
+ for (var p = 0; p < t.length; p++) {
109
+ var h = t[p];
110
+ if (Array.isArray(h)) {
111
+ var g = h[1], _ = h[2], v = h.length > 3, y = 16 & g, b = !!(8 & g), x = (g &= 7) == 0, S = _ + "/" + b;
112
+ if (!x && !v) {
113
+ var C = u.get(S);
114
+ if (!0 === C || C === 3 && g !== 4 || C === 4 && g !== 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: " + _);
115
+ u.set(S, !(g > 2) || g);
116
+ }
117
+ l(b ? e : e.prototype, h, y, v ? "#" + _ : d(_), g, r, b ? a ||= [] : i ||= [], o, b, v, x, g === 1, b && v ? c : n);
118
+ }
119
+ }
120
+ return f(i), f(a), o;
121
+ }(e, t, i, h);
122
+ return n.length || u(e, h), {
123
+ e: g,
124
+ get c() {
125
+ var t = [];
126
+ return n.length && [u(l(e, [n], r, e.name, 5, h, t), h), s.bind(null, t, e)];
127
+ }
128
+ };
129
+ }
130
+ function d(e) {
131
+ var t = f(e, "string");
132
+ return typeof t == "symbol" ? t : t + "";
133
+ }
134
+ function f(e, t) {
135
+ if (typeof e != "object" || !e) return e;
136
+ var n;
137
+ if (typeof Symbol < "u" && (n = e[Symbol.toPrimitive]) !== void 0) {
138
+ var r = n.call(e, t || "default");
139
+ if (typeof r != "object") return r;
140
+ throw TypeError("@@toPrimitive must return a primitive value.");
141
+ }
142
+ return (t === "string" ? String : Number)(e);
143
+ }
144
+ function p(e, t, n) {
145
+ typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
146
+ try {
147
+ Object.defineProperty(e, "name", {
148
+ configurable: !0,
149
+ value: n ? n + " " + t : t
150
+ });
151
+ } catch {}
152
+ return e;
153
+ }
154
+ function m(e) {
155
+ if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
156
+ return e;
157
+ }
158
+ function h(e) {
159
+ return e;
160
+ }
161
+ s = [n("folder-pane-content")];
162
+ var g;
163
+ new (c = (a = class extends t {
164
+ render() {
165
+ return r`
166
+ <slot></slot>
167
+ `;
168
+ }
169
+ }, [g, o] = u(a, [], s, 0, void 0, t).c, a), i = class extends h {
170
+ constructor() {
171
+ super(g), l(this, "styles", e), o();
172
+ }
173
+ }, l(i, c, void 0), i)();
174
+ export { g as default };
175
+
176
+ //# sourceMappingURL=FolderPaneContent.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FolderPaneContent.esm.js","names":["customElement","WebComponent","html","styles","_classDecs","_FolderPaneContent","_FolderPaneContent2","_FolderPaneContent3","FolderPaneContent","render","_initClass","_applyDecs","c","_Class","_identity","constructor","_defineProperty","default","styles","FolderPaneContent_styles_default","_Class","_FolderPaneContent3","_initClass","_classDecs","_FolderPaneContent2","_defineProperty","_toPropertyKey","r","t","_applyDecs","i","n","o","c","s","applyDec","m","y","g","u","w","A","d","p","_setFunctionName","P","j","D","E","I","O","k","F","l","f","N","_checkInRHS","h","v","b","_toPrimitive","e","_identity","customElement","_FolderPaneContent","WebComponent"],"sources":["../../../src/components/folder-pane-content/FolderPaneContent.ts"],"sourcesContent":["import { customElement, WebComponent } from 'solid-ui'\nimport { html } from 'lit'\nimport styles from './FolderPaneContent.styles.css'\n\n@customElement('folder-pane-content')\nexport default class FolderPaneContent extends WebComponent {\n static styles = styles\n\n render () {\n return html`\n <slot></slot>\n `\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEmDI,IAAA,CAElDJ,EAAc,qBAAqB,CAAC;AAAA,IAAAK;AAAA,KAAAC,KAAAC,IAArC,cAC+CN,EAAa;CAG1DQ,SAAU;EACR,OAAOP,CAAI;;;CAGb;AACF,GAAC,CAAAG,GAAAK,KAAAC,EAAAJ,GAAA,CAAA,GAAAH,GAAA,GAAA,KAAA,GAR8CH,CAAY,CAAA,CAAAW,GAAAL,IAAAM,IAAA,cAAAC,EAAA;CAAAC,cAAA;EAAA,MAAAV,CAAA,GAAAW,EAAA,MAAA,UACzCb,CAAM,GAAAO,EAAA;CAAA;AAAA,GAAAM,EAAAH,GAAAP,GAAA,KAAA,CAAA,GAAAO,GAAA"}
@@ -0,0 +1,2 @@
1
+ var e=require("lit").css`:host{flex-direction:column;flex:1;width:100%;min-width:0;min-height:0;display:flex;overflow:hidden auto}::slotted(*){flex:auto;min-height:0}`;exports.default=e;
2
+ //# sourceMappingURL=FolderPaneContent.styles.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FolderPaneContent.styles.cjs.js","names":["FolderPaneContent_styles_default"],"sources":["../../../src/components/folder-pane-content/FolderPaneContent.styles.css"],"sourcesContent":[":host {\n display: flex;\n flex-direction: column;\n flex: 1 1 0%;\n width: 100%;\n min-width: 0;\n min-height: 0;\n overflow-x: hidden;\n overflow-y: auto;\n}\n\n::slotted(*) {\n flex: 1 1 auto;\n min-height: 0;\n}\n"],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { css as e } from "lit";
2
+ // src/components/folder-pane-content/FolderPaneContent.styles.css
3
+ var t = e`:host{flex-direction:column;flex:1;width:100%;min-width:0;min-height:0;display:flex;overflow:hidden auto}::slotted(*){flex:auto;min-height:0}`;
4
+ export { t as default };
5
+
6
+ //# sourceMappingURL=FolderPaneContent.styles.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FolderPaneContent.styles.esm.js","names":["FolderPaneContent_styles_default"],"sources":["../../../src/components/folder-pane-content/FolderPaneContent.styles.css"],"sourcesContent":[":host {\n display: flex;\n flex-direction: column;\n flex: 1 1 0%;\n width: 100%;\n min-width: 0;\n min-height: 0;\n overflow-x: hidden;\n overflow-y: auto;\n}\n\n::slotted(*) {\n flex: 1 1 auto;\n min-height: 0;\n}\n"],"mappings":""}
@@ -0,0 +1 @@
1
+ require("./FolderPaneContent.cjs.js");
@@ -0,0 +1,2 @@
1
+ export { default as FolderPaneContent } from './FolderPaneContent';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/folder-pane-content/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAA"}
@@ -0,0 +1 @@
1
+ import "./FolderPaneContent.esm.js";
@@ -0,0 +1,53 @@
1
+ const e=require("../../helpers.cjs.js");require("../../_virtual/~icons/lucide/folder.cjs.js"),require("../../_virtual/~icons/lucide/globe.cjs.js");const t=require("./FolderPaneSidebar.styles.cjs.js");require("../../_virtual/~icons/lucide/chevron-right.cjs.js"),require("../../_virtual/~icons/lucide/circle-small.cjs.js"),require("../../_virtual/~icons/lucide/trash-2.cjs.js");let n=require("solid-ui"),r=require("lit"),i=require("lit/decorators.js"),a=require("lit/directives/repeat.js");var o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k,A,j,M,N,P,F,I;function L(e,t,n){R(e,t),t.set(e,n)}function R(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}function z(e,t,n){return e.set(V(e,t),n),n}function B(e,t){return e.get(V(e,t))}function V(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 H(e,t,n){return(t=W(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function U(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:K(function(){return v(this)},r,`get`),set:function(e){t[4](this,e)}}:b[S]=v,f||K(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 q(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:W(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 W(e){var t=G(e,`string`);return typeof t==`symbol`?t:t+``}function G(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 K(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 q(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 J(e){return e}v=[(0,n.customElement)(`folder-pane-sidebar`)];var Y;new(F=(c=new WeakMap,l=new WeakMap,u=new WeakMap,d=new WeakMap,f=new WeakMap,p=new WeakMap,m=new WeakMap,h=new WeakMap,I=(y=(0,i.property)({attribute:!1}),x=(0,i.property)({attribute:!1}),C=(0,i.property)({attribute:!1}),T=(0,i.property)({attribute:!1}),D=(0,i.state)(),k=(0,i.state)(),j=(0,i.state)(),N=(0,i.state)(),`store`),s=class extends n.WebComponent{constructor(...e){super(...e),L(this,c,(g(this),b(this,null))),L(this,l,S(this,void 0)),L(this,u,w(this,null)),L(this,d,E(this,void 0)),L(this,f,O(this,new Map)),L(this,p,A(this,new Set)),L(this,m,M(this,!0)),L(this,h,P(this,void 0)),H(this,`resourceGeneration`,0)}get[I](){return B(c,this)}set store(e){z(c,this,e)}get subject(){return B(l,this)}set subject(e){z(l,this,e)}get resourceLogic(){return B(u,this)}set resourceLogic(e){z(u,this,e)}get selectedResource(){return B(d,this)}set selectedResource(e){z(d,this,e)}get resources(){return B(f,this)}set resources(e){z(f,this,e)}get expandedContainers(){return B(p,this)}set expandedContainers(e){z(p,this,e)}get homeExpanded(){return B(m,this)}set homeExpanded(e){z(m,this,e)}get expansionError(){return B(h,this)}set expansionError(e){z(h,this,e)}loadResources(){this.resourceGeneration++,!this.store||!this.subject?(this.resources=new Map,this.expandedContainers=new Set):this.resources=e.getResourcesForContainer(this.subject,this.resourceLogic)}refreshResources(e){if(this.loadResources(),!e||!this.subject||e.sameTerm(this.subject))return;let t=new Set(this.expandedContainers),n=e;for(;!n.sameTerm(this.subject);){t.add(n.value);let e=n.dir();if(!e||e.sameTerm(n))break;n=e}this.expandedContainers=t}async toggleContainer(e){if(!e.isContainer)return;let t=this.resourceGeneration,r=new Set(this.expandedContainers);if(r.has(e.id))r.delete(e.id),this.expandedContainers=r;else{try{await this.store?.fetcher?.load(e.subject)}catch(t){console.error(`Unable to expand storage container`,t),this.expansionError=`Unable to load ${n.utils.label(e.subject)}. Try expanding it again.`;return}t===this.resourceGeneration&&(this.expansionError=void 0,this.expandedContainers=new Set(this.expandedContainers).add(e.id))}}isSelected(e){return e?this.selectedResource?.sameTerm(e.subject)??!1:!1}isNamed(e,t){return n.utils.label(e.subject).toLowerCase()===t}getHomeResource(){return this.subject?{id:this.subject.value,subject:this.subject,parentId:null,isContainer:!0}:null}selectResource(e){this.dispatchEvent(new CustomEvent(`resource-selected`,{detail:{resource:e.subject},bubbles:!0,composed:!0}))}renderRow(e,t,n,i,a,o=!1){let s=e.isContainer?r.html`
2
+ <button
3
+ class="resource-expand-button"
4
+ type="button"
5
+ tabindex="-1"
6
+ aria-label=${i?`Collapse ${t}`:`Expand ${t}`}
7
+ @click=${e=>{e.preventDefault(),e.stopPropagation(),a()}}
8
+ >
9
+ <icon-lucide-chevron-right></icon-lucide-chevron-right>
10
+ </button>
11
+ `:r.html`<span class="resource-expand-spacer" aria-hidden="true"></span>`;return r.html`
12
+ <div
13
+ class=${o?`resource-row resource-row-special`:`resource-row`}
14
+ tabindex="0"
15
+ @click=${()=>this.selectResource(e)}
16
+ @keydown=${t=>{t.key===`Enter`||t.key===` `?(t.preventDefault(),this.selectResource(e)):e.isContainer&&(t.key===`ArrowRight`||t.key===`ArrowLeft`)&&t.key===`ArrowRight`!==i&&(t.preventDefault(),a())}}
17
+ >
18
+ ${s}
19
+ ${n}
20
+ <span class="resource-label">${t}</span>
21
+ </div>
22
+ `}renderItem(e,t,n,i,a,o,s=!1){let c=this.isSelected(e);return r.html`
23
+ <li
24
+ class=${c?`resource-item selected`:`resource-item`}
25
+ notSelectable="false"
26
+ role="treeitem"
27
+ aria-label=${t}
28
+ aria-selected=${String(c)}
29
+ aria-expanded=${e.isContainer?String(i):r.nothing}
30
+ data-expanded=${String(i)}
31
+ about=${e.subject.toNT()}
32
+ .subject=${e.subject}
33
+ >
34
+ ${this.renderRow(e,t,n,i,a,s)}
35
+ ${i?o:r.nothing}
36
+ </li>
37
+ `}renderSpecialIcon(e){return e===`globe`?r.html`<icon-lucide-globe></icon-lucide-globe>`:e===`trash`?r.html`<icon-lucide-trash-2></icon-lucide-trash-2>`:r.html`<icon-lucide-folder></icon-lucide-folder>`}renderResourceItem(t,i=n.utils.label(t.subject),a){let o=this.expandedContainers.has(t.id),s=t.isContainer&&o?this.renderResourceGroup(e.getResourcesForContainer(t.subject,this.resourceLogic)):r.nothing,c=a?this.renderSpecialIcon(a):r.html`<icon-lucide-circle-small></icon-lucide-circle-small>`;return this.renderItem(t,i,c,o,()=>{this.toggleContainer(t)},s,!!a)}renderResourceGroup(e){let t=Array.isArray(e)?e:[...e.values()];return r.html`
38
+ <ul role="group" class="resource-group">
39
+ ${(0,a.repeat)(t,e=>e.id,e=>this.renderResourceItem(e))}
40
+ </ul>
41
+ `}renderTree(){let e=this.getHomeResource();if(!e)return r.nothing;let t=[...this.resources.values()],n=e=>{let n=t.findIndex(t=>this.isNamed(t,e));return n>=0?t.splice(n,1)[0]:null},i=n(`public`),a=n(`trash`);return r.html`
42
+ <ul role="tree" class="resource-tree" aria-label="Storage resources">
43
+ ${this.renderItem(e,`Home`,this.renderSpecialIcon(`folder`),this.homeExpanded,()=>{this.homeExpanded=!this.homeExpanded},this.renderResourceGroup(t),!0)}
44
+ ${i?this.renderResourceItem(i,`Public`,`globe`):r.nothing}
45
+ ${a?this.renderResourceItem(a,`Trash`,`trash`):r.nothing}
46
+ </ul>
47
+ `}willUpdate(e){super.willUpdate(e),e.has(`subject`)&&(this.expandedContainers=new Set,this.homeExpanded=!0),(e.has(`store`)||e.has(`subject`)||e.has(`resourceLogic`))&&this.loadResources()}render(){return r.html`
48
+ <aside>
49
+ ${this.expansionError?r.html`<div class="folder-pane-sidebar-error" role="alert">${this.expansionError}</div>`:r.nothing}
50
+ ${this.renderTree()}
51
+ </aside>
52
+ `}},{e:[b,S,w,E,O,A,M,P,g],c:[Y,_]}=U(s,[[y,1,`store`],[x,1,`subject`],[C,1,`resourceLogic`],[T,1,`selectedResource`],[D,1,`resources`],[k,1,`expandedContainers`],[j,1,`homeExpanded`],[N,1,`expansionError`]],v,0,void 0,n.WebComponent),s),o=class extends J{constructor(){super(Y),H(this,`styles`,t.default),_()}},H(o,F,void 0),o),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return Y}});
53
+ //# sourceMappingURL=FolderPaneSidebar.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FolderPaneSidebar.cjs.js","names":["customElement","utils","WebComponent","html","nothing","repeat","property","state","styles","getResourcesForContainer","_classDecs","_FolderPaneSidebar","_FolderPaneSidebar2","_A","WeakMap","_B","_C","_D","_E","_F","_G","_H","_ref","_storeDecs","attribute","_subjectDecs","_resourceLogicDecs","_selectedResourceDecs","_resourcesDecs","_expandedContainersDecs","_homeExpandedDecs","_expansionErrorDecs","_FolderPaneSidebar3","FolderPaneSidebar","constructor","args","_classPrivateFieldInitSpec","_initProto","_init_store","_init_subject","undefined","_init_resourceLogic","_init_selectedResource","_init_resources","Map","_init_expandedContainers","Set","_init_homeExpanded","_init_expansionError","_defineProperty","_classPrivateFieldGet","store","v","_classPrivateFieldSet","subject","resourceLogic","selectedResource","resources","expandedContainers","homeExpanded","expansionError","loadResources","resourceGeneration","refreshResources","container","sameTerm","expanded","current","add","value","parent","dir","toggleContainer","resource","isContainer","generation","nextExpandedContainers","has","id","delete","fetcher","load","error","console","label","isSelected","isNamed","name","toLowerCase","getHomeResource","parentId","selectResource","dispatchEvent","CustomEvent","detail","bubbles","composed","renderRow","icon","toggle","special","chevron","event","preventDefault","stopPropagation","key","shouldExpand","renderItem","children","selected","String","toNT","renderSpecialIcon","renderResourceItem","specialIcon","renderResourceGroup","Boolean","list","Array","isArray","values","renderTree","homeResource","orderedResources","takeNamed","index","findIndex","splice","publicResource","trashResource","willUpdate","changedProperties","render","e","c","_initClass","_applyDecs","_Class","_identity","default","customElement","property","state","WebComponent","getResourcesForContainer","utils","nothing","repeat","styles","require_helpers","require_FolderPaneSidebar_styles","solid_ui","lit","lit_decorators_js","lit_directives_repeat_js","_Class","_FolderPaneSidebar3","_A","_B","_C","_D","_E","_F","_G","_H","_initProto","_initClass","_classDecs","_storeDecs","_init_store","_subjectDecs","_init_subject","_resourceLogicDecs","_init_resourceLogic","_selectedResourceDecs","_init_selectedResource","_resourcesDecs","_init_resources","_expandedContainersDecs","_init_expandedContainers","_homeExpandedDecs","_init_homeExpanded","_expansionErrorDecs","_init_expansionError","_FolderPaneSidebar2","_ref","_classPrivateFieldInitSpec","_checkPrivateRedeclaration","a","_classPrivateFieldSet","s","_assertClassBrand","r","_classPrivateFieldGet","_defineProperty","_toPropertyKey","t","_applyDecs","i","n","o","c","applyDec","m","h","y","v","g","b","u","w","S","A","d","f","p","_setFunctionName","P","j","D","I","F","l","N","_checkInRHS","_toPrimitive","e","_identity","_FolderPaneSidebar","args","container","expanded","current","parent","resource","generation","nextExpandedContainers","error","name","chevron","label","event","toggle","special","icon","selected","children","specialIcon","list","resources","homeResource","orderedResources","takeNamed","index","publicResource","trashResource","changedProperties"],"sources":["../../../src/components/folder-pane-sidebar/FolderPaneSidebar.ts"],"sourcesContent":["import { customElement, utils, WebComponent } from 'solid-ui'\nimport { html, nothing } from 'lit'\nimport { repeat } from 'lit/directives/repeat.js'\nimport { property, state } from 'lit/decorators.js'\nimport type { PropertyValues } from 'lit'\nimport styles from './FolderPaneSidebar.styles.css'\nimport type { LiveStore, NamedNode } from 'rdflib'\nimport type { Resource, ResourceMap } from '../../types'\nimport '~icons/lucide/chevron-right'\nimport '~icons/lucide/circle-small'\nimport '~icons/lucide/folder'\nimport '~icons/lucide/globe'\nimport '~icons/lucide/trash-2'\nimport { getResourcesForContainer, type FolderPaneResourceLogic } from '../../helpers'\n\ntype SpecialIcon = 'folder' | 'globe' | 'trash'\n\n@customElement('folder-pane-sidebar')\nexport default class FolderPaneSidebar extends WebComponent {\n static styles = styles\n\n @property({ attribute: false })\n accessor store: LiveStore | null = null\n\n @property({ attribute: false })\n accessor subject: NamedNode | undefined = undefined\n\n @property({ attribute: false })\n accessor resourceLogic: FolderPaneResourceLogic | null = null\n\n @property({ attribute: false })\n accessor selectedResource: NamedNode | undefined = undefined\n\n @state()\n accessor resources: ResourceMap = new Map()\n\n @state()\n accessor expandedContainers: Set<string> = new Set()\n\n @state()\n accessor homeExpanded = true\n @state()\n accessor expansionError: string | undefined = undefined\n private resourceGeneration = 0\n\n private loadResources () {\n this.resourceGeneration++\n if (!this.store || !this.subject) {\n this.resources = new Map()\n this.expandedContainers = new Set()\n return\n }\n\n this.resources = getResourcesForContainer(this.subject, this.resourceLogic)\n }\n\n refreshResources (container?: NamedNode) {\n this.loadResources()\n if (!container || !this.subject || container.sameTerm(this.subject)) return\n\n const expanded = new Set(this.expandedContainers)\n let current = container\n while (!current.sameTerm(this.subject)) {\n expanded.add(current.value)\n const parent = current.dir()\n if (!parent || parent.sameTerm(current)) break\n current = parent\n }\n this.expandedContainers = expanded\n }\n\n private async toggleContainer (resource: Resource) {\n if (!resource.isContainer) return\n\n const generation = this.resourceGeneration\n const nextExpandedContainers = new Set(this.expandedContainers)\n if (nextExpandedContainers.has(resource.id)) {\n nextExpandedContainers.delete(resource.id)\n this.expandedContainers = nextExpandedContainers\n return\n }\n\n try {\n await this.store?.fetcher?.load(resource.subject)\n } catch (error) {\n console.error('Unable to expand storage container', error)\n this.expansionError = `Unable to load ${utils.label(resource.subject)}. Try expanding it again.`\n return\n }\n\n if (generation !== this.resourceGeneration) return\n this.expansionError = undefined\n this.expandedContainers = new Set(this.expandedContainers).add(resource.id)\n }\n\n private isSelected (resource: Resource | null) {\n return resource ? this.selectedResource?.sameTerm(resource.subject) ?? false : false\n }\n\n private isNamed (resource: Resource, name: string) {\n return utils.label(resource.subject).toLowerCase() === name\n }\n\n private getHomeResource (): Resource | null {\n if (!this.subject) return null\n\n return {\n id: this.subject.value,\n subject: this.subject,\n parentId: null,\n isContainer: true,\n }\n }\n\n private selectResource (resource: Resource) {\n this.dispatchEvent(new CustomEvent('resource-selected', {\n detail: { resource: resource.subject },\n bubbles: true,\n composed: true,\n }))\n }\n\n private renderRow (\n resource: Resource,\n label: string,\n icon: unknown,\n expanded: boolean,\n toggle: () => void,\n special = false\n ) {\n const chevron = resource.isContainer\n ? html`\n <button\n class=\"resource-expand-button\"\n type=\"button\"\n tabindex=\"-1\"\n aria-label=${expanded ? `Collapse ${label}` : `Expand ${label}`}\n @click=${(event: MouseEvent) => {\n event.preventDefault()\n event.stopPropagation()\n toggle()\n }}\n >\n <icon-lucide-chevron-right></icon-lucide-chevron-right>\n </button>\n `\n : html`<span class=\"resource-expand-spacer\" aria-hidden=\"true\"></span>`\n\n return html`\n <div\n class=${special ? 'resource-row resource-row-special' : 'resource-row'}\n tabindex=\"0\"\n @click=${() => this.selectResource(resource)}\n @keydown=${(event: KeyboardEvent) => {\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault()\n this.selectResource(resource)\n } else if (resource.isContainer && (event.key === 'ArrowRight' || event.key === 'ArrowLeft')) {\n const shouldExpand = event.key === 'ArrowRight'\n if (shouldExpand !== expanded) {\n event.preventDefault()\n toggle()\n }\n }\n }}\n >\n ${chevron}\n ${icon}\n <span class=\"resource-label\">${label}</span>\n </div>\n `\n }\n\n private renderItem (\n resource: Resource,\n label: string,\n icon: unknown,\n expanded: boolean,\n toggle: () => void,\n children: unknown,\n special = false\n ) {\n const selected = this.isSelected(resource)\n\n return html`\n <li\n class=${selected ? 'resource-item selected' : 'resource-item'}\n notSelectable=\"false\"\n role=\"treeitem\"\n aria-label=${label}\n aria-selected=${String(selected)}\n aria-expanded=${resource.isContainer ? String(expanded) : nothing}\n data-expanded=${String(expanded)}\n about=${resource.subject.toNT()}\n .subject=${resource.subject}\n >\n ${this.renderRow(resource, label, icon, expanded, toggle, special)}\n ${expanded ? children : nothing}\n </li>\n `\n }\n\n private renderSpecialIcon (icon: SpecialIcon) {\n if (icon === 'globe') return html`<icon-lucide-globe></icon-lucide-globe>`\n if (icon === 'trash') return html`<icon-lucide-trash-2></icon-lucide-trash-2>`\n return html`<icon-lucide-folder></icon-lucide-folder>`\n }\n\n private renderResourceItem (resource: Resource, label = utils.label(resource.subject), specialIcon?: SpecialIcon) {\n const expanded = this.expandedContainers.has(resource.id)\n const children = resource.isContainer && expanded\n ? this.renderResourceGroup(getResourcesForContainer(resource.subject, this.resourceLogic))\n : nothing\n const icon = specialIcon\n ? this.renderSpecialIcon(specialIcon)\n : html`<icon-lucide-circle-small></icon-lucide-circle-small>`\n\n return this.renderItem(\n resource,\n label,\n icon,\n expanded,\n () => { void this.toggleContainer(resource) },\n children,\n Boolean(specialIcon)\n )\n }\n\n private renderResourceGroup (resources: ResourceMap | Resource[]) {\n const list = Array.isArray(resources) ? resources : [...resources.values()]\n\n return html`\n <ul role=\"group\" class=\"resource-group\">\n ${repeat(list, (resource) => resource.id, (resource) => this.renderResourceItem(resource))}\n </ul>\n `\n }\n\n private renderTree () {\n const homeResource = this.getHomeResource()\n if (!homeResource) return nothing\n\n const orderedResources = [...this.resources.values()]\n const takeNamed = (name: string) => {\n const index = orderedResources.findIndex(resource => this.isNamed(resource, name))\n return index >= 0 ? orderedResources.splice(index, 1)[0] : null\n }\n const publicResource = takeNamed('public')\n const trashResource = takeNamed('trash')\n\n return html`\n <ul role=\"tree\" class=\"resource-tree\" aria-label=\"Storage resources\">\n ${this.renderItem(\n homeResource,\n 'Home',\n this.renderSpecialIcon('folder'),\n this.homeExpanded,\n () => { this.homeExpanded = !this.homeExpanded },\n this.renderResourceGroup(orderedResources),\n true\n )}\n ${publicResource ? this.renderResourceItem(publicResource, 'Public', 'globe') : nothing}\n ${trashResource ? this.renderResourceItem(trashResource, 'Trash', 'trash') : nothing}\n </ul>\n `\n }\n\n protected willUpdate (changedProperties: PropertyValues<this>) {\n super.willUpdate(changedProperties)\n if (changedProperties.has('subject')) {\n this.expandedContainers = new Set()\n this.homeExpanded = true\n }\n if (\n changedProperties.has('store') ||\n changedProperties.has('subject') ||\n changedProperties.has('resourceLogic')\n ) {\n this.loadResources()\n }\n }\n\n render () {\n return html`\n <aside>\n ${this.expansionError ? html`<div class=\"folder-pane-sidebar-error\" role=\"alert\">${this.expansionError}</div>` : nothing}\n ${this.renderTree()}\n </aside>\n `\n }\n}\n"],"mappings":"A,mnJAasFU,EAAA,EAAA,EAIrFV,EAAAA,cAAAA,CAAc,qBAAqB,CAAC,EAAA,IAAAW,EAAA,IAAAC,GAAAC,EAAA,IAAAC,QAAAC,EAAA,IAAAD,QAAAE,EAAA,IAAAF,QAAAG,EAAA,IAAAH,QAAAI,EAAA,IAAAJ,QAAAK,EAAA,IAAAL,QAAAM,EAAA,IAAAN,QAAAO,EAAA,IAAAP,QAAAQ,GAAAC,GAAAA,EAIlCjB,EAAAA,SAAAA,CAAS,CAAEkB,UAAW,EAAM,CAAC,EAACC,GAAAA,EAG9BnB,EAAAA,SAAAA,CAAS,CAAEkB,UAAW,EAAM,CAAC,EAACE,GAAAA,EAG9BpB,EAAAA,SAAAA,CAAS,CAAEkB,UAAW,EAAM,CAAC,EAACG,GAAAA,EAG9BrB,EAAAA,SAAAA,CAAS,CAAEkB,UAAW,EAAM,CAAC,EAACI,GAAAA,EAG9BrB,EAAAA,MAAAA,CAAM,EAACsB,GAAAA,EAGPtB,EAAAA,MAAAA,CAAM,EAACuB,GAAAA,EAGPvB,EAAAA,MAAAA,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7H,EAAAA,QAAO;;KAG1F,CAEU8H,WAAYC,EAAyC,CAC7D,MAAMD,WAAWC,CAAiB,EAC9BA,EAAkBtD,IAAI,SAAS,IACjC,KAAKnB,mBAAqB,IAAIZ,IAC9B,KAAKa,aAAe,KAGpBwE,EAAkBtD,IAAI,OAAO,GAC7BsD,EAAkBtD,IAAI,SAAS,GAC/BsD,EAAkBtD,IAAI,eAAe,IAErC,KAAKhB,cAAc,CAEvB,CAEAuE,QAAU,CACR,MAAOjI,GAAAA,IAAI;;UAEL,KAAKyD,eAAiBzD,EAAAA,IAAI,uDAAuD,KAAKyD,eAAc,QAAWxD,EAAAA,QAAO;UACtH,KAAKqH,WAAW,EAAC;;KAGzB,CACF,EAAC,CAAAY,EAAA,CAAA/F,EAAAC,EAAAE,EAAAC,EAAAC,EAAAE,EAAAE,EAAAC,EAAAX,GAAAiG,EAAA,CAAA3H,EAAA4H,IAAAC,EAAAxG,EAAA,CAAA,CAAAT,EAAA,EAAA,OAAA,EAAA,CAAAE,EAAA,EAAA,SAAA,EAAA,CAAAC,EAAA,EAAA,eAAA,EAAA,CAAAC,EAAA,EAAA,kBAAA,EAAA,CAAAC,EAAA,EAAA,WAAA,EAAA,CAAAC,EAAA,EAAA,oBAAA,EAAA,CAAAC,EAAA,EAAA,cAAA,EAAA,CAAAC,EAAA,EAAA,gBAAA,CAAA,EAAArB,EAAA,EAAA,IAAA,GAhR8CR,EAAAA,YAAY,EAAA8B,GAAAyG,EAAA,cAAAC,CAAA,CAAAxG,aAAA,CAAA,MAAAvB,CAAA,EAAAsC,EAAA,KAAA,SACzCzC,EAAAA,OAAM,EAAA+H,EAAA,CAAA,CAAA,EAAAtF,EAAAwF,EAAA7H,EAAA,IAAA,EAAA,EAAA6H,G"}
@@ -0,0 +1,33 @@
1
+ import { WebComponent } from 'solid-ui';
2
+ import { PropertyValues } from 'lit';
3
+ import { LiveStore, NamedNode } from 'rdflib';
4
+ import { ResourceMap } from '../../types';
5
+ import { FolderPaneResourceLogic } from '../../helpers';
6
+ export default class FolderPaneSidebar extends WebComponent {
7
+ static styles: any;
8
+ accessor store: LiveStore | null;
9
+ accessor subject: NamedNode | undefined;
10
+ accessor resourceLogic: FolderPaneResourceLogic | null;
11
+ accessor selectedResource: NamedNode | undefined;
12
+ accessor resources: ResourceMap;
13
+ accessor expandedContainers: Set<string>;
14
+ accessor homeExpanded: boolean;
15
+ accessor expansionError: string | undefined;
16
+ private resourceGeneration;
17
+ private loadResources;
18
+ refreshResources(container?: NamedNode): void;
19
+ private toggleContainer;
20
+ private isSelected;
21
+ private isNamed;
22
+ private getHomeResource;
23
+ private selectResource;
24
+ private renderRow;
25
+ private renderItem;
26
+ private renderSpecialIcon;
27
+ private renderResourceItem;
28
+ private renderResourceGroup;
29
+ private renderTree;
30
+ protected willUpdate(changedProperties: PropertyValues<this>): void;
31
+ render(): import('lit-html').TemplateResult<1>;
32
+ }
33
+ //# sourceMappingURL=FolderPaneSidebar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FolderPaneSidebar.d.ts","sourceRoot":"","sources":["../../../src/components/folder-pane-sidebar/FolderPaneSidebar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,YAAY,EAAE,MAAM,UAAU,CAAA;AAI7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAClD,OAAO,KAAK,EAAY,WAAW,EAAE,MAAM,aAAa,CAAA;AACxD,OAAO,6BAA6B,CAAA;AACpC,OAAO,4BAA4B,CAAA;AACnC,OAAO,sBAAsB,CAAA;AAC7B,OAAO,qBAAqB,CAAA;AAC5B,OAAO,uBAAuB,CAAA;AAC9B,OAAO,EAA4B,KAAK,uBAAuB,EAAE,MAAM,eAAe,CAAA;AAKtF,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,YAAY;IACzD,MAAM,CAAC,MAAM,MAAS;IAGtB,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