@verbb/formie-browser 1.0.10 → 1.0.11
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 +9 -0
- package/dist/chunks/{calculations-HAZ8wUrT.js → calculations-DERi2xaC.js} +8 -8
- package/dist/chunks/{conditions-BiA_uANV.js → conditions-65kBcFWW.js} +1 -1
- package/dist/chunks/{dist-BaHXfvBO.js → dist-BdUy8m_p.js} +2 -2
- package/dist/chunks/{password-validation-D5AirwUM.js → password-validation-T0vDQPCr.js} +1 -1
- package/dist/chunks/{text-limit-nSATKyhp.js → text-limit-Bn18WrPU.js} +1 -1
- package/dist/index.js +4 -4
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 1.0.11 - 2026-06-26
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- Add Radio field **Other** choice support with free-text input, show/hide behaviour, and client-side validation when the Other option is selected. ([#1875](https://github.com/verbb/formie/issues/1875))
|
|
9
|
+
- Add the `password-validation` field module for Password fields, enforcing minimum length and uppercase, lowercase, and special character requirements on the front-end. ([#1880](https://github.com/verbb/formie/issues/1880))
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
- Insert CSRF hidden inputs during token refresh when cached or statically rendered forms omit them via the `csrfInput: false` render option. ([#2121](https://github.com/verbb/formie/discussions/2121))
|
|
13
|
+
|
|
5
14
|
## 1.0.10 - 2026-06-26
|
|
6
15
|
|
|
7
16
|
### Changed
|
|
@@ -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 { c as s,
|
|
5
|
+
import { c as s, i as c, r as l, s as u, t as d } from "./dist-BdUy8m_p.js";
|
|
6
6
|
//#region src/js/utils/field-references.row-scope.ts
|
|
7
7
|
var f = new Set([
|
|
8
8
|
"first",
|
|
@@ -159,10 +159,10 @@ 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] =
|
|
162
|
+
o[e] = l(t, y(t.sourceKey || "", n, a).value);
|
|
163
163
|
return;
|
|
164
164
|
}
|
|
165
|
-
o[e] =
|
|
165
|
+
o[e] = l(t, r(t.sourceKey || "", a).value);
|
|
166
166
|
}), d(o, n.formatting);
|
|
167
167
|
}
|
|
168
168
|
function T(e, r) {
|
|
@@ -187,12 +187,12 @@ function T(e, r) {
|
|
|
187
187
|
}), o;
|
|
188
188
|
}
|
|
189
189
|
function E(e, t, n, r) {
|
|
190
|
-
let i = s(r), a =
|
|
191
|
-
|
|
190
|
+
let i = s(r), a = c(r), l = /* @__PURE__ */ new Map(), d = null, f = !1, p = !1, m = !1, h = () => {
|
|
191
|
+
l.forEach((e, t) => {
|
|
192
192
|
e.forEach((e, n) => {
|
|
193
193
|
t.removeEventListener(n, e);
|
|
194
194
|
});
|
|
195
|
-
}),
|
|
195
|
+
}), l.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 })));
|
|
@@ -257,8 +257,8 @@ function E(e, t, n, r) {
|
|
|
257
257
|
};
|
|
258
258
|
["input", "change"].forEach((t) => {
|
|
259
259
|
e.addEventListener(t, r);
|
|
260
|
-
let n =
|
|
261
|
-
n.set(t, r),
|
|
260
|
+
let n = l.get(e) || /* @__PURE__ */ new Map();
|
|
261
|
+
n.set(t, r), l.set(e, n);
|
|
262
262
|
});
|
|
263
263
|
}, b = () => {
|
|
264
264
|
m || f || (m = !0, queueMicrotask(() => {
|
|
@@ -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 { a as r, o as i } from "./dist-
|
|
4
|
+
import { a as r, o as i } from "./dist-BdUy8m_p.js";
|
|
5
5
|
//#region src/js/modules/fields/conditions/config.ts
|
|
6
6
|
var a = "[data-formie-conditions]";
|
|
7
7
|
function o(e) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region
|
|
1
|
+
//#region ../formie-core/dist/index.js
|
|
2
2
|
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), s = (e, i, o, s) => {
|
|
3
3
|
if (i && typeof i == "object" || typeof i == "function") for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
|
|
4
4
|
get: ((e) => i[e]).bind(null, d),
|
|
@@ -2656,4 +2656,4 @@ function P(e) {
|
|
|
2656
2656
|
};
|
|
2657
2657
|
}
|
|
2658
2658
|
//#endregion
|
|
2659
|
-
export { g as a, x as c,
|
|
2659
|
+
export { g as a, x as c, S as i, P as n, h as o, T as r, E as s, C as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as e, i as t, l as n } from "./shared-Bx9s0i0P.js";
|
|
2
|
-
import {
|
|
2
|
+
import { n as r } from "./dist-BdUy8m_p.js";
|
|
3
3
|
//#region src/js/modules/fields/password-validation.ts
|
|
4
4
|
var i = "input[data-formie-password-input]", a = [
|
|
5
5
|
"passwordMinLength",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as e } from "./i18n-BY1ds1BL.js";
|
|
2
2
|
import { t } from "./styles-BfoIZwJp.js";
|
|
3
3
|
import { c as n, i as r, l as i } from "./shared-Bx9s0i0P.js";
|
|
4
|
-
import {
|
|
4
|
+
import { n as a } from "./dist-BdUy8m_p.js";
|
|
5
5
|
//#region src/css/theme/fields/_text-limit.css?inline
|
|
6
6
|
var o = "@layer formie-theme{.formie-limit-number{font-weight:var(--formie-font-weight-semibold);color:var(--formie-color-text)}.formie-limit-number-error{color:var(--formie-color-danger)}}", s = "input[data-formie-single-line-text-input], textarea[data-formie-multi-line-text-input]", c = [
|
|
7
7
|
"textMinCharacterLimit",
|
package/dist/index.js
CHANGED
|
@@ -1382,10 +1382,10 @@ var L = class {
|
|
|
1382
1382
|
snaptcha: () => import("./chunks/snaptcha-DKx98oon.js").then((e) => e.snaptchaModule),
|
|
1383
1383
|
turnstile: () => import("./chunks/turnstile-DJakPzQD.js").then((e) => e.turnstileModule)
|
|
1384
1384
|
}, Xt = {
|
|
1385
|
-
calculations: () => import("./chunks/calculations-
|
|
1385
|
+
calculations: () => import("./chunks/calculations-DERi2xaC.js").then((e) => e.calculationsModule),
|
|
1386
1386
|
"checkbox-radio": () => import("./chunks/checkbox-radio-BY2aTCOG.js").then((e) => e.checkboxRadioModule),
|
|
1387
1387
|
combobox: () => import("./chunks/combobox-C0EuExSI.js").then((e) => e.comboboxModule),
|
|
1388
|
-
conditions: () => import("./chunks/conditions-
|
|
1388
|
+
conditions: () => import("./chunks/conditions-65kBcFWW.js").then((e) => e.conditionsModule),
|
|
1389
1389
|
"custom-google-maps": () => import("./chunks/custom-google-maps-BsaSirEZ.js").then((e) => e.customGoogleMapsModule),
|
|
1390
1390
|
"custom-link": () => import("./chunks/custom-link-CJ1-FjEM.js").then((e) => e.customLinkModule),
|
|
1391
1391
|
"custom-maps": () => import("./chunks/custom-maps-DYW_pBid.js").then((e) => e.customMapsModule),
|
|
@@ -1394,7 +1394,7 @@ var L = class {
|
|
|
1394
1394
|
"upload-manager": () => import("./chunks/upload-manager-W-QDgxKD.js").then((e) => e.uploadManagerModule),
|
|
1395
1395
|
hidden: () => import("./chunks/hidden-D7_Ch-QN.js").then((e) => e.hiddenModule),
|
|
1396
1396
|
"phone-country": () => import("./chunks/phone-country-D3ayr60L.js").then((e) => e.phoneCountryModule),
|
|
1397
|
-
"password-validation": () => import("./chunks/password-validation-
|
|
1397
|
+
"password-validation": () => import("./chunks/password-validation-T0vDQPCr.js").then((e) => e.passwordValidationModule),
|
|
1398
1398
|
"address-country": () => import("./chunks/address-country-Rx6GQTND.js").then((e) => e.addressCountryModule),
|
|
1399
1399
|
"address-state": () => import("./chunks/address-state-BwE01m2_.js").then((e) => e.addressStateModule),
|
|
1400
1400
|
repeater: () => import("./chunks/repeater-BVnPUqTj.js").then((e) => e.repeaterModule),
|
|
@@ -1405,7 +1405,7 @@ var L = class {
|
|
|
1405
1405
|
"survey-rank": () => import("./chunks/survey-rank-DN6x4IZM.js").then((e) => e.surveyRankModule),
|
|
1406
1406
|
"survey-rating": () => import("./chunks/survey-rating-BnsNL9U5.js").then((e) => e.surveyRatingModule),
|
|
1407
1407
|
table: () => import("./chunks/table-CAjCJHrL.js").then((e) => e.tableModule),
|
|
1408
|
-
"text-limit": () => import("./chunks/text-limit-
|
|
1408
|
+
"text-limit": () => import("./chunks/text-limit-Bn18WrPU.js").then((e) => e.textLimitModule)
|
|
1409
1409
|
}, Zt = {
|
|
1410
1410
|
bpoint: () => import("./chunks/bpoint-C0VOftX9.js").then((e) => e.bpointModule),
|
|
1411
1411
|
eway: () => import("./chunks/eway-CS6Y1Yvo.js").then((e) => e.ewayModule),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verbb/formie-browser",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@placekit/autocomplete-js": "^2.2.1",
|
|
71
71
|
"@uppy/core": "^5.2.0",
|
|
72
72
|
"@uppy/xhr-upload": "^5.2.0",
|
|
73
|
-
"@verbb/formie-core": "1.0.
|
|
73
|
+
"@verbb/formie-core": "1.0.11",
|
|
74
74
|
"expression-language": "^2.5.4",
|
|
75
75
|
"flatpickr": "^4.6.13",
|
|
76
76
|
"friendly-challenge": "^0.9.19",
|