@masterteam/dashboard-builder 0.0.73 → 0.0.74
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 +402 -398
- package/assets/i18n/ar.json +1598 -1598
- package/assets/i18n/en.json +1323 -1323
- package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-B3wTdiZC.mjs → masterteam-dashboard-builder-dashboard-dialog.component-CZH5MfEm.mjs} +2 -2
- package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-B3wTdiZC.mjs.map → masterteam-dashboard-builder-dashboard-dialog.component-CZH5MfEm.mjs.map} +1 -1
- package/fesm2022/{masterteam-dashboard-builder-masterteam-dashboard-builder-CZibyu48.mjs → masterteam-dashboard-builder-masterteam-dashboard-builder-Th2a3HZu.mjs} +230 -258
- package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-Th2a3HZu.mjs.map +1 -0
- package/fesm2022/masterteam-dashboard-builder.mjs +1 -1
- package/package.json +4 -4
- package/types/masterteam-dashboard-builder.d.ts +13 -10
- package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-CZibyu48.mjs.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { aB as ActionsSettings, aJ as ArrayBuilderField, K as BarChartHandler, au as BarControlUi, aX as CHART_CAPABILITIES, ax as CHART_TYPES, ba as CONFIG_DOMAINS, C as CardContentComponent, q as CardFilterComponent, t as CardInfoComponent, u as ChartCardComponent, J as ChartDataService, aN as ChartFilterDrawer, aq as ChartSettingsDrawer, aC as ChartViewer, aI as ColorListField, Z as ComparisonChartHandler, b as DashboardBuilder, aj as DashboardBuilderService, a as DashboardItem, D as DashboardItemStoreService, ah as DashboardList, ak as DashboardStoreService, d as DashboardViewer, aA as DataSourceSettings, aT as DatasourcePanelComponent, as as DefaultControlUi, ar as DisplaySettings, r as DynamicFiltersComponent, ap as DynamicFiltersConfig, E as EChartComponent, P as EntitiesPreviewCardComponent, w as EntityInfoComponent, y as EntityPreviewCardComponent, aS as FilterBuilderComponent, aV as FilterByGroupPipe, aR as FilterChipsBarComponent, R as GaugeChartHandler, az as GeneralSettings, aW as GetChartActionsPipe, aQ as GuidedConfigDialogComponent, ai as HTTPMethod, H as HeaderCardComponent, bU as ITEM_GUIDANCE_REGISTRY, aM as ItemCardMenuComponent, aP as ItemConfigPopoverComponent, aO as ItemContextToolbarComponent, bW as ItemGuidanceService, aK as KeyValueMapField, L as LastHistoryLevelCardComponent, aL as LegendOrderField, $ as LevelCardHandler, X as LineChartHandler, z as ListStatisticCardComponent, an as ManageBreadcrumb, ao as ManageFilterOnPage, aw as ManageItem, ay as ManageItemService, am as ManagePages, a0 as MapChartHandler, V as OverviewCardHandler, bd as POPOVER_TABS, be as POPOVER_TAB_SPECS, a3 as PhaseGateStepperHandler, M as PieChartHandler, at as PieControlUi, P as PropertiesCardComponent, a1 as RingGaugeChartHandler, a2 as SPlusChartHandler, bv as STYLE_PRESETS, aU as SchemaControlRendererComponent, aH as SegmentedField, A as SkeletonCardComponent, Y as SnapshotHandler, _ as SplitterChartHandler, N as StackBarChartHandler, av as StackBarControlUi, S as StaticFiltersComponent, G as StatisticCardComponent, aG as StyleField, aE as StyleSettingsRenderer, aD as StyleStudioDrawer, T as TableCardComponent, U as TableViewHandler, W as TimelineHandler, I as TopbarCardComponent, m as addCommasToNumber, br as applyBehaviorToPersisted, bG as applyControlPatchToPersisted, bH as applyControlPatchesToPersisted, bs as applyFilterChipsToPersisted, bp as applyLabelLegendFormatToPersisted, bn as applyLayoutToPersisted, bl as applyStyleToPersisted, bg as applyTitleToPersisted, O as axisFormatters, bq as behaviorToUi, bP as bindingKey, bu as buildAssembly, bO as buildDisplayFieldPredicate, c as cloneDeep, a9 as createAxisFormatter, aa as createTooltipFormatter, bh as datasourceToUi, bC as deepMerge, bV as describeGuidance, bb as domainsForCapability, h as dynamicReorder, f as dynamicTextReplace, aF as expandResetPatches, bi as fieldsToUi, bj as filtersToUi, bc as findDomain, bx as findPreset, bM as flattenSchema, ab as formatAxisLabel, a4 as formatCurrency, a8 as formatDate, bD as formatForEditor, a7 as formatNumber, a6 as formatPercentage, j as formatValue, ac as formatWordsUnderBar, ad as formatXAxis, i as generalConfiguration, bQ as getBinding, aY as getCapabilityById, p as getColorFromConditions, bI as getControlSchema, a5 as getCurrencySuffix, bL as getFallbackControlSchema, k as getLocalizedTitle, g as getNestedData, Q as groupDatesByYearAndMonth, bA as groupIssuesByDomain, af as handleFilterForCard, ag as handleFilterForSnapshot, ae as handleFiltersForCustom, bz as hasBlockingIssues, al as isManagePagesDeleteResult, o as isMobilePlatform, bo as labelLegendFormatToUi, bm as layoutToUi, bR as listBindings, bS as listBindingsForChart, bJ as listControlSchemaIds, bK as listControlSchemas, b4 as moduleIdFromSelector, b1 as normalizeAggregateFunction, b9 as normalizeBeforeRequest, b8 as normalizeBeforeSave, a$ as normalizeChartTypeForRequest, x as normalizeDashboardCardEntityValue, b0 as normalizeFilterOperation, b2 as normalizeFilters, b7 as normalizeOnLoad, bB as parseAdvancedJson, bt as persistedToUi, bw as presetsForCapability, bT as readBoundValue, bE as readByPath, aZ as resolveCapability, bN as resolveDisplayFields, v as resolveEntityUserPhoto, B as resolveStatisticIconPlacement, b3 as selectorFromLegacy, bF as setByPath, l as sortChartData, n as sortDataTableView, bk as styleToUi, e as switchAllKeysSmall, s as switchAllKeysToLower, bf as titleToUi, a_ as toBackendChartType, b5 as toBackendSourceLink, b6 as toFormSourceLink, by as validate } from './masterteam-dashboard-builder-masterteam-dashboard-builder-
|
|
1
|
+
export { aB as ActionsSettings, aJ as ArrayBuilderField, K as BarChartHandler, au as BarControlUi, aX as CHART_CAPABILITIES, ax as CHART_TYPES, ba as CONFIG_DOMAINS, C as CardContentComponent, q as CardFilterComponent, t as CardInfoComponent, u as ChartCardComponent, J as ChartDataService, aN as ChartFilterDrawer, aq as ChartSettingsDrawer, aC as ChartViewer, aI as ColorListField, Z as ComparisonChartHandler, b as DashboardBuilder, aj as DashboardBuilderService, a as DashboardItem, D as DashboardItemStoreService, ah as DashboardList, ak as DashboardStoreService, d as DashboardViewer, aA as DataSourceSettings, aT as DatasourcePanelComponent, as as DefaultControlUi, ar as DisplaySettings, r as DynamicFiltersComponent, ap as DynamicFiltersConfig, E as EChartComponent, P as EntitiesPreviewCardComponent, w as EntityInfoComponent, y as EntityPreviewCardComponent, aS as FilterBuilderComponent, aV as FilterByGroupPipe, aR as FilterChipsBarComponent, R as GaugeChartHandler, az as GeneralSettings, aW as GetChartActionsPipe, aQ as GuidedConfigDialogComponent, ai as HTTPMethod, H as HeaderCardComponent, bU as ITEM_GUIDANCE_REGISTRY, aM as ItemCardMenuComponent, aP as ItemConfigPopoverComponent, aO as ItemContextToolbarComponent, bW as ItemGuidanceService, aK as KeyValueMapField, L as LastHistoryLevelCardComponent, aL as LegendOrderField, $ as LevelCardHandler, X as LineChartHandler, z as ListStatisticCardComponent, an as ManageBreadcrumb, ao as ManageFilterOnPage, aw as ManageItem, ay as ManageItemService, am as ManagePages, a0 as MapChartHandler, V as OverviewCardHandler, bd as POPOVER_TABS, be as POPOVER_TAB_SPECS, a3 as PhaseGateStepperHandler, M as PieChartHandler, at as PieControlUi, P as PropertiesCardComponent, a1 as RingGaugeChartHandler, a2 as SPlusChartHandler, bv as STYLE_PRESETS, aU as SchemaControlRendererComponent, aH as SegmentedField, A as SkeletonCardComponent, Y as SnapshotHandler, _ as SplitterChartHandler, N as StackBarChartHandler, av as StackBarControlUi, S as StaticFiltersComponent, G as StatisticCardComponent, aG as StyleField, aE as StyleSettingsRenderer, aD as StyleStudioDrawer, T as TableCardComponent, U as TableViewHandler, W as TimelineHandler, I as TopbarCardComponent, m as addCommasToNumber, br as applyBehaviorToPersisted, bG as applyControlPatchToPersisted, bH as applyControlPatchesToPersisted, bs as applyFilterChipsToPersisted, bp as applyLabelLegendFormatToPersisted, bn as applyLayoutToPersisted, bl as applyStyleToPersisted, bg as applyTitleToPersisted, O as axisFormatters, bq as behaviorToUi, bP as bindingKey, bu as buildAssembly, bO as buildDisplayFieldPredicate, c as cloneDeep, a9 as createAxisFormatter, aa as createTooltipFormatter, bh as datasourceToUi, bC as deepMerge, bV as describeGuidance, bb as domainsForCapability, h as dynamicReorder, f as dynamicTextReplace, aF as expandResetPatches, bi as fieldsToUi, bj as filtersToUi, bc as findDomain, bx as findPreset, bM as flattenSchema, ab as formatAxisLabel, a4 as formatCurrency, a8 as formatDate, bD as formatForEditor, a7 as formatNumber, a6 as formatPercentage, j as formatValue, ac as formatWordsUnderBar, ad as formatXAxis, i as generalConfiguration, bQ as getBinding, aY as getCapabilityById, p as getColorFromConditions, bI as getControlSchema, a5 as getCurrencySuffix, bL as getFallbackControlSchema, k as getLocalizedTitle, g as getNestedData, Q as groupDatesByYearAndMonth, bA as groupIssuesByDomain, af as handleFilterForCard, ag as handleFilterForSnapshot, ae as handleFiltersForCustom, bz as hasBlockingIssues, al as isManagePagesDeleteResult, o as isMobilePlatform, bo as labelLegendFormatToUi, bm as layoutToUi, bR as listBindings, bS as listBindingsForChart, bJ as listControlSchemaIds, bK as listControlSchemas, b4 as moduleIdFromSelector, b1 as normalizeAggregateFunction, b9 as normalizeBeforeRequest, b8 as normalizeBeforeSave, a$ as normalizeChartTypeForRequest, x as normalizeDashboardCardEntityValue, b0 as normalizeFilterOperation, b2 as normalizeFilters, b7 as normalizeOnLoad, bB as parseAdvancedJson, bt as persistedToUi, bw as presetsForCapability, bT as readBoundValue, bE as readByPath, aZ as resolveCapability, bN as resolveDisplayFields, v as resolveEntityUserPhoto, B as resolveStatisticIconPlacement, b3 as selectorFromLegacy, bF as setByPath, l as sortChartData, n as sortDataTableView, bk as styleToUi, e as switchAllKeysSmall, s as switchAllKeysToLower, bf as titleToUi, a_ as toBackendChartType, b5 as toBackendSourceLink, b6 as toFormSourceLink, by as validate } from './masterteam-dashboard-builder-masterteam-dashboard-builder-Th2a3HZu.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.74",
|
|
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/formula-builder": "^0.0.29",
|
|
26
|
+
"@masterteam/formula-builder": "^0.0.27",
|
|
28
27
|
"@masterteam/icons": "^0.0.17",
|
|
29
|
-
"@masterteam/timeline": "^0.0.
|
|
28
|
+
"@masterteam/timeline": "^0.0.21",
|
|
29
|
+
"@masterteam/components": "^0.0.258"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"tslib": "^2.8.1",
|
|
@@ -2885,11 +2885,12 @@ declare class DashboardViewer implements OnInit, OnDestroy {
|
|
|
2885
2885
|
ngOnDestroy(): void;
|
|
2886
2886
|
private setupSubscriptions;
|
|
2887
2887
|
/**
|
|
2888
|
-
* Apply page-filter selections
|
|
2889
|
-
* the
|
|
2890
|
-
*
|
|
2891
|
-
*
|
|
2892
|
-
*
|
|
2888
|
+
* Apply page-filter selections to the runtime store immediately, then mirror
|
|
2889
|
+
* them onto the URL. Waiting for the router emission made Apply update the
|
|
2890
|
+
* address bar without reliably refreshing mounted items in routed hosts.
|
|
2891
|
+
* Mounted DashboardItem instances react to the resulting queryParams input.
|
|
2892
|
+
* The route subscription remains responsible for browser navigation and
|
|
2893
|
+
* externally-authored query-param changes.
|
|
2893
2894
|
*/
|
|
2894
2895
|
onPageFilterChange(values: Record<string, any>): void;
|
|
2895
2896
|
toggleFiltersPanel(): void;
|
|
@@ -2982,7 +2983,6 @@ declare class DashboardViewer implements OnInit, OnDestroy {
|
|
|
2982
2983
|
*/
|
|
2983
2984
|
trackByDashboardId(_index: number, item: DashboardChartItem): string;
|
|
2984
2985
|
private refreshAllItems;
|
|
2985
|
-
private refreshItemsForQueryParamChanges;
|
|
2986
2986
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DashboardViewer, never>;
|
|
2987
2987
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DashboardViewer, "mt-dashboard-viewer", never, { "isPage": { "alias": "isPage"; "required": false; "isSignal": true; }; "pageTitle": { "alias": "pageTitle"; "required": false; "isSignal": true; }; "backButton": { "alias": "backButton"; "required": false; "isSignal": true; }; "pageId": { "alias": "pageId"; "required": false; "isSignal": true; }; "dashboardData": { "alias": "dashboardData"; "required": false; "isSignal": true; }; "chartsData": { "alias": "chartsData"; "required": false; "isSignal": true; }; "dialogsData": { "alias": "dialogsData"; "required": false; "isSignal": true; }; "filtersData": { "alias": "filtersData"; "required": false; "isSignal": true; }; "extraFilters": { "alias": "extraFilters"; "required": false; "isSignal": true; }; "lookups": { "alias": "lookups"; "required": false; "isSignal": true; }; "statuses": { "alias": "statuses"; "required": false; "isSignal": true; }; "showFilters": { "alias": "showFilters"; "required": false; "isSignal": true; }; "showFilterTrigger": { "alias": "showFilterTrigger"; "required": false; "isSignal": true; }; "ignoreQueryFilter": { "alias": "ignoreQueryFilter"; "required": false; "isSignal": true; }; }, { "pageLoaded": "pageLoaded"; "onBack": "onBack"; "chartClick": "chartClick"; }, never, never, true, never>;
|
|
2988
2988
|
}
|
|
@@ -3391,8 +3391,11 @@ declare class DashboardItem implements OnInit, OnDestroy {
|
|
|
3391
3391
|
private currentDashboardId;
|
|
3392
3392
|
/** Last parent config reference, including same-item immutable updates. */
|
|
3393
3393
|
private currentInputConfig;
|
|
3394
|
+
/** Last page-query state already reflected by this mounted item. */
|
|
3395
|
+
private pageQueryFilterSignature;
|
|
3394
3396
|
constructor();
|
|
3395
3397
|
ngOnInit(): void;
|
|
3398
|
+
private getPageQueryFilterSignature;
|
|
3396
3399
|
/**
|
|
3397
3400
|
* Setup subscriptions and fetch data for a specific dashboardId
|
|
3398
3401
|
*/
|
|
@@ -3815,7 +3818,7 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
|
|
|
3815
3818
|
readonly timelineResources: _angular_core.Signal<any[]>;
|
|
3816
3819
|
readonly timelineLabels: _angular_core.Signal<any[]>;
|
|
3817
3820
|
readonly timelineLegendIconType: _angular_core.Signal<string>;
|
|
3818
|
-
readonly timelineLegendPosition: _angular_core.Signal<"
|
|
3821
|
+
readonly timelineLegendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
|
|
3819
3822
|
/** Timeline legend visibility — honors the Style Studio "Show legend" toggle. */
|
|
3820
3823
|
readonly timelineLegendShow: _angular_core.Signal<boolean>;
|
|
3821
3824
|
readonly timelineHeaderBgColor: _angular_core.Signal<string | null>;
|
|
@@ -3943,7 +3946,7 @@ declare class EChartComponent implements OnInit, AfterViewInit, OnChanges, OnDes
|
|
|
3943
3946
|
readonly showCustomLegend: _angular_core.Signal<boolean>;
|
|
3944
3947
|
readonly customLegendIconIsRect: _angular_core.Signal<boolean>;
|
|
3945
3948
|
/** Custom HTML legend placement from the configured legend position. */
|
|
3946
|
-
readonly customLegendPosition: _angular_core.Signal<"
|
|
3949
|
+
readonly customLegendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
|
|
3947
3950
|
constructor();
|
|
3948
3951
|
ngOnInit(): Promise<void>;
|
|
3949
3952
|
ngAfterViewInit(): void;
|
|
@@ -4612,7 +4615,7 @@ declare class TableCardComponent implements OnInit, OnDestroy {
|
|
|
4612
4615
|
* two never disagree about visibility.
|
|
4613
4616
|
*/
|
|
4614
4617
|
readonly hasLegend: _angular_core.Signal<boolean>;
|
|
4615
|
-
readonly legendPosition: _angular_core.Signal<"
|
|
4618
|
+
readonly legendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
|
|
4616
4619
|
readonly legendIconType: _angular_core.Signal<string>;
|
|
4617
4620
|
readonly isSideLegend: _angular_core.Signal<boolean>;
|
|
4618
4621
|
/** Processed table rows */
|
|
@@ -4803,7 +4806,7 @@ declare class TopbarCardComponent implements OnInit, OnDestroy {
|
|
|
4803
4806
|
readonly iconColor: _angular_core.Signal<any>;
|
|
4804
4807
|
readonly iconBackgroundColor: _angular_core.Signal<any>;
|
|
4805
4808
|
readonly borderColor: _angular_core.Signal<any>;
|
|
4806
|
-
readonly borderWidth: _angular_core.Signal<
|
|
4809
|
+
readonly borderWidth: _angular_core.Signal<0 | 1>;
|
|
4807
4810
|
readonly padding: _angular_core.Signal<number>;
|
|
4808
4811
|
readonly titleFontSize: _angular_core.Signal<number>;
|
|
4809
4812
|
readonly subtitleFontSize: _angular_core.Signal<number>;
|