@wix/form-app-builder 1.333.0 → 1.335.0
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/dist/component/form.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
@import "@wix/form-elements/Form/css";
|
|
2
|
-
.
|
|
2
|
+
._siteWidget_iiy4r_1{box-sizing:border-box;width:100%;height:100%;background:transparent;border-style:solid;border-width:0px;border-color:var(--wst-box-primary-border-top-color, #000000);border-radius:0;box-shadow:none;padding:24px;pointer-events:auto;--wix-forms-formRowSpacing: var(--rowSpacing, 24px);--wix-forms-formColumnSpacing: var(--columnSpacing, 24px);--wix-forms-formErrorBorderColor: var( --errorBorderColor, var(--wst-system-error-color, #df3131) )}._fallbackDirection_iiy4r_21:not([dir]){direction:var(--wix-opt-in-direction)}
|
package/dist/component/form.js
CHANGED
|
@@ -73,7 +73,7 @@ const D = (s, e, t) => {
|
|
|
73
73
|
);
|
|
74
74
|
}, is = os(
|
|
75
75
|
"@wix/form-app-builder:form"
|
|
76
|
-
), T = (s, e) => s.some((t) => t.id === e), ms = (s) => (s.steps ?? []).reduce((e, { id: t, name: o }) => (t && e.push({ id: t, name: o ?? void 0 }), e), []), cs = "forms-platform-form", ls = "
|
|
76
|
+
), T = (s, e) => s.some((t) => t.id === e), ms = (s) => (s.steps ?? []).reduce((e, { id: t, name: o }) => (t && e.push({ id: t, name: o ?? void 0 }), e), []), cs = "forms-platform-form", ls = "_siteWidget_iiy4r_1", gs = "_fallbackDirection_iiy4r_21", k = {
|
|
77
77
|
siteWidget: ls,
|
|
78
78
|
fallbackDirection: gs
|
|
79
79
|
}, ps = "wix:image://", fs = (s) => {
|
|
@@ -126,7 +126,7 @@ const D = (s, e, t) => {
|
|
|
126
126
|
r,
|
|
127
127
|
j
|
|
128
128
|
]
|
|
129
|
-
), g = C(() => ms(i), [i]), d = i.revision ?? void 0, [
|
|
129
|
+
), g = C(() => ms(i), [i]), d = i.revision ?? void 0, [v, w] = _({}), [b, y] = _([]), [u, L] = _();
|
|
130
130
|
return F(() => {
|
|
131
131
|
var c;
|
|
132
132
|
u && !T(g, u) && L((c = g[0]) == null ? void 0 : c.id);
|
|
@@ -153,8 +153,8 @@ const D = (s, e, t) => {
|
|
|
153
153
|
wix: t,
|
|
154
154
|
elementProps: o,
|
|
155
155
|
state: n,
|
|
156
|
-
values:
|
|
157
|
-
onChange:
|
|
156
|
+
values: v,
|
|
157
|
+
onChange: w,
|
|
158
158
|
errors: b,
|
|
159
159
|
onValidate: y,
|
|
160
160
|
stepId: u,
|
|
@@ -180,14 +180,14 @@ const U = O(
|
|
|
180
180
|
closedMessagePlaceholder: i,
|
|
181
181
|
errorBoundary: f
|
|
182
182
|
}, R) => {
|
|
183
|
-
var
|
|
184
|
-
const h = ts({ useSuspense: !0 }), [S, g] = _(), d = C(() => t ? ds(t) : l, [t, S, l]),
|
|
183
|
+
var w, b, y;
|
|
184
|
+
const h = ts({ useSuspense: !0 }), [S, g] = _(), d = C(() => t ? ds(t) : l, [t, S, l]), v = /* @__PURE__ */ m(q, { fallback: r, children: s && d ? /* @__PURE__ */ m(
|
|
185
185
|
M,
|
|
186
186
|
{
|
|
187
187
|
ref: R,
|
|
188
188
|
form: d,
|
|
189
189
|
compId: s,
|
|
190
|
-
wix: (
|
|
190
|
+
wix: (w = a == null ? void 0 : a.form) == null ? void 0 : w.wix,
|
|
191
191
|
elementProps: (b = a == null ? void 0 : a.form) == null ? void 0 : b.elementProps,
|
|
192
192
|
state: (y = a == null ? void 0 : a.form) == null ? void 0 : y.state,
|
|
193
193
|
closedFormNotice: j,
|
|
@@ -207,7 +207,7 @@ const U = O(
|
|
|
207
207
|
e
|
|
208
208
|
),
|
|
209
209
|
...n && X(n),
|
|
210
|
-
children: /* @__PURE__ */ m(z, { i18n: h, children: f ? /* @__PURE__ */ m(f, { resetKey: d, children:
|
|
210
|
+
children: /* @__PURE__ */ m(z, { i18n: h, children: f ? /* @__PURE__ */ m(f, { resetKey: d, children: v }) : v })
|
|
211
211
|
}
|
|
212
212
|
);
|
|
213
213
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/form-app-builder",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.335.0",
|
|
4
4
|
"description": "The Wix Forms Form for Builder apps: loads a form by id and renders it with @wix/form-elements/Form",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@wix/essentials": "^1.0.15",
|
|
48
48
|
"@wix/fed-cli-i18next": "^1.7.4",
|
|
49
|
-
"@wix/form-elements": "1.
|
|
49
|
+
"@wix/form-elements": "1.149.0",
|
|
50
50
|
"@wix/forms": "^1.0.537",
|
|
51
51
|
"@wix/react-component-utils": "^1.15.0",
|
|
52
52
|
"@wix/react-use-promise-polyfill": "^1.2.0",
|
|
@@ -134,5 +134,5 @@
|
|
|
134
134
|
]
|
|
135
135
|
}
|
|
136
136
|
},
|
|
137
|
-
"falconPackageHash": "
|
|
137
|
+
"falconPackageHash": "19ea51f506aa8816e7811a5e0fcacbe09979f9efda86caff7c57938f"
|
|
138
138
|
}
|