@acorex/modules 20.6.0-next.12 → 20.6.0-next.14

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 (61) hide show
  1. package/dashboard-management/index.d.ts +2 -15
  2. package/fesm2022/acorex-modules-conversation.mjs +1 -1
  3. package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
  4. package/fesm2022/{acorex-modules-dashboard-management-acorex-modules-dashboard-management-D2sEG8P9.mjs → acorex-modules-dashboard-management-acorex-modules-dashboard-management-DxvJ5FUP.mjs} +22 -17
  5. package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-DxvJ5FUP.mjs.map +1 -0
  6. package/fesm2022/{acorex-modules-dashboard-management-permission-definition.provider-CDof9JW9.mjs → acorex-modules-dashboard-management-permission-definition.provider-tvIEsms4.mjs} +2 -2
  7. package/fesm2022/{acorex-modules-dashboard-management-permission-definition.provider-CDof9JW9.mjs.map → acorex-modules-dashboard-management-permission-definition.provider-tvIEsms4.mjs.map} +1 -1
  8. package/fesm2022/acorex-modules-dashboard-management.mjs +1 -1
  9. package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-BQg63TCL.mjs → acorex-modules-document-management-acorex-modules-document-management-B3AbD1tJ.mjs} +16 -16
  10. package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-BQg63TCL.mjs.map → acorex-modules-document-management-acorex-modules-document-management-B3AbD1tJ.mjs.map} +1 -1
  11. package/fesm2022/{acorex-modules-document-management-attachment-widget.component-DsVm2GMs.mjs → acorex-modules-document-management-attachment-widget.component-CzDOiRIY.mjs} +2 -2
  12. package/fesm2022/{acorex-modules-document-management-attachment-widget.component-DsVm2GMs.mjs.map → acorex-modules-document-management-attachment-widget.component-CzDOiRIY.mjs.map} +1 -1
  13. package/fesm2022/{acorex-modules-document-management-details-view.component-CPS-Hi0y.mjs → acorex-modules-document-management-details-view.component-DKTHo8ne.mjs} +2 -2
  14. package/fesm2022/{acorex-modules-document-management-details-view.component-CPS-Hi0y.mjs.map → acorex-modules-document-management-details-view.component-DKTHo8ne.mjs.map} +1 -1
  15. package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-BdG1o9DR.mjs → acorex-modules-document-management-document-signature-popup.component-DGzzdmDb.mjs} +2 -2
  16. package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-BdG1o9DR.mjs.map → acorex-modules-document-management-document-signature-popup.component-DGzzdmDb.mjs.map} +1 -1
  17. package/fesm2022/{acorex-modules-document-management-drive-choose.component-9GYqFNTa.mjs → acorex-modules-document-management-drive-choose.component-D5aiNVzj.mjs} +2 -2
  18. package/fesm2022/{acorex-modules-document-management-drive-choose.component-9GYqFNTa.mjs.map → acorex-modules-document-management-drive-choose.component-D5aiNVzj.mjs.map} +1 -1
  19. package/fesm2022/{acorex-modules-document-management-drive.component-GEe-dEOj.mjs → acorex-modules-document-management-drive.component-CeBlGsLR.mjs} +6 -5
  20. package/fesm2022/acorex-modules-document-management-drive.component-CeBlGsLR.mjs.map +1 -0
  21. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-nbzNqi8U.mjs → acorex-modules-document-management-large-icons-view.component-CAHXm46u.mjs} +2 -2
  22. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-nbzNqi8U.mjs.map → acorex-modules-document-management-large-icons-view.component-CAHXm46u.mjs.map} +1 -1
  23. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-UaLWEWFL.mjs → acorex-modules-document-management-large-tiles-view.component-or2Wyl76.mjs} +2 -2
  24. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-UaLWEWFL.mjs.map → acorex-modules-document-management-large-tiles-view.component-or2Wyl76.mjs.map} +1 -1
  25. package/fesm2022/{acorex-modules-document-management-list-view.component-DrrI8IQy.mjs → acorex-modules-document-management-list-view.component-gmOyQGvk.mjs} +2 -2
  26. package/fesm2022/{acorex-modules-document-management-list-view.component-DrrI8IQy.mjs.map → acorex-modules-document-management-list-view.component-gmOyQGvk.mjs.map} +1 -1
  27. package/fesm2022/{acorex-modules-document-management-permission-definition.provider-CceGO8sF.mjs → acorex-modules-document-management-permission-definition.provider-CcZ1NTWk.mjs} +2 -2
  28. package/fesm2022/{acorex-modules-document-management-permission-definition.provider-CceGO8sF.mjs.map → acorex-modules-document-management-permission-definition.provider-CcZ1NTWk.mjs.map} +1 -1
  29. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-D8ndB-9C.mjs → acorex-modules-document-management-small-icons-view.component-VD2PaT-1.mjs} +2 -2
  30. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-D8ndB-9C.mjs.map → acorex-modules-document-management-small-icons-view.component-VD2PaT-1.mjs.map} +1 -1
  31. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-BYIgOhLJ.mjs → acorex-modules-document-management-small-tiles-view.component-fGLTqZyQ.mjs} +2 -2
  32. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-BYIgOhLJ.mjs.map → acorex-modules-document-management-small-tiles-view.component-fGLTqZyQ.mjs.map} +1 -1
  33. package/fesm2022/acorex-modules-document-management.mjs +1 -1
  34. package/fesm2022/{acorex-modules-notification-management-notification-page.component-Lz8J7q4k.mjs → acorex-modules-notification-management-notification-page.component-XCr4A447.mjs} +35 -23
  35. package/fesm2022/acorex-modules-notification-management-notification-page.component-XCr4A447.mjs.map +1 -0
  36. package/fesm2022/acorex-modules-notification-management.mjs +1 -1
  37. package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-TfQFYkDv.mjs → acorex-modules-report-management-report-runner-root-page.component-BPHpCx1z.mjs} +8 -7
  38. package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-BPHpCx1z.mjs.map +1 -0
  39. package/fesm2022/acorex-modules-report-management.mjs +16 -15
  40. package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
  41. package/fesm2022/{acorex-modules-settings-management-acorex-modules-settings-management-DTjfgbLU.mjs → acorex-modules-settings-management-acorex-modules-settings-management-DiK4w5LW.mjs} +18 -19
  42. package/fesm2022/acorex-modules-settings-management-acorex-modules-settings-management-DiK4w5LW.mjs.map +1 -0
  43. package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-DNgLTnFb.mjs → acorex-modules-settings-management-permission-definition.provider-Ddk4v4RY.mjs} +2 -2
  44. package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-DNgLTnFb.mjs.map → acorex-modules-settings-management-permission-definition.provider-Ddk4v4RY.mjs.map} +1 -1
  45. package/fesm2022/{acorex-modules-settings-management-setting-page.component-CXXHizT0.mjs → acorex-modules-settings-management-setting-page.component-XfmsDcZt.mjs} +20 -17
  46. package/fesm2022/acorex-modules-settings-management-setting-page.component-XfmsDcZt.mjs.map +1 -0
  47. package/fesm2022/{acorex-modules-settings-management-setting-view.component-CGolAf-a.mjs → acorex-modules-settings-management-setting-view.component-BZzDT3gG.mjs} +2 -2
  48. package/fesm2022/{acorex-modules-settings-management-setting-view.component-CGolAf-a.mjs.map → acorex-modules-settings-management-setting-view.component-BZzDT3gG.mjs.map} +1 -1
  49. package/fesm2022/acorex-modules-settings-management.mjs +1 -1
  50. package/fesm2022/{acorex-modules-task-management-task-board.page-9rGlt3Fd.mjs → acorex-modules-task-management-task-board.page-Bceu03Yj.mjs} +5 -4
  51. package/fesm2022/{acorex-modules-task-management-task-board.page-9rGlt3Fd.mjs.map → acorex-modules-task-management-task-board.page-Bceu03Yj.mjs.map} +1 -1
  52. package/fesm2022/acorex-modules-task-management.mjs +1 -1
  53. package/package.json +14 -14
  54. package/report-management/index.d.ts +2 -15
  55. package/settings-management/index.d.ts +2 -2
  56. package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-D2sEG8P9.mjs.map +0 -1
  57. package/fesm2022/acorex-modules-document-management-drive.component-GEe-dEOj.mjs.map +0 -1
  58. package/fesm2022/acorex-modules-notification-management-notification-page.component-Lz8J7q4k.mjs.map +0 -1
  59. package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-TfQFYkDv.mjs.map +0 -1
  60. package/fesm2022/acorex-modules-settings-management-acorex-modules-settings-management-DTjfgbLU.mjs.map +0 -1
  61. package/fesm2022/acorex-modules-settings-management-setting-page.component-CXXHizT0.mjs.map +0 -1
@@ -23,7 +23,7 @@ import { AXPopupService } from '@acorex/components/popup';
23
23
  import * as i4 from '@acorex/core/translation';
24
24
  import { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';
25
25
  import { AXP_GLOBAL_SEARCH_CONFIG_TOKEN } from '@acorex/modules/common';
26
- import { AXPDataGenerator, AXPPlatformScope } from '@acorex/platform/core';
26
+ import { AXPDataGenerator, AXPDeviceService, AXPPlatformScope } from '@acorex/platform/core';
27
27
  import { AXPWorkflowService } from '@acorex/platform/workflow';
28
28
  import { AXDonutChartComponent } from '@acorex/charts/donut-chart';
29
29
  import { AXGaugeChartComponent } from '@acorex/charts/gauge-chart';
@@ -2871,7 +2871,7 @@ class AXPStickyNoteWidgetViewComponent extends AXPValueWidgetComponent {
2871
2871
  provide: AXGridLayoutWidgetComponent,
2872
2872
  useExisting: AXPStickyNoteWidgetViewComponent,
2873
2873
  },
2874
- ], viewQueries: [{ propertyName: "wysiwyg", first: true, predicate: ["wysiwyg"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div\n class=\"sticky-note-container ax-size-full ax-rounded-lg ax-flex ax-flex-col ax-p-4 ax-shadow-md ax-transition-all ax-duration-300 hover:ax-shadow-lg\"\n [style.background-color]=\"bgColor()\"\n [style.color]=\"color()\"\n [class.ax-shadow-lg]=\"isEditing()\"\n [class.ax-scale-[1.02]]=\"isEditing()\"\n (dblclick)=\"activateEdit()\"\n>\n <!-- Header with timestamp -->\n <div class=\"ax-flex ax-justify-between ax-items-center ax-mb-3\">\n <div class=\"ax-text-xs ax-opacity-70 ax-font-medium ax-flex ax-items-center ax-gap-1\">\n <i class=\"fa-regular fa-clock ax-text-[0.65rem]\"></i>\n {{ date() | format: 'datetime' : { format: 'short' } | async }}\n </div>\n </div>\n\n <!-- Content area -->\n <div class=\"ax-flex-1 ax-overflow-auto\">\n <ax-wysiwyg-container\n #wysiwyg\n [class]=\"isEditing() ? 'ax-pointer-events-auto ax-cursor-text' : 'ax-pointer-events-none !ax-cursor-pointer'\"\n class=\"ax-h-full\"\n placeHolder=\"start writing with double click...\"\n look=\"none\"\n (onValueChanged)=\"valueChange($event)\"\n [ngModel]=\"value()\"\n >\n <ax-wysiwyg-view class=\"!ax-size-full ax-border-b-0\"></ax-wysiwyg-view>\n <ax-wysiwyg-toolbar></ax-wysiwyg-toolbar>\n </ax-wysiwyg-container>\n </div>\n\n <!-- Footer with color selector and save button -->\n @if (isEditing()) {\n <div class=\"ax-absolute ax-bottom-2 ax-left-2 ax-right-2 ax-flex ax-flex-wrap ax-gap-1 ax-text-xs\">\n <!-- Color selection bar when in edit mode -->\n <div class=\"ax-flex ax-w-full ax-mt-2 ax-border ax-border-gray-200 ax-overflow-hidden ax-rounded-md\">\n @for (preset of colorPresets; track preset) {\n <div\n class=\"ax-h-6 ax-flex-1 ax-cursor-pointer ax-transition-all ax-duration-200 ax-border-r ax-border-gray-200 last:ax-border-r-0 hover:ax-brightness-95\"\n [style.background-color]=\"preset\"\n [class.ax-ring-inset]=\"bgColor() === preset\"\n [class.ax-ring-2]=\"bgColor() === preset\"\n [class.ax-ring-primary]=\"bgColor() === preset\"\n (click)=\"setColor(preset)\"\n ></div>\n }\n </div>\n </div>\n }\n</div>\n", styles: [":host{display:block;width:100%;height:100%}:host ::ng-deep ax-wysiwyg-view{color:#2e2e2e!important}\n"], dependencies: [{ kind: "ngmodule", type: AXWysiwygModule }, { kind: "component", type: i1$1.AXWysiwygContainerComponent, selector: "ax-wysiwyg-container", inputs: ["look", "readonly", "disabled", "placeHolder"], outputs: ["onValueChanged"] }, { kind: "component", type: i1$1.AXWysiwygViewComponent, selector: "ax-wysiwyg-view" }, { kind: "component", type: i1$1.AXWysiwygToolbarComponent, selector: "ax-wysiwyg-toolbar" }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXToolBarModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXDateTimeModule }, { kind: "ngmodule", type: AXFormatModule }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXColorBoxModule }, { kind: "pipe", type: i2.AXFormatPipe, name: "format" }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2874
+ ], viewQueries: [{ propertyName: "wysiwyg", first: true, predicate: ["wysiwyg"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div\n class=\"sticky-note-container ax-size-full ax-rounded-lg ax-flex ax-flex-col ax-p-4 ax-shadow-md ax-transition-all ax-duration-300 hover:ax-shadow-lg\"\n [style.background-color]=\"bgColor()\"\n [style.color]=\"color()\"\n [class.ax-shadow-lg]=\"isEditing()\"\n [class.ax-scale-[1.02]]=\"isEditing()\"\n (dblclick)=\"activateEdit()\"\n>\n <!-- Header with timestamp -->\n <div class=\"ax-flex ax-justify-between ax-items-center ax-mb-3\">\n <div class=\"ax-text-xs ax-opacity-70 ax-font-medium ax-flex ax-items-center ax-gap-1\">\n <i class=\"fa-regular fa-clock ax-text-[0.65rem]\"></i>\n {{ date() | format: 'datetime' : { format: 'short' } | async }}\n </div>\n </div>\n\n <!-- Content area -->\n <div class=\"ax-flex-1 ax-overflow-auto\">\n <ax-wysiwyg-container\n #wysiwyg\n [class]=\"isEditing() ? 'ax-pointer-events-auto ax-cursor-text' : 'ax-pointer-events-none !ax-cursor-pointer'\"\n class=\"ax-h-full\"\n placeHolder=\"start writing with double click...\"\n look=\"none\"\n (onValueChanged)=\"valueChange($event)\"\n [ngModel]=\"value()\"\n >\n <ax-wysiwyg-view class=\"!ax-size-full ax-border-b-0\"></ax-wysiwyg-view>\n <ax-wysiwyg-toolbar></ax-wysiwyg-toolbar>\n </ax-wysiwyg-container>\n </div>\n\n <!-- Footer with color selector and save button -->\n @if (isEditing()) {\n <div class=\"ax-absolute ax-bottom-2 ax-left-2 ax-right-2 ax-flex ax-flex-wrap ax-gap-1 ax-text-xs\">\n <!-- Color selection bar when in edit mode -->\n <div class=\"ax-flex ax-w-full ax-mt-2 ax-border ax-border-gray-200 ax-overflow-hidden ax-rounded-md\">\n @for (preset of colorPresets; track preset) {\n <div\n class=\"ax-h-6 ax-flex-1 ax-cursor-pointer ax-transition-all ax-duration-200 ax-border-r ax-border-gray-200 last:ax-border-r-0 hover:ax-brightness-95\"\n [style.background-color]=\"preset\"\n [class.ax-ring-inset]=\"bgColor() === preset\"\n [class.ax-ring-2]=\"bgColor() === preset\"\n [class.ax-ring-primary]=\"bgColor() === preset\"\n (click)=\"setColor(preset)\"\n ></div>\n }\n </div>\n </div>\n }\n</div>\n", styles: [":host{display:block;width:100%;height:100%}:host ::ng-deep ax-wysiwyg-view{color:#2e2e2e!important}\n"], dependencies: [{ kind: "ngmodule", type: AXWysiwygModule }, { kind: "component", type: i1$1.AXWysiwygContainerComponent, selector: "ax-wysiwyg-container", inputs: ["look", "readonly", "disabled", "value", "placeHolder"], outputs: ["onValueChanged"] }, { kind: "component", type: i1$1.AXWysiwygViewComponent, selector: "ax-wysiwyg-view" }, { kind: "component", type: i1$1.AXWysiwygToolbarComponent, selector: "ax-wysiwyg-toolbar" }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXToolBarModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXDateTimeModule }, { kind: "ngmodule", type: AXFormatModule }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXColorBoxModule }, { kind: "pipe", type: i2.AXFormatPipe, name: "format" }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2875
2875
  }
2876
2876
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPStickyNoteWidgetViewComponent, decorators: [{
2877
2877
  type: Component,
@@ -5012,7 +5012,7 @@ class AXMDashboardManagementModule {
5012
5012
  provide: AXP_PERMISSION_DEFINITION_PROVIDER,
5013
5013
  useFactory: async () => {
5014
5014
  const injector = inject(Injector);
5015
- const provider = (await import('./acorex-modules-dashboard-management-permission-definition.provider-CDof9JW9.mjs')).AXMPermissionDefinitionProvider;
5015
+ const provider = (await import('./acorex-modules-dashboard-management-permission-definition.provider-tvIEsms4.mjs')).AXMPermissionDefinitionProvider;
5016
5016
  return new provider(injector);
5017
5017
  },
5018
5018
  multi: true,
@@ -5092,7 +5092,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
5092
5092
  provide: AXP_PERMISSION_DEFINITION_PROVIDER,
5093
5093
  useFactory: async () => {
5094
5094
  const injector = inject(Injector);
5095
- const provider = (await import('./acorex-modules-dashboard-management-permission-definition.provider-CDof9JW9.mjs')).AXMPermissionDefinitionProvider;
5095
+ const provider = (await import('./acorex-modules-dashboard-management-permission-definition.provider-tvIEsms4.mjs')).AXMPermissionDefinitionProvider;
5096
5096
  return new provider(injector);
5097
5097
  },
5098
5098
  multi: true,
@@ -5360,13 +5360,13 @@ const modelToDashboardLayout = (model) => ({
5360
5360
  title: model.title,
5361
5361
  description: model.description,
5362
5362
  widgets: model.widgets || [],
5363
- createdBy: model.userId ?? (model.auditInfo?.created?.by?.id),
5363
+ createdBy: model.userId ?? model.auditInfo?.created?.by?.id,
5364
5364
  roleIds: model.roleIds,
5365
5365
  isDeleted: model.isDeleted,
5366
5366
  locked: model.locked,
5367
- createdAt: (model.auditInfo?.created?.at),
5368
- updatedAt: (model.auditInfo?.updated?.at),
5369
- updatedBy: (model.auditInfo?.updated?.by?.id),
5367
+ createdAt: model.auditInfo?.created?.at,
5368
+ updatedAt: model.auditInfo?.updated?.at,
5369
+ updatedBy: model.auditInfo?.updated?.by?.id,
5370
5370
  scope: model.scope,
5371
5371
  });
5372
5372
  /**
@@ -5383,8 +5383,12 @@ const dashboardLayoutToModel = (layout) => ({
5383
5383
  isDeleted: layout.isDeleted,
5384
5384
  locked: layout.locked,
5385
5385
  auditInfo: {
5386
- created: layout.createdAt ? { at: layout.createdAt, by: layout.createdBy ? { id: layout.createdBy, type: 'user' } : undefined } : undefined,
5387
- updated: layout.updatedAt ? { at: layout.updatedAt, by: layout.updatedBy ? { id: layout.updatedBy, type: 'user' } : undefined } : undefined,
5386
+ created: layout.createdAt
5387
+ ? { at: layout.createdAt, by: layout.createdBy ? { id: layout.createdBy, type: 'user' } : undefined }
5388
+ : undefined,
5389
+ updated: layout.updatedAt
5390
+ ? { at: layout.updatedAt, by: layout.updatedBy ? { id: layout.updatedBy, type: 'user' } : undefined }
5391
+ : undefined,
5388
5392
  },
5389
5393
  scope: layout.scope,
5390
5394
  });
@@ -5505,14 +5509,14 @@ const AXMDashboardStore = signalStore({ providedIn: 'root' },
5505
5509
  withState(() => createInitialState()),
5506
5510
  //#endregion
5507
5511
  //#region ---- Computed Properties ----
5508
- withComputed((state, sessionService = inject(AXPSessionService), layoutThemeService = inject(AXPLayoutThemeService)) => ({
5512
+ withComputed((state, sessionService = inject(AXPSessionService), deviceService = inject(AXPDeviceService)) => ({
5509
5513
  selectedDashboard: computed(() => state.dashboards().find((dashboard) => dashboard.id === state.currentDashboardId()) || null),
5510
5514
  isUserAdmin: computed(() => state.isAdmin()),
5511
5515
  availableDashboards: computed(() => state.allDashboards()),
5512
5516
  currentLayoutOptions: computed(() => {
5513
5517
  const currentDashboard = state.dashboards().find((dashboard) => dashboard.id === state.currentDashboardId());
5514
5518
  const baseOptions = state.dashboardsOption();
5515
- const isDesktop = layoutThemeService.isDesktopDevice();
5519
+ const isDesktop = deviceService.isDesktopDevice();
5516
5520
  const userRole = readUserRole(sessionService);
5517
5521
  return deriveLayoutOptions(baseOptions, currentDashboard || undefined, state.isAdmin(), isDesktop, userRole);
5518
5522
  }),
@@ -5530,7 +5534,7 @@ withComputed((state, sessionService = inject(AXPSessionService), layoutThemeServ
5530
5534
  })),
5531
5535
  //#endregion
5532
5536
  //#region ---- Methods ----
5533
- withMethods((store, dashboardPopup = inject(AXMDashboardPopupService), dialogService = inject(AXDialogService), translationService = inject(AXTranslationService), widgetPickerService = inject(AXPWidgetPickerService), dashboardService = inject(AXMDashboardService), settingService = inject(AXPSettingService), sessionService = inject(AXPSessionService), layoutThemeService = inject(AXPLayoutThemeService), usersService = inject(AXMUsersEntityService)) => {
5537
+ withMethods((store, dashboardPopup = inject(AXMDashboardPopupService), dialogService = inject(AXDialogService), translationService = inject(AXTranslationService), widgetPickerService = inject(AXPWidgetPickerService), dashboardService = inject(AXMDashboardService), settingService = inject(AXPSettingService), sessionService = inject(AXPSessionService), deviceService = inject(AXPDeviceService), usersService = inject(AXMUsersEntityService)) => {
5534
5538
  // Load dashboards from service - runs on init and when admin flag changes
5535
5539
  effect(() => {
5536
5540
  const isAdmin = store.isUserAdmin();
@@ -5851,7 +5855,7 @@ withMethods((store, dashboardPopup = inject(AXMDashboardPopupService), dialogSer
5851
5855
  * Handles grid layout changes (drag/resize) on desktop and saves positions.
5852
5856
  */
5853
5857
  async onGridChange(event) {
5854
- if (!layoutThemeService.isDesktopDevice() || !store.selectedDashboard())
5858
+ if (!deviceService.isDesktopDevice() || !store.selectedDashboard())
5855
5859
  return;
5856
5860
  const nodes = event.nodes.map(({ element, ...rest }) => rest);
5857
5861
  const currentDashboard = store.selectedDashboard();
@@ -5909,7 +5913,7 @@ withMethods((store, dashboardPopup = inject(AXMDashboardPopupService), dialogSer
5909
5913
  async handleValueChanged(widgetNode, data) {
5910
5914
  if (!store.selectedDashboard())
5911
5915
  return;
5912
- if (!layoutThemeService.isDesktopDevice()) {
5916
+ if (!deviceService.isDesktopDevice()) {
5913
5917
  return;
5914
5918
  }
5915
5919
  try {
@@ -6035,6 +6039,7 @@ class AXMDashboardHomeComponent extends AXPPageLayoutBaseComponent {
6035
6039
  this.router = inject(Router);
6036
6040
  this.store = inject(AXMDashboardStore);
6037
6041
  this.themeService = inject(AXPLayoutThemeService);
6042
+ this.deviceService = inject(AXPDeviceService);
6038
6043
  // Component State
6039
6044
  this.context = signal({}, ...(ngDevMode ? [{ debugName: "context" }] : []));
6040
6045
  this.dashboardsLoaded = signal(false, ...(ngDevMode ? [{ debugName: "dashboardsLoaded" }] : []));
@@ -6121,7 +6126,7 @@ class AXMDashboardHomeComponent extends AXPPageLayoutBaseComponent {
6121
6126
  command: { name: 'edit' },
6122
6127
  },
6123
6128
  ];
6124
- if (!this.store.isUserAdmin() && this.themeService.isDesktopDevice()) {
6129
+ if (!this.store.isUserAdmin() && this.deviceService.isDesktopDevice()) {
6125
6130
  items.push({
6126
6131
  title: await this.translateService.translateAsync(this.store.isDashboardLocked() ? '@general:actions.unlock.title' : '@general:actions.lock.title', {
6127
6132
  scope: 'dashboard',
@@ -6416,4 +6421,4 @@ var AXPHomeDashboardSetting;
6416
6421
  */
6417
6422
 
6418
6423
  export { AXMPermissionsKeys as A, AXPDonutChartWidget as B, AXPGaugeChartWidgetViewComponent as C, AXPGaugeChartWidget as D, AXPLineChartWidgetViewComponent as E, AXPLineChartWidget as F, AXPStickyNoteWidgetViewComponent as G, AXPStickyNoteWidget as H, AXMAdvancedWeatherViewComponent as I, AXPAdvancedWeatherWidget as J, AXMMinimalWeatherViewComponent as K, AXPMinimalWeatherWidget as L, AXPWeatherApiAbstract as M, AXPWeatherApiMockService as N, AXPWeatherApiService as O, AXPWeatherWidgetViewComponent as P, AXPWeatherWidget as Q, RootConfig as R, AXMDashboardManagementModule as a, AXMDashboardService as b, AXMDashboardServiceImpl as c, dashboardFactory as d, AXMDashboardEntityModule as e, AXMDashboardHomeComponent as f, AXMDashboardStore as g, AXMAddDashboardPopup as h, AXMConfigurationPopup as i, AXMDashboardPopupService as j, AXPHomeDashboardSetting as k, AXMDashboardWidgetWrapperComponent as l, AXMClockWidgetViewComponent as m, AXPAnalogClockWidget as n, AXMAnalogClockComponent as o, AXPBarChartWidgetViewComponent as p, AXPBarChartWidget as q, AXP_WIDGETS_CHART_CATEGORY as r, AXP_WIDGETS_UTILITY_CATEGORY as s, AXPClockCalendarWidgetViewComponent as t, AXPClockCalendarWidget as u, AXP_TIMEZONE_OPTIONS as v, AXP_DATE_FORMAT_OPTIONS as w, AXPDashboardShortcutWidgetViewComponent as x, AXPDashboardShortcutWidget as y, AXPDonutChartWidgetViewComponent as z };
6419
- //# sourceMappingURL=acorex-modules-dashboard-management-acorex-modules-dashboard-management-D2sEG8P9.mjs.map
6424
+ //# sourceMappingURL=acorex-modules-dashboard-management-acorex-modules-dashboard-management-DxvJ5FUP.mjs.map