@acorex/platform 20.8.7 → 20.8.8
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 +46 -44
- package/fesm2022/acorex-platform-common.mjs +60 -22
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +5 -4
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +2 -2
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/layout/entity/index.d.ts +1 -1
- package/package.json +17 -17
|
@@ -536,7 +536,7 @@ class AXPBaseWidgetComponent extends AXPWidgetCoreElement {
|
|
|
536
536
|
output(name) {
|
|
537
537
|
const outputs = this.outputs().map((c) => (typeof c == 'string' ? { name: c, value: c } : c));
|
|
538
538
|
if (outputs.some((c) => c.name == name)) {
|
|
539
|
-
const opt =
|
|
539
|
+
const opt = outputs.find((c) => c.name == name)?.value;
|
|
540
540
|
if (typeof opt == 'function') {
|
|
541
541
|
return opt();
|
|
542
542
|
}
|
|
@@ -2562,7 +2562,7 @@ class AXPWidgetRendererDirective {
|
|
|
2562
2562
|
}
|
|
2563
2563
|
},
|
|
2564
2564
|
output: (name) => {
|
|
2565
|
-
this.instance.output(name);
|
|
2565
|
+
return this.instance.output(name);
|
|
2566
2566
|
},
|
|
2567
2567
|
find: (id) => {
|
|
2568
2568
|
return this.builderService.getWidget(id);
|