@acorex/platform 20.3.0-next.1 → 20.3.0-next.11
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 +125 -12
- package/core/index.d.ts +656 -100
- package/fesm2022/acorex-platform-auth.mjs +20 -20
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs +120 -148
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +885 -261
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain.mjs +16 -16
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +1615 -662
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +3327 -157
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +172 -210
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-764ie8R8.mjs +52 -0
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-764ie8R8.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-entity.mjs +4522 -1643
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +398 -89
- package/fesm2022/acorex-platform-layout-views.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 +40 -40
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-hHXxHlFG.mjs → acorex-platform-themes-default-entity-master-create-view.component-Ct-ri59W.mjs} +7 -7
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Ct-ri59W.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-7BB4LdjK.mjs +706 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-7BB4LdjK.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BDJR088o.mjs +101 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BDJR088o.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BExtm1JE.mjs +244 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BExtm1JE.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-401.component-D4glpFvU.mjs → acorex-platform-themes-default-error-401.component-DrO1PEOH.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-401.component-D4glpFvU.mjs.map → acorex-platform-themes-default-error-401.component-DrO1PEOH.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-404.component-BvGeDMjo.mjs → acorex-platform-themes-default-error-404.component-DqVq0oHX.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-404.component-BvGeDMjo.mjs.map → acorex-platform-themes-default-error-404.component-DqVq0oHX.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-BINy-Zo3.mjs → acorex-platform-themes-default-error-offline.component-Bt2PTL7_.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-BINy-Zo3.mjs.map → acorex-platform-themes-default-error-offline.component-Bt2PTL7_.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +64 -509
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-C833prGO.mjs → acorex-platform-themes-shared-icon-chooser-view.component-BgEh06Tn.mjs} +24 -14
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-BgEh06Tn.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-CXiRmniv.mjs → acorex-platform-themes-shared-settings.provider-CLUKU4y0.mjs} +2 -2
- package/fesm2022/acorex-platform-themes-shared-settings.provider-CLUKU4y0.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-color-chooser-column.component-DjKLg513.mjs → acorex-platform-themes-shared-theme-color-chooser-column.component-AeOQxjbS.mjs} +23 -8
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-AeOQxjbS.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-color-chooser-view.component-DE0wO98F.mjs → acorex-platform-themes-shared-theme-color-chooser-view.component-DEVzRd6-.mjs} +23 -8
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-DEVzRd6-.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +250 -85
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-lNF95FJv.mjs → acorex-platform-widgets-button-widget-designer.component-DSaD9Fwc.mjs} +7 -7
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-DSaD9Fwc.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-edit.component-D9mf08rU.mjs +50 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-edit.component-D9mf08rU.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-view.component-D6GQ-eyr.mjs +42 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-view.component-D6GQ-eyr.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-edit.component-DVbIdVZ6.mjs +55 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-edit.component-DVbIdVZ6.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-view.component-D-aM64Hu.mjs +50 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-view.component-D-aM64Hu.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-edit.component-em2-aU8E.mjs +48 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-edit.component-em2-aU8E.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-view.component-BeuIofdr.mjs +42 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-view.component-BeuIofdr.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-file-list-popup.component-DFbPO0ud.mjs → acorex-platform-widgets-file-list-popup.component-Cmtq2bBV.mjs} +72 -7
- package/fesm2022/acorex-platform-widgets-file-list-popup.component-Cmtq2bBV.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-DRsLkulH.mjs → acorex-platform-widgets-page-widget-designer.component-B-ZEi2yd.mjs} +79 -69
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-B-ZEi2yd.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-nLZYiPnF.mjs → acorex-platform-widgets-tabular-data-edit-popup.component-CMqq_iOj.mjs} +13 -13
- package/fesm2022/acorex-platform-widgets-tabular-data-edit-popup.component-CMqq_iOj.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-D6kiasYM.mjs → acorex-platform-widgets-tabular-data-view-popup.component-CRpjdiNz.mjs} +8 -7
- package/fesm2022/acorex-platform-widgets-tabular-data-view-popup.component-CRpjdiNz.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-CCMQtH3e.mjs → acorex-platform-widgets-text-block-widget-designer.component-DeSmBqMa.mjs} +9 -14
- package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-DeSmBqMa.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets.mjs +9152 -7181
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +28 -25
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/index.d.ts +419 -185
- package/layout/components/index.d.ts +1129 -24
- package/layout/designer/index.d.ts +20 -49
- package/layout/entity/index.d.ts +424 -332
- package/layout/views/index.d.ts +129 -22
- package/package.json +23 -37
- package/widgets/index.d.ts +1908 -783
- package/workflow/index.d.ts +4 -1
- package/fesm2022/acorex-platform-themes-default-create-entity-view.component-SY0oMDoH.mjs +0 -22
- package/fesm2022/acorex-platform-themes-default-create-entity-view.component-SY0oMDoH.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-hHXxHlFG.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-hf4QOz_4.mjs +0 -665
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-hf4QOz_4.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-DC3MrDtI.mjs +0 -108
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-DC3MrDtI.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Bb90PeHq.mjs +0 -236
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Bb90PeHq.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-color-chooser-column.component-DjKLg513.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-color-chooser-view.component-DE0wO98F.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-C833prGO.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-CXiRmniv.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-lNF95FJv.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-BNBOATPB.mjs +0 -85
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-BNBOATPB.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-BI18uzNZ.mjs +0 -55
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-BI18uzNZ.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C6-QPsnb.mjs +0 -76
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C6-QPsnb.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-pYOQv5g8.mjs +0 -55
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-pYOQv5g8.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-file-list-popup.component-DFbPO0ud.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-file-rename-popup.component-DA_CgIvm.mjs +0 -211
- package/fesm2022/acorex-platform-widgets-file-rename-popup.component-DA_CgIvm.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-DRsLkulH.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-rich-text-popup.component-CM_v-cL4.mjs +0 -40
- package/fesm2022/acorex-platform-widgets-rich-text-popup.component-CM_v-cL4.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-tabular-data-edit-popup.component-nLZYiPnF.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-tabular-data-view-popup.component-D6kiasYM.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-CCMQtH3e.mjs.map +0 -1
|
@@ -10,46 +10,111 @@ import { AXTranslationModule } from '@acorex/core/translation';
|
|
|
10
10
|
import * as i1$2 from '@angular/common';
|
|
11
11
|
import { CommonModule } from '@angular/common';
|
|
12
12
|
import * as i0 from '@angular/core';
|
|
13
|
-
import { input, computed, linkedSignal, Component } from '@angular/core';
|
|
13
|
+
import { inject, input, computed, linkedSignal, Component } from '@angular/core';
|
|
14
14
|
import * as i1$1 from '@acorex/platform/layout/builder';
|
|
15
15
|
import { AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';
|
|
16
|
+
import { AXPFileStorageService } from '@acorex/platform/common';
|
|
16
17
|
|
|
17
18
|
class AXPFileListPopupComponent extends AXBasePageComponent {
|
|
18
19
|
constructor() {
|
|
19
20
|
super(...arguments);
|
|
21
|
+
this.fileService = inject(AXPFileStorageService);
|
|
22
|
+
//#region ---- Component Properties ----
|
|
20
23
|
this.files = input([], ...(ngDevMode ? [{ debugName: "files" }] : []));
|
|
21
24
|
this.readOnly = input(false, ...(ngDevMode ? [{ debugName: "readOnly" }] : []));
|
|
22
25
|
this.multiple = input(false, ...(ngDevMode ? [{ debugName: "multiple" }] : []));
|
|
23
26
|
this.accept = input('*', ...(ngDevMode ? [{ debugName: "accept" }] : []));
|
|
27
|
+
this.maxFileSize = input(1024 * 1024 * 100, ...(ngDevMode ? [{ debugName: "maxFileSize" }] : []));
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region ---- Computed Properties ----
|
|
24
30
|
this.mode = computed(() => this.readOnly() ? 'view' : 'edit', ...(ngDevMode ? [{ debugName: "mode" }] : []));
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region ---- Context & Node Management ----
|
|
25
33
|
this.context = linkedSignal(() => ({}));
|
|
26
34
|
this.node = computed(() => ({
|
|
27
35
|
type: 'file-uploader',
|
|
28
36
|
path: 'files',
|
|
29
|
-
defaultValue: this.files(),
|
|
37
|
+
defaultValue: Array.isArray(this.files()) && typeof this.files()[0] !== 'string' ? this.files() : [],
|
|
30
38
|
options: {
|
|
31
39
|
readOnly: this.readOnly(),
|
|
32
40
|
multiple: this.multiple(),
|
|
33
41
|
accept: this.accept(),
|
|
42
|
+
maxFileSize: this.maxFileSize(),
|
|
34
43
|
},
|
|
35
44
|
}), ...(ngDevMode ? [{ debugName: "node" }] : []));
|
|
36
45
|
}
|
|
37
46
|
onContextChanged(event) {
|
|
38
47
|
this.context.set(event.data);
|
|
39
48
|
}
|
|
49
|
+
//#endregion
|
|
50
|
+
//#region ---- Lifecycle Methods ----
|
|
51
|
+
async ngOnInit() {
|
|
52
|
+
if (Array.isArray(this.files()) && typeof this.files()[0] === 'string') {
|
|
53
|
+
this.isLoading = true;
|
|
54
|
+
// Convert string file IDs to AXPFileListItem objects using batch API
|
|
55
|
+
const prefixedIds = this.files();
|
|
56
|
+
const actualIds = prefixedIds.map((id) => this.removeFilePrefix(id));
|
|
57
|
+
let fileItems = [];
|
|
58
|
+
try {
|
|
59
|
+
const infos = await this.fileService.findMany(actualIds);
|
|
60
|
+
const infoMap = new Map(infos.map((i) => [i.fileId, i]));
|
|
61
|
+
fileItems = prefixedIds.map((prefixedId) => {
|
|
62
|
+
const actualId = this.removeFilePrefix(prefixedId);
|
|
63
|
+
const info = infoMap.get(actualId);
|
|
64
|
+
if (info) {
|
|
65
|
+
return {
|
|
66
|
+
id: info.fileId,
|
|
67
|
+
name: info.name || '',
|
|
68
|
+
size: info.size,
|
|
69
|
+
status: 'uploaded',
|
|
70
|
+
source: {
|
|
71
|
+
kind: 'fileId',
|
|
72
|
+
value: info.fileId,
|
|
73
|
+
},
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
id: actualId,
|
|
78
|
+
name: 'Unknown File',
|
|
79
|
+
size: 0,
|
|
80
|
+
status: 'deleted',
|
|
81
|
+
source: { kind: 'none', value: '' },
|
|
82
|
+
};
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
catch (error) {
|
|
86
|
+
console.error('Failed to get file infos', error);
|
|
87
|
+
fileItems = prefixedIds.map((prefixedId) => ({
|
|
88
|
+
id: this.removeFilePrefix(prefixedId),
|
|
89
|
+
name: 'Unknown File',
|
|
90
|
+
size: 0,
|
|
91
|
+
status: 'deleted',
|
|
92
|
+
source: { kind: 'none', value: '' },
|
|
93
|
+
}));
|
|
94
|
+
}
|
|
95
|
+
this.isLoading = false;
|
|
96
|
+
// Update the context with the converted file items
|
|
97
|
+
this.context.set({ files: fileItems });
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
removeFilePrefix(fileId) {
|
|
101
|
+
return fileId.startsWith('file:') ? fileId.substring(5) : fileId;
|
|
102
|
+
}
|
|
103
|
+
//#endregion
|
|
104
|
+
//#region ---- UI Handlers ----
|
|
40
105
|
apply() {
|
|
41
106
|
this.close({
|
|
42
107
|
data: this.context(),
|
|
43
108
|
});
|
|
44
109
|
}
|
|
45
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
46
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.
|
|
110
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPFileListPopupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
111
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPFileListPopupComponent, isStandalone: true, selector: "ng-component", inputs: { files: { classPropertyName: "files", publicName: "files", isSignal: true, isRequired: false, transformFunction: null }, readOnly: { classPropertyName: "readOnly", publicName: "readOnly", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, accept: { classPropertyName: "accept", publicName: "accept", isSignal: true, isRequired: false, transformFunction: null }, maxFileSize: { classPropertyName: "maxFileSize", publicName: "maxFileSize", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-p-2\">\n <axp-widgets-container [context]=\"context()\" (onContextChanged)=\"onContextChanged($event)\">\n <ng-container axp-widget-renderer [node]=\"node()\" [mode]=\"mode()\"></ng-container>\n </axp-widgets-container>\n</div>\n<ax-footer>\n <ax-suffix>\n @if (readOnly()) {\n <ax-button [text]=\"'@general:actions.close.title' | translate | async\" (click)=\"close()\"></ax-button>\n } @else {\n <ax-button [text]=\"'@general:actions.discard.title' | translate | async\" (click)=\"close()\"></ax-button>\n <ax-button\n [text]=\"'@general:actions.apply.title' | translate | async\"\n (click)=\"apply()\"\n [color]=\"'primary'\"\n ></ax-button>\n }\n </ax-suffix>\n</ax-footer>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type:
|
|
47
112
|
//
|
|
48
113
|
AXLabelModule }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.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: AXButtonModule }, { kind: "component", type: i1.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: AXTranslationModule }, { kind: "ngmodule", type:
|
|
49
114
|
//
|
|
50
115
|
AXPLayoutBuilderModule }, { kind: "component", type: i1$1.AXPWidgetContainerComponent, selector: "axp-widgets-container", inputs: ["context", "functions"], outputs: ["onContextChanged"] }, { kind: "directive", type: i1$1.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged"], exportAs: ["widgetRenderer"] }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.AXTranslatorPipe, name: "translate" }] }); }
|
|
51
116
|
}
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPFileListPopupComponent, decorators: [{
|
|
53
118
|
type: Component,
|
|
54
119
|
args: [{ imports: [
|
|
55
120
|
CommonModule,
|
|
@@ -61,8 +126,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
61
126
|
AXTranslationModule,
|
|
62
127
|
//
|
|
63
128
|
AXPLayoutBuilderModule
|
|
64
|
-
], template: "<div class=\"ax-p-2\">\n <axp-widgets-container [context]=\"context()\" (onContextChanged)=\"onContextChanged($event)\">\n <ng-container axp-widget-renderer [node]=\"node()\" [mode]=\"mode()\"></ng-container>\n </axp-widgets-container>\n</div>\n<ax-footer>\n <ax-suffix>\n @if (readOnly()) {\n <ax-button [text]=\"'close' | translate | async\" (click)=\"close()\"></ax-button>\n } @else {\n <ax-button [text]=\"'discard' | translate | async\" (click)=\"close()\"></ax-button>\n <ax-button
|
|
129
|
+
], template: "<div class=\"ax-p-2\">\n <axp-widgets-container [context]=\"context()\" (onContextChanged)=\"onContextChanged($event)\">\n <ng-container axp-widget-renderer [node]=\"node()\" [mode]=\"mode()\"></ng-container>\n </axp-widgets-container>\n</div>\n<ax-footer>\n <ax-suffix>\n @if (readOnly()) {\n <ax-button [text]=\"'@general:actions.close.title' | translate | async\" (click)=\"close()\"></ax-button>\n } @else {\n <ax-button [text]=\"'@general:actions.discard.title' | translate | async\" (click)=\"close()\"></ax-button>\n <ax-button\n [text]=\"'@general:actions.apply.title' | translate | async\"\n (click)=\"apply()\"\n [color]=\"'primary'\"\n ></ax-button>\n }\n </ax-suffix>\n</ax-footer>\n" }]
|
|
65
130
|
}] });
|
|
66
131
|
|
|
67
132
|
export { AXPFileListPopupComponent };
|
|
68
|
-
//# sourceMappingURL=acorex-platform-widgets-file-list-popup.component-
|
|
133
|
+
//# sourceMappingURL=acorex-platform-widgets-file-list-popup.component-Cmtq2bBV.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-widgets-file-list-popup.component-Cmtq2bBV.mjs","sources":["../tmp-esm2022/widgets/lib/widgets/advance/file-uploader/file-list-popup/file-list-popup.component.js"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXCheckBoxModule } from '@acorex/components/check-box';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXLabelModule } from '@acorex/components/label';\nimport { AXBasePageComponent } from '@acorex/components/page';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { CommonModule } from '@angular/common';\nimport { Component, computed, inject, input, linkedSignal } from '@angular/core';\nimport { AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';\nimport { AXPFileStorageService } from '@acorex/platform/common';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@acorex/components/decorators\";\nimport * as i2 from \"@acorex/components/button\";\nimport * as i3 from \"@acorex/platform/layout/builder\";\nimport * as i4 from \"@angular/common\";\nimport * as i5 from \"@acorex/core/translation\";\nexport class AXPFileListPopupComponent extends AXBasePageComponent {\n constructor() {\n super(...arguments);\n this.fileService = inject(AXPFileStorageService);\n //#region ---- Component Properties ----\n this.files = input([], ...(ngDevMode ? [{ debugName: \"files\" }] : []));\n this.readOnly = input(false, ...(ngDevMode ? [{ debugName: \"readOnly\" }] : []));\n this.multiple = input(false, ...(ngDevMode ? [{ debugName: \"multiple\" }] : []));\n this.accept = input('*', ...(ngDevMode ? [{ debugName: \"accept\" }] : []));\n this.maxFileSize = input(1024 * 1024 * 100, ...(ngDevMode ? [{ debugName: \"maxFileSize\" }] : []));\n //#endregion\n //#region ---- Computed Properties ----\n this.mode = computed(() => this.readOnly() ? 'view' : 'edit', ...(ngDevMode ? [{ debugName: \"mode\" }] : []));\n //#endregion\n //#region ---- Context & Node Management ----\n this.context = linkedSignal(() => ({}));\n this.node = computed(() => ({\n type: 'file-uploader',\n path: 'files',\n defaultValue: Array.isArray(this.files()) && typeof this.files()[0] !== 'string' ? this.files() : [],\n options: {\n readOnly: this.readOnly(),\n multiple: this.multiple(),\n accept: this.accept(),\n maxFileSize: this.maxFileSize(),\n },\n }), ...(ngDevMode ? [{ debugName: \"node\" }] : []));\n }\n onContextChanged(event) {\n this.context.set(event.data);\n }\n //#endregion\n //#region ---- Lifecycle Methods ----\n async ngOnInit() {\n if (Array.isArray(this.files()) && typeof this.files()[0] === 'string') {\n this.isLoading = true;\n // Convert string file IDs to AXPFileListItem objects using batch API\n const prefixedIds = this.files();\n const actualIds = prefixedIds.map((id) => this.removeFilePrefix(id));\n let fileItems = [];\n try {\n const infos = await this.fileService.findMany(actualIds);\n const infoMap = new Map(infos.map((i) => [i.fileId, i]));\n fileItems = prefixedIds.map((prefixedId) => {\n const actualId = this.removeFilePrefix(prefixedId);\n const info = infoMap.get(actualId);\n if (info) {\n return {\n id: info.fileId,\n name: info.name || '',\n size: info.size,\n status: 'uploaded',\n source: {\n kind: 'fileId',\n value: info.fileId,\n },\n };\n }\n return {\n id: actualId,\n name: 'Unknown File',\n size: 0,\n status: 'deleted',\n source: { kind: 'none', value: '' },\n };\n });\n }\n catch (error) {\n console.error('Failed to get file infos', error);\n fileItems = prefixedIds.map((prefixedId) => ({\n id: this.removeFilePrefix(prefixedId),\n name: 'Unknown File',\n size: 0,\n status: 'deleted',\n source: { kind: 'none', value: '' },\n }));\n }\n this.isLoading = false;\n // Update the context with the converted file items\n this.context.set({ files: fileItems });\n }\n }\n removeFilePrefix(fileId) {\n return fileId.startsWith('file:') ? fileId.substring(5) : fileId;\n }\n //#endregion\n //#region ---- UI Handlers ----\n apply() {\n this.close({\n data: this.context(),\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.8\", ngImport: i0, type: AXPFileListPopupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"20.1.8\", type: AXPFileListPopupComponent, isStandalone: true, selector: \"ng-component\", inputs: { files: { classPropertyName: \"files\", publicName: \"files\", isSignal: true, isRequired: false, transformFunction: null }, readOnly: { classPropertyName: \"readOnly\", publicName: \"readOnly\", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: \"multiple\", publicName: \"multiple\", isSignal: true, isRequired: false, transformFunction: null }, accept: { classPropertyName: \"accept\", publicName: \"accept\", isSignal: true, isRequired: false, transformFunction: null }, maxFileSize: { classPropertyName: \"maxFileSize\", publicName: \"maxFileSize\", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: \"<div class=\\\"ax-p-2\\\">\\n <axp-widgets-container [context]=\\\"context()\\\" (onContextChanged)=\\\"onContextChanged($event)\\\">\\n <ng-container axp-widget-renderer [node]=\\\"node()\\\" [mode]=\\\"mode()\\\"></ng-container>\\n </axp-widgets-container>\\n</div>\\n<ax-footer>\\n <ax-suffix>\\n @if (readOnly()) {\\n <ax-button [text]=\\\"'@general:actions.close.title' | translate | async\\\" (click)=\\\"close()\\\"></ax-button>\\n } @else {\\n <ax-button [text]=\\\"'@general:actions.discard.title' | translate | async\\\" (click)=\\\"close()\\\"></ax-button>\\n <ax-button\\n [text]=\\\"'@general:actions.apply.title' | translate | async\\\"\\n (click)=\\\"apply()\\\"\\n [color]=\\\"'primary'\\\"\\n ></ax-button>\\n }\\n </ax-suffix>\\n</ax-footer>\\n\", dependencies: [{ kind: \"ngmodule\", type: CommonModule }, { kind: \"ngmodule\", type: \n //\n AXLabelModule }, { kind: \"ngmodule\", type: AXCheckBoxModule }, { kind: \"ngmodule\", type: AXDecoratorModule }, { kind: \"component\", type: i1.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: AXButtonModule }, { kind: \"component\", type: i2.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: AXTranslationModule }, { kind: \"ngmodule\", type: \n //\n AXPLayoutBuilderModule }, { kind: \"component\", type: i3.AXPWidgetContainerComponent, selector: \"axp-widgets-container\", inputs: [\"context\", \"functions\"], outputs: [\"onContextChanged\"] }, { kind: \"directive\", type: i3.AXPWidgetRendererDirective, selector: \"[axp-widget-renderer]\", inputs: [\"parentNode\", \"index\", \"mode\", \"node\"], outputs: [\"onOptionsChanged\", \"onValueChanged\"], exportAs: [\"widgetRenderer\"] }, { kind: \"pipe\", type: i4.AsyncPipe, name: \"async\" }, { kind: \"pipe\", type: i5.AXTranslatorPipe, name: \"translate\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.8\", ngImport: i0, type: AXPFileListPopupComponent, decorators: [{\n type: Component,\n args: [{ imports: [\n CommonModule,\n //\n AXLabelModule,\n AXCheckBoxModule,\n AXDecoratorModule,\n AXButtonModule,\n AXTranslationModule,\n //\n AXPLayoutBuilderModule\n ], template: \"<div class=\\\"ax-p-2\\\">\\n <axp-widgets-container [context]=\\\"context()\\\" (onContextChanged)=\\\"onContextChanged($event)\\\">\\n <ng-container axp-widget-renderer [node]=\\\"node()\\\" [mode]=\\\"mode()\\\"></ng-container>\\n </axp-widgets-container>\\n</div>\\n<ax-footer>\\n <ax-suffix>\\n @if (readOnly()) {\\n <ax-button [text]=\\\"'@general:actions.close.title' | translate | async\\\" (click)=\\\"close()\\\"></ax-button>\\n } @else {\\n <ax-button [text]=\\\"'@general:actions.discard.title' | translate | async\\\" (click)=\\\"close()\\\"></ax-button>\\n <ax-button\\n [text]=\\\"'@general:actions.apply.title' | translate | async\\\"\\n (click)=\\\"apply()\\\"\\n [color]=\\\"'primary'\\\"\\n ></ax-button>\\n }\\n </ax-suffix>\\n</ax-footer>\\n\" }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS1saXN0LXBvcHVwLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3V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pcy5yZW1vdmVGaWxlUHJlZml4KHByZWZpeGVkSWQpO1xuICAgICAgICAgIGNvbnN0IGluZm8gPSBpbmZvTWFwLmdldChhY3R1YWxJZCk7XG4gICAgICAgICAgaWYgKGluZm8pIHtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgIGlkOiBpbmZvLmZpbGVJZCxcbiAgICAgICAgICAgICAgbmFtZTogaW5mby5uYW1lIHx8ICcnLFxuICAgICAgICAgICAgICBzaXplOiBpbmZvLnNpemUsXG4gICAgICAgICAgICAgIHN0YXR1czogJ3VwbG9hZGVkJyxcbiAgICAgICAgICAgICAgc291cmNlOiB7XG4gICAgICAgICAgICAgICAga2luZDogJ2ZpbGVJZCcsXG4gICAgICAgICAgICAgICAgdmFsdWU6IGluZm8uZmlsZUlkLFxuICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgfSBhcyBBWFBGaWxlTGlzdEl0ZW07XG4gICAgICAgICAgfVxuICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICBpZDogYWN0dWFsSWQsXG4gICAgICAgICAgICBuYW1lOiAnVW5rbm93biBGaWxlJyxcbiAgICAgICAgICAgIHNpemU6IDAsXG4gICAgICAgICAgICBzdGF0dXM6ICdkZWxldGVkJyxcbiAgICAgICAgICAgIHNvdXJjZTogeyBraW5kOiAnbm9uZScsIHZhbHVlOiAnJyB9LFxuICAgICAgICAgIH0gYXMgQVhQRmlsZUxpc3RJdGVtO1xuICAgICAgICB9KTtcbiAgICAgIH0gY2F0Y2ggKGVycm9yKSB7XG4gICAgICAgIGNvbnNvbGUuZXJyb3IoJ0ZhaWxlZCB0byBnZXQgZmlsZSBpbmZvcycsIGVycm9yKTtcbiAgICAgICAgZmlsZUl0ZW1zID0gcHJlZml4ZWRJZHMubWFwKChwcmVmaXhlZElkKSA9PiAoe1xuICAgICAgICAgIGlkOiB0aGlzLnJlbW92ZUZpbGVQcmVmaXgocHJlZml4ZWRJZCksXG4gICAgICAgICAgbmFtZT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Y;AACpC;AACA,wBAAwB,aAAa;AACrC,wBAAwB,gBAAgB;AACxC,wBAAwB,iBAAiB;AACzC,wBAAwB,cAAc;AACtC,wBAAwB,mBAAmB;AAC3C;AACA,wBAAwB;AACxB,qBAAqB,EAAE,QAAQ,EAAE,kvBAAkvB,EAAE;AACrxB,SAAS,CAAC,EAAE,CAAC;;;;"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { AXButtonModule } from '@acorex/components/button';
|
|
2
2
|
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
3
|
-
import {
|
|
3
|
+
import { AXPLayoutBaseWidgetComponent, AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';
|
|
4
4
|
import { AXPDesignerService, AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetLineButtonComponent } from '@acorex/platform/layout/designer';
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
6
|
import { inject, computed, HostBinding, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
7
7
|
|
|
8
|
-
class AXPPageWidgetDesignerComponent extends
|
|
8
|
+
class AXPPageWidgetDesignerComponent extends AXPLayoutBaseWidgetComponent {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments);
|
|
11
11
|
this.designerService = inject(AXPDesignerService);
|
|
@@ -45,94 +45,104 @@ class AXPPageWidgetDesignerComponent extends AXPLayoutWidgetComponent {
|
|
|
45
45
|
'ax-rtl': this.direction() == 'rtl',
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
49
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.
|
|
48
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPageWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
49
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPPageWidgetDesignerComponent, isStandalone: true, selector: "axp-page-widget-designer", host: { properties: { "style": "this.__style", "class": "this.__class" } }, providers: [
|
|
50
50
|
{
|
|
51
|
-
provide:
|
|
51
|
+
provide: AXPLayoutBaseWidgetComponent,
|
|
52
52
|
useExisting: AXPPageWidgetDesignerComponent,
|
|
53
53
|
},
|
|
54
54
|
], usesInheritance: true, ngImport: i0, template: `
|
|
55
|
-
@if(hasHeader()) {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
55
|
+
@if (hasHeader()) {
|
|
56
|
+
@if (headerNodes().length) {
|
|
57
|
+
<header class="axp-page-widget-header">
|
|
58
|
+
@for (node of headerNodes(); track $index) {
|
|
59
|
+
<ng-container
|
|
60
|
+
axp-widget-designer-renderer
|
|
61
|
+
[node]="node"
|
|
62
|
+
[parentNode]="this"
|
|
63
|
+
[mode]="mode"
|
|
64
|
+
[locked]="this.locked"
|
|
65
|
+
></ng-container>
|
|
66
|
+
}
|
|
67
|
+
</header>
|
|
68
|
+
} @else {
|
|
69
|
+
<axp-designer-add-widget-line-button
|
|
70
|
+
[text]="'Page Header'"
|
|
71
|
+
(onClick)="handleAddHeader()"
|
|
72
|
+
></axp-designer-add-widget-line-button>
|
|
65
73
|
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
[text]="'Page Header'"
|
|
70
|
-
(onClick)="handleAddHeader()"
|
|
71
|
-
></axp-designer-add-widget-line-button>
|
|
72
|
-
} } @for (node of onlyChildren(); track $index) {
|
|
73
|
-
<ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="mode"></ng-container>
|
|
74
|
+
}
|
|
75
|
+
@for (node of onlyChildren(); track $index) {
|
|
76
|
+
<ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="mode"></ng-container>
|
|
74
77
|
}
|
|
75
78
|
<!-- <axp-designer-add-widget-mini-button></axp-designer-add-widget-mini-button> -->
|
|
76
79
|
<axp-designer-add-widget-line-button
|
|
77
80
|
[text]="'Add Element'"
|
|
78
81
|
(onClick)="handleAddElement()"
|
|
79
82
|
></axp-designer-add-widget-line-button>
|
|
80
|
-
@if(hasFooter()) {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
83
|
+
@if (hasFooter()) {
|
|
84
|
+
@if (footerNodes().length) {
|
|
85
|
+
<footer class="axp-page-widget-footer">
|
|
86
|
+
@for (node of footerNodes(); track $index) {
|
|
87
|
+
<ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="mode"></ng-container>
|
|
88
|
+
}
|
|
89
|
+
</footer>
|
|
90
|
+
} @else {
|
|
91
|
+
<axp-designer-add-widget-line-button
|
|
92
|
+
[text]="'Page Footer'"
|
|
93
|
+
(onClick)="handleAddFooter()"
|
|
94
|
+
></axp-designer-add-widget-line-button>
|
|
84
95
|
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
<axp-designer-add-widget-line-button
|
|
88
|
-
[text]="'Page Footer'"
|
|
89
|
-
(onClick)="handleAddFooter()"
|
|
90
|
-
></axp-designer-add-widget-line-button>
|
|
91
|
-
} }
|
|
92
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "directive", type: AXPWidgetDesignerRendererDirective, selector: "[axp-widget-designer-renderer]", inputs: ["parentNode", "index", "locked", "mode", "node"] }, { kind: "component", type: AXPDesignerAddWidgetLineButtonComponent, selector: "axp-designer-add-widget-line-button", inputs: ["text"], outputs: ["onClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
96
|
+
}
|
|
97
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "directive", type: AXPWidgetDesignerRendererDirective, selector: "[axp-widget-designer-renderer]", inputs: ["parentNode", "parentElement", "parentComponent", "index", "locked", "mode", "node"] }, { kind: "component", type: AXPDesignerAddWidgetLineButtonComponent, selector: "axp-designer-add-widget-line-button", inputs: ["text"], outputs: ["onClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
93
98
|
}
|
|
94
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
99
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPageWidgetDesignerComponent, decorators: [{
|
|
95
100
|
type: Component,
|
|
96
101
|
args: [{
|
|
97
|
-
selector: 'axp-page-widget',
|
|
102
|
+
selector: 'axp-page-widget-designer',
|
|
98
103
|
template: `
|
|
99
|
-
@if(hasHeader()) {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
104
|
+
@if (hasHeader()) {
|
|
105
|
+
@if (headerNodes().length) {
|
|
106
|
+
<header class="axp-page-widget-header">
|
|
107
|
+
@for (node of headerNodes(); track $index) {
|
|
108
|
+
<ng-container
|
|
109
|
+
axp-widget-designer-renderer
|
|
110
|
+
[node]="node"
|
|
111
|
+
[parentNode]="this"
|
|
112
|
+
[mode]="mode"
|
|
113
|
+
[locked]="this.locked"
|
|
114
|
+
></ng-container>
|
|
115
|
+
}
|
|
116
|
+
</header>
|
|
117
|
+
} @else {
|
|
118
|
+
<axp-designer-add-widget-line-button
|
|
119
|
+
[text]="'Page Header'"
|
|
120
|
+
(onClick)="handleAddHeader()"
|
|
121
|
+
></axp-designer-add-widget-line-button>
|
|
109
122
|
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
[text]="'Page Header'"
|
|
114
|
-
(onClick)="handleAddHeader()"
|
|
115
|
-
></axp-designer-add-widget-line-button>
|
|
116
|
-
} } @for (node of onlyChildren(); track $index) {
|
|
117
|
-
<ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="mode"></ng-container>
|
|
123
|
+
}
|
|
124
|
+
@for (node of onlyChildren(); track $index) {
|
|
125
|
+
<ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="mode"></ng-container>
|
|
118
126
|
}
|
|
119
127
|
<!-- <axp-designer-add-widget-mini-button></axp-designer-add-widget-mini-button> -->
|
|
120
128
|
<axp-designer-add-widget-line-button
|
|
121
129
|
[text]="'Add Element'"
|
|
122
130
|
(onClick)="handleAddElement()"
|
|
123
131
|
></axp-designer-add-widget-line-button>
|
|
124
|
-
@if(hasFooter()) {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
132
|
+
@if (hasFooter()) {
|
|
133
|
+
@if (footerNodes().length) {
|
|
134
|
+
<footer class="axp-page-widget-footer">
|
|
135
|
+
@for (node of footerNodes(); track $index) {
|
|
136
|
+
<ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="mode"></ng-container>
|
|
137
|
+
}
|
|
138
|
+
</footer>
|
|
139
|
+
} @else {
|
|
140
|
+
<axp-designer-add-widget-line-button
|
|
141
|
+
[text]="'Page Footer'"
|
|
142
|
+
(onClick)="handleAddFooter()"
|
|
143
|
+
></axp-designer-add-widget-line-button>
|
|
128
144
|
}
|
|
129
|
-
|
|
130
|
-
} @else {
|
|
131
|
-
<axp-designer-add-widget-line-button
|
|
132
|
-
[text]="'Page Footer'"
|
|
133
|
-
(onClick)="handleAddFooter()"
|
|
134
|
-
></axp-designer-add-widget-line-button>
|
|
135
|
-
} }
|
|
145
|
+
}
|
|
136
146
|
`,
|
|
137
147
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
138
148
|
encapsulation: ViewEncapsulation.None,
|
|
@@ -141,11 +151,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
141
151
|
AXButtonModule,
|
|
142
152
|
AXDecoratorModule,
|
|
143
153
|
AXPWidgetDesignerRendererDirective,
|
|
144
|
-
AXPDesignerAddWidgetLineButtonComponent
|
|
154
|
+
AXPDesignerAddWidgetLineButtonComponent,
|
|
145
155
|
],
|
|
146
156
|
providers: [
|
|
147
157
|
{
|
|
148
|
-
provide:
|
|
158
|
+
provide: AXPLayoutBaseWidgetComponent,
|
|
149
159
|
useExisting: AXPPageWidgetDesignerComponent,
|
|
150
160
|
},
|
|
151
161
|
],
|
|
@@ -159,4 +169,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
159
169
|
}] } });
|
|
160
170
|
|
|
161
171
|
export { AXPPageWidgetDesignerComponent };
|
|
162
|
-
//# sourceMappingURL=acorex-platform-widgets-page-widget-designer.component-
|
|
172
|
+
//# sourceMappingURL=acorex-platform-widgets-page-widget-designer.component-B-ZEi2yd.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-widgets-page-widget-designer.component-B-ZEi2yd.mjs","sources":["../tmp-esm2022/widgets/lib/widgets/layout/page/page-widget-designer.component.js"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXPLayoutBaseWidgetComponent, AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';\nimport { AXPDesignerAddWidgetLineButtonComponent, AXPDesignerService, AXPWidgetDesignerRendererDirective, } from '@acorex/platform/layout/designer';\nimport { ChangeDetectionStrategy, Component, computed, HostBinding, inject, ViewEncapsulation } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport class AXPPageWidgetDesignerComponent extends AXPLayoutBaseWidgetComponent {\n constructor() {\n super(...arguments);\n this.designerService = inject(AXPDesignerService);\n this.backgroundColor = computed(() => this.options()['backgroundColor'], ...(ngDevMode ? [{ debugName: \"backgroundColor\" }] : []));\n this.theme = computed(() => this.options()['theme']?.id ?? 'default', ...(ngDevMode ? [{ debugName: \"theme\" }] : []));\n this.hasHeader = computed(() => this.options()['hasHeader'], ...(ngDevMode ? [{ debugName: \"hasHeader\" }] : []));\n this.hasFooter = computed(() => this.options()['hasFooter'], ...(ngDevMode ? [{ debugName: \"hasFooter\" }] : []));\n this.direction = computed(() => this.options()['direction'], ...(ngDevMode ? [{ debugName: \"direction\" }] : []));\n this.onlyChildren = computed(() => this.children().filter((c) => !c.meta?.['footer'] && !c.meta?.['header']), ...(ngDevMode ? [{ debugName: \"onlyChildren\" }] : []));\n this.headerNodes = computed(() => this.children().filter((c) => c.meta?.['header']) ?? [], ...(ngDevMode ? [{ debugName: \"headerNodes\" }] : []));\n this.footerNodes = computed(() => this.children().filter((c) => c.meta?.['footer']) ?? [], ...(ngDevMode ? [{ debugName: \"footerNodes\" }] : []));\n }\n async handleAddHeader() {\n const widgets = await this.designerService.showPicker(this.node);\n widgets.forEach((c) => (c.meta = { header: true }));\n }\n async handleAddFooter() {\n const widgets = await this.designerService.showPicker(this.node);\n widgets.forEach((c) => (c.meta = { footer: true }));\n }\n async handleAddElement() {\n await this.designerService.showPicker(this.node);\n }\n get __style() {\n return {\n 'background-color': this.backgroundColor(),\n };\n }\n get __class() {\n return {\n 'ax-widget-container': true,\n 'ax-dark': this.theme() == 'dark',\n 'ax-light': this.theme() == 'light',\n 'ax-block': true,\n 'ax-w-full': true,\n 'ax-overflow-auto': true,\n 'ax-rtl': this.direction() == 'rtl',\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.8\", ngImport: i0, type: AXPPageWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"20.1.8\", type: AXPPageWidgetDesignerComponent, isStandalone: true, selector: \"axp-page-widget-designer\", host: { properties: { \"style\": \"this.__style\", \"class\": \"this.__class\" } }, providers: [\n {\n provide: AXPLayoutBaseWidgetComponent,\n useExisting: AXPPageWidgetDesignerComponent,\n },\n ], usesInheritance: true, ngImport: i0, template: `\n @if (hasHeader()) {\n @if (headerNodes().length) {\n <header class=\"axp-page-widget-header\">\n @for (node of headerNodes(); track $index) {\n <ng-container\n axp-widget-designer-renderer\n [node]=\"node\"\n [parentNode]=\"this\"\n [mode]=\"mode\"\n [locked]=\"this.locked\"\n ></ng-container>\n }\n </header>\n } @else {\n <axp-designer-add-widget-line-button\n [text]=\"'Page Header'\"\n (onClick)=\"handleAddHeader()\"\n ></axp-designer-add-widget-line-button>\n }\n }\n @for (node of onlyChildren(); track $index) {\n <ng-container axp-widget-designer-renderer [node]=\"node\" [parentNode]=\"this\" [mode]=\"mode\"></ng-container>\n }\n <!-- <axp-designer-add-widget-mini-button></axp-designer-add-widget-mini-button> -->\n <axp-designer-add-widget-line-button\n [text]=\"'Add Element'\"\n (onClick)=\"handleAddElement()\"\n ></axp-designer-add-widget-line-button>\n @if (hasFooter()) {\n @if (footerNodes().length) {\n <footer class=\"axp-page-widget-footer\">\n @for (node of footerNodes(); track $index) {\n <ng-container axp-widget-designer-renderer [node]=\"node\" [parentNode]=\"this\" [mode]=\"mode\"></ng-container>\n }\n </footer>\n } @else {\n <axp-designer-add-widget-line-button\n [text]=\"'Page Footer'\"\n (onClick)=\"handleAddFooter()\"\n ></axp-designer-add-widget-line-button>\n }\n }\n `, isInline: true, dependencies: [{ kind: \"ngmodule\", type: AXPLayoutBuilderModule }, { kind: \"ngmodule\", type: AXButtonModule }, { kind: \"ngmodule\", type: AXDecoratorModule }, { kind: \"directive\", type: AXPWidgetDesignerRendererDirective, selector: \"[axp-widget-designer-renderer]\", inputs: [\"parentNode\", \"parentElement\", \"parentComponent\", \"index\", \"locked\", \"mode\", \"node\"] }, { kind: \"component\", type: AXPDesignerAddWidgetLineButtonComponent, selector: \"axp-designer-add-widget-line-button\", inputs: [\"text\"], outputs: [\"onClick\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.8\", ngImport: i0, type: AXPPageWidgetDesignerComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'axp-page-widget-designer',\n template: `\n @if (hasHeader()) {\n @if (headerNodes().length) {\n <header class=\"axp-page-widget-header\">\n @for (node of headerNodes(); track $index) {\n <ng-container\n axp-widget-designer-renderer\n [node]=\"node\"\n [parentNode]=\"this\"\n [mode]=\"mode\"\n [locked]=\"this.locked\"\n ></ng-container>\n }\n </header>\n } @else {\n <axp-designer-add-widget-line-button\n [text]=\"'Page Header'\"\n (onClick)=\"handleAddHeader()\"\n ></axp-designer-add-widget-line-button>\n }\n }\n @for (node of onlyChildren(); track $index) {\n <ng-container axp-widget-designer-renderer [node]=\"node\" [parentNode]=\"this\" [mode]=\"mode\"></ng-container>\n }\n <!-- <axp-designer-add-widget-mini-button></axp-designer-add-widget-mini-button> -->\n <axp-designer-add-widget-line-button\n [text]=\"'Add Element'\"\n (onClick)=\"handleAddElement()\"\n ></axp-designer-add-widget-line-button>\n @if (hasFooter()) {\n @if (footerNodes().length) {\n <footer class=\"axp-page-widget-footer\">\n @for (node of footerNodes(); track $index) {\n <ng-container axp-widget-designer-renderer [node]=\"node\" [parentNode]=\"this\" [mode]=\"mode\"></ng-container>\n }\n </footer>\n } @else {\n <axp-designer-add-widget-line-button\n [text]=\"'Page Footer'\"\n (onClick)=\"handleAddFooter()\"\n ></axp-designer-add-widget-line-button>\n }\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [\n AXPLayoutBuilderModule,\n AXButtonModule,\n AXDecoratorModule,\n AXPWidgetDesignerRendererDirective,\n AXPDesignerAddWidgetLineButtonComponent,\n ],\n providers: [\n {\n provide: AXPLayoutBaseWidgetComponent,\n useExisting: AXPPageWidgetDesignerComponent,\n },\n ],\n }]\n }], propDecorators: { __style: [{\n type: HostBinding,\n args: ['style']\n }], __class: [{\n type: HostBinding,\n args: ['class']\n }] } });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS13aWRnZXQtZGVzaWduZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS93aWRnZXRzL3NyYy9saWIvd2lkZ2V0cy9sYXlvdXQvcGFnZS9wYWdlLXdpZGdldC1kZXNpZ25lci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQzNELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSw0QkFBNEIsRUFBRSxzQkFBc0IsRUFBaUIsTUFBTSxpQ0FBaUMsQ0FBQztBQUN0SCxPQUFPLEVBQ0wsdUNBQXVDLEVBQ3ZDLGtCQUFrQixFQUNsQixrQ0FBa0MsR0FDbkMsTUFBTSxrQ0FBa0MsQ0FBQztBQUUxQyxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLFFBQVEsRUFBRSxXQUFXLEVBQUUsTUFBTSxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDOztBQWdFckgsTUFBTSxPQUFPLDhCQUErQixTQUFRLDRCQUE0QjtJQTlEaEY7O1FBK0RZLG9CQUFlLEdBQUcsTUFBTSxDQUFDLGtCQUFrQixDQUFDLENBQUM7UUFFN0Msb0JBQWUsR0FBRyxRQUFRLENBQVMsR0FBRyxFQUFFLENBQU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dldC1kZXNpZ25lcicsXG4gIHRlbXBsYXRlOiBgXG4gICAgQGlmIChoYXNIZWFkZXIoKSkge1xuICAgICAgQGlmIChoZWFkZXJOb2RlcygpLmxlbmd0aCkge1xuICAgICAgICA8aGVhZGVyIGNsYXNzPVwiYXhwLXBhZ2Utd2lkZ2V0LWhlYWRlclwiPlxuICAgICAgICAgIEBmb3IgKG5vZGUgb2YgaGVhZGVyTm9kZXMoKTsgdHJhY2sgJGluZGV4KSB7XG4gICAgICAgICAgICA8bmctY29udGFpbmVyXG4gICAgICAgICAgICAgIGF4cC13aWRnZXQtZGVzaWduZXItcmVuZGVyZXJcbiAgICAgICAgICAgICAgW25vZGVdPVwibm9kZVwiXG4gICAgICAgICAgICAgIFtwYXJlbnROb2RlXT1cInRoaXNcIlxuICAgICAgICAgICAgICBbbW9kZV09XCJtb2RlXCJcbiAgICAgICAgICAgICAgW2xvY2tlZF09XCJ0aGlzLmxvY2tlZFwiXG4gICAgICAgICAgICA+PC9uZy1jb250YWluZXI+XG4gICAgICAgICAgfVxuICAgICAgICA8L2hlYWRlcj5cbiAgICAgIH0gQGVsc2Uge1xuICAgICAgICA8YXhwLWRlc2lnbmVyLWFkZC13aWRnZXQtbGluZS1idXR0b25cbiAgICAgICAgICBbdGV4dF09XCInUGFnZSBIZWFkZXInXCJcbiAgICAgICAgICAob25DbGljayk9XCJoYW5kbGVBZGRIZWFkZXIoKVwiXG4gICAgICAgID48L2F4cC1kZXNpZ25lci1hZGQtd2lkZ2V0LWxpbmUtYnV0dG9uPlxuICAgICAgfVxuICAgIH1cbiAgICBAZm9yIChub2RlIG9mIG9ubHlDaGlsZHJlbigpOyB0cmFjayAkaW5kZXgpIHtcbiAgICAgIDxuZy1jb250YWluZXIgYXhwLXdpZGdldC1kZXNpZ25lci1yZW5kZXJlciBbbm9kZV09XCJub2RlXCIgW3BhcmVudE5vZGVdPVwidGhpc1wiIFttb2RlXT1cIm1vZGVcIj48L25nLWNvbnRhaW5lcj5cbiAgICB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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,CAAC;AACH,oBAAoB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AACnE,oBAAoB,aAAa,EAAE,iBAAiB,CAAC,IAAI;AACzD,oBAAoB,OAAO,EAAE;AAC7B,wBAAwB,sBAAsB;AAC9C,wBAAwB,cAAc;AACtC,wBAAwB,iBAAiB;AACzC,wBAAwB,kCAAkC;AAC1D,wBAAwB,uCAAuC;AAC/D,qBAAqB;AACrB,oBAAoB,SAAS,EAAE;AAC/B,wBAAwB;AACxB,4BAA4B,OAAO,EAAE,4BAA4B;AACjE,4BAA4B,WAAW,EAAE,8BAA8B;AACvE,yBAAyB;AACzB,qBAAqB;AACrB,iBAAiB;AACjB,SAAS,CAAC,EAAE,cAAc,EAAE,EAAE,OAAO,EAAE,CAAC;AACxC,gBAAgB,IAAI,EAAE,WAAW;AACjC,gBAAgB,IAAI,EAAE,CAAC,OAAO;AAC9B,aAAa,CAAC,EAAE,OAAO,EAAE,CAAC;AAC1B,gBAAgB,IAAI,EAAE,WAAW;AACjC,gBAAgB,IAAI,EAAE,CAAC,OAAO;AAC9B,aAAa,CAAC,EAAE,EAAE,CAAC;;;;"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as i1 from '@acorex/components/button';
|
|
2
2
|
import { AXButtonModule } from '@acorex/components/button';
|
|
3
3
|
import { AXDataSource } from '@acorex/cdk/common';
|
|
4
|
-
import * as
|
|
4
|
+
import * as i1$2 from '@acorex/components/data-table';
|
|
5
5
|
import { AXDataTableModule } from '@acorex/components/data-table';
|
|
6
6
|
import * as i2 from '@acorex/components/decorators';
|
|
7
7
|
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
8
|
-
import * as
|
|
8
|
+
import * as i3 from '@acorex/components/form';
|
|
9
9
|
import { AXFormModule } from '@acorex/components/form';
|
|
10
10
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
11
11
|
import * as i5 from '@acorex/core/translation';
|
|
@@ -13,7 +13,7 @@ import { AXTranslationModule } from '@acorex/core/translation';
|
|
|
13
13
|
import { AXPDataGenerator } from '@acorex/platform/core';
|
|
14
14
|
import * as i1$1 from '@acorex/platform/layout/builder';
|
|
15
15
|
import { AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';
|
|
16
|
-
import * as i1$
|
|
16
|
+
import * as i1$3 from '@angular/common';
|
|
17
17
|
import { CommonModule } from '@angular/common';
|
|
18
18
|
import * as i0 from '@angular/core';
|
|
19
19
|
import { viewChild, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
@@ -27,7 +27,7 @@ class AXPTabularDataPopupComponent extends AXBasePageComponent {
|
|
|
27
27
|
this.getCommandRowItems = [
|
|
28
28
|
{
|
|
29
29
|
name: 'delete',
|
|
30
|
-
text: "
|
|
30
|
+
text: "@general:actions.delete.title",
|
|
31
31
|
icon: 'fa-light fa-trash ax-text-danger',
|
|
32
32
|
//divided: boolean,
|
|
33
33
|
//disabled: boolean,
|
|
@@ -114,8 +114,8 @@ class AXPTabularDataPopupComponent extends AXBasePageComponent {
|
|
|
114
114
|
});
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
118
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.
|
|
117
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPTabularDataPopupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
118
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPTabularDataPopupComponent, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "grid", first: true, predicate: ["grid"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
119
119
|
<axp-widgets-container [context]="context" (onContextChanged)="handleContextChange($event)">
|
|
120
120
|
<ax-form #form>
|
|
121
121
|
<div class="ax-p-4">
|
|
@@ -173,19 +173,19 @@ class AXPTabularDataPopupComponent extends AXBasePageComponent {
|
|
|
173
173
|
</div>
|
|
174
174
|
<ax-footer>
|
|
175
175
|
<ax-suffix>
|
|
176
|
-
<ax-button [text]="'discard' | translate | async" (onClick)="onCloseDiscard()"></ax-button>
|
|
176
|
+
<ax-button [text]="'@general:actions.discard.title' | translate | async" (onClick)="onCloseDiscard()"></ax-button>
|
|
177
177
|
<ax-button
|
|
178
178
|
color="primary"
|
|
179
|
-
[text]="'
|
|
179
|
+
[text]="'@general:actions.ok.title' | translate | async"
|
|
180
180
|
(onClick)="handleSaveClick(form)"
|
|
181
181
|
></ax-button>
|
|
182
182
|
</ax-suffix>
|
|
183
183
|
</ax-footer>
|
|
184
184
|
</ax-form>
|
|
185
185
|
</axp-widgets-container>
|
|
186
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.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: AXButtonModule }, { kind: "component", type: i1.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: AXPLayoutBuilderModule }, { kind: "component", type: i1$1.AXPWidgetContainerComponent, selector: "axp-widgets-container", inputs: ["context", "functions"], outputs: ["onContextChanged"] }, { kind: "directive", type: i1$1.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged"], exportAs: ["widgetRenderer"] }, { kind: "ngmodule", type: AXDataTableModule }, { kind: "component", type:
|
|
186
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.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: AXButtonModule }, { kind: "component", type: i1.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: AXPLayoutBuilderModule }, { kind: "component", type: i1$1.AXPWidgetContainerComponent, selector: "axp-widgets-container", inputs: ["context", "functions"], outputs: ["onContextChanged"] }, { kind: "directive", type: i1$1.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged"], exportAs: ["widgetRenderer"] }, { kind: "ngmodule", type: AXDataTableModule }, { kind: "component", type: i1$2.AXDataTableComponent, selector: "ax-data-table", inputs: ["dataSource", "selectedRows", "parentField", "rowTemplate", "emptyTemplate", "noDataTemplate", "alternative", "showHeader", "fixedHeader", "showFooter", "fixedFooter", "itemHeight", "allowReordering", "paging", "fetchDataMode", "loading", "focusedRow"], outputs: ["selectedRowsChange", "focusedRowChange", "onRowClick", "onRowDbClick", "onColumnsOrderChanged", "onColumnSizeChanged", "onPageChanged"] }, { kind: "component", type: i1$2.AXDataTableTextColumnComponent, selector: "ax-text-column", inputs: ["width", "caption", "allowSorting", "allowResizing", "fixed", "customExpandIcon", "customCollapseIcon", "dataField", "expandHandler", "wrapText", "cellTemplate", "footerTemplate", "headerTemplate", "format", "formatOptions"] }, { kind: "component", type: i1$2.AXRowCommandColumnComponent, selector: "ax-command-column", inputs: ["width", "caption", "fixed", "footerTemplate", "items"], outputs: ["onItemClick"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i3.AXFormComponent, selector: "ax-form", inputs: ["labelMode", "look", "messageStyle", "updateOn"], outputs: ["onValidate", "updateOnChange"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
187
187
|
}
|
|
188
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPTabularDataPopupComponent, decorators: [{
|
|
189
189
|
type: Component,
|
|
190
190
|
args: [{
|
|
191
191
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -247,10 +247,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
247
247
|
</div>
|
|
248
248
|
<ax-footer>
|
|
249
249
|
<ax-suffix>
|
|
250
|
-
<ax-button [text]="'discard' | translate | async" (onClick)="onCloseDiscard()"></ax-button>
|
|
250
|
+
<ax-button [text]="'@general:actions.discard.title' | translate | async" (onClick)="onCloseDiscard()"></ax-button>
|
|
251
251
|
<ax-button
|
|
252
252
|
color="primary"
|
|
253
|
-
[text]="'
|
|
253
|
+
[text]="'@general:actions.ok.title' | translate | async"
|
|
254
254
|
(onClick)="handleSaveClick(form)"
|
|
255
255
|
></ax-button>
|
|
256
256
|
</ax-suffix>
|
|
@@ -271,4 +271,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
271
271
|
}] });
|
|
272
272
|
|
|
273
273
|
export { AXPTabularDataPopupComponent };
|
|
274
|
-
//# sourceMappingURL=acorex-platform-widgets-tabular-data-edit-popup.component-
|
|
274
|
+
//# sourceMappingURL=acorex-platform-widgets-tabular-data-edit-popup.component-CMqq_iOj.mjs.map
|