@oliasoft-open-source/react-ui-library 10.2.3 → 10.2.4-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
@@ -1957,6 +1957,10 @@ declare interface IUnitConfigItem {
1957
1957
  preferredUnit?: string;
1958
1958
  }
1959
1959
 
1960
+ declare interface IUnitEntry {
1961
+ [key: string]: string;
1962
+ }
1963
+
1960
1964
  export declare interface IUnitInputProps {
1961
1965
  name?: string | {
1962
1966
  fieldName?: string;
@@ -2023,6 +2027,14 @@ declare interface IUnitTable extends Omit<ITableProps['table'], 'rows'> {
2023
2027
  rows?: IUnitTableRow[];
2024
2028
  }
2025
2029
 
2030
+ declare interface IUnitTableBeforeRenderRowParams {
2031
+ row: IUnitTableRow;
2032
+ rowIndex: number;
2033
+ selectedUnits: IUnitEntry;
2034
+ storageUnits: IUnitEntry;
2035
+ convertValue: (value: TStringNumberNull, unitKey: string) => TStringNumberNull;
2036
+ }
2037
+
2026
2038
  declare interface IUnitTableCell {
2027
2039
  autoUnit: boolean;
2028
2040
  unitKey: string;
@@ -2043,7 +2055,7 @@ export declare interface IUnitTableOnChangeEvent extends ITableOnChangeEvent {
2043
2055
  };
2044
2056
  }
2045
2057
 
2046
- export declare interface IUnitTableProps extends Omit<ITableProps, 'table'> {
2058
+ export declare interface IUnitTableProps extends Omit<ITableProps, 'table' | 'beforeRenderRow'> {
2047
2059
  table: IUnitTable;
2048
2060
  unitConfig: IUnitConfigItem[];
2049
2061
  convertBackToStorageUnit?: boolean;
@@ -2057,10 +2069,7 @@ export declare interface IUnitTableProps extends Omit<ITableProps, 'table'> {
2057
2069
  from: number;
2058
2070
  to: number;
2059
2071
  }) => boolean;
2060
- beforeRenderRow?: ({ row, rowIndex }: {
2061
- row: IUnitTableRow;
2062
- rowIndex: number;
2063
- }) => IUnitTableRow;
2072
+ beforeRenderRow?: (params: IUnitTableBeforeRenderRowParams) => IUnitTableRow;
2064
2073
  }
2065
2074
 
2066
2075
  export declare interface IUnitTableRow extends Omit<TRowType, 'cells'> {
package/dist/index.js CHANGED
@@ -8235,19 +8235,29 @@ var ko = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Ao =
8235
8235
  }, {
8236
8236
  preferredUnits: {},
8237
8237
  storageUnits: {}
8238
- }), Pp = ({ row: e, selectedUnits: t, storageUnits: n, convertBackToStorageUnit: r, enableCosmeticRounding: i, enableDisplayRounding: a }) => ({
8238
+ }), Pp = ({ value: e, unitKey: t, selectedUnits: n, storageUnits: r }) => {
8239
+ let i = n[t], a = r[t];
8240
+ if (!(a && i !== a) || e === null || e === "") return e;
8241
+ let { value: o = e } = Mf({
8242
+ value: Er(e),
8243
+ unitkey: t,
8244
+ toUnit: i,
8245
+ fromUnit: a
8246
+ });
8247
+ return o;
8248
+ }, Fp = ({ row: e, selectedUnits: t, storageUnits: n, convertBackToStorageUnit: r, enableCosmeticRounding: i, enableDisplayRounding: a }) => ({
8239
8249
  ...e,
8240
8250
  cells: e.cells.map((e) => {
8241
8251
  if ("autoUnit" in e && e.autoUnit && (typeof e.value == "string" || typeof e.value == "number")) {
8242
- 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 } = Mf({
8243
- value: Er(s),
8244
- unitkey: o,
8245
- toUnit: u,
8246
- fromUnit: d
8247
- }), m = f ? p : e.value, h = c ? c(m, u) : m;
8252
+ 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 = Pp({
8253
+ value: s,
8254
+ unitKey: o,
8255
+ selectedUnits: t,
8256
+ storageUnits: n
8257
+ }), m = c ? c(p, u) : p;
8248
8258
  return {
8249
8259
  ...e,
8250
- value: h,
8260
+ value: m,
8251
8261
  enableCosmeticRounding: i,
8252
8262
  enableDisplayRounding: a,
8253
8263
  roundDisplayValue: l,
@@ -8272,7 +8282,7 @@ var ko = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Ao =
8272
8282
  }
8273
8283
  return e;
8274
8284
  })
8275
- }), Fp = ({ headers: e, selectedUnits: t, storageUnits: n, onChangeUnit: r }) => {
8285
+ }), Ip = ({ headers: e, selectedUnits: t, storageUnits: n, onChangeUnit: r }) => {
8276
8286
  let { translations: i } = jp();
8277
8287
  return e ? e.map((e) => ({
8278
8288
  ...e,
@@ -8302,7 +8312,7 @@ var ko = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Ao =
8302
8312
  return e;
8303
8313
  })
8304
8314
  })) : [];
8305
- }, Ip = ({ table: e, unitConfig: t, convertBackToStorageUnit: n = !0, enableCosmeticRounding: r = !0, enableDisplayRounding: i = !0, onListReorder: a, canListReorder: o, beforeRenderRow: s }) => {
8315
+ }, Lp = ({ table: e, unitConfig: t, convertBackToStorageUnit: n = !0, enableCosmeticRounding: r = !0, enableDisplayRounding: i = !0, onListReorder: a, canListReorder: o, beforeRenderRow: s }) => {
8306
8316
  let { headers: c, ...u } = e, { storageUnits: f, preferredUnits: p } = Np(t), m = Ef(p), [h, g] = v(p), _ = ({ unitKey: e, value: n }) => {
8307
8317
  g((t) => ({
8308
8318
  ...t,
@@ -8314,10 +8324,18 @@ var ko = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Ao =
8314
8324
  newUnit: n,
8315
8325
  unitKey: e
8316
8326
  });
8317
- }, y = l(({ row: e, rowIndex: t }) => Pp({
8327
+ }, y = l(({ row: e, rowIndex: t }) => Fp({
8318
8328
  row: s ? s({
8319
8329
  row: e,
8320
- rowIndex: t
8330
+ rowIndex: t,
8331
+ selectedUnits: h,
8332
+ storageUnits: f,
8333
+ convertValue: (e, t) => Pp({
8334
+ value: e,
8335
+ unitKey: t,
8336
+ selectedUnits: h,
8337
+ storageUnits: f
8338
+ })
8321
8339
  }) : e,
8322
8340
  selectedUnits: h,
8323
8341
  storageUnits: f,
@@ -8325,6 +8343,7 @@ var ko = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Ao =
8325
8343
  enableCosmeticRounding: r,
8326
8344
  enableDisplayRounding: i
8327
8345
  }), [
8346
+ s,
8328
8347
  h,
8329
8348
  f,
8330
8349
  n,
@@ -8342,7 +8361,7 @@ var ko = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Ao =
8342
8361
  }, [t]), /* @__PURE__ */ S(eu, {
8343
8362
  table: {
8344
8363
  ...u,
8345
- headers: Fp({
8364
+ headers: Ip({
8346
8365
  headers: e.headers,
8347
8366
  selectedUnits: h,
8348
8367
  storageUnits: f,
@@ -8353,7 +8372,7 @@ var ko = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Ao =
8353
8372
  canListReorder: o,
8354
8373
  beforeRenderRow: y
8355
8374
  });
8356
- }, Lp = { settingField: "_settingField_1x02n_1" }, Rp = ({ 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 }) => {
8375
+ }, Rp = { settingField: "_settingField_1x02n_1" }, zp = ({ 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 }) => {
8357
8376
  let { translations: d } = jp(), f = (t) => t.replace(/\\n/g, "\n").split(/\n/).map((t, n) => /* @__PURE__ */ C(e.Fragment, { children: [t, /* @__PURE__ */ S("br", {})] }, n)), p = [
8358
8377
  ...r ? [] : [{
8359
8378
  label: d == null ? void 0 : d.allUsers,
@@ -8369,7 +8388,7 @@ var ko = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Ao =
8369
8388
  }] : []
8370
8389
  ], m = a !== void 0 && o !== void 0 && !un(a, o);
8371
8390
  return /* @__PURE__ */ C("div", {
8372
- className: Lp.settingField,
8391
+ className: Rp.settingField,
8373
8392
  "data-testid": u,
8374
8393
  children: [/* @__PURE__ */ C(bd, {
8375
8394
  justifyContent: "space-between",
@@ -8401,7 +8420,7 @@ var ko = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Ao =
8401
8420
  children: f(t)
8402
8421
  })]
8403
8422
  });
8404
- }, zp = { backgroundColor: "var(--color-background-error-muted)" }, Bp = { backgroundColor: "var(--color-background-success-muted)" }, Vp = { backgroundColor: "var(--color-background-warning-muted)" }, Hp = {
8423
+ }, Bp = { backgroundColor: "var(--color-background-error-muted)" }, Vp = { backgroundColor: "var(--color-background-success-muted)" }, Hp = { backgroundColor: "var(--color-background-warning-muted)" }, Up = {
8405
8424
  addedBackground: "var(--color-diff-added-background)",
8406
8425
  addedGutterBackground: "var(--color-diff-added-gutter-background)",
8407
8426
  codeFoldBackground: "var(--color-diff-code-fold-background)",
@@ -8420,10 +8439,10 @@ var ko = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Ao =
8420
8439
  removedGutterBackground: "var(--color-diff-removed-gutter-background)",
8421
8440
  wordAddedBackground: "var(--color-diff-word-added-background)",
8422
8441
  wordRemovedBackground: "var(--color-diff-word-removed-background)"
8423
- }, Up = {
8442
+ }, Wp = {
8424
8443
  variables: {
8425
- light: Hp,
8426
- dark: Hp
8444
+ light: Up,
8445
+ dark: Up
8427
8446
  },
8428
8447
  diffContainer: { minWidth: "unset" },
8429
8448
  codeFoldGutter: {
@@ -8438,10 +8457,10 @@ var ko = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Ao =
8438
8457
  pre: { opacity: .5 }
8439
8458
  } },
8440
8459
  marker: { pre: { opacity: .4 } }
8441
- }, Wp = { codeOnly: "_codeOnly_1lph2_42" }, Gp = ({ value: e, compareValue: t, splitView: n = !1, showDiffOnly: r = !1, compareMethod: i = Ti.LINES, extraLinesSurroundingDiff: a, hideSummary: o = !0, className: s }) => {
8460
+ }, Gp = { codeOnly: "_codeOnly_1lph2_42" }, Kp = ({ value: e, compareValue: t, splitView: n = !1, showDiffOnly: r = !1, compareMethod: i = Ti.LINES, extraLinesSurroundingDiff: a, hideSummary: o = !0, className: s }) => {
8442
8461
  let c = t !== void 0, l = c ? t : e, u = i !== Ti.WORDS;
8443
8462
  return /* @__PURE__ */ S("div", {
8444
- className: b(s, { [Wp.codeOnly]: !c && !n }),
8463
+ className: b(s, { [Gp.codeOnly]: !c && !n }),
8445
8464
  children: /* @__PURE__ */ S(wi, {
8446
8465
  oldValue: l,
8447
8466
  newValue: e,
@@ -8453,22 +8472,22 @@ var ko = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Ao =
8453
8472
  hideLineNumbers: !1,
8454
8473
  hideSummary: o,
8455
8474
  disableWorker: !0,
8456
- styles: Up
8475
+ styles: Wp
8457
8476
  })
8458
8477
  });
8459
- }, Kp = (e, t) => {
8478
+ }, qp = (e, t) => {
8460
8479
  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;
8461
8480
  return {
8462
8481
  added: Math.max(0, i),
8463
8482
  removed: Math.max(0, a)
8464
8483
  };
8465
- }, qp = "split", Jp = "unified", Yp = ({ oldJson: e, newJson: t, viewType: n = qp }) => {
8484
+ }, Jp = "split", Yp = "unified", Xp = ({ oldJson: e, newJson: t, viewType: n = Jp }) => {
8466
8485
  var r, i;
8467
8486
  let { translations: a } = jp(), [o, s] = v(n), c = [{
8468
- value: qp,
8487
+ value: Jp,
8469
8488
  label: (r = a == null ? void 0 : a.split) == null ? "Split" : r
8470
8489
  }, {
8471
- value: Jp,
8490
+ value: Yp,
8472
8491
  label: (i = a == null ? void 0 : a.unified) == null ? "Unified" : i
8473
8492
  }];
8474
8493
  d(() => {
@@ -8476,7 +8495,7 @@ var ko = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Ao =
8476
8495
  }, [n]);
8477
8496
  let l = ({ target: { value: e } }) => {
8478
8497
  s(e);
8479
- }, { added: u, removed: f } = Kp(e, t), p = u + f > 3500;
8498
+ }, { added: u, removed: f } = qp(e, t), p = u + f > 3500;
8480
8499
  return /* @__PURE__ */ S(x, { children: /* @__PURE__ */ S(bo, {
8481
8500
  bordered: !0,
8482
8501
  heading: /* @__PURE__ */ C(bd, {
@@ -8506,21 +8525,21 @@ var ko = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Ao =
8506
8525
  muted: !0,
8507
8526
  children: a == null ? void 0 : a.changesTooLarge
8508
8527
  })
8509
- }) : /* @__PURE__ */ S(Gp, {
8528
+ }) : /* @__PURE__ */ S(Kp, {
8510
8529
  value: t,
8511
8530
  compareValue: e,
8512
- splitView: o === qp,
8531
+ splitView: o === Jp,
8513
8532
  compareMethod: Ti.WORDS,
8514
8533
  showDiffOnly: !0,
8515
8534
  hideSummary: !1
8516
8535
  })
8517
8536
  }) });
8518
- }, Xp = (e) => typeof e == "object" && e && "value" in e ? e.value : e, Zp = (e) => {
8537
+ }, Zp = (e) => typeof e == "object" && e && "value" in e ? e.value : e, Qp = (e) => {
8519
8538
  var t;
8520
8539
  if (e.id != null) return String(e.id);
8521
- let n = Xp((t = e.cells) == null || (t = t[0]) == null ? void 0 : t.value);
8540
+ let n = Zp((t = e.cells) == null || (t = t[0]) == null ? void 0 : t.value);
8522
8541
  return n == null ? "" : String(n);
8523
- }, Qp = (e, t) => ({
8542
+ }, $p = (e, t) => ({
8524
8543
  ...e,
8525
8544
  cells: e.cells.map((e) => ({
8526
8545
  ...e,
@@ -8529,7 +8548,7 @@ var ko = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Ao =
8529
8548
  ...t
8530
8549
  }
8531
8550
  }))
8532
- }), $p = (e, t) => ({
8551
+ }), em = (e, t) => ({
8533
8552
  ...e,
8534
8553
  cells: e.cells.map((e, n) => {
8535
8554
  var r;
@@ -8538,17 +8557,17 @@ var ko = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Ao =
8538
8557
  ...e,
8539
8558
  style: {
8540
8559
  ...e.style,
8541
- ...Vp
8560
+ ...Hp
8542
8561
  },
8543
8562
  tooltip: typeof a == "number" ? String(a) : a
8544
8563
  };
8545
8564
  })
8546
- }), em = (e = [], t = []) => {
8565
+ }), tm = (e = [], t = []) => {
8547
8566
  let n = /* @__PURE__ */ new Map();
8548
- for (let e of t) n.set(Zp(e), e);
8549
- let r = new Set(e.map(Zp)), i = /* @__PURE__ */ new Map(), a = [], o = null;
8567
+ for (let e of t) n.set(Qp(e), e);
8568
+ let r = new Set(e.map(Qp)), i = /* @__PURE__ */ new Map(), a = [], o = null;
8550
8569
  for (let e = t.length - 1; e >= 0; e--) {
8551
- let n = t[e], c = Zp(n);
8570
+ let n = t[e], c = Qp(n);
8552
8571
  if (r.has(c)) {
8553
8572
  o = c;
8554
8573
  continue;
@@ -8563,7 +8582,7 @@ var ko = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Ao =
8563
8582
  a.reverse();
8564
8583
  let c = [];
8565
8584
  for (let t of e) {
8566
- let e = Zp(t), r = i.get(e);
8585
+ let e = Qp(t), r = i.get(e);
8567
8586
  if (r) for (let e of r) c.push({
8568
8587
  status: "deleted",
8569
8588
  row: e
@@ -8583,11 +8602,11 @@ var ko = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Ao =
8583
8602
  row: e
8584
8603
  });
8585
8604
  return c;
8586
- }, tm = (e) => e.status === "deleted" ? Qp(e.row, zp) : e.status === "added" ? Qp(e.row, Bp) : $p(e.row, e.compareRow), nm = ({ table: e, compareRows: t, beforeRenderRow: n, ...r }) => {
8587
- let i = h(() => em(e.rows, t), [e.rows, t]), a = !!e.infiniteScroll, o = h(() => {
8605
+ }, nm = (e) => e.status === "deleted" ? $p(e.row, Bp) : e.status === "added" ? $p(e.row, Vp) : em(e.row, e.compareRow), rm = ({ table: e, compareRows: t, beforeRenderRow: n, ...r }) => {
8606
+ let i = h(() => tm(e.rows, t), [e.rows, t]), a = !!e.infiniteScroll, o = h(() => {
8588
8607
  if (!a) return i.map((e) => e.row);
8589
8608
  }, [a, i]), s = l(({ row: e, rowIndex: t }) => {
8590
- let r = i[t], a = r ? tm(r) : e;
8609
+ let r = i[t], a = r ? nm(r) : e;
8591
8610
  return n ? n({
8592
8611
  row: a,
8593
8612
  rowIndex: t
@@ -8606,7 +8625,7 @@ var ko = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Ao =
8606
8625
  };
8607
8626
  //#endregion
8608
8627
  //#region src/helpers/date.ts
8609
- function rm({ date: e, showTime: t, showSeconds: n, timeZone: r, showTimeZone: i, locale: a }) {
8628
+ function im({ date: e, showTime: t, showSeconds: n, timeZone: r, showTimeZone: i, locale: a }) {
8610
8629
  return e ? new Date(e).toLocaleString(a, {
8611
8630
  year: "numeric",
8612
8631
  month: "short",
@@ -8620,28 +8639,28 @@ function rm({ date: e, showTime: t, showSeconds: n, timeZone: r, showTimeZone: i
8620
8639
  }
8621
8640
  //#endregion
8622
8641
  //#region node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/clone.js
8623
- function im(e) {
8642
+ function am(e) {
8624
8643
  var t;
8625
8644
  let n = /^\/(.*)\/([gimyu]*)$/.exec(e.toString());
8626
8645
  if (!n) throw Error("Invalid RegExp");
8627
8646
  return new RegExp((t = n[1]) == null ? "" : t, n[2]);
8628
8647
  }
8629
- function am(e) {
8648
+ function om(e) {
8630
8649
  if (typeof e != "object") return e;
8631
8650
  if (e === null) return null;
8632
- if (Array.isArray(e)) return e.map(am);
8651
+ if (Array.isArray(e)) return e.map(om);
8633
8652
  if (e instanceof Date) return new Date(e.getTime());
8634
- if (e instanceof RegExp) return im(e);
8653
+ if (e instanceof RegExp) return am(e);
8635
8654
  let t = {};
8636
- for (let n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = am(e[n]));
8655
+ for (let n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = om(e[n]));
8637
8656
  return t;
8638
8657
  }
8639
8658
  //#endregion
8640
8659
  //#region node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/assertions/arrays.js
8641
- function om(e, t) {
8660
+ function sm(e, t) {
8642
8661
  if (e.length === 0) throw Error(t || "Expected a non-empty array");
8643
8662
  }
8644
- var sm = (e) => e[e.length - 1], cm = class {
8663
+ var cm = (e) => e[e.length - 1], lm = class {
8645
8664
  setResult(e) {
8646
8665
  return this.result = e, this.hasResult = !0, this;
8647
8666
  }
@@ -8649,16 +8668,16 @@ var sm = (e) => e[e.length - 1], cm = class {
8649
8668
  return this.exiting = !0, this;
8650
8669
  }
8651
8670
  push(e, t) {
8652
- return e.parent = this, t !== void 0 && (e.childName = t), e.root = this.root || this, e.options = e.options || this.options, this.children ? (om(this.children), sm(this.children).next = e, this.children.push(e)) : (this.children = [e], this.nextAfterChildren = this.next || null, this.next = e), e.next = this, this;
8671
+ return e.parent = this, t !== void 0 && (e.childName = t), e.root = this.root || this, e.options = e.options || this.options, this.children ? (sm(this.children), cm(this.children).next = e, this.children.push(e)) : (this.children = [e], this.nextAfterChildren = this.next || null, this.next = e), e.next = this, this;
8653
8672
  }
8654
- }, lm = class extends cm {
8673
+ }, um = class extends lm {
8655
8674
  constructor(e, t) {
8656
8675
  super(), this.left = e, this.right = t, this.pipe = "diff";
8657
8676
  }
8658
8677
  prepareDeltaResult(e) {
8659
8678
  var t, n, r, i;
8660
8679
  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)) {
8661
- let t = typeof ((r = this.options) == null ? void 0 : r.cloneDiffValues) == "function" ? (i = this.options) == null ? void 0 : i.cloneDiffValues : am;
8680
+ let t = typeof ((r = this.options) == null ? void 0 : r.cloneDiffValues) == "function" ? (i = this.options) == null ? void 0 : i.cloneDiffValues : om;
8662
8681
  typeof e[0] == "object" && (e[0] = t(e[0])), typeof e[1] == "object" && (e[1] = t(e[1]));
8663
8682
  }
8664
8683
  return e;
@@ -8666,15 +8685,15 @@ var sm = (e) => e[e.length - 1], cm = class {
8666
8685
  setResult(e) {
8667
8686
  return this.prepareDeltaResult(e), super.setResult(e);
8668
8687
  }
8669
- }, um = class extends cm {
8688
+ }, dm = class extends lm {
8670
8689
  constructor(e, t) {
8671
8690
  super(), this.left = e, this.delta = t, this.pipe = "patch";
8672
8691
  }
8673
- }, dm = class extends cm {
8692
+ }, fm = class extends lm {
8674
8693
  constructor(e) {
8675
8694
  super(), this.delta = e, this.pipe = "reverse";
8676
8695
  }
8677
- }, fm = class {
8696
+ }, pm = class {
8678
8697
  constructor(e) {
8679
8698
  this.name = e, this.filters = [];
8680
8699
  }
@@ -8738,7 +8757,7 @@ var sm = (e) => e[e.length - 1], cm = class {
8738
8757
  }
8739
8758
  }), this);
8740
8759
  }
8741
- }, pm = class {
8760
+ }, mm = class {
8742
8761
  constructor(e) {
8743
8762
  this.selfOptions = e || {}, this.pipes = {};
8744
8763
  }
@@ -8765,7 +8784,7 @@ var sm = (e) => e[e.length - 1], cm = class {
8765
8784
  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);
8766
8785
  return n.hasResult ? n.result : void 0;
8767
8786
  }
8768
- }, mm = (e, t, n, r) => e[n] === t[r], hm = (e, t, n, r) => {
8787
+ }, hm = (e, t, n, r) => e[n] === t[r], gm = (e, t, n, r) => {
8769
8788
  var i, a, o;
8770
8789
  let s = e.length, c = t.length, l, u, d = Array(s + 1);
8771
8790
  for (l = 0; l < s + 1; l++) {
@@ -8781,7 +8800,7 @@ var sm = (e) => e[e.length - 1], cm = class {
8781
8800
  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);
8782
8801
  }
8783
8802
  return d;
8784
- }, gm = (e, t, n, r) => {
8803
+ }, _m = (e, t, n, r) => {
8785
8804
  let i = t.length, a = n.length, o = {
8786
8805
  sequence: [],
8787
8806
  indices1: [],
@@ -8803,11 +8822,11 @@ var sm = (e) => e[e.length - 1], cm = class {
8803
8822
  }
8804
8823
  }
8805
8824
  return o;
8806
- }, _m = { get: (e, t, n, r) => {
8825
+ }, vm = { get: (e, t, n, r) => {
8807
8826
  let i = r || {};
8808
- return gm(hm(e, t, n || mm, i), e, t, i);
8809
- } }, vm = 3;
8810
- function ym(e, t, n, r) {
8827
+ return _m(gm(e, t, n || hm, i), e, t, i);
8828
+ } }, ym = 3;
8829
+ function bm(e, t, n, r) {
8811
8830
  for (let i = 0; i < n; i++) {
8812
8831
  let n = e[i];
8813
8832
  for (let e = 0; e < r; e++) {
@@ -8817,7 +8836,7 @@ function ym(e, t, n, r) {
8817
8836
  }
8818
8837
  return !1;
8819
8838
  }
8820
- function bm(e, t, n, r, i) {
8839
+ function xm(e, t, n, r, i) {
8821
8840
  let a = e[n], o = t[r];
8822
8841
  if (a === o) return !0;
8823
8842
  if (typeof a != "object" || typeof o != "object") return !1;
@@ -8830,15 +8849,15 @@ function bm(e, t, n, r, i) {
8830
8849
  let l = i.hashCache2[r];
8831
8850
  return l === void 0 && (i.hashCache2[r] = l = s(o, r)), l !== void 0 && c === l;
8832
8851
  }
8833
- var xm = function(e) {
8852
+ var Sm = function(e) {
8834
8853
  var t, n, r, i, a;
8835
8854
  if (!e.leftIsArray) return;
8836
8855
  let o = {
8837
8856
  objectHash: (t = e.options) == null ? void 0 : t.objectHash,
8838
8857
  matchByPosition: (n = e.options) == null ? void 0 : n.matchByPosition
8839
8858
  }, s = 0, c = 0, l, u, d, f = e.left, p = e.right, m = f.length, h = p.length, g;
8840
- for (m > 0 && h > 0 && !o.objectHash && typeof o.matchByPosition != "boolean" && (o.matchByPosition = !ym(f, p, m, h)); s < m && s < h && bm(f, p, s, s, o);) l = s, g = new lm(f[l], p[l]), e.push(g, l), s++;
8841
- for (; c + s < m && c + s < h && bm(f, p, m - 1 - c, h - 1 - c, o);) u = m - 1 - c, d = h - 1 - c, g = new lm(f[u], p[d]), e.push(g, d), c++;
8859
+ for (m > 0 && h > 0 && !o.objectHash && typeof o.matchByPosition != "boolean" && (o.matchByPosition = !bm(f, p, m, h)); s < m && s < h && xm(f, p, s, s, o);) l = s, g = new um(f[l], p[l]), e.push(g, l), s++;
8860
+ for (; c + s < m && c + s < h && xm(f, p, m - 1 - c, h - 1 - c, o);) u = m - 1 - c, d = h - 1 - c, g = new um(f[u], p[d]), e.push(g, d), c++;
8842
8861
  let _;
8843
8862
  if (s + c === m) {
8844
8863
  if (m === h) {
@@ -8862,7 +8881,7 @@ var xm = function(e) {
8862
8881
  return;
8863
8882
  }
8864
8883
  o.hashCache1 = void 0, o.hashCache2 = void 0;
8865
- let v = f.slice(s, m - c), y = p.slice(s, h - c), b = _m.get(v, y, bm, o), x = [];
8884
+ let v = f.slice(s, m - c), y = p.slice(s, h - c), b = vm.get(v, y, xm, o), x = [];
8866
8885
  for (_ = _ || { _t: "a" }, l = s; l < m - c; l++) if (b.indices1.indexOf(l - s) < 0) {
8867
8886
  let t = `_${l}`;
8868
8887
  _[t] = [
@@ -8883,8 +8902,8 @@ var xm = function(e) {
8883
8902
  if (S && w > 0) for (let n = 0; n < w; n++) {
8884
8903
  u = x[n];
8885
8904
  let r = u === void 0 ? void 0 : _[`_${u}`];
8886
- if (u !== void 0 && r && bm(v, y, u - s, l - s, o)) {
8887
- r.splice(1, 2, l, vm), r.splice(1, 2, l, vm), C || (r[0] = ""), d = l, g = new lm(f[u], p[d]), e.push(g, d), x.splice(n, 1), t = !0;
8905
+ if (u !== void 0 && r && xm(v, y, u - s, l - s, o)) {
8906
+ r.splice(1, 2, l, ym), r.splice(1, 2, l, ym), C || (r[0] = ""), d = l, g = new um(f[u], p[d]), e.push(g, d), x.splice(n, 1), t = !0;
8888
8907
  break;
8889
8908
  }
8890
8909
  }
@@ -8892,20 +8911,20 @@ var xm = function(e) {
8892
8911
  } else {
8893
8912
  if (b.indices1[t] === void 0) throw Error(`Invalid indexOnArray2: ${t}, seq.indices1: ${b.indices1}`);
8894
8913
  if (u = b.indices1[t] + s, b.indices2[t] === void 0) throw Error(`Invalid indexOnArray2: ${t}, seq.indices2: ${b.indices2}`);
8895
- d = b.indices2[t] + s, g = new lm(f[u], p[d]), e.push(g, d);
8914
+ d = b.indices2[t] + s, g = new um(f[u], p[d]), e.push(g, d);
8896
8915
  }
8897
8916
  }
8898
8917
  e.setResult(_).exit();
8899
8918
  };
8900
- xm.filterName = "arrays";
8901
- var Sm = {
8919
+ Sm.filterName = "arrays";
8920
+ var Cm = {
8902
8921
  numerically(e, t) {
8903
8922
  return e - t;
8904
8923
  },
8905
8924
  numericallyBy(e) {
8906
8925
  return (t, n) => t[e] - n[e];
8907
8926
  }
8908
- }, Cm = function(e) {
8927
+ }, wm = function(e) {
8909
8928
  var t;
8910
8929
  if (!e.nested) return;
8911
8930
  let n = e.delta;
@@ -8914,7 +8933,7 @@ var Sm = {
8914
8933
  for (r in a) if (r !== "_t") {
8915
8934
  if (r[0] === "_") {
8916
8935
  let e = r;
8917
- if (a[e] !== void 0 && (a[e][2] === 0 || a[e][2] === vm)) s.push(Number.parseInt(r.slice(1), 10));
8936
+ if (a[e] !== void 0 && (a[e][2] === 0 || a[e][2] === ym)) s.push(Number.parseInt(r.slice(1), 10));
8918
8937
  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]}`);
8919
8938
  } else {
8920
8939
  let e = r;
@@ -8927,15 +8946,15 @@ var Sm = {
8927
8946
  });
8928
8947
  }
8929
8948
  }
8930
- for (s = s.sort(Sm.numerically), r = s.length - 1; r >= 0; r--) {
8949
+ for (s = s.sort(Cm.numerically), r = s.length - 1; r >= 0; r--) {
8931
8950
  if (i = s[r], i === void 0) continue;
8932
8951
  let e = a[`_${i}`], t = o.splice(i, 1)[0];
8933
- (e == null ? void 0 : e[2]) === vm && c.push({
8952
+ (e == null ? void 0 : e[2]) === ym && c.push({
8934
8953
  index: e[1],
8935
8954
  value: t
8936
8955
  });
8937
8956
  }
8938
- c = c.sort(Sm.numericallyBy("index"));
8957
+ c = c.sort(Cm.numericallyBy("index"));
8939
8958
  let u = c.length;
8940
8959
  for (r = 0; r < u; r++) {
8941
8960
  let e = c[r];
@@ -8945,7 +8964,7 @@ var Sm = {
8945
8964
  if (d > 0) for (r = 0; r < d; r++) {
8946
8965
  let t = l[r];
8947
8966
  if (t === void 0) continue;
8948
- let n = new um(o[t.index], t.delta);
8967
+ let n = new dm(o[t.index], t.delta);
8949
8968
  e.push(n, t.index);
8950
8969
  }
8951
8970
  if (!e.children) {
@@ -8954,8 +8973,8 @@ var Sm = {
8954
8973
  }
8955
8974
  e.exit();
8956
8975
  };
8957
- Cm.filterName = "arrays";
8958
- var wm = function(e) {
8976
+ wm.filterName = "arrays";
8977
+ var Tm = function(e) {
8959
8978
  if (!e || !e.children || e.delta._t !== "a") return;
8960
8979
  let t = e.left, n = e.children.length;
8961
8980
  for (let r = 0; r < n; r++) {
@@ -8966,16 +8985,16 @@ var wm = function(e) {
8966
8985
  }
8967
8986
  e.setResult(t).exit();
8968
8987
  };
8969
- wm.filterName = "arraysCollectChildren";
8970
- var Tm = function(e) {
8988
+ Tm.filterName = "arraysCollectChildren";
8989
+ var Em = function(e) {
8971
8990
  if (!e.nested) {
8972
8991
  let t = e.delta;
8973
- if (t[2] === vm) {
8992
+ if (t[2] === ym) {
8974
8993
  let n = t;
8975
8994
  e.newName = `_${n[1]}`, e.setResult([
8976
8995
  n[0],
8977
8996
  Number.parseInt(e.childName.substring(1), 10),
8978
- vm
8997
+ ym
8979
8998
  ]).exit();
8980
8999
  }
8981
9000
  return;
@@ -8985,20 +9004,20 @@ var Tm = function(e) {
8985
9004
  let n = t;
8986
9005
  for (let t in n) {
8987
9006
  if (t === "_t") continue;
8988
- let r = new dm(n[t]);
9007
+ let r = new fm(n[t]);
8989
9008
  e.push(r, t);
8990
9009
  }
8991
9010
  e.exit();
8992
9011
  };
8993
- Tm.filterName = "arrays";
8994
- var Em = (e, t, n) => {
9012
+ Em.filterName = "arrays";
9013
+ var Dm = (e, t, n) => {
8995
9014
  if (typeof t == "string" && t[0] === "_") return Number.parseInt(t.substring(1), 10);
8996
9015
  if (Array.isArray(n) && n[2] === 0) return `_${t}`;
8997
9016
  let r = +t;
8998
9017
  for (let n in e) {
8999
9018
  let i = e[n];
9000
9019
  if (Array.isArray(i)) {
9001
- if (i[2] === vm) {
9020
+ if (i[2] === ym) {
9002
9021
  let e = Number.parseInt(n.substring(1), 10), a = i[1];
9003
9022
  if (a === +t) return e;
9004
9023
  e <= r && a > r ? r++ : e >= r && a < r && r--;
@@ -9006,7 +9025,7 @@ var Em = (e, t, n) => {
9006
9025
  }
9007
9026
  }
9008
9027
  return r;
9009
- }, Dm = (e) => {
9028
+ }, Om = (e) => {
9010
9029
  if (!e || !e.children) return;
9011
9030
  let t = e.delta;
9012
9031
  if (t._t !== "a") return;
@@ -9017,22 +9036,22 @@ var Em = (e, t, n) => {
9017
9036
  let a = r.newName;
9018
9037
  if (a === void 0) {
9019
9038
  if (r.childName === void 0) throw Error("child.childName is undefined");
9020
- a = Em(n, r.childName, r.result);
9039
+ a = Dm(n, r.childName, r.result);
9021
9040
  }
9022
9041
  i[a] !== r.result && (i[a] = r.result);
9023
9042
  }
9024
9043
  e.setResult(i).exit();
9025
9044
  };
9026
- Dm.filterName = "arraysCollectChildren";
9045
+ Om.filterName = "arraysCollectChildren";
9027
9046
  //#endregion
9028
9047
  //#region node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/filters/dates.js
9029
- var Om = function(e) {
9048
+ var km = function(e) {
9030
9049
  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();
9031
9050
  };
9032
- Om.filterName = "dates";
9051
+ km.filterName = "dates";
9033
9052
  //#endregion
9034
9053
  //#region node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/filters/nested.js
9035
- var km = /* @__PURE__ */ new Set(["__proto__"]), Am = (e) => {
9054
+ var Am = /* @__PURE__ */ new Set(["__proto__"]), jm = (e) => {
9036
9055
  if (!e || !e.children) return;
9037
9056
  let t = e.children.length, n = e.result;
9038
9057
  for (let r = 0; r < t; r++) {
@@ -9044,18 +9063,18 @@ var km = /* @__PURE__ */ new Set(["__proto__"]), Am = (e) => {
9044
9063
  }
9045
9064
  n && e.leftIsArray && (n._t = "a"), e.setResult(n).exit();
9046
9065
  };
9047
- Am.filterName = "collectChildren";
9048
- var jm = (e) => {
9066
+ jm.filterName = "collectChildren";
9067
+ var Mm = (e) => {
9049
9068
  var t;
9050
9069
  if (e.leftIsArray || e.leftType !== "object") return;
9051
9070
  let n = e.left, r = e.right, i = (t = e.options) == null ? void 0 : t.propertyFilter;
9052
9071
  for (let t in n) {
9053
9072
  if (!Object.prototype.hasOwnProperty.call(n, t) || i && !i(t, e)) continue;
9054
- let a = new lm(n[t], r[t]);
9073
+ let a = new um(n[t], r[t]);
9055
9074
  e.push(a, t);
9056
9075
  }
9057
9076
  for (let t in r) if (Object.prototype.hasOwnProperty.call(r, t) && !(i && !i(t, e)) && n[t] === void 0) {
9058
- let n = new lm(void 0, r[t]);
9077
+ let n = new um(void 0, r[t]);
9059
9078
  e.push(n, t);
9060
9079
  }
9061
9080
  if (!e.children || e.children.length === 0) {
@@ -9064,15 +9083,15 @@ var jm = (e) => {
9064
9083
  }
9065
9084
  e.exit();
9066
9085
  };
9067
- jm.filterName = "objects";
9068
- var Mm = function(e) {
9086
+ Mm.filterName = "objects";
9087
+ var Nm = function(e) {
9069
9088
  if (!e.nested) return;
9070
9089
  let t = e.delta;
9071
9090
  if (t._t) return;
9072
9091
  let n = t, r = !1;
9073
9092
  for (let t in n) {
9074
- if (km.has(t) || !Object.prototype.hasOwnProperty.call(n, t)) continue;
9075
- let i = e.left, a = new um(typeof i == "object" && i && Object.prototype.hasOwnProperty.call(i, t) ? i[t] : void 0, n[t]);
9093
+ if (Am.has(t) || !Object.prototype.hasOwnProperty.call(n, t)) continue;
9094
+ let i = e.left, a = new dm(typeof i == "object" && i && Object.prototype.hasOwnProperty.call(i, t) ? i[t] : void 0, n[t]);
9076
9095
  e.push(a, t), r = !0;
9077
9096
  }
9078
9097
  if (!r) {
@@ -9081,8 +9100,8 @@ var Mm = function(e) {
9081
9100
  }
9082
9101
  e.exit();
9083
9102
  };
9084
- Mm.filterName = "objects";
9085
- var Nm = function(e) {
9103
+ Nm.filterName = "objects";
9104
+ var Pm = function(e) {
9086
9105
  if (!e || !e.children || e.delta._t) return;
9087
9106
  if (e.left === null || typeof e.left != "object") {
9088
9107
  e.setResult(e.left).exit();
@@ -9093,17 +9112,17 @@ var Nm = function(e) {
9093
9112
  let n = e.children[r];
9094
9113
  if (n === void 0) continue;
9095
9114
  let i = n.childName;
9096
- km.has(i) || (Object.prototype.hasOwnProperty.call(e.left, i) && n.result === void 0 ? delete t[i] : t[i] !== n.result && (t[i] = n.result));
9115
+ Am.has(i) || (Object.prototype.hasOwnProperty.call(e.left, i) && n.result === void 0 ? delete t[i] : t[i] !== n.result && (t[i] = n.result));
9097
9116
  }
9098
9117
  e.setResult(t).exit();
9099
9118
  };
9100
- Nm.filterName = "collectChildren";
9101
- var Pm = function(e) {
9119
+ Pm.filterName = "collectChildren";
9120
+ var Fm = function(e) {
9102
9121
  if (!e.nested || e.delta._t) return;
9103
9122
  let t = e.delta, n = !1;
9104
9123
  for (let r in t) {
9105
- if (km.has(r) || !Object.prototype.hasOwnProperty.call(t, r)) continue;
9106
- let i = new dm(t[r]);
9124
+ if (Am.has(r) || !Object.prototype.hasOwnProperty.call(t, r)) continue;
9125
+ let i = new fm(t[r]);
9107
9126
  e.push(i, r), n = !0;
9108
9127
  }
9109
9128
  if (!n) {
@@ -9112,25 +9131,25 @@ var Pm = function(e) {
9112
9131
  }
9113
9132
  e.exit();
9114
9133
  };
9115
- Pm.filterName = "objects";
9116
- var Fm = (e) => {
9134
+ Fm.filterName = "objects";
9135
+ var Im = (e) => {
9117
9136
  if (!e || !e.children || e.delta._t) return;
9118
9137
  let t = e.children.length, n = {};
9119
9138
  for (let r = 0; r < t; r++) {
9120
9139
  let t = e.children[r];
9121
9140
  if (t === void 0) continue;
9122
9141
  let i = t.childName;
9123
- km.has(i) || n[i] !== t.result && (n[i] = t.result);
9142
+ Am.has(i) || n[i] !== t.result && (n[i] = t.result);
9124
9143
  }
9125
9144
  e.setResult(n).exit();
9126
9145
  };
9127
- Fm.filterName = "collectChildren";
9146
+ Im.filterName = "collectChildren";
9128
9147
  //#endregion
9129
9148
  //#region node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/filters/texts.js
9130
- var Im = 2, Lm = 60, Rm = null;
9131
- function zm(e, t) {
9149
+ var Lm = 2, Rm = 60, zm = null;
9150
+ function Bm(e, t) {
9132
9151
  var n;
9133
- if (!Rm) {
9152
+ if (!zm) {
9134
9153
  let r;
9135
9154
  if ((n = e == null ? void 0 : e.textDiff) != null && n.diffMatchPatch) r = new e.textDiff.diffMatchPatch();
9136
9155
  else {
@@ -9138,7 +9157,7 @@ function zm(e, t) {
9138
9157
  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.");
9139
9158
  throw e.diff_match_patch_not_found = !0, e;
9140
9159
  }
9141
- Rm = {
9160
+ zm = {
9142
9161
  diff: (e, t) => r.patch_toText(r.patch_make(e, t)),
9143
9162
  patch: (e, t) => {
9144
9163
  let n = r.patch_apply(r.patch_fromText(t), e);
@@ -9150,17 +9169,17 @@ function zm(e, t) {
9150
9169
  }
9151
9170
  };
9152
9171
  }
9153
- return Rm;
9172
+ return zm;
9154
9173
  }
9155
- var Bm = function(e) {
9174
+ var Vm = function(e) {
9156
9175
  var t, n;
9157
9176
  if (e.leftType !== "string") return;
9158
- let r = e.left, i = e.right, a = ((n = (t = e.options) == null ? void 0 : t.textDiff) == null ? void 0 : n.minLength) || Lm;
9177
+ let r = e.left, i = e.right, a = ((n = (t = e.options) == null ? void 0 : t.textDiff) == null ? void 0 : n.minLength) || Rm;
9159
9178
  if (r.length < a || i.length < a) {
9160
9179
  e.setResult([r, i]).exit();
9161
9180
  return;
9162
9181
  }
9163
- let o = zm(e.options);
9182
+ let o = Bm(e.options);
9164
9183
  if (!o) {
9165
9184
  e.setResult([r, i]).exit();
9166
9185
  return;
@@ -9169,19 +9188,19 @@ var Bm = function(e) {
9169
9188
  e.setResult([
9170
9189
  s(r, i),
9171
9190
  0,
9172
- Im
9191
+ Lm
9173
9192
  ]).exit();
9174
9193
  };
9175
- Bm.filterName = "texts";
9176
- var Vm = function(e) {
9194
+ Vm.filterName = "texts";
9195
+ var Hm = function(e) {
9177
9196
  if (e.nested) return;
9178
9197
  let t = e.delta;
9179
- if (t[2] !== Im) return;
9180
- let n = t, r = zm(e.options, !0).patch;
9198
+ if (t[2] !== Lm) return;
9199
+ let n = t, r = Bm(e.options, !0).patch;
9181
9200
  e.setResult(r(e.left, n[0])).exit();
9182
9201
  };
9183
- Vm.filterName = "texts";
9184
- var Hm = (e) => {
9202
+ Hm.filterName = "texts";
9203
+ var Um = (e) => {
9185
9204
  var t, n, r;
9186
9205
  let i = /^@@ +-(\d+),(\d+) +\+(\d+),(\d+) +@@$/, a = e.split("\n");
9187
9206
  for (let e = 0; e < a.length; e++) {
@@ -9202,21 +9221,21 @@ var Hm = (e) => {
9202
9221
  } else s === "-" && (a[e] = `+${(r = a[e]) == null ? void 0 : r.slice(1)}`);
9203
9222
  }
9204
9223
  return a.join("\n");
9205
- }, Um = function(e) {
9224
+ }, Wm = function(e) {
9206
9225
  if (e.nested) return;
9207
9226
  let t = e.delta;
9208
- if (t[2] !== Im) return;
9227
+ if (t[2] !== Lm) return;
9209
9228
  let n = t;
9210
9229
  e.setResult([
9211
- Hm(n[0]),
9230
+ Um(n[0]),
9212
9231
  0,
9213
- Im
9232
+ Lm
9214
9233
  ]).exit();
9215
9234
  };
9216
- Um.filterName = "texts";
9235
+ Wm.filterName = "texts";
9217
9236
  //#endregion
9218
9237
  //#region node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/filters/trivial.js
9219
- var Wm = function(e) {
9238
+ var Gm = function(e) {
9220
9239
  if (e.left === e.right) {
9221
9240
  e.setResult(void 0).exit();
9222
9241
  return;
@@ -9249,8 +9268,8 @@ var Wm = function(e) {
9249
9268
  }
9250
9269
  e.left instanceof RegExp && (e.right instanceof RegExp ? e.setResult([e.left.toString(), e.right.toString()]).exit() : e.setResult([e.left, e.right]).exit());
9251
9270
  };
9252
- Wm.filterName = "trivial";
9253
- var Gm = function(e) {
9271
+ Gm.filterName = "trivial";
9272
+ var Km = function(e) {
9254
9273
  if (e.delta === void 0) {
9255
9274
  e.setResult(e.left).exit();
9256
9275
  return;
@@ -9274,8 +9293,8 @@ var Gm = function(e) {
9274
9293
  }
9275
9294
  t.length === 3 && t[2] === 0 && e.setResult(void 0).exit();
9276
9295
  };
9277
- Gm.filterName = "trivial";
9278
- var Km = function(e) {
9296
+ Km.filterName = "trivial";
9297
+ var qm = function(e) {
9279
9298
  if (e.delta === void 0) {
9280
9299
  e.setResult(e.delta).exit();
9281
9300
  return;
@@ -9296,36 +9315,36 @@ var Km = function(e) {
9296
9315
  }
9297
9316
  t.length === 3 && t[2] === 0 && e.setResult([t[0]]).exit();
9298
9317
  };
9299
- Km.filterName = "trivial";
9318
+ qm.filterName = "trivial";
9300
9319
  //#endregion
9301
9320
  //#region node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/diffpatcher.js
9302
- var qm = class {
9321
+ var Jm = class {
9303
9322
  constructor(e) {
9304
- this.processor = new pm(e), this.processor.pipe(new fm("diff").append(Am, Wm, Om, Bm, jm, xm).shouldHaveResult()), this.processor.pipe(new fm("patch").append(Nm, wm, Gm, Vm, Mm, Cm).shouldHaveResult()), this.processor.pipe(new fm("reverse").append(Fm, Dm, Km, Um, Pm, Tm).shouldHaveResult());
9323
+ this.processor = new mm(e), this.processor.pipe(new pm("diff").append(jm, Gm, km, Vm, Mm, Sm).shouldHaveResult()), this.processor.pipe(new pm("patch").append(Pm, Tm, Km, Hm, Nm, wm).shouldHaveResult()), this.processor.pipe(new pm("reverse").append(Im, Om, qm, Wm, Fm, Em).shouldHaveResult());
9305
9324
  }
9306
9325
  options(e) {
9307
9326
  return this.processor.options(e);
9308
9327
  }
9309
9328
  diff(e, t) {
9310
- return this.processor.process(new lm(e, t));
9329
+ return this.processor.process(new um(e, t));
9311
9330
  }
9312
9331
  patch(e, t) {
9313
- return this.processor.process(new um(e, t));
9332
+ return this.processor.process(new dm(e, t));
9314
9333
  }
9315
9334
  reverse(e) {
9316
- return this.processor.process(new dm(e));
9335
+ return this.processor.process(new fm(e));
9317
9336
  }
9318
9337
  unpatch(e, t) {
9319
9338
  return this.patch(e, this.reverse(t));
9320
9339
  }
9321
9340
  clone(e) {
9322
- return am(e);
9341
+ return om(e);
9323
9342
  }
9324
9343
  };
9325
9344
  //#endregion
9326
9345
  //#region node_modules/.pnpm/jsondiffpatch@0.7.6/node_modules/jsondiffpatch/lib/index.js
9327
- function Jm(e) {
9328
- return new qm(e);
9346
+ function Ym(e) {
9347
+ return new Jm(e);
9329
9348
  }
9330
9349
  //#endregion
9331
9350
  //#region node_modules/.pnpm/@dmsnell+diff-match-patch@1.1.0/node_modules/@dmsnell/diff-match-patch/index.js
@@ -9887,46 +9906,46 @@ $.Diff = function(e, t) {
9887
9906
  };
9888
9907
  //#endregion
9889
9908
  //#region src/components/audit-log/create-diff-patcher.tsx
9890
- var Ym = (e = {}) => Jm({
9909
+ var Xm = (e = {}) => Ym({
9891
9910
  ...e,
9892
9911
  textDiff: {
9893
9912
  diffMatchPatch: $,
9894
9913
  minLength: 120
9895
9914
  },
9896
9915
  cloneDiffValues: !0
9897
- }), Xm = ["user", "unittemplate"], Zm = Ym(), Qm = (e, t, n) => {
9916
+ }), Zm = ["user", "unittemplate"], Qm = Xm(), $m = (e, t, n) => {
9898
9917
  let r = Object.fromEntries(e.map((e) => [e.sectionKey, e.sectionLabel]));
9899
9918
  for (let e = t.length - 1; e >= 0; e--) {
9900
9919
  let n = r[t[e]];
9901
9920
  if (n) return n;
9902
9921
  }
9903
9922
  return n || "";
9904
- }, $m = (e) => {
9923
+ }, eh = (e) => {
9905
9924
  let t = (e) => _r(e) ? kr(e) : String(e);
9906
9925
  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);
9907
- }, eh = (e) => {
9926
+ }, th = (e) => {
9908
9927
  switch (e.length) {
9909
9928
  case 1: {
9910
9929
  let [t] = e;
9911
9930
  return {
9912
9931
  type: "created",
9913
9932
  before: "",
9914
- after: $m(t)
9933
+ after: eh(t)
9915
9934
  };
9916
9935
  }
9917
9936
  case 2: {
9918
9937
  let [t, n] = e;
9919
9938
  return {
9920
9939
  type: "modified",
9921
- before: $m(t),
9922
- after: $m(n)
9940
+ before: eh(t),
9941
+ after: eh(n)
9923
9942
  };
9924
9943
  }
9925
9944
  case 3: {
9926
9945
  let [t] = e;
9927
9946
  return {
9928
9947
  type: "deleted",
9929
- before: $m(t),
9948
+ before: eh(t),
9930
9949
  after: ""
9931
9950
  };
9932
9951
  }
@@ -9936,15 +9955,15 @@ var Ym = (e = {}) => Jm({
9936
9955
  after: ""
9937
9956
  };
9938
9957
  }
9939
- }, th = (e) => Array.isArray(e), nh = (e, t) => t ? th(t) ? t.length === 0 ? e : t.reduce((e, t) => Zm.unpatch(tn(e), tn(t)), tn(e)) : Zm.unpatch(tn(e), tn(t)) : e, rh = (e) => e.createdAt || e.date, ih = (e, t, n) => {
9940
- let r = rh(e);
9958
+ }, nh = (e) => Array.isArray(e), rh = (e, t) => t ? nh(t) ? t.length === 0 ? e : t.reduce((e, t) => Qm.unpatch(tn(e), tn(t)), tn(e)) : Qm.unpatch(tn(e), tn(t)) : e, ih = (e) => e.createdAt || e.date, ah = (e, t, n) => {
9959
+ let r = ih(e);
9941
9960
  if (!r) return {
9942
9961
  oldJson: "",
9943
9962
  newJson: "",
9944
9963
  error: `Cannot create comparison view: missing date for audit log ${e.id}`
9945
9964
  };
9946
9965
  let i = t.filter((e) => {
9947
- let t = rh(e);
9966
+ let t = ih(e);
9948
9967
  return !!(e.diffs && t && t >= r);
9949
9968
  }), a = Array.from({ length: i.length + 1 });
9950
9969
  a[0] = tn(n);
@@ -9957,7 +9976,7 @@ var Ym = (e = {}) => Jm({
9957
9976
  a[e + 1] = a[e];
9958
9977
  continue;
9959
9978
  }
9960
- a[e + 1] = nh(a[e], t);
9979
+ a[e + 1] = rh(a[e], t);
9961
9980
  }
9962
9981
  let e = i.length > 0 ? a[i.length - 1] : n, t = i.length > 0 ? a[i.length] : n;
9963
9982
  o = JSON.stringify(t == null ? "" : t, null, 2), s = JSON.stringify(e == null ? "" : e, null, 2);
@@ -9972,10 +9991,10 @@ var Ym = (e = {}) => Jm({
9972
9991
  oldJson: o,
9973
9992
  newJson: s
9974
9993
  };
9975
- }, ah = (e, t, n = {}, r = []) => {
9994
+ }, oh = (e, t, n = {}, r = []) => {
9976
9995
  var i;
9977
9996
  if (!e) return;
9978
- let a = [...Xm, ...(i = n.hiddenKeys) == null ? [] : i];
9997
+ let a = [...Zm, ...(i = n.hiddenKeys) == null ? [] : i];
9979
9998
  Object.keys(e).forEach((i) => {
9980
9999
  var o;
9981
10000
  let s = e[i];
@@ -9988,12 +10007,12 @@ var Ym = (e = {}) => Jm({
9988
10007
  sn(s) ? t.push({
9989
10008
  deltaFormat: [...s],
9990
10009
  path: c
9991
- }) : hn(s) && ah(s, t, n, c);
10010
+ }) : hn(s) && oh(s, t, n, c);
9992
10011
  });
9993
- }, oh = (e, t = {}) => {
10012
+ }, sh = (e, t = {}) => {
9994
10013
  let n = [];
9995
- return e ? (ah(e, n, t), n) : [];
9996
- }, sh = (e) => e.replace(/\[\d+\]/g, "").replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]/g, " ").replace(/\s+/g, " ").trim().replace(/^./, (e) => e.toUpperCase()), ch = (e) => {
10014
+ return e ? (oh(e, n, t), n) : [];
10015
+ }, ch = (e) => e.replace(/\[\d+\]/g, "").replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]/g, " ").replace(/\s+/g, " ").trim().replace(/^./, (e) => e.toUpperCase()), lh = (e) => {
9997
10016
  if (e == null || e === "") return "empty";
9998
10017
  if (typeof e == "boolean") return e ? "true" : "false";
9999
10018
  if (typeof e == "string") return e;
@@ -10004,27 +10023,27 @@ var Ym = (e = {}) => Jm({
10004
10023
  } catch {
10005
10024
  return String(e);
10006
10025
  }
10007
- }, lh = (e, t = e.length - 1) => {
10026
+ }, uh = (e, t = e.length - 1) => {
10008
10027
  if (t >= e.length) return "Value";
10009
10028
  let n = e[t];
10010
- return !n || mr(n) ? lh(e, t - 1) : sh(n);
10011
- }, uh = ({ userName: e, type: t, property: n, before: r, after: i, sectionName: a }) => {
10012
- let o = ch(r), s = ch(i), c = a ? ` in ${a}` : "";
10029
+ return !n || mr(n) ? uh(e, t - 1) : ch(n);
10030
+ }, dh = ({ userName: e, type: t, property: n, before: r, after: i, sectionName: a }) => {
10031
+ let o = lh(r), s = lh(i), c = a ? ` in ${a}` : "";
10013
10032
  switch (t) {
10014
10033
  case "modified": return `${e} updated ${n} from ${o} to ${s}${c}.`;
10015
10034
  case "created": return `${e} created ${s}${c}.`;
10016
10035
  case "deleted": return `${e} deleted ${o}${c}.`;
10017
10036
  default: return `${e} changed ${n}${c}.`;
10018
10037
  }
10019
- }, dh = ({ sectionNames: e, userName: t, diffs: n, defaultSectionName: r }) => {
10038
+ }, fh = ({ sectionNames: e, userName: t, diffs: n, defaultSectionName: r }) => {
10020
10039
  let i = {
10021
10040
  headers: [{ cells: [{ value: "Changes" }] }],
10022
10041
  rows: n.map((n) => {
10023
- let { deltaFormat: i, path: a } = n, o = Qm(e, a, r), { type: s, before: c, after: l } = eh(i);
10024
- return { cells: [{ value: uh({
10042
+ let { deltaFormat: i, path: a } = n, o = $m(e, a, r), { type: s, before: c, after: l } = th(i);
10043
+ return { cells: [{ value: dh({
10025
10044
  userName: t,
10026
10045
  type: s,
10027
- property: lh(a),
10046
+ property: uh(a),
10028
10047
  before: c,
10029
10048
  after: l,
10030
10049
  sectionName: o
@@ -10032,7 +10051,7 @@ var Ym = (e = {}) => Jm({
10032
10051
  })
10033
10052
  };
10034
10053
  return /* @__PURE__ */ S(eu, { table: i });
10035
- }, fh = Object.freeze({
10054
+ }, ph = Object.freeze({
10036
10055
  summary: {
10037
10056
  label: "Summary",
10038
10057
  value: "summary"
@@ -10041,13 +10060,13 @@ var Ym = (e = {}) => Jm({
10041
10060
  label: "Compare",
10042
10061
  value: "compare"
10043
10062
  }
10044
- }), ph = ({ auditLog: e, auditLogs: t, data: n, isOpen: r, transformDiffsConfig: i, sectionNames: a, defaultSectionName: o, onClose: s }) => {
10045
- let c = [fh.summary, fh.compare].map(({ label: e, value: t }) => ({
10063
+ }), mh = ({ auditLog: e, auditLogs: t, data: n, isOpen: r, transformDiffsConfig: i, sectionNames: a, defaultSectionName: o, onClose: s }) => {
10064
+ let c = [ph.summary, ph.compare].map(({ label: e, value: t }) => ({
10046
10065
  label: e,
10047
10066
  value: t
10048
10067
  })), [l, u] = v(c[0]), { diffs: d = void 0 } = e || {};
10049
10068
  if (!d) return null;
10050
- let { oldJson: f, newJson: p, error: m } = ih(e, t, n);
10069
+ let { oldJson: f, newJson: p, error: m } = ah(e, t, n);
10051
10070
  return /* @__PURE__ */ S(Ts, {
10052
10071
  visible: r,
10053
10072
  centered: !0,
@@ -10060,15 +10079,15 @@ var Ym = (e = {}) => Jm({
10060
10079
  onChange: (e) => u(c.find((t) => t.value === e.target.value)),
10061
10080
  options: c,
10062
10081
  value: l
10063
- }), l.value === "summary" ? /* @__PURE__ */ S(dh, {
10082
+ }), l.value === "summary" ? /* @__PURE__ */ S(fh, {
10064
10083
  userName: e.userName,
10065
10084
  sectionNames: a,
10066
- diffs: oh(d, i),
10085
+ diffs: sh(d, i),
10067
10086
  defaultSectionName: o
10068
10087
  }) : m ? /* @__PURE__ */ S("div", {
10069
10088
  style: { padding: 16 },
10070
10089
  children: m
10071
- }) : /* @__PURE__ */ S(Yp, {
10090
+ }) : /* @__PURE__ */ S(Xp, {
10072
10091
  oldJson: f,
10073
10092
  newJson: p
10074
10093
  })] }),
@@ -10081,7 +10100,7 @@ var Ym = (e = {}) => Jm({
10081
10100
  height: "90vh"
10082
10101
  } })
10083
10102
  });
10084
- }, mh = [
10103
+ }, hh = [
10085
10104
  {
10086
10105
  label: "10 / page",
10087
10106
  value: 10
@@ -10094,8 +10113,8 @@ var Ym = (e = {}) => Jm({
10094
10113
  label: "50 / page",
10095
10114
  value: 50
10096
10115
  }
10097
- ], hh = (e, t = {}) => {
10098
- let { diffs: n, userName: r, source: i, operation: a, operationMetaData: o } = e, s = oh(n, t).length, c = s ? `${s} change${s === 1 ? "" : "s"}` : "no field changes";
10116
+ ], gh = (e, t = {}) => {
10117
+ let { diffs: n, userName: r, source: i, operation: a, operationMetaData: o } = e, s = sh(n, t).length, c = s ? `${s} change${s === 1 ? "" : "s"}` : "no field changes";
10099
10118
  if (i === "API" && !r) return a === "Created" ? "Created through API" : "Changed through API";
10100
10119
  switch (a) {
10101
10120
  case "Created": return `Created by ${r}`;
@@ -10106,7 +10125,7 @@ var Ym = (e = {}) => Jm({
10106
10125
  case "Updated": return `Updated by ${r} (${c})`;
10107
10126
  default: return `Change by ${r}`;
10108
10127
  }
10109
- }, gh = ({ 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 }) => {
10128
+ }, _h = ({ 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 }) => {
10110
10129
  let [_, y] = v(!1), [b, w] = v(null), T = (e) => {
10111
10130
  if (e.snapshot) {
10112
10131
  f == null || f(e.snapshot, e);
@@ -10121,7 +10140,7 @@ var Ym = (e = {}) => Jm({
10121
10140
  { value: "Date" }
10122
10141
  ] }], D = e.map((e) => {
10123
10142
  var t;
10124
- let n = (t = h == null ? void 0 : h(e)) == null ? !!(e.snapshot && p || !e.diffs) : t, r = e.snapshot ? `Snapshot: ${e.snapshot}` : hh(e, l), i = (e.operation === "Restored" || e.operation === "Cloned") && g;
10143
+ let n = (t = h == null ? void 0 : h(e)) == null ? !!(e.snapshot && p || !e.diffs) : t, r = e.snapshot ? `Snapshot: ${e.snapshot}` : gh(e, l), i = (e.operation === "Restored" || e.operation === "Cloned") && g;
10125
10144
  return {
10126
10145
  cells: [
10127
10146
  {
@@ -10144,8 +10163,8 @@ var Ym = (e = {}) => Jm({
10144
10163
  type: "Static"
10145
10164
  },
10146
10165
  {
10147
- value: rm({
10148
- date: rh(e),
10166
+ value: im({
10167
+ date: ih(e),
10149
10168
  showTime: !0
10150
10169
  }),
10151
10170
  type: "Static"
@@ -10188,14 +10207,14 @@ var Ym = (e = {}) => Jm({
10188
10207
  onChange: (e) => {
10189
10208
  u(Number(e.target.value));
10190
10209
  },
10191
- options: mh,
10210
+ options: hh,
10192
10211
  value: a
10193
10212
  },
10194
10213
  onSelectPage: (e) => d(e),
10195
10214
  small: !0
10196
10215
  } }
10197
10216
  } })
10198
- }), _ && b && b.diffs && /* @__PURE__ */ S(ph, {
10217
+ }), _ && b && b.diffs && /* @__PURE__ */ S(mh, {
10199
10218
  sectionNames: o,
10200
10219
  isOpen: _,
10201
10220
  onClose: () => y(!1),
@@ -10205,7 +10224,7 @@ var Ym = (e = {}) => Jm({
10205
10224
  data: t,
10206
10225
  transformDiffsConfig: l
10207
10226
  })] });
10208
- }, _h = ({ pathName: e, moduleName: t, onNavigate: n, onStartTimingEvent: r }) => {
10227
+ }, vh = ({ pathName: e, moduleName: t, onNavigate: n, onStartTimingEvent: r }) => {
10209
10228
  let i = window.location.href, a = _(i);
10210
10229
  return d(() => {
10211
10230
  a.current = i;
@@ -10228,20 +10247,20 @@ var Ym = (e = {}) => Jm({
10228
10247
  });
10229
10248
  };
10230
10249
  }, [e, t]), null;
10231
- }, vh = {
10250
+ }, yh = {
10232
10251
  errorBoundary: "_errorBoundary_hmco0_1",
10233
10252
  sidebarErrorBoundary: "_sidebarErrorBoundary_hmco0_5",
10234
10253
  rightSidebarErrorBoundary: "_rightSidebarErrorBoundary_hmco0_6"
10235
- }, yh = ({ options: e }) => {
10254
+ }, bh = ({ options: e }) => {
10236
10255
  let { ErrorComponent: t, isSideBar: n, isRightSideBar: r, isPage: i, style: a } = e == null ? {} : e, { translations: o } = jp();
10237
10256
  if (t) return /* @__PURE__ */ S(t, {});
10238
10257
  if (n || r) return /* @__PURE__ */ S("div", {
10239
- className: b(n ? vh.sidebarErrorBoundary : "", r ? vh.rightSidebarErrorBoundary : ""),
10258
+ className: b(n ? yh.sidebarErrorBoundary : "", r ? yh.rightSidebarErrorBoundary : ""),
10240
10259
  style: a,
10241
10260
  children: o == null ? void 0 : o.unexpectedError
10242
10261
  });
10243
10262
  let s = /* @__PURE__ */ S("div", {
10244
- className: vh.errorBoundary,
10263
+ className: yh.errorBoundary,
10245
10264
  style: a,
10246
10265
  children: /* @__PURE__ */ S(Gs, { message: {
10247
10266
  icon: !0,
@@ -10256,19 +10275,19 @@ var Ym = (e = {}) => Jm({
10256
10275
  padding: 0,
10257
10276
  children: s
10258
10277
  }) : s;
10259
- }, bh = ({ children: e, options: t }) => /* @__PURE__ */ S(Ei.ErrorBoundary, {
10260
- fallback: /* @__PURE__ */ S(yh, { options: t }),
10278
+ }, xh = ({ children: e, options: t }) => /* @__PURE__ */ S(Ei.ErrorBoundary, {
10279
+ fallback: /* @__PURE__ */ S(bh, { options: t }),
10261
10280
  onError: (e, t) => {
10262
10281
  console.error("Error caught by boundary:", e, t);
10263
10282
  },
10264
10283
  children: e
10265
- }), xh = (e, t = {}) => (n) => /* @__PURE__ */ S(bh, {
10284
+ }), Sh = (e, t = {}) => (n) => /* @__PURE__ */ S(xh, {
10266
10285
  options: t,
10267
10286
  children: /* @__PURE__ */ S(e, { ...n })
10268
- }), Sh = (e = {}) => (t) => xh(t, e), Ch = (e) => typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e === null, wh = (e) => {
10287
+ }), Ch = (e = {}) => (t) => Sh(t, e), wh = (e) => typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e === null, Th = (e) => {
10269
10288
  Mp(Dp.LanguageKey, e.languageKey), Object.entries(e).forEach(([e, t]) => {
10270
- e === Dp.Translations ? Mp(e, kp(t)) : Mp(e, Ch(t) ? t : { ...t });
10289
+ e === Dp.Translations ? Mp(e, kp(t)) : Mp(e, wh(t) ? t : { ...t });
10271
10290
  });
10272
10291
  };
10273
10292
  //#endregion
10274
- export { Zi as Accordion, ya as AccordionWithDefaultToggle, fo as Actions, ki as Align, gh as AuditLog, no as Badge, go as Breadcrumb, mo as BreadcrumbLinkType, q as Button, vo as ButtonGroup, Ai as ButtonPosition, Ca as ButtonType, bo as Card, ha as CheckBox, Gi as Chevron, Ji as Collapse, Oi as Color, Vo as ColorInput, Bo as ColorInputPopover, Ko as Column, rs as Dialog, Gp as DiffCode, nm as DiffTable, Yp as DiffViewer, W as DisabledContext, Zo as Divider, us as Drawer, rp as ElementType, du as Empty, bh as ErrorBoundary, yd as Field, hd as FileButton, bs as FileInput, bd as Flex, Sd as FormRow, Eo as Grid, H as GroupOrder, es as Heading, ma as HelpIcon, G as Icon, U as IconType, hs as Input, ps as InputGroup, ol as InputGroupAddon, _s as InputReaderMethods, Ni as InputType, _d as Label, Fd as List, wd as ListHeading, Ad as ListSubheading, Ld as Loader, mf as Mention, lo as Menu, Ka as MenuCarat, Ga as MenuType, Gs as Message, zs as MessageType, Ts as Modal, Zs as NativeSelect, yl as NumberInput, Wd as OptionDropdown, Kd as Page, sl as Pagination, lp as PopConfirm, So as Popover, qd as Portal, Yd as PrintHeader, Os as ProgressBar, Xd as RadioButton, pf as RichTextInput, gf as Row, el as Select, Rp as SettingField, xf as SideBar, Cf as Skeleton, kl as Slider, Ns as SmartUploadModal, xs as Spacer, Sa as Spinner, eu as Table, md as TableImportExport, Xf as Tabs, Yo as Text, $f as TextArea, Zf as TextLink, ji as TextTransform, Mi as Theme, ai as Toaster, Qu as Toggle, K as Tooltip, op as TopBar, mp as Tree, Ep as TreeTable, Di as TriggerType, Uf as UnitInput, qf as UnitSlider, Ip as UnitTable, _h as UsageTracker, Yu as dismissToast, Bf as initializeContext, wh as initializeGuiLibrary, vs as readFile, Ju as toast, Qs as useFocus, Ss as useKeyboardEvent, tc as useWindowWidth, Sh as withChainableErrorBoundary, xh as withErrorBoundary };
10293
+ export { Zi as Accordion, ya as AccordionWithDefaultToggle, fo as Actions, ki as Align, _h as AuditLog, no as Badge, go as Breadcrumb, mo as BreadcrumbLinkType, q as Button, vo as ButtonGroup, Ai as ButtonPosition, Ca as ButtonType, bo as Card, ha as CheckBox, Gi as Chevron, Ji as Collapse, Oi as Color, Vo as ColorInput, Bo as ColorInputPopover, Ko as Column, rs as Dialog, Kp as DiffCode, rm as DiffTable, Xp as DiffViewer, W as DisabledContext, Zo as Divider, us as Drawer, rp as ElementType, du as Empty, xh as ErrorBoundary, yd as Field, hd as FileButton, bs as FileInput, bd as Flex, Sd as FormRow, Eo as Grid, H as GroupOrder, es as Heading, ma as HelpIcon, G as Icon, U as IconType, hs as Input, ps as InputGroup, ol as InputGroupAddon, _s as InputReaderMethods, Ni as InputType, _d as Label, Fd as List, wd as ListHeading, Ad as ListSubheading, Ld as Loader, mf as Mention, lo as Menu, Ka as MenuCarat, Ga as MenuType, Gs as Message, zs as MessageType, Ts as Modal, Zs as NativeSelect, yl as NumberInput, Wd as OptionDropdown, Kd as Page, sl as Pagination, lp as PopConfirm, So as Popover, qd as Portal, Yd as PrintHeader, Os as ProgressBar, Xd as RadioButton, pf as RichTextInput, gf as Row, el as Select, zp as SettingField, xf as SideBar, Cf as Skeleton, kl as Slider, Ns as SmartUploadModal, xs as Spacer, Sa as Spinner, eu as Table, md as TableImportExport, Xf as Tabs, Yo as Text, $f as TextArea, Zf as TextLink, ji as TextTransform, Mi as Theme, ai as Toaster, Qu as Toggle, K as Tooltip, op as TopBar, mp as Tree, Ep as TreeTable, Di as TriggerType, Uf as UnitInput, qf as UnitSlider, Lp as UnitTable, vh as UsageTracker, Yu as dismissToast, Bf as initializeContext, Th as initializeGuiLibrary, vs as readFile, Ju as toast, Qs as useFocus, Ss as useKeyboardEvent, tc as useWindowWidth, Ch as withChainableErrorBoundary, Sh 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.3",
3
+ "version": "10.2.4-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": {