@acorex/modules 20.2.4-next.7 → 20.2.4-next.9
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/index.d.ts +2 -2
- package/fesm2022/acorex-modules-dashboard-management.mjs +3 -3
- package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-BhU14Qou.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-Cp2gr7Iv.mjs} +69 -69
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-Cp2gr7Iv.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-D4lGFRCA.mjs → acorex-modules-form-template-management-permission-definition.provider-C1RCxyNV.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-D4lGFRCA.mjs.map → acorex-modules-form-template-management-permission-definition.provider-C1RCxyNV.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-settings.provider-499Y4rLb.mjs → acorex-modules-form-template-management-settings.provider-6AeK3OKQ.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-settings.provider-499Y4rLb.mjs.map → acorex-modules-form-template-management-settings.provider-6AeK3OKQ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template-picker.component-2EkzMuIy.mjs → acorex-modules-form-template-management-template-picker.component-CLjMSNDH.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-template-picker.component-2EkzMuIy.mjs.map → acorex-modules-form-template-management-template-picker.component-CLjMSNDH.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-DwgbgFrf.mjs → acorex-modules-form-template-management-template-widget-edit.component-C54ki1jt.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-DwgbgFrf.mjs.map → acorex-modules-form-template-management-template-widget-edit.component-C54ki1jt.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template.entity-D_14HgMr.mjs → acorex-modules-form-template-management-template.entity-juNqjlv4.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-template.entity-D_14HgMr.mjs.map → acorex-modules-form-template-management-template.entity-juNqjlv4.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-BLgx_xby.mjs → acorex-modules-form-template-management-viewer-popup.component-CV8UjR-U.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-BLgx_xby.mjs.map → acorex-modules-form-template-management-viewer-popup.component-CV8UjR-U.mjs.map} +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +5 -5
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-task-management.mjs +3 -3
- package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
- package/package.json +14 -13
- package/security-management/index.d.ts +3 -3
- package/task-management/index.d.ts +2 -2
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-BhU14Qou.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AXPSessionService, AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
|
|
2
2
|
import { AXPSearchCommandProvider, AXPWorkflowNavigateAction, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
|
|
3
3
|
import * as i1 from '@acorex/platform/layout/builder';
|
|
4
|
-
import { AXPValueWidgetComponent, AXPLayoutBuilderModule,
|
|
4
|
+
import { AXPValueWidgetComponent, AXPLayoutBuilderModule, AXPLayoutBaseWidgetComponent, createStringProperty, AXPWidgetGroupEnum, AXP_WIDGETS_ADVANCE_CATEGORY, AXP_WIDGETS_LAYOUT_CATEGORY } from '@acorex/platform/layout/builder';
|
|
5
5
|
import { AXPDesignerConnector, AXPDesignerService, AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetMiniButtonComponent, AXPDesignerMessageKeys } from '@acorex/platform/layout/designer';
|
|
6
6
|
import { AXMEntityCrudServiceImpl, AXPEntityService, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
|
7
7
|
import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_BEHAVIOR_PROPERTY_GROUP, AXPWidgetsModule } from '@acorex/platform/widgets';
|
|
@@ -101,7 +101,7 @@ class AXMEntityProvider {
|
|
|
101
101
|
if (moduleName == RootConfig.module.name) {
|
|
102
102
|
switch (entityName) {
|
|
103
103
|
case RootConfig.entities.template.name:
|
|
104
|
-
return (await import('./acorex-modules-form-template-management-template.entity-
|
|
104
|
+
return (await import('./acorex-modules-form-template-management-template.entity-juNqjlv4.mjs')).factory(this.injector);
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
return null;
|
|
@@ -388,7 +388,7 @@ class AXPTemplateWidgetProviderService {
|
|
|
388
388
|
return null;
|
|
389
389
|
}
|
|
390
390
|
async chooseTemplate() {
|
|
391
|
-
const com = await import('./acorex-modules-form-template-management-template-picker.component-
|
|
391
|
+
const com = await import('./acorex-modules-form-template-management-template-picker.component-CLjMSNDH.mjs').then((c) => c.AXPTemplateWidgetPickerComponent);
|
|
392
392
|
const widgets = await this.items({
|
|
393
393
|
skip: 0,
|
|
394
394
|
take: 100,
|
|
@@ -445,17 +445,11 @@ class AXPTemplateWidgetViewComponent extends AXPValueWidgetComponent {
|
|
|
445
445
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPTemplateWidgetViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
446
446
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: AXPTemplateWidgetViewComponent, isStandalone: true, selector: "axp-template-widget-view", usesInheritance: true, ngImport: i0, template: `
|
|
447
447
|
@for (node of nodes(); track $index) {
|
|
448
|
-
<ng-container axp-widget-renderer
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
>
|
|
453
|
-
</ng-container>
|
|
454
|
-
}
|
|
455
|
-
@empty {
|
|
456
|
-
<span class="ax-underline ax-decoration-dotted ax-underline-offset-8 ax-text-gray-400">
|
|
457
|
-
{{ 'empty-template' | translate : { scope: 'form-template-management' } | async }}
|
|
458
|
-
</span>
|
|
448
|
+
<ng-container axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
449
|
+
} @empty {
|
|
450
|
+
<span class="ax-underline ax-decoration-dotted ax-underline-offset-8 ax-text-gray-400">
|
|
451
|
+
{{ 'empty-template' | translate: { scope: 'form-template-management' } | async }}
|
|
452
|
+
</span>
|
|
459
453
|
}
|
|
460
454
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged"], exportAs: ["widgetRenderer"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
461
455
|
}
|
|
@@ -465,21 +459,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
465
459
|
selector: 'axp-template-widget-view',
|
|
466
460
|
template: `
|
|
467
461
|
@for (node of nodes(); track $index) {
|
|
468
|
-
<ng-container axp-widget-renderer
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
>
|
|
473
|
-
</ng-container>
|
|
474
|
-
}
|
|
475
|
-
@empty {
|
|
476
|
-
<span class="ax-underline ax-decoration-dotted ax-underline-offset-8 ax-text-gray-400">
|
|
477
|
-
{{ 'empty-template' | translate : { scope: 'form-template-management' } | async }}
|
|
478
|
-
</span>
|
|
462
|
+
<ng-container axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
463
|
+
} @empty {
|
|
464
|
+
<span class="ax-underline ax-decoration-dotted ax-underline-offset-8 ax-text-gray-400">
|
|
465
|
+
{{ 'empty-template' | translate: { scope: 'form-template-management' } | async }}
|
|
466
|
+
</span>
|
|
479
467
|
}
|
|
480
468
|
`,
|
|
481
469
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
482
|
-
imports: [CommonModule, AXPLayoutBuilderModule, AXTranslationModule]
|
|
470
|
+
imports: [CommonModule, AXPLayoutBuilderModule, AXTranslationModule],
|
|
483
471
|
}]
|
|
484
472
|
}], ctorParameters: () => [] });
|
|
485
473
|
|
|
@@ -533,9 +521,7 @@ class AXPTemplateWidgetDesignerComponent extends AXPValueWidgetComponent {
|
|
|
533
521
|
return cls;
|
|
534
522
|
}
|
|
535
523
|
onContextMenu(context) {
|
|
536
|
-
const items = [
|
|
537
|
-
AXP_DESIGNER_TEMPLATE_WIDGET_CHOOSE_MENU
|
|
538
|
-
];
|
|
524
|
+
const items = [AXP_DESIGNER_TEMPLATE_WIDGET_CHOOSE_MENU];
|
|
539
525
|
items[items.length - 1].break = true;
|
|
540
526
|
context.items.unshift(...items);
|
|
541
527
|
}
|
|
@@ -550,27 +536,34 @@ class AXPTemplateWidgetDesignerComponent extends AXPValueWidgetComponent {
|
|
|
550
536
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPTemplateWidgetDesignerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
551
537
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: AXPTemplateWidgetDesignerComponent, isStandalone: true, selector: "axp-template-widget-designer", host: { properties: { "class": "this.__class" } }, providers: [
|
|
552
538
|
{
|
|
553
|
-
provide:
|
|
539
|
+
provide: AXPLayoutBaseWidgetComponent,
|
|
554
540
|
useExisting: AXPTemplateWidgetDesignerComponent,
|
|
555
541
|
},
|
|
556
542
|
], usesInheritance: true, ngImport: i0, template: `
|
|
557
|
-
@if(nodes().length) {
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
543
|
+
@if (nodes().length) {
|
|
544
|
+
<div class="ax-relative ax-block ax-w-full ax-pointer-events-none">
|
|
545
|
+
@for (node of nodes(); track $index) {
|
|
546
|
+
<ng-container
|
|
547
|
+
axp-widget-designer-renderer
|
|
548
|
+
[locked]="true"
|
|
549
|
+
[node]="node"
|
|
550
|
+
[parentNode]="this"
|
|
551
|
+
[mode]="this.mode"
|
|
552
|
+
>
|
|
553
|
+
</ng-container>
|
|
554
|
+
}
|
|
555
|
+
<div
|
|
556
|
+
class="ax-absolute ax-top-0 ax-bottom-0 ax-left-0 ax-right-0 ax-bg-blue-400 ax-opacity-30 ax-flex ax-justify-center ax-items-center ax-z-[400]"
|
|
557
|
+
>
|
|
558
|
+
<span class="ax-capitalize ax-font-semibold ax-text-primary-700"> {{ title() }}</span>
|
|
559
|
+
</div>
|
|
566
560
|
</div>
|
|
567
|
-
</div>
|
|
568
561
|
} @else {
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
562
|
+
<axp-designer-add-widget-mini-button
|
|
563
|
+
class="ax-flex-1 ax-self-center ax-place-self-end"
|
|
564
|
+
(onClick)="handleChooseWidget()"
|
|
565
|
+
>
|
|
566
|
+
</axp-designer-add-widget-mini-button>
|
|
574
567
|
}
|
|
575
568
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: AXPWidgetDesignerRendererDirective, selector: "[axp-widget-designer-renderer]", inputs: ["parentNode", "index", "locked", "mode", "node"] }, { kind: "component", type: AXPDesignerAddWidgetMiniButtonComponent, selector: "axp-designer-add-widget-mini-button", outputs: ["onClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
576
569
|
}
|
|
@@ -579,23 +572,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
579
572
|
args: [{
|
|
580
573
|
selector: 'axp-template-widget-designer',
|
|
581
574
|
template: `
|
|
582
|
-
@if(nodes().length) {
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
575
|
+
@if (nodes().length) {
|
|
576
|
+
<div class="ax-relative ax-block ax-w-full ax-pointer-events-none">
|
|
577
|
+
@for (node of nodes(); track $index) {
|
|
578
|
+
<ng-container
|
|
579
|
+
axp-widget-designer-renderer
|
|
580
|
+
[locked]="true"
|
|
581
|
+
[node]="node"
|
|
582
|
+
[parentNode]="this"
|
|
583
|
+
[mode]="this.mode"
|
|
584
|
+
>
|
|
585
|
+
</ng-container>
|
|
586
|
+
}
|
|
587
|
+
<div
|
|
588
|
+
class="ax-absolute ax-top-0 ax-bottom-0 ax-left-0 ax-right-0 ax-bg-blue-400 ax-opacity-30 ax-flex ax-justify-center ax-items-center ax-z-[400]"
|
|
589
|
+
>
|
|
590
|
+
<span class="ax-capitalize ax-font-semibold ax-text-primary-700"> {{ title() }}</span>
|
|
591
|
+
</div>
|
|
591
592
|
</div>
|
|
592
|
-
</div>
|
|
593
593
|
} @else {
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
594
|
+
<axp-designer-add-widget-mini-button
|
|
595
|
+
class="ax-flex-1 ax-self-center ax-place-self-end"
|
|
596
|
+
(onClick)="handleChooseWidget()"
|
|
597
|
+
>
|
|
598
|
+
</axp-designer-add-widget-mini-button>
|
|
599
599
|
}
|
|
600
600
|
`,
|
|
601
601
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -606,10 +606,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
606
606
|
],
|
|
607
607
|
providers: [
|
|
608
608
|
{
|
|
609
|
-
provide:
|
|
609
|
+
provide: AXPLayoutBaseWidgetComponent,
|
|
610
610
|
useExisting: AXPTemplateWidgetDesignerComponent,
|
|
611
611
|
},
|
|
612
|
-
]
|
|
612
|
+
],
|
|
613
613
|
}]
|
|
614
614
|
}], ctorParameters: () => [], propDecorators: { __class: [{
|
|
615
615
|
type: HostBinding,
|
|
@@ -647,7 +647,7 @@ const AXPTemplateWidget = {
|
|
|
647
647
|
component: () => Promise.resolve().then(function () { return templateWidgetView_component; }).then((c) => c.AXPTemplateWidgetViewComponent),
|
|
648
648
|
},
|
|
649
649
|
edit: {
|
|
650
|
-
component: () => import('./acorex-modules-form-template-management-template-widget-edit.component-
|
|
650
|
+
component: () => import('./acorex-modules-form-template-management-template-widget-edit.component-C54ki1jt.mjs').then((c) => c.AXPTemplateWidgetEditComponent),
|
|
651
651
|
},
|
|
652
652
|
print: {
|
|
653
653
|
component: () => Promise.resolve().then(function () { return templateWidgetView_component; }).then((c) => c.AXPTemplateWidgetViewComponent),
|
|
@@ -734,7 +734,7 @@ class AXMOpenFormTemplateViewerAction extends AXPWorkflowAction {
|
|
|
734
734
|
async execute(context) {
|
|
735
735
|
const { id, template } = context.getVariable('data');
|
|
736
736
|
const metadata = context.getVariable('metadata');
|
|
737
|
-
const comp = await import('./acorex-modules-form-template-management-viewer-popup.component-
|
|
737
|
+
const comp = await import('./acorex-modules-form-template-management-viewer-popup.component-CV8UjR-U.mjs').then(x => x.AXPFormTemplateViewerPopupComponent);
|
|
738
738
|
const result = await this.popupService.open(comp, {
|
|
739
739
|
title: 'Form Template Viewer',
|
|
740
740
|
data: {
|
|
@@ -931,7 +931,7 @@ class AXMFormTemplateManagementModule {
|
|
|
931
931
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
|
932
932
|
useFactory: async () => {
|
|
933
933
|
const injector = inject(Injector);
|
|
934
|
-
const provider = (await import('./acorex-modules-form-template-management-settings.provider-
|
|
934
|
+
const provider = (await import('./acorex-modules-form-template-management-settings.provider-6AeK3OKQ.mjs')).AXMSettingProvider;
|
|
935
935
|
return new provider(injector);
|
|
936
936
|
},
|
|
937
937
|
multi: true,
|
|
@@ -945,7 +945,7 @@ class AXMFormTemplateManagementModule {
|
|
|
945
945
|
provide: AXP_PERMISSION_DEFINITION_PROVIDER,
|
|
946
946
|
useFactory: async () => {
|
|
947
947
|
const injector = inject(Injector);
|
|
948
|
-
const provider = (await import('./acorex-modules-form-template-management-permission-definition.provider-
|
|
948
|
+
const provider = (await import('./acorex-modules-form-template-management-permission-definition.provider-C1RCxyNV.mjs')).AXMPermissionDefinitionProvider;
|
|
949
949
|
return new provider(injector);
|
|
950
950
|
},
|
|
951
951
|
multi: true,
|
|
@@ -1036,7 +1036,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
1036
1036
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
|
1037
1037
|
useFactory: async () => {
|
|
1038
1038
|
const injector = inject(Injector);
|
|
1039
|
-
const provider = (await import('./acorex-modules-form-template-management-settings.provider-
|
|
1039
|
+
const provider = (await import('./acorex-modules-form-template-management-settings.provider-6AeK3OKQ.mjs')).AXMSettingProvider;
|
|
1040
1040
|
return new provider(injector);
|
|
1041
1041
|
},
|
|
1042
1042
|
multi: true,
|
|
@@ -1050,7 +1050,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
1050
1050
|
provide: AXP_PERMISSION_DEFINITION_PROVIDER,
|
|
1051
1051
|
useFactory: async () => {
|
|
1052
1052
|
const injector = inject(Injector);
|
|
1053
|
-
const provider = (await import('./acorex-modules-form-template-management-permission-definition.provider-
|
|
1053
|
+
const provider = (await import('./acorex-modules-form-template-management-permission-definition.provider-C1RCxyNV.mjs')).AXMPermissionDefinitionProvider;
|
|
1054
1054
|
return new provider(injector);
|
|
1055
1055
|
},
|
|
1056
1056
|
multi: true,
|
|
@@ -1069,4 +1069,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
1069
1069
|
*/
|
|
1070
1070
|
|
|
1071
1071
|
export { AXMPermissionsKeys as A, RootConfig as R, AXMFormTemplateManagementTemplateEntityService as a, AXMFormTemplateTypes as b, AXPFormTemplateViewerConnector as c, AXPTemplateWidgetProviderService as d, AXMFormTemplateManagementModule as e, AXMFormTemplateManagementTemplateEntityModule as f, AXMFormTemplateManagementTemplateEntityServiceImpl as g };
|
|
1072
|
-
//# sourceMappingURL=acorex-modules-form-template-management-acorex-modules-form-template-management-
|
|
1072
|
+
//# sourceMappingURL=acorex-modules-form-template-management-acorex-modules-form-template-management-Cp2gr7Iv.mjs.map
|