aril 1.1.67 → 1.1.68
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.
|
@@ -7,19 +7,20 @@ import * as i2 from "@angular-architects/module-federation-tools";
|
|
|
7
7
|
export class CustomizedPluginDialogComponent {
|
|
8
8
|
constructor(dialogConfig) {
|
|
9
9
|
this.dialogConfig = dialogConfig;
|
|
10
|
+
this.name = this.dialogConfig.data.name;
|
|
11
|
+
this.props = this.dialogConfig.data.props || {};
|
|
10
12
|
this.PLUGINS = PLUGINS;
|
|
11
13
|
this.dialogConfig.draggable = true;
|
|
12
|
-
this.name = this.dialogConfig.data;
|
|
13
14
|
}
|
|
14
15
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: CustomizedPluginDialogComponent, deps: [{ token: i1.DynamicDialogConfig }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: CustomizedPluginDialogComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `<mft-wc-wrapper [options]="PLUGINS[name].options" />`, isInline: true, dependencies: [{ kind: "ngmodule", type: ModuleFederationToolsModule }, { kind: "component", type: i2.WebComponentWrapper, selector: "mft-wc-wrapper", inputs: ["options", "props", "events"] }] }); }
|
|
16
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: CustomizedPluginDialogComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `<mft-wc-wrapper [options]="PLUGINS[name].options" [props]="props" />`, isInline: true, dependencies: [{ kind: "ngmodule", type: ModuleFederationToolsModule }, { kind: "component", type: i2.WebComponentWrapper, selector: "mft-wc-wrapper", inputs: ["options", "props", "events"] }] }); }
|
|
16
17
|
}
|
|
17
18
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: CustomizedPluginDialogComponent, decorators: [{
|
|
18
19
|
type: Component,
|
|
19
20
|
args: [{
|
|
20
21
|
standalone: true,
|
|
21
22
|
imports: [ModuleFederationToolsModule],
|
|
22
|
-
template: `<mft-wc-wrapper [options]="PLUGINS[name].options" />`
|
|
23
|
+
template: `<mft-wc-wrapper [options]="PLUGINS[name].options" [props]="props" />`
|
|
23
24
|
}]
|
|
24
25
|
}], ctorParameters: () => [{ type: i1.DynamicDialogConfig }] });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGx1Z2luLWRpYWxvZy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hcmlsL3V0aWwvZGlyZWN0aXZlcy9zcmMvZGlhbG9nLWNvbXBvbmVudC9wbHVnaW4tZGlhbG9nLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBSTFDLE9BQU8sRUFBRSwyQkFBMkIsRUFBRSxNQUFNLDZDQUE2QyxDQUFDO0FBRTFGLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQzs7OztBQU9uRCxNQUFNLE9BQU8sK0JBQStCO0lBSzNDLFlBQTZCLFlBQWlDO1FBQWpDLGlCQUFZLEdBQVosWUFBWSxDQUFxQjtRQUo5RCxTQUFJLEdBQUcsSUFBSSxDQUFDLFlBQVksQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDO1FBQ25DLFVBQUssR0FBRyxJQUFJLENBQUMsWUFBWSxDQUFDLElBQUksQ0FBQyxLQUFLLElBQUksRUFBRSxDQUFDO1FBQzNDLFlBQU8sR0FBRyxPQUFPLENBQUM7UUFH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kaWFsb2dDb25maWcuZGF0YS5wcm9wcyB8fCB7fTtcclxuXHRQTFVHSU5TID0gUExVR0lOUztcclxuXHJcblx0Y29uc3RydWN0b3IocHJpdmF0ZSByZWFkb25seSBkaWFsb2dDb25maWc6IER5bmFtaWNEaWFsb2dDb25maWcpIHtcclxuXHRcdHRoaXMuZGlhbG9nQ29uZmlnLmRyYWdnYWJsZSA9IHRydWU7XHJcblx0fVxyXG59XHJcbiJdfQ==
|
|
@@ -307,19 +307,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
307
307
|
class CustomizedPluginDialogComponent {
|
|
308
308
|
constructor(dialogConfig) {
|
|
309
309
|
this.dialogConfig = dialogConfig;
|
|
310
|
+
this.name = this.dialogConfig.data.name;
|
|
311
|
+
this.props = this.dialogConfig.data.props || {};
|
|
310
312
|
this.PLUGINS = PLUGINS;
|
|
311
313
|
this.dialogConfig.draggable = true;
|
|
312
|
-
this.name = this.dialogConfig.data;
|
|
313
314
|
}
|
|
314
315
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: CustomizedPluginDialogComponent, deps: [{ token: i1.DynamicDialogConfig }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
315
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: CustomizedPluginDialogComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `<mft-wc-wrapper [options]="PLUGINS[name].options" />`, isInline: true, dependencies: [{ kind: "ngmodule", type: ModuleFederationToolsModule }, { kind: "component", type: i2.WebComponentWrapper, selector: "mft-wc-wrapper", inputs: ["options", "props", "events"] }] }); }
|
|
316
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: CustomizedPluginDialogComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `<mft-wc-wrapper [options]="PLUGINS[name].options" [props]="props" />`, isInline: true, dependencies: [{ kind: "ngmodule", type: ModuleFederationToolsModule }, { kind: "component", type: i2.WebComponentWrapper, selector: "mft-wc-wrapper", inputs: ["options", "props", "events"] }] }); }
|
|
316
317
|
}
|
|
317
318
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: CustomizedPluginDialogComponent, decorators: [{
|
|
318
319
|
type: Component,
|
|
319
320
|
args: [{
|
|
320
321
|
standalone: true,
|
|
321
322
|
imports: [ModuleFederationToolsModule],
|
|
322
|
-
template: `<mft-wc-wrapper [options]="PLUGINS[name].options" />`
|
|
323
|
+
template: `<mft-wc-wrapper [options]="PLUGINS[name].options" [props]="props" />`
|
|
323
324
|
}]
|
|
324
325
|
}], ctorParameters: () => [{ type: i1.DynamicDialogConfig }] });
|
|
325
326
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aril-util-directives.mjs","sources":["../../projects/aril/util/directives/src/detail-page-customization/models.ts","../../projects/aril/util/directives/src/detail-page-customization/detail-page-customization.directive.ts","../../projects/aril/util/directives/src/dialog-component/plugin-dialog.component.ts","../../projects/aril/util/directives/src/dialog-service/plugin-dialog.service.ts","../../projects/aril/util/directives/aril-util-directives.ts"],"sourcesContent":["import { InjectionToken, Signal } from '@angular/core';\r\n\r\nimport { MenuItem } from 'primeng/api';\r\nimport { TabView } from 'primeng/tabview';\r\n\r\nimport { solidIcons } from 'aril/util/lib';\r\n\r\nexport interface DetailComponent {\r\n\tmdInfoPluginProps: {\r\n\t\tgeneralMenu: Signal<MenuItem[]>;\r\n\t};\r\n\t// signals for reactive updates\r\n\tconfigTabs: Signal<TabConfig[]>;\r\n\tactiveTabComponents: Signal<TabConfig['components']>;\r\n\ttabs: TabConfig[];\r\n\ttabView?: TabView;\r\n}\r\n\r\nexport const DETAIL_COMPONENT = new InjectionToken<DetailComponent>('DETAIL_COMPONENT');\r\nexport const PLUGIN_DIALOG_SERVICE = new InjectionToken('PLUGIN_DIALOG_SERVICE');\r\n\r\nexport interface TabConfig {\r\n\tid: string | number | null;\r\n\theader: string;\r\n\ticon: keyof typeof solidIcons;\r\n\tvisible: boolean;\r\n\tposition: number;\r\n\tcomponents: Array<{\r\n\t\tid: string | null;\r\n\t\tpluginName: string;\r\n\t\tvisible: boolean;\r\n\t\torder?: number;\r\n\t}>;\r\n}\r\n\r\nexport interface DetailConfigMenuItem {\r\n\tlabel: {\r\n\t\t[key: string]: string;\r\n\t};\r\n\tcommand: string;\r\n\ticon: string;\r\n}\r\n\r\nexport interface DetailConfig {\r\n\tmenu: Array<DetailConfigMenuItem>;\r\n\ttabs: Array<{\r\n\t\tid: string | null;\r\n\t\ticon: keyof typeof solidIcons;\r\n\t\tlabel?: {\r\n\t\t\t[key: string]: string;\r\n\t\t};\r\n\t\tvisible: boolean;\r\n\t\tposition: number;\r\n\t\tcomponents: Array<{\r\n\t\t\tid: string | null;\r\n\t\t\tpluginName: string;\r\n\t\t\tvisible: boolean;\r\n\t\t\torder?: number;\r\n\t\t}>;\r\n\t}>;\r\n}\r\n","import { Directive, Inject, Signal, computed, effect, inject, signal } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\n\r\nimport { MenuItem } from 'primeng/api';\r\n\r\nimport { TranslocoService } from '@ngneat/transloco';\r\n\r\nimport {\r\n\tDETAIL_COMPONENT,\r\n\tDetailComponent,\r\n\tDetailConfig,\r\n\tDetailConfigMenuItem,\r\n\tPLUGIN_DIALOG_SERVICE,\r\n\tTabConfig\r\n} from './models';\r\n\r\n@Directive({\r\n\tstandalone: true\r\n})\r\nexport class DetailPageCustomizationDirective {\r\n\tprivate readonly route = inject(ActivatedRoute);\r\n\tprivate readonly router = inject(Router);\r\n\tprivate readonly dialogService = inject(PLUGIN_DIALOG_SERVICE); // Use token instead\r\n\tprivate readonly translocoService = inject(TranslocoService);\r\n\r\n\t// Internal signal to track when TabView and the menu are ready\r\n\tprivate viewsInitialized = signal(false);\r\n\tprivate config: DetailConfig | undefined;\r\n\tprivate getRouteConfig = (): DetailConfig | undefined => {\r\n\t\tconst configs = (globalThis as any).routeConfigs as\r\n\t\t\t| Array<{ path: string; content: string; version: number }>\r\n\t\t\t| undefined;\r\n\t\tif (!configs || !Array.isArray(configs)) return undefined;\r\n\r\n\t\tconst currentUrl = this.router.url.split('?')[0];\r\n\r\n\t\tlet bestMatch: { path: string; content: string; version: number } | undefined;\r\n\r\n\t\tfor (const config of configs) {\r\n\t\t\tif (!config.path) continue;\r\n\r\n\t\t\tconst urlToCheck = config.path.startsWith('/') ? config.path : `/${config.path}`;\r\n\r\n\t\t\tif (currentUrl.startsWith(urlToCheck)) {\r\n\t\t\t\tbestMatch = config;\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (!bestMatch) return undefined;\r\n\r\n\t\ttry {\r\n\t\t\treturn JSON.parse(bestMatch.content) as DetailConfig;\r\n\t\t} catch (e) {\r\n\t\t\tconsole.error('Failed to parse route config content:', e);\r\n\t\t\treturn undefined;\r\n\t\t}\r\n\t};\r\n\r\n\tprivate getProcessedTabs: Signal<TabConfig[]> = computed(() => {\r\n\t\tif (!this.config?.tabs) return [];\r\n\r\n\t\tconst activeLang = this.translocoService.getActiveLang();\r\n\r\n\t\treturn this.config.tabs\r\n\t\t\t.filter((tab) => tab.visible !== false)\r\n\t\t\t.map((tab) => ({\r\n\t\t\t\tid: tab.id ?? null,\r\n\t\t\t\ticon: tab.icon,\r\n\t\t\t\theader: tab.label ? tab.label[activeLang] : '',\r\n\t\t\t\tvisible: tab.visible,\r\n\t\t\t\tposition: tab.position,\r\n\t\t\t\tcomponents: tab.components || []\r\n\t\t\t}));\r\n\t});\r\n\r\n\tconstructor(@Inject(DETAIL_COMPONENT) private readonly detailComponent: DetailComponent) {\r\n\t\tthis.config = this.getRouteConfig();\r\n\t\teffect(\r\n\t\t\t(onCleanup) => {\r\n\t\t\t\tif (this.viewsInitialized()) return;\r\n\r\n\t\t\t\t// Poll every animation frame until both TabView and the menu is ready\r\n\t\t\t\t// The menu can be directly defined in the component from init step, or be built dynamically after waiting for a network response. So we must wait for it to be ready.\r\n\t\t\t\tconst checkViews = () => {\r\n\t\t\t\t\tif (this.detailComponent.tabView?.tabs && this.detailComponent.mdInfoPluginProps?.generalMenu()?.length) {\r\n\t\t\t\t\t\tthis.viewsInitialized.set(true);\r\n\t\t\t\t\t\tthis.onViewsReady();\r\n\t\t\t\t\t} else if (!this.viewsInitialized()) {\r\n\t\t\t\t\t\tframeId = requestAnimationFrame(checkViews);\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\r\n\t\t\t\tlet frameId = requestAnimationFrame(checkViews);\r\n\r\n\t\t\t\tonCleanup(() => {\r\n\t\t\t\t\tcancelAnimationFrame(frameId);\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\t{ allowSignalWrites: true }\r\n\t\t);\r\n\t}\r\n\r\n\tprivate onViewsReady(): void {\r\n\t\tif (!this.config) return;\r\n\r\n\t\t// step 1 - hide tabs based on config\r\n\t\tif (this.detailComponent.tabView?.tabs) {\r\n\t\t\tthis.updateTabVisibility();\r\n\t\t}\r\n\t\t// step 2 - append config tabs to the static tabs (only new ones, not those matching static tabs)\r\n\t\tconst allConfigTabs = this.getProcessedTabs();\r\n\r\n\t\t// Get IDs of existing static tabs\r\n\t\tconst staticTabIds = new Set<string | number | null>();\r\n\t\tif (this.detailComponent.tabView?.tabs) {\r\n\t\t\tthis.detailComponent.tabView.tabs.forEach((tabPanel) => {\r\n\t\t\t\tconst tabId = tabPanel?.el?.nativeElement?.id;\r\n\t\t\t\tif (tabId) {\r\n\t\t\t\t\tstaticTabIds.add(tabId);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\t// Filter out config tabs that are meant to *reorder* existing static tabs.\r\n\t\t// Any tab whose id matches an existing static tab id is considered a \"reorder\"\r\n\t\t// instruction; everything else (id === null OR an id that doesn't exist yet)\r\n\t\t// is treated as a brand new tab.\r\n\t\tconst newConfigTabs = allConfigTabs.filter((tab) => {\r\n\t\t\t// new tab when id is null/undefined\r\n\t\t\tif (!tab.id) return true;\r\n\r\n\t\t\t// new tab when id is provided but doesn't match any static tab id\r\n\t\t\treturn !staticTabIds.has(tab.id);\r\n\t\t});\r\n\r\n\t\tif (newConfigTabs.length > 0 && this.detailComponent.configTabs) {\r\n\t\t\t(this.detailComponent.configTabs as any).set(newConfigTabs);\r\n\t\t} else if (newConfigTabs.length > 0) {\r\n\t\t\tthis.detailComponent.tabs = newConfigTabs;\r\n\t\t}\r\n\r\n\t\t// using setTimeout to ensure tabView is ready as we want to work directly with the generated elements\r\n\t\tsetTimeout(() => {\r\n\t\t\t// step 3 - reorder tabs\r\n\t\t\tthis.reorderTabsByPosition();\r\n\t\t\t// step 4 - activate tab from URL if specified\r\n\t\t\tthis.activateTabFromUrl();\r\n\t\t\t// step 5 - update the menu\r\n\t\t\tif (this.config?.menu) {\r\n\t\t\t\tthis.updateMenu(this.config.menu);\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\tprivate updateTabVisibility(): void {\r\n\t\tif (!this.config?.tabs) return;\r\n\r\n\t\t// Find tabs in config that have visible: false\r\n\t\tconst hiddenTabPositions = this.config.tabs.filter((tab) => tab.visible === false).map((tab) => tab.position);\r\n\r\n\t\thiddenTabPositions.forEach((position) => {\r\n\t\t\tthis.hideTabByPosition(position, true);\r\n\t\t});\r\n\t}\r\n\r\n\thideTabByPosition(position: number, hide = true): void {\r\n\t\tif (!this.detailComponent.tabView?.tabs) return;\r\n\r\n\t\tconst panelToHide = this.detailComponent.tabView.tabs[position];\r\n\t\tconst tabToHide = this.detailComponent.tabView.list?.children[position] as HTMLElement;\r\n\r\n\t\tif (tabToHide && panelToHide) {\r\n\t\t\tpanelToHide.el.nativeElement.hidden = hide;\r\n\t\t\ttabToHide.style.display = 'none';\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * Reorder tabs based on config positions\r\n\t * Iterates over visible config tabs and rearranges both static and config tabs\r\n\t */\r\n\tprivate reorderTabsByPosition(): void {\r\n\t\tif (!this.detailComponent.tabView?.tabs || !this.detailComponent.tabView?.list) return;\r\n\r\n\t\tconst configTabs = this.getProcessedTabs();\r\n\t\tconst allTabs = this.detailComponent.tabView.tabs;\r\n\t\tconst navList = this.detailComponent.tabView.list;\r\n\r\n\t\tconst configTabMap = new Map<string | number | null, TabConfig>();\r\n\t\tconfigTabs.forEach((tab) => {\r\n\t\t\t// Only treat tabs that both:\r\n\t\t\t// - have an id\r\n\t\t\t// - and have an explicit position\r\n\t\t\t// as \"reorder instructions\" for existing static tabs.\r\n\t\t\t// Tabs without a position (even if they have an id) are considered\r\n\t\t\t// regular/new tabs and should keep their natural order.\r\n\t\t\tif (tab.id && tab.position) {\r\n\t\t\t\tconfigTabMap.set(tab.id, tab);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t// separate static from config tabs\r\n\t\tconst staticTabs: Array<{ tab: any; index: number; id: string | number | null }> = [];\r\n\t\tconst configTabInstances: Array<{ tab: any; index: number; config: TabConfig }> = [];\r\n\r\n\t\tallTabs.forEach((tabPanel, index) => {\r\n\t\t\tconst tabId = tabPanel?.el?.nativeElement?.id || null;\r\n\t\t\tconst configTab = tabId ? configTabMap.get(tabId) : null;\r\n\r\n\t\t\tif (configTab) {\r\n\t\t\t\tconfigTabInstances.push({ tab: tabPanel, index, config: configTab });\r\n\t\t\t} else {\r\n\t\t\t\tstaticTabs.push({ tab: tabPanel, index, id: tabId });\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tconst positionMap = new Map<number, { tab: any; isConfig: boolean; id: string | number | null }>();\r\n\r\n\t\t// place config tabs at their specified positions\r\n\t\tconfigTabInstances.forEach(({ tab, config }) => {\r\n\t\t\tif (config.position !== undefined && config.position !== null) {\r\n\t\t\t\tpositionMap.set(config.position, { tab, isConfig: true, id: config.id });\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t// place static tabs at available positions (maintaining relative order)\r\n\t\tlet staticIndex = 0;\r\n\t\tlet currentPosition = 0;\r\n\r\n\t\twhile (staticIndex < staticTabs.length) {\r\n\t\t\twhile (positionMap.has(currentPosition)) {\r\n\t\t\t\tcurrentPosition++;\r\n\t\t\t}\r\n\r\n\t\t\t// place static tab at this position\r\n\t\t\tconst staticTab = staticTabs[staticIndex];\r\n\t\t\tpositionMap.set(currentPosition, { tab: staticTab.tab, isConfig: false, id: staticTab.id });\r\n\t\t\tstaticIndex++;\r\n\t\t\tcurrentPosition++;\r\n\t\t}\r\n\r\n\t\t// build ordered array\r\n\t\tconst sortedPositions = Array.from(positionMap.keys()).sort((a, b) => a - b);\r\n\t\tconst reorderedTabs: any[] = [];\r\n\t\tconst reorderedHeaders: HTMLElement[] = [];\r\n\r\n\t\tsortedPositions.forEach((position) => {\r\n\t\t\tconst tabInfo = positionMap.get(position)!;\r\n\t\t\treorderedTabs.push(tabInfo.tab);\r\n\r\n\t\t\tconst originalIndex = allTabs.indexOf(tabInfo.tab);\r\n\t\t\tif (originalIndex !== -1 && navList.children[originalIndex]) {\r\n\t\t\t\treorderedHeaders.push(navList.children[originalIndex] as HTMLElement);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t// reorder tabs array\r\n\t\tthis.detailComponent.tabView.tabs.length = 0;\r\n\t\treorderedTabs.forEach((tab) => this.detailComponent.tabView!.tabs.push(tab));\r\n\r\n\t\t// reorder dom headers\r\n\t\treorderedHeaders.forEach((header, newIndex) => {\r\n\t\t\tconst targetHeader = navList.children[newIndex];\r\n\t\t\tif (targetHeader && targetHeader !== header) {\r\n\t\t\t\tnavList.insertBefore(header, targetHeader);\r\n\t\t\t} else if (!targetHeader) {\r\n\t\t\t\tnavList.appendChild(header);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t// reorder dom panels\r\n\t\tconst panelsContainer = allTabs[0]?.el.nativeElement.parentElement;\r\n\t\tif (panelsContainer) {\r\n\t\t\treorderedTabs.forEach((tabPanel, newIndex) => {\r\n\t\t\t\tconst targetPanel = panelsContainer.children[newIndex];\r\n\t\t\t\tif (targetPanel && targetPanel !== tabPanel.el.nativeElement) {\r\n\t\t\t\t\tpanelsContainer.insertBefore(tabPanel.el.nativeElement, targetPanel);\r\n\t\t\t\t} else if (!targetPanel) {\r\n\t\t\t\t\tpanelsContainer.appendChild(tabPanel.el.nativeElement);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tif (this.detailComponent.tabView.cd) {\r\n\t\t\tthis.detailComponent.tabView.cd.markForCheck();\r\n\t\t}\r\n\t}\r\n\r\n\tprivate activateTabFromUrl(): void {\r\n\t\tif (!this.detailComponent.tabView) return;\r\n\r\n\t\tconst activeTabParam = this.route.snapshot.queryParamMap.get('activeTab');\r\n\t\tif (activeTabParam) {\r\n\t\t\tconst activeTabIndex = Number(activeTabParam);\r\n\r\n\t\t\tif (\r\n\t\t\t\t!isNaN(activeTabIndex) &&\r\n\t\t\t\tactiveTabIndex >= 0 &&\r\n\t\t\t\tthis.detailComponent.tabView.tabs &&\r\n\t\t\t\tactiveTabIndex < this.detailComponent.tabView.tabs.length\r\n\t\t\t) {\r\n\t\t\t\tthis.detailComponent.tabView.activeIndex = activeTabIndex;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tprivate updateMenu(menuConfig: DetailConfigMenuItem[]) {\r\n\t\tconst context = {\r\n\t\t\trouter: this.router,\r\n\t\t\troute: this.route,\r\n\t\t\tdialogService: this.dialogService,\r\n\t\t\tcomponent: this.detailComponent\r\n\t\t};\r\n\r\n\t\tconst activeLang = this.translocoService.getActiveLang();\r\n\t\tconst dynamicMenu: MenuItem[] = menuConfig.map((m) => ({\r\n\t\t\tlabel: m.label[activeLang] ?? '',\r\n\t\t\ticon: m.icon,\r\n\t\t\tcommand: (_event: any) => {\r\n\t\t\t\tconst commandFn = new Function('ctx', m.command);\r\n\t\t\t\tcommandFn(context)(context);\r\n\t\t\t}\r\n\t\t}));\r\n\r\n\t\t// Update the existing signal instead of replacing it to ensure change\r\n\t\t// detection picks up the menu update after browser back navigation.\r\n\t\tconst generalMenuSignal = this.detailComponent.mdInfoPluginProps.generalMenu as any;\r\n\t\tconst existingMenu: MenuItem[] = generalMenuSignal();\r\n\r\n\t\t// Avoid duplicating previously added dynamic items (identified by label/icon match)\r\n\t\tconst mergedMenu = [\r\n\t\t\t...existingMenu.filter((item) => !dynamicMenu.some((dyn) => dyn.label === item.label && dyn.icon === item.icon)),\r\n\t\t\t...dynamicMenu\r\n\t\t];\r\n\r\n\t\tif (generalMenuSignal?.set) {\r\n\t\t\tgeneralMenuSignal.set(mergedMenu);\r\n\t\t} else {\r\n\t\t\tthis.detailComponent.mdInfoPluginProps.generalMenu = signal(mergedMenu);\r\n\t\t}\r\n\t}\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\nimport { DynamicDialogConfig } from 'primeng/dynamicdialog';\r\n\r\nimport { ModuleFederationToolsModule } from '@angular-architects/module-federation-tools';\r\n\r\nimport { PLUGINS } from 'aril/boot/config/plugins';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\timports: [ModuleFederationToolsModule],\r\n\ttemplate: `<mft-wc-wrapper [options]=\"PLUGINS[name].options\" />`\r\n})\r\nexport class CustomizedPluginDialogComponent {\r\n\tname: string;\r\n\tPLUGINS = PLUGINS;\r\n\r\n\tconstructor(private readonly dialogConfig: DynamicDialogConfig) {\r\n\t\tthis.dialogConfig.draggable = true;\r\n\t\tthis.name = this.dialogConfig.data;\r\n\t}\r\n}\r\n","import { Injectable } from '@angular/core';\r\n\r\nimport { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\n\r\nimport { CustomizedPluginDialogComponent } from '../dialog-component/plugin-dialog.component';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class CustomizedPluginDialogService extends DialogService {\r\n\topenDialog(config: DynamicDialogConfig): DynamicDialogRef {\r\n\t\treturn super.open(CustomizedPluginDialogComponent, config);\r\n\t}\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EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAA7B,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,6BAA6B,cADhB,MAAM,EAAA,CAAA,CAAA,EAAA;;2FACnB,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBADzC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAA;;;ACNlC;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"aril-util-directives.mjs","sources":["../../projects/aril/util/directives/src/detail-page-customization/models.ts","../../projects/aril/util/directives/src/detail-page-customization/detail-page-customization.directive.ts","../../projects/aril/util/directives/src/dialog-component/plugin-dialog.component.ts","../../projects/aril/util/directives/src/dialog-service/plugin-dialog.service.ts","../../projects/aril/util/directives/aril-util-directives.ts"],"sourcesContent":["import { InjectionToken, Signal } from '@angular/core';\r\n\r\nimport { MenuItem } from 'primeng/api';\r\nimport { TabView } from 'primeng/tabview';\r\n\r\nimport { solidIcons } from 'aril/util/lib';\r\n\r\nexport interface DetailComponent {\r\n\tmdInfoPluginProps: {\r\n\t\tgeneralMenu: Signal<MenuItem[]>;\r\n\t};\r\n\t// signals for reactive updates\r\n\tconfigTabs: Signal<TabConfig[]>;\r\n\tactiveTabComponents: Signal<TabConfig['components']>;\r\n\ttabs: TabConfig[];\r\n\ttabView?: TabView;\r\n}\r\n\r\nexport const DETAIL_COMPONENT = new InjectionToken<DetailComponent>('DETAIL_COMPONENT');\r\nexport const PLUGIN_DIALOG_SERVICE = new InjectionToken('PLUGIN_DIALOG_SERVICE');\r\n\r\nexport interface TabConfig {\r\n\tid: string | number | null;\r\n\theader: string;\r\n\ticon: keyof typeof solidIcons;\r\n\tvisible: boolean;\r\n\tposition: number;\r\n\tcomponents: Array<{\r\n\t\tid: string | null;\r\n\t\tpluginName: string;\r\n\t\tvisible: boolean;\r\n\t\torder?: number;\r\n\t}>;\r\n}\r\n\r\nexport interface DetailConfigMenuItem {\r\n\tlabel: {\r\n\t\t[key: string]: string;\r\n\t};\r\n\tcommand: string;\r\n\ticon: string;\r\n}\r\n\r\nexport interface DetailConfig {\r\n\tmenu: Array<DetailConfigMenuItem>;\r\n\ttabs: Array<{\r\n\t\tid: string | null;\r\n\t\ticon: keyof typeof solidIcons;\r\n\t\tlabel?: {\r\n\t\t\t[key: string]: string;\r\n\t\t};\r\n\t\tvisible: boolean;\r\n\t\tposition: number;\r\n\t\tcomponents: Array<{\r\n\t\t\tid: string | null;\r\n\t\t\tpluginName: string;\r\n\t\t\tvisible: boolean;\r\n\t\t\torder?: number;\r\n\t\t}>;\r\n\t}>;\r\n}\r\n","import { Directive, Inject, Signal, computed, effect, inject, signal } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\n\r\nimport { MenuItem } from 'primeng/api';\r\n\r\nimport { TranslocoService } from '@ngneat/transloco';\r\n\r\nimport {\r\n\tDETAIL_COMPONENT,\r\n\tDetailComponent,\r\n\tDetailConfig,\r\n\tDetailConfigMenuItem,\r\n\tPLUGIN_DIALOG_SERVICE,\r\n\tTabConfig\r\n} from './models';\r\n\r\n@Directive({\r\n\tstandalone: true\r\n})\r\nexport class DetailPageCustomizationDirective {\r\n\tprivate readonly route = inject(ActivatedRoute);\r\n\tprivate readonly router = inject(Router);\r\n\tprivate readonly dialogService = inject(PLUGIN_DIALOG_SERVICE); // Use token instead\r\n\tprivate readonly translocoService = inject(TranslocoService);\r\n\r\n\t// Internal signal to track when TabView and the menu are ready\r\n\tprivate viewsInitialized = signal(false);\r\n\tprivate config: DetailConfig | undefined;\r\n\tprivate getRouteConfig = (): DetailConfig | undefined => {\r\n\t\tconst configs = (globalThis as any).routeConfigs as\r\n\t\t\t| Array<{ path: string; content: string; version: number }>\r\n\t\t\t| undefined;\r\n\t\tif (!configs || !Array.isArray(configs)) return undefined;\r\n\r\n\t\tconst currentUrl = this.router.url.split('?')[0];\r\n\r\n\t\tlet bestMatch: { path: string; content: string; version: number } | undefined;\r\n\r\n\t\tfor (const config of configs) {\r\n\t\t\tif (!config.path) continue;\r\n\r\n\t\t\tconst urlToCheck = config.path.startsWith('/') ? config.path : `/${config.path}`;\r\n\r\n\t\t\tif (currentUrl.startsWith(urlToCheck)) {\r\n\t\t\t\tbestMatch = config;\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (!bestMatch) return undefined;\r\n\r\n\t\ttry {\r\n\t\t\treturn JSON.parse(bestMatch.content) as DetailConfig;\r\n\t\t} catch (e) {\r\n\t\t\tconsole.error('Failed to parse route config content:', e);\r\n\t\t\treturn undefined;\r\n\t\t}\r\n\t};\r\n\r\n\tprivate getProcessedTabs: Signal<TabConfig[]> = computed(() => {\r\n\t\tif (!this.config?.tabs) return [];\r\n\r\n\t\tconst activeLang = this.translocoService.getActiveLang();\r\n\r\n\t\treturn this.config.tabs\r\n\t\t\t.filter((tab) => tab.visible !== false)\r\n\t\t\t.map((tab) => ({\r\n\t\t\t\tid: tab.id ?? null,\r\n\t\t\t\ticon: tab.icon,\r\n\t\t\t\theader: tab.label ? tab.label[activeLang] : '',\r\n\t\t\t\tvisible: tab.visible,\r\n\t\t\t\tposition: tab.position,\r\n\t\t\t\tcomponents: tab.components || []\r\n\t\t\t}));\r\n\t});\r\n\r\n\tconstructor(@Inject(DETAIL_COMPONENT) private readonly detailComponent: DetailComponent) {\r\n\t\tthis.config = this.getRouteConfig();\r\n\t\teffect(\r\n\t\t\t(onCleanup) => {\r\n\t\t\t\tif (this.viewsInitialized()) return;\r\n\r\n\t\t\t\t// Poll every animation frame until both TabView and the menu is ready\r\n\t\t\t\t// The menu can be directly defined in the component from init step, or be built dynamically after waiting for a network response. So we must wait for it to be ready.\r\n\t\t\t\tconst checkViews = () => {\r\n\t\t\t\t\tif (this.detailComponent.tabView?.tabs && this.detailComponent.mdInfoPluginProps?.generalMenu()?.length) {\r\n\t\t\t\t\t\tthis.viewsInitialized.set(true);\r\n\t\t\t\t\t\tthis.onViewsReady();\r\n\t\t\t\t\t} else if (!this.viewsInitialized()) {\r\n\t\t\t\t\t\tframeId = requestAnimationFrame(checkViews);\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\r\n\t\t\t\tlet frameId = requestAnimationFrame(checkViews);\r\n\r\n\t\t\t\tonCleanup(() => {\r\n\t\t\t\t\tcancelAnimationFrame(frameId);\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\t{ allowSignalWrites: true }\r\n\t\t);\r\n\t}\r\n\r\n\tprivate onViewsReady(): void {\r\n\t\tif (!this.config) return;\r\n\r\n\t\t// step 1 - hide tabs based on config\r\n\t\tif (this.detailComponent.tabView?.tabs) {\r\n\t\t\tthis.updateTabVisibility();\r\n\t\t}\r\n\t\t// step 2 - append config tabs to the static tabs (only new ones, not those matching static tabs)\r\n\t\tconst allConfigTabs = this.getProcessedTabs();\r\n\r\n\t\t// Get IDs of existing static tabs\r\n\t\tconst staticTabIds = new Set<string | number | null>();\r\n\t\tif (this.detailComponent.tabView?.tabs) {\r\n\t\t\tthis.detailComponent.tabView.tabs.forEach((tabPanel) => {\r\n\t\t\t\tconst tabId = tabPanel?.el?.nativeElement?.id;\r\n\t\t\t\tif (tabId) {\r\n\t\t\t\t\tstaticTabIds.add(tabId);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\t// Filter out config tabs that are meant to *reorder* existing static tabs.\r\n\t\t// Any tab whose id matches an existing static tab id is considered a \"reorder\"\r\n\t\t// instruction; everything else (id === null OR an id that doesn't exist yet)\r\n\t\t// is treated as a brand new tab.\r\n\t\tconst newConfigTabs = allConfigTabs.filter((tab) => {\r\n\t\t\t// new tab when id is null/undefined\r\n\t\t\tif (!tab.id) return true;\r\n\r\n\t\t\t// new tab when id is provided but doesn't match any static tab id\r\n\t\t\treturn !staticTabIds.has(tab.id);\r\n\t\t});\r\n\r\n\t\tif (newConfigTabs.length > 0 && this.detailComponent.configTabs) {\r\n\t\t\t(this.detailComponent.configTabs as any).set(newConfigTabs);\r\n\t\t} else if (newConfigTabs.length > 0) {\r\n\t\t\tthis.detailComponent.tabs = newConfigTabs;\r\n\t\t}\r\n\r\n\t\t// using setTimeout to ensure tabView is ready as we want to work directly with the generated elements\r\n\t\tsetTimeout(() => {\r\n\t\t\t// step 3 - reorder tabs\r\n\t\t\tthis.reorderTabsByPosition();\r\n\t\t\t// step 4 - activate tab from URL if specified\r\n\t\t\tthis.activateTabFromUrl();\r\n\t\t\t// step 5 - update the menu\r\n\t\t\tif (this.config?.menu) {\r\n\t\t\t\tthis.updateMenu(this.config.menu);\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\tprivate updateTabVisibility(): void {\r\n\t\tif (!this.config?.tabs) return;\r\n\r\n\t\t// Find tabs in config that have visible: false\r\n\t\tconst hiddenTabPositions = this.config.tabs.filter((tab) => tab.visible === false).map((tab) => tab.position);\r\n\r\n\t\thiddenTabPositions.forEach((position) => {\r\n\t\t\tthis.hideTabByPosition(position, true);\r\n\t\t});\r\n\t}\r\n\r\n\thideTabByPosition(position: number, hide = true): void {\r\n\t\tif (!this.detailComponent.tabView?.tabs) return;\r\n\r\n\t\tconst panelToHide = this.detailComponent.tabView.tabs[position];\r\n\t\tconst tabToHide = this.detailComponent.tabView.list?.children[position] as HTMLElement;\r\n\r\n\t\tif (tabToHide && panelToHide) {\r\n\t\t\tpanelToHide.el.nativeElement.hidden = hide;\r\n\t\t\ttabToHide.style.display = 'none';\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * Reorder tabs based on config positions\r\n\t * Iterates over visible config tabs and rearranges both static and config tabs\r\n\t */\r\n\tprivate reorderTabsByPosition(): void {\r\n\t\tif (!this.detailComponent.tabView?.tabs || !this.detailComponent.tabView?.list) return;\r\n\r\n\t\tconst configTabs = this.getProcessedTabs();\r\n\t\tconst allTabs = this.detailComponent.tabView.tabs;\r\n\t\tconst navList = this.detailComponent.tabView.list;\r\n\r\n\t\tconst configTabMap = new Map<string | number | null, TabConfig>();\r\n\t\tconfigTabs.forEach((tab) => {\r\n\t\t\t// Only treat tabs that both:\r\n\t\t\t// - have an id\r\n\t\t\t// - and have an explicit position\r\n\t\t\t// as \"reorder instructions\" for existing static tabs.\r\n\t\t\t// Tabs without a position (even if they have an id) are considered\r\n\t\t\t// regular/new tabs and should keep their natural order.\r\n\t\t\tif (tab.id && tab.position) {\r\n\t\t\t\tconfigTabMap.set(tab.id, tab);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t// separate static from config tabs\r\n\t\tconst staticTabs: Array<{ tab: any; index: number; id: string | number | null }> = [];\r\n\t\tconst configTabInstances: Array<{ tab: any; index: number; config: TabConfig }> = [];\r\n\r\n\t\tallTabs.forEach((tabPanel, index) => {\r\n\t\t\tconst tabId = tabPanel?.el?.nativeElement?.id || null;\r\n\t\t\tconst configTab = tabId ? configTabMap.get(tabId) : null;\r\n\r\n\t\t\tif (configTab) {\r\n\t\t\t\tconfigTabInstances.push({ tab: tabPanel, index, config: configTab });\r\n\t\t\t} else {\r\n\t\t\t\tstaticTabs.push({ tab: tabPanel, index, id: tabId });\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tconst positionMap = new Map<number, { tab: any; isConfig: boolean; id: string | number | null }>();\r\n\r\n\t\t// place config tabs at their specified positions\r\n\t\tconfigTabInstances.forEach(({ tab, config }) => {\r\n\t\t\tif (config.position !== undefined && config.position !== null) {\r\n\t\t\t\tpositionMap.set(config.position, { tab, isConfig: true, id: config.id });\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t// place static tabs at available positions (maintaining relative order)\r\n\t\tlet staticIndex = 0;\r\n\t\tlet currentPosition = 0;\r\n\r\n\t\twhile (staticIndex < staticTabs.length) {\r\n\t\t\twhile (positionMap.has(currentPosition)) {\r\n\t\t\t\tcurrentPosition++;\r\n\t\t\t}\r\n\r\n\t\t\t// place static tab at this position\r\n\t\t\tconst staticTab = staticTabs[staticIndex];\r\n\t\t\tpositionMap.set(currentPosition, { tab: staticTab.tab, isConfig: false, id: staticTab.id });\r\n\t\t\tstaticIndex++;\r\n\t\t\tcurrentPosition++;\r\n\t\t}\r\n\r\n\t\t// build ordered array\r\n\t\tconst sortedPositions = Array.from(positionMap.keys()).sort((a, b) => a - b);\r\n\t\tconst reorderedTabs: any[] = [];\r\n\t\tconst reorderedHeaders: HTMLElement[] = [];\r\n\r\n\t\tsortedPositions.forEach((position) => {\r\n\t\t\tconst tabInfo = positionMap.get(position)!;\r\n\t\t\treorderedTabs.push(tabInfo.tab);\r\n\r\n\t\t\tconst originalIndex = allTabs.indexOf(tabInfo.tab);\r\n\t\t\tif (originalIndex !== -1 && navList.children[originalIndex]) {\r\n\t\t\t\treorderedHeaders.push(navList.children[originalIndex] as HTMLElement);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t// reorder tabs array\r\n\t\tthis.detailComponent.tabView.tabs.length = 0;\r\n\t\treorderedTabs.forEach((tab) => this.detailComponent.tabView!.tabs.push(tab));\r\n\r\n\t\t// reorder dom headers\r\n\t\treorderedHeaders.forEach((header, newIndex) => {\r\n\t\t\tconst targetHeader = navList.children[newIndex];\r\n\t\t\tif (targetHeader && targetHeader !== header) {\r\n\t\t\t\tnavList.insertBefore(header, targetHeader);\r\n\t\t\t} else if (!targetHeader) {\r\n\t\t\t\tnavList.appendChild(header);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t// reorder dom panels\r\n\t\tconst panelsContainer = allTabs[0]?.el.nativeElement.parentElement;\r\n\t\tif (panelsContainer) {\r\n\t\t\treorderedTabs.forEach((tabPanel, newIndex) => {\r\n\t\t\t\tconst targetPanel = panelsContainer.children[newIndex];\r\n\t\t\t\tif (targetPanel && targetPanel !== tabPanel.el.nativeElement) {\r\n\t\t\t\t\tpanelsContainer.insertBefore(tabPanel.el.nativeElement, targetPanel);\r\n\t\t\t\t} else if (!targetPanel) {\r\n\t\t\t\t\tpanelsContainer.appendChild(tabPanel.el.nativeElement);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tif (this.detailComponent.tabView.cd) {\r\n\t\t\tthis.detailComponent.tabView.cd.markForCheck();\r\n\t\t}\r\n\t}\r\n\r\n\tprivate activateTabFromUrl(): void {\r\n\t\tif (!this.detailComponent.tabView) return;\r\n\r\n\t\tconst activeTabParam = this.route.snapshot.queryParamMap.get('activeTab');\r\n\t\tif (activeTabParam) {\r\n\t\t\tconst activeTabIndex = Number(activeTabParam);\r\n\r\n\t\t\tif (\r\n\t\t\t\t!isNaN(activeTabIndex) &&\r\n\t\t\t\tactiveTabIndex >= 0 &&\r\n\t\t\t\tthis.detailComponent.tabView.tabs &&\r\n\t\t\t\tactiveTabIndex < this.detailComponent.tabView.tabs.length\r\n\t\t\t) {\r\n\t\t\t\tthis.detailComponent.tabView.activeIndex = activeTabIndex;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tprivate updateMenu(menuConfig: DetailConfigMenuItem[]) {\r\n\t\tconst context = {\r\n\t\t\trouter: this.router,\r\n\t\t\troute: this.route,\r\n\t\t\tdialogService: this.dialogService,\r\n\t\t\tcomponent: this.detailComponent\r\n\t\t};\r\n\r\n\t\tconst activeLang = this.translocoService.getActiveLang();\r\n\t\tconst dynamicMenu: MenuItem[] = menuConfig.map((m) => ({\r\n\t\t\tlabel: m.label[activeLang] ?? '',\r\n\t\t\ticon: m.icon,\r\n\t\t\tcommand: (_event: any) => {\r\n\t\t\t\tconst commandFn = new Function('ctx', m.command);\r\n\t\t\t\tcommandFn(context)(context);\r\n\t\t\t}\r\n\t\t}));\r\n\r\n\t\t// Update the existing signal instead of replacing it to ensure change\r\n\t\t// detection picks up the menu update after browser back navigation.\r\n\t\tconst generalMenuSignal = this.detailComponent.mdInfoPluginProps.generalMenu as any;\r\n\t\tconst existingMenu: MenuItem[] = generalMenuSignal();\r\n\r\n\t\t// Avoid duplicating previously added dynamic items (identified by label/icon match)\r\n\t\tconst mergedMenu = [\r\n\t\t\t...existingMenu.filter((item) => !dynamicMenu.some((dyn) => dyn.label === item.label && dyn.icon === item.icon)),\r\n\t\t\t...dynamicMenu\r\n\t\t];\r\n\r\n\t\tif (generalMenuSignal?.set) {\r\n\t\t\tgeneralMenuSignal.set(mergedMenu);\r\n\t\t} else {\r\n\t\t\tthis.detailComponent.mdInfoPluginProps.generalMenu = signal(mergedMenu);\r\n\t\t}\r\n\t}\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\nimport { DynamicDialogConfig } from 'primeng/dynamicdialog';\r\n\r\nimport { ModuleFederationToolsModule } from '@angular-architects/module-federation-tools';\r\n\r\nimport { PLUGINS } from 'aril/boot/config/plugins';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\timports: [ModuleFederationToolsModule],\r\n\ttemplate: `<mft-wc-wrapper [options]=\"PLUGINS[name].options\" [props]=\"props\" />`\r\n})\r\nexport class CustomizedPluginDialogComponent {\r\n\tname = this.dialogConfig.data.name;\r\n\tprops = this.dialogConfig.data.props || {};\r\n\tPLUGINS = PLUGINS;\r\n\r\n\tconstructor(private readonly dialogConfig: DynamicDialogConfig) {\r\n\t\tthis.dialogConfig.draggable = true;\r\n\t}\r\n}\r\n","import { Injectable } from '@angular/core';\r\n\r\nimport { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\n\r\nimport { CustomizedPluginDialogComponent } from '../dialog-component/plugin-dialog.component';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class CustomizedPluginDialogService extends DialogService {\r\n\topenDialog(config: DynamicDialogConfig): DynamicDialogRef {\r\n\t\treturn super.open(CustomizedPluginDialogComponent, config);\r\n\t}\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;MAkBa,gBAAgB,GAAG,IAAI,cAAc,CAAkB,kBAAkB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,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAA7B,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,6BAA6B,cADhB,MAAM,EAAA,CAAA,CAAA,EAAA;;2FACnB,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBADzC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAA;;;ACNlC;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aril",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.68",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/cdk": "~17.1.0",
|
|
6
6
|
"@angular/common": "^17.1.0",
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
"esm": "./esm2022/boot/aril-boot.mjs",
|
|
52
52
|
"default": "./fesm2022/aril-boot.mjs"
|
|
53
53
|
},
|
|
54
|
-
"./
|
|
55
|
-
"types": "./
|
|
56
|
-
"esm2022": "./esm2022/
|
|
57
|
-
"esm": "./esm2022/
|
|
58
|
-
"default": "./fesm2022/aril-
|
|
54
|
+
"./keycloak": {
|
|
55
|
+
"types": "./keycloak/index.d.ts",
|
|
56
|
+
"esm2022": "./esm2022/keycloak/aril-keycloak.mjs",
|
|
57
|
+
"esm": "./esm2022/keycloak/aril-keycloak.mjs",
|
|
58
|
+
"default": "./fesm2022/aril-keycloak.mjs"
|
|
59
59
|
},
|
|
60
60
|
"./http": {
|
|
61
61
|
"types": "./http/index.d.ts",
|
|
@@ -63,11 +63,11 @@
|
|
|
63
63
|
"esm": "./esm2022/http/aril-http.mjs",
|
|
64
64
|
"default": "./fesm2022/aril-http.mjs"
|
|
65
65
|
},
|
|
66
|
-
"./
|
|
67
|
-
"types": "./
|
|
68
|
-
"esm2022": "./esm2022/
|
|
69
|
-
"esm": "./esm2022/
|
|
70
|
-
"default": "./fesm2022/aril-
|
|
66
|
+
"./i18n": {
|
|
67
|
+
"types": "./i18n/index.d.ts",
|
|
68
|
+
"esm2022": "./esm2022/i18n/aril-i18n.mjs",
|
|
69
|
+
"esm": "./esm2022/i18n/aril-i18n.mjs",
|
|
70
|
+
"default": "./fesm2022/aril-i18n.mjs"
|
|
71
71
|
},
|
|
72
72
|
"./provider": {
|
|
73
73
|
"types": "./provider/index.d.ts",
|
|
@@ -81,18 +81,18 @@
|
|
|
81
81
|
"esm": "./esm2022/theme/aril-theme.mjs",
|
|
82
82
|
"default": "./fesm2022/aril-theme.mjs"
|
|
83
83
|
},
|
|
84
|
-
"./ui": {
|
|
85
|
-
"types": "./ui/index.d.ts",
|
|
86
|
-
"esm2022": "./esm2022/ui/aril-ui.mjs",
|
|
87
|
-
"esm": "./esm2022/ui/aril-ui.mjs",
|
|
88
|
-
"default": "./fesm2022/aril-ui.mjs"
|
|
89
|
-
},
|
|
90
84
|
"./ui-business": {
|
|
91
85
|
"types": "./ui-business/index.d.ts",
|
|
92
86
|
"esm2022": "./esm2022/ui-business/aril-ui-business.mjs",
|
|
93
87
|
"esm": "./esm2022/ui-business/aril-ui-business.mjs",
|
|
94
88
|
"default": "./fesm2022/aril-ui-business.mjs"
|
|
95
89
|
},
|
|
90
|
+
"./ui": {
|
|
91
|
+
"types": "./ui/index.d.ts",
|
|
92
|
+
"esm2022": "./esm2022/ui/aril-ui.mjs",
|
|
93
|
+
"esm": "./esm2022/ui/aril-ui.mjs",
|
|
94
|
+
"default": "./fesm2022/aril-ui.mjs"
|
|
95
|
+
},
|
|
96
96
|
"./util": {
|
|
97
97
|
"types": "./util/index.d.ts",
|
|
98
98
|
"esm2022": "./esm2022/util/aril-util.mjs",
|
|
@@ -117,54 +117,114 @@
|
|
|
117
117
|
"esm": "./esm2022/theme/layout/aril-theme-layout.mjs",
|
|
118
118
|
"default": "./fesm2022/aril-theme-layout.mjs"
|
|
119
119
|
},
|
|
120
|
+
"./ui-business/assetPicker": {
|
|
121
|
+
"types": "./ui-business/assetPicker/index.d.ts",
|
|
122
|
+
"esm2022": "./esm2022/ui-business/assetPicker/aril-ui-business-assetPicker.mjs",
|
|
123
|
+
"esm": "./esm2022/ui-business/assetPicker/aril-ui-business-assetPicker.mjs",
|
|
124
|
+
"default": "./fesm2022/aril-ui-business-assetPicker.mjs"
|
|
125
|
+
},
|
|
126
|
+
"./ui-business/enumPicker": {
|
|
127
|
+
"types": "./ui-business/enumPicker/index.d.ts",
|
|
128
|
+
"esm2022": "./esm2022/ui-business/enumPicker/aril-ui-business-enumPicker.mjs",
|
|
129
|
+
"esm": "./esm2022/ui-business/enumPicker/aril-ui-business-enumPicker.mjs",
|
|
130
|
+
"default": "./fesm2022/aril-ui-business-enumPicker.mjs"
|
|
131
|
+
},
|
|
132
|
+
"./ui-business/detailed-overlay-panel": {
|
|
133
|
+
"types": "./ui-business/detailed-overlay-panel/index.d.ts",
|
|
134
|
+
"esm2022": "./esm2022/ui-business/detailed-overlay-panel/aril-ui-business-detailed-overlay-panel.mjs",
|
|
135
|
+
"esm": "./esm2022/ui-business/detailed-overlay-panel/aril-ui-business-detailed-overlay-panel.mjs",
|
|
136
|
+
"default": "./fesm2022/aril-ui-business-detailed-overlay-panel.mjs"
|
|
137
|
+
},
|
|
138
|
+
"./ui-business/image-viewer": {
|
|
139
|
+
"types": "./ui-business/image-viewer/index.d.ts",
|
|
140
|
+
"esm2022": "./esm2022/ui-business/image-viewer/aril-ui-business-image-viewer.mjs",
|
|
141
|
+
"esm": "./esm2022/ui-business/image-viewer/aril-ui-business-image-viewer.mjs",
|
|
142
|
+
"default": "./fesm2022/aril-ui-business-image-viewer.mjs"
|
|
143
|
+
},
|
|
144
|
+
"./ui-business/multiple-ref-value": {
|
|
145
|
+
"types": "./ui-business/multiple-ref-value/index.d.ts",
|
|
146
|
+
"esm2022": "./esm2022/ui-business/multiple-ref-value/aril-ui-business-multiple-ref-value.mjs",
|
|
147
|
+
"esm": "./esm2022/ui-business/multiple-ref-value/aril-ui-business-multiple-ref-value.mjs",
|
|
148
|
+
"default": "./fesm2022/aril-ui-business-multiple-ref-value.mjs"
|
|
149
|
+
},
|
|
150
|
+
"./ui-business/notification-templates-dialog": {
|
|
151
|
+
"types": "./ui-business/notification-templates-dialog/index.d.ts",
|
|
152
|
+
"esm2022": "./esm2022/ui-business/notification-templates-dialog/aril-ui-business-notification-templates-dialog.mjs",
|
|
153
|
+
"esm": "./esm2022/ui-business/notification-templates-dialog/aril-ui-business-notification-templates-dialog.mjs",
|
|
154
|
+
"default": "./fesm2022/aril-ui-business-notification-templates-dialog.mjs"
|
|
155
|
+
},
|
|
156
|
+
"./ui-business/operation-types-dialog": {
|
|
157
|
+
"types": "./ui-business/operation-types-dialog/index.d.ts",
|
|
158
|
+
"esm2022": "./esm2022/ui-business/operation-types-dialog/aril-ui-business-operation-types-dialog.mjs",
|
|
159
|
+
"esm": "./esm2022/ui-business/operation-types-dialog/aril-ui-business-operation-types-dialog.mjs",
|
|
160
|
+
"default": "./fesm2022/aril-ui-business-operation-types-dialog.mjs"
|
|
161
|
+
},
|
|
162
|
+
"./ui-business/ref-value": {
|
|
163
|
+
"types": "./ui-business/ref-value/index.d.ts",
|
|
164
|
+
"esm2022": "./esm2022/ui-business/ref-value/aril-ui-business-ref-value.mjs",
|
|
165
|
+
"esm": "./esm2022/ui-business/ref-value/aril-ui-business-ref-value.mjs",
|
|
166
|
+
"default": "./fesm2022/aril-ui-business-ref-value.mjs"
|
|
167
|
+
},
|
|
168
|
+
"./ui-business/rolePicker": {
|
|
169
|
+
"types": "./ui-business/rolePicker/index.d.ts",
|
|
170
|
+
"esm2022": "./esm2022/ui-business/rolePicker/aril-ui-business-rolePicker.mjs",
|
|
171
|
+
"esm": "./esm2022/ui-business/rolePicker/aril-ui-business-rolePicker.mjs",
|
|
172
|
+
"default": "./fesm2022/aril-ui-business-rolePicker.mjs"
|
|
173
|
+
},
|
|
174
|
+
"./ui-business/userPicker": {
|
|
175
|
+
"types": "./ui-business/userPicker/index.d.ts",
|
|
176
|
+
"esm2022": "./esm2022/ui-business/userPicker/aril-ui-business-userPicker.mjs",
|
|
177
|
+
"esm": "./esm2022/ui-business/userPicker/aril-ui-business-userPicker.mjs",
|
|
178
|
+
"default": "./fesm2022/aril-ui-business-userPicker.mjs"
|
|
179
|
+
},
|
|
120
180
|
"./ui/autoComplete": {
|
|
121
181
|
"types": "./ui/autoComplete/index.d.ts",
|
|
122
182
|
"esm2022": "./esm2022/ui/autoComplete/aril-ui-autoComplete.mjs",
|
|
123
183
|
"esm": "./esm2022/ui/autoComplete/aril-ui-autoComplete.mjs",
|
|
124
184
|
"default": "./fesm2022/aril-ui-autoComplete.mjs"
|
|
125
185
|
},
|
|
126
|
-
"./ui/badge": {
|
|
127
|
-
"types": "./ui/badge/index.d.ts",
|
|
128
|
-
"esm2022": "./esm2022/ui/badge/aril-ui-badge.mjs",
|
|
129
|
-
"esm": "./esm2022/ui/badge/aril-ui-badge.mjs",
|
|
130
|
-
"default": "./fesm2022/aril-ui-badge.mjs"
|
|
131
|
-
},
|
|
132
|
-
"./ui/calendar": {
|
|
133
|
-
"types": "./ui/calendar/index.d.ts",
|
|
134
|
-
"esm2022": "./esm2022/ui/calendar/aril-ui-calendar.mjs",
|
|
135
|
-
"esm": "./esm2022/ui/calendar/aril-ui-calendar.mjs",
|
|
136
|
-
"default": "./fesm2022/aril-ui-calendar.mjs"
|
|
137
|
-
},
|
|
138
186
|
"./ui/button": {
|
|
139
187
|
"types": "./ui/button/index.d.ts",
|
|
140
188
|
"esm2022": "./esm2022/ui/button/aril-ui-button.mjs",
|
|
141
189
|
"esm": "./esm2022/ui/button/aril-ui-button.mjs",
|
|
142
190
|
"default": "./fesm2022/aril-ui-button.mjs"
|
|
143
191
|
},
|
|
192
|
+
"./ui/badge": {
|
|
193
|
+
"types": "./ui/badge/index.d.ts",
|
|
194
|
+
"esm2022": "./esm2022/ui/badge/aril-ui-badge.mjs",
|
|
195
|
+
"esm": "./esm2022/ui/badge/aril-ui-badge.mjs",
|
|
196
|
+
"default": "./fesm2022/aril-ui-badge.mjs"
|
|
197
|
+
},
|
|
144
198
|
"./ui/charts": {
|
|
145
199
|
"types": "./ui/charts/index.d.ts",
|
|
146
200
|
"esm2022": "./esm2022/ui/charts/aril-ui-charts.mjs",
|
|
147
201
|
"esm": "./esm2022/ui/charts/aril-ui-charts.mjs",
|
|
148
202
|
"default": "./fesm2022/aril-ui-charts.mjs"
|
|
149
203
|
},
|
|
204
|
+
"./ui/calendar": {
|
|
205
|
+
"types": "./ui/calendar/index.d.ts",
|
|
206
|
+
"esm2022": "./esm2022/ui/calendar/aril-ui-calendar.mjs",
|
|
207
|
+
"esm": "./esm2022/ui/calendar/aril-ui-calendar.mjs",
|
|
208
|
+
"default": "./fesm2022/aril-ui-calendar.mjs"
|
|
209
|
+
},
|
|
150
210
|
"./ui/checkbox": {
|
|
151
211
|
"types": "./ui/checkbox/index.d.ts",
|
|
152
212
|
"esm2022": "./esm2022/ui/checkbox/aril-ui-checkbox.mjs",
|
|
153
213
|
"esm": "./esm2022/ui/checkbox/aril-ui-checkbox.mjs",
|
|
154
214
|
"default": "./fesm2022/aril-ui-checkbox.mjs"
|
|
155
215
|
},
|
|
156
|
-
"./ui/chip": {
|
|
157
|
-
"types": "./ui/chip/index.d.ts",
|
|
158
|
-
"esm2022": "./esm2022/ui/chip/aril-ui-chip.mjs",
|
|
159
|
-
"esm": "./esm2022/ui/chip/aril-ui-chip.mjs",
|
|
160
|
-
"default": "./fesm2022/aril-ui-chip.mjs"
|
|
161
|
-
},
|
|
162
216
|
"./ui/collapse-reorder-list": {
|
|
163
217
|
"types": "./ui/collapse-reorder-list/index.d.ts",
|
|
164
218
|
"esm2022": "./esm2022/ui/collapse-reorder-list/aril-ui-collapse-reorder-list.mjs",
|
|
165
219
|
"esm": "./esm2022/ui/collapse-reorder-list/aril-ui-collapse-reorder-list.mjs",
|
|
166
220
|
"default": "./fesm2022/aril-ui-collapse-reorder-list.mjs"
|
|
167
221
|
},
|
|
222
|
+
"./ui/chip": {
|
|
223
|
+
"types": "./ui/chip/index.d.ts",
|
|
224
|
+
"esm2022": "./esm2022/ui/chip/aril-ui-chip.mjs",
|
|
225
|
+
"esm": "./esm2022/ui/chip/aril-ui-chip.mjs",
|
|
226
|
+
"default": "./fesm2022/aril-ui-chip.mjs"
|
|
227
|
+
},
|
|
168
228
|
"./ui/dxEditor": {
|
|
169
229
|
"types": "./ui/dxEditor/index.d.ts",
|
|
170
230
|
"esm2022": "./esm2022/ui/dxEditor/aril-ui-dxEditor.mjs",
|
|
@@ -183,29 +243,17 @@
|
|
|
183
243
|
"esm": "./esm2022/ui/editor/aril-ui-editor.mjs",
|
|
184
244
|
"default": "./fesm2022/aril-ui-editor.mjs"
|
|
185
245
|
},
|
|
186
|
-
"./ui/field": {
|
|
187
|
-
"types": "./ui/field/index.d.ts",
|
|
188
|
-
"esm2022": "./esm2022/ui/field/aril-ui-field.mjs",
|
|
189
|
-
"esm": "./esm2022/ui/field/aril-ui-field.mjs",
|
|
190
|
-
"default": "./fesm2022/aril-ui-field.mjs"
|
|
191
|
-
},
|
|
192
246
|
"./ui/fileUpload": {
|
|
193
247
|
"types": "./ui/fileUpload/index.d.ts",
|
|
194
248
|
"esm2022": "./esm2022/ui/fileUpload/aril-ui-fileUpload.mjs",
|
|
195
249
|
"esm": "./esm2022/ui/fileUpload/aril-ui-fileUpload.mjs",
|
|
196
250
|
"default": "./fesm2022/aril-ui-fileUpload.mjs"
|
|
197
251
|
},
|
|
198
|
-
"./ui/
|
|
199
|
-
"types": "./ui/
|
|
200
|
-
"esm2022": "./esm2022/ui/
|
|
201
|
-
"esm": "./esm2022/ui/
|
|
202
|
-
"default": "./fesm2022/aril-ui-
|
|
203
|
-
},
|
|
204
|
-
"./ui/img-viewer": {
|
|
205
|
-
"types": "./ui/img-viewer/index.d.ts",
|
|
206
|
-
"esm2022": "./esm2022/ui/img-viewer/aril-ui-img-viewer.mjs",
|
|
207
|
-
"esm": "./esm2022/ui/img-viewer/aril-ui-img-viewer.mjs",
|
|
208
|
-
"default": "./fesm2022/aril-ui-img-viewer.mjs"
|
|
252
|
+
"./ui/field": {
|
|
253
|
+
"types": "./ui/field/index.d.ts",
|
|
254
|
+
"esm2022": "./esm2022/ui/field/aril-ui-field.mjs",
|
|
255
|
+
"esm": "./esm2022/ui/field/aril-ui-field.mjs",
|
|
256
|
+
"default": "./fesm2022/aril-ui-field.mjs"
|
|
209
257
|
},
|
|
210
258
|
"./ui/json-diff-comparison": {
|
|
211
259
|
"types": "./ui/json-diff-comparison/index.d.ts",
|
|
@@ -213,11 +261,11 @@
|
|
|
213
261
|
"esm": "./esm2022/ui/json-diff-comparison/aril-ui-json-diff-comparison.mjs",
|
|
214
262
|
"default": "./fesm2022/aril-ui-json-diff-comparison.mjs"
|
|
215
263
|
},
|
|
216
|
-
"./ui/
|
|
217
|
-
"types": "./ui/
|
|
218
|
-
"esm2022": "./esm2022/ui/
|
|
219
|
-
"esm": "./esm2022/ui/
|
|
220
|
-
"default": "./fesm2022/aril-ui-
|
|
264
|
+
"./ui/form": {
|
|
265
|
+
"types": "./ui/form/index.d.ts",
|
|
266
|
+
"esm2022": "./esm2022/ui/form/aril-ui-form.mjs",
|
|
267
|
+
"esm": "./esm2022/ui/form/aril-ui-form.mjs",
|
|
268
|
+
"default": "./fesm2022/aril-ui-form.mjs"
|
|
221
269
|
},
|
|
222
270
|
"./ui/lib": {
|
|
223
271
|
"types": "./ui/lib/index.d.ts",
|
|
@@ -225,12 +273,24 @@
|
|
|
225
273
|
"esm": "./esm2022/ui/lib/aril-ui-lib.mjs",
|
|
226
274
|
"default": "./fesm2022/aril-ui-lib.mjs"
|
|
227
275
|
},
|
|
276
|
+
"./ui/img-viewer": {
|
|
277
|
+
"types": "./ui/img-viewer/index.d.ts",
|
|
278
|
+
"esm2022": "./esm2022/ui/img-viewer/aril-ui-img-viewer.mjs",
|
|
279
|
+
"esm": "./esm2022/ui/img-viewer/aril-ui-img-viewer.mjs",
|
|
280
|
+
"default": "./fesm2022/aril-ui-img-viewer.mjs"
|
|
281
|
+
},
|
|
228
282
|
"./ui/mask": {
|
|
229
283
|
"types": "./ui/mask/index.d.ts",
|
|
230
284
|
"esm2022": "./esm2022/ui/mask/aril-ui-mask.mjs",
|
|
231
285
|
"esm": "./esm2022/ui/mask/aril-ui-mask.mjs",
|
|
232
286
|
"default": "./fesm2022/aril-ui-mask.mjs"
|
|
233
287
|
},
|
|
288
|
+
"./ui/loader": {
|
|
289
|
+
"types": "./ui/loader/index.d.ts",
|
|
290
|
+
"esm2022": "./esm2022/ui/loader/aril-ui-loader.mjs",
|
|
291
|
+
"esm": "./esm2022/ui/loader/aril-ui-loader.mjs",
|
|
292
|
+
"default": "./fesm2022/aril-ui-loader.mjs"
|
|
293
|
+
},
|
|
234
294
|
"./ui/multiSelect": {
|
|
235
295
|
"types": "./ui/multiSelect/index.d.ts",
|
|
236
296
|
"esm2022": "./esm2022/ui/multiSelect/aril-ui-multiSelect.mjs",
|
|
@@ -297,18 +357,18 @@
|
|
|
297
357
|
"esm": "./esm2022/ui/selectBox/aril-ui-selectBox.mjs",
|
|
298
358
|
"default": "./fesm2022/aril-ui-selectBox.mjs"
|
|
299
359
|
},
|
|
300
|
-
"./ui/table": {
|
|
301
|
-
"types": "./ui/table/index.d.ts",
|
|
302
|
-
"esm2022": "./esm2022/ui/table/aril-ui-table.mjs",
|
|
303
|
-
"esm": "./esm2022/ui/table/aril-ui-table.mjs",
|
|
304
|
-
"default": "./fesm2022/aril-ui-table.mjs"
|
|
305
|
-
},
|
|
306
360
|
"./ui/switch": {
|
|
307
361
|
"types": "./ui/switch/index.d.ts",
|
|
308
362
|
"esm2022": "./esm2022/ui/switch/aril-ui-switch.mjs",
|
|
309
363
|
"esm": "./esm2022/ui/switch/aril-ui-switch.mjs",
|
|
310
364
|
"default": "./fesm2022/aril-ui-switch.mjs"
|
|
311
365
|
},
|
|
366
|
+
"./ui/table": {
|
|
367
|
+
"types": "./ui/table/index.d.ts",
|
|
368
|
+
"esm2022": "./esm2022/ui/table/aril-ui-table.mjs",
|
|
369
|
+
"esm": "./esm2022/ui/table/aril-ui-table.mjs",
|
|
370
|
+
"default": "./fesm2022/aril-ui-table.mjs"
|
|
371
|
+
},
|
|
312
372
|
"./ui/table-expand": {
|
|
313
373
|
"types": "./ui/table-expand/index.d.ts",
|
|
314
374
|
"esm2022": "./esm2022/ui/table-expand/aril-ui-table-expand.mjs",
|
|
@@ -321,24 +381,6 @@
|
|
|
321
381
|
"esm": "./esm2022/ui/tag/aril-ui-tag.mjs",
|
|
322
382
|
"default": "./fesm2022/aril-ui-tag.mjs"
|
|
323
383
|
},
|
|
324
|
-
"./ui/tagBox": {
|
|
325
|
-
"types": "./ui/tagBox/index.d.ts",
|
|
326
|
-
"esm2022": "./esm2022/ui/tagBox/aril-ui-tagBox.mjs",
|
|
327
|
-
"esm": "./esm2022/ui/tagBox/aril-ui-tagBox.mjs",
|
|
328
|
-
"default": "./fesm2022/aril-ui-tagBox.mjs"
|
|
329
|
-
},
|
|
330
|
-
"./ui/text": {
|
|
331
|
-
"types": "./ui/text/index.d.ts",
|
|
332
|
-
"esm2022": "./esm2022/ui/text/aril-ui-text.mjs",
|
|
333
|
-
"esm": "./esm2022/ui/text/aril-ui-text.mjs",
|
|
334
|
-
"default": "./fesm2022/aril-ui-text.mjs"
|
|
335
|
-
},
|
|
336
|
-
"./ui/tooltip": {
|
|
337
|
-
"types": "./ui/tooltip/index.d.ts",
|
|
338
|
-
"esm2022": "./esm2022/ui/tooltip/aril-ui-tooltip.mjs",
|
|
339
|
-
"esm": "./esm2022/ui/tooltip/aril-ui-tooltip.mjs",
|
|
340
|
-
"default": "./fesm2022/aril-ui-tooltip.mjs"
|
|
341
|
-
},
|
|
342
384
|
"./ui/toggle-button": {
|
|
343
385
|
"types": "./ui/toggle-button/index.d.ts",
|
|
344
386
|
"esm2022": "./esm2022/ui/toggle-button/aril-ui-toggle-button.mjs",
|
|
@@ -351,6 +393,18 @@
|
|
|
351
393
|
"esm": "./esm2022/ui/textArea/aril-ui-textArea.mjs",
|
|
352
394
|
"default": "./fesm2022/aril-ui-textArea.mjs"
|
|
353
395
|
},
|
|
396
|
+
"./ui/tagBox": {
|
|
397
|
+
"types": "./ui/tagBox/index.d.ts",
|
|
398
|
+
"esm2022": "./esm2022/ui/tagBox/aril-ui-tagBox.mjs",
|
|
399
|
+
"esm": "./esm2022/ui/tagBox/aril-ui-tagBox.mjs",
|
|
400
|
+
"default": "./fesm2022/aril-ui-tagBox.mjs"
|
|
401
|
+
},
|
|
402
|
+
"./ui/text": {
|
|
403
|
+
"types": "./ui/text/index.d.ts",
|
|
404
|
+
"esm2022": "./esm2022/ui/text/aril-ui-text.mjs",
|
|
405
|
+
"esm": "./esm2022/ui/text/aril-ui-text.mjs",
|
|
406
|
+
"default": "./fesm2022/aril-ui-text.mjs"
|
|
407
|
+
},
|
|
354
408
|
"./ui/translate-input": {
|
|
355
409
|
"types": "./ui/translate-input/index.d.ts",
|
|
356
410
|
"esm2022": "./esm2022/ui/translate-input/aril-ui-translate-input.mjs",
|
|
@@ -363,6 +417,12 @@
|
|
|
363
417
|
"esm": "./esm2022/ui/tree/aril-ui-tree.mjs",
|
|
364
418
|
"default": "./fesm2022/aril-ui-tree.mjs"
|
|
365
419
|
},
|
|
420
|
+
"./ui/tooltip": {
|
|
421
|
+
"types": "./ui/tooltip/index.d.ts",
|
|
422
|
+
"esm2022": "./esm2022/ui/tooltip/aril-ui-tooltip.mjs",
|
|
423
|
+
"esm": "./esm2022/ui/tooltip/aril-ui-tooltip.mjs",
|
|
424
|
+
"default": "./fesm2022/aril-ui-tooltip.mjs"
|
|
425
|
+
},
|
|
366
426
|
"./ui/treeSelect": {
|
|
367
427
|
"types": "./ui/treeSelect/index.d.ts",
|
|
368
428
|
"esm2022": "./esm2022/ui/treeSelect/aril-ui-treeSelect.mjs",
|
|
@@ -381,66 +441,6 @@
|
|
|
381
441
|
"esm": "./esm2022/ui/value/aril-ui-value.mjs",
|
|
382
442
|
"default": "./fesm2022/aril-ui-value.mjs"
|
|
383
443
|
},
|
|
384
|
-
"./ui-business/assetPicker": {
|
|
385
|
-
"types": "./ui-business/assetPicker/index.d.ts",
|
|
386
|
-
"esm2022": "./esm2022/ui-business/assetPicker/aril-ui-business-assetPicker.mjs",
|
|
387
|
-
"esm": "./esm2022/ui-business/assetPicker/aril-ui-business-assetPicker.mjs",
|
|
388
|
-
"default": "./fesm2022/aril-ui-business-assetPicker.mjs"
|
|
389
|
-
},
|
|
390
|
-
"./ui-business/detailed-overlay-panel": {
|
|
391
|
-
"types": "./ui-business/detailed-overlay-panel/index.d.ts",
|
|
392
|
-
"esm2022": "./esm2022/ui-business/detailed-overlay-panel/aril-ui-business-detailed-overlay-panel.mjs",
|
|
393
|
-
"esm": "./esm2022/ui-business/detailed-overlay-panel/aril-ui-business-detailed-overlay-panel.mjs",
|
|
394
|
-
"default": "./fesm2022/aril-ui-business-detailed-overlay-panel.mjs"
|
|
395
|
-
},
|
|
396
|
-
"./ui-business/enumPicker": {
|
|
397
|
-
"types": "./ui-business/enumPicker/index.d.ts",
|
|
398
|
-
"esm2022": "./esm2022/ui-business/enumPicker/aril-ui-business-enumPicker.mjs",
|
|
399
|
-
"esm": "./esm2022/ui-business/enumPicker/aril-ui-business-enumPicker.mjs",
|
|
400
|
-
"default": "./fesm2022/aril-ui-business-enumPicker.mjs"
|
|
401
|
-
},
|
|
402
|
-
"./ui-business/image-viewer": {
|
|
403
|
-
"types": "./ui-business/image-viewer/index.d.ts",
|
|
404
|
-
"esm2022": "./esm2022/ui-business/image-viewer/aril-ui-business-image-viewer.mjs",
|
|
405
|
-
"esm": "./esm2022/ui-business/image-viewer/aril-ui-business-image-viewer.mjs",
|
|
406
|
-
"default": "./fesm2022/aril-ui-business-image-viewer.mjs"
|
|
407
|
-
},
|
|
408
|
-
"./ui-business/notification-templates-dialog": {
|
|
409
|
-
"types": "./ui-business/notification-templates-dialog/index.d.ts",
|
|
410
|
-
"esm2022": "./esm2022/ui-business/notification-templates-dialog/aril-ui-business-notification-templates-dialog.mjs",
|
|
411
|
-
"esm": "./esm2022/ui-business/notification-templates-dialog/aril-ui-business-notification-templates-dialog.mjs",
|
|
412
|
-
"default": "./fesm2022/aril-ui-business-notification-templates-dialog.mjs"
|
|
413
|
-
},
|
|
414
|
-
"./ui-business/multiple-ref-value": {
|
|
415
|
-
"types": "./ui-business/multiple-ref-value/index.d.ts",
|
|
416
|
-
"esm2022": "./esm2022/ui-business/multiple-ref-value/aril-ui-business-multiple-ref-value.mjs",
|
|
417
|
-
"esm": "./esm2022/ui-business/multiple-ref-value/aril-ui-business-multiple-ref-value.mjs",
|
|
418
|
-
"default": "./fesm2022/aril-ui-business-multiple-ref-value.mjs"
|
|
419
|
-
},
|
|
420
|
-
"./ui-business/operation-types-dialog": {
|
|
421
|
-
"types": "./ui-business/operation-types-dialog/index.d.ts",
|
|
422
|
-
"esm2022": "./esm2022/ui-business/operation-types-dialog/aril-ui-business-operation-types-dialog.mjs",
|
|
423
|
-
"esm": "./esm2022/ui-business/operation-types-dialog/aril-ui-business-operation-types-dialog.mjs",
|
|
424
|
-
"default": "./fesm2022/aril-ui-business-operation-types-dialog.mjs"
|
|
425
|
-
},
|
|
426
|
-
"./ui-business/ref-value": {
|
|
427
|
-
"types": "./ui-business/ref-value/index.d.ts",
|
|
428
|
-
"esm2022": "./esm2022/ui-business/ref-value/aril-ui-business-ref-value.mjs",
|
|
429
|
-
"esm": "./esm2022/ui-business/ref-value/aril-ui-business-ref-value.mjs",
|
|
430
|
-
"default": "./fesm2022/aril-ui-business-ref-value.mjs"
|
|
431
|
-
},
|
|
432
|
-
"./ui-business/userPicker": {
|
|
433
|
-
"types": "./ui-business/userPicker/index.d.ts",
|
|
434
|
-
"esm2022": "./esm2022/ui-business/userPicker/aril-ui-business-userPicker.mjs",
|
|
435
|
-
"esm": "./esm2022/ui-business/userPicker/aril-ui-business-userPicker.mjs",
|
|
436
|
-
"default": "./fesm2022/aril-ui-business-userPicker.mjs"
|
|
437
|
-
},
|
|
438
|
-
"./ui-business/rolePicker": {
|
|
439
|
-
"types": "./ui-business/rolePicker/index.d.ts",
|
|
440
|
-
"esm2022": "./esm2022/ui-business/rolePicker/aril-ui-business-rolePicker.mjs",
|
|
441
|
-
"esm": "./esm2022/ui-business/rolePicker/aril-ui-business-rolePicker.mjs",
|
|
442
|
-
"default": "./fesm2022/aril-ui-business-rolePicker.mjs"
|
|
443
|
-
},
|
|
444
444
|
"./util/block": {
|
|
445
445
|
"types": "./util/block/index.d.ts",
|
|
446
446
|
"esm2022": "./esm2022/util/block/aril-util-block.mjs",
|
|
@@ -507,18 +507,18 @@
|
|
|
507
507
|
"esm": "./esm2022/util/unwrap/aril-util-unwrap.mjs",
|
|
508
508
|
"default": "./fesm2022/aril-util-unwrap.mjs"
|
|
509
509
|
},
|
|
510
|
-
"./boot/config/apps": {
|
|
511
|
-
"types": "./boot/config/apps/index.d.ts",
|
|
512
|
-
"esm2022": "./esm2022/boot/config/apps/aril-boot-config-apps.mjs",
|
|
513
|
-
"esm": "./esm2022/boot/config/apps/aril-boot-config-apps.mjs",
|
|
514
|
-
"default": "./fesm2022/aril-boot-config-apps.mjs"
|
|
515
|
-
},
|
|
516
510
|
"./boot/config/api": {
|
|
517
511
|
"types": "./boot/config/api/index.d.ts",
|
|
518
512
|
"esm2022": "./esm2022/boot/config/api/aril-boot-config-api.mjs",
|
|
519
513
|
"esm": "./esm2022/boot/config/api/aril-boot-config-api.mjs",
|
|
520
514
|
"default": "./fesm2022/aril-boot-config-api.mjs"
|
|
521
515
|
},
|
|
516
|
+
"./boot/config/apps": {
|
|
517
|
+
"types": "./boot/config/apps/index.d.ts",
|
|
518
|
+
"esm2022": "./esm2022/boot/config/apps/aril-boot-config-apps.mjs",
|
|
519
|
+
"esm": "./esm2022/boot/config/apps/aril-boot-config-apps.mjs",
|
|
520
|
+
"default": "./fesm2022/aril-boot-config-apps.mjs"
|
|
521
|
+
},
|
|
522
522
|
"./boot/config/plugins": {
|
|
523
523
|
"types": "./boot/config/plugins/index.d.ts",
|
|
524
524
|
"esm2022": "./esm2022/boot/config/plugins/aril-boot-config-plugins.mjs",
|
|
@@ -2,7 +2,8 @@ import { DynamicDialogConfig } from 'primeng/dynamicdialog';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class CustomizedPluginDialogComponent {
|
|
4
4
|
private readonly dialogConfig;
|
|
5
|
-
name:
|
|
5
|
+
name: any;
|
|
6
|
+
props: any;
|
|
6
7
|
PLUGINS: import("../../../../../../dist/boot/config/plugins/src/interfaces").FactoryClass & import("../../../../../../dist/boot/config/plugins/src/interfaces").PluginConfigs;
|
|
7
8
|
constructor(dialogConfig: DynamicDialogConfig);
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomizedPluginDialogComponent, never>;
|