@masterteam/dashboard-builder 0.0.54 → 0.0.57
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 +41 -8
- package/assets/dashboard-builder.css +1 -1
- package/assets/i18n/ar.json +72 -42
- package/assets/i18n/en.json +33 -1
- package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-Cnv8thTk.mjs → masterteam-dashboard-builder-dashboard-dialog.component-BcAFvvKM.mjs} +2 -2
- package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-Cnv8thTk.mjs.map → masterteam-dashboard-builder-dashboard-dialog.component-BcAFvvKM.mjs.map} +1 -1
- package/fesm2022/{masterteam-dashboard-builder-masterteam-dashboard-builder-RFHndI8h.mjs → masterteam-dashboard-builder-masterteam-dashboard-builder-DbySCZwd.mjs} +1413 -710
- package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-DbySCZwd.mjs.map +1 -0
- package/fesm2022/masterteam-dashboard-builder.mjs +1 -1
- package/package.json +6 -4
- package/types/masterteam-dashboard-builder.d.ts +206 -121
- package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-RFHndI8h.mjs.map +0 -1
|
@@ -11,7 +11,7 @@ import * as rxjs from 'rxjs';
|
|
|
11
11
|
import { Observable } from 'rxjs';
|
|
12
12
|
import { MTIcon } from '@masterteam/icons';
|
|
13
13
|
import { TimelineScaleMode, TimelineColumnConfig, TimelineGanttMapping } from '@masterteam/timeline';
|
|
14
|
-
import { EntityData as EntityData$1 } from '@masterteam/components/entities';
|
|
14
|
+
import { EntityData as EntityData$1, EntityViewType } from '@masterteam/components/entities';
|
|
15
15
|
import { ColumnDef, TableAction, CellChangeEvent } from '@masterteam/components/table';
|
|
16
16
|
import { ActivatedRoute } from '@angular/router';
|
|
17
17
|
import { ModalService } from '@masterteam/components/modal';
|
|
@@ -400,6 +400,8 @@ interface DashboardChartItem extends GridsterItem {
|
|
|
400
400
|
id?: number;
|
|
401
401
|
/** Chart component GUID from server */
|
|
402
402
|
chartComponentId?: string;
|
|
403
|
+
/** Local dashboard identity of the chart this item was duplicated from. */
|
|
404
|
+
duplicatedFrom?: string | number;
|
|
403
405
|
config: ItemConfig;
|
|
404
406
|
chartTypeId?: string;
|
|
405
407
|
loading?: boolean;
|
|
@@ -563,9 +565,6 @@ type ItemCardMenuAction = {
|
|
|
563
565
|
};
|
|
564
566
|
declare class ItemCardMenuComponent {
|
|
565
567
|
private readonly transloco;
|
|
566
|
-
/** Per-chart filters are configured inside Manage Item (the "Filters" tab),
|
|
567
|
-
* matching the old builder — so the kebab Filters entry stays hidden. */
|
|
568
|
-
private readonly filtersActionVisible;
|
|
569
568
|
/** Whether to allow duplicate (excluded for layout/group widgets). */
|
|
570
569
|
readonly allowDuplicate: _angular_core.InputSignal<boolean>;
|
|
571
570
|
/** Whether the chart has a linked dialog already. */
|
|
@@ -575,7 +574,7 @@ declare class ItemCardMenuComponent {
|
|
|
575
574
|
/** Action emitter — host wires each id to a single concrete owner. */
|
|
576
575
|
readonly action: _angular_core.OutputEmitterRef<ItemCardMenuAction>;
|
|
577
576
|
/**
|
|
578
|
-
* Build the menu model.
|
|
577
|
+
* Build the menu model. Primary chart commands plus optional dialog entries
|
|
579
578
|
* when the chart has (or supports) a linked dialog. Each menu item carries
|
|
580
579
|
* a stable `id` so `onItemSelect` can route deterministically.
|
|
581
580
|
*/
|
|
@@ -1654,17 +1653,110 @@ declare class ItemGuidanceService {
|
|
|
1654
1653
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ItemGuidanceService>;
|
|
1655
1654
|
}
|
|
1656
1655
|
|
|
1656
|
+
/**
|
|
1657
|
+
* Filter Field Models
|
|
1658
|
+
*
|
|
1659
|
+
* Defines the structure for dynamic filter fields configuration
|
|
1660
|
+
* used in dashboard page filtering.
|
|
1661
|
+
*/
|
|
1662
|
+
/** Localized text with English and Arabic translations */
|
|
1663
|
+
interface LocalizedText {
|
|
1664
|
+
en: string;
|
|
1665
|
+
ar: string;
|
|
1666
|
+
}
|
|
1667
|
+
/** Filter field types supported by the system */
|
|
1668
|
+
type FilterFieldType = 'dropdownTVService' | 'lookup' | 'status' | 'phaseGate' | 'user' | 'date' | 'section' | 'separator' | 'year' | 'month' | 'quarter' | 'checkbox' | 'schemaSettings' | 'schemaSettingsLeafs';
|
|
1669
|
+
/** Selection item for dropdown configuration */
|
|
1670
|
+
interface FilterSelectionItem {
|
|
1671
|
+
id: number;
|
|
1672
|
+
service?: string | null;
|
|
1673
|
+
selector?: string | null;
|
|
1674
|
+
selectorName?: string | null;
|
|
1675
|
+
moduleType?: string;
|
|
1676
|
+
moduleId?: number;
|
|
1677
|
+
filters?: any[];
|
|
1678
|
+
modules?: any[];
|
|
1679
|
+
properties?: any[];
|
|
1680
|
+
}
|
|
1681
|
+
/** Filter field configuration details */
|
|
1682
|
+
interface FilterFieldConfiguration {
|
|
1683
|
+
payload?: {
|
|
1684
|
+
dashboardId: number;
|
|
1685
|
+
workspaceId?: string | number | null;
|
|
1686
|
+
workspace?: string | null;
|
|
1687
|
+
selection: FilterSelectionItem[];
|
|
1688
|
+
chartType: string;
|
|
1689
|
+
query: {
|
|
1690
|
+
selectedProperties: string[];
|
|
1691
|
+
};
|
|
1692
|
+
};
|
|
1693
|
+
lookupId?: number;
|
|
1694
|
+
schemaLevelId?: number;
|
|
1695
|
+
logId?: number;
|
|
1696
|
+
isRequird?: boolean;
|
|
1697
|
+
isMultiple?: boolean;
|
|
1698
|
+
checked?: boolean;
|
|
1699
|
+
minYear?: number;
|
|
1700
|
+
maxYear?: number;
|
|
1701
|
+
}
|
|
1702
|
+
/** Filter field definition */
|
|
1703
|
+
interface FilterField {
|
|
1704
|
+
key?: string;
|
|
1705
|
+
name?: LocalizedText;
|
|
1706
|
+
type: FilterFieldType;
|
|
1707
|
+
configuration?: FilterFieldConfiguration;
|
|
1708
|
+
}
|
|
1709
|
+
/** Filter field type option for dropdown */
|
|
1710
|
+
interface FilterFieldTypeOption {
|
|
1711
|
+
value: FilterFieldType;
|
|
1712
|
+
label: string;
|
|
1713
|
+
products: string[];
|
|
1714
|
+
}
|
|
1715
|
+
/**
|
|
1716
|
+
* Dynamic Filter Field
|
|
1717
|
+
*
|
|
1718
|
+
* An extended filter definition with options and loading state
|
|
1719
|
+
* for chart-level dynamic filtering.
|
|
1720
|
+
*/
|
|
1721
|
+
interface DynamicFilterField extends FilterField {
|
|
1722
|
+
/** Options loaded from API */
|
|
1723
|
+
options?: DynamicFilterOption[];
|
|
1724
|
+
/** Loading state for async options */
|
|
1725
|
+
loading?: boolean;
|
|
1726
|
+
/** Currently selected value(s) */
|
|
1727
|
+
selectedValue?: any;
|
|
1728
|
+
}
|
|
1729
|
+
/**
|
|
1730
|
+
* Dynamic Filter Option
|
|
1731
|
+
*
|
|
1732
|
+
* A single option in a dynamic filter dropdown.
|
|
1733
|
+
*/
|
|
1734
|
+
interface DynamicFilterOption {
|
|
1735
|
+
id: number | string;
|
|
1736
|
+
name: string | LocalizedText;
|
|
1737
|
+
value?: any;
|
|
1738
|
+
color?: string;
|
|
1739
|
+
icon?: string;
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1657
1742
|
declare class ChartFilterDrawer {
|
|
1658
1743
|
private readonly dialogRef;
|
|
1744
|
+
private readonly dashboardService;
|
|
1659
1745
|
private readonly drawerConfig;
|
|
1660
1746
|
readonly workingItem: _angular_core.WritableSignal<DashboardChartItem | null>;
|
|
1661
1747
|
readonly workingChips: _angular_core.WritableSignal<FilterChip[]>;
|
|
1748
|
+
readonly chartLookups: _angular_core.WritableSignal<any[]>;
|
|
1749
|
+
readonly chartLevelsSchema: _angular_core.WritableSignal<any[]>;
|
|
1750
|
+
readonly chartLevelLogs: _angular_core.WritableSignal<any[]>;
|
|
1751
|
+
readonly interactiveFilters: _angular_core.Signal<FilterField[]>;
|
|
1662
1752
|
/** Track that we have changes so cancel-without-apply discards them. */
|
|
1663
1753
|
private dirty;
|
|
1664
1754
|
/** Computed accessor to the persisted item config for the filter builder. */
|
|
1665
1755
|
readonly persisted: _angular_core.Signal<_masterteam_dashboard_builder.ItemConfig | null>;
|
|
1666
1756
|
constructor();
|
|
1667
1757
|
onChipsChange(next: FilterChip[]): void;
|
|
1758
|
+
onInteractiveFiltersChange(next: FilterField[]): void;
|
|
1759
|
+
onLoadLevelLogs(schemaLevelId: number): void;
|
|
1668
1760
|
apply(): void;
|
|
1669
1761
|
cancel(): void;
|
|
1670
1762
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartFilterDrawer, never>;
|
|
@@ -1961,6 +2053,11 @@ declare class FilterBuilderComponent {
|
|
|
1961
2053
|
readonly readOnlyCount: _angular_core.Signal<number>;
|
|
1962
2054
|
readonly fieldOptions: _angular_core.Signal<FieldOption[]>;
|
|
1963
2055
|
isKnownField(key: string): boolean;
|
|
2056
|
+
fieldOptionsFor(chip: FilterChip, t: (key: string) => string): FieldOption[];
|
|
2057
|
+
operatorOptions(t: (key: string) => string): {
|
|
2058
|
+
value: FilterOperator;
|
|
2059
|
+
label: string;
|
|
2060
|
+
}[];
|
|
1964
2061
|
scopeLabelKey(scope: FilterChip['scope']): string;
|
|
1965
2062
|
operatorLabelKey(operator: FilterOperator): string;
|
|
1966
2063
|
formatReadonlyValue(chip: FilterChip, t?: (key: string, params?: Record<string, unknown>) => string): string;
|
|
@@ -1968,6 +2065,7 @@ declare class FilterBuilderComponent {
|
|
|
1968
2065
|
getBetween(chip: FilterChip, idx: 0 | 1): string | number;
|
|
1969
2066
|
valueKind(chip: FilterChip): 'list' | 'between' | 'boolean' | 'number' | 'text';
|
|
1970
2067
|
toggleActive(chip: FilterChip): void;
|
|
2068
|
+
setActive(chip: FilterChip, active: boolean): void;
|
|
1971
2069
|
remove(chip: FilterChip): void;
|
|
1972
2070
|
setField(chip: FilterChip, propertyKey: string): void;
|
|
1973
2071
|
setOperator(chip: FilterChip, raw: string): void;
|
|
@@ -2327,6 +2425,15 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
|
|
|
2327
2425
|
saveDash(options?: {
|
|
2328
2426
|
silent?: boolean;
|
|
2329
2427
|
}): void;
|
|
2428
|
+
/**
|
|
2429
|
+
* Persist the page-level filters through the dashboard (report) endpoint —
|
|
2430
|
+
* the canonical carrier of `dashboardConfig.filters`. In API-backed mode
|
|
2431
|
+
* `saveDash()` only links charts/dialogs via `linkChartsBulk` and never writes
|
|
2432
|
+
* the page config, so configured filters were lost on reload and never reached
|
|
2433
|
+
* the runtime sidebar (#1141). Standalone mode already emits filters via
|
|
2434
|
+
* `emitDashboardDataChange`, so this no-ops there.
|
|
2435
|
+
*/
|
|
2436
|
+
private persistPageFilters;
|
|
2330
2437
|
addOrEditPage(page?: DashboardPage): void;
|
|
2331
2438
|
deleteReport(): void;
|
|
2332
2439
|
onItemResize(item: GridsterItem, itemComponent: any): void;
|
|
@@ -2688,6 +2795,11 @@ declare class DashboardViewer implements OnInit, OnDestroy {
|
|
|
2688
2795
|
*/
|
|
2689
2796
|
private normalizeFilters;
|
|
2690
2797
|
private applyDashboardData;
|
|
2798
|
+
/**
|
|
2799
|
+
* Public host API for refreshing the current dashboard view after host-owned
|
|
2800
|
+
* mutations. Always clear chart HTTP cache first so every item sends a fresh
|
|
2801
|
+
* backend request; hosts should not need to know dashboard-builder internals.
|
|
2802
|
+
*/
|
|
2691
2803
|
reloadPage(): void;
|
|
2692
2804
|
/**
|
|
2693
2805
|
* Get the title for a group item
|
|
@@ -3214,6 +3326,17 @@ interface HeaderCardConfig$1 {
|
|
|
3214
3326
|
icon?: string;
|
|
3215
3327
|
iconColor?: string;
|
|
3216
3328
|
iconPlacement?: 'start' | 'end' | 'top';
|
|
3329
|
+
iconAlignment?: 'left' | 'center' | 'right';
|
|
3330
|
+
iconShape?: 'square' | 'rounded' | 'circle';
|
|
3331
|
+
iconSize?: number;
|
|
3332
|
+
iconPadding?: number;
|
|
3333
|
+
iconGap?: number;
|
|
3334
|
+
iconOpacity?: number;
|
|
3335
|
+
iconBorderColor?: string;
|
|
3336
|
+
iconBorderWidth?: number;
|
|
3337
|
+
showIcon?: boolean;
|
|
3338
|
+
showIconInGroup?: boolean;
|
|
3339
|
+
groupIconMode?: 'withTitle' | 'replaceTitle';
|
|
3217
3340
|
titleColor?: string;
|
|
3218
3341
|
}
|
|
3219
3342
|
interface CardBorderStyleConfig {
|
|
@@ -3251,6 +3374,8 @@ declare class CardContentComponent {
|
|
|
3251
3374
|
readonly title: _angular_core.InputSignal<string>;
|
|
3252
3375
|
/** Whether card is inside a group */
|
|
3253
3376
|
readonly inGroup: _angular_core.InputSignal<boolean>;
|
|
3377
|
+
/** Whether this card is the outer header for a chart group. */
|
|
3378
|
+
readonly groupHeader: _angular_core.InputSignal<boolean>;
|
|
3254
3379
|
/** Header configuration */
|
|
3255
3380
|
readonly headerConfig: _angular_core.InputSignal<HeaderCardConfig$1 | null>;
|
|
3256
3381
|
/** Style configuration (border styling) */
|
|
@@ -3290,6 +3415,12 @@ declare class CardContentComponent {
|
|
|
3290
3415
|
readonly showHeaderState: _angular_core.Signal<boolean>;
|
|
3291
3416
|
/** Computed header clickable */
|
|
3292
3417
|
readonly headerClickableState: _angular_core.Signal<boolean>;
|
|
3418
|
+
/** Icon visibility is configured independently for standalone/group headers. */
|
|
3419
|
+
readonly visibleIcon: _angular_core.Signal<string | null>;
|
|
3420
|
+
/** Group headers can replace the repeated chart title with its icon. */
|
|
3421
|
+
readonly showTitleState: _angular_core.Signal<boolean>;
|
|
3422
|
+
/** Runtime icon appearance shared by standalone and grouped chart headers. */
|
|
3423
|
+
readonly iconStyles: _angular_core.Signal<Record<string, string>>;
|
|
3293
3424
|
/** Computed header row styles from StyleConfig (color, font-size passed through) */
|
|
3294
3425
|
readonly headerRowStyles: _angular_core.Signal<Record<string, string> | null>;
|
|
3295
3426
|
/** Computed card styles from StyleConfig and cardStyleConfig */
|
|
@@ -3298,7 +3429,7 @@ declare class CardContentComponent {
|
|
|
3298
3429
|
readonly borderRadiusStyle: _angular_core.Signal<string>;
|
|
3299
3430
|
onHeaderClick(): void;
|
|
3300
3431
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CardContentComponent, never>;
|
|
3301
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CardContentComponent, "mt-card-content", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "inGroup": { "alias": "inGroup"; "required": false; "isSignal": true; }; "headerConfig": { "alias": "headerConfig"; "required": false; "isSignal": true; }; "styleConfig": { "alias": "styleConfig"; "required": false; "isSignal": true; }; "cardStyleConfig": { "alias": "cardStyleConfig"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "showHeader": { "alias": "showHeader"; "required": false; "isSignal": true; }; "headerClickable": { "alias": "headerClickable"; "required": false; "isSignal": true; }; "isNoTopEnd": { "alias": "isNoTopEnd"; "required": false; "isSignal": true; }; "isChart": { "alias": "isChart"; "required": false; "isSignal": true; }; "titleEditable": { "alias": "titleEditable"; "required": false; "isSignal": true; }; }, { "headerClick": "headerClick"; "titleChange": "titleChange"; }, never, ["[topEnd]", "[body]", "[footer]"], true, never>;
|
|
3432
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CardContentComponent, "mt-card-content", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "inGroup": { "alias": "inGroup"; "required": false; "isSignal": true; }; "groupHeader": { "alias": "groupHeader"; "required": false; "isSignal": true; }; "headerConfig": { "alias": "headerConfig"; "required": false; "isSignal": true; }; "styleConfig": { "alias": "styleConfig"; "required": false; "isSignal": true; }; "cardStyleConfig": { "alias": "cardStyleConfig"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "showHeader": { "alias": "showHeader"; "required": false; "isSignal": true; }; "headerClickable": { "alias": "headerClickable"; "required": false; "isSignal": true; }; "isNoTopEnd": { "alias": "isNoTopEnd"; "required": false; "isSignal": true; }; "isChart": { "alias": "isChart"; "required": false; "isSignal": true; }; "titleEditable": { "alias": "titleEditable"; "required": false; "isSignal": true; }; }, { "headerClick": "headerClick"; "titleChange": "titleChange"; }, never, ["[topEnd]", "[body]", "[footer]"], true, never>;
|
|
3302
3433
|
}
|
|
3303
3434
|
|
|
3304
3435
|
declare class CardFilterComponent implements OnInit {
|
|
@@ -3367,92 +3498,6 @@ declare class StaticFiltersComponent implements OnInit {
|
|
|
3367
3498
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StaticFiltersComponent, "mt-static-filters", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "dashboardId": { "alias": "dashboardId"; "required": false; "isSignal": true; }; }, { "filterChange": "filterChange"; }, never, never, true, never>;
|
|
3368
3499
|
}
|
|
3369
3500
|
|
|
3370
|
-
/**
|
|
3371
|
-
* Filter Field Models
|
|
3372
|
-
*
|
|
3373
|
-
* Defines the structure for dynamic filter fields configuration
|
|
3374
|
-
* used in dashboard page filtering.
|
|
3375
|
-
*/
|
|
3376
|
-
/** Localized text with English and Arabic translations */
|
|
3377
|
-
interface LocalizedText {
|
|
3378
|
-
en: string;
|
|
3379
|
-
ar: string;
|
|
3380
|
-
}
|
|
3381
|
-
/** Filter field types supported by the system */
|
|
3382
|
-
type FilterFieldType = 'dropdownTVService' | 'lookup' | 'status' | 'phaseGate' | 'user' | 'date' | 'section' | 'separator' | 'year' | 'month' | 'quarter' | 'checkbox' | 'schemaSettings' | 'schemaSettingsLeafs';
|
|
3383
|
-
/** Selection item for dropdown configuration */
|
|
3384
|
-
interface FilterSelectionItem {
|
|
3385
|
-
id: number;
|
|
3386
|
-
service?: string | null;
|
|
3387
|
-
selector?: string | null;
|
|
3388
|
-
selectorName?: string | null;
|
|
3389
|
-
moduleType?: string;
|
|
3390
|
-
moduleId?: number;
|
|
3391
|
-
filters?: any[];
|
|
3392
|
-
modules?: any[];
|
|
3393
|
-
properties?: any[];
|
|
3394
|
-
}
|
|
3395
|
-
/** Filter field configuration details */
|
|
3396
|
-
interface FilterFieldConfiguration {
|
|
3397
|
-
payload?: {
|
|
3398
|
-
dashboardId: number;
|
|
3399
|
-
workspaceId?: string | number | null;
|
|
3400
|
-
workspace?: string | null;
|
|
3401
|
-
selection: FilterSelectionItem[];
|
|
3402
|
-
chartType: string;
|
|
3403
|
-
query: {
|
|
3404
|
-
selectedProperties: string[];
|
|
3405
|
-
};
|
|
3406
|
-
};
|
|
3407
|
-
lookupId?: number;
|
|
3408
|
-
schemaLevelId?: number;
|
|
3409
|
-
logId?: number;
|
|
3410
|
-
isRequird?: boolean;
|
|
3411
|
-
isMultiple?: boolean;
|
|
3412
|
-
checked?: boolean;
|
|
3413
|
-
minYear?: number;
|
|
3414
|
-
maxYear?: number;
|
|
3415
|
-
}
|
|
3416
|
-
/** Filter field definition */
|
|
3417
|
-
interface FilterField {
|
|
3418
|
-
key?: string;
|
|
3419
|
-
name?: LocalizedText;
|
|
3420
|
-
type: FilterFieldType;
|
|
3421
|
-
configuration?: FilterFieldConfiguration;
|
|
3422
|
-
}
|
|
3423
|
-
/** Filter field type option for dropdown */
|
|
3424
|
-
interface FilterFieldTypeOption {
|
|
3425
|
-
value: FilterFieldType;
|
|
3426
|
-
label: string;
|
|
3427
|
-
products: string[];
|
|
3428
|
-
}
|
|
3429
|
-
/**
|
|
3430
|
-
* Dynamic Filter Field
|
|
3431
|
-
*
|
|
3432
|
-
* An extended filter definition with options and loading state
|
|
3433
|
-
* for chart-level dynamic filtering.
|
|
3434
|
-
*/
|
|
3435
|
-
interface DynamicFilterField extends FilterField {
|
|
3436
|
-
/** Options loaded from API */
|
|
3437
|
-
options?: DynamicFilterOption[];
|
|
3438
|
-
/** Loading state for async options */
|
|
3439
|
-
loading?: boolean;
|
|
3440
|
-
/** Currently selected value(s) */
|
|
3441
|
-
selectedValue?: any;
|
|
3442
|
-
}
|
|
3443
|
-
/**
|
|
3444
|
-
* Dynamic Filter Option
|
|
3445
|
-
*
|
|
3446
|
-
* A single option in a dynamic filter dropdown.
|
|
3447
|
-
*/
|
|
3448
|
-
interface DynamicFilterOption {
|
|
3449
|
-
id: number | string;
|
|
3450
|
-
name: string | LocalizedText;
|
|
3451
|
-
value?: any;
|
|
3452
|
-
color?: string;
|
|
3453
|
-
icon?: string;
|
|
3454
|
-
}
|
|
3455
|
-
|
|
3456
3501
|
declare class DynamicFiltersComponent implements OnInit {
|
|
3457
3502
|
private readonly storeService;
|
|
3458
3503
|
private readonly transloco;
|
|
@@ -3879,6 +3924,11 @@ declare class EChartComponent implements OnInit, AfterViewInit, OnChanges, OnDes
|
|
|
3879
3924
|
private isLegendSide;
|
|
3880
3925
|
private hasLegendCoordinate;
|
|
3881
3926
|
private isCenteredLegendCoordinate;
|
|
3927
|
+
private getLegendReservedSpace;
|
|
3928
|
+
private getLegendForSide;
|
|
3929
|
+
private readDimensionValue;
|
|
3930
|
+
private getResponsiveSideLegendWidth;
|
|
3931
|
+
private getHorizontalLegendHeight;
|
|
3882
3932
|
private getResponsiveGridOffsets;
|
|
3883
3933
|
private applyResponsiveLegend;
|
|
3884
3934
|
private applyConfiguredLegend;
|
|
@@ -3990,6 +4040,11 @@ interface CardOrderConfig {
|
|
|
3990
4040
|
propertyKey?: string;
|
|
3991
4041
|
direction?: 'asc' | 'desc';
|
|
3992
4042
|
}
|
|
4043
|
+
interface DashboardCardEntityValue {
|
|
4044
|
+
value: EntityData$1['value'];
|
|
4045
|
+
rawValue?: string;
|
|
4046
|
+
}
|
|
4047
|
+
declare function normalizeDashboardCardEntityValue(value: EntityData$1['value'] | null | undefined, rawValue: string | null | undefined, viewType: EntityViewType): DashboardCardEntityValue;
|
|
3993
4048
|
declare class PropertiesCardComponent implements OnInit, OnDestroy {
|
|
3994
4049
|
private readonly storeService;
|
|
3995
4050
|
private readonly transloco;
|
|
@@ -4033,9 +4088,7 @@ declare class PropertiesCardComponent implements OnInit, OnDestroy {
|
|
|
4033
4088
|
private buildEntities;
|
|
4034
4089
|
private buildPropertyTemplateMap;
|
|
4035
4090
|
private createPlaceholderProperty;
|
|
4036
|
-
private resolveEntityValue;
|
|
4037
4091
|
private resolveEntityViewType;
|
|
4038
|
-
private isEntityValueMissing;
|
|
4039
4092
|
private humanizePropertyKey;
|
|
4040
4093
|
private resolveTabLabel;
|
|
4041
4094
|
private readString;
|
|
@@ -4448,6 +4501,8 @@ declare class TableCardComponent implements OnInit, OnDestroy {
|
|
|
4448
4501
|
readonly columns: _angular_core.WritableSignal<TableColumn[]>;
|
|
4449
4502
|
/** Labels for status display */
|
|
4450
4503
|
readonly labels: _angular_core.WritableSignal<any[]>;
|
|
4504
|
+
/** Table legends are visible by default for backward compatibility. */
|
|
4505
|
+
readonly showLegend: _angular_core.Signal<boolean>;
|
|
4451
4506
|
/** Processed table rows */
|
|
4452
4507
|
readonly tableRows: _angular_core.WritableSignal<any[]>;
|
|
4453
4508
|
/** Grouped data */
|
|
@@ -4778,6 +4833,7 @@ declare class ChartDataService {
|
|
|
4778
4833
|
* Build HttpParams from filters
|
|
4779
4834
|
*/
|
|
4780
4835
|
private buildHttpParams;
|
|
4836
|
+
private withCacheScope;
|
|
4781
4837
|
/**
|
|
4782
4838
|
* Fetch level data
|
|
4783
4839
|
*/
|
|
@@ -4836,6 +4892,12 @@ declare class ChartDataService {
|
|
|
4836
4892
|
* Trigger refresh for a specific item
|
|
4837
4893
|
*/
|
|
4838
4894
|
refreshItem(dashboardId: string | number): void;
|
|
4895
|
+
/**
|
|
4896
|
+
* Clear cached chart responses so the next fetchChartData() call hits the
|
|
4897
|
+
* network instead of serving a stale cached response. Pass a dashboardId to
|
|
4898
|
+
* scope the clear to one chart's data source, or omit it to clear everything.
|
|
4899
|
+
*/
|
|
4900
|
+
clearCache(dashboardId?: string | number): void;
|
|
4839
4901
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartDataService, never>;
|
|
4840
4902
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ChartDataService>;
|
|
4841
4903
|
}
|
|
@@ -6061,6 +6123,11 @@ declare class DashboardBuilderService {
|
|
|
6061
6123
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<DashboardBuilderService>;
|
|
6062
6124
|
}
|
|
6063
6125
|
|
|
6126
|
+
interface ManagePagesDeleteResult {
|
|
6127
|
+
action: 'deleted';
|
|
6128
|
+
id: string | number;
|
|
6129
|
+
}
|
|
6130
|
+
declare function isManagePagesDeleteResult(result: unknown): result is ManagePagesDeleteResult;
|
|
6064
6131
|
/**
|
|
6065
6132
|
* Manage Pages Component
|
|
6066
6133
|
*
|
|
@@ -6068,10 +6135,14 @@ declare class DashboardBuilderService {
|
|
|
6068
6135
|
*/
|
|
6069
6136
|
declare class ManagePages implements OnInit {
|
|
6070
6137
|
private dashboardService;
|
|
6138
|
+
private confirmationService;
|
|
6139
|
+
private transloco;
|
|
6071
6140
|
readonly modal: ModalService;
|
|
6072
6141
|
private ref;
|
|
6073
6142
|
/** Input: Report to edit (if editing) */
|
|
6074
6143
|
readonly dataEdit: _angular_core.InputSignal<Report | null>;
|
|
6144
|
+
/** Server-backed builders can delete persisted dashboards. */
|
|
6145
|
+
readonly allowDelete: _angular_core.InputSignal<boolean>;
|
|
6075
6146
|
/** Report form data */
|
|
6076
6147
|
readonly report: _angular_core.WritableSignal<{
|
|
6077
6148
|
id?: number;
|
|
@@ -6085,12 +6156,16 @@ declare class ManagePages implements OnInit {
|
|
|
6085
6156
|
}>;
|
|
6086
6157
|
/** Saving state */
|
|
6087
6158
|
readonly saving: _angular_core.WritableSignal<boolean>;
|
|
6159
|
+
/** Deleting state */
|
|
6160
|
+
readonly deleting: _angular_core.WritableSignal<boolean>;
|
|
6088
6161
|
ngOnInit(): void;
|
|
6089
6162
|
saveReport(): void;
|
|
6163
|
+
deleteReport(): void;
|
|
6164
|
+
private executeDeleteReport;
|
|
6090
6165
|
close(): void;
|
|
6091
6166
|
private clear;
|
|
6092
6167
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ManagePages, never>;
|
|
6093
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ManagePages, "mt-manage-pages", never, { "dataEdit": { "alias": "dataEdit"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6168
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ManagePages, "mt-manage-pages", never, { "dataEdit": { "alias": "dataEdit"; "required": false; "isSignal": true; }; "allowDelete": { "alias": "allowDelete"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6094
6169
|
}
|
|
6095
6170
|
|
|
6096
6171
|
/**
|
|
@@ -6410,6 +6485,7 @@ declare class ChartSettingsDrawer {
|
|
|
6410
6485
|
position: any;
|
|
6411
6486
|
iconType: any;
|
|
6412
6487
|
overrideLegendOrder: string[];
|
|
6488
|
+
colorOverrides: Record<string, unknown>;
|
|
6413
6489
|
}>;
|
|
6414
6490
|
readonly legendItems: _angular_core.Signal<LegendOrderOption[]>;
|
|
6415
6491
|
readonly showLegendTab: _angular_core.Signal<boolean>;
|
|
@@ -6467,6 +6543,8 @@ declare class ChartSettingsDrawer {
|
|
|
6467
6543
|
updateLegend(key: string, value: unknown): void;
|
|
6468
6544
|
dropLegendItem(event: CdkDragDrop<LegendOrderOption[]>): void;
|
|
6469
6545
|
resetLegendOrder(): void;
|
|
6546
|
+
legendColor(item: LegendOrderOption): string | null;
|
|
6547
|
+
updateLegendColor(item: LegendOrderOption, color: unknown): void;
|
|
6470
6548
|
/** Apply changes and close drawer */
|
|
6471
6549
|
apply(): void;
|
|
6472
6550
|
/** Close without changes */
|
|
@@ -7299,18 +7377,6 @@ declare class ManageItem implements OnInit {
|
|
|
7299
7377
|
readonly isNew: _angular_core.Signal<any>;
|
|
7300
7378
|
/** Optional informative authoring context */
|
|
7301
7379
|
readonly informativeContext: _angular_core.Signal<any>;
|
|
7302
|
-
/** Active editor tab: data source vs the per-chart filters builder. */
|
|
7303
|
-
readonly activeTab: _angular_core.WritableSignal<"filters" | "datasource">;
|
|
7304
|
-
/** Option sources for the per-chart interactive-filter builder. */
|
|
7305
|
-
readonly chartLookups: _angular_core.WritableSignal<any[]>;
|
|
7306
|
-
readonly chartLevelsSchema: _angular_core.WritableSignal<any[]>;
|
|
7307
|
-
readonly chartLevelLogs: _angular_core.WritableSignal<any[]>;
|
|
7308
|
-
/**
|
|
7309
|
-
* The chart's interactive filter fields. Persisted (like the old builder) on
|
|
7310
|
-
* `clientConfig.extraFilters.dynamicFilters`; also reads a top-level
|
|
7311
|
-
* `dynamicFilters` for forward compatibility.
|
|
7312
|
-
*/
|
|
7313
|
-
readonly dynamicFilters: _angular_core.Signal<FilterField[]>;
|
|
7314
7380
|
/** Preview pane is collapsed by default; the form gets the full width. */
|
|
7315
7381
|
readonly previewCollapsed: _angular_core.WritableSignal<boolean>;
|
|
7316
7382
|
/** Drawer is ~2/3 width for the form alone, wider while the preview is open. */
|
|
@@ -7326,10 +7392,6 @@ declare class ManageItem implements OnInit {
|
|
|
7326
7392
|
cancel(): void;
|
|
7327
7393
|
/** Update service config from the datasource editor */
|
|
7328
7394
|
onServiceConfigUpdate(partialConfig: Partial<ItemConfig['serviceConfig']>): void;
|
|
7329
|
-
/** Persist the chart's interactive filter fields (Filters tab). */
|
|
7330
|
-
onDynamicFiltersChange(next: FilterField[]): void;
|
|
7331
|
-
/** A status field needs its level's logs — derive them from the schema. */
|
|
7332
|
-
onLoadLevelLogs(schemaLevelId: number): void;
|
|
7333
7395
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ManageItem, never>;
|
|
7334
7396
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ManageItem, "mt-manage-item", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7335
7397
|
}
|
|
@@ -7905,6 +7967,11 @@ interface TriggerOption {
|
|
|
7905
7967
|
readonly value: string;
|
|
7906
7968
|
readonly icon: string;
|
|
7907
7969
|
}
|
|
7970
|
+
/** Browser target for navigation actions. */
|
|
7971
|
+
interface NavigationTargetOption {
|
|
7972
|
+
readonly label: string;
|
|
7973
|
+
readonly value: 'currentTab' | 'newTab';
|
|
7974
|
+
}
|
|
7908
7975
|
/**
|
|
7909
7976
|
* A single unified action filter. `propertyKey` is the param sent to the
|
|
7910
7977
|
* target/dialog; `propertyValue` is either a literal (static) or a `{{token}}`
|
|
@@ -7957,6 +8024,7 @@ declare class ActionsSettings {
|
|
|
7957
8024
|
readonly actionTypeOptions: readonly ActionTypeOption[];
|
|
7958
8025
|
/** Trigger type options - using valid icons from icons.json */
|
|
7959
8026
|
readonly triggerOptions: readonly TriggerOption[];
|
|
8027
|
+
readonly navigationTargetOptions: readonly NavigationTargetOption[];
|
|
7960
8028
|
/** Current actions list */
|
|
7961
8029
|
readonly actions: _angular_core.Signal<ActionConfig[]>;
|
|
7962
8030
|
/**
|
|
@@ -7981,6 +8049,8 @@ declare class ActionsSettings {
|
|
|
7981
8049
|
* key/pivot tokens the dialog depends on.
|
|
7982
8050
|
*/
|
|
7983
8051
|
isDialogAction(action: ActionConfig): boolean;
|
|
8052
|
+
/** Navigation target applies to both navigation choices exposed by this UI. */
|
|
8053
|
+
supportsNavigationTarget(action: ActionConfig): boolean;
|
|
7984
8054
|
/** Remove an action */
|
|
7985
8055
|
removeAction(index: number): void;
|
|
7986
8056
|
/** Duplicate an action */
|
|
@@ -8050,15 +8120,20 @@ declare class ChartViewer {
|
|
|
8050
8120
|
/** Preview only renders when the selected capability has enough config. */
|
|
8051
8121
|
readonly canPreview: _angular_core.Signal<boolean>;
|
|
8052
8122
|
/**
|
|
8053
|
-
* Refresh the preview
|
|
8054
|
-
*
|
|
8055
|
-
*
|
|
8123
|
+
* Refresh the preview with a local overlay. The rendered chart stays mounted
|
|
8124
|
+
* so settings, scroll position, and chart layout do not flicker between edits.
|
|
8125
|
+
* Coalesces rapid calls into one feedback window.
|
|
8056
8126
|
*/
|
|
8057
8127
|
refresh(): void;
|
|
8058
8128
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartViewer, never>;
|
|
8059
8129
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartViewer, "mt-chart-viewer", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "chartTypeId": { "alias": "chartTypeId"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8060
8130
|
}
|
|
8061
8131
|
|
|
8132
|
+
interface LegendColorChange {
|
|
8133
|
+
name: string;
|
|
8134
|
+
color: string | null;
|
|
8135
|
+
}
|
|
8136
|
+
|
|
8062
8137
|
/** A legend entry surfaced from the chart's live preview data. */
|
|
8063
8138
|
interface LegendOrderItem {
|
|
8064
8139
|
key: string;
|
|
@@ -8070,17 +8145,22 @@ interface LegendOrderItem {
|
|
|
8070
8145
|
* the live preview data (already ordered by the saved override); dragging emits
|
|
8071
8146
|
* the new order as a name array written to
|
|
8072
8147
|
* `clientConfig.configAsType.legend.overrideLegendOrder`. Reset emits `[]`
|
|
8073
|
-
* (natural order).
|
|
8148
|
+
* (natural order). Every row also exposes an independent color override keyed
|
|
8149
|
+
* by the rendered legend name.
|
|
8074
8150
|
*/
|
|
8075
8151
|
declare class LegendOrderField {
|
|
8076
8152
|
readonly items: _angular_core.InputSignal<LegendOrderItem[]>;
|
|
8153
|
+
readonly colorOverrides: _angular_core.InputSignal<Record<string, unknown>>;
|
|
8077
8154
|
readonly valueChange: _angular_core.OutputEmitterRef<string[]>;
|
|
8155
|
+
readonly colorChange: _angular_core.OutputEmitterRef<LegendColorChange>;
|
|
8078
8156
|
/** Working list is just the input — reorder mutates a copy and emits. */
|
|
8079
8157
|
readonly rows: _angular_core.Signal<LegendOrderItem[]>;
|
|
8080
8158
|
drop(event: CdkDragDrop<unknown>): void;
|
|
8081
8159
|
reset(): void;
|
|
8160
|
+
colorFor(item: LegendOrderItem): string | null;
|
|
8161
|
+
setColor(item: LegendOrderItem, color: unknown): void;
|
|
8082
8162
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LegendOrderField, never>;
|
|
8083
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LegendOrderField, "mt-legend-order-field", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
8163
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LegendOrderField, "mt-legend-order-field", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "colorOverrides": { "alias": "colorOverrides"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "colorChange": "colorChange"; }, never, never, true, never>;
|
|
8084
8164
|
}
|
|
8085
8165
|
|
|
8086
8166
|
interface NavGroup {
|
|
@@ -8095,6 +8175,7 @@ declare class StyleStudioDrawer {
|
|
|
8095
8175
|
private readonly chartDataService;
|
|
8096
8176
|
private readonly itemStoreService;
|
|
8097
8177
|
private readonly dashboardStore;
|
|
8178
|
+
private readonly destroyRef;
|
|
8098
8179
|
readonly modal: ModalService;
|
|
8099
8180
|
private readonly scrollPane;
|
|
8100
8181
|
/** Working copy of the chart (deep-cloned so Cancel never mutates source). */
|
|
@@ -8113,9 +8194,11 @@ declare class StyleStudioDrawer {
|
|
|
8113
8194
|
* real chart untouched.
|
|
8114
8195
|
*/
|
|
8115
8196
|
readonly previewId: string;
|
|
8116
|
-
/** The live preview viewer
|
|
8197
|
+
/** The live preview viewer; only its content shows refresh feedback. */
|
|
8117
8198
|
private readonly previewViewer;
|
|
8199
|
+
private previewSyncTimer;
|
|
8118
8200
|
constructor();
|
|
8201
|
+
private schedulePreviewSync;
|
|
8119
8202
|
/** Re-process + push the working config into the isolated preview store. */
|
|
8120
8203
|
private syncPreviewStore;
|
|
8121
8204
|
readonly itemConfig: _angular_core.Signal<ItemConfig | null>;
|
|
@@ -8263,8 +8346,10 @@ declare class StyleField {
|
|
|
8263
8346
|
readMap(): Record<string, unknown>;
|
|
8264
8347
|
/** keyValueMap accepts either a map or a positional array (asArray mode). */
|
|
8265
8348
|
readMapOrArray(): Record<string, unknown> | unknown[];
|
|
8349
|
+
readLegendColorOverrides(): Record<string, unknown>;
|
|
8266
8350
|
readJson(): string;
|
|
8267
8351
|
emitValue(value: unknown): void;
|
|
8352
|
+
onLegendColorChange(change: LegendColorChange): void;
|
|
8268
8353
|
onJsonInput(raw: string): void;
|
|
8269
8354
|
private emitScalar;
|
|
8270
8355
|
private emitShadowPreset;
|
|
@@ -8377,12 +8462,12 @@ interface MapRow {
|
|
|
8377
8462
|
* boolean). Controlled: `value` in, `valueChange` out.
|
|
8378
8463
|
*/
|
|
8379
8464
|
declare class KeyValueMapField {
|
|
8380
|
-
readonly value: _angular_core.InputSignal<Record<string, unknown> |
|
|
8465
|
+
readonly value: _angular_core.InputSignal<unknown[] | Record<string, unknown> | null>;
|
|
8381
8466
|
readonly keys: _angular_core.InputSignal<ControlOption[]>;
|
|
8382
8467
|
readonly valueFields: _angular_core.InputSignal<ControlField[]>;
|
|
8383
8468
|
/** When true, store/read a positional array aligned to `keys` order. */
|
|
8384
8469
|
readonly asArray: _angular_core.InputSignal<boolean>;
|
|
8385
|
-
readonly valueChange: _angular_core.OutputEmitterRef<Record<string, unknown
|
|
8470
|
+
readonly valueChange: _angular_core.OutputEmitterRef<unknown[] | Record<string, unknown>>;
|
|
8386
8471
|
readonly rows: _angular_core.WritableSignal<MapRow[]>;
|
|
8387
8472
|
private readonly destroyRef;
|
|
8388
8473
|
/** Subscriptions for the current row set; torn down on every rebuild. */
|
|
@@ -8428,5 +8513,5 @@ declare class GetChartActionsPipe implements PipeTransform {
|
|
|
8428
8513
|
*/
|
|
8429
8514
|
declare function cloneDeep<T>(obj: T): T;
|
|
8430
8515
|
|
|
8431
|
-
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, formatCurrency, formatDate, formatForEditor, formatNumber, formatPercentage, formatValue, formatWordsUnderBar, formatXAxis, generalConfiguration, getBinding, getCapabilityById, getColorFromConditions, getControlSchema, getCurrencySuffix, getFallbackControlSchema, getLocalizedTitle, getNestedData, groupDatesByYearAndMonth, groupIssuesByDomain, handleFilterForCard, handleFilterForSnapshot, handleFiltersForCustom, hasBlockingIssues, isMobilePlatform, labelLegendFormatToUi, layoutToUi, listBindings, listBindingsForChart, listControlSchemaIds, listControlSchemas, moduleIdFromSelector, normalizeAggregateFunction, normalizeBeforeRequest, normalizeBeforeSave, normalizeChartTypeForRequest, normalizeFilterOperation, normalizeFilters, normalizeOnLoad, parseAdvancedJson, persistedToUi, presetsForCapability, readBoundValue, readByPath, resolveCapability, resolveDisplayFields, selectorFromLegacy, setByPath, sortChartData, sortDataTableView, styleToUi, switchAllKeysSmall, switchAllKeysToLower, titleToUi, toBackendChartType, toBackendSourceLink, toFormSourceLink, validate };
|
|
8432
|
-
export type { ActionConfig, ApiResponse, 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, 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, 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, SourceLink, StaticFilterConfig, StaticFilterItem, StatisticCardData, StyleConfig, StylePreset, StylePresetKey, StyleUi, TableColumn$1 as TableColumn, TableViewData, TimelineData, TimelineItem, TitleUi, UiItemConfig, UnlinkChartRequest, ValidateOptions, ValidationIssue, ValidationSeverity };
|
|
8516
|
+
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, 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, selectorFromLegacy, setByPath, sortChartData, sortDataTableView, styleToUi, switchAllKeysSmall, switchAllKeysToLower, titleToUi, toBackendChartType, toBackendSourceLink, toFormSourceLink, validate };
|
|
8517
|
+
export type { ActionConfig, ApiResponse, 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, 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, SourceLink, StaticFilterConfig, StaticFilterItem, StatisticCardData, StyleConfig, StylePreset, StylePresetKey, StyleUi, TableColumn$1 as TableColumn, TableViewData, TimelineData, TimelineItem, TitleUi, UiItemConfig, UnlinkChartRequest, ValidateOptions, ValidationIssue, ValidationSeverity };
|