@encatch/ws-react 0.0.1 → 0.0.3
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/EncatchPreview.d.ts +56 -0
- package/dist/index.d.ts +1 -0
- package/dist/web-form-engine-core.umd-BsgK5u9q.js +16191 -0
- package/dist/ws-react.es.js +35 -32
- package/dist/ws-react.umd.js +19 -16
- package/package.json +6 -6
- package/dist/web-form-engine-core-BntAV5mM.js +0 -13918
package/dist/ws-react.es.js
CHANGED
|
@@ -13,8 +13,8 @@ var $;
|
|
|
13
13
|
function te() {
|
|
14
14
|
if ($) return p;
|
|
15
15
|
$ = 1;
|
|
16
|
-
var a = Symbol.for("react.transitional.element"),
|
|
17
|
-
function
|
|
16
|
+
var a = Symbol.for("react.transitional.element"), f = Symbol.for("react.fragment");
|
|
17
|
+
function l(d, s, c) {
|
|
18
18
|
var E = null;
|
|
19
19
|
if (c !== void 0 && (E = "" + c), s.key !== void 0 && (E = "" + s.key), "key" in s) {
|
|
20
20
|
c = {};
|
|
@@ -29,7 +29,7 @@ function te() {
|
|
|
29
29
|
props: c
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
return p.Fragment =
|
|
32
|
+
return p.Fragment = f, p.jsx = l, p.jsxs = l, p;
|
|
33
33
|
}
|
|
34
34
|
var R = {};
|
|
35
35
|
/**
|
|
@@ -87,12 +87,12 @@ function ne() {
|
|
|
87
87
|
}
|
|
88
88
|
return null;
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function f(e) {
|
|
91
91
|
return "" + e;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function l(e) {
|
|
94
94
|
try {
|
|
95
|
-
|
|
95
|
+
f(e);
|
|
96
96
|
var r = !1;
|
|
97
97
|
} catch {
|
|
98
98
|
r = !0;
|
|
@@ -104,7 +104,7 @@ function ne() {
|
|
|
104
104
|
r,
|
|
105
105
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
106
106
|
n
|
|
107
|
-
),
|
|
107
|
+
), f(e);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
function d(e) {
|
|
@@ -150,13 +150,13 @@ function ne() {
|
|
|
150
150
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
151
151
|
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
152
152
|
}
|
|
153
|
-
function M(e, r, t, n,
|
|
153
|
+
function M(e, r, t, n, i, u, h, O) {
|
|
154
154
|
return t = u.ref, e = {
|
|
155
155
|
$$typeof: j,
|
|
156
156
|
type: e,
|
|
157
157
|
key: r,
|
|
158
158
|
props: u,
|
|
159
|
-
_owner:
|
|
159
|
+
_owner: i
|
|
160
160
|
}, (t !== void 0 ? t : null) !== null ? Object.defineProperty(e, "ref", {
|
|
161
161
|
enumerable: !1,
|
|
162
162
|
get: L
|
|
@@ -174,15 +174,15 @@ function ne() {
|
|
|
174
174
|
configurable: !1,
|
|
175
175
|
enumerable: !1,
|
|
176
176
|
writable: !0,
|
|
177
|
-
value:
|
|
177
|
+
value: h
|
|
178
178
|
}), Object.defineProperty(e, "_debugTask", {
|
|
179
179
|
configurable: !1,
|
|
180
180
|
enumerable: !1,
|
|
181
181
|
writable: !0,
|
|
182
|
-
value:
|
|
182
|
+
value: O
|
|
183
183
|
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
184
184
|
}
|
|
185
|
-
function P(e, r, t, n,
|
|
185
|
+
function P(e, r, t, n, i, u, h, O) {
|
|
186
186
|
var o = r.children;
|
|
187
187
|
if (o !== void 0)
|
|
188
188
|
if (n)
|
|
@@ -197,10 +197,10 @@ function ne() {
|
|
|
197
197
|
else S(o);
|
|
198
198
|
if (g.call(r, "key")) {
|
|
199
199
|
o = a(e);
|
|
200
|
-
var
|
|
200
|
+
var m = Object.keys(r).filter(function(K) {
|
|
201
201
|
return K !== "key";
|
|
202
202
|
});
|
|
203
|
-
n = 0 <
|
|
203
|
+
n = 0 < m.length ? "{key: someKey, " + m.join(": ..., ") + ": ...}" : "{key: someKey}", I[o + n] || (m = 0 < m.length ? "{" + m.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
204
204
|
`A props object containing a "key" prop is being spread into JSX:
|
|
205
205
|
let props = %s;
|
|
206
206
|
<%s {...props} />
|
|
@@ -209,11 +209,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
209
209
|
<%s key={someKey} {...props} />`,
|
|
210
210
|
n,
|
|
211
211
|
o,
|
|
212
|
-
|
|
212
|
+
m,
|
|
213
213
|
o
|
|
214
214
|
), I[o + n] = !0);
|
|
215
215
|
}
|
|
216
|
-
if (o = null, t !== void 0 && (
|
|
216
|
+
if (o = null, t !== void 0 && (l(t), o = "" + t), E(r) && (l(r.key), o = "" + r.key), "key" in r) {
|
|
217
217
|
t = {};
|
|
218
218
|
for (var A in r)
|
|
219
219
|
A !== "key" && (t[A] = r[A]);
|
|
@@ -225,17 +225,17 @@ React keys must be passed directly to JSX without using spread:
|
|
|
225
225
|
e,
|
|
226
226
|
o,
|
|
227
227
|
u,
|
|
228
|
-
|
|
228
|
+
i,
|
|
229
229
|
s(),
|
|
230
230
|
t,
|
|
231
|
-
|
|
232
|
-
|
|
231
|
+
h,
|
|
232
|
+
O
|
|
233
233
|
);
|
|
234
234
|
}
|
|
235
235
|
function S(e) {
|
|
236
236
|
typeof e == "object" && e !== null && e.$$typeof === j && e._store && (e._store.validated = 1);
|
|
237
237
|
}
|
|
238
|
-
var b = ee, j = Symbol.for("react.transitional.element"), W = Symbol.for("react.portal"), T = Symbol.for("react.fragment"), U = Symbol.for("react.strict_mode"), q = Symbol.for("react.profiler"), J = Symbol.for("react.consumer"), z = Symbol.for("react.context"), V = Symbol.for("react.forward_ref"), G = Symbol.for("react.suspense"), X = Symbol.for("react.suspense_list"), B = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), H = Symbol.for("react.activity"), Z = Symbol.for("react.client.reference"), k = b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, g = Object.prototype.hasOwnProperty, Q = Array.isArray,
|
|
238
|
+
var b = ee, j = Symbol.for("react.transitional.element"), W = Symbol.for("react.portal"), T = Symbol.for("react.fragment"), U = Symbol.for("react.strict_mode"), q = Symbol.for("react.profiler"), J = Symbol.for("react.consumer"), z = Symbol.for("react.context"), V = Symbol.for("react.forward_ref"), G = Symbol.for("react.suspense"), X = Symbol.for("react.suspense_list"), B = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), H = Symbol.for("react.activity"), Z = Symbol.for("react.client.reference"), k = b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, g = Object.prototype.hasOwnProperty, Q = Array.isArray, w = console.createTask ? console.createTask : function() {
|
|
239
239
|
return null;
|
|
240
240
|
};
|
|
241
241
|
b = {
|
|
@@ -246,8 +246,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
246
246
|
var y, N = {}, C = b.react_stack_bottom_frame.bind(
|
|
247
247
|
b,
|
|
248
248
|
c
|
|
249
|
-
)(), Y =
|
|
250
|
-
R.Fragment = T, R.jsx = function(e, r, t, n,
|
|
249
|
+
)(), Y = w(d(c)), I = {};
|
|
250
|
+
R.Fragment = T, R.jsx = function(e, r, t, n, i) {
|
|
251
251
|
var u = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
252
252
|
return P(
|
|
253
253
|
e,
|
|
@@ -255,11 +255,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
255
255
|
t,
|
|
256
256
|
!1,
|
|
257
257
|
n,
|
|
258
|
-
|
|
258
|
+
i,
|
|
259
259
|
u ? Error("react-stack-top-frame") : C,
|
|
260
|
-
u ?
|
|
260
|
+
u ? w(d(e)) : Y
|
|
261
261
|
);
|
|
262
|
-
}, R.jsxs = function(e, r, t, n,
|
|
262
|
+
}, R.jsxs = function(e, r, t, n, i) {
|
|
263
263
|
var u = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
264
264
|
return P(
|
|
265
265
|
e,
|
|
@@ -267,9 +267,9 @@ React keys must be passed directly to JSX without using spread:
|
|
|
267
267
|
t,
|
|
268
268
|
!0,
|
|
269
269
|
n,
|
|
270
|
-
|
|
270
|
+
i,
|
|
271
271
|
u ? Error("react-stack-top-frame") : C,
|
|
272
|
-
u ?
|
|
272
|
+
u ? w(d(e)) : Y
|
|
273
273
|
);
|
|
274
274
|
};
|
|
275
275
|
})()), R;
|
|
@@ -279,14 +279,17 @@ function oe() {
|
|
|
279
279
|
return D || (D = 1, process.env.NODE_ENV === "production" ? v.exports = te() : v.exports = ne()), v.exports;
|
|
280
280
|
}
|
|
281
281
|
var ae = oe();
|
|
282
|
-
typeof window < "u" && !customElements.get("encatch-app") && import("./web-form-engine-core-
|
|
282
|
+
typeof window < "u" && !customElements.get("encatch-app") && import("./web-form-engine-core.umd-BsgK5u9q.js").then((a) => a.w).then(({ EncatchAppElement: a }) => {
|
|
283
283
|
customElements.define("encatch-app", a);
|
|
284
284
|
});
|
|
285
|
-
const ce = (
|
|
286
|
-
|
|
287
|
-
|
|
285
|
+
const ce = ({
|
|
286
|
+
formData: a,
|
|
287
|
+
cssLink: f
|
|
288
|
+
}) => (re(() => {
|
|
289
|
+
typeof window < "u" && !customElements.get("encatch-app") && import("./web-form-engine-core.umd-BsgK5u9q.js").then((l) => l.w).then(({ EncatchAppElement: l }) => {
|
|
290
|
+
customElements.define("encatch-app", l);
|
|
288
291
|
});
|
|
289
|
-
}, []), /* @__PURE__ */ ae.jsx("encatch-app", { ...a }));
|
|
292
|
+
}, []), /* @__PURE__ */ ae.jsx("encatch-app", { ...a, cssLink: f }));
|
|
290
293
|
export {
|
|
291
294
|
ce as EncatchPreview
|
|
292
295
|
};
|