@memberjunction/ng-entity-viewer 6.2.0-edge.5 → 6.2.0-edge.7
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 +28 -0
- package/dist/lib/aggregate-setup-dialog/aggregate-setup-dialog.component.d.ts +48 -1
- package/dist/lib/aggregate-setup-dialog/aggregate-setup-dialog.component.d.ts.map +1 -1
- package/dist/lib/aggregate-setup-dialog/aggregate-setup-dialog.component.js +631 -279
- package/dist/lib/aggregate-setup-dialog/aggregate-setup-dialog.component.js.map +1 -1
- package/dist/lib/entity-cards/entity-cards.component.d.ts +2 -0
- package/dist/lib/entity-cards/entity-cards.component.d.ts.map +1 -1
- package/dist/lib/entity-cards/entity-cards.component.js +30 -2
- package/dist/lib/entity-cards/entity-cards.component.js.map +1 -1
- package/dist/lib/entity-data-grid/entity-data-grid.component.d.ts +162 -3
- package/dist/lib/entity-data-grid/entity-data-grid.component.d.ts.map +1 -1
- package/dist/lib/entity-data-grid/entity-data-grid.component.js +976 -300
- package/dist/lib/entity-data-grid/entity-data-grid.component.js.map +1 -1
- package/dist/lib/entity-data-grid/open-in-excel.d.ts +40 -0
- package/dist/lib/entity-data-grid/open-in-excel.d.ts.map +1 -0
- package/dist/lib/entity-data-grid/open-in-excel.js +60 -0
- package/dist/lib/entity-data-grid/open-in-excel.js.map +1 -0
- package/dist/lib/entity-record-detail-panel/entity-record-detail-panel.component.d.ts +42 -0
- package/dist/lib/entity-record-detail-panel/entity-record-detail-panel.component.d.ts.map +1 -1
- package/dist/lib/entity-record-detail-panel/entity-record-detail-panel.component.js +109 -11
- package/dist/lib/entity-record-detail-panel/entity-record-detail-panel.component.js.map +1 -1
- package/dist/lib/entity-viewer/entity-viewer.component.d.ts +51 -3
- package/dist/lib/entity-viewer/entity-viewer.component.d.ts.map +1 -1
- package/dist/lib/entity-viewer/entity-viewer.component.js +222 -53
- package/dist/lib/entity-viewer/entity-viewer.component.js.map +1 -1
- package/dist/lib/entity-viewer/view-property-chips.d.ts +17 -0
- package/dist/lib/entity-viewer/view-property-chips.d.ts.map +1 -0
- package/dist/lib/entity-viewer/view-property-chips.js +42 -0
- package/dist/lib/entity-viewer/view-property-chips.js.map +1 -0
- package/dist/lib/recycle-bin/recycle-bin-chip.component.d.ts.map +1 -1
- package/dist/lib/recycle-bin/recycle-bin-chip.component.js +5 -4
- package/dist/lib/recycle-bin/recycle-bin-chip.component.js.map +1 -1
- package/dist/lib/recycle-bin/recycle-bin.component.js +3 -3
- package/dist/lib/recycle-bin/recycle-bin.component.js.map +1 -1
- package/dist/lib/utils/record.util.d.ts +44 -1
- package/dist/lib/utils/record.util.d.ts.map +1 -1
- package/dist/lib/utils/record.util.js +142 -0
- package/dist/lib/utils/record.util.js.map +1 -1
- package/dist/lib/view-config-panel/view-config-panel.component.d.ts +408 -55
- package/dist/lib/view-config-panel/view-config-panel.component.d.ts.map +1 -1
- package/dist/lib/view-config-panel/view-config-panel.component.js +3922 -993
- package/dist/lib/view-config-panel/view-config-panel.component.js.map +1 -1
- package/dist/lib/view-properties-editor/view-properties-editor.component.d.ts +52 -0
- package/dist/lib/view-properties-editor/view-properties-editor.component.d.ts.map +1 -0
- package/dist/lib/view-properties-editor/view-properties-editor.component.js +445 -0
- package/dist/lib/view-properties-editor/view-properties-editor.component.js.map +1 -0
- package/dist/lib/view-selector/view-selector.component.d.ts +28 -1
- package/dist/lib/view-selector/view-selector.component.d.ts.map +1 -1
- package/dist/lib/view-selector/view-selector.component.js +322 -168
- package/dist/lib/view-selector/view-selector.component.js.map +1 -1
- package/dist/lib/view-types/descriptors/calendar-view-type.d.ts +22 -0
- package/dist/lib/view-types/descriptors/calendar-view-type.d.ts.map +1 -0
- package/dist/lib/view-types/descriptors/calendar-view-type.js +38 -0
- package/dist/lib/view-types/descriptors/calendar-view-type.js.map +1 -0
- package/dist/lib/view-types/index.d.ts +3 -2
- package/dist/lib/view-types/index.d.ts.map +1 -1
- package/dist/lib/view-types/index.js +5 -2
- package/dist/lib/view-types/index.js.map +1 -1
- package/dist/lib/view-types/renderers/calendar-placement.d.ts +97 -0
- package/dist/lib/view-types/renderers/calendar-placement.d.ts.map +1 -0
- package/dist/lib/view-types/renderers/calendar-placement.js +145 -0
- package/dist/lib/view-types/renderers/calendar-placement.js.map +1 -0
- package/dist/lib/view-types/renderers/calendar-view-prop-sheet.component.d.ts +36 -0
- package/dist/lib/view-types/renderers/calendar-view-prop-sheet.component.d.ts.map +1 -0
- package/dist/lib/view-types/renderers/calendar-view-prop-sheet.component.js +167 -0
- package/dist/lib/view-types/renderers/calendar-view-prop-sheet.component.js.map +1 -0
- package/dist/lib/view-types/renderers/calendar-view-renderer.component.d.ts +107 -0
- package/dist/lib/view-types/renderers/calendar-view-renderer.component.d.ts.map +1 -0
- package/dist/lib/view-types/renderers/calendar-view-renderer.component.js +501 -0
- package/dist/lib/view-types/renderers/calendar-view-renderer.component.js.map +1 -0
- package/dist/lib/view-types/renderers/grid-view-renderer.component.d.ts +9 -1
- package/dist/lib/view-types/renderers/grid-view-renderer.component.d.ts.map +1 -1
- package/dist/lib/view-types/renderers/grid-view-renderer.component.js +24 -5
- package/dist/lib/view-types/renderers/grid-view-renderer.component.js.map +1 -1
- package/dist/lib/view-types/renderers/map-view-renderer.component.d.ts.map +1 -1
- package/dist/lib/view-types/renderers/map-view-renderer.component.js +3 -3
- package/dist/lib/view-types/renderers/map-view-renderer.component.js.map +1 -1
- package/dist/lib/view-types/view-type.contracts.d.ts +6 -0
- package/dist/lib/view-types/view-type.contracts.d.ts.map +1 -1
- package/dist/lib/view-types/view-type.contracts.js.map +1 -1
- package/dist/lib/view-workspace/view-workspace.component.d.ts +54 -1
- package/dist/lib/view-workspace/view-workspace.component.d.ts.map +1 -1
- package/dist/lib/view-workspace/view-workspace.component.js +274 -27
- package/dist/lib/view-workspace/view-workspace.component.js.map +1 -1
- package/dist/module.d.ts +35 -31
- package/dist/module.d.ts.map +1 -1
- package/dist/module.js +21 -3
- package/dist/module.js.map +1 -1
- package/dist/public-api.d.ts +5 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +5 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +23 -21
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-view-renderer.component.js","sourceRoot":"","sources":["../../../../src/lib/view-types/renderers/map-view-renderer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,iBAAiB,EAAU,MAAM,eAAe,CAAC;AAElG,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;;;;;;IAmE/D,sCASC;IADC,AADA,AADA,mNAAe,4BAAqB,KAAC,gNACjB,iCAA0B,KAAC,oNACzB,mCAA4B,KAAC;IAErD,iBAAc;;;IALZ,AADA,AADA,AADA,AADA,sCAAiB,2BACE,kDACuB,uCACX,2CACI;;;IAOrC,oCAGuC;;AAzD7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAsCH,MAAM,OAAO,wBAAyB,SAAQ,oBAAoB;IAChE,mEAAmE;IAEnE,+GAA+G;IACtG,MAAM,GAAsB,IAAI,CAAC;IAE1C,0EAA0E;IACjE,OAAO,GAA8B,EAAE,CAAC;IAEjD,iGAAiG;IACxF,gBAAgB,GAAkB,IAAI,CAAC;IAEhD,mGAAmG;IAC1F,UAAU,GAAkB,IAAI,CAAC;IAElC,OAAO,GAAkB,EAAE,CAAC;IACpC;;;OAGG;IACH,IACI,MAAM,CAAC,KAAoB;QAC7B,IAAI,CAAC,OAAO,GAAG,KAAK,IAAI,EAAE,CAAC;QAC3B,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;IACD,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED;;;OAGG;IACM,gBAAgB,CAAU;IAEnC,qGAAqG;IAC5F,IAAI,CAAU;IAEvB,2DAA2D;IAClD,QAAQ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;kBAKL,MAAM;;kBAMN,MAAM;;kBAMN,MAAM;;kBAON,MAAM;;kFAlEI,wBAAwB;AAwJrC;;;;GAIG;AACH,MAAM,UAAU,mBAAmB;IACjC,0DAA0D;AAC5D,CAAC","sourcesContent":["import { Component, Input, Output, EventEmitter, ViewEncapsulation, OnInit } from '@angular/core';\nimport { EntityInfo } from '@memberjunction/core';\nimport { BaseAngularComponent } from '@memberjunction/ng-base-types';\nimport {\n MapViewComponent,\n MapRenderMode,\n MapDisplayState,\n MapMarkerClickEvent,\n} from '@memberjunction/ng-map-view';\nimport { IViewRenderer, ViewDataRequest } from '../view-type.contracts';\n\n/**\n * Opaque per-view configuration for the Map view type.\n *\n * The host stores and round-trips this blob verbatim against the active `ViewTypeID` and never\n * inspects it — only this renderer reads/writes it. It carries the two pieces of map state that\n * should persist with the view: the render mode (point / boundary / choropleth / heatmap) and the\n * last display state (zoom / center / clustering / choropleth options). Both are optional so a\n * freshly-created Map view starts from sensible defaults.\n */\nexport interface MapViewConfig {\n /** The map's render mode. Defaults to `'point'` when unset (see {@link MapViewRendererComponent.activeRenderMode}). */\n renderMode?: MapRenderMode;\n /** The map's last persisted display state (zoom, center, clustering, choropleth options). */\n displayState?: MapDisplayState;\n}\n\n/**\n * MapViewRendererComponent\n * ------------------------\n * The Map **view type** renderer — a thin {@link IViewRenderer} adapter that hosts the existing\n * {@link MapViewComponent} (`<mj-map-view>`) inside the entity-viewer's pluggable view-type system.\n *\n * **The container has ZERO knowledge of maps.** The host feeds this renderer only the generic\n * {@link IViewRenderer} surface (`entity` / `records` / `totalRecordCount` / `config` / …) and\n * listens only to the generic outputs (`recordSelected` / `configChanged` / `dataRequest` / …).\n * Everything map-specific is encapsulated here:\n *\n * - The map's **render mode + display state** live inside the opaque {@link MapViewConfig} blob.\n * The host persists that blob verbatim against the active `ViewTypeID` and never reads it; this\n * renderer seeds `<mj-map-view>` from it and writes changes back via `configChanged`.\n * - The \"maps need the full record set\" requirement is expressed through the **generic\n * {@link IViewRenderer.dataRequest} channel** as `{ loadAll: true }` — the container honors the\n * request (loads all records up to its safety cap) without knowing it came from a map.\n *\n * **Why import `MapViewModule` rather than `MapViewComponent` directly:** {@link MapViewComponent}\n * is an NgModule-declared (`standalone: false`) component, so Angular forbids placing it directly\n * in a standalone component's `imports` array (NG6008). The supported way for a standalone\n * component to consume a non-standalone component is to import the NgModule that exports it — here\n * {@link MapViewModule}. {@link MapViewComponent} is still imported above so its `@Input`/`@Output`\n * types stay referenced and the file documents exactly which component it adapts. This mirrors the\n * sibling `CardsViewRendererComponent`'s approach.\n *\n * **Marker → record mapping:** `<mj-map-view>` emits the rich {@link MapMarkerClickEvent}\n * (`{ RecordID, Latitude, Longitude, Record }`), but the host's dynamic renderer handler expects\n * the **raw record** and builds the composite key itself. This adapter therefore extracts\n * `.Record` and re-emits just that object via `recordSelected`, matching the other plug-in\n * renderers (Cards/Cluster emit raw record objects).\n *\n * Inputs use the camelCase names mandated by the {@link IViewRenderer} contract (the host binds\n * them by those exact names), rather than MJ's usual PascalCase for public members — mirroring the\n * Cards and Cluster renderers.\n */\n@Component({\n standalone: false,\n selector: 'mj-map-view-renderer',\n encapsulation: ViewEncapsulation.None,\n template: `\n @if (entity) {\n <mj-map-view\n [Entity]=\"entity\"\n [Records]=\"records\"\n [TotalRecordCount]=\"totalRecordCount ?? 0\"\n [RenderMode]=\"activeRenderMode\"\n [DisplayState]=\"activeDisplayState\"\n (MarkerClick)=\"onMarkerClick($event)\"\n (RenderModeChange)=\"onRenderModeChange($event)\"\n (DisplayStateChange)=\"onDisplayStateChange($event)\"\n >\n </mj-map-view>\n } @else {\n <mj-empty-state\n class=\"map-view-renderer-empty-fill\"\n Icon=\"fa-solid fa-map-location-dot\"\n Title=\"No entity selected to map.\" />\n }\n `,\n styles: [\n `\n :host {\n display: block;\n height: 100%;\n }\n /* Fill the map area (the host centers its content but does not grow). */\n .map-view-renderer-empty-fill {\n height: 100%;\n }\n `,\n ],\n})\nexport class MapViewRendererComponent extends BaseAngularComponent implements IViewRenderer<MapViewConfig>, OnInit {\n // ---- IViewRenderer inputs (camelCase per the host contract) ----\n\n /** The entity whose records are being mapped. The map requires an entity; when null an empty state renders. */\n @Input() entity: EntityInfo | null = null;\n\n /** The records to render as map markers (loaded/filtered by the host). */\n @Input() records: Record<string, unknown>[] = [];\n\n /** Primary-key string of the currently selected record, if any. Unused by the map view today. */\n @Input() selectedRecordId: string | null = null;\n\n /** Active filter text. Unused by the map view today (records are already filtered by the host). */\n @Input() filterText: string | null = null;\n\n private _config: MapViewConfig = {};\n /**\n * The opaque per-view configuration. Setting it re-derives the {@link activeRenderMode} and\n * {@link activeDisplayState} that seed `<mj-map-view>`.\n */\n @Input()\n set config(value: MapViewConfig) {\n this._config = value ?? {};\n this.applyConfig();\n }\n get config(): MapViewConfig {\n return this._config;\n }\n\n /**\n * The total number of records the host's query would return — bound to `<mj-map-view>`'s\n * `TotalRecordCount` so the map can convey when markers are a capped subset.\n */\n @Input() totalRecordCount?: number;\n\n /** One-based current page of {@link records} when the host is paginating. Unused by the map view. */\n @Input() page?: number;\n\n /** Page size the host is using. Unused by the map view. */\n @Input() pageSize?: number;\n\n /** Whether the host is currently (re)loading the record set. Unused by the map view today. */\n @Input() isLoading?: boolean;\n\n // ---- IViewRenderer outputs ----\n\n /** Emitted when a marker is clicked — payload is the raw record object (the marker's `.Record`). */\n @Output() recordSelected = new EventEmitter<unknown>();\n\n /**\n * Required by {@link IViewRenderer}; the map view has no distinct \"open\" gesture, so this never\n * emits. Declared so the host's uniform output subscription is satisfied.\n */\n @Output() recordOpened = new EventEmitter<unknown>();\n\n /**\n * Emitted when the user changes the render mode or pans/zooms the map. The host persists the\n * updated {@link MapViewConfig} blob verbatim against the active `ViewTypeID`.\n */\n @Output() configChanged = new EventEmitter<MapViewConfig>();\n\n /**\n * The generic data-access channel. On init this emits `{ loadAll: true }` so the container loads\n * the full record set — maps need every record to plot, not a single page — requested without the\n * container knowing it came from a map.\n */\n @Output() dataRequest = new EventEmitter<ViewDataRequest>();\n\n // ---- Render state (seeded from config) ----\n\n /** The render mode bound to `<mj-map-view>`, derived from {@link config} (defaults to `'point'`). */\n public ActiveRenderMode: MapRenderMode = 'point';\n\n /** @deprecated Use {@link ActiveRenderMode}. */\n public get activeRenderMode(): MapRenderMode {\n return this.ActiveRenderMode;\n }\n /** @deprecated Use {@link ActiveRenderMode}. */\n public set activeRenderMode(value: MapRenderMode) {\n this.ActiveRenderMode = value;\n }\n\n /** The display state bound to `<mj-map-view>`, derived from {@link config} (null when unset). */\n public ActiveDisplayState: Partial<MapDisplayState> | null = null;\n\n /** @deprecated Use {@link ActiveDisplayState}. */\n public get activeDisplayState(): Partial<MapDisplayState> | null {\n return this.ActiveDisplayState;\n }\n /** @deprecated Use {@link ActiveDisplayState}. */\n public set activeDisplayState(value: Partial<MapDisplayState> | null) {\n this.ActiveDisplayState = value;\n }\n\n ngOnInit(): void {\n // Maps need the complete record set, not a single page. Request it through the generic\n // data-access channel — the container honors `{ loadAll: true }` without any map-specific\n // branching. Done after inputs are wired (the host sets inputs via setInput before ngOnInit).\n this.dataRequest.emit({ loadAll: true });\n }\n\n /** Re-derive the map's render mode + display state from the current opaque {@link config}. */\n private applyConfig(): void {\n this.ActiveRenderMode = this._config.renderMode ?? 'point';\n this.ActiveDisplayState = this._config.displayState ?? null;\n }\n\n /**\n * Relay `<mj-map-view>`'s marker click, normalizing to the raw record the host expects (the host\n * builds the composite key itself from the record + entity).\n */\n OnMarkerClick(event: MapMarkerClickEvent): void {\n this.recordSelected.emit(event.Record);\n }\n\n /** @deprecated Use {@link OnMarkerClick}. */\n onMarkerClick(event: MapMarkerClickEvent): void {\n return this.OnMarkerClick(event);\n }\n\n /**\n * Persist a render-mode change into the opaque {@link config} and notify the host. The host\n * stores the blob verbatim; it has no knowledge that `renderMode` means anything map-specific.\n */\n OnRenderModeChange(mode: MapRenderMode): void {\n this._config = { ...this._config, renderMode: mode };\n this.ActiveRenderMode = mode;\n this.configChanged.emit(this._config);\n }\n\n /** @deprecated Use {@link OnRenderModeChange}. */\n onRenderModeChange(mode: MapRenderMode): void {\n return this.OnRenderModeChange(mode);\n }\n\n /**\n * Persist a display-state change (pan / zoom / clustering / choropleth options) into the opaque\n * {@link config} and notify the host. This fires continuously as the user pans/zooms; that's\n * fine — the host debounces persistence of the config blob.\n */\n OnDisplayStateChange(state: MapDisplayState): void {\n this._config = { ...this._config, displayState: state };\n this.ActiveDisplayState = state;\n this.configChanged.emit(this._config);\n }\n\n /** @deprecated Use {@link OnDisplayStateChange}. */\n onDisplayStateChange(state: MapDisplayState): void {\n return this.OnDisplayStateChange(state);\n }\n}\n\n/**\n * Tree-shaking guard. Force-references this renderer so bundlers (ESBuild/Vite) don't drop the\n * component in builds that only mount it dynamically via the ClassFactory/descriptor. Mirrors the\n * Cards and Cluster renderers' load guards; the parent wires this into a barrel/module load path.\n */\nexport function LoadMapViewRenderer(): void {\n // no-op; presence prevents tree-shaking of this component\n}\n"]}
|
|
1
|
+
{"version":3,"file":"map-view-renderer.component.js","sourceRoot":"","sources":["../../../../src/lib/view-types/renderers/map-view-renderer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,iBAAiB,EAAU,MAAM,eAAe,CAAC;AAElG,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;;;;;;IAmE/D,sCASC;IADC,AADA,AADA,mNAAe,4BAAqB,KAAC,gNACjB,iCAA0B,KAAC,oNACzB,mCAA4B,KAAC;IAErD,iBAAc;;;IALZ,AADA,AADA,AADA,AADA,sCAAiB,2BACE,kDACuB,uCACX,2CACI;;;IAOrC,oCAGuC;;AAzD7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AA4CH,MAAM,OAAO,wBAAyB,SAAQ,oBAAoB;IAChE,mEAAmE;IAEnE,+GAA+G;IACtG,MAAM,GAAsB,IAAI,CAAC;IAE1C,0EAA0E;IACjE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AAC;IAED,oDAAoD;IACpD,oBAAoB,CAAC,KAAsB;QACzC,OAAO,IAAI,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC;IAC1C,CAAC;6QArJU,wBAAwB,yBAAxB,wBAAwB;6DAAxB,wBAAwB;YA1B/B,AAZF,kGAAc,+EAYL;;YAZT,oCAiBC;;;iFAqBQ,wBAAwB;cA3CpC,SAAS;6BACI,KAAK,YACP,sBAAsB,iBACjB,iBAAiB,CAAC,IAAI,YAC3B;;;;;;;;;;;;;;;;;;;GAmBT;;kBAwBA,KAAK;;kBAGL,KAAK;;kBAGL,KAAK;;kBAGL,KAAK;;kBAOL,KAAK;;kBAaL,KAAK;;kBAGL,KAAK;;kBAGL,KAAK;;kBAGL,KAAK;;kBAKL,MAAM;;kBAMN,MAAM;;kBAMN,MAAM;;kBAON,MAAM;;kFAlEI,wBAAwB;AAwJrC;;;;GAIG;AACH,MAAM,UAAU,mBAAmB;IACjC,0DAA0D;AAC5D,CAAC","sourcesContent":["import { Component, Input, Output, EventEmitter, ViewEncapsulation, OnInit } from '@angular/core';\nimport { EntityInfo } from '@memberjunction/core';\nimport { BaseAngularComponent } from '@memberjunction/ng-base-types';\nimport {\n MapViewComponent,\n MapRenderMode,\n MapDisplayState,\n MapMarkerClickEvent,\n} from '@memberjunction/ng-map-view';\nimport { IViewRenderer, ViewDataRequest } from '../view-type.contracts';\n\n/**\n * Opaque per-view configuration for the Map view type.\n *\n * The host stores and round-trips this blob verbatim against the active `ViewTypeID` and never\n * inspects it — only this renderer reads/writes it. It carries the two pieces of map state that\n * should persist with the view: the render mode (point / boundary / choropleth / heatmap) and the\n * last display state (zoom / center / clustering / choropleth options). Both are optional so a\n * freshly-created Map view starts from sensible defaults.\n */\nexport interface MapViewConfig {\n /** The map's render mode. Defaults to `'point'` when unset (see {@link MapViewRendererComponent.activeRenderMode}). */\n renderMode?: MapRenderMode;\n /** The map's last persisted display state (zoom, center, clustering, choropleth options). */\n displayState?: MapDisplayState;\n}\n\n/**\n * MapViewRendererComponent\n * ------------------------\n * The Map **view type** renderer — a thin {@link IViewRenderer} adapter that hosts the existing\n * {@link MapViewComponent} (`<mj-map-view>`) inside the entity-viewer's pluggable view-type system.\n *\n * **The container has ZERO knowledge of maps.** The host feeds this renderer only the generic\n * {@link IViewRenderer} surface (`entity` / `records` / `totalRecordCount` / `config` / …) and\n * listens only to the generic outputs (`recordSelected` / `configChanged` / `dataRequest` / …).\n * Everything map-specific is encapsulated here:\n *\n * - The map's **render mode + display state** live inside the opaque {@link MapViewConfig} blob.\n * The host persists that blob verbatim against the active `ViewTypeID` and never reads it; this\n * renderer seeds `<mj-map-view>` from it and writes changes back via `configChanged`.\n * - The \"maps need the full record set\" requirement is expressed through the **generic\n * {@link IViewRenderer.dataRequest} channel** as `{ loadAll: true }` — the container honors the\n * request (loads all records up to its safety cap) without knowing it came from a map.\n *\n * **Why import `MapViewModule` rather than `MapViewComponent` directly:** {@link MapViewComponent}\n * is an NgModule-declared (`standalone: false`) component, so Angular forbids placing it directly\n * in a standalone component's `imports` array (NG6008). The supported way for a standalone\n * component to consume a non-standalone component is to import the NgModule that exports it — here\n * {@link MapViewModule}. {@link MapViewComponent} is still imported above so its `@Input`/`@Output`\n * types stay referenced and the file documents exactly which component it adapts. This mirrors the\n * sibling `CardsViewRendererComponent`'s approach.\n *\n * **Marker → record mapping:** `<mj-map-view>` emits the rich {@link MapMarkerClickEvent}\n * (`{ RecordID, Latitude, Longitude, Record }`), but the host's dynamic renderer handler expects\n * the **raw record** and builds the composite key itself. This adapter therefore extracts\n * `.Record` and re-emits just that object via `recordSelected`, matching the other plug-in\n * renderers (Cards/Cluster emit raw record objects).\n *\n * Inputs use the camelCase names mandated by the {@link IViewRenderer} contract (the host binds\n * them by those exact names), rather than MJ's usual PascalCase for public members — mirroring the\n * Cards and Cluster renderers.\n */\n@Component({\n standalone: false,\n selector: 'mj-map-view-renderer',\n encapsulation: ViewEncapsulation.None,\n template: `\n @if (entity) {\n <mj-map-view\n [Entity]=\"entity\"\n [Records]=\"records\"\n [TotalRecordCount]=\"totalRecordCount ?? 0\"\n [RenderMode]=\"activeRenderMode\"\n [DisplayState]=\"activeDisplayState\"\n (MarkerClick)=\"onMarkerClick($event)\"\n (RenderModeChange)=\"onRenderModeChange($event)\"\n (DisplayStateChange)=\"onDisplayStateChange($event)\"\n >\n </mj-map-view>\n } @else {\n <mj-empty-state\n class=\"map-view-renderer-empty-fill\"\n Icon=\"fa-solid fa-map-location-dot\"\n Title=\"No entity selected to map.\" />\n }\n `,\n styles: [\n `\n /* Isolate Leaflet's internal z-index: 400..1000 panes inside the map renderer\n so they stay below Data Explorer's .content-header (z-index: 2) and dropdown menus (#2701)\n without trapping fixed-position overlays in sibling view renderers like Grid. */\n mj-map-view-renderer {\n display: block;\n height: 100%;\n isolation: isolate;\n position: relative;\n z-index: 1;\n }\n /* Fill the map area (the host centers its content but does not grow). */\n .map-view-renderer-empty-fill {\n height: 100%;\n }\n `,\n ],\n})\nexport class MapViewRendererComponent extends BaseAngularComponent implements IViewRenderer<MapViewConfig>, OnInit {\n // ---- IViewRenderer inputs (camelCase per the host contract) ----\n\n /** The entity whose records are being mapped. The map requires an entity; when null an empty state renders. */\n @Input() entity: EntityInfo | null = null;\n\n /** The records to render as map markers (loaded/filtered by the host). */\n @Input() records: Record<string, unknown>[] = [];\n\n /** Primary-key string of the currently selected record, if any. Unused by the map view today. */\n @Input() selectedRecordId: string | null = null;\n\n /** Active filter text. Unused by the map view today (records are already filtered by the host). */\n @Input() filterText: string | null = null;\n\n private _config: MapViewConfig = {};\n /**\n * The opaque per-view configuration. Setting it re-derives the {@link activeRenderMode} and\n * {@link activeDisplayState} that seed `<mj-map-view>`.\n */\n @Input()\n set config(value: MapViewConfig) {\n this._config = value ?? {};\n this.applyConfig();\n }\n get config(): MapViewConfig {\n return this._config;\n }\n\n /**\n * The total number of records the host's query would return — bound to `<mj-map-view>`'s\n * `TotalRecordCount` so the map can convey when markers are a capped subset.\n */\n @Input() totalRecordCount?: number;\n\n /** One-based current page of {@link records} when the host is paginating. Unused by the map view. */\n @Input() page?: number;\n\n /** Page size the host is using. Unused by the map view. */\n @Input() pageSize?: number;\n\n /** Whether the host is currently (re)loading the record set. Unused by the map view today. */\n @Input() isLoading?: boolean;\n\n // ---- IViewRenderer outputs ----\n\n /** Emitted when a marker is clicked — payload is the raw record object (the marker's `.Record`). */\n @Output() recordSelected = new EventEmitter<unknown>();\n\n /**\n * Required by {@link IViewRenderer}; the map view has no distinct \"open\" gesture, so this never\n * emits. Declared so the host's uniform output subscription is satisfied.\n */\n @Output() recordOpened = new EventEmitter<unknown>();\n\n /**\n * Emitted when the user changes the render mode or pans/zooms the map. The host persists the\n * updated {@link MapViewConfig} blob verbatim against the active `ViewTypeID`.\n */\n @Output() configChanged = new EventEmitter<MapViewConfig>();\n\n /**\n * The generic data-access channel. On init this emits `{ loadAll: true }` so the container loads\n * the full record set — maps need every record to plot, not a single page — requested without the\n * container knowing it came from a map.\n */\n @Output() dataRequest = new EventEmitter<ViewDataRequest>();\n\n // ---- Render state (seeded from config) ----\n\n /** The render mode bound to `<mj-map-view>`, derived from {@link config} (defaults to `'point'`). */\n public ActiveRenderMode: MapRenderMode = 'point';\n\n /** @deprecated Use {@link ActiveRenderMode}. */\n public get activeRenderMode(): MapRenderMode {\n return this.ActiveRenderMode;\n }\n /** @deprecated Use {@link ActiveRenderMode}. */\n public set activeRenderMode(value: MapRenderMode) {\n this.ActiveRenderMode = value;\n }\n\n /** The display state bound to `<mj-map-view>`, derived from {@link config} (null when unset). */\n public ActiveDisplayState: Partial<MapDisplayState> | null = null;\n\n /** @deprecated Use {@link ActiveDisplayState}. */\n public get activeDisplayState(): Partial<MapDisplayState> | null {\n return this.ActiveDisplayState;\n }\n /** @deprecated Use {@link ActiveDisplayState}. */\n public set activeDisplayState(value: Partial<MapDisplayState> | null) {\n this.ActiveDisplayState = value;\n }\n\n ngOnInit(): void {\n // Maps need the complete record set, not a single page. Request it through the generic\n // data-access channel — the container honors `{ loadAll: true }` without any map-specific\n // branching. Done after inputs are wired (the host sets inputs via setInput before ngOnInit).\n this.dataRequest.emit({ loadAll: true });\n }\n\n /** Re-derive the map's render mode + display state from the current opaque {@link config}. */\n private applyConfig(): void {\n this.ActiveRenderMode = this._config.renderMode ?? 'point';\n this.ActiveDisplayState = this._config.displayState ?? null;\n }\n\n /**\n * Relay `<mj-map-view>`'s marker click, normalizing to the raw record the host expects (the host\n * builds the composite key itself from the record + entity).\n */\n OnMarkerClick(event: MapMarkerClickEvent): void {\n this.recordSelected.emit(event.Record);\n }\n\n /** @deprecated Use {@link OnMarkerClick}. */\n onMarkerClick(event: MapMarkerClickEvent): void {\n return this.OnMarkerClick(event);\n }\n\n /**\n * Persist a render-mode change into the opaque {@link config} and notify the host. The host\n * stores the blob verbatim; it has no knowledge that `renderMode` means anything map-specific.\n */\n OnRenderModeChange(mode: MapRenderMode): void {\n this._config = { ...this._config, renderMode: mode };\n this.ActiveRenderMode = mode;\n this.configChanged.emit(this._config);\n }\n\n /** @deprecated Use {@link OnRenderModeChange}. */\n onRenderModeChange(mode: MapRenderMode): void {\n return this.OnRenderModeChange(mode);\n }\n\n /**\n * Persist a display-state change (pan / zoom / clustering / choropleth options) into the opaque\n * {@link config} and notify the host. This fires continuously as the user pans/zooms; that's\n * fine — the host debounces persistence of the config blob.\n */\n OnDisplayStateChange(state: MapDisplayState): void {\n this._config = { ...this._config, displayState: state };\n this.ActiveDisplayState = state;\n this.configChanged.emit(this._config);\n }\n\n /** @deprecated Use {@link OnDisplayStateChange}. */\n onDisplayStateChange(state: MapDisplayState): void {\n return this.OnDisplayStateChange(state);\n }\n}\n\n/**\n * Tree-shaking guard. Force-references this renderer so bundlers (ESBuild/Vite) don't drop the\n * component in builds that only mount it dynamically via the ClassFactory/descriptor. Mirrors the\n * Cards and Cluster renderers' load guards; the parent wires this into a barrel/module load path.\n */\nexport function LoadMapViewRenderer(): void {\n // no-op; presence prevents tree-shaking of this component\n}\n"]}
|
|
@@ -130,6 +130,12 @@ export interface IViewRenderer<TConfig = unknown> {
|
|
|
130
130
|
pageSize?: number;
|
|
131
131
|
/** Whether the host is currently (re)loading the record set. */
|
|
132
132
|
isLoading?: boolean;
|
|
133
|
+
/**
|
|
134
|
+
* Optional ID of the persisted `MJ: User Views` record backing the current record set, or `null`
|
|
135
|
+
* for a dynamic / unsaved view. Generic view context — lets a renderer offer saved-view actions
|
|
136
|
+
* (such as Open in Excel) without taking ownership of the `UserView` entity record.
|
|
137
|
+
*/
|
|
138
|
+
SavedViewID?: string | null;
|
|
133
139
|
/** Emitted when a record is selected (single click). Payload is the raw record object. */
|
|
134
140
|
recordSelected: EventEmitter<unknown>;
|
|
135
141
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-type.contracts.d.ts","sourceRoot":"","sources":["../../../src/lib/view-types/view-type.contracts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAG7D;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;;;;;GAQG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;;OAIG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB,oFAAoF;IACpF,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAE7B,gFAAgF;IAChF,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,QAAQ,CAAC,iBAAiB,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IAE1C;;;;OAIG;IACH,QAAQ,CAAC,kBAAkB,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IAE5C;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,sBAAsB,CAAC,EAAE,OAAO,CAAC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.js","sourceRoot":"","sources":["../../../src/lib/view-types/view-type.contracts.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AA8QvD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,OAAgB,sBAAsB;IAKjC,kBAAkB,CAAiB;IAE5C;;;;OAIG;IACM,sBAAsB,GAAY,KAAK,CAAC;IAEjD;;;;OAIG;IACM,iBAAiB,GAAY,KAAK,CAAC;IAE5C;;;OAGG;IACH,cAAc,CAAC,OAAmB,EAAE,SAA6B;QAC/D,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,sBAAsB,CAAC,SAA6B;QACxD,mBAAmB;IACrB,CAAC;CACF;AAED;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB;IACnC,kFAAkF;IAClF,KAAK,aAAa,CAAC;AACrB,CAAC","sourcesContent":["import { Type, EventEmitter } from '@angular/core';\nimport { EntityInfo, IMetadataProvider } from '@memberjunction/core';\nimport { ExportColumn } from '@memberjunction/export-engine';\nimport { RegisterClass } from '@memberjunction/global';\n\n/**\n * View-Type Plugin Architecture — Contracts\n * -----------------------------------------\n * This file defines the framework-level contracts for the entity-viewer's pluggable\n * view-type system. A \"view type\" is a way of rendering a set of entity records — the\n * built-in ones being Grid, Cards, Timeline, and Map, with future additions like\n * Cluster and Tag Cloud.\n *\n * The design separates three concerns:\n * 1. {@link IViewTypeDescriptor} — metadata + availability + the component types to mount.\n * Descriptors are discovered at runtime via the {@link https MemberJunction ClassFactory}\n * keyed off the `DriverClass` stored in the `MJ: View Types` entity.\n * 2. {@link IViewRenderer} — the contract a renderer component honors so the host can\n * feed it data and listen for selection/open/config events uniformly.\n * 3. {@link IViewPropSheet} — the contract a configuration prop-sheet component honors.\n *\n * Because this lives in an Angular package, it is acceptable for the descriptor to reference\n * Angular's `Type<T>` (it points at the concrete component classes to instantiate).\n */\n\n/**\n * Framework-agnostic-ish descriptor for a single view type.\n *\n * A descriptor is the bridge between the `MJ: View Types` metadata row (which stores\n * the `DriverClass` name) and the concrete Angular components that actually render the\n * view and edit its configuration. Descriptors are registered with the ClassFactory via\n * `@RegisterClass(BaseViewTypeDescriptor, '<DriverClass>')` so they can be discovered by\n * name without a hard import from the host.\n */\nexport interface IViewTypeDescriptor {\n /**\n * Stable internal key for the view type — matches the `DriverClass` column on the\n * `MJ: View Types` entity and the `@RegisterClass` registration key\n * (e.g. \"GridViewType\", \"CardsViewType\").\n */\n readonly Name: string;\n\n /** User-facing label shown in the view-mode switcher (e.g. \"Grid\", \"Tag Cloud\"). */\n readonly DisplayName: string;\n\n /** Font Awesome icon class shown in the switcher (e.g. \"fa-solid fa-table\"). */\n readonly Icon: string;\n\n /**\n * The Angular component class that renders this view type. The host instantiates /\n * mounts this component and feeds it data per the {@link IViewRenderer} contract.\n */\n readonly RendererComponent: Type<unknown>;\n\n /**\n * Optional Angular component class for this view type's configuration prop-sheet\n * (honors {@link IViewPropSheet}). Undefined when the view type has no configurable\n * options.\n */\n readonly PropSheetComponent?: Type<unknown>;\n\n /**\n * When `true`, this view type's `config.gridState` is backed by the **canonical**\n * `UserView.GridState` column (the single, framework-wide store for a view's\n * columns / sort / filter / aggregates — also read by `MJUserViewEntity.Columns`,\n * the GraphQL data provider's field list, and export) rather than by an opaque\n * per-view-type blob in `DisplayState.viewTypeConfigs`.\n *\n * The container honors this by (a) seeding the renderer's `config.gridState` from\n * the canonical store and (b) routing the renderer's `configChanged.gridState`\n * back to it on persist. This keeps the grid, the config panel, the server query,\n * and export all reading/writing one source of truth. Defaults to `false`, so\n * non-grid view types (Cards/Timeline/Map) keep their opaque per-type config.\n */\n readonly UsesCanonicalGridState?: boolean;\n\n /**\n * When `true`, this view type ships its OWN in-view export affordance (e.g. the Grid renderer's\n * in-toolbar \"Export\" button + {@link IViewRenderer.exportRecords}). Hosts use this to decide\n * whether to render a FALLBACK export button for view types that DON'T (Cards / Map / Timeline),\n * so every view type can export without a duplicate button on the ones that already have one.\n * Defaults to `false`. This is read off the (synchronously-resolved) descriptor rather than the\n * mounted renderer instance, so it's correct the instant the active view type changes.\n */\n readonly ProvidesOwnExport?: boolean;\n\n /**\n * Predicate that decides whether this view type is available for a given entity.\n * For example, Timeline requires a date field; Map requires geocoding support.\n * Grid and Cards are always available.\n *\n * @param entity the entity the viewer is currently displaying\n * @param provider optional metadata provider (for multi-provider scenarios)\n */\n IsAvailableFor(entity: EntityInfo, provider?: IMetadataProvider): boolean;\n\n /**\n * Optional async hook to load any data this descriptor's {@link IsAvailableFor} predicate\n * depends on (e.g. the Cluster view type needs the set of entities that have an active\n * Entity Document with vectors). The host awaits this once — before computing availability —\n * so the synchronous predicate can read from a now-populated cache. Implementations should\n * be cheap/idempotent (typically `await SomeEngine.Instance.Config(false, ...)`). Omit when\n * availability is computable purely from the {@link EntityInfo} (Grid/Cards/Timeline/Map).\n *\n * @param provider optional metadata provider (for multi-provider scenarios)\n */\n EnsureAvailabilityData?(provider?: IMetadataProvider): Promise<void>;\n}\n\n/**\n * Contract honored by a view renderer component. The host binds these inputs and\n * subscribes to these outputs uniformly across all view types.\n *\n * @typeParam TConfig the shape of this view type's configuration object\n */\nexport interface IViewRenderer<TConfig = unknown> {\n /** The entity whose records are being rendered. */\n entity: EntityInfo | null; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /** The records to render (already loaded/filtered by the host). */\n records: Record<string, unknown>[]; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /** Primary-key string of the currently selected record, if any. */\n selectedRecordId: string | null; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /** Active filter text (for highlighting / client-side concerns). */\n filterText: string | null; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /** View-type-specific configuration. */\n config: TConfig; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /**\n * Optional: the metadata provider, handed to plug-ins that issue their own data calls\n * (multi-provider safety). Generic — not specific to any one view type.\n */\n provider?: IMetadataProvider | null; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /**\n * Optional generic data-context the host supplies alongside {@link records}. These are\n * universal \"a view of records\" concepts (counts, current page, loading) — NOT specific to any\n * view type — so a renderer that paginates or shows a total can read them, and one that doesn't\n * simply ignores them. The host owns the actual data fetch; these describe its current result.\n */\n totalRecordCount?: number; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n /** One-based current page of {@link records} when the host is paginating. */\n page?: number; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n /** Page size the host is using. */\n pageSize?: number; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n /** Whether the host is currently (re)loading the record set. */\n isLoading?: boolean; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /** Emitted when a record is selected (single click). Payload is the raw record object. */\n recordSelected: EventEmitter<unknown>; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /**\n * Emitted when THIS entity's record should be opened (double-click / open). Payload is the raw\n * record. This is a NAVIGATION request — the only category of signal that legitimately bubbles\n * to the outer app (routing lives there). Everything else a view does (export, add-to-list,\n * delete, …) is self-contained in the plug-in via Generic dialogs and never bubbles up.\n */\n recordOpened: EventEmitter<unknown>; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /**\n * Optional: NAVIGATION request to open a *related* record on a DIFFERENT entity (e.g. a\n * foreign-key drill-through in a grid cell). Bubbles to the outer app for routing. Generic —\n * the container forwards it without acting on it.\n */\n openRelatedRecordRequested?: EventEmitter<ViewRelatedRecordNavigation>; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /**\n * Optional: NAVIGATION request to create a new record of the current entity (e.g. a grid's\n * \"New\" button) — opening the create form is a routing concern owned by the outer app. Bubbles\n * up; the container forwards it without acting on it.\n */\n createRecordRequested?: EventEmitter<void>; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /**\n * Emitted when the renderer mutates its own opaque {@link config} (e.g. timeline date field,\n * grid columns/sort/widths, map render mode). The container persists the blob verbatim against\n * the active `ViewTypeID` and never inspects it. (Container ↔ plug-in coordination inside the\n * Generic layer — NOT a signal that drives the outer app.)\n */\n configChanged: EventEmitter<TConfig>; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /**\n * Optional: ask the container to (re)load the record set differently. The ONLY data-access\n * channel a plug-in has, fully generic — the container honors the request (sort / page /\n * load-all) without knowing which plug-in asked or why. A grid emits sort/page; a map emits\n * `{ loadAll: true }`; a plug-in happy with the records it's given emits nothing. The container\n * owns the actual `RunView`; no per-view-type branching. (Container ↔ plug-in coordination —\n * NOT a signal that drives the outer app.)\n */\n dataRequest?: EventEmitter<ViewDataRequest>; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /**\n * Optional: ask the host to open this view's configuration UI (e.g. the workspace's config\n * panel). Generic — every view type has configurable settings (the descriptor's\n * {@link IViewTypeDescriptor.PropSheetComponent}); a plug-in raises this when the user invokes\n * an in-renderer affordance for it (e.g. the grid's \"Manage Columns\" toolbar item). The\n * container forwards it to the host, which owns the config UI; no per-view-type branching.\n * (Container ↔ plug-in coordination — NOT a signal that drives the outer app.)\n */\n configureRequested?: EventEmitter<void>; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /**\n * Optional IMPERATIVE export entry point. A renderer that owns a self-contained export\n * affordance (e.g. the grid's export dialog) may expose this so an external driver — the\n * host's programmatic API, ultimately the AI agent — can trigger an export of the current\n * record set WITHOUT going through the renderer's own toolbar UI. Renderers that don't\n * support export simply don't implement it (the host treats absence as \"not exportable\").\n *\n * This is NOT a navigation/UI-coordination signal — it's a direct method call the host makes\n * on the active renderer, mirroring how export is otherwise self-contained in the plug-in.\n *\n * @param format optional output format ('csv' | 'excel' | 'json'); the renderer picks a sensible\n * default (typically 'excel') when omitted.\n * @returns true when the export was initiated, false when it couldn't be (no data / unsupported).\n */\n exportRecords?(format?: 'csv' | 'excel' | 'json'): Promise<boolean>; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /**\n * Optional: the columns this renderer is showing, in on-screen order and with on-screen headers.\n * A host that exports on the renderer's behalf (the workspace toolbar's Export) uses this so its\n * export matches the screen. Renderers without a column layout (Cards, Map, Timeline) omit it and\n * the host falls back to the view's saved columns.\n */\n GetExportColumns?(): ExportColumn[];\n}\n\n/**\n * A generic, view-type-agnostic request from a renderer for the host to change how it loads the\n * record set. Every field is optional; the host applies whatever is present. No field names a\n * specific view type — these are universal data-access concepts.\n */\nexport interface ViewDataRequest {\n /** Desired sort, applied to the host's RunView OrderBy. Empty/omitted clears sorting. */\n sort?: Array<{ field: string; direction: 'asc' | 'desc' }>;\n /** One-based page to load (for paginated views). */\n page?: number;\n /** Page size to load. */\n pageSize?: number;\n /** When true, the host loads the full result set (up to its safety cap) instead of paginating. */\n loadAll?: boolean;\n}\n\n/**\n * A NAVIGATION request to open a record on a (possibly different) entity — the generic payload\n * for {@link IViewRenderer.openRelatedRecordRequested}. Routing lives in the outer app, so this\n * is one of the few signals that legitimately bubbles up. The container forwards it untouched.\n */\nexport interface ViewRelatedRecordNavigation {\n /** The entity whose record should be opened. */\n entityName: string;\n /** The record's key — a composite-key string or the raw key value(s). Opaque to the container. */\n recordKey: unknown;\n}\n\n/**\n * Contract honored by a view-type configuration prop-sheet component.\n *\n * @typeParam TConfig the shape of the configuration object being edited\n */\nexport interface IViewPropSheet<TConfig = unknown> {\n /** The entity the configuration applies to. */\n entity: EntityInfo | null; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /** The current configuration being edited. */\n config: TConfig; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /** Emitted when the user changes the configuration. */\n configChange: EventEmitter<TConfig>; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n}\n\n/**\n * Abstract base class for all view-type descriptors.\n *\n * Concrete descriptors extend this and register themselves with the ClassFactory:\n *\n * ```typescript\n * @RegisterClass(BaseViewTypeDescriptor, 'GridViewType')\n * export class GridViewType extends BaseViewTypeDescriptor {\n * readonly Name = 'GridViewType';\n * readonly DisplayName = 'Grid';\n * readonly Icon = 'fa-solid fa-table';\n * readonly RendererComponent = EntityDataGridComponent;\n * IsAvailableFor(): boolean { return true; }\n * }\n * ```\n *\n * The {@link ViewTypeEngine} resolves descriptors by `DriverClass` name after\n * probing ClassFactory registrations, then `CreateInstance`. Unregistered keys\n * (e.g. a seeded TagCloud row) are omitted rather than falling back to this base.\n *\n * NOTE: This class is registered with the ClassFactory itself (via subclasses) and is\n * intentionally NOT decorated — only concrete subclasses carry `@RegisterClass`.\n */\nexport abstract class BaseViewTypeDescriptor implements IViewTypeDescriptor {\n abstract readonly Name: string;\n abstract readonly DisplayName: string;\n abstract readonly Icon: string;\n abstract readonly RendererComponent: Type<unknown>;\n readonly PropSheetComponent?: Type<unknown>;\n\n /**\n * Default: this view type uses its own opaque per-view-type config (stored in\n * `DisplayState.viewTypeConfigs`). Override to `true` in a view type that renders the\n * canonical grid columns (see {@link IViewTypeDescriptor.UsesCanonicalGridState}).\n */\n readonly UsesCanonicalGridState: boolean = false;\n\n /**\n * Default: this view type has no built-in export UI, so a host should provide a fallback Export\n * affordance. Override to `true` in a view type that ships its own export (see\n * {@link IViewTypeDescriptor.ProvidesOwnExport}).\n */\n readonly ProvidesOwnExport: boolean = false;\n\n /**\n * Default availability: available for every entity. Override in subclasses that have\n * requirements (e.g. Timeline needs a date field, Map needs geocoding).\n */\n IsAvailableFor(_entity: EntityInfo, _provider?: IMetadataProvider): boolean {\n return true;\n }\n\n /**\n * Default: nothing to preload. Override in subclasses whose availability predicate needs\n * async data (e.g. the Cluster view type loading which entities have Entity Documents).\n */\n async EnsureAvailabilityData(_provider?: IMetadataProvider): Promise<void> {\n // no-op by default\n }\n}\n\n/**\n * Tree-shaking guard. Force-references {@link RegisterClass} so bundlers don't drop the\n * decorator import in builds that only touch this contracts module. Concrete descriptor\n * modules each carry their own `@RegisterClass` and load guard, but this keeps the base\n * module self-consistent.\n */\nexport function LoadViewTypeContracts(): void {\n // no-op; presence prevents tree-shaking of this module's side-effect-free exports\n void RegisterClass;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"view-type.contracts.js","sourceRoot":"","sources":["../../../src/lib/view-types/view-type.contracts.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAoRvD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,OAAgB,sBAAsB;IAKjC,kBAAkB,CAAiB;IAE5C;;;;OAIG;IACM,sBAAsB,GAAY,KAAK,CAAC;IAEjD;;;;OAIG;IACM,iBAAiB,GAAY,KAAK,CAAC;IAE5C;;;OAGG;IACH,cAAc,CAAC,OAAmB,EAAE,SAA6B;QAC/D,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,sBAAsB,CAAC,SAA6B;QACxD,mBAAmB;IACrB,CAAC;CACF;AAED;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB;IACnC,kFAAkF;IAClF,KAAK,aAAa,CAAC;AACrB,CAAC","sourcesContent":["import { Type, EventEmitter } from '@angular/core';\nimport { EntityInfo, IMetadataProvider } from '@memberjunction/core';\nimport { ExportColumn } from '@memberjunction/export-engine';\nimport { RegisterClass } from '@memberjunction/global';\n\n/**\n * View-Type Plugin Architecture — Contracts\n * -----------------------------------------\n * This file defines the framework-level contracts for the entity-viewer's pluggable\n * view-type system. A \"view type\" is a way of rendering a set of entity records — the\n * built-in ones being Grid, Cards, Timeline, and Map, with future additions like\n * Cluster and Tag Cloud.\n *\n * The design separates three concerns:\n * 1. {@link IViewTypeDescriptor} — metadata + availability + the component types to mount.\n * Descriptors are discovered at runtime via the {@link https MemberJunction ClassFactory}\n * keyed off the `DriverClass` stored in the `MJ: View Types` entity.\n * 2. {@link IViewRenderer} — the contract a renderer component honors so the host can\n * feed it data and listen for selection/open/config events uniformly.\n * 3. {@link IViewPropSheet} — the contract a configuration prop-sheet component honors.\n *\n * Because this lives in an Angular package, it is acceptable for the descriptor to reference\n * Angular's `Type<T>` (it points at the concrete component classes to instantiate).\n */\n\n/**\n * Framework-agnostic-ish descriptor for a single view type.\n *\n * A descriptor is the bridge between the `MJ: View Types` metadata row (which stores\n * the `DriverClass` name) and the concrete Angular components that actually render the\n * view and edit its configuration. Descriptors are registered with the ClassFactory via\n * `@RegisterClass(BaseViewTypeDescriptor, '<DriverClass>')` so they can be discovered by\n * name without a hard import from the host.\n */\nexport interface IViewTypeDescriptor {\n /**\n * Stable internal key for the view type — matches the `DriverClass` column on the\n * `MJ: View Types` entity and the `@RegisterClass` registration key\n * (e.g. \"GridViewType\", \"CardsViewType\").\n */\n readonly Name: string;\n\n /** User-facing label shown in the view-mode switcher (e.g. \"Grid\", \"Tag Cloud\"). */\n readonly DisplayName: string;\n\n /** Font Awesome icon class shown in the switcher (e.g. \"fa-solid fa-table\"). */\n readonly Icon: string;\n\n /**\n * The Angular component class that renders this view type. The host instantiates /\n * mounts this component and feeds it data per the {@link IViewRenderer} contract.\n */\n readonly RendererComponent: Type<unknown>;\n\n /**\n * Optional Angular component class for this view type's configuration prop-sheet\n * (honors {@link IViewPropSheet}). Undefined when the view type has no configurable\n * options.\n */\n readonly PropSheetComponent?: Type<unknown>;\n\n /**\n * When `true`, this view type's `config.gridState` is backed by the **canonical**\n * `UserView.GridState` column (the single, framework-wide store for a view's\n * columns / sort / filter / aggregates — also read by `MJUserViewEntity.Columns`,\n * the GraphQL data provider's field list, and export) rather than by an opaque\n * per-view-type blob in `DisplayState.viewTypeConfigs`.\n *\n * The container honors this by (a) seeding the renderer's `config.gridState` from\n * the canonical store and (b) routing the renderer's `configChanged.gridState`\n * back to it on persist. This keeps the grid, the config panel, the server query,\n * and export all reading/writing one source of truth. Defaults to `false`, so\n * non-grid view types (Cards/Timeline/Map) keep their opaque per-type config.\n */\n readonly UsesCanonicalGridState?: boolean;\n\n /**\n * When `true`, this view type ships its OWN in-view export affordance (e.g. the Grid renderer's\n * in-toolbar \"Export\" button + {@link IViewRenderer.exportRecords}). Hosts use this to decide\n * whether to render a FALLBACK export button for view types that DON'T (Cards / Map / Timeline),\n * so every view type can export without a duplicate button on the ones that already have one.\n * Defaults to `false`. This is read off the (synchronously-resolved) descriptor rather than the\n * mounted renderer instance, so it's correct the instant the active view type changes.\n */\n readonly ProvidesOwnExport?: boolean;\n\n /**\n * Predicate that decides whether this view type is available for a given entity.\n * For example, Timeline requires a date field; Map requires geocoding support.\n * Grid and Cards are always available.\n *\n * @param entity the entity the viewer is currently displaying\n * @param provider optional metadata provider (for multi-provider scenarios)\n */\n IsAvailableFor(entity: EntityInfo, provider?: IMetadataProvider): boolean;\n\n /**\n * Optional async hook to load any data this descriptor's {@link IsAvailableFor} predicate\n * depends on (e.g. the Cluster view type needs the set of entities that have an active\n * Entity Document with vectors). The host awaits this once — before computing availability —\n * so the synchronous predicate can read from a now-populated cache. Implementations should\n * be cheap/idempotent (typically `await SomeEngine.Instance.Config(false, ...)`). Omit when\n * availability is computable purely from the {@link EntityInfo} (Grid/Cards/Timeline/Map).\n *\n * @param provider optional metadata provider (for multi-provider scenarios)\n */\n EnsureAvailabilityData?(provider?: IMetadataProvider): Promise<void>;\n}\n\n/**\n * Contract honored by a view renderer component. The host binds these inputs and\n * subscribes to these outputs uniformly across all view types.\n *\n * @typeParam TConfig the shape of this view type's configuration object\n */\nexport interface IViewRenderer<TConfig = unknown> {\n /** The entity whose records are being rendered. */\n entity: EntityInfo | null; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /** The records to render (already loaded/filtered by the host). */\n records: Record<string, unknown>[]; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /** Primary-key string of the currently selected record, if any. */\n selectedRecordId: string | null; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /** Active filter text (for highlighting / client-side concerns). */\n filterText: string | null; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /** View-type-specific configuration. */\n config: TConfig; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /**\n * Optional: the metadata provider, handed to plug-ins that issue their own data calls\n * (multi-provider safety). Generic — not specific to any one view type.\n */\n provider?: IMetadataProvider | null; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /**\n * Optional generic data-context the host supplies alongside {@link records}. These are\n * universal \"a view of records\" concepts (counts, current page, loading) — NOT specific to any\n * view type — so a renderer that paginates or shows a total can read them, and one that doesn't\n * simply ignores them. The host owns the actual data fetch; these describe its current result.\n */\n totalRecordCount?: number; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n /** One-based current page of {@link records} when the host is paginating. */\n page?: number; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n /** Page size the host is using. */\n pageSize?: number; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n /** Whether the host is currently (re)loading the record set. */\n isLoading?: boolean; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n /**\n * Optional ID of the persisted `MJ: User Views` record backing the current record set, or `null`\n * for a dynamic / unsaved view. Generic view context — lets a renderer offer saved-view actions\n * (such as Open in Excel) without taking ownership of the `UserView` entity record.\n */\n SavedViewID?: string | null;\n\n /** Emitted when a record is selected (single click). Payload is the raw record object. */\n recordSelected: EventEmitter<unknown>; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /**\n * Emitted when THIS entity's record should be opened (double-click / open). Payload is the raw\n * record. This is a NAVIGATION request — the only category of signal that legitimately bubbles\n * to the outer app (routing lives there). Everything else a view does (export, add-to-list,\n * delete, …) is self-contained in the plug-in via Generic dialogs and never bubbles up.\n */\n recordOpened: EventEmitter<unknown>; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /**\n * Optional: NAVIGATION request to open a *related* record on a DIFFERENT entity (e.g. a\n * foreign-key drill-through in a grid cell). Bubbles to the outer app for routing. Generic —\n * the container forwards it without acting on it.\n */\n openRelatedRecordRequested?: EventEmitter<ViewRelatedRecordNavigation>; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /**\n * Optional: NAVIGATION request to create a new record of the current entity (e.g. a grid's\n * \"New\" button) — opening the create form is a routing concern owned by the outer app. Bubbles\n * up; the container forwards it without acting on it.\n */\n createRecordRequested?: EventEmitter<void>; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /**\n * Emitted when the renderer mutates its own opaque {@link config} (e.g. timeline date field,\n * grid columns/sort/widths, map render mode). The container persists the blob verbatim against\n * the active `ViewTypeID` and never inspects it. (Container ↔ plug-in coordination inside the\n * Generic layer — NOT a signal that drives the outer app.)\n */\n configChanged: EventEmitter<TConfig>; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /**\n * Optional: ask the container to (re)load the record set differently. The ONLY data-access\n * channel a plug-in has, fully generic — the container honors the request (sort / page /\n * load-all) without knowing which plug-in asked or why. A grid emits sort/page; a map emits\n * `{ loadAll: true }`; a plug-in happy with the records it's given emits nothing. The container\n * owns the actual `RunView`; no per-view-type branching. (Container ↔ plug-in coordination —\n * NOT a signal that drives the outer app.)\n */\n dataRequest?: EventEmitter<ViewDataRequest>; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /**\n * Optional: ask the host to open this view's configuration UI (e.g. the workspace's config\n * panel). Generic — every view type has configurable settings (the descriptor's\n * {@link IViewTypeDescriptor.PropSheetComponent}); a plug-in raises this when the user invokes\n * an in-renderer affordance for it (e.g. the grid's \"Manage Columns\" toolbar item). The\n * container forwards it to the host, which owns the config UI; no per-view-type branching.\n * (Container ↔ plug-in coordination — NOT a signal that drives the outer app.)\n */\n configureRequested?: EventEmitter<void>; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /**\n * Optional IMPERATIVE export entry point. A renderer that owns a self-contained export\n * affordance (e.g. the grid's export dialog) may expose this so an external driver — the\n * host's programmatic API, ultimately the AI agent — can trigger an export of the current\n * record set WITHOUT going through the renderer's own toolbar UI. Renderers that don't\n * support export simply don't implement it (the host treats absence as \"not exportable\").\n *\n * This is NOT a navigation/UI-coordination signal — it's a direct method call the host makes\n * on the active renderer, mirroring how export is otherwise self-contained in the plug-in.\n *\n * @param format optional output format ('csv' | 'excel' | 'json'); the renderer picks a sensible\n * default (typically 'excel') when omitted.\n * @returns true when the export was initiated, false when it couldn't be (no data / unsupported).\n */\n exportRecords?(format?: 'csv' | 'excel' | 'json'): Promise<boolean>; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /**\n * Optional: the columns this renderer is showing, in on-screen order and with on-screen headers.\n * A host that exports on the renderer's behalf (the workspace toolbar's Export) uses this so its\n * export matches the screen. Renderers without a column layout (Cards, Map, Timeline) omit it and\n * the host falls back to the view's saved columns.\n */\n GetExportColumns?(): ExportColumn[];\n}\n\n/**\n * A generic, view-type-agnostic request from a renderer for the host to change how it loads the\n * record set. Every field is optional; the host applies whatever is present. No field names a\n * specific view type — these are universal data-access concepts.\n */\nexport interface ViewDataRequest {\n /** Desired sort, applied to the host's RunView OrderBy. Empty/omitted clears sorting. */\n sort?: Array<{ field: string; direction: 'asc' | 'desc' }>;\n /** One-based page to load (for paginated views). */\n page?: number;\n /** Page size to load. */\n pageSize?: number;\n /** When true, the host loads the full result set (up to its safety cap) instead of paginating. */\n loadAll?: boolean;\n}\n\n/**\n * A NAVIGATION request to open a record on a (possibly different) entity — the generic payload\n * for {@link IViewRenderer.openRelatedRecordRequested}. Routing lives in the outer app, so this\n * is one of the few signals that legitimately bubbles up. The container forwards it untouched.\n */\nexport interface ViewRelatedRecordNavigation {\n /** The entity whose record should be opened. */\n entityName: string;\n /** The record's key — a composite-key string or the raw key value(s). Opaque to the container. */\n recordKey: unknown;\n}\n\n/**\n * Contract honored by a view-type configuration prop-sheet component.\n *\n * @typeParam TConfig the shape of the configuration object being edited\n */\nexport interface IViewPropSheet<TConfig = unknown> {\n /** The entity the configuration applies to. */\n entity: EntityInfo | null; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /** The current configuration being edited. */\n config: TConfig; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n\n /** Emitted when the user changes the configuration. */\n configChange: EventEmitter<TConfig>; // case-violation-ok-legacy-back-compat: the type is named in an exported signature, so consumers build object literals against it; an interface has no runtime carrier for a stub\n}\n\n/**\n * Abstract base class for all view-type descriptors.\n *\n * Concrete descriptors extend this and register themselves with the ClassFactory:\n *\n * ```typescript\n * @RegisterClass(BaseViewTypeDescriptor, 'GridViewType')\n * export class GridViewType extends BaseViewTypeDescriptor {\n * readonly Name = 'GridViewType';\n * readonly DisplayName = 'Grid';\n * readonly Icon = 'fa-solid fa-table';\n * readonly RendererComponent = EntityDataGridComponent;\n * IsAvailableFor(): boolean { return true; }\n * }\n * ```\n *\n * The {@link ViewTypeEngine} resolves descriptors by `DriverClass` name after\n * probing ClassFactory registrations, then `CreateInstance`. Unregistered keys\n * (e.g. a seeded TagCloud row) are omitted rather than falling back to this base.\n *\n * NOTE: This class is registered with the ClassFactory itself (via subclasses) and is\n * intentionally NOT decorated — only concrete subclasses carry `@RegisterClass`.\n */\nexport abstract class BaseViewTypeDescriptor implements IViewTypeDescriptor {\n abstract readonly Name: string;\n abstract readonly DisplayName: string;\n abstract readonly Icon: string;\n abstract readonly RendererComponent: Type<unknown>;\n readonly PropSheetComponent?: Type<unknown>;\n\n /**\n * Default: this view type uses its own opaque per-view-type config (stored in\n * `DisplayState.viewTypeConfigs`). Override to `true` in a view type that renders the\n * canonical grid columns (see {@link IViewTypeDescriptor.UsesCanonicalGridState}).\n */\n readonly UsesCanonicalGridState: boolean = false;\n\n /**\n * Default: this view type has no built-in export UI, so a host should provide a fallback Export\n * affordance. Override to `true` in a view type that ships its own export (see\n * {@link IViewTypeDescriptor.ProvidesOwnExport}).\n */\n readonly ProvidesOwnExport: boolean = false;\n\n /**\n * Default availability: available for every entity. Override in subclasses that have\n * requirements (e.g. Timeline needs a date field, Map needs geocoding).\n */\n IsAvailableFor(_entity: EntityInfo, _provider?: IMetadataProvider): boolean {\n return true;\n }\n\n /**\n * Default: nothing to preload. Override in subclasses whose availability predicate needs\n * async data (e.g. the Cluster view type loading which entities have Entity Documents).\n */\n async EnsureAvailabilityData(_provider?: IMetadataProvider): Promise<void> {\n // no-op by default\n }\n}\n\n/**\n * Tree-shaking guard. Force-references {@link RegisterClass} so bundlers don't drop the\n * decorator import in builds that only touch this contracts module. Concrete descriptor\n * modules each carry their own `@RegisterClass` and load guard, but this keeps the base\n * module self-consistent.\n */\nexport function LoadViewTypeContracts(): void {\n // no-op; presence prevents tree-shaking of this module's side-effect-free exports\n void RegisterClass;\n}\n"]}
|
|
@@ -139,6 +139,18 @@ export declare class ViewWorkspaceComponent extends BaseAngularComponent impleme
|
|
|
139
139
|
set SelectedRecordId(value: string | null);
|
|
140
140
|
/** Partial {@link EntityViewerConfig} forwarded to the inner viewer (toolbar/pagination/etc.). */
|
|
141
141
|
ViewerConfig: Partial<EntityViewerConfig> | null;
|
|
142
|
+
private _alternateBaseView;
|
|
143
|
+
/**
|
|
144
|
+
* Optional semantic name (`EntityAlternateBaseView.Name`) of an alternate base view to read from
|
|
145
|
+
* when no saved view is active or to override the active view's `AlternateBaseView`.
|
|
146
|
+
*/
|
|
147
|
+
get AlternateBaseView(): string | null;
|
|
148
|
+
set AlternateBaseView(value: string | null);
|
|
149
|
+
/**
|
|
150
|
+
* Effective alternate base view passed to `<mj-entity-viewer>`:
|
|
151
|
+
* explicit `@Input() AlternateBaseView` overrides the selected view's `AlternateBaseView`.
|
|
152
|
+
*/
|
|
153
|
+
get EffectiveAlternateBaseView(): string | null;
|
|
142
154
|
/**
|
|
143
155
|
* Emitted when the user opens a record (double-click / open). The host performs the navigation.
|
|
144
156
|
*/
|
|
@@ -173,6 +185,10 @@ export declare class ViewWorkspaceComponent extends BaseAngularComponent impleme
|
|
|
173
185
|
* Two-way-binding companion for {@link SelectedView}.
|
|
174
186
|
*/
|
|
175
187
|
SelectedViewChange: EventEmitter<MJUserViewEntityExtended | null>;
|
|
188
|
+
/**
|
|
189
|
+
* Emitted when the active {@link AlternateBaseView} changes from the selector dropdown.
|
|
190
|
+
*/
|
|
191
|
+
AlternateBaseViewChange: EventEmitter<string | null>;
|
|
176
192
|
/**
|
|
177
193
|
* Emitted when the inner viewer's filter text changes (two-way friendly with {@link FilterText}).
|
|
178
194
|
*/
|
|
@@ -363,6 +379,8 @@ export declare class ViewWorkspaceComponent extends BaseAngularComponent impleme
|
|
|
363
379
|
PendingNewViewSmartFilterEnabled: boolean;
|
|
364
380
|
/** Smart-filter prompt carried from quick-save dialog back into the config panel. */
|
|
365
381
|
PendingNewViewSmartFilterPrompt: string;
|
|
382
|
+
/** Alternate base view carried from quick-save dialog back into the config panel. */
|
|
383
|
+
PendingNewViewAlternateBaseView: string | null;
|
|
366
384
|
/** Whether the full-width filter dialog is open. */
|
|
367
385
|
IsFilterDialogOpen: boolean;
|
|
368
386
|
/** @deprecated Use {@link IsFilterDialogOpen}. */
|
|
@@ -384,6 +402,14 @@ export declare class ViewWorkspaceComponent extends BaseAngularComponent impleme
|
|
|
384
402
|
constructor(cdr: ChangeDetectorRef);
|
|
385
403
|
/** Controls the workspace-level export dialog (the same generic dialog the grid uses). */
|
|
386
404
|
ShowExportDialog: boolean;
|
|
405
|
+
/**
|
|
406
|
+
* True only when the active view type does NOT provide its own toolbar Export button (e.g. Cards,
|
|
407
|
+
* Map, Timeline). When Grid is active, the grid toolbar already renders Export, so the top
|
|
408
|
+
* selector bar suppresses its duplicate Export icon.
|
|
409
|
+
*/
|
|
410
|
+
ShowFallbackExportButton: boolean;
|
|
411
|
+
/** Recomputes {@link ShowFallbackExportButton} when the inner viewer resolves or switches view types. */
|
|
412
|
+
OnActiveViewTypeResolved(): void;
|
|
387
413
|
/** @deprecated Use {@link ShowExportDialog}. */
|
|
388
414
|
get showExportDialog(): boolean;
|
|
389
415
|
/** @deprecated Use {@link ShowExportDialog}. */
|
|
@@ -463,6 +489,10 @@ export declare class ViewWorkspaceComponent extends BaseAngularComponent impleme
|
|
|
463
489
|
* resets the modified flag, and notifies the host. (Generalized from DataExplorer.onViewSelected.)
|
|
464
490
|
*/
|
|
465
491
|
OnViewSelected(event: ViewSelectedEvent): void;
|
|
492
|
+
/**
|
|
493
|
+
* Handle an Alternate Base View selection from the selector dropdown.
|
|
494
|
+
*/
|
|
495
|
+
OnAlternateBaseViewSelected(abvName: string | null): void;
|
|
466
496
|
/** @deprecated Use {@link OnViewSelected}. */
|
|
467
497
|
onViewSelected(event: ViewSelectedEvent): void;
|
|
468
498
|
/** Handle filter text change from the viewer — re-emit so the host can sync its filter box / URL. */
|
|
@@ -550,6 +580,18 @@ export declare class ViewWorkspaceComponent extends BaseAngularComponent impleme
|
|
|
550
580
|
OnCloseConfigPanel(): void;
|
|
551
581
|
/** @deprecated Use {@link OnCloseConfigPanel}. */
|
|
552
582
|
onCloseConfigPanel(): void;
|
|
583
|
+
/**
|
|
584
|
+
* Handle the config panel switching from "Save as New Named View" to "Personal Default Layout".
|
|
585
|
+
* Exits the new-view flow inside the open Studio session while deferring view deselection and
|
|
586
|
+
* `ViewSelected(null)` emission until the user commits "Save Default Layout" — so cancelling
|
|
587
|
+
* the Studio preserves the previously selected view, grid rows, and host URL deep link (#6037).
|
|
588
|
+
*/
|
|
589
|
+
OnSwitchToDefaultLayout(): void;
|
|
590
|
+
/**
|
|
591
|
+
* Commit deselection of any active saved view or ad-hoc alternate base view when saving the
|
|
592
|
+
* user's Personal Default Layout (#6037).
|
|
593
|
+
*/
|
|
594
|
+
private deselectActiveViewForDefaultLayout;
|
|
553
595
|
/** Reset the carry-over state used when continuing a new-view flow into the config panel. */
|
|
554
596
|
private clearPendingNewViewState;
|
|
555
597
|
/** Open the full-width filter dialog from the config panel's request. */
|
|
@@ -584,11 +626,17 @@ export declare class ViewWorkspaceComponent extends BaseAngularComponent impleme
|
|
|
584
626
|
* {@link BeforeViewSave} before saving and {@link AfterViewSave} after success.
|
|
585
627
|
*/
|
|
586
628
|
private persistNewView;
|
|
629
|
+
/** Copies the designer's properties onto the view; an empty list stores null, as a view without properties has. */
|
|
630
|
+
private applyProperties;
|
|
587
631
|
/**
|
|
588
632
|
* Update and persist the currently-selected view from the save event. Fires the cancelable
|
|
589
633
|
* {@link BeforeViewSave} before saving and {@link AfterViewSave} after success.
|
|
590
634
|
*/
|
|
591
635
|
private persistExistingView;
|
|
636
|
+
/**
|
|
637
|
+
* Ensure at most one user-owned view for the current entity has `IsDefault = true`.
|
|
638
|
+
*/
|
|
639
|
+
private clearOtherDefaultViewsForEntity;
|
|
592
640
|
/**
|
|
593
641
|
* Handle saving per-user default view settings from the config panel. When {@link AutoSaveView},
|
|
594
642
|
* persists to `UserInfoEngine`; otherwise emits {@link SaveDefaultsRequested}.
|
|
@@ -694,6 +742,11 @@ export declare class ViewWorkspaceComponent extends BaseAngularComponent impleme
|
|
|
694
742
|
private buildSortState;
|
|
695
743
|
/** Serialize the filter state to JSON, defaulting to an empty Kendo filter. */
|
|
696
744
|
private buildFilterStateJson;
|
|
745
|
+
/**
|
|
746
|
+
* Build an `MJUserViewEntity_IDisplayState` merging existing display state with
|
|
747
|
+
* any grid, card, timeline, or alternate base view settings emitted by the Unified View Studio.
|
|
748
|
+
*/
|
|
749
|
+
private buildDisplayState;
|
|
697
750
|
/**
|
|
698
751
|
* Whether a save event carries a filter the user would expect to be kept — a smart prompt with
|
|
699
752
|
* actual text, or at least one traditional filter. Deliberately stricter than the config panel's
|
|
@@ -721,6 +774,6 @@ export declare class ViewWorkspaceComponent extends BaseAngularComponent impleme
|
|
|
721
774
|
*/
|
|
722
775
|
private loadUserDefaultGridState;
|
|
723
776
|
static ɵfac: i0.ɵɵFactoryDeclaration<ViewWorkspaceComponent, never>;
|
|
724
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ViewWorkspaceComponent, "mj-view-workspace", never, { "Entity": { "alias": "Entity"; "required": false; }; "EntityName": { "alias": "EntityName"; "required": false; }; "EntityID": { "alias": "EntityID"; "required": false; }; "AutoSaveView": { "alias": "AutoSaveView"; "required": false; }; "SelectedView": { "alias": "SelectedView"; "required": false; }; "FilterText": { "alias": "FilterText"; "required": false; }; "SelectedRecordId": { "alias": "SelectedRecordId"; "required": false; }; "ViewerConfig": { "alias": "ViewerConfig"; "required": false; }; }, { "OpenRecordRequested": "OpenRecordRequested"; "OpenViewInTabRequested": "OpenViewInTabRequested"; "CreateNewRecordRequested": "CreateNewRecordRequested"; "OpenRelatedRecordRequested": "OpenRelatedRecordRequested"; "RecordSelected": "RecordSelected"; "ViewSelected": "ViewSelected"; "SelectedViewChange": "SelectedViewChange"; "FilterTextChanged": "FilterTextChanged"; "DataLoaded": "DataLoaded"; "FilteredCountChanged": "FilteredCountChanged"; "BeforeViewSave": "BeforeViewSave"; "AfterViewSave": "AfterViewSave"; "BeforeViewDelete": "BeforeViewDelete"; "AfterViewDelete": "AfterViewDelete"; "SaveViewRequested": "SaveViewRequested"; "DeleteViewRequested": "DeleteViewRequested"; "DuplicateViewRequested": "DuplicateViewRequested"; "SaveDefaultsRequested": "SaveDefaultsRequested"; }, never, never, false, never>;
|
|
777
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ViewWorkspaceComponent, "mj-view-workspace", never, { "Entity": { "alias": "Entity"; "required": false; }; "EntityName": { "alias": "EntityName"; "required": false; }; "EntityID": { "alias": "EntityID"; "required": false; }; "AutoSaveView": { "alias": "AutoSaveView"; "required": false; }; "SelectedView": { "alias": "SelectedView"; "required": false; }; "FilterText": { "alias": "FilterText"; "required": false; }; "SelectedRecordId": { "alias": "SelectedRecordId"; "required": false; }; "ViewerConfig": { "alias": "ViewerConfig"; "required": false; }; "AlternateBaseView": { "alias": "AlternateBaseView"; "required": false; }; }, { "OpenRecordRequested": "OpenRecordRequested"; "OpenViewInTabRequested": "OpenViewInTabRequested"; "CreateNewRecordRequested": "CreateNewRecordRequested"; "OpenRelatedRecordRequested": "OpenRelatedRecordRequested"; "RecordSelected": "RecordSelected"; "ViewSelected": "ViewSelected"; "SelectedViewChange": "SelectedViewChange"; "AlternateBaseViewChange": "AlternateBaseViewChange"; "FilterTextChanged": "FilterTextChanged"; "DataLoaded": "DataLoaded"; "FilteredCountChanged": "FilteredCountChanged"; "BeforeViewSave": "BeforeViewSave"; "AfterViewSave": "AfterViewSave"; "BeforeViewDelete": "BeforeViewDelete"; "AfterViewDelete": "AfterViewDelete"; "SaveViewRequested": "SaveViewRequested"; "DeleteViewRequested": "DeleteViewRequested"; "DuplicateViewRequested": "DuplicateViewRequested"; "SaveDefaultsRequested": "SaveDefaultsRequested"; }, never, never, false, never>;
|
|
725
778
|
}
|
|
726
779
|
//# sourceMappingURL=view-workspace.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-workspace.component.d.ts","sourceRoot":"","sources":["../../../src/lib/view-workspace/view-workspace.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,YAAY,EACZ,MAAM,EACN,iBAAiB,EAElB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAmB,UAAU,EAAyB,MAAM,sBAAsB,CAAC;AAE1F,OAAO,EACL,wBAAwB,EAExB,aAAa,EAKd,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,yBAAyB,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAC/F,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAK3F,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,sBAAsB,EACtB,eAAe,EACf,yBAAyB,EACzB,kBAAkB,EAClB,SAAS,EACT,aAAa,EACd,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AACjF,OAAO,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAC5H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,wBAAwB,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI;IAItD,qFAAqF;IACrF,OAAO,CAAC,qBAAqB;IA2C7B;;;;OAIG;IACU,oBAAoB,CAAC,KAAK,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAgB3E,oDAAoD;IACvC,oBAAoB,CAAC,KAAK,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAI3E,sFAAsF;YACxE,gBAAgB;IAiC9B,0CAA0C;IACnC,iBAAiB,IAAI,IAAI;IAMhC,iDAAiD;IAC1C,iBAAiB,IAAI,IAAI;IAIhC,sFAAsF;IAC/E,oBAAoB,IAAI,IAAI;IAOnC,oDAAoD;IAC7C,oBAAoB,IAAI,IAAI;IAQnC;;;OAGG;IACU,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAa1C,4CAA4C;IAC/B,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAS1C;;;OAGG;IACH,OAAO,CAAC,cAAc;IA2CtB,mGAAmG;IACnG,OAAO,CAAC,qBAAqB;IAa7B,mGAAmG;IACnG,OAAO,CAAC,cAAc;IAUtB,+EAA+E;IAC/E,OAAO,CAAC,oBAAoB;IAM5B;;;;OAIG;IACH,OAAO,CAAC,cAAc;IAMtB,4EAA4E;IAC5E,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,yBAAyB,CAAM;IAEvD;;;;OAIG;IACH,OAAO,CAAC,sBAAsB;IAY9B,8FAA8F;IAC9F,OAAO,CAAC,kBAAkB;IAe1B;;;OAGG;IACH,OAAO,CAAC,kBAAkB;IAmC1B;;;OAGG;IACH,OAAO,CAAC,wBAAwB;yCA3xDrB,sBAAsB;2CAAtB,sBAAsB;CAqzDlC"}
|
|
1
|
+
{"version":3,"file":"view-workspace.component.d.ts","sourceRoot":"","sources":["../../../src/lib/view-workspace/view-workspace.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,YAAY,EACZ,MAAM,EACN,iBAAiB,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