@masterteam/dashboard-builder 0.0.11 → 0.0.12

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/package.json CHANGED
@@ -1,31 +1,31 @@
1
1
  {
2
2
  "name": "@masterteam/dashboard-builder",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "publishConfig": {
5
5
  "directory": "../../../dist/masterteam/dashboard-builder",
6
6
  "linkDirectory": true,
7
7
  "access": "public"
8
8
  },
9
9
  "peerDependencies": {
10
- "@angular/common": "^21.0.3",
11
- "@angular/core": "^21.0.3",
12
- "@angular/forms": "^21.0.3",
13
- "@angular/cdk": "^21.0.2",
14
- "@angular/router": "^21.0.3",
15
- "@primeuix/themes": "^2.0.2",
16
- "@tailwindcss/postcss": "^4.1.17",
17
- "@jsverse/transloco": "^8.0.2",
10
+ "@angular/common": "catalog:angular21",
11
+ "@angular/core": "catalog:angular21",
12
+ "@angular/forms": "catalog:angular21",
13
+ "@angular/cdk": "catalog:angular21",
14
+ "@angular/router": "catalog:angular21",
15
+ "@primeuix/themes": "catalog:",
16
+ "@tailwindcss/postcss": "catalog:",
17
+ "@jsverse/transloco": "catalog:i18n",
18
+ "@masterteam/components": "workspace:^",
19
+ "@masterteam/icons": "workspace:^",
18
20
  "angular-gridster2": "^18.0.1",
19
21
  "echarts": "^5.5.0",
20
- "postcss": "^8.5.6",
21
- "primeng": "21.0.1",
22
- "rxjs": "^7.8.2",
23
- "tailwindcss": "^4.1.17",
24
- "@masterteam/components": "^0.0.120",
25
- "@masterteam/icons": "^0.0.14"
22
+ "postcss": "catalog:",
23
+ "primeng": "catalog:",
24
+ "rxjs": "catalog:angular21",
25
+ "tailwindcss": "catalog:"
26
26
  },
27
27
  "dependencies": {
28
- "tslib": "^2.8.1",
28
+ "tslib": "catalog:angular21",
29
29
  "angular-gridster2": "^18.0.1"
30
30
  },
31
31
  "sideEffects": false,
@@ -131,7 +131,7 @@ interface BulkPropertiesResponseItem {
131
131
  selector: string;
132
132
  /** Display name for the specific selector (e.g., "Projects" for "Level:7") */
133
133
  selectorName?: string;
134
- properties: PropertyItem$1[];
134
+ properties: PropertyItem[];
135
135
  }
136
136
  /**
137
137
  * Raw response item from bulk properties lookup.
@@ -152,7 +152,7 @@ interface BulkPropertiesResponse {
152
152
  /**
153
153
  * Property item from module properties response
154
154
  */
155
- interface PropertyItem$1 {
155
+ interface PropertyItem {
156
156
  id: number;
157
157
  name: string;
158
158
  label?: string;
@@ -510,7 +510,7 @@ interface IModule {
510
510
  * Property definition from API
511
511
  * Maps to PropertyItem from dashboard.model.ts
512
512
  */
513
- interface IProperty extends PropertyItem$1 {
513
+ interface IProperty extends PropertyItem {
514
514
  /** @deprecated Use PropertyItem.isCalculated when available */
515
515
  isCalculated?: boolean;
516
516
  description?: string;
@@ -1838,14 +1838,6 @@ declare class EntityInfoComponent {
1838
1838
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityInfoComponent, "mt-entity-info", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "displayType": { "alias": "displayType"; "required": false; "isSignal": true; }; "extraInfoData": { "alias": "extraInfoData"; "required": false; "isSignal": true; }; "limitWords": { "alias": "limitWords"; "required": false; "isSignal": true; }; "customClass": { "alias": "customClass"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1839
1839
  }
1840
1840
 
1841
- interface PropertyItem {
1842
- key: string;
1843
- normalizedKey?: string;
1844
- label?: string;
1845
- value: any;
1846
- viewType?: string;
1847
- settings?: any;
1848
- }
1849
1841
  interface PropertyConfig {
1850
1842
  width?: string;
1851
1843
  border?: string[];
@@ -1853,7 +1845,7 @@ interface PropertyConfig {
1853
1845
  colorAsProperty?: string;
1854
1846
  }
1855
1847
  interface ProcessedProperty {
1856
- propInfo: PropertyItem;
1848
+ propInfo: any;
1857
1849
  config: PropertyConfig;
1858
1850
  }
1859
1851
  declare class EntityPreviewCardComponent implements OnInit, OnDestroy {
@@ -3330,7 +3322,7 @@ declare class DashboardBuilderService {
3330
3322
  * @param moduleId Module type name or 'ModuleType:Id' format (e.g., 'Level:12')
3331
3323
  * @returns Properties array extracted from nested response
3332
3324
  */
3333
- getModuleProperties(serviceName: string, moduleId: string): Observable<ApiResponse<PropertyItem$1[]>>;
3325
+ getModuleProperties(serviceName: string, moduleId: string): Observable<ApiResponse<PropertyItem[]>>;
3334
3326
  /**
3335
3327
  * Get values for a specific module
3336
3328
  * @param serviceName The service name (e.g., 'pplus')
@@ -4932,4 +4924,4 @@ declare class GetChartActionsPipe implements PipeTransform {
4932
4924
  declare function cloneDeep<T>(obj: T): T;
4933
4925
 
4934
4926
  export { ActionsSettings, BarChartHandler, BarControlUi, CHART_TYPES, CardContentComponent, CardFilterComponent, CardInfoComponent, ChartCardComponent, ChartDataService, ChartSettingsDrawer, ChartViewer, ComparisonChartHandler, DashboardBuilder, DashboardBuilderService, DashboardItem, DashboardItemStoreService, DashboardList, DashboardStoreService, DashboardViewer, DataSourceSettings, DefaultControlUi, DisplaySettings, DynamicFiltersComponent, DynamicFiltersConfig, EChartComponent, EntityInfoComponent, EntityPreviewCardComponent, FilterByGroupPipe, GaugeChartHandler, GeneralSettings, GetChartActionsPipe, HTTPMethod, HeaderCardComponent, LevelCardHandler, LevelCardListComponent, LineChartHandler, ListStatisticCardComponent, ManageBreadcrumb, ManageFilterOnPage, ManageItem, ManageItemService, ManagePages, MapChartHandler, OverviewCardHandler, PhaseGateStepperHandler, PieChartHandler, PieControlUi, RingGaugeChartHandler, SPlusChartHandler, SkeletonCardComponent, SnapshotHandler, SplitterChartHandler, StackBarChartHandler, StackBarControlUi, StaticFiltersComponent, StatisticCardComponent, TableCardComponent, TableViewHandler, TimelineHandler, addCommasToNumber, axisFormatters, cloneDeep, createAxisFormatter, createTooltipFormatter, dynamicReorder, dynamicTextReplace, formatCurrency, formatDate, formatNumber, formatPercentage, formatValue, formatWordsUnderBar, formatXAxis, generalConfiguration, getColorFromConditions, getLanguageCode, getLocalizedTitle, getNestedData, groupDatesByYearAndMonth, handleFilterForCard, handleFilterForSnapshot, handleFiltersForCustom, isMobilePlatform, sortChartData, sortDataTableView, switchAllKeysSmall, switchAllKeysToLower };
4935
- export type { ActionConfig, ApiResponse, BarChartData, BreadcrumbItem, BulkLinkChartRequest, BulkLinkChartResponse, BulkPropertiesRequest, BulkPropertiesResponse, BulkPropertiesResponseItem, BulkPropertiesResponseItemDto, BulkPropertyRequestItem, CardBorderStyleConfig, CardInfoConfig$1 as CardInfoConfig, CardStyleConfig$1 as CardStyleConfig, CatalogPropertyDto, ChartActionEvent, ChartActionsContext, ChartData, ChartDataHandled, ChartLabel, ChartLinkConfiguration, ChartTypeConfig, ClientConfig, ComponentType, CustomApi, DashboardBuilderData, DashboardChartItem, DashboardDialogItem, DashboardItemStore, DashboardListEvent, DashboardPage, DisplayConfig, EChartSeriesItem, ExcelSheet, FilterConfig, FilterOption, FormatXAxisConfig$1 as FormatXAxisConfig, GroupedModuleOption, HandleAction, HeaderCardConfig$1 as HeaderCardConfig, IModule, IModuleType, IProperty, IPropertyWithGroup, ISelection, ItemConfig, LevelCardData, LevelCardProperty, LinkChartRequest, LocalizedName, ModuleItem, ModuleSelectOption, ModuleType, ModuleValue, ModulesTreeRequest, ModulesTreeResponse, PhaseGateProperty, PhaseGateStep, PieChartData, PropertiesResponse, PropertyItem$1 as PropertyItem, PropertyItemOption, PropertyItemsResponse, QuickManageType, Report, ReportChartLink, ReportDashboardConfig, ReportExcelConfig, ReportType, ReportUrl, RequestType, SelectionFilter, ServiceConfig, ServiceItem, SourceLink, StaticFilterConfig, StaticFilterItem, StatisticCardData, StyleConfig, TableColumn$1 as TableColumn, TableViewData, TimelineData, TimelineItem, UnlinkChartRequest };
4927
+ export type { ActionConfig, ApiResponse, BarChartData, BreadcrumbItem, BulkLinkChartRequest, BulkLinkChartResponse, BulkPropertiesRequest, BulkPropertiesResponse, BulkPropertiesResponseItem, BulkPropertiesResponseItemDto, BulkPropertyRequestItem, CardBorderStyleConfig, CardInfoConfig$1 as CardInfoConfig, CardStyleConfig$1 as CardStyleConfig, CatalogPropertyDto, ChartActionEvent, ChartActionsContext, ChartData, ChartDataHandled, ChartLabel, ChartLinkConfiguration, ChartTypeConfig, ClientConfig, ComponentType, CustomApi, DashboardBuilderData, DashboardChartItem, DashboardDialogItem, DashboardItemStore, DashboardListEvent, DashboardPage, DisplayConfig, EChartSeriesItem, ExcelSheet, FilterConfig, FilterOption, FormatXAxisConfig$1 as FormatXAxisConfig, GroupedModuleOption, HandleAction, HeaderCardConfig$1 as HeaderCardConfig, IModule, IModuleType, IProperty, IPropertyWithGroup, ISelection, ItemConfig, LevelCardData, LevelCardProperty, LinkChartRequest, LocalizedName, ModuleItem, ModuleSelectOption, ModuleType, ModuleValue, ModulesTreeRequest, ModulesTreeResponse, PhaseGateProperty, PhaseGateStep, PieChartData, PropertiesResponse, PropertyItem, PropertyItemOption, PropertyItemsResponse, QuickManageType, Report, ReportChartLink, ReportDashboardConfig, ReportExcelConfig, ReportType, ReportUrl, RequestType, SelectionFilter, ServiceConfig, ServiceItem, SourceLink, StaticFilterConfig, StaticFilterItem, StatisticCardData, StyleConfig, TableColumn$1 as TableColumn, TableViewData, TimelineData, TimelineItem, UnlinkChartRequest };