@masterteam/dashboard-builder 0.0.102 → 0.0.104
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 +11 -3
- package/assets/i18n/ar.json +1 -0
- package/assets/i18n/en.json +1 -0
- package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-Cb6kF8k7.mjs → masterteam-dashboard-builder-dashboard-dialog.component-C3X9UhZk.mjs} +2 -2
- package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-Cb6kF8k7.mjs.map → masterteam-dashboard-builder-dashboard-dialog.component-C3X9UhZk.mjs.map} +1 -1
- package/fesm2022/{masterteam-dashboard-builder-masterteam-dashboard-builder-DfAo6fUq.mjs → masterteam-dashboard-builder-masterteam-dashboard-builder-CodhML2K.mjs} +86 -24
- package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-CodhML2K.mjs.map +1 -0
- package/fesm2022/masterteam-dashboard-builder.mjs +1 -1
- package/package.json +2 -2
- package/types/masterteam-dashboard-builder.d.ts +20 -1
- package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-DfAo6fUq.mjs.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { aU as ActionsSettings, b0 as ArrayBuilderField, a2 as BarChartHandler, aN as BarControlUi, be as CHART_CAPABILITIES, aQ as CHART_TYPES, bt as CONFIG_DOMAINS, bX as CUSTOM_COLOR_OPTION, C as CardContentComponent, t as CardFilterComponent, v as CardInfoComponent, w as ChartCardComponent, _ as ChartDataService, b4 as ChartFilterDrawer, aJ as ChartSettingsDrawer, aV as ChartViewer, a$ as ColorListField, ad as ComparisonChartHandler, a1 as DASHBOARD_ITEM_VISIBILITY, Q as DEFAULT_MAP_REGION_KEY, d as DashboardBuilder, aC as DashboardBuilderService, a as DashboardItem, D as DashboardItemStoreService, ax as DashboardList, aD as DashboardStoreService, e as DashboardViewer, aT as DataSourceSettings, ba as DatasourcePanelComponent, aL as DefaultControlUi, aK as DisplaySettings, u as DynamicFiltersComponent, aI as DynamicFiltersConfig, E as EChartComponent, P as EntitiesPreviewCardComponent, y as EntityInfoComponent, B as EntityPreviewCardComponent, b9 as FilterBuilderComponent, bc as FilterByGroupPipe, b8 as FilterChipsBarComponent, a7 as GaugeChartHandler, aS as GeneralSettings, bd as GetChartActionsPipe, b7 as GuidedConfigDialogComponent, aB as HTTPMethod, H as HeaderCardComponent, cc as ITEM_GUIDANCE_REGISTRY, b3 as ItemCardMenuComponent, b6 as ItemConfigPopoverComponent, b5 as ItemContextToolbarComponent, ce as ItemGuidanceService, b1 as KeyValueMapField, L as LastHistoryLevelCardComponent, b2 as LegendOrderField, af as LevelCardHandler, ab as LineChartHandler, G as ListStatisticCardComponent, R as MAP_DATA_ATTRIBUTION, I as MAP_FALLBACK_COLORS, M as MAP_MARKER_PATH, O as MAP_REGIONS, ay as MODULE_CLASSIFICATION_LOG, az as MODULE_CLASSIFICATION_LOG_NAME, aG as ManageBreadcrumb, aH as ManageFilterOnPage, aP as ManageItem, aR as ManageItemService, aF as ManagePages, ag as MapChartHandler, U as MapViewComponent, a9 as OverviewCardHandler, bw as POPOVER_TABS, bx as POPOVER_TAB_SPECS, aj as PhaseGateStepperHandler, a3 as PieChartHandler, aM as PieControlUi, P as PropertiesCardComponent, ah as RingGaugeChartHandler, ai as SPlusChartHandler, bO as STYLE_PRESETS, bb as SchemaControlRendererComponent, a_ as SegmentedField, V as SkeletonCardComponent, ac as SnapshotHandler, ae as SplitterChartHandler, a4 as StackBarChartHandler, aO as StackBarControlUi, S as StaticFiltersComponent, X as StatisticCardComponent, aZ as StyleField, aX as StyleSettingsRenderer, aW as StyleStudioDrawer, Y as TableCardComponent, a8 as TableViewHandler, aa as TimelineHandler, Z as TopbarCardComponent, n as addCommasToNumber, bK as applyBehaviorToPersisted, b_ as applyControlPatchToPersisted, b$ as applyControlPatchesToPersisted, bL as applyFilterChipsToPersisted, bI as applyLabelLegendFormatToPersisted, bG as applyLayoutToPersisted, bE as applyStyleToPersisted, bz as applyTitleToPersisted, a5 as axisFormatters, bJ as behaviorToUi, c7 as bindingKey, bN as buildAssembly, c6 as buildDisplayFieldPredicate, N as buildMapChartOption, c as cloneDeep, ap as createAxisFormatter, aq as createTooltipFormatter, bA as datasourceToUi, bV as deepMerge, cd as describeGuidance, bu as domainsForCapability, i as dynamicReorder, h as dynamicTextReplace, aY as expandResetPatches, bB as fieldsToUi, bC as filtersToUi, bv as findDomain, bQ as findPreset, c4 as flattenSchema, ar as formatAxisLabel, ak as formatCurrency, ao as formatDate, bW as formatForEditor, an as formatNumber, am as formatPercentage, k as formatValue, as as formatWordsUnderBar, at as formatXAxis, j as generalConfiguration, c8 as getBinding, bf as getCapabilityById, q as getColorFromConditions, c0 as getControlSchema, al as getCurrencySuffix, c3 as getFallbackControlSchema, l as getLocalizedTitle, g as getNestedData, a6 as groupDatesByYearAndMonth, bT as groupIssuesByDomain, av as handleFilterForCard, aw as handleFilterForSnapshot, au as handleFiltersForCustom, bS as hasBlockingIssues, aA as isLogClassification, aE as isManagePagesDeleteResult, p as isMobilePlatform, J as isPlottable, bH as labelLegendFormatToUi, bF as layoutToUi, c9 as listBindings, ca as listBindingsForChart, c1 as listControlSchemaIds, c2 as listControlSchemas, a0 as loadImmediately, A as mergePropertyAppearance, bn as moduleIdFromSelector, bk as normalizeAggregateFunction, bs as normalizeBeforeRequest, br as normalizeBeforeSave, bi as normalizeChartTypeForRequest, z as normalizeDashboardCardEntityValue, bj as normalizeFilterOperation, bl as normalizeFilters, bq as normalizeOnLoad, $ as observeNearViewport, bU as parseAdvancedJson, bM as persistedToUi, K as plottableGroups, bP as presetsForCapability, cb as readBoundValue, bY as readByPath, bg as resolveCapability, c5 as resolveDisplayFields, x as resolveEntityUserPhoto, T as resolveMapRegion, W as resolveStatisticIconPlacement, bm as selectorFromLegacy, bZ as setByPath, m as sortChartData, o as sortDataTableView, bD as styleToUi, f as switchAllKeysSmall, s as switchAllKeysToLower, by as titleToUi, bh as toBackendChartType, bo as toBackendSourceLink, bp as toFormSourceLink, bR as validate } from './masterteam-dashboard-builder-masterteam-dashboard-builder-
|
|
1
|
+
export { aU as ActionsSettings, b0 as ArrayBuilderField, a2 as BarChartHandler, aN as BarControlUi, be as CHART_CAPABILITIES, aQ as CHART_TYPES, bt as CONFIG_DOMAINS, bX as CUSTOM_COLOR_OPTION, C as CardContentComponent, t as CardFilterComponent, v as CardInfoComponent, w as ChartCardComponent, _ as ChartDataService, b4 as ChartFilterDrawer, aJ as ChartSettingsDrawer, aV as ChartViewer, a$ as ColorListField, ad as ComparisonChartHandler, a1 as DASHBOARD_ITEM_VISIBILITY, Q as DEFAULT_MAP_REGION_KEY, d as DashboardBuilder, aC as DashboardBuilderService, a as DashboardItem, D as DashboardItemStoreService, ax as DashboardList, aD as DashboardStoreService, e as DashboardViewer, aT as DataSourceSettings, ba as DatasourcePanelComponent, aL as DefaultControlUi, aK as DisplaySettings, u as DynamicFiltersComponent, aI as DynamicFiltersConfig, E as EChartComponent, P as EntitiesPreviewCardComponent, y as EntityInfoComponent, B as EntityPreviewCardComponent, b9 as FilterBuilderComponent, bc as FilterByGroupPipe, b8 as FilterChipsBarComponent, a7 as GaugeChartHandler, aS as GeneralSettings, bd as GetChartActionsPipe, b7 as GuidedConfigDialogComponent, aB as HTTPMethod, H as HeaderCardComponent, cc as ITEM_GUIDANCE_REGISTRY, b3 as ItemCardMenuComponent, b6 as ItemConfigPopoverComponent, b5 as ItemContextToolbarComponent, ce as ItemGuidanceService, b1 as KeyValueMapField, L as LastHistoryLevelCardComponent, b2 as LegendOrderField, af as LevelCardHandler, ab as LineChartHandler, G as ListStatisticCardComponent, R as MAP_DATA_ATTRIBUTION, I as MAP_FALLBACK_COLORS, M as MAP_MARKER_PATH, O as MAP_REGIONS, ay as MODULE_CLASSIFICATION_LOG, az as MODULE_CLASSIFICATION_LOG_NAME, aG as ManageBreadcrumb, aH as ManageFilterOnPage, aP as ManageItem, aR as ManageItemService, aF as ManagePages, ag as MapChartHandler, U as MapViewComponent, a9 as OverviewCardHandler, bw as POPOVER_TABS, bx as POPOVER_TAB_SPECS, aj as PhaseGateStepperHandler, a3 as PieChartHandler, aM as PieControlUi, P as PropertiesCardComponent, ah as RingGaugeChartHandler, ai as SPlusChartHandler, bO as STYLE_PRESETS, bb as SchemaControlRendererComponent, a_ as SegmentedField, V as SkeletonCardComponent, ac as SnapshotHandler, ae as SplitterChartHandler, a4 as StackBarChartHandler, aO as StackBarControlUi, S as StaticFiltersComponent, X as StatisticCardComponent, aZ as StyleField, aX as StyleSettingsRenderer, aW as StyleStudioDrawer, Y as TableCardComponent, a8 as TableViewHandler, aa as TimelineHandler, Z as TopbarCardComponent, n as addCommasToNumber, bK as applyBehaviorToPersisted, b_ as applyControlPatchToPersisted, b$ as applyControlPatchesToPersisted, bL as applyFilterChipsToPersisted, bI as applyLabelLegendFormatToPersisted, bG as applyLayoutToPersisted, bE as applyStyleToPersisted, bz as applyTitleToPersisted, a5 as axisFormatters, bJ as behaviorToUi, c7 as bindingKey, bN as buildAssembly, c6 as buildDisplayFieldPredicate, N as buildMapChartOption, c as cloneDeep, ap as createAxisFormatter, aq as createTooltipFormatter, bA as datasourceToUi, bV as deepMerge, cd as describeGuidance, bu as domainsForCapability, i as dynamicReorder, h as dynamicTextReplace, aY as expandResetPatches, bB as fieldsToUi, bC as filtersToUi, bv as findDomain, bQ as findPreset, c4 as flattenSchema, ar as formatAxisLabel, ak as formatCurrency, ao as formatDate, bW as formatForEditor, an as formatNumber, am as formatPercentage, k as formatValue, as as formatWordsUnderBar, at as formatXAxis, j as generalConfiguration, c8 as getBinding, bf as getCapabilityById, q as getColorFromConditions, c0 as getControlSchema, al as getCurrencySuffix, c3 as getFallbackControlSchema, l as getLocalizedTitle, g as getNestedData, a6 as groupDatesByYearAndMonth, bT as groupIssuesByDomain, av as handleFilterForCard, aw as handleFilterForSnapshot, au as handleFiltersForCustom, bS as hasBlockingIssues, aA as isLogClassification, aE as isManagePagesDeleteResult, p as isMobilePlatform, J as isPlottable, bH as labelLegendFormatToUi, bF as layoutToUi, c9 as listBindings, ca as listBindingsForChart, c1 as listControlSchemaIds, c2 as listControlSchemas, a0 as loadImmediately, A as mergePropertyAppearance, bn as moduleIdFromSelector, bk as normalizeAggregateFunction, bs as normalizeBeforeRequest, br as normalizeBeforeSave, bi as normalizeChartTypeForRequest, z as normalizeDashboardCardEntityValue, bj as normalizeFilterOperation, bl as normalizeFilters, bq as normalizeOnLoad, $ as observeNearViewport, bU as parseAdvancedJson, bM as persistedToUi, K as plottableGroups, bP as presetsForCapability, cb as readBoundValue, bY as readByPath, bg as resolveCapability, c5 as resolveDisplayFields, x as resolveEntityUserPhoto, T as resolveMapRegion, W as resolveStatisticIconPlacement, bm as selectorFromLegacy, bZ as setByPath, m as sortChartData, o as sortDataTableView, bD as styleToUi, f as switchAllKeysSmall, s as switchAllKeysToLower, by as titleToUi, bh as toBackendChartType, bo as toBackendSourceLink, bp as toFormSourceLink, bR as validate } from './masterteam-dashboard-builder-masterteam-dashboard-builder-CodhML2K.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.104",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"directory": "../../../dist/masterteam/dashboard-builder",
|
|
6
6
|
"linkDirectory": true,
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"tailwindcss": "^4.2.2",
|
|
26
26
|
"@masterteam/icons": "^0.0.17",
|
|
27
27
|
"@masterteam/timeline": "^0.0.23",
|
|
28
|
-
"@masterteam/components": "^0.0.
|
|
28
|
+
"@masterteam/components": "^0.0.321"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"tslib": "^2.8.1",
|
|
@@ -5847,6 +5847,7 @@ declare class LevelCardHandler {
|
|
|
5847
5847
|
}
|
|
5848
5848
|
|
|
5849
5849
|
declare class MapChartHandler {
|
|
5850
|
+
private readonly storeService;
|
|
5850
5851
|
private mapCity;
|
|
5851
5852
|
/**
|
|
5852
5853
|
* handleMapChart - for ECharts geo map
|
|
@@ -5855,6 +5856,22 @@ declare class MapChartHandler {
|
|
|
5855
5856
|
handleMapChart(dataResponse: any, config: ItemConfig): any;
|
|
5856
5857
|
private normalizeLegendPosition;
|
|
5857
5858
|
private getLegendLayout;
|
|
5859
|
+
/**
|
|
5860
|
+
* The group a record is plotted under.
|
|
5861
|
+
*
|
|
5862
|
+
* The grouping property is optional: with none configured every record
|
|
5863
|
+
* lands in one unnamed group, which the map draws without a legend entry.
|
|
5864
|
+
* A record with no grouping value is grouped as "Unknown" rather than
|
|
5865
|
+
* dropped — the backend omits null properties from the row, so a missing
|
|
5866
|
+
* key means "no value", not "not requested".
|
|
5867
|
+
*/
|
|
5868
|
+
private resolveGroupName;
|
|
5869
|
+
/**
|
|
5870
|
+
* Status values arrive as `{ display, en, ar, color }`, users as
|
|
5871
|
+
* `{ displayName }`, lookups as `{ display: { en, ar } }` and multi-user
|
|
5872
|
+
* properties as an array of users; anything else is a plain value.
|
|
5873
|
+
*/
|
|
5874
|
+
private displayText;
|
|
5858
5875
|
/**
|
|
5859
5876
|
* handleLeafletMap - matches functionName from CHART_TYPES
|
|
5860
5877
|
* Returns data directly as array of grouped records
|
|
@@ -6241,6 +6258,8 @@ declare class DashboardList implements OnDestroy {
|
|
|
6241
6258
|
private transloco;
|
|
6242
6259
|
private modalRef;
|
|
6243
6260
|
readonly nameTpl: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
6261
|
+
/** Host actions for the page header (e.g. "Design a dashboard with Faris"), next to the title. */
|
|
6262
|
+
readonly headerEnd: _angular_core.Signal<TemplateRef<unknown> | undefined>;
|
|
6244
6263
|
/** Whether to wrap content in mt-page component */
|
|
6245
6264
|
readonly isPage: _angular_core.InputSignal<boolean>;
|
|
6246
6265
|
/** Page title when isPage is true */
|
|
@@ -6308,7 +6327,7 @@ declare class DashboardList implements OnDestroy {
|
|
|
6308
6327
|
*/
|
|
6309
6328
|
refresh(): void;
|
|
6310
6329
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DashboardList, never>;
|
|
6311
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DashboardList, "mt-dashboard-list", never, { "isPage": { "alias": "isPage"; "required": false; "isSignal": true; }; "pageTitle": { "alias": "pageTitle"; "required": false; "isSignal": true; }; "baseRoute": { "alias": "baseRoute"; "required": false; "isSignal": true; }; "showCreateButton": { "alias": "showCreateButton"; "required": false; "isSignal": true; }; "showViewButton": { "alias": "showViewButton"; "required": false; "isSignal": true; }; "showEditButton": { "alias": "showEditButton"; "required": false; "isSignal": true; }; }, { "dashboardAction": "dashboardAction"; "dashboardCreated": "dashboardCreated"; },
|
|
6330
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DashboardList, "mt-dashboard-list", never, { "isPage": { "alias": "isPage"; "required": false; "isSignal": true; }; "pageTitle": { "alias": "pageTitle"; "required": false; "isSignal": true; }; "baseRoute": { "alias": "baseRoute"; "required": false; "isSignal": true; }; "showCreateButton": { "alias": "showCreateButton"; "required": false; "isSignal": true; }; "showViewButton": { "alias": "showViewButton"; "required": false; "isSignal": true; }; "showEditButton": { "alias": "showEditButton"; "required": false; "isSignal": true; }; }, { "dashboardAction": "dashboardAction"; "dashboardCreated": "dashboardCreated"; }, ["headerEnd"], never, true, never>;
|
|
6312
6331
|
}
|
|
6313
6332
|
|
|
6314
6333
|
interface ApiResponse<T> {
|