@acorex-platform/module-dashboard-management-client 0.0.53 → 0.0.54

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 (25) hide show
  1. package/fesm2022/{acorex-platform-module-dashboard-management-client-acorex-platform-module-dashboard-management-client-61Q_QY8l.mjs → acorex-platform-module-dashboard-management-client-acorex-platform-module-dashboard-management-client-Cwwf6ju2.mjs} +30 -18
  2. package/fesm2022/acorex-platform-module-dashboard-management-client-acorex-platform-module-dashboard-management-client-Cwwf6ju2.mjs.map +1 -0
  3. package/fesm2022/{acorex-platform-module-dashboard-management-client-bar-chart-widget.component-kw130ESN.mjs → acorex-platform-module-dashboard-management-client-bar-chart-widget.component-oJKVqCwP.mjs} +3 -3
  4. package/fesm2022/{acorex-platform-module-dashboard-management-client-bar-chart-widget.component-kw130ESN.mjs.map → acorex-platform-module-dashboard-management-client-bar-chart-widget.component-oJKVqCwP.mjs.map} +1 -1
  5. package/fesm2022/{acorex-platform-module-dashboard-management-client-chart-card-widget.component-B2ztaswG.mjs → acorex-platform-module-dashboard-management-client-chart-card-widget.component-D42IpWLs.mjs} +2 -2
  6. package/fesm2022/{acorex-platform-module-dashboard-management-client-chart-card-widget.component-B2ztaswG.mjs.map → acorex-platform-module-dashboard-management-client-chart-card-widget.component-D42IpWLs.mjs.map} +1 -1
  7. package/fesm2022/{acorex-platform-module-dashboard-management-client-chart-configurator-widget-edit.component-BgR51eZ1.mjs → acorex-platform-module-dashboard-management-client-chart-configurator-widget-edit.component-DDdBGC72.mjs} +2 -2
  8. package/fesm2022/{acorex-platform-module-dashboard-management-client-chart-configurator-widget-edit.component-BgR51eZ1.mjs.map → acorex-platform-module-dashboard-management-client-chart-configurator-widget-edit.component-DDdBGC72.mjs.map} +1 -1
  9. package/fesm2022/{acorex-platform-module-dashboard-management-client-chart-widget-data.util-BLtv9sOm.mjs → acorex-platform-module-dashboard-management-client-chart-widget-data.util-QwDdEcj2.mjs} +2 -2
  10. package/fesm2022/{acorex-platform-module-dashboard-management-client-chart-widget-data.util-BLtv9sOm.mjs.map → acorex-platform-module-dashboard-management-client-chart-widget-data.util-QwDdEcj2.mjs.map} +1 -1
  11. package/fesm2022/{acorex-platform-module-dashboard-management-client-donut-chart-widget.component-DB_7rLmK.mjs → acorex-platform-module-dashboard-management-client-donut-chart-widget.component-YsbJA1c9.mjs} +3 -3
  12. package/fesm2022/{acorex-platform-module-dashboard-management-client-donut-chart-widget.component-DB_7rLmK.mjs.map → acorex-platform-module-dashboard-management-client-donut-chart-widget.component-YsbJA1c9.mjs.map} +1 -1
  13. package/fesm2022/{acorex-platform-module-dashboard-management-client-funnel-chart-widget.component-CltmXb8c.mjs → acorex-platform-module-dashboard-management-client-funnel-chart-widget.component-BM34-ydy.mjs} +3 -3
  14. package/fesm2022/{acorex-platform-module-dashboard-management-client-funnel-chart-widget.component-CltmXb8c.mjs.map → acorex-platform-module-dashboard-management-client-funnel-chart-widget.component-BM34-ydy.mjs.map} +1 -1
  15. package/fesm2022/{acorex-platform-module-dashboard-management-client-gauge-chart-widget.component-Ci1cRFmt.mjs → acorex-platform-module-dashboard-management-client-gauge-chart-widget.component-DKrstcod.mjs} +3 -3
  16. package/fesm2022/{acorex-platform-module-dashboard-management-client-gauge-chart-widget.component-Ci1cRFmt.mjs.map → acorex-platform-module-dashboard-management-client-gauge-chart-widget.component-DKrstcod.mjs.map} +1 -1
  17. package/fesm2022/{acorex-platform-module-dashboard-management-client-heatmap-chart-widget.component-CzJTc6rm.mjs → acorex-platform-module-dashboard-management-client-heatmap-chart-widget.component-CswEV423.mjs} +3 -3
  18. package/fesm2022/{acorex-platform-module-dashboard-management-client-heatmap-chart-widget.component-CzJTc6rm.mjs.map → acorex-platform-module-dashboard-management-client-heatmap-chart-widget.component-CswEV423.mjs.map} +1 -1
  19. package/fesm2022/{acorex-platform-module-dashboard-management-client-index-z10pHL3b.mjs → acorex-platform-module-dashboard-management-client-index-DegksYs4.mjs} +2 -2
  20. package/fesm2022/{acorex-platform-module-dashboard-management-client-index-z10pHL3b.mjs.map → acorex-platform-module-dashboard-management-client-index-DegksYs4.mjs.map} +1 -1
  21. package/fesm2022/{acorex-platform-module-dashboard-management-client-line-chart-widget.component-Fu_lheQe.mjs → acorex-platform-module-dashboard-management-client-line-chart-widget.component-BkEzl2_Y.mjs} +3 -3
  22. package/fesm2022/{acorex-platform-module-dashboard-management-client-line-chart-widget.component-Fu_lheQe.mjs.map → acorex-platform-module-dashboard-management-client-line-chart-widget.component-BkEzl2_Y.mjs.map} +1 -1
  23. package/fesm2022/acorex-platform-module-dashboard-management-client.mjs +1 -1
  24. package/package.json +1 -1
  25. package/fesm2022/acorex-platform-module-dashboard-management-client-acorex-platform-module-dashboard-management-client-61Q_QY8l.mjs.map +0 -1
@@ -1295,7 +1295,7 @@ const AXPBarChartWidget = {
1295
1295
  ],
1296
1296
  components: {
1297
1297
  view: {
1298
- component: () => import('./acorex-platform-module-dashboard-management-client-bar-chart-widget.component-kw130ESN.mjs').then((c) => c.AXPBarChartWidgetViewComponent),
1298
+ component: () => import('./acorex-platform-module-dashboard-management-client-bar-chart-widget.component-oJKVqCwP.mjs').then((c) => c.AXPBarChartWidgetViewComponent),
1299
1299
  },
1300
1300
  },
1301
1301
  meta: {
@@ -1366,7 +1366,7 @@ const AXPChartCardWidget = {
1366
1366
  ],
1367
1367
  components: {
1368
1368
  view: {
1369
- component: () => import('./acorex-platform-module-dashboard-management-client-chart-card-widget.component-B2ztaswG.mjs').then((c) => c.AXPChartCardWidgetViewComponent),
1369
+ component: () => import('./acorex-platform-module-dashboard-management-client-chart-card-widget.component-D42IpWLs.mjs').then((c) => c.AXPChartCardWidgetViewComponent),
1370
1370
  },
1371
1371
  },
1372
1372
  meta: {
@@ -1409,10 +1409,10 @@ const AXMChartConfiguratorWidget = {
1409
1409
  ],
1410
1410
  components: {
1411
1411
  edit: {
1412
- component: () => import('./acorex-platform-module-dashboard-management-client-chart-configurator-widget-edit.component-BgR51eZ1.mjs').then((c) => c.AXMChartConfiguratorWidgetEditComponent),
1412
+ component: () => import('./acorex-platform-module-dashboard-management-client-chart-configurator-widget-edit.component-DDdBGC72.mjs').then((c) => c.AXMChartConfiguratorWidgetEditComponent),
1413
1413
  },
1414
1414
  designer: {
1415
- component: () => import('./acorex-platform-module-dashboard-management-client-chart-configurator-widget-edit.component-BgR51eZ1.mjs').then((c) => c.AXMChartConfiguratorWidgetEditComponent),
1415
+ component: () => import('./acorex-platform-module-dashboard-management-client-chart-configurator-widget-edit.component-DDdBGC72.mjs').then((c) => c.AXMChartConfiguratorWidgetEditComponent),
1416
1416
  },
1417
1417
  column: {
1418
1418
  component: () => import('./acorex-platform-module-dashboard-management-client-chart-configurator-widget-column.component-DxNKy3bB.mjs').then((c) => c.AXMChartConfiguratorWidgetColumnComponent),
@@ -1655,7 +1655,7 @@ const AXPDonutChartWidget = {
1655
1655
  ],
1656
1656
  components: {
1657
1657
  view: {
1658
- component: () => import('./acorex-platform-module-dashboard-management-client-donut-chart-widget.component-DB_7rLmK.mjs').then((c) => c.AXPDonutChartWidgetViewComponent),
1658
+ component: () => import('./acorex-platform-module-dashboard-management-client-donut-chart-widget.component-YsbJA1c9.mjs').then((c) => c.AXPDonutChartWidgetViewComponent),
1659
1659
  },
1660
1660
  },
1661
1661
  meta: {
@@ -1698,7 +1698,7 @@ const AXPFunnelChartWidget = {
1698
1698
  ],
1699
1699
  components: {
1700
1700
  view: {
1701
- component: () => import('./acorex-platform-module-dashboard-management-client-funnel-chart-widget.component-CltmXb8c.mjs').then((c) => c.AXPFunnelChartWidgetViewComponent),
1701
+ component: () => import('./acorex-platform-module-dashboard-management-client-funnel-chart-widget.component-BM34-ydy.mjs').then((c) => c.AXPFunnelChartWidgetViewComponent),
1702
1702
  },
1703
1703
  },
1704
1704
  meta: {
@@ -1938,7 +1938,7 @@ const AXPGaugeChartWidget = {
1938
1938
  ],
1939
1939
  components: {
1940
1940
  view: {
1941
- component: () => import('./acorex-platform-module-dashboard-management-client-gauge-chart-widget.component-Ci1cRFmt.mjs').then((c) => c.AXPGaugeChartWidgetViewComponent),
1941
+ component: () => import('./acorex-platform-module-dashboard-management-client-gauge-chart-widget.component-DKrstcod.mjs').then((c) => c.AXPGaugeChartWidgetViewComponent),
1942
1942
  },
1943
1943
  },
1944
1944
  meta: {
@@ -2014,7 +2014,7 @@ const AXPHeatmapChartWidget = {
2014
2014
  ],
2015
2015
  components: {
2016
2016
  view: {
2017
- component: () => import('./acorex-platform-module-dashboard-management-client-heatmap-chart-widget.component-CzJTc6rm.mjs').then((c) => c.AXPHeatmapChartWidgetViewComponent),
2017
+ component: () => import('./acorex-platform-module-dashboard-management-client-heatmap-chart-widget.component-CswEV423.mjs').then((c) => c.AXPHeatmapChartWidgetViewComponent),
2018
2018
  },
2019
2019
  },
2020
2020
  meta: {
@@ -2401,7 +2401,7 @@ const AXPLineChartWidget = {
2401
2401
  ],
2402
2402
  components: {
2403
2403
  view: {
2404
- component: () => import('./acorex-platform-module-dashboard-management-client-line-chart-widget.component-Fu_lheQe.mjs').then((c) => c.AXPLineChartWidgetViewComponent),
2404
+ component: () => import('./acorex-platform-module-dashboard-management-client-line-chart-widget.component-BkEzl2_Y.mjs').then((c) => c.AXPLineChartWidgetViewComponent),
2405
2405
  },
2406
2406
  },
2407
2407
  meta: {
@@ -5459,13 +5459,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
5459
5459
  }] });
5460
5460
 
5461
5461
  //#region ---- Imports ----
5462
+ /**
5463
+ * Session contracts type tenant/application ids as strings, but hosts may persist
5464
+ * numeric SEC/org ids. Coerce both so home load is not skipped.
5465
+ */
5466
+ const readSessionEntityId = (value) => {
5467
+ if (typeof value === 'number' && Number.isFinite(value)) {
5468
+ return String(value);
5469
+ }
5470
+ if (typeof value === 'string') {
5471
+ const id = value.trim();
5472
+ return id || undefined;
5473
+ }
5474
+ return undefined;
5475
+ };
5462
5476
  const readTenantId = (sessionService) => {
5463
- const tenantId = sessionService.tenant?.id;
5464
- return typeof tenantId === 'string' && tenantId.trim() ? tenantId.trim() : undefined;
5477
+ return readSessionEntityId(sessionService.tenant?.id);
5465
5478
  };
5466
5479
  const readApplicationId = (sessionService) => {
5467
- const applicationId = sessionService.application?.id;
5468
- return typeof applicationId === 'string' && applicationId.trim() ? applicationId.trim() : undefined;
5480
+ return readSessionEntityId(sessionService.application?.id);
5469
5481
  };
5470
5482
  //#endregion
5471
5483
  //#region ---- Utility Functions ----
@@ -5855,8 +5867,8 @@ withMethods((store, dashboardPopup = inject(AXMDashboardPopupService), dialogSer
5855
5867
  const sessionReady = toSignal(sessionService.isReadyForAppScopedApi$, {
5856
5868
  initialValue: sessionService.isReadyForAppScopedApi,
5857
5869
  });
5858
- const sessionTenantId = toSignal(sessionService.tenant$.pipe(map((tenant) => (typeof tenant?.id === 'string' ? tenant.id : undefined)), distinctUntilChanged()), { initialValue: sessionService.tenant?.id });
5859
- const sessionApplicationId = toSignal(sessionService.application$.pipe(map((application) => (typeof application?.id === 'string' ? application.id : undefined)), distinctUntilChanged()), { initialValue: sessionService.application?.id });
5870
+ const sessionTenantId = toSignal(sessionService.tenant$.pipe(map((tenant) => readSessionEntityId(tenant?.id)), distinctUntilChanged()), { initialValue: readSessionEntityId(sessionService.tenant?.id) });
5871
+ const sessionApplicationId = toSignal(sessionService.application$.pipe(map((application) => readSessionEntityId(application?.id)), distinctUntilChanged()), { initialValue: readSessionEntityId(sessionService.application?.id) });
5860
5872
  // Reload when workspace is ready / tenant / application changes (not only admin flag).
5861
5873
  effect(() => {
5862
5874
  if (store.entityDetailLayoutLock()) {
@@ -7315,7 +7327,7 @@ class AXMDashboardManagementModule {
7315
7327
  useValue: dashboardScopeMiddleware,
7316
7328
  multi: true,
7317
7329
  },
7318
- provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-dashboard-management-client-index-z10pHL3b.mjs').then((m) => m.AXMDashboardLayoutPageComponentProvider)),
7330
+ provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-dashboard-management-client-index-DegksYs4.mjs').then((m) => m.AXMDashboardLayoutPageComponentProvider)),
7319
7331
  provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => Promise.resolve().then(function () { return entityDashboardPageComponent_provider; }).then((m) => m.AXMEntityDashboardPageComponentProvider)),
7320
7332
  ], imports: [AXPWidgetCoreModule] }); }
7321
7333
  }
@@ -7366,7 +7378,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
7366
7378
  useValue: dashboardScopeMiddleware,
7367
7379
  multi: true,
7368
7380
  },
7369
- provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-dashboard-management-client-index-z10pHL3b.mjs').then((m) => m.AXMDashboardLayoutPageComponentProvider)),
7381
+ provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => import('./acorex-platform-module-dashboard-management-client-index-DegksYs4.mjs').then((m) => m.AXMDashboardLayoutPageComponentProvider)),
7370
7382
  provideLazyProvider(AXP_PAGE_COMPONENT_PROVIDER, () => Promise.resolve().then(function () { return entityDashboardPageComponent_provider; }).then((m) => m.AXMEntityDashboardPageComponentProvider)),
7371
7383
  ],
7372
7384
  }]
@@ -7909,4 +7921,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
7909
7921
  */
7910
7922
 
7911
7923
  export { AXP_DASHBOARD_SHARED_SUB_UTILITY_NOTES as $, AXP_CHART_CONFIGURATOR_DEFAULT_TYPE as A, AXPDonutChartWidget as B, AXPFunnelChartWidget as C, DASHBOARD_LAYOUT_ENTITY_MODE as D, AXPGaugeChartWidget as E, AXPHeatmapChartWidget as F, AXPKpiDetailsWidget as G, AXPKpiDetailsWidgetViewComponent as H, AXPKpiProgressWidget as I, AXPKpiProgressWidgetViewComponent as J, AXPKpiSegmentedWidget as K, AXPKpiSegmentedWidgetViewComponent as L, AXPKpiStatCardWidget as M, AXPKpiStatCardWidgetViewComponent as N, AXPLineChartWidget as O, AXPShortcutWidget as P, AXPShortcutWidgetViewComponent as Q, AXPStickyNoteWidget as R, AXPStickyNoteWidgetViewComponent as S, AXP_CHART_FUNNEL_DIMENSIONS as T, AXP_CHART_GAUGE_DIMENSIONS as U, AXP_CHART_SQUARE_DIMENSIONS as V, AXP_CHART_WIDE_DIMENSIONS as W, AXP_DASHBOARD_SHARED_SUB_CHART_CARTESIAN as X, AXP_DASHBOARD_SHARED_SUB_CHART_KPI as Y, AXP_DASHBOARD_SHARED_SUB_CHART_RADIAL as Z, AXP_DASHBOARD_SHARED_SUB_CHART_SPECIALIZED as _, chartTypeUsesAxisLabels as a, AXP_DASHBOARD_SHARED_SUB_UTILITY_SHORTCUT as a0, AXP_DASHBOARD_SHARED_SUB_UTILITY_TIME as a1, AXP_DASHBOARD_SHARED_SUB_UTILITY_WEATHER as a2, AXP_KPI_DETAILS_DIMENSIONS as a3, DASHBOARD_WIDGET_GRID_HEIGHT_OPTION as a4, DASHBOARD_WIDGET_GRID_WIDTH_OPTION as a5, AXP_KPI_PROGRESS_SEGMENTED_DIMENSIONS as a6, AXP_KPI_STANDARD_DIMENSIONS as a7, AXP_KPI_STAT_CARD_DIMENSIONS as a8, AXP_UTILITY_CLOCK_CALENDAR_DIMENSIONS as a9, isStickyNoteEmpty as aA, layoutFromDimensions as aB, loadKpiQueryResult as aC, normalizeKpiPercent as aD, readChartTabQuery as aE, readDashboardEntityContext as aF, readDashboardGridSizeToken as aG, resolveDashboardLayoutNode as aH, resolveDashboardMetaDimensionsForBreakpoint as aI, resolveDashboardMetaLayoutNode as aJ, resolveKpiIconToneTheme as aK, resolveKpiIconToneValueColor as aL, resolveKpiProgressBarTone as aM, resolveKpiSegmentPaletteColor as aN, resolveKpiText as aO, resolveStickyNoteBackgroundColor as aP, resolveStickyNoteLayoutVariant as aQ, resolveStickyNoteMutedTextColor as aR, resolveStickyNoteText as aS, resolveStickyNoteTextColor as aT, resolveTimeZoneCode as aU, shouldShowStickyNoteEmptyHint as aV, stripHtmlToPlainText as aW, withDashboardGridSizeOptions as aX, AXP_UTILITY_COMPACT_SQUARE_DIMENSIONS as aa, AXP_UTILITY_SHORTCUT_DIMENSIONS as ab, AXP_UTILITY_WEATHER_DIMENSIONS as ac, AXP_WIDGETS_CHART_CATEGORY as ad, AXP_WIDGETS_UTILITY_CATEGORY as ae, STICKY_NOTE_COLOR_PRESETS as af, STICKY_NOTE_DEFAULT_BACKGROUND as ag, areChartCardTabsConfigured as ah, buildDashboardChartCardWidget as ai, buildDashboardChartWidget as aj, buildDashboardChartWidgetWithQuery as ak, buildDashboardClockCalendar as al, buildDashboardKpiStatCard as am, buildDashboardKpiTile as an, buildDashboardShortcut as ao, buildDashboardStickyNote as ap, buildDashboardWeatherWidget as aq, buildDashboardWidgetsContext as ar, chartResultTypeForWidget as as, defineDashboardWidgetDimensions as at, enrichDashboardLayoutNode as au, formatDashboardGridSizeToken as av, formatKpiValue as aw, formatUtcOffsetLabel as ax, getIanaTimeZoneOffsetMinutes as ay, hasKpiQueryConfigured as az, AXMDashboardStore as b, chartTypeUsesColorRules as c, AXMDashboardGridLayoutSectionComponent as d, AXPDashboardWidgetComponent as e, resolveChartQueryTabs as f, AXPChartQueryTabsComponent as g, asChartTabWidgetNode as h, isChartTabConfigured as i, readChartTabTitle as j, fetchChartQueryResult as k, applyChartColorRulesFromOptions as l, AXMAddDashboardPopup as m, AXMChartConfiguratorWidget as n, optionsAfterChartTypeSwitch as o, AXMConfigurationPopup as p, AXMDashboardHomeComponent as q, readStashedChartAppearance as r, AXMDashboardManagementModule as s, AXMDashboardPopupService as t, AXMDashboardWidgetWrapperComponent as u, AXPBarChartWidget as v, AXPChartCardWidget as w, AXPClockCalendarWidget as x, AXPClockCalendarWidgetViewComponent as y, AXPDASHBOARD_ENTITY_CONTEXT_KEY as z };
7912
- //# sourceMappingURL=acorex-platform-module-dashboard-management-client-acorex-platform-module-dashboard-management-client-61Q_QY8l.mjs.map
7924
+ //# sourceMappingURL=acorex-platform-module-dashboard-management-client-acorex-platform-module-dashboard-management-client-Cwwf6ju2.mjs.map