@acorex-platform/module-report-management-client 1.0.2 → 2.0.0-beta.1
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/fesm2022/{acorex-platform-module-report-management-client-acorex-platform-module-report-management-client-eSjEqt5D.mjs → acorex-platform-module-report-management-client-acorex-platform-module-report-management-client-DKnaOM7_.mjs} +36 -53
- package/fesm2022/acorex-platform-module-report-management-client-acorex-platform-module-report-management-client-DKnaOM7_.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-report-category.mjs +0 -14
- package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-report-category.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-report-generation-request.mjs +2 -16
- package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-report-generation-request.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-report.mjs +179 -25
- package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-report.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-report-management-client-contracts-entity-catalog-acorex-platform-module-report-management-client-contracts-entity-catalog-CboBAIna.mjs → acorex-platform-module-report-management-client-contracts-entity-catalog-acorex-platform-module-report-management-client-contracts-entity-catalog-CSABQXeE.mjs} +4 -20
- package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-acorex-platform-module-report-management-client-contracts-entity-catalog-CSABQXeE.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-report-management-client-contracts-entity-catalog-report-category.entity-BQFdNXAm.mjs → acorex-platform-module-report-management-client-contracts-entity-catalog-report-category.entity-GPDKYKW_.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-report-management-client-contracts-entity-catalog-report-category.entity-BQFdNXAm.mjs.map → acorex-platform-module-report-management-client-contracts-entity-catalog-report-category.entity-GPDKYKW_.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-report-management-client-contracts-entity-catalog-report-generation-request.entity-D381cWLE.mjs → acorex-platform-module-report-management-client-contracts-entity-catalog-report-generation-request.entity-B3cCnjKO.mjs} +4 -4
- package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-report-generation-request.entity-B3cCnjKO.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-report.entity-B_BWJu1a.mjs +292 -0
- package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-report.entity-B_BWJu1a.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog.mjs +1 -1
- package/fesm2022/acorex-platform-module-report-management-client-contracts.mjs +1866 -25
- package/fesm2022/acorex-platform-module-report-management-client-contracts.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-report-management-client-entity-reports-page-component.provider-CaxletoS.mjs → acorex-platform-module-report-management-client-entity-reports-page-component.provider-BqgxvuLq.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-report-management-client-entity-reports-page-component.provider-CaxletoS.mjs.map → acorex-platform-module-report-management-client-entity-reports-page-component.provider-BqgxvuLq.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-report-management-client-entity-reports-page.component-CK5bCQhm.mjs → acorex-platform-module-report-management-client-entity-reports-page.component-D9AfxSeN.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-report-management-client-entity-reports-page.component-CK5bCQhm.mjs.map → acorex-platform-module-report-management-client-entity-reports-page.component-D9AfxSeN.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-report-management-client-local-entities.mjs +0 -2
- package/fesm2022/acorex-platform-module-report-management-client-local-entities.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-report-management-client-report-definition-access.service-DUpwky68.mjs +67 -0
- package/fesm2022/acorex-platform-module-report-management-client-report-definition-access.service-DUpwky68.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-report-management-client-report-filter-page.component-C8XSGSdz.mjs +255 -0
- package/fesm2022/acorex-platform-module-report-management-client-report-filter-page.component-C8XSGSdz.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-report-management-client-report-layout-page-component.provider-BfBckWsh.mjs +28 -0
- package/fesm2022/acorex-platform-module-report-management-client-report-layout-page-component.provider-BfBckWsh.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-report-management-client-report-layout-page.component-DFmdGIY9.mjs +876 -0
- package/fesm2022/acorex-platform-module-report-management-client-report-layout-page.component-DFmdGIY9.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-report-management-client-report-layout-switcher.util-C3OVIaEz.mjs → acorex-platform-module-report-management-client-report-layout-switcher.util-DRG-8RcA.mjs} +258 -41
- package/fesm2022/acorex-platform-module-report-management-client-report-layout-switcher.util-DRG-8RcA.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-report-management-client-report-popup-viewer.component-CKE8NG5T.mjs → acorex-platform-module-report-management-client-report-popup-viewer.component-BVI1z7F3.mjs} +6 -6
- package/fesm2022/{acorex-platform-module-report-management-client-report-popup-viewer.component-CKE8NG5T.mjs.map → acorex-platform-module-report-management-client-report-popup-viewer.component-BVI1z7F3.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-report-management-client-report-viewer-page.component-CPlbhBa_.mjs → acorex-platform-module-report-management-client-report-viewer-page.component-CPHO4vlQ.mjs} +84 -26
- package/fesm2022/acorex-platform-module-report-management-client-report-viewer-page.component-CPHO4vlQ.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-report-management-client.mjs +1 -1
- package/i18n/en-AU/report-management.json +260 -35
- package/i18n/en-US/report-management.json +260 -35
- package/i18n/fa-IR/report-management.json +260 -35
- package/package.json +2 -9
- package/types/acorex-platform-module-report-management-client-contracts.d.ts +395 -109
- package/types/acorex-platform-module-report-management-client.d.ts +5 -5
- package/fesm2022/acorex-platform-module-report-management-client-acorex-platform-module-report-management-client-eSjEqt5D.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-query-snapshot-policy.mjs +0 -157
- package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-query-snapshot-policy.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-query-snapshot.mjs +0 -197
- package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-query-snapshot.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-acorex-platform-module-report-management-client-contracts-entity-catalog-CboBAIna.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-query-snapshot-policy.entity-BUY06Dz0.mjs +0 -97
- package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-query-snapshot-policy.entity-BUY06Dz0.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-query-snapshot.entity-CnnX3xZt.mjs +0 -137
- package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-query-snapshot.entity-CnnX3xZt.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-report-generation-request.entity-D381cWLE.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-report.entity-Bwui0M8X.mjs +0 -124
- package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-report.entity-Bwui0M8X.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-report-management-client-report-layout-switcher.util-C3OVIaEz.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-report-management-client-report-viewer-page.component-CPlbhBa_.mjs.map +0 -1
- package/types/acorex-platform-module-report-management-client-contracts-entities-query-snapshot-policy.d.ts +0 -5
- package/types/acorex-platform-module-report-management-client-contracts-entities-query-snapshot.d.ts +0 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-report-management-client-report-layout-page.component-DFmdGIY9.mjs","sources":["../../../../libs/modules/report-management/client/src/lib/features/report-definition/report-layout-field.nodes.ts","../../../../libs/modules/report-management/client/src/lib/features/report-definition/report-query-catalog.service.ts","../../../../libs/modules/report-management/client/src/lib/features/report-definition/report-layout-page.component.ts","../../../../libs/modules/report-management/client/src/lib/features/report-definition/report-layout-page.component.html"],"sourcesContent":["import { objectKeyValueTransforms, type AXPValueTransformerFunctions } from '@acorex-platform/framework-client/core';\nimport { extractValue, type AXPWidgetNode } from '@acorex-platform/framework-shared/core';\nimport {\n REPORT_LAYOUT_FIELD_LABEL_KEYS,\n reportLayoutFieldFallbackLabel,\n reportLayoutFieldKebabKey,\n type ReportLayoutFieldSchema,\n} from '@acorex-platform/module-report-management-client/contracts';\n\n//#region ---- Constants ----\n\nconst editor = 'reports.entities.report.layout-editor';\n\n/** The page edits a copy of the stored sections under this context key. */\nconst SECTIONS_ROOT = 'sections';\n\n/** A select widget hands back its row. Only the id is stored. */\nconst ID_VALUE = objectKeyValueTransforms('id');\n\n/** A multi select hands back its rows. Only the ids are stored. */\nconst ID_LIST_VALUE: AXPValueTransformerFunctions = {\n getter: (value: unknown) => (Array.isArray(value) ? value.map((item) => extractValue(item, 'id')) : value),\n setter: (value: unknown) => (Array.isArray(value) ? value.map((item) => extractValue(item, 'id')) : value),\n};\n\n/** Registered things the editors let the user pick instead of typing their names. */\nconst QUERY_ENTITY = 'PlatformManagement.QueryDefinition';\nconst COMMAND_ENTITY = 'PlatformManagement.CommandDefinition';\nconst REPORT_ENTITY = 'ReportManagement.Report';\nconst STIMULSOFT_TEMPLATE_ENTITY = 'DocumentOutput.StimulsoftTemplate';\n\n//#endregion\n\n//#region ---- Types ----\n\n/** One field of the rows the view's query returns, as the column pickers list it. */\nexport interface ReportLayoutColumnOption {\n id: string;\n title: string;\n}\n\n/** What the pickers of one view list: result fields of its query and the report filters. */\nexport interface ReportLayoutChoices {\n columns: readonly ReportLayoutColumnOption[];\n /** Filters of the report (`parameterGroups` paths). */\n parameters: readonly ReportLayoutColumnOption[];\n}\n\n//#endregion\n\n//#region ---- Labels ----\n\nfunction label(key: string): string {\n return `@report-management:${editor}.${key}`;\n}\n\n/**\n * Section names (layout, data source, actions, export) and the known properties have a translation.\n * An unknown property shows its own name, split into words.\n */\nfunction fieldLabel(key: string, depth: number, kind?: ReportLayoutFieldSchema['kind']): string {\n if (depth === 0) {\n return label(reportLayoutFieldKebabKey(key));\n }\n if (kind === 'query') {\n return label('query-name');\n }\n return REPORT_LAYOUT_FIELD_LABEL_KEYS.has(key)\n ? label(`fields.${reportLayoutFieldKebabKey(key)}`)\n : reportLayoutFieldFallbackLabel(key);\n}\n\nfunction optionTitle(value: string): string {\n return value === '\\t' ? '\\\\t' : value;\n}\n\n//#endregion\n\n//#region ---- Include switch ----\n\nfunction toggleField(path: string, labelKey: string, hintKey?: string): AXPWidgetNode {\n return {\n type: 'form-field',\n name: path,\n options: {\n label: label(labelKey),\n showLabel: true,\n ...(hintKey ? { hint: label(hintKey), hintDisplayMode: 'note' } : {}),\n },\n children: [{ type: 'toggle-editor', path, name: path }],\n };\n}\n\nconst INCLUDE_NODE = toggleField('enabled', 'include', 'include-hint');\nconst INCLUDE_ONLY: AXPWidgetNode[] = [INCLUDE_NODE];\n\n//#endregion\n\n//#region ---- Field editors ----\n\n/** Dropdown over the fields of the view's query. `multiple` stores a list of names. */\nfunction columnPicker(base: { path: string; name: string }, columns: readonly ReportLayoutColumnOption[], multiple: boolean, disabled: boolean): AXPWidgetNode {\n return {\n ...base,\n type: 'select-editor',\n valueTransforms: multiple ? ID_LIST_VALUE : ID_VALUE,\n options: {\n disabled,\n multiple,\n valueField: 'id',\n textField: 'title',\n allowSearch: true,\n hasClearButton: true,\n dataSource: columns.map((column) => ({ id: column.id, title: column.title })),\n },\n };\n}\n\n/** Dropdown over the rows of a registered entity. The stored value is one property of the picked row. */\nfunction entityPicker(\n base: { path: string; name: string },\n entity: string,\n valueField: string,\n textField: string,\n disabled: boolean,\n): AXPWidgetNode {\n return {\n ...base,\n type: 'lookup-editor',\n options: { disabled, entity, valueField, textField, look: 'select', allowClear: true, allowSearch: true },\n };\n}\n\n/** Editor widget for one property, chosen from the kind inferred from its stored value. */\nfunction editorNode(field: ReportLayoutFieldSchema, path: string, choices: ReportLayoutChoices): AXPWidgetNode {\n const disabled = field.locked === true;\n const base = { path, name: path };\n switch (field.kind) {\n case 'query':\n return entityPicker(base, QUERY_ENTITY, 'name', 'catalogTitle', disabled);\n case 'command':\n return entityPicker(base, COMMAND_ENTITY, 'name', 'catalogTitle', disabled);\n case 'report':\n return entityPicker(base, REPORT_ENTITY, 'id', 'title', disabled);\n case 'template':\n return entityPicker(base, STIMULSOFT_TEMPLATE_ENTITY, 'id', 'title', disabled);\n case 'column':\n case 'column-list': {\n // Until a query with known result fields is chosen there is nothing to pick from, so the name is typed.\n const multiple = field.kind === 'column-list';\n if (choices.columns.length === 0) {\n return multiple ? { ...base, type: 'tag-editor', options: { disabled } } : { ...base, type: 'text-editor', options: { disabled } };\n }\n return columnPicker(base, choices.columns, multiple, disabled);\n }\n case 'parameter':\n // The filters of the report are fixed choices; none are defined until the filter tab has some.\n return choices.parameters.length === 0\n ? { ...base, type: 'text-editor', options: { disabled } }\n : columnPicker(base, choices.parameters, false, disabled);\n case 'toggle':\n return { ...base, type: 'toggle-editor', options: { disabled } };\n case 'number':\n return { ...base, type: 'number-editor', options: { disabled } };\n case 'multiline':\n return { ...base, type: 'large-text-editor', options: { disabled } };\n case 'locale-text':\n return { ...base, type: 'text-editor', options: { disabled, multiLanguage: true } };\n case 'color':\n return { ...base, type: 'color-editor', options: { disabled } };\n case 'icon':\n return { ...base, type: 'icon-chooser', options: { disabled } };\n case 'tags':\n return { ...base, type: 'tag-editor', options: { disabled } };\n case 'select':\n return {\n ...base,\n type: 'select-editor',\n valueTransforms: ID_VALUE,\n options: {\n disabled,\n valueField: 'id',\n textField: 'title',\n dataSource: (field.options ?? []).map((value) => ({ id: value, title: optionTitle(value) })),\n },\n };\n case 'json':\n return { ...base, type: 'json-viewer' };\n default:\n return { ...base, type: 'text-editor', options: { disabled } };\n }\n}\n\n/** Only switches, numbers, choices and colours are short enough to share a row. Text takes the whole row. */\nfunction isWide(field: ReportLayoutFieldSchema): boolean {\n return !(\n field.kind === 'toggle' ||\n field.kind === 'number' ||\n field.kind === 'select' ||\n field.kind === 'color'\n );\n}\n\n/**\n * A form field spans 12 grid tracks unless told otherwise. In a group with fewer tracks that creates\n * extra implicit columns and squeezes every sibling, so each field states how many tracks it takes.\n */\nfunction gridSpan(cols: number, wide: boolean): Record<string, unknown> {\n const span = wide ? cols : 1;\n return { colSpan: span, positions: { sm: { colSpan: cols } } };\n}\n\nfunction labeledField(\n field: ReportLayoutFieldSchema,\n path: string,\n depth: number,\n cols: number,\n choices: ReportLayoutChoices,\n): AXPWidgetNode {\n return {\n type: 'form-field',\n name: path,\n options: { label: fieldLabel(field.key, depth, field.kind), showLabel: true, ...gridSpan(cols, isWide(field)) },\n children: [editorNode(field, path, choices)],\n };\n}\n\n//#endregion\n\n//#region ---- Containers ----\n\n/** Two columns only for a group of short fields, and never inside a repeater row, which is narrow. */\nfunction groupCols(children: readonly ReportLayoutFieldSchema[], inRow: boolean): number {\n const nested = children.some((child) => child.kind === 'group' || child.kind === 'list');\n return inRow || nested ? 1 : 2;\n}\n\nfunction groupNode(\n field: ReportLayoutFieldSchema,\n prefix: string,\n depth: number,\n inRow: boolean,\n choices: ReportLayoutChoices,\n): AXPWidgetNode {\n const children = field.fields ?? [];\n const cols = groupCols(children, inRow);\n return {\n type: 'fieldset-layout',\n name: `${prefix}${field.path}`,\n options: {\n title: fieldLabel(field.key, depth),\n look: depth === 0 ? 'card' : 'group',\n collapsible: depth === 0,\n isOpen: true,\n cols,\n },\n children: children.map((child) => fieldNode(child, prefix, depth + 1, inRow, cols, choices)),\n };\n}\n\n/**\n * A repeater clones one row template per stored row.\n * The template covers every property found in any row, and its paths are relative to the row.\n */\nfunction listNode(\n field: ReportLayoutFieldSchema,\n prefix: string,\n depth: number,\n choices: ReportLayoutChoices,\n): AXPWidgetNode {\n const path = `${prefix}${field.path}`;\n const row: AXPWidgetNode = {\n type: 'fieldset-layout',\n options: { look: 'card', showHeader: false, cols: 1 },\n children: (field.fields ?? []).map((child) => fieldNode(child, '', depth + 1, true, 1, choices)),\n };\n return {\n type: 'fieldset-layout',\n name: path,\n options: {\n title: fieldLabel(field.key, depth),\n look: depth === 0 ? 'card' : 'group',\n collapsible: depth === 0,\n isOpen: true,\n cols: 1,\n },\n children: [\n {\n type: 'repeater-layout',\n name: path,\n path,\n options: { hasControls: true, allowReorder: true, defaultItem: {} },\n children: [row],\n },\n ],\n };\n}\n\nfunction fieldNode(\n field: ReportLayoutFieldSchema,\n prefix: string,\n depth: number,\n inRow: boolean,\n cols: number,\n choices: ReportLayoutChoices,\n): AXPWidgetNode {\n switch (field.kind) {\n case 'group':\n return groupNode(field, prefix, depth, inRow, choices);\n case 'list':\n return listNode(field, prefix, depth, choices);\n default:\n return labeledField(field, `${prefix}${field.path}`, depth, cols, choices);\n }\n}\n\n//#endregion\n\n//#region ---- Page nodes ----\n\n/** Nodes per schema, then per set of column and filter choices. */\nconst nodeCache = new WeakMap<readonly ReportLayoutFieldSchema[], Map<string, AXPWidgetNode[]>>();\n\nfunction choicesSignature(options: readonly ReportLayoutColumnOption[]): string {\n return options.map((option) => `${option.id}\\u0000${option.title}`).join('\\u0001');\n}\n\n/**\n * Include switch, then one editor per property found in the stored JSON of this view.\n * `columns` are the fields of the chosen query; the column editors list them.\n * `parameters` are the filters of the report; the filter mapping lists them.\n * Nodes are cached per schema and choices so a toggle or a keystroke does not rebuild the widget tree.\n */\nexport function reportLayoutFieldNodes(\n enabled: boolean,\n fields: readonly ReportLayoutFieldSchema[],\n columns: readonly ReportLayoutColumnOption[] = [],\n parameters: readonly ReportLayoutColumnOption[] = [],\n): AXPWidgetNode[] {\n if (!enabled || fields.length === 0) {\n return INCLUDE_ONLY;\n }\n let bySignature = nodeCache.get(fields);\n if (!bySignature) {\n bySignature = new Map();\n nodeCache.set(fields, bySignature);\n }\n const signature = `${choicesSignature(columns)}\\u0002${choicesSignature(parameters)}`;\n let nodes = bySignature.get(signature);\n if (!nodes) {\n const choices: ReportLayoutChoices = { columns, parameters };\n nodes = [INCLUDE_NODE, ...fields.map((field) => fieldNode(field, `${SECTIONS_ROOT}.`, 0, false, 1, choices))];\n bySignature.set(signature, nodes);\n }\n return nodes;\n}\n\n//#endregion\n","import { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport type { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\nimport type { AXPQueryColumnDefinition } from '@acorex-platform/framework-shared/runtime';\nimport { inject, Injectable } from '@angular/core';\n\n//#region ----- Constants -----\n\nconst QUERY_DEFINITION_MODULE = 'PlatformManagement';\nconst QUERY_DEFINITION_ENTITY = 'QueryDefinition';\n\n//#endregion\n\n//#region ----- Types -----\n\ntype QueryDefinitionRow = AXPEntityModel<string> & {\n name: string;\n columns?: AXPQueryColumnDefinition[] | null;\n filter?: Array<{ name?: string }> | null;\n};\n\n/** One field of the rows a registered query returns. */\nexport type ReportQueryColumn = Pick<AXPQueryColumnDefinition, 'name' | 'title' | 'interface'>;\n\n//#endregion\n\n//#region ----- Service -----\n\n/**\n * Result fields of the registered queries, read from the same `PlatformManagement.QueryDefinition`\n * catalog the query pickers use. Lets the report editors offer real field names instead of free text.\n */\n@Injectable({ providedIn: 'root' })\nexport class AXMReportQueryCatalogService {\n //#region ----- Services & Dependencies -----\n\n private readonly queries = inject(AXPEntityService)\n .withEntity(QUERY_DEFINITION_MODULE, QUERY_DEFINITION_ENTITY)\n .data<string, QueryDefinitionRow>();\n\n //#endregion\n\n //#region ----- State -----\n\n private readonly columnsByQuery = new Map<string, Promise<ReportQueryColumn[]>>();\n private readonly filtersByQuery = new Map<string, Promise<string[]>>();\n\n //#endregion\n\n //#region ----- Public API -----\n\n /** Filter input names declared on the query (not result columns). */\n filters(queryName: string): Promise<string[]> {\n const name = queryName.trim();\n if (!name) {\n return Promise.resolve([]);\n }\n let cached = this.filtersByQuery.get(name);\n if (!cached) {\n cached = this.loadFilters(name).catch(() => {\n this.filtersByQuery.delete(name);\n return [];\n });\n this.filtersByQuery.set(name, cached);\n }\n return cached;\n }\n\n /** Fields the query returns. Empty when the query is unknown or does not declare its result fields. */\n columns(queryName: string): Promise<ReportQueryColumn[]> {\n const name = queryName.trim();\n if (!name) {\n return Promise.resolve([]);\n }\n let cached = this.columnsByQuery.get(name);\n if (!cached) {\n cached = this.load(name).catch(() => {\n this.columnsByQuery.delete(name);\n return [];\n });\n this.columnsByQuery.set(name, cached);\n }\n return cached;\n }\n\n //#endregion\n\n //#region ----- Private -----\n\n private async findByName(name: string): Promise<QueryDefinitionRow | undefined> {\n const found = await this.queries.query({\n skip: 0,\n take: 1,\n filter: { logic: 'and', filters: [{ field: 'name', operator: { type: 'equal' }, value: name }] },\n });\n return found.items.find((item) => item.name === name);\n }\n\n private async loadFilters(name: string): Promise<string[]> {\n const row = await this.findByName(name);\n const filters = row?.filter;\n return (Array.isArray(filters) ? filters : [])\n .map((item) => (typeof item?.name === 'string' ? item.name.trim() : ''))\n .filter((item) => item.length > 0);\n }\n\n private async load(name: string): Promise<ReportQueryColumn[]> {\n const columns = (await this.findByName(name))?.columns;\n return (Array.isArray(columns) ? columns : [])\n .filter((column) => typeof column?.name === 'string' && column.name.trim().length > 0)\n .map((column) => ({ name: column.name, title: column.title, interface: column.interface }));\n }\n\n //#endregion\n}\n\n//#endregion\n","//#region ----- Imports -----\n\nimport { extractRequestErrorInfo } from '@acorex-platform/framework-client/common';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport type { AXPEntityModel } from '@acorex-platform/framework-shared/entity';\nimport { AXPWidgetCoreModule } from '@acorex-platform/framework-client/layout/widget-core';\nimport {\n AXPPageLayoutBase,\n AXPPageLayoutBaseComponent,\n type AXPLayoutDetailsViewAction,\n} from '@acorex-platform/framework-client/layout/views';\nimport { AXPContextChangeEvent, resolveMultiLanguageString, type AXPExecuteCommand } from '@acorex-platform/framework-shared/core';\nimport {\n applyReportLayoutForm,\n applyReportLayoutSections,\n autoMapReportLayoutInputs,\n pickReportLayoutForm,\n readReportLayoutForm,\n readReportLayoutSections,\n reportLayoutFieldSchema,\n reportLayoutPresetByKey,\n reportLayoutQueryName,\n reportLayoutSectionsChanged,\n reportLayoutStoredColumns,\n reportLayoutStoredParameters,\n RootConfig,\n sameReportLayoutForm,\n type AXPReportLayoutDefinition,\n type AXPReportParameterGroup,\n type AXPReportLayoutPreset,\n type ReportLayoutFormModel,\n type ReportLayoutSectionsModel,\n} from '@acorex-platform/module-report-management-client/contracts';\nimport { AXPCommandExecutor } from '@acorex-platform/framework-client/runtime';\nimport { ChangeDetectionStrategy, Component, computed, effect, inject, input, signal, untracked } from '@angular/core';\nimport { isEqual } from 'lodash-es';\nimport { AXMReportDefinitionAccessService } from './report-definition-access.service';\nimport { reportLayoutFieldNodes, type ReportLayoutColumnOption } from './report-layout-field.nodes';\nimport { AXMReportQueryCatalogService, type ReportQueryColumn } from './report-query-catalog.service';\n\nconst SAVE_COMMAND = 'ReportDefinitionLayout:Save';\nconst DISCARD_COMMAND = 'ReportDefinitionLayout:Discard';\nconst DESIGN_LAYOUT_COMMAND = 'ReportDefinitionLayout:DesignStimulsoft';\nconst STIMULSOFT_DESIGN_COMMAND = 'DocumentOutput.StimulsoftTemplate:Design';\nconst STIMULSOFT_TEMPLATE_MODULE = 'DocumentOutput';\nconst STIMULSOFT_TEMPLATE_ENTITY = 'StimulsoftTemplate';\n\ntype ReportDefinitionRecord = AXPEntityModel<string> & {\n layouts?: AXPReportLayoutDefinition[];\n defaultLayoutId?: string;\n};\n\ntype StimulsoftTemplateDraft = AXPEntityModel<string> & {\n name: string;\n title: string;\n format: 'pdf';\n status: 'draft';\n queryNames: string[];\n content: string;\n};\n\n//#endregion\n\n//#region ----- Component -----\n\n@Component({\n selector: 'axm-report-layout-page',\n standalone: true,\n imports: [AXPWidgetCoreModule],\n templateUrl: './report-layout-page.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: AXPPageLayoutBase,\n useExisting: AXMReportLayoutPageComponent,\n },\n ],\n host: {\n class: 'axp-page-layout-base block h-full min-h-0 overflow-auto',\n },\n})\nexport class AXMReportLayoutPageComponent extends AXPPageLayoutBaseComponent {\n static readonly pageActionsFromInstance = true;\n\n //#region ----- Inputs -----\n\n rootContext = input<Record<string, unknown>>({});\n pageConfig = input<Record<string, unknown>>();\n options = input<Record<string, unknown>>({});\n\n //#endregion\n\n //#region ----- Services & Dependencies -----\n\n private readonly entityService = inject(AXPEntityService);\n private readonly commandExecutor = inject(AXPCommandExecutor);\n private readonly hostPageLayout = inject(AXPPageLayoutBase, { optional: true, skipSelf: true });\n private readonly reports = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.report.name)\n .data<string, ReportDefinitionRecord>();\n private readonly stimulsoftTemplates = this.entityService\n .withEntity(STIMULSOFT_TEMPLATE_MODULE, STIMULSOFT_TEMPLATE_ENTITY)\n .data<string, StimulsoftTemplateDraft>();\n private readonly access = inject(AXMReportDefinitionAccessService);\n private readonly queryCatalog = inject(AXMReportQueryCatalogService);\n\n //#endregion\n\n //#region ----- Lifecycle -----\n\n constructor() {\n super();\n effect(() => {\n const root = this.rootContext() ?? {};\n untracked(() => {\n void this.resolveAccess(root);\n });\n });\n effect(() => {\n const name = this.queryName();\n untracked(() => {\n void this.loadQueryColumns(name);\n });\n });\n effect(() => {\n const name = this.storedQueryName();\n untracked(() => {\n void this.loadStoredQueryColumns(name);\n void this.loadStoredQueryFilterNames(name);\n });\n });\n }\n\n //#endregion\n\n //#region ----- State Signals -----\n\n /** Whether the current tenant may change this definition (platform-global rows are platform-only). */\n protected readonly canEdit = signal(false);\n protected readonly accessResolved = signal(false);\n protected readonly readonlyNotice = signal('');\n\n private readonly localForm = signal<ReportLayoutFormModel | null>(null);\n /** Edited copy of the stored JSON objects. Null until the first edit. */\n private readonly localSections = signal<ReportLayoutSectionsModel | null>(null);\n private readonly savedRecord = signal<{ id: string; layouts: AXPReportLayoutDefinition[]; defaultLayoutId: string } | null>(null);\n protected readonly isDirty = signal(false);\n private readonly isSaving = signal(false);\n protected readonly widgetRenderKey = signal(0);\n /** Result fields of the query this view reads. Empty until a query with declared fields is chosen. */\n private readonly queryColumns = signal<ReportQueryColumn[]>([]);\n private queryColumnsToken = 0;\n /** Result fields of the query stored on this view (column pickers only). */\n private readonly storedQueryColumns = signal<string[]>([]);\n private storedQueryColumnsToken = 0;\n /** Filter input names on the stored query (`bindTo` targets like `filters.<name>`). */\n private readonly storedQueryFilterNames = signal<string[]>([]);\n private storedQueryFiltersToken = 0;\n\n //#endregion\n\n //#region ----- Computed Properties -----\n\n protected readonly preset = computed(() => {\n const fromOptions = this.options()?.['layoutKey'];\n const fromConfig = this.pageConfig()?.['field'];\n const key = typeof fromOptions === 'string' ? fromOptions : typeof fromConfig === 'string' ? fromConfig : undefined;\n return reportLayoutPresetByKey(key);\n });\n\n private readonly baseline = computed(() => {\n const preset = this.preset();\n if (!preset) {\n return null;\n }\n return readReportLayoutForm(this.reportSnapshot(), preset);\n });\n\n /** The stored objects as they are, before any filter is mapped for display. */\n private readonly storedSections = computed<ReportLayoutSectionsModel>(\n () => {\n const preset = this.preset();\n return preset ? readReportLayoutSections(this.reportSnapshot(), preset) : {};\n },\n { equal: isEqual },\n );\n\n private readonly storedQueryName = computed(() => reportLayoutQueryName(this.storedSections()));\n\n /** Filters of the report: the path each is stored under and a title to show. */\n private readonly reportParameters = computed<ReportLayoutColumnOption[]>(\n () => {\n const groups = this.rootContext()?.['parameterGroups'];\n const lang = this.translateService.getActiveLang() || 'en-US';\n const options: ReportLayoutColumnOption[] = [];\n for (const group of Array.isArray(groups) ? (groups as AXPReportParameterGroup[]) : []) {\n for (const parameter of group?.parameters ?? []) {\n const path = typeof parameter?.path === 'string' ? parameter.path.trim() : '';\n if (!path || options.some((option) => option.id === path)) {\n continue;\n }\n const title = resolveMultiLanguageString(parameter.title, lang)?.trim();\n options.push({ id: path, title: title && title !== path ? `${title} (${path})` : path });\n }\n }\n return options;\n },\n { equal: isEqual },\n );\n\n /**\n * Server to UI: a copy of the stored objects, so the widgets never write into the loaded definition.\n * Every report filter that matches a query filter input is shown as mapped (`filters.<name>`), without counting as an edit.\n */\n private readonly baselineSections = computed<ReportLayoutSectionsModel>(\n () =>\n autoMapReportLayoutInputs(\n this.storedSections(),\n this.reportParameters().map((option) => option.id),\n this.storedQueryFilterNames(),\n ),\n { equal: isEqual },\n );\n\n /** Editors are chosen from the stored values. They only change when the stored shape does. */\n private readonly fieldSchema = computed(\n () => reportLayoutFieldSchema(this.baselineSections(), this.preset()),\n { equal: isEqual },\n );\n\n protected readonly context = computed(() => {\n const form = this.localForm() ?? this.baseline();\n if (!form) {\n return {};\n }\n return { ...form, sections: this.baselineSections() };\n });\n\n /** The query follows the user's edit, so the column pickers switch as soon as another query is chosen. */\n private readonly queryName = computed(() => reportLayoutQueryName(this.localSections() ?? this.baselineSections()));\n\n /**\n * Fields the column pickers offer: those of the chosen query, plus any name already stored on the view,\n * so a stored value is never hidden because the catalog does not list it.\n */\n private readonly columnOptions = computed<ReportLayoutColumnOption[]>(\n () => {\n const columns = this.queryColumns();\n if (columns.length === 0) {\n return [];\n }\n const options = columns.map((column) => ({\n id: column.name,\n title: column.title && column.title !== column.name ? `${column.title} (${column.name})` : column.name,\n }));\n const known = new Set(options.map((option) => option.id));\n for (const stored of reportLayoutStoredColumns(this.baselineSections(), this.fieldSchema())) {\n if (!known.has(stored)) {\n options.push({ id: stored, title: stored });\n }\n }\n return options;\n },\n { equal: isEqual },\n );\n\n /** Filters the mapping offers, plus any filter already stored on the view so it is never hidden. */\n private readonly parameterOptions = computed<ReportLayoutColumnOption[]>(\n () => {\n const options = [...this.reportParameters()];\n const known = new Set(options.map((option) => option.id));\n for (const stored of reportLayoutStoredParameters(this.baselineSections(), this.fieldSchema())) {\n if (!known.has(stored)) {\n options.push({ id: stored, title: stored });\n }\n }\n return options;\n },\n { equal: isEqual },\n );\n\n protected readonly fieldNodes = computed(() => {\n const form = this.localForm() ?? this.baseline();\n if (!this.preset() || !form) {\n return [];\n }\n return reportLayoutFieldNodes(form.enabled, this.fieldSchema(), this.columnOptions(), this.parameterOptions());\n });\n\n //#endregion\n\n //#region ----- Unsaved Changes -----\n\n override hasUnsavedChanges(): boolean {\n return this.isDirty();\n }\n\n //#endregion\n\n //#region ----- Event Handlers -----\n\n override async getPrimaryMenuItems(): Promise<AXPLayoutDetailsViewAction[]> {\n const dirty = this.isDirty();\n const saving = this.isSaving();\n const saveTitle = await this.translateService.translateAsync('@general:actions.save.title');\n const discardTitle = await this.translateService.translateAsync('@general:actions.discard.title');\n\n if (!this.canEdit()) {\n return [];\n }\n const items: AXPLayoutDetailsViewAction[] = [\n {\n title: discardTitle,\n icon: 'fa-light fa-rotate-left',\n zone: 'footer',\n priority: 'secondary',\n color: 'default',\n visible: dirty,\n disabled: saving,\n command: { name: DISCARD_COMMAND, options: {} },\n },\n {\n title: saveTitle,\n icon: 'fa-light fa-floppy-disk',\n zone: 'footer',\n priority: 'primary',\n color: 'primary',\n visible: dirty,\n disabled: saving,\n command: { name: SAVE_COMMAND, options: {} },\n },\n ];\n if (this.preset()?.layoutType === 'pdf') {\n items.unshift({\n title: await this.translateService.translateAsync('@report-management:reports.entities.report.layout-editor.design-stimulsoft'),\n icon: 'fa-light fa-pen-ruler',\n zone: 'header',\n priority: 'secondary',\n color: 'default',\n command: { name: DESIGN_LAYOUT_COMMAND, options: {} },\n });\n }\n return items;\n }\n\n protected onContextChanged(event: AXPContextChangeEvent): void {\n const baseline = this.baseline();\n const data = event.data;\n if (!baseline || event.state !== 'changed' || this.isSaving() || data == null || typeof data !== 'object') {\n return;\n }\n const record = data as Record<string, unknown>;\n const baselineSections = this.baselineSections();\n const currentForm = this.localForm() ?? baseline;\n const currentSections = this.localSections() ?? baselineSections;\n const next = pickReportLayoutForm(record, currentForm);\n const nextSections = pickSections(record['sections'], currentSections);\n if (sameReportLayoutForm(next, currentForm) && isEqual(nextSections, currentSections)) {\n return;\n }\n const dirty =\n !sameReportLayoutForm(next, baseline) || reportLayoutSectionsChanged(baselineSections, nextSections, this.preset());\n this.localForm.set(next);\n this.localSections.set(nextSections);\n if (dirty !== this.isDirty()) {\n this.isDirty.set(dirty);\n this.recompute();\n }\n }\n\n override execute(command: AXPExecuteCommand): void | Promise<void> {\n if (command.name === DISCARD_COMMAND) {\n this.localForm.set(null);\n this.localSections.set(null);\n this.isDirty.set(false);\n this.widgetRenderKey.update((key) => key + 1);\n this.recompute();\n return;\n }\n if (command.name === SAVE_COMMAND) {\n return this.handleSave();\n }\n if (command.name === DESIGN_LAYOUT_COMMAND) {\n return this.openStimulsoftDesigner();\n }\n return undefined;\n }\n\n //#endregion\n\n //#region ----- Persistence -----\n\n private reportSnapshot(): { layouts: AXPReportLayoutDefinition[]; defaultLayoutId: string } {\n const root = this.rootContext() ?? {};\n const id = typeof root['id'] === 'string' ? root['id'] : '';\n const saved = this.savedRecord();\n if (saved && saved.id === id) {\n return saved;\n }\n return {\n layouts: Array.isArray(root['layouts']) ? (root['layouts'] as AXPReportLayoutDefinition[]) : [],\n defaultLayoutId: typeof root['defaultLayoutId'] === 'string' ? root['defaultLayoutId'] : '',\n };\n }\n\n /**\n * UI to server: the switches go through the form mapper, then the edited JSON objects are mapped back\n * onto the layout. The stored shape stays the one the server already uses.\n */\n private buildStoredLayouts(preset: AXPReportLayoutPreset, form: ReportLayoutFormModel) {\n const applied = applyReportLayoutForm(this.reportSnapshot(), preset, form);\n const baselineSections = this.baselineSections();\n return {\n layouts: applyReportLayoutSections(applied.layouts, preset, baselineSections, this.localSections() ?? baselineSections),\n defaultLayoutId: applied.defaultLayoutId,\n };\n }\n\n private async handleSave(): Promise<void> {\n const preset = this.preset();\n const baseline = this.baseline();\n const form = this.localForm() ?? baseline;\n const id = this.rootContext()?.['id'];\n if (!preset || !form || typeof id !== 'string' || !id) {\n this.toastService.show({\n color: 'danger',\n title: await this.translateService.translateAsync('@general:messages.error.title'),\n content: await this.translateService.translateAsync('@general:messages.entity.invalid-data'),\n });\n return;\n }\n\n const applied = this.buildStoredLayouts(preset, form);\n this.isSaving.set(true);\n this.recompute();\n try {\n await this.reports.update(id, {\n layouts: applied.layouts,\n defaultLayoutId: applied.defaultLayoutId,\n });\n const root = this.rootContext();\n if (root) {\n root['layouts'] = applied.layouts;\n root['defaultLayoutId'] = applied.defaultLayoutId;\n }\n this.savedRecord.set({ id, layouts: applied.layouts, defaultLayoutId: applied.defaultLayoutId });\n this.localForm.set(null);\n this.localSections.set(null);\n this.isDirty.set(false);\n this.widgetRenderKey.update((key) => key + 1);\n this.toastService.show({\n color: 'success',\n title: await this.translateService.translateAsync('@general:messages.generic.success.title'),\n content: await this.translateService.translateAsync('@general:messages.generic.success.description'),\n location: 'bottom-center',\n closeButton: true,\n timeOut: 3000,\n timeOutProgress: true,\n });\n } catch {\n this.toastService.show({\n color: 'danger',\n title: await this.translateService.translateAsync('@general:messages.error.title'),\n content: await this.translateService.translateAsync('@general:messages.entity.update-failed'),\n });\n } finally {\n this.isSaving.set(false);\n this.recompute();\n }\n }\n\n private async loadQueryColumns(name: string): Promise<void> {\n const token = ++this.queryColumnsToken;\n const columns = await this.queryCatalog.columns(name);\n if (token === this.queryColumnsToken) {\n this.queryColumns.set(columns);\n }\n }\n\n private async loadStoredQueryColumns(name: string): Promise<void> {\n const token = ++this.storedQueryColumnsToken;\n const columns = (await this.queryCatalog.columns(name)).map((column) => column.name);\n if (token !== this.storedQueryColumnsToken || isEqual(columns, this.storedQueryColumns())) {\n return;\n }\n this.storedQueryColumns.set(columns);\n }\n\n private async loadStoredQueryFilterNames(name: string): Promise<void> {\n const token = ++this.storedQueryFiltersToken;\n const filters = await this.queryCatalog.filters(name);\n if (token !== this.storedQueryFiltersToken || isEqual(filters, this.storedQueryFilterNames())) {\n return;\n }\n this.storedQueryFilterNames.set(filters);\n if (!this.isDirty()) {\n this.widgetRenderKey.update((key) => key + 1);\n }\n }\n\n private async resolveAccess(root: Record<string, unknown>): Promise<void> {\n const hasId = typeof root['id'] === 'string' && !!root['id'];\n const allowed = hasId ? await this.access.canEdit(root) : false;\n this.canEdit.set(allowed);\n this.accessResolved.set(hasId);\n this.readonlyNotice.set(\n allowed\n ? ''\n : await this.translateService.translateAsync('@report-management:reports.entities.report.layout-editor.readonly-notice'),\n );\n this.recompute();\n }\n\n private async openStimulsoftDesigner(): Promise<void> {\n if (!this.canEdit()) {\n await this.showDesignerUnavailable();\n return;\n }\n const preset = this.preset();\n const id = this.rootContext()?.['id'];\n const baseline = this.baseline();\n const current = this.localForm() ?? baseline;\n if (!preset || preset.layoutType !== 'pdf' || !current || typeof id !== 'string' || !id) {\n await this.showDesignerUnavailable();\n return;\n }\n const snapshot = this.reportSnapshot();\n const queryName = current.queryName.trim() || queryNameFromLayouts(snapshot.layouts);\n const form = { ...current, enabled: true, queryName };\n const applied = this.buildStoredLayouts(preset, form);\n const pdf = applied.layouts.find((layout) => layout.layout.type === 'pdf');\n if (!pdf || pdf.layout.type !== 'pdf') {\n await this.showDesignerUnavailable();\n return;\n }\n try {\n let templateId = pdf.layout.stimulsoftTemplateId?.trim() ?? '';\n const templateName = `report-${id}-pdf`;\n if (!templateId) {\n const found = await this.stimulsoftTemplates.query({\n skip: 0,\n take: 5,\n filter: {\n logic: 'and',\n filters: [{ field: 'name', operator: { type: 'equal' }, value: templateName }],\n },\n });\n templateId = found.items.find((item) => item.name === templateName)?.id ?? '';\n }\n if (!templateId) {\n const reportTitle = resolveMultiLanguageString(this.rootContext()?.['title'], this.translateService.getActiveLang() || 'en-US');\n templateId = await this.stimulsoftTemplates.create({\n name: templateName,\n title: reportTitle ? `${reportTitle} PDF` : 'PDF View',\n format: 'pdf',\n status: 'draft',\n queryNames: queryName ? [queryName] : [],\n content: '',\n });\n }\n pdf.layout = {\n ...pdf.layout,\n stimulsoftTemplateId: templateId,\n stimulsoftDataSourceName: queryName || pdf.layout.stimulsoftDataSourceName,\n };\n await this.reports.update(id, {\n layouts: applied.layouts,\n defaultLayoutId: applied.defaultLayoutId,\n });\n const root = this.rootContext();\n if (root) {\n root['layouts'] = applied.layouts;\n root['defaultLayoutId'] = applied.defaultLayoutId;\n }\n this.savedRecord.set({ id, layouts: applied.layouts, defaultLayoutId: applied.defaultLayoutId });\n this.localForm.set(null);\n this.localSections.set(null);\n this.isDirty.set(false);\n this.widgetRenderKey.update((key) => key + 1);\n this.recompute();\n await this.commandExecutor.execute(STIMULSOFT_DESIGN_COMMAND, { templateId });\n } catch (error) {\n const message = extractRequestErrorInfo(error)?.message || (error instanceof Error ? error.message : '');\n this.toastService.show({\n color: 'danger',\n title: await this.translateService.translateAsync('@general:messages.error.title'),\n content: message || (await this.translateService.translateAsync('@report-management:reports.entities.report.layout-editor.design-stimulsoft-unavailable')),\n });\n }\n }\n\n private async showDesignerUnavailable(): Promise<void> {\n this.toastService.show({\n color: 'warning',\n title: await this.translateService.translateAsync('@report-management:reports.entities.report.layout-editor.design-stimulsoft'),\n content: await this.translateService.translateAsync('@report-management:reports.entities.report.layout-editor.design-stimulsoft-unavailable'),\n });\n }\n\n protected override recompute(): void {\n super.recompute();\n const maybeLayout = this.hostPageLayout as { recompute?: () => void } | null;\n maybeLayout?.recompute?.();\n }\n\n //#endregion\n}\n\nfunction pickSections(value: unknown, fallback: ReportLayoutSectionsModel): ReportLayoutSectionsModel {\n return value != null && typeof value === 'object' && !Array.isArray(value) ? (value as ReportLayoutSectionsModel) : fallback;\n}\n\nfunction queryNameFromLayouts(layouts: AXPReportLayoutDefinition[]): string {\n for (const layout of layouts) {\n if (layout.dataSource?.type === 'query' && layout.dataSource.name.trim()) {\n return layout.dataSource.name.trim();\n }\n }\n return '';\n}\n\n//#endregion\n","@if (preset()) {\n <!-- ----- Editors for the selected static layout ----- -->\n @for (renderKey of [widgetRenderKey()]; track renderKey) {\n <!-- ----- The container has no box of its own, so this wrapper stacks the sections and keeps them content-high ----- -->\n <div class=\"flex flex-col gap-4 p-4 [&_axp-fieldset-widget-view]:h-auto [&_axp-form-field-widget-view]:h-auto\">\n @if (!canEdit() && accessResolved()) {\n <!-- ----- Notice for definitions the current tenant cannot change ----- -->\n <div class=\"text-sm opacity-70\">{{ readonlyNotice() }}</div>\n }\n <axp-widgets-container [context]=\"context()\" (onContextChanged)=\"onContextChanged($event)\">\n @for (node of fieldNodes(); track node.name) {\n <ng-container axp-widget-renderer [node]=\"node\" [mode]=\"canEdit() ? 'edit' : 'view'\"></ng-container>\n }\n </axp-widgets-container>\n </div>\n }\n}\n"],"names":["STIMULSOFT_TEMPLATE_ENTITY"],"mappings":";;;;;;;;;;;;;;AASA;AAEA,MAAM,MAAM,GAAG,uCAAuC;AAEtD;AACA,MAAM,aAAa,GAAG,UAAU;AAEhC;AACA,MAAM,QAAQ,GAAG,wBAAwB,CAAC,IAAI,CAAC;AAE/C;AACA,MAAM,aAAa,GAAiC;AAClD,IAAA,MAAM,EAAE,CAAC,KAAc,MAAM,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,KAAK,CAAC;AAC1G,IAAA,MAAM,EAAE,CAAC,KAAc,MAAM,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,KAAK,CAAC;CAC3G;AAED;AACA,MAAM,YAAY,GAAG,oCAAoC;AACzD,MAAM,cAAc,GAAG,sCAAsC;AAC7D,MAAM,aAAa,GAAG,yBAAyB;AAC/C,MAAMA,4BAA0B,GAAG,mCAAmC;AAmBtE;AAEA;AAEA,SAAS,KAAK,CAAC,GAAW,EAAA;AACxB,IAAA,OAAO,CAAA,mBAAA,EAAsB,MAAM,CAAA,CAAA,EAAI,GAAG,EAAE;AAC9C;AAEA;;;AAGG;AACH,SAAS,UAAU,CAAC,GAAW,EAAE,KAAa,EAAE,IAAsC,EAAA;AACpF,IAAA,IAAI,KAAK,KAAK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