bi-components-library 1.2.75 → 1.2.76

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/index.es.js CHANGED
@@ -2458,6 +2458,10 @@ const zd = ({
2458
2458
  b.current = c;
2459
2459
  }, [c]), ne(() => {
2460
2460
  const N = C(x.current), k = C(e);
2461
+ if (N && N !== k && t.current) {
2462
+ const A = t.current;
2463
+ A.__tempVariableValues && delete A.__tempVariableValues;
2464
+ }
2461
2465
  if (N && N !== k && t.current) {
2462
2466
  const A = {};
2463
2467
  t.current.querySelectorAll('[data-type="variable"]').forEach((w) => {
@@ -29222,7 +29226,7 @@ function My(e, t, a, l, n, r = {}, i, u, s, o) {
29222
29226
  else if (v.type === "upload" && v.key) {
29223
29227
  const A = !!g && g.type === "text" && !g.className && !g.exclusionGroup && d(g.text), O = A ? (g.text ?? "").trim() : "", I = O ? f(O) : "";
29224
29228
  A && (m = !0), N = $o(v, a, I);
29225
- } else v.type === "select" && v.key ? N = fy(v, n) : v.type === "textarea" && v.key ? N = hy(v, n) : v.type === "richtext" && v.key ? N = by(v, n) : v.type === "report-module" && v.key ? N = xy(v, n) : v.type === "markdown-module" && v.key ? N = Cy(v, n) : v.type === "datepicker" && v.key ? N = Sy(v, n) : v.type === "number-input" && v.key ? N = _y(v, n) : v.type === "multi-variable" && v.key ? N = Uo(v, n, r, !1) : v.type === "multi-variable-select" && v.key ? N = Ny(v, n, r) : v.type === "video-url" && v.key ? N = qo(v, s || {}) : v.type === "video-upload" && v.key ? N = zo(v, s || {}) : v.type === "searchable-select" && v.key ? N = Ly(v, n) : v.type === "cascader" && v.key && (N = Py(v, n));
29229
+ } else v.type === "select" && v.key ? N = fy(v, n) : v.type === "textarea" && v.key ? N = hy(v, n) : v.type === "richtext" && v.key ? N = by(v, n) : v.type === "report-module" && v.key ? N = xy(v, n) : v.type === "markdown-module" && v.key ? N = Cy(v, n) : v.type === "datepicker" && v.key ? N = Sy(v, n) : v.type === "number-input" && v.key ? N = _y(v, n) : v.type === "multi-variable" && v.key ? N = Uo(v, n, r, o) : v.type === "multi-variable-select" && v.key ? N = Ny(v, n, r) : v.type === "video-url" && v.key ? N = qo(v, s || {}) : v.type === "video-upload" && v.key ? N = zo(v, s || {}) : v.type === "searchable-select" && v.key ? N = Ly(v, n) : v.type === "cascader" && v.key && (N = Py(v, n));
29226
29230
  const k = x + N + S;
29227
29231
  if (v.type === "text" && !v.className && !v.exclusionGroup) {
29228
29232
  if (d(v.text) && y.length > 0) {