@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.
@@ -22015,22 +22015,26 @@ class AXPTimeDurationFilterComponent extends AXPValueWidgetComponent {
22015
22015
  path: this.editorPath,
22016
22016
  }, ...(ngDevMode ? [{ debugName: "timeDurationNode" }] : []));
22017
22017
  this.#efUpdateTimeDurationNode = effect(() => {
22018
- const node = {
22019
- type: 'time-duration',
22020
- path: this.editorPath,
22021
- options: {
22022
- hasClearButton: this.hasClearButton(),
22023
- from: { title: 'HOUR' },
22024
- to: { title: 'MINUTE' },
22025
- },
22026
- };
22027
- this.timeDurationNode.set(node);
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,