@masterteam/dashboard-builder 0.0.4 → 0.0.5

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@masterteam/dashboard-builder",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "publishConfig": {
5
5
  "directory": "../../../dist/masterteam/dashboard-builder",
6
6
  "linkDirectory": true,
@@ -6,6 +6,7 @@ import { ContextMenu } from 'primeng/contextmenu';
6
6
  import { MenuItem } from 'primeng/api';
7
7
  import * as _angular_forms from '@angular/forms';
8
8
  import { ControlValueAccessor, FormGroup, FormArray, ValidationErrors } from '@angular/forms';
9
+ import { MTIcon } from '@masterteam/icons';
9
10
  import * as rxjs from 'rxjs';
10
11
  import { Observable } from 'rxjs';
11
12
  import { ColumnDef, TableAction } from '@masterteam/components/table';
@@ -2043,6 +2044,10 @@ declare class StatisticCardComponent implements OnInit {
2043
2044
  readonly cardClick: _angular_core.OutputEmitterRef<any>;
2044
2045
  /** Path for images */
2045
2046
  pathImages: string;
2047
+ private readonly fallbackIcon;
2048
+ private readonly availableIcons;
2049
+ private readonly availableIconsSet;
2050
+ private readonly iconByShortName;
2046
2051
  /** Language code */
2047
2052
  readonly languageCode: _angular_core.Signal<string>;
2048
2053
  readonly isArabic: _angular_core.Signal<boolean>;
@@ -2071,6 +2076,7 @@ declare class StatisticCardComponent implements OnInit {
2071
2076
  }>;
2072
2077
  ngOnInit(): void;
2073
2078
  onClick(): void;
2079
+ resolveIcon(icon: string | null | undefined): MTIcon;
2074
2080
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<StatisticCardComponent, never>;
2075
2081
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<StatisticCardComponent, "mt-statistic-card", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "styleConfig": { "alias": "styleConfig"; "required": false; "isSignal": true; }; "configurationItem": { "alias": "configurationItem"; "required": false; "isSignal": true; }; }, { "cardClick": "cardClick"; }, never, never, true, never>;
2076
2082
  }
@@ -2402,6 +2408,13 @@ declare class BarChartHandler {
2402
2408
  * Format X axis value using the formatXAxis utility
2403
2409
  */
2404
2410
  private formatXAxisValue;
2411
+ /**
2412
+ * Resolve bar corner radius with backward-compatible values:
2413
+ * - undefined/null/true => default curved
2414
+ * - false/0 => square corners
2415
+ * - number/string => that numeric value
2416
+ */
2417
+ private resolveBarBorderRadius;
2405
2418
  /**
2406
2419
  * Apply bar override configurations
2407
2420
  */
@@ -2439,6 +2452,7 @@ declare class PieChartHandler {
2439
2452
 
2440
2453
  declare class StackBarChartHandler {
2441
2454
  private readonly storeService;
2455
+ private resolveStackBarBorderRadius;
2442
2456
  /**
2443
2457
  * Helper method to convert legend position based on language
2444
2458
  */