@acorex/platform 20.6.0-next.21 → 20.6.0-next.22
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/fesm2022/acorex-platform-layout-entity.mjs +330 -175
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +4 -2
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +13 -12
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-D5K0XUqM.mjs → acorex-platform-themes-default-entity-master-list-view.component-DBysy2Ky.mjs} +25 -4
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-DBysy2Ky.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +2 -2
- package/layout/entity/index.d.ts +35 -23
- package/layout/widgets/index.d.ts +2 -1
- package/package.json +7 -7
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-D5K0XUqM.mjs.map +0 -1
|
@@ -9948,18 +9948,13 @@ class AXPGalleryWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
9948
9948
|
constructor() {
|
|
9949
9949
|
super(...arguments);
|
|
9950
9950
|
this.thumbnail = computed(() => this.options()['thumbnail'], ...(ngDevMode ? [{ debugName: "thumbnail" }] : []));
|
|
9951
|
+
this.height = computed(() => this.options()['height'], ...(ngDevMode ? [{ debugName: "height" }] : []));
|
|
9951
9952
|
this.header = computed(() => this.options()['header'], ...(ngDevMode ? [{ debugName: "header" }] : []));
|
|
9952
9953
|
this.fileInfo = computed(() => this.options()['fileInfo'], ...(ngDevMode ? [{ debugName: "fileInfo" }] : []));
|
|
9953
9954
|
this.fullScreenButton = computed(() => this.options()['fullScreenButton'], ...(ngDevMode ? [{ debugName: "fullScreenButton" }] : []));
|
|
9954
9955
|
}
|
|
9955
|
-
get __class() {
|
|
9956
|
-
const cls = {};
|
|
9957
|
-
cls[`ax-block`] = true;
|
|
9958
|
-
cls[`ax-flex-1`] = true;
|
|
9959
|
-
return cls;
|
|
9960
|
-
}
|
|
9961
9956
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPGalleryWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
9962
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.12", type: AXPGalleryWidgetEditComponent, isStandalone: true, selector: "axp-gallery-widget-edit", host: { properties: { "
|
|
9957
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.12", type: AXPGalleryWidgetEditComponent, isStandalone: true, selector: "axp-gallery-widget-edit", host: { properties: { "style.height": "height()" }, classAttribute: "ax-block" }, usesInheritance: true, ngImport: i0, template: ` <ax-media-viewer-container [thumbnail]="thumbnail()" #c [dataArray]="getValue()">
|
|
9963
9958
|
@if (header()) {
|
|
9964
9959
|
<ax-header>
|
|
9965
9960
|
@if (fileInfo()) {
|
|
@@ -10016,13 +10011,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
|
|
|
10016
10011
|
</ax-button>
|
|
10017
10012
|
</ax-suffix>
|
|
10018
10013
|
</ax-media-viewer-container>`,
|
|
10014
|
+
host: {
|
|
10015
|
+
class: 'ax-block',
|
|
10016
|
+
'[style.height]': 'height()',
|
|
10017
|
+
},
|
|
10019
10018
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
10020
10019
|
imports: [AXMediaViewerModule, AXDecoratorModule, AXButtonModule],
|
|
10021
10020
|
}]
|
|
10022
|
-
}]
|
|
10023
|
-
type: HostBinding,
|
|
10024
|
-
args: ['class']
|
|
10025
|
-
}] } });
|
|
10021
|
+
}] });
|
|
10026
10022
|
|
|
10027
10023
|
var galleryWidgetEdit_component = /*#__PURE__*/Object.freeze({
|
|
10028
10024
|
__proto__: null,
|
|
@@ -10037,6 +10033,7 @@ class AXPGalleryWidgetViewComponent extends AXPValueWidgetComponent {
|
|
|
10037
10033
|
return Array.isArray(parsedValue) ? parsedValue.map((c) => c) : [parsedValue];
|
|
10038
10034
|
}, ...(ngDevMode ? [{ debugName: "internalValue" }] : []));
|
|
10039
10035
|
this.multiple = computed(() => this.options()['multiple'], ...(ngDevMode ? [{ debugName: "multiple" }] : []));
|
|
10036
|
+
this.height = computed(() => this.options()['height'], ...(ngDevMode ? [{ debugName: "height" }] : []));
|
|
10040
10037
|
this.thumbnails = computed(() => this.internalValue().filter((i) => i.id !== this.activeMedia()?.id), ...(ngDevMode ? [{ debugName: "thumbnails" }] : []));
|
|
10041
10038
|
this.activeMedia = signal(undefined, ...(ngDevMode ? [{ debugName: "activeMedia" }] : []));
|
|
10042
10039
|
}
|
|
@@ -10069,7 +10066,7 @@ class AXPGalleryWidgetViewComponent extends AXPValueWidgetComponent {
|
|
|
10069
10066
|
}
|
|
10070
10067
|
}
|
|
10071
10068
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPGalleryWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
10072
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.12", type: AXPGalleryWidgetViewComponent, isStandalone: true, selector: "axp-gallery-widget-view", usesInheritance: true, ngImport: i0, template: `
|
|
10069
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.12", type: AXPGalleryWidgetViewComponent, isStandalone: true, selector: "axp-gallery-widget-view", host: { properties: { "style.height": "height()" }, classAttribute: "ax-block" }, usesInheritance: true, ngImport: i0, template: `
|
|
10073
10070
|
<div class="ax-grid ax-grid-cols-12 ax-gap-2">
|
|
10074
10071
|
@if (internalValue().length) {
|
|
10075
10072
|
<div class="ax-flex ax-items-center ax-justify-between ax-rounded-lg ax-col-start-1 ax-col-end-13">
|
|
@@ -10204,6 +10201,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
|
|
|
10204
10201
|
}
|
|
10205
10202
|
</div>
|
|
10206
10203
|
`,
|
|
10204
|
+
host: {
|
|
10205
|
+
class: 'ax-block',
|
|
10206
|
+
'[style.height]': 'height()',
|
|
10207
|
+
},
|
|
10207
10208
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
10208
10209
|
imports: [AXImageModule, AXDecoratorModule, AXLoadingModule, AXPStateMessageComponent],
|
|
10209
10210
|
}]
|