@acorex/modules 18.1.0 → 18.1.2
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/application-management/lib/application-management-mock-data.d.ts +7 -0
- package/application-management/lib/layouts/index.d.ts +1 -0
- package/application-management/lib/layouts/module-entity-detail-view/module-entity-detail-view.component.d.ts +5 -1
- package/application-management/lib/layouts/property-detail-view/modify-property-interface.component.d.ts +5 -0
- package/application-management/lib/module-designer/module-designer.component.d.ts +4 -2
- package/application-management/lib/services/context-menu.service.d.ts +2 -2
- package/application-management/lib/workflows/create-module-entity.workflow.d.ts +8 -1
- package/application-management/lib/workflows/index.d.ts +1 -0
- package/application-management/lib/workflows/modify-property-interface.workflow.d.ts +26 -0
- package/backend/lib/data/api/comment.service.d.ts +7 -6
- package/esm2022/application-management/lib/application-management-mock-data.mjs +21 -1
- package/esm2022/application-management/lib/application-management.module.mjs +6 -3
- package/esm2022/application-management/lib/application-management.service.mjs +3 -3
- package/esm2022/application-management/lib/entities/applications.entity.mjs +3 -3
- package/esm2022/application-management/lib/entities/entity.entity.mjs +16 -2
- package/esm2022/application-management/lib/entities/modules.entity.mjs +4 -4
- package/esm2022/application-management/lib/entities/property.entity.mjs +7 -3
- package/esm2022/application-management/lib/layouts/index.mjs +2 -1
- package/esm2022/application-management/lib/layouts/module-entity-detail-view/module-entity-detail-view.component.mjs +32 -8
- package/esm2022/application-management/lib/layouts/property-detail-view/modify-property-interface.component.mjs +55 -0
- package/esm2022/application-management/lib/module-designer/module-designer.component.mjs +13 -5
- package/esm2022/application-management/lib/services/context-menu.service.mjs +6 -8
- package/esm2022/application-management/lib/workflows/create-module-entity.workflow.mjs +25 -1
- package/esm2022/application-management/lib/workflows/index.mjs +2 -1
- package/esm2022/application-management/lib/workflows/modify-property-interface.workflow.mjs +79 -0
- package/esm2022/auth/lib/shared/layouts/master/master.layout.mjs +3 -3
- package/esm2022/backend/lib/data/api/comment.service.mjs +14 -16
- package/fesm2022/acorex-modules-application-management-module-designer.component-CRPUuYUe.mjs +332 -0
- package/fesm2022/acorex-modules-application-management-module-designer.component-CRPUuYUe.mjs.map +1 -0
- package/fesm2022/acorex-modules-application-management.mjs +217 -43
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-D09VaQPe.mjs → acorex-modules-auth-acorex-modules-auth-CS3UFdX0.mjs} +8 -8
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-D09VaQPe.mjs.map → acorex-modules-auth-acorex-modules-auth-CS3UFdX0.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-app-chooser.component-DN1ZJiZs.mjs → acorex-modules-auth-app-chooser.component-BlJbIMKi.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-DN1ZJiZs.mjs.map → acorex-modules-auth-app-chooser.component-BlJbIMKi.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-CGA5aTg2.mjs → acorex-modules-auth-login.module-DGBKGxI3.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-CGA5aTg2.mjs.map → acorex-modules-auth-login.module-DGBKGxI3.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-ZJWzjLrb.mjs → acorex-modules-auth-master.layout-B_8Sfw0M.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-master.layout-ZJWzjLrb.mjs.map → acorex-modules-auth-master.layout-B_8Sfw0M.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-MJhNk3UI.mjs → acorex-modules-auth-password.component-BfDjRRN_.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-MJhNk3UI.mjs.map → acorex-modules-auth-password.component-BfDjRRN_.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-C4yqf342.mjs → acorex-modules-auth-password.component-DZJ1qwfa.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-C4yqf342.mjs.map → acorex-modules-auth-password.component-DZJ1qwfa.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-DhORV1Js.mjs → acorex-modules-auth-routes-Bw7nXDvx.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-DhORV1Js.mjs.map → acorex-modules-auth-routes-Bw7nXDvx.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-BWKP0_jO.mjs → acorex-modules-auth-two-factor.module-DKStBo1V.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-BWKP0_jO.mjs.map → acorex-modules-auth-two-factor.module-DKStBo1V.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-backend.mjs +13 -15
- package/fesm2022/acorex-modules-backend.mjs.map +1 -1
- package/package.json +7 -7
- package/application-management/lib/actions/index.d.ts +0 -1
- package/application-management/lib/actions/show-detail.action.d.ts +0 -8
- package/esm2022/application-management/lib/actions/index.mjs +0 -2
- package/esm2022/application-management/lib/actions/show-detail.action.mjs +0 -25
- package/fesm2022/acorex-modules-application-management-module-designer.component-CDZZ-5pF.mjs +0 -323
- package/fesm2022/acorex-modules-application-management-module-designer.component-CDZZ-5pF.mjs.map +0 -1
@@ -8,32 +8,30 @@ export class AXMCommentService {
|
|
8
8
|
this.configs = inject(AXP_ROOT_CONFIG_TOKEN);
|
9
9
|
this.http = inject(HttpClient);
|
10
10
|
this.mainUrl = this.configs.baseUrl;
|
11
|
-
this.messagesUrl = `${this.configs.baseUrl}/conversion/messages`;
|
11
|
+
this.messagesUrl = `${this.configs.baseUrl}/conversion/messages/room`;
|
12
|
+
this.messagePostUrl = `${this.configs.baseUrl}/conversion/messages`;
|
13
|
+
this.messageReactionUrl = `${this.configs.baseUrl}/conversion/message-reactions/change`;
|
12
14
|
}
|
13
|
-
async
|
15
|
+
async get(params) {
|
14
16
|
const url = `${this.messagesUrl}`;
|
15
17
|
return await firstValueFrom(this.http.get(url, {
|
16
18
|
params: params,
|
17
19
|
}));
|
18
20
|
}
|
19
|
-
async
|
20
|
-
const url = `${this.
|
21
|
-
return await firstValueFrom(this.http.post(url, payload));
|
22
|
-
}
|
23
|
-
async replyToComment(payload) {
|
24
|
-
const url = `${this.mainUrl}/reply-comment`;
|
21
|
+
async post(payload) {
|
22
|
+
const url = `${this.messagePostUrl}`;
|
25
23
|
return await firstValueFrom(this.http.post(url, payload));
|
26
24
|
}
|
27
|
-
async
|
28
|
-
const url = `${this.
|
29
|
-
return await firstValueFrom(this.http.
|
25
|
+
async put(payload) {
|
26
|
+
const url = `${this.messagePostUrl}/${payload.id}`;
|
27
|
+
return await firstValueFrom(this.http.put(url, { content: payload.content }));
|
30
28
|
}
|
31
|
-
async
|
32
|
-
const url = `${this.
|
29
|
+
async delete(payload) {
|
30
|
+
const url = `${this.messagePostUrl}/${payload.id}`;
|
33
31
|
return await firstValueFrom(this.http.delete(url));
|
34
32
|
}
|
35
|
-
async
|
36
|
-
const url = `${this.
|
33
|
+
async like(payload) {
|
34
|
+
const url = `${this.messageReactionUrl}`;
|
37
35
|
return await firstValueFrom(this.http.put(url, payload));
|
38
36
|
}
|
39
37
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMCommentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
@@ -45,4 +43,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
45
43
|
providedIn: 'root',
|
46
44
|
}]
|
47
45
|
}] });
|
48
|
-
//# sourceMappingURL=data:application/json;base64,
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVudC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9tb2R1bGVzL2JhY2tlbmQvc3JjL2xpYi9kYXRhL2FwaS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mh0dHAucHV0PGFueT4odXJsLCBwYXlsb2FkKSk7XG4gIH1cblxuICAvLyBhc3luYyBkZWxldGVDb21tZW50KGNvbW1lbnRJZDogc3RyaW5nKTogUHJvbWlzZTxhbnk+IHtcbiAgLy8gICBjb25zdCB1cmwgPSBgJHt0aGlzLm1haW5Vcmx9L2RlbGV0ZS1jb21tZW50LyR7Y29tbWVudElkfWA7XG4gIC8vICAgcmV0dXJuIGF3YWl0IGZpcnN0VmFsdWVGcm9tKHRoaXMuaHR0cC5kZWxldGU8YW55Pih1cmwpKTtcbiAgLy8gfVxuXG4gIC8vIGFzeW5jIGVkaXRDb21tZW50KHBheWxvYWQ6IGFueSk6IFByb21pc2U8YW55PiB7XG4gIC8vICAgY29uc3QgdXJsID0gYCR7dGhpcy5tYWluVXJsfS9lZGl0LWNvbW1lbnRgO1xuICAvLyAgIHJldHVybiBhd2FpdCBmaXJzdFZhbHVlRnJvbSh0aGlzLmh0dHAucHV0PGFueT4odXJsLCBwYXlsb2FkKSk7XG4gIC8vIH1cbn1cbiJdfQ==
|
@@ -0,0 +1,332 @@
|
|
1
|
+
import * as i7$1 from '@acorex/components/badge';
|
2
|
+
import { AXBadgeModule } from '@acorex/components/badge';
|
3
|
+
import * as i7 from '@acorex/components/button';
|
4
|
+
import { AXButtonModule } from '@acorex/components/button';
|
5
|
+
import * as i6 from '@acorex/components/collapse';
|
6
|
+
import { AXCollapseModule } from '@acorex/components/collapse';
|
7
|
+
import * as i3 from '@acorex/components/decorators';
|
8
|
+
import { AXDecoratorModule } from '@acorex/components/decorators';
|
9
|
+
import * as i2 from '@acorex/components/drawer';
|
10
|
+
import { AXDrawerModule } from '@acorex/components/drawer';
|
11
|
+
import * as i8 from '@acorex/components/menu';
|
12
|
+
import { AXMenuModule } from '@acorex/components/menu';
|
13
|
+
import { AXPopoverModule } from '@acorex/components/popover';
|
14
|
+
import { AXSelectionListModule } from '@acorex/components/selection-list';
|
15
|
+
import { AXSideMenuModule } from '@acorex/components/side-menu';
|
16
|
+
import * as i5 from '@acorex/core/translation';
|
17
|
+
import { AXTranslationModule } from '@acorex/core/translation';
|
18
|
+
import { AXPEntityDeletedEvent, AXPEntityCreateEvent } from '@acorex/platform/layouts';
|
19
|
+
import { AXPWorkflowService, ofType } from '@acorex/platform/workflow';
|
20
|
+
import * as i1 from '@angular/common';
|
21
|
+
import { CommonModule } from '@angular/common';
|
22
|
+
import * as i0 from '@angular/core';
|
23
|
+
import { inject, signal, Injectable, ChangeDetectorRef, viewChild, Component, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';
|
24
|
+
import * as i2$1 from '@angular/router';
|
25
|
+
import { RouterModule } from '@angular/router';
|
26
|
+
import { set } from 'lodash-es';
|
27
|
+
import { Subject, takeUntil } from 'rxjs';
|
28
|
+
import { AXPModuleDesignerService } from './acorex-modules-application-management.mjs';
|
29
|
+
import '@acorex/platform/layout/entity';
|
30
|
+
import '@acorex/platform/themes/default';
|
31
|
+
import '@acorex/components/action-sheet';
|
32
|
+
import '@acorex/components/breadcrumbs';
|
33
|
+
import '@acorex/components/dialog';
|
34
|
+
import '@acorex/components/dropdown';
|
35
|
+
import '@acorex/components/form';
|
36
|
+
import '@acorex/components/loading';
|
37
|
+
import '@acorex/components/tabs';
|
38
|
+
import '@acorex/platform/common';
|
39
|
+
import '@acorex/platform/layout/builder';
|
40
|
+
import '@acorex/platform/widgets';
|
41
|
+
import '@ngrx/store';
|
42
|
+
import '@acorex/platform/layout/designer';
|
43
|
+
import '@acorex/components/popup';
|
44
|
+
import '@acorex/core/platform';
|
45
|
+
import '@acorex/platform/core';
|
46
|
+
|
47
|
+
class AXMModuleDesignerContextMenuService {
|
48
|
+
constructor() {
|
49
|
+
this.workflow = inject(AXPWorkflowService);
|
50
|
+
this.copiedRecord = signal(null);
|
51
|
+
this.elementData = signal(null);
|
52
|
+
this.menuItems = [
|
53
|
+
{
|
54
|
+
name: 'create',
|
55
|
+
text: 'Create',
|
56
|
+
icon: 'fas fa-plus',
|
57
|
+
color: 'primary',
|
58
|
+
},
|
59
|
+
{
|
60
|
+
name: 'delete',
|
61
|
+
text: 'Delete',
|
62
|
+
icon: 'fas fa-trash',
|
63
|
+
color: 'danger',
|
64
|
+
},
|
65
|
+
{
|
66
|
+
name: 'details',
|
67
|
+
text: 'Details',
|
68
|
+
icon: 'fas fa-eye',
|
69
|
+
color: 'ghost',
|
70
|
+
},
|
71
|
+
{
|
72
|
+
name: 'copy',
|
73
|
+
text: 'Copy',
|
74
|
+
icon: 'fas fa-copy',
|
75
|
+
color: 'ghost',
|
76
|
+
},
|
77
|
+
{
|
78
|
+
name: 'paste',
|
79
|
+
text: 'Paste',
|
80
|
+
icon: 'fas fa-paste',
|
81
|
+
color: 'ghost',
|
82
|
+
disabled: false,
|
83
|
+
},
|
84
|
+
];
|
85
|
+
}
|
86
|
+
open(e) {
|
87
|
+
const target = e.targetElement;
|
88
|
+
const elementType = target?.getAttribute('data-elementType');
|
89
|
+
const { data } = target;
|
90
|
+
if (elementType == 'module' || elementType == 'subModule') {
|
91
|
+
const moduleId = target?.getAttribute('data-moduleId');
|
92
|
+
const entityType = target?.getAttribute('data-entityType');
|
93
|
+
if (elementType == 'module') {
|
94
|
+
this.elementData.set({
|
95
|
+
entityType,
|
96
|
+
moduleId: moduleId,
|
97
|
+
record: {
|
98
|
+
id: moduleId,
|
99
|
+
},
|
100
|
+
});
|
101
|
+
e.items = this.getMenuItems(['details', 'delete']);
|
102
|
+
}
|
103
|
+
else {
|
104
|
+
this.elementData.set({
|
105
|
+
entityType,
|
106
|
+
moduleId: moduleId,
|
107
|
+
record: undefined,
|
108
|
+
});
|
109
|
+
const items = this.getMenuItems(['create', 'paste']);
|
110
|
+
const customMenuItems = items.map((i) => i.name == 'paste' ? { ...i, disabled: entityType == this.copiedRecord()?.type ? false : true } : i);
|
111
|
+
e.items = customMenuItems;
|
112
|
+
}
|
113
|
+
}
|
114
|
+
else if (elementType == 'subModuleItem') {
|
115
|
+
this.elementData.set(data);
|
116
|
+
e.items = this.getMenuItems(['delete', 'copy', 'details']);
|
117
|
+
}
|
118
|
+
else {
|
119
|
+
e.items = [];
|
120
|
+
e.canceled = true;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
itemClick(e) {
|
124
|
+
if (this.elementData()) {
|
125
|
+
switch (e.item.name) {
|
126
|
+
case 'create':
|
127
|
+
this.createEntity(this.elementData()?.entityType, this.elementData()?.moduleId);
|
128
|
+
break;
|
129
|
+
case 'details':
|
130
|
+
this.showDetails(this.elementData()?.entityType, this.elementData()?.record.id);
|
131
|
+
break;
|
132
|
+
case 'delete':
|
133
|
+
this.deleteEntity(this.elementData()?.entityType, this.elementData()?.record.id, this.elementData()?.moduleId);
|
134
|
+
break;
|
135
|
+
case 'copy':
|
136
|
+
this.copyRecord(this.elementData()?.entityType, this.elementData()?.record);
|
137
|
+
break;
|
138
|
+
case 'paste':
|
139
|
+
this.pasteRecord(this.elementData()?.moduleId);
|
140
|
+
break;
|
141
|
+
default:
|
142
|
+
break;
|
143
|
+
}
|
144
|
+
}
|
145
|
+
}
|
146
|
+
async createEntity(entityType, moduleId) {
|
147
|
+
await this.workflow.execute('create-module-entity', {
|
148
|
+
entity: `application-management.${entityType}`,
|
149
|
+
data: {
|
150
|
+
moduleId,
|
151
|
+
},
|
152
|
+
meta: {
|
153
|
+
type: entityType,
|
154
|
+
moduleId,
|
155
|
+
},
|
156
|
+
});
|
157
|
+
}
|
158
|
+
async showDetails(entityType, id) {
|
159
|
+
await this.workflow.execute('show-module-entity-details', {
|
160
|
+
entity: `application-management.${entityType}`,
|
161
|
+
data: {
|
162
|
+
id,
|
163
|
+
},
|
164
|
+
});
|
165
|
+
}
|
166
|
+
copyRecord(entityType, record) {
|
167
|
+
const newRecord = { ...record, moduleId: undefined, id: undefined };
|
168
|
+
this.copiedRecord.set({ type: entityType, record: newRecord });
|
169
|
+
}
|
170
|
+
async pasteRecord(moduleId) {
|
171
|
+
if (this.copiedRecord()) {
|
172
|
+
await this.workflow.execute('create-module-entity', {
|
173
|
+
entity: `application-management.${this.copiedRecord()?.type}`,
|
174
|
+
data: {
|
175
|
+
...this.copiedRecord()?.record,
|
176
|
+
moduleId,
|
177
|
+
},
|
178
|
+
meta: {
|
179
|
+
type: this.copiedRecord()?.type,
|
180
|
+
moduleId,
|
181
|
+
},
|
182
|
+
});
|
183
|
+
}
|
184
|
+
}
|
185
|
+
async deleteEntity(entityType, id, moduleId) {
|
186
|
+
await this.workflow.execute('delete-entity', {
|
187
|
+
entity: `application-management.${entityType}`,
|
188
|
+
data: {
|
189
|
+
id,
|
190
|
+
},
|
191
|
+
meta: {
|
192
|
+
moduleId,
|
193
|
+
type: entityType,
|
194
|
+
},
|
195
|
+
});
|
196
|
+
}
|
197
|
+
getMenuItems(includeItems) {
|
198
|
+
return this.menuItems.filter((i) => includeItems.includes(i.name));
|
199
|
+
}
|
200
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMModuleDesignerContextMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
201
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMModuleDesignerContextMenuService, providedIn: 'root' }); }
|
202
|
+
}
|
203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMModuleDesignerContextMenuService, decorators: [{
|
204
|
+
type: Injectable,
|
205
|
+
args: [{
|
206
|
+
providedIn: 'root',
|
207
|
+
}]
|
208
|
+
}] });
|
209
|
+
|
210
|
+
class AXMModuleDesignerComponent {
|
211
|
+
constructor() {
|
212
|
+
this.cdr = inject(ChangeDetectorRef);
|
213
|
+
this.contextMenu = viewChild('contextMenu');
|
214
|
+
this.dataProvider = inject(AXPModuleDesignerService);
|
215
|
+
this.workflow = inject(AXPWorkflowService);
|
216
|
+
this.contextMenuService = inject(AXMModuleDesignerContextMenuService);
|
217
|
+
this.modules = signal([]);
|
218
|
+
this.moduleDataCache = new Map();
|
219
|
+
this.destroyed = new Subject();
|
220
|
+
this.subscribeActionEvents();
|
221
|
+
}
|
222
|
+
ngOnInit() {
|
223
|
+
this.loadModules();
|
224
|
+
}
|
225
|
+
subscribeActionEvents() {
|
226
|
+
this.workflow.events$
|
227
|
+
.pipe(ofType(AXPEntityDeletedEvent, AXPEntityCreateEvent))
|
228
|
+
.pipe(takeUntil(this.destroyed))
|
229
|
+
.subscribe((event) => {
|
230
|
+
const { meta } = event.payload;
|
231
|
+
if (meta.type === 'module') {
|
232
|
+
this.loadModules();
|
233
|
+
}
|
234
|
+
else {
|
235
|
+
this.loadModuleData(meta.moduleId, meta.type, true);
|
236
|
+
}
|
237
|
+
this.cdr.markForCheck();
|
238
|
+
});
|
239
|
+
}
|
240
|
+
async loadModules() {
|
241
|
+
try {
|
242
|
+
const modules = await this.dataProvider.getModules();
|
243
|
+
this.modules.set(modules.items);
|
244
|
+
this.refreshContextMenu();
|
245
|
+
}
|
246
|
+
catch (error) {
|
247
|
+
console.error('Error loading modules:', error);
|
248
|
+
}
|
249
|
+
}
|
250
|
+
async handleCollapseItemClick(moduleId, e, dataType) {
|
251
|
+
if (e.component.isCollapsed) {
|
252
|
+
e.handled = true;
|
253
|
+
e.component.isLoading = true;
|
254
|
+
await this.loadModuleData(moduleId, dataType);
|
255
|
+
e.component.toggle();
|
256
|
+
e.component.isLoading = false;
|
257
|
+
e.component['cdr'].markForCheck();
|
258
|
+
this.refreshContextMenu();
|
259
|
+
}
|
260
|
+
}
|
261
|
+
refreshContextMenu() {
|
262
|
+
setTimeout(() => {
|
263
|
+
this.contextMenu()?.refresh();
|
264
|
+
}, 0);
|
265
|
+
}
|
266
|
+
async loadModuleData(moduleId, dataType, hardReload = false) {
|
267
|
+
const cacheKey = `${moduleId}-${dataType}`;
|
268
|
+
let dataItems = this.moduleDataCache.get(cacheKey);
|
269
|
+
// if (!dataItems || hardReload) {
|
270
|
+
try {
|
271
|
+
const methodMap = {
|
272
|
+
entity: this.dataProvider.getEntities,
|
273
|
+
permission: this.dataProvider.getPermissions,
|
274
|
+
feature: this.dataProvider.getFeatures,
|
275
|
+
};
|
276
|
+
const data = await methodMap[dataType].call(this.dataProvider, moduleId);
|
277
|
+
dataItems = data.items;
|
278
|
+
this.moduleDataCache.set(cacheKey, dataItems);
|
279
|
+
}
|
280
|
+
catch (error) {
|
281
|
+
console.error(`Error loading ${dataType}:`, error);
|
282
|
+
}
|
283
|
+
// }
|
284
|
+
}
|
285
|
+
getEntities(moduleId) {
|
286
|
+
return this.moduleDataCache.get(`${moduleId}-entity`) || [];
|
287
|
+
}
|
288
|
+
getPermissions(moduleId) {
|
289
|
+
return this.moduleDataCache.get(`${moduleId}-permission`) || [];
|
290
|
+
}
|
291
|
+
getFeatures(moduleId) {
|
292
|
+
return this.moduleDataCache.get(`${moduleId}-feature`) || [];
|
293
|
+
}
|
294
|
+
openingContextMenu(e) {
|
295
|
+
this.contextMenuService.open(e);
|
296
|
+
}
|
297
|
+
handleActionClick(e) {
|
298
|
+
this.contextMenuService.itemClick(e);
|
299
|
+
}
|
300
|
+
createModule() {
|
301
|
+
this.contextMenuService.createEntity('module');
|
302
|
+
}
|
303
|
+
destroy() {
|
304
|
+
this.destroyed.next();
|
305
|
+
this.destroyed.complete();
|
306
|
+
}
|
307
|
+
assignData(target, data) {
|
308
|
+
set(target, 'data', data);
|
309
|
+
}
|
310
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMModuleDesignerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
311
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXMModuleDesignerComponent, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "contextMenu", first: true, predicate: ["contextMenu"], descendants: true, isSignal: true }], ngImport: i0, template: "<ax-drawer-container class=\"ax-overflow-hidden\">\n <ax-drawer #drawer location=\"start\" [collapsed]=\"false\" [mode]=\"'push'\">\n <ax-content class=\"ax-w-80 ax-relative ax-border-e ax-px-4 ax-py-2\">\n <div class=\"ax-overflow-auto ax-h-[calc(100vh-180px)]\">\n <span class=\"ax-font-bold ax-text-xl\">{{ 'designer.modules' | translate | async }}</span>\n <div class=\"ax-flex ax-flex-col ax-gap-2 ax-mt-4\">\n @if(modules().length){\n <ax-collapse-group [accordion]=\"false\" look=\"blank\">\n @for(m of modules();track $index){\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-folder ax-text-warning\"\n [isCollapsed]=\"true\"\n [caption]=\"m.title\"\n look=\"none\"\n data-elementType=\"module\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"module\"\n >\n <div class=\"ax-mx-3\">\n <ax-collapse-group [accordion]=\"false\" look=\"blank\">\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-box ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'entity')\"\n [caption]=\"('designer.entities' | translate | async) ?? 'Entities'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"entity\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'entity', items: getEntities(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-star ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'feature')\"\n [caption]=\"('designer.features' | translate | async) ?? 'Features'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"feature\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'feature', items: getFeatures(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-key ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'permission')\"\n [caption]=\"('designer.permissions' | translate | async) ?? 'Permissions'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"permission\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'permission', items: getPermissions(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n </ax-collapse-group>\n </div>\n </ax-collapse>\n }\n </ax-collapse-group>\n } @else {\n <div class=\"ax-h-full ax-flex ax-items-center ax-justify-center\">\n <span class=\"ax-text-neutral-500 ax-text-sm\">{{ 'designer.emptyModulesText' | translate | async }}</span>\n </div>\n }\n </div>\n <ax-button\n class=\"ax-absolute ax-bottom-4 ax-w-72\"\n [text]=\"('designer.createModule' | translate | async) ?? 'Create New Module'\"\n (onClick)=\"createModule()\"\n look=\"solid\"\n color=\"primary\"\n >\n <ax-icon class=\"fas fa-plus\"> </ax-icon>\n </ax-button>\n </div>\n </ax-content>\n\n <ng-template #childTemplate let-child>\n <div class=\"ax-flex ax-flex-col ax-cursor-pointer ax-select-none ax-border-s ax-ms-[14px] ax-ps-2\">\n @for (item of child.items; track $index) {\n\n <div\n #d\n (click)=\"contextMenuService.showDetails(child.type, item.id)\"\n class=\"ctx ax-px-2 ax-py-1 ax-flex ax-items-center ax-justify-between hover:ax-bg-neutral-100 dark:hover:ax-bg-neutral-700 hover:ax-rounded-md\"\n data-elementType=\"subModuleItem\"\n >\n {{ assignData(d, { record: item, entityType: child.type, moduleId: child.moduleId }) }}\n <span>{{ item.title }}</span>\n <ax-badge\n [look]=\"'twotone'\"\n [color]=\"item.isArchived ? 'danger' : 'success'\"\n [text]=\"item.isArchived ? 'Off' : 'On'\"\n >\n </ax-badge>\n </div>\n }\n </div>\n </ng-template>\n </ax-drawer>\n <ax-content>\n <router-outlet></router-outlet>\n </ax-content>\n</ax-drawer-container>\n\n<ax-context-menu\n #contextMenu\n (onItemClick)=\"handleActionClick($event)\"\n [items]=\"[]\"\n [target]=\"'.ctx'\"\n [orientation]=\"'vertical'\"\n [closeOn]=\"'leave'\"\n (onOpening)=\"openingContextMenu($event)\"\n>\n</ax-context-menu>\n", styles: [".ax-collapse-header{padding:.25rem .5rem!important}.ax-collapse-header:hover{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgba(var(--ax-color-neutral-100),var(--tw-bg-opacity))}.ax-collapse-header:hover:is(.ax-dark *){--tw-bg-opacity: 1;background-color:rgba(var(--ax-color-neutral-700),var(--tw-bg-opacity))}.ax-collapse-body-content{padding:.25rem!important;padding-inline-start:0!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXDrawerModule }, { kind: "component", type: i2.AXDrawerComponent, selector: "ax-drawer", inputs: ["location", "showBackdrop", "mode", "collapsed", "closeOthers"], outputs: ["locationChange", "modeChange", "collapsedChange"] }, { kind: "component", type: i2.AXDrawerContainerComponent, selector: "ax-drawer-container" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i7.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i5.AXTranslatorPipe, name: "translate" }, { kind: "ngmodule", type: AXSideMenuModule }, { kind: "ngmodule", type: AXCollapseModule }, { kind: "component", type: i6.AXCollapseComponent, selector: "ax-collapse", inputs: ["disabled", "look", "isCollapsed", "showHeader", "caption", "icon", "isLoading", "headerTemplate"], outputs: ["onClick", "isCollapsedChange"] }, { kind: "component", type: i6.AXCollapseGroupComponent, selector: "ax-collapse-group", inputs: ["look", "accordion", "activeIndex"], outputs: ["accordionChange", "activeIndexChange"] }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "ngmodule", type: AXSelectionListModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i7$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXMenuModule }, { kind: "component", type: i8.AXContextMenuComponent, selector: "ax-context-menu", inputs: ["orientation", "openOn", "closeOn", "items", "target"], outputs: ["onItemClick", "onOpening"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2$1.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
312
|
+
}
|
313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMModuleDesignerComponent, decorators: [{
|
314
|
+
type: Component,
|
315
|
+
args: [{ encapsulation: ViewEncapsulation.None, standalone: true, imports: [
|
316
|
+
CommonModule,
|
317
|
+
AXDrawerModule,
|
318
|
+
AXButtonModule,
|
319
|
+
AXDecoratorModule,
|
320
|
+
AXTranslationModule,
|
321
|
+
AXSideMenuModule,
|
322
|
+
AXCollapseModule,
|
323
|
+
AXPopoverModule,
|
324
|
+
AXSelectionListModule,
|
325
|
+
AXBadgeModule,
|
326
|
+
AXMenuModule,
|
327
|
+
RouterModule,
|
328
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ax-drawer-container class=\"ax-overflow-hidden\">\n <ax-drawer #drawer location=\"start\" [collapsed]=\"false\" [mode]=\"'push'\">\n <ax-content class=\"ax-w-80 ax-relative ax-border-e ax-px-4 ax-py-2\">\n <div class=\"ax-overflow-auto ax-h-[calc(100vh-180px)]\">\n <span class=\"ax-font-bold ax-text-xl\">{{ 'designer.modules' | translate | async }}</span>\n <div class=\"ax-flex ax-flex-col ax-gap-2 ax-mt-4\">\n @if(modules().length){\n <ax-collapse-group [accordion]=\"false\" look=\"blank\">\n @for(m of modules();track $index){\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-folder ax-text-warning\"\n [isCollapsed]=\"true\"\n [caption]=\"m.title\"\n look=\"none\"\n data-elementType=\"module\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"module\"\n >\n <div class=\"ax-mx-3\">\n <ax-collapse-group [accordion]=\"false\" look=\"blank\">\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-box ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'entity')\"\n [caption]=\"('designer.entities' | translate | async) ?? 'Entities'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"entity\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'entity', items: getEntities(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-star ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'feature')\"\n [caption]=\"('designer.features' | translate | async) ?? 'Features'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"feature\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'feature', items: getFeatures(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-key ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'permission')\"\n [caption]=\"('designer.permissions' | translate | async) ?? 'Permissions'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"permission\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'permission', items: getPermissions(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n </ax-collapse-group>\n </div>\n </ax-collapse>\n }\n </ax-collapse-group>\n } @else {\n <div class=\"ax-h-full ax-flex ax-items-center ax-justify-center\">\n <span class=\"ax-text-neutral-500 ax-text-sm\">{{ 'designer.emptyModulesText' | translate | async }}</span>\n </div>\n }\n </div>\n <ax-button\n class=\"ax-absolute ax-bottom-4 ax-w-72\"\n [text]=\"('designer.createModule' | translate | async) ?? 'Create New Module'\"\n (onClick)=\"createModule()\"\n look=\"solid\"\n color=\"primary\"\n >\n <ax-icon class=\"fas fa-plus\"> </ax-icon>\n </ax-button>\n </div>\n </ax-content>\n\n <ng-template #childTemplate let-child>\n <div class=\"ax-flex ax-flex-col ax-cursor-pointer ax-select-none ax-border-s ax-ms-[14px] ax-ps-2\">\n @for (item of child.items; track $index) {\n\n <div\n #d\n (click)=\"contextMenuService.showDetails(child.type, item.id)\"\n class=\"ctx ax-px-2 ax-py-1 ax-flex ax-items-center ax-justify-between hover:ax-bg-neutral-100 dark:hover:ax-bg-neutral-700 hover:ax-rounded-md\"\n data-elementType=\"subModuleItem\"\n >\n {{ assignData(d, { record: item, entityType: child.type, moduleId: child.moduleId }) }}\n <span>{{ item.title }}</span>\n <ax-badge\n [look]=\"'twotone'\"\n [color]=\"item.isArchived ? 'danger' : 'success'\"\n [text]=\"item.isArchived ? 'Off' : 'On'\"\n >\n </ax-badge>\n </div>\n }\n </div>\n </ng-template>\n </ax-drawer>\n <ax-content>\n <router-outlet></router-outlet>\n </ax-content>\n</ax-drawer-container>\n\n<ax-context-menu\n #contextMenu\n (onItemClick)=\"handleActionClick($event)\"\n [items]=\"[]\"\n [target]=\"'.ctx'\"\n [orientation]=\"'vertical'\"\n [closeOn]=\"'leave'\"\n (onOpening)=\"openingContextMenu($event)\"\n>\n</ax-context-menu>\n", styles: [".ax-collapse-header{padding:.25rem .5rem!important}.ax-collapse-header:hover{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgba(var(--ax-color-neutral-100),var(--tw-bg-opacity))}.ax-collapse-header:hover:is(.ax-dark *){--tw-bg-opacity: 1;background-color:rgba(var(--ax-color-neutral-700),var(--tw-bg-opacity))}.ax-collapse-body-content{padding:.25rem!important;padding-inline-start:0!important}\n"] }]
|
329
|
+
}], ctorParameters: () => [] });
|
330
|
+
|
331
|
+
export { AXMModuleDesignerComponent };
|
332
|
+
//# sourceMappingURL=acorex-modules-application-management-module-designer.component-CRPUuYUe.mjs.map
|
package/fesm2022/acorex-modules-application-management-module-designer.component-CRPUuYUe.mjs.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-application-management-module-designer.component-CRPUuYUe.mjs","sources":["../../../../libs/modules/application-management/src/lib/services/context-menu.service.ts","../../../../libs/modules/application-management/src/lib/module-designer/module-designer.component.ts","../../../../libs/modules/application-management/src/lib/module-designer/module-designer.component.html"],"sourcesContent":["import { AXContextMenuItemsClickEvent, AXContextMenuOpeningEvent, AXMenuItem } from '@acorex/components/menu';\nimport { AXPWorkflowService } from '@acorex/platform/workflow';\nimport { inject, Injectable, signal } from '@angular/core';\nimport { AXMModuleItem } from '../module-designer/module-designer.type';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class AXMModuleDesignerContextMenuService {\n private workflow = inject(AXPWorkflowService);\n protected copiedRecord = signal<{ type: AXMModuleItem; record: any } | null>(null);\n protected elementData = signal<{ entityType: AXMModuleItem; record: any; moduleId: string } | null>(null);\n\n private menuItems: AXMenuItem[] = [\n {\n name: 'create',\n text: 'Create',\n icon: 'fas fa-plus',\n color: 'primary',\n },\n {\n name: 'delete',\n text: 'Delete',\n icon: 'fas fa-trash',\n color: 'danger',\n },\n {\n name: 'details',\n text: 'Details',\n icon: 'fas fa-eye',\n color: 'ghost',\n },\n {\n name: 'copy',\n text: 'Copy',\n icon: 'fas fa-copy',\n color: 'ghost',\n },\n {\n name: 'paste',\n text: 'Paste',\n icon: 'fas fa-paste',\n color: 'ghost',\n disabled: false,\n },\n ];\n\n open(e: AXContextMenuOpeningEvent) {\n const target = e.targetElement;\n const elementType = target?.getAttribute('data-elementType');\n\n const { data } = target as any;\n\n if (elementType == 'module' || elementType == 'subModule') {\n const moduleId = target?.getAttribute('data-moduleId');\n const entityType = target?.getAttribute('data-entityType') as AXMModuleItem;\n if (elementType == 'module') {\n this.elementData.set({\n entityType,\n moduleId: moduleId as string,\n record: {\n id: moduleId,\n },\n });\n e.items = this.getMenuItems(['details', 'delete']);\n } else {\n this.elementData.set({\n entityType,\n moduleId: moduleId as string,\n record: undefined,\n });\n const items = this.getMenuItems(['create', 'paste']);\n const customMenuItems = items.map((i) =>\n i.name == 'paste' ? { ...i, disabled: entityType == this.copiedRecord()?.type ? false : true } : i\n );\n e.items = customMenuItems;\n }\n } else if (elementType == 'subModuleItem') {\n this.elementData.set(data);\n e.items = this.getMenuItems(['delete', 'copy', 'details']);\n } else {\n e.items = [];\n e.canceled = true;\n }\n }\n\n itemClick(e: AXContextMenuItemsClickEvent) {\n if (this.elementData()) {\n switch (e.item.name) {\n case 'create':\n this.createEntity(this.elementData()?.entityType as AXMModuleItem, this.elementData()?.moduleId);\n break;\n\n case 'details':\n this.showDetails(this.elementData()?.entityType as AXMModuleItem | 'module', this.elementData()?.record.id);\n break;\n\n case 'delete':\n this.deleteEntity(\n this.elementData()?.entityType as AXMModuleItem | 'module',\n this.elementData()?.record.id,\n this.elementData()?.moduleId\n );\n break;\n\n case 'copy':\n this.copyRecord(this.elementData()?.entityType as AXMModuleItem, this.elementData()?.record);\n break;\n\n case 'paste':\n this.pasteRecord(this.elementData()?.moduleId as string);\n break;\n\n default:\n break;\n }\n }\n }\n\n async createEntity(entityType: 'module' | AXMModuleItem, moduleId?: string) {\n await this.workflow.execute('create-module-entity', {\n entity: `application-management.${entityType}`,\n data: {\n moduleId,\n },\n meta: {\n type: entityType,\n moduleId,\n },\n });\n }\n\n async showDetails(entityType: 'module' | AXMModuleItem, id: string) {\n await this.workflow.execute('show-module-entity-details', {\n entity: `application-management.${entityType}`,\n data: {\n id,\n },\n });\n }\n\n private copyRecord(entityType: AXMModuleItem, record: any) {\n const newRecord = { ...record, moduleId: undefined, id: undefined };\n this.copiedRecord.set({ type: entityType, record: newRecord });\n }\n\n private async pasteRecord(moduleId: string) {\n if (this.copiedRecord()) {\n await this.workflow.execute('create-module-entity', {\n entity: `application-management.${this.copiedRecord()?.type}`,\n data: {\n ...this.copiedRecord()?.record,\n moduleId,\n },\n meta: {\n type: this.copiedRecord()?.type,\n moduleId,\n },\n });\n }\n }\n\n private async deleteEntity(entityType: 'module' | AXMModuleItem, id: string[] | string, moduleId?: string) {\n await this.workflow.execute('delete-entity', {\n entity: `application-management.${entityType}`,\n data: {\n id,\n },\n meta: {\n moduleId,\n type: entityType,\n },\n });\n }\n\n private getMenuItems(includeItems: string[]) {\n return this.menuItems.filter((i) => includeItems.includes(i.name as string));\n }\n}\n","import { AXBadgeModule } from '@acorex/components/badge';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXCollapseClickEvent, AXCollapseModule } from '@acorex/components/collapse';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXDrawerModule } from '@acorex/components/drawer';\nimport {\n AXContextMenuComponent,\n AXContextMenuItemsClickEvent,\n AXContextMenuOpeningEvent,\n AXMenuModule,\n} from '@acorex/components/menu';\nimport { AXPopoverModule } from '@acorex/components/popover';\nimport { AXSelectionListModule } from '@acorex/components/selection-list';\nimport { AXSideMenuModule } from '@acorex/components/side-menu';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPEntityCreateEvent, AXPEntityDeletedEvent } from '@acorex/platform/layouts';\nimport { AXPWorkflowService, ofType } from '@acorex/platform/workflow';\nimport { CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n inject,\n OnInit,\n signal,\n viewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { set } from 'lodash-es';\nimport { Subject, takeUntil } from 'rxjs';\nimport { AXMModuleDesignerContextMenuService } from '../services/context-menu.service';\nimport { AXPModuleDesignerService } from './module-designer.service';\nimport { AXMModuleItem } from './module-designer.type';\n\n@Component({\n templateUrl: './module-designer.component.html',\n styleUrls: ['./module-designer.component.scss'],\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n imports: [\n CommonModule,\n AXDrawerModule,\n AXButtonModule,\n AXDecoratorModule,\n AXTranslationModule,\n AXSideMenuModule,\n AXCollapseModule,\n AXPopoverModule,\n AXSelectionListModule,\n AXBadgeModule,\n AXMenuModule,\n RouterModule,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXMModuleDesignerComponent implements OnInit {\n protected cdr: ChangeDetectorRef = inject(ChangeDetectorRef);\n protected contextMenu = viewChild<AXContextMenuComponent>('contextMenu');\n\n protected dataProvider = inject(AXPModuleDesignerService);\n private workflow = inject(AXPWorkflowService);\n protected contextMenuService = inject(AXMModuleDesignerContextMenuService);\n\n protected modules = signal<any[]>([]);\n\n protected moduleDataCache = new Map<string, any[]>();\n\n private readonly destroyed = new Subject<void>();\n\n constructor() {\n this.subscribeActionEvents();\n }\n\n ngOnInit() {\n this.loadModules();\n }\n\n protected subscribeActionEvents() {\n this.workflow.events$\n .pipe(ofType(AXPEntityDeletedEvent, AXPEntityCreateEvent))\n .pipe(takeUntil(this.destroyed))\n .subscribe((event) => {\n const { meta } = event.payload;\n if (meta.type === 'module') {\n this.loadModules();\n } else {\n this.loadModuleData(meta.moduleId, meta.type, true);\n }\n this.cdr.markForCheck();\n });\n }\n\n protected async loadModules() {\n try {\n const modules = await this.dataProvider.getModules();\n this.modules.set(modules.items);\n this.refreshContextMenu();\n } catch (error) {\n console.error('Error loading modules:', error);\n }\n }\n\n protected async handleCollapseItemClick(moduleId: string, e: AXCollapseClickEvent, dataType: AXMModuleItem) {\n if (e.component.isCollapsed) {\n e.handled = true;\n e.component.isLoading = true;\n\n await this.loadModuleData(moduleId, dataType);\n\n e.component.toggle();\n e.component.isLoading = false;\n e.component['cdr'].markForCheck();\n this.refreshContextMenu();\n }\n }\n\n protected refreshContextMenu() {\n setTimeout(() => {\n this.contextMenu()?.refresh();\n }, 0);\n }\n\n protected async loadModuleData(moduleId: string, dataType: AXMModuleItem, hardReload = false) {\n const cacheKey = `${moduleId}-${dataType}`;\n\n let dataItems = this.moduleDataCache.get(cacheKey);\n // if (!dataItems || hardReload) {\n try {\n const methodMap = {\n entity: this.dataProvider.getEntities,\n permission: this.dataProvider.getPermissions,\n feature: this.dataProvider.getFeatures,\n };\n const data = await methodMap[dataType].call(this.dataProvider, moduleId);\n\n dataItems = data.items as any[];\n this.moduleDataCache.set(cacheKey, dataItems);\n } catch (error) {\n console.error(`Error loading ${dataType}:`, error);\n }\n // }\n }\n\n protected getEntities(moduleId: string) {\n return this.moduleDataCache.get(`${moduleId}-entity`) || [];\n }\n\n protected getPermissions(moduleId: string) {\n return this.moduleDataCache.get(`${moduleId}-permission`) || [];\n }\n\n protected getFeatures(moduleId: string) {\n return this.moduleDataCache.get(`${moduleId}-feature`) || [];\n }\n\n protected openingContextMenu(e: AXContextMenuOpeningEvent) {\n this.contextMenuService.open(e);\n }\n\n protected handleActionClick(e: AXContextMenuItemsClickEvent) {\n this.contextMenuService.itemClick(e);\n }\n\n protected createModule() {\n this.contextMenuService.createEntity('module');\n }\n\n protected destroy() {\n this.destroyed.next();\n this.destroyed.complete();\n }\n\n protected assignData(target: HTMLElement, data: any): void {\n set(target, 'data', data);\n }\n}\n","<ax-drawer-container class=\"ax-overflow-hidden\">\n <ax-drawer #drawer location=\"start\" [collapsed]=\"false\" [mode]=\"'push'\">\n <ax-content class=\"ax-w-80 ax-relative ax-border-e ax-px-4 ax-py-2\">\n <div class=\"ax-overflow-auto ax-h-[calc(100vh-180px)]\">\n <span class=\"ax-font-bold ax-text-xl\">{{ 'designer.modules' | translate | async }}</span>\n <div class=\"ax-flex ax-flex-col ax-gap-2 ax-mt-4\">\n @if(modules().length){\n <ax-collapse-group [accordion]=\"false\" look=\"blank\">\n @for(m of modules();track $index){\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-folder ax-text-warning\"\n [isCollapsed]=\"true\"\n [caption]=\"m.title\"\n look=\"none\"\n data-elementType=\"module\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"module\"\n >\n <div class=\"ax-mx-3\">\n <ax-collapse-group [accordion]=\"false\" look=\"blank\">\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-box ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'entity')\"\n [caption]=\"('designer.entities' | translate | async) ?? 'Entities'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"entity\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'entity', items: getEntities(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-star ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'feature')\"\n [caption]=\"('designer.features' | translate | async) ?? 'Features'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"feature\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'feature', items: getFeatures(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-key ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'permission')\"\n [caption]=\"('designer.permissions' | translate | async) ?? 'Permissions'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"permission\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'permission', items: getPermissions(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n </ax-collapse-group>\n </div>\n </ax-collapse>\n }\n </ax-collapse-group>\n } @else {\n <div class=\"ax-h-full ax-flex ax-items-center ax-justify-center\">\n <span class=\"ax-text-neutral-500 ax-text-sm\">{{ 'designer.emptyModulesText' | translate | async }}</span>\n </div>\n }\n </div>\n <ax-button\n class=\"ax-absolute ax-bottom-4 ax-w-72\"\n [text]=\"('designer.createModule' | translate | async) ?? 'Create New Module'\"\n (onClick)=\"createModule()\"\n look=\"solid\"\n color=\"primary\"\n >\n <ax-icon class=\"fas fa-plus\"> </ax-icon>\n </ax-button>\n </div>\n </ax-content>\n\n <ng-template #childTemplate let-child>\n <div class=\"ax-flex ax-flex-col ax-cursor-pointer ax-select-none ax-border-s ax-ms-[14px] ax-ps-2\">\n @for (item of child.items; track $index) {\n\n <div\n #d\n (click)=\"contextMenuService.showDetails(child.type, item.id)\"\n class=\"ctx ax-px-2 ax-py-1 ax-flex ax-items-center ax-justify-between hover:ax-bg-neutral-100 dark:hover:ax-bg-neutral-700 hover:ax-rounded-md\"\n data-elementType=\"subModuleItem\"\n >\n {{ assignData(d, { record: item, entityType: child.type, moduleId: child.moduleId }) }}\n <span>{{ item.title }}</span>\n <ax-badge\n [look]=\"'twotone'\"\n [color]=\"item.isArchived ? 'danger' : 'success'\"\n [text]=\"item.isArchived ? 'Off' : 'On'\"\n >\n </ax-badge>\n </div>\n }\n </div>\n </ng-template>\n </ax-drawer>\n <ax-content>\n <router-outlet></router-outlet>\n </ax-content>\n</ax-drawer-container>\n\n<ax-context-menu\n #contextMenu\n (onItemClick)=\"handleActionClick($event)\"\n [items]=\"[]\"\n [target]=\"'.ctx'\"\n [orientation]=\"'vertical'\"\n [closeOn]=\"'leave'\"\n (onOpening)=\"openingContextMenu($event)\"\n>\n</ax-context-menu>\n"],"names":["i3","i4","i7","i9"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQa,mCAAmC,CAAA;AAHhD,IAAA,WAAA,GAAA;AAIU,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,kBAAkB,CAAC,CAAC;AACpC,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAA8C,IAAI,CAAC,CAAC;AACzE,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAsE,IAAI,CAAC,CAAC;AAElG,QAAA,IAAA,CAAA,SAAS,GAAiB;AAChC,YAAA;AACE,gBAAA,IAAI,EAAE,QAAQ;AACd,gBAAA,IAAI,EAAE,QAAQ;AACd,gBAAA,IAAI,EAAE,aAAa;AACnB,gBAAA,KAAK,EAAE,SAAS;AACjB,aAAA;AACD,YAAA;AACE,gBAAA,IAAI,EAAE,QAAQ;AACd,gBAAA,IAAI,EAAE,QAAQ;AACd,gBAAA,IAAI,EAAE,cAAc;AACpB,gBAAA,KAAK,EAAE,QAAQ;AAChB,aAAA;AACD,YAAA;AACE,gBAAA,IAAI,EAAE,SAAS;AACf,gBAAA,IAAI,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