@masterteam/dashboard-builder 0.0.62 → 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 +5 -5
- package/types/masterteam-dashboard-builder.d.ts +23 -5
- 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,
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"quill": "^2.0.3",
|
|
24
24
|
"rxjs": "^7.8.2",
|
|
25
25
|
"tailwindcss": "^4.2.2",
|
|
26
|
-
"@masterteam/
|
|
27
|
-
"@masterteam/
|
|
28
|
-
"@masterteam/
|
|
29
|
-
"@masterteam/
|
|
26
|
+
"@masterteam/components": "^0.0.230",
|
|
27
|
+
"@masterteam/icons": "^0.0.17",
|
|
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 */
|
|
@@ -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
|
|
@@ -4608,7 +4620,7 @@ declare class TopbarCardComponent implements OnInit, OnDestroy {
|
|
|
4608
4620
|
readonly iconColor: _angular_core.Signal<any>;
|
|
4609
4621
|
readonly iconBackgroundColor: _angular_core.Signal<any>;
|
|
4610
4622
|
readonly borderColor: _angular_core.Signal<any>;
|
|
4611
|
-
readonly borderWidth: _angular_core.Signal<
|
|
4623
|
+
readonly borderWidth: _angular_core.Signal<0 | 1>;
|
|
4612
4624
|
readonly padding: _angular_core.Signal<number>;
|
|
4613
4625
|
readonly titleFontSize: _angular_core.Signal<number>;
|
|
4614
4626
|
readonly subtitleFontSize: _angular_core.Signal<number>;
|
|
@@ -7758,7 +7770,7 @@ 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).
|
|
@@ -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;
|
|
@@ -8581,12 +8599,12 @@ interface MapRow {
|
|
|
8581
8599
|
* boolean). Controlled: `value` in, `valueChange` out.
|
|
8582
8600
|
*/
|
|
8583
8601
|
declare class KeyValueMapField {
|
|
8584
|
-
readonly value: _angular_core.InputSignal<
|
|
8602
|
+
readonly value: _angular_core.InputSignal<Record<string, unknown> | unknown[] | null>;
|
|
8585
8603
|
readonly keys: _angular_core.InputSignal<ControlOption[]>;
|
|
8586
8604
|
readonly valueFields: _angular_core.InputSignal<ControlField[]>;
|
|
8587
8605
|
/** When true, store/read a positional array aligned to `keys` order. */
|
|
8588
8606
|
readonly asArray: _angular_core.InputSignal<boolean>;
|
|
8589
|
-
readonly valueChange: _angular_core.OutputEmitterRef<
|
|
8607
|
+
readonly valueChange: _angular_core.OutputEmitterRef<Record<string, unknown> | unknown[]>;
|
|
8590
8608
|
readonly rows: _angular_core.WritableSignal<MapRow[]>;
|
|
8591
8609
|
private readonly destroyRef;
|
|
8592
8610
|
/** Subscriptions for the current row set; torn down on every rebuild. */
|