@masterteam/dashboard-builder 0.0.63 → 0.0.64
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 +8 -8
- package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-BwJlS13Q.mjs → masterteam-dashboard-builder-dashboard-dialog.component-CuOSogTi.mjs} +2 -2
- package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-BwJlS13Q.mjs.map → masterteam-dashboard-builder-dashboard-dialog.component-CuOSogTi.mjs.map} +1 -1
- package/fesm2022/{masterteam-dashboard-builder-masterteam-dashboard-builder-BoSluyWN.mjs → masterteam-dashboard-builder-masterteam-dashboard-builder-DX6oucEs.mjs} +93 -4
- package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-DX6oucEs.mjs.map +1 -0
- package/fesm2022/masterteam-dashboard-builder.mjs +1 -1
- package/package.json +3 -3
- package/types/masterteam-dashboard-builder.d.ts +22 -4
- package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-BoSluyWN.mjs.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { az as ActionsSettings, aH as ArrayBuilderField, I as BarChartHandler, as as BarControlUi, aV as CHART_CAPABILITIES, av as CHART_TYPES, b8 as CONFIG_DOMAINS, C as CardContentComponent, q as CardFilterComponent, t as CardInfoComponent, u as ChartCardComponent, G as ChartDataService, aL as ChartFilterDrawer, ao as ChartSettingsDrawer, aA as ChartViewer, aG as ColorListField, X as ComparisonChartHandler, b as DashboardBuilder, ah as DashboardBuilderService, a as DashboardItem, D as DashboardItemStoreService, af as DashboardList, ai as DashboardStoreService, d as DashboardViewer, ay as DataSourceSettings, aR as DatasourcePanelComponent, aq as DefaultControlUi, ap as DisplaySettings, r as DynamicFiltersComponent, an as DynamicFiltersConfig, E as EChartComponent, P as EntitiesPreviewCardComponent, v as EntityInfoComponent, x as EntityPreviewCardComponent, aQ as FilterBuilderComponent, aT as FilterByGroupPipe, aP as FilterChipsBarComponent, O as GaugeChartHandler, ax as GeneralSettings, aU as GetChartActionsPipe, aO as GuidedConfigDialogComponent, ag as HTTPMethod, H as HeaderCardComponent, bS as ITEM_GUIDANCE_REGISTRY, aK as ItemCardMenuComponent, aN as ItemConfigPopoverComponent, aM as ItemContextToolbarComponent, bU as ItemGuidanceService, aI as KeyValueMapField, L as LastHistoryLevelCardComponent, aJ as LegendOrderField, Z as LevelCardHandler, V as LineChartHandler, y as ListStatisticCardComponent, al as ManageBreadcrumb, am as ManageFilterOnPage, au as ManageItem, aw as ManageItemService, ak as ManagePages, _ as MapChartHandler, R as OverviewCardHandler, bb as POPOVER_TABS, bc as POPOVER_TAB_SPECS, a1 as PhaseGateStepperHandler, J as PieChartHandler, ar as PieControlUi, P as PropertiesCardComponent, $ as RingGaugeChartHandler, a0 as SPlusChartHandler, bt as STYLE_PRESETS, aS as SchemaControlRendererComponent, aF as SegmentedField, z as SkeletonCardComponent, W as SnapshotHandler, Y as SplitterChartHandler, K as StackBarChartHandler, at as StackBarControlUi, S as StaticFiltersComponent, A as StatisticCardComponent, aE as StyleField, aC as StyleSettingsRenderer, aB as StyleStudioDrawer, T as TableCardComponent, Q as TableViewHandler, U as TimelineHandler, B as TopbarCardComponent, m as addCommasToNumber, bp as applyBehaviorToPersisted, bE as applyControlPatchToPersisted, bF as applyControlPatchesToPersisted, bq as applyFilterChipsToPersisted, bn as applyLabelLegendFormatToPersisted, bl as applyLayoutToPersisted, bj as applyStyleToPersisted, be as applyTitleToPersisted, M as axisFormatters, bo as behaviorToUi, bN as bindingKey, bs as buildAssembly, bM as buildDisplayFieldPredicate, c as cloneDeep, a7 as createAxisFormatter, a8 as createTooltipFormatter, bf as datasourceToUi, bA as deepMerge, bT as describeGuidance, b9 as domainsForCapability, h as dynamicReorder, f as dynamicTextReplace, aD as expandResetPatches, bg as fieldsToUi, bh as filtersToUi, ba as findDomain, bv as findPreset, bK as flattenSchema, a9 as formatAxisLabel, a2 as formatCurrency, a6 as formatDate, bB as formatForEditor, a5 as formatNumber, a4 as formatPercentage, j as formatValue, aa as formatWordsUnderBar, ab as formatXAxis, i as generalConfiguration, bO as getBinding, aW as getCapabilityById, p as getColorFromConditions, bG as getControlSchema, a3 as getCurrencySuffix, bJ as getFallbackControlSchema, k as getLocalizedTitle, g as getNestedData, N as groupDatesByYearAndMonth, by as groupIssuesByDomain, ad as handleFilterForCard, ae as handleFilterForSnapshot, ac as handleFiltersForCustom, bx as hasBlockingIssues, aj as isManagePagesDeleteResult, o as isMobilePlatform, bm as labelLegendFormatToUi, bk as layoutToUi, bP as listBindings, bQ as listBindingsForChart, bH as listControlSchemaIds, bI as listControlSchemas, b2 as moduleIdFromSelector, a$ as normalizeAggregateFunction, b7 as normalizeBeforeRequest, b6 as normalizeBeforeSave, aZ as normalizeChartTypeForRequest, w as normalizeDashboardCardEntityValue, a_ as normalizeFilterOperation, b0 as normalizeFilters, b5 as normalizeOnLoad, bz as parseAdvancedJson, br as persistedToUi, bu as presetsForCapability, bR as readBoundValue, bC as readByPath, aX as resolveCapability, bL as resolveDisplayFields, b1 as selectorFromLegacy, bD as setByPath, l as sortChartData, n as sortDataTableView, bi as styleToUi, e as switchAllKeysSmall, s as switchAllKeysToLower, bd as titleToUi, aY as toBackendChartType, b3 as toBackendSourceLink, b4 as toFormSourceLink, bw as validate } from './masterteam-dashboard-builder-masterteam-dashboard-builder-
|
|
1
|
+
export { az as ActionsSettings, aH as ArrayBuilderField, I as BarChartHandler, as as BarControlUi, aV as CHART_CAPABILITIES, av as CHART_TYPES, b8 as CONFIG_DOMAINS, C as CardContentComponent, q as CardFilterComponent, t as CardInfoComponent, u as ChartCardComponent, G as ChartDataService, aL as ChartFilterDrawer, ao as ChartSettingsDrawer, aA as ChartViewer, aG as ColorListField, X as ComparisonChartHandler, b as DashboardBuilder, ah as DashboardBuilderService, a as DashboardItem, D as DashboardItemStoreService, af as DashboardList, ai as DashboardStoreService, d as DashboardViewer, ay as DataSourceSettings, aR as DatasourcePanelComponent, aq as DefaultControlUi, ap as DisplaySettings, r as DynamicFiltersComponent, an as DynamicFiltersConfig, E as EChartComponent, P as EntitiesPreviewCardComponent, v as EntityInfoComponent, x as EntityPreviewCardComponent, aQ as FilterBuilderComponent, aT as FilterByGroupPipe, aP as FilterChipsBarComponent, O as GaugeChartHandler, ax as GeneralSettings, aU as GetChartActionsPipe, aO as GuidedConfigDialogComponent, ag as HTTPMethod, H as HeaderCardComponent, bS as ITEM_GUIDANCE_REGISTRY, aK as ItemCardMenuComponent, aN as ItemConfigPopoverComponent, aM as ItemContextToolbarComponent, bU as ItemGuidanceService, aI as KeyValueMapField, L as LastHistoryLevelCardComponent, aJ as LegendOrderField, Z as LevelCardHandler, V as LineChartHandler, y as ListStatisticCardComponent, al as ManageBreadcrumb, am as ManageFilterOnPage, au as ManageItem, aw as ManageItemService, ak as ManagePages, _ as MapChartHandler, R as OverviewCardHandler, bb as POPOVER_TABS, bc as POPOVER_TAB_SPECS, a1 as PhaseGateStepperHandler, J as PieChartHandler, ar as PieControlUi, P as PropertiesCardComponent, $ as RingGaugeChartHandler, a0 as SPlusChartHandler, bt as STYLE_PRESETS, aS as SchemaControlRendererComponent, aF as SegmentedField, z as SkeletonCardComponent, W as SnapshotHandler, Y as SplitterChartHandler, K as StackBarChartHandler, at as StackBarControlUi, S as StaticFiltersComponent, A as StatisticCardComponent, aE as StyleField, aC as StyleSettingsRenderer, aB as StyleStudioDrawer, T as TableCardComponent, Q as TableViewHandler, U as TimelineHandler, B as TopbarCardComponent, m as addCommasToNumber, bp as applyBehaviorToPersisted, bE as applyControlPatchToPersisted, bF as applyControlPatchesToPersisted, bq as applyFilterChipsToPersisted, bn as applyLabelLegendFormatToPersisted, bl as applyLayoutToPersisted, bj as applyStyleToPersisted, be as applyTitleToPersisted, M as axisFormatters, bo as behaviorToUi, bN as bindingKey, bs as buildAssembly, bM as buildDisplayFieldPredicate, c as cloneDeep, a7 as createAxisFormatter, a8 as createTooltipFormatter, bf as datasourceToUi, bA as deepMerge, bT as describeGuidance, b9 as domainsForCapability, h as dynamicReorder, f as dynamicTextReplace, aD as expandResetPatches, bg as fieldsToUi, bh as filtersToUi, ba as findDomain, bv as findPreset, bK as flattenSchema, a9 as formatAxisLabel, a2 as formatCurrency, a6 as formatDate, bB as formatForEditor, a5 as formatNumber, a4 as formatPercentage, j as formatValue, aa as formatWordsUnderBar, ab as formatXAxis, i as generalConfiguration, bO as getBinding, aW as getCapabilityById, p as getColorFromConditions, bG as getControlSchema, a3 as getCurrencySuffix, bJ as getFallbackControlSchema, k as getLocalizedTitle, g as getNestedData, N as groupDatesByYearAndMonth, by as groupIssuesByDomain, ad as handleFilterForCard, ae as handleFilterForSnapshot, ac as handleFiltersForCustom, bx as hasBlockingIssues, aj as isManagePagesDeleteResult, o as isMobilePlatform, bm as labelLegendFormatToUi, bk as layoutToUi, bP as listBindings, bQ as listBindingsForChart, bH as listControlSchemaIds, bI as listControlSchemas, b2 as moduleIdFromSelector, a$ as normalizeAggregateFunction, b7 as normalizeBeforeRequest, b6 as normalizeBeforeSave, aZ as normalizeChartTypeForRequest, w as normalizeDashboardCardEntityValue, a_ as normalizeFilterOperation, b0 as normalizeFilters, b5 as normalizeOnLoad, bz as parseAdvancedJson, br as persistedToUi, bu as presetsForCapability, bR as readBoundValue, bC as readByPath, aX as resolveCapability, bL as resolveDisplayFields, b1 as selectorFromLegacy, bD as setByPath, l as sortChartData, n as sortDataTableView, bi as styleToUi, e as switchAllKeysSmall, s as switchAllKeysToLower, bd as titleToUi, aY as toBackendChartType, b3 as toBackendSourceLink, b4 as toFormSourceLink, bw as validate } from './masterteam-dashboard-builder-masterteam-dashboard-builder-DX6oucEs.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.64",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"directory": "../../../dist/masterteam/dashboard-builder",
|
|
6
6
|
"linkDirectory": true,
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"rxjs": "^7.8.2",
|
|
25
25
|
"tailwindcss": "^4.2.2",
|
|
26
26
|
"@masterteam/components": "^0.0.230",
|
|
27
|
-
"@masterteam/timeline": "^0.0.19",
|
|
28
27
|
"@masterteam/icons": "^0.0.17",
|
|
29
|
-
"@masterteam/formula-builder": "^0.0.27"
|
|
28
|
+
"@masterteam/formula-builder": "^0.0.27",
|
|
29
|
+
"@masterteam/timeline": "^0.0.19"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"tslib": "^2.8.1",
|
|
@@ -3415,7 +3415,7 @@ declare class CardFilterComponent implements OnInit {
|
|
|
3415
3415
|
/** Language code */
|
|
3416
3416
|
readonly langCode: _angular_core.Signal<string>;
|
|
3417
3417
|
/** Filter type */
|
|
3418
|
-
readonly filterType: _angular_core.Signal<"
|
|
3418
|
+
readonly filterType: _angular_core.Signal<"text" | "select" | "multiselect" | "date" | "multiSelect" | "daterange">;
|
|
3419
3419
|
/** Filter options */
|
|
3420
3420
|
readonly options: _angular_core.Signal<_masterteam_dashboard_builder.FilterOption[]>;
|
|
3421
3421
|
/** Placeholder text */
|
|
@@ -3778,7 +3778,7 @@ declare class EChartComponent implements OnInit, AfterViewInit, OnChanges, OnDes
|
|
|
3778
3778
|
readonly showCustomLegend: _angular_core.Signal<boolean>;
|
|
3779
3779
|
readonly customLegendIconIsRect: _angular_core.Signal<boolean>;
|
|
3780
3780
|
/** Custom HTML legend placement from the configured legend position. */
|
|
3781
|
-
readonly customLegendPosition: _angular_core.Signal<"
|
|
3781
|
+
readonly customLegendPosition: _angular_core.Signal<"top" | "right" | "bottom" | "left">;
|
|
3782
3782
|
constructor();
|
|
3783
3783
|
ngOnInit(): Promise<void>;
|
|
3784
3784
|
ngAfterViewInit(): void;
|
|
@@ -4445,6 +4445,18 @@ declare class TableCardComponent implements OnInit, OnDestroy {
|
|
|
4445
4445
|
readonly title: _angular_core.Signal<string>;
|
|
4446
4446
|
/** Table style config */
|
|
4447
4447
|
readonly tableStyleConfig: _angular_core.Signal<TableStyleConfig | null>;
|
|
4448
|
+
/** Last applied `column|direction` signature, to ignore unrelated edits. */
|
|
4449
|
+
private lastSortSig;
|
|
4450
|
+
/**
|
|
4451
|
+
* Re-apply the configured sort live whenever `tableFormat.sortConfig`
|
|
4452
|
+
* changes. buildTable() only sorts on data load, so edits to the sort
|
|
4453
|
+
* column/direction in the settings drawer would otherwise not reflect in the
|
|
4454
|
+
* preview until the next data refresh. Reads/writes of rows + columns run
|
|
4455
|
+
* untracked so this never loops, and a signature guard skips unrelated config
|
|
4456
|
+
* edits (colors, labels) plus manual header sorts, which don't touch the
|
|
4457
|
+
* persisted sort config.
|
|
4458
|
+
*/
|
|
4459
|
+
private readonly _sortConfigSync;
|
|
4448
4460
|
/**
|
|
4449
4461
|
* Hide the table's column-header (subheader) row.
|
|
4450
4462
|
* Reads `clientConfig.tableFormat.hideTableSubheader`. Gated: defaults to
|
|
@@ -7758,12 +7770,12 @@ declare class DataSourceSettings {
|
|
|
7758
7770
|
* tabs: build a selection-based query OR fetch from a custom API endpoint.
|
|
7759
7771
|
* Picking one hides the other.
|
|
7760
7772
|
*/
|
|
7761
|
-
readonly dataSourceMode: _angular_core.WritableSignal<"
|
|
7773
|
+
readonly dataSourceMode: _angular_core.WritableSignal<"customApi" | "selection">;
|
|
7762
7774
|
/**
|
|
7763
7775
|
* Active tab within the selection cycle: Selection (pick modules) · Source
|
|
7764
7776
|
* Links (joins, only with >1 selection) · Query (fields).
|
|
7765
7777
|
*/
|
|
7766
|
-
readonly activeSection: _angular_core.WritableSignal<"
|
|
7778
|
+
readonly activeSection: _angular_core.WritableSignal<"selection" | "query" | "sourceLinks">;
|
|
7767
7779
|
/** Selection mode inside the selection tab (informative authoring). */
|
|
7768
7780
|
readonly selectionMode: _angular_core.WritableSignal<"advanced" | "context">;
|
|
7769
7781
|
readonly contextTargetSelector: _angular_core.WritableSignal<string | null>;
|
|
@@ -8468,6 +8480,12 @@ declare class StyleField {
|
|
|
8468
8480
|
readLegendColorOverrides(): Record<string, unknown>;
|
|
8469
8481
|
readJson(): string;
|
|
8470
8482
|
emitValue(value: unknown): void;
|
|
8483
|
+
/**
|
|
8484
|
+
* When the top border is switched on and no top-border color is stored yet,
|
|
8485
|
+
* emit one derived from the current "Border color" value (or the schema
|
|
8486
|
+
* default) so the border color matches what the picker displays.
|
|
8487
|
+
*/
|
|
8488
|
+
private seedTopBorderColor;
|
|
8471
8489
|
onLegendColorChange(change: LegendColorChange): void;
|
|
8472
8490
|
onJsonInput(raw: string): void;
|
|
8473
8491
|
private emitScalar;
|