@masterteam/dashboard-builder 0.0.63 → 0.0.64
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 +8 -8
- package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-BwJlS13Q.mjs → masterteam-dashboard-builder-dashboard-dialog.component-CuOSogTi.mjs} +2 -2
- package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-BwJlS13Q.mjs.map → masterteam-dashboard-builder-dashboard-dialog.component-CuOSogTi.mjs.map} +1 -1
- package/fesm2022/{masterteam-dashboard-builder-masterteam-dashboard-builder-BoSluyWN.mjs → masterteam-dashboard-builder-masterteam-dashboard-builder-DX6oucEs.mjs} +93 -4
- package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-DX6oucEs.mjs.map +1 -0
- package/fesm2022/masterteam-dashboard-builder.mjs +1 -1
- package/package.json +3 -3
- package/types/masterteam-dashboard-builder.d.ts +22 -4
- package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-BoSluyWN.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -261,14 +261,14 @@ Dashboard filters have two independent scopes:
|
|
|
261
261
|
ignore the page query-filter scope. The viewer opens a default-closed shared
|
|
262
262
|
MT drawer from its in-flow Manage Filters action, so the host does not need a
|
|
263
263
|
fixed sidebar or overlay CSS.
|
|
264
|
-
- Chart filter definitions live canonically in
|
|
265
|
-
`clientConfig.dynamicFilters`. Legacy
|
|
266
|
-
`clientConfig.extraFilters.dynamicFilters` is read and migrated when the chart
|
|
267
|
-
is edited. Runtime values are stored per widget identity and override a page
|
|
268
|
-
value with the same key for that widget only.
|
|
269
|
-
- Viewer `extraFilters` are host-owned context (for example, an informative
|
|
270
|
-
workspace's `currentId`). They are merged after page and chart values, so a
|
|
271
|
-
same-key runtime value cannot replace or clear the host's scope.
|
|
264
|
+
- Chart filter definitions live canonically in
|
|
265
|
+
`clientConfig.dynamicFilters`. Legacy
|
|
266
|
+
`clientConfig.extraFilters.dynamicFilters` is read and migrated when the chart
|
|
267
|
+
is edited. Runtime values are stored per widget identity and override a page
|
|
268
|
+
value with the same key for that widget only.
|
|
269
|
+
- Viewer `extraFilters` are host-owned context (for example, an informative
|
|
270
|
+
workspace's `currentId`). They are merged after page and chart values, so a
|
|
271
|
+
same-key runtime value cannot replace or clear the host's scope.
|
|
272
272
|
|
|
273
273
|
Both drawers edit a private draft. Apply commits and refreshes the relevant
|
|
274
274
|
scope; closing without Apply discards the draft. Clear replaces only the keys
|
|
@@ -4,7 +4,7 @@ import { CommonModule } from '@angular/common';
|
|
|
4
4
|
import { TranslocoService, TranslocoDirective } from '@jsverse/transloco';
|
|
5
5
|
import { ModalService } from '@masterteam/components/modal';
|
|
6
6
|
import { ModalRef } from '@masterteam/components/dialog';
|
|
7
|
-
import { D as DashboardItemStoreService, F as FilterUtilsService, a as DashboardItem } from './masterteam-dashboard-builder-masterteam-dashboard-builder-
|
|
7
|
+
import { D as DashboardItemStoreService, F as FilterUtilsService, a as DashboardItem } from './masterteam-dashboard-builder-masterteam-dashboard-builder-DX6oucEs.mjs';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Dashboard Dialog Component
|
|
@@ -124,4 +124,4 @@ function openDashboardDialog(modalService, config, params, options) {
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
export { DashboardDialogComponent, openDashboardDialog };
|
|
127
|
-
//# sourceMappingURL=masterteam-dashboard-builder-dashboard-dialog.component-
|
|
127
|
+
//# sourceMappingURL=masterteam-dashboard-builder-dashboard-dialog.component-CuOSogTi.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"masterteam-dashboard-builder-dashboard-dialog.component-BwJlS13Q.mjs","sources":["../../../../packages/masterteam/dashboard-builder/src/lib/dashboard-item/components/dashboard-dialog/dashboard-dialog.component.ts","../../../../packages/masterteam/dashboard-builder/src/lib/dashboard-item/components/dashboard-dialog/dashboard-dialog.component.html"],"sourcesContent":["/**\r\n * Dashboard Dialog Component\r\n *\r\n * A flexible dialog wrapper that renders a DashboardItem inside.\r\n * Uses the same ItemConfig structure - maximum code reuse.\r\n *\r\n * The dialog simply wraps DashboardItem, so any chart/table/card\r\n * that works inline will work in a dialog too.\r\n */\r\n\r\nimport {\r\n Component,\r\n inject,\r\n input,\r\n signal,\r\n computed,\r\n OnInit,\r\n} from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { TranslocoDirective, TranslocoService } from '@jsverse/transloco';\r\nimport { ModalService } from '@masterteam/components/modal';\r\nimport { ModalRef } from '@masterteam/components/dialog';\r\nimport { ItemConfig } from '../../../models/dashboard.model';\r\nimport { DashboardItemStoreService } from '../../services/item-store.service';\r\nimport { FilterUtilsService } from '../../services/filter-utils.service';\r\nimport { DashboardItem } from '../../dashboard-item';\r\n\r\n/**\r\n * Dashboard Dialog Component\r\n *\r\n * Opened via ModalService, renders a DashboardItem inside.\r\n * Usage:\r\n * this.modalService.open(DashboardDialogComponent, {\r\n * data: { config: itemConfig, params: queryParams }\r\n * });\r\n */\r\n@Component({\r\n selector: 'mt-dashboard-dialog',\r\n standalone: true,\r\n imports: [CommonModule, TranslocoDirective, DashboardItem],\r\n templateUrl: './dashboard-dialog.component.html',\r\n})\r\nexport class DashboardDialogComponent implements OnInit {\r\n private readonly itemStore = inject(DashboardItemStoreService);\r\n private readonly filterUtils = inject(FilterUtilsService);\r\n private readonly transloco = inject(TranslocoService);\r\n readonly modal = inject(ModalService);\r\n private readonly ref = inject(ModalRef);\r\n\r\n // Inputs from modal data\r\n readonly config = input<ItemConfig | null>(null);\r\n readonly params = input<Record<string, any>>({});\r\n readonly title = input<string | null>(null);\r\n readonly reportId = input<string | number | null>(null);\r\n\r\n // State\r\n readonly dialogConfig = signal<ItemConfig | null>(null);\r\n readonly actionParams = signal<Record<string, any>>({});\r\n\r\n // Computed\r\n readonly mergedParams = computed(() => ({\r\n ...this.params(),\r\n ...this.actionParams(),\r\n }));\r\n\r\n readonly processedConfig = computed(() => {\r\n const config = this.dialogConfig();\r\n if (!config) return null;\r\n\r\n // Deep clone and process filters\r\n const cloned = JSON.parse(JSON.stringify(config)) as ItemConfig;\r\n\r\n // Apply filter processing if service config exists\r\n if (cloned.serviceConfig) {\r\n const processed = this.filterUtils.handleFiltersForCustom(\r\n cloned.serviceConfig,\r\n this.mergedParams(),\r\n );\r\n cloned.serviceConfig = processed;\r\n }\r\n return cloned;\r\n });\r\n\r\n ngOnInit(): void {\r\n // Set config from input\r\n const config = this.config();\r\n if (config) {\r\n this.dialogConfig.set(config);\r\n }\r\n\r\n // Set params from input\r\n const params = this.params();\r\n if (params) {\r\n this.actionParams.set(params);\r\n }\r\n }\r\n\r\n /**\r\n * Close dialog\r\n */\r\n close(result?: any): void {\r\n this.ref.close(result);\r\n }\r\n\r\n /**\r\n * Handle actions from the inner DashboardItem\r\n */\r\n onItemAction(event: any): void {\r\n // If it's a close action, close the dialog\r\n if (event?.type === 'closeDialog') {\r\n this.close(event?.data);\r\n return;\r\n }\r\n\r\n // For navigation actions, close dialog and let parent handle\r\n if (event?.type === 'navigate' || event?.type === 'navigateTo') {\r\n this.close(event);\r\n return;\r\n }\r\n\r\n // For other action types, the inner mt-dashboard-item already\r\n // dispatches via ActionService — nothing more to do at the dialog host.\r\n }\r\n}\r\n\r\n/**\r\n * Helper service for opening dashboard dialogs\r\n */\r\nexport function openDashboardDialog(\r\n modalService: ModalService,\r\n config: ItemConfig,\r\n params?: Record<string, any>,\r\n options?: {\r\n title?: string;\r\n size?: 'sm' | 'md' | 'lg' | 'xl' | 'full';\r\n reportId?: string | number | null;\r\n },\r\n): ModalRef {\r\n const sizeClass = {\r\n sm: 'max-w-md',\r\n md: 'max-w-2xl',\r\n lg: 'max-w-4xl',\r\n xl: 'max-w-6xl',\r\n full: 'max-w-[95vw]',\r\n }[options?.size || 'lg'];\r\n\r\n const inputValues = {\r\n config,\r\n params: params || {},\r\n title: options?.title,\r\n reportId: options?.reportId ?? null,\r\n };\r\n return modalService.openModal(DashboardDialogComponent, 'dialog', {\r\n header: options?.title || '',\r\n styleClass: sizeClass,\r\n data: inputValues,\r\n inputValues,\r\n });\r\n}\r\n","<!--\r\n Inline height is intentional: the global `.mt-dialog .p-dialog-content\r\n .mt-modal-content { height:100% }` rule (common.css, unlayered) overrides any\r\n `h-[80vh]` class, and `.p-dialog` itself has no definite height, so a\r\n class-based height collapses to content. An inline style beats the unlayered\r\n rule, and `80vh` is viewport-relative (definite regardless of ancestors),\r\n giving the inner item -> table the bounded height it needs to scroll.\r\n padding-bottom is zeroed (the global 5rem reserves space for a footer this\r\n dialog does not render).\r\n-->\r\n<div\r\n [class]=\"modal.contentClass + ' flex min-h-[300px] flex-col p-0'\"\r\n style=\"height: 80vh; padding-bottom: 0\"\r\n *transloco=\"let t; prefix: 'dashboardBuilder'\"\r\n>\r\n <!-- Dashboard Item renders whatever the config specifies. A definite height\r\n lets the inner table own its scroll (its virtual window depends on the\r\n scroll container, not the outer dialog). -->\r\n @if (processedConfig()) {\r\n <mt-dashboard-item\r\n class=\"block min-h-0 flex-1\"\r\n [config]=\"processedConfig()!\"\r\n [queryParams]=\"mergedParams()\"\r\n [reportId]=\"reportId()\"\r\n [isDialog]=\"true\"\r\n (actionTriggered)=\"onItemAction($event)\"\r\n />\r\n } @else if (config()) {\r\n <!-- Config provided but still being processed -->\r\n <div class=\"flex flex-1 items-center justify-center\">\r\n <i class=\"pi pi-spin pi-spinner text-4xl text-primary\"></i>\r\n </div>\r\n } @else {\r\n <!-- No dialog config could be resolved (linked dialog deleted or failed to\r\n load). Show an explicit unavailable state instead of silently\r\n rendering the wrong widget. -->\r\n <div\r\n class=\"flex flex-1 flex-col items-center justify-center gap-3 px-6 text-center\"\r\n >\r\n <i class=\"pi pi-exclamation-triangle text-4xl text-surface-400\"></i>\r\n <p class=\"text-surface-600 dark:text-surface-300\">\r\n {{ t(\"dialogUnavailable\") }}\r\n </p>\r\n </div>\r\n }\r\n</div>\r\n<!--\r\n<div [class]=\"modal.footerClass\" *transloco=\"let t; prefix: 'dashboard'\">\r\n <mt-button [label]=\"t('close')\" severity=\"secondary\" (onClick)=\"close()\" />\r\n</div> -->\r\n"],"names":[],"mappings":";;;;;;;;AAAA;;;;;;;;AAQG;AAmBH;;;;;;;;AAQG;MAOU,wBAAwB,CAAA;AAClB,IAAA,SAAS,GAAG,MAAM,CAAC,yBAAyB,CAAC;AAC7C,IAAA,WAAW,GAAG,MAAM,CAAC,kBAAkB,CAAC;AACxC,IAAA,SAAS,GAAG,MAAM,CAAC,gBAAgB,CAAC;AAC5C,IAAA,KAAK,GAAG,MAAM,CAAC,YAAY,CAAC;AACpB,IAAA,GAAG,GAAG,MAAM,CAAC,QAAQ,CAAC;;AAG9B,IAAA,MAAM,GAAG,KAAK,CAAoB,IAAI,6EAAC;AACvC,IAAA,MAAM,GAAG,KAAK,CAAsB,EAAE,6EAAC;AACvC,IAAA,KAAK,GAAG,KAAK,CAAgB,IAAI,4EAAC;AAClC,IAAA,QAAQ,GAAG,KAAK,CAAyB,IAAI,+EAAC;;AAG9C,IAAA,YAAY,GAAG,MAAM,CAAoB,IAAI,mFAAC;AAC9C,IAAA,YAAY,GAAG,MAAM,CAAsB,EAAE,mFAAC;;AAG9C,IAAA,YAAY,GAAG,QAAQ,CAAC,OAAO;QACtC,GAAG,IAAI,CAAC,MAAM,EAAE;QAChB,GAAG,IAAI,CAAC,YAAY,EAAE;AACvB,KAAA,CAAC,mFAAC;AAEM,IAAA,eAAe,GAAG,QAAQ,CAAC,MAAK;AACvC,QAAA,MAAM,MAAM,GAAG,IAAI,CAAC,YAAY,EAAE;AAClC,QAAA,IAAI,CAAC,MAAM;AAAE,YAAA,OAAO,IAAI;;AAGxB,QAAA,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAe;;AAG/D,QAAA,IAAI,MAAM,CAAC,aAAa,EAAE;AACxB,YAAA,MAAM,SAAS,GA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AAS;AACrB,QAAA,IAAI,EAAE,WAAW;QACjB,WAAW;AACZ,KAAA,CAAC;AACJ;;;;"}
|
|
1
|
+
{"version":3,"file":"masterteam-dashboard-builder-dashboard-dialog.component-CuOSogTi.mjs","sources":["../../../../packages/masterteam/dashboard-builder/src/lib/dashboard-item/components/dashboard-dialog/dashboard-dialog.component.ts","../../../../packages/masterteam/dashboard-builder/src/lib/dashboard-item/components/dashboard-dialog/dashboard-dialog.component.html"],"sourcesContent":["/**\r\n * Dashboard Dialog Component\r\n *\r\n * A flexible dialog wrapper that renders a DashboardItem inside.\r\n * Uses the same ItemConfig structure - maximum code reuse.\r\n *\r\n * The dialog simply wraps DashboardItem, so any chart/table/card\r\n * that works inline will work in a dialog too.\r\n */\r\n\r\nimport {\r\n Component,\r\n inject,\r\n input,\r\n signal,\r\n computed,\r\n OnInit,\r\n} from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { TranslocoDirective, TranslocoService } from '@jsverse/transloco';\r\nimport { ModalService } from '@masterteam/components/modal';\r\nimport { ModalRef } from '@masterteam/components/dialog';\r\nimport { ItemConfig } from '../../../models/dashboard.model';\r\nimport { DashboardItemStoreService } from '../../services/item-store.service';\r\nimport { FilterUtilsService } from '../../services/filter-utils.service';\r\nimport { DashboardItem } from '../../dashboard-item';\r\n\r\n/**\r\n * Dashboard Dialog Component\r\n *\r\n * Opened via ModalService, renders a DashboardItem inside.\r\n * Usage:\r\n * this.modalService.open(DashboardDialogComponent, {\r\n * data: { config: itemConfig, params: queryParams }\r\n * });\r\n */\r\n@Component({\r\n selector: 'mt-dashboard-dialog',\r\n standalone: true,\r\n imports: [CommonModule, TranslocoDirective, DashboardItem],\r\n templateUrl: './dashboard-dialog.component.html',\r\n})\r\nexport class DashboardDialogComponent implements OnInit {\r\n private readonly itemStore = inject(DashboardItemStoreService);\r\n private readonly filterUtils = inject(FilterUtilsService);\r\n private readonly transloco = inject(TranslocoService);\r\n readonly modal = inject(ModalService);\r\n private readonly ref = inject(ModalRef);\r\n\r\n // Inputs from modal data\r\n readonly config = input<ItemConfig | null>(null);\r\n readonly params = input<Record<string, any>>({});\r\n readonly title = input<string | null>(null);\r\n readonly reportId = input<string | number | null>(null);\r\n\r\n // State\r\n readonly dialogConfig = signal<ItemConfig | null>(null);\r\n readonly actionParams = signal<Record<string, any>>({});\r\n\r\n // Computed\r\n readonly mergedParams = computed(() => ({\r\n ...this.params(),\r\n ...this.actionParams(),\r\n }));\r\n\r\n readonly processedConfig = computed(() => {\r\n const config = this.dialogConfig();\r\n if (!config) return null;\r\n\r\n // Deep clone and process filters\r\n const cloned = JSON.parse(JSON.stringify(config)) as ItemConfig;\r\n\r\n // Apply filter processing if service config exists\r\n if (cloned.serviceConfig) {\r\n const processed = this.filterUtils.handleFiltersForCustom(\r\n cloned.serviceConfig,\r\n this.mergedParams(),\r\n );\r\n cloned.serviceConfig = processed;\r\n }\r\n return cloned;\r\n });\r\n\r\n ngOnInit(): void {\r\n // Set config from input\r\n const config = this.config();\r\n if (config) {\r\n this.dialogConfig.set(config);\r\n }\r\n\r\n // Set params from input\r\n const params = this.params();\r\n if (params) {\r\n this.actionParams.set(params);\r\n }\r\n }\r\n\r\n /**\r\n * Close dialog\r\n */\r\n close(result?: any): void {\r\n this.ref.close(result);\r\n }\r\n\r\n /**\r\n * Handle actions from the inner DashboardItem\r\n */\r\n onItemAction(event: any): void {\r\n // If it's a close action, close the dialog\r\n if (event?.type === 'closeDialog') {\r\n this.close(event?.data);\r\n return;\r\n }\r\n\r\n // For navigation actions, close dialog and let parent handle\r\n if (event?.type === 'navigate' || event?.type === 'navigateTo') {\r\n this.close(event);\r\n return;\r\n }\r\n\r\n // For other action types, the inner mt-dashboard-item already\r\n // dispatches via ActionService — nothing more to do at the dialog host.\r\n }\r\n}\r\n\r\n/**\r\n * Helper service for opening dashboard dialogs\r\n */\r\nexport function openDashboardDialog(\r\n modalService: ModalService,\r\n config: ItemConfig,\r\n params?: Record<string, any>,\r\n options?: {\r\n title?: string;\r\n size?: 'sm' | 'md' | 'lg' | 'xl' | 'full';\r\n reportId?: string | number | null;\r\n },\r\n): ModalRef {\r\n const sizeClass = {\r\n sm: 'max-w-md',\r\n md: 'max-w-2xl',\r\n lg: 'max-w-4xl',\r\n xl: 'max-w-6xl',\r\n full: 'max-w-[95vw]',\r\n }[options?.size || 'lg'];\r\n\r\n const inputValues = {\r\n config,\r\n params: params || {},\r\n title: options?.title,\r\n reportId: options?.reportId ?? null,\r\n };\r\n return modalService.openModal(DashboardDialogComponent, 'dialog', {\r\n header: options?.title || '',\r\n styleClass: sizeClass,\r\n data: inputValues,\r\n inputValues,\r\n });\r\n}\r\n","<!--\r\n Inline height is intentional: the global `.mt-dialog .p-dialog-content\r\n .mt-modal-content { height:100% }` rule (common.css, unlayered) overrides any\r\n `h-[80vh]` class, and `.p-dialog` itself has no definite height, so a\r\n class-based height collapses to content. An inline style beats the unlayered\r\n rule, and `80vh` is viewport-relative (definite regardless of ancestors),\r\n giving the inner item -> table the bounded height it needs to scroll.\r\n padding-bottom is zeroed (the global 5rem reserves space for a footer this\r\n dialog does not render).\r\n-->\r\n<div\r\n [class]=\"modal.contentClass + ' flex min-h-[300px] flex-col p-0'\"\r\n style=\"height: 80vh; padding-bottom: 0\"\r\n *transloco=\"let t; prefix: 'dashboardBuilder'\"\r\n>\r\n <!-- Dashboard Item renders whatever the config specifies. A definite height\r\n lets the inner table own its scroll (its virtual window depends on the\r\n scroll container, not the outer dialog). -->\r\n @if (processedConfig()) {\r\n <mt-dashboard-item\r\n class=\"block min-h-0 flex-1\"\r\n [config]=\"processedConfig()!\"\r\n [queryParams]=\"mergedParams()\"\r\n [reportId]=\"reportId()\"\r\n [isDialog]=\"true\"\r\n (actionTriggered)=\"onItemAction($event)\"\r\n />\r\n } @else if (config()) {\r\n <!-- Config provided but still being processed -->\r\n <div class=\"flex flex-1 items-center justify-center\">\r\n <i class=\"pi pi-spin pi-spinner text-4xl text-primary\"></i>\r\n </div>\r\n } @else {\r\n <!-- No dialog config could be resolved (linked dialog deleted or failed to\r\n load). Show an explicit unavailable state instead of silently\r\n rendering the wrong widget. -->\r\n <div\r\n class=\"flex flex-1 flex-col items-center justify-center gap-3 px-6 text-center\"\r\n >\r\n <i class=\"pi pi-exclamation-triangle text-4xl text-surface-400\"></i>\r\n <p class=\"text-surface-600 dark:text-surface-300\">\r\n {{ t(\"dialogUnavailable\") }}\r\n </p>\r\n </div>\r\n }\r\n</div>\r\n<!--\r\n<div [class]=\"modal.footerClass\" *transloco=\"let t; prefix: 'dashboard'\">\r\n <mt-button [label]=\"t('close')\" severity=\"secondary\" (onClick)=\"close()\" />\r\n</div> -->\r\n"],"names":[],"mappings":";;;;;;;;AAAA;;;;;;;;AAQG;AAmBH;;;;;;;;AAQG;MAOU,wBAAwB,CAAA;AAClB,IAAA,SAAS,GAAG,MAAM,CAAC,yBAAyB,CAAC;AAC7C,IAAA,WAAW,GAAG,MAAM,CAAC,kBAAkB,CAAC;AACxC,IAAA,SAAS,GAAG,MAAM,CAAC,gBAAgB,CAAC;AAC5C,IAAA,KAAK,GAAG,MAAM,CAAC,YAAY,CAAC;AACpB,IAAA,GAAG,GAAG,MAAM,CAAC,QAAQ,CAAC;;AAG9B,IAAA,MAAM,GAAG,KAAK,CAAoB,IAAI,6EAAC;AACvC,IAAA,MAAM,GAAG,KAAK,CAAsB,EAAE,6EAAC;AACvC,IAAA,KAAK,GAAG,KAAK,CAAgB,IAAI,4EAAC;AAClC,IAAA,QAAQ,GAAG,KAAK,CAAyB,IAAI,+EAAC;;AAG9C,IAAA,YAAY,GAAG,MAAM,CAAoB,IAAI,mFAAC;AAC9C,IAAA,YAAY,GAAG,MAAM,CAAsB,EAAE,mFAAC;;AAG9C,IAAA,YAAY,GAAG,QAAQ,CAAC,OAAO;QACtC,GAAG,IAAI,CAAC,MAAM,EAAE;QAChB,GAAG,IAAI,CAAC,YAAY,EAAE;AACvB,KAAA,CAAC,mFAAC;AAEM,IAAA,eAAe,GAAG,QAAQ,C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MAAM;QACN,MAAM,EAAE,MAAM,IAAI,EAAE;QACpB,KAAK,EAAE,OAAO,EAAE,KAAK;AACrB,QAAA,QAAQ,EAAE,OAAO,EAAE,QAAQ,IAAI,IAAI;KACpC;AACD,IAAA,OAAO,YAAY,CAAC,SAAS,CAAC,wBAAwB,EAAE,QAAQ,EAAE;AAChE,QAAA,MAAM,EAAE,OAAO,EAAE,KAAK,IAAI,EAAE;AAC5B,QAAA,UAAU,EAAE,SAAS;AACrB,QAAA,IAAI,EAAE,WAAW;QACjB,WAAW;AACZ,KAAA,CAAC;AACJ;;;;"}
|
|
@@ -8097,7 +8097,9 @@ const SCHEMA_DEFS = [
|
|
|
8097
8097
|
sections: [
|
|
8098
8098
|
...COMMON_CHART_BASE,
|
|
8099
8099
|
TIMELINE_SECTION,
|
|
8100
|
-
|
|
8100
|
+
// Timeline only needs "Show legend" + "Legend order" (same as tables) —
|
|
8101
|
+
// legend position/icon don't apply to the timeline renderer.
|
|
8102
|
+
TABLE_LEGEND_SECTION,
|
|
8101
8103
|
FORMAT_SECTION,
|
|
8102
8104
|
...COMMON_CHART_TAIL,
|
|
8103
8105
|
],
|
|
@@ -21387,6 +21389,13 @@ class ChartDataService {
|
|
|
21387
21389
|
? stripRuntimeFlags(svcConfig)
|
|
21388
21390
|
: handleFiltersForCustom(svcConfig, filters, getDynamicFilterRequestConfig(clientConfig));
|
|
21389
21391
|
const body = normalizeBeforeRequest(substituted);
|
|
21392
|
+
console.log(`[ChartDataService] Final custom chart request:\n${JSON.stringify({
|
|
21393
|
+
dashboardId: serviceConfig?.dashboardId,
|
|
21394
|
+
serviceConfigIndex: index,
|
|
21395
|
+
url,
|
|
21396
|
+
runtimeFilters: filters ?? {},
|
|
21397
|
+
selection: body?.['selection'] ?? [],
|
|
21398
|
+
}, null, 2)}`);
|
|
21390
21399
|
return this.http
|
|
21391
21400
|
.post(url, body, this.withCacheScope(config, { headers }))
|
|
21392
21401
|
.pipe(map$1((value) => value?.data));
|
|
@@ -21406,6 +21415,12 @@ class ChartDataService {
|
|
|
21406
21415
|
// Final BE-safety normalization: chart type aliases (LineV2Chart→LineChart,
|
|
21407
21416
|
// splitChart→SplitChart), source-link DTO keys, selector backfill.
|
|
21408
21417
|
const payload = normalizeBeforeRequest(substituted);
|
|
21418
|
+
console.log(`[ChartDataService] Final custom chart request:\n${JSON.stringify({
|
|
21419
|
+
dashboardId: serviceConfig?.dashboardId,
|
|
21420
|
+
url,
|
|
21421
|
+
runtimeFilters: filters ?? {},
|
|
21422
|
+
selection: payload?.['selection'] ?? [],
|
|
21423
|
+
}, null, 2)}`);
|
|
21409
21424
|
return this.http
|
|
21410
21425
|
.post(url, payload, this.withCacheScope(config, { headers }))
|
|
21411
21426
|
.pipe(map$1((res) => res?.data || res));
|
|
@@ -22168,7 +22183,7 @@ class ActionService {
|
|
|
22168
22183
|
dialogConfig?.clientConfig?.title?.['ar'] ||
|
|
22169
22184
|
'';
|
|
22170
22185
|
// Dynamically import DashboardDialogComponent to avoid circular dependency
|
|
22171
|
-
import('./masterteam-dashboard-builder-dashboard-dialog.component-
|
|
22186
|
+
import('./masterteam-dashboard-builder-dashboard-dialog.component-CuOSogTi.mjs').then(({ DashboardDialogComponent }) => {
|
|
22172
22187
|
// Open dialog using ModalService
|
|
22173
22188
|
this.modalService.openModal(DashboardDialogComponent, 'dialog', {
|
|
22174
22189
|
header: title,
|
|
@@ -27261,6 +27276,40 @@ class TableCardComponent {
|
|
|
27261
27276
|
const config = this.configurationItem();
|
|
27262
27277
|
return config?.clientConfig?.['tableFormat'] || null;
|
|
27263
27278
|
}, ...(ngDevMode ? [{ debugName: "tableStyleConfig" }] : /* istanbul ignore next */ []));
|
|
27279
|
+
/** Last applied `column|direction` signature, to ignore unrelated edits. */
|
|
27280
|
+
lastSortSig = '';
|
|
27281
|
+
/**
|
|
27282
|
+
* Re-apply the configured sort live whenever `tableFormat.sortConfig`
|
|
27283
|
+
* changes. buildTable() only sorts on data load, so edits to the sort
|
|
27284
|
+
* column/direction in the settings drawer would otherwise not reflect in the
|
|
27285
|
+
* preview until the next data refresh. Reads/writes of rows + columns run
|
|
27286
|
+
* untracked so this never loops, and a signature guard skips unrelated config
|
|
27287
|
+
* edits (colors, labels) plus manual header sorts, which don't touch the
|
|
27288
|
+
* persisted sort config.
|
|
27289
|
+
*/
|
|
27290
|
+
_sortConfigSync = effect(() => {
|
|
27291
|
+
const sortConfig = this.tableStyleConfig()?.sortConfig;
|
|
27292
|
+
const column = sortConfig?.column ?? '';
|
|
27293
|
+
const direction = sortConfig?.direction ?? 'asc';
|
|
27294
|
+
const sig = `${column}|${direction}`;
|
|
27295
|
+
untracked(() => {
|
|
27296
|
+
if (sig === this.lastSortSig)
|
|
27297
|
+
return;
|
|
27298
|
+
const hadColumn = Boolean(this.lastSortSig.split('|')[0]);
|
|
27299
|
+
this.lastSortSig = sig;
|
|
27300
|
+
const data = this.rawData();
|
|
27301
|
+
if (!data)
|
|
27302
|
+
return;
|
|
27303
|
+
if (column) {
|
|
27304
|
+
this.applyDefaultSort();
|
|
27305
|
+
}
|
|
27306
|
+
else if (hadColumn) {
|
|
27307
|
+
// A configured sort column was cleared → rebuild to restore the
|
|
27308
|
+
// natural (data) order.
|
|
27309
|
+
this.buildTable(data);
|
|
27310
|
+
}
|
|
27311
|
+
});
|
|
27312
|
+
}, ...(ngDevMode ? [{ debugName: "_sortConfigSync" }] : /* istanbul ignore next */ []));
|
|
27264
27313
|
/**
|
|
27265
27314
|
* Hide the table's column-header (subheader) row.
|
|
27266
27315
|
* Reads `clientConfig.tableFormat.hideTableSubheader`. Gated: defaults to
|
|
@@ -30857,6 +30906,12 @@ class DashboardItem {
|
|
|
30857
30906
|
return;
|
|
30858
30907
|
}
|
|
30859
30908
|
const filters = this.buildRequestFilters(dashboardId);
|
|
30909
|
+
console.log(`[DashboardItem] Request filters ready:\n${JSON.stringify({
|
|
30910
|
+
dashboardId,
|
|
30911
|
+
reportId: this.reportId(),
|
|
30912
|
+
receivedExtraFilters: this.extraFilters() ?? {},
|
|
30913
|
+
mergedFilters: filters,
|
|
30914
|
+
}, null, 2)}`);
|
|
30860
30915
|
this.dataRequestSubscription = this.chartDataService
|
|
30861
30916
|
.fetchChartData(config, filters, this.reportId())
|
|
30862
30917
|
.pipe(catchError((error) => {
|
|
@@ -32087,6 +32142,16 @@ const SHADOW_SHAPES$1 = {
|
|
|
32087
32142
|
};
|
|
32088
32143
|
const SHADOW_ARRAY_PATH = 'clientConfig.configAsType.cardStyleConfig.shadows';
|
|
32089
32144
|
const LEGEND_COLOR_OVERRIDES_PATH = 'clientConfig.configAsType.legend.colorOverrides';
|
|
32145
|
+
// The "Show top border" toggle only writes `border-top-show`; the renderer
|
|
32146
|
+
// reads `border-top-color` and otherwise falls back to `var(--primary-color)`.
|
|
32147
|
+
// Enabling the toggle therefore has to seed the top-border color from the
|
|
32148
|
+
// current "Border color" value (or its schema default) so the border renders
|
|
32149
|
+
// with the color the picker shows instead of the primary-color fallback.
|
|
32150
|
+
const BORDER_TOP_SHOW_SUFFIX = 'border-top-show';
|
|
32151
|
+
const BORDER_COLOR_PATH = 'clientConfig.displayConfig.StyleConfig.border-color';
|
|
32152
|
+
const BORDER_TOP_COLOR_PATH = 'clientConfig.displayConfig.StyleConfig.border-top-color';
|
|
32153
|
+
/** Mirrors the "Border color" control default in CARD_STYLE_SECTION. */
|
|
32154
|
+
const DEFAULT_BORDER_COLOR = '#e5e7eb';
|
|
32090
32155
|
/** Structural value equality (handles deep-cloned reference-typed echoes). */
|
|
32091
32156
|
function valuesEqual(a, b) {
|
|
32092
32157
|
if (a === b)
|
|
@@ -32317,12 +32382,31 @@ class StyleField {
|
|
|
32317
32382
|
return;
|
|
32318
32383
|
}
|
|
32319
32384
|
this.patch.emit({ path: field.path, value });
|
|
32385
|
+
// Enabling "Show top border" seeds the top-border color so it renders with
|
|
32386
|
+
// the color shown in the "Border color" picker (not the primary fallback).
|
|
32387
|
+
if (field.path.endsWith(BORDER_TOP_SHOW_SUFFIX) && value) {
|
|
32388
|
+
this.seedTopBorderColor();
|
|
32389
|
+
}
|
|
32320
32390
|
// Mirror to alternate paths some chart types' renderers read, so one
|
|
32321
32391
|
// control reflects across all chart types (issue #984).
|
|
32322
32392
|
for (const mp of field.mirrorPaths ?? []) {
|
|
32323
32393
|
this.patch.emit({ path: mp, value });
|
|
32324
32394
|
}
|
|
32325
32395
|
}
|
|
32396
|
+
/**
|
|
32397
|
+
* When the top border is switched on and no top-border color is stored yet,
|
|
32398
|
+
* emit one derived from the current "Border color" value (or the schema
|
|
32399
|
+
* default) so the border color matches what the picker displays.
|
|
32400
|
+
*/
|
|
32401
|
+
seedTopBorderColor() {
|
|
32402
|
+
const persisted = this.persisted();
|
|
32403
|
+
const existing = readByPath$1(persisted, BORDER_TOP_COLOR_PATH);
|
|
32404
|
+
if (typeof existing === 'string' && existing)
|
|
32405
|
+
return;
|
|
32406
|
+
const general = readByPath$1(persisted, BORDER_COLOR_PATH);
|
|
32407
|
+
const color = typeof general === 'string' && general ? general : DEFAULT_BORDER_COLOR;
|
|
32408
|
+
this.patch.emit({ path: BORDER_TOP_COLOR_PATH, value: color });
|
|
32409
|
+
}
|
|
32326
32410
|
onLegendColorChange(change) {
|
|
32327
32411
|
this.patch.emit({
|
|
32328
32412
|
path: LEGEND_COLOR_OVERRIDES_PATH,
|
|
@@ -44338,7 +44422,12 @@ class DashboardViewer {
|
|
|
44338
44422
|
this.dashboardService.filters.set(filters);
|
|
44339
44423
|
}, ...(ngDevMode ? [{ debugName: "filtersDataEffect" }] : /* istanbul ignore next */ []));
|
|
44340
44424
|
extraFiltersEffect = effect(() => {
|
|
44341
|
-
const
|
|
44425
|
+
const extraFilters = this.extraFilters() ?? {};
|
|
44426
|
+
const signature = JSON.stringify(extraFilters);
|
|
44427
|
+
console.log(`[DashboardViewer] Extra filters received:\n${JSON.stringify({
|
|
44428
|
+
pageId: this.pageId(),
|
|
44429
|
+
extraFilters,
|
|
44430
|
+
}, null, 2)}`);
|
|
44342
44431
|
if (this.lastExtraFiltersSignature === null) {
|
|
44343
44432
|
this.lastExtraFiltersSignature = signature;
|
|
44344
44433
|
return;
|
|
@@ -48154,4 +48243,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
|
|
|
48154
48243
|
*/
|
|
48155
48244
|
|
|
48156
48245
|
export { RingGaugeChartHandler as $, StatisticCardComponent as A, TopbarCardComponent as B, CardContentComponent as C, DashboardItemStoreService as D, EChartComponent as E, FilterUtilsService as F, ChartDataService as G, HeaderCardComponent as H, BarChartHandler as I, PieChartHandler as J, StackBarChartHandler as K, LastHistoryLevelCardComponent as L, axisFormatters as M, groupDatesByYearAndMonth as N, GaugeChartHandler as O, PropertiesCardComponent as P, TableViewHandler as Q, OverviewCardHandler as R, StaticFiltersComponent as S, TableCardComponent as T, TimelineHandler as U, LineChartHandler as V, SnapshotHandler as W, ComparisonChartHandler as X, SplitterChartHandler as Y, LevelCardHandler as Z, MapChartHandler as _, DashboardItem as a, normalizeAggregateFunction as a$, SPlusChartHandler as a0, PhaseGateStepperHandler as a1, formatCurrency as a2, getCurrencySuffix as a3, formatPercentage as a4, formatNumber as a5, formatDate as a6, createAxisFormatter as a7, createTooltipFormatter as a8, formatAxisLabel as a9, ChartViewer as aA, StyleStudioDrawer as aB, StyleSettingsRenderer as aC, expandResetPatches as aD, StyleField as aE, SegmentedField as aF, ColorListField as aG, ArrayBuilderField as aH, KeyValueMapField as aI, LegendOrderField as aJ, ItemCardMenuComponent as aK, ChartFilterDrawer as aL, ItemContextToolbarComponent as aM, ItemConfigPopoverComponent as aN, GuidedConfigDialogComponent as aO, FilterChipsBarComponent as aP, FilterBuilderComponent as aQ, DatasourcePanelComponent as aR, SchemaControlRendererComponent as aS, FilterByGroupPipe as aT, GetChartActionsPipe as aU, CHART_CAPABILITIES as aV, getCapabilityById as aW, resolveCapability as aX, toBackendChartType as aY, normalizeChartTypeForRequest as aZ, normalizeFilterOperation as a_, formatWordsUnderBar as aa, formatXAxis as ab, handleFiltersForCustom as ac, handleFilterForCard as ad, handleFilterForSnapshot as ae, DashboardList as af, HTTPMethod as ag, DashboardBuilderService as ah, DashboardStoreService as ai, isManagePagesDeleteResult as aj, ManagePages as ak, ManageBreadcrumb as al, ManageFilterOnPage as am, DynamicFiltersConfig as an, ChartSettingsDrawer as ao, DisplaySettings as ap, DefaultControlUi as aq, PieControlUi as ar, BarControlUi as as, StackBarControlUi as at, ManageItem as au, CHART_TYPES as av, ManageItemService as aw, GeneralSettings as ax, DataSourceSettings as ay, ActionsSettings as az, DashboardBuilder as b, normalizeFilters as b0, selectorFromLegacy as b1, moduleIdFromSelector as b2, toBackendSourceLink as b3, toFormSourceLink as b4, normalizeOnLoad as b5, normalizeBeforeSave as b6, normalizeBeforeRequest as b7, CONFIG_DOMAINS as b8, domainsForCapability as b9, deepMerge$1 as bA, formatForEditor as bB, readByPath$1 as bC, setByPath as bD, applyControlPatchToPersisted as bE, applyControlPatchesToPersisted as bF, getControlSchema as bG, listControlSchemaIds as bH, listControlSchemas as bI, getFallbackControlSchema as bJ, flattenSchema as bK, resolveDisplayFields as bL, buildDisplayFieldPredicate as bM, bindingKey as bN, getBinding as bO, listBindings as bP, listBindingsForChart as bQ, readBoundValue as bR, ITEM_GUIDANCE_REGISTRY as bS, describeGuidance as bT, ItemGuidanceService as bU, findDomain as ba, POPOVER_TABS as bb, POPOVER_TAB_SPECS as bc, titleToUi as bd, applyTitleToPersisted as be, datasourceToUi as bf, fieldsToUi as bg, filtersToUi as bh, styleToUi as bi, applyStyleToPersisted as bj, layoutToUi as bk, applyLayoutToPersisted as bl, labelLegendFormatToUi as bm, applyLabelLegendFormatToPersisted as bn, behaviorToUi as bo, applyBehaviorToPersisted as bp, applyFilterChipsToPersisted as bq, persistedToUi as br, buildAssembly as bs, STYLE_PRESETS as bt, presetsForCapability as bu, findPreset as bv, validate as bw, hasBlockingIssues as bx, groupIssuesByDomain as by, parseAdvancedJson as bz, cloneDeep$1 as c, DashboardViewer as d, switchAllKeysSmall$1 as e, dynamicTextReplace as f, getNestedData as g, dynamicReorder as h, generalConfiguration as i, formatValue as j, getLocalizedTitle as k, sortChartData as l, addCommasToNumber as m, sortDataTableView as n, isMobilePlatform$1 as o, getColorFromConditions as p, CardFilterComponent as q, DynamicFiltersComponent as r, switchAllKeysToLower as s, CardInfoComponent as t, ChartCardComponent as u, EntityInfoComponent as v, normalizeDashboardCardEntityValue as w, EntityPreviewCardComponent as x, ListStatisticCardComponent as y, SkeletonCardComponent as z };
|
|
48157
|
-
//# sourceMappingURL=masterteam-dashboard-builder-masterteam-dashboard-builder-
|
|
48246
|
+
//# sourceMappingURL=masterteam-dashboard-builder-masterteam-dashboard-builder-DX6oucEs.mjs.map
|