@kontur.candy/tools 2.213.0 → 2.214.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/distr/Common/ArrayUtils.js +20 -0
- package/distr/Common/ArrayUtils.js.map +1 -0
- package/distr/Common/CandyApiClient/CandyApiClient.js +30 -7
- package/distr/Common/CandyApiClient/CandyApiClient.js.map +1 -1
- package/distr/Common/CandyApiClient/FakeCandyApiClient.js +7 -4
- package/distr/Common/CandyApiClient/FakeCandyApiClient.js.map +1 -1
- package/distr/Common/CandyApiClient/ICandyApiClient.js.map +1 -1
- package/distr/Common/CandyApiClient/Types/ErrorLog/AttachmentErrorLog.js +6 -0
- package/distr/Common/CandyApiClient/Types/ErrorLog/AttachmentErrorLog.js.map +1 -0
- package/distr/Common/CandyApiClient/Types/HistoryEditing/InnerHistoryResponse.js.map +1 -1
- package/distr/Common/CandyApiClient/Types/QueryCollecton/InnerQueryRequest.js +3 -3
- package/distr/Common/CandyApiClient/Types/QueryCollecton/InnerQueryRequest.js.map +1 -1
- package/distr/Common/CommonConstants/DefaultServicesUrls.js +19 -0
- package/distr/Common/CommonConstants/DefaultServicesUrls.js.map +1 -0
- package/distr/Common/FSPrinterClient/IFSPrinterClient.js.map +1 -1
- package/distr/Common/FormActionHandlers/ContextualActionNames.js +2 -1
- package/distr/Common/FormActionHandlers/ContextualActionNames.js.map +1 -1
- package/distr/Common/KCLangRuntimeUtils.js +12 -0
- package/distr/Common/KCLangRuntimeUtils.js.map +1 -1
- package/distr/Common/ModelPath/ModelPath.js +39 -2
- package/distr/Common/ModelPath/ModelPath.js.map +1 -1
- package/distr/Common/TypingUtils.js +5 -0
- package/distr/Common/TypingUtils.js.map +1 -1
- package/distr/Tools/src/CLICommands/BuildForms/ClearSourceMapForProduction.js +4 -2
- package/distr/Tools/src/CLICommands/BuildForms/ClearSourceMapForProduction.js.map +1 -1
- package/distr/Tools/src/CheckNodeJsVersion.js +2 -2
- package/distr/Tools/src/CheckNodeJsVersion.js.map +1 -1
- package/distr/Tools/src/Commons/FsUtils.js +1 -3
- package/distr/Tools/src/Commons/FsUtils.js.map +1 -1
- package/distr/Tools/src/LocalServerFrontEndDist/index.js +1 -1
- package/distr/Tools/src/LocalServerFrontEndDist/index.js.map +1 -1
- package/distr/Tools/src/StaticFilesForProductionResourcesDir/client.js +33 -18
- package/distr/Tools/src/StaticFilesForProductionResourcesDir/client.js.map +1 -1
- package/distr/Tools/src/StaticFilesForProductionResourcesDir/client.min.js +35 -20
- package/distr/Tools/src/StaticFilesForProductionResourcesDir/client.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -176,17 +176,17 @@
|
|
|
176
176
|
e.push([r, t]);
|
|
177
177
|
}), y(e);
|
|
178
178
|
}, u && (m.prototype[Symbol.iterator] = m.prototype.entries);
|
|
179
|
-
var
|
|
180
|
-
function
|
|
181
|
-
if (!(this instanceof
|
|
179
|
+
var k = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"];
|
|
180
|
+
function O(e, t) {
|
|
181
|
+
if (!(this instanceof O)) throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
|
|
182
182
|
var r,
|
|
183
183
|
n,
|
|
184
184
|
o = (t = t || {}).body;
|
|
185
|
-
if (e instanceof
|
|
185
|
+
if (e instanceof O) {
|
|
186
186
|
if (e.bodyUsed) throw new TypeError("Already read");
|
|
187
187
|
this.url = e.url, this.credentials = e.credentials, t.headers || (this.headers = new m(e.headers)), this.method = e.method, this.mode = e.mode, this.signal = e.signal, o || null == e._bodyInit || (o = e._bodyInit, e.bodyUsed = !0);
|
|
188
188
|
} else this.url = String(e);
|
|
189
|
-
if (this.credentials = t.credentials || this.credentials || "same-origin", !t.headers && this.headers || (this.headers = new m(t.headers)), this.method = (n = (r = t.method || this.method || "GET").toUpperCase(),
|
|
189
|
+
if (this.credentials = t.credentials || this.credentials || "same-origin", !t.headers && this.headers || (this.headers = new m(t.headers)), this.method = (n = (r = t.method || this.method || "GET").toUpperCase(), k.indexOf(n) > -1 ? n : r), this.mode = t.mode || this.mode || null, this.signal = t.signal || this.signal, this.referrer = null, ("GET" === this.method || "HEAD" === this.method) && o) throw new TypeError("Body not allowed for GET or HEAD requests");
|
|
190
190
|
if (this._initBody(o), !("GET" !== this.method && "HEAD" !== this.method || "no-store" !== t.cache && "no-cache" !== t.cache)) {
|
|
191
191
|
var i = /([?&])_=[^&]*/;
|
|
192
192
|
i.test(this.url) ? this.url = this.url.replace(i, "$1_=" + new Date().getTime()) : this.url += (/\?/.test(this.url) ? "&" : "?") + "_=" + new Date().getTime();
|
|
@@ -207,11 +207,11 @@
|
|
|
207
207
|
if (!(this instanceof j)) throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
|
|
208
208
|
t || (t = {}), this.type = "default", this.status = void 0 === t.status ? 200 : t.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = void 0 === t.statusText ? "" : "" + t.statusText, this.headers = new m(t.headers), this.url = t.url || "", this._initBody(e);
|
|
209
209
|
}
|
|
210
|
-
|
|
211
|
-
return new
|
|
210
|
+
O.prototype.clone = function () {
|
|
211
|
+
return new O(this, {
|
|
212
212
|
body: this._bodyInit
|
|
213
213
|
});
|
|
214
|
-
}, E.call(
|
|
214
|
+
}, E.call(O.prototype), E.call(j.prototype), j.prototype.clone = function () {
|
|
215
215
|
return new j(this._bodyInit, {
|
|
216
216
|
status: this.status,
|
|
217
217
|
statusText: this.statusText,
|
|
@@ -247,7 +247,7 @@
|
|
|
247
247
|
}
|
|
248
248
|
function T(e, t) {
|
|
249
249
|
return new Promise(function (r, n) {
|
|
250
|
-
var o = new
|
|
250
|
+
var o = new O(e, t);
|
|
251
251
|
if (o.signal && o.signal.aborted) return n(new P("Aborted", "AbortError"));
|
|
252
252
|
var a = new XMLHttpRequest();
|
|
253
253
|
function u() {
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
writable: !1
|
|
317
317
|
}), e;
|
|
318
318
|
}
|
|
319
|
-
T.polyfill = !0, i.fetch || (i.fetch = T, i.Headers = m, i.Request =
|
|
319
|
+
T.polyfill = !0, i.fetch || (i.fetch = T, i.Headers = m, i.Request = O, i.Response = j);
|
|
320
320
|
var C = function () {
|
|
321
321
|
return U(function e() {
|
|
322
322
|
_(this, e);
|
|
@@ -368,7 +368,7 @@
|
|
|
368
368
|
}
|
|
369
369
|
u.done ? t(s) : Promise.resolve(s).then(n, o);
|
|
370
370
|
}
|
|
371
|
-
function
|
|
371
|
+
function F(e) {
|
|
372
372
|
return function () {
|
|
373
373
|
var t = this,
|
|
374
374
|
r = arguments;
|
|
@@ -384,10 +384,10 @@
|
|
|
384
384
|
});
|
|
385
385
|
};
|
|
386
386
|
}
|
|
387
|
-
function
|
|
388
|
-
return
|
|
387
|
+
function x(e) {
|
|
388
|
+
return x = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (e) {
|
|
389
389
|
return e.__proto__ || Object.getPrototypeOf(e);
|
|
390
|
-
},
|
|
390
|
+
}, x(e);
|
|
391
391
|
}
|
|
392
392
|
function M(e, t) {
|
|
393
393
|
return M = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (e, t) {
|
|
@@ -436,7 +436,7 @@
|
|
|
436
436
|
n.push.apply(n, t);
|
|
437
437
|
var o = new (e.bind.apply(e, n))();
|
|
438
438
|
return r && M(o, r.prototype), o;
|
|
439
|
-
}(e, arguments,
|
|
439
|
+
}(e, arguments, x(this).constructor);
|
|
440
440
|
}
|
|
441
441
|
return r.prototype = Object.create(e.prototype, {
|
|
442
442
|
constructor: {
|
|
@@ -449,14 +449,14 @@
|
|
|
449
449
|
}, z(e);
|
|
450
450
|
}
|
|
451
451
|
function q(e, r, n) {
|
|
452
|
-
return r =
|
|
452
|
+
return r = x(r), function (e, r) {
|
|
453
453
|
if (r && ("object" == t(r) || "function" == typeof r)) return r;
|
|
454
454
|
if (void 0 !== r) throw new TypeError("Derived constructors may only return object or undefined");
|
|
455
455
|
return function (e) {
|
|
456
456
|
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
457
457
|
return e;
|
|
458
458
|
}(e);
|
|
459
|
-
}(e, H() ? Reflect.construct(r, n || [],
|
|
459
|
+
}(e, H() ? Reflect.construct(r, n || [], x(e).constructor) : r.apply(e, n));
|
|
460
460
|
}
|
|
461
461
|
function H() {
|
|
462
462
|
try {
|
|
@@ -554,7 +554,7 @@
|
|
|
554
554
|
}
|
|
555
555
|
}, {
|
|
556
556
|
key: "validateChildrenByPath",
|
|
557
|
-
value: (o =
|
|
557
|
+
value: (o = F(regeneratorRuntime.mark(function e(t) {
|
|
558
558
|
return regeneratorRuntime.wrap(function (e) {
|
|
559
559
|
for (;;) switch (e.prev = e.next) {
|
|
560
560
|
case 0:
|
|
@@ -574,7 +574,7 @@
|
|
|
574
574
|
}
|
|
575
575
|
}, {
|
|
576
576
|
key: "__INTERNAL__getSelectFunctionForDisableEmployeeInSS",
|
|
577
|
-
value: (r =
|
|
577
|
+
value: (r = F(regeneratorRuntime.mark(function e(t) {
|
|
578
578
|
return regeneratorRuntime.wrap(function (e) {
|
|
579
579
|
for (;;) switch (e.prev = e.next) {
|
|
580
580
|
case 0:
|
|
@@ -693,7 +693,7 @@
|
|
|
693
693
|
}
|
|
694
694
|
}, {
|
|
695
695
|
key: "reloadInner",
|
|
696
|
-
value: (e =
|
|
696
|
+
value: (e = F(regeneratorRuntime.mark(function e() {
|
|
697
697
|
return regeneratorRuntime.wrap(function (e) {
|
|
698
698
|
for (;;) switch (e.prev = e.next) {
|
|
699
699
|
case 0:
|
|
@@ -830,6 +830,21 @@
|
|
|
830
830
|
value: function (e) {
|
|
831
831
|
return Promise.resolve(void 0);
|
|
832
832
|
}
|
|
833
|
+
}, {
|
|
834
|
+
key: "getInnerForm",
|
|
835
|
+
value: function () {
|
|
836
|
+
throw new V();
|
|
837
|
+
}
|
|
838
|
+
}, {
|
|
839
|
+
key: "getAttachmentPublicFormByPath",
|
|
840
|
+
value: function (e) {
|
|
841
|
+
throw new V();
|
|
842
|
+
}
|
|
843
|
+
}, {
|
|
844
|
+
key: "getGfv",
|
|
845
|
+
value: function () {
|
|
846
|
+
throw new V();
|
|
847
|
+
}
|
|
833
848
|
}, {
|
|
834
849
|
key: "ensureInstanceFullyLoaded",
|
|
835
850
|
value: function (e) {
|