@praxisui/core 10.0.0-rc.60 → 10.0.0-rc.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -831,6 +831,8 @@ promise failures produced after a host/global-action adapter accepts a delivery.
831
831
 
832
832
  If the problem is URL or HTTP execution, start with `resourcePath`. If the problem is semantic discovery, surface/action context, or stable runtime identity, start with `resourceKey`.
833
833
 
834
+ Use `normalizePraxisResourcePath(raw, styleOrOptions?)`, `extractPraxisApiPathPrefix(baseUrl)`, and `resolvePraxisSchemasFilteredUrl(apiBaseUrl, resourcePath, options?)` from `@praxisui/core` whenever components or services normalize `resourcePath` inputs. Calling these shared utilities ensures equivalent inputs such as `'/workforce/employees'`, `'workforce/employees'`, `'workforce/employees/'`, and `'/api/workforce/employees'` produce identical CRUD, `/schemas/filtered`, `/options/*`, `/stats/*`, and `/capabilities` URLs without double `/api/api/` prefixes or relative `baseUrl` failures.
835
+
834
836
  `ResourceCapabilitySnapshot.canonicalOperations` preserves structural support only.
835
837
  `operations` carries the current operation contract and availability for CRUD, query,
836
838
  options, stats, and export. The core keeps unknown operation IDs for forward compatibility;
@@ -978,15 +980,46 @@ An intact historical snapshot with a different runtime compatibility is `RUNTIME
978
980
 
979
981
  Snapshot publication returns `DomainRuleSnapshotStored` (immutable content/hash), without selecting or refreshing an active head. Before a first activation, a server-published `CREATE_ROLLOUT` version action may authorize starting the staged flow together with the rollout catalog action. `createRollout` and `activateSnapshotCandidate` accept an explicit null head token for verified absence and send only `If-None-Match: *`; existing tokens send only `If-Match`. Candidate activation retains the actual rollout ID. The nullable expected snapshot/head pair records bootstrap absence; clients must never replace it with a content hash, fabricated head or local readiness calculation.
980
982
 
983
+ ## Testing Defaults (`providePraxisTestingDefaults`)
984
+
985
+ Full-page and host integration specs often import `appConfig.providers`, which installs `providePraxisGlobalConfigBootstrap(...)`, `providePraxisEnterpriseRuntimeContext(...)`, and `ApiConfigStorage`. Without test overrides, `TestBed` bootstraps can issue real HTTP calls to `/api/praxis/runtime/context` and `/api/praxis/config/ui` or leak `localStorage` schema/theme state between tests.
986
+
987
+ Spread `...providePraxisTestingDefaults(options?)` after `...appConfig.providers` (or standalone in `TestBed.configureTestingModule`):
988
+
989
+ ```ts
990
+ import { provideHttpClient } from '@angular/common/http';
991
+ import { provideHttpClientTesting } from '@angular/common/http/testing';
992
+ import { providePraxisTestingDefaults } from '@praxisui/core';
993
+
994
+ TestBed.configureTestingModule({
995
+ providers: [
996
+ ...appConfig.providers,
997
+ provideHttpClient(),
998
+ provideHttpClientTesting(),
999
+ ...providePraxisTestingDefaults({
1000
+ initialConfig: { 'table:employees': { pageSize: 20 } },
1001
+ }),
1002
+ ],
1003
+ });
1004
+ ```
1005
+
1006
+ What `providePraxisTestingDefaults()` configures:
1007
+
1008
+ - **`CONFIG_STORAGE` & `ASYNC_CONFIG_STORAGE`:** both bound to the same `InMemoryConfigStore` via `InMemoryConfigStorage` and `InMemoryAsyncConfigStorage` (with strong-ack `of(void 0)` emissions on save/clear and zero `localStorage` access).
1009
+ - **`EnterpriseRuntimeContextService`:** replaced with `InMemoryEnterpriseRuntimeContextService` (zero `HttpClient` dependency, zero calls to `/api/praxis/runtime/**`, supports `adoptConfirmedContext`, `choices`, `tenants`, `navigation`, and `applyHeaders`).
1010
+ - **Bootstrap initializers:** overrides `PRAXIS_GLOBAL_CONFIG_BOOTSTRAP_OPTIONS`, `PRAXIS_GLOBAL_CONFIG_BOOTSTRAP_READY`, and `PRAXIS_ENTERPRISE_RUNTIME_CONTEXT_READY` so `ApplicationInitStatus.donePromise` resolves immediately.
1011
+ - **`API_URL` & caches:** defaults `API_URL` to `{ default: { baseUrl: '/api' } }` (unless `apiUrl: false`), sets `cache.disableSchemaCache: true` so `GenericCrudService` uses `MemoryCacheAdapter`, disables visibility `fetch` revalidation on `PraxisSessionTransportService`, disables `localStorage` writes in `PraxisThemeService`, and installs a silent `PRAXIS_TELEMETRY_TRANSPORT`.
1012
+ - **Optional defensive interceptor:** `createPraxisTestingNoopHttpInterceptor()` can be passed to `withInterceptors([...])` when a spec uses `provideHttpClient()` without `provideHttpClientTesting()`.
1013
+
981
1014
  ## Public API Areas
982
1015
 
983
1016
  Core exports:
984
1017
 
985
1018
  - shared services such as `GenericCrudService`, `GlobalConfigService`, `GlobalActionService`, `ResourceDiscoveryService`, `ComponentMetadataRegistry`, `PraxisJsonLogicService`, `LoadingOrchestratorService`
986
1019
  - governed submit-error normalization through `ErrorMessageService`, preserving public `code`, `target`, `category`, `decision`, and safe messages while keeping transport details out of UI fallbacks; unknown decisions retain safe summary copy without implying a field correction
987
- - tokens and providers for API URLs, global config, global actions, loading, i18n, settings panel bridge, surface drawer bridge, collection export, field selector registry, overlay/layer scale, the shared collection-search visual contract (`PRAXIS_COLLECTION_SEARCH_DEFAULTS`, `PRAXIS_COLLECTION_SEARCH_VARS`, `buildPraxisCollectionSearchCss`), and the shared action-control geometry contract (`PRAXIS_ACTION_CONTROL_DEFAULTS`, `PRAXIS_ACTION_CONTROL_VARS`, `buildPraxisActionControlCss`)
1020
+ - tokens and providers for API URLs, global config, global actions, loading, i18n, settings panel bridge, surface drawer bridge, collection export, field selector registry, overlay/layer scale, `providePraxisTestingDefaults()` / `InMemoryConfigStorage` / `createPraxisTestingNoopHttpInterceptor()`, the shared collection-search visual contract (`PRAXIS_COLLECTION_SEARCH_DEFAULTS`, `PRAXIS_COLLECTION_SEARCH_VARS`, `buildPraxisCollectionSearchCss`), and the shared action-control geometry contract (`PRAXIS_ACTION_CONTROL_DEFAULTS`, `PRAXIS_ACTION_CONTROL_VARS`, `buildPraxisActionControlCss`)
988
1021
  - models for table config, fields, forms, rich content, editorial content, widget pages, global actions, resource discovery, domain knowledge/rules, analytics, query context, loading, and collection export
989
- - helpers for schema ids, ETag fetch, field mapping, config merge, validation, IDs, inline filter controls, global action refs, and form hooks
1022
+ - helpers for canonical `resourcePath` normalization (`normalizePraxisResourcePath`, `extractPraxisApiPathPrefix`, `resolvePraxisSchemasFilteredUrl`), schema ids, ETag fetch, field mapping, config merge, validation, IDs, inline filter controls, global action refs, and form hooks
990
1023
  - dynamic widget/page runtime components and metadata
991
1024
  - UI helpers such as icon picker, empty state card, resource quick connect, schema viewer, `PraxisIconDirective`, and `PraxisIconButtonComponent`
992
1025
 
@@ -1479,6 +1512,22 @@ As leituras `listSnapshotVersions`, `getSnapshotHeadStatus`, `getSnapshotHead`,
1479
1512
 
1480
1513
  O consumidor deve invalidar cache, requisições tardias e confirmações ao mudar de operação. Políticas de rollout permanecem familiares. Preparação neutra de candidato continua limitada ao endpoint host que resolve uma única operação registrada; não inventar um campo ou capacidade no cliente para compor famílias múltiplas. O corte público exige release coordenado do Core, bibliotecas dependentes e consumidores, seguido de instalação a partir do registry; tarball local só comprova candidato.
1481
1514
 
1515
+ ## Canonical `configPersistenceStrategy` Contract
1516
+
1517
+ `@praxisui/core` publishes `PraxisConfigPersistenceStrategy` (`'local-first' | 'input-first' | 'volatile'`), `PraxisLegacyConfigPersistenceStrategy`, and `normalizeConfigPersistenceStrategy(strategy, fallback)` as the shared precedence contract across Praxis components (`@praxisui/table`, `@praxisui/crud`, `@praxisui/tabs`, `@praxisui/expansion`, `@praxisui/dynamic-form`, `@praxisui/list`, `@praxisui/charts`):
1518
+
1519
+ - `'local-first'` (canonical; `'storage-first'` accepted as legacy alias): hydrates persisted overrides and persists runtime/authoring customizations for the component identity.
1520
+ - `'input-first'`: prioritizes host-supplied `[config]` / `[metadata]` over stored overrides so composed pages retain declarative ownership.
1521
+ - `'volatile'`: strictly ephemeral in-memory execution; never reads, writes, or clears configuration storage (used by temporary previews, inspect-only hosts, and sandbox views).
1522
+
1523
+ ## Platform Governance, Enterprise Shell, and Reconciler Foundations
1524
+
1525
+ - **Theming & Layer Tokens (`_theming.scss` & `theme-bridge.css`):** Publishes `--praxis-info`, `--praxis-warning`, and canonical `--praxis-z-*` stacking tokens (`--praxis-z-drawer`, `--praxis-z-command-palette`, etc.) uniformly across Sass theming and runtime CSS bridge stylesheets, alongside `@media (forced-colors: active)` and GPU containment (`contain`) guidance for `--pdx-shell-card-backdrop-filter`.
1526
+ - **Fail-Closed Write Gates (`ApiConfigStorageOptions.canWriteTargetScope`):** Optional preflight resolver returning `boolean | ConfigStorageWriteDecision` (with structured `code` and `reason`) before `saveConfig`/`clearConfig` dispatch, preserving the fail-closed `EMPTY` return contract when blocked.
1527
+ - **Related Resource Outlet Customization (`PraxisRelatedResourceOutletComponent`):** Exposes `followShellCustomizationMode = input<boolean>(false)` so embedded related-resource surfaces opt in explicitly before inheriting shell customization state.
1528
+ - **Enterprise Shell & Command Palette:** Publishes the `praxis.shell.*` catalog (`pt-BR` and `en-US`), `PraxisContextSwitchGuard` for dirty-state verification, the `shell-scope-bar` projection slot, Global Settings / Create Page triggers decoupled from `customizationMode.isDisabled()`, and `<praxis-command-palette>` (`Ctrl+K`, RBAC filtering, `--praxis-z-*` layering, and conditional focus restoration).
1529
+ - **Authoring Contracts & Page Reconciliation:** Extends `ComponentDocMeta` with `schemaVersion`, `transientInputs`, `lockedInputs`, and `visualOverrideKeys`; provides `PraxisPageReconcilerService` with fail-closed `PageIntegrityPolicy` (preserving `composition.links`, `layoutPreset`, `grouping`, and conservative `context` merges) and extended `WidgetPagePersistenceState.errorKind` (`'forbidden' | 'governance_denied' | 'network'`).
1530
+
1482
1531
  <!-- praxis-npm-catalog-links:start -->
1483
1532
  ## Official documentation and examples
1484
1533
 
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-11-23T14:32:32.238Z",
3
+ "generatedAt": "2026-11-24T14:00:56.078Z",
4
4
  "packageName": "@praxisui/core",
5
- "packageVersion": "10.0.0-rc.60",
5
+ "packageVersion": "10.0.0-rc.61",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 4,
@@ -516,6 +516,12 @@
516
516
  "required": false,
517
517
  "description": "Pausa despachos automáticos de gravação sem desmontar o estado de persistência ou recarregar o storage ao retomar."
518
518
  },
519
+ {
520
+ "name": "integrityPolicy",
521
+ "type": "PageIntegrityPolicy",
522
+ "required": false,
523
+ "description": "Política de reconciliação fail-closed aplicada no carregamento e na persistência da página."
524
+ },
519
525
  {
520
526
  "name": "pageIdentity",
521
527
  "type": "PageIdentity",
@@ -572,6 +578,17 @@
572
578
  "layout"
573
579
  ],
574
580
  "lib": "@praxisui/core",
581
+ "transientInputs": [
582
+ "pauseAutoPersist",
583
+ "reconcilePersistedPage",
584
+ "preparePageForPersistence"
585
+ ],
586
+ "lockedInputs": [
587
+ "pageIdentity",
588
+ "integrityPolicy"
589
+ ],
590
+ "visualOverrideKeys": [],
591
+ "schemaVersion": "1.0.0",
575
592
  "ports": [
576
593
  {
577
594
  "id": "context",
@@ -3100,9 +3117,9 @@
3100
3117
  {
3101
3118
  "chunkIndex": 0,
3102
3119
  "chunkKind": "summary",
3103
- "content": "Component ID: praxis-dynamic-page\nSelector: praxis-dynamic-page\nFriendly Name: Dynamic Page\nDescription: Página dinâmica com widgets e composition.links em layout responsivo, incluindo mediação runtime para rich-content hospedado.\nCategory: page\nLib/Package: @praxisui/core\nTags: widget, page, dynamic, layout\nInputs:\n - page (WidgetPageDefinition)\n - context (Record<string, any>)\n - strictValidation (boolean)\n - enableCustomization (boolean)\n - authoringCapabilities (WidgetPageAuthoringCapabilities)\n - showPageSettingsButton (boolean)\n - shellEditorComponent (Type<any>)\n - pageEditorComponent (Type<any>)\n - autoPersist (boolean)\n - pauseAutoPersist (boolean)\n - pageIdentity (PageIdentity)\n - componentInstanceId (string)\nOutputs:\n - pageChange (WidgetPageDefinition)\n - persistenceChange (WidgetPagePersistenceState)\n - pageAuthoringChange (WidgetPageDefinition)\n - widgetEvent (WidgetEventEnvelope)\n - widgetDiagnosticsChange (Record<string, WidgetResolutionDiagnostic>)\n",
3120
+ "content": "Component ID: praxis-dynamic-page\nSelector: praxis-dynamic-page\nFriendly Name: Dynamic Page\nDescription: Página dinâmica com widgets e composition.links em layout responsivo, incluindo mediação runtime para rich-content hospedado.\nCategory: page\nLib/Package: @praxisui/core\nTags: widget, page, dynamic, layout\nInputs:\n - page (WidgetPageDefinition)\n - context (Record<string, any>)\n - strictValidation (boolean)\n - enableCustomization (boolean)\n - authoringCapabilities (WidgetPageAuthoringCapabilities)\n - showPageSettingsButton (boolean)\n - shellEditorComponent (Type<any>)\n - pageEditorComponent (Type<any>)\n - autoPersist (boolean)\n - pauseAutoPersist (boolean)\n - integrityPolicy (PageIntegrityPolicy)\n - pageIdentity (PageIdentity)\n - componentInstanceId (string)\nOutputs:\n - pageChange (WidgetPageDefinition)\n - persistenceChange (WidgetPagePersistenceState)\n - pageAuthoringChange (WidgetPageDefinition)\n - widgetEvent (WidgetEventEnvelope)\n - widgetDiagnosticsChange (Record<string, WidgetResolutionDiagnostic>)\n",
3104
3121
  "sourcePointer": "projects/praxis-core/src/lib/widgets/dynamic-widget-page.metadata.ts",
3105
- "contentHash": "80ff6304605771f24533cb9c00ecb3a7e13668c7dc195e7a32d62e0568becaa8",
3122
+ "contentHash": "2971a7d07db0a5b313ec99ee648cebe60cd144b1b01f9649d10493d85ac9be30",
3106
3123
  "sourceKind": "component_definition",
3107
3124
  "sourceId": "praxis-dynamic-page",
3108
3125
  "corpusVersion": "1.0.0"
@@ -5455,6 +5472,20 @@
5455
5472
  "description": "Opt-in explicito para authoring governado da tabela filha.",
5456
5473
  "default": false
5457
5474
  },
5475
+ {
5476
+ "name": "followShellCustomizationMode",
5477
+ "type": "boolean",
5478
+ "required": false,
5479
+ "description": "Quando true, segue PraxisCustomizationModeService (fail-closed quando indisponivel) no lugar de enableCustomization manual.",
5480
+ "default": false
5481
+ },
5482
+ {
5483
+ "name": "configPersistenceStrategy",
5484
+ "type": "PraxisConfigPersistenceStrategy | null",
5485
+ "required": false,
5486
+ "description": "Estratégia explícita de persistência da tabela filha (local-first, input-first ou volatile). Por padrão usa local-first quando followShellCustomizationMode ou enableCustomization estão ativos.",
5487
+ "default": null
5488
+ },
5458
5489
  {
5459
5490
  "name": "authoringCapability",
5460
5491
  "type": "string | null",
@@ -5534,6 +5565,35 @@
5534
5565
  "metadata-driven"
5535
5566
  ],
5536
5567
  "lib": "@praxisui/core",
5568
+ "transientInputs": [
5569
+ "queryContext",
5570
+ "state",
5571
+ "stateReason",
5572
+ "parentRecord",
5573
+ "parentIdentity",
5574
+ "surfaceCatalog",
5575
+ "discoverySource",
5576
+ "parentLinks"
5577
+ ],
5578
+ "lockedInputs": [
5579
+ "surfaceId",
5580
+ "surface",
5581
+ "parentResourceId",
5582
+ "parentResourcePath"
5583
+ ],
5584
+ "visualOverrideKeys": [
5585
+ "presentation",
5586
+ "title",
5587
+ "subtitle",
5588
+ "icon",
5589
+ "compact",
5590
+ "enableCustomization",
5591
+ "followShellCustomizationMode",
5592
+ "configPersistenceStrategy",
5593
+ "tableConfig",
5594
+ "emptyState"
5595
+ ],
5596
+ "schemaVersion": "1.0.0",
5537
5597
  "ports": [
5538
5598
  {
5539
5599
  "id": "parentResourceId",
@@ -6293,9 +6353,9 @@
6293
6353
  {
6294
6354
  "chunkIndex": 0,
6295
6355
  "chunkKind": "summary",
6296
- "content": "Component ID: praxis-related-resource-outlet\nSelector: praxis-related-resource-outlet\nFriendly Name: Related Resource Outlet\nDescription: Runtime genérico para materializar surface.relatedResource como tabela filha governada por metadata.\nLib/Package: @praxisui/core\nTags: resource, surface, related-resource, runtime, metadata-driven\nInputs:\n - surfaceId (string | null)\n - surfaceCatalog (ResourceSurfaceCatalogResponse | null)\n - discoverySource (ResourceLinkSource | null)\n - parentLinks (RestApiLinks | RestApiResponse<unknown> | null)\n - apiEndpointKey (ApiEndpoint | null)\n - apiUrlEntry (ApiUrlEntry | null)\n - surface (ResourceSurfaceCatalogItem | null)\n - parentRecord (Record<string, unknown> | null)\n - parentResourceId (string | number | null)\n - parentIdentity (MaterializedResourceIdentity | null)\n - parentResourcePath (string | null)\n - presentation (SurfacePresentation)\n - title (string | null)\n - subtitle (string | null)\n - icon (string | null)\n - queryContext (RelatedResourceQueryContext | null)\n - tableId (string | null)\n - tableConfig (Record<string, unknown> | null)\n - emptyState (Record<string, unknown> | null)\n - enableCustomization (boolean)\n - authoringCapability (string | null)\n - mode ('inline' | 'open-action')\n - state (RelatedResourceResolutionState | null)\n - stateReason (string | null)\n - compact (boolean)\n - strictValidation (boolean)\n - ownerWidgetKey (string)\nOutputs:\n - surfaceOpen (SurfaceOpenPayload)\n - widgetEvent (WidgetEventEnvelope)\n - resourceEvent (PraxisResourceEvent)\n",
6356
+ "content": "Component ID: praxis-related-resource-outlet\nSelector: praxis-related-resource-outlet\nFriendly Name: Related Resource Outlet\nDescription: Runtime genérico para materializar surface.relatedResource como tabela filha governada por metadata.\nLib/Package: @praxisui/core\nTags: resource, surface, related-resource, runtime, metadata-driven\nInputs:\n - surfaceId (string | null)\n - surfaceCatalog (ResourceSurfaceCatalogResponse | null)\n - discoverySource (ResourceLinkSource | null)\n - parentLinks (RestApiLinks | RestApiResponse<unknown> | null)\n - apiEndpointKey (ApiEndpoint | null)\n - apiUrlEntry (ApiUrlEntry | null)\n - surface (ResourceSurfaceCatalogItem | null)\n - parentRecord (Record<string, unknown> | null)\n - parentResourceId (string | number | null)\n - parentIdentity (MaterializedResourceIdentity | null)\n - parentResourcePath (string | null)\n - presentation (SurfacePresentation)\n - title (string | null)\n - subtitle (string | null)\n - icon (string | null)\n - queryContext (RelatedResourceQueryContext | null)\n - tableId (string | null)\n - tableConfig (Record<string, unknown> | null)\n - emptyState (Record<string, unknown> | null)\n - enableCustomization (boolean)\n - followShellCustomizationMode (boolean)\n - configPersistenceStrategy (PraxisConfigPersistenceStrategy | null)\n - authoringCapability (string | null)\n - mode ('inline' | 'open-action')\n - state (RelatedResourceResolutionState | null)\n - stateReason (string | null)\n - compact (boolean)\n - strictValidation (boolean)\n - ownerWidgetKey (string)\nOutputs:\n - surfaceOpen (SurfaceOpenPayload)\n - widgetEvent (WidgetEventEnvelope)\n - resourceEvent (PraxisResourceEvent)\n",
6297
6357
  "sourcePointer": "projects/praxis-core/src/lib/surfaces/praxis-related-resource-outlet.metadata.ts",
6298
- "contentHash": "27922d306cd33c640109451db4f2569e3a7aa184147e859c3169199e59b89587",
6358
+ "contentHash": "c0ba7fd81a736493b9c124357722b8ec6f63d79e9d56f6f5759a57b0dbf0862a",
6299
6359
  "sourceKind": "component_definition",
6300
6360
  "sourceId": "praxis-related-resource-outlet",
6301
6361
  "corpusVersion": "1.0.0"
@@ -226,7 +226,7 @@ function resolvePraxisMicroVisualizationTone(value, thresholds, fallbackTone) {
226
226
  const STACKED_BAR_TONE_PAINT = {
227
227
  info: 'var(--prx-micro-tone-info, var(--p-table-state-info-fg, var(--md-sys-color-primary, #0a6eb4)))',
228
228
  success: 'var(--prx-micro-tone-success, var(--p-table-state-success-fg, #1b7a43))',
229
- warning: 'var(--prx-micro-tone-warning, var(--p-table-state-warning-fg, #d97706))',
229
+ warning: 'var(--prx-micro-tone-warning, var(--p-table-state-warning-fg, #92400e))',
230
230
  danger: 'var(--prx-micro-tone-danger, var(--p-table-state-danger-fg, var(--md-sys-color-error, #c62828)))',
231
231
  critical: 'var(--prx-micro-tone-critical, var(--prx-micro-tone-danger, var(--p-table-state-danger-fg, var(--md-sys-color-error, #9f1239))))',
232
232
  neutral: 'var(--prx-micro-tone-neutral, var(--md-sys-color-secondary, #5c6b73))',
@@ -1354,11 +1354,7 @@ function renderLineVisualizationHtml(visualization, options) {
1354
1354
  const padding = 4;
1355
1355
  const coords = getPointsCoordinates(points, width, height, padding, visualization);
1356
1356
  const pathD = coords.map((c, i) => `${i === 0 ? 'M' : 'L'} ${c.x.toFixed(1)} ${c.y.toFixed(1)}`).join(' ');
1357
- const firstX = coords[0].x.toFixed(1);
1358
1357
  const lastCoord = coords[coords.length - 1];
1359
- const lastX = lastCoord.x.toFixed(1);
1360
- const glowAreaD = `${pathD} L ${lastX} ${height} L ${firstX} ${height} Z`;
1361
- const glowGradId = `pfx-line-glow-${tone}-${computeMicroSvgIdSuffix(visualization, options)}`;
1362
1358
  const refLineHtml = renderTrendReferenceLineHtml(points, width, height, padding, visualization, false);
1363
1359
  // Highlight extreme/boundary values
1364
1360
  let minIdx = 0;