@oliasoft-open-source/react-ui-library 10.2.5-beta-3 → 10.2.6-beta-1

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.d.ts CHANGED
@@ -1958,6 +1958,10 @@ declare interface IUnitConfigItem {
1958
1958
  preferredUnit?: string;
1959
1959
  }
1960
1960
 
1961
+ declare interface IUnitEntry {
1962
+ [key: string]: string;
1963
+ }
1964
+
1961
1965
  export declare interface IUnitInputProps {
1962
1966
  name?: string | {
1963
1967
  fieldName?: string;
@@ -2024,6 +2028,14 @@ declare interface IUnitTable extends Omit<ITableProps['table'], 'rows'> {
2024
2028
  rows?: IUnitTableRow[];
2025
2029
  }
2026
2030
 
2031
+ export declare interface IUnitTableBeforeRenderRowParams {
2032
+ row: IUnitTableRow;
2033
+ rowIndex: number;
2034
+ selectedUnits: IUnitEntry;
2035
+ storageUnits: IUnitEntry;
2036
+ convertValue: (value: TStringNumberNull, unitKey: string) => TStringNumberNull;
2037
+ }
2038
+
2027
2039
  declare interface IUnitTableCell {
2028
2040
  autoUnit: boolean;
2029
2041
  unitKey: string;
@@ -2044,7 +2056,7 @@ export declare interface IUnitTableOnChangeEvent extends ITableOnChangeEvent {
2044
2056
  };
2045
2057
  }
2046
2058
 
2047
- export declare interface IUnitTableProps extends Omit<ITableProps, 'table'> {
2059
+ export declare interface IUnitTableProps extends Omit<ITableProps, 'table' | 'beforeRenderRow'> {
2048
2060
  table: IUnitTable;
2049
2061
  unitConfig: IUnitConfigItem[];
2050
2062
  convertBackToStorageUnit?: boolean;
@@ -2058,10 +2070,7 @@ export declare interface IUnitTableProps extends Omit<ITableProps, 'table'> {
2058
2070
  from: number;
2059
2071
  to: number;
2060
2072
  }) => boolean;
2061
- beforeRenderRow?: ({ row, rowIndex }: {
2062
- row: IUnitTableRow;
2063
- rowIndex: number;
2064
- }) => IUnitTableRow;
2073
+ beforeRenderRow?: (params: IUnitTableBeforeRenderRowParams) => IUnitTableRow;
2065
2074
  }
2066
2075
 
2067
2076
  export declare interface IUnitTableRow extends Omit<TRowType, 'cells'> {
package/dist/index.js CHANGED
@@ -8305,19 +8305,29 @@ var Eo = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Do =
8305
8305
  }, {
8306
8306
  preferredUnits: {},
8307
8307
  storageUnits: {}
8308
- }), zp = ({ row: e, selectedUnits: t, storageUnits: n, convertBackToStorageUnit: r, enableCosmeticRounding: i, enableDisplayRounding: a }) => ({
8308
+ }), zp = ({ value: e, unitKey: t, selectedUnits: n, storageUnits: r }) => {
8309
+ let i = n[t], a = r[t];
8310
+ if (!(a && i !== a) || e === null || e === "") return e;
8311
+ let { value: o = e } = Lf({
8312
+ value: dr(e),
8313
+ unitkey: t,
8314
+ toUnit: i,
8315
+ fromUnit: a
8316
+ });
8317
+ return o;
8318
+ }, Bp = ({ row: e, selectedUnits: t, storageUnits: n, convertBackToStorageUnit: r, enableCosmeticRounding: i, enableDisplayRounding: a }) => ({
8309
8319
  ...e,
8310
8320
  cells: e.cells.map((e) => {
8311
8321
  if ("autoUnit" in e && e.autoUnit && (typeof e.value == "string" || typeof e.value == "number")) {
8312
- let { unitKey: o, value: s, formatDisplayValue: c } = e, l = a && "roundDisplayValue" in e ? e.roundDisplayValue : null, u = t[o], d = n[o], f = d && u !== d, { value: p = s } = Lf({
8313
- value: dr(s),
8314
- unitkey: o,
8315
- toUnit: u,
8316
- fromUnit: d
8317
- }), m = f ? p : e.value, h = c ? c(m, u) : m;
8322
+ let { unitKey: o, value: s, formatDisplayValue: c } = e, l = a && "roundDisplayValue" in e ? e.roundDisplayValue : null, u = t[o], d = n[o], f = d && u !== d, p = zp({
8323
+ value: s,
8324
+ unitKey: o,
8325
+ selectedUnits: t,
8326
+ storageUnits: n
8327
+ }), m = c ? c(p, u) : p;
8318
8328
  return {
8319
8329
  ...e,
8320
- value: h,
8330
+ value: m,
8321
8331
  enableCosmeticRounding: i,
8322
8332
  enableDisplayRounding: a,
8323
8333
  roundDisplayValue: l,
@@ -8342,7 +8352,7 @@ var Eo = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Do =
8342
8352
  }
8343
8353
  return e;
8344
8354
  })
8345
- }), Bp = ({ headers: e, selectedUnits: t, storageUnits: n, onChangeUnit: r }) => {
8355
+ }), Vp = ({ headers: e, selectedUnits: t, storageUnits: n, onChangeUnit: r }) => {
8346
8356
  let { translations: i } = Ip();
8347
8357
  return e ? e.map((e) => ({
8348
8358
  ...e,
@@ -8372,7 +8382,7 @@ var Eo = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Do =
8372
8382
  return e;
8373
8383
  })
8374
8384
  })) : [];
8375
- }, Vp = ({ table: e, unitConfig: t, convertBackToStorageUnit: n = !0, enableCosmeticRounding: r = !0, enableDisplayRounding: i = !0, onListReorder: a, canListReorder: o, beforeRenderRow: s }) => {
8385
+ }, Hp = ({ table: e, unitConfig: t, convertBackToStorageUnit: n = !0, enableCosmeticRounding: r = !0, enableDisplayRounding: i = !0, onListReorder: a, canListReorder: o, beforeRenderRow: s }) => {
8376
8386
  let { headers: c, ...u } = e, { storageUnits: f, preferredUnits: p } = Rp(t), m = jf(p), [h, g] = v(p), _ = ({ unitKey: e, value: n }) => {
8377
8387
  g((t) => ({
8378
8388
  ...t,
@@ -8384,10 +8394,18 @@ var Eo = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Do =
8384
8394
  newUnit: n,
8385
8395
  unitKey: e
8386
8396
  });
8387
- }, y = l(({ row: e, rowIndex: t }) => zp({
8397
+ }, y = l(({ row: e, rowIndex: t }) => Bp({
8388
8398
  row: s ? s({
8389
8399
  row: e,
8390
- rowIndex: t
8400
+ rowIndex: t,
8401
+ selectedUnits: h,
8402
+ storageUnits: f,
8403
+ convertValue: (e, t) => zp({
8404
+ value: e,
8405
+ unitKey: t,
8406
+ selectedUnits: h,
8407
+ storageUnits: f
8408
+ })
8391
8409
  }) : e,
8392
8410
  selectedUnits: h,
8393
8411
  storageUnits: f,
@@ -8395,6 +8413,7 @@ var Eo = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Do =
8395
8413
  enableCosmeticRounding: r,
8396
8414
  enableDisplayRounding: i
8397
8415
  }), [
8416
+ s,
8398
8417
  h,
8399
8418
  f,
8400
8419
  n,
@@ -8412,7 +8431,7 @@ var Eo = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Do =
8412
8431
  }, [t]), /* @__PURE__ */ S($l, {
8413
8432
  table: {
8414
8433
  ...u,
8415
- headers: Bp({
8434
+ headers: Vp({
8416
8435
  headers: e.headers,
8417
8436
  selectedUnits: h,
8418
8437
  storageUnits: f,
@@ -8423,7 +8442,7 @@ var Eo = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Do =
8423
8442
  canListReorder: o,
8424
8443
  beforeRenderRow: y
8425
8444
  });
8426
- }, Hp = { settingField: "_settingField_1x02n_1" }, Up = ({ helpText: t, disabled: n = !1, showCustom: r = !1, children: i, userValue: a = void 0, companyValue: o = void 0, noPermission: s = !1, selectedOption: c, handleSelectChange: l, testId: u }) => {
8445
+ }, Up = { settingField: "_settingField_1x02n_1" }, Wp = ({ helpText: t, disabled: n = !1, showCustom: r = !1, children: i, userValue: a = void 0, companyValue: o = void 0, noPermission: s = !1, selectedOption: c, handleSelectChange: l, testId: u }) => {
8427
8446
  let { translations: d } = Ip(), f = (t) => t.replace(/\\n/g, "\n").split(/\n/).map((t, n) => /* @__PURE__ */ C(e.Fragment, { children: [t, /* @__PURE__ */ S("br", {})] }, n)), p = [
8428
8447
  ...r ? [] : [{
8429
8448
  label: d == null ? void 0 : d.allUsers,
@@ -8439,7 +8458,7 @@ var Eo = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Do =
8439
8458
  }] : []
8440
8459
  ], m = a !== void 0 && o !== void 0 && !un(a, o);
8441
8460
  return /* @__PURE__ */ C("div", {
8442
- className: Hp.settingField,
8461
+ className: Up.settingField,
8443
8462
  "data-testid": u,
8444
8463
  children: [/* @__PURE__ */ C(yd, {
8445
8464
  justifyContent: "space-between",
@@ -8471,7 +8490,7 @@ var Eo = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Do =
8471
8490
  children: f(t)
8472
8491
  })]
8473
8492
  });
8474
- }, Wp = { backgroundColor: "var(--color-background-error-muted)" }, Gp = { backgroundColor: "var(--color-background-success-muted)" }, Kp = { backgroundColor: "var(--color-background-warning-muted)" }, qp = {
8493
+ }, Gp = { backgroundColor: "var(--color-background-error-muted)" }, Kp = { backgroundColor: "var(--color-background-success-muted)" }, qp = { backgroundColor: "var(--color-background-warning-muted)" }, Jp = {
8475
8494
  addedBackground: "var(--color-diff-added-background)",
8476
8495
  addedGutterBackground: "var(--color-diff-added-gutter-background)",
8477
8496
  codeFoldBackground: "var(--color-diff-code-fold-background)",
@@ -8490,10 +8509,10 @@ var Eo = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Do =
8490
8509
  removedGutterBackground: "var(--color-diff-removed-gutter-background)",
8491
8510
  wordAddedBackground: "var(--color-diff-word-added-background)",
8492
8511
  wordRemovedBackground: "var(--color-diff-word-removed-background)"
8493
- }, Jp = {
8512
+ }, Yp = {
8494
8513
  variables: {
8495
- light: qp,
8496
- dark: qp
8514
+ light: Jp,
8515
+ dark: Jp
8497
8516
  },
8498
8517
  diffContainer: { minWidth: "unset" },
8499
8518
  codeFoldGutter: {
@@ -8508,10 +8527,10 @@ var Eo = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Do =
8508
8527
  pre: { opacity: .5 }
8509
8528
  } },
8510
8529
  marker: { pre: { opacity: .4 } }
8511
- }, Yp = { codeOnly: "_codeOnly_1lph2_42" }, Xp = ({ value: e, compareValue: t, splitView: n = !1, showDiffOnly: r = !1, compareMethod: i = Ei.LINES, extraLinesSurroundingDiff: a, hideSummary: o = !0, className: s }) => {
8530
+ }, Xp = { codeOnly: "_codeOnly_1lph2_42" }, Zp = ({ value: e, compareValue: t, splitView: n = !1, showDiffOnly: r = !1, compareMethod: i = Ei.LINES, extraLinesSurroundingDiff: a, hideSummary: o = !0, className: s }) => {
8512
8531
  let c = t !== void 0, l = c ? t : e, u = i !== Ei.WORDS;
8513
8532
  return /* @__PURE__ */ S("div", {
8514
- className: b(s, { [Yp.codeOnly]: !c && !n }),
8533
+ className: b(s, { [Xp.codeOnly]: !c && !n }),
8515
8534
  children: /* @__PURE__ */ S(Ti, {
8516
8535
  oldValue: l,
8517
8536
  newValue: e,
@@ -8523,22 +8542,22 @@ var Eo = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Do =
8523
8542
  hideLineNumbers: !1,
8524
8543
  hideSummary: o,
8525
8544
  disableWorker: !0,
8526
- styles: Jp
8545
+ styles: Yp
8527
8546
  })
8528
8547
  });
8529
- }, Zp = (e, t) => {
8548
+ }, Qp = (e, t) => {
8530
8549
  let n = e.replace(/\r\n/g, "\n").split("\n"), r = t.replace(/\r\n/g, "\n").split("\n"), i = r.length - n.length, a = n.length - r.length;
8531
8550
  return {
8532
8551
  added: Math.max(0, i),
8533
8552
  removed: Math.max(0, a)
8534
8553
  };
8535
- }, Qp = "split", $p = "unified", em = ({ oldJson: e, newJson: t, viewType: n = Qp }) => {
8554
+ }, $p = "split", em = "unified", tm = ({ oldJson: e, newJson: t, viewType: n = $p }) => {
8536
8555
  var r, i;
8537
8556
  let { translations: a } = Ip(), [o, s] = v(n), c = [{
8538
- value: Qp,
8557
+ value: $p,
8539
8558
  label: (r = a == null ? void 0 : a.split) == null ? "Split" : r
8540
8559
  }, {
8541
- value: $p,
8560
+ value: em,
8542
8561
  label: (i = a == null ? void 0 : a.unified) == null ? "Unified" : i
8543
8562
  }];
8544
8563
  d(() => {
@@ -8546,7 +8565,7 @@ var Eo = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Do =
8546
8565
  }, [n]);
8547
8566
  let l = ({ target: { value: e } }) => {
8548
8567
  s(e);
8549
- }, { added: u, removed: f } = Zp(e, t), p = u + f > 3500;
8568
+ }, { added: u, removed: f } = Qp(e, t), p = u + f > 3500;
8550
8569
  return /* @__PURE__ */ S(x, { children: /* @__PURE__ */ S(_o, {
8551
8570
  bordered: !0,
8552
8571
  heading: /* @__PURE__ */ C(yd, {
@@ -8576,21 +8595,21 @@ var Eo = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Do =
8576
8595
  muted: !0,
8577
8596
  children: a == null ? void 0 : a.changesTooLarge
8578
8597
  })
8579
- }) : /* @__PURE__ */ S(Xp, {
8598
+ }) : /* @__PURE__ */ S(Zp, {
8580
8599
  value: t,
8581
8600
  compareValue: e,
8582
- splitView: o === Qp,
8601
+ splitView: o === $p,
8583
8602
  compareMethod: Ei.WORDS,
8584
8603
  showDiffOnly: !0,
8585
8604
  hideSummary: !1
8586
8605
  })
8587
8606
  }) });
8588
- }, tm = (e) => typeof e == "object" && e && "value" in e ? e.value : e, nm = (e) => {
8607
+ }, nm = (e) => typeof e == "object" && e && "value" in e ? e.value : e, rm = (e) => {
8589
8608
  var t;
8590
8609
  if (e.id != null) return String(e.id);
8591
- let n = tm((t = e.cells) == null || (t = t[0]) == null ? void 0 : t.value);
8610
+ let n = nm((t = e.cells) == null || (t = t[0]) == null ? void 0 : t.value);
8592
8611
  return n == null ? "" : String(n);
8593
- }, rm = (e, t) => ({
8612
+ }, im = (e, t) => ({
8594
8613
  ...e,
8595
8614
  cells: e.cells.map((e) => ({
8596
8615
  ...e,
@@ -8599,7 +8618,7 @@ var Eo = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Do =
8599
8618
  ...t
8600
8619
  }
8601
8620
  }))
8602
- }), im = (e, t) => ({
8621
+ }), am = (e, t) => ({
8603
8622
  ...e,
8604
8623
  cells: e.cells.map((e, n) => {
8605
8624
  var r;
@@ -8608,17 +8627,17 @@ var Eo = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Do =
8608
8627
  ...e,
8609
8628
  style: {
8610
8629
  ...e.style,
8611
- ...Kp
8630
+ ...qp
8612
8631
  },
8613
8632
  tooltip: typeof a == "number" ? String(a) : a
8614
8633
  };
8615
8634
  })
8616
- }), am = (e = [], t = []) => {
8635
+ }), om = (e = [], t = []) => {
8617
8636
  let n = /* @__PURE__ */ new Map();
8618
- for (let e of t) n.set(nm(e), e);
8619
- let r = new Set(e.map(nm)), i = /* @__PURE__ */ new Map(), a = [], o = null;
8637
+ for (let e of t) n.set(rm(e), e);
8638
+ let r = new Set(e.map(rm)), i = /* @__PURE__ */ new Map(), a = [], o = null;
8620
8639
  for (let e = t.length - 1; e >= 0; e--) {
8621
- let n = t[e], c = nm(n);
8640
+ let n = t[e], c = rm(n);
8622
8641
  if (r.has(c)) {
8623
8642
  o = c;
8624
8643
  continue;
@@ -8633,7 +8652,7 @@ var Eo = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Do =
8633
8652
  a.reverse();
8634
8653
  let c = [];
8635
8654
  for (let t of e) {
8636
- let e = nm(t), r = i.get(e);
8655
+ let e = rm(t), r = i.get(e);
8637
8656
  if (r) for (let e of r) c.push({
8638
8657
  status: "deleted",
8639
8658
  row: e
@@ -8653,11 +8672,11 @@ var Eo = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Do =
8653
8672
  row: e
8654
8673
  });
8655
8674
  return c;
8656
- }, om = (e) => e.status === "deleted" ? rm(e.row, Wp) : e.status === "added" ? rm(e.row, Gp) : im(e.row, e.compareRow), sm = ({ table: e, compareRows: t, beforeRenderRow: n, ...r }) => {
8657
- let i = h(() => am(e.rows, t), [e.rows, t]), a = !!e.infiniteScroll, o = h(() => {
8675
+ }, sm = (e) => e.status === "deleted" ? im(e.row, Gp) : e.status === "added" ? im(e.row, Kp) : am(e.row, e.compareRow), cm = ({ table: e, compareRows: t, beforeRenderRow: n, ...r }) => {
8676
+ let i = h(() => om(e.rows, t), [e.rows, t]), a = !!e.infiniteScroll, o = h(() => {
8658
8677
  if (!a) return i.map((e) => e.row);
8659
8678
  }, [a, i]), s = l(({ row: e, rowIndex: t }) => {
8660
- let r = i[t], a = r ? om(r) : e;
8679
+ let r = i[t], a = r ? sm(r) : e;
8661
8680
  return n ? n({
8662
8681
  row: a,
8663
8682
  rowIndex: t
@@ -8676,7 +8695,7 @@ var Eo = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Do =
8676
8695
  };
8677
8696
  //#endregion
8678
8697
  //#region src/helpers/date.ts
8679
- function cm({ date: e, showTime: t, showSeconds: n, timeZone: r, showTimeZone: i, locale: a }) {
8698
+ function lm({ date: e, showTime: t, showSeconds: n, timeZone: r, showTimeZone: i, locale: a }) {
8680
8699
  return e ? new Date(e).toLocaleString(a, {
8681
8700
  year: "numeric",
8682
8701
  month: "short",
@@ -8690,28 +8709,28 @@ function cm({ date: e, showTime: t, showSeconds: n, timeZone: r, showTimeZone: i
8690
8709
  }
8691
8710
  //#endregion
8692
8711
  //#region node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/clone.js
8693
- function lm(e) {
8712
+ function um(e) {
8694
8713
  var t;
8695
8714
  let n = /^\/(.*)\/([gimyu]*)$/.exec(e.toString());
8696
8715
  if (!n) throw Error("Invalid RegExp");
8697
8716
  return new RegExp((t = n[1]) == null ? "" : t, n[2]);
8698
8717
  }
8699
- function um(e) {
8718
+ function dm(e) {
8700
8719
  if (typeof e != "object") return e;
8701
8720
  if (e === null) return null;
8702
- if (Array.isArray(e)) return e.map(um);
8721
+ if (Array.isArray(e)) return e.map(dm);
8703
8722
  if (e instanceof Date) return new Date(e.getTime());
8704
- if (e instanceof RegExp) return lm(e);
8723
+ if (e instanceof RegExp) return um(e);
8705
8724
  let t = {};
8706
- for (let n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = um(e[n]));
8725
+ for (let n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = dm(e[n]));
8707
8726
  return t;
8708
8727
  }
8709
8728
  //#endregion
8710
8729
  //#region node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/assertions/arrays.js
8711
- function dm(e, t) {
8730
+ function fm(e, t) {
8712
8731
  if (e.length === 0) throw Error(t || "Expected a non-empty array");
8713
8732
  }
8714
- var fm = (e) => e[e.length - 1], pm = class {
8733
+ var pm = (e) => e[e.length - 1], mm = class {
8715
8734
  setResult(e) {
8716
8735
  return this.result = e, this.hasResult = !0, this;
8717
8736
  }
@@ -8719,16 +8738,16 @@ var fm = (e) => e[e.length - 1], pm = class {
8719
8738
  return this.exiting = !0, this;
8720
8739
  }
8721
8740
  push(e, t) {
8722
- return e.parent = this, t !== void 0 && (e.childName = t), e.root = this.root || this, e.options = e.options || this.options, this.children ? (dm(this.children), fm(this.children).next = e, this.children.push(e)) : (this.children = [e], this.nextAfterChildren = this.next || null, this.next = e), e.next = this, this;
8741
+ return e.parent = this, t !== void 0 && (e.childName = t), e.root = this.root || this, e.options = e.options || this.options, this.children ? (fm(this.children), pm(this.children).next = e, this.children.push(e)) : (this.children = [e], this.nextAfterChildren = this.next || null, this.next = e), e.next = this, this;
8723
8742
  }
8724
- }, mm = class extends pm {
8743
+ }, hm = class extends mm {
8725
8744
  constructor(e, t) {
8726
8745
  super(), this.left = e, this.right = t, this.pipe = "diff";
8727
8746
  }
8728
8747
  prepareDeltaResult(e) {
8729
8748
  var t, n, r, i;
8730
8749
  if (typeof e == "object" && ((t = this.options) != null && t.omitRemovedValues && Array.isArray(e) && e.length > 1 && (e.length === 2 || e[2] === 0 || e[2] === 3) && (e[0] = 0), (n = this.options) != null && n.cloneDiffValues)) {
8731
- let t = typeof ((r = this.options) == null ? void 0 : r.cloneDiffValues) == "function" ? (i = this.options) == null ? void 0 : i.cloneDiffValues : um;
8750
+ let t = typeof ((r = this.options) == null ? void 0 : r.cloneDiffValues) == "function" ? (i = this.options) == null ? void 0 : i.cloneDiffValues : dm;
8732
8751
  typeof e[0] == "object" && (e[0] = t(e[0])), typeof e[1] == "object" && (e[1] = t(e[1]));
8733
8752
  }
8734
8753
  return e;
@@ -8736,15 +8755,15 @@ var fm = (e) => e[e.length - 1], pm = class {
8736
8755
  setResult(e) {
8737
8756
  return this.prepareDeltaResult(e), super.setResult(e);
8738
8757
  }
8739
- }, hm = class extends pm {
8758
+ }, gm = class extends mm {
8740
8759
  constructor(e, t) {
8741
8760
  super(), this.left = e, this.delta = t, this.pipe = "patch";
8742
8761
  }
8743
- }, gm = class extends pm {
8762
+ }, _m = class extends mm {
8744
8763
  constructor(e) {
8745
8764
  super(), this.delta = e, this.pipe = "reverse";
8746
8765
  }
8747
- }, _m = class {
8766
+ }, vm = class {
8748
8767
  constructor(e) {
8749
8768
  this.name = e, this.filters = [];
8750
8769
  }
@@ -8808,7 +8827,7 @@ var fm = (e) => e[e.length - 1], pm = class {
8808
8827
  }
8809
8828
  }), this);
8810
8829
  }
8811
- }, vm = class {
8830
+ }, ym = class {
8812
8831
  constructor(e) {
8813
8832
  this.selfOptions = e || {}, this.pipes = {};
8814
8833
  }
@@ -8835,7 +8854,7 @@ var fm = (e) => e[e.length - 1], pm = class {
8835
8854
  for (; r;) n.nextAfterChildren !== void 0 && (n.next = n.nextAfterChildren, n.nextAfterChildren = null), typeof r == "string" && (r = this.pipe(r)), r.process(n), i = r, r = null, n && n.next && (n = n.next, r = n.pipe || i);
8836
8855
  return n.hasResult ? n.result : void 0;
8837
8856
  }
8838
- }, ym = (e, t, n, r) => e[n] === t[r], bm = (e, t, n, r) => {
8857
+ }, bm = (e, t, n, r) => e[n] === t[r], xm = (e, t, n, r) => {
8839
8858
  var i, a, o;
8840
8859
  let s = e.length, c = t.length, l, u, d = Array(s + 1);
8841
8860
  for (l = 0; l < s + 1; l++) {
@@ -8851,7 +8870,7 @@ var fm = (e) => e[e.length - 1], pm = class {
8851
8870
  for (u = 1; u < c + 1; u++) n(e, t, l - 1, u - 1, r) ? s[u] = ((i = f[u - 1]) == null ? 0 : i) + 1 : s[u] = Math.max((a = f[u]) == null ? 0 : a, (o = s[u - 1]) == null ? 0 : o);
8852
8871
  }
8853
8872
  return d;
8854
- }, xm = (e, t, n, r) => {
8873
+ }, Sm = (e, t, n, r) => {
8855
8874
  let i = t.length, a = n.length, o = {
8856
8875
  sequence: [],
8857
8876
  indices1: [],
@@ -8873,11 +8892,11 @@ var fm = (e) => e[e.length - 1], pm = class {
8873
8892
  }
8874
8893
  }
8875
8894
  return o;
8876
- }, Sm = { get: (e, t, n, r) => {
8895
+ }, Cm = { get: (e, t, n, r) => {
8877
8896
  let i = r || {};
8878
- return xm(bm(e, t, n || ym, i), e, t, i);
8879
- } }, Cm = 3;
8880
- function wm(e, t, n, r) {
8897
+ return Sm(xm(e, t, n || bm, i), e, t, i);
8898
+ } }, wm = 3;
8899
+ function Tm(e, t, n, r) {
8881
8900
  for (let i = 0; i < n; i++) {
8882
8901
  let n = e[i];
8883
8902
  for (let e = 0; e < r; e++) {
@@ -8887,7 +8906,7 @@ function wm(e, t, n, r) {
8887
8906
  }
8888
8907
  return !1;
8889
8908
  }
8890
- function Tm(e, t, n, r, i) {
8909
+ function Em(e, t, n, r, i) {
8891
8910
  let a = e[n], o = t[r];
8892
8911
  if (a === o) return !0;
8893
8912
  if (typeof a != "object" || typeof o != "object") return !1;
@@ -8900,15 +8919,15 @@ function Tm(e, t, n, r, i) {
8900
8919
  let l = i.hashCache2[r];
8901
8920
  return l === void 0 && (i.hashCache2[r] = l = s(o, r)), l !== void 0 && c === l;
8902
8921
  }
8903
- var Em = function(e) {
8922
+ var Dm = function(e) {
8904
8923
  var t, n, r, i, a;
8905
8924
  if (!e.leftIsArray) return;
8906
8925
  let o = {
8907
8926
  objectHash: (t = e.options) == null ? void 0 : t.objectHash,
8908
8927
  matchByPosition: (n = e.options) == null ? void 0 : n.matchByPosition
8909
8928
  }, s = 0, c = 0, l, u, d, f = e.left, p = e.right, m = f.length, h = p.length, g;
8910
- for (m > 0 && h > 0 && !o.objectHash && typeof o.matchByPosition != "boolean" && (o.matchByPosition = !wm(f, p, m, h)); s < m && s < h && Tm(f, p, s, s, o);) l = s, g = new mm(f[l], p[l]), e.push(g, l), s++;
8911
- for (; c + s < m && c + s < h && Tm(f, p, m - 1 - c, h - 1 - c, o);) u = m - 1 - c, d = h - 1 - c, g = new mm(f[u], p[d]), e.push(g, d), c++;
8929
+ for (m > 0 && h > 0 && !o.objectHash && typeof o.matchByPosition != "boolean" && (o.matchByPosition = !Tm(f, p, m, h)); s < m && s < h && Em(f, p, s, s, o);) l = s, g = new hm(f[l], p[l]), e.push(g, l), s++;
8930
+ for (; c + s < m && c + s < h && Em(f, p, m - 1 - c, h - 1 - c, o);) u = m - 1 - c, d = h - 1 - c, g = new hm(f[u], p[d]), e.push(g, d), c++;
8912
8931
  let _;
8913
8932
  if (s + c === m) {
8914
8933
  if (m === h) {
@@ -8932,7 +8951,7 @@ var Em = function(e) {
8932
8951
  return;
8933
8952
  }
8934
8953
  o.hashCache1 = void 0, o.hashCache2 = void 0;
8935
- let v = f.slice(s, m - c), y = p.slice(s, h - c), b = Sm.get(v, y, Tm, o), x = [];
8954
+ let v = f.slice(s, m - c), y = p.slice(s, h - c), b = Cm.get(v, y, Em, o), x = [];
8936
8955
  for (_ = _ || { _t: "a" }, l = s; l < m - c; l++) if (b.indices1.indexOf(l - s) < 0) {
8937
8956
  let t = `_${l}`;
8938
8957
  _[t] = [
@@ -8953,8 +8972,8 @@ var Em = function(e) {
8953
8972
  if (S && w > 0) for (let n = 0; n < w; n++) {
8954
8973
  u = x[n];
8955
8974
  let r = u === void 0 ? void 0 : _[`_${u}`];
8956
- if (u !== void 0 && r && Tm(v, y, u - s, l - s, o)) {
8957
- r.splice(1, 2, l, Cm), r.splice(1, 2, l, Cm), C || (r[0] = ""), d = l, g = new mm(f[u], p[d]), e.push(g, d), x.splice(n, 1), t = !0;
8975
+ if (u !== void 0 && r && Em(v, y, u - s, l - s, o)) {
8976
+ r.splice(1, 2, l, wm), r.splice(1, 2, l, wm), C || (r[0] = ""), d = l, g = new hm(f[u], p[d]), e.push(g, d), x.splice(n, 1), t = !0;
8958
8977
  break;
8959
8978
  }
8960
8979
  }
@@ -8962,20 +8981,20 @@ var Em = function(e) {
8962
8981
  } else {
8963
8982
  if (b.indices1[t] === void 0) throw Error(`Invalid indexOnArray2: ${t}, seq.indices1: ${b.indices1}`);
8964
8983
  if (u = b.indices1[t] + s, b.indices2[t] === void 0) throw Error(`Invalid indexOnArray2: ${t}, seq.indices2: ${b.indices2}`);
8965
- d = b.indices2[t] + s, g = new mm(f[u], p[d]), e.push(g, d);
8984
+ d = b.indices2[t] + s, g = new hm(f[u], p[d]), e.push(g, d);
8966
8985
  }
8967
8986
  }
8968
8987
  e.setResult(_).exit();
8969
8988
  };
8970
- Em.filterName = "arrays";
8971
- var Dm = {
8989
+ Dm.filterName = "arrays";
8990
+ var Om = {
8972
8991
  numerically(e, t) {
8973
8992
  return e - t;
8974
8993
  },
8975
8994
  numericallyBy(e) {
8976
8995
  return (t, n) => t[e] - n[e];
8977
8996
  }
8978
- }, Om = function(e) {
8997
+ }, km = function(e) {
8979
8998
  var t;
8980
8999
  if (!e.nested) return;
8981
9000
  let n = e.delta;
@@ -8984,7 +9003,7 @@ var Dm = {
8984
9003
  for (r in a) if (r !== "_t") {
8985
9004
  if (r[0] === "_") {
8986
9005
  let e = r;
8987
- if (a[e] !== void 0 && (a[e][2] === 0 || a[e][2] === Cm)) s.push(Number.parseInt(r.slice(1), 10));
9006
+ if (a[e] !== void 0 && (a[e][2] === 0 || a[e][2] === wm)) s.push(Number.parseInt(r.slice(1), 10));
8988
9007
  else throw Error(`only removal or move can be applied at original array indices, invalid diff type: ${(t = a[e]) == null ? void 0 : t[2]}`);
8989
9008
  } else {
8990
9009
  let e = r;
@@ -8997,15 +9016,15 @@ var Dm = {
8997
9016
  });
8998
9017
  }
8999
9018
  }
9000
- for (s = s.sort(Dm.numerically), r = s.length - 1; r >= 0; r--) {
9019
+ for (s = s.sort(Om.numerically), r = s.length - 1; r >= 0; r--) {
9001
9020
  if (i = s[r], i === void 0) continue;
9002
9021
  let e = a[`_${i}`], t = o.splice(i, 1)[0];
9003
- (e == null ? void 0 : e[2]) === Cm && c.push({
9022
+ (e == null ? void 0 : e[2]) === wm && c.push({
9004
9023
  index: e[1],
9005
9024
  value: t
9006
9025
  });
9007
9026
  }
9008
- c = c.sort(Dm.numericallyBy("index"));
9027
+ c = c.sort(Om.numericallyBy("index"));
9009
9028
  let u = c.length;
9010
9029
  for (r = 0; r < u; r++) {
9011
9030
  let e = c[r];
@@ -9015,7 +9034,7 @@ var Dm = {
9015
9034
  if (d > 0) for (r = 0; r < d; r++) {
9016
9035
  let t = l[r];
9017
9036
  if (t === void 0) continue;
9018
- let n = new hm(o[t.index], t.delta);
9037
+ let n = new gm(o[t.index], t.delta);
9019
9038
  e.push(n, t.index);
9020
9039
  }
9021
9040
  if (!e.children) {
@@ -9024,8 +9043,8 @@ var Dm = {
9024
9043
  }
9025
9044
  e.exit();
9026
9045
  };
9027
- Om.filterName = "arrays";
9028
- var km = function(e) {
9046
+ km.filterName = "arrays";
9047
+ var Am = function(e) {
9029
9048
  if (!e || !e.children || e.delta._t !== "a") return;
9030
9049
  let t = e.left, n = e.children.length;
9031
9050
  for (let r = 0; r < n; r++) {
@@ -9036,16 +9055,16 @@ var km = function(e) {
9036
9055
  }
9037
9056
  e.setResult(t).exit();
9038
9057
  };
9039
- km.filterName = "arraysCollectChildren";
9040
- var Am = function(e) {
9058
+ Am.filterName = "arraysCollectChildren";
9059
+ var jm = function(e) {
9041
9060
  if (!e.nested) {
9042
9061
  let t = e.delta;
9043
- if (t[2] === Cm) {
9062
+ if (t[2] === wm) {
9044
9063
  let n = t;
9045
9064
  e.newName = `_${n[1]}`, e.setResult([
9046
9065
  n[0],
9047
9066
  Number.parseInt(e.childName.substring(1), 10),
9048
- Cm
9067
+ wm
9049
9068
  ]).exit();
9050
9069
  }
9051
9070
  return;
@@ -9055,20 +9074,20 @@ var Am = function(e) {
9055
9074
  let n = t;
9056
9075
  for (let t in n) {
9057
9076
  if (t === "_t") continue;
9058
- let r = new gm(n[t]);
9077
+ let r = new _m(n[t]);
9059
9078
  e.push(r, t);
9060
9079
  }
9061
9080
  e.exit();
9062
9081
  };
9063
- Am.filterName = "arrays";
9064
- var jm = (e, t, n) => {
9082
+ jm.filterName = "arrays";
9083
+ var Mm = (e, t, n) => {
9065
9084
  if (typeof t == "string" && t[0] === "_") return Number.parseInt(t.substring(1), 10);
9066
9085
  if (Array.isArray(n) && n[2] === 0) return `_${t}`;
9067
9086
  let r = +t;
9068
9087
  for (let n in e) {
9069
9088
  let i = e[n];
9070
9089
  if (Array.isArray(i)) {
9071
- if (i[2] === Cm) {
9090
+ if (i[2] === wm) {
9072
9091
  let e = Number.parseInt(n.substring(1), 10), a = i[1];
9073
9092
  if (a === +t) return e;
9074
9093
  e <= r && a > r ? r++ : e >= r && a < r && r--;
@@ -9076,7 +9095,7 @@ var jm = (e, t, n) => {
9076
9095
  }
9077
9096
  }
9078
9097
  return r;
9079
- }, Mm = (e) => {
9098
+ }, Nm = (e) => {
9080
9099
  if (!e || !e.children) return;
9081
9100
  let t = e.delta;
9082
9101
  if (t._t !== "a") return;
@@ -9087,22 +9106,22 @@ var jm = (e, t, n) => {
9087
9106
  let a = r.newName;
9088
9107
  if (a === void 0) {
9089
9108
  if (r.childName === void 0) throw Error("child.childName is undefined");
9090
- a = jm(n, r.childName, r.result);
9109
+ a = Mm(n, r.childName, r.result);
9091
9110
  }
9092
9111
  i[a] !== r.result && (i[a] = r.result);
9093
9112
  }
9094
9113
  e.setResult(i).exit();
9095
9114
  };
9096
- Mm.filterName = "arraysCollectChildren";
9115
+ Nm.filterName = "arraysCollectChildren";
9097
9116
  //#endregion
9098
9117
  //#region node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/filters/dates.js
9099
- var Nm = function(e) {
9118
+ var Pm = function(e) {
9100
9119
  e.left instanceof Date ? (e.right instanceof Date && e.left.getTime() === e.right.getTime() ? e.setResult(void 0) : e.setResult([e.left, e.right]), e.exit()) : e.right instanceof Date && e.setResult([e.left, e.right]).exit();
9101
9120
  };
9102
- Nm.filterName = "dates";
9121
+ Pm.filterName = "dates";
9103
9122
  //#endregion
9104
9123
  //#region node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/filters/nested.js
9105
- var Pm = /* @__PURE__ */ new Set(["__proto__"]), Fm = (e) => {
9124
+ var Fm = /* @__PURE__ */ new Set(["__proto__"]), Im = (e) => {
9106
9125
  if (!e || !e.children) return;
9107
9126
  let t = e.children.length, n = e.result;
9108
9127
  for (let r = 0; r < t; r++) {
@@ -9114,18 +9133,18 @@ var Pm = /* @__PURE__ */ new Set(["__proto__"]), Fm = (e) => {
9114
9133
  }
9115
9134
  n && e.leftIsArray && (n._t = "a"), e.setResult(n).exit();
9116
9135
  };
9117
- Fm.filterName = "collectChildren";
9118
- var Im = (e) => {
9136
+ Im.filterName = "collectChildren";
9137
+ var Lm = (e) => {
9119
9138
  var t;
9120
9139
  if (e.leftIsArray || e.leftType !== "object") return;
9121
9140
  let n = e.left, r = e.right, i = (t = e.options) == null ? void 0 : t.propertyFilter;
9122
9141
  for (let t in n) {
9123
9142
  if (!Object.prototype.hasOwnProperty.call(n, t) || i && !i(t, e)) continue;
9124
- let a = new mm(n[t], r[t]);
9143
+ let a = new hm(n[t], r[t]);
9125
9144
  e.push(a, t);
9126
9145
  }
9127
9146
  for (let t in r) if (Object.prototype.hasOwnProperty.call(r, t) && !(i && !i(t, e)) && n[t] === void 0) {
9128
- let n = new mm(void 0, r[t]);
9147
+ let n = new hm(void 0, r[t]);
9129
9148
  e.push(n, t);
9130
9149
  }
9131
9150
  if (!e.children || e.children.length === 0) {
@@ -9134,15 +9153,15 @@ var Im = (e) => {
9134
9153
  }
9135
9154
  e.exit();
9136
9155
  };
9137
- Im.filterName = "objects";
9138
- var Lm = function(e) {
9156
+ Lm.filterName = "objects";
9157
+ var Rm = function(e) {
9139
9158
  if (!e.nested) return;
9140
9159
  let t = e.delta;
9141
9160
  if (t._t) return;
9142
9161
  let n = t, r = !1;
9143
9162
  for (let t in n) {
9144
- if (Pm.has(t) || !Object.prototype.hasOwnProperty.call(n, t)) continue;
9145
- let i = e.left, a = new hm(typeof i == "object" && i && Object.prototype.hasOwnProperty.call(i, t) ? i[t] : void 0, n[t]);
9163
+ if (Fm.has(t) || !Object.prototype.hasOwnProperty.call(n, t)) continue;
9164
+ let i = e.left, a = new gm(typeof i == "object" && i && Object.prototype.hasOwnProperty.call(i, t) ? i[t] : void 0, n[t]);
9146
9165
  e.push(a, t), r = !0;
9147
9166
  }
9148
9167
  if (!r) {
@@ -9151,8 +9170,8 @@ var Lm = function(e) {
9151
9170
  }
9152
9171
  e.exit();
9153
9172
  };
9154
- Lm.filterName = "objects";
9155
- var Rm = function(e) {
9173
+ Rm.filterName = "objects";
9174
+ var zm = function(e) {
9156
9175
  if (!e || !e.children || e.delta._t) return;
9157
9176
  if (e.left === null || typeof e.left != "object") {
9158
9177
  e.setResult(e.left).exit();
@@ -9163,17 +9182,17 @@ var Rm = function(e) {
9163
9182
  let n = e.children[r];
9164
9183
  if (n === void 0) continue;
9165
9184
  let i = n.childName;
9166
- Pm.has(i) || (Object.prototype.hasOwnProperty.call(e.left, i) && n.result === void 0 ? delete t[i] : t[i] !== n.result && (t[i] = n.result));
9185
+ Fm.has(i) || (Object.prototype.hasOwnProperty.call(e.left, i) && n.result === void 0 ? delete t[i] : t[i] !== n.result && (t[i] = n.result));
9167
9186
  }
9168
9187
  e.setResult(t).exit();
9169
9188
  };
9170
- Rm.filterName = "collectChildren";
9171
- var zm = function(e) {
9189
+ zm.filterName = "collectChildren";
9190
+ var Bm = function(e) {
9172
9191
  if (!e.nested || e.delta._t) return;
9173
9192
  let t = e.delta, n = !1;
9174
9193
  for (let r in t) {
9175
- if (Pm.has(r) || !Object.prototype.hasOwnProperty.call(t, r)) continue;
9176
- let i = new gm(t[r]);
9194
+ if (Fm.has(r) || !Object.prototype.hasOwnProperty.call(t, r)) continue;
9195
+ let i = new _m(t[r]);
9177
9196
  e.push(i, r), n = !0;
9178
9197
  }
9179
9198
  if (!n) {
@@ -9182,25 +9201,25 @@ var zm = function(e) {
9182
9201
  }
9183
9202
  e.exit();
9184
9203
  };
9185
- zm.filterName = "objects";
9186
- var Bm = (e) => {
9204
+ Bm.filterName = "objects";
9205
+ var Vm = (e) => {
9187
9206
  if (!e || !e.children || e.delta._t) return;
9188
9207
  let t = e.children.length, n = {};
9189
9208
  for (let r = 0; r < t; r++) {
9190
9209
  let t = e.children[r];
9191
9210
  if (t === void 0) continue;
9192
9211
  let i = t.childName;
9193
- Pm.has(i) || n[i] !== t.result && (n[i] = t.result);
9212
+ Fm.has(i) || n[i] !== t.result && (n[i] = t.result);
9194
9213
  }
9195
9214
  e.setResult(n).exit();
9196
9215
  };
9197
- Bm.filterName = "collectChildren";
9216
+ Vm.filterName = "collectChildren";
9198
9217
  //#endregion
9199
9218
  //#region node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/filters/texts.js
9200
- var Vm = 2, Hm = 60, Um = null;
9201
- function Wm(e, t) {
9219
+ var Hm = 2, Um = 60, Wm = null;
9220
+ function Gm(e, t) {
9202
9221
  var n;
9203
- if (!Um) {
9222
+ if (!Wm) {
9204
9223
  let r;
9205
9224
  if ((n = e == null ? void 0 : e.textDiff) != null && n.diffMatchPatch) r = new e.textDiff.diffMatchPatch();
9206
9225
  else {
@@ -9208,7 +9227,7 @@ function Wm(e, t) {
9208
9227
  let e = /* @__PURE__ */ Error("The diff-match-patch library was not provided. Pass the library in through the options or use the `jsondiffpatch/with-text-diffs` entry-point.");
9209
9228
  throw e.diff_match_patch_not_found = !0, e;
9210
9229
  }
9211
- Um = {
9230
+ Wm = {
9212
9231
  diff: (e, t) => r.patch_toText(r.patch_make(e, t)),
9213
9232
  patch: (e, t) => {
9214
9233
  let n = r.patch_apply(r.patch_fromText(t), e);
@@ -9220,17 +9239,17 @@ function Wm(e, t) {
9220
9239
  }
9221
9240
  };
9222
9241
  }
9223
- return Um;
9242
+ return Wm;
9224
9243
  }
9225
- var Gm = function(e) {
9244
+ var Km = function(e) {
9226
9245
  var t, n;
9227
9246
  if (e.leftType !== "string") return;
9228
- let r = e.left, i = e.right, a = ((n = (t = e.options) == null ? void 0 : t.textDiff) == null ? void 0 : n.minLength) || Hm;
9247
+ let r = e.left, i = e.right, a = ((n = (t = e.options) == null ? void 0 : t.textDiff) == null ? void 0 : n.minLength) || Um;
9229
9248
  if (r.length < a || i.length < a) {
9230
9249
  e.setResult([r, i]).exit();
9231
9250
  return;
9232
9251
  }
9233
- let o = Wm(e.options);
9252
+ let o = Gm(e.options);
9234
9253
  if (!o) {
9235
9254
  e.setResult([r, i]).exit();
9236
9255
  return;
@@ -9239,19 +9258,19 @@ var Gm = function(e) {
9239
9258
  e.setResult([
9240
9259
  s(r, i),
9241
9260
  0,
9242
- Vm
9261
+ Hm
9243
9262
  ]).exit();
9244
9263
  };
9245
- Gm.filterName = "texts";
9246
- var Km = function(e) {
9264
+ Km.filterName = "texts";
9265
+ var qm = function(e) {
9247
9266
  if (e.nested) return;
9248
9267
  let t = e.delta;
9249
- if (t[2] !== Vm) return;
9250
- let n = t, r = Wm(e.options, !0).patch;
9268
+ if (t[2] !== Hm) return;
9269
+ let n = t, r = Gm(e.options, !0).patch;
9251
9270
  e.setResult(r(e.left, n[0])).exit();
9252
9271
  };
9253
- Km.filterName = "texts";
9254
- var qm = (e) => {
9272
+ qm.filterName = "texts";
9273
+ var Jm = (e) => {
9255
9274
  var t, n, r;
9256
9275
  let i = /^@@ +-(\d+),(\d+) +\+(\d+),(\d+) +@@$/, a = e.split("\n");
9257
9276
  for (let e = 0; e < a.length; e++) {
@@ -9272,21 +9291,21 @@ var qm = (e) => {
9272
9291
  } else s === "-" && (a[e] = `+${(r = a[e]) == null ? void 0 : r.slice(1)}`);
9273
9292
  }
9274
9293
  return a.join("\n");
9275
- }, Jm = function(e) {
9294
+ }, Ym = function(e) {
9276
9295
  if (e.nested) return;
9277
9296
  let t = e.delta;
9278
- if (t[2] !== Vm) return;
9297
+ if (t[2] !== Hm) return;
9279
9298
  let n = t;
9280
9299
  e.setResult([
9281
- qm(n[0]),
9300
+ Jm(n[0]),
9282
9301
  0,
9283
- Vm
9302
+ Hm
9284
9303
  ]).exit();
9285
9304
  };
9286
- Jm.filterName = "texts";
9305
+ Ym.filterName = "texts";
9287
9306
  //#endregion
9288
9307
  //#region node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/filters/trivial.js
9289
- var Ym = function(e) {
9308
+ var Xm = function(e) {
9290
9309
  if (e.left === e.right) {
9291
9310
  e.setResult(void 0).exit();
9292
9311
  return;
@@ -9319,8 +9338,8 @@ var Ym = function(e) {
9319
9338
  }
9320
9339
  e.left instanceof RegExp && (e.right instanceof RegExp ? e.setResult([e.left.toString(), e.right.toString()]).exit() : e.setResult([e.left, e.right]).exit());
9321
9340
  };
9322
- Ym.filterName = "trivial";
9323
- var Xm = function(e) {
9341
+ Xm.filterName = "trivial";
9342
+ var Zm = function(e) {
9324
9343
  if (e.delta === void 0) {
9325
9344
  e.setResult(e.left).exit();
9326
9345
  return;
@@ -9344,8 +9363,8 @@ var Xm = function(e) {
9344
9363
  }
9345
9364
  t.length === 3 && t[2] === 0 && e.setResult(void 0).exit();
9346
9365
  };
9347
- Xm.filterName = "trivial";
9348
- var Zm = function(e) {
9366
+ Zm.filterName = "trivial";
9367
+ var Qm = function(e) {
9349
9368
  if (e.delta === void 0) {
9350
9369
  e.setResult(e.delta).exit();
9351
9370
  return;
@@ -9366,36 +9385,36 @@ var Zm = function(e) {
9366
9385
  }
9367
9386
  t.length === 3 && t[2] === 0 && e.setResult([t[0]]).exit();
9368
9387
  };
9369
- Zm.filterName = "trivial";
9388
+ Qm.filterName = "trivial";
9370
9389
  //#endregion
9371
9390
  //#region node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/diffpatcher.js
9372
- var Qm = class {
9391
+ var $m = class {
9373
9392
  constructor(e) {
9374
- this.processor = new vm(e), this.processor.pipe(new _m("diff").append(Fm, Ym, Nm, Gm, Im, Em).shouldHaveResult()), this.processor.pipe(new _m("patch").append(Rm, km, Xm, Km, Lm, Om).shouldHaveResult()), this.processor.pipe(new _m("reverse").append(Bm, Mm, Zm, Jm, zm, Am).shouldHaveResult());
9393
+ this.processor = new ym(e), this.processor.pipe(new vm("diff").append(Im, Xm, Pm, Km, Lm, Dm).shouldHaveResult()), this.processor.pipe(new vm("patch").append(zm, Am, Zm, qm, Rm, km).shouldHaveResult()), this.processor.pipe(new vm("reverse").append(Vm, Nm, Qm, Ym, Bm, jm).shouldHaveResult());
9375
9394
  }
9376
9395
  options(e) {
9377
9396
  return this.processor.options(e);
9378
9397
  }
9379
9398
  diff(e, t) {
9380
- return this.processor.process(new mm(e, t));
9399
+ return this.processor.process(new hm(e, t));
9381
9400
  }
9382
9401
  patch(e, t) {
9383
- return this.processor.process(new hm(e, t));
9402
+ return this.processor.process(new gm(e, t));
9384
9403
  }
9385
9404
  reverse(e) {
9386
- return this.processor.process(new gm(e));
9405
+ return this.processor.process(new _m(e));
9387
9406
  }
9388
9407
  unpatch(e, t) {
9389
9408
  return this.patch(e, this.reverse(t));
9390
9409
  }
9391
9410
  clone(e) {
9392
- return um(e);
9411
+ return dm(e);
9393
9412
  }
9394
9413
  };
9395
9414
  //#endregion
9396
9415
  //#region node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/index.js
9397
- function $m(e) {
9398
- return new Qm(e);
9416
+ function eh(e) {
9417
+ return new $m(e);
9399
9418
  }
9400
9419
  //#endregion
9401
9420
  //#region node_modules/.pnpm/@dmsnell+diff-match-patch@1.1.0/node_modules/@dmsnell/diff-match-patch/index.js
@@ -9957,46 +9976,46 @@ $.Diff = function(e, t) {
9957
9976
  };
9958
9977
  //#endregion
9959
9978
  //#region src/components/audit-log/create-diff-patcher.tsx
9960
- var eh = (e = {}) => $m({
9979
+ var th = (e = {}) => eh({
9961
9980
  ...e,
9962
9981
  textDiff: {
9963
9982
  diffMatchPatch: $,
9964
9983
  minLength: 120
9965
9984
  },
9966
9985
  cloneDiffValues: !0
9967
- }), th = ["user", "unittemplate"], nh = eh(), rh = (e, t, n) => {
9986
+ }), nh = ["user", "unittemplate"], rh = th(), ih = (e, t, n) => {
9968
9987
  let r = Object.fromEntries(e.map((e) => [e.sectionKey, e.sectionLabel]));
9969
9988
  for (let e = t.length - 1; e >= 0; e--) {
9970
9989
  let n = r[t[e]];
9971
9990
  if (n) return n;
9972
9991
  }
9973
9992
  return n || "";
9974
- }, ih = (e) => {
9993
+ }, ah = (e) => {
9975
9994
  let t = (e) => nr(e) ? mr(e) : String(e);
9976
9995
  return Array.isArray(e) ? e.length === 0 ? "" : e.some((e) => e && typeof e == "object") ? "Multiple changes..." : e.map(t).join(", ") : e && typeof e == "object" ? Object.keys(e).length === 0 ? "" : "Multiple changes..." : t(e);
9977
- }, ah = (e) => {
9996
+ }, oh = (e) => {
9978
9997
  switch (e.length) {
9979
9998
  case 1: {
9980
9999
  let [t] = e;
9981
10000
  return {
9982
10001
  type: "created",
9983
10002
  before: "",
9984
- after: ih(t)
10003
+ after: ah(t)
9985
10004
  };
9986
10005
  }
9987
10006
  case 2: {
9988
10007
  let [t, n] = e;
9989
10008
  return {
9990
10009
  type: "modified",
9991
- before: ih(t),
9992
- after: ih(n)
10010
+ before: ah(t),
10011
+ after: ah(n)
9993
10012
  };
9994
10013
  }
9995
10014
  case 3: {
9996
10015
  let [t] = e;
9997
10016
  return {
9998
10017
  type: "deleted",
9999
- before: ih(t),
10018
+ before: ah(t),
10000
10019
  after: ""
10001
10020
  };
10002
10021
  }
@@ -10006,15 +10025,15 @@ var eh = (e = {}) => $m({
10006
10025
  after: ""
10007
10026
  };
10008
10027
  }
10009
- }, oh = (e) => Array.isArray(e), sh = (e, t) => t ? oh(t) ? t.length === 0 ? e : t.reduce((e, t) => nh.unpatch(tn(e), tn(t)), tn(e)) : nh.unpatch(tn(e), tn(t)) : e, ch = (e) => e.createdAt || e.date, lh = (e, t, n) => {
10010
- let r = ch(e);
10028
+ }, sh = (e) => Array.isArray(e), ch = (e, t) => t ? sh(t) ? t.length === 0 ? e : t.reduce((e, t) => rh.unpatch(tn(e), tn(t)), tn(e)) : rh.unpatch(tn(e), tn(t)) : e, lh = (e) => e.createdAt || e.date, uh = (e, t, n) => {
10029
+ let r = lh(e);
10011
10030
  if (!r) return {
10012
10031
  oldJson: "",
10013
10032
  newJson: "",
10014
10033
  error: `Cannot create comparison view: missing date for audit log ${e.id}`
10015
10034
  };
10016
10035
  let i = t.filter((e) => {
10017
- let t = ch(e);
10036
+ let t = lh(e);
10018
10037
  return !!(e.diffs && t && t >= r);
10019
10038
  }), a = Array.from({ length: i.length + 1 });
10020
10039
  a[0] = tn(n);
@@ -10027,7 +10046,7 @@ var eh = (e = {}) => $m({
10027
10046
  a[e + 1] = a[e];
10028
10047
  continue;
10029
10048
  }
10030
- a[e + 1] = sh(a[e], t);
10049
+ a[e + 1] = ch(a[e], t);
10031
10050
  }
10032
10051
  let e = i.length > 0 ? a[i.length - 1] : n, t = i.length > 0 ? a[i.length] : n;
10033
10052
  o = JSON.stringify(t == null ? "" : t, null, 2), s = JSON.stringify(e == null ? "" : e, null, 2);
@@ -10042,10 +10061,10 @@ var eh = (e = {}) => $m({
10042
10061
  oldJson: o,
10043
10062
  newJson: s
10044
10063
  };
10045
- }, uh = (e, t, n = {}, r = []) => {
10064
+ }, dh = (e, t, n = {}, r = []) => {
10046
10065
  var i;
10047
10066
  if (!e) return;
10048
- let a = [...th, ...(i = n.hiddenKeys) == null ? [] : i];
10067
+ let a = [...nh, ...(i = n.hiddenKeys) == null ? [] : i];
10049
10068
  Object.keys(e).forEach((i) => {
10050
10069
  var o;
10051
10070
  let s = e[i];
@@ -10058,12 +10077,12 @@ var eh = (e = {}) => $m({
10058
10077
  sn(s) ? t.push({
10059
10078
  deltaFormat: [...s],
10060
10079
  path: c
10061
- }) : hn(s) && uh(s, t, n, c);
10080
+ }) : hn(s) && dh(s, t, n, c);
10062
10081
  });
10063
- }, dh = (e, t = {}) => {
10082
+ }, fh = (e, t = {}) => {
10064
10083
  let n = [];
10065
- return e ? (uh(e, n, t), n) : [];
10066
- }, fh = (e) => e.replace(/\[\d+\]/g, "").replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]/g, " ").replace(/\s+/g, " ").trim().replace(/^./, (e) => e.toUpperCase()), ph = (e) => {
10084
+ return e ? (dh(e, n, t), n) : [];
10085
+ }, ph = (e) => e.replace(/\[\d+\]/g, "").replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]/g, " ").replace(/\s+/g, " ").trim().replace(/^./, (e) => e.toUpperCase()), mh = (e) => {
10067
10086
  if (e == null || e === "") return "empty";
10068
10087
  if (typeof e == "boolean") return e ? "true" : "false";
10069
10088
  if (typeof e == "string") return e;
@@ -10074,27 +10093,27 @@ var eh = (e = {}) => $m({
10074
10093
  } catch {
10075
10094
  return String(e);
10076
10095
  }
10077
- }, mh = (e, t = e.length - 1) => {
10096
+ }, hh = (e, t = e.length - 1) => {
10078
10097
  if (t >= e.length) return "Value";
10079
10098
  let n = e[t];
10080
- return !n || $n(n) ? mh(e, t - 1) : fh(n);
10081
- }, hh = ({ userName: e, type: t, property: n, before: r, after: i, sectionName: a }) => {
10082
- let o = ph(r), s = ph(i), c = a ? ` in ${a}` : "";
10099
+ return !n || $n(n) ? hh(e, t - 1) : ph(n);
10100
+ }, gh = ({ userName: e, type: t, property: n, before: r, after: i, sectionName: a }) => {
10101
+ let o = mh(r), s = mh(i), c = a ? ` in ${a}` : "";
10083
10102
  switch (t) {
10084
10103
  case "modified": return `${e} updated ${n} from ${o} to ${s}${c}.`;
10085
10104
  case "created": return `${e} created ${s}${c}.`;
10086
10105
  case "deleted": return `${e} deleted ${o}${c}.`;
10087
10106
  default: return `${e} changed ${n}${c}.`;
10088
10107
  }
10089
- }, gh = ({ sectionNames: e, userName: t, diffs: n, defaultSectionName: r }) => {
10108
+ }, _h = ({ sectionNames: e, userName: t, diffs: n, defaultSectionName: r }) => {
10090
10109
  let i = {
10091
10110
  headers: [{ cells: [{ value: "Changes" }] }],
10092
10111
  rows: n.map((n) => {
10093
- let { deltaFormat: i, path: a } = n, o = rh(e, a, r), { type: s, before: c, after: l } = ah(i);
10094
- return { cells: [{ value: hh({
10112
+ let { deltaFormat: i, path: a } = n, o = ih(e, a, r), { type: s, before: c, after: l } = oh(i);
10113
+ return { cells: [{ value: gh({
10095
10114
  userName: t,
10096
10115
  type: s,
10097
- property: mh(a),
10116
+ property: hh(a),
10098
10117
  before: c,
10099
10118
  after: l,
10100
10119
  sectionName: o
@@ -10102,7 +10121,7 @@ var eh = (e = {}) => $m({
10102
10121
  })
10103
10122
  };
10104
10123
  return /* @__PURE__ */ S($l, { table: i });
10105
- }, _h = Object.freeze({
10124
+ }, vh = Object.freeze({
10106
10125
  summary: {
10107
10126
  label: "Summary",
10108
10127
  value: "summary"
@@ -10111,13 +10130,13 @@ var eh = (e = {}) => $m({
10111
10130
  label: "Compare",
10112
10131
  value: "compare"
10113
10132
  }
10114
- }), vh = ({ auditLog: e, auditLogs: t, data: n, isOpen: r, transformDiffsConfig: i, sectionNames: a, defaultSectionName: o, onClose: s }) => {
10115
- let c = [_h.summary, _h.compare].map(({ label: e, value: t }) => ({
10133
+ }), yh = ({ auditLog: e, auditLogs: t, data: n, isOpen: r, transformDiffsConfig: i, sectionNames: a, defaultSectionName: o, onClose: s }) => {
10134
+ let c = [vh.summary, vh.compare].map(({ label: e, value: t }) => ({
10116
10135
  label: e,
10117
10136
  value: t
10118
10137
  })), [l, u] = v(c[0]), { diffs: d = void 0 } = e || {};
10119
10138
  if (!d) return null;
10120
- let { oldJson: f, newJson: p, error: m } = lh(e, t, n);
10139
+ let { oldJson: f, newJson: p, error: m } = uh(e, t, n);
10121
10140
  return /* @__PURE__ */ S(Ss, {
10122
10141
  visible: r,
10123
10142
  centered: !0,
@@ -10130,15 +10149,15 @@ var eh = (e = {}) => $m({
10130
10149
  onChange: (e) => u(c.find((t) => t.value === e.target.value)),
10131
10150
  options: c,
10132
10151
  value: l
10133
- }), l.value === "summary" ? /* @__PURE__ */ S(gh, {
10152
+ }), l.value === "summary" ? /* @__PURE__ */ S(_h, {
10134
10153
  userName: e.userName,
10135
10154
  sectionNames: a,
10136
- diffs: dh(d, i),
10155
+ diffs: fh(d, i),
10137
10156
  defaultSectionName: o
10138
10157
  }) : m ? /* @__PURE__ */ S("div", {
10139
10158
  style: { padding: 16 },
10140
10159
  children: m
10141
- }) : /* @__PURE__ */ S(em, {
10160
+ }) : /* @__PURE__ */ S(tm, {
10142
10161
  oldJson: f,
10143
10162
  newJson: p
10144
10163
  })] }),
@@ -10151,7 +10170,7 @@ var eh = (e = {}) => $m({
10151
10170
  height: "90vh"
10152
10171
  } })
10153
10172
  });
10154
- }, yh = [
10173
+ }, bh = [
10155
10174
  {
10156
10175
  label: "10 / page",
10157
10176
  value: 10
@@ -10164,8 +10183,8 @@ var eh = (e = {}) => $m({
10164
10183
  label: "50 / page",
10165
10184
  value: 50
10166
10185
  }
10167
- ], bh = (e, t = {}) => {
10168
- let { diffs: n, userName: r, source: i, operation: a, operationMetaData: o } = e, s = dh(n, t).length, c = s ? `${s} change${s === 1 ? "" : "s"}` : "no field changes";
10186
+ ], xh = (e, t = {}) => {
10187
+ let { diffs: n, userName: r, source: i, operation: a, operationMetaData: o } = e, s = fh(n, t).length, c = s ? `${s} change${s === 1 ? "" : "s"}` : "no field changes";
10169
10188
  if (i === "API" && !r) return a === "Created" ? "Created through API" : "Changed through API";
10170
10189
  switch (a) {
10171
10190
  case "Created": return `Created by ${r}`;
@@ -10176,7 +10195,7 @@ var eh = (e = {}) => $m({
10176
10195
  case "Updated": return `Updated by ${r} (${c})`;
10177
10196
  default: return `Change by ${r}`;
10178
10197
  }
10179
- }, xh = ({ logs: e, data: t, total: n, loading: r, selectedPage: i, rowsPerPage: a, sectionNames: o, defaultSectionName: s, filterToggles: c = [], transformDiffsConfig: l, onChangeRowsPerPage: u, onSelectPage: d, onClickSnapshot: f, snapshotLoading: p, getActions: m, isLogDisabled: h, onClickNavigateToDesgin: g }) => {
10198
+ }, Sh = ({ logs: e, data: t, total: n, loading: r, selectedPage: i, rowsPerPage: a, sectionNames: o, defaultSectionName: s, filterToggles: c = [], transformDiffsConfig: l, onChangeRowsPerPage: u, onSelectPage: d, onClickSnapshot: f, snapshotLoading: p, getActions: m, isLogDisabled: h, onClickNavigateToDesgin: g }) => {
10180
10199
  let [_, y] = v(!1), [b, w] = v(null), T = (e) => {
10181
10200
  if (e.snapshot) {
10182
10201
  f == null || f(e.snapshot, e);
@@ -10191,7 +10210,7 @@ var eh = (e = {}) => $m({
10191
10210
  { value: "Date" }
10192
10211
  ] }], D = e.map((e) => {
10193
10212
  var t;
10194
- let n = (t = h == null ? void 0 : h(e)) == null ? !!(e.snapshot && p || !e.diffs) : t, r = e.snapshot ? `Snapshot: ${e.snapshot}` : bh(e, l), i = (e.operation === "Restored" || e.operation === "Cloned") && g;
10213
+ let n = (t = h == null ? void 0 : h(e)) == null ? !!(e.snapshot && p || !e.diffs) : t, r = e.snapshot ? `Snapshot: ${e.snapshot}` : xh(e, l), i = (e.operation === "Restored" || e.operation === "Cloned") && g;
10195
10214
  return {
10196
10215
  cells: [
10197
10216
  {
@@ -10214,8 +10233,8 @@ var eh = (e = {}) => $m({
10214
10233
  type: "Static"
10215
10234
  },
10216
10235
  {
10217
- value: cm({
10218
- date: ch(e),
10236
+ value: lm({
10237
+ date: lh(e),
10219
10238
  showTime: !0
10220
10239
  }),
10221
10240
  type: "Static"
@@ -10258,14 +10277,14 @@ var eh = (e = {}) => $m({
10258
10277
  onChange: (e) => {
10259
10278
  u(Number(e.target.value));
10260
10279
  },
10261
- options: yh,
10280
+ options: bh,
10262
10281
  value: a
10263
10282
  },
10264
10283
  onSelectPage: (e) => d(e),
10265
10284
  small: !0
10266
10285
  } }
10267
10286
  } })
10268
- }), _ && b && b.diffs && /* @__PURE__ */ S(vh, {
10287
+ }), _ && b && b.diffs && /* @__PURE__ */ S(yh, {
10269
10288
  sectionNames: o,
10270
10289
  isOpen: _,
10271
10290
  onClose: () => y(!1),
@@ -10275,7 +10294,7 @@ var eh = (e = {}) => $m({
10275
10294
  data: t,
10276
10295
  transformDiffsConfig: l
10277
10296
  })] });
10278
- }, Sh = ({ pathName: e, moduleName: t, onNavigate: n, onStartTimingEvent: r }) => {
10297
+ }, Ch = ({ pathName: e, moduleName: t, onNavigate: n, onStartTimingEvent: r }) => {
10279
10298
  let i = window.location.href, a = _(i);
10280
10299
  return d(() => {
10281
10300
  a.current = i;
@@ -10298,20 +10317,20 @@ var eh = (e = {}) => $m({
10298
10317
  });
10299
10318
  };
10300
10319
  }, [e, t]), null;
10301
- }, Ch = {
10320
+ }, wh = {
10302
10321
  errorBoundary: "_errorBoundary_hmco0_1",
10303
10322
  sidebarErrorBoundary: "_sidebarErrorBoundary_hmco0_5",
10304
10323
  rightSidebarErrorBoundary: "_rightSidebarErrorBoundary_hmco0_6"
10305
- }, wh = ({ options: e }) => {
10324
+ }, Th = ({ options: e }) => {
10306
10325
  let { ErrorComponent: t, isSideBar: n, isRightSideBar: r, isPage: i, style: a } = e == null ? {} : e, { translations: o } = Ip();
10307
10326
  if (t) return /* @__PURE__ */ S(t, {});
10308
10327
  if (n || r) return /* @__PURE__ */ S("div", {
10309
- className: b(n ? Ch.sidebarErrorBoundary : "", r ? Ch.rightSidebarErrorBoundary : ""),
10328
+ className: b(n ? wh.sidebarErrorBoundary : "", r ? wh.rightSidebarErrorBoundary : ""),
10310
10329
  style: a,
10311
10330
  children: o == null ? void 0 : o.unexpectedError
10312
10331
  });
10313
10332
  let s = /* @__PURE__ */ S("div", {
10314
- className: Ch.errorBoundary,
10333
+ className: wh.errorBoundary,
10315
10334
  style: a,
10316
10335
  children: /* @__PURE__ */ S(Hs, { message: {
10317
10336
  icon: !0,
@@ -10326,19 +10345,19 @@ var eh = (e = {}) => $m({
10326
10345
  padding: 0,
10327
10346
  children: s
10328
10347
  }) : s;
10329
- }, Th = ({ children: e, options: t }) => /* @__PURE__ */ S(Di.ErrorBoundary, {
10330
- fallback: /* @__PURE__ */ S(wh, { options: t }),
10348
+ }, Eh = ({ children: e, options: t }) => /* @__PURE__ */ S(Di.ErrorBoundary, {
10349
+ fallback: /* @__PURE__ */ S(Th, { options: t }),
10331
10350
  onError: (e, t) => {
10332
10351
  console.error("Error caught by boundary:", e, t);
10333
10352
  },
10334
10353
  children: e
10335
- }), Eh = (e, t = {}) => (n) => /* @__PURE__ */ S(Th, {
10354
+ }), Dh = (e, t = {}) => (n) => /* @__PURE__ */ S(Eh, {
10336
10355
  options: t,
10337
10356
  children: /* @__PURE__ */ S(e, { ...n })
10338
- }), Dh = (e = {}) => (t) => Eh(t, e), Oh = (e) => typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e === null, kh = (e) => {
10357
+ }), Oh = (e = {}) => (t) => Dh(t, e), kh = (e) => typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e === null, Ah = (e) => {
10339
10358
  Lp(Mp.LanguageKey, e.languageKey), Object.entries(e).forEach(([e, t]) => {
10340
- e === Mp.Translations ? Lp(e, Pp(t)) : Lp(e, Oh(t) ? t : { ...t });
10359
+ e === Mp.Translations ? Lp(e, Pp(t)) : Lp(e, kh(t) ? t : { ...t });
10341
10360
  });
10342
10361
  };
10343
10362
  //#endregion
10344
- export { Qi as Accordion, Aa as AccordionWithDefaultToggle, co as Actions, Ai as Align, xh as AuditLog, $a as Badge, po as Breadcrumb, uo as BreadcrumbLinkType, q as Button, ho as ButtonGroup, ji as ButtonPosition, Pa as ButtonType, _o as Card, Ea as CheckBox, Ki as Chevron, Yi as Collapse, ki as Color, Ro as ColorInput, Lo as ColorInputPopover, Uo as Column, es as Dialog, Xp as DiffCode, sm as DiffTable, em as DiffViewer, W as DisabledContext, Jo as Divider, ss as Drawer, cp as ElementType, uu as Empty, Th as ErrorBoundary, vd as Field, md as FileButton, _s as FileInput, yd as Flex, xd as FormRow, Co as Grid, H as GroupOrder, Zo as Heading, Ta as HelpIcon, G as Icon, U as IconType, fs as Input, us as InputGroup, rl as InputGroupAddon, ms as InputReaderMethods, Pi as InputType, gd as Label, Pd as List, Cd as ListHeading, kd as ListSubheading, Id as Loader, yf as Mention, oo as Menu, Ua as MenuCarat, Ha as MenuType, Hs as Message, Is as MessageType, Ss as Modal, Js as NativeSelect, vl as NumberInput, Ud as OptionDropdown, Gd as Page, il as Pagination, mp as PopConfirm, yo as Popover, Kd as Portal, Jd as PrintHeader, Ts as ProgressBar, Yd as RadioButton, vf as RichTextInput, xf as Row, Zc as Select, Up as SettingField, Ef as SideBar, Of as Skeleton, Ol as Slider, As as SmartUploadModal, vs as Spacer, Na as Spinner, $l as Table, pd as TableImportExport, tp as Tabs, Ko as Text, ip as TextArea, np as TextLink, Mi as TextTransform, Ni as Theme, Wr as Toaster, Zu as Toggle, K as Tooltip, dp as TopBar, yp as Tree, jp as TreeTable, Oi as TriggerType, Jf as UnitInput, Qf as UnitSlider, Vp as UnitTable, Sh as UsageTracker, Ju as dismissToast, Gf as initializeContext, kh as initializeGuiLibrary, hs as readFile, qu as toast, Ys as useFocus, ys as useKeyboardEvent, Qs as useWindowWidth, Dh as withChainableErrorBoundary, Eh as withErrorBoundary };
10363
+ export { Qi as Accordion, Aa as AccordionWithDefaultToggle, co as Actions, Ai as Align, Sh as AuditLog, $a as Badge, po as Breadcrumb, uo as BreadcrumbLinkType, q as Button, ho as ButtonGroup, ji as ButtonPosition, Pa as ButtonType, _o as Card, Ea as CheckBox, Ki as Chevron, Yi as Collapse, ki as Color, Ro as ColorInput, Lo as ColorInputPopover, Uo as Column, es as Dialog, Zp as DiffCode, cm as DiffTable, tm as DiffViewer, W as DisabledContext, Jo as Divider, ss as Drawer, cp as ElementType, uu as Empty, Eh as ErrorBoundary, vd as Field, md as FileButton, _s as FileInput, yd as Flex, xd as FormRow, Co as Grid, H as GroupOrder, Zo as Heading, Ta as HelpIcon, G as Icon, U as IconType, fs as Input, us as InputGroup, rl as InputGroupAddon, ms as InputReaderMethods, Pi as InputType, gd as Label, Pd as List, Cd as ListHeading, kd as ListSubheading, Id as Loader, yf as Mention, oo as Menu, Ua as MenuCarat, Ha as MenuType, Hs as Message, Is as MessageType, Ss as Modal, Js as NativeSelect, vl as NumberInput, Ud as OptionDropdown, Gd as Page, il as Pagination, mp as PopConfirm, yo as Popover, Kd as Portal, Jd as PrintHeader, Ts as ProgressBar, Yd as RadioButton, vf as RichTextInput, xf as Row, Zc as Select, Wp as SettingField, Ef as SideBar, Of as Skeleton, Ol as Slider, As as SmartUploadModal, vs as Spacer, Na as Spinner, $l as Table, pd as TableImportExport, tp as Tabs, Ko as Text, ip as TextArea, np as TextLink, Mi as TextTransform, Ni as Theme, Wr as Toaster, Zu as Toggle, K as Tooltip, dp as TopBar, yp as Tree, jp as TreeTable, Oi as TriggerType, Jf as UnitInput, Qf as UnitSlider, Hp as UnitTable, Ch as UsageTracker, Ju as dismissToast, Gf as initializeContext, Ah as initializeGuiLibrary, hs as readFile, qu as toast, Ys as useFocus, ys as useKeyboardEvent, Qs as useWindowWidth, Oh as withChainableErrorBoundary, Dh as withErrorBoundary };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/react-ui-library",
3
- "version": "10.2.5-beta-3",
3
+ "version": "10.2.6-beta-1",
4
4
  "description": "Reusable UI components for React projects",
5
5
  "homepage": "https://oliasoft-open-source.gitlab.io/react-ui-library",
6
6
  "bugs": {