@masterteam/dashboard-builder 0.0.104 → 0.0.106

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.
@@ -4070,6 +4070,8 @@ const NO_VALUE_LIST_VIEW_TYPES = new Set([
4070
4070
  'location',
4071
4071
  'formula',
4072
4072
  'calculated',
4073
+ // A Connection links to other records; property-items answers it with a 500.
4074
+ 'connection',
4073
4075
  ]);
4074
4076
  /** Normalize a catalog viewType for comparison ("Request_Status" → "request_status"). */
4075
4077
  function normalizeViewType(value) {
@@ -4363,9 +4365,12 @@ class FilterValueField {
4363
4365
  if (!this.isCurrentValueRequest(propertyKey, requestVersion, 'remote')) {
4364
4366
  return;
4365
4367
  }
4366
- // Keep the key uncached so a later input/metadata change can retry it.
4368
+ // Cache the empty result: the effect re-runs on every propertyOptions /
4369
+ // extraProperties emit, and leaving the key uncached re-sent the failing
4370
+ // request each time. A metadata change that reclassifies the key still
4371
+ // clears this entry (see the previousSource check above).
4367
4372
  this.loadingValueKeys.delete(propertyKey);
4368
- this.publishPropertyValueOptions(propertyKey, [], false);
4373
+ this.cacheAndPublishPropertyValueOptions(propertyKey, []);
4369
4374
  },
4370
4375
  });
4371
4376
  }
@@ -8204,7 +8209,8 @@ const GAUGE_SECTION = {
8204
8209
  label: 'Show progress ring',
8205
8210
  type: 'boolean',
8206
8211
  path: 'clientConfig.configAsType.showGaugeProgress',
8207
- default: true,
8212
+ // Off, to match the handler: an unset value draws no ring.
8213
+ default: false,
8208
8214
  },
8209
8215
  {
8210
8216
  key: 'gaugeColor',
@@ -15339,22 +15345,40 @@ class BarChartHandler {
15339
15345
  ? [0, groupedBorderRadius, groupedBorderRadius, 0]
15340
15346
  : [groupedBorderRadius, groupedBorderRadius, 0, 0]
15341
15347
  : [0, 0, 0, 0];
15348
+ // One axis slot per category. The backend lists every category of a
15349
+ // lookup/status property, in that property's order, but sends bars only
15350
+ // for the categories that have data, and only the bar types each of them
15351
+ // has. So a bar is placed by its category key, never by its position.
15352
+ const axisCategories = this.resolveGroupedCategories(categories, dataResponse.values || []);
15353
+ const slotOf = this.createCategorySlotResolver(axisCategories);
15342
15354
  // Build series for each bar type
15343
15355
  const seriesMap = new Map();
15344
15356
  barTypes.forEach((type) => {
15345
- seriesMap.set(type.key, []);
15357
+ seriesMap.set(type.key, new Array(axisCategories.length).fill(null));
15346
15358
  });
15347
15359
  // Populate series data from values
15348
15360
  (dataResponse.values || []).forEach((categoryData) => {
15361
+ const slot = slotOf(categoryData?.category);
15362
+ if (slot === undefined)
15363
+ return;
15364
+ const category = axisCategories[slot];
15349
15365
  (categoryData.bars || []).forEach((bar) => {
15350
- const seriesArray = seriesMap.get(this.resolveBarKey(bar));
15351
- if (seriesArray) {
15352
- seriesArray.push({
15353
- value: bar.value,
15354
- extraValues: bar.extraValues,
15355
- groupValues: bar.groupValues,
15356
- });
15357
- }
15366
+ const barKey = this.resolveBarKey(bar);
15367
+ const seriesData = seriesMap.get(barKey);
15368
+ if (!seriesData)
15369
+ return;
15370
+ // Same click keys as a stacked bar's data point: `key` is the bar type,
15371
+ // `xAxisKey` / `xAxisKeyFilter` / `title` name the category, so an
15372
+ // action can tell which bar of which category was clicked.
15373
+ seriesData[slot] = {
15374
+ value: bar.value,
15375
+ key: barKey,
15376
+ xAxisKey: category.key,
15377
+ xAxisKeyFilter: category.key,
15378
+ title: category.label,
15379
+ extraValues: bar.extraValues,
15380
+ groupValues: bar.groupValues,
15381
+ };
15358
15382
  });
15359
15383
  });
15360
15384
  // Build series
@@ -15378,11 +15402,7 @@ class BarChartHandler {
15378
15402
  });
15379
15403
  });
15380
15404
  // Category labels
15381
- const xAxisData = categories.map((cat) => {
15382
- if (typeof cat === 'string')
15383
- return cat;
15384
- return cat.label || cat.name || cat.key || '';
15385
- });
15405
+ const xAxisData = axisCategories.map((category) => category.label);
15386
15406
  const legendPosition = this.normalizeLegendPosition(configAsType?.['legend']?.position);
15387
15407
  const legendVisible = configAsType?.['legend']?.show ?? true;
15388
15408
  const baseConfig = {
@@ -15534,6 +15554,65 @@ class BarChartHandler {
15534
15554
  resolveBarKey(bar) {
15535
15555
  return String(bar?.barType ?? bar?.key ?? '');
15536
15556
  }
15557
+ /**
15558
+ * The grouped chart's category axis: the response's `categories` in their
15559
+ * order, then any category that has bars but no label. Labels exist only
15560
+ * for lookup/status categories, and even there they cover only the items,
15561
+ * not the "NA" bucket for records with no value.
15562
+ */
15563
+ resolveGroupedCategories(categories, values) {
15564
+ const resolved = [];
15565
+ const seen = new Set();
15566
+ const seenLoose = new Set();
15567
+ const add = (key, label) => {
15568
+ if (seen.has(key))
15569
+ return;
15570
+ seen.add(key);
15571
+ seenLoose.add(key.toLowerCase());
15572
+ resolved.push({ key, label });
15573
+ };
15574
+ categories.forEach((cat) => {
15575
+ if (typeof cat === 'string') {
15576
+ add(cat, cat);
15577
+ return;
15578
+ }
15579
+ const key = String(cat?.key ?? '');
15580
+ add(key, cat?.label || cat?.name || key);
15581
+ });
15582
+ values.forEach((value) => {
15583
+ if (value?.category === null || value?.category === undefined)
15584
+ return;
15585
+ const key = String(value.category);
15586
+ // A labelled category in other casing already has its slot.
15587
+ if (seenLoose.has(key.toLowerCase()))
15588
+ return;
15589
+ add(key, key);
15590
+ });
15591
+ return resolved;
15592
+ }
15593
+ /**
15594
+ * Finds a category's axis slot. The backend groups categories with a
15595
+ * case-sensitive comparison, so an exact match comes first; a
15596
+ * case-insensitive one only rescues a key whose casing differs between
15597
+ * `categories` and `values`.
15598
+ */
15599
+ createCategorySlotResolver(categories) {
15600
+ const exact = new Map();
15601
+ const loose = new Map();
15602
+ categories.forEach(({ key }, index) => {
15603
+ if (!exact.has(key))
15604
+ exact.set(key, index);
15605
+ const lower = key.toLowerCase();
15606
+ if (!loose.has(lower))
15607
+ loose.set(lower, index);
15608
+ });
15609
+ return (category) => {
15610
+ if (category === null || category === undefined)
15611
+ return undefined;
15612
+ const key = String(category);
15613
+ return exact.get(key) ?? loose.get(key.toLowerCase());
15614
+ };
15615
+ }
15537
15616
  normalizeLegendPosition(position) {
15538
15617
  return position === 'top' ||
15539
15618
  position === 'right' ||
@@ -17664,7 +17743,9 @@ class GaugeChartHandler {
17664
17743
  // Pass-5: gauge handler now honors schema-bound controls.
17665
17744
  // - configAsType.gaugeColor → series color override
17666
17745
  // - configAsType.showGaugeProgress → progress ring visibility
17667
- const showGaugeProgress = configAsType?.['showGaugeProgress'] !== false;
17746
+ // The ring is opt-in: gauges saved before the control worked never drew
17747
+ // one, and an unset value must keep them looking the same.
17748
+ const showGaugeProgress = configAsType?.['showGaugeProgress'] === true;
17668
17749
  const gaugeColor = configAsType?.['gaugeColor'];
17669
17750
  // Pass-5: apply the configured number format to the displayed gauge value.
17670
17751
  // Gated on clientConfig.format being present so legacy gauges (no format)
@@ -17692,9 +17773,6 @@ class GaugeChartHandler {
17692
17773
  item.display ||
17693
17774
  item.key,
17694
17775
  key: item.key,
17695
- progress: {
17696
- show: showGaugeProgress,
17697
- },
17698
17776
  detail: {
17699
17777
  valueAnimation: true,
17700
17778
  formatter: numberFormat
@@ -17734,6 +17812,9 @@ class GaugeChartHandler {
17734
17812
  type: 'gauge',
17735
17813
  min: gaugeMin,
17736
17814
  max: gaugeMax,
17815
+ // ECharts reads `progress.show` only from the series. Set on each
17816
+ // data item, as it was before, the toggle did nothing.
17817
+ progress: { show: showGaugeProgress },
17737
17818
  avoidLabelOverlap: false,
17738
17819
  label: {
17739
17820
  show: configAsType?.['label']?.['show'],
@@ -21319,7 +21400,10 @@ class RingGaugeChartHandler {
21319
21400
  show: true,
21320
21401
  overlap: false,
21321
21402
  roundCap: true,
21322
- clip: false,
21403
+ // Keeps each ring inside the gauge's 0–100 scale. Unclipped, a
21404
+ // value over 100 kept drawing past the end of the arc, round to a
21405
+ // full circle at 200. The value label still shows the real number.
21406
+ clip: true,
21323
21407
  itemStyle: {
21324
21408
  borderWidth: gapBetweenBars,
21325
21409
  borderColor: '#E6EBF8',
@@ -21561,7 +21645,8 @@ class RingGaugeChartHandler {
21561
21645
  return { values: [] };
21562
21646
  }
21563
21647
  /**
21564
- * Helper method to return empty chart options
21648
+ * Options for a response with no row. `noData` makes the chart card show its
21649
+ * "No data" state; without it the card drew a bare, empty gauge.
21565
21650
  */
21566
21651
  getEmptyChartOptions() {
21567
21652
  return {
@@ -21572,6 +21657,7 @@ class RingGaugeChartHandler {
21572
21657
  },
21573
21658
  ],
21574
21659
  graphic: [],
21660
+ noData: true,
21575
21661
  };
21576
21662
  }
21577
21663
  /**
@@ -23836,7 +23922,7 @@ class ActionService {
23836
23922
  // "Dialog header"), not from the chart that opened it.
23837
23923
  const header = resolveDashboardDialogHeader(dialogConfig);
23838
23924
  // Dynamically import DashboardDialogComponent to avoid circular dependency
23839
- import('./masterteam-dashboard-builder-dashboard-dialog.component-C3X9UhZk.mjs').then(({ DashboardDialogComponent }) => {
23925
+ import('./masterteam-dashboard-builder-dashboard-dialog.component-Dk-e61r-.mjs').then(({ DashboardDialogComponent }) => {
23840
23926
  // Open dialog using ModalService
23841
23927
  this.modalService.openModal(DashboardDialogComponent, 'dialog', {
23842
23928
  header: header.title,
@@ -27651,6 +27737,10 @@ function buildMapChartOption(groups, region, legend, font = {}) {
27651
27737
  coordinateSystem: 'geo',
27652
27738
  symbol: MAP_MARKER_PATH,
27653
27739
  symbolSize: 16,
27740
+ // ECharts centres a symbol on its coordinate, but this pin points with
27741
+ // its bottom tip. Lifting it by half its height puts the tip, not the
27742
+ // pin's middle, on the location.
27743
+ symbolOffset: [0, '-50%'],
27654
27744
  itemStyle: { color },
27655
27745
  data: group.points.map((point) => ({
27656
27746
  name: point.displayName || '',
@@ -28981,6 +29071,25 @@ function resolveEntityUserPhoto(value) {
28981
29071
  }
28982
29072
  return '';
28983
29073
  }
29074
+ /**
29075
+ * The dashboard backend sends a Checkbox value as text (`"True"` / `"False"`),
29076
+ * so `Boolean(value)` read every non-empty string, `"False"` included, as
29077
+ * checked. Parsed the same way as the table card's `toBooleanValue`.
29078
+ */
29079
+ function resolveEntityCheckbox(value) {
29080
+ if (typeof value === 'boolean')
29081
+ return value;
29082
+ if (typeof value === 'number')
29083
+ return value === 1;
29084
+ if (typeof value === 'string') {
29085
+ const text = value.trim().toLowerCase();
29086
+ return text === 'true' || text === '1' || text === 'yes';
29087
+ }
29088
+ if (value && typeof value === 'object' && 'value' in value) {
29089
+ return resolveEntityCheckbox(value.value);
29090
+ }
29091
+ return false;
29092
+ }
28984
29093
  class EntityInfoComponent {
28985
29094
  transloco = inject(TranslocoService);
28986
29095
  httpContext = new HttpContext().set(REQUEST_CONTEXT, {
@@ -29089,10 +29198,7 @@ class EntityInfoComponent {
29089
29198
  return value.details?.color || value.color || '';
29090
29199
  }, ...(ngDevMode ? [{ debugName: "lookupColor" }] : /* istanbul ignore next */ []));
29091
29200
  // === Checkbox values ===
29092
- checkboxValue = computed(() => {
29093
- const value = this.data()?.value;
29094
- return Boolean(value);
29095
- }, ...(ngDevMode ? [{ debugName: "checkboxValue" }] : /* istanbul ignore next */ []));
29201
+ checkboxValue = computed(() => resolveEntityCheckbox(this.data()?.value), ...(ngDevMode ? [{ debugName: "checkboxValue" }] : /* istanbul ignore next */ []));
29096
29202
  checkboxLabel = computed(() => this.transloco.translate(this.checkboxValue() ? 'dashboardBuilder.yes' : 'dashboardBuilder.no'), ...(ngDevMode ? [{ debugName: "checkboxLabel" }] : /* istanbul ignore next */ []));
29097
29203
  // === Status values ===
29098
29204
  statusName = computed(() => {
@@ -46603,7 +46709,7 @@ class DashboardBuilder {
46603
46709
  const filterSelectionContext = this.resolveManageFilterSelectionContext();
46604
46710
  const ref = this.modalService.openModal(ManageFilterOnPage, 'drawer', {
46605
46711
  header: this.transloco.translate('dashboardBuilder.manageFilter'),
46606
- styleClass: '!w-[56rem] max-w-[96vw] !absolute',
46712
+ styleClass: '!w-[56rem] !max-w-full !absolute',
46607
46713
  appendTo: '#page-content',
46608
46714
  position: 'end',
46609
46715
  inputValues: {
@@ -48910,7 +49016,7 @@ class DashboardList {
48910
49016
  this.dashboards.reload();
48911
49017
  }
48912
49018
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: DashboardList, deps: [], target: i0.ɵɵFactoryTarget.Component });
48913
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: DashboardList, isStandalone: true, selector: "mt-dashboard-list", inputs: { isPage: { classPropertyName: "isPage", publicName: "isPage", isSignal: true, isRequired: false, transformFunction: null }, pageTitle: { classPropertyName: "pageTitle", publicName: "pageTitle", isSignal: true, isRequired: false, transformFunction: null }, baseRoute: { classPropertyName: "baseRoute", publicName: "baseRoute", isSignal: true, isRequired: false, transformFunction: null }, showCreateButton: { classPropertyName: "showCreateButton", publicName: "showCreateButton", isSignal: true, isRequired: false, transformFunction: null }, showViewButton: { classPropertyName: "showViewButton", publicName: "showViewButton", isSignal: true, isRequired: false, transformFunction: null }, showEditButton: { classPropertyName: "showEditButton", publicName: "showEditButton", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dashboardAction: "dashboardAction", dashboardCreated: "dashboardCreated" }, queries: [{ propertyName: "headerEnd", first: true, predicate: ["headerEnd"], descendants: true, isSignal: true }], viewQueries: [{ propertyName: "nameTpl", first: true, predicate: ["nameTpl"], descendants: true, isSignal: true }], ngImport: i0, template: "<ng-container *transloco=\"let t; prefix: 'dashboardBuilder.dashboard'\">\r\n <!-- Page mode -->\r\n @if (isPage()) {\r\n <mt-page\r\n [title]=\"pageTitle() || t('dashboards')\"\r\n [avatarIcon]=\"'chart.bar-chart-square-03'\"\r\n [avatarStyle]=\"{\r\n '--p-avatar-background': 'var(--p-cyan-100)',\r\n '--p-avatar-color': 'var(--p-cyan-700)',\r\n }\"\r\n >\r\n @if (headerEnd(); as hostActions) {\r\n <ng-template #headerEnd>\r\n <ng-container *ngTemplateOutlet=\"hostActions\" />\r\n </ng-template>\r\n }\r\n <!-- Content -->\r\n <ng-container *ngTemplateOutlet=\"tableContent\" />\r\n </mt-page>\r\n } @else {\r\n <!-- Non-page mode -->\r\n <div class=\"dashboard-list space-y-3\">\r\n <!-- Header -->\r\n <h2 class=\"text-2xl font-semibold text-surface-900 dark:text-surface-0\">\r\n {{ t(\"dashboards\") }}\r\n </h2>\r\n\r\n <!-- Content -->\r\n <ng-container *ngTemplateOutlet=\"tableContent\" />\r\n </div>\r\n }\r\n\r\n <!-- Reusable table content template -->\r\n <ng-template #tableContent>\r\n <!-- Custom cell templates -->\r\n <ng-template #nameTpl let-row>\r\n <span class=\"font-semibold text-surface-900 dark:text-surface-0\">\r\n {{ getDashboardName(row) }}\r\n </span>\r\n </ng-template>\r\n\r\n <!-- Dashboard Table -->\r\n <mt-table\r\n [data]=\"dashboardList()\"\r\n [columns]=\"tableColumns()\"\r\n [actions]=\"tableActions()\"\r\n [rowActions]=\"rowActions()\"\r\n [loading]=\"isLoading()\"\r\n [showFilters]=\"true\"\r\n [generalSearch]=\"true\"\r\n dataKey=\"id\"\r\n storageKey=\"dashboard-list-table\"\r\n (cellChange)=\"onToggleChange($event)\"\r\n />\r\n </ng-template>\r\n</ng-container>\r\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }, { kind: "component", type: Table, selector: "mt-table", inputs: ["filters", "data", "columns", "rowActions", "size", "showGridlines", "stripedRows", "selectableRows", "clickableRows", "generalSearch", "lazyLocalSearch", "showFilters", "filterMode", "loading", "updating", "lazy", "lazyLocalSort", "lazyTotalRecords", "reorderableColumns", "reorderableRows", "dataKey", "storageKey", "storageMode", "persistStateExclude", "exportable", "printable", "groupable", "groupCountMap", "cellClickFilter", "freezeActions", "virtualScroll", "virtualScrollItemSize", "scrollHeight", "printTitle", "exportFilename", "actionShape", "rowActionsLoadingFn", "tableLayout", "noCard", "tabs", "tabsOptionLabel", "tabsOptionValue", "activeTab", "actions", "captionStartTemplate", "captionEndTemplate", "emptyTitle", "emptyDescription", "emptyActionLabel", "emptyActionIcon", "externalFiltersActive", "paginatorPosition", "alwaysShowPaginator", "rowsPerPageOptions", "pageSize", "currentPage", "first", "filterTerm", "groupBy", "sortField", "sortDirection"], outputs: ["selectionChange", "cellChange", "lazyLoad", "columnReorder", "rowReorder", "rowClick", "emptyAction", "filtersCleared", "rowActionsRequested", "filtersChange", "activeTabChange", "onTabChange", "pageSizeChange", "currentPageChange", "firstChange", "filterTermChange", "groupByChange", "sortFieldChange", "sortDirectionChange"] }, { kind: "component", type: Page, selector: "mt-page", inputs: ["backButton", "backButtonIcon", "avatarIcon", "avatarStyle", "avatarShape", "title", "tabs", "activeTab", "contentClass", "contentId"], outputs: ["backButtonClick", "tabChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
49019
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: DashboardList, isStandalone: true, selector: "mt-dashboard-list", inputs: { isPage: { classPropertyName: "isPage", publicName: "isPage", isSignal: true, isRequired: false, transformFunction: null }, pageTitle: { classPropertyName: "pageTitle", publicName: "pageTitle", isSignal: true, isRequired: false, transformFunction: null }, baseRoute: { classPropertyName: "baseRoute", publicName: "baseRoute", isSignal: true, isRequired: false, transformFunction: null }, showCreateButton: { classPropertyName: "showCreateButton", publicName: "showCreateButton", isSignal: true, isRequired: false, transformFunction: null }, showViewButton: { classPropertyName: "showViewButton", publicName: "showViewButton", isSignal: true, isRequired: false, transformFunction: null }, showEditButton: { classPropertyName: "showEditButton", publicName: "showEditButton", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dashboardAction: "dashboardAction", dashboardCreated: "dashboardCreated" }, queries: [{ propertyName: "headerEnd", first: true, predicate: ["headerEnd"], descendants: true, isSignal: true }], viewQueries: [{ propertyName: "nameTpl", first: true, predicate: ["nameTpl"], descendants: true, isSignal: true }], ngImport: i0, template: "<ng-container *transloco=\"let t; prefix: 'dashboardBuilder.dashboard'\">\r\n <!-- Page mode -->\r\n @if (isPage()) {\r\n <mt-page\r\n [title]=\"pageTitle() || t('dashboards')\"\r\n [avatarIcon]=\"'chart.bar-chart-square-03'\"\r\n [avatarStyle]=\"{\r\n '--p-avatar-background': 'var(--p-cyan-100)',\r\n '--p-avatar-color': 'var(--p-cyan-700)',\r\n }\"\r\n >\r\n @if (headerEnd(); as hostActions) {\r\n <ng-template #headerEnd>\r\n <ng-container *ngTemplateOutlet=\"hostActions\" />\r\n </ng-template>\r\n }\r\n <!-- Content -->\r\n <ng-container *ngTemplateOutlet=\"tableContent\" />\r\n </mt-page>\r\n } @else {\r\n <!-- Non-page mode -->\r\n <div class=\"dashboard-list space-y-3\">\r\n <!-- Header -->\r\n <h2 class=\"text-2xl font-semibold text-surface-900 dark:text-surface-0\">\r\n {{ t(\"dashboards\") }}\r\n </h2>\r\n\r\n <!-- Content -->\r\n <ng-container *ngTemplateOutlet=\"tableContent\" />\r\n </div>\r\n }\r\n\r\n <!-- Reusable table content template -->\r\n <ng-template #tableContent>\r\n <!-- Custom cell templates -->\r\n <ng-template #nameTpl let-row>\r\n <span class=\"font-semibold text-surface-900 dark:text-surface-0\">\r\n {{ getDashboardName(row) }}\r\n </span>\r\n </ng-template>\r\n\r\n <!-- Dashboard Table -->\r\n <mt-table\r\n [data]=\"dashboardList()\"\r\n [columns]=\"tableColumns()\"\r\n [actions]=\"tableActions()\"\r\n [rowActions]=\"rowActions()\"\r\n [loading]=\"isLoading()\"\r\n [showFilters]=\"true\"\r\n [generalSearch]=\"true\"\r\n dataKey=\"id\"\r\n storageKey=\"dashboard-list-table\"\r\n (cellChange)=\"onToggleChange($event)\"\r\n />\r\n </ng-template>\r\n</ng-container>\r\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }, { kind: "component", type: Table, selector: "mt-table", inputs: ["filters", "data", "columns", "rowActions", "size", "showGridlines", "stripedRows", "selectableRows", "clickableRows", "generalSearch", "lazyLocalSearch", "showFilters", "filterMode", "filterCloseOnOutsideClick", "loading", "updating", "lazy", "lazyLocalSort", "lazyTotalRecords", "reorderableColumns", "reorderableRows", "dataKey", "storageKey", "storageMode", "persistStateExclude", "exportable", "printable", "groupable", "groupCountMap", "cellClickFilter", "freezeActions", "virtualScroll", "virtualScrollItemSize", "scrollHeight", "printTitle", "exportFilename", "actionShape", "rowActionsLoadingFn", "tableLayout", "noCard", "tabs", "tabsOptionLabel", "tabsOptionValue", "activeTab", "actions", "captionStartTemplate", "captionEndTemplate", "emptyTitle", "emptyDescription", "emptyActionLabel", "emptyActionIcon", "externalFiltersActive", "paginatorPosition", "alwaysShowPaginator", "rowsPerPageOptions", "pageSize", "currentPage", "first", "filterTerm", "groupBy", "sortField", "sortDirection"], outputs: ["selectionChange", "cellChange", "lazyLoad", "columnReorder", "rowReorder", "rowClick", "emptyAction", "filtersCleared", "rowActionsRequested", "filtersChange", "activeTabChange", "onTabChange", "pageSizeChange", "currentPageChange", "firstChange", "filterTermChange", "groupByChange", "sortFieldChange", "sortDirectionChange"] }, { kind: "component", type: Page, selector: "mt-page", inputs: ["backButton", "backButtonIcon", "avatarIcon", "avatarStyle", "avatarShape", "title", "tabs", "activeTab", "contentClass", "contentId"], outputs: ["backButtonClick", "tabChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
48914
49020
  }
48915
49021
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: DashboardList, decorators: [{
48916
49022
  type: Component,
@@ -51929,5 +52035,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
51929
52035
  * Generated bundle index. Do not edit.
51930
52036
  */
51931
52037
 
51932
- export { observeNearViewport as $, mergePropertyAppearance as A, EntityPreviewCardComponent as B, CardContentComponent as C, DashboardItemStoreService as D, EChartComponent as E, FilterUtilsService as F, ListStatisticCardComponent as G, HeaderCardComponent as H, MAP_FALLBACK_COLORS as I, isPlottable as J, plottableGroups as K, LastHistoryLevelCardComponent as L, MAP_MARKER_PATH as M, buildMapChartOption as N, MAP_REGIONS as O, PropertiesCardComponent as P, DEFAULT_MAP_REGION_KEY as Q, MAP_DATA_ATTRIBUTION as R, StaticFiltersComponent as S, resolveMapRegion as T, MapViewComponent as U, SkeletonCardComponent as V, resolveStatisticIconPlacement as W, StatisticCardComponent as X, TableCardComponent as Y, TopbarCardComponent as Z, ChartDataService as _, DashboardItem as a, ColorListField as a$, loadImmediately as a0, DASHBOARD_ITEM_VISIBILITY as a1, BarChartHandler as a2, PieChartHandler as a3, StackBarChartHandler as a4, axisFormatters as a5, groupDatesByYearAndMonth as a6, GaugeChartHandler as a7, TableViewHandler as a8, OverviewCardHandler as a9, isLogClassification as aA, HTTPMethod as aB, DashboardBuilderService as aC, DashboardStoreService as aD, isManagePagesDeleteResult as aE, ManagePages as aF, ManageBreadcrumb as aG, ManageFilterOnPage as aH, DynamicFiltersConfig as aI, ChartSettingsDrawer as aJ, DisplaySettings as aK, DefaultControlUi as aL, PieControlUi as aM, BarControlUi as aN, StackBarControlUi as aO, ManageItem as aP, CHART_TYPES as aQ, ManageItemService as aR, GeneralSettings as aS, DataSourceSettings as aT, ActionsSettings as aU, ChartViewer as aV, StyleStudioDrawer as aW, StyleSettingsRenderer as aX, expandResetPatches as aY, StyleField as aZ, SegmentedField as a_, TimelineHandler as aa, LineChartHandler as ab, SnapshotHandler as ac, ComparisonChartHandler as ad, SplitterChartHandler as ae, LevelCardHandler as af, MapChartHandler as ag, RingGaugeChartHandler as ah, SPlusChartHandler as ai, PhaseGateStepperHandler as aj, formatCurrency as ak, getCurrencySuffix as al, formatPercentage as am, formatNumber as an, formatDate as ao, createAxisFormatter as ap, createTooltipFormatter as aq, formatAxisLabel as ar, formatWordsUnderBar as as, formatXAxis as at, handleFiltersForCustom as au, handleFilterForCard as av, handleFilterForSnapshot as aw, DashboardList as ax, MODULE_CLASSIFICATION_LOG as ay, MODULE_CLASSIFICATION_LOG_NAME as az, DashboardDialogHeader as b, applyControlPatchesToPersisted as b$, ArrayBuilderField as b0, KeyValueMapField as b1, LegendOrderField as b2, ItemCardMenuComponent as b3, ChartFilterDrawer as b4, ItemContextToolbarComponent as b5, ItemConfigPopoverComponent as b6, GuidedConfigDialogComponent as b7, FilterChipsBarComponent as b8, FilterBuilderComponent as b9, datasourceToUi as bA, fieldsToUi as bB, filtersToUi as bC, styleToUi as bD, applyStyleToPersisted as bE, layoutToUi as bF, applyLayoutToPersisted as bG, labelLegendFormatToUi as bH, applyLabelLegendFormatToPersisted as bI, behaviorToUi as bJ, applyBehaviorToPersisted as bK, applyFilterChipsToPersisted as bL, persistedToUi as bM, buildAssembly as bN, STYLE_PRESETS as bO, presetsForCapability as bP, findPreset as bQ, validate as bR, hasBlockingIssues as bS, groupIssuesByDomain as bT, parseAdvancedJson as bU, deepMerge$1 as bV, formatForEditor as bW, CUSTOM_COLOR_OPTION as bX, readByPath$1 as bY, setByPath as bZ, applyControlPatchToPersisted as b_, DatasourcePanelComponent as ba, SchemaControlRendererComponent as bb, FilterByGroupPipe as bc, GetChartActionsPipe as bd, CHART_CAPABILITIES as be, getCapabilityById as bf, resolveCapability as bg, toBackendChartType as bh, normalizeChartTypeForRequest as bi, normalizeFilterOperation as bj, normalizeAggregateFunction as bk, normalizeFilters as bl, selectorFromLegacy as bm, moduleIdFromSelector as bn, toBackendSourceLink as bo, toFormSourceLink as bp, normalizeOnLoad as bq, normalizeBeforeSave as br, normalizeBeforeRequest as bs, CONFIG_DOMAINS as bt, domainsForCapability as bu, findDomain as bv, POPOVER_TABS as bw, POPOVER_TAB_SPECS as bx, titleToUi as by, applyTitleToPersisted as bz, cloneDeep$1 as c, getControlSchema as c0, listControlSchemaIds as c1, listControlSchemas as c2, getFallbackControlSchema as c3, flattenSchema as c4, resolveDisplayFields as c5, buildDisplayFieldPredicate as c6, bindingKey as c7, getBinding as c8, listBindings as c9, listBindingsForChart as ca, readBoundValue as cb, ITEM_GUIDANCE_REGISTRY as cc, describeGuidance as cd, ItemGuidanceService as ce, DashboardBuilder as d, DashboardViewer as e, switchAllKeysSmall$1 as f, getNestedData as g, dynamicTextReplace as h, dynamicReorder as i, generalConfiguration as j, formatValue as k, getLocalizedTitle as l, sortChartData as m, addCommasToNumber as n, sortDataTableView as o, isMobilePlatform$1 as p, getColorFromConditions as q, resolveDashboardDialogHeader as r, switchAllKeysToLower as s, CardFilterComponent as t, DynamicFiltersComponent as u, CardInfoComponent as v, ChartCardComponent as w, resolveEntityUserPhoto as x, EntityInfoComponent as y, normalizeDashboardCardEntityValue as z };
51933
- //# sourceMappingURL=masterteam-dashboard-builder-masterteam-dashboard-builder-CodhML2K.mjs.map
52038
+ export { ChartDataService as $, normalizeDashboardCardEntityValue as A, mergePropertyAppearance as B, CardContentComponent as C, DashboardItemStoreService as D, EChartComponent as E, FilterUtilsService as F, EntityPreviewCardComponent as G, HeaderCardComponent as H, ListStatisticCardComponent as I, MAP_FALLBACK_COLORS as J, isPlottable as K, LastHistoryLevelCardComponent as L, MAP_MARKER_PATH as M, plottableGroups as N, buildMapChartOption as O, PropertiesCardComponent as P, MAP_REGIONS as Q, DEFAULT_MAP_REGION_KEY as R, StaticFiltersComponent as S, MAP_DATA_ATTRIBUTION as T, resolveMapRegion as U, MapViewComponent as V, SkeletonCardComponent as W, resolveStatisticIconPlacement as X, StatisticCardComponent as Y, TableCardComponent as Z, TopbarCardComponent as _, DashboardItem as a, SegmentedField as a$, observeNearViewport as a0, loadImmediately as a1, DASHBOARD_ITEM_VISIBILITY as a2, BarChartHandler as a3, PieChartHandler as a4, StackBarChartHandler as a5, axisFormatters as a6, groupDatesByYearAndMonth as a7, GaugeChartHandler as a8, TableViewHandler as a9, MODULE_CLASSIFICATION_LOG_NAME as aA, isLogClassification as aB, HTTPMethod as aC, DashboardBuilderService as aD, DashboardStoreService as aE, isManagePagesDeleteResult as aF, ManagePages as aG, ManageBreadcrumb as aH, ManageFilterOnPage as aI, DynamicFiltersConfig as aJ, ChartSettingsDrawer as aK, DisplaySettings as aL, DefaultControlUi as aM, PieControlUi as aN, BarControlUi as aO, StackBarControlUi as aP, ManageItem as aQ, CHART_TYPES as aR, ManageItemService as aS, GeneralSettings as aT, DataSourceSettings as aU, ActionsSettings as aV, ChartViewer as aW, StyleStudioDrawer as aX, StyleSettingsRenderer as aY, expandResetPatches as aZ, StyleField as a_, OverviewCardHandler as aa, TimelineHandler as ab, LineChartHandler as ac, SnapshotHandler as ad, ComparisonChartHandler as ae, SplitterChartHandler as af, LevelCardHandler as ag, MapChartHandler as ah, RingGaugeChartHandler as ai, SPlusChartHandler as aj, PhaseGateStepperHandler as ak, formatCurrency as al, getCurrencySuffix as am, formatPercentage as an, formatNumber as ao, formatDate as ap, createAxisFormatter as aq, createTooltipFormatter as ar, formatAxisLabel as as, formatWordsUnderBar as at, formatXAxis as au, handleFiltersForCustom as av, handleFilterForCard as aw, handleFilterForSnapshot as ax, DashboardList as ay, MODULE_CLASSIFICATION_LOG as az, DashboardDialogHeader as b, applyControlPatchToPersisted as b$, ColorListField as b0, ArrayBuilderField as b1, KeyValueMapField as b2, LegendOrderField as b3, ItemCardMenuComponent as b4, ChartFilterDrawer as b5, ItemContextToolbarComponent as b6, ItemConfigPopoverComponent as b7, GuidedConfigDialogComponent as b8, FilterChipsBarComponent as b9, applyTitleToPersisted as bA, datasourceToUi as bB, fieldsToUi as bC, filtersToUi as bD, styleToUi as bE, applyStyleToPersisted as bF, layoutToUi as bG, applyLayoutToPersisted as bH, labelLegendFormatToUi as bI, applyLabelLegendFormatToPersisted as bJ, behaviorToUi as bK, applyBehaviorToPersisted as bL, applyFilterChipsToPersisted as bM, persistedToUi as bN, buildAssembly as bO, STYLE_PRESETS as bP, presetsForCapability as bQ, findPreset as bR, validate as bS, hasBlockingIssues as bT, groupIssuesByDomain as bU, parseAdvancedJson as bV, deepMerge$1 as bW, formatForEditor as bX, CUSTOM_COLOR_OPTION as bY, readByPath$1 as bZ, setByPath as b_, FilterBuilderComponent as ba, DatasourcePanelComponent as bb, SchemaControlRendererComponent as bc, FilterByGroupPipe as bd, GetChartActionsPipe as be, CHART_CAPABILITIES as bf, getCapabilityById as bg, resolveCapability as bh, toBackendChartType as bi, normalizeChartTypeForRequest as bj, normalizeFilterOperation as bk, normalizeAggregateFunction as bl, normalizeFilters as bm, selectorFromLegacy as bn, moduleIdFromSelector as bo, toBackendSourceLink as bp, toFormSourceLink as bq, normalizeOnLoad as br, normalizeBeforeSave as bs, normalizeBeforeRequest as bt, CONFIG_DOMAINS as bu, domainsForCapability as bv, findDomain as bw, POPOVER_TABS as bx, POPOVER_TAB_SPECS as by, titleToUi as bz, cloneDeep$1 as c, applyControlPatchesToPersisted as c0, getControlSchema as c1, listControlSchemaIds as c2, listControlSchemas as c3, getFallbackControlSchema as c4, flattenSchema as c5, resolveDisplayFields as c6, buildDisplayFieldPredicate as c7, bindingKey as c8, getBinding as c9, listBindings as ca, listBindingsForChart as cb, readBoundValue as cc, ITEM_GUIDANCE_REGISTRY as cd, describeGuidance as ce, ItemGuidanceService as cf, DashboardBuilder as d, DashboardViewer as e, switchAllKeysSmall$1 as f, getNestedData as g, dynamicTextReplace as h, dynamicReorder as i, generalConfiguration as j, formatValue as k, getLocalizedTitle as l, sortChartData as m, addCommasToNumber as n, sortDataTableView as o, isMobilePlatform$1 as p, getColorFromConditions as q, resolveDashboardDialogHeader as r, switchAllKeysToLower as s, CardFilterComponent as t, DynamicFiltersComponent as u, CardInfoComponent as v, ChartCardComponent as w, resolveEntityUserPhoto as x, resolveEntityCheckbox as y, EntityInfoComponent as z };
52039
+ //# sourceMappingURL=masterteam-dashboard-builder-masterteam-dashboard-builder-CNW8uIYA.mjs.map