@acorex-platform/module-communication-management-client 0.0.54 → 0.0.57

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.
Files changed (21) hide show
  1. package/fesm2022/{acorex-platform-module-communication-management-client-acorex-platform-module-communication-management-client-BJvTWpBc.mjs → acorex-platform-module-communication-management-client-acorex-platform-module-communication-management-client-j4HNwZEj.mjs} +20 -16
  2. package/fesm2022/acorex-platform-module-communication-management-client-acorex-platform-module-communication-management-client-j4HNwZEj.mjs.map +1 -0
  3. package/fesm2022/{acorex-platform-module-communication-management-client-communication-email-send.command-CR4RjM-X.mjs → acorex-platform-module-communication-management-client-communication-email-send.command-BwdbP0wm.mjs} +2 -2
  4. package/fesm2022/{acorex-platform-module-communication-management-client-communication-email-send.command-CR4RjM-X.mjs.map → acorex-platform-module-communication-management-client-communication-email-send.command-BwdbP0wm.mjs.map} +1 -1
  5. package/fesm2022/{acorex-platform-module-communication-management-client-communication-email-show-dialog.command-NuJLiYs_.mjs → acorex-platform-module-communication-management-client-communication-email-show-dialog.command-D63L_w8I.mjs} +2 -2
  6. package/fesm2022/acorex-platform-module-communication-management-client-communication-email-show-dialog.command-D63L_w8I.mjs.map +1 -0
  7. package/fesm2022/{acorex-platform-module-communication-management-client-communication-in-app-inbox-page.component-yaRijsuh.mjs → acorex-platform-module-communication-management-client-communication-in-app-inbox-page.component-DGnr-vVQ.mjs} +2 -2
  8. package/fesm2022/{acorex-platform-module-communication-management-client-communication-in-app-inbox-page.component-yaRijsuh.mjs.map → acorex-platform-module-communication-management-client-communication-in-app-inbox-page.component-DGnr-vVQ.mjs.map} +1 -1
  9. package/fesm2022/{acorex-platform-module-communication-management-client-communication-send.command-D19heywC.mjs → acorex-platform-module-communication-management-client-communication-send.command-DtGeXWNS.mjs} +21 -12
  10. package/fesm2022/acorex-platform-module-communication-management-client-communication-send.command-DtGeXWNS.mjs.map +1 -0
  11. package/fesm2022/{acorex-platform-module-communication-management-client-communication-test-smtp.command-Bck8R4as.mjs → acorex-platform-module-communication-management-client-communication-test-smtp.command-nZH0GlLw.mjs} +7 -3
  12. package/fesm2022/{acorex-platform-module-communication-management-client-communication-test-smtp.command-Bck8R4as.mjs.map → acorex-platform-module-communication-management-client-communication-test-smtp.command-nZH0GlLw.mjs.map} +1 -1
  13. package/fesm2022/acorex-platform-module-communication-management-client.mjs +1 -1
  14. package/i18n/en-AU/communication-management.json +361 -0
  15. package/i18n/en-US/communication-management.json +362 -0
  16. package/i18n/fa-IR/communication-management.json +362 -0
  17. package/package.json +3 -3
  18. package/types/acorex-platform-module-communication-management-client.d.ts +1 -0
  19. package/fesm2022/acorex-platform-module-communication-management-client-acorex-platform-module-communication-management-client-BJvTWpBc.mjs.map +0 -1
  20. package/fesm2022/acorex-platform-module-communication-management-client-communication-email-show-dialog.command-NuJLiYs_.mjs.map +0 -1
  21. package/fesm2022/acorex-platform-module-communication-management-client-communication-send.command-D19heywC.mjs.map +0 -1
@@ -22,7 +22,7 @@ import * as i3$1 from '@acorex/core/format';
22
22
  import { AXFormatModule } from '@acorex/core/format';
23
23
  import { AXSafePipe } from '@acorex/core/pipes';
24
24
  import * as i4 from '@acorex/core/translation';
25
- import { AXTranslationModule } from '@acorex/core/translation';
25
+ import { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';
26
26
  import * as i1 from '@angular/common';
27
27
  import { CommonModule, AsyncPipe } from '@angular/common';
28
28
  import * as i1$1 from '@acorex/components/button';
@@ -1858,6 +1858,7 @@ class AXPInAppInboxPanelComponent {
1858
1858
  this.connector = inject(AXPInAppInboxConnectorService);
1859
1859
  this.inboxActions = inject(AXPInAppInboxActionService);
1860
1860
  this.toastService = inject(AXToastService);
1861
+ this.translation = inject(AXTranslationService);
1861
1862
  this.router = inject(Router);
1862
1863
  this.sessionService = inject(AXPSessionService);
1863
1864
  this.i18n = inject(AXP_IN_APP_INBOX_I18N);
@@ -1881,8 +1882,11 @@ class AXPInAppInboxPanelComponent {
1881
1882
  await this.connector.markUnseenAsSeen();
1882
1883
  }
1883
1884
  catch (error) {
1885
+ const content = typeof error === 'string'
1886
+ ? error
1887
+ : await this.translation.translateAsync('@communication-management:in-app.errors.load-failed');
1884
1888
  this.toastService.show({
1885
- content: typeof error === 'string' ? error : 'Failed to load inbox.',
1889
+ content,
1886
1890
  color: 'danger',
1887
1891
  location: 'bottom-center',
1888
1892
  closeButton: true,
@@ -2524,7 +2528,7 @@ function routesFactory() {
2524
2528
  children: [
2525
2529
  {
2526
2530
  path: '',
2527
- loadComponent: () => import('./acorex-platform-module-communication-management-client-communication-in-app-inbox-page.component-yaRijsuh.mjs').then((m) => m.AXMCommunicationInAppInboxPageComponent),
2531
+ loadComponent: () => import('./acorex-platform-module-communication-management-client-communication-in-app-inbox-page.component-DGnr-vVQ.mjs').then((m) => m.AXMCommunicationInAppInboxPageComponent),
2528
2532
  data: { reuse: true },
2529
2533
  },
2530
2534
  ],
@@ -2538,19 +2542,19 @@ class AXMCommunicationManagementModule {
2538
2542
  provideCommandSetups([
2539
2543
  {
2540
2544
  key: AXMCommunicationManagementCommandKeys$1.Send,
2541
- command: () => import('./acorex-platform-module-communication-management-client-communication-send.command-D19heywC.mjs').then((m) => m.CommunicationSendCommand),
2545
+ command: () => import('./acorex-platform-module-communication-management-client-communication-send.command-DtGeXWNS.mjs').then((m) => m.CommunicationSendCommand),
2542
2546
  },
2543
2547
  {
2544
2548
  key: AXMCommunicationManagementCommandKeys$1.TestSmtp,
2545
- command: () => import('./acorex-platform-module-communication-management-client-communication-test-smtp.command-Bck8R4as.mjs').then((m) => m.CommunicationTestSmtpCommand),
2549
+ command: () => import('./acorex-platform-module-communication-management-client-communication-test-smtp.command-nZH0GlLw.mjs').then((m) => m.CommunicationTestSmtpCommand),
2546
2550
  },
2547
2551
  {
2548
2552
  key: AXMCommunicationManagementCommandKeys$1.EmailShowDialog,
2549
- command: () => import('./acorex-platform-module-communication-management-client-communication-email-show-dialog.command-NuJLiYs_.mjs').then((m) => m.CommunicationManagementEmailShowDialogCommand),
2553
+ command: () => import('./acorex-platform-module-communication-management-client-communication-email-show-dialog.command-D63L_w8I.mjs').then((m) => m.CommunicationManagementEmailShowDialogCommand),
2550
2554
  },
2551
2555
  {
2552
2556
  key: AXMCommunicationManagementCommandKeys$1.EmailSend,
2553
- command: () => import('./acorex-platform-module-communication-management-client-communication-email-send.command-CR4RjM-X.mjs').then((m) => m.CommunicationManagementEmailSendCommand),
2557
+ command: () => import('./acorex-platform-module-communication-management-client-communication-email-send.command-BwdbP0wm.mjs').then((m) => m.CommunicationManagementEmailSendCommand),
2554
2558
  },
2555
2559
  {
2556
2560
  key: AXMCommunicationManagementCommandKeys$1.ShowSentMessage,
@@ -2558,11 +2562,11 @@ class AXMCommunicationManagementModule {
2558
2562
  },
2559
2563
  {
2560
2564
  key: LEGACY_NOTIFICATION_EMAIL_SHOW_DIALOG_COMMAND_KEY,
2561
- command: () => import('./acorex-platform-module-communication-management-client-communication-email-show-dialog.command-NuJLiYs_.mjs').then((m) => m.CommunicationManagementEmailShowDialogCommand),
2565
+ command: () => import('./acorex-platform-module-communication-management-client-communication-email-show-dialog.command-D63L_w8I.mjs').then((m) => m.CommunicationManagementEmailShowDialogCommand),
2562
2566
  },
2563
2567
  {
2564
2568
  key: LEGACY_NOTIFICATION_EMAIL_SEND_COMMAND_KEY,
2565
- command: () => import('./acorex-platform-module-communication-management-client-communication-email-send.command-CR4RjM-X.mjs').then((m) => m.CommunicationManagementEmailSendCommand),
2569
+ command: () => import('./acorex-platform-module-communication-management-client-communication-email-send.command-BwdbP0wm.mjs').then((m) => m.CommunicationManagementEmailSendCommand),
2566
2570
  },
2567
2571
  ]),
2568
2572
  {
@@ -2661,19 +2665,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
2661
2665
  provideCommandSetups([
2662
2666
  {
2663
2667
  key: AXMCommunicationManagementCommandKeys$1.Send,
2664
- command: () => import('./acorex-platform-module-communication-management-client-communication-send.command-D19heywC.mjs').then((m) => m.CommunicationSendCommand),
2668
+ command: () => import('./acorex-platform-module-communication-management-client-communication-send.command-DtGeXWNS.mjs').then((m) => m.CommunicationSendCommand),
2665
2669
  },
2666
2670
  {
2667
2671
  key: AXMCommunicationManagementCommandKeys$1.TestSmtp,
2668
- command: () => import('./acorex-platform-module-communication-management-client-communication-test-smtp.command-Bck8R4as.mjs').then((m) => m.CommunicationTestSmtpCommand),
2672
+ command: () => import('./acorex-platform-module-communication-management-client-communication-test-smtp.command-nZH0GlLw.mjs').then((m) => m.CommunicationTestSmtpCommand),
2669
2673
  },
2670
2674
  {
2671
2675
  key: AXMCommunicationManagementCommandKeys$1.EmailShowDialog,
2672
- command: () => import('./acorex-platform-module-communication-management-client-communication-email-show-dialog.command-NuJLiYs_.mjs').then((m) => m.CommunicationManagementEmailShowDialogCommand),
2676
+ command: () => import('./acorex-platform-module-communication-management-client-communication-email-show-dialog.command-D63L_w8I.mjs').then((m) => m.CommunicationManagementEmailShowDialogCommand),
2673
2677
  },
2674
2678
  {
2675
2679
  key: AXMCommunicationManagementCommandKeys$1.EmailSend,
2676
- command: () => import('./acorex-platform-module-communication-management-client-communication-email-send.command-CR4RjM-X.mjs').then((m) => m.CommunicationManagementEmailSendCommand),
2680
+ command: () => import('./acorex-platform-module-communication-management-client-communication-email-send.command-BwdbP0wm.mjs').then((m) => m.CommunicationManagementEmailSendCommand),
2677
2681
  },
2678
2682
  {
2679
2683
  key: AXMCommunicationManagementCommandKeys$1.ShowSentMessage,
@@ -2681,11 +2685,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
2681
2685
  },
2682
2686
  {
2683
2687
  key: LEGACY_NOTIFICATION_EMAIL_SHOW_DIALOG_COMMAND_KEY,
2684
- command: () => import('./acorex-platform-module-communication-management-client-communication-email-show-dialog.command-NuJLiYs_.mjs').then((m) => m.CommunicationManagementEmailShowDialogCommand),
2688
+ command: () => import('./acorex-platform-module-communication-management-client-communication-email-show-dialog.command-D63L_w8I.mjs').then((m) => m.CommunicationManagementEmailShowDialogCommand),
2685
2689
  },
2686
2690
  {
2687
2691
  key: LEGACY_NOTIFICATION_EMAIL_SEND_COMMAND_KEY,
2688
- command: () => import('./acorex-platform-module-communication-management-client-communication-email-send.command-CR4RjM-X.mjs').then((m) => m.CommunicationManagementEmailSendCommand),
2692
+ command: () => import('./acorex-platform-module-communication-management-client-communication-email-send.command-BwdbP0wm.mjs').then((m) => m.CommunicationManagementEmailSendCommand),
2689
2693
  },
2690
2694
  ]),
2691
2695
  {
@@ -2801,4 +2805,4 @@ function resolveCommunicationDeliveryChannelsSettingsSection(context) {
2801
2805
  */
2802
2806
 
2803
2807
  export { AXPInAppInboxConnectorService as A, isInAppInboxUnseen as B, normalizeInAppInboxItem as C, resolveCommunicationDeliveryChannelsSettingsSection as D, sortInAppInboxItems as E, AXPInAppInboxActionService as a, AXP_IN_APP_INBOX_I18N as b, AXPInAppInboxItemComponent as c, AXPCommunicationManagementClient as d, AXPInAppInboxRealtimeService as e, AXMCommunicationManagementMenuProvider as f, AXMCommunicationManagementModule as g, AXMCommunicationManagementPermissionDefinitionProvider as h, AXMCommunicationManagementSearchCommandProvider as i, AXPCommunicationInAppInboxWidgetViewComponent as j, AXPInAppInboxPanelComponent as k, AXPInAppInboxSlotComponent as l, AXPMyInAppInboxDashboardWidget as m, AXP_IN_APP_INBOX_CONFIG as n, AXP_IN_APP_INBOX_LEGACY_DB_NAME as o, AXP_IN_APP_INBOX_LOCAL_ENTITY_KEY as p, AXP_IN_APP_INBOX_LOCAL_MAX_ITEMS as q, AXP_IN_APP_INBOX_PORT as r, AXP_IN_APP_INBOX_SYNC_STATUS as s, AXP_MY_IN_APP_INBOX_DASHBOARD_DIMENSIONS as t, buildMyInAppInboxDashboardWidget as u, dedupeInAppInboxItems as v, filterInAppInboxItemsLocally as w, getInAppInboxPriorityClass as x, isArchiveCategoryFilter as y, isInAppInboxUnread as z };
2804
- //# sourceMappingURL=acorex-platform-module-communication-management-client-acorex-platform-module-communication-management-client-BJvTWpBc.mjs.map
2808
+ //# sourceMappingURL=acorex-platform-module-communication-management-client-acorex-platform-module-communication-management-client-j4HNwZEj.mjs.map