ados-rcm 1.0.327 → 1.0.328

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
@@ -7330,7 +7330,7 @@ const dx = "_BodyHeader_18ghn_1", hx = "_IsLoading_18ghn_9", gx = "_TRow_18ghn_1
7330
7330
  if (We.length === 0) {
7331
7331
  const he = {}, Te = qe.keys(r);
7332
7332
  for (let Ce = 0; Ce < Te.length; Ce++) {
7333
- const ze = Te[Ce], re = r[ze], L = ft.getContent(re.colSpan, { defKey: ze, def: re }), oe = re.width ?? 80, _e = re.noShrink, we = re.noExpand, ve = {
7333
+ const ze = Te[Ce], re = r[ze], L = ft.getContent(re.colSpan, { defKey: ze, def: re }), oe = re.width ?? 80, _e = ["fixed", "noShrink"].includes(re.resizeType), we = ["fixed", "noExpand"].includes(re.resizeType), ve = {
7334
7334
  width: oe,
7335
7335
  minWidth: _e ? oe : Fr,
7336
7336
  maxWidth: we ? oe : void 0,
@@ -7338,7 +7338,7 @@ const dx = "_BodyHeader_18ghn_1", hx = "_IsLoading_18ghn_9", gx = "_TRow_18ghn_1
7338
7338
  };
7339
7339
  if (he[ze] = ve, L !== void 0) {
7340
7340
  for (let Be = 1; Be < Math.min(L, Te.length - Ce); Be++) {
7341
- const Q = r[Te[Ce + Be]], X = Q.width ?? 80, ke = Q.noShrink, ct = Q.noExpand;
7341
+ const Q = r[Te[Ce + Be]], X = Q.width ?? 80, ke = ["fixed", "noShrink"].includes(Q.resizeType), ct = ["fixed", "noExpand"].includes(Q.resizeType);
7342
7342
  ve.width += X, ve.minWidth += ke ? X : Fr, ve.maxWidth !== void 0 && !ct && (ve.maxWidth += X);
7343
7343
  }
7344
7344
  Ce += L - 1;
@@ -7351,7 +7351,7 @@ const dx = "_BodyHeader_18ghn_1", hx = "_IsLoading_18ghn_9", gx = "_TRow_18ghn_1
7351
7351
  let Te = be[he];
7352
7352
  const Ce = r[Te];
7353
7353
  let ze = K[Te];
7354
- const re = ft.getContent(Ce.colSpan, { defKey: Te, def: Ce }), L = Ce.width ?? 80, oe = Ce.noShrink, _e = Ce.noExpand, we = {
7354
+ const re = ft.getContent(Ce.colSpan, { defKey: Te, def: Ce }), L = Ce.width ?? 80, oe = ["fixed", "noShrink"].includes(Ce.resizeType), _e = ["fixed", "noExpand"].includes(Ce.resizeType), we = {
7355
7355
  width: ze,
7356
7356
  minWidth: oe ? L : Fr,
7357
7357
  maxWidth: _e ? L : void 0,
@@ -7359,7 +7359,7 @@ const dx = "_BodyHeader_18ghn_1", hx = "_IsLoading_18ghn_9", gx = "_TRow_18ghn_1
7359
7359
  };
7360
7360
  if (fe[Te] = we, re !== void 0) {
7361
7361
  for (let ve = 1; ve < Math.min(re, be.length - he); ve++) {
7362
- const Be = r[be[he + ve]], Q = K[be[he + ve]], X = Be.noShrink, ke = Be.noExpand;
7362
+ const Be = r[be[he + ve]], Q = K[be[he + ve]], X = ["fixed", "noShrink"].includes(Be.resizeType), ke = ["fixed", "noExpand"].includes(Be.resizeType);
7363
7363
  we.width += Q, we.minWidth += X ? Q : Fr, we.maxWidth !== void 0 && !ke && (we.maxWidth += Q);
7364
7364
  }
7365
7365
  he += re - 1;
@@ -7375,7 +7375,7 @@ const dx = "_BodyHeader_18ghn_1", hx = "_IsLoading_18ghn_9", gx = "_TRow_18ghn_1
7375
7375
  onResizeCapture: F,
7376
7376
  ref: gt,
7377
7377
  children: /* @__PURE__ */ l.jsx("div", { className: yt.TRow, ref: q, children: qe.map(r, ([fe], be) => {
7378
- const he = r[fe], Te = ft.getContent(he.hContent, { defKey: fe, def: he }), Ce = be === qe.keys(r).length - 1, ze = he.width ?? 80, re = he.noShrink, L = he.noExpand, oe = {
7378
+ const he = r[fe], Te = ft.getContent(he.hContent, { defKey: fe, def: he }), Ce = be === qe.keys(r).length - 1, ze = he.width ?? 80, re = ["fixed", "noShrink"].includes(he.resizeType), L = ["fixed", "noExpand"].includes(he.resizeType), oe = {
7379
7379
  width: ze,
7380
7380
  minWidth: re ? ze : Fr,
7381
7381
  maxWidth: L ? ze : void 0,
@@ -7501,7 +7501,7 @@ function Lx(n, r, i, a) {
7501
7501
  let g = u - 1, p = u;
7502
7502
  if (a < 0) {
7503
7503
  for (; a < 0 && !(g < 0 || p >= d.length); ) {
7504
- const [y, _] = [d[g][0], d[g][1]], [S, m] = [d[p][0], d[p][1]], D = _.noShrink ? _.width ?? 80 : Fr, b = m.noExpand ? m.width ?? 80 : void 0, I = c[y], A = c[S];
7504
+ const [y, _] = [d[g][0], d[g][1]], [S, m] = [d[p][0], d[p][1]], D = ["fixed", "noShrink"].includes(_.resizeType) ? _.width ?? 80 : Fr, b = ["fixed", "noExpand"].includes(m.resizeType) ? m.width ?? 80 : void 0, I = c[y], A = c[S];
7505
7505
  let M = I - D;
7506
7506
  b !== void 0 && (M = Math.min(M, b - A));
7507
7507
  let O = -a;
@@ -7510,7 +7510,7 @@ function Lx(n, r, i, a) {
7510
7510
  return c;
7511
7511
  } else if (a > 0) {
7512
7512
  for (; a > 0 && !(g < 0 || p >= d.length); ) {
7513
- const [y, _] = [d[g][0], d[g][1]], [S, m] = [d[p][0], d[p][1]], D = m.noShrink ? m.width ?? 80 : Fr, b = _.noExpand ? _.width ?? 80 : void 0, I = c[S], A = c[y];
7513
+ const [y, _] = [d[g][0], d[g][1]], [S, m] = [d[p][0], d[p][1]], D = ["fixed", "noShrink"].includes(m.resizeType) ? m.width ?? 80 : Fr, b = ["fixed", "noExpand"].includes(_.resizeType) ? _.width ?? 80 : void 0, I = c[S], A = c[y];
7514
7514
  let M = I - D;
7515
7515
  b !== void 0 && (M = Math.min(M, b - A));
7516
7516
  let O = a;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ados-rcm",
3
- "version": "1.0.327",
3
+ "version": "1.0.328",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",