@verbb/formie-browser 1.0.5 → 1.0.6

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/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 1.0.6 - 2026-06-14
6
+
7
+ ### Added
8
+
9
+ - Add the `upload-manager` field module for File Upload **Upload Manager (Advanced)** fields, powered by Uppy (`@uppy/core` + `@uppy/xhr-upload`). Supports drag-and-drop, async staged uploads to Formie upload endpoints, transfer progress with server-processing feedback, remove, hidden asset ID sync, hydration for saved submissions and drafts, up/down reorder controls, and repeater row binding.
10
+
11
+ ### Changed
12
+
13
+ - Run stale pending File Upload cleanup during Craft garbage collection.
14
+
15
+ ### Fixed
16
+
17
+ - Fix Signature field initialization on multi-page forms, conditional fields, and late layout by retrying canvas sizing, watching visibility changes, and surfacing accurate status messages when canvas support or init fails. ([#2708](https://github.com/verbb/formie/issues/2708))
18
+
5
19
  ## 1.0.5 - 2026-06-12
6
20
 
7
21
  ### Added
@@ -2,7 +2,7 @@ import { t as e } from "./debug-BV0DvdHx.js";
2
2
  import { r as t, t as n } from "./field-references.keys-58ZSTrCW.js";
3
3
  import { n as r, r as i } from "./field-references.resolver-CHwn0G0L.js";
4
4
  import { r as a, t as o } from "./shared-Bx9s0i0P.js";
5
- import { a as s, o as c, r as l, s as u, t as d } from "./dist-BF5GU3_9.js";
5
+ import { c as s, n as c, r as l, s as u, t as d } from "./dist-BQ4a9hmy.js";
6
6
  //#region src/js/utils/field-references.row-scope.ts
7
7
  var f = new Set([
8
8
  "first",
@@ -159,11 +159,11 @@ function w(e, t, n) {
159
159
  return t.forEach(([e, t]) => {
160
160
  let n = x(t);
161
161
  if (String(n.scope || "").trim()) {
162
- o[e] = s(t, y(t.sourceKey || "", n, a).value);
162
+ o[e] = c(t, y(t.sourceKey || "", n, a).value);
163
163
  return;
164
164
  }
165
- o[e] = s(t, r(t.sourceKey || "", a).value);
166
- }), l(o, n.formatting);
165
+ o[e] = c(t, r(t.sourceKey || "", a).value);
166
+ }), d(o, n.formatting);
167
167
  }
168
168
  function T(e, r) {
169
169
  let a = i(e), o = /* @__PURE__ */ new Set();
@@ -187,12 +187,12 @@ function T(e, r) {
187
187
  }), o;
188
188
  }
189
189
  function E(e, t, n, r) {
190
- let i = u(r), a = c(r), s = /* @__PURE__ */ new Map(), l = null, f = !1, p = !1, m = !1, h = () => {
191
- s.forEach((e, t) => {
190
+ let i = s(r), a = l(r), c = /* @__PURE__ */ new Map(), d = null, f = !1, p = !1, m = !1, h = () => {
191
+ c.forEach((e, t) => {
192
192
  e.forEach((e, n) => {
193
193
  t.removeEventListener(n, e);
194
194
  });
195
- }), s.clear();
195
+ }), c.clear();
196
196
  }, g = (e) => {
197
197
  !e || f || queueMicrotask(() => {
198
198
  f || (n.dispatchEvent(new Event("input", { bubbles: !0 })), n.dispatchEvent(new Event("change", { bubbles: !0 })));
@@ -215,7 +215,7 @@ function E(e, t, n, r) {
215
215
  return;
216
216
  }
217
217
  try {
218
- let e = d(l.formula, l.variables, r), i = {
218
+ let e = u(l.formula, l.variables, r), i = {
219
219
  calculations: n,
220
220
  init: s,
221
221
  formula: l.formula,
@@ -257,21 +257,21 @@ function E(e, t, n, r) {
257
257
  };
258
258
  ["input", "change"].forEach((t) => {
259
259
  e.addEventListener(t, r);
260
- let n = s.get(e) || /* @__PURE__ */ new Map();
261
- n.set(t, r), s.set(e, n);
260
+ let n = c.get(e) || /* @__PURE__ */ new Map();
261
+ n.set(t, r), c.set(e, n);
262
262
  });
263
263
  }, b = () => {
264
264
  m || f || (m = !0, queueMicrotask(() => {
265
265
  m = !1, y(), v(!1);
266
266
  }));
267
267
  };
268
- return y(), l = new MutationObserver(() => {
268
+ return y(), d = new MutationObserver(() => {
269
269
  b();
270
- }), l.observe(e, {
270
+ }), d.observe(e, {
271
271
  childList: !0,
272
272
  subtree: !0
273
273
  }), _(!0), () => {
274
- f = !0, l?.disconnect(), h();
274
+ f = !0, d?.disconnect(), h();
275
275
  };
276
276
  }
277
277
  var D = {
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./debug-BV0DvdHx.js";
2
2
  import { t } from "./field-references.keys-58ZSTrCW.js";
3
3
  import { n } from "./shared-Bx9s0i0P.js";
4
- import { i as r, n as i } from "./dist-BF5GU3_9.js";
4
+ import { a as r, o as i } from "./dist-BQ4a9hmy.js";
5
5
  //#region src/js/modules/fields/conditions/config.ts
6
6
  var a = "[data-formie-conditions]";
7
7
  function o(e) {
@@ -298,9 +298,9 @@ function X(e) {
298
298
  return e.length ? e.some((e) => le(e)) : null;
299
299
  }
300
300
  function ue(e, t) {
301
- return i(e, e.conditions.map((e) => {
301
+ return r(e, e.conditions.map((e) => {
302
302
  let n = t(e);
303
- return r(e, ce(n, L(e)), { visibility: X(n) });
303
+ return i(e, ce(n, L(e)), { visibility: X(n) });
304
304
  }));
305
305
  }
306
306
  //#endregion