eservices-core 1.3.76 → 1.3.78

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.
@@ -1,12 +1,12 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('*{--extra-fast:.1s;--fast:.2s;--medium:.3s;box-sizing:border-box;--primary: #3949ab }html,body,#app{height:100%}body{margin:0}ul{text-align:left}.flex{display:flex}.flex_column{display:flex;flex-direction:column}.flex_center{display:flex;align-items:center;justify-content:center}.flex_full,.flex_grow{flex-grow:1}.flex-align_center{align-items:center}.grid{display:grid}.grid-center{display:grid;place-content:center}.link{text-decoration:var(--link-decoration);color:var(--link-color)}.link_hover-underline:hover,.link_hover_underline:hover{text-decoration:underline}.link_full{position:absolute;height:100%;width:100%;left:0;top:0}.text_sm{font-weight:400;font-size:12px;line-height:16px}.text_md{font-size:14px;line-height:20px}.text_lg{font-size:16px;line-height:24px}.text_size_xxl{font-size:18px;line-height:25px}.text_bold{font-weight:600}.text_nowrap{white-space:nowrap}.text_right{text-align:right}.text_center{text-align:center}.text_size_sm{font-size:12px;line-height:130%}.text_size_md{font-size:14px;line-height:140%}.text_error{color:red}.text_overflow{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.title_sm{font-weight:600;font-size:16px;line-height:24px}.title_md{font-weight:600;font-size:24px;line-height:32px}.title_lg{font-weight:700;font-size:32px;line-height:48px}.title_xxl,.title_xl{font-weight:700;font-size:48px;line-height:64px}.cursor_pointer{cursor:pointer}.cursor_default{cursor:default}button{outline:none;-webkit-user-select:none;user-select:none;transition:background-color .2s}.button{display:flex;align-items:center;justify-content:center;outline:none}.button_main{background-color:var(--button-background);color:var(--button-color)}.button_main:focus{background-color:var(--button-background-active)}.button_main:active{background-color:var(--button-background-active)}.button_white{background-color:var(--white);color:var(--main)}.button_sm{height:30px;width:130px}.button_shadow{box-shadow:0 2px 4px #00000040}.button_lg{font-weight:600;font-size:16px;line-height:24px;padding:12px 0;height:50px;width:200px}.button_disabled{background-color:var(--gray-1)}.button_resolve{background-color:var(--main);color:var(--white);border-radius:2px}.button_reject{border:1px solid var(--color-dark);border-radius:2px}.button_md{height:30px;padding:0 10px;min-width:80px}.button_disabled{background-color:var(--button-disabled-background-color);cursor:pointer!important}.color_main,.color__text_main{color:var(--main)}.color__text_black{color:var(--black-1)}.color__text_gray{color:var(--text-gray)}.color__text_red,.color_red{color:var(--red)}.color__text_white{color:var(--white)}.background_orange{background-color:var(--orange)}.background_red{background-color:var(--red)}.color_dark{color:var(--dark)}.color_light{color:var(--light)}.move-vertical-enter-active,.move-vertical-leave-active{transition:transform .5s ease}.move-vertical-enter-from,.move-vertical-leave-to{transform:translateY(-10px)}.move-horizontal-enter-active,.move-horizontal-leave-active{transition:transform .5s}.move-horizontal-enter-from,.move-horizontal-leave-to{transform:translate(-40px)}.modal-vertical-enter-active,.modal-vertical-leave-active,.modal-default{transition:transform var(--medium)}.modal-vertical-enter-active .modal-default,.modal-vertical-leave-active .modal-default{transform:translateY(-100px)}.move-vertical-fast-enter-active,.move-vertical-fast-leave-active{transition:transform var(--fast) ease}.move-vertical-fast-enter-from,.move-vertical-fast-leave-to{transform:translateY(-20px)}.slide-up-enter-active,.slide-up-leave-active{transition:transform var(--fast) ease,opacity var(--fast)}.slide-up-enter-from,.slide-up-leave-to{transform:translateY(20px);opacity:0}.opacity-enter-active,.opacity-leave-active{transition:opacity var(--fast) ease}.opacity-enter-from,.opacity-leave-to{opacity:0}.list-move,.list-enter-active,.list-leave-active{transition:all .5s ease}.list-enter-from,.list-leave-to{opacity:0;transform:translate(30px)}.list-leave-active{position:absolute}.modal-default{background-color:var(--white);position:relative;z-index:1;width:auto;background:var(--white);border-radius:var(--border-radius)}.modal-default__head{background-color:var(--black-1);text-align:center;padding:5px 0;border-radius:6px 6px 0 0}.modal-default__body{gap:20px;padding:0 15px}.modal-default__foot{padding:30px 0;display:flex;justify-content:center}.hint-tooltip{display:block;z-index:222;margin:auto;pointer-events:none;box-shadow:0 0 0 9999px #00000080}.tooltip-help-circle-in,.tooltip-help-circle-out{border-radius:50%}.tooltip-help-undefined{border-radius:50px}.tooltip-card{position:fixed;z-index:315;display:flex;flex-direction:column;width:480px;height:fit-content;margin:auto;border-radius:10px;background-color:var(--hint-background);cursor:default}.tooltip-card__foot{display:flex;justify-content:space-between;align-items:center;background-color:var(--hint-background-navigation);border-radius:10px;padding:20px}.tooltip-card__foot-current{font-weight:600;font-size:20px;line-height:24px;color:var(--white)}.tooltip-card__body{position:relative;display:flex;flex-direction:column;gap:8px;padding:20px 20px 10px}.tooltip-card__body-title{font-weight:700;font-size:20px;line-height:24px;color:var(--white)}.tooltip-card__body-text{font-size:16px;line-height:24px;color:var(--white)}.tooltip-card__foot-button_back{background-color:var(--main-1)}.tooltip-card__foot-button_next{background-color:var(--hint)}.tooltip-card__body-close{position:absolute;right:22px;top:12px;width:20px;height:16px;opacity:.3;cursor:pointer}.tooltip-card__body-close:hover{opacity:1}.tooltip-card__body-close:before,.tooltip-card__body-close:after{position:absolute;left:15px;content:" ";height:21px;width:2px;background-color:#fff}.tooltip-card__body-close:before{transform:rotate(45deg)}.tooltip-card__body-close:after{transform:rotate(-45deg)}.tooltip-card-container-wrap{pointer-events:none;position:absolute;left:0;top:0;z-index:123132;height:100%;width:100%}.tooltip-card-container-wrap>div{height:100%;width:100%;display:flex;justify-content:center;align-items:center}.tester-box-tooltip{pointer-events:all}.position_relative{position:relative}.position_absolute{position:absolute}.gap_5{gap:5px}.gap_10{gap:10px}.gap_15{gap:15px}.gap_20{gap:20px}.margin-0,.margin_0{margin:0}.widget-input{background-color:var(--input-background);border:var(--input-border);border-radius:var(--input-border-radius);color:var(--input-color)}.widget-input:disabled{background-color:var(--input-background-disabled);border:var(--input-border-disabled)}.widget-input[error=true]{border:var(--input-border-error)}.widget-input::placeholder{color:var(--input-placeholder-color)}.widget-input:disabled::placeholder{color:var(--input-placeholder-color-disabled)}.input_error{border:1px solid red!important}.input_size_md{height:var(--input-height)}.input-title{font-size:12px;line-height:16px;color:#667085;margin:4px 0}.widget-table{border-collapse:collapse}.widget-table_mini p{margin:0}.list-cell-link>a{position:absolute;left:0;top:0;z-index:1;height:100%;width:100%;cursor:pointer}.list-cell-link>p{font-weight:500}.widget-table__cell{padding:0 20px;font-weight:400;font-size:14px;line-height:19px;color:#4f4f4f}.widget-table-cell_use{cursor:pointer}.widget-table-cell_select{width:min-content}.table-cell-toggle{--border-color: black;position:relative;display:grid;place-content:center;border:1px solid var(--border-color);height:15px;aspect-ratio:1 / 1;border-radius:50%}.table-cell-toggle_active:after{content:"";border-radius:50%;background-color:var(--border-color);height:9px;aspect-ratio:1/1}.widget-table-cell_number{text-align:right}.overflow_auto{overflow:auto}.overflow_hidden{overflow:hidden}.padding_5{padding:5px}.padding_10{padding:10px}.padding_0{padding:0}.padding_15{padding:15px}.padding_20{padding:20px}.es-list-container{overflow:auto}.radius_5{border-radius:5px}.radius_10{border-radius:10px}.radius_15{border-radius:15px}.radius_20{border-radius:20px}.widget-table__head-cell[data-v-25198f4a]{padding:18px;text-align:start}.widget-table__head-label[data-v-25198f4a]{font-weight:600;font-size:14px;line-height:19px}[dir=rtl] .icon[data-v-e287c8d9]{transform:scaleX(-1)}.widget-spinner[data-v-0ef9ae88],.widget-spinner[data-v-0ef9ae88]:after{border-radius:50%;width:14px;height:14px}.widget-spinner[data-v-0ef9ae88]{font-size:2px;position:relative;text-indent:-9999em;border-top:1.1em solid rgba(255,255,255,.2);border-right:1.1em solid rgba(255,255,255,.2);border-bottom:1.1em solid rgba(255,255,255,.2);border-left:1.1em solid #ffffff;transform:translateZ(0);animation:spinnerAnimation-0ef9ae88 1.1s infinite linear}@keyframes spinnerAnimation-0ef9ae88{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.widget-button[data-v-450dc564]{position:relative}.widget-button-spinner[data-v-450dc564]{position:absolute;top:0;bottom:0;left:5px;margin:auto}.widget-multi-button-wrap[data-v-a8d711d1]{--button-size: 40px;max-height:var(--button-size);z-index:1;width:fit-content}.widget-multi-button[data-v-a8d711d1]{grid-template-columns:1fr var(--button-size);background-color:var(--primary);grid-template-rows:var(--button-size);transition:var(--fast)}.widget-multi-button_active[data-v-a8d711d1]{grid-template-rows:calc(var(--button-size) * var(--7025434e))}.widget-multi-button-body[data-v-a8d711d1]{min-width:80px}.widget-multi-button-body-label[data-v-a8d711d1]{padding:10px 10px 10px 20px;color:#fff;transition:background-color var(--fast)}.widget-multi-button-body-label[data-v-a8d711d1]:hover{background-color:#223296}.widget-multi-button-side[data-v-a8d711d1]{height:var(--button-size);transition:transform var(--fast),background-color var(--fast);color:#fff}.widget-multi-button-side_active[data-v-a8d711d1]{transform:rotate(180deg)}.widget-multi-button-side[data-v-a8d711d1]:hover{background-color:#223296}tr[data-v-344a8cc1]{border:1px solid #F3F4FC;height:30px}th[data-v-344a8cc1],td[data-v-344a8cc1]{position:relative;padding:0 11px}th[data-v-344a8cc1]{text-align:left}p[data-v-344a8cc1]{margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.widget-list-head-cell[data-v-bf495d6a]{padding:0 0 0 10px;display:flex}.widget-list-head-cell[data-v-bf495d6a]:hover{box-shadow:0 -1px #e7f2ff}.list-head-cell-label[data-v-bf495d6a]{padding:5px 0;white-space:nowrap;cursor:pointer}.head-cell-order[data-v-bf495d6a]{position:absolute;inset-inline-end:22px;inset-block:0 0;margin:auto;font-size:14px;height:14px}.head-cell-order_down[data-v-bf495d6a]{transform:rotate(180deg)}.head-cell-resize[data-v-bf495d6a]{padding:3px 10px;cursor:col-resize;transition:background-color .1s}.head-cell-resize[data-v-bf495d6a]:hover{background-color:#f5f5f5}.head-cell-resize[data-v-bf495d6a]:after{content:"";margin:auto;width:1px;height:100%;display:block;background-color:#d2d2d2}.widget-list-head[data-v-ccffc6bd]{position:sticky;top:-1px;z-index:1}.test-block[data-v-ccffc6bd]{position:absolute;z-index:2;display:none;height:calc(100% + 1px);place-content:center;inset-block-start:-1px;padding-inline:10px;background-color:#e7f2ff;-webkit-user-select:none;user-select:none;white-space:nowrap}.widget-list-head th[data-v-ccffc6bd]{position:sticky;top:0;z-index:2;-webkit-user-select:none;user-select:none}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import { reactive as $, defineComponent as D, openBlock as g, createElementBlock as v, Fragment as se, renderList as _e, createElementVNode as A, toDisplayString as Ee, h as P, ref as G, onMounted as Qe, createBlock as V, resolveDynamicComponent as Bt, mergeProps as wt, useSlots as zt, computed as ne, createVNode as Pe, normalizeClass as Le, createCommentVNode as ae, unref as B, normalizeStyle as _t, renderSlot as Kt, useCssVars as Yt, withCtx as vt, createTextVNode as Tt, withModifiers as Jt, pushScopeId as Ht, popScopeId as Xt, inject as Ze, provide as et, readonly as Qt } from "vue";
3
- import { utils as te, FormField as ze, Form as Ct } from "jenesius-vue-form";
2
+ import { reactive as $, defineComponent as D, openBlock as g, createElementBlock as v, Fragment as se, renderList as _e, createElementVNode as A, toDisplayString as Ee, h as P, ref as G, onMounted as Ze, createBlock as V, resolveDynamicComponent as Bt, mergeProps as wt, useSlots as zt, computed as ne, createVNode as Pe, normalizeClass as Le, createCommentVNode as ae, unref as B, normalizeStyle as _t, renderSlot as Kt, useCssVars as Yt, withCtx as vt, createTextVNode as Tt, withModifiers as Jt, pushScopeId as Ht, popScopeId as Xt, inject as xe, provide as et, readonly as Qt } from "vue";
3
+ import { utils as te, FormField as Ke, Form as Ct } from "jenesius-vue-form";
4
4
  import { RouterLink as Zt, useRouter as en } from "vue-router";
5
5
  import tt from "debug";
6
6
  import tn from "date-and-time";
7
7
  import { getComponentFromStore as St, pushModal as At } from "jenesius-vue-modal";
8
8
  /*!
9
- * eservices-core v1.3.76
9
+ * eservices-core v1.3.78
10
10
  * (c) 2024 ESERVICES
11
11
  */
12
12
  function nn(n, e) {
@@ -27,7 +27,7 @@ const on = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27
27
  }, Symbol.toStringTag, { value: "Module" })), sn = {
28
28
  inputs: on
29
29
  };
30
- function xe(n, e) {
30
+ function Me(n, e) {
31
31
  if (typeof n != "object" || n === null)
32
32
  return;
33
33
  if (e in n)
@@ -35,7 +35,7 @@ function xe(n, e) {
35
35
  let t = e.indexOf(".");
36
36
  if (t > -1) {
37
37
  const r = e.substring(0, t);
38
- return r in n ? xe(n[r], e.substr(t + 1)) : void 0;
38
+ return r in n ? Me(n[r], e.substr(t + 1)) : void 0;
39
39
  }
40
40
  return n[e];
41
41
  }
@@ -170,8 +170,8 @@ const ln = new class {
170
170
  */
171
171
  add(e, t, { children: r, timeout: i = 10, click: o = () => {
172
172
  } } = {}) {
173
- const l = new un(e, t, i, r || [], o);
174
- return this.store.push(l), i && setTimeout(this.remove.bind(this, l.id), i * 1e3), l;
173
+ const c = new un(e, t, i, r || [], o);
174
+ return this.store.push(c), i && setTimeout(this.remove.bind(this, c.id), i * 1e3), c;
175
175
  }
176
176
  /**
177
177
  * @description Function remove item by id. Return true if card was founded, otherwise false.
@@ -246,14 +246,14 @@ F.events = {};
246
246
  var kt = (n, e, t) => {
247
247
  if (!e.has(n))
248
248
  throw TypeError("Cannot " + t);
249
- }, Ce = (n, e, t) => (kt(n, e, "read from private field"), t ? t.call(n) : e.get(n)), We = (n, e, t) => {
249
+ }, Ce = (n, e, t) => (kt(n, e, "read from private field"), t ? t.call(n) : e.get(n)), qe = (n, e, t) => {
250
250
  if (e.has(n))
251
251
  throw TypeError("Cannot add the same private member more than once");
252
252
  e instanceof WeakSet ? e.add(n) : e.set(n, t);
253
- }, qe = (n, e, t, r) => (kt(n, e, "write to private field"), r ? r.call(n, t) : e.set(n, t), t), fe, Se, Ae;
253
+ }, Ge = (n, e, t, r) => (kt(n, e, "write to private field"), r ? r.call(n, t) : e.set(n, t), t), fe, Se, Ae;
254
254
  const re = class O extends F {
255
255
  constructor() {
256
- super(...arguments), We(this, fe, void 0), We(this, Se, "front"), this.organizations = [], We(this, Ae, !1);
256
+ super(...arguments), qe(this, fe, void 0), qe(this, Se, "front"), this.organizations = [], qe(this, Ae, !1);
257
257
  }
258
258
  set language(e) {
259
259
  localStorage.setItem(O.LOCALSTORAGE_LANGUAGE_KEY, e);
@@ -273,7 +273,7 @@ const re = class O extends F {
273
273
  return ((e = this.person) == null ? void 0 : e.id) === this.contextId ? "person" : "organization";
274
274
  }
275
275
  set router(e) {
276
- qe(this, fe, e);
276
+ Ge(this, fe, e);
277
277
  }
278
278
  /**
279
279
  * @description VueRouter of Application
@@ -284,7 +284,7 @@ const re = class O extends F {
284
284
  return Ce(this, fe);
285
285
  }
286
286
  set type(e) {
287
- qe(this, Se, e);
287
+ Ge(this, Se, e);
288
288
  }
289
289
  get type() {
290
290
  return Ce(this, Se);
@@ -296,7 +296,7 @@ const re = class O extends F {
296
296
  return this.type === "front";
297
297
  }
298
298
  set ready(e) {
299
- qe(this, Ae, e), this.emit(O.EVENT_READY_UPDATE, e);
299
+ Ge(this, Ae, e), this.emit(O.EVENT_READY_UPDATE, e);
300
300
  }
301
301
  get ready() {
302
302
  return Ce(this, Ae);
@@ -397,7 +397,7 @@ function y(n, e = {}) {
397
397
  return r;
398
398
  }));
399
399
  }
400
- class Me {
400
+ class Ue {
401
401
  constructor() {
402
402
  }
403
403
  /**
@@ -407,11 +407,11 @@ class Me {
407
407
  *
408
408
  * */
409
409
  static parseNamesFromListConfig(e) {
410
- let t = Me.parseFieldsToGraphQL(e.reduce((i, o) => (o.name && i.push(o.name), i), []));
410
+ let t = Ue.parseFieldsToGraphQL(e.reduce((i, o) => (o.name && i.push(o.name), i), []));
411
411
  function r(i) {
412
412
  let o = "";
413
- for (let l in i)
414
- typeof i[l] == "boolean" ? o += ` ${l} ` : o += ` ${l} { ${r(i[l])} }`;
413
+ for (let c in i)
414
+ typeof i[c] == "boolean" ? o += ` ${c} ` : o += ` ${c} { ${r(i[c])} }`;
415
415
  return o;
416
416
  }
417
417
  return r(t);
@@ -425,8 +425,8 @@ class Me {
425
425
  static parseFieldsToGraphQL(e) {
426
426
  function t(r, i) {
427
427
  if (i.includes(".")) {
428
- const o = i.indexOf("."), l = i.substring(o + 1), s = i.substring(0, o);
429
- s in r || (r[s] = {}), t(r[s], l);
428
+ const o = i.indexOf("."), c = i.substring(o + 1), s = i.substring(0, o);
429
+ s in r || (r[s] = {}), t(r[s], c);
430
430
  } else
431
431
  r[i] = !0;
432
432
  return r;
@@ -486,27 +486,27 @@ function gn(n, e = 2) {
486
486
  const yn = {
487
487
  Request: y,
488
488
  clickOutside: nt,
489
- getPropFromObject: xe,
489
+ getPropFromObject: Me,
490
490
  runPromiseQueue: It,
491
- GraphQL: Me,
491
+ GraphQL: Ue,
492
492
  firstChapterToLowerCase: Pt,
493
493
  valuesToUpperCase: rt,
494
494
  prettyMoney: gn
495
495
  }, mn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
496
496
  __proto__: null,
497
- GraphQL: Me,
497
+ GraphQL: Ue,
498
498
  Journal: hn,
499
499
  Request: y,
500
500
  clickOutside: nt,
501
501
  default: yn,
502
502
  firstChapterToLowerCase: Pt,
503
- getPropFromObject: xe,
503
+ getPropFromObject: Me,
504
504
  runPromiseQueue: It,
505
505
  valuesToUpperCase: rt
506
506
  }, Symbol.toStringTag, { value: "Module" })), En = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
507
507
  __proto__: null
508
508
  }, Symbol.toStringTag, { value: "Module" }));
509
- class Zr {
509
+ class ei {
510
510
  static readHistoryById(e, t) {
511
511
  return y(`/close-api/audits/history/${e}/${t}`, {
512
512
  method: "GET",
@@ -517,14 +517,14 @@ class Zr {
517
517
  const i = r.history.map((o) => {
518
518
  if (!o.changes)
519
519
  return o;
520
- const l = o.changes.map((s) => ({
520
+ const c = o.changes.map((s) => ({
521
521
  ...s,
522
522
  oldValue: s.originalValue,
523
523
  name: s.fieldName
524
524
  }));
525
525
  return {
526
526
  ...o,
527
- changes: l
527
+ changes: c
528
528
  };
529
529
  });
530
530
  return {
@@ -534,7 +534,7 @@ class Zr {
534
534
  });
535
535
  }
536
536
  }
537
- class ei {
537
+ class ti {
538
538
  /**
539
539
  * @description Загрузка словаря для определённого языка.
540
540
  * */
@@ -579,37 +579,37 @@ const wn = function() {
579
579
  function t() {
580
580
  return n;
581
581
  }
582
- function r(c, u) {
583
- t() && console[c](...u), e.push(u);
582
+ function r(l, u) {
583
+ t() && console[l](...u), e.push(u);
584
584
  }
585
- function i(...c) {
586
- r("log", c);
585
+ function i(...l) {
586
+ r("log", l);
587
587
  }
588
- function o(...c) {
589
- r("warn", c);
588
+ function o(...l) {
589
+ r("warn", l);
590
590
  }
591
- function l(...c) {
592
- r("error", c);
591
+ function c(...l) {
592
+ r("error", l);
593
593
  }
594
- function s(c = !0) {
595
- n = c;
594
+ function s(l = !0) {
595
+ n = l;
596
596
  }
597
597
  return {
598
598
  info: i,
599
599
  warn: o,
600
600
  history: e,
601
601
  display: s,
602
- error: l
602
+ error: c
603
603
  };
604
604
  }();
605
- function ti() {
605
+ function ni() {
606
606
  return wn;
607
607
  }
608
608
  function _n(n) {
609
609
  return Array.isArray(n) && n.length === 2 && typeof n[0] == "string" && typeof n[1] == "number";
610
610
  }
611
611
  const vn = "masterId", Tn = "masterEntity";
612
- function Ke(n, e) {
612
+ function Ye(n, e) {
613
613
  if (!Array.isArray(e))
614
614
  return;
615
615
  if (_n(e))
@@ -640,8 +640,8 @@ class be {
640
640
  }
641
641
  if (e.order) {
642
642
  let i = e.order;
643
- const l = (Array.isArray(i) ? [i] : Object.entries(i)).map(([s, c = "desc"]) => `@${s} ${c}`).join(",");
644
- t("order", l);
643
+ const c = (Array.isArray(i) ? [i] : Object.entries(i)).map(([s, l = "desc"]) => `@${s} ${l}`).join(",");
644
+ t("order", c);
645
645
  }
646
646
  return e.limit && t("limit", e.limit.toString()), e.offset && t("offset", e.offset.toString()), e.filter && t("filter", e.filter.toString()), e.useUsageContext && r.append("useUsageContext", e.useUsageContext.toString()), r;
647
647
  }
@@ -674,7 +674,7 @@ class be {
674
674
  * */
675
675
  static create(e, t, r) {
676
676
  const i = new URLSearchParams();
677
- return Ke(i, r == null ? void 0 : r.masterEntities), y(`/close-api/data/${e}?${i.toString()}`, {
677
+ return Ye(i, r == null ? void 0 : r.masterEntities), y(`/close-api/data/${e}?${i.toString()}`, {
678
678
  method: "POST",
679
679
  headers: {
680
680
  "Content-Type": "application/json"
@@ -720,7 +720,7 @@ class be {
720
720
  }
721
721
  static updateById(e, t, r, i) {
722
722
  const o = new URLSearchParams();
723
- return Ke(o, i == null ? void 0 : i.masterEntities), y(`/close-api/data/entities/${e}/id/${t}?${o.toString()}`, {
723
+ return Ye(o, i == null ? void 0 : i.masterEntities), y(`/close-api/data/entities/${e}/id/${t}?${o.toString()}`, {
724
724
  method: "PUT",
725
725
  headers: {
726
726
  "Content-Type": "application/json"
@@ -792,7 +792,7 @@ const Lt = class pe {
792
792
  }
793
793
  };
794
794
  Lt.url = "/close-api/communications";
795
- let ni = Lt;
795
+ let ri = Lt;
796
796
  function gt(n) {
797
797
  return {
798
798
  ...n,
@@ -831,8 +831,8 @@ const $t = class Ie {
831
831
  }
832
832
  };
833
833
  $t.url = "/close-api/views/process-wizard";
834
- let Ge = $t;
835
- class ri {
834
+ let Be = $t;
835
+ class ii {
836
836
  static async upload(e, t) {
837
837
  const r = new FormData();
838
838
  r.append("file", e);
@@ -843,7 +843,7 @@ class ri {
843
843
  }).then((o) => o.json()).then((o) => (o.filename = e.name, o));
844
844
  }
845
845
  }
846
- class ii {
846
+ class oi {
847
847
  static invite(e, t, r) {
848
848
  return y("/close-api/accounts/invitePerson", {
849
849
  method: "POST",
@@ -895,7 +895,7 @@ class Dt {
895
895
  });
896
896
  }
897
897
  }
898
- class oi {
898
+ class si {
899
899
  static getConfiguration() {
900
900
  return y("/open-api/webserver-configuration", {
901
901
  method: "GET",
@@ -983,13 +983,13 @@ function Ln(n, e, t) {
983
983
  onClick: [],
984
984
  class: ["widget-table__cell widget-table-cell"]
985
985
  };
986
- function l(f) {
987
- o.onClick.push(() => f(r));
986
+ function c(p) {
987
+ o.onClick.push(() => p(r));
988
988
  }
989
- function s(f) {
990
- Array.isArray(f) ? o.class.push(...f) : o.class.push(f);
989
+ function s(p) {
990
+ Array.isArray(p) ? o.class.push(...p) : o.class.push(p);
991
991
  }
992
- const c = [], u = [];
992
+ const l = [], u = [];
993
993
  if (n.hide && n.hide(r))
994
994
  return [P("td")];
995
995
  if (n.type)
@@ -1012,38 +1012,38 @@ function Ln(n, e, t) {
1012
1012
  break;
1013
1013
  }
1014
1014
  case "multi-select": {
1015
- u.push(P(ze, {
1015
+ u.push(P(Ke, {
1016
1016
  type: "single-checkbox",
1017
1017
  modelValue: e.selected
1018
- })), l(yt.bind(null, t, !0));
1018
+ })), c(yt.bind(null, t, !0));
1019
1019
  break;
1020
1020
  }
1021
1021
  case "select": {
1022
- u.push(P(ze, {
1022
+ u.push(P(Ke, {
1023
1023
  type: "single-radio",
1024
1024
  modelValue: e.selected
1025
- })), l(yt.bind(null, t, !1));
1025
+ })), c(yt.bind(null, t, !1));
1026
1026
  break;
1027
1027
  }
1028
1028
  }
1029
- if (n.onClick && l(n.onClick), n.link)
1029
+ if (n.onClick && c(n.onClick), n.link)
1030
1030
  try {
1031
- const f = n.link(r);
1032
- if (f) {
1033
- const C = P(Zt, { to: f });
1031
+ const p = n.link(r);
1032
+ if (p) {
1033
+ const C = P(Zt, { to: p });
1034
1034
  u.push(C), s("widget-table-cell_link");
1035
1035
  }
1036
- } catch (f) {
1037
- kn("Can't add router link", f);
1036
+ } catch (p) {
1037
+ kn("Can't add router link", p);
1038
1038
  }
1039
1039
  if (n.href && (u.push(P("a", {
1040
1040
  href: n.href(r),
1041
1041
  target: "_blank"
1042
1042
  })), s("widget-table-cell_link")), typeof i == "boolean" && (i = i ? "✓" : "—"), (typeof i == "string" || typeof i == "number") && u.push(P("p", { class: "widget-list-cell-text" }, i)), n.icon && (typeof n.icon == "string" && u.push(P($e, { name: n.icon })), typeof n.icon == "function")) {
1043
- const f = n.icon(r);
1044
- f !== null && u.push(P($e, { name: f }));
1043
+ const p = n.icon(r);
1044
+ p !== null && u.push(P($e, { name: p }));
1045
1045
  }
1046
- return n.class && (typeof n.class == "function" ? s(n.class(r)) : s(n.class)), c.push(P("td", o, u)), c;
1046
+ return n.class && (typeof n.class == "function" ? s(n.class(r)) : s(n.class)), l.push(P("td", o, u)), l;
1047
1047
  }
1048
1048
  function yt(n, e) {
1049
1049
  n.emit("select", e);
@@ -1075,7 +1075,7 @@ const $n = {
1075
1075
  emits: ["save", "close"],
1076
1076
  setup(n, { emit: e }) {
1077
1077
  const t = G();
1078
- return Qe(() => {
1078
+ return Ze(() => {
1079
1079
  setTimeout(() => {
1080
1080
  t.value && t.value.scrollIntoView({ block: "nearest", inline: "nearest", behavior: "smooth" });
1081
1081
  }, 250);
@@ -1109,7 +1109,7 @@ const $n = {
1109
1109
  TIME_TO_LIVE_SOCKET_REQUEST: 15e3,
1110
1110
  MODAL_VALIDATION_EFFECT: "validation-effect",
1111
1111
  MODAL_CONFIRM: "confirm"
1112
- }, xn = { class: "widget-table" }, Et = "update:selectedRows", si = /* @__PURE__ */ D({
1112
+ }, xn = { class: "widget-table" }, Et = "update:selectedRows", ai = /* @__PURE__ */ D({
1113
1113
  __name: "widget-table",
1114
1114
  props: {
1115
1115
  array: {},
@@ -1124,22 +1124,22 @@ const $n = {
1124
1124
  var s;
1125
1125
  return (s = r == null ? void 0 : r.default) == null ? void 0 : s.call(r)[0];
1126
1126
  });
1127
- function o(s, c = !0) {
1127
+ function o(s, l = !0) {
1128
1128
  if (!t.selectedRows)
1129
1129
  return;
1130
- if (!c)
1130
+ if (!l)
1131
1131
  return e(Et, t.selectedRows.includes(s) ? [] : [s]);
1132
- const u = [...t.selectedRows], f = u.indexOf(s);
1133
- return f === -1 ? u.push(s) : u.splice(f, 1), e(Et, u);
1132
+ const u = [...t.selectedRows], p = u.indexOf(s);
1133
+ return p === -1 ? u.push(s) : u.splice(p, 1), e(Et, u);
1134
1134
  }
1135
- function l(s) {
1135
+ function c(s) {
1136
1136
  e("save", s), e("update:activeRow", null);
1137
1137
  }
1138
- return (s, c) => (g(), v("div", null, [
1138
+ return (s, l) => (g(), v("div", null, [
1139
1139
  A("table", xn, [
1140
1140
  Pe(bn, { config: s.config }, null, 8, ["config"]),
1141
1141
  A("tbody", null, [
1142
- (g(!0), v(se, null, _e(s.array, (u, f) => (g(), v(se, { key: f }, [
1142
+ (g(!0), v(se, null, _e(s.array, (u, p) => (g(), v(se, { key: p }, [
1143
1143
  Pe($n, {
1144
1144
  config: s.config,
1145
1145
  values: u,
@@ -1152,8 +1152,8 @@ const $n = {
1152
1152
  component: i.value,
1153
1153
  "row-length": s.config.length,
1154
1154
  values: u,
1155
- onClose: c[0] || (c[0] = (C) => e("update:activeRow", null)),
1156
- onSave: l,
1155
+ onClose: l[0] || (l[0] = (C) => e("update:activeRow", null)),
1156
+ onSave: c,
1157
1157
  "is-new": !1
1158
1158
  }, null, 8, ["component", "row-length", "values"])) : ae("", !0)
1159
1159
  ], 64))), 128)),
@@ -1161,8 +1161,8 @@ const $n = {
1161
1161
  key: 0,
1162
1162
  component: i.value,
1163
1163
  "row-length": s.config.length,
1164
- onClose: c[1] || (c[1] = (u) => e("update:activeRow", null)),
1165
- onSave: l,
1164
+ onClose: l[1] || (l[1] = (u) => e("update:activeRow", null)),
1165
+ onSave: c,
1166
1166
  "is-new": !0
1167
1167
  }, null, 8, ["component", "row-length"])) : ae("", !0)
1168
1168
  ])
@@ -1196,7 +1196,7 @@ const ot = /* @__PURE__ */ Y(Mn, [["__scopeId", "data-v-0ef9ae88"]]), Un = { cla
1196
1196
  ]));
1197
1197
  }
1198
1198
  });
1199
- const ai = /* @__PURE__ */ Y(Fn, [["__scopeId", "data-v-450dc564"]]), Vn = { class: "widget-multi-button-wrap position_relative cursor_pointer" }, jn = { class: "widget-multi-button-body grid" }, Wn = ["onClick"], qn = { class: "widget-multi-button-side-wrap" }, Gn = /* @__PURE__ */ D({
1199
+ const ci = /* @__PURE__ */ Y(Fn, [["__scopeId", "data-v-450dc564"]]), Vn = { class: "widget-multi-button-wrap position_relative cursor_pointer" }, jn = { class: "widget-multi-button-body grid" }, Wn = ["onClick"], qn = { class: "widget-multi-button-side-wrap" }, Gn = /* @__PURE__ */ D({
1200
1200
  __name: "widget-multi-button",
1201
1201
  props: {
1202
1202
  label: {},
@@ -1204,49 +1204,49 @@ const ai = /* @__PURE__ */ Y(Fn, [["__scopeId", "data-v-450dc564"]]), Vn = { cla
1204
1204
  },
1205
1205
  setup(n) {
1206
1206
  const e = n;
1207
- Yt((l) => ({
1207
+ Yt((c) => ({
1208
1208
  "7025434e": r.value
1209
1209
  }));
1210
1210
  const t = $({
1211
1211
  active: !1,
1212
1212
  wait: !1
1213
1213
  }), r = ne(() => e.array.length + (e.label ? 1 : 0));
1214
- function i(l) {
1215
- if (!(typeof l != "function" || t.wait))
1216
- return t.wait = !0, Promise.resolve().then(l).finally(() => {
1214
+ function i(c) {
1215
+ if (!(typeof c != "function" || t.wait))
1216
+ return t.wait = !0, Promise.resolve().then(c).finally(() => {
1217
1217
  t.wait = !1;
1218
1218
  });
1219
1219
  }
1220
- function o(l = !t.active) {
1221
- t.active = l;
1220
+ function o(c = !t.active) {
1221
+ t.active = c;
1222
1222
  }
1223
- return (l, s) => (g(), v("div", Vn, [
1223
+ return (c, s) => (g(), v("div", Vn, [
1224
1224
  A("div", {
1225
1225
  class: Le(["overflow_hidden radius_20 widget-multi-button grid", t.active ? "widget-multi-button_active" : null])
1226
1226
  }, [
1227
1227
  A("div", jn, [
1228
- l.label ? (g(), v("p", {
1228
+ c.label ? (g(), v("p", {
1229
1229
  key: 0,
1230
1230
  class: "text_md margin_0 text_nowrap widget-multi-button-body-label",
1231
- onClick: s[0] || (s[0] = (c) => o())
1232
- }, Ee(l.label), 1)) : ae("", !0),
1233
- (g(!0), v(se, null, _e(l.array, (c, u) => (g(), v("p", {
1231
+ onClick: s[0] || (s[0] = (l) => o())
1232
+ }, Ee(c.label), 1)) : ae("", !0),
1233
+ (g(!0), v(se, null, _e(c.array, (l, u) => (g(), v("p", {
1234
1234
  class: "text_md margin_0 text_nowrap widget-multi-button-body-label",
1235
1235
  key: u,
1236
- onClick: (f) => {
1237
- i(c.callback), o(!1);
1236
+ onClick: (p) => {
1237
+ i(l.callback), o(!1);
1238
1238
  }
1239
- }, Ee(c.label), 9, Wn))), 128))
1239
+ }, Ee(l.label), 9, Wn))), 128))
1240
1240
  ]),
1241
1241
  A("div", qn, [
1242
1242
  A("div", {
1243
1243
  class: Le(["grid-center widget-multi-button-side", t.active ? "widget-multi-button-side_active" : null]),
1244
- onClick: s[1] || (s[1] = (c) => o())
1244
+ onClick: s[1] || (s[1] = (l) => o())
1245
1245
  }, [
1246
1246
  t.wait ? (g(), V(B(ot), {
1247
1247
  key: 0,
1248
1248
  class: "widget-multi-button-side-spinner"
1249
- })) : l.array.length > 1 ? (g(), V(B($e), {
1249
+ })) : c.array.length > 1 ? (g(), V(B($e), {
1250
1250
  key: 1,
1251
1251
  class: "widget-multi-button-side-icon"
1252
1252
  }, {
@@ -1261,7 +1261,7 @@ const ai = /* @__PURE__ */ Y(Fn, [["__scopeId", "data-v-450dc564"]]), Vn = { cla
1261
1261
  ]));
1262
1262
  }
1263
1263
  });
1264
- const ci = /* @__PURE__ */ Y(Gn, [["__scopeId", "data-v-a8d711d1"]]), Bn = { class: "widget-loader flex flex-align_center gap_10 padding_15" }, zn = { class: "text_md" }, li = /* @__PURE__ */ D({
1264
+ const li = /* @__PURE__ */ Y(Gn, [["__scopeId", "data-v-a8d711d1"]]), Bn = { class: "widget-loader flex flex-align_center gap_10 padding_15" }, zn = { class: "text_md" }, ui = /* @__PURE__ */ D({
1265
1265
  __name: "widget-loader",
1266
1266
  props: {
1267
1267
  label: {}
@@ -1275,7 +1275,7 @@ const ci = /* @__PURE__ */ Y(Gn, [["__scopeId", "data-v-a8d711d1"]]), Bn = { cla
1275
1275
  A("span", zn, Ee(e.label), 1)
1276
1276
  ]));
1277
1277
  }
1278
- }), Kn = ["alt", "src"], ui = /* @__PURE__ */ D({
1278
+ }), Kn = ["alt", "src"], di = /* @__PURE__ */ D({
1279
1279
  __name: "widget-image",
1280
1280
  props: {
1281
1281
  src: {},
@@ -1284,7 +1284,7 @@ const ci = /* @__PURE__ */ Y(Gn, [["__scopeId", "data-v-a8d711d1"]]), Bn = { cla
1284
1284
  },
1285
1285
  setup(n) {
1286
1286
  const e = n, t = G();
1287
- return Qe(() => {
1287
+ return Ze(() => {
1288
1288
  t.value && (t.value.src = e.src), t.value.onerror = function() {
1289
1289
  e.default && (t.value.src = e.default);
1290
1290
  };
@@ -1324,7 +1324,7 @@ const Jn = /* @__PURE__ */ Y(Yn, [["__scopeId", "data-v-344a8cc1"]]), Hn = (n) =
1324
1324
  class: "head-cell-content flex_grow",
1325
1325
  style: _t({ "min-width": r.minWidth, "max-width": r.maxWidth, width: r.width })
1326
1326
  }, [
1327
- r.type === "multi-select" ? (g(), V(B(ze), {
1327
+ r.type === "multi-select" ? (g(), V(B(Ke), {
1328
1328
  key: 0,
1329
1329
  type: "single-checkbox",
1330
1330
  onClick: i[0] || (i[0] = Jt((o) => e("select"), ["stop", "prevent"]))
@@ -1357,8 +1357,8 @@ const er = /* @__PURE__ */ Y(Zn, [["__scopeId", "data-v-bf495d6a"]]), tr = /* @_
1357
1357
  emits: ["update:config", "update:order", "select"],
1358
1358
  setup(n, { emit: e }) {
1359
1359
  const t = n, r = G(), i = G();
1360
- Qe(() => {
1361
- function c(E, _) {
1360
+ Ze(() => {
1361
+ function l(E, _) {
1362
1362
  let d = -1;
1363
1363
  do
1364
1364
  d++, _ -= E[d];
@@ -1371,7 +1371,7 @@ const er = /* @__PURE__ */ Y(Zn, [["__scopeId", "data-v-bf495d6a"]]), tr = /* @_
1371
1371
  _ -= E[d], d++;
1372
1372
  return console.log(_, d), d > 0 ? d : 0;
1373
1373
  }
1374
- function f(E) {
1374
+ function p(E) {
1375
1375
  try {
1376
1376
  i.value.style.insetInlineStart = E + "px";
1377
1377
  } catch (_) {
@@ -1391,23 +1391,23 @@ const er = /* @__PURE__ */ Y(Zn, [["__scopeId", "data-v-bf495d6a"]]), tr = /* @_
1391
1391
  r.value.addEventListener("pointerdown", function(_) {
1392
1392
  var ct;
1393
1393
  function d(N) {
1394
- return N.screenX + p - I;
1394
+ return N.screenX + f - I;
1395
1395
  }
1396
- const m = r.value, a = [...m.children].filter((N) => N.localName === "th"), p = ((ct = m.offsetParent) == null ? void 0 : ct.scrollLeft) || 0, h = a.map((N) => N.clientWidth), x = R(_.target), I = m.getBoundingClientRect().left, ie = d(_), S = c(h, ie), J = h.slice(0, S).reduce((N, M) => N + M, 0), le = ie - J, Ve = m.offsetWidth, ue = a[S].clientWidth;
1396
+ const m = r.value, a = [...m.children].filter((N) => N.localName === "th"), f = ((ct = m.offsetParent) == null ? void 0 : ct.scrollLeft) || 0, h = a.map((N) => N.clientWidth), x = R(_.target), I = m.getBoundingClientRect().left, ie = d(_), S = l(h, ie), J = h.slice(0, S).reduce((N, M) => N + M, 0), le = ie - J, je = m.offsetWidth, ue = a[S].clientWidth;
1397
1397
  if (t.config[S].type === "multi-select")
1398
1398
  return;
1399
- console.group("START"), console.log(), console.log("Start screenX", _.screenX), console.log("Widths", h), console.log("max width", Ve), console.log("Start Position", ie), console.log("Position From", S), console.log("Start Position", S), console.log("Global offset (Отступ самой таблицы от края экрана)", I), console.log("Del", le), console.groupEnd(), i.value.innerText = a[S].textContent || "", i.value.style.display = "grid", i.value.style.width = ue + "px", i.value.style.cursor = "grabbing", f(J), C(ue), document.addEventListener("pointermove", at, { passive: !0 }), document.addEventListener("pointerup", st);
1399
+ console.group("START"), console.log(), console.log("Start screenX", _.screenX), console.log("Widths", h), console.log("max width", je), console.log("Start Position", ie), console.log("Position From", S), console.log("Start Position", S), console.log("Global offset (Отступ самой таблицы от края экрана)", I), console.log("Del", le), console.groupEnd(), i.value.innerText = a[S].textContent || "", i.value.style.display = "grid", i.value.style.width = ue + "px", i.value.style.cursor = "grabbing", p(J), C(ue), document.addEventListener("pointermove", at, { passive: !0 }), document.addEventListener("pointerup", st);
1400
1400
  function st(N) {
1401
1401
  if (console.group("END"), document.removeEventListener("pointermove", at), document.removeEventListener("pointerup", st), x && (t.config[S].width = i.value.style.width, t.config[S].minWidth = i.value.style.width, t.config[S].maxWidth = i.value.style.width, o(t.config)), !x) {
1402
- const M = N.screenX + p - I;
1402
+ const M = N.screenX + f - I;
1403
1403
  console.log("ENP Position", M);
1404
1404
  const Te = u(h, M);
1405
1405
  if (console.log(S, "->", Te), Te !== S) {
1406
- const de = t.config[S], je = t.config;
1407
- je.splice(S, 1), je.splice(Te, 0, de), o(je);
1406
+ const de = t.config[S], We = t.config;
1407
+ We.splice(S, 1), We.splice(Te, 0, de), o(We);
1408
1408
  } else {
1409
1409
  const de = t.config[S].name;
1410
- l(de);
1410
+ c(de);
1411
1411
  }
1412
1412
  }
1413
1413
  i.value.style.display = "none", document.body.style.cursor = "unset", console.groupEnd();
@@ -1418,39 +1418,39 @@ const er = /* @__PURE__ */ Y(Zn, [["__scopeId", "data-v-bf495d6a"]]), tr = /* @_
1418
1418
  C(de);
1419
1419
  return;
1420
1420
  }
1421
- let M = N.screenX + p - I - le;
1422
- M < 0 && (M = 0), M + ue > Ve && (M = Ve - ue), f(M);
1421
+ let M = N.screenX + f - I - le;
1422
+ M < 0 && (M = 0), M + ue > je && (M = je - ue), p(M);
1423
1423
  }
1424
1424
  });
1425
1425
  });
1426
- function o(c) {
1427
- e("update:config", c);
1426
+ function o(l) {
1427
+ e("update:config", l);
1428
1428
  }
1429
- function l(c) {
1430
- if (!c)
1429
+ function c(l) {
1430
+ if (!l)
1431
1431
  return;
1432
- if (Array.isArray(c)) {
1433
- if (c.length < 1)
1432
+ if (Array.isArray(l)) {
1433
+ if (l.length < 1)
1434
1434
  return;
1435
- c = c[0];
1435
+ l = l[0];
1436
1436
  }
1437
- if (t.order.length === 0 || t.order[0] !== c)
1438
- return void s([c]);
1437
+ if (t.order.length === 0 || t.order[0] !== l)
1438
+ return void s([l]);
1439
1439
  const u = t.order.length === 1 || t.order[1] === "asc" ? "asc" : "desc";
1440
- s([c, u === "asc" ? "desc" : "asc"]);
1440
+ s([l, u === "asc" ? "desc" : "asc"]);
1441
1441
  }
1442
- function s(c) {
1443
- e("update:order", c);
1442
+ function s(l) {
1443
+ e("update:order", l);
1444
1444
  }
1445
- return (c, u) => (g(), v("tr", {
1445
+ return (l, u) => (g(), v("tr", {
1446
1446
  class: "widget-list-head",
1447
1447
  ref_key: "refHead",
1448
1448
  ref: r
1449
1449
  }, [
1450
- (g(!0), v(se, null, _e(c.config, (f, C) => (g(), V(er, wt({ key: f }, f, {
1451
- onOrder: (R) => l(f.name),
1450
+ (g(!0), v(se, null, _e(l.config, (p, C) => (g(), V(er, wt({ key: p }, p, {
1451
+ onOrder: (R) => c(p.name),
1452
1452
  onSelect: u[0] || (u[0] = (R) => e("select")),
1453
- order: c.order
1453
+ order: l.order
1454
1454
  }), null, 16, ["onOrder", "order"]))), 128)),
1455
1455
  A("div", {
1456
1456
  class: "test-block text_md",
@@ -1460,7 +1460,7 @@ const er = /* @__PURE__ */ Y(Zn, [["__scopeId", "data-v-bf495d6a"]]), tr = /* @_
1460
1460
  ], 512));
1461
1461
  }
1462
1462
  });
1463
- const nr = /* @__PURE__ */ Y(tr, [["__scopeId", "data-v-ccffc6bd"]]), rr = { class: "widget-list" }, ir = { class: "widget-list-body position_relative" }, or = 50, di = /* @__PURE__ */ D({
1463
+ const nr = /* @__PURE__ */ Y(tr, [["__scopeId", "data-v-ccffc6bd"]]), rr = { class: "widget-list" }, ir = { class: "widget-list-body position_relative" }, or = 50, fi = /* @__PURE__ */ D({
1464
1464
  __name: "widget-list",
1465
1465
  props: {
1466
1466
  array: {},
@@ -1471,13 +1471,13 @@ const nr = /* @__PURE__ */ Y(tr, [["__scopeId", "data-v-ccffc6bd"]]), rr = { cla
1471
1471
  emits: ["scrollEnd", "update:selectedRows", "update:order", "update:config"],
1472
1472
  setup(n, { emit: e }) {
1473
1473
  const t = n;
1474
- function r(s, c = !0) {
1474
+ function r(s, l = !0) {
1475
1475
  if (t.selectedRows)
1476
- if (!c)
1476
+ if (!l)
1477
1477
  o(t.selectedRows.includes(s) ? [] : [s]);
1478
1478
  else {
1479
- const u = [...t.selectedRows], f = u.indexOf(s);
1480
- f === -1 ? u.push(s) : u == null || u.splice(f, 1), o(u);
1479
+ const u = [...t.selectedRows], p = u.indexOf(s);
1480
+ p === -1 ? u.push(s) : u == null || u.splice(p, 1), o(u);
1481
1481
  }
1482
1482
  }
1483
1483
  function i() {
@@ -1489,31 +1489,31 @@ const nr = /* @__PURE__ */ Y(tr, [["__scopeId", "data-v-ccffc6bd"]]), rr = { cla
1489
1489
  function o(s) {
1490
1490
  e("update:selectedRows", s);
1491
1491
  }
1492
- function l(s) {
1492
+ function c(s) {
1493
1493
  if (!s)
1494
1494
  return;
1495
- const c = s.target;
1496
- c.scrollTop + c.clientHeight + or > c.scrollHeight && e("scrollEnd");
1495
+ const l = s.target;
1496
+ l.scrollTop + l.clientHeight + or > l.scrollHeight && e("scrollEnd");
1497
1497
  }
1498
- return (s, c) => (g(), v("div", {
1498
+ return (s, l) => (g(), v("div", {
1499
1499
  class: "es-list-container",
1500
- onScrollPassive: l
1500
+ onScrollPassive: c
1501
1501
  }, [
1502
1502
  A("table", rr, [
1503
1503
  A("thead", null, [
1504
1504
  Pe(nr, {
1505
- onSelect: c[0] || (c[0] = (u) => i()),
1506
- "onUpdate:order": c[1] || (c[1] = (u) => e("update:order", u)),
1507
- "onUpdate:config": c[2] || (c[2] = (u) => e("update:config", u)),
1505
+ onSelect: l[0] || (l[0] = (u) => i()),
1506
+ "onUpdate:order": l[1] || (l[1] = (u) => e("update:order", u)),
1507
+ "onUpdate:config": l[2] || (l[2] = (u) => e("update:config", u)),
1508
1508
  config: s.config,
1509
1509
  order: s.order
1510
1510
  }, null, 8, ["config", "order"])
1511
1511
  ]),
1512
1512
  A("tbody", ir, [
1513
- (g(!0), v(se, null, _e(s.array, (u, f) => {
1513
+ (g(!0), v(se, null, _e(s.array, (u, p) => {
1514
1514
  var C;
1515
1515
  return g(), V(Jn, {
1516
- key: f,
1516
+ key: p,
1517
1517
  class: "widget-list-row",
1518
1518
  values: u,
1519
1519
  config: s.config,
@@ -1526,12 +1526,12 @@ const nr = /* @__PURE__ */ Y(tr, [["__scopeId", "data-v-ccffc6bd"]]), rr = { cla
1526
1526
  ], 32));
1527
1527
  }
1528
1528
  }), z = {};
1529
- function fi(n) {
1529
+ function pi(n) {
1530
1530
  for (let e in n)
1531
1531
  z[e] = n[e];
1532
1532
  console.log("The config has been initialized. To get access check %c_config in console.", "background: purple; color: white");
1533
1533
  }
1534
- function pi(n) {
1534
+ function hi(n) {
1535
1535
  function e(...r) {
1536
1536
  return t.wait ? Promise.reject("The process has already started.") : (t.wait = !0, Promise.resolve().then(() => n(...r)).finally(() => {
1537
1537
  t.wait = !1;
@@ -1543,24 +1543,24 @@ function pi(n) {
1543
1543
  });
1544
1544
  return t;
1545
1545
  }
1546
- function Ye(n) {
1547
- return typeof n == "string" ? Be(n) : sr(n) ? Be(n.message) : Be(T.DEFAULT_ERROR_MESSAGE);
1546
+ function Je(n) {
1547
+ return typeof n == "string" ? ze(n) : sr(n) ? ze(n.message) : ze(T.DEFAULT_ERROR_MESSAGE);
1548
1548
  }
1549
1549
  function sr(n) {
1550
1550
  return !!(typeof n == "object" && n !== null && Object.hasOwnProperty.call(n, "message"));
1551
1551
  }
1552
- function Be(n) {
1552
+ function ze(n) {
1553
1553
  return {
1554
1554
  message: n
1555
1555
  };
1556
1556
  }
1557
1557
  function U(n = "error") {
1558
1558
  return function(e) {
1559
- const { message: t } = Ye(e);
1559
+ const { message: t } = Je(e);
1560
1560
  De.add(n, t);
1561
1561
  };
1562
1562
  }
1563
- function Je(n, e = {}) {
1563
+ function He(n, e = {}) {
1564
1564
  return b().emit("entity:read", {
1565
1565
  ...e,
1566
1566
  entity: n
@@ -1572,7 +1572,7 @@ function Ut(n, e) {
1572
1572
  entity: n
1573
1573
  });
1574
1574
  }
1575
- function hi(n) {
1575
+ function gi(n) {
1576
1576
  return n.reduce((e, t) => (t.name && (typeof t.name == "string" ? e.push(t.name) : e.push(...t.name)), e), []);
1577
1577
  }
1578
1578
  function ar(n, e = 2) {
@@ -1588,7 +1588,7 @@ function Ft(n) {
1588
1588
  return typeof r == "object" && !(r == null || Array.isArray(r)) && (r = Ft(r)), e[i] = r, e;
1589
1589
  }, {});
1590
1590
  }
1591
- function gi(n, e) {
1591
+ function yi(n, e) {
1592
1592
  const t = /* @__PURE__ */ new Map();
1593
1593
  return n.forEach((r) => {
1594
1594
  var o;
@@ -1596,7 +1596,7 @@ function gi(n, e) {
1596
1596
  t.has(i) || t.set(i, []), (o = t.get(i)) == null || o.push(r);
1597
1597
  }), t;
1598
1598
  }
1599
- function yi() {
1599
+ function mi() {
1600
1600
  return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(
1601
1601
  /[018]/g,
1602
1602
  (n) => (n ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> n / 4).toString(16)
@@ -1620,13 +1620,13 @@ function K(n, e = {}) {
1620
1620
  return r;
1621
1621
  }));
1622
1622
  }
1623
- function mi(n, e = 1e3) {
1623
+ function Ei(n, e = 1e3) {
1624
1624
  let t = 0;
1625
1625
  return (...r) => {
1626
1626
  clearTimeout(t), t = setTimeout(() => n(...r), e);
1627
1627
  };
1628
1628
  }
1629
- function Ei(n, e) {
1629
+ function wi(n, e) {
1630
1630
  let t = !1;
1631
1631
  return (...r) => {
1632
1632
  if (!t)
@@ -1634,9 +1634,9 @@ function Ei(n, e) {
1634
1634
  };
1635
1635
  }
1636
1636
  const lr = tt(it("pretty-value-field-by-entity"));
1637
- function wi(n, e, t) {
1637
+ function _i(n, e, t) {
1638
1638
  try {
1639
- const r = He.get(n);
1639
+ const r = Xe.get(n);
1640
1640
  if (!r)
1641
1641
  throw new Error("For entity metadata is not loaded");
1642
1642
  const i = r.fieldsByName[e];
@@ -1659,7 +1659,7 @@ const pr = function() {
1659
1659
  const r = /* @__PURE__ */ new Set();
1660
1660
  let i = 0;
1661
1661
  const o = /* @__PURE__ */ new Set();
1662
- function l() {
1662
+ function c() {
1663
1663
  if (e)
1664
1664
  i && (clearTimeout(i), i = 0);
1665
1665
  else
@@ -1672,7 +1672,7 @@ const pr = function() {
1672
1672
  }
1673
1673
  setInterval(() => {
1674
1674
  Array.from(r).forEach((a) => {
1675
- m(a) && (H("Handler for event %s requestId %d was expired", a.event, a.requestId), a.requestId ? c({
1675
+ m(a) && (H("Handler for event %s requestId %d was expired", a.event, a.requestId), a.requestId ? l({
1676
1676
  requestId: a.requestId,
1677
1677
  event: "request-error",
1678
1678
  data: {
@@ -1691,9 +1691,9 @@ const pr = function() {
1691
1691
  socketInstance: e
1692
1692
  };
1693
1693
  }
1694
- function c(a) {
1695
- const p = [...r.values()];
1696
- H("Handlers array length is %d. Response event: %s. Request id: %d", r.size, a.event, a.requestId), p.forEach((h) => {
1694
+ function l(a) {
1695
+ const f = [...r.values()];
1696
+ H("Handlers array length is %d. Response event: %s. Request id: %d", r.size, a.event, a.requestId), f.forEach((h) => {
1697
1697
  const x = a.requestId;
1698
1698
  (h.requestId && h.requestId === x || !h.requestId && h.event === a.event) && (H("Find appropriated handler: %d, event: %s", n, h.event), h.callback(a.data, a), h.once && (r.delete(h), H("Handler was removed by *once* params was passed. %o", h)));
1699
1699
  });
@@ -1704,20 +1704,20 @@ const pr = function() {
1704
1704
  return;
1705
1705
  }
1706
1706
  console.log(`%cInitializing sockets: %c${t}`, "color: purple", "color: black"), e = new WebSocket(t), e.onclose = function(a) {
1707
- H("Connection to server was stopped: %d %s", a.code, a.reason), Array.from(r).forEach((p) => {
1708
- p.guaranteedAnswer && p.serializeString && o.add(p.serializeString);
1707
+ H("Connection to server was stopped: %d %s", a.code, a.reason), Array.from(r).forEach((f) => {
1708
+ f.guaranteedAnswer && f.serializeString && o.add(f.serializeString);
1709
1709
  });
1710
1710
  }, e.onopen = function() {
1711
1711
  console.log("Socket was %cconnected.", "color: green"), [...o.values()].forEach((a) => {
1712
- f(a), o.delete(a);
1712
+ p(a), o.delete(a);
1713
1713
  });
1714
1714
  }, e.onerror = function(a) {
1715
1715
  console.warn(a);
1716
1716
  }, e.onmessage = (a) => {
1717
- var p;
1717
+ var f;
1718
1718
  try {
1719
1719
  if (fr(a.data)) {
1720
- l();
1720
+ c();
1721
1721
  return;
1722
1722
  }
1723
1723
  const h = JSON.parse(a.data);
@@ -1725,33 +1725,33 @@ const pr = function() {
1725
1725
  console.warn("Data is %cnot correct %csocket answer.", "color: red", "color: black"), console.log(h);
1726
1726
  return;
1727
1727
  }
1728
- (p = h == null ? void 0 : h.data) != null && p.refresh && location.reload(), c(h);
1728
+ (f = h == null ? void 0 : h.data) != null && f.refresh && location.reload(), l(h);
1729
1729
  } catch (h) {
1730
1730
  console.warn("Socket handle %conmessage%c error.", "color: red", "color: black"), console.log(h);
1731
1731
  }
1732
1732
  };
1733
1733
  }
1734
- function f(a) {
1734
+ function p(a) {
1735
1735
  e.send(a);
1736
1736
  }
1737
- function C(a, p) {
1738
- d({ event: a, callback: p });
1737
+ function C(a, f) {
1738
+ d({ event: a, callback: f });
1739
1739
  }
1740
- function R(a, p) {
1741
- d({ event: a, callback: p, once: !0 });
1740
+ function R(a, f) {
1741
+ d({ event: a, callback: f, once: !0 });
1742
1742
  }
1743
1743
  function E() {
1744
1744
  return e && (e == null ? void 0 : e.readyState) === 1;
1745
1745
  }
1746
- function _(a, p, h) {
1746
+ function _(a, f, h) {
1747
1747
  const x = ++n, I = JSON.stringify({
1748
1748
  requestId: x,
1749
1749
  event: a,
1750
- data: p,
1750
+ data: f,
1751
1751
  contextId: L.contextId,
1752
1752
  url: window.location.href
1753
1753
  });
1754
- return E() ? f(I) : (o.add(I), H("Socket is not connected. Message was send to save-queue")), new Promise((ie, S) => {
1754
+ return E() ? p(I) : (o.add(I), H("Socket is not connected. Message was send to save-queue")), new Promise((ie, S) => {
1755
1755
  d({
1756
1756
  event: a,
1757
1757
  requestId: x,
@@ -1768,12 +1768,12 @@ const pr = function() {
1768
1768
  });
1769
1769
  }
1770
1770
  function d(a) {
1771
- const p = {
1771
+ const f = {
1772
1772
  timeToLive: 0,
1773
1773
  ...a,
1774
1774
  created: (/* @__PURE__ */ new Date()).getTime()
1775
1775
  };
1776
- r.add(p);
1776
+ r.add(f);
1777
1777
  }
1778
1778
  function m(a) {
1779
1779
  return a.timeToLive === 0 || typeof a.timeToLive != "number" ? !1 : (/* @__PURE__ */ new Date()).getTime() - a.created > a.timeToLive;
@@ -1791,13 +1791,13 @@ const pr = function() {
1791
1791
  getDevInfo: s
1792
1792
  };
1793
1793
  }(), hr = (n) => !!Vt(n) && n.event === "request-error", Vt = (n) => typeof n == "object" && n !== null && "event" in n && typeof n.event == "string" && "requestId" in n && typeof n.requestId == "number" && "data" in n;
1794
- function _i(n, e) {
1794
+ function vi(n, e) {
1795
1795
  return b().emit("list-setting:read", {
1796
1796
  entity: n,
1797
1797
  mark: e
1798
1798
  });
1799
1799
  }
1800
- function vi(n, e) {
1800
+ function Ti(n, e) {
1801
1801
  return b().emit("metadata-field:treat", {
1802
1802
  entity: n,
1803
1803
  fieldName: e
@@ -1824,17 +1824,17 @@ function mr(n, e) {
1824
1824
  function Er(n = {}) {
1825
1825
  return b().emit("tool:read", n);
1826
1826
  }
1827
- function Ti(n, e = {}, t = {}) {
1828
- const r = Array.isArray(n) ? n : Ze(T.PROVIDE_NAME_ACTIONS), i = typeof n == "string" ? n : e, o = typeof e == "string" ? t : e;
1827
+ function Ci(n, e = {}, t = {}) {
1828
+ const r = xe(T.PROVIDE_NAME_ACTIONS, null), i = typeof n == "string" ? n : e, o = typeof e == "string" ? t : e;
1829
1829
  return ne(() => {
1830
- const l = (B(r) || []).find((s) => s.action.name === i);
1831
- return l ? {
1832
- ...l,
1830
+ const c = (Array.isArray(n) ? B(n) : r ? r.actions.value : []).find((s) => s.action.name === i);
1831
+ return c ? {
1832
+ ...c,
1833
1833
  ...o
1834
1834
  } : null;
1835
1835
  });
1836
1836
  }
1837
- function Ci() {
1837
+ function Si() {
1838
1838
  const n = G(null);
1839
1839
  function e(t) {
1840
1840
  n.value = t;
@@ -1844,7 +1844,7 @@ function Ci() {
1844
1844
  activateRow: e
1845
1845
  };
1846
1846
  }
1847
- function Si(n, e) {
1847
+ function Ai(n, e) {
1848
1848
  const t = $([]);
1849
1849
  let r = 0;
1850
1850
  const i = G(!1);
@@ -1852,21 +1852,21 @@ function Si(n, e) {
1852
1852
  if (i.value)
1853
1853
  return Promise.reject("The process has already started.");
1854
1854
  const d = E();
1855
- return i.value = !0, typeof d.limit != "number" && (d.limit = 100), d.offset = r, Je(n, d).then((m) => (r += m.length, m)).finally(() => {
1855
+ return i.value = !0, typeof d.limit != "number" && (d.limit = 100), d.offset = r, He(n, d).then((m) => (r += m.length, m)).finally(() => {
1856
1856
  i.value = !1;
1857
1857
  });
1858
1858
  }
1859
- function l(d, m) {
1860
- var p;
1861
- return typeof d.Version == "number" ? d.Version : (p = t.find((h) => h.Id === m)) == null ? void 0 : p.Version;
1859
+ function c(d, m) {
1860
+ var f;
1861
+ return typeof d.Version == "number" ? d.Version : (f = t.find((h) => h.Id === m)) == null ? void 0 : f.Version;
1862
1862
  }
1863
1863
  function s(d, m) {
1864
- const a = t.findIndex((p) => p.Id === d);
1864
+ const a = t.findIndex((f) => f.Id === d);
1865
1865
  if (a === -1)
1866
1866
  throw new Error(`Can't found item with Id ${d}`);
1867
1867
  t.splice(a, 1, m);
1868
1868
  }
1869
- function c(d) {
1869
+ function l(d) {
1870
1870
  const m = t.findIndex((a) => a.Id === d);
1871
1871
  if (m === -1)
1872
1872
  throw new Error(`Can't found item with Id ${d}`);
@@ -1874,9 +1874,9 @@ function Si(n, e) {
1874
1874
  }
1875
1875
  async function u(d, m) {
1876
1876
  try {
1877
- const a = E(), p = l(m, d);
1878
- delete m.Version, await Ut(n, { id: d, values: m, version: p });
1879
- const h = await Je(n, {
1877
+ const a = E(), f = c(m, d);
1878
+ delete m.Version, await Ut(n, { id: d, values: m, version: f });
1879
+ const h = await He(n, {
1880
1880
  fields: a.fields || "",
1881
1881
  id: d
1882
1882
  });
@@ -1885,10 +1885,10 @@ function Si(n, e) {
1885
1885
  U()(a);
1886
1886
  }
1887
1887
  }
1888
- async function f(d, m) {
1888
+ async function p(d, m) {
1889
1889
  try {
1890
- const a = E(), p = l(m, d);
1891
- delete m.Version, await yr(n, { id: d, version: p }), c(d);
1890
+ const a = E(), f = c(m, d);
1891
+ delete m.Version, await yr(n, { id: d, version: f }), l(d);
1892
1892
  } catch (a) {
1893
1893
  U()(a);
1894
1894
  }
@@ -1927,10 +1927,10 @@ function Si(n, e) {
1927
1927
  reload: _,
1928
1928
  wait: i,
1929
1929
  create: C,
1930
- deleteById: f
1930
+ deleteById: p
1931
1931
  };
1932
1932
  }
1933
- function Ai() {
1933
+ function bi() {
1934
1934
  function n() {
1935
1935
  return {
1936
1936
  organizations: L.organizations,
@@ -1958,19 +1958,19 @@ function vr(n, e) {
1958
1958
  function Tr(n) {
1959
1959
  return b().emit("communication-message:read", { communicationId: n });
1960
1960
  }
1961
- function bi(n) {
1961
+ function Ii(n) {
1962
1962
  const e = Ct.getParentForm(), t = $([]);
1963
1963
  return e && e.subscribe(n), n.read = () => Tr(n.id).then((r) => (t.splice(0, t.length, ...r), r)), {
1964
1964
  array: t
1965
1965
  };
1966
1966
  }
1967
- function Ii(n, e) {
1967
+ function Ni(n, e) {
1968
1968
  n.read = () => {
1969
1969
  const r = t();
1970
1970
  return Promise.resolve().then(() => {
1971
1971
  if (!n.name)
1972
1972
  throw ce.EntityWithoutName(n);
1973
- return Je(n.name, r);
1973
+ return He(n.name, r);
1974
1974
  }).then(Ft).then((i) => (i.hasOwnProperty("Version") && (n.version = i.Version), n.setValues(i), i)).catch(U());
1975
1975
  }, n.save = () => {
1976
1976
  const r = t();
@@ -1992,16 +1992,16 @@ function Ii(n, e) {
1992
1992
  return typeof e == "function" ? e() : e;
1993
1993
  }
1994
1994
  }
1995
- function Ni(n) {
1995
+ function Oi(n) {
1996
1996
  if (!n)
1997
- return Ze(T.PROVIDE_NAME_METADATA);
1998
- He.initEntity(n);
1999
- const e = ne(() => He.state[n]);
1997
+ return xe(T.PROVIDE_NAME_METADATA);
1998
+ Xe.initEntity(n);
1999
+ const e = ne(() => Xe.state[n]);
2000
2000
  return et(T.PROVIDE_NAME_METADATA, e), e;
2001
2001
  }
2002
- function Oi(n, e = {}) {
2002
+ function Ri(n, e = {}) {
2003
2003
  if (!n)
2004
- return Ze(T.PROVIDE_NAME_USAGE_CONTEXT);
2004
+ return xe(T.PROVIDE_NAME_USAGE_CONTEXT);
2005
2005
  const t = G(null);
2006
2006
  return et(T.PROVIDE_NAME_USAGE_CONTEXT, t), { state: t, update: async function() {
2007
2007
  t.value = await mr(n, Cr(e || {}));
@@ -2010,51 +2010,53 @@ function Oi(n, e = {}) {
2010
2010
  function Cr(n) {
2011
2011
  return typeof n == "function" ? n() : n;
2012
2012
  }
2013
- function Ri(n = {}) {
2014
- const e = $([]), t = ne(() => e.map((o) => i(o)));
2015
- et(T.PROVIDE_NAME_ACTIONS, t), n.router = en(), n.handleConfirmation || (n.handleConfirmation = Ar), n.handleAffectedEntity || (n.handleAffectedEntity = Ir), n.handleCloseForm || (n.handleCloseForm = Nr), n.handleValidationResult || (n.handleValidationResult = br);
2016
- function r(o = {}) {
2017
- return e.splice(0, e.length), Er(o).then((l) => e.splice(0, 0, ...l)).catch(U("error"));
2018
- }
2019
- function i(o) {
2020
- return {
2021
- ...o,
2022
- label: o.title,
2023
- callback() {
2024
- const l = typeof n.values == "function" ? n.values() : n.values, s = () => K(o.url, {
2025
- method: "POST",
2026
- body: JSON.stringify({
2027
- keys: l,
2028
- contextId: L.contextId
2029
- }),
2030
- headers: {
2031
- "Content-Type": "application/json"
2032
- }
2033
- }).then(async (c) => {
2034
- if (!Or(c))
2035
- throw new Error("It is impossible to process the result of calls.");
2036
- if (Array.isArray(n.handlers))
2037
- for await (const u of n.handlers)
2038
- await u(o, c, n);
2039
- if (!c.success)
2040
- throw n.handleValidationResult && c.validationEffect && n.handleValidationResult(o, c.validationEffect, n), new Error(c.message);
2041
- return c.message && De.add("info", c.message), Array.isArray(c.affectedEntities) && n.handleAffectedEntity && c.affectedEntities.forEach((u) => {
2042
- var f;
2043
- return (f = n.handleAffectedEntity) == null ? void 0 : f.call(n, o, u, n);
2044
- }), o.closeHostForm && n.handleCloseForm && n.handleCloseForm(o, n), c;
2045
- }).catch(U("error"));
2046
- return !o.confirmation || !n.handleConfirmation ? s() : n.handleConfirmation(o, s);
2047
- }
2048
- };
2013
+ function ki(n) {
2014
+ if (!n)
2015
+ return xe(T.PROVIDE_NAME_ACTIONS);
2016
+ const e = $([]), t = ne(() => e.map((o) => Sr(n, o))), r = { actions: t, update: i };
2017
+ et(T.PROVIDE_NAME_ACTIONS, r), n.router = en(), n.handleConfirmation || (n.handleConfirmation = br), n.handleAffectedEntity || (n.handleAffectedEntity = Nr), n.handleCloseForm || (n.handleCloseForm = Or), n.handleValidationResult || (n.handleValidationResult = Ir);
2018
+ function i(o = {}) {
2019
+ return e.splice(0, e.length), Er(o).then((c) => e.splice(0, 0, ...c)).catch(U("error"));
2049
2020
  }
2050
- return { actions: t, update: r };
2021
+ return { actions: t, update: i };
2022
+ }
2023
+ function Sr(n, e) {
2024
+ return {
2025
+ ...e,
2026
+ label: e.title,
2027
+ callback() {
2028
+ const t = typeof n.values == "function" ? n.values() : n.values, r = () => K(e.url, {
2029
+ method: "POST",
2030
+ body: JSON.stringify({
2031
+ keys: t,
2032
+ contextId: L.contextId
2033
+ }),
2034
+ headers: {
2035
+ "Content-Type": "application/json"
2036
+ }
2037
+ }).then(async (i) => {
2038
+ if (!Rr(i))
2039
+ throw new Error("It is impossible to process the result of calls.");
2040
+ if (Array.isArray(n.handlers))
2041
+ for await (const o of n.handlers)
2042
+ await o(e, i, n);
2043
+ if (!i.success)
2044
+ throw n.handleValidationResult && i.validationEffect && n.handleValidationResult(e, i.validationEffect, n), new Error(i.message);
2045
+ return i.message && De.add("info", i.message), Array.isArray(i.affectedEntities) && n.handleAffectedEntity && i.affectedEntities.forEach((o) => {
2046
+ var c;
2047
+ return (c = n.handleAffectedEntity) == null ? void 0 : c.call(n, e, o, n);
2048
+ }), e.closeHostForm && n.handleCloseForm && n.handleCloseForm(e, n), i;
2049
+ }).catch(U("error"));
2050
+ return !e.confirmation || !n.handleConfirmation ? r() : n.handleConfirmation(e, r);
2051
+ }
2052
+ };
2051
2053
  }
2052
- function Sr(n) {
2054
+ function Ar(n) {
2053
2055
  const e = "Are you sure?";
2054
2056
  return n === !0 || typeof n == "string" && n.toLowerCase() === "true" || n === "1" ? e : typeof n == "string" ? n : e;
2055
2057
  }
2056
- function Ar(n, e) {
2057
- const t = Sr(n.confirmation), r = T.MODAL_CONFIRM;
2058
+ function br(n, e) {
2059
+ const t = Ar(n.confirmation), r = T.MODAL_CONFIRM;
2058
2060
  if (!St(r))
2059
2061
  throw new Error("The 'confirm' modal window is not installed. It provided inside 'constants.MODAL_CONFIRM'");
2060
2062
  return new Promise((i, o) => {
@@ -2065,7 +2067,7 @@ function Ar(n, e) {
2065
2067
  });
2066
2068
  });
2067
2069
  }
2068
- function br(n, e) {
2070
+ function Ir(n, e) {
2069
2071
  const t = T.MODAL_VALIDATION_EFFECT;
2070
2072
  if (!St(t))
2071
2073
  throw new Error("The 'validation-effect' modal window is not installed. It provided inside 'constants.MODAL_VALIDATION_EFFECT'");
@@ -2073,23 +2075,23 @@ function br(n, e) {
2073
2075
  At(t, e);
2074
2076
  });
2075
2077
  }
2076
- function Ir(n, e, t) {
2077
- var s;
2078
- const { router: r, form: i, emits: o } = t, l = (s = e.primaryKey) == null ? void 0 : s.Id;
2079
- if (o && o("affectEntity", e), r && e && e.name === n.redirectEntity)
2078
+ function Nr(n, e, t) {
2079
+ var c;
2080
+ const { router: r, form: i } = t, o = (c = e.primaryKey) == null ? void 0 : c.Id;
2081
+ if (r && e && e.name === n.redirectEntity)
2080
2082
  return r.push({
2081
2083
  name: e.name,
2082
2084
  params: {
2083
- id: l
2085
+ id: o
2084
2086
  }
2085
2087
  });
2086
- i && e.name === i.name && e.updated && l === i.id && i.read();
2088
+ i && e.name === i.name && e.updated && o === i.id && i.read();
2087
2089
  }
2088
- function Nr(n, e) {
2090
+ function Or(n, e) {
2089
2091
  const { router: t } = e;
2090
2092
  t && n.closeHostForm && t.back();
2091
2093
  }
2092
- function Or(n) {
2094
+ function Rr(n) {
2093
2095
  return !!(n && typeof n == "object" && "affectedEntities" in n && "success" in n);
2094
2096
  }
2095
2097
  const De = new class {
@@ -2104,7 +2106,7 @@ const De = new class {
2104
2106
  * @param options.timeout Время жизни уведомления в секундах. По умолчанию 10 секунд.
2105
2107
  */
2106
2108
  add(e, t, r = {}) {
2107
- const i = Rr(r), o = new kr(e, t, i.timeout, i.children, i.click);
2109
+ const i = kr(r), o = new Pr(e, t, i.timeout, i.children, i.click);
2108
2110
  return this.store.push(o), i.timeout && setTimeout(this.remove.bind(this, o.id), i.timeout * 1e3), o;
2109
2111
  }
2110
2112
  /**
@@ -2117,7 +2119,7 @@ const De = new class {
2117
2119
  this.store.splice(t, 1);
2118
2120
  }
2119
2121
  }();
2120
- function Rr(n) {
2122
+ function kr(n) {
2121
2123
  function e(r) {
2122
2124
  return !!r && typeof r == "object";
2123
2125
  }
@@ -2138,8 +2140,8 @@ const jt = class Wt {
2138
2140
  }
2139
2141
  };
2140
2142
  jt.cardId = 1;
2141
- let kr = jt;
2142
- class Pi extends F {
2143
+ let Pr = jt;
2144
+ class Li extends F {
2143
2145
  constructor(e) {
2144
2146
  super(), this.name = "Communication", this.read = () => {
2145
2147
  }, this.id = e;
@@ -2151,20 +2153,20 @@ class Pi extends F {
2151
2153
  return _r(e, t, r).then((i) => i.length === 0 ? wr(e, t, r) : i[0]);
2152
2154
  }
2153
2155
  }
2154
- function Pr() {
2156
+ function Lr() {
2155
2157
  return b().emit("client:read", {});
2156
2158
  }
2157
2159
  var qt = (n, e, t) => {
2158
2160
  if (!e.has(n))
2159
2161
  throw TypeError("Cannot " + t);
2160
- }, Lr = (n, e, t) => (qt(n, e, "read from private field"), t ? t.call(n) : e.get(n)), $r = (n, e, t) => {
2162
+ }, $r = (n, e, t) => (qt(n, e, "read from private field"), t ? t.call(n) : e.get(n)), Dr = (n, e, t) => {
2161
2163
  if (e.has(n))
2162
2164
  throw TypeError("Cannot add the same private member more than once");
2163
2165
  e instanceof WeakSet ? e.add(n) : e.set(n, t);
2164
- }, Dr = (n, e, t, r) => (qt(n, e, "write to private field"), r ? r.call(n, t) : e.set(n, t), t), Ne;
2165
- const Ue = class oe extends F {
2166
+ }, xr = (n, e, t, r) => (qt(n, e, "write to private field"), r ? r.call(n, t) : e.set(n, t), t), Ne;
2167
+ const Fe = class oe extends F {
2166
2168
  constructor() {
2167
- super(...arguments), this.type = "front", this.organizations = [], $r(this, Ne, !1);
2169
+ super(...arguments), this.type = "front", this.organizations = [], Dr(this, Ne, !1);
2168
2170
  }
2169
2171
  set language(e) {
2170
2172
  localStorage.setItem(T.LOCALSTORAGE_LANGUAGE_KEY, e);
@@ -2187,10 +2189,10 @@ const Ue = class oe extends F {
2187
2189
  return this.type === "front";
2188
2190
  }
2189
2191
  set ready(e) {
2190
- Dr(this, Ne, e), this.emit(oe.EVENT_READY_UPDATE, e);
2192
+ xr(this, Ne, e), this.emit(oe.EVENT_READY_UPDATE, e);
2191
2193
  }
2192
2194
  get ready() {
2193
- return Lr(this, Ne);
2195
+ return $r(this, Ne);
2194
2196
  }
2195
2197
  onReady(e) {
2196
2198
  return this.on(oe.EVENT_READY_UPDATE, e);
@@ -2245,7 +2247,7 @@ const Ue = class oe extends F {
2245
2247
  * @description Метод для загрузки данных пользователя.
2246
2248
  */
2247
2249
  loadCustomerData() {
2248
- return Pr();
2250
+ return Lr();
2249
2251
  }
2250
2252
  /**
2251
2253
  * @description Method using for validate provided ID, Checking with existing person ID and each organization ID.
@@ -2260,16 +2262,16 @@ const Ue = class oe extends F {
2260
2262
  }
2261
2263
  };
2262
2264
  Ne = /* @__PURE__ */ new WeakMap();
2263
- Ue.DEFAULT_LANGUAGE = "en";
2264
- Ue.EVENT_CONTEXT_UPDATE = "event:context-update";
2265
- Ue.EVENT_READY_UPDATE = "event:ready-update";
2266
- let xr = Ue;
2267
- function Mr(n) {
2265
+ Fe.DEFAULT_LANGUAGE = "en";
2266
+ Fe.EVENT_CONTEXT_UPDATE = "event:context-update";
2267
+ Fe.EVENT_READY_UPDATE = "event:ready-update";
2268
+ let Mr = Fe;
2269
+ function Ur(n) {
2268
2270
  return b().emit("metadata:read", {
2269
2271
  entity: n
2270
2272
  });
2271
2273
  }
2272
- const He = function() {
2274
+ const Xe = function() {
2273
2275
  const e = $({}), t = /* @__PURE__ */ new Map();
2274
2276
  function r(s) {
2275
2277
  return e[s];
@@ -2277,17 +2279,17 @@ const He = function() {
2277
2279
  async function i(s) {
2278
2280
  if (t.has(s) && await t.get(s), e[s])
2279
2281
  return;
2280
- const c = await o(s);
2281
- l(s, c);
2282
+ const l = await o(s);
2283
+ c(s, l);
2282
2284
  }
2283
2285
  function o(s) {
2284
- const c = Mr(s).finally(() => {
2286
+ const l = Ur(s).finally(() => {
2285
2287
  t.delete(s);
2286
2288
  });
2287
- return t.set(s, c), c;
2289
+ return t.set(s, l), l;
2288
2290
  }
2289
- function l(s, c) {
2290
- e[s] = c;
2291
+ function c(s, l) {
2292
+ e[s] = l;
2291
2293
  }
2292
2294
  return {
2293
2295
  state: e,
@@ -2419,7 +2421,7 @@ class k {
2419
2421
  });
2420
2422
  }
2421
2423
  }
2422
- function Ur(n) {
2424
+ function Fr(n) {
2423
2425
  return typeof n != "object" || n === null ? !1 : !!(n.hasOwnProperty("start") || n.hasOwnProperty("end"));
2424
2426
  }
2425
2427
  function j(n) {
@@ -2429,10 +2431,10 @@ function j(n) {
2429
2431
  const i = r.map((o) => typeof o == "string" ? `'${o}'` : o).join(", ");
2430
2432
  return r.length && e.push(`@${t} in (${i})`), e;
2431
2433
  }
2432
- if (Ur(r)) {
2434
+ if (Fr(r)) {
2433
2435
  let i = function(o) {
2434
- var l;
2435
- return ((l = o.match(/([^Z]*)/)) == null ? void 0 : l[0]) + "0000Z";
2436
+ var c;
2437
+ return ((c = o.match(/([^Z]*)/)) == null ? void 0 : c[0]) + "0000Z";
2436
2438
  };
2437
2439
  return r.start && e.push(`@${t} ge ${i(r.start)}`), r.end && e.push(`@${t} le ${i(r.end)}`), e;
2438
2440
  }
@@ -2467,8 +2469,8 @@ j.is = function(e, t) {
2467
2469
  j.or = function(...e) {
2468
2470
  return e.join(" or ");
2469
2471
  };
2470
- const L = new xr();
2471
- class Li {
2472
+ const L = new Mr();
2473
+ class $i {
2472
2474
  static url() {
2473
2475
  return "/close-api/actions";
2474
2476
  }
@@ -2480,15 +2482,15 @@ class Li {
2480
2482
  }
2481
2483
  static getById(e, t, r = []) {
2482
2484
  const i = new URLSearchParams();
2483
- return Ke(i, r), K([this.url(), e, t].join("/") + `?${i.toString()}`, {
2485
+ return Ye(i, r), K([this.url(), e, t].join("/") + `?${i.toString()}`, {
2484
2486
  method: "GET"
2485
2487
  });
2486
2488
  }
2487
2489
  }
2488
- function Fr(n, e = "images") {
2490
+ function Vr(n, e = "images") {
2489
2491
  return `/static-folder/${e}/${n}`;
2490
2492
  }
2491
- class $i {
2493
+ class Di {
2492
2494
  static getRequiredDocuments(e, t, r) {
2493
2495
  const i = new URLSearchParams({
2494
2496
  entity: e,
@@ -2580,13 +2582,13 @@ var Gt = (n, e, t) => {
2580
2582
  if (e.has(n))
2581
2583
  throw TypeError("Cannot add the same private member more than once");
2582
2584
  e instanceof WeakSet ? e.add(n) : e.set(n, t);
2583
- }, Q = (n, e, t, r) => (Gt(n, e, "write to private field"), r ? r.call(n, t) : e.set(n, t), t), Oe, ge, Re, ke, ye, me, Xe;
2584
- const Z = "_______LIST_______ROW_______INDEX________NAME_______", Fe = class q extends F {
2585
+ }, Q = (n, e, t, r) => (Gt(n, e, "write to private field"), r ? r.call(n, t) : e.set(n, t), t), Oe, ge, Re, ke, ye, me, Qe;
2586
+ const Z = "_______LIST_______ROW_______INDEX________NAME_______", Ve = class q extends F {
2585
2587
  constructor(e) {
2586
2588
  super(), this.LIST_ROW_KEY = 1, X(this, Oe, void 0), this.array = [], X(this, ge, []), X(this, Re, []), X(this, ke, new Proxy({}, {
2587
2589
  set: (t, r, i, o) => (t[r] = i, this.emit(q.EVENT_FILTERS_UPDATE, t), !0),
2588
2590
  deleteProperty: (t, r) => (delete t[r], this.emit(q.EVENT_FILTERS_UPDATE, t), !0)
2589
- })), X(this, ye, !1), X(this, me, (...t) => Promise), X(this, Xe, () => {
2591
+ })), X(this, ye, !1), X(this, me, (...t) => Promise), X(this, Qe, () => {
2590
2592
  }), Q(this, Oe, e.primaryKeys || []), this.name = e.name || void 0, e.config && Q(this, ge, e.config);
2591
2593
  }
2592
2594
  set config(e) {
@@ -2608,7 +2610,7 @@ const Z = "_______LIST_______ROW_______INDEX________NAME_______", Fe = class q e
2608
2610
  return W(this, ke);
2609
2611
  }
2610
2612
  set filters(e) {
2611
- Vr(W(this, ke), e);
2613
+ jr(W(this, ke), e);
2612
2614
  }
2613
2615
  set wait(e) {
2614
2616
  Q(this, ye, e), this.emit(Ct.EVENT_WAIT, W(this, ye));
@@ -2710,7 +2712,7 @@ const Z = "_______LIST_______ROW_______INDEX________NAME_______", Fe = class q e
2710
2712
  Q(this, me, e);
2711
2713
  }
2712
2714
  get save() {
2713
- return () => Promise.resolve().then(() => this.wait = !0).then(() => W(this, Xe).call(this)).finally(() => this.wait = !1);
2715
+ return () => Promise.resolve().then(() => this.wait = !0).then(() => W(this, Qe).call(this)).finally(() => this.wait = !1);
2714
2716
  }
2715
2717
  /**
2716
2718
  * @description Function get all names from Config.
@@ -2742,7 +2744,7 @@ const Z = "_______LIST_______ROW_______INDEX________NAME_______", Fe = class q e
2742
2744
  */
2743
2745
  static getCellInfo(e, t) {
2744
2746
  const r = q.getCellName(e), i = (() => {
2745
- let o = r ? xe(t, r) : null;
2747
+ let o = r ? Me(t, r) : null;
2746
2748
  return o === void 0 && (o = null), e.value ? e.value(o, t) : o;
2747
2749
  })();
2748
2750
  return {
@@ -2757,12 +2759,12 @@ Re = /* @__PURE__ */ new WeakMap();
2757
2759
  ke = /* @__PURE__ */ new WeakMap();
2758
2760
  ye = /* @__PURE__ */ new WeakMap();
2759
2761
  me = /* @__PURE__ */ new WeakMap();
2760
- Xe = /* @__PURE__ */ new WeakMap();
2761
- Fe.EVENT_DATA = "list-data: update";
2762
- Fe.EVENT_CONFIG_UPDATE = "list-config:update";
2763
- Fe.EVENT_ORDER_UPDATE = "list-order:update";
2764
- Fe.EVENT_FILTERS_UPDATE = "list-filters:update";
2765
- function Di(n) {
2762
+ Qe = /* @__PURE__ */ new WeakMap();
2763
+ Ve.EVENT_DATA = "list-data: update";
2764
+ Ve.EVENT_CONFIG_UPDATE = "list-config:update";
2765
+ Ve.EVENT_ORDER_UPDATE = "list-order:update";
2766
+ Ve.EVENT_FILTERS_UPDATE = "list-filters:update";
2767
+ function xi(n) {
2766
2768
  const e = G(""), t = ne(() => {
2767
2769
  const r = e.value.toLowerCase();
2768
2770
  return B(n).filter((i) => e.value.length ? Object.values(i).join().toLowerCase().includes(r) : !0);
@@ -2772,12 +2774,12 @@ function Di(n) {
2772
2774
  searchArray: t
2773
2775
  };
2774
2776
  }
2775
- function Vr(n, e) {
2777
+ function jr(n, e) {
2776
2778
  Object.keys(n).forEach((t) => delete n[t]), Object.entries(e).forEach(([t, r]) => {
2777
2779
  n[t] = r;
2778
2780
  });
2779
2781
  }
2780
- function xi(n) {
2782
+ function Mi(n) {
2781
2783
  const e = $([]);
2782
2784
  function t(s) {
2783
2785
  return e.includes(s);
@@ -2786,68 +2788,68 @@ function xi(n) {
2786
2788
  t(s) || e.push(s);
2787
2789
  }
2788
2790
  function i(s) {
2789
- const c = e.findIndex((u) => u === s);
2790
- c !== -1 && e.splice(c, 1);
2791
+ const l = e.findIndex((u) => u === s);
2792
+ l !== -1 && e.splice(l, 1);
2791
2793
  }
2792
2794
  function o(s) {
2793
- const c = B(n);
2795
+ const l = B(n);
2794
2796
  if (s === void 0) {
2795
- e.length === 0 ? c.forEach(r) : c.forEach(i);
2797
+ e.length === 0 ? l.forEach(r) : l.forEach(i);
2796
2798
  return;
2797
2799
  }
2798
2800
  t(s) ? i(s) : r(s);
2799
2801
  }
2800
- const l = ne(() => {
2802
+ const c = ne(() => {
2801
2803
  const s = B(n);
2802
2804
  return e.length === s.length && s.length !== 0;
2803
2805
  });
2804
- return [e, o, l, r, i];
2806
+ return [e, o, c, r, i];
2805
2807
  }
2806
- function jr(n) {
2808
+ function Wr(n) {
2807
2809
  return n.statusName === "Completed";
2808
2810
  }
2809
- function Wr(n) {
2811
+ function qr(n) {
2810
2812
  return n.statusName === "FinalStepWithConfirmation";
2811
2813
  }
2812
- function qr(n) {
2814
+ function Gr(n) {
2813
2815
  return n.statusName === "ValidationError";
2814
2816
  }
2815
- function Mi(n, e, t) {
2817
+ function Ui(n, e, t) {
2816
2818
  let r = null;
2817
2819
  const i = $({
2818
2820
  wait: null
2819
2821
  });
2820
- let o = [], l = null;
2822
+ let o = [], c = null;
2821
2823
  const s = G(null);
2822
- function c() {
2823
- s.value = o.find((a) => a.name === l) || null;
2824
+ function l() {
2825
+ s.value = o.find((a) => a.name === c) || null;
2824
2826
  }
2825
2827
  function u() {
2826
2828
  var a;
2827
- return l ? ((a = o.find((p) => p.name === l)) == null ? void 0 : a.fields) || [] : [];
2829
+ return c ? ((a = o.find((f) => f.name === c)) == null ? void 0 : a.fields) || [] : [];
2828
2830
  }
2829
- function f(a) {
2830
- if (c(), qr(a))
2831
+ function p(a) {
2832
+ if (l(), Gr(a))
2831
2833
  return void t.onValidation(a.validationResults);
2832
- if ((a.statusName === "FinalStep" || a.statusName === "NextStep") && (!u().length || Gr(u(), t.presets)))
2834
+ if ((a.statusName === "FinalStep" || a.statusName === "NextStep") && (!u().length || Br(u(), t.presets)))
2833
2835
  return m(t.presets || {});
2834
- jr(a) && t.onCompleted(a), Wr(a) && t.onConfirmation(a);
2836
+ Wr(a) && t.onCompleted(a), qr(a) && t.onConfirmation(a);
2835
2837
  }
2836
2838
  async function C() {
2837
2839
  try {
2838
2840
  await R(), await d();
2839
2841
  } catch (a) {
2840
- const { message: p } = Ye(a);
2841
- De.add("error", p);
2842
+ const { message: f } = Je(a);
2843
+ De.add("error", f);
2842
2844
  }
2843
2845
  }
2844
2846
  function R() {
2845
- return i.wait = "Loading process information.", Ge.getStartConfig(e, n).then((a) => {
2846
- o = a.steps.map((p) => ({
2847
- label: p.title,
2848
- name: p.stepName,
2849
- number: p.number,
2850
- fields: p.frontendEntity.objectTypes.reduce((h, x) => (x.properties.forEach((I) => {
2847
+ return i.wait = "Loading process information.", Be.getStartConfig(e, n).then((a) => {
2848
+ o = a.steps.map((f) => ({
2849
+ label: f.title,
2850
+ name: f.stepName,
2851
+ number: f.number,
2852
+ fields: f.frontendEntity.objectTypes.reduce((h, x) => (x.properties.forEach((I) => {
2851
2853
  h.push({
2852
2854
  name: I.name,
2853
2855
  label: I.title,
@@ -2858,19 +2860,19 @@ function Mi(n, e, t) {
2858
2860
  }).then((a) => (i.wait = !1, a));
2859
2861
  }
2860
2862
  function E(a) {
2861
- return l = a.nextStepName, r = a.token, a;
2863
+ return c = a.nextStepName, r = a.token, a;
2862
2864
  }
2863
2865
  function _(a) {
2864
- const p = Ye(a);
2865
- De.add("error", p.message);
2866
+ const f = Je(a);
2867
+ De.add("error", f.message);
2866
2868
  }
2867
2869
  function d() {
2868
- return i.wait = "Starting process", Ge.startProcess(e, n).then(E).then(f).catch(_).finally(() => {
2870
+ return i.wait = "Starting process", Be.startProcess(e, n).then(E).then(p).catch(_).finally(() => {
2869
2871
  i.wait = null;
2870
2872
  });
2871
2873
  }
2872
2874
  function m(a = {}) {
2873
- return !r || !l ? Promise.reject("Not step or token.") : (i.wait = "Waiting for result...", Ge.runStep(e, n, l, r, a).then(E).then(f).catch(_).finally(() => {
2875
+ return !r || !c ? Promise.reject("Not step or token.") : (i.wait = "Waiting for result...", Be.runStep(e, n, c, r, a).then(E).then(p).catch(_).finally(() => {
2874
2876
  i.wait = !1;
2875
2877
  }));
2876
2878
  }
@@ -2881,7 +2883,7 @@ function Mi(n, e, t) {
2881
2883
  next: m
2882
2884
  };
2883
2885
  }
2884
- function Gr(n, e) {
2886
+ function Br(n, e) {
2885
2887
  for (let t = 0; t < n.length; t++) {
2886
2888
  const r = n[t];
2887
2889
  if (!te.getPropFromObject(e, r.name))
@@ -2889,12 +2891,12 @@ function Gr(n, e) {
2889
2891
  }
2890
2892
  return !0;
2891
2893
  }
2892
- const Br = "close-api/proxy/Equipment/Search";
2893
- class Ui {
2894
+ const zr = "close-api/proxy/Equipment/Search";
2895
+ class Fi {
2894
2896
  static search(e, t, r, i, o) {
2895
- const l = new URLSearchParams();
2896
- l.append("pattern", e || ""), t && l.append("categoryId", t), r && l.append("useType", String(r)), i && l.append("statusCode", i), o && (l.append("limit", String(o.limit)), l.append("offset", String(o.offset)));
2897
- const s = `/${Br}?${l.toString()}`;
2897
+ const c = new URLSearchParams();
2898
+ c.append("pattern", e || ""), t && c.append("categoryId", t), r && c.append("useType", String(r)), i && c.append("statusCode", i), o && (c.append("limit", String(o.limit)), c.append("offset", String(o.offset)));
2899
+ const s = `/${zr}?${c.toString()}`;
2898
2900
  return y(s, {
2899
2901
  method: "GET",
2900
2902
  headers: {
@@ -2903,87 +2905,87 @@ class Ui {
2903
2905
  });
2904
2906
  }
2905
2907
  }
2906
- const Fi = {
2908
+ const Vi = {
2907
2909
  clickOutside: nt,
2908
- staticLink: Fr
2909
- }, Vi = {
2910
+ staticLink: Vr
2911
+ }, ji = {
2910
2912
  usage: sn,
2911
2913
  utils: mn,
2912
2914
  types: En
2913
2915
  };
2914
2916
  export {
2915
- Pi as Communication,
2917
+ Li as Communication,
2916
2918
  ce as CoreError,
2917
2919
  j as Filter,
2918
2920
  L as Manager,
2919
- He as MetadataStore,
2921
+ Xe as MetadataStore,
2920
2922
  De as NotificationSystem,
2921
- ai as WidgetButton,
2923
+ ci as WidgetButton,
2922
2924
  $e as WidgetIcon,
2923
- ui as WidgetImage,
2924
- di as WidgetList,
2925
- li as WidgetLoader,
2926
- ci as WidgetMultiButton,
2925
+ di as WidgetImage,
2926
+ fi as WidgetList,
2927
+ ui as WidgetLoader,
2928
+ li as WidgetMultiButton,
2927
2929
  ot as WidgetSpinner,
2928
- si as WidgetTable,
2929
- Li as actionService,
2930
- pi as asyncProcess,
2930
+ ai as WidgetTable,
2931
+ $i as actionService,
2932
+ hi as asyncProcess,
2931
2933
  k as authService,
2932
2934
  he as billingService,
2933
2935
  U as catchUniversal,
2934
2936
  nt as clickOutside,
2935
2937
  cn as clientService,
2936
- ni as communicationService,
2937
- fi as config,
2938
+ ri as communicationService,
2939
+ pi as config,
2938
2940
  z as configuration,
2939
2941
  T as constants,
2940
2942
  be as dataService,
2941
- mi as debounce,
2942
- Vi as default,
2943
- $i as documentsService,
2944
- Ui as equipmentService,
2945
- ri as fileService,
2943
+ Ei as debounce,
2944
+ ji as default,
2945
+ Di as documentsService,
2946
+ Fi as equipmentService,
2947
+ ii as fileService,
2946
2948
  In as getCellName,
2947
2949
  Nn as getCellValue,
2948
- hi as getNamesFromListConfig,
2949
- gi as groupArrayByField,
2950
- Zr as historyService,
2951
- Ti as injectAction,
2952
- ei as internationalizationService,
2953
- ii as invitationService,
2954
- oi as openService,
2955
- Ye as parseError,
2950
+ gi as getNamesFromListConfig,
2951
+ yi as groupArrayByField,
2952
+ ei as historyService,
2953
+ Ci as injectAction,
2954
+ ti as internationalizationService,
2955
+ oi as invitationService,
2956
+ si as openService,
2957
+ Je as parseError,
2956
2958
  xt as prettyDate,
2957
2959
  On as prettyDateWithTime,
2958
2960
  ar as prettyMoney,
2959
- wi as prettyValueFieldByEntity,
2960
- Ge as processWizardService,
2961
+ _i as prettyValueFieldByEntity,
2962
+ Be as processWizardService,
2961
2963
  K as request,
2962
2964
  Dt as ruleValidationService,
2963
2965
  we as t,
2964
- Ei as throttle,
2966
+ wi as throttle,
2965
2967
  gr as universalEntityCreate,
2966
2968
  yr as universalEntityDelete,
2967
- Je as universalEntityRead,
2969
+ He as universalEntityRead,
2968
2970
  Ut as universalEntityUpdate,
2969
- _i as universalListSettingRead,
2970
- vi as universalMetadataFieldTreat,
2971
+ vi as universalListSettingRead,
2972
+ Ti as universalMetadataFieldTreat,
2971
2973
  Er as universalToolRead,
2972
- Ri as useActions,
2973
- bi as useCommunication,
2974
- Ii as useFormEntity,
2975
- Ci as useListActiveRow,
2976
- Si as useListEntity,
2977
- Di as useListSearch,
2978
- xi as useListSelect,
2979
- ti as useLogger,
2980
- Ai as useManagerState,
2981
- Ni as useMetadata,
2974
+ ki as useActions,
2975
+ Ii as useCommunication,
2976
+ Ni as useFormEntity,
2977
+ Si as useListActiveRow,
2978
+ Ai as useListEntity,
2979
+ xi as useListSearch,
2980
+ Mi as useListSelect,
2981
+ ni as useLogger,
2982
+ bi as useManagerState,
2983
+ Oi as useMetadata,
2982
2984
  b as useSocket,
2983
- Oi as useUsageContext,
2984
- Mi as useWizard,
2985
- Fi as utils,
2986
- yi as uuidv4,
2985
+ Ri as useUsageContext,
2986
+ Ui as useWizard,
2987
+ Vi as utils,
2988
+ mi as uuidv4,
2987
2989
  Ft as valuesToUpperCase
2988
2990
  };
2989
2991
  //# sourceMappingURL=eservices-core.es.js.map