@acorex/modules 19.3.3-next.0 → 19.3.3-next.1
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/dashboard-management/lib/menu.provider.d.ts +1 -0
- package/document-management/lib/features/shared/document-manager.types.d.ts +2 -0
- package/fesm2022/{acorex-modules-dashboard-management-acorex-modules-dashboard-management-Ccj2AaJ1.mjs → acorex-modules-dashboard-management-acorex-modules-dashboard-management-DKGnh_V9.mjs} +32 -7
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-DKGnh_V9.mjs.map +1 -0
- package/fesm2022/{acorex-modules-dashboard-management-home-dashboard-BXD0g_tp.mjs → acorex-modules-dashboard-management-home-dashboard-By3lZP-J.mjs} +55 -29
- package/fesm2022/acorex-modules-dashboard-management-home-dashboard-By3lZP-J.mjs.map +1 -0
- package/fesm2022/acorex-modules-dashboard-management.mjs +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-Dw7YKb_h.mjs → acorex-modules-document-management-acorex-modules-document-management-hMEt0yZI.mjs} +17 -15
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-Dw7YKb_h.mjs.map → acorex-modules-document-management-acorex-modules-document-management-hMEt0yZI.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-Ty5V60Tu.mjs → acorex-modules-document-management-create-folder-dialog.component-D_FfCqY8.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-Ty5V60Tu.mjs.map → acorex-modules-document-management-create-folder-dialog.component-D_FfCqY8.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-details-view.component-BuUJq8WU.mjs → acorex-modules-document-management-details-view.component-Oxtnvogq.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-details-view.component-BuUJq8WU.mjs.map → acorex-modules-document-management-details-view.component-Oxtnvogq.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-DSCIj1X_.mjs → acorex-modules-document-management-drive-choose.component-BqZyAAAw.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-DSCIj1X_.mjs.map → acorex-modules-document-management-drive-choose.component-BqZyAAAw.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-DvrdSkIZ.mjs → acorex-modules-document-management-large-icons-view.component-9APgNKIu.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-DvrdSkIZ.mjs.map → acorex-modules-document-management-large-icons-view.component-9APgNKIu.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-rIxsD8sE.mjs → acorex-modules-document-management-large-tiles-view.component-Byt-Hl3M.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-rIxsD8sE.mjs.map → acorex-modules-document-management-large-tiles-view.component-Byt-Hl3M.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-list-view.component-BrutZLAU.mjs → acorex-modules-document-management-list-view.component-BeuXrgYL.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-list-view.component-BrutZLAU.mjs.map → acorex-modules-document-management-list-view.component-BeuXrgYL.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-CQOLEctF.mjs → acorex-modules-document-management-permission-definition.provider-9KjrOZc6.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-CQOLEctF.mjs.map → acorex-modules-document-management-permission-definition.provider-9KjrOZc6.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-zSY0PShA.mjs → acorex-modules-document-management-rename-node-dialog.component-BHayM-mO.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-zSY0PShA.mjs.map → acorex-modules-document-management-rename-node-dialog.component-BHayM-mO.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-CFB6g5r6.mjs → acorex-modules-document-management-small-icons-view.component-CNVZaLv2.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-CFB6g5r6.mjs.map → acorex-modules-document-management-small-icons-view.component-CNVZaLv2.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-Dp2Lnb3c.mjs → acorex-modules-document-management-small-tiles-view.component-BDv_sH9f.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-Dp2Lnb3c.mjs.map → acorex-modules-document-management-small-tiles-view.component-BDv_sH9f.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +2 -2
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-BaYlXX3M.mjs → acorex-modules-platform-management-acorex-modules-platform-management-CJZ86Oon.mjs} +94 -12
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-CJZ86Oon.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-list-version.component-DB8pe9so.mjs → acorex-modules-platform-management-list-version.component-a_szjudb.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-list-version.component-DB8pe9so.mjs.map → acorex-modules-platform-management-list-version.component-a_szjudb.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-platform-management-settings.provider-BQzM-lyt.mjs → acorex-modules-platform-management-settings.provider-D_lPw5D4.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-settings.provider-BQzM-lyt.mjs.map → acorex-modules-platform-management-settings.provider-D_lPw5D4.mjs.map} +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/package.json +1 -1
- package/platform-management/lib/entities/promotion/promotion.datasource.d.ts +7 -0
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-Ccj2AaJ1.mjs.map +0 -1
- package/fesm2022/acorex-modules-dashboard-management-home-dashboard-BXD0g_tp.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-BaYlXX3M.mjs.map +0 -1
@@ -1,3 +1,4 @@
|
|
1
|
+
import { AXPFileStorageInfo } from '@acorex/platform/common';
|
1
2
|
import { AXMDocumentManagementDocumentEntityModel, AXMDocumentManagementDocumentTypeEntityModel, AXMDocumentManagementFolderEntityModel } from '../../entities';
|
2
3
|
export interface AXMDocumentExplorerNode {
|
3
4
|
id: string;
|
@@ -12,6 +13,7 @@ export interface AXMDocumentExplorerNode {
|
|
12
13
|
modifiedAt?: Date;
|
13
14
|
createdAt?: Date;
|
14
15
|
fileId?: string;
|
16
|
+
fileStorage?: AXPFileStorageInfo;
|
15
17
|
documentTypes?: AXMNodeType[];
|
16
18
|
}
|
17
19
|
export interface AXMNodeType extends AXMDocumentManagementDocumentTypeEntityModel {
|
@@ -2,7 +2,7 @@ import { AXPSessionService, AXPAuthGuard } from '@acorex/platform/auth';
|
|
2
2
|
import { createAllQueryView, AXPEntityCommandScope, AXPEntityQueryType, AXP_HOME_PAGES, AXP_MENU_PROVIDER, AXP_HOME_PAGE_DEFAULT_KEY } from '@acorex/platform/common';
|
3
3
|
import * as i3$1 from '@acorex/platform/layout/builder';
|
4
4
|
import { AXPWidgetsCatalog, AXPValueWidgetComponent, cloneProperty, AXPWidgetGroupEnum, AXPLayoutWidgetComponent, AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';
|
5
|
-
import { AXMEntityCrudServiceImpl, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
5
|
+
import { AXMEntityCrudServiceImpl, AXPEntityService, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
6
6
|
import { AXP_APPEARANCE_PROPERTY_GROUP, AXP_STYLING_PROPERTY_GROUP, AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_BEHAVIOR_PROPERTY_GROUP, AXP_BG_COLOR_PROPERTY, plainTextDefaultProperty, AXP_DATA_PROPERTY_GROUP, AXP_COLOR_PROPERTY, AXPWidgetsModule } from '@acorex/platform/widgets';
|
7
7
|
import * as i0 from '@angular/core';
|
8
8
|
import { Injectable, inject, Injector, computed, ChangeDetectionStrategy, Component, ChangeDetectorRef, signal, viewChild, ElementRef, HostListener, output, InjectionToken, effect, HostBinding, NgModule } from '@angular/core';
|
@@ -36,7 +36,7 @@ import { AXCheckBoxModule } from '@acorex/components/check-box';
|
|
36
36
|
import { AXImageModule } from '@acorex/components/image';
|
37
37
|
import { AXLabelModule } from '@acorex/components/label';
|
38
38
|
import { AXTabsModule } from '@acorex/components/tabs';
|
39
|
-
import * as
|
39
|
+
import * as i6 from '@acorex/core/translation';
|
40
40
|
import { AXTranslationModule } from '@acorex/core/translation';
|
41
41
|
import { HttpClient, HttpClientModule } from '@angular/common/http';
|
42
42
|
import { AXPopupService } from '@acorex/components/popup';
|
@@ -45,7 +45,7 @@ import { AXPDataGenerator } from '@acorex/platform/core';
|
|
45
45
|
import { AXPWorkflowService } from '@acorex/platform/workflow';
|
46
46
|
|
47
47
|
const config = {
|
48
|
-
i18n: '
|
48
|
+
i18n: 'dashboard',
|
49
49
|
};
|
50
50
|
const RootConfig = {
|
51
51
|
config,
|
@@ -2244,7 +2244,7 @@ class AXPTaskListWidgetViewComponent extends AXPValueWidgetComponent {
|
|
2244
2244
|
return Math.floor(diffMs / (1000 * 60 * 60 * 24));
|
2245
2245
|
}
|
2246
2246
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTaskListWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
2247
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXPTaskListWidgetViewComponent, isStandalone: true, selector: "ng-component", outputs: { taskClick: "taskClick", taskCompleted: "taskCompleted" }, providers: [DatePipe], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-size-full ax-p-4\">\n <!-- Header -->\n <div class=\"ax-flex ax-justify-between ax-items-center ax-mb-3\">\n <h3 class=\"ax-text-lg ax-font-semibold\">{{ 'widget.tasklist.title' | translate | async }}</h3>\n <div class=\"ax-flex ax-gap-2\">\n @if(getPendingTaskCount() > 0){\n <ax-badge\n [text]=\"getPendingTaskCount() + ' ' + ('widget.tasklist.pending' | translate | async)\"\n [color]=\"'warning'\"\n size=\"sm\"\n class=\"ax-ml-1\"\n >\n </ax-badge>\n } @if(getCompletedTaskCount() > 0){\n <ax-badge\n [text]=\"getCompletedTaskCount() + ' ' + ('widget.tasklist.completed' | translate | async)\"\n [color]=\"'success'\"\n size=\"sm\"\n class=\"ax-ml-1\"\n >\n </ax-badge>\n }\n </div>\n </div>\n\n <!-- Task List -->\n <div class=\"ax-space-y-4 ax-my-4 ax-px-2\">\n @if (showCategories() && hasCategories()) {\n <!-- Categorized Tasks -->\n @for (category of getCategories(); track category) {\n <div class=\"ax-mb-3\">\n <!-- Category Header -->\n <div class=\"ax-flex ax-justify-between ax-items-center ax-mb-2 ax-h-5\">\n <h4 class=\"ax-font-medium ax-text-gray-700\">{{ category }}</h4>\n @if(getCategoryTaskCount(category)){\n <ax-badge [text]=\"getCategoryTaskCount(category).toString()\" [color]=\"'primary'\" size=\"sm\"></ax-badge>\n }\n </div>\n <!-- Tasks in Category -->\n @for (task of getTasksByCategory(category); track task.id) {\n <ng-container\n [ngTemplateOutlet]=\"taskItemTemplateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: task }\"\n ></ng-container>\n }\n </div>\n } } @else {\n <!-- Uncategorized Tasks -->\n @for (task of taskItems(); track task.id) {\n <ng-container\n [ngTemplateOutlet]=\"taskItemTemplateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: task }\"\n ></ng-container>\n } @empty {\n <!-- Empty State -->\n <div class=\"ax-flex ax-flex-col ax-items-center ax-justify-center ax-py-12 ax-px-4 ax-text-gray-400\">\n <ax-icon class=\"ax-text-4xl ax-mb-3 ax-text-gray-300\">\n <i class=\"fa-light fa-clipboard-list-check\"></i>\n </ax-icon>\n <p class=\"ax-text-center\">{{ 'widget.tasklist.noTasks' | translate | async }}</p>\n </div>\n } }\n </div>\n</div>\n\n<!-- Task Item Template -->\n<ng-template #taskItemTemplateRef let-task>\n <div class=\"ax-flex ax-gap-3 ax-items-center ax-py-2 ax-border-b ax-border-gray-100 last:ax-border-0\">\n <!-- Checkbox -->\n <ax-check-box\n class=\"ax-flex-shrink-0\"\n [value]=\"task.completed\"\n [disabled]=\"!allowMarkComplete()\"\n (valueChange)=\"onTaskCompletionChange(task, $event)\"\n >\n </ax-check-box>\n\n <!-- Task Details -->\n <div class=\"ax-overflow-hidden ax-grow ax-text-start\" (click)=\"onTaskClick(task)\">\n <!-- Title and Priority -->\n <div class=\"ax-flex ax-items-center ax-gap-2\">\n <h6\n class=\"ax-font-semibold ax-truncate ax-pb-1\"\n [class.ax-line-through]=\"task.completed\"\n [class.ax-text-gray-400]=\"task.completed\"\n >\n {{ task.title }}\n </h6>\n @if(showPriority() && task.priority) {\n <ax-badge [color]=\"getPriorityColor(task.priority)\" [text]=\"task.priority\" size=\"sm\" class=\"ax-ml-1\"></ax-badge>\n }\n </div>\n\n <!-- Metadata -->\n <div class=\"ax-flex ax-flex-wrap ax-gap-x-3 ax-gap-y-1 ax-mt-1 ax-text-xs ax-text-gray-500\">\n @if(showDate() && task.dueDate) {\n <span class=\"ax-flex ax-items-center ax-gap-1\" [class.ax-text-danger-500]=\"getDaysDifference(task.dueDate) < 0\">\n <ax-icon><i class=\"fa-light fa-calendar\"></i></ax-icon>\n {{ formatDueDate(task.dueDate) }}\n </span>\n } @if(showAssignee() && task.assignedTo) {\n <span class=\"ax-flex ax-items-center ax-gap-1\">\n <ax-icon><i class=\"fa-light fa-user\"></i></ax-icon>\n {{ task.assignedTo.name }}\n </span>\n }\n </div>\n </div>\n </div>\n</ng-template>\n", styles: [":host{display:block;height:100%;width:100%}.task-completed{text-decoration:line-through;color:var(--ax-text-secondary)}\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: AXTabsModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2$2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i3.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXAvatarModule }, { kind: "ngmodule", type: AXImageModule }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "component", type: i4.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "color", "value", "name", "id", "checked", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type:
|
2247
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXPTaskListWidgetViewComponent, isStandalone: true, selector: "ng-component", outputs: { taskClick: "taskClick", taskCompleted: "taskCompleted" }, providers: [DatePipe], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-size-full ax-p-4\">\n <!-- Header -->\n <div class=\"ax-flex ax-justify-between ax-items-center ax-mb-3\">\n <h3 class=\"ax-text-lg ax-font-semibold\">{{ 'widget.tasklist.title' | translate | async }}</h3>\n <div class=\"ax-flex ax-gap-2\">\n @if(getPendingTaskCount() > 0){\n <ax-badge\n [text]=\"getPendingTaskCount() + ' ' + ('widget.tasklist.pending' | translate | async)\"\n [color]=\"'warning'\"\n size=\"sm\"\n class=\"ax-ml-1\"\n >\n </ax-badge>\n } @if(getCompletedTaskCount() > 0){\n <ax-badge\n [text]=\"getCompletedTaskCount() + ' ' + ('widget.tasklist.completed' | translate | async)\"\n [color]=\"'success'\"\n size=\"sm\"\n class=\"ax-ml-1\"\n >\n </ax-badge>\n }\n </div>\n </div>\n\n <!-- Task List -->\n <div class=\"ax-space-y-4 ax-my-4 ax-px-2\">\n @if (showCategories() && hasCategories()) {\n <!-- Categorized Tasks -->\n @for (category of getCategories(); track category) {\n <div class=\"ax-mb-3\">\n <!-- Category Header -->\n <div class=\"ax-flex ax-justify-between ax-items-center ax-mb-2 ax-h-5\">\n <h4 class=\"ax-font-medium ax-text-gray-700\">{{ category }}</h4>\n @if(getCategoryTaskCount(category)){\n <ax-badge [text]=\"getCategoryTaskCount(category).toString()\" [color]=\"'primary'\" size=\"sm\"></ax-badge>\n }\n </div>\n <!-- Tasks in Category -->\n @for (task of getTasksByCategory(category); track task.id) {\n <ng-container\n [ngTemplateOutlet]=\"taskItemTemplateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: task }\"\n ></ng-container>\n }\n </div>\n } } @else {\n <!-- Uncategorized Tasks -->\n @for (task of taskItems(); track task.id) {\n <ng-container\n [ngTemplateOutlet]=\"taskItemTemplateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: task }\"\n ></ng-container>\n } @empty {\n <!-- Empty State -->\n <div class=\"ax-flex ax-flex-col ax-items-center ax-justify-center ax-py-12 ax-px-4 ax-text-gray-400\">\n <ax-icon class=\"ax-text-4xl ax-mb-3 ax-text-gray-300\">\n <i class=\"fa-light fa-clipboard-list-check\"></i>\n </ax-icon>\n <p class=\"ax-text-center\">{{ 'widget.tasklist.noTasks' | translate | async }}</p>\n </div>\n } }\n </div>\n</div>\n\n<!-- Task Item Template -->\n<ng-template #taskItemTemplateRef let-task>\n <div class=\"ax-flex ax-gap-3 ax-items-center ax-py-2 ax-border-b ax-border-gray-100 last:ax-border-0\">\n <!-- Checkbox -->\n <ax-check-box\n class=\"ax-flex-shrink-0\"\n [value]=\"task.completed\"\n [disabled]=\"!allowMarkComplete()\"\n (valueChange)=\"onTaskCompletionChange(task, $event)\"\n >\n </ax-check-box>\n\n <!-- Task Details -->\n <div class=\"ax-overflow-hidden ax-grow ax-text-start\" (click)=\"onTaskClick(task)\">\n <!-- Title and Priority -->\n <div class=\"ax-flex ax-items-center ax-gap-2\">\n <h6\n class=\"ax-font-semibold ax-truncate ax-pb-1\"\n [class.ax-line-through]=\"task.completed\"\n [class.ax-text-gray-400]=\"task.completed\"\n >\n {{ task.title }}\n </h6>\n @if(showPriority() && task.priority) {\n <ax-badge [color]=\"getPriorityColor(task.priority)\" [text]=\"task.priority\" size=\"sm\" class=\"ax-ml-1\"></ax-badge>\n }\n </div>\n\n <!-- Metadata -->\n <div class=\"ax-flex ax-flex-wrap ax-gap-x-3 ax-gap-y-1 ax-mt-1 ax-text-xs ax-text-gray-500\">\n @if(showDate() && task.dueDate) {\n <span class=\"ax-flex ax-items-center ax-gap-1\" [class.ax-text-danger-500]=\"getDaysDifference(task.dueDate) < 0\">\n <ax-icon><i class=\"fa-light fa-calendar\"></i></ax-icon>\n {{ formatDueDate(task.dueDate) }}\n </span>\n } @if(showAssignee() && task.assignedTo) {\n <span class=\"ax-flex ax-items-center ax-gap-1\">\n <ax-icon><i class=\"fa-light fa-user\"></i></ax-icon>\n {{ task.assignedTo.name }}\n </span>\n }\n </div>\n </div>\n </div>\n</ng-template>\n", styles: [":host{display:block;height:100%;width:100%}.task-completed{text-decoration:line-through;color:var(--ax-text-secondary)}\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: AXTabsModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2$2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i3.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXAvatarModule }, { kind: "ngmodule", type: AXImageModule }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "component", type: i4.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "color", "value", "name", "id", "checked", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
2248
2248
|
}
|
2249
2249
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPTaskListWidgetViewComponent, decorators: [{
|
2250
2250
|
type: Component,
|
@@ -3531,7 +3531,7 @@ class AXPDashboardShortcutWidgetViewComponent extends AXPLayoutWidgetComponent {
|
|
3531
3531
|
<span class="ax-text-xl ax-font-semibold">Add Shortcut</span>
|
3532
3532
|
</div>
|
3533
3533
|
}
|
3534
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type:
|
3534
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
3535
3535
|
}
|
3536
3536
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPDashboardShortcutWidgetViewComponent, decorators: [{
|
3537
3537
|
type: Component,
|
@@ -3606,11 +3606,30 @@ const AXPDashboardShortcutWidget = {
|
|
3606
3606
|
class AXMMenuProvider {
|
3607
3607
|
constructor() {
|
3608
3608
|
this.sessionService = inject(AXPSessionService);
|
3609
|
+
this.entityService = inject(AXPEntityService);
|
3609
3610
|
}
|
3610
3611
|
async provide(context) {
|
3611
3612
|
const scope = RootConfig.config.i18n;
|
3612
3613
|
const module = RootConfig.module;
|
3613
3614
|
const appName = this.sessionService.application?.name;
|
3615
|
+
context.addItems([
|
3616
|
+
{
|
3617
|
+
priority: 9001,
|
3618
|
+
text: `t('root-menu', {scope: "${scope}"})`,
|
3619
|
+
icon: RootConfig.module.icon,
|
3620
|
+
data: {
|
3621
|
+
// requiredPermission: 'demo.admin.settings',
|
3622
|
+
},
|
3623
|
+
children: [
|
3624
|
+
{
|
3625
|
+
text: `t('dashboards', {scope: "${scope}"})`,
|
3626
|
+
path: `${this.sessionService.application?.name}/dashboard/management`,
|
3627
|
+
icon: RootConfig.entities.dashboard.icon,
|
3628
|
+
priority: 1,
|
3629
|
+
},
|
3630
|
+
],
|
3631
|
+
},
|
3632
|
+
]);
|
3614
3633
|
const isAuthorized = await firstValueFrom(this.sessionService.isAuthorized$);
|
3615
3634
|
if (!isAuthorized) {
|
3616
3635
|
return;
|
@@ -3629,7 +3648,13 @@ function routesFactory() {
|
|
3629
3648
|
children: [
|
3630
3649
|
{
|
3631
3650
|
path: 'dashboard',
|
3632
|
-
loadComponent: () => import('./acorex-modules-dashboard-management-home-dashboard-
|
3651
|
+
loadComponent: () => import('./acorex-modules-dashboard-management-home-dashboard-By3lZP-J.mjs').then((c) => c.AXMDashboardHomeComponent),
|
3652
|
+
children: [
|
3653
|
+
{
|
3654
|
+
path: 'management',
|
3655
|
+
loadComponent: () => import('./acorex-modules-dashboard-management-home-dashboard-By3lZP-J.mjs').then((c) => c.AXMDashboardHomeComponent),
|
3656
|
+
},
|
3657
|
+
],
|
3633
3658
|
},
|
3634
3659
|
],
|
3635
3660
|
};
|
@@ -3752,4 +3777,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
3752
3777
|
*/
|
3753
3778
|
|
3754
3779
|
export { AXMDashboardService as A, RootConfig as R, AXMDashboardManagementModule as a, AXPBarChartWidgetViewComponent as b, AXPBarChartWidget as c, AXP_WIDGETS_CHART_CATEGORY as d, AXP_WIDGETS_UTILITY_CATEGORY as e, AXPClockCalendarWidgetViewComponent as f, AXPClockCalendarWidget as g, AXP_TIMEZONE_OPTIONS as h, AXP_DATE_FORMAT_OPTIONS as i, AXPDonutChartWidgetViewComponent as j, AXPDonutChartWidget as k, AXPGaugeChartWidgetViewComponent as l, AXPGaugeChartWidget as m, AXPLineChartWidgetViewComponent as n, AXPLineChartWidget as o, AXPStickyNoteWidgetViewComponent as p, AXPStickyNoteWidget as q, AXPTaskListWidgetViewComponent as r, AXPTaskListWidget as s, AXPWeatherApiAbstract as t, AXPWeatherApiMockService as u, AXPWeatherApiService as v, AXPWeatherWidgetViewComponent as w, AXPWeatherWidget as x };
|
3755
|
-
//# sourceMappingURL=acorex-modules-dashboard-management-acorex-modules-dashboard-management-
|
3780
|
+
//# sourceMappingURL=acorex-modules-dashboard-management-acorex-modules-dashboard-management-DKGnh_V9.mjs.map
|