@acorex/platform 20.6.4 → 20.6.5
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 +4 -5
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +10 -10
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-column.component-DTnfRy5f.mjs → acorex-platform-themes-shared-theme-color-chooser-column.component-Dz0cylyQ.mjs} +8 -8
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-Dz0cylyQ.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +1 -1
- package/layout/widgets/index.d.ts +5 -5
- package/package.json +1 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-DTnfRy5f.mjs.map +0 -1
|
@@ -1854,7 +1854,7 @@ const AXPCheckBoxWidget = {
|
|
|
1854
1854
|
class AXPColorBoxWidgetColumnComponent extends AXPColumnWidgetComponent {
|
|
1855
1855
|
constructor() {
|
|
1856
1856
|
super(...arguments);
|
|
1857
|
-
this.rgba =
|
|
1857
|
+
this.rgba = () => AXColorUtil.toString(this.rawValue, 'rgba');
|
|
1858
1858
|
this.clipboard = inject(AXPClipBoardService);
|
|
1859
1859
|
}
|
|
1860
1860
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPColorBoxWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
@@ -2081,7 +2081,7 @@ const AXPColorBoxWidget = {
|
|
|
2081
2081
|
class AXPColorPaletteWidgetColumnComponent extends AXPColumnWidgetComponent {
|
|
2082
2082
|
constructor() {
|
|
2083
2083
|
super(...arguments);
|
|
2084
|
-
this.rgba =
|
|
2084
|
+
this.rgba = () => AXColorUtil.toString(this.rawValue, 'rgba');
|
|
2085
2085
|
this.clipboard = inject(AXPClipBoardService);
|
|
2086
2086
|
}
|
|
2087
2087
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPColorPaletteWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
@@ -2629,7 +2629,7 @@ var connectedListsWidgetView_component = /*#__PURE__*/Object.freeze({
|
|
|
2629
2629
|
class AXPConnectedListsWidgetColumnComponent extends AXPColumnWidgetComponent {
|
|
2630
2630
|
constructor() {
|
|
2631
2631
|
super(...arguments);
|
|
2632
|
-
this.allItems =
|
|
2632
|
+
this.allItems = () => this.rawValue ?? [];
|
|
2633
2633
|
}
|
|
2634
2634
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPConnectedListsWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2635
2635
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.12", type: AXPConnectedListsWidgetColumnComponent, isStandalone: true, selector: "axp-connected-drag-drop-lists-widget-column", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `<axp-column-item-list [items]="allItems()" />`, isInline: true, styles: ["display: block; width: 100%;{}\n"], dependencies: [{ kind: "component", type: AXPColumnItemListComponent, selector: "axp-column-item-list", inputs: ["items"], outputs: ["itemClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
@@ -4238,7 +4238,7 @@ var listWidgetView_component = /*#__PURE__*/Object.freeze({
|
|
|
4238
4238
|
class AXPListWidgetColumnComponent extends AXPColumnWidgetComponent {
|
|
4239
4239
|
constructor() {
|
|
4240
4240
|
super(...arguments);
|
|
4241
|
-
this.allItems =
|
|
4241
|
+
this.allItems = () => this.rawValue ?? [];
|
|
4242
4242
|
}
|
|
4243
4243
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPListWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
4244
4244
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.12", type: AXPListWidgetColumnComponent, isStandalone: true, selector: "axp-drag-drop-list-widget-column", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `<axp-column-item-list [items]="allItems()" />`, isInline: true, styles: ["display: block; width: 100%;{}\n"], dependencies: [{ kind: "component", type: AXPColumnItemListComponent, selector: "axp-column-item-list", inputs: ["items"], outputs: ["itemClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
@@ -6814,14 +6814,14 @@ class AXPTextBoxWidgetColumnComponent extends AXPColumnWidgetComponent {
|
|
|
6814
6814
|
constructor() {
|
|
6815
6815
|
super(...arguments);
|
|
6816
6816
|
this.translationService = inject(AXTranslationService);
|
|
6817
|
-
this.displayText =
|
|
6817
|
+
this.displayText = () => {
|
|
6818
6818
|
const v = this.rawValue;
|
|
6819
6819
|
if (typeof v === 'string' || v === undefined) {
|
|
6820
6820
|
return v ?? '';
|
|
6821
6821
|
}
|
|
6822
6822
|
const lang = this.translationService.getActiveLang();
|
|
6823
6823
|
return v?.[lang] ?? '';
|
|
6824
|
-
}
|
|
6824
|
+
};
|
|
6825
6825
|
}
|
|
6826
6826
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPTextBoxWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6827
6827
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.12", type: AXPTextBoxWidgetColumnComponent, isStandalone: true, selector: "axp-text-box-widget-column", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `
|
|
@@ -6830,7 +6830,7 @@ class AXPTextBoxWidgetColumnComponent extends AXPColumnWidgetComponent {
|
|
|
6830
6830
|
} @else {
|
|
6831
6831
|
<span class="ax-text-muted">---</span>
|
|
6832
6832
|
}
|
|
6833
|
-
|
|
6833
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6834
6834
|
}
|
|
6835
6835
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPTextBoxWidgetColumnComponent, decorators: [{
|
|
6836
6836
|
type: Component,
|
|
@@ -6842,10 +6842,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
|
|
|
6842
6842
|
} @else {
|
|
6843
6843
|
<span class="ax-text-muted">---</span>
|
|
6844
6844
|
}
|
|
6845
|
-
|
|
6845
|
+
`,
|
|
6846
6846
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6847
6847
|
imports: [],
|
|
6848
|
-
inputs: ['rawValue', 'rowData']
|
|
6848
|
+
inputs: ['rawValue', 'rowData'],
|
|
6849
6849
|
}]
|
|
6850
6850
|
}] });
|
|
6851
6851
|
|
|
@@ -10312,7 +10312,7 @@ class AXPImageMarkerWidgetColumnComponent extends AXPColumnWidgetComponent {
|
|
|
10312
10312
|
super();
|
|
10313
10313
|
this.layoutBuilder = inject(AXPLayoutBuilderService);
|
|
10314
10314
|
this.rawImage = computed(() => this.options?.image, ...(ngDevMode ? [{ debugName: "rawImage" }] : []));
|
|
10315
|
-
this.rawPoints =
|
|
10315
|
+
this.rawPoints = () => this.rawValue;
|
|
10316
10316
|
this.imageUrl = signal(null, ...(ngDevMode ? [{ debugName: "imageUrl" }] : []));
|
|
10317
10317
|
effect(() => {
|
|
10318
10318
|
const imageSource = this.rawImage();
|