DashHtml.psd1
|
@{ # Module identity RootModule = 'DashHtml.psm1' ModuleVersion = '1.10.0' GUID = '3f8e9a2c-1d4b-47f5-8c6e-0a5d2b9f3e71' Author = 'DashHtml Contributors' CompanyName = 'DashHtml Contributors' Copyright = '(c) 2026 DashHtml Contributors. MIT License.' Description = 'Generate interactive self-contained HTML dashboards. Includes sortable / filterable / pageable tables, linked drill-down, client-side CSV / Excel / PDF export, KPI summary tiles (with optional sparklines, trend deltas, big-number and gauge styles), pie / donut / line / area / bar / stacked-bar / bullet charts, RAG status matrix, sequential / diverging 2-D heatmaps, parent-child topology trees, inline tabbed content blocks, chronological event feeds, dismissible alert banners, threshold cell colouring with a unified -Rag parameter, and a sticky nav bar. Six built-in theme families (Default, Azure, VMware, Grey, Company, Rag — the v1.4 family using the Office/Excel-compatible RAG palette) each with embedded light / dark variants and a runtime toggle button.' PowerShellVersion = '7.0' # Exports FunctionsToExport = @( 'New-DhDashboard' 'Add-DhTable' 'Set-DhTableLink' 'Export-DhDashboard' 'Get-DhTheme' 'Add-DhSummary' 'Add-DhHtmlBlock' 'Add-DhCollapsible' 'Add-DhFilterCard' 'Add-DhBarChart' 'Add-DhAlertBanner' 'Add-DhPieChart' 'Add-DhBullet' 'Add-DhLineChart' 'Add-DhEventFeed' 'Add-DhStatusGrid' 'Add-DhTabs' 'Add-DhHeatmap' 'Add-DhTopologyMap' 'Add-DhGlobalFilter' ) CmdletsToExport = @() VariablesToExport = @() AliasesToExport = @() # Gallery metadata PrivateData = @{ PSData = @{ Tags = @('HTML','Dashboard','Table','Export','CSV','Excel','PDF','Report','Infrastructure') LicenseUri = 'https://github.com/nicola-vi/DashHtml/blob/main/LICENSE' ProjectUri = 'https://github.com/nicola-vi/DashHtml' ReleaseNotes = @' 1.10.0 — Opt-in 12-column grid layout. Blocks and tables accept -GridSpan (1-12); as soon as one is set, the report body becomes a 12-column CSS grid and each element spans the requested columns (unspanned elements stay full-width). Put two half-width charts side by side with -GridSpan 6, three-across with -GridSpan 4, etc. Collapses to a single column below 900px. Fully non-breaking: a dashboard with no -GridSpan is byte-identical to 1.9.0 (sequential flow). 372 tests. 1.9.0 — Global filters. New Add-DhGlobalFilter cmdlet adds a page-level control (a facet dropdown, or a from/to date range) to a filter bar above the report body. Changing it re-filters EVERY table that has the named field at once, and charts derived from those tables re-aggregate; tables without the field are unaffected. Multiple global filters combine with AND, and selections persist in the URL hash. Non-breaking — dashboards with no global filter are byte-unchanged. 365 tests. 1.8.0 — Internal refactor, no functional change. The ~3,400-line dashboard runtime JavaScript (previously one here-string in Get-DhJsContent.ps1) is now authored across five cohesive fragment files — Get-DhJsCore / Get-DhJsBlocks / Get-DhJsNav / Get-DhJsTable / Get-DhJsBoot — concatenated by Get-DhJsContent. The assembled output is byte-for-byte identical to 1.7.0 (verified); generated dashboards are unchanged. Purely a maintainability improvement. 355 tests. 1.7.0 — UX & performance. (1) Interactive topology maps: Add-DhTopologyMap now renders in a fixed viewport with drag-to-pan, wheel-zoom, a zoom/reset toolbar, and a +/- toggle on every parent node to collapse its subtree. Default on; pass -Interactive:$false for the pre-1.7.0 static view. (2) Accessibility: honours prefers-reduced-motion, adds aria-sort + keyboard operation to sortable table headers, an aria-live result-count region, and a focus ring on sortable headers. (3) Large tables: -Pageable:$false now renders ALL rows (previously it wrongly showed only the first page) and virtualises the DOM above 150 rows so "show all" stays fast. Also fixes Add-DhTabs throwing on a single tab. Non-breaking. 355 tests. Full version history: https://github.com/nicola-vi/DashHtml/blob/main/CHANGELOG.md '@ } } } |