@acorex/platform 20.9.3 → 20.9.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-common.mjs +71 -1
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity-contracts.mjs +19 -1
- package/fesm2022/acorex-platform-layout-entity-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +48 -5
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +65 -19
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +3 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/package.json +1 -1
- package/types/acorex-platform-common.d.ts +18 -2
- package/types/acorex-platform-layout-entity-contracts.d.ts +13 -1
- package/types/acorex-platform-layout-entity.d.ts +1 -0
- package/types/acorex-platform-layout-views.d.ts +6 -13
|
@@ -601,7 +601,8 @@ class AXPDataListWidgetComponent extends AXPValueWidgetComponent {
|
|
|
601
601
|
this.effect2 = effect(async () => {
|
|
602
602
|
this.beginHydration();
|
|
603
603
|
try {
|
|
604
|
-
|
|
604
|
+
//TODO: WHY IS THIS HAPPENING
|
|
605
|
+
const value = this.resolveSelectedItemsValue();
|
|
605
606
|
const items = [];
|
|
606
607
|
if (Array.isArray(value)) {
|
|
607
608
|
items.push(...(await Promise.all(value.map((item) => this.extractItem(item)))));
|
|
@@ -644,6 +645,7 @@ class AXPDataListWidgetComponent extends AXPValueWidgetComponent {
|
|
|
644
645
|
* widgets that wrap their value (e.g. filter mode) can override this to expose
|
|
645
646
|
* the unwrapped scalar/array so item resolution receives a real key.
|
|
646
647
|
*/
|
|
648
|
+
//TODO: WHY IS THIS HAPPENING
|
|
647
649
|
resolveSelectedItemsValue() {
|
|
648
650
|
return this.getValue();
|
|
649
651
|
}
|