@encatch/ws-react 0.0.5 → 0.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.
@@ -14,7 +14,7 @@ function re() {
14
14
  if ($) return R;
15
15
  $ = 1;
16
16
  var a = Symbol.for("react.transitional.element"), l = Symbol.for("react.fragment");
17
- function m(d, s, u) {
17
+ function f(d, s, u) {
18
18
  var E = null;
19
19
  if (u !== void 0 && (E = "" + u), s.key !== void 0 && (E = "" + s.key), "key" in s) {
20
20
  u = {};
@@ -29,7 +29,7 @@ function re() {
29
29
  props: u
30
30
  };
31
31
  }
32
- return R.Fragment = l, R.jsx = m, R.jsxs = m, R;
32
+ return R.Fragment = l, R.jsx = f, R.jsxs = f, R;
33
33
  }
34
34
  var b = {};
35
35
  /**
@@ -90,7 +90,7 @@ function te() {
90
90
  function l(e) {
91
91
  return "" + e;
92
92
  }
93
- function m(e) {
93
+ function f(e) {
94
94
  try {
95
95
  l(e);
96
96
  var r = !1;
@@ -197,10 +197,10 @@ function te() {
197
197
  else S(o);
198
198
  if (x.call(r, "key")) {
199
199
  o = a(e);
200
- var f = Object.keys(r).filter(function(K) {
200
+ var m = Object.keys(r).filter(function(K) {
201
201
  return K !== "key";
202
202
  });
203
- n = 0 < f.length ? "{key: someKey, " + f.join(": ..., ") + ": ...}" : "{key: someKey}", I[o + n] || (f = 0 < f.length ? "{" + f.join(": ..., ") + ": ...}" : "{}", console.error(
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
- f,
212
+ m,
213
213
  o
214
214
  ), I[o + n] = !0);
215
215
  }
216
- if (o = null, t !== void 0 && (m(t), o = "" + t), E(r) && (m(r.key), o = "" + r.key), "key" in r) {
216
+ if (o = null, t !== void 0 && (f(t), o = "" + t), E(r) && (f(r.key), o = "" + r.key), "key" in r) {
217
217
  t = {};
218
218
  for (var h in r)
219
219
  h !== "key" && (t[h] = r[h]);
@@ -279,7 +279,7 @@ function ne() {
279
279
  return D || (D = 1, process.env.NODE_ENV === "production" ? v.exports = re() : v.exports = te()), v.exports;
280
280
  }
281
281
  var oe = ne();
282
- typeof window < "u" && import("./web-form-engine-core.umd-BsgK5u9q.js").then((a) => a.w).then(({ EncatchAppElement: a }) => {
282
+ typeof window < "u" && import("./web-form-engine-core.umd-CWuDT6hL.js").then((a) => a.w).then(({ EncatchAppElement: a }) => {
283
283
  try {
284
284
  customElements.get("encatch-app") || customElements.define("encatch-app", a);
285
285
  } catch (l) {
@@ -288,8 +288,9 @@ typeof window < "u" && import("./web-form-engine-core.umd-BsgK5u9q.js").then((a)
288
288
  });
289
289
  const se = ({
290
290
  formData: a,
291
- cssLink: l
292
- }) => /* @__PURE__ */ oe.jsx("encatch-app", { ...a, cssLink: l });
291
+ cssLink: l,
292
+ scale: f = 1
293
+ }) => /* @__PURE__ */ oe.jsx("encatch-app", { ...a, cssLink: l, scale: f });
293
294
  export {
294
295
  se as EncatchPreview
295
296
  };