ados-rcm 1.1.301 → 1.1.303

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.es.js CHANGED
@@ -9068,45 +9068,47 @@ const h6 = {
9068
9068
  return { pages: s, rangedPages: p };
9069
9069
  }, y6 = (o, r, n) => {
9070
9070
  const a = [], s = Object.keys(n), c = [];
9071
- s.forEach((y) => {
9072
- const b = n[y], I = lt.getContent(b.hContent, { defKey: y, def: b });
9073
- if (I !== void 0) {
9074
- if (typeof I == "string") {
9075
- c.push(I);
9071
+ s.forEach((C) => {
9072
+ const y = n[C], b = lt.getContent(y.hContent, { defKey: C, def: y });
9073
+ if (b !== void 0) {
9074
+ if (typeof b == "string") {
9075
+ c.push(b);
9076
9076
  return;
9077
- } else if (typeof I == "number") {
9078
- c.push(I.toString());
9077
+ } else if (typeof b == "number") {
9078
+ c.push(b.toString());
9079
9079
  return;
9080
9080
  }
9081
9081
  }
9082
- const T = lt.getContent(b.name, { defKey: y, def: b });
9083
- if (T !== void 0 && typeof T == "string") {
9084
- c.push(T);
9082
+ const I = lt.getContent(y.name, { defKey: C, def: y });
9083
+ if (I !== void 0 && typeof I == "string") {
9084
+ c.push(I);
9085
9085
  return;
9086
9086
  }
9087
- c.push(y);
9087
+ c.push(C);
9088
9088
  });
9089
- const f = c.map((y) => `"${y.replaceAll('"', '""')}"`);
9090
- a.push(f.join(",")), r.forEach((y) => {
9091
- const b = [];
9089
+ const f = c.map((C) => `"${C.replaceAll('"', '""')}"`);
9090
+ a.push(f.join(",")), r.forEach((C) => {
9091
+ const y = [];
9092
9092
  s.forEach((I) => {
9093
- const T = n[I], w = lt.getContent(T.content, { defKey: I, def: T, item: y });
9093
+ const T = n[I], w = lt.getContent(T.content, { defKey: I, def: T, item: C });
9094
9094
  if (w !== void 0) {
9095
9095
  if (typeof w == "string") {
9096
- b.push(w);
9096
+ y.push(w);
9097
9097
  return;
9098
9098
  } else if (typeof w == "number") {
9099
- b.push(w.toString());
9099
+ y.push(w.toString());
9100
9100
  return;
9101
9101
  }
9102
9102
  }
9103
- const k = y[I];
9104
- typeof k == "string" ? b.push(k) : typeof k == "number" ? b.push(k.toString()) : b.push("");
9105
- }), a.push(b.join(","));
9103
+ const k = C[I];
9104
+ typeof k == "string" ? y.push(k) : typeof k == "number" ? y.push(k.toString()) : y.push("");
9105
+ });
9106
+ const b = y.map((I) => `"${I.replaceAll('"', '""')}"`);
9107
+ a.push(b.join(","));
9106
9108
  });
9107
- const h = a.map((y) => `"${y.replaceAll('"', '""')}"`), p = `${o}_${(/* @__PURE__ */ new Date()).toISOString().split(".")[0].replaceAll(/[-:T]/g, "")}.csv`, v = "\uFEFF" + h.join(`
9108
- `), m = new Blob([v], { type: "text/csv;charset=UTF-8" }), x = URL.createObjectURL(m), C = document.createElement("a");
9109
- C.href = x, C.download = p, C.click(), URL.revokeObjectURL(x);
9109
+ const h = `${o}_${(/* @__PURE__ */ new Date()).toISOString().split(".")[0].replaceAll(/[-:T]/g, "")}.csv`, p = "\uFEFF" + a.join(`
9110
+ `), v = new Blob([p], { type: "text/csv;charset=UTF-8" }), m = URL.createObjectURL(v), x = document.createElement("a");
9111
+ x.href = m, x.download = h, x.click(), URL.revokeObjectURL(m);
9110
9112
  }, m6 = (o) => {
9111
9113
  const r = Be.keys(o);
9112
9114
  if (r.length !== 1)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ados-rcm",
3
- "version": "1.1.301",
3
+ "version": "1.1.303",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",