PowerShellUniversal.Component.Pivot.psd1

#
# Module manifest for module 'PowerShellUniversal.Component.Pivot'
#
# Generated by: eizedev
#
# Generated on: 11/22/2026
#

@{

# Script module or binary module file associated with this manifest.
RootModule = 'PowerShellUniversal.Component.Pivot.psm1'

# Version number of this module.
ModuleVersion = '0.9.0'

# Supported PSEditions
# CompatiblePSEditions = @()

# ID used to uniquely identify this module
GUID = 'e59f7ff0-a6dc-4402-9729-98af8be5c83b'

# Author of this module
Author = 'eizedev'

# Company or vendor of this module
CompanyName = 'eizedev'

# Copyright statement for this module
Copyright = '(c) 2026 eizedev. MIT License.'

# Description of the functionality provided by this module
Description = 'Pivot report builder for PowerShell Universal apps: readers drag fields into rows, columns, values and filters and get a table or a chart, with date grouping, drill-down to the source rows, templates, undo, Excel, CSV, PNG, SVG and HTML export and the reader''s own CSV, JSON and Excel files read in the browser; light and dark theme, English and German, fed straight from SQL DataTables, REST results and PowerShell objects.'

# Minimum version of the PowerShell engine required by this module
PowerShellVersion = '7.4'

# Name of the PowerShell host required by this module
# PowerShellHostName = ''

# Minimum version of the PowerShell host required by this module
# PowerShellHostVersion = ''

# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
# DotNetFrameworkVersion = ''

# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
# ClrVersion = ''

# Processor architecture (None, X86, Amd64) required by this module
# ProcessorArchitecture = ''

# Modules that must be imported into the global environment prior to importing this module
# RequiredModules = @()

# Assemblies that must be loaded prior to importing this module
# RequiredAssemblies = @()

# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @()

# Type files (.ps1xml) to be loaded when importing this module
# TypesToProcess = @()

# Format files (.ps1xml) to be loaded when importing this module
# FormatsToProcess = @()

# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
# NestedModules = @()

# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
FunctionsToExport = 'New-UDPivotReport', 'New-UDPivotReportPlaceholder', 
               'ConvertFrom-UDPivotView', 'ConvertFrom-UDPivotViewFile', 
               'ConvertTo-UDPivotViewFile', 'New-UDPivotFileTemplateStore', 
               'New-UDPivotTemplateStore', 'Invoke-UDPivotTemplateRequest', 
               'Get-UDPivotSqlColumnDescription', 'Invoke-UDPivotReport', 
               'Get-UDPivotSource'

# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
CmdletsToExport = @()

# Variables to export from this module
# VariablesToExport = @()

# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
AliasesToExport = @()

# DSC resources to export from this module
# DscResourcesToExport = @()

# List of all modules packaged with this module
# ModuleList = @()

# List of all files packaged with this module
# FileList = @()

# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
PrivateData = @{

    PSData = @{

        # Tags applied to this module. These help with module discovery in online galleries.
        Tags = 'PowerShellUniversal','UniversalDashboard','PSU','Pivot','PivotTable','Report','Dashboard','Excel','Visualization'

        # A URL to the license for this module.
        LicenseUri = 'https://github.com/eizedev/powershell-universal-components/blob/main/LICENSE'

        # A URL to the main website for this project.
        ProjectUri = 'https://github.com/eizedev/powershell-universal-components'

        # A URL to an icon representing this module.
        # IconUri = ''

        # ReleaseNotes of this module
        ReleaseNotes = '### Added

- `Invoke-UDPivotReport -Engine Node -Numbers Full|Shown` and `-FlatHeader`: pivotkit-cli 0.5.0''s
  `--numbers` and `--flat-header`. CSV and JSON numbers rounded to the decimals the view shows, and a
  CSV file with one header row
  ([#153](https://github.com/eizedev/powershell-universal-components/issues/153)).
- `New-UDPivotReport -Uri -Source -Token` shows the rows of a pivotkit-server source for the signed-in
  person, also when a link from pivotkit''s `create_link` opens the page
  ([#144](https://github.com/eizedev/powershell-universal-components/issues/144),
  [rows from a server](https://powershell-universal-components.eize.dev/pivot/server-rows/)).
    - PowerShell fetches the rows from the server''s rows route (`POST /sources/records`) with the
      person''s token, `$AccessToken` of PSU''s OpenID Connect sign-in. The browser makes no request to
      the server, and the token never reaches it.
    - The server''s answer goes to the report as JSON text, never as PowerShell objects. The report
      parses it in the browser.
    - A link''s parameters come from the page''s query string (`$Query`, or `-Query`), only those the
      server lists in the source''s `linkParams`. `-Parameter` sets them instead.
    - `-View` takes the name of a view the server publishes for the source: only the fields it uses
      leave the server.
    - `-MaxBytes` (default 32 MB, at most 64 MB) caps the answer. The module reads it in pieces and
      stops past the cap.
    - `-Parameter` also binds as `-Params`, the name of the issue.
    - When the server refuses, the report tells the reader in plain words, in English or German. The
      operator''s message with a fixed error id goes to the warning stream, the app''s log.
      `-ErrorAction` or `-ErrorVariable` get the error itself; `-ErrorAction Stop` throws it. The new
      error ids are `PivotRowsNotAllowed`, `PivotNoData` and `PivotServerBusy`.
    - A page without a token asks the reader to sign in, and a token without the server''s scope says
      the service is not set up for the sign-in.
    - A link''s view that needs a field the server held back says which field above the report.
- `Get-UDPivotSource` gives each source `Records`, `LinkParams`, `Views`, `Rows` and `DataAsOf`, where
  the server sends them.
- `PivotServerProblem` has `NotShown`, the fields of a `NOT_ALLOWED` answer of the rows route.
- The docs list the module''s own network requests next to pivotkit''s
  ([#146](https://github.com/eizedev/powershell-universal-components/issues/146),
  [network requests](https://powershell-universal-components.eize.dev/pivot/events/#network-requests)).
- A sizing section: what the rows of a server take in the browser, the PowerShell process and PSU''s
  server process, measured on PSU 2026.2.5 and 2026.3.4, and `DOTNET_GCHeapHardLimit` per PSU process.
- pivotkit 0.9''s chart types in views and in `Invoke-UDPivotReport -Layout`: `combo` (bars and lines)
  and `treemap`. High and low points on a chart, `chart.referenceLines.extremes`.
- pivotkit 0.9''s view keys pass `ConvertFrom-UDPivotView`, view files, `-Templates` and the template
  stores: `fieldLabels` (a field''s name of the report''s own), `display = ''both''` (the table and the chart
  side by side), `sort[].column` (rows sorted by one column) and a colour scale''s `conditional.colors`.
  The check refuses a `fieldLabels` that is no object of field names with a text of 1 to 256
  characters each.
- Theme properties `--psu-pivot-chart-axis` (falls back to `--psu-chart-axis`) for the chart''s axis
  line, and `--psu-pivot-chart-other` for a pie''s slice "Other (n)". Without it the slice takes
  pivotkit''s colours: the muted text in the light theme, a grey in the dark.

### Changed

- pivotkit-core 0.9.0, pivotkit-react 0.9.0, pivotkit-report 0.5.0 and pivotkit-xlsx 0.6.0, all pinned.
  What readers see:
    - Chart settings offers **Bars and lines** and **Treemap**, and **High and low points** under
      Reference lines.
    - A pie or donut without a legend puts its smallest slices into one grey slice "Other (n)" when
      their labels have no room.
    - The messages about a loaded view no longer name pivotkit.
    - A click on a bar, a point or a heatmap cell opens a menu at it: **Show the rows**, **Only …** and
      **Without …**. A double click opens the rows at once.
    - **Name** in the menu of a field in Rows, Columns or Filters, a tab **Both** for the table and the
      chart side by side, **Colours** for a colour scale, a click on a column''s name sorts by that
      column, and a date in Filters can be grouped.
    - A tip on stacked bars of a value that does not add up (`stackedTotal` for `-Tips`).
    - On a touch screen every button and menu row is at least 44 by 44 pixels.
    - The German texts and the tips are part of the module''s one bundle, as before: PSU loads no
      new file.
- `-OnCellClick` for a chart point runs at **Show the rows** in the point''s menu or at a double click,
  no longer at the first click. The docs of the event say so.
- `ConvertFrom-UDPivotView` takes `display` in lower case only, as pivotkit writes it: `''Table''` is
  refused.
- The bundle is about 1.8 MB, 550 KB with gzip.
- Views with the new keys need this version on every PSU server that reads them. Module 0.8 skips a
  view with `display = ''both''` in a view folder or store with a warning, refuses it in `-View` and
  `-Templates`, and drops `fieldLabels`. Update every server that shares
  a template store or a view folder before readers save such views.
- The chart''s axis line takes `--psu-chart-axis` where an app sets it, also when it sets
  `--psu-pivot-border` for the report''s other lines.
- `Invoke-UDPivotReport -Engine Node` names Node 24 or later for pivotkit-cli 0.5.0 and later
  (Node 22 for pivotkit-cli 0.4 and older).

### Fixed

- `-ErrorVariable` holds the error that stops a command, once. It also held each step the error took
  through the module, often eight records or more. With `-ErrorVariable +name`, the entries you had
  before stay. This holds for every command of the module
  ([#153](https://github.com/eizedev/powershell-universal-components/issues/153)).
- With `-ErrorAction SilentlyContinue` or `Ignore`, a command of the module went on after its own
  error: `Invoke-UDPivotReport` without a command line still tried to run it, and
  `ConvertFrom-UDPivotView` returned a result for a view it had refused. Such an error now stops the
  command with every `-ErrorAction`. Catch it with `try` and `catch`
  ([#153](https://github.com/eizedev/powershell-universal-components/issues/153)).
- `New-UDPivotReport -Tips` refuses an id pivotkit does not know, and names the ones it knows. A wrong
  id or a notice id such as `filterEmpty` went to pivotkit, which ignored it. An id in other case, such as
  `Values`, now reaches pivotkit in its spelling
  ([#154](https://github.com/eizedev/powershell-universal-components/issues/154)).
- The views page lists the chart settings in a table of their own
  ([#154](https://github.com/eizedev/powershell-universal-components/issues/154)).'


        # Prerelease string of this module
        # Prerelease = ''

        # Flag to indicate whether the module requires explicit user acceptance for install/update/save
        # RequireLicenseAcceptance = $false

        # External dependent modules of this module
        # ExternalModuleDependencies = @()

    } # End of PSData hashtable

 } # End of PrivateData hashtable

# HelpInfo URI of this module
# HelpInfoURI = ''

# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''

}