@kontur.candy/tools 2.222.0 → 2.223.2
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/CandyApiClient/CandyApiClient.js +25 -63
- package/distr/Common/CandyApiClient/CandyApiClient.js.map +1 -1
- package/distr/Common/CandyApiClient/DigestApiClient/Types/DigestQueryFilter.js.map +1 -1
- package/distr/Common/CandyApiClient/FakeCandyApiClient.js +6 -12
- package/distr/Common/CandyApiClient/FakeCandyApiClient.js.map +1 -1
- package/distr/Common/CandyApiClient/ICandyApiClient.js.map +1 -1
- package/distr/Common/CandyApiClient/Types/DraftActions/CombineFufResult.js +2 -1
- package/distr/Common/CandyApiClient/Types/DraftActions/CombineFufResult.js.map +1 -1
- package/distr/Common/CandyApiClient/Types/DraftActions/FileProperties.js.map +1 -1
- package/distr/Common/CandyApiClient/Types/DraftActions/NeedNormalizationError.js +9 -0
- package/distr/Common/CandyApiClient/Types/DraftActions/NeedNormalizationError.js.map +1 -0
- package/distr/Common/ModelPath/ModelPathHelper.js +5 -0
- package/distr/Common/ModelPath/ModelPathHelper.js.map +1 -1
- package/distr/Common/PathConstants.js +6 -1
- package/distr/Common/PathConstants.js.map +1 -1
- package/distr/Common/TypingUtils.js +2 -2
- package/distr/Common/TypingUtils.js.map +1 -1
- package/distr/Tools/src/CLICommands/BuildForms/RunBuildForms.js +1 -1
- package/distr/Tools/src/CLICommands/BuildForms/RunBuildForms.js.map +1 -1
- package/distr/Tools/src/CLICommands/BuildServer/ResourcesControllers/DevServers/BuildFormDevServer.js +1 -1
- package/distr/Tools/src/CLICommands/BuildServer/ResourcesControllers/DevServers/BuildFormDevServer.js.map +1 -1
- package/distr/Tools/src/CLICommands/DevBuild/RunDevBuild.js +1 -1
- package/distr/Tools/src/CLICommands/DevBuild/RunDevBuild.js.map +1 -1
- package/distr/Tools/src/Commons/TasksCore/FileSystemEntriesProducer.js +40 -8
- package/distr/Tools/src/Commons/TasksCore/FileSystemEntriesProducer.js.map +1 -1
- package/distr/Tools/src/LocalServerFrontEndDist/enhancedClient.js +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 +41 -25
- package/distr/Tools/src/StaticFilesForProductionResourcesDir/client.js.map +1 -1
- package/distr/Tools/src/StaticFilesForProductionResourcesDir/client.min.js +40 -24
- package/distr/Tools/src/StaticFilesForProductionResourcesDir/client.min.js.map +1 -1
- package/package.json +2 -3
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
});
|
|
328
328
|
};
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function R(e, t) {
|
|
331
331
|
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
332
332
|
}
|
|
333
333
|
function C(e, t) {
|
|
@@ -336,7 +336,7 @@
|
|
|
336
336
|
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, r(o.key), o);
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
|
-
function
|
|
339
|
+
function U(e, t, r) {
|
|
340
340
|
return t && C(e.prototype, t), r && C(e, r), Object.defineProperty(e, "prototype", {
|
|
341
341
|
writable: !1
|
|
342
342
|
}), e;
|
|
@@ -344,9 +344,9 @@
|
|
|
344
344
|
T.polyfill = !0, i.fetch || (i.fetch = T, i.Headers = m, i.Request = O, i.Response = j);
|
|
345
345
|
var I = function () {
|
|
346
346
|
function e() {
|
|
347
|
-
|
|
347
|
+
R(this, e);
|
|
348
348
|
}
|
|
349
|
-
return
|
|
349
|
+
return U(e, null, [{
|
|
350
350
|
key: "diagnoseNetworkError",
|
|
351
351
|
value: (t = B(regeneratorRuntime.mark(function e(t) {
|
|
352
352
|
var r, n;
|
|
@@ -514,15 +514,15 @@
|
|
|
514
514
|
}
|
|
515
515
|
var G = function (e) {
|
|
516
516
|
function t() {
|
|
517
|
-
return
|
|
517
|
+
return R(this, t), q(this, t, ["Operation not implemented"]);
|
|
518
518
|
}
|
|
519
|
-
return N(t, e),
|
|
519
|
+
return N(t, e), U(t);
|
|
520
520
|
}(function (e) {
|
|
521
521
|
function t(e) {
|
|
522
522
|
var r;
|
|
523
|
-
return
|
|
523
|
+
return R(this, t), (r = q(this, t, [e])).name = r.constructor.name, r;
|
|
524
524
|
}
|
|
525
|
-
return N(t, e),
|
|
525
|
+
return N(t, e), U(t);
|
|
526
526
|
}(z(Error)));
|
|
527
527
|
function V(e, t) {
|
|
528
528
|
var r = Object.keys(e);
|
|
@@ -560,14 +560,14 @@
|
|
|
560
560
|
return null == r ? {} : n({}, t, r.value);
|
|
561
561
|
});
|
|
562
562
|
}
|
|
563
|
-
function
|
|
563
|
+
function W(e) {
|
|
564
564
|
return e.reduce(function (e, t) {
|
|
565
565
|
return Z(Z({}, e), t);
|
|
566
566
|
}, {});
|
|
567
567
|
}
|
|
568
|
-
var
|
|
569
|
-
return
|
|
570
|
-
|
|
568
|
+
var X = function () {
|
|
569
|
+
return U(function e(t) {
|
|
570
|
+
R(this, e), this.form = void 0, this.form = t;
|
|
571
571
|
}, [{
|
|
572
572
|
key: "navigateByHighlanderPaths",
|
|
573
573
|
value: function (e) {
|
|
@@ -600,7 +600,7 @@
|
|
|
600
600
|
}
|
|
601
601
|
}, {
|
|
602
602
|
key: "validateChildrenByPath",
|
|
603
|
-
value: (
|
|
603
|
+
value: (i = B(regeneratorRuntime.mark(function e(t) {
|
|
604
604
|
return regeneratorRuntime.wrap(function (e) {
|
|
605
605
|
for (;;) switch (e.prev = e.next) {
|
|
606
606
|
case 0:
|
|
@@ -611,7 +611,7 @@
|
|
|
611
611
|
}
|
|
612
612
|
}, e);
|
|
613
613
|
})), function (e) {
|
|
614
|
-
return
|
|
614
|
+
return i.apply(this, arguments);
|
|
615
615
|
})
|
|
616
616
|
}, {
|
|
617
617
|
key: "__INTERNAL__importFromEmployeeService",
|
|
@@ -620,7 +620,7 @@
|
|
|
620
620
|
}
|
|
621
621
|
}, {
|
|
622
622
|
key: "__INTERNAL__getSelectFunctionForDisableEmployeeInSS",
|
|
623
|
-
value: (
|
|
623
|
+
value: (o = B(regeneratorRuntime.mark(function e(t) {
|
|
624
624
|
return regeneratorRuntime.wrap(function (e) {
|
|
625
625
|
for (;;) switch (e.prev = e.next) {
|
|
626
626
|
case 0:
|
|
@@ -631,7 +631,7 @@
|
|
|
631
631
|
}
|
|
632
632
|
}, e);
|
|
633
633
|
})), function (e) {
|
|
634
|
-
return
|
|
634
|
+
return o.apply(this, arguments);
|
|
635
635
|
})
|
|
636
636
|
}, {
|
|
637
637
|
key: "getModalUnitOpenedInstance",
|
|
@@ -739,7 +739,7 @@
|
|
|
739
739
|
}
|
|
740
740
|
}, {
|
|
741
741
|
key: "reloadInner",
|
|
742
|
-
value: (
|
|
742
|
+
value: (r = B(regeneratorRuntime.mark(function e() {
|
|
743
743
|
return regeneratorRuntime.wrap(function (e) {
|
|
744
744
|
for (;;) switch (e.prev = e.next) {
|
|
745
745
|
case 0:
|
|
@@ -750,7 +750,7 @@
|
|
|
750
750
|
}
|
|
751
751
|
}, e);
|
|
752
752
|
})), function () {
|
|
753
|
-
return
|
|
753
|
+
return r.apply(this, arguments);
|
|
754
754
|
})
|
|
755
755
|
}, {
|
|
756
756
|
key: "getWorkingEventsForEmployee",
|
|
@@ -792,13 +792,13 @@
|
|
|
792
792
|
key: "get",
|
|
793
793
|
value: function (e) {
|
|
794
794
|
var t = this;
|
|
795
|
-
if (Array.isArray(e)) return
|
|
795
|
+
if (Array.isArray(e)) return W(e.map(function (e) {
|
|
796
796
|
return J(t.form.model.getChunk(e));
|
|
797
797
|
}).reduce(function (e, t) {
|
|
798
798
|
return e.concat(t);
|
|
799
799
|
}, []));
|
|
800
|
-
if ("string" == typeof e) return
|
|
801
|
-
if (void 0 === e) return
|
|
800
|
+
if ("string" == typeof e) return W(J(this.form.model.getChunk(e)));
|
|
801
|
+
if (void 0 === e) return W(J(this.form.model.getChunk(this.form.settings.formRoot)));
|
|
802
802
|
throw new Error("form.get() parameter should be string path or array of paths");
|
|
803
803
|
}
|
|
804
804
|
}, {
|
|
@@ -916,8 +916,23 @@
|
|
|
916
916
|
value: function (e, t, r) {
|
|
917
917
|
return Promise.resolve([]);
|
|
918
918
|
}
|
|
919
|
+
}, {
|
|
920
|
+
key: "clearFormWithReload",
|
|
921
|
+
value: (e = B(regeneratorRuntime.mark(function e() {
|
|
922
|
+
return regeneratorRuntime.wrap(function (e) {
|
|
923
|
+
for (;;) switch (e.prev = e.next) {
|
|
924
|
+
case 0:
|
|
925
|
+
throw new G();
|
|
926
|
+
case 1:
|
|
927
|
+
case "end":
|
|
928
|
+
return e.stop();
|
|
929
|
+
}
|
|
930
|
+
}, e);
|
|
931
|
+
})), function () {
|
|
932
|
+
return e.apply(this, arguments);
|
|
933
|
+
})
|
|
919
934
|
}]);
|
|
920
|
-
var e, r, o;
|
|
935
|
+
var e, r, o, i;
|
|
921
936
|
}();
|
|
922
937
|
function K(e, t) {
|
|
923
938
|
var r = Object.keys(e);
|
|
@@ -1043,7 +1058,8 @@
|
|
|
1043
1058
|
normativeUrl: D.normativeUrl,
|
|
1044
1059
|
konturDomains: D.konturDomains,
|
|
1045
1060
|
showNavigationSidebar: null === (o = r.showNavigationSidebar) || void 0 === o || o,
|
|
1046
|
-
onRemoveAttachment: r.onRemoveAttachment
|
|
1061
|
+
onRemoveAttachment: r.onRemoveAttachment,
|
|
1062
|
+
onClearAttachment: r.onClearAttachment
|
|
1047
1063
|
}, r), n), {}, {
|
|
1048
1064
|
gfv: f,
|
|
1049
1065
|
engineVersion: h,
|
|
@@ -1099,7 +1115,7 @@
|
|
|
1099
1115
|
throw "string" == typeof e || null == e ? new Error(null != e ? e : "Undefined is not allowed") : e;
|
|
1100
1116
|
}("Form entry point ".concat(r.gfv, " not found.")))(t, r).then(function (e) {
|
|
1101
1117
|
var t = e.publicForm || function (e) {
|
|
1102
|
-
return new
|
|
1118
|
+
return new X(e);
|
|
1103
1119
|
}(e);
|
|
1104
1120
|
n(null, t);
|
|
1105
1121
|
}).catch(n);
|