folder-pane 4.0.1-1 → 4.0.1-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/~icons/lucide/chevron-left.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/chevron-left.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/{trash-2.esm.js → chevron-left.esm.js} +4 -4
- package/dist/_virtual/~icons/lucide/chevron-left.esm.js.map +1 -0
- package/dist/accessCache.cjs.js +2 -0
- package/dist/accessCache.cjs.js.map +1 -0
- package/dist/accessCache.d.ts +37 -0
- package/dist/accessCache.d.ts.map +1 -0
- package/dist/accessCache.esm.js +34 -0
- package/dist/accessCache.esm.js.map +1 -0
- package/dist/components/folder-pane-container/FolderPaneContainer.cjs.js +38 -35
- package/dist/components/folder-pane-container/FolderPaneContainer.cjs.js.map +1 -1
- package/dist/components/folder-pane-container/FolderPaneContainer.d.ts +19 -5
- package/dist/components/folder-pane-container/FolderPaneContainer.d.ts.map +1 -1
- package/dist/components/folder-pane-container/FolderPaneContainer.esm.js +271 -197
- package/dist/components/folder-pane-container/FolderPaneContainer.esm.js.map +1 -1
- package/dist/components/folder-pane-container/FolderPaneContainer.styles.cjs.js +1 -1
- package/dist/components/folder-pane-container/FolderPaneContainer.styles.cjs.js.map +1 -1
- package/dist/components/folder-pane-container/FolderPaneContainer.styles.esm.js +1 -1
- package/dist/components/folder-pane-container/FolderPaneContainer.styles.esm.js.map +1 -1
- package/dist/components/folder-pane-content/FolderPaneContent.styles.cjs.js +1 -1
- package/dist/components/folder-pane-content/FolderPaneContent.styles.cjs.js.map +1 -1
- package/dist/components/folder-pane-content/FolderPaneContent.styles.esm.js +1 -1
- package/dist/components/folder-pane-content/FolderPaneContent.styles.esm.js.map +1 -1
- package/dist/components/folder-pane-provider/FolderPaneProvider.cjs.js +2 -0
- package/dist/components/folder-pane-provider/FolderPaneProvider.cjs.js.map +1 -0
- package/dist/components/folder-pane-provider/FolderPaneProvider.d.ts +16 -0
- package/dist/components/folder-pane-provider/FolderPaneProvider.d.ts.map +1 -0
- package/dist/components/folder-pane-provider/FolderPaneProvider.esm.js +293 -0
- package/dist/components/folder-pane-provider/FolderPaneProvider.esm.js.map +1 -0
- package/dist/components/folder-pane-provider/FolderPaneProvider.styles.cjs.js +2 -0
- package/dist/components/folder-pane-provider/FolderPaneProvider.styles.cjs.js.map +1 -0
- package/dist/components/folder-pane-provider/FolderPaneProvider.styles.esm.js +6 -0
- package/dist/components/folder-pane-provider/FolderPaneProvider.styles.esm.js.map +1 -0
- package/dist/components/folder-pane-provider/index.cjs.js +1 -0
- package/dist/components/folder-pane-provider/index.d.ts +2 -0
- package/dist/components/folder-pane-provider/index.d.ts.map +1 -0
- package/dist/components/folder-pane-provider/index.esm.js +1 -0
- package/dist/components/folder-pane-sidebar/FolderPaneSidebar.cjs.js +18 -19
- package/dist/components/folder-pane-sidebar/FolderPaneSidebar.cjs.js.map +1 -1
- package/dist/components/folder-pane-sidebar/FolderPaneSidebar.d.ts +15 -2
- package/dist/components/folder-pane-sidebar/FolderPaneSidebar.d.ts.map +1 -1
- package/dist/components/folder-pane-sidebar/FolderPaneSidebar.esm.js +237 -108
- package/dist/components/folder-pane-sidebar/FolderPaneSidebar.esm.js.map +1 -1
- package/dist/components/folder-pane-sidebar/FolderPaneSidebar.styles.cjs.js +1 -1
- package/dist/components/folder-pane-sidebar/FolderPaneSidebar.styles.cjs.js.map +1 -1
- package/dist/components/folder-pane-sidebar/FolderPaneSidebar.styles.esm.js +1 -1
- package/dist/components/folder-pane-sidebar/FolderPaneSidebar.styles.esm.js.map +1 -1
- package/dist/components/folder-pane-storage-header/FolderPaneStorageHeader.cjs.js +32 -18
- package/dist/components/folder-pane-storage-header/FolderPaneStorageHeader.cjs.js.map +1 -1
- package/dist/components/folder-pane-storage-header/FolderPaneStorageHeader.d.ts +13 -2
- package/dist/components/folder-pane-storage-header/FolderPaneStorageHeader.d.ts.map +1 -1
- package/dist/components/folder-pane-storage-header/FolderPaneStorageHeader.esm.js +191 -84
- package/dist/components/folder-pane-storage-header/FolderPaneStorageHeader.esm.js.map +1 -1
- package/dist/components/folder-pane-storage-header/FolderPaneStorageHeader.styles.cjs.js +1 -1
- package/dist/components/folder-pane-storage-header/FolderPaneStorageHeader.styles.cjs.js.map +1 -1
- package/dist/components/folder-pane-storage-header/FolderPaneStorageHeader.styles.esm.js +1 -1
- package/dist/components/folder-pane-storage-header/FolderPaneStorageHeader.styles.esm.js.map +1 -1
- package/dist/components/folder-pane-view/FolderPaneView.cjs.js +90 -29
- package/dist/components/folder-pane-view/FolderPaneView.cjs.js.map +1 -1
- package/dist/components/folder-pane-view/FolderPaneView.d.ts +35 -5
- package/dist/components/folder-pane-view/FolderPaneView.d.ts.map +1 -1
- package/dist/components/folder-pane-view/FolderPaneView.esm.js +495 -234
- package/dist/components/folder-pane-view/FolderPaneView.esm.js.map +1 -1
- package/dist/components/folder-pane-view/resourceLoad.cjs.js +2 -0
- package/dist/components/folder-pane-view/resourceLoad.cjs.js.map +1 -0
- package/dist/components/folder-pane-view/resourceLoad.d.ts +8 -0
- package/dist/components/folder-pane-view/resourceLoad.d.ts.map +1 -0
- package/dist/components/folder-pane-view/resourceLoad.esm.js +7 -0
- package/dist/components/folder-pane-view/resourceLoad.esm.js.map +1 -0
- package/dist/debug.cjs.js +2 -0
- package/dist/debug.cjs.js.map +1 -0
- package/dist/debug.d.ts +5 -0
- package/dist/debug.d.ts.map +1 -0
- package/dist/debug.esm.js +10 -0
- package/dist/debug.esm.js.map +1 -0
- package/dist/folderPane.cjs.js +2 -2
- package/dist/folderPane.cjs.js.map +1 -1
- package/dist/folderPane.d.ts +2 -2
- package/dist/folderPane.d.ts.map +1 -1
- package/dist/folderPane.esm.js +20 -19
- package/dist/folderPane.esm.js.map +1 -1
- package/dist/helpers.cjs.js +1 -1
- package/dist/helpers.cjs.js.map +1 -1
- package/dist/helpers.d.ts +12 -1
- package/dist/helpers.d.ts.map +1 -1
- package/dist/helpers.esm.js +34 -14
- package/dist/helpers.esm.js.map +1 -1
- package/dist/primitives/context.cjs.js +2 -0
- package/dist/primitives/context.cjs.js.map +1 -0
- package/dist/primitives/context.d.ts +14 -0
- package/dist/primitives/context.d.ts.map +1 -0
- package/dist/primitives/context.esm.js +6 -0
- package/dist/primitives/context.esm.js.map +1 -0
- package/dist/requestQueue.cjs.js +1 -1
- package/dist/requestQueue.cjs.js.map +1 -1
- package/dist/requestQueue.d.ts +10 -2
- package/dist/requestQueue.d.ts.map +1 -1
- package/dist/requestQueue.esm.js +32 -22
- package/dist/requestQueue.esm.js.map +1 -1
- package/dist/resourceActionItems.cjs.js +2 -0
- package/dist/resourceActionItems.cjs.js.map +1 -0
- package/dist/resourceActionItems.d.ts +20 -0
- package/dist/resourceActionItems.d.ts.map +1 -0
- package/dist/resourceActionItems.esm.js +42 -0
- package/dist/resourceActionItems.esm.js.map +1 -0
- package/package.json +12 -8
- package/dist/_virtual/~icons/lucide/trash-2.cjs.js +0 -2
- package/dist/_virtual/~icons/lucide/trash-2.cjs.js.map +0 -1
- package/dist/_virtual/~icons/lucide/trash-2.esm.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FolderPaneContainer.esm.js","names":["html","nothing","property","state","customElement","FILE_EXPLORER_MANAGE_ACCESS_EVENT","getRelevantPanes","utils","WebComponent","getContainerMemberCountLabel","getResourceAccessState","getResourcesForContainer","createRequestQueue","styles","_classDecs","_FolderPaneContainer","_FolderPaneContainer2","_A","WeakMap","_B","_C","_D","_E","_F","_G","_H","_I","_J","_K","_L","_M","_ref","_subjectDecs","attribute","_resourceLogicDecs","_browserContextDecs","_viewDecs","_searchQueryDecs","_hideRootSpecialFoldersDecs","type","Boolean","_resourceActionMenuItemsDecs","_resourcesDecs","_optimisticResourcesDecs","_resourceAccessDecs","_memberLoadDecs","_loadingDecs","_loadErrorDecs","_FolderPaneContainer3","FolderPaneContainer","constructor","args","_classPrivateFieldInitSpec","_initProto","_init_subject","undefined","_init_resourceLogic","_init_browserContext","_init_view","_init_searchQuery","_init_hideRootSpecialFolders","_init_resourceActionMenuItems","Map","_init_resources","_init_optimisticResources","_init_resourceAccess","_init_memberLoad","_init_loading","_init_loadError","_defineProperty","_classPrivateFieldGet","subject","v","_classPrivateFieldSet","resourceLogic","browserContext","view","searchQuery","hideRootSpecialFolders","resourceActionMenuItems","resources","optimisticResources","resourceAccess","memberLoad","loading","loadError","selectResource","resource","dispatchEvent","CustomEvent","detail","bubbles","composed","handleResourceKeyDown","event","target","currentTarget","key","preventDefault","getVisibleMemberCount","isContainer","getContainerMembers","filter","member","isHiddenFile","length","isRootSpecialFolder","label","toLowerCase","getResourcesFromStore","values","optimistic","some","confirmed","id","combined","addOptimisticResource","value","next","parentId","uri","endsWith","loadResources","visibleResources","query","trim","includes","generation","resourceGeneration","loadResourceActionMenuItems","loadResourceDetails","loadMemberCount","loadResourceAccess","has","fetcher","session","store","set","detailsQueue","run","load","error","console","warn","logic","canManageAccess","metadata","fetchMetadata","access","renderAccessIndicator","get","resetResourceDetails","clear","detailsObserver","disconnect","observeResourceItems","items","Array","from","renderRoot","querySelectorAll","resourcesById","map","pending","item","dataset","resourceId","IntersectionObserver","entries","entry","isIntersecting","element","unobserve","find","candidate","rootMargin","observe","connectedCallback","hasUpdated","requestUpdate","disconnectedCallback","refresh","reloadFromServer","force","clearPreviousData","actionGeneration","actionMenuGeneration","menuItems","Promise","all","panes","excludedPaneNames","fallbackPaneName","pane","name","paneWithIcon","iconValue","icon","iconSource","action","paneName","updated","changedProperties","openAccessControls","subjectUri","renderResourceActionsMenu","placement","stopPropagation","renderResourceItem","memberCount","toNT","renderListView","renderGridItem","renderGridView","renderEmptyContainer","render","e","c","_initClass","_applyDecs","_Class","_identity","default","paneWithIcon","styles","FolderPaneContainer_styles_default","_Class","_FolderPaneContainer3","_A","_B","_C","_D","_E","_F","_G","_H","_I","_J","_K","_L","_M","_initProto","_initClass","_classDecs","_subjectDecs","_init_subject","_resourceLogicDecs","_init_resourceLogic","_browserContextDecs","_init_browserContext","_viewDecs","_init_view","_searchQueryDecs","_init_searchQuery","_hideRootSpecialFoldersDecs","_init_hideRootSpecialFolders","_resourceActionMenuItemsDecs","_init_resourceActionMenuItems","_resourcesDecs","_init_resources","_optimisticResourcesDecs","_init_optimisticResources","_resourceAccessDecs","_init_resourceAccess","_memberLoadDecs","_init_memberLoad","_loadingDecs","_init_loading","_loadErrorDecs","_init_loadError","_FolderPaneContainer2","_ref","_classPrivateFieldInitSpec","a","_checkPrivateRedeclaration","_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","p","_setFunctionName","P","j","D","I","F","l","f","N","_checkInRHS","_toPrimitive","e","_identity","customElement","_FolderPaneContainer","property","state","WebComponent","args","createRequestQueue","resource","event","resourceLogic","member","label","utils","resources","getResourcesForContainer","optimistic","confirmed","combined","subject","next","query","generation","fetcher","error","metadata","getResourceAccessState","access","nothing","items","resourcesById","pending","item","entry","entries","element","candidate","reloadFromServer","actionGeneration","menuItems","panes","getRelevantPanes","pane","iconValue","resourceGeneration","changedProperties","FILE_EXPLORER_MANAGE_ACCESS_EVENT","placement","memberCount","getContainerMemberCountLabel"],"sources":["../../../src/components/folder-pane-container/FolderPaneContainer.ts"],"sourcesContent":["import { html, nothing } from 'lit'\nimport { property } from 'lit/decorators.js'\nimport { state } from 'lit/decorators.js'\nimport type { DataBrowserContext } from 'pane-registry'\nimport type { NamedNode } from 'rdflib'\nimport { customElement, FILE_EXPLORER_MANAGE_ACCESS_EVENT, getRelevantPanes, utils, WebComponent } from 'solid-ui'\nimport type { Resource } from '../../types'\nimport { getContainerMemberCountLabel, getResourceAccessState, getResourcesForContainer, type FolderPaneResourceLogic } from '../../helpers'\nimport { createRequestQueue } from '../../requestQueue'\nimport 'solid-ui/components/resource-actions-menu'\nimport '~icons/lucide/file'\nimport '~icons/lucide/file-box'\nimport '~icons/lucide/folder'\nimport styles from './FolderPaneContainer.styles.css'\nimport '~icons/lucide/globe'\nimport '~icons/lucide/lock-keyhole'\n\ntype ResourceActionMenuItem = {\n label: string\n icon?: string\n action: (event: Event) => void\n}\n\n@customElement('folder-pane-container')\nexport default class FolderPaneContainer extends WebComponent {\n static styles = styles\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 browserContext: DataBrowserContext | undefined = undefined\n\n @property()\n accessor view: 'grid' | 'list' = 'grid'\n\n @property()\n accessor searchQuery = ''\n\n @property({ type: Boolean, attribute: 'hide-root-special-folders' })\n accessor hideRootSpecialFolders = false\n\n @state()\n private accessor resourceActionMenuItems = new Map<string, ResourceActionMenuItem[]>()\n\n @state()\n private accessor resources: Resource[] = []\n @state()\n private accessor optimisticResources: Resource[] = []\n\n @state()\n private accessor resourceAccess = new Map<string, {\n state: 'public' | 'private' | 'unknown' | 'error'\n canManageAccess: boolean\n }>()\n @state()\n private accessor memberLoad = new Map<string, 'loading' | 'loaded' | 'error'>()\n\n @state()\n private accessor loading = true\n @state()\n private accessor loadError: string | undefined = undefined\n\n private actionMenuGeneration = 0\n private resourceGeneration = 0\n // Member counts and access indicators cost one request per child, so they\n // are fetched only for visible items, a few at a time.\n private detailsQueue = createRequestQueue()\n private detailsObserver: IntersectionObserver | undefined\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 handleResourceKeyDown (event: KeyboardEvent, resource: Resource) {\n if (event.target !== event.currentTarget) return\n\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault()\n this.selectResource(resource)\n }\n }\n\n private getVisibleMemberCount (resource: Resource) {\n if (!resource.isContainer || !this.resourceLogic) return 0\n const resourceLogic = this.resourceLogic\n return resourceLogic.getContainerMembers(resource.subject)\n .filter(member => !resourceLogic.isHiddenFile(member))\n .length\n }\n\n private isRootSpecialFolder (resource: Resource) {\n if (!resource.isContainer) return false\n const label = utils.label(resource.subject).toLowerCase()\n return label === 'public' || label === 'trash'\n }\n\n private getResourcesFromStore () {\n const resources = this.subject\n ? [...getResourcesForContainer(this.subject, this.resourceLogic).values()]\n : []\n\n const optimistic = this.optimisticResources.filter(resource =>\n !resources.some(confirmed => confirmed.id === resource.id))\n const combined = [...resources, ...optimistic]\n return this.hideRootSpecialFolders\n ? combined.filter(resource => !this.isRootSpecialFolder(resource))\n : combined\n }\n\n addOptimisticResource (subject: NamedNode) {\n if (!this.resourceLogic || this.optimisticResources.some(resource => resource.id === subject.value)) return\n const next: Resource = {\n id: subject.value,\n subject,\n parentId: this.subject?.value ?? null,\n isContainer: subject.uri.endsWith('/') || this.resourceLogic.isContainer(subject)\n }\n this.optimisticResources = [...this.optimisticResources, next]\n void this.loadResources()\n }\n\n private get visibleResources () {\n const query = this.searchQuery.trim().toLowerCase()\n if (!query) return this.resources\n return this.resources.filter(resource => utils.label(resource.subject).toLowerCase().includes(query))\n }\n\n private async loadResources () {\n const generation = ++this.resourceGeneration\n const resources = this.getResourcesFromStore()\n this.resources = resources\n this.loading = false\n this.loadError = undefined\n\n if (generation !== this.resourceGeneration) return\n // Member counts and access are advisory: they load as items scroll into view.\n void this.loadResourceActionMenuItems(generation)\n }\n\n private loadResourceDetails (resource: Resource) {\n void this.loadMemberCount(resource)\n void this.loadResourceAccess(resource)\n }\n\n private async loadMemberCount (resource: Resource, generation = this.resourceGeneration) {\n if (!resource.isContainer || this.memberLoad.has(resource.id) || !this.browserContext) return\n const fetcher = this.browserContext.session.store.fetcher\n this.memberLoad = new Map(this.memberLoad).set(resource.id, 'loading')\n try {\n await this.detailsQueue.run(() => fetcher.load(resource.subject))\n if (generation !== this.resourceGeneration) return\n this.memberLoad = new Map(this.memberLoad).set(resource.id, 'loaded')\n } catch (error) {\n if (generation !== this.resourceGeneration) return\n console.warn('Unable to load folder-pane container member count', error)\n this.memberLoad = new Map(this.memberLoad).set(resource.id, 'error')\n }\n }\n\n private async loadResourceAccess (resource: Resource, generation = this.resourceGeneration) {\n if (this.resourceAccess.has(resource.id) || !this.browserContext) return\n const resourceLogic = this.browserContext.session.logic.resource\n this.resourceAccess = new Map(this.resourceAccess).set(resource.id, { state: 'unknown', canManageAccess: false })\n try {\n const metadata = await this.detailsQueue.run(() => resourceLogic.fetchMetadata(resource.subject))\n if (generation !== this.resourceGeneration) return\n const state = getResourceAccessState(metadata.access)\n this.resourceAccess = new Map(this.resourceAccess).set(resource.id, {\n state,\n canManageAccess: metadata.access.canManageAccess\n })\n } catch {\n if (generation === this.resourceGeneration) {\n this.resourceAccess = new Map(this.resourceAccess).set(resource.id, { state: 'error', canManageAccess: false })\n }\n }\n }\n\n private renderAccessIndicator (resource: Resource) {\n const access = this.resourceAccess.get(resource.id)\n if (!access) return nothing\n // The icon element has no ARIA role of its own, so `title` alone is not\n // exposed to assistive technology (WCAG 1.1.1 Non-text Content). Giving it\n // an explicit img role and label ensures the public/private state is\n // announced, not just shown as a mouse-hover tooltip.\n return access.state === 'public'\n ? html`<icon-lucide-globe class=\"resource-access-indicator resource-access-indicator--public\" role=\"img\" aria-label=\"Public\" title=\"Public\"></icon-lucide-globe>`\n : access.state === 'private'\n ? html`<icon-lucide-lock-keyhole class=\"resource-access-indicator resource-access-indicator--private\" role=\"img\" aria-label=\"Private\" title=\"Private\"></icon-lucide-lock-keyhole>`\n : nothing\n }\n\n private resetResourceDetails () {\n this.detailsQueue.clear()\n this.detailsObserver?.disconnect()\n this.resourceAccess = new Map()\n this.memberLoad = new Map()\n }\n\n private observeResourceItems () {\n const items = Array.from(this.renderRoot.querySelectorAll<HTMLElement>('[data-resource-id]'))\n const resourcesById = new Map(this.resources.map(resource => [resource.id, resource]))\n const pending = items.filter(item => {\n const resource = resourcesById.get(item.dataset.resourceId!)\n return resource && ((resource.isContainer && !this.memberLoad.has(resource.id)) || !this.resourceAccess.has(resource.id))\n })\n if (pending.length === 0) return\n\n if (typeof IntersectionObserver === 'undefined') {\n for (const item of pending) this.loadResourceDetails(resourcesById.get(item.dataset.resourceId!)!)\n return\n }\n\n this.detailsObserver ??= new IntersectionObserver(entries => {\n for (const entry of entries) {\n if (!entry.isIntersecting) continue\n const element = entry.target as HTMLElement\n this.detailsObserver?.unobserve(element)\n const resource = this.resources.find(candidate => candidate.id === element.dataset.resourceId)\n if (resource) this.loadResourceDetails(resource)\n }\n }, { rootMargin: '200px' })\n for (const item of pending) this.detailsObserver.observe(item)\n }\n\n connectedCallback () {\n super.connectedCallback()\n // Re-observe items after a reconnect; details were dropped on disconnect.\n if (this.hasUpdated) this.requestUpdate()\n }\n\n disconnectedCallback () {\n super.disconnectedCallback()\n this.resourceGeneration++\n this.resetResourceDetails()\n }\n\n async refresh (reloadFromServer = true) {\n this.resourceGeneration++\n this.resetResourceDetails()\n this.resourceActionMenuItems = new Map()\n this.optimisticResources = []\n if (reloadFromServer && this.subject && this.browserContext) {\n try {\n await this.browserContext.session.store.fetcher.load(this.subject, {\n force: true,\n clearPreviousData: true\n })\n } catch (error) {\n await this.loadResources()\n this.loadError = 'The folder could not be refreshed. Showing the last known listing.'\n console.warn('Unable to refresh folder-pane container', error)\n return\n }\n }\n await this.loadResources()\n }\n\n private async loadResourceActionMenuItems (resourceGeneration = this.resourceGeneration) {\n const actionGeneration = ++this.actionMenuGeneration\n if (!this.browserContext) {\n this.resourceActionMenuItems = new Map()\n return\n }\n\n const menuItems = await Promise.all(this.resources.map(async resource => {\n const panes = await getRelevantPanes(resource.subject, this.browserContext!, {\n excludedPaneNames: ['sharing'],\n fallbackPaneName: 'internal'\n })\n const items = await Promise.all(panes.map(async pane => {\n const label = pane.label(resource.subject, this.browserContext!) || pane.name\n const paneWithIcon = pane as Omit<typeof pane, 'icon'> & {\n icon?: string | ((subject: NamedNode, context: DataBrowserContext) => string | undefined | Promise<string | undefined>)\n }\n const iconValue = paneWithIcon.icon\n const iconSource = typeof iconValue === 'function'\n ? await iconValue(resource.subject, this.browserContext!)\n : iconValue\n return {\n label,\n icon: iconSource,\n action: () => {\n this.dispatchEvent(new CustomEvent('resource-open-pane', {\n detail: { resource: resource.subject, paneName: pane.name },\n bubbles: true,\n composed: true\n }))\n }\n }\n }))\n return [resource.id, items] as const\n }))\n\n if (resourceGeneration === this.resourceGeneration && actionGeneration === this.actionMenuGeneration) {\n this.resourceActionMenuItems = new Map(menuItems)\n }\n }\n\n protected updated (changedProperties: Map<string, unknown>) {\n if (\n changedProperties.has('subject') ||\n changedProperties.has('resourceLogic') ||\n changedProperties.has('browserContext') ||\n changedProperties.has('hideRootSpecialFolders')\n ) {\n this.resourceGeneration++\n this.resetResourceDetails()\n this.resourceActionMenuItems = new Map()\n void this.loadResources()\n }\n this.observeResourceItems()\n }\n\n private openAccessControls (resource: Resource) {\n this.dispatchEvent(new CustomEvent(FILE_EXPLORER_MANAGE_ACCESS_EVENT, {\n detail: { subjectUri: resource.subject.uri },\n bubbles: true,\n composed: true\n }))\n }\n\n private renderResourceActionsMenu (resource: Resource, placement: 'grid' | 'list') {\n return html`\n <div\n class=\"resource-actions-menu resource-actions-menu--${placement}\"\n @click=${(event: MouseEvent) => event.stopPropagation()}\n >\n <solid-ui-resource-actions-menu\n .store=${this.browserContext?.session.store}\n .subjectUri=${resource.subject.uri}\n .handleAccessClick=${() => this.openAccessControls(resource)}\n .showAccessInMenu=${true}\n .canManageAccess=${this.resourceAccess.get(resource.id)?.canManageAccess === true}\n .menuItems=${this.resourceActionMenuItems.get(resource.id) || []}\n ></solid-ui-resource-actions-menu>\n </div>\n `\n }\n\n private renderResourceItem (resource: Resource) {\n const label = utils.label(resource.subject)\n const memberCount = resource.isContainer && this.memberLoad.get(resource.id) === 'loaded'\n ? this.getVisibleMemberCount(resource)\n : -1\n\n return html`\n <li\n class=\"resource-list-item\"\n data-resource-id=${resource.id}\n notSelectable=\"false\"\n aria-selected=\"false\"\n aria-label=${label}\n about=${resource.subject.toNT()}\n role=\"option\"\n tabindex=\"0\"\n .subject=${resource.subject}\n @click=${() => this.selectResource(resource)}\n @keydown=${(event: KeyboardEvent) => this.handleResourceKeyDown(event, resource)}\n >\n <span class=\"resource-list-main\">\n <span class=${resource.isContainer ? 'resource-list-icon resource-list-icon--container' : 'resource-list-icon'} aria-hidden=\"true\">\n ${resource.isContainer\n ? html`<icon-lucide-folder></icon-lucide-folder>`\n : html`<icon-lucide-file></icon-lucide-file>`}\n </span>\n <span class=\"resource-list-label\">${label}</span>\n ${memberCount >= 0\n ? html`<span class=\"container-member-count\">${getContainerMemberCountLabel(memberCount)}</span>`\n : nothing}\n ${this.renderAccessIndicator(resource)}\n </span>\n ${this.renderResourceActionsMenu(resource, 'list')}\n </li>\n `\n }\n\n private renderListView (resources: Resource[]) {\n return html`\n <ul class=\"resource-list\" role=\"listbox\" aria-label=\"Container resources\">\n <li class=\"resource-list-header\" role=\"presentation\" aria-hidden=\"true\">\n <span>Name</span>\n <span>Actions</span>\n </li>\n ${resources.map((resource) => this.renderResourceItem(resource))}\n </ul>\n `\n }\n\n private renderGridItem (resource: Resource) {\n const label = utils.label(resource.subject)\n const memberCount = resource.isContainer && this.memberLoad.get(resource.id) === 'loaded'\n ? this.getVisibleMemberCount(resource)\n : -1\n\n return html`\n <li\n class=\"resource-grid-item\"\n data-resource-id=${resource.id}\n notSelectable=\"false\"\n aria-selected=\"false\"\n aria-label=${label}\n about=${resource.subject.toNT()}\n role=\"option\"\n tabindex=\"0\"\n .subject=${resource.subject}\n @click=${() => this.selectResource(resource)}\n @keydown=${(event: KeyboardEvent) => this.handleResourceKeyDown(event, resource)}\n >\n <span class=${resource.isContainer ? 'resource-grid-icon resource-grid-icon--container' : 'resource-grid-icon'} aria-hidden=\"true\">\n ${resource.isContainer\n ? html`<icon-lucide-folder></icon-lucide-folder>`\n : html`<icon-lucide-file></icon-lucide-file>`}\n </span>\n ${resource.isContainer\n ? html`<span class=\"resource-grid-label resource-grid-label--container\">${label}</span>`\n : nothing}\n <div class=\"resource-grid-item-footer\">\n ${resource.isContainer && memberCount >= 0\n ? html`<span class=\"container-member-count\">${getContainerMemberCountLabel(memberCount)}</span>`\n : !resource.isContainer\n ? html`<span class=\"resource-grid-label\">${label}</span>`\n : nothing}\n ${this.renderAccessIndicator(resource)}\n </div>\n ${this.renderResourceActionsMenu(resource, 'grid')}\n </li>\n `\n }\n\n private renderGridView (resources: Resource[]) {\n return html`\n <ul class=\"resource-grid\" role=\"listbox\" aria-label=\"Container resources\">\n ${resources.map(resource => this.renderGridItem(resource))}\n </ul>\n `\n }\n\n private renderEmptyContainer () {\n if (this.searchQuery.trim()) {\n return html`\n <div class=\"folder-pane-container-empty-message\" role=\"status\">\n <h2 class=\"folder-pane-container-empty-message-title\">No resources match this search.</h2>\n </div>\n `\n }\n return html`\n <div class=\"folder-pane-container-empty-message\" role=\"status\">\n <div class=\"folder-pane-container-empty-message-icon\" aria-hidden=\"true\">\n <icon-lucide-file-box></icon-lucide-file-box>\n </div>\n <h2 class=\"folder-pane-container-empty-message-title\">This folder is empty</h2>\n <p class=\"folder-pane-container-empty-message-body\">Resources added to this folder will appear here.</p>\n </div>\n `\n }\n\n render () {\n const resources = this.visibleResources\n return html`\n <div class=\"folder-pane-container-content\">\n ${this.loadError ? html`<div class=\"folder-pane-container-error\" role=\"alert\">${this.loadError}</div>` : nothing}\n ${this.loading\n ? html`<div class=\"folder-pane-container-loading\" role=\"status\">Loading resources…</div>`\n : resources.length > 0\n ? this.view === 'grid' ? this.renderGridView(resources) : this.renderListView(resources)\n : this.renderEmptyContainer()}\n </div>\n `\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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EAAAC;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;CAAA;EAAAG;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;AAAA,GAAAjC,GAAA,GAAA,KAAA,GAtcgDN,CAAY,GAAAwC,IAAA4K,IAAA,cAAAC,GAAA;CAAA3K,cAAA;EAAA,MAAAnC,CAAA,GAAAsD,EAAA,MAAA,UAC3CxD,CAAM,GAAA6M,EAAA;CAAA;AAAA,GAAArJ,EAAAuJ,GAAA5M,IAAA,KAAA,CAAA,GAAA4M,GAAA"}
|
|
1
|
+
{"version":3,"file":"FolderPaneContainer.esm.js","names":["html","nothing","property","state","authn","authSession","customElement","preparePaneMenuItems","utils","WebComponent","resourceAccessCache","loadResourcePaneMenuItems","getContainerMemberCountLabel","getResourceAccessState","getResourcesForContainer","readStoredWacAllow","createRequestQueue","debug","styles","_classDecs","_FolderPaneContainer","_FolderPaneContainer2","_A","WeakMap","_B","_C","_D","_E","_F","_G","_H","_I","_J","_K","_L","_ref","_subjectDecs","attribute","_resourceLogicDecs","_browserContextDecs","_viewDecs","_searchQueryDecs","_resourceActionMenuItemsDecs","_resourcesDecs","_optimisticResourcesDecs","_resourceAccessDecs","_memberLoadDecs","_loadingDecs","_loadErrorDecs","_FolderPaneContainer3","FolderPaneContainer","constructor","args","_classPrivateFieldInitSpec","_initProto","_init_subject","undefined","_init_resourceLogic","_init_browserContext","_init_view","_init_searchQuery","_init_resourceActionMenuItems","Map","_init_resources","_init_optimisticResources","_init_resourceAccess","_init_memberLoad","_init_loading","_init_loadError","_defineProperty","concurrency","authGeneration","clear","detailsQueue","resourceAccess","memberLoad","resourceActionMenuLoads","requestUpdate","_classPrivateFieldGet","subject","v","_classPrivateFieldSet","resourceLogic","browserContext","view","searchQuery","resourceActionMenuItems","resources","optimisticResources","loading","loadError","selectResource","resource","dispatchEvent","CustomEvent","detail","bubbles","composed","handleResourceKeyDown","event","target","currentTarget","key","preventDefault","getVisibleMemberCount","isContainer","getContainerMembers","filter","member","isHiddenFile","length","getResourcesFromStore","values","optimistic","some","confirmed","id","combined","addOptimisticResource","value","next","parentId","uri","endsWith","loadResources","visibleResources","query","trim","toLowerCase","label","includes","generation","resourceGeneration","resetResourceDetails","loadResourceDetails","viewer","loadContainerDetails","loadResourceAccess","isCurrentAccessRequest","needsAccess","has","set","canManageAccess","loadMemberCount","memberState","get","stored","session","store","fetcher","getHeader","setResourceAccess","isPublic","delete","run","load","error","warn","message","Error","String","test","currentUser","access","cached","logic","metadata","fetchMetadata","detailsObserver","disconnect","observeResourceItems","items","Array","from","renderRoot","querySelectorAll","resourcesById","map","pending","item","dataset","resourceId","IntersectionObserver","entries","entry","isIntersecting","element","unobserve","find","candidate","rootMargin","observe","connectedCallback","authListenersAttached","events","on","handleAuthChange","hasUpdated","disconnectedCallback","off","refresh","reloadFromServer","force","clearPreviousData","updated","changedProperties","updateWorkScheduled","queueMicrotask","isConnected","openAccessControls","paneName","setResourceActionMenuItems","renderAccessIndicator","openResourcePane","getContentsMenuItem","folderPane","paneRegistry","byName","context","panes","openPane","_subject","stopPropagation","action","name","loadResourceActionMenuItems","previousLoad","accessMetadata","then","catch","contents","isCurrent","splice","handleResourceActionsMenuClick","renderResourceActionsMenu","placement","renderResourceItem","memberCount","toNT","renderListView","renderGridItem","renderGridView","renderEmptyContainer","render","e","c","_initClass","_applyDecs","_Class","_identity","default","styles","FolderPaneContainer_styles_default","_Class","_FolderPaneContainer3","_A","_B","_C","_D","_E","_F","_G","_H","_I","_J","_K","_L","_initProto","_initClass","_classDecs","_subjectDecs","_init_subject","_resourceLogicDecs","_init_resourceLogic","_browserContextDecs","_init_browserContext","_viewDecs","_init_view","_searchQueryDecs","_init_searchQuery","_resourceActionMenuItemsDecs","_init_resourceActionMenuItems","_resourcesDecs","_init_resources","_optimisticResourcesDecs","_init_optimisticResources","_resourceAccessDecs","_init_resourceAccess","_memberLoadDecs","_init_memberLoad","_loadingDecs","_init_loading","_loadErrorDecs","_init_loadError","_FolderPaneContainer2","_ref","_classPrivateFieldInitSpec","a","_checkPrivateRedeclaration","_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","p","_setFunctionName","P","j","D","I","F","l","f","N","_checkInRHS","_toPrimitive","e","_identity","customElement","_FolderPaneContainer","property","state","WebComponent","args","createRequestQueue","resourceAccessCache","resource","event","resourceLogic","member","resources","getResourcesForContainer","optimistic","confirmed","subject","next","query","utils","authGeneration","viewer","generation","needsAccess","memberState","stored","readStoredWacAllow","fetcher","error","message","authn","access","cached","metadata","getResourceAccessState","items","resourcesById","pending","item","entry","entries","element","candidate","authSession","reloadFromServer","warn","changedProperties","nothing","folderPane","preparePaneMenuItems","paneName","action","previousLoad","resourceGeneration","accessMetadata","contents","loadResourcePaneMenuItems","placement","label","memberCount","getContainerMemberCountLabel"],"sources":["../../../src/components/folder-pane-container/FolderPaneContainer.ts"],"sourcesContent":["import { html, nothing } from 'lit'\nimport { property } from 'lit/decorators.js'\nimport { state } from 'lit/decorators.js'\nimport type { DataBrowserContext } from 'pane-registry'\nimport type { NamedNode } from 'rdflib'\nimport type { ResourceMetadata } from 'solid-logic'\nimport { authn, authSession } from 'solid-logic'\nimport { customElement, preparePaneMenuItems, utils, WebComponent } from 'solid-ui'\nimport type { PaneMenuPane } from 'solid-ui'\nimport type { Resource } from '../../types'\nimport { resourceAccessCache } from '../../accessCache'\nimport { loadResourcePaneMenuItems } from '../../resourceActionItems'\nimport {\n getContainerMemberCountLabel,\n getResourceAccessState,\n getResourcesForContainer,\n readStoredWacAllow,\n type FolderPaneResourceLogic\n} from '../../helpers'\nimport { createRequestQueue } from '../../requestQueue'\nimport * as debug from '../../debug'\nimport 'solid-ui/components/resource-actions-menu'\nimport '~icons/lucide/file'\nimport '~icons/lucide/file-box'\nimport '~icons/lucide/folder'\nimport '~icons/lucide/globe'\nimport '~icons/lucide/lock-keyhole'\nimport styles from './FolderPaneContainer.styles.css'\n\ntype ResourceActionMenuItem = {\n key?: string\n label: string\n icon?: string\n action: (event: Event) => void\n}\n\ntype ResourceAccess = {\n state: 'public' | 'private' | 'unknown' | 'error'\n canManageAccess: boolean\n}\n\n@customElement('folder-pane-container')\nexport default class FolderPaneContainer extends WebComponent {\n static styles = styles\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 browserContext: DataBrowserContext | undefined = undefined\n\n @property()\n accessor view: 'grid' | 'list' = 'grid'\n\n @property()\n accessor searchQuery = ''\n\n @state()\n private accessor resourceActionMenuItems = new Map<string, ResourceActionMenuItem[]>()\n\n @state()\n private accessor resources: Resource[] = []\n @state()\n private accessor optimisticResources: Resource[] = []\n\n @state()\n private accessor resourceAccess = new Map<string, ResourceAccess>()\n\n @state()\n private accessor memberLoad = new Map<string, 'loading' | 'loaded' | 'parse-error' | 'error'>()\n\n @state()\n private accessor loading = true\n @state()\n private accessor loadError: string | undefined = undefined\n\n private resourceActionMenuLoads = new Map<string, 'loading' | 'loaded' | 'error'>()\n private resourceGeneration = 0\n private authGeneration = 0\n private updateWorkScheduled = false\n // Two at a time: each request may also need a CORS preflight, and pod hosts\n // such as solidcommunity.net rate-limit bursts.\n private detailsQueue = createRequestQueue({ concurrency: 2 })\n private detailsObserver: IntersectionObserver | undefined\n private authListenersAttached = false\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 handleResourceKeyDown (event: KeyboardEvent, resource: Resource) {\n if (event.target !== event.currentTarget) return\n\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault()\n this.selectResource(resource)\n }\n }\n\n private getVisibleMemberCount (resource: Resource) {\n if (!resource.isContainer || !this.resourceLogic) return 0\n const resourceLogic = this.resourceLogic\n return resourceLogic.getContainerMembers(resource.subject)\n .filter(member => !resourceLogic.isHiddenFile(member))\n .length\n }\n\n private getResourcesFromStore () {\n const resources = this.subject\n ? [...getResourcesForContainer(this.subject, this.resourceLogic).values()]\n : []\n\n const optimistic = this.optimisticResources.filter(resource =>\n !resources.some(confirmed => confirmed.id === resource.id))\n const combined = [...resources, ...optimistic]\n return combined\n }\n\n addOptimisticResource (subject: NamedNode) {\n if (!this.resourceLogic || this.optimisticResources.some(resource => resource.id === subject.value)) return\n const next: Resource = {\n id: subject.value,\n subject,\n parentId: this.subject?.value ?? null,\n isContainer: subject.uri.endsWith('/') || this.resourceLogic.isContainer(subject)\n }\n this.optimisticResources = [...this.optimisticResources, next]\n void this.loadResources()\n }\n\n private get visibleResources () {\n const query = this.searchQuery.trim().toLowerCase()\n if (!query) return this.resources\n return this.resources.filter(resource => utils.label(resource.subject).toLowerCase().includes(query))\n }\n\n private async loadResources () {\n const generation = ++this.resourceGeneration\n this.resetResourceDetails()\n this.resourceActionMenuItems = new Map()\n this.resourceActionMenuLoads = new Map()\n const resources = this.getResourcesFromStore()\n this.resources = resources\n this.loading = false\n this.loadError = undefined\n\n if (generation !== this.resourceGeneration) return\n }\n\n private loadResourceDetails (resource: Resource) {\n const authGeneration = this.authGeneration\n const viewer = this.viewer\n if (resource.isContainer) {\n void this.loadContainerDetails(resource, this.resourceGeneration, authGeneration, viewer)\n } else {\n void this.loadResourceAccess(resource, this.resourceGeneration, authGeneration, viewer)\n }\n }\n\n /**\n * A container's member count needs a GET, and that response already carries\n * WAC-Allow; reuse it instead of sending a HEAD (and its CORS preflight).\n */\n private isCurrentAccessRequest (generation: number, authGeneration: number, viewer: string | undefined) {\n return generation === this.resourceGeneration &&\n authGeneration === this.authGeneration &&\n viewer === this.viewer\n }\n\n private async loadContainerDetails (\n resource: Resource,\n generation = this.resourceGeneration,\n authGeneration = this.authGeneration,\n viewer = this.viewer\n ) {\n if (!this.browserContext) return\n if (!this.isCurrentAccessRequest(generation, authGeneration, viewer)) return\n const needsAccess = !this.resourceAccess.has(resource.id)\n if (needsAccess) {\n this.resourceAccess = new Map(this.resourceAccess).set(resource.id, { state: 'unknown', canManageAccess: false })\n }\n await this.loadMemberCount(resource, generation, authGeneration, viewer)\n if (!needsAccess || !this.isCurrentAccessRequest(generation, authGeneration, viewer)) return\n\n const memberState = this.memberLoad.get(resource.id)\n const stored = readStoredWacAllow(\n this.browserContext.session.store.fetcher.getHeader(resource.subject, 'wac-allow')\n )\n if (stored) {\n this.setResourceAccess(resource, {\n state: stored.isPublic ? 'public' : 'private',\n canManageAccess: stored.canManageAccess\n })\n } else if (memberState === 'error') {\n this.resourceAccess = new Map(this.resourceAccess).set(resource.id, { state: 'error', canManageAccess: false })\n } else {\n this.resourceAccess = new Map(this.resourceAccess)\n this.resourceAccess.delete(resource.id)\n await this.loadResourceAccess(resource, generation, authGeneration, viewer)\n }\n }\n\n private async loadMemberCount (\n resource: Resource,\n generation = this.resourceGeneration,\n authGeneration = this.authGeneration,\n viewer = this.viewer\n ) {\n if (!resource.isContainer || this.memberLoad.has(resource.id) || !this.browserContext) return\n const fetcher = this.browserContext.session.store.fetcher\n this.memberLoad = new Map(this.memberLoad).set(resource.id, 'loading')\n try {\n await this.detailsQueue.run(() => fetcher.load(resource.subject))\n if (!this.isCurrentAccessRequest(generation, authGeneration, viewer)) return\n this.memberLoad = new Map(this.memberLoad).set(resource.id, 'loaded')\n } catch (error) {\n if (!this.isCurrentAccessRequest(generation, authGeneration, viewer)) return\n debug.warn('Unable to load folder-pane container member count', error)\n const message = error instanceof Error ? error.message : String(error)\n const state = /parse|syntax|turtle|unexpected token/i.test(message) ? 'parse-error' : 'error'\n this.memberLoad = new Map(this.memberLoad).set(resource.id, state)\n }\n }\n\n private get viewer () {\n return authn.currentUser?.()?.value\n }\n\n private setResourceAccess (\n resource: Resource,\n access: ResourceAccess,\n authGeneration = this.authGeneration,\n viewer = this.viewer,\n generation = this.resourceGeneration\n ) {\n if (!this.isCurrentAccessRequest(generation, authGeneration, viewer)) return\n this.resourceAccess = new Map(this.resourceAccess).set(resource.id, access)\n resourceAccessCache.set(viewer, resource.subject.uri, access)\n }\n\n private async loadResourceAccess (\n resource: Resource,\n generation = this.resourceGeneration,\n authGeneration = this.authGeneration,\n viewer = this.viewer\n ) {\n if (this.resourceAccess.has(resource.id) || !this.browserContext) return\n if (!this.isCurrentAccessRequest(generation, authGeneration, viewer)) return\n const cached = resourceAccessCache.get(viewer, resource.subject.uri)\n if (cached) {\n this.resourceAccess = new Map(this.resourceAccess).set(resource.id, cached)\n return\n }\n const resourceLogic = this.browserContext.session.logic.resource\n this.resourceAccess = new Map(this.resourceAccess).set(resource.id, { state: 'unknown', canManageAccess: false })\n try {\n const metadata = await this.detailsQueue.run<ResourceMetadata>(() => resourceLogic.fetchMetadata(resource.subject))\n if (!this.isCurrentAccessRequest(generation, authGeneration, viewer)) return\n this.setResourceAccess(resource, {\n state: getResourceAccessState(metadata.access),\n canManageAccess: metadata.access.canManageAccess\n }, authGeneration, viewer, generation)\n } catch {\n if (this.isCurrentAccessRequest(generation, authGeneration, viewer)) {\n this.resourceAccess = new Map(this.resourceAccess).set(resource.id, { state: 'error', canManageAccess: false })\n }\n }\n }\n\n private resetResourceDetails () {\n this.detailsQueue.clear()\n this.detailsObserver?.disconnect()\n this.resourceAccess = new Map()\n this.memberLoad = new Map()\n }\n\n private handleAuthChange = () => {\n this.authGeneration++\n resourceAccessCache.clear()\n this.detailsQueue.clear()\n this.resourceAccess = new Map()\n this.memberLoad = new Map()\n this.resourceActionMenuLoads = new Map()\n this.requestUpdate()\n }\n\n private observeResourceItems () {\n const items = Array.from(this.renderRoot.querySelectorAll<HTMLElement>('[data-resource-id]'))\n const resourcesById = new Map(this.resources.map(resource => [resource.id, resource]))\n const pending = items.filter(item => {\n const resource = resourcesById.get(item.dataset.resourceId!)\n return resource && ((resource.isContainer && !this.memberLoad.has(resource.id)) || !this.resourceAccess.has(resource.id))\n })\n if (pending.length === 0) return\n\n if (typeof IntersectionObserver === 'undefined') {\n for (const item of pending) this.loadResourceDetails(resourcesById.get(item.dataset.resourceId!)!)\n return\n }\n\n this.detailsObserver ??= new IntersectionObserver(entries => {\n for (const entry of entries) {\n if (!entry.isIntersecting) continue\n const element = entry.target as HTMLElement\n this.detailsObserver?.unobserve(element)\n const resource = this.resources.find(candidate => candidate.id === element.dataset.resourceId)\n if (resource) this.loadResourceDetails(resource)\n }\n }, { rootMargin: '200px' })\n for (const item of pending) this.detailsObserver.observe(item)\n }\n\n connectedCallback () {\n super.connectedCallback()\n if (!this.authListenersAttached) {\n authSession.events.on('login', this.handleAuthChange)\n authSession.events.on('logout', this.handleAuthChange)\n this.authListenersAttached = true\n }\n if (this.hasUpdated) this.requestUpdate()\n }\n\n disconnectedCallback () {\n if (this.authListenersAttached) {\n authSession.events.off('login', this.handleAuthChange)\n authSession.events.off('logout', this.handleAuthChange)\n this.authListenersAttached = false\n }\n super.disconnectedCallback()\n this.resourceGeneration++\n this.resourceActionMenuLoads = new Map()\n this.resetResourceDetails()\n }\n\n async refresh (reloadFromServer = true) {\n resourceAccessCache.clear()\n this.resourceGeneration++\n this.resetResourceDetails()\n this.resourceActionMenuItems = new Map()\n this.resourceActionMenuLoads = new Map()\n this.resourceAccess = new Map()\n this.optimisticResources = []\n if (reloadFromServer && this.subject && this.browserContext) {\n try {\n await this.browserContext.session.store.fetcher.load(this.subject, {\n force: true,\n clearPreviousData: true\n })\n } catch (error) {\n await this.loadResources()\n this.loadError = 'The folder could not be refreshed. Showing the last known listing.'\n debug.warn('Unable to refresh folder-pane container', error)\n return\n }\n }\n await this.loadResources()\n }\n\n protected updated (changedProperties: Map<string, unknown>) {\n if (\n changedProperties.has('subject') ||\n changedProperties.has('resourceLogic') ||\n changedProperties.has('browserContext')\n ) {\n if (!this.updateWorkScheduled) {\n this.updateWorkScheduled = true\n queueMicrotask(() => {\n this.updateWorkScheduled = false\n if (!this.isConnected) return\n this.resourceGeneration++\n this.resetResourceDetails()\n this.resourceActionMenuItems = new Map()\n void this.loadResources()\n this.observeResourceItems()\n })\n return\n }\n }\n this.observeResourceItems()\n }\n\n private openAccessControls (resource: Resource) {\n resourceAccessCache.delete(resource.subject.uri)\n this.dispatchEvent(new CustomEvent('resource-open-pane', {\n detail: { resource: resource.subject, paneName: 'sharing' },\n bubbles: true,\n composed: true\n }))\n }\n\n private setResourceActionMenuItems (resource: Resource, items: ResourceActionMenuItem[]) {\n this.resourceActionMenuItems = new Map(this.resourceActionMenuItems).set(resource.id, items)\n }\n\n private renderAccessIndicator (resource: Resource) {\n const access = this.resourceAccess.get(resource.id)\n return access?.state === 'public'\n ? html`<icon-lucide-globe class=\"resource-access-indicator resource-access-indicator--public\" role=\"img\" aria-label=\"Public\" title=\"Public\"></icon-lucide-globe>`\n : access?.state === 'private'\n ? html`<icon-lucide-lock-keyhole class=\"resource-access-indicator resource-access-indicator--private\" role=\"img\" aria-label=\"Private\" title=\"Private\"></icon-lucide-lock-keyhole>`\n : nothing\n }\n\n private openResourcePane (resource: Resource, paneName: string) {\n this.dispatchEvent(new CustomEvent('resource-open-pane', {\n detail: { resource: resource.subject, paneName },\n bubbles: true,\n composed: true\n }))\n }\n\n private async getContentsMenuItem (resource: Resource): Promise<ResourceActionMenuItem | undefined> {\n if (!resource.isContainer || !this.browserContext) return undefined\n const folderPane = this.browserContext.session.paneRegistry.byName('folder')\n if (!folderPane) return undefined\n const [item] = await preparePaneMenuItems({\n subject: resource.subject,\n context: this.browserContext,\n panes: [folderPane as PaneMenuPane],\n openPane: (_subject, paneName, event) => {\n event.stopPropagation()\n this.openResourcePane(resource, paneName)\n }\n })\n const action = item?.action ?? ((event: Event) => {\n event.stopPropagation()\n this.openResourcePane(resource, folderPane.name)\n })\n return { ...item, key: folderPane.name, label: 'Contents', action }\n }\n\n private async loadResourceActionMenuItems (resource: Resource) {\n if (!this.browserContext) return\n const authGeneration = this.authGeneration\n const viewer = this.viewer\n const previousLoad = this.resourceActionMenuLoads.get(resource.id)\n if (previousLoad === 'loading' || previousLoad === 'loaded') return\n\n const resourceGeneration = this.resourceGeneration\n if (!this.isCurrentAccessRequest(resourceGeneration, authGeneration, viewer)) return\n this.resourceActionMenuLoads.set(resource.id, 'loading')\n const accessMetadata = this.browserContext.session.logic.resource.fetchMetadata(resource.subject)\n .then((metadata: ResourceMetadata) => metadata.access)\n .catch(error => {\n debug.warn('Unable to load folder-pane access metadata for resource actions', error)\n return undefined\n })\n const contents = await this.getContentsMenuItem(resource)\n if (!this.isCurrentAccessRequest(resourceGeneration, authGeneration, viewer)) return\n if (contents) this.setResourceActionMenuItems(resource, [contents])\n\n try {\n const items: ResourceActionMenuItem[] | undefined = await loadResourcePaneMenuItems({\n resource: resource.subject,\n isContainer: resource.isContainer,\n context: this.browserContext,\n resourceLogic: this.resourceLogic,\n openPane: (paneName, event) => {\n event.stopPropagation()\n this.openResourcePane(resource, paneName)\n },\n isCurrent: () => this.isCurrentAccessRequest(resourceGeneration, authGeneration, viewer)\n })\n if (!items) return\n\n if (contents) items.splice(1, 0, contents)\n this.setResourceActionMenuItems(resource, items)\n this.resourceActionMenuLoads.set(resource.id, 'loaded')\n } catch (error) {\n if (!this.isCurrentAccessRequest(resourceGeneration, authGeneration, viewer)) return\n this.resourceActionMenuLoads.set(resource.id, 'error')\n debug.warn('Unable to load resource panes for folder-pane action menu', error)\n } finally {\n const access = await accessMetadata\n if (this.isCurrentAccessRequest(resourceGeneration, authGeneration, viewer) && access) {\n this.setResourceAccess(resource, {\n state: getResourceAccessState(access),\n canManageAccess: access.canManageAccess\n }, authGeneration, viewer, resourceGeneration)\n } else if (this.isCurrentAccessRequest(resourceGeneration, authGeneration, viewer)) {\n this.resourceAccess = new Map(this.resourceAccess).set(resource.id, {\n state: 'error',\n canManageAccess: false\n })\n }\n }\n }\n\n private handleResourceActionsMenuClick (resource: Resource) {\n void this.loadResourceActionMenuItems(resource)\n }\n\n private renderResourceActionsMenu (resource: Resource, placement: 'grid' | 'list') {\n return html`\n <div\n class=\"resource-actions-menu resource-actions-menu--${placement}\"\n @click=${(event: MouseEvent) => event.stopPropagation()}\n >\n <solid-ui-resource-actions-menu\n .store=${this.browserContext?.session.store}\n .subjectUri=${resource.subject.uri}\n .handleAccessClick=${() => this.openAccessControls(resource)}\n .showAccessInMenu=${true}\n .canManageAccess=${this.resourceAccess.get(resource.id)?.canManageAccess === true}\n .menuItems=${this.resourceActionMenuItems.get(resource.id) || []}\n @click=${() => this.handleResourceActionsMenuClick(resource)}\n ></solid-ui-resource-actions-menu>\n </div>\n `\n }\n\n private renderResourceItem (resource: Resource) {\n const label = utils.label(resource.subject)\n const memberCount = resource.isContainer && this.memberLoad.get(resource.id) === 'loaded'\n ? this.getVisibleMemberCount(resource)\n : -1\n\n return html`\n <li\n class=\"resource-list-item\"\n data-resource-id=${resource.id}\n notSelectable=\"false\"\n aria-selected=\"false\"\n aria-label=${label}\n about=${resource.subject.toNT()}\n role=\"option\"\n tabindex=\"0\"\n .subject=${resource.subject}\n @click=${() => this.selectResource(resource)}\n @keydown=${(event: KeyboardEvent) => this.handleResourceKeyDown(event, resource)}\n >\n <span class=\"resource-list-main\">\n <span class=${resource.isContainer ? 'resource-list-icon resource-list-icon--container' : 'resource-list-icon'} aria-hidden=\"true\">\n ${resource.isContainer\n ? html`<icon-lucide-folder></icon-lucide-folder>`\n : html`<icon-lucide-file></icon-lucide-file>`}\n </span>\n <span class=\"resource-list-label\">${label}</span>\n <span class=\"resource-list-meta\">\n ${memberCount >= 0\n ? html`<span class=\"container-member-count\">${getContainerMemberCountLabel(memberCount)}</span>`\n : nothing}\n ${this.renderAccessIndicator(resource)}\n </span>\n </span>\n ${this.renderResourceActionsMenu(resource, 'list')}\n </li>\n `\n }\n\n private renderListView (resources: Resource[]) {\n return html`\n <ul class=\"resource-list\" role=\"listbox\" aria-label=\"Container resources\">\n <li class=\"resource-list-header\" role=\"presentation\" aria-hidden=\"true\">\n <span>Name</span>\n <span>Actions</span>\n </li>\n ${resources.map((resource) => this.renderResourceItem(resource))}\n </ul>\n `\n }\n\n private renderGridItem (resource: Resource) {\n const label = utils.label(resource.subject)\n const memberCount = resource.isContainer && this.memberLoad.get(resource.id) === 'loaded'\n ? this.getVisibleMemberCount(resource)\n : -1\n\n return html`\n <li\n class=\"resource-grid-item\"\n data-resource-id=${resource.id}\n notSelectable=\"false\"\n aria-selected=\"false\"\n aria-label=${label}\n about=${resource.subject.toNT()}\n role=\"option\"\n tabindex=\"0\"\n .subject=${resource.subject}\n @click=${() => this.selectResource(resource)}\n @keydown=${(event: KeyboardEvent) => this.handleResourceKeyDown(event, resource)}\n >\n <span class=${resource.isContainer ? 'resource-grid-icon resource-grid-icon--container' : 'resource-grid-icon'} aria-hidden=\"true\">\n ${resource.isContainer\n ? html`<icon-lucide-folder></icon-lucide-folder>`\n : html`<icon-lucide-file></icon-lucide-file>`}\n </span>\n ${resource.isContainer\n ? html`<span class=\"resource-grid-label resource-grid-label--container\">${label}</span>`\n : nothing}\n <div class=\"resource-grid-item-footer\">\n ${resource.isContainer\n ? memberCount < 0\n ? nothing\n : html`<span class=\"container-member-count\">${getContainerMemberCountLabel(memberCount)}</span>`\n : html`<span class=\"resource-grid-label\">${label}</span>`}\n ${this.renderAccessIndicator(resource)}\n </div>\n ${this.renderResourceActionsMenu(resource, 'grid')}\n </li>\n `\n }\n\n private renderGridView (resources: Resource[]) {\n return html`\n <ul class=\"resource-grid\" role=\"listbox\" aria-label=\"Container resources\">\n ${resources.map(resource => this.renderGridItem(resource))}\n </ul>\n `\n }\n\n private renderEmptyContainer () {\n if (this.searchQuery.trim()) {\n return html`\n <div class=\"folder-pane-container-empty-message\" role=\"status\">\n <h2 class=\"folder-pane-container-empty-message-title\">No resources match this search.</h2>\n </div>\n `\n }\n return html`\n <div class=\"folder-pane-container-empty-message\" role=\"status\">\n <div class=\"folder-pane-container-empty-message-icon\" aria-hidden=\"true\">\n <icon-lucide-file-box></icon-lucide-file-box>\n </div>\n <h2 class=\"folder-pane-container-empty-message-title\">This folder is empty</h2>\n <p class=\"folder-pane-container-empty-message-body\">Resources added to this folder will appear here.</p>\n </div>\n `\n }\n\n render () {\n const resources = this.visibleResources\n return html`\n <div class=\"folder-pane-container-content\">\n ${this.loadError ? html`<div class=\"folder-pane-container-error\" role=\"alert\">${this.loadError}</div>` : nothing}\n ${this.loading\n ? html`<div class=\"folder-pane-container-loading\" role=\"status\">Loading resources…</div>`\n : resources.length > 0\n ? this.view === 'grid' ? this.renderGridView(resources) : this.renderListView(resources)\n : this.renderEmptyContainer()}\n </div>\n `\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BqDmB,KAAA,CAcpDb,EAAc,uBAAuB,CAAC;AAAA,IAAAc;AAAA,KAAAC,MAAAC,kBAAA,IAAAC,QAAA,GAAAC,kBAAA,IAAAD,QAAA,GAAAE,kBAAA,IAAAF,QAAA,GAAAG,kBAAA,IAAAH,QAAA,GAAAI,kBAAA,IAAAJ,QAAA,GAAAK,kBAAA,IAAAL,QAAA,GAAAM,kBAAA,IAAAN,QAAA,GAAAO,kBAAA,IAAAP,QAAA,GAAAQ,kBAAA,IAAAR,QAAA,GAAAS,kBAAA,IAAAT,QAAA,GAAAU,kBAAA,IAAAV,QAAA,GAAAW,kBAAA,IAAAX,QAAA,GAAAY,MAAAC,KAIpClC,EAAS,EAAEmC,WAAW,GAAM,CAAC,GAACC,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,CAAS,IACvF,KAAK2J,qBAAqB,EAAC;;;CAGrC;AACF,GAAC,CAAAE,GAAA,CAAA7L,IAAAE,IAAAC,GAAAC,GAAAC,GAAAC,GAAAE,GAAAC,GAAAC,GAAAC,IAAAC,IAAAC,IAAAd,IAAA+L,GAAA,CAAAjO,GAAAkO,OAAAC,GAAAtM,GAAA;CAAA;EAAAb;EAAA;EAAA;CAAA;CAAA;EAAAE;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;CAAA;EAAAC;EAAA;EAAA;CAAA;AAAA,GAAA7B,IAAA,GAAA,KAAA,GAhmBgDV,CAAY,GAAAwC,IAAAuM,IAAA,cAAAC,GAAA;CAAAtM,cAAA;EAAA,MAAA/B,CAAA,GAAAiD,EAAA,MAAA,UAC3CnD,CAAM,GAAAoO,GAAA;CAAA;AAAA,GAAAjL,EAAAmL,GAAAnO,IAAA,KAAA,CAAA,GAAAmO,GAAA"}
|
|
@@ -1,2 +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:
|
|
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{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:transparent transparent;flex-direction:column;flex:auto;width:100%;height: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:center;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:206px;width:min(206px,100%);min-width:0;max-width:206px;min-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:60px;height:80px;margin:12px auto 0;display:flex}:host .resource-grid-icon icon-lucide-file{width:64px;height:64px;color:var(--solid-ui-color-gray-400,#99a1af);stroke:var(--solid-ui-color-gray-400,#99a1af)}: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);overflow-wrap:anywhere;white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0;max-height:2.5em;font-weight:500;line-height:1.25;display:-webkit-box;overflow:hidden}:host .resource-list-meta{flex:none;align-items:center;gap:8px;display:flex}: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 .resource-grid-label{flex:auto}:host .resource-grid-item-footer{box-sizing:border-box;border-top:1px solid var(--solid-ui-color-gray-200,#cbd5e1);flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:40px;margin-top:auto;padding:8px 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}@media (width<=768px){:host,:host .folder-pane-container-content{height:auto;min-height:0;overflow:visible}:host .resource-grid{gap:15px}:host .resource-grid,:host .resource-list{padding:0}:host .resource-grid-item{flex:0 0 calc(50% - 7.5px);width:calc(50% - 7.5px);max-width:none}:host .resource-grid-label{font-size:10px}:host .resource-grid-label.resource-grid-label--container{font-size:14px}:host .resource-list-item{align-items:flex-start}}: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:14px;height:14px;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)}@media (width<=768px){:host .resource-list-main{grid-template-columns:auto minmax(0,1fr);grid-template-areas:\"icon label\"\"icon meta\";align-items:center;gap:2px 10px;display:grid}:host .resource-list-icon{grid-area:icon}:host .resource-list-label{grid-area:label}:host .resource-list-meta{grid-area:meta}}: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
2
|
//# sourceMappingURL=FolderPaneContainer.styles.cjs.js.map
|
|
@@ -1 +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
|
|
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 height: 100%;\n min-height: 0;\n width: 100%;\n box-sizing: border-box;\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 align-items: center;\n flex-wrap: wrap;\n flex: 1 1 auto;\n align-content: 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: 1 1 206px;\n width: min(206px, 100%);\n min-width: 0;\n max-width: 206px;\n min-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: 60px;\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 color: var(--solid-ui-color-gray-400, #99a1af);\n stroke: var(--solid-ui-color-gray-400, #99a1af);\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 line-height: 1.25;\n min-width: 0;\n overflow: hidden;\n overflow-wrap: anywhere;\n white-space: normal;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n max-height: calc(2 * 1.25em);\n }\n\n .resource-list-meta {\n display: flex;\n align-items: center;\n gap: 8px;\n flex: 0 0 auto;\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 .resource-grid-label {\n flex: 1 1 auto;\n }\n\n .resource-grid-item-footer {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex: 0 0 auto;\n margin-top: auto;\n min-height: 40px;\n box-sizing: border-box;\n padding: 8px 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 @media (max-width: 768px) {\n & {\n height: auto;\n min-height: 0;\n overflow: visible;\n }\n\n .folder-pane-container-content {\n height: auto;\n min-height: 0;\n overflow: visible;\n }\n\n .resource-grid {\n gap: 15px;\n }\n\n .resource-grid,\n .resource-list {\n padding: 0;\n }\n\n .resource-grid-item {\n flex: 0 0 calc((100% - 15px) / 2);\n width: calc((100% - 15px) / 2);\n max-width: none;\n }\n\n .resource-grid-label {\n font-size: 10px;\n }\n\n .resource-grid-label.resource-grid-label--container {\n font-size: 14px;\n }\n\n .resource-list-item {\n align-items: flex-start;\n }\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: 14px;\n height: 14px;\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 @media (max-width: 768px) {\n .resource-list-main {\n display: grid;\n grid-template-columns: auto minmax(0, 1fr);\n grid-template-areas:\n \"icon label\"\n \"icon meta\";\n column-gap: 10px;\n row-gap: 2px;\n align-items: center;\n }\n\n .resource-list-icon {\n grid-area: icon;\n }\n\n .resource-list-label {\n grid-area: label;\n }\n\n .resource-list-meta {\n grid-area: meta;\n }\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":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { css as e } from "lit";
|
|
2
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:
|
|
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{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:transparent transparent;flex-direction:column;flex:auto;width:100%;height: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:center;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:206px;width:min(206px,100%);min-width:0;max-width:206px;min-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:60px;height:80px;margin:12px auto 0;display:flex}:host .resource-grid-icon icon-lucide-file{width:64px;height:64px;color:var(--solid-ui-color-gray-400,#99a1af);stroke:var(--solid-ui-color-gray-400,#99a1af)}: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);overflow-wrap:anywhere;white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0;max-height:2.5em;font-weight:500;line-height:1.25;display:-webkit-box;overflow:hidden}:host .resource-list-meta{flex:none;align-items:center;gap:8px;display:flex}: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 .resource-grid-label{flex:auto}:host .resource-grid-item-footer{box-sizing:border-box;border-top:1px solid var(--solid-ui-color-gray-200,#cbd5e1);flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:40px;margin-top:auto;padding:8px 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}@media (width<=768px){:host,:host .folder-pane-container-content{height:auto;min-height:0;overflow:visible}:host .resource-grid{gap:15px}:host .resource-grid,:host .resource-list{padding:0}:host .resource-grid-item{flex:0 0 calc(50% - 7.5px);width:calc(50% - 7.5px);max-width:none}:host .resource-grid-label{font-size:10px}:host .resource-grid-label.resource-grid-label--container{font-size:14px}:host .resource-list-item{align-items:flex-start}}: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:14px;height:14px;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)}@media (width<=768px){:host .resource-list-main{grid-template-columns:auto minmax(0,1fr);grid-template-areas:\"icon label\"\"icon meta\";align-items:center;gap:2px 10px;display:grid}:host .resource-list-icon{grid-area:icon}:host .resource-list-label{grid-area:label}:host .resource-list-meta{grid-area:meta}}: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
4
|
export { t as default };
|
|
5
5
|
|
|
6
6
|
//# sourceMappingURL=FolderPaneContainer.styles.esm.js.map
|
|
@@ -1 +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
|
|
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 height: 100%;\n min-height: 0;\n width: 100%;\n box-sizing: border-box;\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 align-items: center;\n flex-wrap: wrap;\n flex: 1 1 auto;\n align-content: 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: 1 1 206px;\n width: min(206px, 100%);\n min-width: 0;\n max-width: 206px;\n min-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: 60px;\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 color: var(--solid-ui-color-gray-400, #99a1af);\n stroke: var(--solid-ui-color-gray-400, #99a1af);\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 line-height: 1.25;\n min-width: 0;\n overflow: hidden;\n overflow-wrap: anywhere;\n white-space: normal;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n max-height: calc(2 * 1.25em);\n }\n\n .resource-list-meta {\n display: flex;\n align-items: center;\n gap: 8px;\n flex: 0 0 auto;\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 .resource-grid-label {\n flex: 1 1 auto;\n }\n\n .resource-grid-item-footer {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex: 0 0 auto;\n margin-top: auto;\n min-height: 40px;\n box-sizing: border-box;\n padding: 8px 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 @media (max-width: 768px) {\n & {\n height: auto;\n min-height: 0;\n overflow: visible;\n }\n\n .folder-pane-container-content {\n height: auto;\n min-height: 0;\n overflow: visible;\n }\n\n .resource-grid {\n gap: 15px;\n }\n\n .resource-grid,\n .resource-list {\n padding: 0;\n }\n\n .resource-grid-item {\n flex: 0 0 calc((100% - 15px) / 2);\n width: calc((100% - 15px) / 2);\n max-width: none;\n }\n\n .resource-grid-label {\n font-size: 10px;\n }\n\n .resource-grid-label.resource-grid-label--container {\n font-size: 14px;\n }\n\n .resource-list-item {\n align-items: flex-start;\n }\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: 14px;\n height: 14px;\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 @media (max-width: 768px) {\n .resource-list-main {\n display: grid;\n grid-template-columns: auto minmax(0, 1fr);\n grid-template-areas:\n \"icon label\"\n \"icon meta\";\n column-gap: 10px;\n row-gap: 2px;\n align-items: center;\n }\n\n .resource-list-icon {\n grid-area: icon;\n }\n\n .resource-list-label {\n grid-area: label;\n }\n\n .resource-list-meta {\n grid-area: meta;\n }\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":""}
|
|
@@ -1,2 +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;
|
|
1
|
+
var e=require("lit").css`:host{box-sizing:border-box;flex-direction:column;flex:1 0;align-self:stretch;align-items:stretch;gap:20px;width:100%;min-width:0;height:100%;min-height:0;padding:10px 16px;display:flex;overflow:hidden auto}::slotted(*){flex:auto;min-height:0}@media (width<=768px){:scope{height:auto;min-height:0;overflow:visible}}`;exports.default=e;
|
|
2
2
|
//# sourceMappingURL=FolderPaneContent.styles.cjs.js.map
|
|
@@ -1 +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":""}
|
|
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 box-sizing: border-box;\n flex-direction: column;\n flex: 1 1 0%;\n padding: 10px 16px;\n align-items: stretch;\n gap: 20px;\n flex-shrink: 0;\n align-self: stretch;\n height: 100%;\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\n@media (max-width: 768px) {\n & {\n height: auto;\n min-height: 0;\n overflow: visible;\n }\n}\n"],"mappings":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { css as e } from "lit";
|
|
2
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}`;
|
|
3
|
+
var t = e`:host{box-sizing:border-box;flex-direction:column;flex:1 0;align-self:stretch;align-items:stretch;gap:20px;width:100%;min-width:0;height:100%;min-height:0;padding:10px 16px;display:flex;overflow:hidden auto}::slotted(*){flex:auto;min-height:0}@media (width<=768px){:scope{height:auto;min-height:0;overflow:visible}}`;
|
|
4
4
|
export { t as default };
|
|
5
5
|
|
|
6
6
|
//# sourceMappingURL=FolderPaneContent.styles.esm.js.map
|
|
@@ -1 +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":""}
|
|
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 box-sizing: border-box;\n flex-direction: column;\n flex: 1 1 0%;\n padding: 10px 16px;\n align-items: stretch;\n gap: 20px;\n flex-shrink: 0;\n align-self: stretch;\n height: 100%;\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\n@media (max-width: 768px) {\n & {\n height: auto;\n min-height: 0;\n overflow: visible;\n }\n}\n"],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const e=require("../../primitives/context.cjs.js"),t=require("./FolderPaneProvider.styles.cjs.js");let n=require("lit"),r=require("lit/decorators.js"),i=require("@lit/context");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;function N(e,t,n){P(e,t),t.set(e,n)}function P(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}function F(e,t,n){return e.set(L(e,t),n),n}function I(e,t){return e.get(L(e,t))}function L(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 R(e,t,n){return(t=B(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z(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:H(function(){return v(this)},r,`get`),set:function(e){t[4](this,e)}}:b[S]=v,f||H(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 U(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:B(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 B(e){var t=V(e,`string`);return typeof t==`symbol`?t:t+``}function V(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 H(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 U(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 W(e){return e}function G(){return{rootResource:void 0,displayedResource:void 0,activeContainer:void 0,view:`grid`,searchQuery:``,canCreate:!1}}g=[(0,r.customElement)(`folder-pane-provider`)];var K;new(j=(s=new WeakMap,c=new WeakMap,l=new WeakMap,u=new WeakMap,d=new WeakMap,f=new WeakMap,p=new WeakMap,M=(_=(0,r.property)({attribute:!1}),y=(0,r.property)({attribute:!1}),x=(0,r.property)({attribute:!1}),C=(0,r.property)(),T=(0,r.property)(),D=(0,r.property)({type:Boolean}),k=(0,i.provide)({context:e.folderPaneContext}),`rootResource`),o=class extends n.LitElement{constructor(...e){super(...e),N(this,s,(m(this),v(this,void 0))),N(this,c,b(this,void 0)),N(this,l,S(this,void 0)),N(this,u,w(this,`grid`)),N(this,d,E(this,``)),N(this,f,O(this,!1)),N(this,p,A(this,G()))}get[M](){return I(s,this)}set rootResource(e){F(s,this,e)}get displayedResource(){return I(c,this)}set displayedResource(e){F(c,this,e)}get activeContainer(){return I(l,this)}set activeContainer(e){F(l,this,e)}get view(){return I(u,this)}set view(e){F(u,this,e)}get searchQuery(){return I(d,this)}set searchQuery(e){F(d,this,e)}get canCreate(){return I(f,this)}set canCreate(e){F(f,this,e)}get contextValue(){return I(p,this)}set contextValue(e){F(p,this,e)}willUpdate(e){super.willUpdate(e),(e.has(`rootResource`)||e.has(`displayedResource`)||e.has(`activeContainer`)||e.has(`view`)||e.has(`searchQuery`)||e.has(`canCreate`))&&(this.contextValue={rootResource:this.rootResource,displayedResource:this.displayedResource,activeContainer:this.activeContainer,view:this.view,searchQuery:this.searchQuery,canCreate:this.canCreate})}render(){return n.html`<slot></slot>`}},{e:[v,b,S,w,E,O,A,m],c:[K,h]}=z(o,[[_,1,`rootResource`],[y,1,`displayedResource`],[x,1,`activeContainer`],[C,1,`view`],[T,1,`searchQuery`],[D,1,`canCreate`],[k,1,`contextValue`]],g,0,void 0,n.LitElement),o),a=class extends W{constructor(){super(K),R(this,`styles`,t.default),h()}},R(a,j,void 0),a),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return K}});
|
|
2
|
+
//# sourceMappingURL=FolderPaneProvider.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FolderPaneProvider.cjs.js","names":["html","LitElement","provide","customElement","property","folderPaneContext","styles","createContextValue","rootResource","undefined","displayedResource","activeContainer","view","searchQuery","canCreate","_classDecs","_FolderPaneProvider","_FolderPaneProvider2","_A","WeakMap","_B","_C","_D","_E","_F","_G","_ref","_rootResourceDecs","attribute","_displayedResourceDecs","_activeContainerDecs","_viewDecs","_searchQueryDecs","_canCreateDecs","type","Boolean","_contextValueDecs","context","_FolderPaneProvider3","FolderPaneProvider","constructor","args","_classPrivateFieldInitSpec","_initProto","_init_rootResource","_init_displayedResource","_init_activeContainer","_init_view","_init_searchQuery","_init_canCreate","_init_contextValue","_classPrivateFieldGet","v","_classPrivateFieldSet","contextValue","willUpdate","changedProperties","has","render","e","c","_initClass","_applyDecs","_Class","_identity","_defineProperty","default","customElement","property","provide","folderPaneContext","LitElement","styles","require_context","require_FolderPaneProvider_styles","lit","lit_decorators_js","_lit_context","_Class","_FolderPaneProvider3","_A","_B","_C","_D","_E","_F","_G","_initProto","_initClass","_classDecs","_rootResourceDecs","_init_rootResource","_displayedResourceDecs","_init_displayedResource","_activeContainerDecs","_init_activeContainer","_viewDecs","_init_view","_searchQueryDecs","_init_searchQuery","_canCreateDecs","_init_canCreate","_contextValueDecs","_init_contextValue","_FolderPaneProvider2","_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","createContextValue","_FolderPaneProvider","args","changedProperties"],"sources":["../../../src/components/folder-pane-provider/FolderPaneProvider.ts"],"sourcesContent":["import { html, LitElement, type PropertyValues } from 'lit'\nimport { provide } from '@lit/context'\nimport { customElement, property } from 'lit/decorators.js'\nimport type { NamedNode } from 'rdflib'\nimport {\n folderPaneContext,\n type FolderPaneContext,\n type FolderPaneViewMode\n} from '../../primitives/context'\nimport styles from './FolderPaneProvider.styles.css'\n\nfunction createContextValue (): FolderPaneContext {\n return {\n rootResource: undefined,\n displayedResource: undefined,\n activeContainer: undefined,\n view: 'grid',\n searchQuery: '',\n canCreate: false\n }\n}\n\n@customElement('folder-pane-provider')\nexport default class FolderPaneProvider extends LitElement {\n static styles = styles\n\n @property({ attribute: false })\n accessor rootResource: NamedNode | undefined = undefined\n\n @property({ attribute: false })\n accessor displayedResource: NamedNode | undefined = undefined\n\n @property({ attribute: false })\n accessor activeContainer: NamedNode | undefined = undefined\n\n @property()\n accessor view: FolderPaneViewMode = 'grid'\n\n @property()\n accessor searchQuery = ''\n\n @property({ type: Boolean })\n accessor canCreate = false\n\n @provide({ context: folderPaneContext })\n accessor contextValue: FolderPaneContext = createContextValue()\n\n protected willUpdate (changedProperties: PropertyValues<this>) {\n super.willUpdate(changedProperties)\n if (\n changedProperties.has('rootResource') ||\n changedProperties.has('displayedResource') ||\n changedProperties.has('activeContainer') ||\n changedProperties.has('view') ||\n changedProperties.has('searchQuery') ||\n changedProperties.has('canCreate')\n ) {\n this.contextValue = {\n rootResource: this.rootResource,\n displayedResource: this.displayedResource,\n activeContainer: this.activeContainer,\n view: this.view,\n searchQuery: this.searchQuery,\n canCreate: this.canCreate\n }\n }\n }\n\n render () {\n return html`<slot></slot>`\n }\n}\n"],"mappings":"A,szIAWA,SAASO,GAAyC,CAChD,MAAO,CACLC,aAAcC,IAAAA,GACdC,kBAAmBD,IAAAA,GACnBE,gBAAiBF,IAAAA,GACjBG,KAAM,OACNC,YAAa,GACbC,UAAW,EACb,CACF,CAACC,EAAA,EAAA,EAEAZ,EAAAA,cAAAA,CAAc,sBAAsB,CAAC,EAAA,IAAAa,EAAA,IAAAC,GAAAC,EAAA,IAAAC,QAAAC,EAAA,IAAAD,QAAAE,EAAA,IAAAF,QAAAG,EAAA,IAAAH,QAAAI,EAAA,IAAAJ,QAAAK,EAAA,IAAAL,QAAAM,EAAA,IAAAN,QAAAO,GAAAC,GAAAA,EAInCvB,EAAAA,SAAAA,CAAS,CAAEwB,UAAW,EAAM,CAAC,EAACC,GAAAA,EAG9BzB,EAAAA,SAAAA,CAAS,CAAEwB,UAAW,EAAM,CAAC,EAACE,GAAAA,EAG9B1B,EAAAA,SAAAA,CAAS,CAAEwB,UAAW,EAAM,CAAC,EAACG,GAAAA,EAG9B3B,EAAAA,SAAAA,CAAS,EAAC4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,EAAArB,EAAA,EAAA,IAAA,GAhD+Cd,EAAAA,UAAU,EAAAqC,GAAAyB,EAAA,cAAAC,CAAA,CAAAxB,aAAA,CAAA,MAAAxB,CAAA,EAAAiD,EAAA,KAAA,SACxC3D,EAAAA,OAAM,EAAAuD,EAAA,CAAA,CAAA,EAAAI,EAAAF,EAAA9C,EAAA,IAAA,EAAA,EAAA8C,G"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
import { NamedNode } from 'rdflib';
|
|
3
|
+
import { FolderPaneContext, FolderPaneViewMode } from '../../primitives/context';
|
|
4
|
+
export default class FolderPaneProvider extends LitElement {
|
|
5
|
+
static styles: any;
|
|
6
|
+
accessor rootResource: NamedNode | undefined;
|
|
7
|
+
accessor displayedResource: NamedNode | undefined;
|
|
8
|
+
accessor activeContainer: NamedNode | undefined;
|
|
9
|
+
accessor view: FolderPaneViewMode;
|
|
10
|
+
accessor searchQuery: string;
|
|
11
|
+
accessor canCreate: boolean;
|
|
12
|
+
accessor contextValue: FolderPaneContext;
|
|
13
|
+
protected willUpdate(changedProperties: PropertyValues<this>): void;
|
|
14
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=FolderPaneProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FolderPaneProvider.d.ts","sourceRoot":"","sources":["../../../src/components/folder-pane-provider/FolderPaneProvider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAA;AAG3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AACvC,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACxB,MAAM,0BAA0B,CAAA;AAejC,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,UAAU;IACxD,MAAM,CAAC,MAAM,MAAS;IAGtB,QAAQ,CAAC,YAAY,EAAE,SAAS,GAAG,SAAS,CAAY;IAGxD,QAAQ,CAAC,iBAAiB,EAAE,SAAS,GAAG,SAAS,CAAY;IAG7D,QAAQ,CAAC,eAAe,EAAE,SAAS,GAAG,SAAS,CAAY;IAG3D,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAS;IAG1C,QAAQ,CAAC,WAAW,SAAK;IAGzB,QAAQ,CAAC,SAAS,UAAQ;IAG1B,QAAQ,CAAC,YAAY,EAAE,iBAAiB,CAAuB;IAE/D,SAAS,CAAC,UAAU,CAAE,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC;IAqB7D,MAAM;CAGP"}
|