@masterteam/dashboard-builder 0.0.76 → 0.0.78
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 +33 -5
- package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-DTm4d6HX.mjs → masterteam-dashboard-builder-dashboard-dialog.component-4tyxzaJj.mjs} +2 -2
- package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-DTm4d6HX.mjs.map → masterteam-dashboard-builder-dashboard-dialog.component-4tyxzaJj.mjs.map} +1 -1
- package/fesm2022/{masterteam-dashboard-builder-masterteam-dashboard-builder-iLvC1OvH.mjs → masterteam-dashboard-builder-masterteam-dashboard-builder-CZX_y3EO.mjs} +157 -28
- package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-CZX_y3EO.mjs.map +1 -0
- package/fesm2022/masterteam-dashboard-builder.mjs +1 -1
- package/package.json +1 -1
- package/types/masterteam-dashboard-builder.d.ts +89 -8
- package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-iLvC1OvH.mjs.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aC as ActionsSettings, aK as ArrayBuilderField, K as BarChartHandler, av as BarControlUi, aY as CHART_CAPABILITIES, ay as CHART_TYPES, bb as CONFIG_DOMAINS, C as CardContentComponent, q as CardFilterComponent, t as CardInfoComponent, u as ChartCardComponent, J as ChartDataService, aO as ChartFilterDrawer, ar as ChartSettingsDrawer, aD as ChartViewer, aJ as ColorListField, Z as ComparisonChartHandler, b as DashboardBuilder, ak as DashboardBuilderService, a as DashboardItem, D as DashboardItemStoreService, ah as DashboardList, al as DashboardStoreService, d as DashboardViewer, aB as DataSourceSettings, aU as DatasourcePanelComponent, at as DefaultControlUi, as as DisplaySettings, r as DynamicFiltersComponent, aq as DynamicFiltersConfig, E as EChartComponent, P as EntitiesPreviewCardComponent, w as EntityInfoComponent, y as EntityPreviewCardComponent, aT as FilterBuilderComponent, aW as FilterByGroupPipe, aS as FilterChipsBarComponent, R as GaugeChartHandler, aA as GeneralSettings, aX as GetChartActionsPipe, aR as GuidedConfigDialogComponent, aj as HTTPMethod, H as HeaderCardComponent, bV as ITEM_GUIDANCE_REGISTRY, aN as ItemCardMenuComponent, aQ as ItemConfigPopoverComponent, aP as ItemContextToolbarComponent, bX as ItemGuidanceService, aL as KeyValueMapField, L as LastHistoryLevelCardComponent, aM as LegendOrderField, $ as LevelCardHandler, X as LineChartHandler, z as ListStatisticCardComponent, ai as MODULE_CLASSIFICATION_LOG, ao as ManageBreadcrumb, ap as ManageFilterOnPage, ax as ManageItem, az as ManageItemService, an as ManagePages, a0 as MapChartHandler, V as OverviewCardHandler, be as POPOVER_TABS, bf as POPOVER_TAB_SPECS, a3 as PhaseGateStepperHandler, M as PieChartHandler, au as PieControlUi, P as PropertiesCardComponent, a1 as RingGaugeChartHandler, a2 as SPlusChartHandler, bw as STYLE_PRESETS, aV as SchemaControlRendererComponent, aI as SegmentedField, A as SkeletonCardComponent, Y as SnapshotHandler, _ as SplitterChartHandler, N as StackBarChartHandler, aw as StackBarControlUi, S as StaticFiltersComponent, G as StatisticCardComponent, aH as StyleField, aF as StyleSettingsRenderer, aE as StyleStudioDrawer, T as TableCardComponent, U as TableViewHandler, W as TimelineHandler, I as TopbarCardComponent, m as addCommasToNumber, bs as applyBehaviorToPersisted, bH as applyControlPatchToPersisted, bI as applyControlPatchesToPersisted, bt as applyFilterChipsToPersisted, bq as applyLabelLegendFormatToPersisted, bo as applyLayoutToPersisted, bm as applyStyleToPersisted, bh as applyTitleToPersisted, O as axisFormatters, br as behaviorToUi, bQ as bindingKey, bv as buildAssembly, bP as buildDisplayFieldPredicate, c as cloneDeep, a9 as createAxisFormatter, aa as createTooltipFormatter, bi as datasourceToUi, bD as deepMerge, bW as describeGuidance, bc as domainsForCapability, h as dynamicReorder, f as dynamicTextReplace, aG as expandResetPatches, bj as fieldsToUi, bk as filtersToUi, bd as findDomain, by as findPreset, bN as flattenSchema, ab as formatAxisLabel, a4 as formatCurrency, a8 as formatDate, bE as formatForEditor, a7 as formatNumber, a6 as formatPercentage, j as formatValue, ac as formatWordsUnderBar, ad as formatXAxis, i as generalConfiguration, bR as getBinding, aZ as getCapabilityById, p as getColorFromConditions, bJ as getControlSchema, a5 as getCurrencySuffix, bM as getFallbackControlSchema, k as getLocalizedTitle, g as getNestedData, Q as groupDatesByYearAndMonth, bB as groupIssuesByDomain, af as handleFilterForCard, ag as handleFilterForSnapshot, ae as handleFiltersForCustom, bA as hasBlockingIssues, am as isManagePagesDeleteResult, o as isMobilePlatform, bp as labelLegendFormatToUi, bn as layoutToUi, bS as listBindings, bT as listBindingsForChart, bK as listControlSchemaIds, bL as listControlSchemas, b5 as moduleIdFromSelector, b2 as normalizeAggregateFunction, ba as normalizeBeforeRequest, b9 as normalizeBeforeSave, b0 as normalizeChartTypeForRequest, x as normalizeDashboardCardEntityValue, b1 as normalizeFilterOperation, b3 as normalizeFilters, b8 as normalizeOnLoad, bC as parseAdvancedJson, bu as persistedToUi, bx as presetsForCapability, bU as readBoundValue, bF as readByPath, a_ as resolveCapability, bO as resolveDisplayFields, v as resolveEntityUserPhoto, B as resolveStatisticIconPlacement, b4 as selectorFromLegacy, bG as setByPath, l as sortChartData, n as sortDataTableView, bl as styleToUi, e as switchAllKeysSmall, s as switchAllKeysToLower, bg as titleToUi, a$ as toBackendChartType, b6 as toBackendSourceLink, b7 as toFormSourceLink, bz as validate } from './masterteam-dashboard-builder-masterteam-dashboard-builder-CZX_y3EO.mjs';
|
|
2
2
|
//# sourceMappingURL=masterteam-dashboard-builder.mjs.map
|
package/package.json
CHANGED
|
@@ -4,6 +4,8 @@ import { OnInit, OnDestroy, AfterViewInit, OnChanges, SimpleChanges, TemplateRef
|
|
|
4
4
|
import { GridsterItem, GridsterConfig } from 'angular-gridster2';
|
|
5
5
|
import { ContextMenu } from 'primeng/contextmenu';
|
|
6
6
|
import { MenuItem } from 'primeng/api';
|
|
7
|
+
import * as rxjs from 'rxjs';
|
|
8
|
+
import { Observable } from 'rxjs';
|
|
7
9
|
import { MTMenuItem } from '@masterteam/components/menu';
|
|
8
10
|
import * as _angular_forms from '@angular/forms';
|
|
9
11
|
import { ControlValueAccessor, FormGroup, FormArray, ValidationErrors, FormControl } from '@angular/forms';
|
|
@@ -11,8 +13,6 @@ import { MTIcon } from '@masterteam/icons';
|
|
|
11
13
|
import { TimelineScaleMode, TimelineColumnConfig, TimelineGanttMapping } from '@masterteam/timeline';
|
|
12
14
|
import { EntityData as EntityData$1, EntityViewType } from '@masterteam/components/entities';
|
|
13
15
|
import { HttpContext } from '@angular/common/http';
|
|
14
|
-
import * as rxjs from 'rxjs';
|
|
15
|
-
import { Observable } from 'rxjs';
|
|
16
16
|
import { ColumnDef, TableAction, CellChangeEvent } from '@masterteam/components/table';
|
|
17
17
|
import { ActivatedRoute } from '@angular/router';
|
|
18
18
|
import { ModalService } from '@masterteam/components/modal';
|
|
@@ -82,6 +82,33 @@ interface DashboardFilterLevelLog {
|
|
|
82
82
|
description?: string;
|
|
83
83
|
name?: string;
|
|
84
84
|
}
|
|
85
|
+
/**
|
|
86
|
+
* `ModuleClassificationEnum.Log`. The backend serializes enums as numbers, so
|
|
87
|
+
* a level's logs are its modules with `classification === 0`; `1` is `Process`.
|
|
88
|
+
*/
|
|
89
|
+
declare const MODULE_CLASSIFICATION_LOG = 0;
|
|
90
|
+
/**
|
|
91
|
+
* One entry of `GET Modules?LevelId={levelId}` (`ModuleDto`).
|
|
92
|
+
*
|
|
93
|
+
* The endpoint returns the whole module catalog, NOT the level's modules:
|
|
94
|
+
* `GetAllModulesQueryHandler` marks level membership with `isActive` instead of
|
|
95
|
+
* filtering. A level's logs are therefore `isActive === true` **and**
|
|
96
|
+
* `classification === MODULE_CLASSIFICATION_LOG`.
|
|
97
|
+
*/
|
|
98
|
+
interface DashboardLevelModule {
|
|
99
|
+
id: number;
|
|
100
|
+
key: string;
|
|
101
|
+
name?: DashboardFilterLocalizedText;
|
|
102
|
+
classification?: number;
|
|
103
|
+
isActive?: boolean;
|
|
104
|
+
order?: number;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Host-owned resolver for a level's logs. Hosts that already reach the module
|
|
108
|
+
* catalog through their own authenticated client supply this so the package
|
|
109
|
+
* never has to guess the endpoint's base URL or permissions.
|
|
110
|
+
*/
|
|
111
|
+
type DashboardLevelLogsResolver = (levelId: string | number) => Observable<readonly DashboardFilterLevelLog[]>;
|
|
85
112
|
/**
|
|
86
113
|
* One level of the host-owned levels schema (the product-settings
|
|
87
114
|
* `levels.schema` record). Backs the status filter's Log select plus the
|
|
@@ -2454,6 +2481,14 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
|
|
|
2454
2481
|
* status filter's "Log" select and the phase-gate / schema-settings lists.
|
|
2455
2482
|
*/
|
|
2456
2483
|
readonly levelsSchema: _angular_core.InputSignal<readonly DashboardFilterLevelSchema[] | null>;
|
|
2484
|
+
/**
|
|
2485
|
+
* Host-owned resolver for a level's logs, used by the Status filter's "Log"
|
|
2486
|
+
* select. Supply one when the host already reaches the module catalog through
|
|
2487
|
+
* its own authenticated client — it removes every base-URL and permission
|
|
2488
|
+
* unknown from the package's side. Without it the package requests
|
|
2489
|
+
* `Modules?LevelId=` itself and falls back to cached metadata on failure.
|
|
2490
|
+
*/
|
|
2491
|
+
readonly levelLogsResolver: _angular_core.InputSignal<DashboardLevelLogsResolver | null>;
|
|
2457
2492
|
private readonly filterMetadataEffect;
|
|
2458
2493
|
/** Emit when page config changes */
|
|
2459
2494
|
readonly pageChange: _angular_core.OutputEmitterRef<_masterteam_dashboard_builder.Report>;
|
|
@@ -2808,7 +2843,7 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
|
|
|
2808
2843
|
private readSerializedObject;
|
|
2809
2844
|
private parseSerializedValue;
|
|
2810
2845
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DashboardBuilder, never>;
|
|
2811
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DashboardBuilder, "mt-dashboard-builder", never, { "isPage": { "alias": "isPage"; "required": false; "isSignal": true; }; "pageTitle": { "alias": "pageTitle"; "required": false; "isSignal": true; }; "backButton": { "alias": "backButton"; "required": false; "isSignal": true; }; "pageId": { "alias": "pageId"; "required": false; "isSignal": true; }; "standalone": { "alias": "standalone"; "required": false; "isSignal": true; }; "services": { "alias": "services"; "required": false; "isSignal": true; }; "dashboardData": { "alias": "dashboardData"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "informativeContext": { "alias": "informativeContext"; "required": false; "isSignal": true; }; "extraFilters": { "alias": "extraFilters"; "required": false; "isSignal": true; }; "lookups": { "alias": "lookups"; "required": false; "isSignal": true; }; "statuses": { "alias": "statuses"; "required": false; "isSignal": true; }; "levelsSchema": { "alias": "levelsSchema"; "required": false; "isSignal": true; }; }, { "dashboardData": "dashboardDataChange"; "pageChange": "pageChange"; "chartsChange": "chartsChange"; "onSave": "onSave"; "onBack": "onBack"; "onAddChart": "onAddChart"; "onEditChart": "onEditChart"; }, never, never, true, never>;
|
|
2846
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DashboardBuilder, "mt-dashboard-builder", never, { "isPage": { "alias": "isPage"; "required": false; "isSignal": true; }; "pageTitle": { "alias": "pageTitle"; "required": false; "isSignal": true; }; "backButton": { "alias": "backButton"; "required": false; "isSignal": true; }; "pageId": { "alias": "pageId"; "required": false; "isSignal": true; }; "standalone": { "alias": "standalone"; "required": false; "isSignal": true; }; "services": { "alias": "services"; "required": false; "isSignal": true; }; "dashboardData": { "alias": "dashboardData"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "informativeContext": { "alias": "informativeContext"; "required": false; "isSignal": true; }; "extraFilters": { "alias": "extraFilters"; "required": false; "isSignal": true; }; "lookups": { "alias": "lookups"; "required": false; "isSignal": true; }; "statuses": { "alias": "statuses"; "required": false; "isSignal": true; }; "levelsSchema": { "alias": "levelsSchema"; "required": false; "isSignal": true; }; "levelLogsResolver": { "alias": "levelLogsResolver"; "required": false; "isSignal": true; }; }, { "dashboardData": "dashboardDataChange"; "pageChange": "pageChange"; "chartsChange": "chartsChange"; "onSave": "onSave"; "onBack": "onBack"; "onAddChart": "onAddChart"; "onEditChart": "onEditChart"; }, never, never, true, never>;
|
|
2812
2847
|
}
|
|
2813
2848
|
|
|
2814
2849
|
/**
|
|
@@ -2863,6 +2898,11 @@ declare class DashboardViewer implements OnInit, OnDestroy {
|
|
|
2863
2898
|
* runtime phase-gate and schema-settings filter option lists.
|
|
2864
2899
|
*/
|
|
2865
2900
|
readonly levelsSchema: _angular_core.InputSignal<readonly DashboardFilterLevelSchema[] | null>;
|
|
2901
|
+
/**
|
|
2902
|
+
* Host-owned resolver for a level's logs. Supply one when the host already
|
|
2903
|
+
* reaches the module catalog through its own authenticated client.
|
|
2904
|
+
*/
|
|
2905
|
+
readonly levelLogsResolver: _angular_core.InputSignal<DashboardLevelLogsResolver | null>;
|
|
2866
2906
|
/** Enable page-wide runtime filters. */
|
|
2867
2907
|
readonly showFilters: _angular_core.InputSignal<boolean>;
|
|
2868
2908
|
/** Render the built-in, in-flow button that opens page runtime filters. */
|
|
@@ -3013,7 +3053,7 @@ declare class DashboardViewer implements OnInit, OnDestroy {
|
|
|
3013
3053
|
trackByDashboardId(_index: number, item: DashboardChartItem): string;
|
|
3014
3054
|
private refreshAllItems;
|
|
3015
3055
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DashboardViewer, never>;
|
|
3016
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DashboardViewer, "mt-dashboard-viewer", never, { "isPage": { "alias": "isPage"; "required": false; "isSignal": true; }; "pageTitle": { "alias": "pageTitle"; "required": false; "isSignal": true; }; "backButton": { "alias": "backButton"; "required": false; "isSignal": true; }; "pageId": { "alias": "pageId"; "required": false; "isSignal": true; }; "dashboardData": { "alias": "dashboardData"; "required": false; "isSignal": true; }; "chartsData": { "alias": "chartsData"; "required": false; "isSignal": true; }; "dialogsData": { "alias": "dialogsData"; "required": false; "isSignal": true; }; "filtersData": { "alias": "filtersData"; "required": false; "isSignal": true; }; "extraFilters": { "alias": "extraFilters"; "required": false; "isSignal": true; }; "lookups": { "alias": "lookups"; "required": false; "isSignal": true; }; "statuses": { "alias": "statuses"; "required": false; "isSignal": true; }; "levelsSchema": { "alias": "levelsSchema"; "required": false; "isSignal": true; }; "showFilters": { "alias": "showFilters"; "required": false; "isSignal": true; }; "showFilterTrigger": { "alias": "showFilterTrigger"; "required": false; "isSignal": true; }; "ignoreQueryFilter": { "alias": "ignoreQueryFilter"; "required": false; "isSignal": true; }; }, { "pageLoaded": "pageLoaded"; "onBack": "onBack"; "chartClick": "chartClick"; }, never, never, true, never>;
|
|
3056
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DashboardViewer, "mt-dashboard-viewer", never, { "isPage": { "alias": "isPage"; "required": false; "isSignal": true; }; "pageTitle": { "alias": "pageTitle"; "required": false; "isSignal": true; }; "backButton": { "alias": "backButton"; "required": false; "isSignal": true; }; "pageId": { "alias": "pageId"; "required": false; "isSignal": true; }; "dashboardData": { "alias": "dashboardData"; "required": false; "isSignal": true; }; "chartsData": { "alias": "chartsData"; "required": false; "isSignal": true; }; "dialogsData": { "alias": "dialogsData"; "required": false; "isSignal": true; }; "filtersData": { "alias": "filtersData"; "required": false; "isSignal": true; }; "extraFilters": { "alias": "extraFilters"; "required": false; "isSignal": true; }; "lookups": { "alias": "lookups"; "required": false; "isSignal": true; }; "statuses": { "alias": "statuses"; "required": false; "isSignal": true; }; "levelsSchema": { "alias": "levelsSchema"; "required": false; "isSignal": true; }; "levelLogsResolver": { "alias": "levelLogsResolver"; "required": false; "isSignal": true; }; "showFilters": { "alias": "showFilters"; "required": false; "isSignal": true; }; "showFilterTrigger": { "alias": "showFilterTrigger"; "required": false; "isSignal": true; }; "ignoreQueryFilter": { "alias": "ignoreQueryFilter"; "required": false; "isSignal": true; }; }, { "pageLoaded": "pageLoaded"; "onBack": "onBack"; "chartClick": "chartClick"; }, never, never, true, never>;
|
|
3017
3057
|
}
|
|
3018
3058
|
|
|
3019
3059
|
/**
|
|
@@ -6171,6 +6211,10 @@ declare class DashboardBuilderService {
|
|
|
6171
6211
|
/** Module tree requests are shared per services/workspace key. */
|
|
6172
6212
|
private readonly modulesTreeCache;
|
|
6173
6213
|
private readonly modulesTreeDataCache;
|
|
6214
|
+
/** Level-log responses, shared per level for the session. */
|
|
6215
|
+
private readonly levelLogsCache;
|
|
6216
|
+
/** Host-owned level-log resolver; preferred over the package's own request. */
|
|
6217
|
+
private readonly levelLogsResolver;
|
|
6174
6218
|
/** HTTP context for gateway requests */
|
|
6175
6219
|
private gatewayContext;
|
|
6176
6220
|
constructor();
|
|
@@ -6207,6 +6251,13 @@ declare class DashboardBuilderService {
|
|
|
6207
6251
|
setModulesTreeServices(services: readonly string[] | null | undefined): void;
|
|
6208
6252
|
setModulesTreeWorkspaceId(workspaceId: string | number | null | undefined): void;
|
|
6209
6253
|
setFilterMetadata(lookups: readonly DashboardFilterLookup[] | null, statuses: readonly DashboardFilterStatus[] | null, levelsSchema?: readonly DashboardFilterLevelSchema[] | null): void;
|
|
6254
|
+
/**
|
|
6255
|
+
* Register the host's level-log resolver. Hosts that already reach the module
|
|
6256
|
+
* catalog through their own authenticated client should supply one — it
|
|
6257
|
+
* removes every base-URL and permission unknown from the package's side.
|
|
6258
|
+
* Changing the resolver clears the per-level cache.
|
|
6259
|
+
*/
|
|
6260
|
+
setLevelLogsResolver(resolver: DashboardLevelLogsResolver | null): void;
|
|
6210
6261
|
/**
|
|
6211
6262
|
* Add a single fixed selection
|
|
6212
6263
|
* @param selection Selection to add as fixed
|
|
@@ -6352,11 +6403,25 @@ declare class DashboardBuilderService {
|
|
|
6352
6403
|
/** Levels schema (used to resolve a level's logs and phase gates). */
|
|
6353
6404
|
getLevelsSchema(): any[];
|
|
6354
6405
|
/**
|
|
6355
|
-
* Logs of a level,
|
|
6406
|
+
* Logs of a level, resolved from cached metadata only. Prefers the level's
|
|
6356
6407
|
* own `logs` collection (legacy contract) and otherwise derives them from the
|
|
6357
6408
|
* level-scoped status metadata — see `buildDashboardLevelLogOptions`.
|
|
6409
|
+
* `fetchLevelLogs` is the authoritative source; this is the offline fallback.
|
|
6358
6410
|
*/
|
|
6359
6411
|
getLevelLogsByLevelId(levelId: string | number | null | undefined, moduleNamesById?: ReadonlyMap<string, string>): DashboardFilterLevelLog[];
|
|
6412
|
+
/**
|
|
6413
|
+
* Authoritative logs of a level: `GET Modules?LevelId={levelId}` filtered to
|
|
6414
|
+
* the `Log` classification (`ModuleClassificationEnum.Log = 0`; Process
|
|
6415
|
+
* modules are not logs). Cached per level for the session — the filter
|
|
6416
|
+
* configuration only asks once per level the author touches.
|
|
6417
|
+
*/
|
|
6418
|
+
fetchLevelLogs(levelId: string | number): Observable<readonly DashboardFilterLevelLog[]>;
|
|
6419
|
+
/**
|
|
6420
|
+
* `Modules?LevelId=` returns the whole module catalog and flags the level's
|
|
6421
|
+
* own modules with `isActive`, so both predicates are required: `isActive`
|
|
6422
|
+
* scopes to the level, `classification` keeps logs and drops Process modules.
|
|
6423
|
+
*/
|
|
6424
|
+
private toLevelLogs;
|
|
6360
6425
|
/** Available lookups for the page-filter "Lookup" dropdown. */
|
|
6361
6426
|
getLookups(): DashboardFilterLookup[];
|
|
6362
6427
|
/** Items of a single lookup (the runtime options for a `lookup` filter). */
|
|
@@ -6489,7 +6554,7 @@ declare class ManagePages implements OnInit {
|
|
|
6489
6554
|
readonly allowDelete: _angular_core.InputSignal<boolean>;
|
|
6490
6555
|
/** Report form data */
|
|
6491
6556
|
readonly report: _angular_core.WritableSignal<{
|
|
6492
|
-
id
|
|
6557
|
+
id: number | null;
|
|
6493
6558
|
name: LocalizedName;
|
|
6494
6559
|
type: "Dashboard" | "Excel";
|
|
6495
6560
|
showInMenu: boolean;
|
|
@@ -6503,6 +6568,12 @@ declare class ManagePages implements OnInit {
|
|
|
6503
6568
|
/** Deleting state */
|
|
6504
6569
|
readonly deleting: _angular_core.WritableSignal<boolean>;
|
|
6505
6570
|
ngOnInit(): void;
|
|
6571
|
+
/**
|
|
6572
|
+
* Both the Arabic and English titles are mandatory. Mirrors the
|
|
6573
|
+
* `requiredNoWhitespace` validator TextField applies when `required` is set,
|
|
6574
|
+
* so a whitespace-only title is treated the same as an empty one.
|
|
6575
|
+
*/
|
|
6576
|
+
isFormInvalid(): boolean;
|
|
6506
6577
|
saveReport(): void;
|
|
6507
6578
|
deleteReport(): void;
|
|
6508
6579
|
private executeDeleteReport;
|
|
@@ -6610,6 +6681,9 @@ declare class DynamicFiltersConfig implements ControlValueAccessor {
|
|
|
6610
6681
|
readonly levelSchemaOptions: _angular_core.Signal<any[]>;
|
|
6611
6682
|
/** Module display names from the shared metadata tree, keyed by module id. */
|
|
6612
6683
|
private readonly moduleNames;
|
|
6684
|
+
/** Logs fetched from `Modules?LevelId=`, keyed by level id. */
|
|
6685
|
+
private readonly fetchedLevelLogs;
|
|
6686
|
+
private readonly requestedLevelLogs;
|
|
6613
6687
|
/**
|
|
6614
6688
|
* Logs per level id, memoized so repeated template reads keep returning the
|
|
6615
6689
|
* same array reference. Keyed access also keeps every status row on its own
|
|
@@ -6663,6 +6737,13 @@ declare class DynamicFiltersConfig implements ControlValueAccessor {
|
|
|
6663
6737
|
* hosts that answer `(loadLevelLogs)` from their own source.
|
|
6664
6738
|
*/
|
|
6665
6739
|
levelLogOptions(schemaLevelId: string | number | null | undefined): DashboardFilterLevelLog[];
|
|
6740
|
+
/**
|
|
6741
|
+
* Load a level's logs once, through the host resolver when one is registered
|
|
6742
|
+
* and otherwise through the package's own request. Called when a status row
|
|
6743
|
+
* gains a level (edit or hydrate) — never from the template, so it stays out
|
|
6744
|
+
* of change detection.
|
|
6745
|
+
*/
|
|
6746
|
+
private ensureLevelLogsLoaded;
|
|
6666
6747
|
/** Handle schema level change for status/phaseGate */
|
|
6667
6748
|
onSchemaLevelChange(index: number, schemaLevelId: number): void;
|
|
6668
6749
|
updateDropdownSelections(index: number, selections: ISelection[]): void;
|
|
@@ -8959,5 +9040,5 @@ declare class GetChartActionsPipe implements PipeTransform {
|
|
|
8959
9040
|
*/
|
|
8960
9041
|
declare function cloneDeep<T>(obj: T): T;
|
|
8961
9042
|
|
|
8962
|
-
export { ActionsSettings, ArrayBuilderField, BarChartHandler, BarControlUi, CHART_CAPABILITIES, CHART_TYPES, CONFIG_DOMAINS, CardContentComponent, CardFilterComponent, CardInfoComponent, ChartCardComponent, ChartDataService, ChartFilterDrawer, ChartSettingsDrawer, ChartViewer, ColorListField, ComparisonChartHandler, DashboardBuilder, DashboardBuilderService, DashboardItem, DashboardItemStoreService, DashboardList, DashboardStoreService, DashboardViewer, DataSourceSettings, DatasourcePanelComponent, DefaultControlUi, DisplaySettings, DynamicFiltersComponent, DynamicFiltersConfig, EChartComponent, PropertiesCardComponent as EntitiesPreviewCardComponent, EntityInfoComponent, EntityPreviewCardComponent, FilterBuilderComponent, FilterByGroupPipe, FilterChipsBarComponent, GaugeChartHandler, GeneralSettings, GetChartActionsPipe, GuidedConfigDialogComponent, HTTPMethod, HeaderCardComponent, ITEM_GUIDANCE_REGISTRY, ItemCardMenuComponent, ItemConfigPopoverComponent, ItemContextToolbarComponent, ItemGuidanceService, KeyValueMapField, LastHistoryLevelCardComponent, LegendOrderField, LevelCardHandler, LineChartHandler, ListStatisticCardComponent, ManageBreadcrumb, ManageFilterOnPage, ManageItem, ManageItemService, ManagePages, MapChartHandler, OverviewCardHandler, POPOVER_TABS, POPOVER_TAB_SPECS, PhaseGateStepperHandler, PieChartHandler, PieControlUi, PropertiesCardComponent, RingGaugeChartHandler, SPlusChartHandler, STYLE_PRESETS, SchemaControlRendererComponent, SegmentedField, SkeletonCardComponent, SnapshotHandler, SplitterChartHandler, StackBarChartHandler, StackBarControlUi, StaticFiltersComponent, StatisticCardComponent, StyleField, StyleSettingsRenderer, StyleStudioDrawer, TableCardComponent, TableViewHandler, TimelineHandler, TopbarCardComponent, addCommasToNumber, applyBehaviorToPersisted, applyControlPatchToPersisted, applyControlPatchesToPersisted, applyFilterChipsToPersisted, applyLabelLegendFormatToPersisted, applyLayoutToPersisted, applyStyleToPersisted, applyTitleToPersisted, axisFormatters, behaviorToUi, bindingKey, buildAssembly, buildDisplayFieldPredicate, cloneDeep, createAxisFormatter, createTooltipFormatter, datasourceToUi, deepMerge, describeGuidance, domainsForCapability, dynamicReorder, dynamicTextReplace, expandResetPatches, fieldsToUi, filtersToUi, findDomain, findPreset, flattenSchema, formatAxisLabel, formatCurrency, formatDate, formatForEditor, formatNumber, formatPercentage, formatValue, formatWordsUnderBar, formatXAxis, generalConfiguration, getBinding, getCapabilityById, getColorFromConditions, getControlSchema, getCurrencySuffix, getFallbackControlSchema, getLocalizedTitle, getNestedData, groupDatesByYearAndMonth, groupIssuesByDomain, handleFilterForCard, handleFilterForSnapshot, handleFiltersForCustom, hasBlockingIssues, isManagePagesDeleteResult, isMobilePlatform, labelLegendFormatToUi, layoutToUi, listBindings, listBindingsForChart, listControlSchemaIds, listControlSchemas, moduleIdFromSelector, normalizeAggregateFunction, normalizeBeforeRequest, normalizeBeforeSave, normalizeChartTypeForRequest, normalizeDashboardCardEntityValue, normalizeFilterOperation, normalizeFilters, normalizeOnLoad, parseAdvancedJson, persistedToUi, presetsForCapability, readBoundValue, readByPath, resolveCapability, resolveDisplayFields, resolveEntityUserPhoto, resolveStatisticIconPlacement, selectorFromLegacy, setByPath, sortChartData, sortDataTableView, styleToUi, switchAllKeysSmall, switchAllKeysToLower, titleToUi, toBackendChartType, toBackendSourceLink, toFormSourceLink, validate };
|
|
8963
|
-
export type { ActionConfig, ApiResponse, AxisLabelWrapConfig, AxisLabelWrapMode, AxisLabelWrapOptions, BackendChartType, BarChartData, BehaviorUi, BindingScope, BreadcrumbItem, BulkLinkChartRequest, BulkLinkChartResponse, BulkPropertiesRequest, BulkPropertiesResponse, BulkPropertiesResponseItem, BulkPropertiesResponseItemDto, BulkPropertyRequestItem, CardBorderStyleConfig, CardInfoConfig$1 as CardInfoConfig, CardStyleConfig$1 as CardStyleConfig, CatalogPropertyDto, ChartActionEvent, ChartActionsContext, ChartCapability, ChartCapabilityLegacyAliases, RequestType$1 as ChartCapabilityRequestType, ChartData, ChartDataHandled, ChartDomainSupport, ChartLabel, ChartLinkConfiguration, ChartTypeConfig, ClientConfig, ComponentType, ConfigDomainKey, ConfigDomainSpec, ConfigLookupShape, ConfigViewAssembly, ControlBinding, ControlBindingIndex, ControlBindingValueAdapter, ControlDomain, ControlField, ControlFieldType, ControlOption, ControlPatch, ControlSchema, ControlSection, ControlSectionScope, ControlVisiblePredicate, CustomApi, DashboardBuilderData, DashboardChartItem, DashboardChartTemplate, DashboardDialogItem, DashboardFilterLevelLog, DashboardFilterLevelSchema, DashboardFilterLocalizedText, DashboardFilterLookup, DashboardFilterLookupItem, DashboardFilterStatus, DashboardFilterStatusDefinition, DashboardFilterStatusItem, DashboardInformativeContext, DashboardItemStore, DashboardListEvent, DashboardPage, DashboardSaveRequestOptions, DashboardTargetOption, DashboardTargetPathStep, DashboardTargetTemplateFilter, DashboardTargetTemplateSelection, DashboardTargetTemplateSourceLink, DashboardTargetsContextInfo, DashboardTargetsResponse, DatasourceUi, DisplayConfig, DisplayField, DisplayFieldQuery, DisplaySchema, EChartSeriesItem, ExcelSheet, FieldAssignment, FieldsUi, FilterChip, FilterConfig, FilterOperator, FilterOption, FilterScope, FilterSource, FiltersUi, FlattenedControl, FormatXAxisConfig$1 as FormatXAxisConfig, GroupedModuleOption, GroupedParentOption, GuidanceInput, GuidedConfigDialogData, GuidedConfigDialogResult, GuidedStep, HandleAction, HeaderCardConfig$1 as HeaderCardConfig, IModule, IModuleType, IProperty, IPropertyWithGroup, ISelection, ItemCardMenuAction, ItemConfig, ItemConfigPopoverData, ItemConfigPopoverResult, ItemContextAction, ItemGuidanceAction, ItemGuidanceDescriptor, ItemGuidanceSeverity, ItemGuidanceState, LabelLegendFormatUi, LayoutUi, LegendOrderItem, LevelCardData, LevelCardProperty, LinkChartRequest, LocalizedName, ManageFilterOnPageResult, ManagePagesDeleteResult, ModuleItem, ModuleSelectOption, ModuleType, ModuleValue, ModuleValueExtra, ModulesTreeRequest, ModulesTreeResponse, ParentSelectOption, ParseResult, PersistedItemConfig, PhaseGateProperty, PhaseGateStep, PieChartData, PopoverTab, PopoverTabSpec, Product, PropertiesResponse, PropertyItem, PropertyItemOption, PropertyItemsResponse, QueryEditorKind, QueryField, QuerySchema, QuickManageType, RendererKey, Report, ReportChartLink, ReportDashboardConfig, ReportExcelConfig, ReportType, ReportUrl, RequestType, RuntimeItemConfig, SelectionFilter, ServiceConfig, ServiceItem, SnapshotLevelDataOption, SourceLink, StaticFilterConfig, StaticFilterItem, StatisticCardData, StatisticIconPlacement, StyleConfig, StylePreset, StylePresetKey, StyleUi, TableColumn$1 as TableColumn, TableViewData, TimelineData, TimelineItem, TitleUi, UiItemConfig, UnlinkChartRequest, ValidateOptions, ValidationIssue, ValidationSeverity };
|
|
9043
|
+
export { ActionsSettings, ArrayBuilderField, BarChartHandler, BarControlUi, CHART_CAPABILITIES, CHART_TYPES, CONFIG_DOMAINS, CardContentComponent, CardFilterComponent, CardInfoComponent, ChartCardComponent, ChartDataService, ChartFilterDrawer, ChartSettingsDrawer, ChartViewer, ColorListField, ComparisonChartHandler, DashboardBuilder, DashboardBuilderService, DashboardItem, DashboardItemStoreService, DashboardList, DashboardStoreService, DashboardViewer, DataSourceSettings, DatasourcePanelComponent, DefaultControlUi, DisplaySettings, DynamicFiltersComponent, DynamicFiltersConfig, EChartComponent, PropertiesCardComponent as EntitiesPreviewCardComponent, EntityInfoComponent, EntityPreviewCardComponent, FilterBuilderComponent, FilterByGroupPipe, FilterChipsBarComponent, GaugeChartHandler, GeneralSettings, GetChartActionsPipe, GuidedConfigDialogComponent, HTTPMethod, HeaderCardComponent, ITEM_GUIDANCE_REGISTRY, ItemCardMenuComponent, ItemConfigPopoverComponent, ItemContextToolbarComponent, ItemGuidanceService, KeyValueMapField, LastHistoryLevelCardComponent, LegendOrderField, LevelCardHandler, LineChartHandler, ListStatisticCardComponent, MODULE_CLASSIFICATION_LOG, ManageBreadcrumb, ManageFilterOnPage, ManageItem, ManageItemService, ManagePages, MapChartHandler, OverviewCardHandler, POPOVER_TABS, POPOVER_TAB_SPECS, PhaseGateStepperHandler, PieChartHandler, PieControlUi, PropertiesCardComponent, RingGaugeChartHandler, SPlusChartHandler, STYLE_PRESETS, SchemaControlRendererComponent, SegmentedField, SkeletonCardComponent, SnapshotHandler, SplitterChartHandler, StackBarChartHandler, StackBarControlUi, StaticFiltersComponent, StatisticCardComponent, StyleField, StyleSettingsRenderer, StyleStudioDrawer, TableCardComponent, TableViewHandler, TimelineHandler, TopbarCardComponent, addCommasToNumber, applyBehaviorToPersisted, applyControlPatchToPersisted, applyControlPatchesToPersisted, applyFilterChipsToPersisted, applyLabelLegendFormatToPersisted, applyLayoutToPersisted, applyStyleToPersisted, applyTitleToPersisted, axisFormatters, behaviorToUi, bindingKey, buildAssembly, buildDisplayFieldPredicate, cloneDeep, createAxisFormatter, createTooltipFormatter, datasourceToUi, deepMerge, describeGuidance, domainsForCapability, dynamicReorder, dynamicTextReplace, expandResetPatches, fieldsToUi, filtersToUi, findDomain, findPreset, flattenSchema, formatAxisLabel, formatCurrency, formatDate, formatForEditor, formatNumber, formatPercentage, formatValue, formatWordsUnderBar, formatXAxis, generalConfiguration, getBinding, getCapabilityById, getColorFromConditions, getControlSchema, getCurrencySuffix, getFallbackControlSchema, getLocalizedTitle, getNestedData, groupDatesByYearAndMonth, groupIssuesByDomain, handleFilterForCard, handleFilterForSnapshot, handleFiltersForCustom, hasBlockingIssues, isManagePagesDeleteResult, isMobilePlatform, labelLegendFormatToUi, layoutToUi, listBindings, listBindingsForChart, listControlSchemaIds, listControlSchemas, moduleIdFromSelector, normalizeAggregateFunction, normalizeBeforeRequest, normalizeBeforeSave, normalizeChartTypeForRequest, normalizeDashboardCardEntityValue, normalizeFilterOperation, normalizeFilters, normalizeOnLoad, parseAdvancedJson, persistedToUi, presetsForCapability, readBoundValue, readByPath, resolveCapability, resolveDisplayFields, resolveEntityUserPhoto, resolveStatisticIconPlacement, selectorFromLegacy, setByPath, sortChartData, sortDataTableView, styleToUi, switchAllKeysSmall, switchAllKeysToLower, titleToUi, toBackendChartType, toBackendSourceLink, toFormSourceLink, validate };
|
|
9044
|
+
export type { ActionConfig, ApiResponse, AxisLabelWrapConfig, AxisLabelWrapMode, AxisLabelWrapOptions, BackendChartType, BarChartData, BehaviorUi, BindingScope, BreadcrumbItem, BulkLinkChartRequest, BulkLinkChartResponse, BulkPropertiesRequest, BulkPropertiesResponse, BulkPropertiesResponseItem, BulkPropertiesResponseItemDto, BulkPropertyRequestItem, CardBorderStyleConfig, CardInfoConfig$1 as CardInfoConfig, CardStyleConfig$1 as CardStyleConfig, CatalogPropertyDto, ChartActionEvent, ChartActionsContext, ChartCapability, ChartCapabilityLegacyAliases, RequestType$1 as ChartCapabilityRequestType, ChartData, ChartDataHandled, ChartDomainSupport, ChartLabel, ChartLinkConfiguration, ChartTypeConfig, ClientConfig, ComponentType, ConfigDomainKey, ConfigDomainSpec, ConfigLookupShape, ConfigViewAssembly, ControlBinding, ControlBindingIndex, ControlBindingValueAdapter, ControlDomain, ControlField, ControlFieldType, ControlOption, ControlPatch, ControlSchema, ControlSection, ControlSectionScope, ControlVisiblePredicate, CustomApi, DashboardBuilderData, DashboardChartItem, DashboardChartTemplate, DashboardDialogItem, DashboardFilterLevelLog, DashboardFilterLevelSchema, DashboardFilterLocalizedText, DashboardFilterLookup, DashboardFilterLookupItem, DashboardFilterStatus, DashboardFilterStatusDefinition, DashboardFilterStatusItem, DashboardInformativeContext, DashboardItemStore, DashboardLevelLogsResolver, DashboardLevelModule, DashboardListEvent, DashboardPage, DashboardSaveRequestOptions, DashboardTargetOption, DashboardTargetPathStep, DashboardTargetTemplateFilter, DashboardTargetTemplateSelection, DashboardTargetTemplateSourceLink, DashboardTargetsContextInfo, DashboardTargetsResponse, DatasourceUi, DisplayConfig, DisplayField, DisplayFieldQuery, DisplaySchema, EChartSeriesItem, ExcelSheet, FieldAssignment, FieldsUi, FilterChip, FilterConfig, FilterOperator, FilterOption, FilterScope, FilterSource, FiltersUi, FlattenedControl, FormatXAxisConfig$1 as FormatXAxisConfig, GroupedModuleOption, GroupedParentOption, GuidanceInput, GuidedConfigDialogData, GuidedConfigDialogResult, GuidedStep, HandleAction, HeaderCardConfig$1 as HeaderCardConfig, IModule, IModuleType, IProperty, IPropertyWithGroup, ISelection, ItemCardMenuAction, ItemConfig, ItemConfigPopoverData, ItemConfigPopoverResult, ItemContextAction, ItemGuidanceAction, ItemGuidanceDescriptor, ItemGuidanceSeverity, ItemGuidanceState, LabelLegendFormatUi, LayoutUi, LegendOrderItem, LevelCardData, LevelCardProperty, LinkChartRequest, LocalizedName, ManageFilterOnPageResult, ManagePagesDeleteResult, ModuleItem, ModuleSelectOption, ModuleType, ModuleValue, ModuleValueExtra, ModulesTreeRequest, ModulesTreeResponse, ParentSelectOption, ParseResult, PersistedItemConfig, PhaseGateProperty, PhaseGateStep, PieChartData, PopoverTab, PopoverTabSpec, Product, PropertiesResponse, PropertyItem, PropertyItemOption, PropertyItemsResponse, QueryEditorKind, QueryField, QuerySchema, QuickManageType, RendererKey, Report, ReportChartLink, ReportDashboardConfig, ReportExcelConfig, ReportType, ReportUrl, RequestType, RuntimeItemConfig, SelectionFilter, ServiceConfig, ServiceItem, SnapshotLevelDataOption, SourceLink, StaticFilterConfig, StaticFilterItem, StatisticCardData, StatisticIconPlacement, StyleConfig, StylePreset, StylePresetKey, StyleUi, TableColumn$1 as TableColumn, TableViewData, TimelineData, TimelineItem, TitleUi, UiItemConfig, UnlinkChartRequest, ValidateOptions, ValidationIssue, ValidationSeverity };
|