@acorex/platform 20.6.0-next.0 → 20.6.0-next.10
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/common/index.d.ts +7 -2
- package/core/index.d.ts +444 -4
- package/fesm2022/acorex-platform-auth.mjs +19 -19
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/{acorex-platform-common-common-settings.provider-9OHien_H.mjs → acorex-platform-common-common-settings.provider-zhqNP3xb.mjs} +28 -4
- package/fesm2022/acorex-platform-common-common-settings.provider-zhqNP3xb.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +105 -104
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +460 -55
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain.mjs +37 -38
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +23 -19
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +646 -297
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +84 -84
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-entity-create-entity.command-DyXF9zAh.mjs → acorex-platform-layout-entity-create-entity.command-DGeylNSY.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-DGeylNSY.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-entity.mjs +442 -291
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +37 -23
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +158 -124
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-button-widget-designer.component-C_3IWNkj.mjs → acorex-platform-layout-widgets-button-widget-designer.component-C3VoBb_b.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-C3VoBb_b.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-CJltEgut.mjs → acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-fhhZOWul.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-fhhZOWul.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-pM-TIuk0.mjs → acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-C3Qbs0fz.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-C3Qbs0fz.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-BqI96-fU.mjs → acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-CngQBUlN.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-CngQBUlN.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-values-widget-view.component-C-AhenaM.mjs → acorex-platform-layout-widgets-extra-properties-values-widget-view.component-DSNo9e4W.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-view.component-DSNo9e4W.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-widget-edit.component-DCAya5ne.mjs → acorex-platform-layout-widgets-extra-properties-widget-edit.component-CL0CwEHX.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-edit.component-CL0CwEHX.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-widget-view.component-D-PnBqLb.mjs → acorex-platform-layout-widgets-extra-properties-widget-view.component-B6Fi0xTw.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-view.component-B6Fi0xTw.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-file-list-popup.component-CGEHOyKT.mjs → acorex-platform-layout-widgets-file-list-popup.component-D0y-9nE5.mjs} +7 -7
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-D0y-9nE5.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-page-widget-designer.component-Bss0xUcu.mjs → acorex-platform-layout-widgets-page-widget-designer.component-BtZMBxYp.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-BtZMBxYp.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-Cy9mHnNP.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-C1l2KSDa.mjs} +7 -7
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-C1l2KSDa.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-DznLtuer.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-D-31ej0C.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-D-31ej0C.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-text-block-widget-designer.component-ndOUSFi9.mjs → acorex-platform-layout-widgets-text-block-widget-designer.component-Df1BFkSa.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-Df1BFkSa.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets.mjs +2802 -958
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-native.mjs +7 -7
- package/fesm2022/acorex-platform-native.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs +49 -42
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-B1PT6FtZ.mjs → acorex-platform-themes-default-entity-master-create-view.component-WbPPqDON.mjs} +5 -5
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-WbPPqDON.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-CD7rJIMh.mjs +803 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-CD7rJIMh.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-4g19A3eI.mjs → acorex-platform-themes-default-entity-master-modify-view.component-BTA6h7Xd.mjs} +5 -5
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BTA6h7Xd.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-B8gx5cG7.mjs → acorex-platform-themes-default-entity-master-single-view.component-B_P0a5KW.mjs} +8 -8
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-B_P0a5KW.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-401.component-CcvGfdhu.mjs → acorex-platform-themes-default-error-401.component-cfREo88K.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-default-error-401.component-cfREo88K.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-404.component-4-CaEsnV.mjs → acorex-platform-themes-default-error-404.component-CdCV5ZoA.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-default-error-404.component-CdCV5ZoA.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-error-offline.component-E7SzBcAt.mjs +19 -0
- package/fesm2022/acorex-platform-themes-default-error-offline.component-E7SzBcAt.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +39 -39
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-Dc_Txe32.mjs → acorex-platform-themes-shared-icon-chooser-view.component-9W52W6Nu.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-9W52W6Nu.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-DY2xFnrv.mjs → acorex-platform-themes-shared-settings.provider-DSs1o1M6.mjs} +18 -18
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DSs1o1M6.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-column.component-hgWLhhle.mjs → acorex-platform-themes-shared-theme-color-chooser-column.component-DTnfRy5f.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-DTnfRy5f.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-view.component-CY3JZK_W.mjs → acorex-platform-themes-shared-theme-color-chooser-view.component-DY0JtT1v.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-DY0JtT1v.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +58 -58
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +1413 -28
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/index.d.ts +6 -2
- package/layout/components/index.d.ts +32 -2
- package/layout/entity/index.d.ts +25 -10
- package/layout/views/index.d.ts +1 -0
- package/layout/widget-core/index.d.ts +14 -0
- package/layout/widgets/index.d.ts +352 -19
- package/package.json +11 -11
- package/themes/default/index.d.ts +3 -4
- package/workflow/index.d.ts +1987 -3
- package/fesm2022/acorex-platform-common-common-settings.provider-9OHien_H.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-DyXF9zAh.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-C_3IWNkj.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-CJltEgut.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-pM-TIuk0.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-BqI96-fU.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-view.component-C-AhenaM.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-edit.component-DCAya5ne.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-view.component-D-PnBqLb.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-CGEHOyKT.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-Bss0xUcu.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-Cy9mHnNP.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-DznLtuer.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-ndOUSFi9.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-B1PT6FtZ.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-ccqB5ShI.mjs +0 -748
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-ccqB5ShI.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-4g19A3eI.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-B8gx5cG7.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-401.component-CcvGfdhu.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-404.component-4-CaEsnV.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-offline.component-BNecbFEj.mjs +0 -19
- package/fesm2022/acorex-platform-themes-default-error-offline.component-BNecbFEj.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-Dc_Txe32.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DY2xFnrv.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-hgWLhhle.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-CY3JZK_W.mjs.map +0 -1
|
@@ -90,10 +90,10 @@ class AXPOpenEntityDetailsCommand {
|
|
|
90
90
|
this.router.navigate([url]);
|
|
91
91
|
return { success: true };
|
|
92
92
|
}
|
|
93
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
94
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
93
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPOpenEntityDetailsCommand, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
94
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPOpenEntityDetailsCommand, providedIn: 'root' }); }
|
|
95
95
|
}
|
|
96
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
96
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPOpenEntityDetailsCommand, decorators: [{
|
|
97
97
|
type: Injectable,
|
|
98
98
|
args: [{ providedIn: 'root' }]
|
|
99
99
|
}] });
|
|
@@ -368,10 +368,10 @@ class AXPEntityDetailPopoverComponent {
|
|
|
368
368
|
.slice(0, 7); // Limit to 7 most important fields
|
|
369
369
|
return importantProperties;
|
|
370
370
|
}
|
|
371
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
372
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
371
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityDetailPopoverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
372
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.12", type: AXPEntityDetailPopoverComponent, isStandalone: true, selector: "axp-entity-detail-popover", inputs: { entity: { classPropertyName: "entity", publicName: "entity", isSignal: true, isRequired: true, transformFunction: null }, entityId: { classPropertyName: "entityId", publicName: "entityId", isSignal: true, isRequired: true, transformFunction: null }, textField: { classPropertyName: "textField", publicName: "textField", isSignal: true, isRequired: false, transformFunction: null }, valueField: { classPropertyName: "valueField", publicName: "valueField", isSignal: true, isRequired: false, transformFunction: null }, item: { classPropertyName: "item", publicName: "item", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "detailPopover", first: true, predicate: ["detailPopover"], descendants: true, isSignal: true }], ngImport: i0, template: "<ax-popover [openOn]=\"'manual'\" #detailPopover (openChange)=\"onDetailPopoverOpenChange($event)\">\n <div class=\"ax-lightest-surface ax-border ax-rounded-lg ax-shadow-lg ax-p-4 ax-min-w-[400px]\">\n <div class=\"ax-mb-4 ax-border-b ax-pb-2\">\n <h3 class=\"ax-text-base ax-font-semibold ax-text-on-lightest-surface\">\n @if (entityDetails()?.entityData?.[textField()]) {\n {{ entityDetails()?.entityData[textField()] }}\n } @else {\n {{ item()?.[textField()] }}\n }\n </h3>\n </div>\n @if (isLoadingDetails()) {\n <div class=\"ax-flex ax-items-center ax-justify-center ax-py-8\">\n <ax-loading>Loading details...</ax-loading>\n </div>\n } @else if (entityDetails()) {\n <div class=\"ax-space-y-3 ax-mb-4\">\n <!-- Important Entity Data -->\n @if (entityDetails()?.entityData) {\n <axp-widgets-container [context]=\"entityDetails()?.entityData\">\n <div class=\"ax-space-y-2\">\n @for (item of getEntityPropertiesWithWidgets(); track item.name) {\n <div class=\"ax-flex ax-justify-between ax-items-center\">\n <span class=\"ax-text-sm ax-font-medium\">{{ item.title | translate | async }}:</span>\n <div class=\"ax-flex-1 ax-ml-2 ax-max-w-48\">\n <ng-container axp-widget-renderer [node]=\"item.node\" [mode]=\"'view'\"></ng-container>\n </div>\n </div>\n }\n </div>\n </axp-widgets-container>\n }\n </div>\n <div class=\"ax-flex ax-gap-2 ax-justify-end ax-sm\">\n <ax-button [color]=\"'primary'\" [look]=\"'solid'\" text=\"Open Details\" (click)=\"navigateToDetails()\"> </ax-button>\n </div>\n }\n </div>\n</ax-popover>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "component", type: i2.AXPopoverComponent, selector: "ax-popover", inputs: ["width", "disabled", "offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "openAfter", "closeAfter", "backdropClass", "panelClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXPWidgetCoreModule }, { kind: "component", type: i3$1.AXPWidgetContainerComponent, selector: "axp-widgets-container", inputs: ["context", "functions"], outputs: ["onContextChanged"] }, { kind: "directive", type: i3$1.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged"], exportAs: ["widgetRenderer"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
373
373
|
}
|
|
374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
374
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityDetailPopoverComponent, decorators: [{
|
|
375
375
|
type: Component,
|
|
376
376
|
args: [{ selector: 'axp-entity-detail-popover', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
377
377
|
CommonModule,
|
|
@@ -381,7 +381,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
381
381
|
AXTranslationModule,
|
|
382
382
|
AXLoadingModule,
|
|
383
383
|
], template: "<ax-popover [openOn]=\"'manual'\" #detailPopover (openChange)=\"onDetailPopoverOpenChange($event)\">\n <div class=\"ax-lightest-surface ax-border ax-rounded-lg ax-shadow-lg ax-p-4 ax-min-w-[400px]\">\n <div class=\"ax-mb-4 ax-border-b ax-pb-2\">\n <h3 class=\"ax-text-base ax-font-semibold ax-text-on-lightest-surface\">\n @if (entityDetails()?.entityData?.[textField()]) {\n {{ entityDetails()?.entityData[textField()] }}\n } @else {\n {{ item()?.[textField()] }}\n }\n </h3>\n </div>\n @if (isLoadingDetails()) {\n <div class=\"ax-flex ax-items-center ax-justify-center ax-py-8\">\n <ax-loading>Loading details...</ax-loading>\n </div>\n } @else if (entityDetails()) {\n <div class=\"ax-space-y-3 ax-mb-4\">\n <!-- Important Entity Data -->\n @if (entityDetails()?.entityData) {\n <axp-widgets-container [context]=\"entityDetails()?.entityData\">\n <div class=\"ax-space-y-2\">\n @for (item of getEntityPropertiesWithWidgets(); track item.name) {\n <div class=\"ax-flex ax-justify-between ax-items-center\">\n <span class=\"ax-text-sm ax-font-medium\">{{ item.title | translate | async }}:</span>\n <div class=\"ax-flex-1 ax-ml-2 ax-max-w-48\">\n <ng-container axp-widget-renderer [node]=\"item.node\" [mode]=\"'view'\"></ng-container>\n </div>\n </div>\n }\n </div>\n </axp-widgets-container>\n }\n </div>\n <div class=\"ax-flex ax-gap-2 ax-justify-end ax-sm\">\n <ax-button [color]=\"'primary'\" [look]=\"'solid'\" text=\"Open Details\" (click)=\"navigateToDetails()\"> </ax-button>\n </div>\n }\n </div>\n</ax-popover>\n" }]
|
|
384
|
-
}] });
|
|
384
|
+
}], propDecorators: { entity: [{ type: i0.Input, args: [{ isSignal: true, alias: "entity", required: true }] }], entityId: [{ type: i0.Input, args: [{ isSignal: true, alias: "entityId", required: true }] }], textField: [{ type: i0.Input, args: [{ isSignal: true, alias: "textField", required: false }] }], valueField: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueField", required: false }] }], item: [{ type: i0.Input, args: [{ isSignal: true, alias: "item", required: false }] }], detailPopover: [{ type: i0.ViewChild, args: ['detailPopover', { isSignal: true }] }] } });
|
|
385
385
|
|
|
386
386
|
class AXPEntityDetailPopoverService {
|
|
387
387
|
constructor() {
|
|
@@ -436,10 +436,10 @@ class AXPEntityDetailPopoverService {
|
|
|
436
436
|
get isActive() {
|
|
437
437
|
return this.activePopoverRef !== null;
|
|
438
438
|
}
|
|
439
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
440
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
439
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityDetailPopoverService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
440
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityDetailPopoverService, providedIn: 'root' }); }
|
|
441
441
|
}
|
|
442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
442
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityDetailPopoverService, decorators: [{
|
|
443
443
|
type: Injectable,
|
|
444
444
|
args: [{
|
|
445
445
|
providedIn: 'root'
|
|
@@ -456,10 +456,10 @@ class AXPDataSeederService {
|
|
|
456
456
|
await loader?.seed();
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
460
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
459
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPDataSeederService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
460
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPDataSeederService, providedIn: 'root' }); }
|
|
461
461
|
}
|
|
462
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
462
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPDataSeederService, decorators: [{
|
|
463
463
|
type: Injectable,
|
|
464
464
|
args: [{ providedIn: 'root' }]
|
|
465
465
|
}] });
|
|
@@ -484,10 +484,10 @@ class AXPEntityResolver {
|
|
|
484
484
|
}
|
|
485
485
|
return null;
|
|
486
486
|
}
|
|
487
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
488
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
487
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityResolver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
488
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityResolver, providedIn: 'root' }); }
|
|
489
489
|
}
|
|
490
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
490
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityResolver, decorators: [{
|
|
491
491
|
type: Injectable,
|
|
492
492
|
args: [{ providedIn: 'root' }]
|
|
493
493
|
}] });
|
|
@@ -868,10 +868,10 @@ class AXPEntityEventDispatcherService {
|
|
|
868
868
|
async dispatchDeleted(entityName, data) {
|
|
869
869
|
await this.dispatchEntityEvent('deleted', entityName, data);
|
|
870
870
|
}
|
|
871
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
872
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
871
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityEventDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
872
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityEventDispatcherService, providedIn: 'root' }); }
|
|
873
873
|
}
|
|
874
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
874
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityEventDispatcherService, decorators: [{
|
|
875
875
|
type: Injectable,
|
|
876
876
|
args: [{
|
|
877
877
|
providedIn: 'root',
|
|
@@ -1179,10 +1179,10 @@ class AXPEntityMiddleware {
|
|
|
1179
1179
|
const flags = rx.flags.replace('g', '');
|
|
1180
1180
|
return new RegExp(rx.source, flags);
|
|
1181
1181
|
}
|
|
1182
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1183
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1182
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityMiddleware, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1183
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityMiddleware, providedIn: 'root' }); }
|
|
1184
1184
|
}
|
|
1185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1185
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityMiddleware, decorators: [{
|
|
1186
1186
|
type: Injectable,
|
|
1187
1187
|
args: [{ providedIn: 'root' }]
|
|
1188
1188
|
}], ctorParameters: () => [] });
|
|
@@ -1334,10 +1334,10 @@ class AXPEntityDefinitionRegistryService {
|
|
|
1334
1334
|
createEntityKey(moduleName, entityName) {
|
|
1335
1335
|
return `${moduleName}.${entityName}`;
|
|
1336
1336
|
}
|
|
1337
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1338
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1337
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityDefinitionRegistryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1338
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityDefinitionRegistryService, providedIn: 'root' }); }
|
|
1339
1339
|
}
|
|
1340
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1340
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityDefinitionRegistryService, decorators: [{
|
|
1341
1341
|
type: Injectable,
|
|
1342
1342
|
args: [{
|
|
1343
1343
|
providedIn: 'root',
|
|
@@ -1498,10 +1498,10 @@ class AXPEntityCreateViewModelFactory {
|
|
|
1498
1498
|
this.layout.setNavigationLoading(false);
|
|
1499
1499
|
return new AXPEntityMasterCreateViewModel(this.injector, config, initialData, options);
|
|
1500
1500
|
}
|
|
1501
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1502
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1501
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityCreateViewModelFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1502
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityCreateViewModelFactory, providedIn: 'root' }); }
|
|
1503
1503
|
}
|
|
1504
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1504
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityCreateViewModelFactory, decorators: [{
|
|
1505
1505
|
type: Injectable,
|
|
1506
1506
|
args: [{ providedIn: 'root' }]
|
|
1507
1507
|
}] });
|
|
@@ -2066,10 +2066,10 @@ class AXPEntityListViewModelFactory {
|
|
|
2066
2066
|
this.layout.setNavigationLoading(false);
|
|
2067
2067
|
return new AXPEntityMasterListViewModel(this.injector, config);
|
|
2068
2068
|
}
|
|
2069
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2070
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2069
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityListViewModelFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2070
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityListViewModelFactory, providedIn: 'root' }); }
|
|
2071
2071
|
}
|
|
2072
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2072
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityListViewModelFactory, decorators: [{
|
|
2073
2073
|
type: Injectable,
|
|
2074
2074
|
args: [{ providedIn: 'root' }]
|
|
2075
2075
|
}] });
|
|
@@ -2087,10 +2087,10 @@ class AXPEntityService {
|
|
|
2087
2087
|
createPath(module, entity, path = 'list') {
|
|
2088
2088
|
return `/${this.sessionService.application?.name}/m/${module}/e/${entity}/${path}`;
|
|
2089
2089
|
}
|
|
2090
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2091
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2090
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2091
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityService, providedIn: 'root' }); }
|
|
2092
2092
|
}
|
|
2093
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2093
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityService, decorators: [{
|
|
2094
2094
|
type: Injectable,
|
|
2095
2095
|
args: [{ providedIn: 'root' }]
|
|
2096
2096
|
}] });
|
|
@@ -2243,10 +2243,10 @@ class AXPEntityPerformDeleteAction extends AXPWorkflowAction {
|
|
|
2243
2243
|
}
|
|
2244
2244
|
}
|
|
2245
2245
|
}
|
|
2246
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2247
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2246
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityPerformDeleteAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2247
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityPerformDeleteAction }); }
|
|
2248
2248
|
}
|
|
2249
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2249
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityPerformDeleteAction, decorators: [{
|
|
2250
2250
|
type: Injectable
|
|
2251
2251
|
}] });
|
|
2252
2252
|
const AXPDeleteEntityWorkflow = {
|
|
@@ -2425,10 +2425,10 @@ class AXPEntityMasterUpdateViewModelFactory {
|
|
|
2425
2425
|
this.layout.setNavigationLoading(false);
|
|
2426
2426
|
return Promise.reject('cannot fetch ');
|
|
2427
2427
|
}
|
|
2428
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2429
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2428
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityMasterUpdateViewModelFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2429
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityMasterUpdateViewModelFactory, providedIn: 'root' }); }
|
|
2430
2430
|
}
|
|
2431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2431
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityMasterUpdateViewModelFactory, decorators: [{
|
|
2432
2432
|
type: Injectable,
|
|
2433
2433
|
args: [{ providedIn: 'root' }]
|
|
2434
2434
|
}] });
|
|
@@ -2471,10 +2471,10 @@ class AXPEntityModifySectionPopupAction extends AXPWorkflowAction {
|
|
|
2471
2471
|
context.setVariable('data', cloneDeep(popup.data.context));
|
|
2472
2472
|
}
|
|
2473
2473
|
}
|
|
2474
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2475
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2474
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityModifySectionPopupAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2475
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityModifySectionPopupAction }); }
|
|
2476
2476
|
}
|
|
2477
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityModifySectionPopupAction, decorators: [{
|
|
2478
2478
|
type: Injectable
|
|
2479
2479
|
}] });
|
|
2480
2480
|
class AXPEntityModifyConfirmedAction extends AXPWorkflowAction {
|
|
@@ -2489,10 +2489,10 @@ class AXPEntityModifyConfirmedAction extends AXPWorkflowAction {
|
|
|
2489
2489
|
},
|
|
2490
2490
|
}));
|
|
2491
2491
|
}
|
|
2492
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2493
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2492
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityModifyConfirmedAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2493
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityModifyConfirmedAction }); }
|
|
2494
2494
|
}
|
|
2495
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityModifyConfirmedAction, decorators: [{
|
|
2496
2496
|
type: Injectable
|
|
2497
2497
|
}] });
|
|
2498
2498
|
const AXPModifyEntitySectionWorkflow = {
|
|
@@ -2785,10 +2785,10 @@ class AXPEntityDetailViewModelFactory {
|
|
|
2785
2785
|
this.layout.setNavigationLoading(false);
|
|
2786
2786
|
return Promise.reject('cannot fetch ');
|
|
2787
2787
|
}
|
|
2788
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2789
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2788
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityDetailViewModelFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2789
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityDetailViewModelFactory, providedIn: 'root' }); }
|
|
2790
2790
|
}
|
|
2791
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2791
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityDetailViewModelFactory, decorators: [{
|
|
2792
2792
|
type: Injectable,
|
|
2793
2793
|
args: [{ providedIn: 'root' }]
|
|
2794
2794
|
}] });
|
|
@@ -3013,10 +3013,10 @@ class AXPLayoutAdapterBuilder {
|
|
|
3013
3013
|
};
|
|
3014
3014
|
};
|
|
3015
3015
|
}
|
|
3016
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3017
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3016
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPLayoutAdapterBuilder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3017
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPLayoutAdapterBuilder, providedIn: 'root' }); }
|
|
3018
3018
|
}
|
|
3019
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3019
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPLayoutAdapterBuilder, decorators: [{
|
|
3020
3020
|
type: Injectable,
|
|
3021
3021
|
args: [{
|
|
3022
3022
|
providedIn: 'root',
|
|
@@ -3545,10 +3545,10 @@ class AXPRelatedEntityConverterFactory {
|
|
|
3545
3545
|
createTabListConverter() {
|
|
3546
3546
|
return this.createConverter('tab-list');
|
|
3547
3547
|
}
|
|
3548
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3549
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3548
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPRelatedEntityConverterFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3549
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPRelatedEntityConverterFactory, providedIn: 'root' }); }
|
|
3550
3550
|
}
|
|
3551
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3551
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPRelatedEntityConverterFactory, decorators: [{
|
|
3552
3552
|
type: Injectable,
|
|
3553
3553
|
args: [{
|
|
3554
3554
|
providedIn: 'root',
|
|
@@ -3577,7 +3577,7 @@ class AXPMainEntityContentBuilder {
|
|
|
3577
3577
|
? this.createExpressionEvaluator(rootContext, dependencies.expressionEvaluator)
|
|
3578
3578
|
: null;
|
|
3579
3579
|
// Prepare merge-details structures (sections and properties per section)
|
|
3580
|
-
let evaluatedRelatedEntities =
|
|
3580
|
+
let evaluatedRelatedEntities = [...(entity?.relatedEntities ?? [])];
|
|
3581
3581
|
if (evaluatedRelatedEntities && evaluateExpressions) {
|
|
3582
3582
|
// Only evaluate the 'hidden' property for each related entity
|
|
3583
3583
|
evaluatedRelatedEntities = await Promise.all((entity.relatedEntities ?? []).map(async (re) => {
|
|
@@ -3657,6 +3657,7 @@ class AXPMainEntityContentBuilder {
|
|
|
3657
3657
|
return;
|
|
3658
3658
|
}
|
|
3659
3659
|
const relSingle = entityDef?.interfaces?.master?.single;
|
|
3660
|
+
const relUpdate = entityDef?.interfaces?.master?.update;
|
|
3660
3661
|
const relGroups = entityDef?.groups ?? [];
|
|
3661
3662
|
// Merge related groups into allGroups (avoid duplicates by id)
|
|
3662
3663
|
for (const rg of relGroups) {
|
|
@@ -3705,6 +3706,7 @@ class AXPMainEntityContentBuilder {
|
|
|
3705
3706
|
const propClone = { ...p };
|
|
3706
3707
|
propClone.__dataPath = relatedEntity?.persistence?.dataPath || entityName;
|
|
3707
3708
|
propClone.__layout = relSingle?.properties?.find((x) => x.name === p.name)?.layout;
|
|
3709
|
+
propClone.__isEditable = !!relUpdate?.properties?.some((x) => x.name === p.name);
|
|
3708
3710
|
acc[p.groupId].push(propClone);
|
|
3709
3711
|
return acc;
|
|
3710
3712
|
}, {});
|
|
@@ -3991,12 +3993,19 @@ class AXPMainEntityContentBuilder {
|
|
|
3991
3993
|
},
|
|
3992
3994
|
},
|
|
3993
3995
|
children: (await getVisiblePropertyByGroupId(s.id))
|
|
3994
|
-
.filter((p) =>
|
|
3996
|
+
.filter((p) => {
|
|
3997
|
+
const isFromRelated = p.__dataPath != null;
|
|
3998
|
+
const visibleInMain = visiblePropertyNames.has(p.name);
|
|
3999
|
+
const visibleInRelated = isFromRelated ? !!p.__layout : false;
|
|
4000
|
+
return visibleInMain || visibleInRelated;
|
|
4001
|
+
})
|
|
3995
4002
|
.map((p) => {
|
|
3996
4003
|
const layout = getPropertyLayout(p.name, p);
|
|
3997
4004
|
const prefixed = p.__dataPath ? `${p.__dataPath}.${p.name}` : p.name;
|
|
3998
4005
|
// Check if property is editable (exists in update interface)
|
|
3999
|
-
const isEditable =
|
|
4006
|
+
const isEditable = p.__isEditable != null
|
|
4007
|
+
? p.__isEditable
|
|
4008
|
+
: editablePropertyNames.has(p.name);
|
|
4000
4009
|
// Check if property has its own disabled option
|
|
4001
4010
|
const hasOwnDisabled = p.schema.interface?.options?.disabled !== undefined;
|
|
4002
4011
|
return {
|
|
@@ -4113,6 +4122,7 @@ class AXPMainEntityContentBuilder {
|
|
|
4113
4122
|
disabled: disabled || false,
|
|
4114
4123
|
zone: 'header',
|
|
4115
4124
|
priority: action.priority,
|
|
4125
|
+
scope: action.scope,
|
|
4116
4126
|
command: {
|
|
4117
4127
|
name: action.name,
|
|
4118
4128
|
options: options,
|
|
@@ -4151,10 +4161,10 @@ class AXPMainEntityContentBuilder {
|
|
|
4151
4161
|
}
|
|
4152
4162
|
return tabs;
|
|
4153
4163
|
}
|
|
4154
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4155
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4164
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPMainEntityContentBuilder, deps: [{ token: AXPRelatedEntityConverterFactory }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4165
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPMainEntityContentBuilder, providedIn: 'root' }); }
|
|
4156
4166
|
}
|
|
4157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPMainEntityContentBuilder, decorators: [{
|
|
4158
4168
|
type: Injectable,
|
|
4159
4169
|
args: [{
|
|
4160
4170
|
providedIn: 'root',
|
|
@@ -4295,10 +4305,10 @@ class AXPLayoutAdapterFactory {
|
|
|
4295
4305
|
const title = await dependencies.expressionEvaluator.evaluate(entity.interfaces?.master?.single?.title, rootContext);
|
|
4296
4306
|
return title;
|
|
4297
4307
|
}
|
|
4298
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4299
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4308
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPLayoutAdapterFactory, deps: [{ token: AXPRelatedEntityConverterFactory }, { token: AXPMainEntityContentBuilder }, { token: AXPLayoutAdapterBuilder }, { token: i4$1.AXPFilterOperatorMiddlewareService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4309
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPLayoutAdapterFactory, providedIn: 'root' }); }
|
|
4300
4310
|
}
|
|
4301
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPLayoutAdapterFactory, decorators: [{
|
|
4302
4312
|
type: Injectable,
|
|
4303
4313
|
args: [{
|
|
4304
4314
|
providedIn: 'root',
|
|
@@ -4530,10 +4540,10 @@ class AXPMiddlewareEntityStorageService extends AXPEntityStorageService {
|
|
|
4530
4540
|
const ctx = this.createCtx('query', entityName, { request });
|
|
4531
4541
|
return this.run(ctx, () => this.backend.query(entityName, request));
|
|
4532
4542
|
}
|
|
4533
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4534
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4543
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPMiddlewareEntityStorageService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4544
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPMiddlewareEntityStorageService }); }
|
|
4535
4545
|
}
|
|
4536
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4546
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPMiddlewareEntityStorageService, decorators: [{
|
|
4537
4547
|
type: Injectable
|
|
4538
4548
|
}] });
|
|
4539
4549
|
|
|
@@ -4788,10 +4798,10 @@ class AXPEntityListTableService {
|
|
|
4788
4798
|
},
|
|
4789
4799
|
};
|
|
4790
4800
|
}
|
|
4791
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4792
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4801
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityListTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4802
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityListTableService }); }
|
|
4793
4803
|
}
|
|
4794
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4804
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityListTableService, decorators: [{
|
|
4795
4805
|
type: Injectable
|
|
4796
4806
|
}] });
|
|
4797
4807
|
|
|
@@ -4885,10 +4895,10 @@ class AXPEntityListToolbarService {
|
|
|
4885
4895
|
};
|
|
4886
4896
|
});
|
|
4887
4897
|
}
|
|
4888
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4889
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4898
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityListToolbarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4899
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityListToolbarService }); }
|
|
4890
4900
|
}
|
|
4891
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4901
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityListToolbarService, decorators: [{
|
|
4892
4902
|
type: Injectable
|
|
4893
4903
|
}] });
|
|
4894
4904
|
|
|
@@ -4999,6 +5009,9 @@ class AXPEntityListWidgetViewComponent extends AXPValueWidgetComponent {
|
|
|
4999
5009
|
this.context = {};
|
|
5000
5010
|
this.previousQueries = null;
|
|
5001
5011
|
}
|
|
5012
|
+
handleUnselectAll() {
|
|
5013
|
+
this.selectedItems.set([]);
|
|
5014
|
+
}
|
|
5002
5015
|
handleActionClick(item) {
|
|
5003
5016
|
if (item.command && (item.items?.length ?? 0) == 0) {
|
|
5004
5017
|
this.execute(item.command.name, null);
|
|
@@ -5186,8 +5199,8 @@ class AXPEntityListWidgetViewComponent extends AXPValueWidgetComponent {
|
|
|
5186
5199
|
this.destroyed.next();
|
|
5187
5200
|
this.destroyed.complete();
|
|
5188
5201
|
}
|
|
5189
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5190
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
5202
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityListWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5203
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.12", type: AXPEntityListWidgetViewComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "\"ax-h-full\"" } }, providers: [AXPEntityListTableService, AXPEntityListToolbarService], viewQueries: [{ propertyName: "list", first: true, predicate: ["list"], descendants: true, isSignal: true }, { propertyName: "allWidgets", predicate: AXPWidgetRendererDirective, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
5191
5204
|
@if (showEntityActions()) {
|
|
5192
5205
|
<div class="ax-flex ax-gap-2 ax-justify-end ax-mb-4">
|
|
5193
5206
|
@for (action of primaryActions(); track $index) {
|
|
@@ -5277,6 +5290,17 @@ class AXPEntityListWidgetViewComponent extends AXPValueWidgetComponent {
|
|
|
5277
5290
|
[mode]="this.mode"
|
|
5278
5291
|
></ng-container>
|
|
5279
5292
|
}
|
|
5293
|
+
<!-- <div class="ax-flex ax-items-center ax-justify-between ax-gap-1 ">
|
|
5294
|
+
<span
|
|
5295
|
+
>{{ selectedItems().length }}
|
|
5296
|
+
<span>{{ '@general:terms.interface.items-selected' | translate | async }}</span>
|
|
5297
|
+
</span>
|
|
5298
|
+
<ax-button
|
|
5299
|
+
text="@general:terms.interface.unselect-all"
|
|
5300
|
+
class="ax-xs"
|
|
5301
|
+
(onClick)="handleUnselectAll()"
|
|
5302
|
+
></ax-button>
|
|
5303
|
+
</div> -->
|
|
5280
5304
|
@if (listNode() != null) {
|
|
5281
5305
|
<ng-container
|
|
5282
5306
|
#list
|
|
@@ -5288,9 +5312,9 @@ class AXPEntityListWidgetViewComponent extends AXPValueWidgetComponent {
|
|
|
5288
5312
|
></ng-container>
|
|
5289
5313
|
}
|
|
5290
5314
|
</div>
|
|
5291
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3$2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXPWidgetCoreModule }, { kind: "directive", type: i3$1.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged"], exportAs: ["widgetRenderer"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: i3.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: i3.AXButtonItemListComponent, selector: "ax-button-item-list", inputs: ["items"], outputs: ["onItemClick"] }, { kind: "ngmodule", type: AXDropdownModule }, { kind: "component", type: i4$2.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "placement", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5315
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3$2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXPWidgetCoreModule }, { kind: "directive", type: i3$1.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged"], exportAs: ["widgetRenderer"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: i3.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: i3.AXButtonItemListComponent, selector: "ax-button-item-list", inputs: ["items", "closeParentOnClick", "lockOnLoading"], outputs: ["onItemClick"] }, { kind: "ngmodule", type: AXDropdownModule }, { kind: "component", type: i4$2.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "placement", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5292
5316
|
}
|
|
5293
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityListWidgetViewComponent, decorators: [{
|
|
5294
5318
|
type: Component,
|
|
5295
5319
|
args: [{
|
|
5296
5320
|
template: `
|
|
@@ -5383,6 +5407,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
5383
5407
|
[mode]="this.mode"
|
|
5384
5408
|
></ng-container>
|
|
5385
5409
|
}
|
|
5410
|
+
<!-- <div class="ax-flex ax-items-center ax-justify-between ax-gap-1 ">
|
|
5411
|
+
<span
|
|
5412
|
+
>{{ selectedItems().length }}
|
|
5413
|
+
<span>{{ '@general:terms.interface.items-selected' | translate | async }}</span>
|
|
5414
|
+
</span>
|
|
5415
|
+
<ax-button
|
|
5416
|
+
text="@general:terms.interface.unselect-all"
|
|
5417
|
+
class="ax-xs"
|
|
5418
|
+
(onClick)="handleUnselectAll()"
|
|
5419
|
+
></ax-button>
|
|
5420
|
+
</div> -->
|
|
5386
5421
|
@if (listNode() != null) {
|
|
5387
5422
|
<ng-container
|
|
5388
5423
|
#list
|
|
@@ -5410,7 +5445,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
5410
5445
|
AXTranslationModule,
|
|
5411
5446
|
],
|
|
5412
5447
|
}]
|
|
5413
|
-
}] });
|
|
5448
|
+
}], propDecorators: { list: [{ type: i0.ViewChild, args: ['list', { isSignal: true }] }], allWidgets: [{ type: i0.ViewChildren, args: [i0.forwardRef(() => AXPWidgetRendererDirective), { isSignal: true }] }] } });
|
|
5414
5449
|
|
|
5415
5450
|
var entityListWidgetView_component = /*#__PURE__*/Object.freeze({
|
|
5416
5451
|
__proto__: null,
|
|
@@ -5443,10 +5478,10 @@ const AXPEntityListWidget = {
|
|
|
5443
5478
|
};
|
|
5444
5479
|
|
|
5445
5480
|
class AXPEntityReferenceWidgetViewComponent extends AXPLayoutBaseWidgetComponent {
|
|
5446
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5447
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
5481
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityReferenceWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5482
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.12", type: AXPEntityReferenceWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5448
5483
|
}
|
|
5449
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5484
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityReferenceWidgetViewComponent, decorators: [{
|
|
5450
5485
|
type: Component,
|
|
5451
5486
|
args: [{
|
|
5452
5487
|
template: ``,
|
|
@@ -5475,10 +5510,10 @@ class AXPEntityReferenceWidgetEditComponent extends AXPLayoutBaseWidgetComponent
|
|
|
5475
5510
|
}, ...(ngDevMode ? [{ debugName: "#efEntity" }] : []));
|
|
5476
5511
|
}
|
|
5477
5512
|
#efEntity;
|
|
5478
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5479
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
5513
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityReferenceWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5514
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.12", type: AXPEntityReferenceWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5480
5515
|
}
|
|
5481
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5516
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityReferenceWidgetEditComponent, decorators: [{
|
|
5482
5517
|
type: Component,
|
|
5483
5518
|
args: [{
|
|
5484
5519
|
template: ``,
|
|
@@ -5494,10 +5529,10 @@ var entityReferenceWidgetEdit_component = /*#__PURE__*/Object.freeze({
|
|
|
5494
5529
|
});
|
|
5495
5530
|
|
|
5496
5531
|
class AXPEntityReferenceWidgetColumnComponent extends AXPColumnWidgetComponent {
|
|
5497
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5498
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
5532
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityReferenceWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5533
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.12", type: AXPEntityReferenceWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue" }, usesInheritance: true, ngImport: i0, template: `{{rawValue}}`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5499
5534
|
}
|
|
5500
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5535
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityReferenceWidgetColumnComponent, decorators: [{
|
|
5501
5536
|
type: Component,
|
|
5502
5537
|
args: [{
|
|
5503
5538
|
template: `{{rawValue}}`,
|
|
@@ -5514,10 +5549,10 @@ var entityReferenceWidgetColumn_component = /*#__PURE__*/Object.freeze({
|
|
|
5514
5549
|
});
|
|
5515
5550
|
|
|
5516
5551
|
class AXPEntityReferenceWidgetPrintComponent extends AXPLayoutBaseWidgetComponent {
|
|
5517
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5518
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
5552
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityReferenceWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5553
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.12", type: AXPEntityReferenceWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5519
5554
|
}
|
|
5520
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5555
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityReferenceWidgetPrintComponent, decorators: [{
|
|
5521
5556
|
type: Component,
|
|
5522
5557
|
args: [{
|
|
5523
5558
|
template: ``,
|
|
@@ -5534,10 +5569,10 @@ var entityReferenceWidgetPrint_component = /*#__PURE__*/Object.freeze({
|
|
|
5534
5569
|
});
|
|
5535
5570
|
|
|
5536
5571
|
class AXPEntityReferenceWidgetDesignerComponent extends AXPLayoutBaseWidgetComponent {
|
|
5537
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5538
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
5572
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityReferenceWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5573
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.12", type: AXPEntityReferenceWidgetDesignerComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5539
5574
|
}
|
|
5540
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5575
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityReferenceWidgetDesignerComponent, decorators: [{
|
|
5541
5576
|
type: Component,
|
|
5542
5577
|
args: [{
|
|
5543
5578
|
template: ``,
|
|
@@ -5585,6 +5620,7 @@ class AXPLookupFilterWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
5585
5620
|
super(...arguments);
|
|
5586
5621
|
//#region ---- Computed Properties ----
|
|
5587
5622
|
this.editorPath = `__${this.path}EditorValue`;
|
|
5623
|
+
this.lookupWidgetRenderer = viewChild('widgetRenderer', ...(ngDevMode ? [{ debugName: "lookupWidgetRenderer" }] : []));
|
|
5588
5624
|
this.entity = computed(() => this.options()['entity'], ...(ngDevMode ? [{ debugName: "entity" }] : []));
|
|
5589
5625
|
this.textField = computed(() => this.options()['textField'] ?? 'title', ...(ngDevMode ? [{ debugName: "textField" }] : []));
|
|
5590
5626
|
this.valueField = computed(() => this.options()['valueField'] ?? 'id', ...(ngDevMode ? [{ debugName: "valueField" }] : []));
|
|
@@ -5629,7 +5665,6 @@ class AXPLookupFilterWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
5629
5665
|
this.lookupNode.set(node);
|
|
5630
5666
|
}, ...(ngDevMode ? [{ debugName: "#efUpdateLookupNode" }] : []));
|
|
5631
5667
|
this.#efUpdateValue = effect(() => {
|
|
5632
|
-
debugger;
|
|
5633
5668
|
const newValueObj = this.contextService.getValue(`${this.path}EditorObj`);
|
|
5634
5669
|
const prevValue = untracked(() => this.getValue()?.value);
|
|
5635
5670
|
const newValue = this.multiple()
|
|
@@ -5653,18 +5688,73 @@ class AXPLookupFilterWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
5653
5688
|
displayText: displayText,
|
|
5654
5689
|
});
|
|
5655
5690
|
}, ...(ngDevMode ? [{ debugName: "#efUpdateValue" }] : []));
|
|
5691
|
+
//#endregion
|
|
5692
|
+
//#region ---- Focus Management ----
|
|
5693
|
+
this.shouldFocus = signal(false, ...(ngDevMode ? [{ debugName: "shouldFocus" }] : []));
|
|
5694
|
+
/**
|
|
5695
|
+
* Reactive effect to auto-focus the lookup editor when component is ready
|
|
5696
|
+
*/
|
|
5697
|
+
this.#focusEffect = effect(() => {
|
|
5698
|
+
const renderer = this.lookupWidgetRenderer();
|
|
5699
|
+
const shouldFocus = this.shouldFocus();
|
|
5700
|
+
// Early return if no renderer or shouldn't focus
|
|
5701
|
+
if (!renderer || !shouldFocus) {
|
|
5702
|
+
return;
|
|
5703
|
+
}
|
|
5704
|
+
// Listen to componentRefSignal reactively
|
|
5705
|
+
const componentRef = renderer.componentRefSignal();
|
|
5706
|
+
// When componentRef is set (not null), focus the widget
|
|
5707
|
+
if (componentRef) {
|
|
5708
|
+
const componentInstance = componentRef.instance;
|
|
5709
|
+
// Try to use the component's native focus method
|
|
5710
|
+
if (componentInstance && typeof componentInstance.focus === 'function') {
|
|
5711
|
+
try {
|
|
5712
|
+
componentInstance.focus();
|
|
5713
|
+
// Reset focus flag after successful focus
|
|
5714
|
+
this.shouldFocus.set(false);
|
|
5715
|
+
}
|
|
5716
|
+
catch (error) {
|
|
5717
|
+
// console.error('Error focusing lookup widget component:', error);
|
|
5718
|
+
}
|
|
5719
|
+
}
|
|
5720
|
+
}
|
|
5721
|
+
}, ...(ngDevMode ? [{ debugName: "#focusEffect" }] : []));
|
|
5656
5722
|
}
|
|
5657
5723
|
//#endregion
|
|
5658
5724
|
//#region ---- Effects ----
|
|
5659
5725
|
#efUpdateLookupNode;
|
|
5660
5726
|
#efUpdateValue;
|
|
5661
|
-
|
|
5662
|
-
|
|
5727
|
+
/**
|
|
5728
|
+
* Reactive effect to auto-focus the lookup editor when component is ready
|
|
5729
|
+
*/
|
|
5730
|
+
#focusEffect;
|
|
5731
|
+
/**
|
|
5732
|
+
* Public focus method to trigger focusing
|
|
5733
|
+
*/
|
|
5734
|
+
focus() {
|
|
5735
|
+
this.shouldFocus.set(true);
|
|
5736
|
+
}
|
|
5737
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPLookupFilterWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5738
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.3.12", type: AXPLookupFilterWidgetEditComponent, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "lookupWidgetRenderer", first: true, predicate: ["widgetRenderer"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
5739
|
+
<ng-container
|
|
5740
|
+
axp-widget-renderer
|
|
5741
|
+
#widgetRenderer="widgetRenderer"
|
|
5742
|
+
[node]="lookupNode()"
|
|
5743
|
+
[mode]="'edit'"
|
|
5744
|
+
></ng-container>
|
|
5745
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "ngmodule", type: AXPWidgetCoreModule }, { kind: "directive", type: i3$1.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged"], exportAs: ["widgetRenderer"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5663
5746
|
}
|
|
5664
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5747
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPLookupFilterWidgetEditComponent, decorators: [{
|
|
5665
5748
|
type: Component,
|
|
5666
5749
|
args: [{
|
|
5667
|
-
template: `
|
|
5750
|
+
template: `
|
|
5751
|
+
<ng-container
|
|
5752
|
+
axp-widget-renderer
|
|
5753
|
+
#widgetRenderer="widgetRenderer"
|
|
5754
|
+
[node]="lookupNode()"
|
|
5755
|
+
[mode]="'edit'"
|
|
5756
|
+
></ng-container>
|
|
5757
|
+
`,
|
|
5668
5758
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5669
5759
|
imports: [
|
|
5670
5760
|
FormsModule,
|
|
@@ -5678,7 +5768,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
5678
5768
|
AXPWidgetCoreModule,
|
|
5679
5769
|
],
|
|
5680
5770
|
}]
|
|
5681
|
-
}] });
|
|
5771
|
+
}], propDecorators: { lookupWidgetRenderer: [{ type: i0.ViewChild, args: ['widgetRenderer', { isSignal: true }] }] } });
|
|
5682
5772
|
|
|
5683
5773
|
var lookupFilterWidgetEdit_component = /*#__PURE__*/Object.freeze({
|
|
5684
5774
|
__proto__: null,
|
|
@@ -5762,8 +5852,8 @@ class AXPLookupWidgetViewComponent extends AXPValueWidgetComponent {
|
|
|
5762
5852
|
cls[`ax-gap-1`] = true;
|
|
5763
5853
|
return cls;
|
|
5764
5854
|
}
|
|
5765
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5766
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
5855
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPLookupWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5856
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.12", type: AXPLookupWidgetViewComponent, isStandalone: true, selector: "axp-lookup-widget-view", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
|
|
5767
5857
|
@if(loading())
|
|
5768
5858
|
{
|
|
5769
5859
|
<ax-loading></ax-loading>
|
|
@@ -5783,7 +5873,7 @@ class AXPLookupWidgetViewComponent extends AXPValueWidgetComponent {
|
|
|
5783
5873
|
}
|
|
5784
5874
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5785
5875
|
}
|
|
5786
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5876
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPLookupWidgetViewComponent, decorators: [{
|
|
5787
5877
|
type: Component,
|
|
5788
5878
|
args: [{
|
|
5789
5879
|
selector: 'axp-lookup-widget-view',
|
|
@@ -5999,10 +6089,10 @@ class AXPEntityDataSelectorService {
|
|
|
5999
6089
|
}
|
|
6000
6090
|
return request;
|
|
6001
6091
|
}
|
|
6002
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6003
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
6092
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityDataSelectorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6093
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityDataSelectorService, providedIn: 'root' }); }
|
|
6004
6094
|
}
|
|
6005
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6095
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityDataSelectorService, decorators: [{
|
|
6006
6096
|
type: Injectable,
|
|
6007
6097
|
args: [{
|
|
6008
6098
|
providedIn: 'root'
|
|
@@ -6018,6 +6108,9 @@ class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
6018
6108
|
this.popupService = inject(AXPopupService);
|
|
6019
6109
|
this.entityDataSelectorService = inject(AXPEntityDataSelectorService);
|
|
6020
6110
|
this.translateService = inject(AXTranslationService);
|
|
6111
|
+
this.selectBox = viewChild('selectBox', ...(ngDevMode ? [{ debugName: "selectBox" }] : []));
|
|
6112
|
+
this.tagBox = viewChild('tagBox', ...(ngDevMode ? [{ debugName: "tagBox" }] : []));
|
|
6113
|
+
this.shouldFocus = signal(false, ...(ngDevMode ? [{ debugName: "shouldFocus" }] : []));
|
|
6021
6114
|
this.expose = computed(() => this.options()['expose'], ...(ngDevMode ? [{ debugName: "expose" }] : []));
|
|
6022
6115
|
this.entity = computed(() => this.options()['entity'], ...(ngDevMode ? [{ debugName: "entity" }] : []));
|
|
6023
6116
|
this.disabled = computed(() => this.options()['disabled'], ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
@@ -6038,7 +6131,9 @@ class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
6038
6131
|
return this.defaultTextField();
|
|
6039
6132
|
}, ...(ngDevMode ? [{ debugName: "displayField" }] : []));
|
|
6040
6133
|
this.selectedItemsText = computed(() => {
|
|
6041
|
-
return this.selectedItems()
|
|
6134
|
+
return this.selectedItems()
|
|
6135
|
+
.map((item) => get(item, this.displayField()))
|
|
6136
|
+
.join(', ');
|
|
6042
6137
|
}, ...(ngDevMode ? [{ debugName: "selectedItemsText" }] : []));
|
|
6043
6138
|
this.valueField = computed(() => this.entityDef()?.properties.find((c) => c.name == 'id')?.name ?? 'id', ...(ngDevMode ? [{ debugName: "valueField" }] : []));
|
|
6044
6139
|
this.entityDef = signal(null, ...(ngDevMode ? [{ debugName: "entityDef" }] : []));
|
|
@@ -6066,9 +6161,7 @@ class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
6066
6161
|
this.isLoading = signal(false, ...(ngDevMode ? [{ debugName: "isLoading" }] : []));
|
|
6067
6162
|
this.isOpen = signal(false, ...(ngDevMode ? [{ debugName: "isOpen" }] : []));
|
|
6068
6163
|
this.placeholder = computed(() => {
|
|
6069
|
-
return this.selectedItems().length
|
|
6070
|
-
? ''
|
|
6071
|
-
: this.translateService.translateSync('@general:widgets.lookup.search');
|
|
6164
|
+
return this.selectedItems().length ? '' : this.translateService.translateSync('@general:widgets.lookup.search');
|
|
6072
6165
|
}, ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
6073
6166
|
this.#efEntity = effect(async () => {
|
|
6074
6167
|
const [module, entity] = this.entity().split('.');
|
|
@@ -6082,6 +6175,46 @@ class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
6082
6175
|
this.clear();
|
|
6083
6176
|
}
|
|
6084
6177
|
}, ...(ngDevMode ? [{ debugName: "#efValue" }] : []));
|
|
6178
|
+
//#region ---- Focus Management ----
|
|
6179
|
+
/**
|
|
6180
|
+
* Reactive effect to auto-focus when viewChild is ready
|
|
6181
|
+
* This handles the case where selectBox/tagBox are inside @if conditions
|
|
6182
|
+
*/
|
|
6183
|
+
this.#focusEffect = effect(() => {
|
|
6184
|
+
const shouldFocus = this.shouldFocus();
|
|
6185
|
+
// Early return if shouldn't focus
|
|
6186
|
+
if (!shouldFocus) {
|
|
6187
|
+
return;
|
|
6188
|
+
}
|
|
6189
|
+
// Check which viewChild is available based on look type
|
|
6190
|
+
const look = this.look();
|
|
6191
|
+
if (look === 'select') {
|
|
6192
|
+
const selectBox = this.selectBox();
|
|
6193
|
+
if (selectBox) {
|
|
6194
|
+
try {
|
|
6195
|
+
selectBox.focus();
|
|
6196
|
+
// Reset focus flag after successful focus
|
|
6197
|
+
this.shouldFocus.set(false);
|
|
6198
|
+
}
|
|
6199
|
+
catch (error) {
|
|
6200
|
+
// console.error('Error focusing select box:', error);
|
|
6201
|
+
}
|
|
6202
|
+
}
|
|
6203
|
+
}
|
|
6204
|
+
else {
|
|
6205
|
+
const tagBox = this.tagBox();
|
|
6206
|
+
if (tagBox) {
|
|
6207
|
+
try {
|
|
6208
|
+
tagBox.focus();
|
|
6209
|
+
// Reset focus flag after successful focus
|
|
6210
|
+
this.shouldFocus.set(false);
|
|
6211
|
+
}
|
|
6212
|
+
catch (error) {
|
|
6213
|
+
// console.error('Error focusing tag box:', error);
|
|
6214
|
+
}
|
|
6215
|
+
}
|
|
6216
|
+
}
|
|
6217
|
+
}, ...(ngDevMode ? [{ debugName: "#focusEffect" }] : []));
|
|
6085
6218
|
}
|
|
6086
6219
|
#efEntity;
|
|
6087
6220
|
#efValue;
|
|
@@ -6119,7 +6252,7 @@ class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
6119
6252
|
filters: this.customFilter(),
|
|
6120
6253
|
parentFilters: this.filter,
|
|
6121
6254
|
columns: this.columns(),
|
|
6122
|
-
allowCreate: true
|
|
6255
|
+
allowCreate: true,
|
|
6123
6256
|
});
|
|
6124
6257
|
if (result && 'items' in result) {
|
|
6125
6258
|
this.setItems(result.items);
|
|
@@ -6232,7 +6365,7 @@ class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
6232
6365
|
if (!this.entityDef())
|
|
6233
6366
|
return null;
|
|
6234
6367
|
const entity = this.entityDef();
|
|
6235
|
-
const searchFields = entity.properties.filter(p => p.options?.filter?.inline?.enabled);
|
|
6368
|
+
const searchFields = entity.properties.filter((p) => p.options?.filter?.inline?.enabled);
|
|
6236
6369
|
const inlineFilters = {
|
|
6237
6370
|
field: null,
|
|
6238
6371
|
logic: 'or',
|
|
@@ -6258,7 +6391,7 @@ class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
6258
6391
|
if (request.filter) {
|
|
6259
6392
|
request.filter = {
|
|
6260
6393
|
logic: 'and',
|
|
6261
|
-
filters: [...[request.filter], ...(filter.filters ?? [])]
|
|
6394
|
+
filters: [...[request.filter], ...(filter.filters ?? [])],
|
|
6262
6395
|
};
|
|
6263
6396
|
}
|
|
6264
6397
|
else {
|
|
@@ -6269,149 +6402,165 @@ class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
6269
6402
|
singleOrMultiple(values) {
|
|
6270
6403
|
return this.multiple() ? values : values[0];
|
|
6271
6404
|
}
|
|
6272
|
-
|
|
6273
|
-
|
|
6274
|
-
|
|
6275
|
-
|
|
6276
|
-
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
|
|
6280
|
-
|
|
6281
|
-
|
|
6282
|
-
|
|
6283
|
-
|
|
6284
|
-
|
|
6285
|
-
|
|
6286
|
-
|
|
6287
|
-
|
|
6288
|
-
|
|
6289
|
-
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
|
|
6293
|
-
|
|
6294
|
-
|
|
6295
|
-
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
|
|
6299
|
-
|
|
6300
|
-
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
|
-
|
|
6305
|
-
|
|
6306
|
-
|
|
6307
|
-
|
|
6308
|
-
|
|
6309
|
-
|
|
6310
|
-
|
|
6311
|
-
|
|
6312
|
-
|
|
6313
|
-
|
|
6314
|
-
|
|
6315
|
-
|
|
6316
|
-
|
|
6317
|
-
|
|
6318
|
-
|
|
6319
|
-
|
|
6320
|
-
|
|
6321
|
-
|
|
6405
|
+
//#region ---- Focus Management ----
|
|
6406
|
+
/**
|
|
6407
|
+
* Reactive effect to auto-focus when viewChild is ready
|
|
6408
|
+
* This handles the case where selectBox/tagBox are inside @if conditions
|
|
6409
|
+
*/
|
|
6410
|
+
#focusEffect;
|
|
6411
|
+
/**
|
|
6412
|
+
* Public focus method to trigger focusing
|
|
6413
|
+
*/
|
|
6414
|
+
focus() {
|
|
6415
|
+
this.shouldFocus.set(true);
|
|
6416
|
+
}
|
|
6417
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPLookupWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6418
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.12", type: AXPLookupWidgetEditComponent, isStandalone: true, selector: "axp-lookup-widget-edit", viewQueries: [{ propertyName: "selectBox", first: true, predicate: ["selectBox"], descendants: true, isSignal: true }, { propertyName: "tagBox", first: true, predicate: ["tagBox"], descendants: true, isSignal: true }, { propertyName: "textbox", first: true, predicate: AXTagBoxComponent, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
6419
|
+
@if (dataSource()) {
|
|
6420
|
+
@if (look() == 'select') {
|
|
6421
|
+
<ax-select-box
|
|
6422
|
+
#selectBox
|
|
6423
|
+
[dataSource]="dataSource()!"
|
|
6424
|
+
[ngModel]="selectedItems()"
|
|
6425
|
+
[textField]="displayField()"
|
|
6426
|
+
[valueField]="valueField()"
|
|
6427
|
+
[disabled]="disabled()"
|
|
6428
|
+
[multiple]="multiple()"
|
|
6429
|
+
(onValueChanged)="selectBoxValueChange($event)"
|
|
6430
|
+
>
|
|
6431
|
+
<ax-search-box>
|
|
6432
|
+
<ax-clear-button></ax-clear-button>
|
|
6433
|
+
</ax-search-box>
|
|
6434
|
+
@for (validation of validationRules(); track $index) {
|
|
6435
|
+
<ax-validation-rule
|
|
6436
|
+
[rule]="validation.rule"
|
|
6437
|
+
[message]="validation.options?.message"
|
|
6438
|
+
[options]="validation.options"
|
|
6439
|
+
></ax-validation-rule>
|
|
6440
|
+
}
|
|
6441
|
+
@if (allowClear()) {
|
|
6442
|
+
<ax-clear-button (click)="handleClearClick()"></ax-clear-button>
|
|
6443
|
+
}
|
|
6444
|
+
</ax-select-box>
|
|
6445
|
+
} @else {
|
|
6446
|
+
<ax-tag-box
|
|
6447
|
+
#tagBox
|
|
6448
|
+
[ngModel]="selectedItems()"
|
|
6449
|
+
[textField]="displayField()"
|
|
6450
|
+
[valueField]="valueField()"
|
|
6451
|
+
(onValueChanged)="handleValueChange($event)"
|
|
6452
|
+
[placeholder]="placeholder() | translate | async"
|
|
6453
|
+
[addOnEnter]="false"
|
|
6454
|
+
[addOnComma]="false"
|
|
6455
|
+
[disabled]="disabled()"
|
|
6456
|
+
(onKeyUp)="handleKeyUp($event)"
|
|
6457
|
+
(onBlur)="handleOnBlur($event)"
|
|
6458
|
+
>
|
|
6459
|
+
@for (validation of validationRules(); track $index) {
|
|
6460
|
+
<ax-validation-rule
|
|
6461
|
+
[rule]="validation.rule"
|
|
6462
|
+
[message]="validation.options?.message"
|
|
6463
|
+
[options]="validation.options"
|
|
6464
|
+
></ax-validation-rule>
|
|
6465
|
+
}
|
|
6466
|
+
@if (selectedItems().length > 1 || allowClear()) {
|
|
6467
|
+
<ax-clear-button (click)="handleClearClick()"></ax-clear-button>
|
|
6468
|
+
}
|
|
6322
6469
|
|
|
6323
|
-
|
|
6324
|
-
|
|
6325
|
-
|
|
6326
|
-
|
|
6327
|
-
|
|
6328
|
-
|
|
6329
|
-
|
|
6330
|
-
|
|
6331
|
-
|
|
6332
|
-
|
|
6333
|
-
|
|
6334
|
-
|
|
6335
|
-
|
|
6336
|
-
|
|
6337
|
-
|
|
6470
|
+
<ax-suffix>
|
|
6471
|
+
<ax-button
|
|
6472
|
+
color="ghost"
|
|
6473
|
+
look="blank"
|
|
6474
|
+
[disabled]="isLoading() || disabled()"
|
|
6475
|
+
(onClick)="handleOnClick($event)"
|
|
6476
|
+
>
|
|
6477
|
+
@if (isLoading()) {
|
|
6478
|
+
<ax-loading></ax-loading>
|
|
6479
|
+
} @else {
|
|
6480
|
+
<ax-icon icon="far fa-search"> </ax-icon>
|
|
6481
|
+
}
|
|
6482
|
+
</ax-button>
|
|
6483
|
+
</ax-suffix>
|
|
6484
|
+
</ax-tag-box>
|
|
6485
|
+
}
|
|
6338
6486
|
}
|
|
6339
|
-
}
|
|
6340
6487
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type:
|
|
6341
6488
|
//
|
|
6342
|
-
AXButtonModule }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3$2.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i3$2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i5$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "ngmodule", type: AXTagBoxModule }, { kind: "component", type: i6$1.AXTagBoxComponent, selector: "ax-tag-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "allowNull", "type", "look", "addOnComma", "addOnEnter", "valueField", "textField", "readonlyField", "allowDuplicateValues", "tagTemplate"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress", "onTagClick", "onTagDblClick", "onTagContextMenu"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i7.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "disabledField", "textTemplate", "selectedItems", "isItemTruncated", "showItemTooltip", "itemHeight", "maxVisibleItems", "dataSource", "minRecordsForSearch", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth", "searchBoxAutoFocus"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed", "onItemSelected", "onItemClick"] }, { kind: "component", type: AXSearchBoxComponent, selector: "ax-search-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "class", "delayTime", "type"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6489
|
+
AXButtonModule }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3$2.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i3$2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i5$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "ngmodule", type: AXTagBoxModule }, { kind: "component", type: i6$1.AXTagBoxComponent, selector: "ax-tag-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "allowNull", "type", "look", "addOnComma", "addOnEnter", "valueField", "textField", "readonlyField", "allowDuplicateValues", "tagTemplate"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress", "onTagClick", "onTagDblClick", "onTagContextMenu"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i7.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "disabledField", "textTemplate", "selectedItems", "isItemTruncated", "showItemTooltip", "itemHeight", "maxVisibleItems", "dataSource", "minRecordsForSearch", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth", "searchBoxAutoFocus"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed", "onItemSelected", "onItemClick"] }, { kind: "component", type: AXSearchBoxComponent, selector: "ax-search-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "class", "delayTime", "type", "autoSearch"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6343
6490
|
}
|
|
6344
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6491
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPLookupWidgetEditComponent, decorators: [{
|
|
6345
6492
|
type: Component,
|
|
6346
6493
|
args: [{
|
|
6347
6494
|
selector: 'axp-lookup-widget-edit',
|
|
6348
6495
|
template: `
|
|
6349
|
-
|
|
6350
|
-
|
|
6351
|
-
|
|
6352
|
-
|
|
6353
|
-
|
|
6354
|
-
|
|
6355
|
-
|
|
6356
|
-
|
|
6357
|
-
|
|
6358
|
-
|
|
6359
|
-
|
|
6360
|
-
|
|
6361
|
-
<ax-
|
|
6362
|
-
|
|
6363
|
-
|
|
6364
|
-
|
|
6365
|
-
|
|
6366
|
-
|
|
6367
|
-
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
|
|
6371
|
-
|
|
6372
|
-
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
|
|
6382
|
-
|
|
6383
|
-
|
|
6384
|
-
|
|
6385
|
-
|
|
6386
|
-
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
-
|
|
6390
|
-
|
|
6391
|
-
|
|
6392
|
-
|
|
6393
|
-
|
|
6394
|
-
|
|
6395
|
-
|
|
6396
|
-
|
|
6496
|
+
@if (dataSource()) {
|
|
6497
|
+
@if (look() == 'select') {
|
|
6498
|
+
<ax-select-box
|
|
6499
|
+
#selectBox
|
|
6500
|
+
[dataSource]="dataSource()!"
|
|
6501
|
+
[ngModel]="selectedItems()"
|
|
6502
|
+
[textField]="displayField()"
|
|
6503
|
+
[valueField]="valueField()"
|
|
6504
|
+
[disabled]="disabled()"
|
|
6505
|
+
[multiple]="multiple()"
|
|
6506
|
+
(onValueChanged)="selectBoxValueChange($event)"
|
|
6507
|
+
>
|
|
6508
|
+
<ax-search-box>
|
|
6509
|
+
<ax-clear-button></ax-clear-button>
|
|
6510
|
+
</ax-search-box>
|
|
6511
|
+
@for (validation of validationRules(); track $index) {
|
|
6512
|
+
<ax-validation-rule
|
|
6513
|
+
[rule]="validation.rule"
|
|
6514
|
+
[message]="validation.options?.message"
|
|
6515
|
+
[options]="validation.options"
|
|
6516
|
+
></ax-validation-rule>
|
|
6517
|
+
}
|
|
6518
|
+
@if (allowClear()) {
|
|
6519
|
+
<ax-clear-button (click)="handleClearClick()"></ax-clear-button>
|
|
6520
|
+
}
|
|
6521
|
+
</ax-select-box>
|
|
6522
|
+
} @else {
|
|
6523
|
+
<ax-tag-box
|
|
6524
|
+
#tagBox
|
|
6525
|
+
[ngModel]="selectedItems()"
|
|
6526
|
+
[textField]="displayField()"
|
|
6527
|
+
[valueField]="valueField()"
|
|
6528
|
+
(onValueChanged)="handleValueChange($event)"
|
|
6529
|
+
[placeholder]="placeholder() | translate | async"
|
|
6530
|
+
[addOnEnter]="false"
|
|
6531
|
+
[addOnComma]="false"
|
|
6532
|
+
[disabled]="disabled()"
|
|
6533
|
+
(onKeyUp)="handleKeyUp($event)"
|
|
6534
|
+
(onBlur)="handleOnBlur($event)"
|
|
6535
|
+
>
|
|
6536
|
+
@for (validation of validationRules(); track $index) {
|
|
6537
|
+
<ax-validation-rule
|
|
6538
|
+
[rule]="validation.rule"
|
|
6539
|
+
[message]="validation.options?.message"
|
|
6540
|
+
[options]="validation.options"
|
|
6541
|
+
></ax-validation-rule>
|
|
6542
|
+
}
|
|
6543
|
+
@if (selectedItems().length > 1 || allowClear()) {
|
|
6544
|
+
<ax-clear-button (click)="handleClearClick()"></ax-clear-button>
|
|
6545
|
+
}
|
|
6397
6546
|
|
|
6398
|
-
|
|
6399
|
-
|
|
6400
|
-
|
|
6401
|
-
|
|
6402
|
-
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
|
|
6407
|
-
|
|
6408
|
-
|
|
6409
|
-
|
|
6410
|
-
|
|
6411
|
-
|
|
6412
|
-
|
|
6547
|
+
<ax-suffix>
|
|
6548
|
+
<ax-button
|
|
6549
|
+
color="ghost"
|
|
6550
|
+
look="blank"
|
|
6551
|
+
[disabled]="isLoading() || disabled()"
|
|
6552
|
+
(onClick)="handleOnClick($event)"
|
|
6553
|
+
>
|
|
6554
|
+
@if (isLoading()) {
|
|
6555
|
+
<ax-loading></ax-loading>
|
|
6556
|
+
} @else {
|
|
6557
|
+
<ax-icon icon="far fa-search"> </ax-icon>
|
|
6558
|
+
}
|
|
6559
|
+
</ax-button>
|
|
6560
|
+
</ax-suffix>
|
|
6561
|
+
</ax-tag-box>
|
|
6562
|
+
}
|
|
6413
6563
|
}
|
|
6414
|
-
}
|
|
6415
6564
|
`,
|
|
6416
6565
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6417
6566
|
imports: [
|
|
@@ -6429,7 +6578,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
6429
6578
|
AXSearchBoxComponent,
|
|
6430
6579
|
],
|
|
6431
6580
|
}]
|
|
6432
|
-
}] });
|
|
6581
|
+
}], propDecorators: { selectBox: [{ type: i0.ViewChild, args: ['selectBox', { isSignal: true }] }], tagBox: [{ type: i0.ViewChild, args: ['tagBox', { isSignal: true }] }], textbox: [{ type: i0.ViewChild, args: [i0.forwardRef(() => AXTagBoxComponent), { isSignal: true }] }] } });
|
|
6433
6582
|
|
|
6434
6583
|
var lookupWidgetEdit_component = /*#__PURE__*/Object.freeze({
|
|
6435
6584
|
__proto__: null,
|
|
@@ -6533,13 +6682,13 @@ class AXPLookupWidgetColumnComponent extends AXPColumnWidgetComponent {
|
|
|
6533
6682
|
[this.textField]: item,
|
|
6534
6683
|
};
|
|
6535
6684
|
}
|
|
6536
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6537
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
6685
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPLookupWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6686
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.12", type: AXPLookupWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue", rowData: "rowData" }, viewQueries: [{ propertyName: "moreButton", first: true, predicate: ["moreButton"], descendants: true, isSignal: true }, { propertyName: "morePopover", first: true, predicate: ["morePopover"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-flex ax-gap-1 ax-items-center\">\n @if (visibleItems().length > 0) {\n @for (item of visibleItems(); track $index) {\n <span class=\"ax-cursor-pointer hover:ax-text-primary hover:ax-underline\" (click)=\"handleItemClick($index)\">\n {{ item[this.textField] }}\n </span>\n @if ($index < visibleItems().length - 1) {\n <span class=\"ax-text-muted\">\u2022</span>\n }\n }\n } @else {\n <span class=\"ax-text-muted\">---</span>\n }\n\n @if (hasMoreItems()) {\n <span\n class=\"ax-absolute ax-flex ax-items-center ax-end-0 ax-px-1 ax-cursor-pointer ax-h-full hover:ax-primary-lighter\"\n (click)=\"showMoreItems()\"\n #moreButton\n >\n <i class=\"fa-light fa-ellipsis-vertical\"></i>\n </span>\n }\n</div>\n\n<!-- More Items Popover -->\n<ax-popover [openOn]=\"'manual'\" #morePopover (openChange)=\"onMorePopoverOpenChange($event)\">\n <div class=\"ax-lightest-surface ax-border ax-rounded-lg ax-shadow-lg ax-p-4 ax-min-w-[280px]\">\n <div class=\"ax-mb-4 ax-border-b ax-pb-2\">\n <h3 class=\"ax-text-base ax-font-semibold\">All {{ allItems().length }} Items</h3>\n </div>\n <div class=\"ax-max-h-64 ax-flex ax-flex-col ax-gap-3\">\n @for (item of allItems(); track $index) {\n <span class=\"ax-cursor-pointer hover:ax-text-primary hover:ax-underline\" (click)=\"showItemDetail(item, $index)\">\n {{ item[this.textField] }}\n </span>\n }\n </div>\n </div>\n</ax-popover>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "component", type: i2.AXPopoverComponent, selector: "ax-popover", inputs: ["width", "disabled", "offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "openAfter", "closeAfter", "backdropClass", "panelClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6538
6687
|
}
|
|
6539
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPLookupWidgetColumnComponent, decorators: [{
|
|
6540
6689
|
type: Component,
|
|
6541
6690
|
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, AXBadgeModule, AXButtonModule, AXPopoverModule], inputs: ['rawValue', 'rowData'], template: "<div class=\"ax-flex ax-gap-1 ax-items-center\">\n @if (visibleItems().length > 0) {\n @for (item of visibleItems(); track $index) {\n <span class=\"ax-cursor-pointer hover:ax-text-primary hover:ax-underline\" (click)=\"handleItemClick($index)\">\n {{ item[this.textField] }}\n </span>\n @if ($index < visibleItems().length - 1) {\n <span class=\"ax-text-muted\">\u2022</span>\n }\n }\n } @else {\n <span class=\"ax-text-muted\">---</span>\n }\n\n @if (hasMoreItems()) {\n <span\n class=\"ax-absolute ax-flex ax-items-center ax-end-0 ax-px-1 ax-cursor-pointer ax-h-full hover:ax-primary-lighter\"\n (click)=\"showMoreItems()\"\n #moreButton\n >\n <i class=\"fa-light fa-ellipsis-vertical\"></i>\n </span>\n }\n</div>\n\n<!-- More Items Popover -->\n<ax-popover [openOn]=\"'manual'\" #morePopover (openChange)=\"onMorePopoverOpenChange($event)\">\n <div class=\"ax-lightest-surface ax-border ax-rounded-lg ax-shadow-lg ax-p-4 ax-min-w-[280px]\">\n <div class=\"ax-mb-4 ax-border-b ax-pb-2\">\n <h3 class=\"ax-text-base ax-font-semibold\">All {{ allItems().length }} Items</h3>\n </div>\n <div class=\"ax-max-h-64 ax-flex ax-flex-col ax-gap-3\">\n @for (item of allItems(); track $index) {\n <span class=\"ax-cursor-pointer hover:ax-text-primary hover:ax-underline\" (click)=\"showItemDetail(item, $index)\">\n {{ item[this.textField] }}\n </span>\n }\n </div>\n </div>\n</ax-popover>\n" }]
|
|
6542
|
-
}] });
|
|
6691
|
+
}], propDecorators: { moreButton: [{ type: i0.ViewChild, args: ['moreButton', { isSignal: true }] }], morePopover: [{ type: i0.ViewChild, args: ['morePopover', { isSignal: true }] }] } });
|
|
6543
6692
|
|
|
6544
6693
|
var lookupWidgetColumn_component = /*#__PURE__*/Object.freeze({
|
|
6545
6694
|
__proto__: null,
|
|
@@ -6648,8 +6797,8 @@ class AXPWidgetSelectorWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
6648
6797
|
const widget = this.widgetRegisteryService.resolve(e.values.type);
|
|
6649
6798
|
this.setValue({ title: widget?.title, ...e.values });
|
|
6650
6799
|
}
|
|
6651
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6652
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
6800
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPWidgetSelectorWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6801
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.12", type: AXPWidgetSelectorWidgetEditComponent, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "textbox", first: true, predicate: AXTextBoxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
6653
6802
|
<ax-text-box [ngModel]="displayText()" [placeholder]="placeholder()" [readonly]="true">
|
|
6654
6803
|
@for (validation of validationRules(); track $index) {
|
|
6655
6804
|
<ax-validation-rule
|
|
@@ -6670,7 +6819,7 @@ class AXPWidgetSelectorWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
6670
6819
|
}
|
|
6671
6820
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i2$2.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3$2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i5$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "component", type: AXPWidgetPropertyViewerComponent, selector: "axp-widget-property-viewer", inputs: ["widget", "mode"], outputs: ["onChanged"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6672
6821
|
}
|
|
6673
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6822
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPWidgetSelectorWidgetEditComponent, decorators: [{
|
|
6674
6823
|
type: Component,
|
|
6675
6824
|
args: [{
|
|
6676
6825
|
template: `
|
|
@@ -6717,10 +6866,10 @@ var widgetSelectorWidgetEdit_component = /*#__PURE__*/Object.freeze({
|
|
|
6717
6866
|
});
|
|
6718
6867
|
|
|
6719
6868
|
class AXPWidgetSelectorWidgetViewComponent extends AXPValueWidgetComponent {
|
|
6720
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6721
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
6869
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPWidgetSelectorWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6870
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.12", type: AXPWidgetSelectorWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `{{ getValue()?.title }}`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6722
6871
|
}
|
|
6723
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPWidgetSelectorWidgetViewComponent, decorators: [{
|
|
6724
6873
|
type: Component,
|
|
6725
6874
|
args: [{
|
|
6726
6875
|
template: `{{ getValue()?.title }}`,
|
|
@@ -6797,10 +6946,10 @@ class AXPEntityCreatePopupAction extends AXPWorkflowAction {
|
|
|
6797
6946
|
}
|
|
6798
6947
|
}
|
|
6799
6948
|
}
|
|
6800
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6801
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
6949
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityCreatePopupAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6950
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityCreatePopupAction }); }
|
|
6802
6951
|
}
|
|
6803
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6952
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityCreatePopupAction, decorators: [{
|
|
6804
6953
|
type: Injectable
|
|
6805
6954
|
}] });
|
|
6806
6955
|
class AXPEntityCreateSubmittedAction extends AXPWorkflowAction {
|
|
@@ -6808,10 +6957,10 @@ class AXPEntityCreateSubmittedAction extends AXPWorkflowAction {
|
|
|
6808
6957
|
this.dispatch(AXPEntityCreateEvent({ entity: context.getVariable('entity'), meta: context.getVariable('meta') }));
|
|
6809
6958
|
this.dispatch(AXPRefreshEvent({ entity: context.getVariable('entity'), meta: context.getVariable('meta') }));
|
|
6810
6959
|
}
|
|
6811
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6812
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
6960
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityCreateSubmittedAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6961
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityCreateSubmittedAction }); }
|
|
6813
6962
|
}
|
|
6814
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6963
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityCreateSubmittedAction, decorators: [{
|
|
6815
6964
|
type: Injectable
|
|
6816
6965
|
}] });
|
|
6817
6966
|
const AXPCreateEntityWorkflow = {
|
|
@@ -6902,10 +7051,10 @@ class AXPQuickEntityModifyPopupAction extends AXPWorkflowAction {
|
|
|
6902
7051
|
context.setVariable('data', cloneDeep(popup.data.context));
|
|
6903
7052
|
}
|
|
6904
7053
|
}
|
|
6905
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6906
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
7054
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPQuickEntityModifyPopupAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7055
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPQuickEntityModifyPopupAction }); }
|
|
6907
7056
|
}
|
|
6908
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7057
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPQuickEntityModifyPopupAction, decorators: [{
|
|
6909
7058
|
type: Injectable
|
|
6910
7059
|
}] });
|
|
6911
7060
|
const AXPQuickModifyEntityWorkflow = {
|
|
@@ -6962,10 +7111,10 @@ class AXPEntityApplyUpdatesAction extends AXPWorkflowAction {
|
|
|
6962
7111
|
context.setOutput('error', error);
|
|
6963
7112
|
}
|
|
6964
7113
|
}
|
|
6965
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6966
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
7114
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityApplyUpdatesAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7115
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityApplyUpdatesAction }); }
|
|
6967
7116
|
}
|
|
6968
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityApplyUpdatesAction, decorators: [{
|
|
6969
7118
|
type: Injectable
|
|
6970
7119
|
}] });
|
|
6971
7120
|
|
|
@@ -6984,10 +7133,10 @@ class AXPShowDetailViewAction extends AXPWorkflowAction {
|
|
|
6984
7133
|
context.setVariable('payload', newPayload);
|
|
6985
7134
|
this.navigation.execute(context);
|
|
6986
7135
|
}
|
|
6987
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6988
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
7136
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPShowDetailViewAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7137
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPShowDetailViewAction }); }
|
|
6989
7138
|
}
|
|
6990
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7139
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPShowDetailViewAction, decorators: [{
|
|
6991
7140
|
type: Injectable
|
|
6992
7141
|
}] });
|
|
6993
7142
|
const AXPShowDetailsViewWorkflow = {
|
|
@@ -7041,10 +7190,10 @@ class AXPShowFileUploaderPopupAction extends AXPWorkflowAction {
|
|
|
7041
7190
|
context.setVariable('data', cloneDeep(entityData));
|
|
7042
7191
|
}
|
|
7043
7192
|
}
|
|
7044
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7045
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
7193
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPShowFileUploaderPopupAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7194
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPShowFileUploaderPopupAction }); }
|
|
7046
7195
|
}
|
|
7047
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7196
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPShowFileUploaderPopupAction, decorators: [{
|
|
7048
7197
|
type: Injectable
|
|
7049
7198
|
}] });
|
|
7050
7199
|
const AXPShowFileUploaderPopupWorkflow = {
|
|
@@ -7095,10 +7244,10 @@ class AXPShowListViewAction extends AXPWorkflowAction {
|
|
|
7095
7244
|
context.setVariable('payload', newPayload);
|
|
7096
7245
|
this.navigation.execute(context);
|
|
7097
7246
|
}
|
|
7098
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7099
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
7247
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPShowListViewAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7248
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPShowListViewAction }); }
|
|
7100
7249
|
}
|
|
7101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7250
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPShowListViewAction, decorators: [{
|
|
7102
7251
|
type: Injectable
|
|
7103
7252
|
}] });
|
|
7104
7253
|
const AXPShowListViewWorkflow = {
|
|
@@ -7187,9 +7336,9 @@ class AXPEntityModule {
|
|
|
7187
7336
|
},
|
|
7188
7337
|
});
|
|
7189
7338
|
}
|
|
7190
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7191
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
7192
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
7339
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityModule, deps: [{ token: i1$1.AXPAppStartUpService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7340
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityModule, imports: [RouterModule, i2$3.AXPWorkflowModule, i3$1.AXPWidgetCoreModule] }); }
|
|
7341
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityModule, providers: [
|
|
7193
7342
|
{
|
|
7194
7343
|
provide: ROUTES,
|
|
7195
7344
|
multi: true,
|
|
@@ -7219,7 +7368,7 @@ class AXPEntityModule {
|
|
|
7219
7368
|
},
|
|
7220
7369
|
{
|
|
7221
7370
|
key: 'Entity:Create',
|
|
7222
|
-
command: () => import('./acorex-platform-layout-entity-create-entity.command-
|
|
7371
|
+
command: () => import('./acorex-platform-layout-entity-create-entity.command-DGeylNSY.mjs').then((c) => c.AXPCreateEntityCommand),
|
|
7223
7372
|
},
|
|
7224
7373
|
]),
|
|
7225
7374
|
provideQuerySetups([
|
|
@@ -7266,7 +7415,7 @@ class AXPEntityModule {
|
|
|
7266
7415
|
],
|
|
7267
7416
|
})] }); }
|
|
7268
7417
|
}
|
|
7269
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityModule, decorators: [{
|
|
7270
7419
|
type: NgModule,
|
|
7271
7420
|
args: [{
|
|
7272
7421
|
imports: [
|
|
@@ -7340,7 +7489,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
7340
7489
|
},
|
|
7341
7490
|
{
|
|
7342
7491
|
key: 'Entity:Create',
|
|
7343
|
-
command: () => import('./acorex-platform-layout-entity-create-entity.command-
|
|
7492
|
+
command: () => import('./acorex-platform-layout-entity-create-entity.command-DGeylNSY.mjs').then((c) => c.AXPCreateEntityCommand),
|
|
7344
7493
|
},
|
|
7345
7494
|
]),
|
|
7346
7495
|
provideQuerySetups([
|
|
@@ -7441,10 +7590,10 @@ class AXPGetEntityDetailsQuery {
|
|
|
7441
7590
|
throw new Error(`Failed to fetch entity data: ${error instanceof Error ? error.message : 'Unknown error'}`);
|
|
7442
7591
|
}
|
|
7443
7592
|
}
|
|
7444
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7445
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
7593
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPGetEntityDetailsQuery, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7594
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPGetEntityDetailsQuery, providedIn: 'root' }); }
|
|
7446
7595
|
}
|
|
7447
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7596
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPGetEntityDetailsQuery, decorators: [{
|
|
7448
7597
|
type: Injectable,
|
|
7449
7598
|
args: [{ providedIn: 'root' }]
|
|
7450
7599
|
}] });
|
|
@@ -7467,10 +7616,10 @@ class AXPEntityDynamicDialogService {
|
|
|
7467
7616
|
entity(fullName) {
|
|
7468
7617
|
return new InterfaceSelector(this.entityRegistry, this.layoutBuilder, this.layoutTheme, fullName);
|
|
7469
7618
|
}
|
|
7470
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7471
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
7619
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityDynamicDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7620
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityDynamicDialogService, providedIn: 'root' }); }
|
|
7472
7621
|
}
|
|
7473
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7622
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPEntityDynamicDialogService, decorators: [{
|
|
7474
7623
|
type: Injectable,
|
|
7475
7624
|
args: [{ providedIn: 'root' }]
|
|
7476
7625
|
}] });
|
|
@@ -7785,13 +7934,15 @@ function entityMasterCrudActions(options) {
|
|
|
7785
7934
|
}
|
|
7786
7935
|
if (opts.delete) {
|
|
7787
7936
|
actions.push(entityMasterBulkDeleteAction());
|
|
7937
|
+
actions.push(entityMasterDeleteAction());
|
|
7788
7938
|
}
|
|
7789
7939
|
if (opts.view) {
|
|
7790
7940
|
actions.push(entityMasterViewAction());
|
|
7791
7941
|
}
|
|
7792
|
-
|
|
7793
|
-
|
|
7794
|
-
|
|
7942
|
+
// TODO: Add edit action
|
|
7943
|
+
// if (opts.edit) {
|
|
7944
|
+
// actions.push(entityMasterViewAction());
|
|
7945
|
+
// }
|
|
7795
7946
|
return actions;
|
|
7796
7947
|
}
|
|
7797
7948
|
function entityMasterRecordActions() {
|