@acorex/modules 18.2.2 → 18.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/application-management/lib/layouts/module-entity-detail-view/module-entity-detail-view.component.d.ts +42 -4
- package/auth/lib/account/profile/profile-slot.component.d.ts +0 -1
- package/auth/lib/error-handler.d.ts +0 -1
- package/backend/lib/data/api/data-provider.d.ts +1 -0
- package/backend/lib/data/index.d.ts +0 -1
- package/esm2022/application-management/lib/layouts/module-entity-detail-view/module-entity-detail-view.component.mjs +6 -10
- package/esm2022/application-management/lib/menu.provider.mjs +3 -3
- package/esm2022/auth/lib/account/profile/profile-slot.component.mjs +2 -4
- package/esm2022/auth/lib/error-handler.mjs +4 -5
- package/esm2022/auth/lib/menu.provider.mjs +6 -6
- package/esm2022/backend/lib/data/api/data-provider.mjs +6 -3
- package/esm2022/backend/lib/data/index.mjs +1 -2
- package/esm2022/form-template-management/lib/form-template-management.module.mjs +39 -29
- package/esm2022/form-template-management/lib/menu.provider.mjs +3 -3
- package/esm2022/form-template-management/lib/services/designer-connector.service.mjs +9 -2
- package/esm2022/form-template-management/lib/workflows/design-template.workflow.mjs +2 -2
- package/esm2022/localization-management/lib/menu.provider.mjs +5 -5
- package/esm2022/notification-management/lib/menu.provider.mjs +5 -5
- package/esm2022/platform-management/lib/menu.provider.mjs +4 -4
- package/esm2022/scheduler-job-management/acorex-modules-scheduler-job-management.mjs +5 -0
- package/esm2022/scheduler-job-management/index.mjs +5 -0
- package/esm2022/scheduler-job-management/lib/const.mjs +8 -0
- package/esm2022/scheduler-job-management/lib/entities/index.mjs +2 -0
- package/esm2022/scheduler-job-management/lib/entities/scheduler-job/index.mjs +5 -0
- package/esm2022/scheduler-job-management/lib/entities/scheduler-job/scheduler-job.entity.mjs +333 -0
- package/esm2022/scheduler-job-management/lib/entities/scheduler-job/scheduler-job.module.mjs +28 -0
- package/esm2022/scheduler-job-management/lib/entities/scheduler-job/scheduler-job.service.mjs +17 -0
- package/esm2022/scheduler-job-management/lib/entities/scheduler-job/scheduler-job.types.mjs +2 -0
- package/esm2022/scheduler-job-management/lib/entity.provider.mjs +25 -0
- package/esm2022/scheduler-job-management/lib/menu.provider.mjs +31 -0
- package/esm2022/scheduler-job-management/lib/scheduler-job-management.module.mjs +44 -0
- package/esm2022/text-template-management/lib/entities/category/category.entity.mjs +6 -1
- package/esm2022/text-template-management/lib/menu.provider.mjs +4 -4
- package/esm2022/text-template-management/lib/setting.provider.mjs +282 -22
- package/fesm2022/{acorex-modules-application-management-module-designer.component-DjRdIBQt.mjs → acorex-modules-application-management-module-designer.component-B6WPz0N8.mjs} +2 -2
- package/fesm2022/{acorex-modules-application-management-module-designer.component-DjRdIBQt.mjs.map → acorex-modules-application-management-module-designer.component-B6WPz0N8.mjs.map} +1 -1
- package/fesm2022/acorex-modules-application-management.mjs +9 -12
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-Chw_5AKM.mjs → acorex-modules-auth-acorex-modules-auth-DQzSrtut.mjs} +19 -21
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-DQzSrtut.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-DN04Uoqa.mjs → acorex-modules-auth-app-chooser.component-BFQgjqFV.mjs} +3 -3
- package/fesm2022/{acorex-modules-auth-app-chooser.component-DN04Uoqa.mjs.map → acorex-modules-auth-app-chooser.component-BFQgjqFV.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-Bir7SJ8b.mjs → acorex-modules-auth-login.module-KR2dB8vW.mjs} +6 -6
- package/fesm2022/{acorex-modules-auth-login.module-Bir7SJ8b.mjs.map → acorex-modules-auth-login.module-KR2dB8vW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-DwijDvUp.mjs → acorex-modules-auth-master.layout-CU27gbWp.mjs} +3 -3
- package/fesm2022/{acorex-modules-auth-master.layout-DwijDvUp.mjs.map → acorex-modules-auth-master.layout-CU27gbWp.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-CuLQNJ-W.mjs → acorex-modules-auth-password.component-9uIMNoQE.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-password.component-CuLQNJ-W.mjs.map → acorex-modules-auth-password.component-9uIMNoQE.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-C1S8V4Bw.mjs → acorex-modules-auth-password.component-DpjEjw0o.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-password.component-C1S8V4Bw.mjs.map → acorex-modules-auth-password.component-DpjEjw0o.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-ILpWODmz.mjs → acorex-modules-auth-routes-CWqGOFnQ.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-ILpWODmz.mjs.map → acorex-modules-auth-routes-CWqGOFnQ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-bgwR1LBc.mjs → acorex-modules-auth-two-factor.module-Bnoi3ZXB.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-two-factor.module-bgwR1LBc.mjs.map → acorex-modules-auth-two-factor.module-Bnoi3ZXB.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +3 -3
- package/fesm2022/acorex-modules-backend.mjs +8 -96
- package/fesm2022/acorex-modules-backend.mjs.map +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +47 -32
- package/fesm2022/acorex-modules-form-template-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-localization-management.mjs +4 -4
- package/fesm2022/acorex-modules-localization-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +4 -4
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +3 -3
- package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-setting-management.mjs → acorex-modules-scheduler-job-management.mjs} +155 -66
- package/fesm2022/acorex-modules-scheduler-job-management.mjs.map +1 -0
- package/fesm2022/acorex-modules-text-template-management.mjs +290 -24
- package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -1
- package/form-template-management/lib/form-template-management.module.d.ts +6 -7
- package/form-template-management/lib/services/designer-connector.service.d.ts +1 -0
- package/package.json +17 -17
- package/scheduler-job-management/README.md +3 -0
- package/{setting-management → scheduler-job-management}/index.d.ts +1 -1
- package/scheduler-job-management/lib/const.d.ts +7 -0
- package/scheduler-job-management/lib/entities/index.d.ts +1 -0
- package/scheduler-job-management/lib/entities/scheduler-job/index.d.ts +4 -0
- package/{setting-management/lib/entities/setting/setting.entity.d.ts → scheduler-job-management/lib/entities/scheduler-job/scheduler-job.entity.d.ts} +1 -1
- package/scheduler-job-management/lib/entities/scheduler-job/scheduler-job.module.d.ts +6 -0
- package/scheduler-job-management/lib/entities/scheduler-job/scheduler-job.service.d.ts +10 -0
- package/scheduler-job-management/lib/entities/scheduler-job/scheduler-job.types.d.ts +5 -0
- package/scheduler-job-management/lib/entity.provider.d.ts +9 -0
- package/{setting-management → scheduler-job-management}/lib/menu.provider.d.ts +1 -1
- package/scheduler-job-management/lib/scheduler-job-management.module.d.ts +7 -0
- package/backend/lib/data/local/local-data-provider.d.ts +0 -23
- package/esm2022/backend/lib/data/local/local-data-provider.mjs +0 -94
- package/esm2022/setting-management/acorex-modules-setting-management.mjs +0 -5
- package/esm2022/setting-management/index.mjs +0 -5
- package/esm2022/setting-management/lib/const.mjs +0 -7
- package/esm2022/setting-management/lib/entities/index.mjs +0 -2
- package/esm2022/setting-management/lib/entities/setting/index.mjs +0 -5
- package/esm2022/setting-management/lib/entities/setting/setting.entity.mjs +0 -244
- package/esm2022/setting-management/lib/entities/setting/setting.module.mjs +0 -28
- package/esm2022/setting-management/lib/entities/setting/setting.service.mjs +0 -17
- package/esm2022/setting-management/lib/entities/setting/setting.types.mjs +0 -2
- package/esm2022/setting-management/lib/entity.provider.mjs +0 -25
- package/esm2022/setting-management/lib/menu.provider.mjs +0 -32
- package/esm2022/setting-management/lib/setting-management.module.mjs +0 -44
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-Chw_5AKM.mjs.map +0 -1
- package/fesm2022/acorex-modules-setting-management.mjs.map +0 -1
- package/setting-management/README.md +0 -3
- package/setting-management/lib/const.d.ts +0 -6
- package/setting-management/lib/entities/index.d.ts +0 -1
- package/setting-management/lib/entities/setting/index.d.ts +0 -4
- package/setting-management/lib/entities/setting/setting.module.d.ts +0 -6
- package/setting-management/lib/entities/setting/setting.service.d.ts +0 -10
- package/setting-management/lib/entities/setting/setting.types.d.ts +0 -5
- package/setting-management/lib/entity.provider.d.ts +0 -9
- package/setting-management/lib/setting-management.module.d.ts +0 -7
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { AXPStickyDirective, AXPGridLayoutDirective, AXPDataGenerator, AXPEntityStorageService, AXPEntityDataProviderImpl, AXMEntityCrudServiceImpl, AXPWorkflowNavigateAction, AXP_MENU_PROVIDER, AXPEntityCommandScope, AXPEntityQueryType } from '@acorex/platform/common';
|
2
2
|
import { AXPEntityDetailViewModelResolver, AXPEntityService, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
3
3
|
import * as i1$1 from '@acorex/platform/workflow';
|
4
|
-
import {
|
4
|
+
import { AXPWorkflowAction, AXPWorkflowModule } from '@acorex/platform/workflow';
|
5
5
|
import * as i0 from '@angular/core';
|
6
6
|
import { inject, signal, ChangeDetectionStrategy, Component, Injectable, Injector, Optional, Inject, NgModule } from '@angular/core';
|
7
7
|
import * as i2 from '@angular/router';
|
@@ -28,21 +28,18 @@ import * as i10 from '@acorex/core/translation';
|
|
28
28
|
import { AXTranslationModule } from '@acorex/core/translation';
|
29
29
|
import * as i9 from '@acorex/platform/layout/builder';
|
30
30
|
import { AXPLayoutBuilderModule, AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
|
31
|
+
import { AXPLayoutThemeService } from '@acorex/platform/themes/shared';
|
31
32
|
import { AXPWidgetsModule } from '@acorex/platform/widgets';
|
32
33
|
import * as i1 from '@angular/common';
|
33
34
|
import { CommonModule } from '@angular/common';
|
34
|
-
import { Store } from '@ngrx/store';
|
35
35
|
import { applySortArray, applyFilterArray } from '@acorex/platform/core';
|
36
36
|
|
37
37
|
class AXPModuleEntityDetailViewComponent {
|
38
38
|
constructor() {
|
39
39
|
this.activeRoute = inject(ActivatedRoute);
|
40
|
-
this.workflow = inject(AXPWorkflowService);
|
41
40
|
this.vm = this.activeRoute.snapshot.data['vm'];
|
42
41
|
//
|
43
|
-
this.store = inject(
|
44
|
-
this.isSM = this.store.select(isSmallScreen());
|
45
|
-
this.isOpen = this.store.select(getChildDrawer());
|
42
|
+
this.store = inject(AXPLayoutThemeService);
|
46
43
|
this.selectedRelatedIEntityTabIndex = signal(0);
|
47
44
|
this.selectedDetailTabIndex = signal(0);
|
48
45
|
}
|
@@ -57,7 +54,7 @@ class AXPModuleEntityDetailViewComponent {
|
|
57
54
|
this.vm.destroy();
|
58
55
|
}
|
59
56
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPModuleEntityDetailViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
60
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPModuleEntityDetailViewComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<div\n class=\"ax-flex ax-flex-col ax-gap-4 ax-min-h-full ax-px-4 ax-pb-4 md:ax-px-6 ax-bg-surface ax-border-b md:ax-border-0 md:ax-bg-default\"
|
57
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPModuleEntityDetailViewComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<div\n class=\"ax-flex ax-flex-col ax-gap-4 ax-min-h-full ax-px-4 ax-pb-4 md:ax-px-6 ax-bg-surface ax-border-b md:ax-border-0 md:ax-bg-default\">\n <div class=\"ax-flex ax-flex-col ax-pt-4 ax-sticky ax-top-0 ax-z-10 ax-transition-all\" #sticky=\"axpSticky\"\n [axpSticky]=\"'ax-bg-surface ax-px-6 ax-py-3 -ax-mx-6 ax-shadow-xl'\" [stickyOffset]=\"30\">\n <!-------- Begin Toolbar -------->\n <div class=\"ax-flex ax-justify-between ax-items-center\">\n <!-------- Begin Title -------->\n <div class=\"ax-flex ax-gap-1 ax-items-center\">\n <div class=\"ax-flex ax-flex-col ax-gap-2 ax-transition\">\n <div class=\"ax-text-xl md:ax-text-2xl ax-font-bold\">{{ vm.title() | translate | async }}</div>\n @if(vm.description()) {\n <div class=\"ax-text-sm ax-text-neutral-600\" [class.ax-hidden]=\"sticky.isSticky\">\n {{ vm.description() }}\n </div>\n }\n <ax-breadcrumbs class=\"child:ax-font-normal child:ax-text-neutral-400\" [class.ax-hidden]=\"store.isSmall()\">\n <ng-template #divider>\n <i class=\"fa-solid fa-chevron-right ax-text-xs ax-mx-2\"></i>\n </ng-template>\n @for(b of vm.beardcrumbs();track $index;let last=$last) {\n <ax-breadcrumbs-item [active]=\"last\" [class.!ax-font-semibold]=\"last\" [class.!ax-text-neutral-600]=\"last\"\n [routerLink]=\"b.url\">\n @if(b.icon) {\n <i [class]=\"b.icon\"></i>\n }\n {{ b.title | translate | async }}\n </ax-breadcrumbs-item>\n }\n </ax-breadcrumbs>\n </div>\n </div>\n <!-------- Finish Title -------->\n <!--------------------------------------------------------------->\n <!-- Begin Action Menu -->\n <div class=\"ax-flex ax-items-center ax-gap-3\">\n @for(tr of vm.primaryActions();track $index) {\n <ax-button [text]=\"tr.title | translate | async\" [color]=\"tr.color\" (onClick)=\"vm.executeCommand(tr.name)\">\n <ax-prefix>\n <ax-icon [icon]=\"tr.icon\"> </ax-icon>\n </ax-prefix>\n </ax-button>\n } @if(vm.secondaryActions().length) {\n <ax-button [text]=\"(store.isSmall()) ? null : 'Actions'\" color=\"ghost\">\n <ax-prefix>\n <i class=\"fa-solid fa-ellipsis-vertical\"></i>\n </ax-prefix>\n <ax-dropdown-panel>\n <ax-button-item-list>\n @for(tr of vm.secondaryActions();track $index) {\n <ng-container>\n @if(tr.separated) {\n <ax-divider></ax-divider>\n }\n <ax-button-item [text]=\"tr.title\" class=\"ax-font-semibold ax-text-{{ tr.color }}\"\n (onClick)=\"vm.executeCommand(tr.name)\">\n <ax-prefix>\n <ax-icon [icon]=\"tr.icon\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n </ng-container>\n }\n </ax-button-item-list>\n </ax-dropdown-panel>\n </ax-button>\n }\n </div>\n <!-- Finish Action Menu -->\n </div>\n <!-- Start Sections -->\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-4\">\n @for(section of vm.sections(); track section.name()) {\n <div class=\"ax-card ax-mt-4\" [gridLayout]=\"section.layout()\">\n <ax-form #form>\n <axp-widgets-container [context]=\"vm.context()\">\n <div class=\"ax-card-header !ax-py-2 !ax-px-4\">\n <p>\n <span class=\"!ax-text-lg ax-font-semibold\">{{ section.title() }}</span>\n <br />\n @if(section.description()) {\n <span class=\"ax-text-sm ax-font-normal ax-text-gray-500\">{{ section.description() }}</span>\n }\n </p>\n @if(section.editable()) {\n <ax-button class=\"ax-xs\" color=\"ghost\" [look]=\"'blank'\"\n (onClick)=\"vm.executeCommand('modify-entity-section', section)\">\n <ax-icon class=\"fa-solid fa-pen ax-text-gray-600\"> </ax-icon>\n </ax-button>\n }\n </div>\n <div class=\"ax-card-body !ax-grid !ax-grid-cols-12 !ax-gap-4\">\n @for(attr of section.props(); track $index) {\n <div class=\"ax-flex ax-flex-col ax-gap-1\" [gridLayout]=\"attr.layout()\">\n <div>\n <div>\n <span class=\"ax-font-semibold\">{{ attr.title() | translate | async }}</span>\n </div>\n </div>\n <div class=\"ax-text-neutral-500\">\n <axp-widget-renderer [node]=\"attr.node()\" [mode]=\"'view'\"> </axp-widget-renderer>\n </div>\n </div>\n }\n </div>\n </axp-widgets-container>\n </ax-form>\n </div>\n }\n </div>\n <!-- Finish Sections -->\n @if(vm.relatedEntities().length) {\n <ax-tabs [look]=\"'with-line'\" class=\"ax-mt-2 ax-font-semibold\" #tab\n (onActiveTabChanged)=\"handleActiveRelatedEntityChanged($event)\">\n @for(e of vm.relatedEntities();track $index;let index= $index){\n <ax-tab-item [text]=\"(e.title() | translate | async)!\" [key]=\"index.toString()\"> </ax-tab-item>\n }\n </ax-tabs>\n @for(e of vm.relatedEntities();track $index;let index= $index){\n <div [class.ax-hidden]=\"$index !== selectedRelatedIEntityTabIndex()\">\n <axp-entity-detail-list-view [viewModel]=\"e\"></axp-entity-detail-list-view>\n </div>\n } }\n </div>\n</div>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXDropdownModule }, { kind: "component", type: i4.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i5.AXFormComponent, selector: "ax-form", inputs: ["labelMode", "look", "messageStyle", "updateOn"], outputs: ["onValidate", "updateOnChange"] }, { kind: "ngmodule", type: AXActionSheetModule }, { kind: "ngmodule", type: AXDrawerModule }, { kind: "ngmodule", type: AXDialogModule }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "ngmodule", type: AXTabsModule }, { kind: "component", type: i6.AXTabsComponent, selector: "ax-tabs", inputs: ["look", "location", "fitParent", "minWidth", "content"], outputs: ["onActiveTabChanged"] }, { kind: "component", type: i6.AXTabItemComponent, selector: "ax-tab-item", inputs: ["disabled", "text", "key", "headerTemplate", "active"], outputs: ["disabledChange", "onClick", "onBlur", "onFocus", "activeChange"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i7.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "component", type: i7.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: i7.AXButtonItemListComponent, selector: "ax-button-item-list", inputs: ["items"], outputs: ["onItemClick"] }, { kind: "ngmodule", type: AXBreadcrumbsModule }, { kind: "component", type: i8.AXBreadCrumbsComponent, selector: "ax-breadcrumbs" }, { kind: "component", type: i8.AXBreadCrumbsItemComponent, selector: "ax-breadcrumbs-item", inputs: ["disabled", "active"] }, { kind: "ngmodule", type:
|
61
58
|
//
|
62
59
|
AXPLayoutBuilderModule }, { kind: "component", type: i9.AXPWidgetContainerComponent, selector: "axp-widgets-container", inputs: ["context", "variables", "functions"], outputs: ["onChanged", "contextChange"] }, { kind: "component", type: i9.AXPWidgetRendererComponent, selector: "axp-widget-renderer", inputs: ["node", "mode", "parentNode", "index"] }, { kind: "ngmodule", type: AXPWidgetsModule }, { kind: "directive", type: AXPStickyDirective, selector: "[axpSticky]", inputs: ["axpSticky", "stickyOffset", "stickyParent", "stickyTarget"], outputs: ["isStickyChange"], exportAs: ["axpSticky"] }, { kind: "directive", type: AXPGridLayoutDirective, selector: "[gridLayout]", inputs: ["gridLayout"] }, { kind: "ngmodule", type:
|
63
60
|
//
|
@@ -87,7 +84,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
87
84
|
//
|
88
85
|
AXTranslationModule,
|
89
86
|
AXPEntityDetailListViewComponent,
|
90
|
-
], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"ax-flex ax-flex-col ax-gap-4 ax-min-h-full ax-px-4 ax-pb-4 md:ax-px-6 ax-bg-surface ax-border-b md:ax-border-0 md:ax-bg-default\"
|
87
|
+
], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"ax-flex ax-flex-col ax-gap-4 ax-min-h-full ax-px-4 ax-pb-4 md:ax-px-6 ax-bg-surface ax-border-b md:ax-border-0 md:ax-bg-default\">\n <div class=\"ax-flex ax-flex-col ax-pt-4 ax-sticky ax-top-0 ax-z-10 ax-transition-all\" #sticky=\"axpSticky\"\n [axpSticky]=\"'ax-bg-surface ax-px-6 ax-py-3 -ax-mx-6 ax-shadow-xl'\" [stickyOffset]=\"30\">\n <!-------- Begin Toolbar -------->\n <div class=\"ax-flex ax-justify-between ax-items-center\">\n <!-------- Begin Title -------->\n <div class=\"ax-flex ax-gap-1 ax-items-center\">\n <div class=\"ax-flex ax-flex-col ax-gap-2 ax-transition\">\n <div class=\"ax-text-xl md:ax-text-2xl ax-font-bold\">{{ vm.title() | translate | async }}</div>\n @if(vm.description()) {\n <div class=\"ax-text-sm ax-text-neutral-600\" [class.ax-hidden]=\"sticky.isSticky\">\n {{ vm.description() }}\n </div>\n }\n <ax-breadcrumbs class=\"child:ax-font-normal child:ax-text-neutral-400\" [class.ax-hidden]=\"store.isSmall()\">\n <ng-template #divider>\n <i class=\"fa-solid fa-chevron-right ax-text-xs ax-mx-2\"></i>\n </ng-template>\n @for(b of vm.beardcrumbs();track $index;let last=$last) {\n <ax-breadcrumbs-item [active]=\"last\" [class.!ax-font-semibold]=\"last\" [class.!ax-text-neutral-600]=\"last\"\n [routerLink]=\"b.url\">\n @if(b.icon) {\n <i [class]=\"b.icon\"></i>\n }\n {{ b.title | translate | async }}\n </ax-breadcrumbs-item>\n }\n </ax-breadcrumbs>\n </div>\n </div>\n <!-------- Finish Title -------->\n <!--------------------------------------------------------------->\n <!-- Begin Action Menu -->\n <div class=\"ax-flex ax-items-center ax-gap-3\">\n @for(tr of vm.primaryActions();track $index) {\n <ax-button [text]=\"tr.title | translate | async\" [color]=\"tr.color\" (onClick)=\"vm.executeCommand(tr.name)\">\n <ax-prefix>\n <ax-icon [icon]=\"tr.icon\"> </ax-icon>\n </ax-prefix>\n </ax-button>\n } @if(vm.secondaryActions().length) {\n <ax-button [text]=\"(store.isSmall()) ? null : 'Actions'\" color=\"ghost\">\n <ax-prefix>\n <i class=\"fa-solid fa-ellipsis-vertical\"></i>\n </ax-prefix>\n <ax-dropdown-panel>\n <ax-button-item-list>\n @for(tr of vm.secondaryActions();track $index) {\n <ng-container>\n @if(tr.separated) {\n <ax-divider></ax-divider>\n }\n <ax-button-item [text]=\"tr.title\" class=\"ax-font-semibold ax-text-{{ tr.color }}\"\n (onClick)=\"vm.executeCommand(tr.name)\">\n <ax-prefix>\n <ax-icon [icon]=\"tr.icon\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n </ng-container>\n }\n </ax-button-item-list>\n </ax-dropdown-panel>\n </ax-button>\n }\n </div>\n <!-- Finish Action Menu -->\n </div>\n <!-- Start Sections -->\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-4\">\n @for(section of vm.sections(); track section.name()) {\n <div class=\"ax-card ax-mt-4\" [gridLayout]=\"section.layout()\">\n <ax-form #form>\n <axp-widgets-container [context]=\"vm.context()\">\n <div class=\"ax-card-header !ax-py-2 !ax-px-4\">\n <p>\n <span class=\"!ax-text-lg ax-font-semibold\">{{ section.title() }}</span>\n <br />\n @if(section.description()) {\n <span class=\"ax-text-sm ax-font-normal ax-text-gray-500\">{{ section.description() }}</span>\n }\n </p>\n @if(section.editable()) {\n <ax-button class=\"ax-xs\" color=\"ghost\" [look]=\"'blank'\"\n (onClick)=\"vm.executeCommand('modify-entity-section', section)\">\n <ax-icon class=\"fa-solid fa-pen ax-text-gray-600\"> </ax-icon>\n </ax-button>\n }\n </div>\n <div class=\"ax-card-body !ax-grid !ax-grid-cols-12 !ax-gap-4\">\n @for(attr of section.props(); track $index) {\n <div class=\"ax-flex ax-flex-col ax-gap-1\" [gridLayout]=\"attr.layout()\">\n <div>\n <div>\n <span class=\"ax-font-semibold\">{{ attr.title() | translate | async }}</span>\n </div>\n </div>\n <div class=\"ax-text-neutral-500\">\n <axp-widget-renderer [node]=\"attr.node()\" [mode]=\"'view'\"> </axp-widget-renderer>\n </div>\n </div>\n }\n </div>\n </axp-widgets-container>\n </ax-form>\n </div>\n }\n </div>\n <!-- Finish Sections -->\n @if(vm.relatedEntities().length) {\n <ax-tabs [look]=\"'with-line'\" class=\"ax-mt-2 ax-font-semibold\" #tab\n (onActiveTabChanged)=\"handleActiveRelatedEntityChanged($event)\">\n @for(e of vm.relatedEntities();track $index;let index= $index){\n <ax-tab-item [text]=\"(e.title() | translate | async)!\" [key]=\"index.toString()\"> </ax-tab-item>\n }\n </ax-tabs>\n @for(e of vm.relatedEntities();track $index;let index= $index){\n <div [class.ax-hidden]=\"$index !== selectedRelatedIEntityTabIndex()\">\n <axp-entity-detail-list-view [viewModel]=\"e\"></axp-entity-detail-list-view>\n </div>\n } }\n </div>\n</div>" }]
|
91
88
|
}] });
|
92
89
|
|
93
90
|
const AXMApplcationManagementroutes = [
|
@@ -97,7 +94,7 @@ const AXMApplcationManagementroutes = [
|
|
97
94
|
children: [
|
98
95
|
{
|
99
96
|
path: 'module-designer',
|
100
|
-
loadComponent: () => import('./acorex-modules-application-management-module-designer.component-
|
97
|
+
loadComponent: () => import('./acorex-modules-application-management-module-designer.component-B6WPz0N8.mjs').then((c) => c.AXMModuleDesignerComponent),
|
101
98
|
children: [
|
102
99
|
{
|
103
100
|
path: 'm/:module',
|
@@ -345,11 +342,11 @@ class AXMApplicationManagmentModuleMenuProvider {
|
|
345
342
|
context.addItems([
|
346
343
|
{
|
347
344
|
priority: 8001,
|
348
|
-
text: `t("applicationManagement", {scope
|
345
|
+
text: `t("applicationManagement", {scope:"${scope}"})`,
|
349
346
|
icon: 'fa-solid fa-cogs',
|
350
347
|
children: [
|
351
348
|
{
|
352
|
-
text: `t("moduleDesigner", {scope
|
349
|
+
text: `t("moduleDesigner", {scope:"${scope}"})`,
|
353
350
|
//TODO this seems doesnt work well with our functions
|
354
351
|
path: '/console/module-designer',
|
355
352
|
icon: 'fa-solid fa-cog',
|