@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.
@@ -42520,6 +42520,7 @@ const useUIStateController = (
42520
42520
  if (
42521
42521
  e.type === "facade_propagate_up" ||
42522
42522
  e.type === "cancel_rollback" ||
42523
+ e.type === "navi_reset_ui_state" ||
42523
42524
  e.type === "auto_fix"
42524
42525
  ) {
42525
42526
  // Exception: when the facade propagates a child state change up to the
@@ -42529,7 +42530,9 @@ const useUIStateController = (
42529
42530
  // the Form's uiAction fires on every value change.
42530
42531
  // A cancel takes the same road back: the Form was told what the
42531
42532
  // popup was picking, so it has to be told the picker went back to
42532
- // where it opened, or it sends a value the user said no to.
42533
+ // where it opened, or it sends a value the user said no to. A
42534
+ // reset is that road too, for a field put back after its own
42535
+ // action failed.
42533
42536
  // A correction is the same story once more: the Form sends what
42534
42537
  // its fields add up to, and a field that just put its own value
42535
42538
  // right has to be counted for the corrected one.
@@ -44595,6 +44598,13 @@ const INTERNAL_EVENT_SET = new Set([
44595
44598
  // notification below still happen, exactly as they did on the way in (see
44596
44599
  // picker_custom.jsx's onClose).
44597
44600
  "cancel_rollback",
44601
+ // A rollback navi asks for (see dispatchRequestResetUIState): the action
44602
+ // failed or was aborted, the edit was cancelled, a reset command aimed here.
44603
+ // Nobody acted on the control, so no command — a `<Picker type="confirm"
44604
+ // action command>` refused by the server would otherwise go where only its
44605
+ // success leads. Where the value moves back, uiAction and the parent
44606
+ // notification below still happen, as for cancel_rollback.
44607
+ "navi_reset_ui_state",
44598
44608
  // A constraint allowed to correct the value put it right as the value was
44599
44609
  // committed (see applyAutoFix). Nobody pressed anything, so no command and
44600
44610
  // no action of the control's own — but what it holds really did move, so