eservices-core 1.3.21 → 1.3.22

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,11 +1,11 @@
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}.head-cell[data-v-4e1d87c8]{padding:0 15px 0 10px;display:flex}.head-cell[data-v-4e1d87c8]:hover{box-shadow:0 -1px #e7f2ff}.list-head-cell-label[data-v-4e1d87c8]{padding:5px 0;white-space:nowrap;cursor:pointer}.head-cell-order[data-v-4e1d87c8]{position:absolute;inset-inline-end:4px;inset-block:0 0;margin:auto;font-size:14px;height:14px}.head-cell-order_down[data-v-4e1d87c8]{transform:rotate(180deg)}.head-cell-resize[data-v-4e1d87c8]{padding:3px 10px;cursor:col-resize;transition:background-color .1s}.head-cell-resize[data-v-4e1d87c8]:hover{background-color:#f5f5f5}.head-cell-resize[data-v-4e1d87c8]: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
2
  import { reactive as O, ref as D, computed as Ce, watch as pt, unref as B, readonly as Qt, defineComponent as P, openBlock as w, createElementBlock as _, Fragment as re, renderList as ve, createElementVNode as S, toDisplayString as me, h as L, onMounted as rt, createBlock as U, resolveDynamicComponent as en, mergeProps as At, useSlots as tn, createVNode as Le, normalizeClass as xe, createCommentVNode as ie, normalizeStyle as Nt, renderSlot as nn, useCssVars as rn, withCtx as Ot, createTextVNode as It, withModifiers as sn, pushScopeId as on, popScopeId as an } from "vue";
3
- import { utils as X, Form as oe, FormField as Ze } from "jenesius-vue-form";
3
+ import { utils as Z, Form as oe, FormField as Xe } from "jenesius-vue-form";
4
4
  import { openModal as cn } from "jenesius-vue-modal";
5
5
  import { useRoute as ln, RouterLink as un } from "vue-router";
6
6
  import dn from "date-and-time";
7
7
  /*!
8
- * eservices-core v1.3.21
8
+ * eservices-core v1.3.22
9
9
  * (c) 2023 ESERVICES
10
10
  */
11
11
  function fn(n, e) {
@@ -26,7 +26,7 @@ const hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26
26
  }, Symbol.toStringTag, { value: "Module" })), gn = {
27
27
  inputs: hn
28
28
  };
29
- function Me(n, e) {
29
+ function je(n, e) {
30
30
  if (typeof n != "object" || n === null)
31
31
  return;
32
32
  if (e in n)
@@ -34,7 +34,7 @@ function Me(n, e) {
34
34
  let t = e.indexOf(".");
35
35
  if (t > -1) {
36
36
  const r = e.substring(0, t);
37
- return r in n ? Me(n[r], e.substr(t + 1)) : void 0;
37
+ return r in n ? je(n[r], e.substr(t + 1)) : void 0;
38
38
  }
39
39
  return n[e];
40
40
  }
@@ -143,12 +143,12 @@ Pt.ID = 0;
143
143
  let x = Pt;
144
144
  const Ft = "Please try again later or submit a feedback if problem doesn't go.";
145
145
  function ht(n) {
146
- return typeof n == "string" ? ze(n) : yn(n) ? ze(n.message) : ze(Ft);
146
+ return typeof n == "string" ? Be(n) : yn(n) ? Be(n.message) : Be(Ft);
147
147
  }
148
148
  function yn(n) {
149
149
  return !!(typeof n == "object" && Object.hasOwnProperty.call(n, "message") && n !== null);
150
150
  }
151
- function ze(n, e = []) {
151
+ function Be(n, e = []) {
152
152
  return {
153
153
  message: n,
154
154
  details: e
@@ -254,14 +254,14 @@ k.events = {};
254
254
  var xt = (n, e, t) => {
255
255
  if (!e.has(n))
256
256
  throw TypeError("Cannot " + t);
257
- }, Se = (n, e, t) => (xt(n, e, "read from private field"), t ? t.call(n) : e.get(n)), Ke = (n, e, t) => {
257
+ }, Se = (n, e, t) => (xt(n, e, "read from private field"), t ? t.call(n) : e.get(n)), ze = (n, e, t) => {
258
258
  if (e.has(n))
259
259
  throw TypeError("Cannot add the same private member more than once");
260
260
  e instanceof WeakSet ? e.add(n) : e.set(n, t);
261
- }, Ye = (n, e, t, r) => (xt(n, e, "write to private field"), r ? r.call(n, t) : e.set(n, t), t), ue, Ae, Ne;
262
- const Z = class $ extends k {
261
+ }, Ke = (n, e, t, r) => (xt(n, e, "write to private field"), r ? r.call(n, t) : e.set(n, t), t), ue, Ae, Ne;
262
+ const Q = class $ extends k {
263
263
  constructor() {
264
- super(...arguments), Ke(this, ue, void 0), Ke(this, Ae, "front"), this.organizations = [], Ke(this, Ne, !1);
264
+ super(...arguments), ze(this, ue, void 0), ze(this, Ae, "front"), this.organizations = [], ze(this, Ne, !1);
265
265
  }
266
266
  set language(e) {
267
267
  localStorage.setItem($.LOCALSTORAGE_LANGUAGE_KEY, e);
@@ -281,7 +281,7 @@ const Z = class $ extends k {
281
281
  return ((e = this.person) == null ? void 0 : e.id) === this.contextId ? "person" : "organization";
282
282
  }
283
283
  set router(e) {
284
- Ye(this, ue, e);
284
+ Ke(this, ue, e);
285
285
  }
286
286
  /**
287
287
  * @description VueRouter of Application
@@ -292,7 +292,7 @@ const Z = class $ extends k {
292
292
  return Se(this, ue);
293
293
  }
294
294
  set type(e) {
295
- Ye(this, Ae, e);
295
+ Ke(this, Ae, e);
296
296
  }
297
297
  get type() {
298
298
  return Se(this, Ae);
@@ -304,7 +304,7 @@ const Z = class $ extends k {
304
304
  return this.type === "front";
305
305
  }
306
306
  set ready(e) {
307
- Ye(this, Ne, e), this.emit($.EVENT_READY_UPDATE, e);
307
+ Ke(this, Ne, e), this.emit($.EVENT_READY_UPDATE, e);
308
308
  }
309
309
  get ready() {
310
310
  return Se(this, Ne);
@@ -379,14 +379,14 @@ const Z = class $ extends k {
379
379
  ue = /* @__PURE__ */ new WeakMap();
380
380
  Ae = /* @__PURE__ */ new WeakMap();
381
381
  Ne = /* @__PURE__ */ new WeakMap();
382
- Z.DEFAULT_LANGUAGE = "en";
383
- Z.LOCALSTORAGE_LANGUAGE_KEY = "CurrentLanguage";
384
- Z.EVENT_CONTEXT_UPDATE = "event:context-update";
385
- Z.EVENT_READY_UPDATE = "event:ready-update";
386
- Z.EVENT_DATA_UPDATE = "event:data-update";
387
- Z.CURRENT_CONTEXT_KEY = "CurrentContext";
388
- let Cn = Z;
389
- const De = new Cn();
382
+ Q.DEFAULT_LANGUAGE = "en";
383
+ Q.LOCALSTORAGE_LANGUAGE_KEY = "CurrentLanguage";
384
+ Q.EVENT_CONTEXT_UPDATE = "event:context-update";
385
+ Q.EVENT_READY_UPDATE = "event:ready-update";
386
+ Q.EVENT_DATA_UPDATE = "event:data-update";
387
+ Q.CURRENT_CONTEXT_KEY = "CurrentContext";
388
+ let Cn = Q;
389
+ const Ze = new Cn();
390
390
  function vn(n) {
391
391
  return n.text().then((e) => {
392
392
  try {
@@ -397,7 +397,7 @@ function vn(n) {
397
397
  });
398
398
  }
399
399
  function y(n, e = {}) {
400
- return De.isFront && (e.headers || (e.headers = {}), e.headers["Context-Id"] = De.contextId), e.redirect = "manual", fetch(n, e).then((t) => t.type === "opaqueredirect" ? void window.location.replace("/auth") : t).catch(() => {
400
+ return Ze.isFront && (e.headers || (e.headers = {}), e.headers["Context-Id"] = Ze.contextId), e.redirect = "manual", fetch(n, e).then((t) => t.type === "opaqueredirect" ? void window.location.replace("/auth") : t).catch(() => {
401
401
  throw x.ApiNotAvailable();
402
402
  }).then((t) => vn(t).then((r) => {
403
403
  if (!t.ok)
@@ -405,7 +405,7 @@ function y(n, e = {}) {
405
405
  return r;
406
406
  }));
407
407
  }
408
- class Ve {
408
+ class Me {
409
409
  constructor() {
410
410
  }
411
411
  /**
@@ -415,7 +415,7 @@ class Ve {
415
415
  *
416
416
  * */
417
417
  static parseNamesFromListConfig(e) {
418
- let t = Ve.parseFieldsToGraphQL(e.reduce((i, s) => (s.name && i.push(s.name), i), []));
418
+ let t = Me.parseFieldsToGraphQL(e.reduce((i, s) => (s.name && i.push(s.name), i), []));
419
419
  function r(i) {
420
420
  let s = "";
421
421
  for (let u in i)
@@ -494,21 +494,21 @@ function _n(n, e = 2) {
494
494
  const ye = {
495
495
  Request: y,
496
496
  clickOutside: it,
497
- getPropFromObject: Me,
497
+ getPropFromObject: je,
498
498
  runPromiseQueue: kt,
499
- GraphQL: Ve,
499
+ GraphQL: Me,
500
500
  firstChapterToLowerCase: Ut,
501
501
  valuesToUpperCase: st,
502
502
  prettyMoney: _n
503
503
  }, bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
504
504
  __proto__: null,
505
- GraphQL: Ve,
505
+ GraphQL: Me,
506
506
  Journal: Dt,
507
507
  Request: y,
508
508
  clickOutside: it,
509
509
  default: ye,
510
510
  firstChapterToLowerCase: Ut,
511
- getPropFromObject: Me,
511
+ getPropFromObject: je,
512
512
  runPromiseQueue: kt,
513
513
  valuesToUpperCase: st
514
514
  }, Symbol.toStringTag, { value: "Module" }));
@@ -615,14 +615,14 @@ class Qr {
615
615
  return y(`/open-api/internationalization/language/${e}`);
616
616
  }
617
617
  }
618
- let H = {};
618
+ let X = {};
619
619
  function we(n, ...e) {
620
620
  if (typeof n != "string")
621
621
  return console.trace(`Label is not provided for translation: ${n}`), "undefined";
622
- let t = X.getPropFromObject((this == null ? void 0 : this.vocabulary) || H, n);
622
+ let t = Z.getPropFromObject((this == null ? void 0 : this.vocabulary) || X, n);
623
623
  if (typeof t == "string")
624
624
  return Ct(t, e);
625
- const r = X.getPropFromObject(H == null ? void 0 : H.root, n);
625
+ const r = Z.getPropFromObject(X == null ? void 0 : X.root, n);
626
626
  return typeof r == "string" ? Ct(r, e) : (typeof t === void 0 && console.warn(`Translation for label "${n}" is not founded.`), n);
627
627
  }
628
628
  function Ct(n, e) {
@@ -631,16 +631,16 @@ function Ct(n, e) {
631
631
  }), n;
632
632
  }
633
633
  we.setGlobalVocabulary = function(n) {
634
- H = n;
634
+ X = n;
635
635
  };
636
636
  we.getScope = function(n) {
637
637
  const e = typeof n == "string" ? n : "root";
638
638
  return typeof n != "string" && console.warn(`SCOPE ${n} for translate is not string.`), we.bind({
639
- vocabulary: X.getPropFromObject(H, e.toLowerCase())
639
+ vocabulary: Z.getPropFromObject(X, e.toLowerCase())
640
640
  });
641
641
  };
642
642
  we.setVocabulary = function(n) {
643
- return typeof n == "string" && (n = X.getPropFromObject(H, n)), we.bind({
643
+ return typeof n == "string" && (n = Z.getPropFromObject(X, n)), we.bind({
644
644
  vocabulary: n
645
645
  });
646
646
  };
@@ -774,7 +774,7 @@ function In(n) {
774
774
  return Array.isArray(n) && n.length === 2 && typeof n[0] == "string" && typeof n[1] == "number";
775
775
  }
776
776
  const $n = "masterId", kn = "masterEntity";
777
- function Ue(n, e) {
777
+ function De(n, e) {
778
778
  if (!Array.isArray(e))
779
779
  return;
780
780
  if (In(e))
@@ -839,7 +839,7 @@ class G {
839
839
  * */
840
840
  static create(e, t, r) {
841
841
  const i = new URLSearchParams();
842
- return Ue(i, r == null ? void 0 : r.masterEntities), y(`/close-api/data/${e}?${i.toString()}`, {
842
+ return De(i, r == null ? void 0 : r.masterEntities), y(`/close-api/data/${e}?${i.toString()}`, {
843
843
  method: "POST",
844
844
  headers: {
845
845
  "Content-Type": "application/json"
@@ -885,7 +885,7 @@ class G {
885
885
  }
886
886
  static updateById(e, t, r, i) {
887
887
  const s = new URLSearchParams();
888
- return Ue(s, i == null ? void 0 : i.masterEntities), y(`/close-api/data/entities/${e}/id/${t}?${s.toString()}`, {
888
+ return De(s, i == null ? void 0 : i.masterEntities), y(`/close-api/data/entities/${e}/id/${t}?${s.toString()}`, {
889
889
  method: "PUT",
890
890
  headers: {
891
891
  "Content-Type": "application/json"
@@ -1006,7 +1006,7 @@ const Vt = class Ie {
1006
1006
  }
1007
1007
  };
1008
1008
  Vt.url = "/close-api/views/process-wizard";
1009
- let Je = Vt;
1009
+ let Ye = Vt;
1010
1010
  class Wt {
1011
1011
  static get url() {
1012
1012
  return "/close-api/metadata";
@@ -1020,7 +1020,7 @@ class Wt {
1020
1020
  }
1021
1021
  static getById(e, t, r = []) {
1022
1022
  const i = new URLSearchParams();
1023
- return Ue(i, r), t && i.append("id", t), y([this.url, e].join("/") + `?${i.toString()}`);
1023
+ return De(i, r), t && i.append("id", t), y([this.url, e].join("/") + `?${i.toString()}`);
1024
1024
  }
1025
1025
  static getFieldInformation(e, t) {
1026
1026
  return y(`/open-api/metadata/${e}/fields/${t}`);
@@ -1114,7 +1114,7 @@ class Pn {
1114
1114
  }
1115
1115
  static getById(e, t, r = []) {
1116
1116
  const i = new URLSearchParams();
1117
- return Ue(i, r), y([this.url(), e, t].join("/") + `?${i.toString()}`, {
1117
+ return De(i, r), y([this.url(), e, t].join("/") + `?${i.toString()}`, {
1118
1118
  method: "GET"
1119
1119
  });
1120
1120
  }
@@ -1197,7 +1197,7 @@ function ci(n, e) {
1197
1197
  keys: {
1198
1198
  Id: u
1199
1199
  },
1200
- contextId: De.contextId
1200
+ contextId: Ze.contextId
1201
1201
  }),
1202
1202
  headers: {
1203
1203
  "Content-Type": "application/json"
@@ -1214,12 +1214,12 @@ function ci(n, e) {
1214
1214
  };
1215
1215
  }
1216
1216
  }
1217
- class je {
1217
+ class Ue {
1218
1218
  static url() {
1219
1219
  return "/close-api/presentation";
1220
1220
  }
1221
1221
  static getStatuses(e, t) {
1222
- return fetch(`${je.url()}/status/${e}/${t}`).then((r) => r.json());
1222
+ return fetch(`${Ue.url()}/status/${e}/${t}`).then((r) => r.json());
1223
1223
  }
1224
1224
  }
1225
1225
  function li(n) {
@@ -1229,7 +1229,7 @@ function li(n) {
1229
1229
  });
1230
1230
  function t(r) {
1231
1231
  if (n.name && Number.isInteger(r))
1232
- return je.getStatuses(n.name, r).then((i) => {
1232
+ return Ue.getStatuses(n.name, r).then((i) => {
1233
1233
  e.type = i.type, e.title = i.name;
1234
1234
  });
1235
1235
  }
@@ -1239,7 +1239,7 @@ function li(n) {
1239
1239
  code: (u = r.Status) == null ? void 0 : u.Code,
1240
1240
  name: (c = r.Status) == null ? void 0 : c.Name
1241
1241
  };
1242
- return n.name ? !Number.isInteger(i) && !s ? void console.log("Undefined code or name is Status prop.") : je.getStatuses(n.name, i).then((o) => {
1242
+ return n.name ? !Number.isInteger(i) && !s ? void console.log("Undefined code or name is Status prop.") : Ue.getStatuses(n.name, i).then((o) => {
1243
1243
  e.type = o.type, e.title = s;
1244
1244
  }) : void console.log("Form without name.");
1245
1245
  }), { label: e, update: t };
@@ -1419,7 +1419,7 @@ var Gt = (n, e, t) => {
1419
1419
  throw TypeError("Cannot add the same private member more than once");
1420
1420
  e instanceof WeakSet ? e.add(n) : e.set(n, t);
1421
1421
  }, Y = (n, e, t, r) => (Gt(n, e, "write to private field"), r ? r.call(n, t) : e.set(n, t), t), $e, pe, ke, Pe, he, ge, Qe;
1422
- const J = "_______LIST_______ROW_______INDEX________NAME_______", We = class V extends k {
1422
+ const J = "_______LIST_______ROW_______INDEX________NAME_______", Ve = class V extends k {
1423
1423
  constructor(e) {
1424
1424
  super(), this.LIST_ROW_KEY = 1, K(this, $e, void 0), this.array = [], K(this, pe, []), K(this, ke, []), K(this, Pe, new Proxy({}, {
1425
1425
  set: (t, r, i, s) => (t[r] = i, this.emit(V.EVENT_FILTERS_UPDATE, t), !0),
@@ -1428,7 +1428,7 @@ const J = "_______LIST_______ROW_______INDEX________NAME_______", We = class V e
1428
1428
  }), Y(this, $e, e.primaryKeys || []), this.name = e.name || void 0, e.config && Y(this, pe, e.config);
1429
1429
  }
1430
1430
  set config(e) {
1431
- Y(this, pe, e.map(X.copyObject)), this.emitUpdateConfig();
1431
+ Y(this, pe, e.map(Z.copyObject)), this.emitUpdateConfig();
1432
1432
  }
1433
1433
  get config() {
1434
1434
  return M(this, pe);
@@ -1580,7 +1580,7 @@ const J = "_______LIST_______ROW_______INDEX________NAME_______", We = class V e
1580
1580
  */
1581
1581
  static getCellInfo(e, t) {
1582
1582
  const r = V.getCellName(e), i = (() => {
1583
- let s = r ? Me(t, r) : null;
1583
+ let s = r ? je(t, r) : null;
1584
1584
  return s === void 0 && (s = null), e.value ? e.value(s, t) : s;
1585
1585
  })();
1586
1586
  return {
@@ -1596,10 +1596,10 @@ Pe = /* @__PURE__ */ new WeakMap();
1596
1596
  he = /* @__PURE__ */ new WeakMap();
1597
1597
  ge = /* @__PURE__ */ new WeakMap();
1598
1598
  Qe = /* @__PURE__ */ new WeakMap();
1599
- We.EVENT_DATA = "list-data: update";
1600
- We.EVENT_CONFIG_UPDATE = "list-config:update";
1601
- We.EVENT_ORDER_UPDATE = "list-order:update";
1602
- We.EVENT_FILTERS_UPDATE = "list-filters:update";
1599
+ Ve.EVENT_DATA = "list-data: update";
1600
+ Ve.EVENT_CONFIG_UPDATE = "list-config:update";
1601
+ Ve.EVENT_ORDER_UPDATE = "list-order:update";
1602
+ Ve.EVENT_FILTERS_UPDATE = "list-filters:update";
1603
1603
  function hi(n) {
1604
1604
  const e = D(""), t = Ce(() => {
1605
1605
  const r = e.value.toLowerCase();
@@ -1680,7 +1680,7 @@ function yi(n, e, t) {
1680
1680
  }
1681
1681
  }
1682
1682
  function l() {
1683
- return i.wait = "Loading process information.", Je.getStartConfig(e, n).then((g) => {
1683
+ return i.wait = "Loading process information.", Ye.getStartConfig(e, n).then((g) => {
1684
1684
  s = g.steps.map((E) => ({
1685
1685
  label: E.title,
1686
1686
  name: E.stepName,
@@ -1703,12 +1703,12 @@ function yi(n, e, t) {
1703
1703
  nt.add("error", E.message);
1704
1704
  }
1705
1705
  function m() {
1706
- return i.wait = "Starting process", Je.startProcess(e, n).then(p).then(a).catch(h).finally(() => {
1706
+ return i.wait = "Starting process", Ye.startProcess(e, n).then(p).then(a).catch(h).finally(() => {
1707
1707
  i.wait = null;
1708
1708
  });
1709
1709
  }
1710
1710
  function C(g = {}) {
1711
- return !r || !u ? Promise.reject("Not step or token.") : (i.wait = "Expect the result", Je.runStep(e, n, u, r, g).then(p).then(a).catch(h).finally(() => {
1711
+ return !r || !u ? Promise.reject("Not step or token.") : (i.wait = "Expect the result", Ye.runStep(e, n, u, r, g).then(p).then(a).catch(h).finally(() => {
1712
1712
  i.wait = !1;
1713
1713
  }));
1714
1714
  }
@@ -1722,7 +1722,7 @@ function yi(n, e, t) {
1722
1722
  function jn(n, e) {
1723
1723
  for (let t = 0; t < n.length; t++) {
1724
1724
  const r = n[t];
1725
- if (!X.getPropFromObject(e, r.name))
1725
+ if (!Z.getPropFromObject(e, r.name))
1726
1726
  return !1;
1727
1727
  }
1728
1728
  return !0;
@@ -1768,19 +1768,19 @@ function Bn(n) {
1768
1768
  }
1769
1769
  function zn(n, e) {
1770
1770
  const t = Bn(n);
1771
- let r = t ? X.getPropFromObject(e, t) : null;
1771
+ let r = t ? Z.getPropFromObject(e, t) : null;
1772
1772
  return r === void 0 && (r = null), n.value ? n.value(r, e) : r;
1773
1773
  }
1774
1774
  function Kn(n) {
1775
1775
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
1776
1776
  }
1777
- var et = { exports: {} }, He, Et;
1777
+ var et = { exports: {} }, Je, Et;
1778
1778
  function Yn() {
1779
1779
  if (Et)
1780
- return He;
1780
+ return Je;
1781
1781
  Et = 1;
1782
1782
  var n = 1e3, e = n * 60, t = e * 60, r = t * 24, i = r * 7, s = r * 365.25;
1783
- He = function(a, d) {
1783
+ Je = function(a, d) {
1784
1784
  d = d || {};
1785
1785
  var l = typeof a;
1786
1786
  if (l === "string" && a.length > 0)
@@ -1855,7 +1855,7 @@ function Yn() {
1855
1855
  var h = d >= l * 1.5;
1856
1856
  return Math.round(a / l) + " " + p + (h ? "s" : "");
1857
1857
  }
1858
- return He;
1858
+ return Je;
1859
1859
  }
1860
1860
  function Jn(n) {
1861
1861
  t.debug = t, t.default = t, t.coerce = o, t.disable = s, t.enable = i, t.enabled = u, t.humanize = Yn(), t.destroy = f, Object.keys(n).forEach((a) => {
@@ -2151,14 +2151,14 @@ function nr(n, e, t) {
2151
2151
  break;
2152
2152
  }
2153
2153
  case "multi-select": {
2154
- f.push(L(Ze, {
2154
+ f.push(L(Xe, {
2155
2155
  type: "single-checkbox",
2156
2156
  modelValue: e.selected
2157
2157
  })), u(_t.bind(null, t, !0));
2158
2158
  break;
2159
2159
  }
2160
2160
  case "select": {
2161
- f.push(L(Ze, {
2161
+ f.push(L(Xe, {
2162
2162
  type: "single-radio",
2163
2163
  modelValue: e.selected
2164
2164
  })), u(_t.bind(null, t, !1));
@@ -2452,7 +2452,7 @@ const wr = /* @__PURE__ */ z(mr, [["__scopeId", "data-v-344a8cc1"]]), Cr = (n) =
2452
2452
  class: "head-cell-content flex_grow",
2453
2453
  style: Nt({ "min-width": r.minWidth, "max-width": r.maxWidth, width: r.width })
2454
2454
  }, [
2455
- r.type === "multi-select" ? (w(), U(B(Ze), {
2455
+ r.type === "multi-select" ? (w(), U(B(Xe), {
2456
2456
  key: 0,
2457
2457
  type: "single-checkbox",
2458
2458
  onClick: i[0] || (i[0] = sn((s) => e("select"), ["stop", "prevent"]))
@@ -2521,18 +2521,18 @@ const br = /* @__PURE__ */ z(_r, [["__scopeId", "data-v-4e1d87c8"]]), Sr = /* @_
2521
2521
  function m(I) {
2522
2522
  return I.screenX + E - F;
2523
2523
  }
2524
- const C = r.value, g = [...C.children].filter((I) => I.localName === "th"), E = ((ft = C.offsetParent) == null ? void 0 : ft.scrollLeft) || 0, T = g.map((I) => I.clientWidth), A = l(h.target), F = C.getBoundingClientRect().left, W = m(h), b = o(T, W), ae = T.slice(0, b).reduce((I, R) => I + R, 0), _e = W - ae, Ge = C.offsetWidth, ce = g[b].clientWidth;
2524
+ const C = r.value, g = [...C.children].filter((I) => I.localName === "th"), E = ((ft = C.offsetParent) == null ? void 0 : ft.scrollLeft) || 0, T = g.map((I) => I.clientWidth), A = l(h.target), F = C.getBoundingClientRect().left, W = m(h), b = o(T, W), ae = T.slice(0, b).reduce((I, R) => I + R, 0), _e = W - ae, qe = C.offsetWidth, ce = g[b].clientWidth;
2525
2525
  if (t.config[b].type === "multi-select")
2526
2526
  return;
2527
- console.group("START"), console.log(), console.log("Start screenX", h.screenX), console.log("Widths", T), console.log("max width", Ge), console.log("Start Position", W), console.log("Position From", b), console.log("Start Position", b), console.log("Global offset (Отступ самой таблицы от края экрана)", F), console.log("Del", _e), console.groupEnd(), i.value.innerText = g[b].textContent || "", i.value.style.display = "grid", i.value.style.width = ce + "px", i.value.style.cursor = "grabbing", a(ae), d(ce), document.addEventListener("pointermove", dt, { passive: !0 }), document.addEventListener("pointerup", ut);
2527
+ console.group("START"), console.log(), console.log("Start screenX", h.screenX), console.log("Widths", T), console.log("max width", qe), console.log("Start Position", W), console.log("Position From", b), console.log("Start Position", b), console.log("Global offset (Отступ самой таблицы от края экрана)", F), console.log("Del", _e), console.groupEnd(), i.value.innerText = g[b].textContent || "", i.value.style.display = "grid", i.value.style.width = ce + "px", i.value.style.cursor = "grabbing", a(ae), d(ce), document.addEventListener("pointermove", dt, { passive: !0 }), document.addEventListener("pointerup", ut);
2528
2528
  function ut(I) {
2529
2529
  if (console.group("END"), document.removeEventListener("pointermove", dt), document.removeEventListener("pointerup", ut), A && (t.config[b].width = i.value.style.width, t.config[b].minWidth = i.value.style.width, t.config[b].maxWidth = i.value.style.width, s(t.config)), !A) {
2530
2530
  const R = I.screenX + E - F;
2531
2531
  console.log("ENP Position", R);
2532
2532
  const be = f(T, R);
2533
2533
  if (console.log(b, "->", be), be !== b) {
2534
- const le = t.config[b], Be = t.config;
2535
- Be.splice(b, 1), Be.splice(be, 0, le), s(Be);
2534
+ const le = t.config[b], Ge = t.config;
2535
+ Ge.splice(b, 1), Ge.splice(be, 0, le), s(Ge);
2536
2536
  } else {
2537
2537
  const le = t.config[b].name;
2538
2538
  u(le);
@@ -2547,7 +2547,7 @@ const br = /* @__PURE__ */ z(_r, [["__scopeId", "data-v-4e1d87c8"]]), Sr = /* @_
2547
2547
  return;
2548
2548
  }
2549
2549
  let R = I.screenX + E - F - _e;
2550
- R < 0 && (R = 0), R + ce > Ge && (R = Ge - ce), a(R);
2550
+ R < 0 && (R = 0), R + ce > qe && (R = qe - ce), a(R);
2551
2551
  }
2552
2552
  });
2553
2553
  });
@@ -2667,12 +2667,12 @@ function Si(n) {
2667
2667
  return t;
2668
2668
  }
2669
2669
  function tt(n) {
2670
- return typeof n == "string" ? Xe(n) : Ir(n) ? Xe(n.message) : Xe(ne.DEFAULT_ERROR_MESSAGE);
2670
+ return typeof n == "string" ? He(n) : Ir(n) ? He(n.message) : He(ne.DEFAULT_ERROR_MESSAGE);
2671
2671
  }
2672
2672
  function Ir(n) {
2673
2673
  return !!(typeof n == "object" && n !== null && Object.hasOwnProperty.call(n, "message"));
2674
2674
  }
2675
- function Xe(n) {
2675
+ function He(n) {
2676
2676
  return {
2677
2677
  message: n
2678
2678
  };
@@ -2735,7 +2735,7 @@ function Oi() {
2735
2735
  activateRow: e
2736
2736
  };
2737
2737
  }
2738
- const Q = Bt(zt("use-socket"));
2738
+ const ee = Bt(zt("use-socket"));
2739
2739
  function lt() {
2740
2740
  return Fr;
2741
2741
  }
@@ -2751,14 +2751,14 @@ const Fr = function() {
2751
2751
  }
2752
2752
  function s(l) {
2753
2753
  const p = [...t.values()];
2754
- Q("Handlers array length is %d. Response event: %s. Request id: %d", t.size, l.event, l.requestId), p.forEach((h) => {
2754
+ ee("Handlers array length is %d. Response event: %s. Request id: %d", t.size, l.event, l.requestId), p.forEach((h) => {
2755
2755
  const m = l.requestId;
2756
- (h.requestId && h.requestId === m || !h.requestId && h.event === l.event) && (Q("Find appropriated handler: %d, event: %s", n, h.event), h.callback(l.data, l), h.once && (t.delete(h), Q("Handler was removed by *once* params was passed. %o", h)));
2756
+ (h.requestId && h.requestId === m || !h.requestId && h.event === l.event) && (ee("Find appropriated handler: %d, event: %s", n, h.event), h.callback(l.data, l), h.once && (t.delete(h), ee("Handler was removed by *once* params was passed. %o", h)));
2757
2757
  });
2758
2758
  }
2759
2759
  function u(l) {
2760
2760
  console.log(`%cInitializing sockets: %c${l}`, "color: purple", "color: black"), e = new WebSocket(l), e.onclose = function(p) {
2761
- Q("Connection to server was stopped: %d %s", p.code, p.reason), setTimeout(() => u(l));
2761
+ ee("Connection to server was stopped: %d %s", p.code, p.reason), setTimeout(() => u(l));
2762
2762
  }, e.onopen = function() {
2763
2763
  console.log("Socket was %cconnected.", "color: green"), [...r.values()].forEach((p) => {
2764
2764
  c(p), r.delete(p);
@@ -2795,16 +2795,16 @@ const Fr = function() {
2795
2795
  requestId: m,
2796
2796
  event: l,
2797
2797
  data: p,
2798
- contextId: De.contextId,
2798
+ contextId: H.contextId,
2799
2799
  url: window.location.href
2800
2800
  });
2801
- return a() ? c(C) : (r.add(C), Q("Socket is not connected. Message was send to save-queue. %s")), new Promise((g, E) => {
2801
+ return a() ? c(C) : (r.add(C), ee("Socket is not connected. Message was send to save-queue. %s")), new Promise((g, E) => {
2802
2802
  t.add({
2803
2803
  event: l,
2804
2804
  requestId: m,
2805
2805
  once: !0,
2806
2806
  callback: (T, A) => {
2807
- if (Q("Promise was resolve with next data:", T), Rr(A))
2807
+ if (ee("Promise was resolve with next data:", T), Rr(A))
2808
2808
  return void E(T);
2809
2809
  h && h(T, A), g(T);
2810
2810
  }
@@ -2891,15 +2891,15 @@ function Ii(n, e) {
2891
2891
  function $i() {
2892
2892
  function n() {
2893
2893
  return {
2894
- organizations: ee.organizations,
2895
- currentContextId: ee.contextId,
2896
- person: ee.person,
2897
- context: ee.context,
2898
- contextType: ee.contextType
2894
+ organizations: H.organizations,
2895
+ currentContextId: H.contextId,
2896
+ person: H.person,
2897
+ context: H.context,
2898
+ contextType: H.contextType
2899
2899
  };
2900
2900
  }
2901
2901
  const e = O(n());
2902
- return ee.onupdateContext(() => {
2902
+ return H.onupdateContext(() => {
2903
2903
  Object.assign(e, n());
2904
2904
  }), e;
2905
2905
  }
@@ -2961,7 +2961,7 @@ var Zt = (n, e, t) => {
2961
2961
  throw TypeError("Cannot add the same private member more than once");
2962
2962
  e instanceof WeakSet ? e.add(n) : e.set(n, t);
2963
2963
  }, Mr = (n, e, t, r) => (Zt(n, e, "write to private field"), r ? r.call(n, t) : e.set(n, t), t), Re;
2964
- const qe = class te extends k {
2964
+ const We = class te extends k {
2965
2965
  constructor() {
2966
2966
  super(...arguments), this.type = "front", this.organizations = [], jr(this, Re, !1);
2967
2967
  }
@@ -3059,10 +3059,10 @@ const qe = class te extends k {
3059
3059
  }
3060
3060
  };
3061
3061
  Re = /* @__PURE__ */ new WeakMap();
3062
- qe.DEFAULT_LANGUAGE = "en";
3063
- qe.EVENT_CONTEXT_UPDATE = "event:context-update";
3064
- qe.EVENT_READY_UPDATE = "event:ready-update";
3065
- let Vr = qe;
3062
+ We.DEFAULT_LANGUAGE = "en";
3063
+ We.EVENT_CONTEXT_UPDATE = "event:context-update";
3064
+ We.EVENT_READY_UPDATE = "event:ready-update";
3065
+ let Vr = We;
3066
3066
  function Wr(n) {
3067
3067
  return typeof n != "object" || n === null ? !1 : !!(n.hasOwnProperty("start") || n.hasOwnProperty("end"));
3068
3068
  }
@@ -3111,7 +3111,7 @@ j.is = function(e, t) {
3111
3111
  j.or = function(...e) {
3112
3112
  return e.join(" or ");
3113
3113
  };
3114
- const ee = new Vr(), Pi = {
3114
+ const H = new Vr(), Pi = {
3115
3115
  clickOutside: it,
3116
3116
  //!!!!!!!!!!!!!!!!
3117
3117
  staticLink: Fn,
@@ -3128,7 +3128,7 @@ export {
3128
3128
  Xr as ComputedMetadata,
3129
3129
  x as CoreError,
3130
3130
  j as Filter,
3131
- ee as Manager,
3131
+ H as Manager,
3132
3132
  Te as MetadataStore,
3133
3133
  nt as NotificationSystem,
3134
3134
  y as Request,
@@ -3169,7 +3169,7 @@ export {
3169
3169
  Kt as prettyDate,
3170
3170
  Zn as prettyDateWithTime,
3171
3171
  kr as prettyMoney,
3172
- Je as processWizardService,
3172
+ Ye as processWizardService,
3173
3173
  qt as ruleValidationService,
3174
3174
  we as t,
3175
3175
  Jr as testTypes,