@acorex/platform 20.6.4 → 20.6.6
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-builder.mjs +0 -2
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- 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 +13 -11
- 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 +5 -5
- 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 }); }
|
|
@@ -5298,7 +5298,9 @@ class AXPSelectBoxWidgetEditComponent extends AXPDataListWidgetComponent {
|
|
|
5298
5298
|
const cleanedFilters = AXPCleanNestedFilters([this.filter()]);
|
|
5299
5299
|
if (cleanedFilters.length > 0) {
|
|
5300
5300
|
untracked(() => {
|
|
5301
|
-
|
|
5301
|
+
setTimeout(() => {
|
|
5302
|
+
this.dataSource()?.filter(this.filterOperatorMiddleware.transformFilter(cleanedFilters[0]));
|
|
5303
|
+
});
|
|
5302
5304
|
});
|
|
5303
5305
|
}
|
|
5304
5306
|
}
|
|
@@ -6814,14 +6816,14 @@ class AXPTextBoxWidgetColumnComponent extends AXPColumnWidgetComponent {
|
|
|
6814
6816
|
constructor() {
|
|
6815
6817
|
super(...arguments);
|
|
6816
6818
|
this.translationService = inject(AXTranslationService);
|
|
6817
|
-
this.displayText =
|
|
6819
|
+
this.displayText = () => {
|
|
6818
6820
|
const v = this.rawValue;
|
|
6819
6821
|
if (typeof v === 'string' || v === undefined) {
|
|
6820
6822
|
return v ?? '';
|
|
6821
6823
|
}
|
|
6822
6824
|
const lang = this.translationService.getActiveLang();
|
|
6823
6825
|
return v?.[lang] ?? '';
|
|
6824
|
-
}
|
|
6826
|
+
};
|
|
6825
6827
|
}
|
|
6826
6828
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPTextBoxWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6827
6829
|
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 +6832,7 @@ class AXPTextBoxWidgetColumnComponent extends AXPColumnWidgetComponent {
|
|
|
6830
6832
|
} @else {
|
|
6831
6833
|
<span class="ax-text-muted">---</span>
|
|
6832
6834
|
}
|
|
6833
|
-
|
|
6835
|
+
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6834
6836
|
}
|
|
6835
6837
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPTextBoxWidgetColumnComponent, decorators: [{
|
|
6836
6838
|
type: Component,
|
|
@@ -6842,10 +6844,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
|
|
|
6842
6844
|
} @else {
|
|
6843
6845
|
<span class="ax-text-muted">---</span>
|
|
6844
6846
|
}
|
|
6845
|
-
|
|
6847
|
+
`,
|
|
6846
6848
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6847
6849
|
imports: [],
|
|
6848
|
-
inputs: ['rawValue', 'rowData']
|
|
6850
|
+
inputs: ['rawValue', 'rowData'],
|
|
6849
6851
|
}]
|
|
6850
6852
|
}] });
|
|
6851
6853
|
|
|
@@ -10312,7 +10314,7 @@ class AXPImageMarkerWidgetColumnComponent extends AXPColumnWidgetComponent {
|
|
|
10312
10314
|
super();
|
|
10313
10315
|
this.layoutBuilder = inject(AXPLayoutBuilderService);
|
|
10314
10316
|
this.rawImage = computed(() => this.options?.image, ...(ngDevMode ? [{ debugName: "rawImage" }] : []));
|
|
10315
|
-
this.rawPoints =
|
|
10317
|
+
this.rawPoints = () => this.rawValue;
|
|
10316
10318
|
this.imageUrl = signal(null, ...(ngDevMode ? [{ debugName: "imageUrl" }] : []));
|
|
10317
10319
|
effect(() => {
|
|
10318
10320
|
const imageSource = this.rawImage();
|