@aceshooting/lyra-ui 12.1.1 → 12.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.
Files changed (63) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/custom-elements.json +1 -1
  3. package/dist/cli/migration-contract.json +1 -1
  4. package/dist/components/agent-tools/span-waterfall/span-waterfall.class.js +2 -2
  5. package/dist/components/agent-tools/stack-trace/stack-trace.class.js +2 -2
  6. package/dist/components/agent-tools/subagent-panel/subagent-panel.class.js +2 -2
  7. package/dist/components/agent-tools/task-list/task-list.class.js +2 -2
  8. package/dist/components/conversation/push-to-talk/push-to-talk.class.js +1 -1
  9. package/dist/components/data/calendar/calendar.class.js +1 -1
  10. package/dist/components/data/data-grid/data-grid.class.d.ts +5 -0
  11. package/dist/components/data/data-grid/data-grid.class.js +1 -1
  12. package/dist/components/data/flow-canvas/flow-canvas.class.d.ts +1 -0
  13. package/dist/components/data/flow-canvas/flow-canvas.class.js +4 -4
  14. package/dist/components/data/flow-canvas/flow-model.js +1 -1
  15. package/dist/components/data/pagination/pagination.class.js +1 -1
  16. package/dist/components/data/sparkline/sparkline.class.js +1 -1
  17. package/dist/components/data/stat/stat.class.js +1 -1
  18. package/dist/components/forms/button/button.class.js +2 -2
  19. package/dist/components/forms/checkbox-group/checkbox-group.class.js +2 -2
  20. package/dist/components/forms/date-picker/date-input.class.js +1 -1
  21. package/dist/components/forms/input/input.class.js +1 -1
  22. package/dist/components/forms/input/time-input.class.js +3 -3
  23. package/dist/components/forms/radio/radio.class.d.ts +1 -0
  24. package/dist/components/forms/radio/radio.class.js +1 -1
  25. package/dist/components/layout/segmented/segmented.class.js +1 -1
  26. package/dist/components/layout/tab-group/tab-group.class.js +1 -1
  27. package/dist/components/media/flag/flag.class.js +3 -3
  28. package/dist/components/overlays/dialog/dialog.class.js +1 -1
  29. package/dist/components/retrieval/graph/graph-model.d.ts +7 -2
  30. package/dist/components/retrieval/graph/graph-model.js +1 -1
  31. package/dist/components/retrieval/graph/graph.class.js +1 -1
  32. package/dist/components/retrieval/grounding-summary/grounding-summary.class.js +1 -1
  33. package/dist/components/retrieval/ingestion-queue/ingestion-queue.class.js +3 -3
  34. package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.class.js +1 -1
  35. package/dist/components/retrieval/retrieval-compare/retrieval-compare.class.js +2 -2
  36. package/dist/components/retrieval/retrieval-identity.d.ts +3 -0
  37. package/dist/components/retrieval/retrieval-identity.js +1 -1
  38. package/dist/components/retrieval/retrieval-results/retrieval-results.class.js +2 -2
  39. package/dist/components/retrieval/source-list/source-list.class.d.ts +2 -2
  40. package/dist/components/retrieval/source-list/source-list.class.js +1 -1
  41. package/dist/components/retrieval/source-picker/source-picker.class.d.ts +2 -0
  42. package/dist/components/retrieval/source-picker/source-picker.class.js +4 -4
  43. package/dist/components/utility/divider/divider.class.js +1 -1
  44. package/dist/components/utility/export-button/export-button.class.js +1 -1
  45. package/dist/components/viewers/document-preview/document-preview.class.d.ts +3 -3
  46. package/dist/components/viewers/geojson-view/geojson-viewer.class.d.ts +3 -1
  47. package/dist/components/viewers/passive-markup.js +1 -1
  48. package/dist/internal/autoloader-manifest.js +1 -1
  49. package/dist/internal/package-metadata.d.ts +1 -1
  50. package/dist/internal/package-metadata.js +1 -1
  51. package/llms/components/lr-command-palette.md +1 -1
  52. package/llms/components/lr-date-input.md +1 -1
  53. package/llms/components/lr-date-picker.md +1 -1
  54. package/llms/components/lr-document-preview.md +9 -8
  55. package/llms/components/lr-docx-viewer.md +3 -2
  56. package/llms/components/lr-filter-bar.md +2 -2
  57. package/llms/components/lr-geojson-view.md +2 -1
  58. package/llms/components/lr-geojson-viewer.md +2 -1
  59. package/llms/components/lr-map.md +1 -1
  60. package/llms-full.txt +19 -16
  61. package/package.json +1 -1
  62. package/vscode-html-data.json +1 -1
  63. package/web-types.json +6 -6
@@ -1,4 +1,4 @@
1
- var __decorate=function(decorators,target,key,desc){var c=arguments.length,r=c<3?target:desc===null?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(c<3?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r};import{html,nothing}from"lit";import{property,state}from"lit/decorators.js";import{styleMap}from"lit/directives/style-map.js";import{hostAriaLabel}from"../../../internal/a11y.js";import{LyraElement}from"../../../internal/lyra-element.js";import{isNonBlankIdentity}from"../retrieval-identity.js";import{isRtl}from"../../../internal/rtl.js";import"../../media/file-icon/file-icon.class.js";import"../../forms/input/input.class.js";import"../../forms/checkbox/checkbox.class.js";import"../../overlays/empty/empty.class.js";import{styles}from"./source-picker.styles.js";import{trueDefaultBooleanConverter}from"../../../internal/converters.js";import{getNumberFormat}from"../../../internal/intl-cache.js";import{activeElementIn}from"../../../internal/active-element.js";import{acquireAnnouncementSink}from"../../../internal/announcer.js";import{LYRA_DEFAULT_collapse,LYRA_DEFAULT_date,LYRA_DEFAULT_details,LYRA_DEFAULT_fieldRequired,LYRA_DEFAULT_fileSizeUnitB,LYRA_DEFAULT_fileSizeUnitGb,LYRA_DEFAULT_fileSizeUnitKb,LYRA_DEFAULT_fileSizeUnitMb,LYRA_DEFAULT_fileSizeUnitTb,LYRA_DEFAULT_map,LYRA_DEFAULT_navigation,LYRA_DEFAULT_noData,LYRA_DEFAULT_noMatches,LYRA_DEFAULT_open,LYRA_DEFAULT_popover,LYRA_DEFAULT_progress,LYRA_DEFAULT_restore,LYRA_DEFAULT_search,LYRA_DEFAULT_select,LYRA_DEFAULT_selectAllSources,LYRA_DEFAULT_sourceListDefaultLabel,LYRA_DEFAULT_sourcePickerSelection,LYRA_DEFAULT_valueInvalid}from"../../../internal/default-strings.generated.js";const MAX_SOURCE_NODES=2e3,MAX_SOURCE_DEPTH=64;class LyraSourcePicker extends LyraElement{constructor(){super(...arguments),this.sources=[],this.selectedSourceIds=[],this.showSelectAll=!0,this.searchable=!0,this.accessibleLabel=null,this.expandedIds=new Set,this.query="",this.activeId=null,this.keyboardFocusGeneration=0,this.isMounting=!0,this.lastFilterAnnouncement="",this.onTreeKeyDown=e=>{const rows=this.visibleRows();if(rows.length===0)return;const currentIndex=Math.max(0,rows.findIndex(r=>r.entry.id===this.activeId)),current=rows[currentIndex],rtl=isRtl(this),expandKey=rtl?"ArrowLeft":"ArrowRight",collapseKey=rtl?"ArrowRight":"ArrowLeft";switch(e.key){case"ArrowDown":e.preventDefault(),this.focusRowByIndex(Math.min(rows.length-1,currentIndex+1),rows);break;case"ArrowUp":e.preventDefault(),this.focusRowByIndex(Math.max(0,currentIndex-1),rows);break;case"Home":e.preventDefault(),this.focusRowByIndex(0,rows);break;case"End":e.preventDefault(),this.focusRowByIndex(rows.length-1,rows);break;case expandKey:if(e.preventDefault(),current.hasChildren&&!this.expandedIds.has(current.entry.id))this.expandedIds=new Set(this.expandedIds).add(current.entry.id);else if(current.hasChildren){const next=this.visibleRows()[currentIndex+1];next&&next.depth>current.depth&&this.focusRowByIndex(currentIndex+1,this.visibleRows())}break;case collapseKey:if(e.preventDefault(),current.hasChildren&&this.expandedIds.has(current.entry.id)){const set=new Set(this.expandedIds);set.delete(current.entry.id),this.expandedIds=set}else for(let i=currentIndex-1;i>=0;i--)if(rows[i].depth<current.depth){this.focusRowByIndex(i,rows);break}break;case"Enter":case" ":e.preventDefault(),this.toggleEntry(current.entry);break;default:return}}}static{this.defaultStrings={...super.defaultStrings,collapse:LYRA_DEFAULT_collapse,date:LYRA_DEFAULT_date,details:LYRA_DEFAULT_details,fieldRequired:LYRA_DEFAULT_fieldRequired,fileSizeUnitB:LYRA_DEFAULT_fileSizeUnitB,fileSizeUnitGb:LYRA_DEFAULT_fileSizeUnitGb,fileSizeUnitKb:LYRA_DEFAULT_fileSizeUnitKb,fileSizeUnitMb:LYRA_DEFAULT_fileSizeUnitMb,fileSizeUnitTb:LYRA_DEFAULT_fileSizeUnitTb,map:LYRA_DEFAULT_map,navigation:LYRA_DEFAULT_navigation,noData:LYRA_DEFAULT_noData,noMatches:LYRA_DEFAULT_noMatches,open:LYRA_DEFAULT_open,popover:LYRA_DEFAULT_popover,progress:LYRA_DEFAULT_progress,restore:LYRA_DEFAULT_restore,search:LYRA_DEFAULT_search,select:LYRA_DEFAULT_select,selectAllSources:LYRA_DEFAULT_selectAllSources,sourceListDefaultLabel:LYRA_DEFAULT_sourceListDefaultLabel,sourcePickerSelection:LYRA_DEFAULT_sourcePickerSelection,valueInvalid:LYRA_DEFAULT_valueInvalid}}static{this.ownedCollectionProperties=Object.freeze(["sources","selectedSourceIds"])}static{this.styles=[LyraElement.styles,styles]}static{this.immutableEventDetails=Object.freeze(["lr-sources-change"])}connectedCallback(){super.connectedCallback(),this.announcementSink??=acquireAnnouncementSink("polite",{document:this.ownerDocument,source:this})}disconnectedCallback(){this.isMounting=!0,this.lastFilterAnnouncement="",this.announcementSink?.release(),this.announcementSink=void 0,super.disconnectedCallback()}get sourceModel(){if(this.normalizedInput===this.sources&&this.normalizedModel)return this.normalizedModel;const roots=[],nodes=[],byEntry=new WeakMap,seenObjects=new WeakSet,seenIds=new Set;let limited=!1;const stack=[];stack.push({sources:this.sources,target:roots,depth:0,index:0});let inspected=0;for(;stack.length;){const frame=stack[stack.length-1];if(frame.index>=frame.sources.length){stack.pop();continue}if(inspected>=MAX_SOURCE_NODES){limited=!0;break}const source=frame.sources[frame.index++];if(inspected++,!source||typeof source!="object"||seenObjects.has(source)||!isNonBlankIdentity(source.id)||seenIds.has(source.id)){limited=!0;continue}if(nodes.length>=MAX_SOURCE_NODES||frame.depth>MAX_SOURCE_DEPTH){limited=!0;continue}seenObjects.add(source),seenIds.add(source.id);const declaredGroup=Array.isArray(source.children),entry={id:source.id,label:source.label,...source.mimeType!==void 0?{mimeType:source.mimeType}:{},...source.name!==void 0?{name:source.name}:{},...declaredGroup?{children:[]}:{}},node={entry,depth:frame.depth,children:[],leafIds:[]};declaredGroup&&(entry.children=node.children.map(child=>child.entry)),frame.target.push(node),nodes.push(node),byEntry.set(entry,node);const children=source.children??[];children.length&&frame.depth>=MAX_SOURCE_DEPTH&&(limited=!0),children.length&&frame.depth<MAX_SOURCE_DEPTH&&stack.push({sources:children,target:node.children,depth:frame.depth+1,index:0})}for(let index=nodes.length-1;index>=0;index--){const node=nodes[index];node.entry.children!==void 0&&(node.entry.children=node.children.map(child=>child.entry)),node.leafIds=node.entry.children===void 0?[node.entry.id]:[...new Set(node.children.flatMap(child=>child.leafIds))]}const leafIds=[...new Set(roots.flatMap(root=>root.leafIds))];return this.normalizedInput=this.sources,this.normalizedModel={roots,nodes,byEntry,leafIds,limited},this.normalizedModel}allLeafIds(){return this.sourceModel.leafIds}descendantLeafIds(entry){return this.sourceModel.byEntry.get(entry)?.leafIds??[]}normalizedSelectedSourceIds(){const valid=new Set(this.allLeafIds()),seen=new Set;return this.selectedSourceIds.filter(id=>!valid.has(id)||seen.has(id)?!1:(seen.add(id),!0))}checkedState(entry){const leaves=this.descendantLeafIds(entry),selected=leaves.filter(id=>this.selectedSourceIds.includes(id));return selected.length===0?"false":selected.length===leaves.length?"true":"mixed"}matchesQuery(entry){return entry.label.toLocaleLowerCase(this.effectiveLocale).includes(this.query.trim().toLocaleLowerCase(this.effectiveLocale))}isFiltering(){return this.searchable&&this.query.trim().length>0}visibleRows(){const rows=[],filtering=this.isFiltering(),matches=new Set;if(filtering)for(let index=this.sourceModel.nodes.length-1;index>=0;index--){const node=this.sourceModel.nodes[index];(this.matchesQuery(node.entry)||node.children.some(child=>matches.has(child)))&&matches.add(node)}const stack=[...this.sourceModel.roots].reverse();for(;stack.length;){const node=stack.pop();if(filtering&&!matches.has(node))continue;const hasChildren=node.entry.children!==void 0;if(rows.push({entry:node.entry,depth:node.depth,hasChildren}),hasChildren&&(filtering||this.expandedIds.has(node.entry.id)))for(let index=node.children.length-1;index>=0;index--)stack.push(node.children[index])}return rows}willUpdate(changed){if(super.willUpdate(changed),changed.has("sources")||changed.has("selectedSourceIds")){const normalized=this.normalizedSelectedSourceIds();(normalized.length!==this.selectedSourceIds.length||normalized.some((id,index)=>id!==this.selectedSourceIds[index]))&&(this.selectedSourceIds=normalized)}if(!changed.has("sources")&&!changed.has("query")&&!changed.has("expandedIds"))return;const focusedIndex=Array.from(this.renderRoot.querySelectorAll('[part~="item"]')).indexOf(activeElementIn(this.shadowRoot)),rows=this.visibleRows(),retainedIndex=rows.findIndex(row=>row.entry.id===this.activeId),nextIndex=retainedIndex>=0?retainedIndex:rows.length?Math.min(Math.max(focusedIndex,0),rows.length-1):-1;this.activeId=nextIndex>=0?rows[nextIndex].entry.id:null,focusedIndex>=0&&(this.pendingFocusIndex=nextIndex>=0?nextIndex:this.sources.length===0||!this.searchable?"base":"search")}updated(changed){super.updated(changed);const pending=this.pendingFocusIndex;pending!==void 0&&(this.pendingFocusIndex=void 0,pending==="search"?this.renderRoot.querySelector('[part~="search"]')?.focus():pending==="base"?this.renderRoot.querySelector('[part="base"]')?.focus():this.renderRoot.querySelectorAll('[part~="item"]')[pending]?.focus());const wasMounting=this.isMounting;if(this.isMounting=!1,wasMounting||!changed.has("query")&&!changed.has("sources"))return;if(!this.isFiltering()){this.lastFilterAnnouncement="";return}const count=this.visibleRows().length,signature=`${this.query.trim().toLocaleLowerCase(this.effectiveLocale)}\0${count}`;signature!==this.lastFilterAnnouncement&&(this.lastFilterAnnouncement=signature,count===0&&this.announcementSink?.announce(this.localize("noMatches")))}commitSelection(next){this.selectedSourceIds=next,this.emit("lr-sources-change",{selectedSourceIds:next})}toggleEntry(entry){const leaves=this.descendantLeafIds(entry),willSelect=this.checkedState(entry)!=="true",set=new Set(this.selectedSourceIds);for(const id of leaves)willSelect?set.add(id):set.delete(id);this.commitSelection([...set])}toggleSelectAll(){const all=this.allLeafIds(),allSelected=all.length>0&&all.every(id=>this.selectedSourceIds.includes(id));this.commitSelection(allSelected?[]:all)}focusRowByIndex(index,rows){const targetId=rows[index]?.entry.id;if(!targetId)return;this.activeId=targetId;const generation=++this.keyboardFocusGeneration;this.updateComplete.then(()=>{if(!this.isConnected||generation!==this.keyboardFocusGeneration)return;const currentIndex=this.visibleRows().findIndex(row=>row.entry.id===targetId);if(currentIndex<0)return;this.renderRoot.querySelectorAll('[part~="item"]')[currentIndex]?.focus()})}renderRow(row,active){const state2=this.checkedState(row.entry),expanded=row.hasChildren&&(this.expandedIds.has(row.entry.id)||this.isFiltering());return html`
1
+ var __decorate=function(decorators,target,key,desc){var c=arguments.length,r=c<3?target:desc===null?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(c<3?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r};import{html,nothing}from"lit";import{property,state}from"lit/decorators.js";import{styleMap}from"lit/directives/style-map.js";import{hostAriaLabel}from"../../../internal/a11y.js";import{LyraElement}from"../../../internal/lyra-element.js";import{isNonBlankIdentity}from"../retrieval-identity.js";import{isRtl}from"../../../internal/rtl.js";import"../../media/file-icon/file-icon.class.js";import"../../forms/input/input.class.js";import"../../forms/checkbox/checkbox.class.js";import"../../overlays/empty/empty.class.js";import{styles}from"./source-picker.styles.js";import{trueDefaultBooleanConverter}from"../../../internal/converters.js";import{getNumberFormat}from"../../../internal/intl-cache.js";import{activeElementIn}from"../../../internal/active-element.js";import{acquireAnnouncementSink}from"../../../internal/announcer.js";import{LYRA_DEFAULT_collapse,LYRA_DEFAULT_date,LYRA_DEFAULT_details,LYRA_DEFAULT_fieldRequired,LYRA_DEFAULT_fileSizeUnitB,LYRA_DEFAULT_fileSizeUnitGb,LYRA_DEFAULT_fileSizeUnitKb,LYRA_DEFAULT_fileSizeUnitMb,LYRA_DEFAULT_fileSizeUnitTb,LYRA_DEFAULT_map,LYRA_DEFAULT_navigation,LYRA_DEFAULT_noData,LYRA_DEFAULT_noMatches,LYRA_DEFAULT_open,LYRA_DEFAULT_popover,LYRA_DEFAULT_progress,LYRA_DEFAULT_restore,LYRA_DEFAULT_search,LYRA_DEFAULT_select,LYRA_DEFAULT_selectAllSources,LYRA_DEFAULT_sourceListDefaultLabel,LYRA_DEFAULT_sourcePickerSelection,LYRA_DEFAULT_valueInvalid}from"../../../internal/default-strings.generated.js";const MAX_SOURCE_NODES=2e3,MAX_SOURCE_DEPTH=64,EMPTY_SOURCE_ENTRIES=Object.freeze([]),EMPTY_SOURCE_IDS=Object.freeze([]);class LyraSourcePicker extends LyraElement{constructor(){super(...arguments),this.sources=[],this.selectedSourceIds=[],this.showSelectAll=!0,this.searchable=!0,this.accessibleLabel=null,this.expandedIds=new Set,this.query="",this.activeId=null,this.keyboardFocusGeneration=0,this.isMounting=!0,this.lastFilterAnnouncement="",this.onTreeKeyDown=e=>{const rows=this.visibleRows();if(rows.length===0)return;const currentIndex=Math.max(0,rows.findIndex(r=>r.entry.id===this.activeId)),current=rows[currentIndex],rtl=isRtl(this),expandKey=rtl?"ArrowLeft":"ArrowRight",collapseKey=rtl?"ArrowRight":"ArrowLeft";switch(e.key){case"ArrowDown":e.preventDefault(),this.focusRowByIndex(Math.min(rows.length-1,currentIndex+1),rows);break;case"ArrowUp":e.preventDefault(),this.focusRowByIndex(Math.max(0,currentIndex-1),rows);break;case"Home":e.preventDefault(),this.focusRowByIndex(0,rows);break;case"End":e.preventDefault(),this.focusRowByIndex(rows.length-1,rows);break;case expandKey:if(e.preventDefault(),current.hasChildren&&!this.expandedIds.has(current.entry.id))this.expandedIds=new Set(this.expandedIds).add(current.entry.id);else if(current.hasChildren){const next=this.visibleRows()[currentIndex+1];next&&next.depth>current.depth&&this.focusRowByIndex(currentIndex+1,this.visibleRows())}break;case collapseKey:if(e.preventDefault(),current.hasChildren&&this.expandedIds.has(current.entry.id)){const set=new Set(this.expandedIds);set.delete(current.entry.id),this.expandedIds=set}else for(let i=currentIndex-1;i>=0;i--)if(rows[i].depth<current.depth){this.focusRowByIndex(i,rows);break}break;case"Enter":case" ":e.preventDefault(),this.toggleEntry(current.entry);break;default:return}}}static{this.defaultStrings={...super.defaultStrings,collapse:LYRA_DEFAULT_collapse,date:LYRA_DEFAULT_date,details:LYRA_DEFAULT_details,fieldRequired:LYRA_DEFAULT_fieldRequired,fileSizeUnitB:LYRA_DEFAULT_fileSizeUnitB,fileSizeUnitGb:LYRA_DEFAULT_fileSizeUnitGb,fileSizeUnitKb:LYRA_DEFAULT_fileSizeUnitKb,fileSizeUnitMb:LYRA_DEFAULT_fileSizeUnitMb,fileSizeUnitTb:LYRA_DEFAULT_fileSizeUnitTb,map:LYRA_DEFAULT_map,navigation:LYRA_DEFAULT_navigation,noData:LYRA_DEFAULT_noData,noMatches:LYRA_DEFAULT_noMatches,open:LYRA_DEFAULT_open,popover:LYRA_DEFAULT_popover,progress:LYRA_DEFAULT_progress,restore:LYRA_DEFAULT_restore,search:LYRA_DEFAULT_search,select:LYRA_DEFAULT_select,selectAllSources:LYRA_DEFAULT_selectAllSources,sourceListDefaultLabel:LYRA_DEFAULT_sourceListDefaultLabel,sourcePickerSelection:LYRA_DEFAULT_sourcePickerSelection,valueInvalid:LYRA_DEFAULT_valueInvalid}}static{this.ownedCollectionProperties=Object.freeze(["sources","selectedSourceIds"])}static{this.styles=[LyraElement.styles,styles]}static{this.immutableEventDetails=Object.freeze(["lr-sources-change"])}get sourceEntries(){return Array.isArray(this.sources)?this.sources:EMPTY_SOURCE_ENTRIES}get selectedIds(){return Array.isArray(this.selectedSourceIds)?this.selectedSourceIds:EMPTY_SOURCE_IDS}connectedCallback(){super.connectedCallback(),this.announcementSink??=acquireAnnouncementSink("polite",{document:this.ownerDocument,source:this})}disconnectedCallback(){this.isMounting=!0,this.lastFilterAnnouncement="",this.announcementSink?.release(),this.announcementSink=void 0,super.disconnectedCallback()}get sourceModel(){if(this.normalizedInput===this.sourceEntries&&this.normalizedModel)return this.normalizedModel;const roots=[],nodes=[],byEntry=new WeakMap,seenObjects=new WeakSet,seenIds=new Set;let limited=!1;const stack=[];stack.push({sources:this.sourceEntries,target:roots,depth:0,index:0});let inspected=0;for(;stack.length;){const frame=stack[stack.length-1];if(frame.index>=frame.sources.length){stack.pop();continue}if(inspected>=MAX_SOURCE_NODES){limited=!0;break}const source=frame.sources[frame.index++];if(inspected++,!source||typeof source!="object"||seenObjects.has(source)||!isNonBlankIdentity(source.id)||!isNonBlankIdentity(source.label)||seenIds.has(source.id)){limited=!0;continue}if(nodes.length>=MAX_SOURCE_NODES||frame.depth>MAX_SOURCE_DEPTH){limited=!0;continue}seenObjects.add(source),seenIds.add(source.id);const declaredGroup=Array.isArray(source.children),entry={id:source.id,label:source.label,...source.mimeType!==void 0?{mimeType:source.mimeType}:{},...source.name!==void 0?{name:source.name}:{},...declaredGroup?{children:[]}:{}},node={entry,depth:frame.depth,children:[],leafIds:[]};declaredGroup&&(entry.children=node.children.map(child=>child.entry)),frame.target.push(node),nodes.push(node),byEntry.set(entry,node);const children=Array.isArray(source.children)?source.children:[];children.length&&frame.depth>=MAX_SOURCE_DEPTH&&(limited=!0),children.length&&frame.depth<MAX_SOURCE_DEPTH&&stack.push({sources:children,target:node.children,depth:frame.depth+1,index:0})}for(let index=nodes.length-1;index>=0;index--){const node=nodes[index];node.entry.children!==void 0&&(node.entry.children=node.children.map(child=>child.entry)),node.leafIds=node.entry.children===void 0?[node.entry.id]:[...new Set(node.children.flatMap(child=>child.leafIds))]}const leafIds=[...new Set(roots.flatMap(root=>root.leafIds))];return this.normalizedInput=this.sourceEntries,this.normalizedModel={roots,nodes,byEntry,leafIds,limited},this.normalizedModel}allLeafIds(){return this.sourceModel.leafIds}descendantLeafIds(entry){return this.sourceModel.byEntry.get(entry)?.leafIds??[]}normalizedSelectedSourceIds(){const valid=new Set(this.allLeafIds()),seen=new Set;return this.selectedIds.filter(id=>!valid.has(id)||seen.has(id)?!1:(seen.add(id),!0))}checkedState(entry){const leaves=this.descendantLeafIds(entry),selectedIds=new Set(this.normalizedSelectedSourceIds()),selected=leaves.filter(id=>selectedIds.has(id));return selected.length===0?"false":selected.length===leaves.length?"true":"mixed"}matchesQuery(entry){return entry.label.toLocaleLowerCase(this.effectiveLocale).includes(this.query.trim().toLocaleLowerCase(this.effectiveLocale))}isFiltering(){return this.searchable&&this.query.trim().length>0}visibleRows(){const rows=[],filtering=this.isFiltering(),matches=new Set;if(filtering)for(let index=this.sourceModel.nodes.length-1;index>=0;index--){const node=this.sourceModel.nodes[index];(this.matchesQuery(node.entry)||node.children.some(child=>matches.has(child)))&&matches.add(node)}const stack=[...this.sourceModel.roots].reverse();for(;stack.length;){const node=stack.pop();if(filtering&&!matches.has(node))continue;const hasChildren=node.entry.children!==void 0;if(rows.push({entry:node.entry,depth:node.depth,hasChildren}),hasChildren&&(filtering||this.expandedIds.has(node.entry.id)))for(let index=node.children.length-1;index>=0;index--)stack.push(node.children[index])}return rows}willUpdate(changed){if(super.willUpdate(changed),changed.has("sources")||changed.has("selectedSourceIds")){const normalized=this.normalizedSelectedSourceIds(),current=this.selectedIds;(normalized.length!==current.length||normalized.some((id,index)=>id!==current[index]))&&(this.selectedSourceIds=normalized)}if(!changed.has("sources")&&!changed.has("query")&&!changed.has("expandedIds"))return;const focusedIndex=Array.from(this.renderRoot.querySelectorAll('[part~="item"]')).indexOf(activeElementIn(this.shadowRoot)),rows=this.visibleRows(),retainedIndex=rows.findIndex(row=>row.entry.id===this.activeId),nextIndex=retainedIndex>=0?retainedIndex:rows.length?Math.min(Math.max(focusedIndex,0),rows.length-1):-1;this.activeId=nextIndex>=0?rows[nextIndex].entry.id:null,focusedIndex>=0&&(this.pendingFocusIndex=nextIndex>=0?nextIndex:this.sourceEntries.length===0||!this.searchable?"base":"search")}updated(changed){super.updated(changed);const pending=this.pendingFocusIndex;pending!==void 0&&(this.pendingFocusIndex=void 0,pending==="search"?this.renderRoot.querySelector('[part~="search"]')?.focus():pending==="base"?this.renderRoot.querySelector('[part="base"]')?.focus():this.renderRoot.querySelectorAll('[part~="item"]')[pending]?.focus());const wasMounting=this.isMounting;if(this.isMounting=!1,wasMounting||!changed.has("query")&&!changed.has("sources"))return;if(!this.isFiltering()){this.lastFilterAnnouncement="";return}const count=this.visibleRows().length,signature=`${this.query.trim().toLocaleLowerCase(this.effectiveLocale)}\0${count}`;signature!==this.lastFilterAnnouncement&&(this.lastFilterAnnouncement=signature,count===0&&this.announcementSink?.announce(this.localize("noMatches")))}commitSelection(next){this.selectedSourceIds=next,this.emit("lr-sources-change",{selectedSourceIds:next})}toggleEntry(entry){const leaves=this.descendantLeafIds(entry),willSelect=this.checkedState(entry)!=="true",set=new Set(this.normalizedSelectedSourceIds());for(const id of leaves)willSelect?set.add(id):set.delete(id);this.commitSelection([...set])}toggleSelectAll(){const all=this.allLeafIds(),allSelected=all.length>0&&all.every(id=>this.normalizedSelectedSourceIds().includes(id));this.commitSelection(allSelected?[]:all)}focusRowByIndex(index,rows){const targetId=rows[index]?.entry.id;if(!targetId)return;this.activeId=targetId;const generation=++this.keyboardFocusGeneration;this.updateComplete.then(()=>{if(!this.isConnected||generation!==this.keyboardFocusGeneration)return;const currentIndex=this.visibleRows().findIndex(row=>row.entry.id===targetId);if(currentIndex<0)return;this.renderRoot.querySelectorAll('[part~="item"]')[currentIndex]?.focus()})}renderRow(row,active){const state2=this.checkedState(row.entry),expanded=row.hasChildren&&(this.expandedIds.has(row.entry.id)||this.isFiltering());return html`
2
2
  <div
3
3
  part="item"
4
4
  role="treeitem"
@@ -25,9 +25,9 @@ var __decorate=function(decorators,target,key,desc){var c=arguments.length,r=c<3
25
25
  ></lr-file-icon>
26
26
  <span part="label">${row.entry.label}</span>
27
27
  </div>
28
- `}render(){const hostLabel=hostAriaLabel(this),label=hostLabel===null?this.accessibleLabel??(this.label==null?this.localize("sourceListDefaultLabel"):this.label):this.label!=null&&this.label!==hostLabel?this.label:this.localize("sourceListDefaultLabel");if(this.sources.length===0)return html`<div part="base" tabindex="-1">
28
+ `}render(){const hostLabel=hostAriaLabel(this),label=hostLabel===null?this.accessibleLabel??(this.label==null?this.localize("sourceListDefaultLabel"):this.label):this.label!=null&&this.label!==hostLabel?this.label:this.localize("sourceListDefaultLabel"),sourceModel=this.sourceModel,selectedIds=this.normalizedSelectedSourceIds();if(sourceModel.roots.length===0)return html`<div part="base" tabindex="-1">
29
29
  <lr-empty part="empty" heading=${this.localize("noData")}></lr-empty>
30
- </div>`;const rows=this.visibleRows(),activeId=this.activeId??rows[0]?.entry.id??null,allLeaves=this.allLeafIds(),numberFormat=getNumberFormat(this.effectiveLocale),selectAllState=this.selectedSourceIds.length===0?"false":allLeaves.length>0&&allLeaves.every(id=>this.selectedSourceIds.includes(id))?"true":"mixed";return html`
30
+ </div>`;const rows=this.visibleRows(),activeId=this.activeId??rows[0]?.entry.id??null,allLeaves=this.allLeafIds(),numberFormat=getNumberFormat(this.effectiveLocale),selectAllState=selectedIds.length===0?"false":allLeaves.length>0&&allLeaves.every(id=>selectedIds.includes(id))?"true":"mixed";return html`
31
31
  <div part="base" tabindex="-1">
32
32
  ${this.searchable?html`<lr-input
33
33
  part="search"
@@ -45,7 +45,7 @@ var __decorate=function(decorators,target,key,desc){var c=arguments.length,r=c<3
45
45
  >${this.localize("selectAllSources")}</lr-checkbox
46
46
  >
47
47
  <span part="summary"
48
- >${this.localize("sourcePickerSelection",void 0,{selected:numberFormat.format(this.selectedSourceIds.length),total:numberFormat.format(allLeaves.length)})}</span
48
+ >${this.localize("sourcePickerSelection",void 0,{selected:numberFormat.format(selectedIds.length),total:numberFormat.format(allLeaves.length)})}</span
49
49
  >
50
50
  </div>`:nothing}
51
51
  ${rows.length===0?html`<div part="empty">${this.localize("noMatches")}</div>`:html`<div
@@ -1,4 +1,4 @@
1
- var __decorate=function(decorators,target,key,desc){var c=arguments.length,r=c<3?target:desc===null?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(c<3?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r};import{html,nothing}from"lit";import{property}from"lit/decorators.js";import{LyraElement}from"../../../internal/lyra-element.js";import{styles}from"./divider.styles.js";class LyraDivider extends LyraElement{constructor(){super(...arguments),this.orientation="horizontal",this.vertical=!1}static{this.styles=[LyraElement.styles,styles]}render(){const orientation=this.vertical?"vertical":this.orientation;return html`<hr
1
+ var __decorate=function(decorators,target,key,desc){var c=arguments.length,r=c<3?target:desc===null?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(c<3?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r};import{html,nothing}from"lit";import{property}from"lit/decorators.js";import{LyraElement}from"../../../internal/lyra-element.js";import{styles}from"./divider.styles.js";class LyraDivider extends LyraElement{constructor(){super(...arguments),this.orientation="horizontal",this.vertical=!1}static{this.styles=[LyraElement.styles,styles]}render(){const orientation=this.vertical||this.orientation==="vertical"?"vertical":"horizontal";return html`<hr
2
2
  part="base"
3
3
  role="separator"
4
4
  aria-orientation=${orientation}
@@ -1,4 +1,4 @@
1
- var __decorate=function(decorators,target,key,desc){var c=arguments.length,r=c<3?target:desc===null?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(c<3?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r};import{html,nothing}from"lit";import{property,query}from"lit/decorators.js";import{repeat}from"lit/directives/repeat.js";import{LyraElement}from"../../../internal/lyra-element.js";import{place}from"../../../internal/positioner.js";import{nextId}from"../../../internal/a11y.js";import{buildCsv,downloadBlob}from"./csv.js";import{styles}from"./export-button.styles.js";import{activeElementIn}from"../../../internal/active-element.js";import{LYRA_DEFAULT_exportButtonLabel,LYRA_DEFAULT_exportFormatMenuLabel}from"../../../internal/default-strings.generated.js";class LyraExportButton extends LyraElement{constructor(){super(...arguments),this._rows=Object.freeze([]),this._columns=Object.freeze([]),this.filename="export",this._formats=Object.freeze(["csv"]),this.disabled=!1,this.loading=!1,this.accessibleLabel=null,this.open=!1,this.menuId=nextId("export-menu"),this._isFirstUpdate=!0,this.openVetoed=!1,this.pendingMenuFocusIndex=0,this.injectedHostTabIndex=!1,this.onDocPointer=e=>{e.composedPath().includes(this)||this.closeMenu()},this.onKeyDown=e=>{if(e.key==="Escape"){this.open&&(e.preventDefault(),this.closeMenu(),this.triggerEl?.focus());return}if(this.formats.length<=1||this.disabled||this.loading)return;const items=this.menuItemEls(),currentIndex=items.indexOf(e.target);switch(e.key){case"ArrowDown":e.preventDefault(),this.focusMenuItemOnOpen(currentIndex===-1?0:currentIndex+1);break;case"ArrowUp":e.preventDefault(),this.focusMenuItemOnOpen(currentIndex===-1?items.length-1:currentIndex-1);break;case"Home":this.open&&(e.preventDefault(),this.focusMenuItem(0));break;case"End":this.open&&(e.preventDefault(),this.focusMenuItem(items.length-1));break;case"Tab":this.closeMenu();break}}}static{this.defaultStrings={...super.defaultStrings,exportButtonLabel:LYRA_DEFAULT_exportButtonLabel,exportFormatMenuLabel:LYRA_DEFAULT_exportFormatMenuLabel}}static{this.styles=[LyraElement.styles,styles]}static{this.properties={rows:{attribute:!1,noAccessor:!0},columns:{attribute:!1,noAccessor:!0},formats:{attribute:!1,noAccessor:!0}}}get rows(){return this._rows}set rows(next){const previous=this._rows,source=Array.isArray(next)?next:[];this._rows=Object.freeze(source.map(row=>Object.freeze({...row}))),this.requestUpdate("rows",previous)}get columns(){return this._columns}set columns(next){const previous=this._columns,source=Array.isArray(next)?next:[];this._columns=Object.freeze(source.map(column=>Object.freeze({...column}))),this.requestUpdate("columns",previous)}get formats(){return this._formats}set formats(next){const previous=this._formats,source=Array.isArray(next)?next:[],seen=new Set,formats=[];for(const format of source){const snapshot=typeof format=="string"?format:Object.freeze({...format}),id=typeof snapshot=="string"?snapshot:snapshot.formatId;typeof id!="string"||id.trim()===""||seen.has(id)||(seen.add(id),formats.push(snapshot))}this._formats=Object.freeze(formats),this.requestUpdate("formats",previous)}disconnectedCallback(){super.disconnectedCallback(),this.cleanup?.(),this.cleanup=void 0,this.unbindDocumentPointer(),this.open=!1}bindDocumentPointer(){const owner=this.ownerDocument;this.pointerDocument!==owner&&(this.unbindDocumentPointer(),owner.addEventListener("pointerdown",this.onDocPointer),this.pointerDocument=owner)}unbindDocumentPointer(){this.pointerDocument?.removeEventListener("pointerdown",this.onDocPointer),this.pointerDocument=void 0}openMenu(){this.open||(this.open=!0)}closeMenu(){this.open&&(this.open=!1)}menuItemEls(){return Array.from(this.renderRoot.querySelectorAll('[part="menu-item"]'))}focusMenuItem(index){const items=this.menuItemEls();items.length!==0&&items[Math.max(0,Math.min(items.length-1,index))]?.focus()}focusMenuItemOnOpen(index){this.open?this.focusMenuItem(index):(this.pendingMenuFocusIndex=index,this.openMenu())}firstUpdated(changed){super.firstUpdated(changed),this.renderRoot.addEventListener("keydown",this.onKeyDown)}willUpdate(changed){if(super.willUpdate(changed),this._isFirstUpdate=!this.hasUpdated,this.setAttribute("aria-busy",String(this.loading)),(changed.has("disabled")||changed.has("loading"))&&!this.disabled&&!this.loading&&this.injectedHostTabIndex&&(this.getAttribute("tabindex")==="-1"&&this.removeAttribute("tabindex"),this.injectedHostTabIndex=!1),(changed.has("disabled")||changed.has("loading"))&&(this.disabled||this.loading)){const active=activeElementIn(this.shadowRoot);if(active===this.triggerEl||active?.getAttribute("part")==="menu-item"){this.hasAttribute("tabindex")||(this.tabIndex=-1,this.injectedHostTabIndex=!0);const ownerHTMLElement=this.ownerDocument.defaultView?.HTMLElement,nativeFocus=ownerHTMLElement?Reflect.get(ownerHTMLElement.prototype,"focus",this):void 0;typeof nativeFocus=="function"&&nativeFocus.call(this,{preventScroll:!0})}this.open&&(this.open=!1,this.forcedMenuClose="state")}if(changed.has("formats")){const active=activeElementIn(this.shadowRoot),index=this.menuItemEls().indexOf(active),previous=changed.get("formats")?.[index];this.formatsFocusSnapshot=index>=0&&previous?{index,id:this.formatId(previous)}:void 0}if(this.open&&this.formats.length<=1){const previousOpen=changed.get("open");this.forcedMenuClose=changed.has("formats")&&changed.get("formats")?.length?"formats":previousOpen===!1||previousOpen===void 0?"invalid-open":"state",this.open=!1}this.announceMenuTransition(changed)}announceMenuTransition(changed){if(this.openVetoed=!1,!changed.has("open")||this._isFirstUpdate||this.forcedMenuClose)return;const name=this.open?"lr-show":"lr-hide";this.emit(name,null,{cancelable:!0}).defaultPrevented&&(this.openVetoed=!0,this.open=!this.open)}updated(changed){super.updated(changed);const forcedMenuClose=this.forcedMenuClose;if(this.forcedMenuClose=void 0,(changed.has("open")||forcedMenuClose==="formats"||forcedMenuClose==="state")&&!this.openVetoed&&(this.cleanup?.(),this.cleanup=void 0,this.unbindDocumentPointer(),this.open)){const anchor=this.triggerEl,menu=this.menuEl;anchor&&menu&&(this.cleanup=place(anchor,menu)),this.bindDocumentPointer(),this.focusMenuItem(this.pendingMenuFocusIndex),this.pendingMenuFocusIndex=0}if(changed.has("formats")&&this.formatsFocusSnapshot){const{index,id}=this.formatsFocusSnapshot;this.formatsFocusSnapshot=void 0,this.scheduleAfterUpdate(()=>{if(this.formats.length<=1)this.closeMenu(),this.triggerEl?.focus();else if(this.open){const nextIndex=this.formats.findIndex(format=>this.formatId(format)===id);this.focusMenuItem(nextIndex>=0?nextIndex:index)}})}}effectiveColumns(){if(this.columns.length>0)return this.columns;const keys=new Set;for(const row of this.rows)for(const key of Object.keys(row))keys.add(key);return Array.from(keys,key=>({key,label:key}))}rowsForExport(){const keys=this.effectiveColumns().map(c=>c.key);return this.rows.map(row=>{const picked=Object.create(null);for(const key of keys)picked[key]=row[key];return picked})}formatId(format){return typeof format=="string"?format:format.formatId}formatLabel(format){return typeof format=="string"?format.toUpperCase():format.label}doExport(formatOption){if(this.disabled||this.loading)return;this.closeMenu(),this.triggerEl?.focus();const format=this.formatId(formatOption);if(!this.emit("lr-export",Object.freeze({format}),{cancelable:!0}).defaultPrevented&&!(format!=="csv"&&format!=="json"))try{format==="csv"?downloadBlob(buildCsv(this.rows,this.effectiveColumns()),`${this.filename}.csv`,"text/csv;charset=utf-8;",this.ownerDocument):downloadBlob(JSON.stringify(this.rowsForExport(),null,2),`${this.filename}.json`,"application/json",this.ownerDocument),this.emit("lr-export-complete",Object.freeze({format}))}catch(error){this.emit("lr-export-error",Object.freeze({format,error}))}}onTriggerClick(){this.disabled||this.loading||(this.formats.length<=1?this.doExport(this.formats[0]??"csv"):this.open?this.closeMenu():this.openMenu())}focus(options){this.triggerEl?.focus(options)}blur(){this.triggerEl?.blur()}click(){this.triggerEl?.click()}get effectiveLabel(){return this.label===void 0?this.localize("exportButtonLabel"):this.label}render(){const label=this.effectiveLabel,accessibleLabel=this.accessibleLabel??label;return html`
1
+ var __decorate=function(decorators,target,key,desc){var c=arguments.length,r=c<3?target:desc===null?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(c<3?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r};import{html,nothing}from"lit";import{property,query}from"lit/decorators.js";import{repeat}from"lit/directives/repeat.js";import{LyraElement}from"../../../internal/lyra-element.js";import{place}from"../../../internal/positioner.js";import{nextId}from"../../../internal/a11y.js";import{buildCsv,downloadBlob}from"./csv.js";import{styles}from"./export-button.styles.js";import{activeElementIn}from"../../../internal/active-element.js";import{LYRA_DEFAULT_exportButtonLabel,LYRA_DEFAULT_exportFormatMenuLabel}from"../../../internal/default-strings.generated.js";class LyraExportButton extends LyraElement{constructor(){super(...arguments),this._rows=Object.freeze([]),this._columns=Object.freeze([]),this.filename="export",this._formats=Object.freeze(["csv"]),this.disabled=!1,this.loading=!1,this.accessibleLabel=null,this.open=!1,this.menuId=nextId("export-menu"),this._isFirstUpdate=!0,this.openVetoed=!1,this.pendingMenuFocusIndex=0,this.injectedHostTabIndex=!1,this.onDocPointer=e=>{e.composedPath().includes(this)||this.closeMenu()},this.onKeyDown=e=>{if(e.key==="Escape"){this.open&&(e.preventDefault(),this.closeMenu(),this.triggerEl?.focus());return}if(this.formats.length<=1||this.disabled||this.loading)return;const items=this.menuItemEls(),currentIndex=items.indexOf(e.target);switch(e.key){case"ArrowDown":e.preventDefault(),this.focusMenuItemOnOpen(currentIndex===-1?0:currentIndex+1);break;case"ArrowUp":e.preventDefault(),this.focusMenuItemOnOpen(currentIndex===-1?items.length-1:currentIndex-1);break;case"Home":this.open&&(e.preventDefault(),this.focusMenuItem(0));break;case"End":this.open&&(e.preventDefault(),this.focusMenuItem(items.length-1));break;case"Tab":this.closeMenu();break}}}static{this.defaultStrings={...super.defaultStrings,exportButtonLabel:LYRA_DEFAULT_exportButtonLabel,exportFormatMenuLabel:LYRA_DEFAULT_exportFormatMenuLabel}}static{this.styles=[LyraElement.styles,styles]}static{this.properties={rows:{attribute:!1,noAccessor:!0},columns:{attribute:!1,noAccessor:!0},formats:{attribute:!1,noAccessor:!0}}}get rows(){return this._rows}set rows(next){const previous=this._rows,source=Array.isArray(next)?next:[];this._rows=Object.freeze(source.map(row=>Object.freeze({...row}))),this.requestUpdate("rows",previous)}get columns(){return this._columns}set columns(next){const previous=this._columns,source=Array.isArray(next)?next:[];this._columns=Object.freeze(source.map(column=>Object.freeze({...column}))),this.requestUpdate("columns",previous)}get formats(){return this._formats}set formats(next){const previous=this._formats,source=Array.isArray(next)?next:[],seen=new Set,formats=[];for(const format of source){if(typeof format!="string"&&(format===null||typeof format!="object"))continue;const snapshot=typeof format=="string"?format:Object.freeze({...format}),id=typeof snapshot=="string"?snapshot:snapshot.formatId;typeof id!="string"||id.trim()===""||seen.has(id)||typeof snapshot!="string"&&(typeof snapshot.label!="string"||snapshot.label.trim()==="")||(seen.add(id),formats.push(snapshot))}this._formats=Object.freeze(formats),this.requestUpdate("formats",previous)}disconnectedCallback(){super.disconnectedCallback(),this.cleanup?.(),this.cleanup=void 0,this.unbindDocumentPointer(),this.open=!1}bindDocumentPointer(){const owner=this.ownerDocument;this.pointerDocument!==owner&&(this.unbindDocumentPointer(),owner.addEventListener("pointerdown",this.onDocPointer),this.pointerDocument=owner)}unbindDocumentPointer(){this.pointerDocument?.removeEventListener("pointerdown",this.onDocPointer),this.pointerDocument=void 0}openMenu(){this.open||(this.open=!0)}closeMenu(){this.open&&(this.open=!1)}menuItemEls(){return Array.from(this.renderRoot.querySelectorAll('[part="menu-item"]'))}focusMenuItem(index){const items=this.menuItemEls();items.length!==0&&items[Math.max(0,Math.min(items.length-1,index))]?.focus()}focusMenuItemOnOpen(index){this.open?this.focusMenuItem(index):(this.pendingMenuFocusIndex=index,this.openMenu())}firstUpdated(changed){super.firstUpdated(changed),this.renderRoot.addEventListener("keydown",this.onKeyDown)}willUpdate(changed){if(super.willUpdate(changed),this._isFirstUpdate=!this.hasUpdated,this.setAttribute("aria-busy",String(this.loading)),(changed.has("disabled")||changed.has("loading"))&&!this.disabled&&!this.loading&&this.injectedHostTabIndex&&(this.getAttribute("tabindex")==="-1"&&this.removeAttribute("tabindex"),this.injectedHostTabIndex=!1),(changed.has("disabled")||changed.has("loading"))&&(this.disabled||this.loading)){const active=activeElementIn(this.shadowRoot);if(active===this.triggerEl||active?.getAttribute("part")==="menu-item"){this.hasAttribute("tabindex")||(this.tabIndex=-1,this.injectedHostTabIndex=!0);const ownerHTMLElement=this.ownerDocument.defaultView?.HTMLElement,nativeFocus=ownerHTMLElement?Reflect.get(ownerHTMLElement.prototype,"focus",this):void 0;typeof nativeFocus=="function"&&nativeFocus.call(this,{preventScroll:!0})}this.open&&(this.open=!1,this.forcedMenuClose="state")}if(changed.has("formats")){const active=activeElementIn(this.shadowRoot),index=this.menuItemEls().indexOf(active),previous=changed.get("formats")?.[index];this.formatsFocusSnapshot=index>=0&&previous?{index,id:this.formatId(previous)}:void 0}if(this.open&&this.formats.length<=1){const previousOpen=changed.get("open");this.forcedMenuClose=changed.has("formats")&&changed.get("formats")?.length?"formats":previousOpen===!1||previousOpen===void 0?"invalid-open":"state",this.open=!1}this.announceMenuTransition(changed)}announceMenuTransition(changed){if(this.openVetoed=!1,!changed.has("open")||this._isFirstUpdate||this.forcedMenuClose)return;const name=this.open?"lr-show":"lr-hide";this.emit(name,null,{cancelable:!0}).defaultPrevented&&(this.openVetoed=!0,this.open=!this.open)}updated(changed){super.updated(changed);const forcedMenuClose=this.forcedMenuClose;if(this.forcedMenuClose=void 0,(changed.has("open")||forcedMenuClose==="formats"||forcedMenuClose==="state")&&!this.openVetoed&&(this.cleanup?.(),this.cleanup=void 0,this.unbindDocumentPointer(),this.open)){const anchor=this.triggerEl,menu=this.menuEl;anchor&&menu&&(this.cleanup=place(anchor,menu)),this.bindDocumentPointer(),this.focusMenuItem(this.pendingMenuFocusIndex),this.pendingMenuFocusIndex=0}if(changed.has("formats")&&this.formatsFocusSnapshot){const{index,id}=this.formatsFocusSnapshot;this.formatsFocusSnapshot=void 0,this.scheduleAfterUpdate(()=>{if(this.formats.length<=1)this.closeMenu(),this.triggerEl?.focus();else if(this.open){const nextIndex=this.formats.findIndex(format=>this.formatId(format)===id);this.focusMenuItem(nextIndex>=0?nextIndex:index)}})}}effectiveColumns(){if(this.columns.length>0)return this.columns;const keys=new Set;for(const row of this.rows)for(const key of Object.keys(row))keys.add(key);return Array.from(keys,key=>({key,label:key}))}rowsForExport(){const keys=this.effectiveColumns().map(c=>c.key);return this.rows.map(row=>{const picked=Object.create(null);for(const key of keys)picked[key]=row[key];return picked})}formatId(format){return typeof format=="string"?format:format.formatId}formatLabel(format){return typeof format=="string"?format.toUpperCase():format.label}doExport(formatOption){if(this.disabled||this.loading)return;this.closeMenu(),this.triggerEl?.focus();const format=this.formatId(formatOption);if(!this.emit("lr-export",Object.freeze({format}),{cancelable:!0}).defaultPrevented&&!(format!=="csv"&&format!=="json"))try{format==="csv"?downloadBlob(buildCsv(this.rows,this.effectiveColumns()),`${this.filename}.csv`,"text/csv;charset=utf-8;",this.ownerDocument):downloadBlob(JSON.stringify(this.rowsForExport(),null,2),`${this.filename}.json`,"application/json",this.ownerDocument),this.emit("lr-export-complete",Object.freeze({format}))}catch(error){this.emit("lr-export-error",Object.freeze({format,error}))}}onTriggerClick(){this.disabled||this.loading||this.formats.length!==0&&(this.formats.length===1?this.doExport(this.formats[0]):this.open?this.closeMenu():this.openMenu())}focus(options){this.triggerEl?.focus(options)}blur(){this.triggerEl?.blur()}click(){this.triggerEl?.click()}get effectiveLabel(){return this.label===void 0?this.localize("exportButtonLabel"):this.label}render(){const label=this.effectiveLabel,accessibleLabel=this.accessibleLabel??label;return html`
2
2
  <button
3
3
  part="trigger"
4
4
  type="button"
@@ -77,9 +77,9 @@ export interface LyraDocumentPreviewEventMap {
77
77
  * needs no JS (a plain `<a download>` handles it); this is purely for a host
78
78
  * that wants to observe/log the download.
79
79
  * @event lr-render-error - `detail: { error }` — fired when this
80
- * component's own `text/*`/`application/json` `fetch(src)` fails. Distinct
81
- * from `status="error"`, which is entirely host-driven (see the class
82
- * doc).
80
+ * component rejects an unsafe text/JSON URL or when its own
81
+ * `text/*`/`application/json` `fetch(src)` fails. Distinct from
82
+ * `status="error"`, which is entirely host-driven (see the class doc).
83
83
  * @event lr-highlight-activate - A region highlight was activated (image format only).
84
84
  * `detail: { highlightId }`.
85
85
  * @csspart base - The root container.
@@ -23,7 +23,9 @@ declare const LyraGeoJsonViewer_base: typeof LyraGeoJsonViewerBase & (new (...ar
23
23
  * preserves the earlier tag without sharing a custom-elements constructor.
24
24
  *
25
25
  * @customElement lr-geojson-viewer
26
- * @event lr-render-error - Fetch, parse, or shape-validation failure. `detail: { error }`.
26
+ * @event lr-render-error - Fetch, parse, shape-validation, or missing-map-capability failure.
27
+ * `detail: { error }`. A missing optional MapLibre peer leaves the serialized metadata fallback
28
+ * visible while reporting the degraded map capability.
27
29
  * @event {CustomEvent<LyraSearchChangeDetail>} lr-search-change - Fired whenever searchable
28
30
  * metadata state changes. `matchCountExact=false` makes the retained count a lower bound.
29
31
  * Bubbling, composed, and non-cancelable.
@@ -1 +1 @@
1
- const REMOVED_WITH_CONTENT=new Set(["a","button","details","dialog","fieldset","form","label","select","summary","textarea"]),REMOVED_ENTIRELY=new Set(["animate","animatemotion","animatetransform","applet","audio","base","canvas","embed","fencedframe","frame","iframe","input","link","meta","noscript","object","option","optgroup","picture","portal","script","set","discard","source","style","track","video"]),NETWORK_ATTRIBUTES=new Set(["action","background","cite","data","formaction","href","manifest","ping","poster","profile","src","srcdoc","srcset","usemap","xlink:href"]),INTERACTION_ATTRIBUTES=new Set(["autofocus","contenteditable","download","draggable","form","formaction","popover","tabindex","target"]),SVG_FRAGMENT_ATTRIBUTES=new Set(["clip-path","color-profile","cursor","fill","filter","marker","marker-end","marker-mid","marker-start","mask","stroke"]),LOCAL_FRAGMENT=/^#[A-Za-z_][\w:.-]*$/,LOCAL_FRAGMENT_URL=/^\s*url\(\s*(['"]?)#([A-Za-z_][\w:.-]*)\1\s*\)\s*$/i,INLINE_RASTER_DATA=/^data:image\/(?:gif|jpeg|png|webp);base64,[a-z\d+/=\s]+$/i;function replaceWithContents(element){const parent=element.parentNode;if(parent){for(;element.firstChild;)parent.insertBefore(element.firstChild,element);element.remove()}}function isSvgElement(element){return element.namespaceURI==="http://www.w3.org/2000/svg"}function sanitizePassiveMarkup(sanitizer,raw,ownerDocument,profile="passive-document"){const purified=String(sanitizer.sanitize(raw,profile==="passive-svg"?{USE_PROFILES:{svg:!0,svgFilters:!0},ADD_TAGS:["use"],ADD_ATTR:["href","xlink:href"]}:void 0)),template=ownerDocument.createElement("template");template.innerHTML=purified;for(const element of[...template.content.querySelectorAll("*")]){const localName=element.localName.toLowerCase();if(REMOVED_ENTIRELY.has(localName)){element.remove();continue}const retainedTransclusionAnchor=profile==="transclusion"&&localName==="a";if(REMOVED_WITH_CONTENT.has(localName)&&!retainedTransclusionAnchor){replaceWithContents(element);continue}if(localName.includes("-")){replaceWithContents(element);continue}for(const attributeName of element.getAttributeNames()){const name=attributeName.toLowerCase(),value=element.getAttribute(attributeName)??"";if(name==="style"||name.startsWith("on")||INTERACTION_ATTRIBUTES.has(name)){element.removeAttribute(attributeName);continue}if(NETWORK_ATTRIBUTES.has(name)){const keepSvgFragment=isSvgElement(element)&&(name==="href"||name==="xlink:href")&&LOCAL_FRAGMENT.test(value.trim()),keepInlineSvgRaster=profile==="passive-svg"&&isSvgElement(element)&&element.localName.toLowerCase()==="image"&&(name==="href"||name==="xlink:href"||name==="src")&&INLINE_RASTER_DATA.test(value.trim()),keepTransclusionFragment=profile==="transclusion"&&name==="href"&&LOCAL_FRAGMENT.test(value.trim());!keepSvgFragment&&!keepInlineSvgRaster&&!keepTransclusionFragment&&element.removeAttribute(attributeName);continue}SVG_FRAGMENT_ATTRIBUTES.has(name)&&/url\s*\(|\\/i.test(value)&&(!isSvgElement(element)||!LOCAL_FRAGMENT_URL.test(value))&&element.removeAttribute(attributeName)}profile==="passive-svg"&&!isSvgElement(element)&&replaceWithContents(element)}return template.innerHTML}export{sanitizePassiveMarkup};
1
+ const REMOVED_WITH_CONTENT=new Set(["a","button","details","dialog","fieldset","form","label","select","summary","textarea"]),REMOVED_ENTIRELY=new Set(["animate","animatemotion","animatetransform","applet","audio","base","canvas","embed","fencedframe","frame","iframe","input","link","meta","noscript","object","option","optgroup","picture","portal","script","set","discard","source","style","track","video"]),NETWORK_ATTRIBUTES=new Set(["action","background","cite","data","formaction","href","manifest","ping","poster","profile","src","srcdoc","srcset","usemap","xlink:href"]),INTERACTION_ATTRIBUTES=new Set(["autofocus","contenteditable","download","draggable","form","formaction","popover","tabindex","target"]),SVG_FRAGMENT_ATTRIBUTES=new Set(["clip-path","color-profile","cursor","fill","filter","marker","marker-end","marker-mid","marker-start","mask","stroke"]),LOCAL_FRAGMENT=/^#[A-Za-z_][\w:.-]*$/,LOCAL_FRAGMENT_URL=/^\s*url\(\s*(['"]?)#([A-Za-z_][\w:.-]*)\1\s*\)\s*$/i,INLINE_RASTER_DATA=/^data:image\/(?:gif|jpeg|png|webp);base64,[a-z\d+/=\s]+$/i;function replaceWithContents(element){const parent=element.parentNode;if(parent){for(;element.firstChild;)parent.insertBefore(element.firstChild,element);element.remove()}}function isSvgElement(element){return element.namespaceURI==="http://www.w3.org/2000/svg"}function sanitizePassiveMarkup(sanitizer,raw,ownerDocument,profile="passive-document"){const purified=String(sanitizer.sanitize(raw,profile==="passive-svg"?{USE_PROFILES:{svg:!0,svgFilters:!0},ADD_TAGS:["use"],ADD_ATTR:["href","xlink:href"]}:void 0)),template=ownerDocument.createElement("template");template.innerHTML=purified;for(const element of[...template.content.querySelectorAll("*")]){const localName=element.localName.toLowerCase();if(REMOVED_ENTIRELY.has(localName)){element.remove();continue}const retainedTransclusionAnchor=profile==="transclusion"&&localName==="a";if(REMOVED_WITH_CONTENT.has(localName)&&!retainedTransclusionAnchor){replaceWithContents(element);continue}if(localName.includes("-")){replaceWithContents(element);continue}for(const attributeName of element.getAttributeNames()){const name=attributeName.toLowerCase(),value=element.getAttribute(attributeName)??"";if(name==="style"||name.startsWith("on")||INTERACTION_ATTRIBUTES.has(name)){element.removeAttribute(attributeName);continue}if(NETWORK_ATTRIBUTES.has(name)){const keepSvgFragment=isSvgElement(element)&&(name==="href"||name==="xlink:href")&&LOCAL_FRAGMENT.test(value.trim()),keepInlineSvgRaster=profile==="passive-svg"&&isSvgElement(element)&&element.localName.toLowerCase()==="image"&&(name==="href"||name==="xlink:href"||name==="src")&&INLINE_RASTER_DATA.test(value.trim()),keepInlineDocumentRaster=profile==="passive-document"&&element.localName.toLowerCase()==="img"&&name==="src"&&INLINE_RASTER_DATA.test(value.trim()),keepTransclusionFragment=profile==="transclusion"&&name==="href"&&LOCAL_FRAGMENT.test(value.trim());!keepSvgFragment&&!keepInlineSvgRaster&&!keepInlineDocumentRaster&&!keepTransclusionFragment&&element.removeAttribute(attributeName);continue}SVG_FRAGMENT_ATTRIBUTES.has(name)&&/url\s*\(|\\/i.test(value)&&(!isSvgElement(element)||!LOCAL_FRAGMENT_URL.test(value))&&element.removeAttribute(attributeName)}profile==="passive-svg"&&!isSvgElement(element)&&replaceWithContents(element)}return template.innerHTML}export{sanitizePassiveMarkup};
@@ -1 +1 @@
1
- const AUTOLOADER_MANIFEST={"lr-accordion":{optionalPeers:[],load:()=>import("../components/layout/details/accordion.class.js").then(module=>module.LyraAccordion)},"lr-accordion-item":{optionalPeers:[],load:()=>import("../components/layout/details/accordion-item.class.js").then(module=>module.LyraAccordionItem)},"lr-activity-feed":{optionalPeers:[],load:()=>import("../components/agent-tools/activity-feed/activity-feed.class.js").then(module=>module.LyraActivityFeed)},"lr-agent-eval-dashboard":{optionalPeers:[],load:()=>import("../components/agent-tools/agent-eval-dashboard/agent-eval-dashboard.class.js").then(module=>module.LyraAgentEvalDashboard)},"lr-agent-run":{optionalPeers:[],load:()=>import("../components/agent-tools/agent-run/agent-run.class.js").then(module=>module.LyraAgentRun)},"lr-agent-trace":{optionalPeers:[],load:()=>import("../components/agent-tools/agent-trace/agent-trace.class.js").then(module=>module.LyraAgentTrace)},"lr-agent-workspace":{optionalPeers:["dompurify","katex","marked","shiki"],load:()=>import("../components/conversation/agent-workspace/agent-workspace.class.js").then(module=>module.LyraAgentWorkspace)},"lr-alert":{optionalPeers:[],load:()=>import("../components/overlays/alert/alert.class.js").then(module=>module.LyraAlert)},"lr-animated-image":{optionalPeers:[],load:()=>import("../components/media/animated-image/animated-image.class.js").then(module=>module.LyraAnimatedImage)},"lr-animation":{optionalPeers:[],load:()=>import("../components/media/animation/animation.class.js").then(module=>module.LyraAnimation)},"lr-app-rail":{optionalPeers:[],load:()=>import("../components/layout/app-rail/app-rail.class.js").then(module=>module.LyraAppRail)},"lr-app-rail-item":{optionalPeers:[],load:()=>import("../components/layout/app-rail/app-rail-item.class.js").then(module=>module.LyraAppRailItem)},"lr-approval-queue":{optionalPeers:[],load:()=>import("../components/agent-tools/approval-queue/approval-queue.class.js").then(module=>module.LyraApprovalQueue)},"lr-archive-viewer":{optionalPeers:[],load:()=>import("../components/viewers/archive-viewer/archive-viewer.class.js").then(module=>module.LyraArchiveViewer)},"lr-artifact-panel":{optionalPeers:[],load:()=>import("../components/agent-tools/artifact-panel/artifact-panel.class.js").then(module=>module.LyraArtifactPanel)},"lr-attachment-chip":{optionalPeers:[],load:()=>import("../components/media/attachment-chip/attachment-chip.class.js").then(module=>module.LyraAttachmentChip)},"lr-attachment-trigger":{optionalPeers:[],load:()=>import("../components/media/attachment-trigger/attachment-trigger.class.js").then(module=>module.LyraAttachmentTrigger)},"lr-audio-visualizer":{optionalPeers:[],load:()=>import("../components/conversation/audio-visualizer/audio-visualizer.class.js").then(module=>module.LyraAudioVisualizer)},"lr-av-player":{optionalPeers:[],load:()=>import("../components/media/av-player/av-player.class.js").then(module=>module.LyraAvPlayer)},"lr-avatar":{optionalPeers:[],load:()=>import("../components/media/avatar/avatar.class.js").then(module=>module.LyraAvatar)},"lr-avatar-group":{optionalPeers:[],load:()=>import("../components/media/avatar-group/avatar-group.class.js").then(module=>module.LyraAvatarGroup)},"lr-badge":{optionalPeers:[],load:()=>import("../components/overlays/badge/badge.class.js").then(module=>module.LyraBadge)},"lr-bar-chart":{optionalPeers:["chart.js","chartjs-plugin-annotation","chartjs-plugin-datalabels","chartjs-plugin-zoom"],load:()=>import("../components/charts/chart/bar-chart.class.js").then(module=>module.LyraBarChart)},"lr-box-plot":{optionalPeers:["@sgratzl/chartjs-chart-boxplot","chart.js"],load:()=>import("../components/charts/chart/box-plot.class.js").then(module=>module.LyraBoxPlot)},"lr-branch-picker":{optionalPeers:[],load:()=>import("../components/conversation/branch-picker/branch-picker.class.js").then(module=>module.LyraBranchPicker)},"lr-breadcrumb":{optionalPeers:[],load:()=>import("../components/layout/breadcrumb/breadcrumb.class.js").then(module=>module.LyraBreadcrumb)},"lr-breadcrumb-item":{optionalPeers:[],load:()=>import("../components/layout/breadcrumb/breadcrumb-item.class.js").then(module=>module.LyraBreadcrumbItem)},"lr-browser-frame":{optionalPeers:[],load:()=>import("../components/agent-tools/browser-frame/browser-frame.class.js").then(module=>module.LyraBrowserFrame)},"lr-bubble-chart":{optionalPeers:["chart.js","chartjs-plugin-annotation","chartjs-plugin-datalabels","chartjs-plugin-zoom"],load:()=>import("../components/charts/chart/bubble-chart.class.js").then(module=>module.LyraBubbleChart)},"lr-button":{optionalPeers:[],load:()=>import("../components/forms/button/button.class.js").then(module=>module.LyraButton)},"lr-button-group":{optionalPeers:[],load:()=>import("../components/layout/button-group/button-group.class.js").then(module=>module.LyraButtonGroup)},"lr-calendar":{optionalPeers:[],load:()=>import("../components/data/calendar/calendar.class.js").then(module=>module.LyraCalendar)},"lr-calendar-viewer":{optionalPeers:["ical.js"],load:()=>import("../components/viewers/calendar-viewer/calendar-viewer.class.js").then(module=>module.LyraCalendarViewer)},"lr-callout":{optionalPeers:[],load:()=>import("../components/overlays/callout/callout.class.js").then(module=>module.LyraCallout)},"lr-card":{optionalPeers:[],load:()=>import("../components/layout/card/card.class.js").then(module=>module.LyraCard)},"lr-carousel":{optionalPeers:[],load:()=>import("../components/layout/carousel/carousel.class.js").then(module=>module.LyraCarousel)},"lr-carousel-item":{optionalPeers:[],load:()=>import("../components/layout/carousel/carousel-item.class.js").then(module=>module.LyraCarouselItem)},"lr-chart":{optionalPeers:["chart.js","chartjs-plugin-annotation","chartjs-plugin-datalabels","chartjs-plugin-zoom"],load:()=>import("../components/charts/chart/chart.class.js").then(module=>module.LyraChart)},"lr-chat-composer":{optionalPeers:[],load:()=>import("../components/conversation/chat-composer/chat-composer.class.js").then(module=>module.LyraChatComposer)},"lr-chat-message":{optionalPeers:[],load:()=>import("../components/conversation/chat-message/chat-message.class.js").then(module=>module.LyraChatMessage)},"lr-chat-viewport":{optionalPeers:[],load:()=>import("../components/conversation/chat-viewport/chat-viewport.class.js").then(module=>module.LyraChatViewport)},"lr-checkbox":{optionalPeers:[],load:()=>import("../components/forms/checkbox/checkbox.class.js").then(module=>module.LyraCheckbox)},"lr-checkbox-group":{optionalPeers:[],load:()=>import("../components/forms/checkbox-group/checkbox-group.class.js").then(module=>module.LyraCheckboxGroup)},"lr-checkpoint":{optionalPeers:[],load:()=>import("../components/conversation/checkpoint/checkpoint.class.js").then(module=>module.LyraCheckpoint)},"lr-chip":{optionalPeers:[],load:()=>import("../components/overlays/chip/chip.class.js").then(module=>module.LyraChip)},"lr-chip-group":{optionalPeers:[],load:()=>import("../components/overlays/chip/chip-group.class.js").then(module=>module.LyraChipGroup)},"lr-chunk-inspector":{optionalPeers:[],load:()=>import("../components/retrieval/chunk-inspector/chunk-inspector.class.js").then(module=>module.LyraChunkInspector)},"lr-citation-badge":{optionalPeers:[],load:()=>import("../components/retrieval/citation-badge/citation-badge.class.js").then(module=>module.LyraCitationBadge)},"lr-claim-evidence":{optionalPeers:[],load:()=>import("../components/retrieval/claim-evidence/claim-evidence.class.js").then(module=>module.LyraClaimEvidence)},"lr-code-block":{optionalPeers:["shiki"],load:()=>import("../components/conversation/code-block/code-block.class.js").then(module=>module.LyraCodeBlock)},"lr-code-block-core":{optionalPeers:["shiki"],load:()=>import("../components/conversation/code-block/code-block-core.class.js").then(module=>module.LyraCodeBlockCore)},"lr-code-editor":{optionalPeers:[],load:()=>import("../components/forms/code-editor/code-editor.class.js").then(module=>module.LyraCodeEditor)},"lr-color-picker":{optionalPeers:[],load:()=>import("../components/forms/color-picker/color-picker.class.js").then(module=>module.LyraColorPicker)},"lr-combobox":{optionalPeers:[],load:()=>import("../components/forms/combobox/combobox.class.js").then(module=>module.LyraCombobox)},"lr-command-palette":{optionalPeers:["dompurify"],load:()=>import("../components/layout/command-palette/command-palette.class.js").then(module=>module.LyraCommandPalette)},"lr-commit-card":{optionalPeers:[],load:()=>import("../components/agent-tools/commit-card/commit-card.class.js").then(module=>module.LyraCommitCard)},"lr-community-card":{optionalPeers:[],load:()=>import("../components/retrieval/community-card/community-card.class.js").then(module=>module.LyraCommunityCard)},"lr-compare-panel":{optionalPeers:[],load:()=>import("../components/agent-tools/compare-panel/compare-panel.class.js").then(module=>module.LyraComparePanel)},"lr-condition-builder":{optionalPeers:["dompurify"],load:()=>import("../components/data/condition-builder/condition-builder.class.js").then(module=>module.LyraConditionBuilder)},"lr-confirm-bar":{optionalPeers:[],load:()=>import("../components/agent-tools/confirm-bar/confirm-bar.class.js").then(module=>module.LyraConfirmBar)},"lr-contact-viewer":{optionalPeers:[],load:()=>import("../components/viewers/contact-viewer/contact-viewer.class.js").then(module=>module.LyraContactViewer)},"lr-context-inspector":{optionalPeers:[],load:()=>import("../components/agent-tools/context-inspector/context-inspector.class.js").then(module=>module.LyraContextInspector)},"lr-context-meter":{optionalPeers:[],load:()=>import("../components/data/context-meter/context-meter.class.js").then(module=>module.LyraContextMeter)},"lr-control-group":{optionalPeers:[],load:()=>import("../components/layout/control-group/control-group.class.js").then(module=>module.LyraControlGroup)},"lr-conversation-item":{optionalPeers:[],load:()=>import("../components/conversation/conversation-item/conversation-item.class.js").then(module=>module.LyraConversationItem)},"lr-copy-button":{optionalPeers:[],load:()=>import("../components/utility/copy-button/copy-button.class.js").then(module=>module.LyraCopyButton)},"lr-csv-viewer":{optionalPeers:["papaparse"],load:()=>import("../components/viewers/csv-viewer/csv-viewer.class.js").then(module=>module.LyraCsvViewer)},"lr-dashboard-grid":{optionalPeers:["dompurify","katex","marked","shiki"],load:()=>import("../components/layout/dashboard-grid/dashboard-grid.class.js").then(module=>module.LyraDashboardGrid)},"lr-data-grid":{optionalPeers:[],load:()=>import("../components/data/data-grid/data-grid.class.js").then(module=>module.LyraDataGrid)},"lr-dataset-viewer":{optionalPeers:["papaparse"],load:()=>import("../components/viewers/dataset-viewer/dataset-viewer.class.js").then(module=>module.LyraDatasetViewer)},"lr-date-input":{optionalPeers:[],load:()=>import("../components/forms/date-picker/date-input.class.js").then(module=>module.LyraDateInput)},"lr-date-picker":{optionalPeers:[],load:()=>import("../components/forms/date-picker/date-picker.class.js").then(module=>module.LyraDatePicker)},"lr-details":{optionalPeers:[],load:()=>import("../components/layout/details/details.class.js").then(module=>module.LyraDetails)},"lr-dialog":{optionalPeers:[],load:()=>import("../components/overlays/dialog/dialog.class.js").then(module=>module.LyraDialog)},"lr-diff-view":{optionalPeers:["shiki"],load:()=>import("../components/utility/diff-view/diff-view.class.js").then(module=>module.LyraDiffView)},"lr-divider":{optionalPeers:[],load:()=>import("../components/utility/divider/divider.class.js").then(module=>module.LyraDivider)},"lr-dock-panel":{optionalPeers:[],load:()=>import("../components/layout/dock-panel/dock-panel.class.js").then(module=>module.LyraDockPanel)},"lr-document-compare":{optionalPeers:["shiki"],load:()=>import("../components/viewers/document-compare/document-compare.class.js").then(module=>module.LyraDocumentCompare)},"lr-document-library":{optionalPeers:[],load:()=>import("../components/data/document-library/document-library.class.js").then(module=>module.LyraDocumentLibrary)},"lr-document-preview":{optionalPeers:[],load:()=>import("../components/viewers/document-preview/document-preview.class.js").then(module=>module.LyraDocumentPreview)},"lr-document-viewer":{optionalPeers:[],load:()=>import("../components/viewers/document-viewer/document-viewer.class.js").then(module=>module.LyraDocumentViewer)},"lr-docx-viewer":{optionalPeers:["dompurify","mammoth"],load:()=>import("../components/viewers/docx-viewer/docx-viewer.class.js").then(module=>module.LyraDocxViewer)},"lr-doughnut-chart":{optionalPeers:["chart.js","chartjs-plugin-annotation","chartjs-plugin-datalabels","chartjs-plugin-zoom"],load:()=>import("../components/charts/chart/doughnut-chart.class.js").then(module=>module.LyraDoughnutChart)},"lr-drawer":{optionalPeers:[],load:()=>import("../components/overlays/drawer/drawer.class.js").then(module=>module.LyraDrawer)},"lr-drilldown-panel":{optionalPeers:[],load:()=>import("../components/layout/drilldown-panel/drilldown-panel.class.js").then(module=>module.LyraDrilldownPanel)},"lr-dropdown":{optionalPeers:[],load:()=>import("../components/overlays/overlay/dropdown.class.js").then(module=>module.LyraDropdown)},"lr-dropdown-item":{optionalPeers:[],load:()=>import("../components/layout/menu/dropdown-item.class.js").then(module=>module.LyraDropdownItem)},"lr-ebook-viewer":{optionalPeers:["epubjs"],load:()=>import("../components/viewers/ebook-viewer/ebook-viewer.class.js").then(module=>module.LyraEbookViewer)},"lr-email-viewer":{optionalPeers:["dompurify","postal-mime"],load:()=>import("../components/viewers/email-viewer/email-viewer.class.js").then(module=>module.LyraEmailViewer)},"lr-embedding-explorer":{optionalPeers:[],load:()=>import("../components/retrieval/embedding-explorer/embedding-explorer.class.js").then(module=>module.LyraEmbeddingExplorer)},"lr-emoji-picker":{optionalPeers:["emoji-picker-element-data"],load:()=>import("../components/forms/emoji-picker/emoji-picker.class.js").then(module=>module.LyraEmojiPicker)},"lr-empty":{optionalPeers:[],load:()=>import("../components/overlays/empty/empty.class.js").then(module=>module.LyraEmpty)},"lr-entity-card":{optionalPeers:[],load:()=>import("../components/retrieval/entity-card/entity-card.class.js").then(module=>module.LyraEntityCard)},"lr-entity-chip":{optionalPeers:[],load:()=>import("../components/retrieval/entity-chip/entity-chip.class.js").then(module=>module.LyraEntityChip)},"lr-entity-dossier":{optionalPeers:[],load:()=>import("../components/retrieval/entity-dossier/entity-dossier.class.js").then(module=>module.LyraEntityDossier)},"lr-env-list":{optionalPeers:[],load:()=>import("../components/data/env-list/env-list.class.js").then(module=>module.LyraEnvList)},"lr-eval-dataset":{optionalPeers:[],load:()=>import("../components/agent-tools/eval-dataset/eval-dataset.class.js").then(module=>module.LyraEvalDataset)},"lr-eval-result":{optionalPeers:["shiki"],load:()=>import("../components/agent-tools/eval-result/eval-result.class.js").then(module=>module.LyraEvalResult)},"lr-eval-run":{optionalPeers:["dompurify","katex","marked","shiki"],load:()=>import("../components/agent-tools/evaluation-run/evaluation-run.class.js").then(module=>module.LyraEvalRun)},"lr-export-button":{optionalPeers:[],load:()=>import("../components/utility/export-button/export-button.class.js").then(module=>module.LyraExportButton)},"lr-file-icon":{optionalPeers:[],load:()=>import("../components/media/file-icon/file-icon.class.js").then(module=>module.LyraFileIcon)},"lr-file-input":{optionalPeers:[],load:()=>import("../components/media/file-input/file-input.class.js").then(module=>module.LyraFileInput)},"lr-file-tree":{optionalPeers:[],load:()=>import("../components/data/file-tree/file-tree.class.js").then(module=>module.LyraFileTree)},"lr-filter-bar":{optionalPeers:[],load:()=>import("../components/layout/filter-bar/filter-bar.class.js").then(module=>module.LyraFilterBar)},"lr-flag":{optionalPeers:["@aceshooting/lyra-flags"],load:()=>import("../components/media/flag/flag.class.js").then(module=>module.LyraFlag)},"lr-flow-canvas":{optionalPeers:[],load:()=>import("../components/data/flow-canvas/flow-canvas.class.js").then(module=>module.LyraFlowCanvas)},"lr-flow-controls":{optionalPeers:[],load:()=>import("../components/data/flow-controls/flow-controls.class.js").then(module=>module.LyraFlowControls)},"lr-flow-minimap":{optionalPeers:[],load:()=>import("../components/data/flow-minimap/flow-minimap.class.js").then(module=>module.LyraFlowMinimap)},"lr-flow-node":{optionalPeers:[],load:()=>import("../components/data/flow-node/flow-node.class.js").then(module=>module.LyraFlowNode)},"lr-flow-run-status":{optionalPeers:[],load:()=>import("../components/data/flow-run-status/flow-run-status.class.js").then(module=>module.LyraFlowRunStatus)},"lr-format-bytes":{optionalPeers:[],load:()=>import("../components/utility/format/format-bytes.class.js").then(module=>module.LyraFormatBytes)},"lr-format-date":{optionalPeers:[],load:()=>import("../components/utility/format/format-date.class.js").then(module=>module.LyraFormatDate)},"lr-format-number":{optionalPeers:[],load:()=>import("../components/utility/format/format-number.class.js").then(module=>module.LyraFormatNumber)},"lr-funnel":{optionalPeers:[],load:()=>import("../components/data/funnel/funnel.class.js").then(module=>module.LyraFunnel)},"lr-gauge":{optionalPeers:[],load:()=>import("../components/data/gauge/gauge.class.js").then(module=>module.LyraGauge)},"lr-generation-metrics":{optionalPeers:[],load:()=>import("../components/conversation/generation-metrics/generation-metrics.class.js").then(module=>module.LyraGenerationMetrics)},"lr-geojson-view":{optionalPeers:["maplibre-gl"],load:()=>import("../components/viewers/geojson-view/geojson-view.class.js").then(module=>module.LyraGeojsonView)},"lr-geojson-viewer":{optionalPeers:["maplibre-gl"],load:()=>import("../components/viewers/geojson-view/geojson-viewer.class.js").then(module=>module.LyraGeoJsonViewer)},"lr-graph":{optionalPeers:["d3-drag","d3-force","d3-selection","d3-zoom"],load:()=>import("../components/retrieval/graph/graph.class.js").then(module=>module.LyraGraph)},"lr-graph-legend":{optionalPeers:[],load:()=>import("../components/retrieval/graph-legend/graph-legend.class.js").then(module=>module.LyraGraphLegend)},"lr-graph-query-builder":{optionalPeers:[],load:()=>import("../components/data/graph-query-builder/graph-query-builder.class.js").then(module=>module.LyraGraphQueryBuilder)},"lr-grounding-summary":{optionalPeers:[],load:()=>import("../components/retrieval/grounding-summary/grounding-summary.class.js").then(module=>module.LyraGroundingSummary)},"lr-handoff-divider":{optionalPeers:[],load:()=>import("../components/conversation/handoff-divider/handoff-divider.class.js").then(module=>module.LyraHandoffDivider)},"lr-heatmap":{optionalPeers:[],load:()=>import("../components/data/heatmap/heatmap.class.js").then(module=>module.LyraHeatmap)},"lr-highlight-layer":{optionalPeers:[],load:()=>import("../components/viewers/highlight-layer/highlight-layer.class.js").then(module=>module.LyraHighlightLayer)},"lr-histogram":{optionalPeers:["chart.js","chartjs-plugin-annotation","chartjs-plugin-datalabels","chartjs-plugin-zoom"],load:()=>import("../components/charts/chart/histogram.class.js").then(module=>module.LyraHistogram)},"lr-html-viewer":{optionalPeers:["dompurify"],load:()=>import("../components/viewers/html-viewer/html-viewer.class.js").then(module=>module.LyraHtmlViewer)},"lr-icon":{optionalPeers:["dompurify"],load:()=>import("../components/utility/icon/icon.class.js").then(module=>module.LyraIcon)},"lr-icon-button":{optionalPeers:["dompurify"],load:()=>import("../components/forms/icon-button/icon-button.class.js").then(module=>module.LyraIconButton)},"lr-image-comparer":{optionalPeers:[],load:()=>import("../components/media/image-comparer/image-comparer.class.js").then(module=>module.LyraImageComparer)},"lr-image-viewer":{optionalPeers:[],load:()=>import("../components/media/image-viewer/image-viewer.class.js").then(module=>module.LyraImageViewer)},"lr-include":{optionalPeers:["dompurify"],load:()=>import("../components/viewers/include/include.class.js").then(module=>module.LyraInclude)},"lr-ingestion-queue":{optionalPeers:[],load:()=>import("../components/retrieval/ingestion-queue/ingestion-queue.class.js").then(module=>module.LyraIngestionQueue)},"lr-input":{optionalPeers:[],load:()=>import("../components/forms/input/input.class.js").then(module=>module.LyraInput)},"lr-intersection-observer":{optionalPeers:[],load:()=>import("../components/utility/intersection-observer/intersection-observer.class.js").then(module=>module.LyraIntersectionObserver)},"lr-json-schema-viewer":{optionalPeers:[],load:()=>import("../components/agent-tools/schema-viewer/schema-viewer.class.js").then(module=>module.LyraJsonSchemaViewer)},"lr-json-viewer":{optionalPeers:[],load:()=>import("../components/utility/json-viewer/json-viewer.class.js").then(module=>module.LyraJsonViewer)},"lr-kbd":{optionalPeers:[],load:()=>import("../components/overlays/kbd/kbd.class.js").then(module=>module.LyraKbd)},"lr-knowledge-base":{optionalPeers:[],load:()=>import("../components/retrieval/knowledge-base/knowledge-base.class.js").then(module=>module.LyraKnowledgeBase)},"lr-knowledge-base-admin":{optionalPeers:[],load:()=>import("../components/retrieval/knowledge-base-admin/knowledge-base-admin.class.js").then(module=>module.LyraKnowledgeBaseAdmin)},"lr-knowledge-graph-explorer":{optionalPeers:["d3-drag","d3-force","d3-selection","d3-zoom"],load:()=>import("../components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.class.js").then(module=>module.LyraKnowledgeGraphExplorer)},"lr-known-date":{optionalPeers:[],load:()=>import("../components/utility/known-date/known-date.class.js").then(module=>module.LyraKnownDate)},"lr-lightbox":{optionalPeers:[],load:()=>import("../components/media/lightbox/lightbox.class.js").then(module=>module.LyraLightbox)},"lr-line-chart":{optionalPeers:["chart.js","chartjs-plugin-annotation","chartjs-plugin-datalabels","chartjs-plugin-zoom"],load:()=>import("../components/charts/chart/line-chart.class.js").then(module=>module.LyraLineChart)},"lr-lite-chart":{optionalPeers:[],load:()=>import("../components/charts/chart/lite-chart.class.js").then(module=>module.LyraLiteChart)},"lr-live-region":{optionalPeers:[],load:()=>import("../components/utility/live-region/live-region.class.js").then(module=>module.LyraLiveRegion)},"lr-locale-picker":{optionalPeers:["@aceshooting/lyra-flags"],load:()=>import("../components/forms/locale-picker/locale-picker.class.js").then(module=>module.LyraLocalePicker)},"lr-map":{optionalPeers:["maplibre-gl"],load:()=>import("../components/media/map/map.class.js").then(module=>module.LyraMap)},"lr-markdown":{optionalPeers:["dompurify","katex","marked","shiki"],load:()=>import("../components/conversation/markdown/markdown.class.js").then(module=>module.LyraMarkdown)},"lr-markdown-core":{optionalPeers:["dompurify","katex","marked","shiki"],load:()=>import("../components/conversation/markdown/markdown-core.class.js").then(module=>module.LyraMarkdownCore)},"lr-mcp-app":{optionalPeers:[],load:()=>import("../components/agent-tools/mcp-app/mcp-app.class.js").then(module=>module.LyraMcpApp)},"lr-media-card":{optionalPeers:[],load:()=>import("../components/media/media-card/media-card.class.js").then(module=>module.LyraMediaCard)},"lr-memory-panel":{optionalPeers:[],load:()=>import("../components/retrieval/memory-panel/memory-panel.class.js").then(module=>module.LyraMemoryPanel)},"lr-mention-popover":{optionalPeers:[],load:()=>import("../components/utility/mention-popover/mention-popover.class.js").then(module=>module.LyraMentionPopover)},"lr-menu":{optionalPeers:[],load:()=>import("../components/layout/menu/menu.class.js").then(module=>module.LyraMenu)},"lr-menu-item":{optionalPeers:[],load:()=>import("../components/layout/menu/menu-item.class.js").then(module=>module.LyraMenuItem)},"lr-menu-label":{optionalPeers:[],load:()=>import("../components/layout/menu/menu-label.class.js").then(module=>module.LyraMenuLabel)},"lr-message-actions":{optionalPeers:[],load:()=>import("../components/conversation/message-actions/message-actions.class.js").then(module=>module.LyraMessageActions)},"lr-message-feedback":{optionalPeers:[],load:()=>import("../components/conversation/message-feedback/message-feedback.class.js").then(module=>module.LyraMessageFeedback)},"lr-message-parts":{optionalPeers:["dompurify","katex","marked","shiki"],load:()=>import("../components/conversation/message-parts/message-parts.class.js").then(module=>module.LyraMessageParts)},"lr-mind-map":{optionalPeers:[],load:()=>import("../components/retrieval/mind-map/mind-map.class.js").then(module=>module.LyraMindMap)},"lr-model-select":{optionalPeers:[],load:()=>import("../components/conversation/model-select/model-select.class.js").then(module=>module.LyraModelSelect)},"lr-model-settings-panel":{optionalPeers:[],load:()=>import("../components/conversation/model-settings-panel/model-settings-panel.class.js").then(module=>module.LyraModelSettingsPanel)},"lr-multi-split":{optionalPeers:[],load:()=>import("../components/layout/multi-split/multi-split.class.js").then(module=>module.LyraMultiSplit)},"lr-mutation-observer":{optionalPeers:[],load:()=>import("../components/utility/mutation-observer/mutation-observer.class.js").then(module=>module.LyraMutationObserver)},"lr-native-time-input":{optionalPeers:[],load:()=>import("../components/forms/input/native-time-input.class.js").then(module=>module.LyraNativeTimeInput)},"lr-neighbor-list":{optionalPeers:[],load:()=>import("../components/retrieval/neighbor-list/neighbor-list.class.js").then(module=>module.LyraNeighborList)},"lr-node-palette":{optionalPeers:[],load:()=>import("../components/retrieval/node-palette/node-palette.class.js").then(module=>module.LyraNodePalette)},"lr-notebook-viewer":{optionalPeers:["dompurify","katex","marked","shiki"],load:()=>import("../components/viewers/notebook-viewer/notebook-viewer.class.js").then(module=>module.LyraNotebookViewer)},"lr-number-input":{optionalPeers:[],load:()=>import("../components/forms/input/number-input.class.js").then(module=>module.LyraNumberInput)},"lr-option":{optionalPeers:[],load:()=>import("../components/forms/combobox/option.class.js").then(module=>module.LyraOption)},"lr-otp-input":{optionalPeers:[],load:()=>import("../components/forms/otp-input/otp-input.class.js").then(module=>module.LyraOtpInput)},"lr-page":{optionalPeers:[],load:()=>import("../components/layout/page/page.class.js").then(module=>module.LyraPage)},"lr-page-rail":{optionalPeers:[],load:()=>import("../components/viewers/page-rail/page-rail.class.js").then(module=>module.LyraPageRail)},"lr-pagination":{optionalPeers:[],load:()=>import("../components/data/pagination/pagination.class.js").then(module=>module.LyraPagination)},"lr-pan-zoom":{optionalPeers:[],load:()=>import("../components/media/pan-zoom/pan-zoom.class.js").then(module=>module.LyraPanZoom)},"lr-path-strip":{optionalPeers:[],load:()=>import("../components/retrieval/path-strip/path-strip.class.js").then(module=>module.LyraPathStrip)},"lr-pdf-viewer":{optionalPeers:["pdfjs-dist"],load:()=>import("../components/viewers/pdf-viewer/pdf-viewer.class.js").then(module=>module.LyraPdfViewer)},"lr-phone-input":{optionalPeers:["@aceshooting/lyra-flags","libphonenumber-js"],load:()=>import("../components/forms/phone-input/phone-input.class.js").then(module=>module.LyraPhoneInput)},"lr-pie-chart":{optionalPeers:["chart.js","chartjs-plugin-annotation","chartjs-plugin-datalabels","chartjs-plugin-zoom"],load:()=>import("../components/charts/chart/pie-chart.class.js").then(module=>module.LyraPieChart)},"lr-polar-area-chart":{optionalPeers:["chart.js","chartjs-plugin-annotation","chartjs-plugin-datalabels","chartjs-plugin-zoom"],load:()=>import("../components/charts/chart/polar-area-chart.class.js").then(module=>module.LyraPolarAreaChart)},"lr-policy-summary":{optionalPeers:[],load:()=>import("../components/agent-tools/policy-summary/policy-summary.class.js").then(module=>module.LyraPolicySummary)},"lr-poll-status":{optionalPeers:[],load:()=>import("../components/utility/poll-status/poll-status.class.js").then(module=>module.LyraPollStatus)},"lr-popover":{optionalPeers:[],load:()=>import("../components/overlays/overlay/popover.class.js").then(module=>module.LyraPopover)},"lr-popup":{optionalPeers:[],load:()=>import("../components/overlays/popup/popup.class.js").then(module=>module.LyraPopup)},"lr-pptx-viewer":{optionalPeers:["@aiden0z/pptx-renderer"],load:()=>import("../components/viewers/pptx-viewer/pptx-viewer.class.js").then(module=>module.LyraPptxViewer)},"lr-progress-bar":{optionalPeers:[],load:()=>import("../components/overlays/progress/progress-bar.class.js").then(module=>module.LyraProgressBar)},"lr-progress-ring":{optionalPeers:[],load:()=>import("../components/overlays/progress/progress-ring.class.js").then(module=>module.LyraProgressRing)},"lr-prompt-input":{optionalPeers:[],load:()=>import("../components/conversation/prompt-input/prompt-input.class.js").then(module=>module.LyraPromptInput)},"lr-prompt-queue":{optionalPeers:[],load:()=>import("../components/conversation/prompt-queue/prompt-queue.class.js").then(module=>module.LyraPromptQueue)},"lr-prompt-studio":{optionalPeers:[],load:()=>import("../components/agent-tools/prompt-studio/prompt-studio.class.js").then(module=>module.LyraPromptStudio)},"lr-provenance-panel":{optionalPeers:[],load:()=>import("../components/retrieval/provenance-panel/provenance-panel.class.js").then(module=>module.LyraProvenancePanel)},"lr-push-to-talk":{optionalPeers:[],load:()=>import("../components/conversation/push-to-talk/push-to-talk.class.js").then(module=>module.LyraPushToTalk)},"lr-qr-code":{optionalPeers:["qrcode"],load:()=>import("../components/media/qr-code/qr-code.class.js").then(module=>module.LyraQrCode)},"lr-radar-chart":{optionalPeers:["chart.js","chartjs-plugin-annotation","chartjs-plugin-datalabels","chartjs-plugin-zoom"],load:()=>import("../components/charts/chart/radar-chart.class.js").then(module=>module.LyraRadarChart)},"lr-radio":{optionalPeers:[],load:()=>import("../components/forms/radio/radio.class.js").then(module=>module.LyraRadio)},"lr-radio-button":{optionalPeers:[],load:()=>import("../components/forms/radio/radio-button.class.js").then(module=>module.LyraRadioButton)},"lr-radio-group":{optionalPeers:[],load:()=>import("../components/forms/radio/radio-group.class.js").then(module=>module.LyraRadioGroup)},"lr-rag-answer":{optionalPeers:["dompurify","katex","marked","shiki"],load:()=>import("../components/retrieval/rag-answer/rag-answer.class.js").then(module=>module.LyraRagAnswer)},"lr-rag-eval-dashboard":{optionalPeers:[],load:()=>import("../components/retrieval/rag-eval-dashboard/rag-eval-dashboard.class.js").then(module=>module.LyraRagEvalDashboard)},"lr-random-content":{optionalPeers:[],load:()=>import("../components/utility/random-content/random-content.class.js").then(module=>module.LyraRandomContent)},"lr-rating":{optionalPeers:[],load:()=>import("../components/overlays/rating/rating.class.js").then(module=>module.LyraRating)},"lr-realtime-session":{optionalPeers:[],load:()=>import("../components/conversation/realtime-session/realtime-session.class.js").then(module=>module.LyraRealtimeSession)},"lr-relative-time":{optionalPeers:[],load:()=>import("../components/utility/format/relative-time.class.js").then(module=>module.LyraRelativeTime)},"lr-reorder-item":{optionalPeers:[],load:()=>import("../components/layout/reorder-list/reorder-item.class.js").then(module=>module.LyraReorderItem)},"lr-reorder-list":{optionalPeers:[],load:()=>import("../components/layout/reorder-list/reorder-list.class.js").then(module=>module.LyraReorderList)},"lr-resize-observer":{optionalPeers:[],load:()=>import("../components/utility/resize-observer/resize-observer.class.js").then(module=>module.LyraResizeObserver)},"lr-responsive-panel":{optionalPeers:[],load:()=>import("../components/layout/responsive-panel/responsive-panel.class.js").then(module=>module.LyraResponsivePanel)},"lr-result-card":{optionalPeers:[],load:()=>import("../components/agent-tools/result-card/result-card.class.js").then(module=>module.LyraResultCard)},"lr-result-field":{optionalPeers:[],load:()=>import("../components/agent-tools/result-card/result-field.class.js").then(module=>module.LyraResultField)},"lr-retrieval-compare":{optionalPeers:[],load:()=>import("../components/retrieval/retrieval-compare/retrieval-compare.class.js").then(module=>module.LyraRetrievalCompare)},"lr-retrieval-results":{optionalPeers:[],load:()=>import("../components/retrieval/retrieval-results/retrieval-results.class.js").then(module=>module.LyraRetrievalResults)},"lr-retrieval-search":{optionalPeers:[],load:()=>import("../components/retrieval/retrieval-search/retrieval-search.class.js").then(module=>module.LyraRetrievalSearch)},"lr-retrieval-trace":{optionalPeers:[],load:()=>import("../components/retrieval/retrieval-trace/retrieval-trace.class.js").then(module=>module.LyraRetrievalTrace)},"lr-rubric-form":{optionalPeers:[],load:()=>import("../components/forms/rubric-form/rubric-form.class.js").then(module=>module.LyraRubricForm)},"lr-scatter-chart":{optionalPeers:["chart.js","chartjs-plugin-annotation","chartjs-plugin-datalabels","chartjs-plugin-zoom"],load:()=>import("../components/charts/chart/scatter-chart.class.js").then(module=>module.LyraScatterChart)},"lr-scroller":{optionalPeers:[],load:()=>import("../components/layout/scroller/scroller.class.js").then(module=>module.LyraScroller)},"lr-segmented":{optionalPeers:[],load:()=>import("../components/layout/segmented/segmented.class.js").then(module=>module.LyraSegmented)},"lr-select":{optionalPeers:[],load:()=>import("../components/forms/select/select.class.js").then(module=>module.LyraSelect)},"lr-selection-toolbar":{optionalPeers:[],load:()=>import("../components/conversation/selection-toolbar/selection-toolbar.class.js").then(module=>module.LyraSelectionToolbar)},"lr-sequence-playback":{optionalPeers:[],load:()=>import("../components/media/sequence-playback/sequence-playback.class.js").then(module=>module.LyraSequencePlayback)},"lr-sequence-strip":{optionalPeers:[],load:()=>import("../components/data/sequence-strip/sequence-strip.class.js").then(module=>module.LyraSequenceStrip)},"lr-skeleton":{optionalPeers:[],load:()=>import("../components/overlays/skeleton/skeleton.class.js").then(module=>module.LyraSkeleton)},"lr-slider":{optionalPeers:[],load:()=>import("../components/forms/slider/slider.class.js").then(module=>module.LyraSlider)},"lr-source-card":{optionalPeers:[],load:()=>import("../components/retrieval/source-card/source-card.class.js").then(module=>module.LyraSourceCard)},"lr-source-list":{optionalPeers:[],load:()=>import("../components/retrieval/source-list/source-list.class.js").then(module=>module.LyraSourceList)},"lr-source-picker":{optionalPeers:[],load:()=>import("../components/retrieval/source-picker/source-picker.class.js").then(module=>module.LyraSourcePicker)},"lr-span-waterfall":{optionalPeers:[],load:()=>import("../components/agent-tools/span-waterfall/span-waterfall.class.js").then(module=>module.LyraSpanWaterfall)},"lr-sparkline":{optionalPeers:[],load:()=>import("../components/data/sparkline/sparkline.class.js").then(module=>module.LyraSparkline)},"lr-spinner":{optionalPeers:[],load:()=>import("../components/overlays/spinner/spinner.class.js").then(module=>module.LyraSpinner)},"lr-split-panel":{optionalPeers:[],load:()=>import("../components/layout/split-panel/split-panel.class.js").then(module=>module.LyraSplitPanel)},"lr-spreadsheet-viewer":{optionalPeers:["xlsx"],load:()=>import("../components/viewers/spreadsheet-viewer/spreadsheet-viewer.class.js").then(module=>module.LyraSpreadsheetViewer)},"lr-stack-trace":{optionalPeers:[],load:()=>import("../components/agent-tools/stack-trace/stack-trace.class.js").then(module=>module.LyraStackTrace)},"lr-stat":{optionalPeers:[],load:()=>import("../components/data/stat/stat.class.js").then(module=>module.LyraStat)},"lr-stepper":{optionalPeers:[],load:()=>import("../components/layout/stepper/stepper.class.js").then(module=>module.LyraStepper)},"lr-stream-status":{optionalPeers:[],load:()=>import("../components/conversation/stream-status/stream-status.class.js").then(module=>module.LyraStreamStatus)},"lr-streaming-text":{optionalPeers:["dompurify","katex","marked","shiki"],load:()=>import("../components/conversation/streaming-text/streaming-text.class.js").then(module=>module.LyraStreamingText)},"lr-subagent-panel":{optionalPeers:[],load:()=>import("../components/agent-tools/subagent-panel/subagent-panel.class.js").then(module=>module.LyraSubagentPanel)},"lr-suggestion-chips":{optionalPeers:[],load:()=>import("../components/conversation/suggestion-chips/suggestion-chips.class.js").then(module=>module.LyraSuggestionChips)},"lr-svg-viewer":{optionalPeers:["dompurify"],load:()=>import("../components/viewers/svg-viewer/svg-viewer.class.js").then(module=>module.LyraSvgViewer)},"lr-swatch-picker":{optionalPeers:[],load:()=>import("../components/forms/swatch-picker/swatch-picker.class.js").then(module=>module.LyraSwatchPicker)},"lr-switch":{optionalPeers:[],load:()=>import("../components/forms/switch/switch.class.js").then(module=>module.LyraSwitch)},"lr-tab":{optionalPeers:[],load:()=>import("../components/layout/tab-group/tab.class.js").then(module=>module.LyraTab)},"lr-tab-group":{optionalPeers:[],load:()=>import("../components/layout/tab-group/tab-group.class.js").then(module=>module.LyraTabGroup)},"lr-tab-panel":{optionalPeers:[],load:()=>import("../components/layout/tab-group/tab-panel.class.js").then(module=>module.LyraTabPanel)},"lr-table":{optionalPeers:[],load:()=>import("../components/data/table/table.class.js").then(module=>module.LyraTable)},"lr-tag":{optionalPeers:[],load:()=>import("../components/overlays/badge/tag.class.js").then(module=>module.LyraTag)},"lr-task-list":{optionalPeers:[],load:()=>import("../components/agent-tools/task-list/task-list.class.js").then(module=>module.LyraTaskList)},"lr-terminal":{optionalPeers:[],load:()=>import("../components/agent-tools/terminal/terminal.class.js").then(module=>module.LyraTerminal)},"lr-test-results":{optionalPeers:[],load:()=>import("../components/agent-tools/test-results/test-results.class.js").then(module=>module.LyraTestResults)},"lr-textarea":{optionalPeers:[],load:()=>import("../components/forms/textarea/textarea.class.js").then(module=>module.LyraTextarea)},"lr-thinking-panel":{optionalPeers:[],load:()=>import("../components/agent-tools/thinking-panel/thinking-panel.class.js").then(module=>module.LyraThinkingPanel)},"lr-thread-list":{optionalPeers:[],load:()=>import("../components/conversation/thread-list/thread-list.class.js").then(module=>module.LyraThreadList)},"lr-time-input":{optionalPeers:[],load:()=>import("../components/forms/input/time-input.class.js").then(module=>module.LyraTimeInput)},"lr-time-range":{optionalPeers:[],load:()=>import("../components/forms/time-range/time-range.class.js").then(module=>module.LyraTimeRange)},"lr-timeline":{optionalPeers:[],load:()=>import("../components/data/timeline/timeline.class.js").then(module=>module.LyraTimeline)},"lr-timeline-item":{optionalPeers:[],load:()=>import("../components/data/timeline/timeline-item.class.js").then(module=>module.LyraTimelineItem)},"lr-toast":{optionalPeers:[],load:()=>import("../components/overlays/toast/toast.class.js").then(module=>module.LyraToast)},"lr-toast-item":{optionalPeers:[],load:()=>import("../components/overlays/toast/toast-item.class.js").then(module=>module.LyraToastItem)},"lr-token-input":{optionalPeers:[],load:()=>import("../components/forms/token-input/token-input.class.js").then(module=>module.LyraTokenInput)},"lr-tool-approval-dialog":{optionalPeers:[],load:()=>import("../components/agent-tools/tool-approval-dialog/tool-approval-dialog.class.js").then(module=>module.LyraToolApprovalDialog)},"lr-tool-call-chip":{optionalPeers:[],load:()=>import("../components/agent-tools/tool-call-chip/tool-call-chip.class.js").then(module=>module.LyraToolCallChip)},"lr-tool-param-form":{optionalPeers:[],load:()=>import("../components/agent-tools/tool-param-form/tool-param-form.class.js").then(module=>module.LyraToolParamForm)},"lr-tool-result-dialog":{optionalPeers:[],load:()=>import("../components/agent-tools/tool-result-dialog/tool-result-dialog.class.js").then(module=>module.LyraToolResultDialog)},"lr-tool-result-view":{optionalPeers:[],load:()=>import("../components/agent-tools/tool-result-view/tool-result-view.class.js").then(module=>module.LyraToolResultView)},"lr-tool-select-dialog":{optionalPeers:[],load:()=>import("../components/agent-tools/tool-select-dialog/tool-select-dialog.class.js").then(module=>module.LyraToolSelectDialog)},"lr-tool-timeline":{optionalPeers:[],load:()=>import("../components/agent-tools/tool-timeline/tool-timeline.class.js").then(module=>module.LyraToolTimeline)},"lr-tooltip":{optionalPeers:[],load:()=>import("../components/overlays/overlay/tooltip.class.js").then(module=>module.LyraTooltip)},"lr-tour":{optionalPeers:[],load:()=>import("../components/utility/tour/tour.class.js").then(module=>module.LyraTour)},"lr-trace-tree":{optionalPeers:[],load:()=>import("../components/agent-tools/trace-tree/trace-tree.class.js").then(module=>module.LyraTraceTree)},"lr-transcript-feed":{optionalPeers:[],load:()=>import("../components/conversation/transcript-feed/transcript-feed.class.js").then(module=>module.LyraTranscriptFeed)},"lr-tree":{optionalPeers:[],load:()=>import("../components/data/tree/tree.class.js").then(module=>module.LyraTree)},"lr-tree-item":{optionalPeers:[],load:()=>import("../components/data/tree/tree-item.class.js").then(module=>module.LyraTreeItem)},"lr-typing-indicator":{optionalPeers:[],load:()=>import("../components/conversation/typing-indicator/typing-indicator.class.js").then(module=>module.LyraTypingIndicator)},"lr-usage-badge":{optionalPeers:[],load:()=>import("../components/conversation/usage-badge/usage-badge.class.js").then(module=>module.LyraUsageBadge)},"lr-video":{optionalPeers:["dompurify"],load:()=>import("../components/media/video/video.class.js").then(module=>module.LyraVideo)},"lr-video-playlist":{optionalPeers:["dompurify"],load:()=>import("../components/media/video-playlist/video-playlist.class.js").then(module=>module.LyraVideoPlaylist)},"lr-virtual-list":{optionalPeers:[],load:()=>import("../components/layout/virtual-list/virtual-list.class.js").then(module=>module.LyraVirtualList)},"lr-visually-hidden":{optionalPeers:[],load:()=>import("../components/utility/visually-hidden/visually-hidden.class.js").then(module=>module.LyraVisuallyHidden)},"lr-voice-picker":{optionalPeers:[],load:()=>import("../components/conversation/voice-picker/voice-picker.class.js").then(module=>module.LyraVoicePicker)},"lr-widget":{optionalPeers:[],load:()=>import("../components/layout/widget/widget.class.js").then(module=>module.LyraWidget)},"lr-widget-renderer":{optionalPeers:["dompurify","katex","marked","shiki"],load:()=>import("../components/conversation/widget-renderer/widget-renderer.class.js").then(module=>module.LyraWidgetRenderer)},"lr-word-cloud":{optionalPeers:[],load:()=>import("../components/data/word-cloud/word-cloud.class.js").then(module=>module.LyraWordCloud)},"lr-xml-viewer":{optionalPeers:[],load:()=>import("../components/viewers/xml-viewer/xml-viewer.class.js").then(module=>module.LyraXmlViewer)},"lr-zoomable-frame":{optionalPeers:[],load:()=>import("../components/media/zoomable-frame/zoomable-frame.class.js").then(module=>module.LyraZoomableFrame)}};export{AUTOLOADER_MANIFEST};
1
+ const AUTOLOADER_MANIFEST={"lr-accordion":{optionalPeers:[],load:()=>import("../components/layout/details/accordion.class.js").then(module=>module.LyraAccordion)},"lr-accordion-item":{optionalPeers:[],load:()=>import("../components/layout/details/accordion-item.class.js").then(module=>module.LyraAccordionItem)},"lr-activity-feed":{optionalPeers:[],load:()=>import("../components/agent-tools/activity-feed/activity-feed.class.js").then(module=>module.LyraActivityFeed)},"lr-agent-eval-dashboard":{optionalPeers:[],load:()=>import("../components/agent-tools/agent-eval-dashboard/agent-eval-dashboard.class.js").then(module=>module.LyraAgentEvalDashboard)},"lr-agent-run":{optionalPeers:[],load:()=>import("../components/agent-tools/agent-run/agent-run.class.js").then(module=>module.LyraAgentRun)},"lr-agent-trace":{optionalPeers:[],load:()=>import("../components/agent-tools/agent-trace/agent-trace.class.js").then(module=>module.LyraAgentTrace)},"lr-agent-workspace":{optionalPeers:["dompurify","katex","marked","shiki"],load:()=>import("../components/conversation/agent-workspace/agent-workspace.class.js").then(module=>module.LyraAgentWorkspace)},"lr-alert":{optionalPeers:[],load:()=>import("../components/overlays/alert/alert.class.js").then(module=>module.LyraAlert)},"lr-animated-image":{optionalPeers:[],load:()=>import("../components/media/animated-image/animated-image.class.js").then(module=>module.LyraAnimatedImage)},"lr-animation":{optionalPeers:[],load:()=>import("../components/media/animation/animation.class.js").then(module=>module.LyraAnimation)},"lr-app-rail":{optionalPeers:[],load:()=>import("../components/layout/app-rail/app-rail.class.js").then(module=>module.LyraAppRail)},"lr-app-rail-item":{optionalPeers:[],load:()=>import("../components/layout/app-rail/app-rail-item.class.js").then(module=>module.LyraAppRailItem)},"lr-approval-queue":{optionalPeers:[],load:()=>import("../components/agent-tools/approval-queue/approval-queue.class.js").then(module=>module.LyraApprovalQueue)},"lr-archive-viewer":{optionalPeers:[],load:()=>import("../components/viewers/archive-viewer/archive-viewer.class.js").then(module=>module.LyraArchiveViewer)},"lr-artifact-panel":{optionalPeers:[],load:()=>import("../components/agent-tools/artifact-panel/artifact-panel.class.js").then(module=>module.LyraArtifactPanel)},"lr-attachment-chip":{optionalPeers:[],load:()=>import("../components/media/attachment-chip/attachment-chip.class.js").then(module=>module.LyraAttachmentChip)},"lr-attachment-trigger":{optionalPeers:[],load:()=>import("../components/media/attachment-trigger/attachment-trigger.class.js").then(module=>module.LyraAttachmentTrigger)},"lr-audio-visualizer":{optionalPeers:[],load:()=>import("../components/conversation/audio-visualizer/audio-visualizer.class.js").then(module=>module.LyraAudioVisualizer)},"lr-av-player":{optionalPeers:[],load:()=>import("../components/media/av-player/av-player.class.js").then(module=>module.LyraAvPlayer)},"lr-avatar":{optionalPeers:[],load:()=>import("../components/media/avatar/avatar.class.js").then(module=>module.LyraAvatar)},"lr-avatar-group":{optionalPeers:[],load:()=>import("../components/media/avatar-group/avatar-group.class.js").then(module=>module.LyraAvatarGroup)},"lr-badge":{optionalPeers:[],load:()=>import("../components/overlays/badge/badge.class.js").then(module=>module.LyraBadge)},"lr-bar-chart":{optionalPeers:["chart.js","chartjs-plugin-annotation","chartjs-plugin-datalabels","chartjs-plugin-zoom"],load:()=>import("../components/charts/chart/bar-chart.class.js").then(module=>module.LyraBarChart)},"lr-box-plot":{optionalPeers:["@sgratzl/chartjs-chart-boxplot","chart.js"],load:()=>import("../components/charts/chart/box-plot.class.js").then(module=>module.LyraBoxPlot)},"lr-branch-picker":{optionalPeers:[],load:()=>import("../components/conversation/branch-picker/branch-picker.class.js").then(module=>module.LyraBranchPicker)},"lr-breadcrumb":{optionalPeers:[],load:()=>import("../components/layout/breadcrumb/breadcrumb.class.js").then(module=>module.LyraBreadcrumb)},"lr-breadcrumb-item":{optionalPeers:[],load:()=>import("../components/layout/breadcrumb/breadcrumb-item.class.js").then(module=>module.LyraBreadcrumbItem)},"lr-browser-frame":{optionalPeers:[],load:()=>import("../components/agent-tools/browser-frame/browser-frame.class.js").then(module=>module.LyraBrowserFrame)},"lr-bubble-chart":{optionalPeers:["chart.js","chartjs-plugin-annotation","chartjs-plugin-datalabels","chartjs-plugin-zoom"],load:()=>import("../components/charts/chart/bubble-chart.class.js").then(module=>module.LyraBubbleChart)},"lr-button":{optionalPeers:[],load:()=>import("../components/forms/button/button.class.js").then(module=>module.LyraButton)},"lr-button-group":{optionalPeers:[],load:()=>import("../components/layout/button-group/button-group.class.js").then(module=>module.LyraButtonGroup)},"lr-calendar":{optionalPeers:[],load:()=>import("../components/data/calendar/calendar.class.js").then(module=>module.LyraCalendar)},"lr-calendar-viewer":{optionalPeers:["ical.js"],load:()=>import("../components/viewers/calendar-viewer/calendar-viewer.class.js").then(module=>module.LyraCalendarViewer)},"lr-callout":{optionalPeers:[],load:()=>import("../components/overlays/callout/callout.class.js").then(module=>module.LyraCallout)},"lr-card":{optionalPeers:[],load:()=>import("../components/layout/card/card.class.js").then(module=>module.LyraCard)},"lr-carousel":{optionalPeers:[],load:()=>import("../components/layout/carousel/carousel.class.js").then(module=>module.LyraCarousel)},"lr-carousel-item":{optionalPeers:[],load:()=>import("../components/layout/carousel/carousel-item.class.js").then(module=>module.LyraCarouselItem)},"lr-chart":{optionalPeers:["chart.js","chartjs-plugin-annotation","chartjs-plugin-datalabels","chartjs-plugin-zoom"],load:()=>import("../components/charts/chart/chart.class.js").then(module=>module.LyraChart)},"lr-chat-composer":{optionalPeers:[],load:()=>import("../components/conversation/chat-composer/chat-composer.class.js").then(module=>module.LyraChatComposer)},"lr-chat-message":{optionalPeers:[],load:()=>import("../components/conversation/chat-message/chat-message.class.js").then(module=>module.LyraChatMessage)},"lr-chat-viewport":{optionalPeers:[],load:()=>import("../components/conversation/chat-viewport/chat-viewport.class.js").then(module=>module.LyraChatViewport)},"lr-checkbox":{optionalPeers:[],load:()=>import("../components/forms/checkbox/checkbox.class.js").then(module=>module.LyraCheckbox)},"lr-checkbox-group":{optionalPeers:[],load:()=>import("../components/forms/checkbox-group/checkbox-group.class.js").then(module=>module.LyraCheckboxGroup)},"lr-checkpoint":{optionalPeers:[],load:()=>import("../components/conversation/checkpoint/checkpoint.class.js").then(module=>module.LyraCheckpoint)},"lr-chip":{optionalPeers:[],load:()=>import("../components/overlays/chip/chip.class.js").then(module=>module.LyraChip)},"lr-chip-group":{optionalPeers:[],load:()=>import("../components/overlays/chip/chip-group.class.js").then(module=>module.LyraChipGroup)},"lr-chunk-inspector":{optionalPeers:[],load:()=>import("../components/retrieval/chunk-inspector/chunk-inspector.class.js").then(module=>module.LyraChunkInspector)},"lr-citation-badge":{optionalPeers:[],load:()=>import("../components/retrieval/citation-badge/citation-badge.class.js").then(module=>module.LyraCitationBadge)},"lr-claim-evidence":{optionalPeers:[],load:()=>import("../components/retrieval/claim-evidence/claim-evidence.class.js").then(module=>module.LyraClaimEvidence)},"lr-code-block":{optionalPeers:["shiki"],load:()=>import("../components/conversation/code-block/code-block.class.js").then(module=>module.LyraCodeBlock)},"lr-code-block-core":{optionalPeers:["shiki"],load:()=>import("../components/conversation/code-block/code-block-core.class.js").then(module=>module.LyraCodeBlockCore)},"lr-code-editor":{optionalPeers:[],load:()=>import("../components/forms/code-editor/code-editor.class.js").then(module=>module.LyraCodeEditor)},"lr-color-picker":{optionalPeers:[],load:()=>import("../components/forms/color-picker/color-picker.class.js").then(module=>module.LyraColorPicker)},"lr-combobox":{optionalPeers:[],load:()=>import("../components/forms/combobox/combobox.class.js").then(module=>module.LyraCombobox)},"lr-command-palette":{optionalPeers:["dompurify"],load:()=>import("../components/layout/command-palette/command-palette.class.js").then(module=>module.LyraCommandPalette)},"lr-commit-card":{optionalPeers:[],load:()=>import("../components/agent-tools/commit-card/commit-card.class.js").then(module=>module.LyraCommitCard)},"lr-community-card":{optionalPeers:[],load:()=>import("../components/retrieval/community-card/community-card.class.js").then(module=>module.LyraCommunityCard)},"lr-compare-panel":{optionalPeers:[],load:()=>import("../components/agent-tools/compare-panel/compare-panel.class.js").then(module=>module.LyraComparePanel)},"lr-condition-builder":{optionalPeers:["dompurify"],load:()=>import("../components/data/condition-builder/condition-builder.class.js").then(module=>module.LyraConditionBuilder)},"lr-confirm-bar":{optionalPeers:[],load:()=>import("../components/agent-tools/confirm-bar/confirm-bar.class.js").then(module=>module.LyraConfirmBar)},"lr-contact-viewer":{optionalPeers:[],load:()=>import("../components/viewers/contact-viewer/contact-viewer.class.js").then(module=>module.LyraContactViewer)},"lr-context-inspector":{optionalPeers:[],load:()=>import("../components/agent-tools/context-inspector/context-inspector.class.js").then(module=>module.LyraContextInspector)},"lr-context-meter":{optionalPeers:[],load:()=>import("../components/data/context-meter/context-meter.class.js").then(module=>module.LyraContextMeter)},"lr-control-group":{optionalPeers:[],load:()=>import("../components/layout/control-group/control-group.class.js").then(module=>module.LyraControlGroup)},"lr-conversation-item":{optionalPeers:[],load:()=>import("../components/conversation/conversation-item/conversation-item.class.js").then(module=>module.LyraConversationItem)},"lr-copy-button":{optionalPeers:[],load:()=>import("../components/utility/copy-button/copy-button.class.js").then(module=>module.LyraCopyButton)},"lr-csv-viewer":{optionalPeers:["papaparse"],load:()=>import("../components/viewers/csv-viewer/csv-viewer.class.js").then(module=>module.LyraCsvViewer)},"lr-dashboard-grid":{optionalPeers:["dompurify","katex","marked","shiki"],load:()=>import("../components/layout/dashboard-grid/dashboard-grid.class.js").then(module=>module.LyraDashboardGrid)},"lr-data-grid":{optionalPeers:[],load:()=>import("../components/data/data-grid/data-grid.class.js").then(module=>module.LyraDataGrid)},"lr-dataset-viewer":{optionalPeers:["papaparse"],load:()=>import("../components/viewers/dataset-viewer/dataset-viewer.class.js").then(module=>module.LyraDatasetViewer)},"lr-date-input":{optionalPeers:[],load:()=>import("../components/forms/date-picker/date-input.class.js").then(module=>module.LyraDateInput)},"lr-date-picker":{optionalPeers:[],load:()=>import("../components/forms/date-picker/date-picker.class.js").then(module=>module.LyraDatePicker)},"lr-details":{optionalPeers:[],load:()=>import("../components/layout/details/details.class.js").then(module=>module.LyraDetails)},"lr-dialog":{optionalPeers:[],load:()=>import("../components/overlays/dialog/dialog.class.js").then(module=>module.LyraDialog)},"lr-diff-view":{optionalPeers:["shiki"],load:()=>import("../components/utility/diff-view/diff-view.class.js").then(module=>module.LyraDiffView)},"lr-divider":{optionalPeers:[],load:()=>import("../components/utility/divider/divider.class.js").then(module=>module.LyraDivider)},"lr-dock-panel":{optionalPeers:[],load:()=>import("../components/layout/dock-panel/dock-panel.class.js").then(module=>module.LyraDockPanel)},"lr-document-compare":{optionalPeers:["shiki"],load:()=>import("../components/viewers/document-compare/document-compare.class.js").then(module=>module.LyraDocumentCompare)},"lr-document-library":{optionalPeers:[],load:()=>import("../components/data/document-library/document-library.class.js").then(module=>module.LyraDocumentLibrary)},"lr-document-preview":{optionalPeers:[],load:()=>import("../components/viewers/document-preview/document-preview.class.js").then(module=>module.LyraDocumentPreview)},"lr-document-viewer":{optionalPeers:[],load:()=>import("../components/viewers/document-viewer/document-viewer.class.js").then(module=>module.LyraDocumentViewer)},"lr-docx-viewer":{optionalPeers:["dompurify","mammoth"],load:()=>import("../components/viewers/docx-viewer/docx-viewer.class.js").then(module=>module.LyraDocxViewer)},"lr-doughnut-chart":{optionalPeers:["chart.js","chartjs-plugin-annotation","chartjs-plugin-datalabels","chartjs-plugin-zoom"],load:()=>import("../components/charts/chart/doughnut-chart.class.js").then(module=>module.LyraDoughnutChart)},"lr-drawer":{optionalPeers:[],load:()=>import("../components/overlays/drawer/drawer.class.js").then(module=>module.LyraDrawer)},"lr-drilldown-panel":{optionalPeers:[],load:()=>import("../components/layout/drilldown-panel/drilldown-panel.class.js").then(module=>module.LyraDrilldownPanel)},"lr-dropdown":{optionalPeers:[],load:()=>import("../components/overlays/overlay/dropdown.class.js").then(module=>module.LyraDropdown)},"lr-dropdown-item":{optionalPeers:[],load:()=>import("../components/layout/menu/dropdown-item.class.js").then(module=>module.LyraDropdownItem)},"lr-ebook-viewer":{optionalPeers:["epubjs"],load:()=>import("../components/viewers/ebook-viewer/ebook-viewer.class.js").then(module=>module.LyraEbookViewer)},"lr-email-viewer":{optionalPeers:["dompurify","postal-mime"],load:()=>import("../components/viewers/email-viewer/email-viewer.class.js").then(module=>module.LyraEmailViewer)},"lr-embedding-explorer":{optionalPeers:[],load:()=>import("../components/retrieval/embedding-explorer/embedding-explorer.class.js").then(module=>module.LyraEmbeddingExplorer)},"lr-emoji-picker":{optionalPeers:["emoji-picker-element-data"],load:()=>import("../components/forms/emoji-picker/emoji-picker.class.js").then(module=>module.LyraEmojiPicker)},"lr-empty":{optionalPeers:[],load:()=>import("../components/overlays/empty/empty.class.js").then(module=>module.LyraEmpty)},"lr-entity-card":{optionalPeers:[],load:()=>import("../components/retrieval/entity-card/entity-card.class.js").then(module=>module.LyraEntityCard)},"lr-entity-chip":{optionalPeers:[],load:()=>import("../components/retrieval/entity-chip/entity-chip.class.js").then(module=>module.LyraEntityChip)},"lr-entity-dossier":{optionalPeers:[],load:()=>import("../components/retrieval/entity-dossier/entity-dossier.class.js").then(module=>module.LyraEntityDossier)},"lr-env-list":{optionalPeers:[],load:()=>import("../components/data/env-list/env-list.class.js").then(module=>module.LyraEnvList)},"lr-eval-dataset":{optionalPeers:[],load:()=>import("../components/agent-tools/eval-dataset/eval-dataset.class.js").then(module=>module.LyraEvalDataset)},"lr-eval-result":{optionalPeers:["shiki"],load:()=>import("../components/agent-tools/eval-result/eval-result.class.js").then(module=>module.LyraEvalResult)},"lr-eval-run":{optionalPeers:["dompurify","katex","marked","shiki"],load:()=>import("../components/agent-tools/evaluation-run/evaluation-run.class.js").then(module=>module.LyraEvalRun)},"lr-export-button":{optionalPeers:[],load:()=>import("../components/utility/export-button/export-button.class.js").then(module=>module.LyraExportButton)},"lr-file-icon":{optionalPeers:[],load:()=>import("../components/media/file-icon/file-icon.class.js").then(module=>module.LyraFileIcon)},"lr-file-input":{optionalPeers:[],load:()=>import("../components/media/file-input/file-input.class.js").then(module=>module.LyraFileInput)},"lr-file-tree":{optionalPeers:[],load:()=>import("../components/data/file-tree/file-tree.class.js").then(module=>module.LyraFileTree)},"lr-filter-bar":{optionalPeers:[],load:()=>import("../components/layout/filter-bar/filter-bar.class.js").then(module=>module.LyraFilterBar)},"lr-flag":{optionalPeers:["@aceshooting/lyra-flags"],load:()=>import("../components/media/flag/flag.class.js").then(module=>module.LyraFlag)},"lr-flow-canvas":{optionalPeers:[],load:()=>import("../components/data/flow-canvas/flow-canvas.class.js").then(module=>module.LyraFlowCanvas)},"lr-flow-controls":{optionalPeers:[],load:()=>import("../components/data/flow-controls/flow-controls.class.js").then(module=>module.LyraFlowControls)},"lr-flow-minimap":{optionalPeers:[],load:()=>import("../components/data/flow-minimap/flow-minimap.class.js").then(module=>module.LyraFlowMinimap)},"lr-flow-node":{optionalPeers:[],load:()=>import("../components/data/flow-node/flow-node.class.js").then(module=>module.LyraFlowNode)},"lr-flow-run-status":{optionalPeers:[],load:()=>import("../components/data/flow-run-status/flow-run-status.class.js").then(module=>module.LyraFlowRunStatus)},"lr-format-bytes":{optionalPeers:[],load:()=>import("../components/utility/format/format-bytes.class.js").then(module=>module.LyraFormatBytes)},"lr-format-date":{optionalPeers:[],load:()=>import("../components/utility/format/format-date.class.js").then(module=>module.LyraFormatDate)},"lr-format-number":{optionalPeers:[],load:()=>import("../components/utility/format/format-number.class.js").then(module=>module.LyraFormatNumber)},"lr-funnel":{optionalPeers:[],load:()=>import("../components/data/funnel/funnel.class.js").then(module=>module.LyraFunnel)},"lr-gauge":{optionalPeers:[],load:()=>import("../components/data/gauge/gauge.class.js").then(module=>module.LyraGauge)},"lr-generation-metrics":{optionalPeers:[],load:()=>import("../components/conversation/generation-metrics/generation-metrics.class.js").then(module=>module.LyraGenerationMetrics)},"lr-geojson-view":{optionalPeers:["maplibre-gl"],load:()=>import("../components/viewers/geojson-view/geojson-view.class.js").then(module=>module.LyraGeojsonView)},"lr-geojson-viewer":{optionalPeers:["maplibre-gl"],load:()=>import("../components/viewers/geojson-view/geojson-viewer.class.js").then(module=>module.LyraGeoJsonViewer)},"lr-graph":{optionalPeers:["d3-drag","d3-force","d3-selection","d3-zoom"],load:()=>import("../components/retrieval/graph/graph.class.js").then(module=>module.LyraGraph)},"lr-graph-legend":{optionalPeers:[],load:()=>import("../components/retrieval/graph-legend/graph-legend.class.js").then(module=>module.LyraGraphLegend)},"lr-graph-query-builder":{optionalPeers:[],load:()=>import("../components/data/graph-query-builder/graph-query-builder.class.js").then(module=>module.LyraGraphQueryBuilder)},"lr-grounding-summary":{optionalPeers:[],load:()=>import("../components/retrieval/grounding-summary/grounding-summary.class.js").then(module=>module.LyraGroundingSummary)},"lr-handoff-divider":{optionalPeers:[],load:()=>import("../components/conversation/handoff-divider/handoff-divider.class.js").then(module=>module.LyraHandoffDivider)},"lr-heatmap":{optionalPeers:[],load:()=>import("../components/data/heatmap/heatmap.class.js").then(module=>module.LyraHeatmap)},"lr-highlight-layer":{optionalPeers:[],load:()=>import("../components/viewers/highlight-layer/highlight-layer.class.js").then(module=>module.LyraHighlightLayer)},"lr-histogram":{optionalPeers:["chart.js","chartjs-plugin-annotation","chartjs-plugin-datalabels","chartjs-plugin-zoom"],load:()=>import("../components/charts/chart/histogram.class.js").then(module=>module.LyraHistogram)},"lr-html-viewer":{optionalPeers:["dompurify"],load:()=>import("../components/viewers/html-viewer/html-viewer.class.js").then(module=>module.LyraHtmlViewer)},"lr-icon":{optionalPeers:["dompurify"],load:()=>import("../components/utility/icon/icon.class.js").then(module=>module.LyraIcon)},"lr-icon-button":{optionalPeers:["dompurify"],load:()=>import("../components/forms/icon-button/icon-button.class.js").then(module=>module.LyraIconButton)},"lr-image-comparer":{optionalPeers:[],load:()=>import("../components/media/image-comparer/image-comparer.class.js").then(module=>module.LyraImageComparer)},"lr-image-viewer":{optionalPeers:[],load:()=>import("../components/media/image-viewer/image-viewer.class.js").then(module=>module.LyraImageViewer)},"lr-include":{optionalPeers:["dompurify"],load:()=>import("../components/viewers/include/include.class.js").then(module=>module.LyraInclude)},"lr-ingestion-queue":{optionalPeers:[],load:()=>import("../components/retrieval/ingestion-queue/ingestion-queue.class.js").then(module=>module.LyraIngestionQueue)},"lr-input":{optionalPeers:[],load:()=>import("../components/forms/input/input.class.js").then(module=>module.LyraInput)},"lr-intersection-observer":{optionalPeers:[],load:()=>import("../components/utility/intersection-observer/intersection-observer.class.js").then(module=>module.LyraIntersectionObserver)},"lr-json-schema-viewer":{optionalPeers:[],load:()=>import("../components/agent-tools/schema-viewer/schema-viewer.class.js").then(module=>module.LyraJsonSchemaViewer)},"lr-json-viewer":{optionalPeers:[],load:()=>import("../components/utility/json-viewer/json-viewer.class.js").then(module=>module.LyraJsonViewer)},"lr-kbd":{optionalPeers:[],load:()=>import("../components/overlays/kbd/kbd.class.js").then(module=>module.LyraKbd)},"lr-knowledge-base":{optionalPeers:[],load:()=>import("../components/retrieval/knowledge-base/knowledge-base.class.js").then(module=>module.LyraKnowledgeBase)},"lr-knowledge-base-admin":{optionalPeers:[],load:()=>import("../components/retrieval/knowledge-base-admin/knowledge-base-admin.class.js").then(module=>module.LyraKnowledgeBaseAdmin)},"lr-knowledge-graph-explorer":{optionalPeers:["d3-drag","d3-force","d3-selection","d3-zoom"],load:()=>import("../components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.class.js").then(module=>module.LyraKnowledgeGraphExplorer)},"lr-known-date":{optionalPeers:[],load:()=>import("../components/utility/known-date/known-date.class.js").then(module=>module.LyraKnownDate)},"lr-lightbox":{optionalPeers:[],load:()=>import("../components/media/lightbox/lightbox.class.js").then(module=>module.LyraLightbox)},"lr-line-chart":{optionalPeers:["chart.js","chartjs-plugin-annotation","chartjs-plugin-datalabels","chartjs-plugin-zoom"],load:()=>import("../components/charts/chart/line-chart.class.js").then(module=>module.LyraLineChart)},"lr-lite-chart":{optionalPeers:[],load:()=>import("../components/charts/chart/lite-chart.class.js").then(module=>module.LyraLiteChart)},"lr-live-region":{optionalPeers:[],load:()=>import("../components/utility/live-region/live-region.class.js").then(module=>module.LyraLiveRegion)},"lr-locale-picker":{optionalPeers:["@aceshooting/lyra-flags"],load:()=>import("../components/forms/locale-picker/locale-picker.class.js").then(module=>module.LyraLocalePicker)},"lr-map":{optionalPeers:["maplibre-gl"],load:()=>import("../components/media/map/map.class.js").then(module=>module.LyraMap)},"lr-markdown":{optionalPeers:["dompurify","katex","marked","shiki"],load:()=>import("../components/conversation/markdown/markdown.class.js").then(module=>module.LyraMarkdown)},"lr-markdown-core":{optionalPeers:["dompurify","katex","marked","shiki"],load:()=>import("../components/conversation/markdown/markdown-core.class.js").then(module=>module.LyraMarkdownCore)},"lr-mcp-app":{optionalPeers:[],load:()=>import("../components/agent-tools/mcp-app/mcp-app.class.js").then(module=>module.LyraMcpApp)},"lr-media-card":{optionalPeers:[],load:()=>import("../components/media/media-card/media-card.class.js").then(module=>module.LyraMediaCard)},"lr-memory-panel":{optionalPeers:[],load:()=>import("../components/retrieval/memory-panel/memory-panel.class.js").then(module=>module.LyraMemoryPanel)},"lr-mention-popover":{optionalPeers:[],load:()=>import("../components/utility/mention-popover/mention-popover.class.js").then(module=>module.LyraMentionPopover)},"lr-menu":{optionalPeers:[],load:()=>import("../components/layout/menu/menu.class.js").then(module=>module.LyraMenu)},"lr-menu-item":{optionalPeers:[],load:()=>import("../components/layout/menu/menu-item.class.js").then(module=>module.LyraMenuItem)},"lr-menu-label":{optionalPeers:[],load:()=>import("../components/layout/menu/menu-label.class.js").then(module=>module.LyraMenuLabel)},"lr-message-actions":{optionalPeers:[],load:()=>import("../components/conversation/message-actions/message-actions.class.js").then(module=>module.LyraMessageActions)},"lr-message-feedback":{optionalPeers:[],load:()=>import("../components/conversation/message-feedback/message-feedback.class.js").then(module=>module.LyraMessageFeedback)},"lr-message-parts":{optionalPeers:["dompurify","katex","marked","shiki"],load:()=>import("../components/conversation/message-parts/message-parts.class.js").then(module=>module.LyraMessageParts)},"lr-mind-map":{optionalPeers:[],load:()=>import("../components/retrieval/mind-map/mind-map.class.js").then(module=>module.LyraMindMap)},"lr-model-select":{optionalPeers:[],load:()=>import("../components/conversation/model-select/model-select.class.js").then(module=>module.LyraModelSelect)},"lr-model-settings-panel":{optionalPeers:[],load:()=>import("../components/conversation/model-settings-panel/model-settings-panel.class.js").then(module=>module.LyraModelSettingsPanel)},"lr-multi-split":{optionalPeers:[],load:()=>import("../components/layout/multi-split/multi-split.class.js").then(module=>module.LyraMultiSplit)},"lr-mutation-observer":{optionalPeers:[],load:()=>import("../components/utility/mutation-observer/mutation-observer.class.js").then(module=>module.LyraMutationObserver)},"lr-native-time-input":{optionalPeers:[],load:()=>import("../components/forms/input/native-time-input.class.js").then(module=>module.LyraNativeTimeInput)},"lr-neighbor-list":{optionalPeers:[],load:()=>import("../components/retrieval/neighbor-list/neighbor-list.class.js").then(module=>module.LyraNeighborList)},"lr-node-palette":{optionalPeers:[],load:()=>import("../components/retrieval/node-palette/node-palette.class.js").then(module=>module.LyraNodePalette)},"lr-notebook-viewer":{optionalPeers:["dompurify","katex","marked","shiki"],load:()=>import("../components/viewers/notebook-viewer/notebook-viewer.class.js").then(module=>module.LyraNotebookViewer)},"lr-number-input":{optionalPeers:[],load:()=>import("../components/forms/input/number-input.class.js").then(module=>module.LyraNumberInput)},"lr-option":{optionalPeers:[],load:()=>import("../components/forms/combobox/option.class.js").then(module=>module.LyraOption)},"lr-otp-input":{optionalPeers:[],load:()=>import("../components/forms/otp-input/otp-input.class.js").then(module=>module.LyraOtpInput)},"lr-page":{optionalPeers:[],load:()=>import("../components/layout/page/page.class.js").then(module=>module.LyraPage)},"lr-page-rail":{optionalPeers:[],load:()=>import("../components/viewers/page-rail/page-rail.class.js").then(module=>module.LyraPageRail)},"lr-pagination":{optionalPeers:[],load:()=>import("../components/data/pagination/pagination.class.js").then(module=>module.LyraPagination)},"lr-pan-zoom":{optionalPeers:[],load:()=>import("../components/media/pan-zoom/pan-zoom.class.js").then(module=>module.LyraPanZoom)},"lr-path-strip":{optionalPeers:[],load:()=>import("../components/retrieval/path-strip/path-strip.class.js").then(module=>module.LyraPathStrip)},"lr-pdf-viewer":{optionalPeers:["pdfjs-dist"],load:()=>import("../components/viewers/pdf-viewer/pdf-viewer.class.js").then(module=>module.LyraPdfViewer)},"lr-phone-input":{optionalPeers:["@aceshooting/lyra-flags","libphonenumber-js"],load:()=>import("../components/forms/phone-input/phone-input.class.js").then(module=>module.LyraPhoneInput)},"lr-pie-chart":{optionalPeers:["chart.js","chartjs-plugin-annotation","chartjs-plugin-datalabels","chartjs-plugin-zoom"],load:()=>import("../components/charts/chart/pie-chart.class.js").then(module=>module.LyraPieChart)},"lr-polar-area-chart":{optionalPeers:["chart.js","chartjs-plugin-annotation","chartjs-plugin-datalabels","chartjs-plugin-zoom"],load:()=>import("../components/charts/chart/polar-area-chart.class.js").then(module=>module.LyraPolarAreaChart)},"lr-policy-summary":{optionalPeers:[],load:()=>import("../components/agent-tools/policy-summary/policy-summary.class.js").then(module=>module.LyraPolicySummary)},"lr-poll-status":{optionalPeers:[],load:()=>import("../components/utility/poll-status/poll-status.class.js").then(module=>module.LyraPollStatus)},"lr-popover":{optionalPeers:[],load:()=>import("../components/overlays/overlay/popover.class.js").then(module=>module.LyraPopover)},"lr-popup":{optionalPeers:[],load:()=>import("../components/overlays/popup/popup.class.js").then(module=>module.LyraPopup)},"lr-pptx-viewer":{optionalPeers:["@aiden0z/pptx-renderer"],load:()=>import("../components/viewers/pptx-viewer/pptx-viewer.class.js").then(module=>module.LyraPptxViewer)},"lr-progress-bar":{optionalPeers:[],load:()=>import("../components/overlays/progress/progress-bar.class.js").then(module=>module.LyraProgressBar)},"lr-progress-ring":{optionalPeers:[],load:()=>import("../components/overlays/progress/progress-ring.class.js").then(module=>module.LyraProgressRing)},"lr-prompt-input":{optionalPeers:[],load:()=>import("../components/conversation/prompt-input/prompt-input.class.js").then(module=>module.LyraPromptInput)},"lr-prompt-queue":{optionalPeers:[],load:()=>import("../components/conversation/prompt-queue/prompt-queue.class.js").then(module=>module.LyraPromptQueue)},"lr-prompt-studio":{optionalPeers:[],load:()=>import("../components/agent-tools/prompt-studio/prompt-studio.class.js").then(module=>module.LyraPromptStudio)},"lr-provenance-panel":{optionalPeers:[],load:()=>import("../components/retrieval/provenance-panel/provenance-panel.class.js").then(module=>module.LyraProvenancePanel)},"lr-push-to-talk":{optionalPeers:[],load:()=>import("../components/conversation/push-to-talk/push-to-talk.class.js").then(module=>module.LyraPushToTalk)},"lr-qr-code":{optionalPeers:["qrcode"],load:()=>import("../components/media/qr-code/qr-code.class.js").then(module=>module.LyraQrCode)},"lr-radar-chart":{optionalPeers:["chart.js","chartjs-plugin-annotation","chartjs-plugin-datalabels","chartjs-plugin-zoom"],load:()=>import("../components/charts/chart/radar-chart.class.js").then(module=>module.LyraRadarChart)},"lr-radio":{optionalPeers:[],load:()=>import("../components/forms/radio/radio.class.js").then(module=>module.LyraRadio)},"lr-radio-button":{optionalPeers:[],load:()=>import("../components/forms/radio/radio-button.class.js").then(module=>module.LyraRadioButton)},"lr-radio-group":{optionalPeers:[],load:()=>import("../components/forms/radio/radio-group.class.js").then(module=>module.LyraRadioGroup)},"lr-rag-answer":{optionalPeers:["dompurify","katex","marked","shiki"],load:()=>import("../components/retrieval/rag-answer/rag-answer.class.js").then(module=>module.LyraRagAnswer)},"lr-rag-eval-dashboard":{optionalPeers:[],load:()=>import("../components/retrieval/rag-eval-dashboard/rag-eval-dashboard.class.js").then(module=>module.LyraRagEvalDashboard)},"lr-random-content":{optionalPeers:[],load:()=>import("../components/utility/random-content/random-content.class.js").then(module=>module.LyraRandomContent)},"lr-rating":{optionalPeers:[],load:()=>import("../components/overlays/rating/rating.class.js").then(module=>module.LyraRating)},"lr-realtime-session":{optionalPeers:[],load:()=>import("../components/conversation/realtime-session/realtime-session.class.js").then(module=>module.LyraRealtimeSession)},"lr-relative-time":{optionalPeers:[],load:()=>import("../components/utility/format/relative-time.class.js").then(module=>module.LyraRelativeTime)},"lr-reorder-item":{optionalPeers:[],load:()=>import("../components/layout/reorder-list/reorder-item.class.js").then(module=>module.LyraReorderItem)},"lr-reorder-list":{optionalPeers:[],load:()=>import("../components/layout/reorder-list/reorder-list.class.js").then(module=>module.LyraReorderList)},"lr-resize-observer":{optionalPeers:[],load:()=>import("../components/utility/resize-observer/resize-observer.class.js").then(module=>module.LyraResizeObserver)},"lr-responsive-panel":{optionalPeers:[],load:()=>import("../components/layout/responsive-panel/responsive-panel.class.js").then(module=>module.LyraResponsivePanel)},"lr-result-card":{optionalPeers:[],load:()=>import("../components/agent-tools/result-card/result-card.class.js").then(module=>module.LyraResultCard)},"lr-result-field":{optionalPeers:[],load:()=>import("../components/agent-tools/result-card/result-field.class.js").then(module=>module.LyraResultField)},"lr-retrieval-compare":{optionalPeers:[],load:()=>import("../components/retrieval/retrieval-compare/retrieval-compare.class.js").then(module=>module.LyraRetrievalCompare)},"lr-retrieval-results":{optionalPeers:[],load:()=>import("../components/retrieval/retrieval-results/retrieval-results.class.js").then(module=>module.LyraRetrievalResults)},"lr-retrieval-search":{optionalPeers:[],load:()=>import("../components/retrieval/retrieval-search/retrieval-search.class.js").then(module=>module.LyraRetrievalSearch)},"lr-retrieval-trace":{optionalPeers:[],load:()=>import("../components/retrieval/retrieval-trace/retrieval-trace.class.js").then(module=>module.LyraRetrievalTrace)},"lr-rubric-form":{optionalPeers:[],load:()=>import("../components/forms/rubric-form/rubric-form.class.js").then(module=>module.LyraRubricForm)},"lr-scatter-chart":{optionalPeers:["chart.js","chartjs-plugin-annotation","chartjs-plugin-datalabels","chartjs-plugin-zoom"],load:()=>import("../components/charts/chart/scatter-chart.class.js").then(module=>module.LyraScatterChart)},"lr-scroller":{optionalPeers:[],load:()=>import("../components/layout/scroller/scroller.class.js").then(module=>module.LyraScroller)},"lr-segmented":{optionalPeers:[],load:()=>import("../components/layout/segmented/segmented.class.js").then(module=>module.LyraSegmented)},"lr-select":{optionalPeers:[],load:()=>import("../components/forms/select/select.class.js").then(module=>module.LyraSelect)},"lr-selection-toolbar":{optionalPeers:[],load:()=>import("../components/conversation/selection-toolbar/selection-toolbar.class.js").then(module=>module.LyraSelectionToolbar)},"lr-sequence-playback":{optionalPeers:[],load:()=>import("../components/media/sequence-playback/sequence-playback.class.js").then(module=>module.LyraSequencePlayback)},"lr-sequence-strip":{optionalPeers:[],load:()=>import("../components/data/sequence-strip/sequence-strip.class.js").then(module=>module.LyraSequenceStrip)},"lr-skeleton":{optionalPeers:[],load:()=>import("../components/overlays/skeleton/skeleton.class.js").then(module=>module.LyraSkeleton)},"lr-slider":{optionalPeers:[],load:()=>import("../components/forms/slider/slider.class.js").then(module=>module.LyraSlider)},"lr-source-card":{optionalPeers:[],load:()=>import("../components/retrieval/source-card/source-card.class.js").then(module=>module.LyraSourceCard)},"lr-source-list":{optionalPeers:[],load:()=>import("../components/retrieval/source-list/source-list.class.js").then(module=>module.LyraSourceList)},"lr-source-picker":{optionalPeers:[],load:()=>import("../components/retrieval/source-picker/source-picker.class.js").then(module=>module.LyraSourcePicker)},"lr-span-waterfall":{optionalPeers:[],load:()=>import("../components/agent-tools/span-waterfall/span-waterfall.class.js").then(module=>module.LyraSpanWaterfall)},"lr-sparkline":{optionalPeers:[],load:()=>import("../components/data/sparkline/sparkline.class.js").then(module=>module.LyraSparkline)},"lr-spinner":{optionalPeers:[],load:()=>import("../components/overlays/spinner/spinner.class.js").then(module=>module.LyraSpinner)},"lr-split-panel":{optionalPeers:[],load:()=>import("../components/layout/split-panel/split-panel.class.js").then(module=>module.LyraSplitPanel)},"lr-spreadsheet-viewer":{optionalPeers:["xlsx"],load:()=>import("../components/viewers/spreadsheet-viewer/spreadsheet-viewer.class.js").then(module=>module.LyraSpreadsheetViewer)},"lr-stack-trace":{optionalPeers:[],load:()=>import("../components/agent-tools/stack-trace/stack-trace.class.js").then(module=>module.LyraStackTrace)},"lr-stat":{optionalPeers:[],load:()=>import("../components/data/stat/stat.class.js").then(module=>module.LyraStat)},"lr-stepper":{optionalPeers:[],load:()=>import("../components/layout/stepper/stepper.class.js").then(module=>module.LyraStepper)},"lr-stream-status":{optionalPeers:[],load:()=>import("../components/conversation/stream-status/stream-status.class.js").then(module=>module.LyraStreamStatus)},"lr-streaming-text":{optionalPeers:["dompurify","katex","marked","shiki"],load:()=>import("../components/conversation/streaming-text/streaming-text.class.js").then(module=>module.LyraStreamingText)},"lr-subagent-panel":{optionalPeers:[],load:()=>import("../components/agent-tools/subagent-panel/subagent-panel.class.js").then(module=>module.LyraSubagentPanel)},"lr-suggestion-chips":{optionalPeers:[],load:()=>import("../components/conversation/suggestion-chips/suggestion-chips.class.js").then(module=>module.LyraSuggestionChips)},"lr-svg-viewer":{optionalPeers:["dompurify"],load:()=>import("../components/viewers/svg-viewer/svg-viewer.class.js").then(module=>module.LyraSvgViewer)},"lr-swatch-picker":{optionalPeers:[],load:()=>import("../components/forms/swatch-picker/swatch-picker.class.js").then(module=>module.LyraSwatchPicker)},"lr-switch":{optionalPeers:[],load:()=>import("../components/forms/switch/switch.class.js").then(module=>module.LyraSwitch)},"lr-tab":{optionalPeers:[],load:()=>import("../components/layout/tab-group/tab.class.js").then(module=>module.LyraTab)},"lr-tab-group":{optionalPeers:[],load:()=>import("../components/layout/tab-group/tab-group.class.js").then(module=>module.LyraTabGroup)},"lr-tab-panel":{optionalPeers:[],load:()=>import("../components/layout/tab-group/tab-panel.class.js").then(module=>module.LyraTabPanel)},"lr-table":{optionalPeers:[],load:()=>import("../components/data/table/table.class.js").then(module=>module.LyraTable)},"lr-tag":{optionalPeers:[],load:()=>import("../components/overlays/badge/tag.class.js").then(module=>module.LyraTag)},"lr-task-list":{optionalPeers:[],load:()=>import("../components/agent-tools/task-list/task-list.class.js").then(module=>module.LyraTaskList)},"lr-terminal":{optionalPeers:[],load:()=>import("../components/agent-tools/terminal/terminal.class.js").then(module=>module.LyraTerminal)},"lr-test-results":{optionalPeers:[],load:()=>import("../components/agent-tools/test-results/test-results.class.js").then(module=>module.LyraTestResults)},"lr-textarea":{optionalPeers:[],load:()=>import("../components/forms/textarea/textarea.class.js").then(module=>module.LyraTextarea)},"lr-thinking-panel":{optionalPeers:[],load:()=>import("../components/agent-tools/thinking-panel/thinking-panel.class.js").then(module=>module.LyraThinkingPanel)},"lr-thread-list":{optionalPeers:[],load:()=>import("../components/conversation/thread-list/thread-list.class.js").then(module=>module.LyraThreadList)},"lr-time-input":{optionalPeers:[],load:()=>import("../components/forms/input/time-input.class.js").then(module=>module.LyraTimeInput)},"lr-time-range":{optionalPeers:[],load:()=>import("../components/forms/time-range/time-range.class.js").then(module=>module.LyraTimeRange)},"lr-timeline":{optionalPeers:[],load:()=>import("../components/data/timeline/timeline.class.js").then(module=>module.LyraTimeline)},"lr-timeline-item":{optionalPeers:[],load:()=>import("../components/data/timeline/timeline-item.class.js").then(module=>module.LyraTimelineItem)},"lr-toast":{optionalPeers:[],load:()=>import("../components/overlays/toast/toast.class.js").then(module=>module.LyraToast)},"lr-toast-item":{optionalPeers:[],load:()=>import("../components/overlays/toast/toast-item.class.js").then(module=>module.LyraToastItem)},"lr-token-input":{optionalPeers:[],load:()=>import("../components/forms/token-input/token-input.class.js").then(module=>module.LyraTokenInput)},"lr-tool-approval-dialog":{optionalPeers:[],load:()=>import("../components/agent-tools/tool-approval-dialog/tool-approval-dialog.class.js").then(module=>module.LyraToolApprovalDialog)},"lr-tool-call-chip":{optionalPeers:[],load:()=>import("../components/agent-tools/tool-call-chip/tool-call-chip.class.js").then(module=>module.LyraToolCallChip)},"lr-tool-param-form":{optionalPeers:[],load:()=>import("../components/agent-tools/tool-param-form/tool-param-form.class.js").then(module=>module.LyraToolParamForm)},"lr-tool-result-dialog":{optionalPeers:[],load:()=>import("../components/agent-tools/tool-result-dialog/tool-result-dialog.class.js").then(module=>module.LyraToolResultDialog)},"lr-tool-result-view":{optionalPeers:[],load:()=>import("../components/agent-tools/tool-result-view/tool-result-view.class.js").then(module=>module.LyraToolResultView)},"lr-tool-select-dialog":{optionalPeers:[],load:()=>import("../components/agent-tools/tool-select-dialog/tool-select-dialog.class.js").then(module=>module.LyraToolSelectDialog)},"lr-tool-timeline":{optionalPeers:[],load:()=>import("../components/agent-tools/tool-timeline/tool-timeline.class.js").then(module=>module.LyraToolTimeline)},"lr-tooltip":{optionalPeers:[],load:()=>import("../components/overlays/overlay/tooltip.class.js").then(module=>module.LyraTooltip)},"lr-tour":{optionalPeers:[],load:()=>import("../components/utility/tour/tour.class.js").then(module=>module.LyraTour)},"lr-trace-tree":{optionalPeers:[],load:()=>import("../components/agent-tools/trace-tree/trace-tree.class.js").then(module=>module.LyraTraceTree)},"lr-transcript-feed":{optionalPeers:[],load:()=>import("../components/conversation/transcript-feed/transcript-feed.class.js").then(module=>module.LyraTranscriptFeed)},"lr-tree":{optionalPeers:[],load:()=>import("../components/data/tree/tree.class.js").then(module=>module.LyraTree)},"lr-tree-item":{optionalPeers:[],load:()=>import("../components/data/tree/tree-item.class.js").then(module=>module.LyraTreeItem)},"lr-typing-indicator":{optionalPeers:[],load:()=>import("../components/conversation/typing-indicator/typing-indicator.class.js").then(module=>module.LyraTypingIndicator)},"lr-usage-badge":{optionalPeers:[],load:()=>import("../components/conversation/usage-badge/usage-badge.class.js").then(module=>module.LyraUsageBadge)},"lr-video":{optionalPeers:[],load:()=>import("../components/media/video/video.class.js").then(module=>module.LyraVideo)},"lr-video-playlist":{optionalPeers:[],load:()=>import("../components/media/video-playlist/video-playlist.class.js").then(module=>module.LyraVideoPlaylist)},"lr-virtual-list":{optionalPeers:[],load:()=>import("../components/layout/virtual-list/virtual-list.class.js").then(module=>module.LyraVirtualList)},"lr-visually-hidden":{optionalPeers:[],load:()=>import("../components/utility/visually-hidden/visually-hidden.class.js").then(module=>module.LyraVisuallyHidden)},"lr-voice-picker":{optionalPeers:[],load:()=>import("../components/conversation/voice-picker/voice-picker.class.js").then(module=>module.LyraVoicePicker)},"lr-widget":{optionalPeers:[],load:()=>import("../components/layout/widget/widget.class.js").then(module=>module.LyraWidget)},"lr-widget-renderer":{optionalPeers:["dompurify","katex","marked","shiki"],load:()=>import("../components/conversation/widget-renderer/widget-renderer.class.js").then(module=>module.LyraWidgetRenderer)},"lr-word-cloud":{optionalPeers:[],load:()=>import("../components/data/word-cloud/word-cloud.class.js").then(module=>module.LyraWordCloud)},"lr-xml-viewer":{optionalPeers:[],load:()=>import("../components/viewers/xml-viewer/xml-viewer.class.js").then(module=>module.LyraXmlViewer)},"lr-zoomable-frame":{optionalPeers:[],load:()=>import("../components/media/zoomable-frame/zoomable-frame.class.js").then(module=>module.LyraZoomableFrame)}};export{AUTOLOADER_MANIFEST};
@@ -3,4 +3,4 @@
3
3
  * Run `pnpm package-metadata` after changing package identity or version.
4
4
  */
5
5
  export declare const LYRA_PACKAGE_NAME: '@aceshooting/lyra-ui';
6
- export declare const LYRA_PACKAGE_VERSION: '12.1.1';
6
+ export declare const LYRA_PACKAGE_VERSION: '12.1.2';
@@ -1 +1 @@
1
- const LYRA_PACKAGE_NAME="@aceshooting/lyra-ui",LYRA_PACKAGE_VERSION="12.1.1";export{LYRA_PACKAGE_NAME,LYRA_PACKAGE_VERSION};
1
+ const LYRA_PACKAGE_NAME="@aceshooting/lyra-ui",LYRA_PACKAGE_VERSION="12.1.2";export{LYRA_PACKAGE_NAME,LYRA_PACKAGE_VERSION};
@@ -52,7 +52,7 @@ no-op if already open),
52
52
  cycling) at the ends; the active row is scrolled into view. Enter selects. Hovering a non-disabled
53
53
  row also makes it active.
54
54
 
55
- **Events:** `lr-open`, `lr-close` (both `detail: undefined`, cancelable — fired before the
55
+ **Events:** `lr-open`, `lr-close` (both `detail: null`, cancelable — fired before the
56
56
  mutation, `preventDefault()` keeps the palette in its current open state), `lr-select`
57
57
  (`detail: { command }`, fired before the command's own `onSelect` runs and before the palette
58
58
  closes), and no-detail `focus`/`blur` events re-dispatched from the host whenever the search input
@@ -136,7 +136,7 @@ Text field + calendar popover, **form-associated** via the shared `FormAssociate
136
136
  **Properties (44):**
137
137
 
138
138
  - `appearance: 'filled'|'outlined'|'filled-outlined' = 'outlined'` (reflected)
139
- - `appliedPreset: LyraDateRangePreset | undefined` (read-only, new in 12.1.0) — the `presets` entry
139
+ - `appliedPreset: LyraDateRangePreset | undefined` (read-only, new in 12.0.0) — the `presets` entry
140
140
  whose button produced the current `value`, or `undefined` when the value was picked on the
141
141
  calendar, typed into the field, cleared, or reset. Read it inside your own `change`/`input`
142
142
  handler; it is updated before those events are relayed, so a handler observes the preset that
@@ -136,7 +136,7 @@ Text field + calendar popover, **form-associated** via the shared `FormAssociate
136
136
  **Properties (44):**
137
137
 
138
138
  - `appearance: 'filled'|'outlined'|'filled-outlined' = 'outlined'` (reflected)
139
- - `appliedPreset: LyraDateRangePreset | undefined` (read-only, new in 12.1.0) — the `presets` entry
139
+ - `appliedPreset: LyraDateRangePreset | undefined` (read-only, new in 12.0.0) — the `presets` entry
140
140
  whose button produced the current `value`, or `undefined` when the value was picked on the
141
141
  calendar, typed into the field, cleared, or reset. Read it inside your own `change`/`input`
142
142
  handler; it is updated before those events are relayed, so a handler observes the preset that
@@ -97,9 +97,9 @@ matches, the anchor isn't `region`, or the format isn't currently `image`.
97
97
  - `lr-download` — `detail: { src, filename }` — fired when the generic-download fallback's link is
98
98
  activated. The browser download itself needs no JS (a plain `<a download>` handles it); this is
99
99
  purely for a host that wants to observe/log the download.
100
- - `lr-render-error` — `detail: { error }` — fired when this component's own `text/*`/
101
- `application/json` `fetch(src)` fails (network error or non-2xx response). Distinct from
102
- `status="error"`, which is entirely host-driven.
100
+ - `lr-render-error` — `detail: { error }` — fired when this component rejects an unsafe text/JSON
101
+ URL or when its own `text/*`/`application/json` `fetch(src)` fails (network error or non-2xx
102
+ response). Distinct from `status="error"`, which is entirely host-driven.
103
103
  - `lr-highlight-activate` — `detail: { highlightId }` — a region highlight was clicked or activated via
104
104
  Enter/Space (image format only).
105
105
 
@@ -209,10 +209,11 @@ document-level assertive sink.
209
209
  for text/image sinks and `mailto:` is accepted for navigation anchors elsewhere in the library — a
210
210
  `src="data:..."` document renders/fetches fine but falls back to no download affordance in the
211
211
  generic state, and a `mailto:` names no retrievable bytes so it cannot be a download target at all.
212
- - A `src` that fails its sink's URL-safety check does **not** raise `lr-render-error` that event is
213
- reserved for a `fetch()` that was actually attempted and failed at the network layer; an unsafe/
214
- malformed `src` is silently treated as unusable instead (a rendered `[part="error"]` message for
215
- text, a silent fallback for image/download — and on the image path that fallback is the download
216
- fallback directly, so an `unsupported` slot the host supplied is bypassed).
212
+ - A `src` that fails its sink's URL-safety check raises `lr-render-error` for the text/JSON path,
213
+ with the localized URL-rejection error; the event is also raised when an allowed `fetch()` fails
214
+ at the network layer. An unsafe/malformed image or download `src` is instead treated as unusable
215
+ without an event (a silent image fallback or omitted download link — and on the image path that
216
+ fallback is the download fallback directly, so an `unsupported` slot the host supplied is
217
+ bypassed).
217
218
 
218
219
  ---
@@ -17,8 +17,9 @@
17
17
 
18
18
  Fetches a `.docx` Word document as an `ArrayBuffer`, converts it to semantic HTML with the optional
19
19
  `mammoth` peer, sanitizes that HTML through the optional `dompurify` peer, and renders the result.
20
- Mammoth preserves document structure such as headings, paragraphs, lists, tables, and images; it is
21
- not intended to reproduce pixel-exact Word page layout. There is no unsanitized rendering escape
20
+ Mammoth preserves document structure such as headings, paragraphs, lists, tables, and validated
21
+ inline raster images; it is not intended to reproduce pixel-exact Word page layout. There is no
22
+ unsanitized rendering escape
22
23
  hatch: if `dompurify` is unavailable, rendering is blocked even when Mammoth converted successfully.
23
24
 
24
25
  Every rendered heading's slug (the same GitHub-slugger-style algorithm `<lr-markdown>` uses) is
@@ -52,7 +52,7 @@ value therefore stays inside a 320px LTR or RTL bar, with the chip's own label e
52
52
  overflow ownership rather than widening the page.
53
53
 
54
54
  Each edit exposes one filter-bar `lr-input` carrying a detached, deeply frozen snapshot of the
55
- complete value object, plus the `filterId` that changed and (new in 12.1.0) `appliedPreset` — see
55
+ complete value object, plus the `filterId` that changed and (new in 12.0.0) `appliedPreset` — see
56
56
  "Date-range quick ranges" below. A built-in or
57
57
  custom control's own `lr-input`/`lr-change` aliases stay inside the wrapper so their incompatible
58
58
  detail shapes cannot escape as duplicate bar events; native-style `input`/`change` events from the
@@ -105,7 +105,7 @@ text the user typed, not a truncated or normalized form.
105
105
 
106
106
  ### Date-range quick ranges
107
107
 
108
- A `'date-range'` definition also accepts `presets?: readonly LyraDateRangePreset[]` (new in 12.1.0),
108
+ A `'date-range'` definition also accepts `presets?: readonly LyraDateRangePreset[]` (new in 12.0.0),
109
109
  forwarded to its composed `<lr-date-input>` exactly like `min`/`max`, so the quick-range row
110
110
  ("Today", "Last 7 days", "All time") renders inside that filter's own calendar popover. Entries are
111
111
  `LyraDateRangePreset { label, start?, end? }` with ISO `YYYY-MM-DD` bounds; an omitted bound is open
@@ -48,7 +48,8 @@ text, independent of whether the optional map peer is available.
48
48
 
49
49
  **Events:**
50
50
 
51
- - `lr-render-error` — `detail: { error }` — fetch, parse, or shape-validation failure.
51
+ - `lr-render-error` — `detail: { error }` — fetch, parse, shape-validation, or missing-map capability
52
+ failure. A missing optional MapLibre peer also keeps the serialized metadata fallback visible.
52
53
  - `lr-search-change` — `detail: { query: string; matchCount: number; matchCountExact: boolean; activeIndex: number }` — fired
53
54
  whenever serialized-metadata search state changes.
54
55
  - `lr-anchor-result` — `detail: { found: boolean }` — fired after an `anchor` assignment or