@acorex/platform 20.6.0-next.25 → 20.6.0-next.26
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-components.mjs +2 -2
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +4 -3
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +14 -10
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -22015,22 +22015,26 @@ class AXPTimeDurationFilterComponent extends AXPValueWidgetComponent {
|
|
|
22015
22015
|
path: this.editorPath,
|
|
22016
22016
|
}, ...(ngDevMode ? [{ debugName: "timeDurationNode" }] : []));
|
|
22017
22017
|
this.#efUpdateTimeDurationNode = effect(() => {
|
|
22018
|
-
|
|
22019
|
-
|
|
22020
|
-
|
|
22021
|
-
|
|
22022
|
-
|
|
22023
|
-
|
|
22024
|
-
|
|
22025
|
-
|
|
22026
|
-
|
|
22027
|
-
|
|
22018
|
+
untracked(async () => {
|
|
22019
|
+
const node = {
|
|
22020
|
+
type: 'time-duration',
|
|
22021
|
+
path: this.editorPath,
|
|
22022
|
+
defaultValue: this.value(),
|
|
22023
|
+
options: {
|
|
22024
|
+
from: { title: 'HOUR' },
|
|
22025
|
+
to: { title: 'MINUTE' },
|
|
22026
|
+
},
|
|
22027
|
+
};
|
|
22028
|
+
this.timeDurationNode.set(node);
|
|
22029
|
+
});
|
|
22028
22030
|
}, ...(ngDevMode ? [{ debugName: "#efUpdateTimeDurationNode" }] : []));
|
|
22029
22031
|
this.displayText = async () => {
|
|
22030
22032
|
return await this.timeDurationFormatter.millisecondsToMask(this.value(), 'HOUR', 'MINUTE', false, '00:00:00:00:00:00:00:000', true);
|
|
22031
22033
|
};
|
|
22032
22034
|
this.#efUpdateValue = effect(async () => {
|
|
22033
22035
|
const newValue = this.contextService.getValue(this.editorPath);
|
|
22036
|
+
if (!newValue)
|
|
22037
|
+
return;
|
|
22034
22038
|
untracked(async () => {
|
|
22035
22039
|
this.setValue({
|
|
22036
22040
|
value: newValue,
|