eservices-core 1.3.13 → 1.3.15

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.
@@ -6,7 +6,7 @@ import { openModal as Cn } from "jenesius-vue-modal";
6
6
  import { useRoute as _n, RouterLink as bn } from "vue-router";
7
7
  import Tn from "date-and-time";
8
8
  /*!
9
- * eservices-core v1.3.13
9
+ * eservices-core v1.3.15
10
10
  * (c) 2023 ESERVICES
11
11
  */
12
12
  function Sn(n, e) {
@@ -387,15 +387,15 @@ ne.EVENT_READY_UPDATE = "event:ready-update";
387
387
  ne.EVENT_DATA_UPDATE = "event:data-update";
388
388
  ne.CURRENT_CONTEXT_KEY = "CurrentContext";
389
389
  let kn = ne;
390
- const v = new kn();
391
- function us() {
390
+ const E = new kn();
391
+ function ds() {
392
392
  const n = T({
393
- contextType: v.contextType,
394
- contextId: v.contextId,
395
- context: v.context
393
+ contextType: E.contextType,
394
+ contextId: E.contextId,
395
+ context: E.context
396
396
  });
397
- return v.onupdateContext(() => {
398
- n.contextType = v.contextType, n.contextId = v.contextId, n.context = v.context;
397
+ return E.onupdateContext(() => {
398
+ n.contextType = E.contextType, n.contextId = E.contextId, n.context = E.context;
399
399
  }), n;
400
400
  }
401
401
  function Fn(n) {
@@ -408,7 +408,7 @@ function Fn(n) {
408
408
  });
409
409
  }
410
410
  function y(n, e = {}) {
411
- return v.isFront && (e.headers || (e.headers = {}), e.headers["Context-Id"] = v.contextId), e.redirect = "manual", fetch(n, e).then((t) => t.type === "opaqueredirect" ? void window.location.replace("/auth") : t).catch(() => {
411
+ return E.isFront && (e.headers || (e.headers = {}), e.headers["Context-Id"] = E.contextId), e.redirect = "manual", fetch(n, e).then((t) => t.type === "opaqueredirect" ? void window.location.replace("/auth") : t).catch(() => {
412
412
  throw U.ApiNotAvailable();
413
413
  }).then((t) => Fn(t).then((r) => {
414
414
  if (!t.ok)
@@ -826,7 +826,7 @@ let Jt = class extends zt {
826
826
  }
827
827
  };
828
828
  Jt.PROVIDE_NAME = "table-controller";
829
- function fs(n) {
829
+ function hs(n) {
830
830
  const e = T(n.array);
831
831
  $t(Jt.PROVIDE_NAME, n);
832
832
  const t = T(n.changes);
@@ -851,7 +851,7 @@ function fs(n) {
851
851
  array: r
852
852
  };
853
853
  }
854
- function hs(n, e) {
854
+ function ps(n, e) {
855
855
  n.read = () => O.getList(n.name, {
856
856
  fields: e == null ? void 0 : e.fields
857
857
  }).then((t) => n.array = t).then(() => n.emit(R.EVENT_READ, n.array)), n.save = () => {
@@ -870,10 +870,10 @@ function hs(n, e) {
870
870
  }), n.emit(R.EVENT_SAVE);
871
871
  };
872
872
  }
873
- const ps = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
873
+ const gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
874
874
  __proto__: null
875
875
  }, Symbol.toStringTag, { value: "Module" }));
876
- class gs {
876
+ class ys {
877
877
  static readHistoryById(e, t) {
878
878
  return y(`/close-api/audits/history/${e}/${t}`, {
879
879
  method: "GET",
@@ -1136,7 +1136,7 @@ function Bn(n, e) {
1136
1136
  };
1137
1137
  return $t(t, s), s;
1138
1138
  }
1139
- function ys(n) {
1139
+ function ms(n) {
1140
1140
  const e = T([...n.config]);
1141
1141
  return n.on(re.EVENT_CONFIG_UPDATE, (t) => {
1142
1142
  e.splice(0, e.length, ...t);
@@ -1148,7 +1148,7 @@ function Gn(n) {
1148
1148
  t.splice(0, t.length, ...r), n.read();
1149
1149
  }), t;
1150
1150
  }
1151
- function ms(n) {
1151
+ function ws(n) {
1152
1152
  const e = L(""), t = J(() => {
1153
1153
  const r = e.value.toLowerCase();
1154
1154
  return H(n).filter((s) => e.value.length ? Object.values(s).join().toLowerCase().includes(r) : !0);
@@ -1163,13 +1163,13 @@ function Kt(n, e) {
1163
1163
  n[t] = r;
1164
1164
  });
1165
1165
  }
1166
- function ws(n) {
1166
+ function vs(n) {
1167
1167
  const e = T(K.copyObject(n.filters));
1168
1168
  return n.on(re.EVENT_FILTERS_UPDATE, (t) => {
1169
1169
  Kt(e, t), n.read();
1170
1170
  }), e;
1171
1171
  }
1172
- function vs(n) {
1172
+ function Es(n) {
1173
1173
  const e = T([]);
1174
1174
  function t(o) {
1175
1175
  return e.includes(o);
@@ -1227,7 +1227,7 @@ function Hn() {
1227
1227
  activateRow: e
1228
1228
  };
1229
1229
  }
1230
- const Es = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1230
+ const Cs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1231
1231
  __proto__: null,
1232
1232
  List: re,
1233
1233
  Table: zn,
@@ -1264,20 +1264,20 @@ class Kn extends F {
1264
1264
  }
1265
1265
  }
1266
1266
  const Ie = new Kn();
1267
- function Cs(n) {
1267
+ function _s(n) {
1268
1268
  const e = L(Ie.get(n));
1269
1269
  return Ie.on(Ie.EVENT_NEW, (t) => {
1270
1270
  n === t.entityName && (e.value = Ie.get(n));
1271
1271
  }), e;
1272
1272
  }
1273
- function _s(n, e) {
1273
+ function bs(n, e) {
1274
1274
  try {
1275
1275
  return e.dataType === "DateTime" && typeof n == "string" ? new Date(n).toLocaleString() : n;
1276
1276
  } catch (t) {
1277
1277
  Xn().error("prettify value by metadata", n, t);
1278
1278
  }
1279
1279
  }
1280
- class bs {
1280
+ class Ts {
1281
1281
  /**
1282
1282
  * @description Загрузка словаря для определённого языка.
1283
1283
  * */
@@ -1487,7 +1487,7 @@ const Yt = class me {
1487
1487
  };
1488
1488
  Yt.url = "/close-api/communications";
1489
1489
  let De = Yt;
1490
- class Ts {
1490
+ class Ss {
1491
1491
  static async getDefaultView(e) {
1492
1492
  return y("/close-api/views/" + e, {
1493
1493
  method: "GET",
@@ -1558,7 +1558,7 @@ class Zt {
1558
1558
  return y(`/open-api/metadata/${e}/list-fields/${t}`);
1559
1559
  }
1560
1560
  }
1561
- class Ss {
1561
+ class As {
1562
1562
  static async upload(e, t) {
1563
1563
  const r = new FormData();
1564
1564
  r.append("file", e);
@@ -1569,7 +1569,7 @@ class Ss {
1569
1569
  }).then((i) => i.json()).then((i) => (i.filename = e.name, i));
1570
1570
  }
1571
1571
  }
1572
- class As {
1572
+ class Ns {
1573
1573
  static invite(e, t, r) {
1574
1574
  return y("/close-api/accounts/invitePerson", {
1575
1575
  method: "POST",
@@ -1621,7 +1621,7 @@ class Qt {
1621
1621
  });
1622
1622
  }
1623
1623
  }
1624
- class Ns {
1624
+ class Os {
1625
1625
  static getConfiguration() {
1626
1626
  return y("/open-api/webserver-configuration", {
1627
1627
  method: "GET",
@@ -1685,8 +1685,8 @@ const en = class tn extends F {
1685
1685
  }
1686
1686
  };
1687
1687
  en.EVENT_DATA = "list-config:update";
1688
- let Os = en;
1689
- class Is extends F {
1688
+ let Is = en;
1689
+ class $s extends F {
1690
1690
  constructor(e) {
1691
1691
  super(), this.name = "Communication", this.read = () => {
1692
1692
  }, this.id = e;
@@ -1698,7 +1698,7 @@ class Is extends F {
1698
1698
  return De.read(e).then((t) => t.length === 0 ? De.create(e) : t[0]);
1699
1699
  }
1700
1700
  }
1701
- function $s(n) {
1701
+ function Ps(n) {
1702
1702
  const e = R.getParentForm();
1703
1703
  e ? e.subscribe(n) : console.warn(U.ParentFormNotFound());
1704
1704
  const t = T([]);
@@ -1774,13 +1774,13 @@ function nr() {
1774
1774
  (n) => (n ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> n / 4).toString(16)
1775
1775
  );
1776
1776
  }
1777
- function Ps(n, e = 1e3) {
1777
+ function ks(n, e = 1e3) {
1778
1778
  let t = 0;
1779
1779
  return (...r) => {
1780
1780
  clearTimeout(t), t = setTimeout(() => n(...r), e);
1781
1781
  };
1782
1782
  }
1783
- function ks(n, e) {
1783
+ function Fs(n, e) {
1784
1784
  const t = L(null);
1785
1785
  function r() {
1786
1786
  return n.name ? Zt.getById(n.name, e, []).then((s) => {
@@ -1805,7 +1805,7 @@ class lt extends Error {
1805
1805
  }
1806
1806
  class rr extends lt {
1807
1807
  }
1808
- function Fs(n, e) {
1808
+ function Ls(n, e) {
1809
1809
  const t = T([]);
1810
1810
  async function r(i, l) {
1811
1811
  if (!i)
@@ -1829,7 +1829,7 @@ function Fs(n, e) {
1829
1829
  keys: {
1830
1830
  Id: l
1831
1831
  },
1832
- contextId: v.contextId
1832
+ contextId: E.contextId
1833
1833
  }),
1834
1834
  headers: {
1835
1835
  "Content-Type": "application/json"
@@ -1854,7 +1854,7 @@ class Ue {
1854
1854
  return fetch(`${Ue.url()}/status/${e}/${t}`).then((r) => r.json());
1855
1855
  }
1856
1856
  }
1857
- function Ls(n) {
1857
+ function Rs(n) {
1858
1858
  const e = T({
1859
1859
  title: "Loading",
1860
1860
  type: "wait"
@@ -1876,7 +1876,7 @@ function Ls(n) {
1876
1876
  }) : void console.log("Form without name.");
1877
1877
  }), { label: e, update: t };
1878
1878
  }
1879
- function Rs(n, e) {
1879
+ function Ds(n, e) {
1880
1880
  const t = _n(), r = J(() => Number(t.params.id)), s = T({
1881
1881
  ready: !1,
1882
1882
  show: !1
@@ -1911,27 +1911,27 @@ function Rs(n, e) {
1911
1911
  formShadowState: s
1912
1912
  };
1913
1913
  }
1914
- function Ds() {
1914
+ function xs() {
1915
1915
  const n = T({
1916
- contextId: v.contextId,
1917
- person: v.person,
1918
- organizations: v.organizations,
1919
- ready: v.ready,
1920
- user: v.user
1916
+ contextId: E.contextId,
1917
+ person: E.person,
1918
+ organizations: E.organizations,
1919
+ ready: E.ready,
1920
+ user: E.user
1921
1921
  }), e = J(() => {
1922
- if (!v.ready || !v.person)
1922
+ if (!E.ready || !E.person)
1923
1923
  return null;
1924
1924
  const r = n.contextId;
1925
- return v.person.id === r ? v.person : v.organizations.find((s) => s.id === r) || null;
1925
+ return E.person.id === r ? E.person : E.organizations.find((s) => s.id === r) || null;
1926
1926
  }), t = J(() => {
1927
1927
  var r;
1928
1928
  return n.contextId === ((r = n.person) == null ? void 0 : r.id);
1929
1929
  });
1930
- return v.onupdateContext((r) => {
1930
+ return E.onupdateContext((r) => {
1931
1931
  n.contextId = r;
1932
- }), v.onupdateData(() => {
1933
- n.person = v.person, n.organizations = v.organizations, n.user = v.user;
1934
- }), v.onReady((r) => {
1932
+ }), E.onupdateData(() => {
1933
+ n.person = E.person, n.organizations = E.organizations, n.user = E.user;
1934
+ }), E.onReady((r) => {
1935
1935
  n.ready = r;
1936
1936
  }), {
1937
1937
  state: Pt(n),
@@ -1939,7 +1939,7 @@ function Ds() {
1939
1939
  isPerson: t
1940
1940
  };
1941
1941
  }
1942
- function xs(n, e) {
1942
+ function js(n, e) {
1943
1943
  const t = T({
1944
1944
  ready: !1,
1945
1945
  show: !1
@@ -1975,7 +1975,7 @@ function xs(n, e) {
1975
1975
  });
1976
1976
  }, n.on(R.EVENT_SAVE, n.read.bind(n)), { shadowFormState: t, initShadow: r };
1977
1977
  }
1978
- class js {
1978
+ class Vs {
1979
1979
  static getRequiredDocuments(e, t, r) {
1980
1980
  const s = new URLSearchParams({
1981
1981
  entity: e,
@@ -2060,7 +2060,7 @@ class we {
2060
2060
  });
2061
2061
  }
2062
2062
  }
2063
- class Vs {
2063
+ class Ms {
2064
2064
  /**
2065
2065
  * @description Загрузка конфигурации из списка
2066
2066
  * */
@@ -2080,7 +2080,7 @@ function ir(n) {
2080
2080
  function or(n) {
2081
2081
  return n.statusName === "ValidationError";
2082
2082
  }
2083
- function Ms(n, e, t) {
2083
+ function Us(n, e, t) {
2084
2084
  let r = null;
2085
2085
  const s = T({
2086
2086
  wait: null
@@ -2098,18 +2098,18 @@ function Ms(n, e, t) {
2098
2098
  if (a(), or(g))
2099
2099
  return void t.onValidation(g.validationResults);
2100
2100
  if ((g.statusName === "FinalStep" || g.statusName === "NextStep") && (!d().length || ar(d(), t.presets)))
2101
- return E(t.presets || {});
2101
+ return v(t.presets || {});
2102
2102
  sr(g) && t.onCompleted(g), ir(g) && t.onConfirmation(g);
2103
2103
  }
2104
- async function u() {
2104
+ async function f() {
2105
2105
  try {
2106
- await f(), await m();
2106
+ await u(), await m();
2107
2107
  } catch (g) {
2108
2108
  const { message: _ } = rt(g);
2109
2109
  st.add("error", _);
2110
2110
  }
2111
2111
  }
2112
- function f() {
2112
+ function u() {
2113
2113
  return s.wait = "Loading process information.", Ye.getStartConfig(e, n).then((g) => {
2114
2114
  i = g.steps.map((_) => ({
2115
2115
  label: _.title,
@@ -2137,16 +2137,16 @@ function Ms(n, e, t) {
2137
2137
  s.wait = null;
2138
2138
  });
2139
2139
  }
2140
- function E(g = {}) {
2140
+ function v(g = {}) {
2141
2141
  return !r || !l ? Promise.reject("Not step or token.") : (s.wait = "Expect the result", Ye.runStep(e, n, l, r, g).then(h).then(c).catch(p).finally(() => {
2142
2142
  s.wait = !1;
2143
2143
  }));
2144
2144
  }
2145
2145
  return {
2146
- initialize: u,
2146
+ initialize: f,
2147
2147
  state: s,
2148
2148
  currentStepConfig: Pt(o),
2149
- next: E
2149
+ next: v
2150
2150
  };
2151
2151
  }
2152
2152
  function ar(n, e) {
@@ -2158,7 +2158,7 @@ function ar(n, e) {
2158
2158
  return !0;
2159
2159
  }
2160
2160
  const cr = "close-api/proxy/Equipment/Search";
2161
- class Us {
2161
+ class Ws {
2162
2162
  static search(e, t, r, s, i) {
2163
2163
  const l = new URLSearchParams();
2164
2164
  l.append("pattern", e || ""), t && l.append("categoryId", t), r && l.append("useType", String(r)), s && l.append("statusCode", s), i && (l.append("limit", String(i.limit)), l.append("offset", String(i.offset)));
@@ -2210,63 +2210,63 @@ function yr() {
2210
2210
  return Xe;
2211
2211
  St = 1;
2212
2212
  var n = 1e3, e = n * 60, t = e * 60, r = t * 24, s = r * 7, i = r * 365.25;
2213
- Xe = function(c, u) {
2214
- u = u || {};
2215
- var f = typeof c;
2216
- if (f === "string" && c.length > 0)
2213
+ Xe = function(c, f) {
2214
+ f = f || {};
2215
+ var u = typeof c;
2216
+ if (u === "string" && c.length > 0)
2217
2217
  return l(c);
2218
- if (f === "number" && isFinite(c))
2219
- return u.long ? a(c) : o(c);
2218
+ if (u === "number" && isFinite(c))
2219
+ return f.long ? a(c) : o(c);
2220
2220
  throw new Error(
2221
2221
  "val is not a non-empty string or a valid number. val=" + JSON.stringify(c)
2222
2222
  );
2223
2223
  };
2224
2224
  function l(c) {
2225
2225
  if (c = String(c), !(c.length > 100)) {
2226
- var u = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
2226
+ var f = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
2227
2227
  c
2228
2228
  );
2229
- if (u) {
2230
- var f = parseFloat(u[1]), h = (u[2] || "ms").toLowerCase();
2229
+ if (f) {
2230
+ var u = parseFloat(f[1]), h = (f[2] || "ms").toLowerCase();
2231
2231
  switch (h) {
2232
2232
  case "years":
2233
2233
  case "year":
2234
2234
  case "yrs":
2235
2235
  case "yr":
2236
2236
  case "y":
2237
- return f * i;
2237
+ return u * i;
2238
2238
  case "weeks":
2239
2239
  case "week":
2240
2240
  case "w":
2241
- return f * s;
2241
+ return u * s;
2242
2242
  case "days":
2243
2243
  case "day":
2244
2244
  case "d":
2245
- return f * r;
2245
+ return u * r;
2246
2246
  case "hours":
2247
2247
  case "hour":
2248
2248
  case "hrs":
2249
2249
  case "hr":
2250
2250
  case "h":
2251
- return f * t;
2251
+ return u * t;
2252
2252
  case "minutes":
2253
2253
  case "minute":
2254
2254
  case "mins":
2255
2255
  case "min":
2256
2256
  case "m":
2257
- return f * e;
2257
+ return u * e;
2258
2258
  case "seconds":
2259
2259
  case "second":
2260
2260
  case "secs":
2261
2261
  case "sec":
2262
2262
  case "s":
2263
- return f * n;
2263
+ return u * n;
2264
2264
  case "milliseconds":
2265
2265
  case "millisecond":
2266
2266
  case "msecs":
2267
2267
  case "msec":
2268
2268
  case "ms":
2269
- return f;
2269
+ return u;
2270
2270
  default:
2271
2271
  return;
2272
2272
  }
@@ -2274,16 +2274,16 @@ function yr() {
2274
2274
  }
2275
2275
  }
2276
2276
  function o(c) {
2277
- var u = Math.abs(c);
2278
- return u >= r ? Math.round(c / r) + "d" : u >= t ? Math.round(c / t) + "h" : u >= e ? Math.round(c / e) + "m" : u >= n ? Math.round(c / n) + "s" : c + "ms";
2277
+ var f = Math.abs(c);
2278
+ return f >= r ? Math.round(c / r) + "d" : f >= t ? Math.round(c / t) + "h" : f >= e ? Math.round(c / e) + "m" : f >= n ? Math.round(c / n) + "s" : c + "ms";
2279
2279
  }
2280
2280
  function a(c) {
2281
- var u = Math.abs(c);
2282
- return u >= r ? d(c, u, r, "day") : u >= t ? d(c, u, t, "hour") : u >= e ? d(c, u, e, "minute") : u >= n ? d(c, u, n, "second") : c + " ms";
2281
+ var f = Math.abs(c);
2282
+ return f >= r ? d(c, f, r, "day") : f >= t ? d(c, f, t, "hour") : f >= e ? d(c, f, e, "minute") : f >= n ? d(c, f, n, "second") : c + " ms";
2283
2283
  }
2284
- function d(c, u, f, h) {
2285
- var p = u >= f * 1.5;
2286
- return Math.round(c / f) + " " + h + (p ? "s" : "");
2284
+ function d(c, f, u, h) {
2285
+ var p = f >= u * 1.5;
2286
+ return Math.round(c / u) + " " + h + (p ? "s" : "");
2287
2287
  }
2288
2288
  return Xe;
2289
2289
  }
@@ -2292,68 +2292,68 @@ function mr(n) {
2292
2292
  t[c] = n[c];
2293
2293
  }), t.names = [], t.skips = [], t.formatters = {};
2294
2294
  function e(c) {
2295
- let u = 0;
2296
- for (let f = 0; f < c.length; f++)
2297
- u = (u << 5) - u + c.charCodeAt(f), u |= 0;
2298
- return t.colors[Math.abs(u) % t.colors.length];
2295
+ let f = 0;
2296
+ for (let u = 0; u < c.length; u++)
2297
+ f = (f << 5) - f + c.charCodeAt(u), f |= 0;
2298
+ return t.colors[Math.abs(f) % t.colors.length];
2299
2299
  }
2300
2300
  t.selectColor = e;
2301
2301
  function t(c) {
2302
- let u, f = null, h, p;
2303
- function m(...E) {
2302
+ let f, u = null, h, p;
2303
+ function m(...v) {
2304
2304
  if (!m.enabled)
2305
2305
  return;
2306
- const g = m, _ = Number(/* @__PURE__ */ new Date()), N = _ - (u || _);
2307
- g.diff = N, g.prev = u, g.curr = _, u = _, E[0] = t.coerce(E[0]), typeof E[0] != "string" && E.unshift("%O");
2306
+ const g = m, _ = Number(/* @__PURE__ */ new Date()), N = _ - (f || _);
2307
+ g.diff = N, g.prev = f, g.curr = _, f = _, v[0] = t.coerce(v[0]), typeof v[0] != "string" && v.unshift("%O");
2308
2308
  let I = 0;
2309
- E[0] = E[0].replace(/%([a-zA-Z%])/g, (G, S) => {
2309
+ v[0] = v[0].replace(/%([a-zA-Z%])/g, (G, S) => {
2310
2310
  if (G === "%%")
2311
2311
  return "%";
2312
2312
  I++;
2313
2313
  const le = t.formatters[S];
2314
2314
  if (typeof le == "function") {
2315
- const Ae = E[I];
2316
- G = le.call(g, Ae), E.splice(I, 1), I--;
2315
+ const Ae = v[I];
2316
+ G = le.call(g, Ae), v.splice(I, 1), I--;
2317
2317
  }
2318
2318
  return G;
2319
- }), t.formatArgs.call(g, E), (g.log || t.log).apply(g, E);
2319
+ }), t.formatArgs.call(g, v), (g.log || t.log).apply(g, v);
2320
2320
  }
2321
2321
  return m.namespace = c, m.useColors = t.useColors(), m.color = t.selectColor(c), m.extend = r, m.destroy = t.destroy, Object.defineProperty(m, "enabled", {
2322
2322
  enumerable: !0,
2323
2323
  configurable: !1,
2324
- get: () => f !== null ? f : (h !== t.namespaces && (h = t.namespaces, p = t.enabled(c)), p),
2325
- set: (E) => {
2326
- f = E;
2324
+ get: () => u !== null ? u : (h !== t.namespaces && (h = t.namespaces, p = t.enabled(c)), p),
2325
+ set: (v) => {
2326
+ u = v;
2327
2327
  }
2328
2328
  }), typeof t.init == "function" && t.init(m), m;
2329
2329
  }
2330
- function r(c, u) {
2331
- const f = t(this.namespace + (typeof u > "u" ? ":" : u) + c);
2332
- return f.log = this.log, f;
2330
+ function r(c, f) {
2331
+ const u = t(this.namespace + (typeof f > "u" ? ":" : f) + c);
2332
+ return u.log = this.log, u;
2333
2333
  }
2334
2334
  function s(c) {
2335
2335
  t.save(c), t.namespaces = c, t.names = [], t.skips = [];
2336
- let u;
2337
- const f = (typeof c == "string" ? c : "").split(/[\s,]+/), h = f.length;
2338
- for (u = 0; u < h; u++)
2339
- f[u] && (c = f[u].replace(/\*/g, ".*?"), c[0] === "-" ? t.skips.push(new RegExp("^" + c.slice(1) + "$")) : t.names.push(new RegExp("^" + c + "$")));
2336
+ let f;
2337
+ const u = (typeof c == "string" ? c : "").split(/[\s,]+/), h = u.length;
2338
+ for (f = 0; f < h; f++)
2339
+ u[f] && (c = u[f].replace(/\*/g, ".*?"), c[0] === "-" ? t.skips.push(new RegExp("^" + c.slice(1) + "$")) : t.names.push(new RegExp("^" + c + "$")));
2340
2340
  }
2341
2341
  function i() {
2342
2342
  const c = [
2343
2343
  ...t.names.map(o),
2344
- ...t.skips.map(o).map((u) => "-" + u)
2344
+ ...t.skips.map(o).map((f) => "-" + f)
2345
2345
  ].join(",");
2346
2346
  return t.enable(""), c;
2347
2347
  }
2348
2348
  function l(c) {
2349
2349
  if (c[c.length - 1] === "*")
2350
2350
  return !0;
2351
- let u, f;
2352
- for (u = 0, f = t.skips.length; u < f; u++)
2353
- if (t.skips[u].test(c))
2351
+ let f, u;
2352
+ for (f = 0, u = t.skips.length; f < u; f++)
2353
+ if (t.skips[f].test(c))
2354
2354
  return !1;
2355
- for (u = 0, f = t.names.length; u < f; u++)
2356
- if (t.names[u].test(c))
2355
+ for (f = 0, u = t.names.length; f < u; f++)
2356
+ if (t.names[f].test(c))
2357
2357
  return !0;
2358
2358
  return !1;
2359
2359
  }
@@ -2465,10 +2465,10 @@ var wr = mr;
2465
2465
  return;
2466
2466
  const d = "color: " + this.color;
2467
2467
  a.splice(1, 0, d, "color: inherit");
2468
- let c = 0, u = 0;
2469
- a[0].replace(/%[a-zA-Z%]/g, (f) => {
2470
- f !== "%%" && (c++, f === "%c" && (u = c));
2471
- }), a.splice(u, 0, d);
2468
+ let c = 0, f = 0;
2469
+ a[0].replace(/%[a-zA-Z%]/g, (u) => {
2470
+ u !== "%%" && (c++, u === "%c" && (f = c));
2471
+ }), a.splice(f, 0, d);
2472
2472
  }
2473
2473
  e.log = console.debug || console.log || (() => {
2474
2474
  });
@@ -2576,6 +2576,10 @@ function Tr(n, e, t) {
2576
2576
  s = Er(typeof s == "string" ? s : null);
2577
2577
  break;
2578
2578
  }
2579
+ case "money": {
2580
+ s = Qr(s);
2581
+ break;
2582
+ }
2579
2583
  case "multi-select": {
2580
2584
  d.push(M(et, {
2581
2585
  type: "single-checkbox",
@@ -2595,8 +2599,8 @@ function Tr(n, e, t) {
2595
2599
  try {
2596
2600
  const c = n.link(r);
2597
2601
  if (c) {
2598
- const u = M(bn, { to: c });
2599
- d.push(u), o("widget-table-cell_link");
2602
+ const f = M(bn, { to: c });
2603
+ d.push(f), o("widget-table-cell_link");
2600
2604
  }
2601
2605
  } catch (c) {
2602
2606
  _r("Can't add router link", c);
@@ -2658,7 +2662,7 @@ const Sr = {
2658
2662
  }), an = {
2659
2663
  LIST_ACTIVE_NEW: "list-active-new",
2660
2664
  DEFAULT_ERROR_MESSAGE: "Please try again later or submit a feedback if problem doesn't go."
2661
- }, Nr = { class: "widget-table" }, Ot = "update:selectedRows", Ws = /* @__PURE__ */ x({
2665
+ }, Nr = { class: "widget-table" }, Ot = "update:selectedRows", qs = /* @__PURE__ */ x({
2662
2666
  __name: "widget-table",
2663
2667
  props: {
2664
2668
  array: {},
@@ -2693,7 +2697,7 @@ const Sr = {
2693
2697
  config: o.config,
2694
2698
  values: d,
2695
2699
  selected: o.selectedRows.includes(d),
2696
- onSelect: (u) => i(d, u),
2700
+ onSelect: (f) => i(d, f),
2697
2701
  class: Ve(o.classCallback ? o.classCallback(d) : "")
2698
2702
  }, null, 8, ["config", "values", "selected", "onSelect", "class"]),
2699
2703
  s.value && o.activeRow === d ? (w(), W(Nt, {
@@ -2701,7 +2705,7 @@ const Sr = {
2701
2705
  component: s.value,
2702
2706
  "row-length": o.config.length,
2703
2707
  values: d,
2704
- onClose: a[0] || (a[0] = (u) => e("update:activeRow", null)),
2708
+ onClose: a[0] || (a[0] = (f) => e("update:activeRow", null)),
2705
2709
  onSave: l,
2706
2710
  "is-new": !1
2707
2711
  }, null, 8, ["component", "row-length", "values"])) : ae("", !0)
@@ -2745,7 +2749,7 @@ const dt = /* @__PURE__ */ Y(Or, [["__scopeId", "data-v-0ef9ae88"]]), Ir = { cla
2745
2749
  ]));
2746
2750
  }
2747
2751
  });
2748
- const qs = /* @__PURE__ */ Y($r, [["__scopeId", "data-v-450dc564"]]), Pr = { class: "widget-multi-button-wrap position_relative cursor_pointer" }, kr = { class: "widget-multi-button-body grid" }, Fr = ["onClick"], Lr = { class: "widget-multi-button-side-wrap" }, Rr = /* @__PURE__ */ x({
2752
+ const Bs = /* @__PURE__ */ Y($r, [["__scopeId", "data-v-450dc564"]]), Pr = { class: "widget-multi-button-wrap position_relative cursor_pointer" }, kr = { class: "widget-multi-button-body grid" }, Fr = ["onClick"], Lr = { class: "widget-multi-button-side-wrap" }, Rr = /* @__PURE__ */ x({
2749
2753
  __name: "widget-multi-button",
2750
2754
  props: {
2751
2755
  label: {},
@@ -2810,7 +2814,7 @@ const qs = /* @__PURE__ */ Y($r, [["__scopeId", "data-v-450dc564"]]), Pr = { cla
2810
2814
  ]));
2811
2815
  }
2812
2816
  });
2813
- const Bs = /* @__PURE__ */ Y(Rr, [["__scopeId", "data-v-a8d711d1"]]), Dr = { class: "widget-loader flex flex-align_center gap_10 padding_15" }, xr = { class: "text_md" }, Gs = /* @__PURE__ */ x({
2817
+ const Gs = /* @__PURE__ */ Y(Rr, [["__scopeId", "data-v-a8d711d1"]]), Dr = { class: "widget-loader flex flex-align_center gap_10 padding_15" }, xr = { class: "text_md" }, zs = /* @__PURE__ */ x({
2814
2818
  __name: "widget-loader",
2815
2819
  props: {
2816
2820
  label: {}
@@ -2824,7 +2828,7 @@ const Bs = /* @__PURE__ */ Y(Rr, [["__scopeId", "data-v-a8d711d1"]]), Dr = { cla
2824
2828
  A("span", xr, Ee(e.label), 1)
2825
2829
  ]));
2826
2830
  }
2827
- }), jr = ["alt", "src"], zs = /* @__PURE__ */ x({
2831
+ }), jr = ["alt", "src"], Js = /* @__PURE__ */ x({
2828
2832
  __name: "widget-image",
2829
2833
  props: {
2830
2834
  src: {},
@@ -2927,14 +2931,14 @@ const Gr = /* @__PURE__ */ Y(Br, [["__scopeId", "data-v-4e1d87c8"]]), zr = /* @_
2927
2931
  console.log(p);
2928
2932
  }
2929
2933
  }
2930
- function u(h) {
2934
+ function f(h) {
2931
2935
  try {
2932
2936
  s.value.style.width = h + "px", s.value.style.minWidth = h + "px", s.value.style.maxWidth = h + "px";
2933
2937
  } catch (p) {
2934
2938
  console.log(p);
2935
2939
  }
2936
2940
  }
2937
- function f(h) {
2941
+ function u(h) {
2938
2942
  return h === null ? !1 : h.classList.contains("head-cell-resize");
2939
2943
  }
2940
2944
  r.value.addEventListener("pointerdown", function(p) {
@@ -2942,10 +2946,10 @@ const Gr = /* @__PURE__ */ Y(Br, [["__scopeId", "data-v-4e1d87c8"]]), zr = /* @_
2942
2946
  function m(P) {
2943
2947
  return P.screenX + _ - j;
2944
2948
  }
2945
- const E = r.value, g = [...E.children].filter((P) => P.localName === "th"), _ = ((pt = E.offsetParent) == null ? void 0 : pt.scrollLeft) || 0, N = g.map((P) => P.clientWidth), I = f(p.target), j = E.getBoundingClientRect().left, G = m(p), S = a(N, G), le = N.slice(0, S).reduce((P, V) => P + V, 0), Ae = G - le, Be = E.offsetWidth, ue = g[S].clientWidth;
2949
+ const v = r.value, g = [...v.children].filter((P) => P.localName === "th"), _ = ((pt = v.offsetParent) == null ? void 0 : pt.scrollLeft) || 0, N = g.map((P) => P.clientWidth), I = u(p.target), j = v.getBoundingClientRect().left, G = m(p), S = a(N, G), le = N.slice(0, S).reduce((P, V) => P + V, 0), Ae = G - le, Be = v.offsetWidth, ue = g[S].clientWidth;
2946
2950
  if (t.config[S].type === "multi-select")
2947
2951
  return;
2948
- console.group("START"), console.log(), console.log("Start screenX", p.screenX), console.log("Widths", N), console.log("max width", Be), console.log("Start Position", G), console.log("Position From", S), console.log("Start Position", S), console.log("Global offset (Отступ самой таблицы от края экрана)", j), console.log("Del", Ae), console.groupEnd(), s.value.innerText = g[S].textContent || "", s.value.style.display = "grid", s.value.style.width = ue + "px", s.value.style.cursor = "grabbing", c(le), u(ue), document.addEventListener("pointermove", ht, { passive: !0 }), document.addEventListener("pointerup", ft);
2952
+ console.group("START"), console.log(), console.log("Start screenX", p.screenX), console.log("Widths", N), console.log("max width", Be), console.log("Start Position", G), console.log("Position From", S), console.log("Start Position", S), console.log("Global offset (Отступ самой таблицы от края экрана)", j), console.log("Del", Ae), console.groupEnd(), s.value.innerText = g[S].textContent || "", s.value.style.display = "grid", s.value.style.width = ue + "px", s.value.style.cursor = "grabbing", c(le), f(ue), document.addEventListener("pointermove", ht, { passive: !0 }), document.addEventListener("pointerup", ft);
2949
2953
  function ft(P) {
2950
2954
  if (console.group("END"), document.removeEventListener("pointermove", ht), document.removeEventListener("pointerup", ft), I && (t.config[S].width = s.value.style.width, t.config[S].minWidth = s.value.style.width, t.config[S].maxWidth = s.value.style.width, i(t.config)), !I) {
2951
2955
  const V = P.screenX + _ - j;
@@ -2964,7 +2968,7 @@ const Gr = /* @__PURE__ */ Y(Br, [["__scopeId", "data-v-4e1d87c8"]]), zr = /* @_
2964
2968
  function ht(P) {
2965
2969
  if (I) {
2966
2970
  const de = m(P) - G + ue;
2967
- u(de);
2971
+ f(de);
2968
2972
  return;
2969
2973
  }
2970
2974
  let V = P.screenX + _ - j - Ae;
@@ -2996,9 +3000,9 @@ const Gr = /* @__PURE__ */ Y(Br, [["__scopeId", "data-v-4e1d87c8"]]), zr = /* @_
2996
3000
  ref_key: "refHead",
2997
3001
  ref: r
2998
3002
  }, [
2999
- (w(!0), b(oe, null, _e(a.config, (c, u) => (w(), W(Gr, kt({ key: c }, c, {
3000
- onOrder: (f) => l(c.name),
3001
- onSelect: d[0] || (d[0] = (f) => e("select")),
3003
+ (w(!0), b(oe, null, _e(a.config, (c, f) => (w(), W(Gr, kt({ key: c }, c, {
3004
+ onOrder: (u) => l(c.name),
3005
+ onSelect: d[0] || (d[0] = (u) => e("select")),
3002
3006
  order: a.order
3003
3007
  }), null, 16, ["onOrder", "order"]))), 128)),
3004
3008
  A("div", {
@@ -3009,7 +3013,7 @@ const Gr = /* @__PURE__ */ Y(Br, [["__scopeId", "data-v-4e1d87c8"]]), zr = /* @_
3009
3013
  ], 512));
3010
3014
  }
3011
3015
  });
3012
- const Jr = /* @__PURE__ */ Y(zr, [["__scopeId", "data-v-ccffc6bd"]]), Hr = { class: "widget-list" }, Kr = { class: "widget-list-body position_relative" }, Yr = 50, Js = /* @__PURE__ */ x({
3016
+ const Jr = /* @__PURE__ */ Y(zr, [["__scopeId", "data-v-ccffc6bd"]]), Hr = { class: "widget-list" }, Kr = { class: "widget-list-body position_relative" }, Yr = 50, Hs = /* @__PURE__ */ x({
3013
3017
  __name: "widget-list",
3014
3018
  props: {
3015
3019
  array: {},
@@ -3060,14 +3064,14 @@ const Jr = /* @__PURE__ */ Y(zr, [["__scopeId", "data-v-ccffc6bd"]]), Hr = { cla
3060
3064
  ]),
3061
3065
  A("tbody", Kr, [
3062
3066
  (w(!0), b(oe, null, _e(o.array, (d, c) => {
3063
- var u;
3067
+ var f;
3064
3068
  return w(), W(Mr, {
3065
3069
  key: c,
3066
3070
  class: "widget-list-row",
3067
3071
  values: d,
3068
3072
  config: o.config,
3069
- selected: (u = o.selectedRows) == null ? void 0 : u.includes(d),
3070
- onSelect: (f) => r(d, f)
3073
+ selected: (f = o.selectedRows) == null ? void 0 : f.includes(d),
3074
+ onSelect: (u) => r(d, u)
3071
3075
  }, null, 8, ["values", "config", "selected", "onSelect"]);
3072
3076
  }), 128))
3073
3077
  ])
@@ -3075,7 +3079,7 @@ const Jr = /* @__PURE__ */ Y(zr, [["__scopeId", "data-v-ccffc6bd"]]), Hr = { cla
3075
3079
  ], 32));
3076
3080
  }
3077
3081
  });
3078
- function Hs(n) {
3082
+ function Ks(n) {
3079
3083
  function e(...r) {
3080
3084
  return t.wait ? Promise.reject("The process has already started.") : (t.wait = !0, Promise.resolve().then(() => n(...r)).finally(() => {
3081
3085
  t.wait = !1;
@@ -3116,10 +3120,10 @@ function Zr(n, e) {
3116
3120
  entity: n
3117
3121
  });
3118
3122
  }
3119
- function Ks(n) {
3123
+ function Ys(n) {
3120
3124
  return n.reduce((e, t) => (t.name && (typeof t.name == "string" ? e.push(t.name) : e.push(...t.name)), e), []);
3121
3125
  }
3122
- function Ys(n, e = 2) {
3126
+ function Qr(n, e = 2) {
3123
3127
  if (!(typeof n == "string" || typeof n == "number"))
3124
3128
  return "";
3125
3129
  let r = String(n).split(".");
@@ -3137,9 +3141,9 @@ function Xs() {
3137
3141
  }
3138
3142
  const se = nn(rn("use-socket"));
3139
3143
  function cn() {
3140
- return Qr;
3144
+ return es;
3141
3145
  }
3142
- const Qr = function() {
3146
+ const es = function() {
3143
3147
  let n = 1, e;
3144
3148
  const t = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set();
3145
3149
  function s() {
@@ -3149,16 +3153,16 @@ const Qr = function() {
3149
3153
  handlers: t
3150
3154
  };
3151
3155
  }
3152
- function i(f) {
3156
+ function i(u) {
3153
3157
  const h = [...t.values()];
3154
- se("Handlers array length is %d. Response event: %s. Request id: %d", t.size, f.event, f.requestId), h.forEach((p) => {
3155
- const m = f.requestId;
3156
- (p.requestId && p.requestId === m || !p.requestId && p.event === f.event) && (se("Find appropriated handler: %d, event: %s", n, p.event), p.callback(f.data, f), p.once && (t.delete(p), se("Handler was removed by *once* params was passed. %o", p)));
3158
+ se("Handlers array length is %d. Response event: %s. Request id: %d", t.size, u.event, u.requestId), h.forEach((p) => {
3159
+ const m = u.requestId;
3160
+ (p.requestId && p.requestId === m || !p.requestId && p.event === u.event) && (se("Find appropriated handler: %d, event: %s", n, p.event), p.callback(u.data, u), p.once && (t.delete(p), se("Handler was removed by *once* params was passed. %o", p)));
3157
3161
  });
3158
3162
  }
3159
- function l(f) {
3160
- console.log(`%cInitializing sockets: %c${f}`, "color: purple", "color: black"), e = new WebSocket(f), e.onclose = function(h) {
3161
- se("Connection to server was stopped: %d %s", h.code, h.reason), setTimeout(() => l(f));
3163
+ function l(u) {
3164
+ console.log(`%cInitializing sockets: %c${u}`, "color: purple", "color: black"), e = new WebSocket(u), e.onclose = function(h) {
3165
+ se("Connection to server was stopped: %d %s", h.code, h.reason), setTimeout(() => l(u));
3162
3166
  }, e.onopen = function() {
3163
3167
  console.log("Socket was %cconnected.", "color: green"), [...r.values()].forEach((h) => {
3164
3168
  o(h), r.delete(h);
@@ -3178,33 +3182,33 @@ const Qr = function() {
3178
3182
  }
3179
3183
  };
3180
3184
  }
3181
- function o(f) {
3182
- e.send(f);
3185
+ function o(u) {
3186
+ e.send(u);
3183
3187
  }
3184
- function a(f, h) {
3185
- t.add({ event: f, callback: h });
3188
+ function a(u, h) {
3189
+ t.add({ event: u, callback: h });
3186
3190
  }
3187
- function d(f, h) {
3188
- t.add({ event: f, callback: h, once: !0 });
3191
+ function d(u, h) {
3192
+ t.add({ event: u, callback: h, once: !0 });
3189
3193
  }
3190
3194
  function c() {
3191
3195
  return e && (e == null ? void 0 : e.readyState) === 1;
3192
3196
  }
3193
- function u(f, h, p) {
3194
- const m = ++n, E = JSON.stringify({
3197
+ function f(u, h, p) {
3198
+ const m = ++n, v = JSON.stringify({
3195
3199
  requestId: m,
3196
- event: f,
3200
+ event: u,
3197
3201
  data: h,
3198
- contextId: v.contextId,
3202
+ contextId: E.contextId,
3199
3203
  url: window.location.href
3200
3204
  });
3201
- return c() ? o(E) : (r.add(E), se("Socket is not connected. Message was send to save-queue. %s")), new Promise((g, _) => {
3205
+ return c() ? o(v) : (r.add(v), se("Socket is not connected. Message was send to save-queue. %s")), new Promise((g, _) => {
3202
3206
  t.add({
3203
- event: f,
3207
+ event: u,
3204
3208
  requestId: m,
3205
3209
  once: !0,
3206
3210
  callback: (N, I) => {
3207
- if (se("Promise was resolve with next data:", N), es(I))
3211
+ if (se("Promise was resolve with next data:", N), ts(I))
3208
3212
  return void _(N);
3209
3213
  p && p(N, I), g(N);
3210
3214
  }
@@ -3217,44 +3221,47 @@ const Qr = function() {
3217
3221
  },
3218
3222
  on: a,
3219
3223
  once: d,
3220
- emit: u,
3224
+ emit: f,
3221
3225
  initialization: l,
3222
3226
  getDevInfo: s
3223
3227
  };
3224
- }(), es = (n) => !!ln(n) && n.event === "request-error", ln = (n) => !!n && typeof n == "object" && n !== null && "event" in n && typeof n.event == "string" && "requestId" in n && typeof n.requestId == "number" && "data" in n;
3228
+ }(), ts = (n) => !!ln(n) && n.event === "request-error", ln = (n) => !!n && typeof n == "object" && n !== null && "event" in n && typeof n.event == "string" && "requestId" in n && typeof n.requestId == "number" && "data" in n;
3225
3229
  function Zs(n, e) {
3226
3230
  const t = T([]);
3227
3231
  let r = 0;
3228
3232
  const s = L(!1);
3229
3233
  function i() {
3230
- return s.value ? Promise.reject("The process has already started.") : (s.value = !0, typeof e.limit != "number" && (e.limit = 100), e.offset = r, It(n, e).then((u) => (r += u.length, u)).finally(() => {
3234
+ if (s.value)
3235
+ return Promise.reject("The process has already started.");
3236
+ const u = c();
3237
+ return s.value = !0, typeof u.limit != "number" && (u.limit = 100), u.offset = r, It(n, u).then((h) => (r += h.length, h)).finally(() => {
3231
3238
  s.value = !1;
3232
- }));
3239
+ });
3233
3240
  }
3234
- function l(u, f) {
3235
- var p;
3236
- const h = u.Version || ((p = t.find((m) => m.Id === f)) == null ? void 0 : p.Version);
3237
- if (h === void 0)
3241
+ function l(u, h) {
3242
+ var m;
3243
+ const p = u.Version || ((m = t.find((v) => v.Id === h)) == null ? void 0 : m.Version);
3244
+ if (p === void 0)
3238
3245
  throw new Error("Object without version.");
3239
- return h;
3246
+ return p;
3240
3247
  }
3241
- function o(u, f) {
3242
- const h = t.findIndex((p) => p.Id === u);
3243
- if (h === -1)
3248
+ function o(u, h) {
3249
+ const p = t.findIndex((m) => m.Id === u);
3250
+ if (p === -1)
3244
3251
  throw new Error(`Can't found item with Id ${u}`);
3245
- t.splice(h, 1, f);
3252
+ t.splice(p, 1, h);
3246
3253
  }
3247
- async function a(u, f) {
3254
+ async function a(u, h) {
3248
3255
  try {
3249
- const h = l(f, u);
3250
- delete f.Version, await Zr(n, { id: u, values: f, version: h });
3251
- const p = await It(n, {
3252
- fields: e.fields || "",
3256
+ const p = c(), m = l(h, u);
3257
+ delete h.Version, await Zr(n, { id: u, values: h, version: m });
3258
+ const v = await It(n, {
3259
+ fields: p.fields || "",
3253
3260
  id: u
3254
3261
  });
3255
- o(u, p);
3256
- } catch (h) {
3257
- Qe()(h);
3262
+ o(u, v);
3263
+ } catch (p) {
3264
+ Qe()(p);
3258
3265
  }
3259
3266
  }
3260
3267
  async function d() {
@@ -3265,7 +3272,10 @@ function Zs(n, e) {
3265
3272
  Qe()(u);
3266
3273
  }
3267
3274
  }
3268
- async function c() {
3275
+ function c() {
3276
+ return typeof e == "function" ? e() : e;
3277
+ }
3278
+ async function f() {
3269
3279
  try {
3270
3280
  r = 0;
3271
3281
  const u = await i();
@@ -3278,7 +3288,7 @@ function Zs(n, e) {
3278
3288
  array: t,
3279
3289
  updateById: a,
3280
3290
  next: d,
3281
- reload: c,
3291
+ reload: f,
3282
3292
  wait: s
3283
3293
  };
3284
3294
  }
@@ -3294,7 +3304,7 @@ const st = new class {
3294
3304
  * @param options.timeout Время жизни уведомления в секундах. По умолчанию 10 секунд.
3295
3305
  */
3296
3306
  add(e, t, r = {}) {
3297
- const s = ts(r), i = new ns(e, t, s.timeout, s.children, s.click);
3307
+ const s = ns(r), i = new rs(e, t, s.timeout, s.children, s.click);
3298
3308
  return this.store.push(i), r.timeout && setTimeout(this.remove.bind(this, i.id), r.timeout * 1e3), i;
3299
3309
  }
3300
3310
  /**
@@ -3307,7 +3317,7 @@ const st = new class {
3307
3317
  this.store.splice(t, 1);
3308
3318
  }
3309
3319
  }();
3310
- function ts(n) {
3320
+ function ns(n) {
3311
3321
  function e(r) {
3312
3322
  return !!r && typeof r == "object";
3313
3323
  }
@@ -3328,7 +3338,7 @@ const un = class dn {
3328
3338
  }
3329
3339
  };
3330
3340
  un.cardId = 1;
3331
- let ns = un;
3341
+ let rs = un;
3332
3342
  const ei = {
3333
3343
  clickOutside: ot,
3334
3344
  valuesToUpperCase: qe,
@@ -3345,83 +3355,84 @@ const ei = {
3345
3355
  };
3346
3356
  export {
3347
3357
  kn as ApplicationManager,
3348
- Is as Communication,
3349
- Cs as ComputedMetadata,
3358
+ $s as Communication,
3359
+ _s as ComputedMetadata,
3350
3360
  U as CoreError,
3351
3361
  D as Filter,
3352
3362
  re as List,
3353
- Os as ListConfig,
3354
- v as Manager,
3363
+ Is as ListConfig,
3364
+ E as Manager,
3355
3365
  Ie as MetadataStore,
3356
3366
  st as NotificationSystem,
3357
3367
  y as Request,
3358
3368
  Jt as Table,
3359
- qs as WidgetButton,
3369
+ Bs as WidgetButton,
3360
3370
  ut as WidgetIcon,
3361
- zs as WidgetImage,
3362
- Js as WidgetList,
3363
- Gs as WidgetLoader,
3364
- Bs as WidgetMultiButton,
3371
+ Js as WidgetImage,
3372
+ Hs as WidgetList,
3373
+ zs as WidgetLoader,
3374
+ Gs as WidgetMultiButton,
3365
3375
  dt as WidgetSpinner,
3366
- Ws as WidgetTable,
3376
+ qs as WidgetTable,
3367
3377
  Zn as actionService,
3368
- Hs as asyncProcess,
3378
+ Ks as asyncProcess,
3369
3379
  $ as authService,
3370
3380
  we as billingService,
3371
3381
  Qe as catchUniversal,
3372
3382
  ot as clickOutside,
3373
3383
  $n as clientService,
3374
3384
  De as communicationService,
3375
- Vs as configurationService,
3385
+ Ms as configurationService,
3376
3386
  an as constants,
3377
3387
  O as dataService,
3378
- Ps as debounce,
3388
+ ks as debounce,
3379
3389
  ti as default,
3380
- js as documentsService,
3381
- Us as equipmentService,
3382
- Ss as fileService,
3383
- Ks as getNamesFromListConfig,
3384
- gs as historyService,
3385
- bs as internationalizationService,
3386
- As as invitationService,
3390
+ Vs as documentsService,
3391
+ Ws as equipmentService,
3392
+ As as fileService,
3393
+ pr as getCellValue,
3394
+ Ys as getNamesFromListConfig,
3395
+ ys as historyService,
3396
+ Ts as internationalizationService,
3397
+ Ns as invitationService,
3387
3398
  Zt as metadataService,
3388
- Es as newImport,
3389
- Ns as openService,
3399
+ Cs as newImport,
3400
+ Os as openService,
3390
3401
  rt as parseError,
3391
- _s as prettifyValueByMetadata,
3402
+ bs as prettifyValueByMetadata,
3392
3403
  sn as prettyDate,
3393
3404
  Er as prettyDateWithTime,
3394
- Ys as prettyMoney,
3405
+ Qr as prettyMoney,
3395
3406
  Ye as processWizardService,
3396
3407
  Qt as ruleValidationService,
3397
3408
  Ce as t,
3398
- ps as testTypes,
3409
+ gs as testTypes,
3399
3410
  It as universalEntityRead,
3400
3411
  Zr as universalEntityUpdate,
3401
- $s as useCommunication,
3402
- Ds as useCustomerState,
3403
- Fs as useFormAction,
3404
- Ls as useFormLabel,
3405
- ks as useFormMetadata,
3406
- xs as useFormRequest,
3407
- Rs as useFormRequestData,
3412
+ Ps as useCommunication,
3413
+ xs as useCustomerState,
3414
+ Ls as useFormAction,
3415
+ Rs as useFormLabel,
3416
+ Fs as useFormMetadata,
3417
+ js as useFormRequest,
3418
+ Ds as useFormRequestData,
3408
3419
  Xs as useListActiveRow,
3409
- ys as useListConfig,
3420
+ ms as useListConfig,
3410
3421
  Zs as useListEntity,
3411
- ws as useListFilter,
3422
+ vs as useListFilter,
3412
3423
  Gn as useListOrder,
3413
3424
  Bn as useListProvide,
3414
3425
  Wn as useListRead,
3415
- ms as useListSearch,
3416
- vs as useListSelect,
3426
+ ws as useListSearch,
3427
+ Es as useListSelect,
3417
3428
  qn as useListState,
3418
3429
  Xn as useLogger,
3419
- us as useManagerState,
3430
+ ds as useManagerState,
3420
3431
  cn as useSocket,
3421
- hs as useTableRequest,
3422
- fs as useTableState,
3423
- Ms as useWizard,
3432
+ ps as useTableRequest,
3433
+ hs as useTableState,
3434
+ Us as useWizard,
3424
3435
  ei as utils,
3425
- Ts as viewService
3436
+ Ss as viewService
3426
3437
  };
3427
3438
  //# sourceMappingURL=eservices-core.es.js.map