@acorex/modules 19.2.4 → 19.2.6
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/auth/lib/store/auth.effects.d.ts +2 -2
- package/fesm2022/{acorex-modules-application-management-module-designer.component-uLfQYtpy.mjs → acorex-modules-application-management-module-designer.component-DPJ4qpK3.mjs} +5 -5
- package/fesm2022/acorex-modules-application-management-module-designer.component-DPJ4qpK3.mjs.map +1 -0
- package/fesm2022/acorex-modules-application-management.mjs +3 -3
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-C-qPiQhk.mjs → acorex-modules-auth-acorex-modules-auth-D75igkfc.mjs} +25 -25
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-D75igkfc.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-app-chooser.component-BZb8n5Ag.mjs +64 -0
- package/fesm2022/acorex-modules-auth-app-chooser.component-BZb8n5Ag.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-login.module-nqFBpUaE.mjs → acorex-modules-auth-login.module-DAtJYcHZ.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-nqFBpUaE.mjs.map → acorex-modules-auth-login.module-DAtJYcHZ.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-master.layout-qeAQTygT.mjs +23 -0
- package/fesm2022/acorex-modules-auth-master.layout-qeAQTygT.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-password.component-DZ6TiNI-.mjs → acorex-modules-auth-password.component-20Ofs9FL.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-DZ6TiNI-.mjs.map → acorex-modules-auth-password.component-20Ofs9FL.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-3t_WqB4c.mjs → acorex-modules-auth-password.component-CRvI9sIa.mjs} +4 -4
- package/fesm2022/acorex-modules-auth-password.component-CRvI9sIa.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-routes-nnrAlvkD.mjs → acorex-modules-auth-routes-BDED-qaZ.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-nnrAlvkD.mjs.map → acorex-modules-auth-routes-BDED-qaZ.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-CKsbiOUX.mjs +83 -0
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-CKsbiOUX.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-two-factor.module-DWtEYnHW.mjs → acorex-modules-auth-two-factor.module-B0C2aBWh.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-DWtEYnHW.mjs.map → acorex-modules-auth-two-factor.module-B0C2aBWh.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +10 -10
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-xiRKc4FF.mjs +126 -0
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-xiRKc4FF.mjs.map +1 -0
- package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +417 -4
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-organization-managment-employee.entity-oo5Tyyp2.mjs → acorex-modules-organization-managment-employee.entity-D4BSxGAW.mjs} +40 -2
- package/fesm2022/acorex-modules-organization-managment-employee.entity-D4BSxGAW.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-managment-org-chart-configuration.page-DEFgztyn.mjs +92 -0
- package/fesm2022/acorex-modules-organization-managment-org-chart-configuration.page-DEFgztyn.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-managment-org-chart-configuration.service-D-LkPUIw.mjs +145 -0
- package/fesm2022/acorex-modules-organization-managment-org-chart-configuration.service-D-LkPUIw.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-managment-org-chart.page-B3aaLlm2.mjs +597 -0
- package/fesm2022/acorex-modules-organization-managment-org-chart.page-B3aaLlm2.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-managment-setting.keys-CF6Giykz.mjs +22 -0
- package/fesm2022/acorex-modules-organization-managment-setting.keys-CF6Giykz.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-managment-setting.provider-BtkaTjLS.mjs → acorex-modules-organization-managment-setting.provider-nKs53GcA.mjs} +2 -20
- package/fesm2022/acorex-modules-organization-managment-setting.provider-nKs53GcA.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-managment.mjs +44 -27
- package/fesm2022/acorex-modules-organization-managment.mjs.map +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +404 -145
- package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +12 -1
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/notification-management/lib/components/promotion-slot/promotion-slot.component.d.ts +11 -0
- package/notification-management/lib/entities/channel/channel.types.d.ts +11 -1
- package/organization-managment/lib/const.d.ts +12 -0
- package/organization-managment/lib/features/organization-chart/org-chart-configuration.page.d.ts +141 -0
- package/organization-managment/lib/features/organization-chart/org-chart-configuration.service.d.ts +24 -0
- package/organization-managment/lib/features/organization-chart/org-chart-print.service.d.ts +22 -0
- package/organization-managment/lib/features/organization-chart/org-chart.page.d.ts +162 -0
- package/organization-managment/lib/features/organization-chart/org-chart.service.d.ts +19 -0
- package/organization-managment/lib/features/organization-chart/org-chart.type.d.ts +25 -0
- package/organization-managment/lib/setting.keys.d.ts +2 -1
- package/package.json +5 -5
- package/platform-management/index.d.ts +1 -0
- package/platform-management/lib/const.d.ts +2 -0
- package/platform-management/lib/entities/app-term/app-term.types.d.ts +12 -2
- package/platform-management/lib/entities/app-term/components/notify-app/notify-app.component.d.ts +16 -0
- package/platform-management/lib/entities/app-term/index.d.ts +2 -0
- package/platform-management/lib/entities/app-term/pages/index.d.ts +1 -0
- package/platform-management/lib/entities/app-term/pages/list/list-terms.component.d.ts +20 -0
- package/platform-management/lib/entities/app-term/workflows/index.d.ts +1 -0
- package/platform-management/lib/entities/app-term/workflows/notify-new-term.workflow.d.ts +15 -0
- package/platform-management/lib/entities/app-version/app-version.types.d.ts +7 -0
- package/platform-management/lib/entities/app-version/components/index.d.ts +2 -0
- package/platform-management/lib/entities/app-version/components/list-versions/list-version.component.d.ts +13 -0
- package/platform-management/lib/entities/app-version/{workflow/test/test.component.d.ts → components/notify-app/notify-app.component.d.ts} +3 -3
- package/platform-management/lib/entities/app-version/components/slots/app-version-slot.component.d.ts +12 -0
- package/platform-management/lib/entities/app-version/index.d.ts +2 -1
- package/platform-management/lib/entities/app-version/{workflow → workflows}/index.d.ts +0 -1
- package/platform-management/lib/entities/check-version.d.ts +12 -0
- package/platform-management/lib/entities/index.d.ts +1 -0
- package/platform-management/lib/platform-management.module.d.ts +2 -2
- package/security-management/index.d.ts +1 -0
- package/security-management/lib/menu.keys.d.ts +5 -0
- package/fesm2022/acorex-modules-application-management-module-designer.component-uLfQYtpy.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-C-qPiQhk.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-app-chooser.component-j3JgxtBC.mjs +0 -64
- package/fesm2022/acorex-modules-auth-app-chooser.component-j3JgxtBC.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-master.layout-C9eKuJgU.mjs +0 -23
- package/fesm2022/acorex-modules-auth-master.layout-C9eKuJgU.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-password.component-3t_WqB4c.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-Cx3fK__H.mjs +0 -83
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-Cx3fK__H.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-DW0iMqAA.mjs +0 -126
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-DW0iMqAA.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-managment-employee.entity-oo5Tyyp2.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-managment-org-chart.page-fOxjGb8i.mjs +0 -297
- package/fesm2022/acorex-modules-organization-managment-org-chart.page-fOxjGb8i.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-managment-setting.provider-BtkaTjLS.mjs.map +0 -1
- package/organization-managment/lib/pages/org-chart/org-chart.page.d.ts +0 -28
- package/organization-managment/lib/pages/org-chart/org-chart.type.d.ts +0 -9
- package/platform-management/lib/entities/app-version/check-version.d.ts +0 -11
- /package/platform-management/lib/entities/app-version/{workflow → workflows}/change-log.workflow.d.ts +0 -0
@@ -26,6 +26,7 @@ import * as i3 from '@acorex/components/avatar';
|
|
26
26
|
import { AXAvatarModule } from '@acorex/components/avatar';
|
27
27
|
import * as i4 from '@acorex/components/image';
|
28
28
|
import { AXImageModule } from '@acorex/components/image';
|
29
|
+
import { AXSafePipe } from '@acorex/core/pipes';
|
29
30
|
import { RootConfig as RootConfig$2 } from '@acorex/modules/form-template-management';
|
30
31
|
|
31
32
|
const config = {
|
@@ -89,6 +90,10 @@ async function notificationChannelEntityFactory(injector) {
|
|
89
90
|
id: 'notificationChannel',
|
90
91
|
title: 'Notification Channel',
|
91
92
|
},
|
93
|
+
{
|
94
|
+
id: 'in-app',
|
95
|
+
title: 'In App',
|
96
|
+
},
|
92
97
|
],
|
93
98
|
properties: [
|
94
99
|
{
|
@@ -165,6 +170,122 @@ async function notificationChannelEntityFactory(injector) {
|
|
165
170
|
},
|
166
171
|
],
|
167
172
|
},
|
173
|
+
{
|
174
|
+
name: 'type',
|
175
|
+
title: `t("type", { scope: "${i18n}" })`,
|
176
|
+
groupId: 'in-app',
|
177
|
+
schema: {
|
178
|
+
dataType: 'string',
|
179
|
+
interface: {
|
180
|
+
type: AXPWidgetsCatalog.select,
|
181
|
+
options: {
|
182
|
+
valueField: 'name',
|
183
|
+
textField: 'title',
|
184
|
+
dataSource: [
|
185
|
+
{ title: 'Notification', name: 'notification' },
|
186
|
+
{ title: 'Promotion', name: 'promotion' },
|
187
|
+
{ title: 'PopUp', name: 'popup' },
|
188
|
+
],
|
189
|
+
direction: 'horizontal',
|
190
|
+
multiple: false,
|
191
|
+
},
|
192
|
+
},
|
193
|
+
},
|
194
|
+
},
|
195
|
+
{
|
196
|
+
name: 'contentType',
|
197
|
+
title: `t("contentType", { scope: "${i18n}" })`,
|
198
|
+
groupId: 'in-app',
|
199
|
+
schema: {
|
200
|
+
dataType: 'string',
|
201
|
+
interface: {
|
202
|
+
type: AXPWidgetsCatalog.select,
|
203
|
+
options: {
|
204
|
+
valueField: 'name',
|
205
|
+
textField: 'title',
|
206
|
+
dataSource: [
|
207
|
+
{ title: 'Media', name: 'media' },
|
208
|
+
{ title: 'Text', name: 'text' },
|
209
|
+
],
|
210
|
+
direction: 'horizontal',
|
211
|
+
multiple: false,
|
212
|
+
},
|
213
|
+
},
|
214
|
+
},
|
215
|
+
validations: [
|
216
|
+
{
|
217
|
+
rule: 'required',
|
218
|
+
},
|
219
|
+
],
|
220
|
+
},
|
221
|
+
{
|
222
|
+
name: 'shape',
|
223
|
+
title: `t("shape", { scope: "${i18n}" })`,
|
224
|
+
groupId: 'in-app',
|
225
|
+
schema: {
|
226
|
+
dataType: 'string',
|
227
|
+
interface: {
|
228
|
+
type: AXPWidgetsCatalog.select,
|
229
|
+
options: {
|
230
|
+
valueField: 'name',
|
231
|
+
textField: 'title',
|
232
|
+
dataSource: [
|
233
|
+
{ title: 'Circle', name: 'circle' },
|
234
|
+
{ title: 'Square', name: 'square' },
|
235
|
+
],
|
236
|
+
direction: 'horizontal',
|
237
|
+
multiple: false,
|
238
|
+
},
|
239
|
+
},
|
240
|
+
},
|
241
|
+
validations: [
|
242
|
+
{
|
243
|
+
rule: 'required',
|
244
|
+
},
|
245
|
+
],
|
246
|
+
},
|
247
|
+
{
|
248
|
+
name: 'placement',
|
249
|
+
title: `t("placement", { scope: "${i18n}" })`,
|
250
|
+
groupId: 'in-app',
|
251
|
+
schema: {
|
252
|
+
dataType: 'string',
|
253
|
+
interface: {
|
254
|
+
type: AXPWidgetsCatalog.select,
|
255
|
+
options: {
|
256
|
+
valueField: 'name',
|
257
|
+
textField: 'title',
|
258
|
+
dataSource: [
|
259
|
+
{ title: 'Side Menu Footer', name: 'side-menu-footer' },
|
260
|
+
{ title: 'Side Menu Header', name: 'side-menu-header' },
|
261
|
+
],
|
262
|
+
direction: 'horizontal',
|
263
|
+
multiple: false,
|
264
|
+
},
|
265
|
+
},
|
266
|
+
},
|
267
|
+
validations: [
|
268
|
+
{
|
269
|
+
rule: 'required',
|
270
|
+
},
|
271
|
+
],
|
272
|
+
},
|
273
|
+
{
|
274
|
+
name: 'pin',
|
275
|
+
title: `t("pin", { scope: "${i18n}" })`,
|
276
|
+
groupId: 'in-app',
|
277
|
+
schema: {
|
278
|
+
dataType: 'string',
|
279
|
+
interface: {
|
280
|
+
type: AXPWidgetsCatalog.checkbox,
|
281
|
+
},
|
282
|
+
},
|
283
|
+
validations: [
|
284
|
+
{
|
285
|
+
rule: 'required',
|
286
|
+
},
|
287
|
+
],
|
288
|
+
},
|
168
289
|
{
|
169
290
|
name: 'trigger',
|
170
291
|
title: `t("trigger", { scope: "${i18n}" })`,
|
@@ -222,6 +343,9 @@ async function notificationChannelEntityFactory(injector) {
|
|
222
343
|
{
|
223
344
|
id: 'notificationChannel',
|
224
345
|
},
|
346
|
+
{
|
347
|
+
id: 'in-app',
|
348
|
+
},
|
225
349
|
],
|
226
350
|
properties: [
|
227
351
|
{
|
@@ -230,6 +354,7 @@ async function notificationChannelEntityFactory(injector) {
|
|
230
354
|
positions: {
|
231
355
|
lg: {
|
232
356
|
colSpan: 12,
|
357
|
+
order: 1,
|
233
358
|
},
|
234
359
|
},
|
235
360
|
},
|
@@ -240,6 +365,7 @@ async function notificationChannelEntityFactory(injector) {
|
|
240
365
|
positions: {
|
241
366
|
lg: {
|
242
367
|
colSpan: 12,
|
368
|
+
order: 2,
|
243
369
|
},
|
244
370
|
},
|
245
371
|
},
|
@@ -260,6 +386,7 @@ async function notificationChannelEntityFactory(injector) {
|
|
260
386
|
positions: {
|
261
387
|
lg: {
|
262
388
|
colSpan: 12,
|
389
|
+
order: 10,
|
263
390
|
},
|
264
391
|
},
|
265
392
|
},
|
@@ -274,6 +401,60 @@ async function notificationChannelEntityFactory(injector) {
|
|
274
401
|
},
|
275
402
|
},
|
276
403
|
},
|
404
|
+
{
|
405
|
+
name: 'type',
|
406
|
+
layout: {
|
407
|
+
positions: {
|
408
|
+
lg: {
|
409
|
+
colSpan: 12,
|
410
|
+
order: 3,
|
411
|
+
},
|
412
|
+
},
|
413
|
+
},
|
414
|
+
},
|
415
|
+
{
|
416
|
+
name: 'contentType',
|
417
|
+
layout: {
|
418
|
+
positions: {
|
419
|
+
lg: {
|
420
|
+
colSpan: 4,
|
421
|
+
order: 4,
|
422
|
+
},
|
423
|
+
},
|
424
|
+
},
|
425
|
+
},
|
426
|
+
{
|
427
|
+
name: 'shape',
|
428
|
+
layout: {
|
429
|
+
positions: {
|
430
|
+
lg: {
|
431
|
+
colSpan: 4,
|
432
|
+
order: 5,
|
433
|
+
},
|
434
|
+
},
|
435
|
+
},
|
436
|
+
},
|
437
|
+
{
|
438
|
+
name: 'placement',
|
439
|
+
layout: {
|
440
|
+
positions: {
|
441
|
+
lg: {
|
442
|
+
colSpan: 4,
|
443
|
+
order: 6,
|
444
|
+
},
|
445
|
+
},
|
446
|
+
},
|
447
|
+
},
|
448
|
+
{
|
449
|
+
name: 'pin',
|
450
|
+
layout: {
|
451
|
+
positions: {
|
452
|
+
lg: {
|
453
|
+
colSpan: 4,
|
454
|
+
},
|
455
|
+
},
|
456
|
+
},
|
457
|
+
},
|
277
458
|
],
|
278
459
|
},
|
279
460
|
update: {
|
@@ -281,6 +462,9 @@ async function notificationChannelEntityFactory(injector) {
|
|
281
462
|
{
|
282
463
|
id: 'notificationChannel',
|
283
464
|
},
|
465
|
+
{
|
466
|
+
id: 'in-app',
|
467
|
+
},
|
284
468
|
],
|
285
469
|
properties: [
|
286
470
|
{
|
@@ -289,12 +473,24 @@ async function notificationChannelEntityFactory(injector) {
|
|
289
473
|
positions: {
|
290
474
|
lg: {
|
291
475
|
colSpan: 12,
|
476
|
+
order: 1,
|
292
477
|
},
|
293
478
|
},
|
294
479
|
},
|
295
480
|
},
|
296
481
|
{
|
297
482
|
name: 'body',
|
483
|
+
layout: {
|
484
|
+
positions: {
|
485
|
+
lg: {
|
486
|
+
colSpan: 12,
|
487
|
+
order: 2,
|
488
|
+
},
|
489
|
+
},
|
490
|
+
},
|
491
|
+
},
|
492
|
+
{
|
493
|
+
name: 'template',
|
298
494
|
layout: {
|
299
495
|
positions: {
|
300
496
|
lg: {
|
@@ -303,6 +499,17 @@ async function notificationChannelEntityFactory(injector) {
|
|
303
499
|
},
|
304
500
|
},
|
305
501
|
},
|
502
|
+
{
|
503
|
+
name: 'trigger',
|
504
|
+
layout: {
|
505
|
+
positions: {
|
506
|
+
lg: {
|
507
|
+
colSpan: 12,
|
508
|
+
order: 10,
|
509
|
+
},
|
510
|
+
},
|
511
|
+
},
|
512
|
+
},
|
306
513
|
{
|
307
514
|
name: 'channel',
|
308
515
|
layout: {
|
@@ -313,6 +520,60 @@ async function notificationChannelEntityFactory(injector) {
|
|
313
520
|
},
|
314
521
|
},
|
315
522
|
},
|
523
|
+
{
|
524
|
+
name: 'type',
|
525
|
+
layout: {
|
526
|
+
positions: {
|
527
|
+
lg: {
|
528
|
+
colSpan: 12,
|
529
|
+
order: 3,
|
530
|
+
},
|
531
|
+
},
|
532
|
+
},
|
533
|
+
},
|
534
|
+
{
|
535
|
+
name: 'contentType',
|
536
|
+
layout: {
|
537
|
+
positions: {
|
538
|
+
lg: {
|
539
|
+
colSpan: 4,
|
540
|
+
order: 4,
|
541
|
+
},
|
542
|
+
},
|
543
|
+
},
|
544
|
+
},
|
545
|
+
{
|
546
|
+
name: 'shape',
|
547
|
+
layout: {
|
548
|
+
positions: {
|
549
|
+
lg: {
|
550
|
+
colSpan: 4,
|
551
|
+
order: 5,
|
552
|
+
},
|
553
|
+
},
|
554
|
+
},
|
555
|
+
},
|
556
|
+
{
|
557
|
+
name: 'placement',
|
558
|
+
layout: {
|
559
|
+
positions: {
|
560
|
+
lg: {
|
561
|
+
colSpan: 4,
|
562
|
+
order: 6,
|
563
|
+
},
|
564
|
+
},
|
565
|
+
},
|
566
|
+
},
|
567
|
+
{
|
568
|
+
name: 'pin',
|
569
|
+
layout: {
|
570
|
+
positions: {
|
571
|
+
lg: {
|
572
|
+
colSpan: 4,
|
573
|
+
},
|
574
|
+
},
|
575
|
+
},
|
576
|
+
},
|
316
577
|
],
|
317
578
|
},
|
318
579
|
single: {
|
@@ -321,6 +582,9 @@ async function notificationChannelEntityFactory(injector) {
|
|
321
582
|
{
|
322
583
|
id: 'notificationChannel',
|
323
584
|
},
|
585
|
+
{
|
586
|
+
id: 'in-app',
|
587
|
+
},
|
324
588
|
],
|
325
589
|
properties: [
|
326
590
|
{
|
@@ -353,6 +617,91 @@ async function notificationChannelEntityFactory(injector) {
|
|
353
617
|
},
|
354
618
|
},
|
355
619
|
},
|
620
|
+
{
|
621
|
+
name: 'template',
|
622
|
+
layout: {
|
623
|
+
positions: {
|
624
|
+
lg: {
|
625
|
+
colSpan: 12,
|
626
|
+
},
|
627
|
+
},
|
628
|
+
},
|
629
|
+
},
|
630
|
+
{
|
631
|
+
name: 'trigger',
|
632
|
+
layout: {
|
633
|
+
positions: {
|
634
|
+
lg: {
|
635
|
+
colSpan: 12,
|
636
|
+
order: 10,
|
637
|
+
},
|
638
|
+
},
|
639
|
+
},
|
640
|
+
},
|
641
|
+
{
|
642
|
+
name: 'channel',
|
643
|
+
layout: {
|
644
|
+
positions: {
|
645
|
+
lg: {
|
646
|
+
colSpan: 12,
|
647
|
+
},
|
648
|
+
},
|
649
|
+
},
|
650
|
+
},
|
651
|
+
{
|
652
|
+
name: 'type',
|
653
|
+
layout: {
|
654
|
+
positions: {
|
655
|
+
lg: {
|
656
|
+
colSpan: 12,
|
657
|
+
order: 3,
|
658
|
+
},
|
659
|
+
},
|
660
|
+
},
|
661
|
+
},
|
662
|
+
{
|
663
|
+
name: 'contentType',
|
664
|
+
layout: {
|
665
|
+
positions: {
|
666
|
+
lg: {
|
667
|
+
colSpan: 4,
|
668
|
+
order: 4,
|
669
|
+
},
|
670
|
+
},
|
671
|
+
},
|
672
|
+
},
|
673
|
+
{
|
674
|
+
name: 'shape',
|
675
|
+
layout: {
|
676
|
+
positions: {
|
677
|
+
lg: {
|
678
|
+
colSpan: 4,
|
679
|
+
order: 5,
|
680
|
+
},
|
681
|
+
},
|
682
|
+
},
|
683
|
+
},
|
684
|
+
{
|
685
|
+
name: 'placement',
|
686
|
+
layout: {
|
687
|
+
positions: {
|
688
|
+
lg: {
|
689
|
+
colSpan: 4,
|
690
|
+
order: 6,
|
691
|
+
},
|
692
|
+
},
|
693
|
+
},
|
694
|
+
},
|
695
|
+
{
|
696
|
+
name: 'pin',
|
697
|
+
layout: {
|
698
|
+
positions: {
|
699
|
+
lg: {
|
700
|
+
colSpan: 4,
|
701
|
+
},
|
702
|
+
},
|
703
|
+
},
|
704
|
+
},
|
356
705
|
],
|
357
706
|
actions: [],
|
358
707
|
},
|
@@ -1182,7 +1531,7 @@ class AXMAdminNotificationPanelComponent {
|
|
1182
1531
|
this.router.navigate([`${this.sessionService.application?.name}/m/notification-management/e/my-notification/list`]);
|
1183
1532
|
}
|
1184
1533
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMAdminNotificationPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
1185
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXMAdminNotificationPanelComponent, isStandalone: true, selector: "axm-admin-notification-panel", outputs: { onNewNotfication: "onNewNotfication" }, ngImport: i0, template: "<div class=\"ax-p-4 ax-flex ax-justify-between ax-items-center\">\n <span class=\"ax-text-xl\">Notifications</span>\n <ax-button color=\"default\" look=\"blank\">\n <ax-icon>\n <i class=\"fa-regular fa-gear fa-lg\"></i>\n </ax-icon>\n </ax-button>\n</div>\n<ax-tabs [content]=\"cons\" look=\"with-line\" location=\"bottom\">\n @for(tab of tabItems(); track tab.text){\n <ax-tab-item [text]=\"tab.text\" [active]=\"activeTab() === tab.text\" (activeChange)=\"changeActiveTab(tab.text)\">\n <ax-suffix>\n @if(tab.count){\n <ax-badge [color]=\"activeTab() === tab.text ? 'primary' : 'ghost'\" [text]=\"tab.count.toString()\"></ax-badge>\n }\n </ax-suffix>\n <ax-content>\n <div class=\"ax-max-h-[50vh] ax-overflow-y-auto\">\n @for(notif of getNotificationItems(tab.text); track notif.id){\n <axp-master-notification-item
|
1534
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXMAdminNotificationPanelComponent, isStandalone: true, selector: "axm-admin-notification-panel", outputs: { onNewNotfication: "onNewNotfication" }, ngImport: i0, template: "<div class=\"ax-p-4 ax-flex ax-justify-between ax-items-center\">\n <span class=\"ax-text-xl\">Notifications</span>\n <ax-button color=\"default\" look=\"blank\">\n <ax-icon>\n <i class=\"fa-regular fa-gear fa-lg\"></i>\n </ax-icon>\n </ax-button>\n</div>\n<ax-tabs [content]=\"cons\" look=\"with-line\" location=\"bottom\">\n @for(tab of tabItems(); track tab.text){\n <ax-tab-item [text]=\"tab.text\" [active]=\"activeTab() === tab.text\" (activeChange)=\"changeActiveTab(tab.text)\">\n <ax-suffix>\n @if(tab.count){\n <ax-badge [color]=\"activeTab() === tab.text ? 'primary' : 'ghost'\" [text]=\"tab.count.toString()\"></ax-badge>\n }\n </ax-suffix>\n <ax-content>\n <div class=\"ax-max-h-[50vh] ax-overflow-y-auto\">\n @for(notif of getNotificationItems(tab.text); track notif.id){\n <axp-master-notification-item [data]=\"notif\"\n (onPressNotificationItem)=\"markAsRead($event)\"></axp-master-notification-item>\n }\n </div>\n <div class=\"ax-flex ax-gap-4 ax-justify-between ax-p-4 ax-border-t ax-border-default\">\n <ax-button [disabled]=\"NewNotification() === 0\" [color]=\"'default'\" text=\"Mark all as read\"\n (onClick)=\"markAllAsRead()\"></ax-button>\n <ax-button color=\"primary\" text=\"View all notifications\" (onClick)=\"viewAllNotifications()\"></ax-button>\n </div>\n </ax-content>\n </ax-tab-item>\n }\n</ax-tabs>\n\n<ng-template [axTabContent] #cons=\"axTabContent\"></ng-template>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1$1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXTabsModule }, { kind: "component", type: i2$1.AXTabsComponent, selector: "ax-tabs", inputs: ["look", "location", "fitParent", "minWidth", "content"], outputs: ["onActiveTabChanged"] }, { kind: "component", type: i2$1.AXTabItemComponent, selector: "ax-tab-item", inputs: ["disabled", "text", "key", "headerTemplate", "active"], outputs: ["disabledChange", "onClick", "onBlur", "onFocus", "activeChange"] }, { kind: "directive", type: i2$1.AXTabContentDirective, selector: "[axTabContent]", inputs: ["axTabContent"], exportAs: ["axTabContent"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i4$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "component", type: AXMAdminNotificationItemComponent, selector: "axp-master-notification-item", inputs: ["data"], outputs: ["onPressNotificationItem"] }, { kind: "ngmodule", type: AXFormatModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
1186
1535
|
}
|
1187
1536
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMAdminNotificationPanelComponent, decorators: [{
|
1188
1537
|
type: Component,
|
@@ -1195,7 +1544,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
1195
1544
|
AXPopoverModule,
|
1196
1545
|
AXMAdminNotificationItemComponent,
|
1197
1546
|
AXFormatModule,
|
1198
|
-
], template: "<div class=\"ax-p-4 ax-flex ax-justify-between ax-items-center\">\n <span class=\"ax-text-xl\">Notifications</span>\n <ax-button color=\"default\" look=\"blank\">\n <ax-icon>\n <i class=\"fa-regular fa-gear fa-lg\"></i>\n </ax-icon>\n </ax-button>\n</div>\n<ax-tabs [content]=\"cons\" look=\"with-line\" location=\"bottom\">\n @for(tab of tabItems(); track tab.text){\n <ax-tab-item [text]=\"tab.text\" [active]=\"activeTab() === tab.text\" (activeChange)=\"changeActiveTab(tab.text)\">\n <ax-suffix>\n @if(tab.count){\n <ax-badge [color]=\"activeTab() === tab.text ? 'primary' : 'ghost'\" [text]=\"tab.count.toString()\"></ax-badge>\n }\n </ax-suffix>\n <ax-content>\n <div class=\"ax-max-h-[50vh] ax-overflow-y-auto\">\n @for(notif of getNotificationItems(tab.text); track notif.id){\n <axp-master-notification-item
|
1547
|
+
], template: "<div class=\"ax-p-4 ax-flex ax-justify-between ax-items-center\">\n <span class=\"ax-text-xl\">Notifications</span>\n <ax-button color=\"default\" look=\"blank\">\n <ax-icon>\n <i class=\"fa-regular fa-gear fa-lg\"></i>\n </ax-icon>\n </ax-button>\n</div>\n<ax-tabs [content]=\"cons\" look=\"with-line\" location=\"bottom\">\n @for(tab of tabItems(); track tab.text){\n <ax-tab-item [text]=\"tab.text\" [active]=\"activeTab() === tab.text\" (activeChange)=\"changeActiveTab(tab.text)\">\n <ax-suffix>\n @if(tab.count){\n <ax-badge [color]=\"activeTab() === tab.text ? 'primary' : 'ghost'\" [text]=\"tab.count.toString()\"></ax-badge>\n }\n </ax-suffix>\n <ax-content>\n <div class=\"ax-max-h-[50vh] ax-overflow-y-auto\">\n @for(notif of getNotificationItems(tab.text); track notif.id){\n <axp-master-notification-item [data]=\"notif\"\n (onPressNotificationItem)=\"markAsRead($event)\"></axp-master-notification-item>\n }\n </div>\n <div class=\"ax-flex ax-gap-4 ax-justify-between ax-p-4 ax-border-t ax-border-default\">\n <ax-button [disabled]=\"NewNotification() === 0\" [color]=\"'default'\" text=\"Mark all as read\"\n (onClick)=\"markAllAsRead()\"></ax-button>\n <ax-button color=\"primary\" text=\"View all notifications\" (onClick)=\"viewAllNotifications()\"></ax-button>\n </div>\n </ax-content>\n </ax-tab-item>\n }\n</ax-tabs>\n\n<ng-template [axTabContent] #cons=\"axTabContent\"></ng-template>" }]
|
1199
1548
|
}] });
|
1200
1549
|
|
1201
1550
|
class AXMAdminNotificationSlotComponent {
|
@@ -1206,7 +1555,7 @@ class AXMAdminNotificationSlotComponent {
|
|
1206
1555
|
this.totalNewNotification.set(value);
|
1207
1556
|
}
|
1208
1557
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMAdminNotificationSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
1209
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXMAdminNotificationSlotComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<ax-button class=\"ax-relative\" color=\"primary\" #notification>\n <ax-icon>\n <i class=\"fa-regular fa-bell\"></i>\n </ax-icon>\n <ax-suffix class=\"ax-absolute ax-top-0 ax-left-1/2\">\n @if(totalNewNotification()){\n <ax-badge color=\"success\" [text]=\"totalNewNotification().toString()\"></ax-badge>\n }\n </ax-suffix>\n</ax-button>\n<ax-popover [target]=\"notification\" [openOn]=\"'toggle'\" [closeOn]=\"'clickOut'\" [adaptivityEnabled]=\"true\">\n <div class=\"ax-bg-
|
1558
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXMAdminNotificationSlotComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<ax-button class=\"ax-relative\" color=\"primary\" #notification>\n <ax-icon>\n <i class=\"fa-regular fa-bell\"></i>\n </ax-icon>\n <ax-suffix class=\"ax-absolute ax-top-0 ax-left-1/2\">\n @if(totalNewNotification()){\n <ax-badge color=\"success\" [text]=\"totalNewNotification().toString()\"></ax-badge>\n }\n </ax-suffix>\n</ax-button>\n<ax-popover [target]=\"notification\" [openOn]=\"'toggle'\" [closeOn]=\"'clickOut'\" [adaptivityEnabled]=\"true\">\n <div class=\"ax-bg-lightest ax-border ax-border-default ax-rounded-md ax-shadow-md ax-w-full\">\n <axm-admin-notification-panel (onNewNotfication)=\"setTotalNewNotification($event)\"> </axm-admin-notification-panel>\n </div>\n</ax-popover>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1$1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i4$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "component", type: i4$2.AXPopoverComponent, selector: "ax-popover", inputs: ["offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "openAfter", "closeAfter", "backdropClass", "panelClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "component", type: AXMAdminNotificationPanelComponent, selector: "axm-admin-notification-panel", outputs: ["onNewNotfication"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
1210
1559
|
}
|
1211
1560
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMAdminNotificationSlotComponent, decorators: [{
|
1212
1561
|
type: Component,
|
@@ -1217,7 +1566,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
1217
1566
|
AXBadgeModule,
|
1218
1567
|
AXPopoverModule,
|
1219
1568
|
AXMAdminNotificationPanelComponent,
|
1220
|
-
], template: "<ax-button class=\"ax-relative\" color=\"primary\" #notification>\n <ax-icon>\n <i class=\"fa-regular fa-bell\"></i>\n </ax-icon>\n <ax-suffix class=\"ax-absolute ax-top-0 ax-left-1/2\">\n @if(totalNewNotification()){\n <ax-badge color=\"success\" [text]=\"totalNewNotification().toString()\"></ax-badge>\n }\n </ax-suffix>\n</ax-button>\n<ax-popover [target]=\"notification\" [openOn]=\"'toggle'\" [closeOn]=\"'clickOut'\" [adaptivityEnabled]=\"true\">\n <div class=\"ax-bg-
|
1569
|
+
], template: "<ax-button class=\"ax-relative\" color=\"primary\" #notification>\n <ax-icon>\n <i class=\"fa-regular fa-bell\"></i>\n </ax-icon>\n <ax-suffix class=\"ax-absolute ax-top-0 ax-left-1/2\">\n @if(totalNewNotification()){\n <ax-badge color=\"success\" [text]=\"totalNewNotification().toString()\"></ax-badge>\n }\n </ax-suffix>\n</ax-button>\n<ax-popover [target]=\"notification\" [openOn]=\"'toggle'\" [closeOn]=\"'clickOut'\" [adaptivityEnabled]=\"true\">\n <div class=\"ax-bg-lightest ax-border ax-border-default ax-rounded-md ax-shadow-md ax-w-full\">\n <axm-admin-notification-panel (onNewNotfication)=\"setTotalNewNotification($event)\"> </axm-admin-notification-panel>\n </div>\n</ax-popover>\n" }]
|
1570
|
+
}] });
|
1571
|
+
|
1572
|
+
class AXMPromotionSlotComponent {
|
1573
|
+
constructor() {
|
1574
|
+
this.notificationChannelService = inject(AXMNotificationManagementChannelEntityService);
|
1575
|
+
this.listData = signal([]);
|
1576
|
+
}
|
1577
|
+
async ngOnInit() {
|
1578
|
+
const channels = await this.notificationChannelService.query({
|
1579
|
+
skip: 0,
|
1580
|
+
take: 10000,
|
1581
|
+
// filter: {
|
1582
|
+
// field: 'type',
|
1583
|
+
// operator: { type: 'equal' },
|
1584
|
+
// value: 'promotion',
|
1585
|
+
// },
|
1586
|
+
});
|
1587
|
+
console.log(channels.items);
|
1588
|
+
this.listData.set(channels.items.filter((x) => x.channel.name == 'inApp' && x.type.name == 'promotion'));
|
1589
|
+
}
|
1590
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMPromotionSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
1591
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXMPromotionSlotComponent, isStandalone: true, selector: "acorex-platform-promotion-slot", ngImport: i0, template: "@for (item of listData(); track item.id) { @if(location == item.placement?.name){ @if (item.contentType?.name ==\n'image') {\n<img\n width=\"300px\"\n height=\"300px\"\n [src]=\"item.body\"\n class=\"ax-w-full ax-h-auto {{ item.shape?.name == 'circle' ? 'ax-rounded-full' : 'ax-rounded-none' }}\"\n/>\n} @if(item.contentType?.name == 'text'){\n<div class=\"ax-m-1 ax-px-6 ax-p-4 ax-border ax-bg-primary ax-rounded-lg\">\n <h1 [innerHTML]=\"item.body | safe : 'html'\"></h1>\n</div>\n\n} } }\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: AXSafePipe, name: "safe" }] }); }
|
1592
|
+
}
|
1593
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMPromotionSlotComponent, decorators: [{
|
1594
|
+
type: Component,
|
1595
|
+
args: [{ selector: 'acorex-platform-promotion-slot', imports: [CommonModule, AXSafePipe], template: "@for (item of listData(); track item.id) { @if(location == item.placement?.name){ @if (item.contentType?.name ==\n'image') {\n<img\n width=\"300px\"\n height=\"300px\"\n [src]=\"item.body\"\n class=\"ax-w-full ax-h-auto {{ item.shape?.name == 'circle' ? 'ax-rounded-full' : 'ax-rounded-none' }}\"\n/>\n} @if(item.contentType?.name == 'text'){\n<div class=\"ax-m-1 ax-px-6 ax-p-4 ax-border ax-bg-primary ax-rounded-lg\">\n <h1 [innerHTML]=\"item.body | safe : 'html'\"></h1>\n</div>\n\n} } }\n" }]
|
1221
1596
|
}] });
|
1222
1597
|
|
1223
1598
|
class AXMEntityLoader {
|
@@ -1311,6 +1686,25 @@ class AXMNotificationManagementModule {
|
|
1311
1686
|
component: AXMAdminNotificationSlotComponent,
|
1312
1687
|
},
|
1313
1688
|
],
|
1689
|
+
'side-menu-footer': [
|
1690
|
+
{
|
1691
|
+
name: 'side-menu-footer',
|
1692
|
+
component: AXMPromotionSlotComponent,
|
1693
|
+
options: {
|
1694
|
+
location: 'side-menu-footer',
|
1695
|
+
},
|
1696
|
+
},
|
1697
|
+
],
|
1698
|
+
'side-menu-header': [
|
1699
|
+
{
|
1700
|
+
name: 'side-menu-header',
|
1701
|
+
component: AXMPromotionSlotComponent,
|
1702
|
+
priority: 2,
|
1703
|
+
options: {
|
1704
|
+
location: 'side-menu-header',
|
1705
|
+
},
|
1706
|
+
},
|
1707
|
+
],
|
1314
1708
|
})] }); }
|
1315
1709
|
}
|
1316
1710
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMNotificationManagementModule, decorators: [{
|
@@ -1324,6 +1718,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
1324
1718
|
component: AXMAdminNotificationSlotComponent,
|
1325
1719
|
},
|
1326
1720
|
],
|
1721
|
+
'side-menu-footer': [
|
1722
|
+
{
|
1723
|
+
name: 'side-menu-footer',
|
1724
|
+
component: AXMPromotionSlotComponent,
|
1725
|
+
options: {
|
1726
|
+
location: 'side-menu-footer',
|
1727
|
+
},
|
1728
|
+
},
|
1729
|
+
],
|
1730
|
+
'side-menu-header': [
|
1731
|
+
{
|
1732
|
+
name: 'side-menu-header',
|
1733
|
+
component: AXMPromotionSlotComponent,
|
1734
|
+
priority: 2,
|
1735
|
+
options: {
|
1736
|
+
location: 'side-menu-header',
|
1737
|
+
},
|
1738
|
+
},
|
1739
|
+
],
|
1327
1740
|
}),
|
1328
1741
|
],
|
1329
1742
|
exports: [],
|