@masterteam/dashboard-builder 0.0.92 → 0.0.93
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 -15
- package/assets/dashboard-builder.css +1 -1
- package/assets/i18n/ar.json +1635 -1621
- package/assets/i18n/en.json +1357 -1343
- package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-OEtvg4Ep.mjs → masterteam-dashboard-builder-dashboard-dialog.component-BjZJhI06.mjs} +3 -3
- package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-OEtvg4Ep.mjs.map → masterteam-dashboard-builder-dashboard-dialog.component-BjZJhI06.mjs.map} +1 -1
- package/fesm2022/{masterteam-dashboard-builder-masterteam-dashboard-builder-CUB7GE24.mjs → masterteam-dashboard-builder-masterteam-dashboard-builder-CLvaME2w.mjs} +433 -270
- package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-CLvaME2w.mjs.map +1 -0
- package/fesm2022/masterteam-dashboard-builder.mjs +1 -1
- package/package.json +3 -3
- package/types/masterteam-dashboard-builder.d.ts +42 -15
- package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-CUB7GE24.mjs.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aR as ActionsSettings, aZ as ArrayBuilderField, $ as BarChartHandler, aK as BarControlUi, bb as CHART_CAPABILITIES, aN as CHART_TYPES, bq as CONFIG_DOMAINS, bU as CUSTOM_COLOR_OPTION, C as CardContentComponent, t as CardFilterComponent, v as CardInfoComponent, w as ChartCardComponent, _ as ChartDataService, b1 as ChartFilterDrawer, aG as ChartSettingsDrawer, aS as ChartViewer, aY as ColorListField, aa as ComparisonChartHandler, Q as DEFAULT_MAP_REGION_KEY, d as DashboardBuilder, az as DashboardBuilderService, a as DashboardItem, D as DashboardItemStoreService, au as DashboardList, aA as DashboardStoreService, e as DashboardViewer, aQ as DataSourceSettings, b7 as DatasourcePanelComponent, aI as DefaultControlUi, aH as DisplaySettings, u as DynamicFiltersComponent, aF as DynamicFiltersConfig, E as EChartComponent, P as EntitiesPreviewCardComponent, y as EntityInfoComponent, B as EntityPreviewCardComponent, b6 as FilterBuilderComponent, b9 as FilterByGroupPipe, b5 as FilterChipsBarComponent, a4 as GaugeChartHandler, aP as GeneralSettings, ba as GetChartActionsPipe, b4 as GuidedConfigDialogComponent, ay as HTTPMethod, H as HeaderCardComponent, c9 as ITEM_GUIDANCE_REGISTRY, b0 as ItemCardMenuComponent, b3 as ItemConfigPopoverComponent, b2 as ItemContextToolbarComponent, cb as ItemGuidanceService, a_ as KeyValueMapField, L as LastHistoryLevelCardComponent, a$ as LegendOrderField, ac as LevelCardHandler, a8 as LineChartHandler, G as ListStatisticCardComponent, R as MAP_DATA_ATTRIBUTION, I as MAP_FALLBACK_COLORS, M as MAP_MARKER_PATH, O as MAP_REGIONS, av as MODULE_CLASSIFICATION_LOG, aw as MODULE_CLASSIFICATION_LOG_NAME, aD as ManageBreadcrumb, aE as ManageFilterOnPage, aM as ManageItem, aO as ManageItemService, aC as ManagePages, ad as MapChartHandler, U as MapViewComponent, a6 as OverviewCardHandler, bt as POPOVER_TABS, bu as POPOVER_TAB_SPECS, ag as PhaseGateStepperHandler, a0 as PieChartHandler, aJ as PieControlUi, P as PropertiesCardComponent, ae as RingGaugeChartHandler, af as SPlusChartHandler, bL as STYLE_PRESETS, b8 as SchemaControlRendererComponent, aX as SegmentedField, V as SkeletonCardComponent, a9 as SnapshotHandler, ab as SplitterChartHandler, a1 as StackBarChartHandler, aL as StackBarControlUi, S as StaticFiltersComponent, X as StatisticCardComponent, aW as StyleField, aU as StyleSettingsRenderer, aT as StyleStudioDrawer, Y as TableCardComponent, a5 as TableViewHandler, a7 as TimelineHandler, Z as TopbarCardComponent, n as addCommasToNumber, bH as applyBehaviorToPersisted, bX as applyControlPatchToPersisted, bY as applyControlPatchesToPersisted, bI as applyFilterChipsToPersisted, bF as applyLabelLegendFormatToPersisted, bD as applyLayoutToPersisted, bB as applyStyleToPersisted, bw as applyTitleToPersisted, a2 as axisFormatters, bG as behaviorToUi, c4 as bindingKey, bK as buildAssembly, c3 as buildDisplayFieldPredicate, N as buildMapChartOption, c as cloneDeep, am as createAxisFormatter, an as createTooltipFormatter, bx as datasourceToUi, bS as deepMerge, ca as describeGuidance, br as domainsForCapability, i as dynamicReorder, h as dynamicTextReplace, aV as expandResetPatches, by as fieldsToUi, bz as filtersToUi, bs as findDomain, bN as findPreset, c1 as flattenSchema, ao as formatAxisLabel, ah as formatCurrency, al as formatDate, bT as formatForEditor, ak as formatNumber, aj as formatPercentage, k as formatValue, ap as formatWordsUnderBar, aq as formatXAxis, j as generalConfiguration, c5 as getBinding, bc as getCapabilityById, q as getColorFromConditions, bZ as getControlSchema, ai as getCurrencySuffix, c0 as getFallbackControlSchema, l as getLocalizedTitle, g as getNestedData, a3 as groupDatesByYearAndMonth, bQ as groupIssuesByDomain, as as handleFilterForCard, at as handleFilterForSnapshot, ar as handleFiltersForCustom, bP as hasBlockingIssues, ax as isLogClassification, aB as isManagePagesDeleteResult, p as isMobilePlatform, J as isPlottable, bE as labelLegendFormatToUi, bC as layoutToUi, c6 as listBindings, c7 as listBindingsForChart, b_ as listControlSchemaIds, b$ as listControlSchemas, A as mergePropertyAppearance, bk as moduleIdFromSelector, bh as normalizeAggregateFunction, bp as normalizeBeforeRequest, bo as normalizeBeforeSave, bf as normalizeChartTypeForRequest, z as normalizeDashboardCardEntityValue, bg as normalizeFilterOperation, bi as normalizeFilters, bn as normalizeOnLoad, bR as parseAdvancedJson, bJ as persistedToUi, K as plottableGroups, bM as presetsForCapability, c8 as readBoundValue, bV as readByPath, bd as resolveCapability, c2 as resolveDisplayFields, x as resolveEntityUserPhoto, T as resolveMapRegion, W as resolveStatisticIconPlacement, bj as selectorFromLegacy, bW as setByPath, m as sortChartData, o as sortDataTableView, bA as styleToUi, f as switchAllKeysSmall, s as switchAllKeysToLower, bv as titleToUi, be as toBackendChartType, bl as toBackendSourceLink, bm as toFormSourceLink, bO as validate } from './masterteam-dashboard-builder-masterteam-dashboard-builder-CLvaME2w.mjs';
|
|
2
2
|
//# sourceMappingURL=masterteam-dashboard-builder.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@masterteam/dashboard-builder",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.93",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"directory": "../../../dist/masterteam/dashboard-builder",
|
|
6
6
|
"linkDirectory": true,
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"rxjs": "^7.8.2",
|
|
25
25
|
"tailwindcss": "^4.2.2",
|
|
26
26
|
"@masterteam/icons": "^0.0.17",
|
|
27
|
-
"@masterteam/
|
|
28
|
-
"@masterteam/
|
|
27
|
+
"@masterteam/timeline": "^0.0.23",
|
|
28
|
+
"@masterteam/components": "^0.0.288"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"tslib": "^2.8.1",
|
|
@@ -11,7 +11,7 @@ import * as _angular_forms from '@angular/forms';
|
|
|
11
11
|
import { ControlValueAccessor, FormGroup, FormArray, ValidationErrors, FormControl } from '@angular/forms';
|
|
12
12
|
import { MTIcon } from '@masterteam/icons';
|
|
13
13
|
import { TimelineScaleMode, TimelineColumnConfig, TimelineGanttMapping } from '@masterteam/timeline';
|
|
14
|
-
import { EntityData as EntityData$1, EntityViewType } from '@masterteam/components/entities';
|
|
14
|
+
import { EntityData as EntityData$1, EntityViewType, EntityConfiguration } from '@masterteam/components/entities';
|
|
15
15
|
import { HttpContext } from '@angular/common/http';
|
|
16
16
|
import { ColumnDef, TableAction, CellChangeEvent } from '@masterteam/components/table';
|
|
17
17
|
import { ActivatedRoute } from '@angular/router';
|
|
@@ -1415,6 +1415,8 @@ interface ControlField {
|
|
|
1415
1415
|
* (e.g. `propsConfigAsIndex`) instead of a `{ key: value }` map.
|
|
1416
1416
|
*/
|
|
1417
1417
|
asArray?: boolean;
|
|
1418
|
+
/** Collapse large per-property rows until the author chooses a property. */
|
|
1419
|
+
collapsibleRows?: boolean;
|
|
1418
1420
|
/**
|
|
1419
1421
|
* For a `select` sub-field of a `keyValueMap`: offer a literal colour
|
|
1420
1422
|
* alongside the listed options. Selecting `CUSTOM_COLOR_OPTION` swaps in a
|
|
@@ -3398,6 +3400,8 @@ declare class DashboardItem implements OnInit, OnDestroy {
|
|
|
3398
3400
|
readonly chartTypeId: _angular_core.InputSignal<string | number | undefined>;
|
|
3399
3401
|
/** Read-only mode */
|
|
3400
3402
|
readonly readonly: _angular_core.InputSignal<boolean>;
|
|
3403
|
+
/** Render host-supplied preview data without issuing chart requests. */
|
|
3404
|
+
readonly useCachedDataOnly: _angular_core.InputSignal<boolean>;
|
|
3401
3405
|
/** Parent page/dashboard name for topbar breadcrumb fallbacks */
|
|
3402
3406
|
readonly pageName: _angular_core.InputSignal<string>;
|
|
3403
3407
|
/** Whether this item is inside a group */
|
|
@@ -3545,7 +3549,7 @@ declare class DashboardItem implements OnInit, OnDestroy {
|
|
|
3545
3549
|
private buildParentFilter;
|
|
3546
3550
|
private mergeRequestFilters;
|
|
3547
3551
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DashboardItem, never>;
|
|
3548
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DashboardItem, "mt-dashboard-item", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "chartTypeId": { "alias": "chartTypeId"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "pageName": { "alias": "pageName"; "required": false; "isSignal": true; }; "inGroup": { "alias": "inGroup"; "required": false; "isSignal": true; }; "isDialog": { "alias": "isDialog"; "required": false; "isSignal": true; }; "queryParams": { "alias": "queryParams"; "required": false; "isSignal": true; }; "extraFilters": { "alias": "extraFilters"; "required": false; "isSignal": true; }; "reportId": { "alias": "reportId"; "required": false; "isSignal": true; }; "ignoreQueryFilter": { "alias": "ignoreQueryFilter"; "required": false; "isSignal": true; }; "builderMode": { "alias": "builderMode"; "required": false; "isSignal": true; }; }, { "actionTriggered": "actionTriggered"; "configureRequested": "configureRequested"; "titleEdited": "titleEdited"; }, never, never, true, never>;
|
|
3552
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DashboardItem, "mt-dashboard-item", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "chartTypeId": { "alias": "chartTypeId"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "useCachedDataOnly": { "alias": "useCachedDataOnly"; "required": false; "isSignal": true; }; "pageName": { "alias": "pageName"; "required": false; "isSignal": true; }; "inGroup": { "alias": "inGroup"; "required": false; "isSignal": true; }; "isDialog": { "alias": "isDialog"; "required": false; "isSignal": true; }; "queryParams": { "alias": "queryParams"; "required": false; "isSignal": true; }; "extraFilters": { "alias": "extraFilters"; "required": false; "isSignal": true; }; "reportId": { "alias": "reportId"; "required": false; "isSignal": true; }; "ignoreQueryFilter": { "alias": "ignoreQueryFilter"; "required": false; "isSignal": true; }; "builderMode": { "alias": "builderMode"; "required": false; "isSignal": true; }; }, { "actionTriggered": "actionTriggered"; "configureRequested": "configureRequested"; "titleEdited": "titleEdited"; }, never, never, true, never>;
|
|
3549
3553
|
}
|
|
3550
3554
|
|
|
3551
3555
|
interface HeaderCardConfig$1 {
|
|
@@ -4378,6 +4382,15 @@ interface PropertyRuntimeConfig {
|
|
|
4378
4382
|
hidden?: boolean;
|
|
4379
4383
|
border?: boolean | string[];
|
|
4380
4384
|
colorAsProperty?: string;
|
|
4385
|
+
hideLabel?: boolean;
|
|
4386
|
+
labelPosition?: 'top' | 'bottom';
|
|
4387
|
+
alignEnd?: boolean;
|
|
4388
|
+
infoEn?: string;
|
|
4389
|
+
infoAr?: string;
|
|
4390
|
+
showDisplayName?: boolean;
|
|
4391
|
+
showPhoneNumber?: boolean;
|
|
4392
|
+
showEmail?: boolean;
|
|
4393
|
+
showAvatar?: boolean;
|
|
4381
4394
|
}
|
|
4382
4395
|
|
|
4383
4396
|
interface DashboardCardProperty extends EntityData$1 {
|
|
@@ -4417,9 +4430,11 @@ interface DashboardCardEntityValue {
|
|
|
4417
4430
|
rawValue?: string;
|
|
4418
4431
|
}
|
|
4419
4432
|
declare function normalizeDashboardCardEntityValue(value: EntityData$1['value'] | null | undefined, rawValue: string | null | undefined, viewType: EntityViewType): DashboardCardEntityValue;
|
|
4433
|
+
/** Apply only authored overrides; absent fields retain the entity's defaults. */
|
|
4434
|
+
declare function mergePropertyAppearance(base: EntityConfiguration, appearance: PropertyRuntimeConfig, viewType: EntityViewType): EntityConfiguration;
|
|
4420
4435
|
declare class PropertiesCardComponent implements OnInit, OnDestroy {
|
|
4421
4436
|
private readonly storeService;
|
|
4422
|
-
private readonly
|
|
4437
|
+
private readonly dashboardStore;
|
|
4423
4438
|
private readonly subscription;
|
|
4424
4439
|
readonly dashboardId: _angular_core.InputSignal<string | number>;
|
|
4425
4440
|
readonly inGroup: _angular_core.InputSignal<boolean>;
|
|
@@ -4431,6 +4446,7 @@ declare class PropertiesCardComponent implements OnInit, OnDestroy {
|
|
|
4431
4446
|
readonly cardData: _angular_core.WritableSignal<DashboardTabItem[][]>;
|
|
4432
4447
|
readonly tabSelected: _angular_core.WritableSignal<number>;
|
|
4433
4448
|
readonly langCode: _angular_core.Signal<string>;
|
|
4449
|
+
readonly title: _angular_core.Signal<string>;
|
|
4434
4450
|
readonly galleryMode: _angular_core.Signal<boolean>;
|
|
4435
4451
|
readonly currentTabItems: _angular_core.Signal<DashboardTabItem[]>;
|
|
4436
4452
|
readonly selectedProperties: _angular_core.Signal<string[]>;
|
|
@@ -6427,8 +6443,10 @@ declare class DashboardBuilderService {
|
|
|
6427
6443
|
private readonly levelLogsCache;
|
|
6428
6444
|
/** Host-owned level-log resolver; preferred over the package's own request. */
|
|
6429
6445
|
private readonly levelLogsResolver;
|
|
6430
|
-
/** HTTP context for gateway requests */
|
|
6431
|
-
private gatewayContext;
|
|
6446
|
+
/** HTTP context for gateway-owned metadata requests. */
|
|
6447
|
+
private readonly gatewayContext;
|
|
6448
|
+
/** HTTP context for application-owned runtime requests. */
|
|
6449
|
+
private readonly applicationContext;
|
|
6432
6450
|
constructor();
|
|
6433
6451
|
private loadConfig;
|
|
6434
6452
|
/**
|
|
@@ -8878,6 +8896,8 @@ declare class ChartViewer {
|
|
|
8878
8896
|
* `refresh()`, which is how the Style Studio drives it anyway.
|
|
8879
8897
|
*/
|
|
8880
8898
|
readonly hideHeader: _angular_core.InputSignal<boolean>;
|
|
8899
|
+
/** Style Studio supplies data from its isolated store instead of fetching. */
|
|
8900
|
+
readonly useCachedDataOnly: _angular_core.InputSignal<boolean>;
|
|
8881
8901
|
/** Loading state for refresh */
|
|
8882
8902
|
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
8883
8903
|
private readonly destroyRef;
|
|
@@ -8892,7 +8912,7 @@ declare class ChartViewer {
|
|
|
8892
8912
|
*/
|
|
8893
8913
|
refresh(): void;
|
|
8894
8914
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartViewer, never>;
|
|
8895
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartViewer, "mt-chart-viewer", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "chartTypeId": { "alias": "chartTypeId"; "required": false; "isSignal": true; }; "hideHeader": { "alias": "hideHeader"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8915
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartViewer, "mt-chart-viewer", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "chartTypeId": { "alias": "chartTypeId"; "required": false; "isSignal": true; }; "hideHeader": { "alias": "hideHeader"; "required": false; "isSignal": true; }; "useCachedDataOnly": { "alias": "useCachedDataOnly"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8896
8916
|
}
|
|
8897
8917
|
|
|
8898
8918
|
/** What `ActionService.showDialog` puts on `DynamicDialogConfig.data`. */
|
|
@@ -9042,6 +9062,8 @@ declare class StyleStudioDrawer {
|
|
|
9042
9062
|
readonly itemConfig: _angular_core.Signal<ItemConfig | null>;
|
|
9043
9063
|
readonly capability: _angular_core.Signal<_masterteam_dashboard_builder.ChartCapability | null>;
|
|
9044
9064
|
readonly schema: _angular_core.Signal<_masterteam_dashboard_builder.ControlSchema>;
|
|
9065
|
+
/** Translate the schema only when the capability or language changes. */
|
|
9066
|
+
readonly localizedSections: _angular_core.Signal<ControlSection[]>;
|
|
9045
9067
|
readonly chartName: _angular_core.Signal<string>;
|
|
9046
9068
|
readonly chartIcon: _angular_core.Signal<string>;
|
|
9047
9069
|
/**
|
|
@@ -9117,26 +9139,24 @@ interface RenderSection {
|
|
|
9117
9139
|
toggles: ControlField[];
|
|
9118
9140
|
}
|
|
9119
9141
|
/**
|
|
9120
|
-
*
|
|
9121
|
-
*
|
|
9122
|
-
* `visibleWhen` predicates and a free-text `search` filter. Emits `ControlPatch`
|
|
9142
|
+
* Renders the host's visible, localized schema sections as reactive forms.
|
|
9143
|
+
* Emits `ControlPatch`
|
|
9123
9144
|
* upward; the host applies it via `applyControlPatchToPersisted` and re-feeds
|
|
9124
9145
|
* the persisted config (one-way data flow → the live preview reacts).
|
|
9125
9146
|
*/
|
|
9126
9147
|
declare class StyleSettingsRenderer {
|
|
9127
9148
|
private readonly transloco;
|
|
9128
9149
|
private readonly activeLang;
|
|
9129
|
-
readonly
|
|
9150
|
+
readonly visibleSections: _angular_core.InputSignal<ControlSection[]>;
|
|
9130
9151
|
readonly persisted: _angular_core.InputSignal<_masterteam_dashboard_builder.ItemConfig | null>;
|
|
9131
9152
|
readonly capability: _angular_core.InputSignal<ChartCapability | null>;
|
|
9132
9153
|
readonly scope: _angular_core.InputSignal<ControlSectionScope>;
|
|
9133
|
-
readonly search: _angular_core.InputSignal<string>;
|
|
9134
9154
|
/** Live legend entries forwarded to any legendOrder control. */
|
|
9135
9155
|
readonly legendItems: _angular_core.InputSignal<LegendOrderItem[]>;
|
|
9136
9156
|
readonly patch: _angular_core.OutputEmitterRef<ControlPatch>;
|
|
9137
9157
|
/** Emitted when the empty-state "switch to Advanced" affordance is used. */
|
|
9138
9158
|
readonly requestScope: _angular_core.OutputEmitterRef<ControlSectionScope>;
|
|
9139
|
-
/**
|
|
9159
|
+
/** Use the exact same section objects as the rail, without relocalizing. */
|
|
9140
9160
|
readonly sections: _angular_core.Signal<RenderSection[]>;
|
|
9141
9161
|
readonly isEmpty: _angular_core.Signal<boolean>;
|
|
9142
9162
|
/** Composite/full-width field types span both grid columns. */
|
|
@@ -9147,7 +9167,7 @@ declare class StyleSettingsRenderer {
|
|
|
9147
9167
|
/** Clear every visible field in a section back to its (unset) default. */
|
|
9148
9168
|
resetSection(entry: RenderSection): void;
|
|
9149
9169
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StyleSettingsRenderer, never>;
|
|
9150
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StyleSettingsRenderer, "mt-style-settings-renderer", never, { "
|
|
9170
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StyleSettingsRenderer, "mt-style-settings-renderer", never, { "visibleSections": { "alias": "visibleSections"; "required": true; "isSignal": true; }; "persisted": { "alias": "persisted"; "required": true; "isSignal": true; }; "capability": { "alias": "capability"; "required": false; "isSignal": true; }; "scope": { "alias": "scope"; "required": false; "isSignal": true; }; "legendItems": { "alias": "legendItems"; "required": false; "isSignal": true; }; }, { "patch": "patch"; "requestScope": "requestScope"; }, never, never, true, never>;
|
|
9151
9171
|
}
|
|
9152
9172
|
|
|
9153
9173
|
/**
|
|
@@ -9349,8 +9369,10 @@ declare class KeyValueMapField {
|
|
|
9349
9369
|
readonly valueFields: _angular_core.InputSignal<ControlField[]>;
|
|
9350
9370
|
/** When true, store/read a positional array aligned to `keys` order. */
|
|
9351
9371
|
readonly asArray: _angular_core.InputSignal<boolean>;
|
|
9372
|
+
readonly collapsibleRows: _angular_core.InputSignal<boolean>;
|
|
9352
9373
|
readonly valueChange: _angular_core.OutputEmitterRef<Record<string, unknown> | unknown[]>;
|
|
9353
9374
|
readonly rows: _angular_core.WritableSignal<MapRow[]>;
|
|
9375
|
+
readonly expandedRows: _angular_core.WritableSignal<ReadonlySet<string>>;
|
|
9354
9376
|
private readonly destroyRef;
|
|
9355
9377
|
/** Subscriptions for the current row set; torn down on every rebuild. */
|
|
9356
9378
|
private rowSubs;
|
|
@@ -9367,6 +9389,9 @@ declare class KeyValueMapField {
|
|
|
9367
9389
|
*/
|
|
9368
9390
|
readonly inputFields: _angular_core.Signal<ControlField[]>;
|
|
9369
9391
|
readonly toggleFields: _angular_core.Signal<ControlField[]>;
|
|
9392
|
+
readonly userFields: _angular_core.Signal<ControlField[]>;
|
|
9393
|
+
isExpanded(key: string): boolean;
|
|
9394
|
+
toggleRow(key: string): void;
|
|
9370
9395
|
/**
|
|
9371
9396
|
* A sub-field's options, plus the row's own persisted value when it is not
|
|
9372
9397
|
* one of them. `colorAsProperty` also accepts a literal color (`#fff`,
|
|
@@ -9396,10 +9421,12 @@ declare class KeyValueMapField {
|
|
|
9396
9421
|
private modeKey;
|
|
9397
9422
|
private existingFor;
|
|
9398
9423
|
private clean;
|
|
9424
|
+
/** Keep persisted keys that this version of the editor does not expose. */
|
|
9425
|
+
private mergedRow;
|
|
9399
9426
|
private emit;
|
|
9400
9427
|
private matchesCurrent;
|
|
9401
9428
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<KeyValueMapField, never>;
|
|
9402
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<KeyValueMapField, "mt-key-value-map-field", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "keys": { "alias": "keys"; "required": false; "isSignal": true; }; "valueFields": { "alias": "valueFields"; "required": false; "isSignal": true; }; "asArray": { "alias": "asArray"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
9429
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<KeyValueMapField, "mt-key-value-map-field", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "keys": { "alias": "keys"; "required": false; "isSignal": true; }; "valueFields": { "alias": "valueFields"; "required": false; "isSignal": true; }; "asArray": { "alias": "asArray"; "required": false; "isSignal": true; }; "collapsibleRows": { "alias": "collapsibleRows"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
9403
9430
|
}
|
|
9404
9431
|
|
|
9405
9432
|
/**
|
|
@@ -9431,5 +9458,5 @@ declare class GetChartActionsPipe implements PipeTransform {
|
|
|
9431
9458
|
*/
|
|
9432
9459
|
declare function cloneDeep<T>(obj: T): T;
|
|
9433
9460
|
|
|
9434
|
-
export { ActionsSettings, ArrayBuilderField, BarChartHandler, BarControlUi, CHART_CAPABILITIES, CHART_TYPES, CONFIG_DOMAINS, CUSTOM_COLOR_OPTION, CardContentComponent, CardFilterComponent, CardInfoComponent, ChartCardComponent, ChartDataService, ChartFilterDrawer, ChartSettingsDrawer, ChartViewer, ColorListField, ComparisonChartHandler, DEFAULT_MAP_REGION_KEY, 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, MAP_DATA_ATTRIBUTION, MAP_FALLBACK_COLORS, MAP_MARKER_PATH, MAP_REGIONS, MODULE_CLASSIFICATION_LOG, MODULE_CLASSIFICATION_LOG_NAME, ManageBreadcrumb, ManageFilterOnPage, ManageItem, ManageItemService, ManagePages, MapChartHandler, MapViewComponent, 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, buildMapChartOption, 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, isLogClassification, isManagePagesDeleteResult, isMobilePlatform, isPlottable, labelLegendFormatToUi, layoutToUi, listBindings, listBindingsForChart, listControlSchemaIds, listControlSchemas, moduleIdFromSelector, normalizeAggregateFunction, normalizeBeforeRequest, normalizeBeforeSave, normalizeChartTypeForRequest, normalizeDashboardCardEntityValue, normalizeFilterOperation, normalizeFilters, normalizeOnLoad, parseAdvancedJson, persistedToUi, plottableGroups, presetsForCapability, readBoundValue, readByPath, resolveCapability, resolveDisplayFields, resolveEntityUserPhoto, resolveMapRegion, resolveStatisticIconPlacement, selectorFromLegacy, setByPath, sortChartData, sortDataTableView, styleToUi, switchAllKeysSmall, switchAllKeysToLower, titleToUi, toBackendChartType, toBackendSourceLink, toFormSourceLink, validate };
|
|
9461
|
+
export { ActionsSettings, ArrayBuilderField, BarChartHandler, BarControlUi, CHART_CAPABILITIES, CHART_TYPES, CONFIG_DOMAINS, CUSTOM_COLOR_OPTION, CardContentComponent, CardFilterComponent, CardInfoComponent, ChartCardComponent, ChartDataService, ChartFilterDrawer, ChartSettingsDrawer, ChartViewer, ColorListField, ComparisonChartHandler, DEFAULT_MAP_REGION_KEY, 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, MAP_DATA_ATTRIBUTION, MAP_FALLBACK_COLORS, MAP_MARKER_PATH, MAP_REGIONS, MODULE_CLASSIFICATION_LOG, MODULE_CLASSIFICATION_LOG_NAME, ManageBreadcrumb, ManageFilterOnPage, ManageItem, ManageItemService, ManagePages, MapChartHandler, MapViewComponent, 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, buildMapChartOption, 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, isLogClassification, isManagePagesDeleteResult, isMobilePlatform, isPlottable, labelLegendFormatToUi, layoutToUi, listBindings, listBindingsForChart, listControlSchemaIds, listControlSchemas, mergePropertyAppearance, moduleIdFromSelector, normalizeAggregateFunction, normalizeBeforeRequest, normalizeBeforeSave, normalizeChartTypeForRequest, normalizeDashboardCardEntityValue, normalizeFilterOperation, normalizeFilters, normalizeOnLoad, parseAdvancedJson, persistedToUi, plottableGroups, presetsForCapability, readBoundValue, readByPath, resolveCapability, resolveDisplayFields, resolveEntityUserPhoto, resolveMapRegion, resolveStatisticIconPlacement, selectorFromLegacy, setByPath, sortChartData, sortDataTableView, styleToUi, switchAllKeysSmall, switchAllKeysToLower, titleToUi, toBackendChartType, toBackendSourceLink, toFormSourceLink, validate };
|
|
9435
9462
|
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, GeoJsonCollection, 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, LocalizedLegendLabelChange, LocalizedName, ManageFilterOnPageResult, ManagePagesDeleteResult, MapFontOptions, MapLegendOptions, MapRegion, MapViewConfig, MapViewGroup, MapViewPoint, 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 };
|