@jsenv/navi 0.29.450 → 0.29.451

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.
@@ -43577,6 +43577,7 @@ const useUIStateController = (
43577
43577
  if (
43578
43578
  e.type === "facade_propagate_up" ||
43579
43579
  e.type === "cancel_rollback" ||
43580
+ e.type === "navi_reset_ui_state" ||
43580
43581
  e.type === "auto_fix"
43581
43582
  ) {
43582
43583
  // Exception: when the facade propagates a child state change up to the
@@ -43586,7 +43587,9 @@ const useUIStateController = (
43586
43587
  // the Form's uiAction fires on every value change.
43587
43588
  // A cancel takes the same road back: the Form was told what the
43588
43589
  // popup was picking, so it has to be told the picker went back to
43589
- // where it opened, or it sends a value the user said no to.
43590
+ // where it opened, or it sends a value the user said no to. A
43591
+ // reset is that road too, for a field put back after its own
43592
+ // action failed.
43590
43593
  // A correction is the same story once more: the Form sends what
43591
43594
  // its fields add up to, and a field that just put its own value
43592
43595
  // right has to be counted for the corrected one.
@@ -45705,6 +45708,13 @@ const INTERNAL_EVENT_SET = new Set([
45705
45708
  // notification below still happen, exactly as they did on the way in (see
45706
45709
  // picker_custom.jsx's onClose).
45707
45710
  "cancel_rollback",
45711
+ // A rollback navi asks for (see dispatchRequestResetUIState): the action
45712
+ // failed or was aborted, the edit was cancelled, a reset command aimed here.
45713
+ // Nobody acted on the control, so no command — a `<Picker type="confirm"
45714
+ // action command>` refused by the server would otherwise go where only its
45715
+ // success leads. Where the value moves back, uiAction and the parent
45716
+ // notification below still happen, as for cancel_rollback.
45717
+ "navi_reset_ui_state",
45708
45718
  // A constraint allowed to correct the value put it right as the value was
45709
45719
  // committed (see applyAutoFix). Nobody pressed anything, so no command and
45710
45720
  // no action of the control's own — but what it holds really did move, so