@kontur.candy/generator 5.93.0-ci-test.0 → 5.93.0-formmetainfo.1
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/dist/index.js +568 -433
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -45658,7 +45658,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
45658
45658
|
let FufCombineMethod = /*#__PURE__*/function (FufCombineMethod) {
|
|
45659
45659
|
FufCombineMethod["Merge"] = "Merge";
|
|
45660
45660
|
FufCombineMethod["AddToEnd"] = "AddToEnd";
|
|
45661
|
-
FufCombineMethod["
|
|
45661
|
+
FufCombineMethod["ReplaceThenAddToEnd"] = "ReplaceThenAddToEnd";
|
|
45662
|
+
FufCombineMethod["ReplaceThenMerge"] = "ReplaceThenMerge";
|
|
45662
45663
|
return FufCombineMethod;
|
|
45663
45664
|
}({});
|
|
45664
45665
|
let SumCombineMethod = /*#__PURE__*/function (SumCombineMethod) {
|
|
@@ -45840,7 +45841,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
45840
45841
|
/* harmony export */ });
|
|
45841
45842
|
const contextualActions = ["userPicklist.AddToReference", "referencedfields.ClearFields", "referencedfields.SwitchToManual", "referencedfields.SwitchToReferenced", "referencedfields.SelectFromReference", "modalInstanceUnit.Open", "modalInstanceUnit.Close"];
|
|
45842
45843
|
function isValidContextualActionName(value) {
|
|
45843
|
-
return contextualActions.some(
|
|
45844
|
+
return contextualActions.some(() => value);
|
|
45844
45845
|
}
|
|
45845
45846
|
function isContextualActionName(handlerName) {
|
|
45846
45847
|
return handlerName.includes(".");
|
|
@@ -45848,6 +45849,23 @@ function isContextualActionName(handlerName) {
|
|
|
45848
45849
|
|
|
45849
45850
|
/***/ }),
|
|
45850
45851
|
|
|
45852
|
+
/***/ "./Common/FormMetaInfo.ts":
|
|
45853
|
+
/*!********************************!*\
|
|
45854
|
+
!*** ./Common/FormMetaInfo.ts ***!
|
|
45855
|
+
\********************************/
|
|
45856
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
45857
|
+
|
|
45858
|
+
"use strict";
|
|
45859
|
+
__webpack_require__.r(__webpack_exports__);
|
|
45860
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
45861
|
+
/* harmony export */ HISTORY_WIDGET_HEADER_PATHS_FIELD_NAMES: () => (/* binding */ HISTORY_WIDGET_HEADER_PATHS_FIELD_NAMES),
|
|
45862
|
+
/* harmony export */ emptyFormMetaInfo: () => (/* binding */ emptyFormMetaInfo)
|
|
45863
|
+
/* harmony export */ });
|
|
45864
|
+
const HISTORY_WIDGET_HEADER_PATHS_FIELD_NAMES = ["path", "innFlPath", "innPath", "kppPath", "periodPath", "yearPath", "organizationNamePath", "organizationFlLastNamePath", "organizationFlFirstNamePath", "organizationFlMiddleNamePath"];
|
|
45865
|
+
const emptyFormMetaInfo = {};
|
|
45866
|
+
|
|
45867
|
+
/***/ }),
|
|
45868
|
+
|
|
45851
45869
|
/***/ "./Common/FormPathUtils.ts":
|
|
45852
45870
|
/*!*********************************!*\
|
|
45853
45871
|
!*** ./Common/FormPathUtils.ts ***!
|
|
@@ -45904,7 +45922,7 @@ function getRngSchemaFileExtension(formSchemasDirPath, gfv) {
|
|
|
45904
45922
|
return ".rng.xml";
|
|
45905
45923
|
}
|
|
45906
45924
|
return `.${maxSubversion}.rng.xml`;
|
|
45907
|
-
} catch
|
|
45925
|
+
} catch {
|
|
45908
45926
|
// eslint-disable-next-line no-console
|
|
45909
45927
|
console.log(`Folder does not exist. ${formSchemasDirPath}`);
|
|
45910
45928
|
return ".rng.xml";
|
|
@@ -46753,7 +46771,7 @@ class Map2 {
|
|
|
46753
46771
|
this.setOrUpdate(key, () => value, () => value);
|
|
46754
46772
|
}
|
|
46755
46773
|
getOrSet(key, defaultValueFactory) {
|
|
46756
|
-
return this.setOrUpdate(key, defaultValueFactory, (
|
|
46774
|
+
return this.setOrUpdate(key, defaultValueFactory, (_, v) => v);
|
|
46757
46775
|
}
|
|
46758
46776
|
get(key) {
|
|
46759
46777
|
var _this$getEntryOrUndef;
|
|
@@ -46766,7 +46784,7 @@ class Map2 {
|
|
|
46766
46784
|
const hash = this.getKeyHash(key);
|
|
46767
46785
|
const list = this.hashMap.get(hash);
|
|
46768
46786
|
if (list != undefined) {
|
|
46769
|
-
const removingEntry = Iterator.from(_IterableUtils__WEBPACK_IMPORTED_MODULE_1__.IterUtils.iterateEntries(list)).find(([
|
|
46787
|
+
const removingEntry = Iterator.from(_IterableUtils__WEBPACK_IMPORTED_MODULE_1__.IterUtils.iterateEntries(list)).find(([_, [itemKey]]) => this.areKeyEqual(itemKey, key));
|
|
46770
46788
|
if (removingEntry != undefined) {
|
|
46771
46789
|
list.splice(removingEntry[0], 1);
|
|
46772
46790
|
return true;
|
|
@@ -47807,7 +47825,7 @@ function ensureArrayLengthGreaterThenOrEqual(items, length) {
|
|
|
47807
47825
|
throw new Error(`Array must have minimal length ${length}`);
|
|
47808
47826
|
}
|
|
47809
47827
|
}
|
|
47810
|
-
function ensureNever(
|
|
47828
|
+
function ensureNever(_neverArgument) {
|
|
47811
47829
|
// noop
|
|
47812
47830
|
}
|
|
47813
47831
|
function ensureAndGetString(neverArgument) {
|
|
@@ -47829,7 +47847,7 @@ function isNullOrWhiteSpace(input) {
|
|
|
47829
47847
|
function trimLastSlash(url) {
|
|
47830
47848
|
return url.slice(-1) === "/" ? url.slice(0, -1) : url;
|
|
47831
47849
|
}
|
|
47832
|
-
function assertIs(
|
|
47850
|
+
function assertIs(_) {
|
|
47833
47851
|
// noop
|
|
47834
47852
|
}
|
|
47835
47853
|
|
|
@@ -49537,7 +49555,7 @@ class CompileFilterExpressionTransduceVisitor extends FilterExpressionTransduceV
|
|
|
49537
49555
|
return condition.value;
|
|
49538
49556
|
}
|
|
49539
49557
|
transformByInstancesExpression(expression) {
|
|
49540
|
-
return (
|
|
49558
|
+
return (_, getInstanceFn) => {
|
|
49541
49559
|
const instance = getInstanceFn(expression.condition.dataPath);
|
|
49542
49560
|
return expression.condition.instances.some(x => x === instance);
|
|
49543
49561
|
};
|
|
@@ -51261,7 +51279,7 @@ class KCLangAntlrVisitor {
|
|
|
51261
51279
|
}
|
|
51262
51280
|
return targetContext.accept(this);
|
|
51263
51281
|
}
|
|
51264
|
-
visitGlobalVariable(
|
|
51282
|
+
visitGlobalVariable() {
|
|
51265
51283
|
throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitGlobalVariable not supported");
|
|
51266
51284
|
}
|
|
51267
51285
|
|
|
@@ -51373,12 +51391,12 @@ class KCLangAntlrVisitor {
|
|
|
51373
51391
|
body: ctx.body().accept(this)
|
|
51374
51392
|
};
|
|
51375
51393
|
}
|
|
51376
|
-
visitElsePart(
|
|
51394
|
+
visitElsePart() {
|
|
51377
51395
|
throw Error("ElsePart not used");
|
|
51378
51396
|
}
|
|
51379
51397
|
|
|
51380
51398
|
// Expression
|
|
51381
|
-
visitExpression(
|
|
51399
|
+
visitExpression() {
|
|
51382
51400
|
throw Error("visitExpression not used");
|
|
51383
51401
|
}
|
|
51384
51402
|
visitArray(ctx) {
|
|
@@ -51424,10 +51442,10 @@ class KCLangAntlrVisitor {
|
|
|
51424
51442
|
}).flat()
|
|
51425
51443
|
};
|
|
51426
51444
|
}
|
|
51427
|
-
visitVarName(
|
|
51445
|
+
visitVarName() {
|
|
51428
51446
|
throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitVarName not supported");
|
|
51429
51447
|
}
|
|
51430
|
-
visitVarExpression(
|
|
51448
|
+
visitVarExpression() {
|
|
51431
51449
|
throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitVarExpression not supported");
|
|
51432
51450
|
}
|
|
51433
51451
|
visitBrackets(ctx) {
|
|
@@ -51533,10 +51551,10 @@ class KCLangAntlrVisitor {
|
|
|
51533
51551
|
}
|
|
51534
51552
|
|
|
51535
51553
|
// Property
|
|
51536
|
-
visitPropertyExpression(
|
|
51554
|
+
visitPropertyExpression() {
|
|
51537
51555
|
throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitPropertyExpression not supported");
|
|
51538
51556
|
}
|
|
51539
|
-
visitPropertyVariable(
|
|
51557
|
+
visitPropertyVariable() {
|
|
51540
51558
|
throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitPropertyVariable not supported");
|
|
51541
51559
|
}
|
|
51542
51560
|
|
|
@@ -51764,19 +51782,19 @@ class KCLangAntlrVisitor {
|
|
|
51764
51782
|
}
|
|
51765
51783
|
|
|
51766
51784
|
// Other
|
|
51767
|
-
visit(
|
|
51785
|
+
visit() {
|
|
51768
51786
|
throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visit not supported");
|
|
51769
51787
|
}
|
|
51770
|
-
visitLocalVariable(
|
|
51788
|
+
visitLocalVariable() {
|
|
51771
51789
|
throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitLocalVariable not supported");
|
|
51772
51790
|
}
|
|
51773
|
-
visitLabel(
|
|
51791
|
+
visitLabel() {
|
|
51774
51792
|
throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitLabel is not supported");
|
|
51775
51793
|
}
|
|
51776
|
-
visitTerminal(
|
|
51794
|
+
visitTerminal() {
|
|
51777
51795
|
throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitTerminal not supported");
|
|
51778
51796
|
}
|
|
51779
|
-
visitErrorNode(
|
|
51797
|
+
visitErrorNode() {
|
|
51780
51798
|
throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitErrorNode not implemented");
|
|
51781
51799
|
}
|
|
51782
51800
|
visitChildren(node) {
|
|
@@ -59580,7 +59598,7 @@ class ErrorListener {
|
|
|
59580
59598
|
get errorMessages() {
|
|
59581
59599
|
return this.innerErrorMessages;
|
|
59582
59600
|
}
|
|
59583
|
-
syntaxError(
|
|
59601
|
+
syntaxError(_, __, line, charPositionInLine, msg) {
|
|
59584
59602
|
this.innerErrorMessages.push(`Parsing error at [${line}, ${charPositionInLine}]. Message: ${msg}`);
|
|
59585
59603
|
}
|
|
59586
59604
|
}
|
|
@@ -59619,11 +59637,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
59619
59637
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
59620
59638
|
/* harmony export */ BinaryExpression: () => (/* binding */ BinaryExpression)
|
|
59621
59639
|
/* harmony export */ });
|
|
59622
|
-
/* harmony import */ var
|
|
59623
|
-
/* harmony import */ var _KCLangExpression__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./KCLangExpression */ "./Generator/src/common/KCLang/CodeDom/KCLangExpression.ts");
|
|
59624
|
-
|
|
59640
|
+
/* harmony import */ var _KCLangExpression__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./KCLangExpression */ "./Generator/src/common/KCLang/CodeDom/KCLangExpression.ts");
|
|
59625
59641
|
|
|
59626
|
-
class BinaryExpression extends
|
|
59642
|
+
class BinaryExpression extends _KCLangExpression__WEBPACK_IMPORTED_MODULE_0__.KCLangExpression {
|
|
59627
59643
|
constructor(left, right) {
|
|
59628
59644
|
super();
|
|
59629
59645
|
this.left = void 0;
|
|
@@ -59631,10 +59647,10 @@ class BinaryExpression extends _KCLangExpression__WEBPACK_IMPORTED_MODULE_1__.KC
|
|
|
59631
59647
|
this.left = left;
|
|
59632
59648
|
this.right = right;
|
|
59633
59649
|
}
|
|
59634
|
-
needAddBraces(
|
|
59650
|
+
needAddBraces(_) {
|
|
59635
59651
|
return true;
|
|
59636
59652
|
}
|
|
59637
|
-
toString(
|
|
59653
|
+
toString() {
|
|
59638
59654
|
const leftExpr = this.needAddBraces(this.left) ? `(${this.left.toString()})` : this.left.toString();
|
|
59639
59655
|
const rightExpr = this.needAddBraces(this.right) ? `(${this.right.toString()})` : this.right.toString();
|
|
59640
59656
|
return `${leftExpr} ${this.operatorToString()} ${rightExpr}`;
|
|
@@ -59723,9 +59739,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
59723
59739
|
/* harmony export */ });
|
|
59724
59740
|
/* harmony import */ var big_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! big.js */ "./node_modules/big.js/big.mjs");
|
|
59725
59741
|
/* harmony import */ var _KCLangExpression__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./KCLangExpression */ "./Generator/src/common/KCLang/CodeDom/KCLangExpression.ts");
|
|
59726
|
-
/* harmony import */ var
|
|
59727
|
-
/* harmony import */ var _KCLangType__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./KCLangType */ "./Generator/src/common/KCLang/CodeDom/KCLangType.ts");
|
|
59728
|
-
|
|
59742
|
+
/* harmony import */ var _KCLangType__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./KCLangType */ "./Generator/src/common/KCLang/CodeDom/KCLangType.ts");
|
|
59729
59743
|
|
|
59730
59744
|
|
|
59731
59745
|
|
|
@@ -59736,9 +59750,9 @@ class DecimalConstExpression extends _KCLangExpression__WEBPACK_IMPORTED_MODULE_
|
|
|
59736
59750
|
this.value = (0,big_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value);
|
|
59737
59751
|
}
|
|
59738
59752
|
getType() {
|
|
59739
|
-
return
|
|
59753
|
+
return _KCLangType__WEBPACK_IMPORTED_MODULE_2__.DecimalType.default;
|
|
59740
59754
|
}
|
|
59741
|
-
toString(
|
|
59755
|
+
toString() {
|
|
59742
59756
|
return this.value.toFixed();
|
|
59743
59757
|
}
|
|
59744
59758
|
}
|
|
@@ -59764,7 +59778,7 @@ class DescriptionText extends _KCLangBase__WEBPACK_IMPORTED_MODULE_0__.KCLangBas
|
|
|
59764
59778
|
this.value = void 0;
|
|
59765
59779
|
this.value = value;
|
|
59766
59780
|
}
|
|
59767
|
-
toString(
|
|
59781
|
+
toString() {
|
|
59768
59782
|
return this.value;
|
|
59769
59783
|
}
|
|
59770
59784
|
}
|
|
@@ -60160,12 +60174,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
60160
60174
|
|
|
60161
60175
|
|
|
60162
60176
|
class PathElementFilter extends _KCLangBase__WEBPACK_IMPORTED_MODULE_2__.KCLangBase {
|
|
60163
|
-
toString(
|
|
60177
|
+
toString(_indentSize) {
|
|
60164
60178
|
return "";
|
|
60165
60179
|
}
|
|
60166
60180
|
}
|
|
60167
60181
|
class PathElementCollation extends _KCLangBase__WEBPACK_IMPORTED_MODULE_2__.KCLangBase {
|
|
60168
|
-
toString(
|
|
60182
|
+
toString(_indentSize) {
|
|
60169
60183
|
return "";
|
|
60170
60184
|
}
|
|
60171
60185
|
}
|
|
@@ -60244,7 +60258,7 @@ class KCLangRawStringExpression extends _KCLangExpression__WEBPACK_IMPORTED_MODU
|
|
|
60244
60258
|
getType() {
|
|
60245
60259
|
return this.result;
|
|
60246
60260
|
}
|
|
60247
|
-
toString(
|
|
60261
|
+
toString() {
|
|
60248
60262
|
return `${this.value}`;
|
|
60249
60263
|
}
|
|
60250
60264
|
}
|
|
@@ -60667,8 +60681,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
60667
60681
|
/* harmony export */ });
|
|
60668
60682
|
/* harmony import */ var _KCLangExpression__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./KCLangExpression */ "./Generator/src/common/KCLang/CodeDom/KCLangExpression.ts");
|
|
60669
60683
|
/* harmony import */ var _KCLangType__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./KCLangType */ "./Generator/src/common/KCLang/CodeDom/KCLangType.ts");
|
|
60670
|
-
/* harmony import */ var _KCLangUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./KCLangUtils */ "./Generator/src/common/KCLang/CodeDom/KCLangUtils.ts");
|
|
60671
|
-
|
|
60672
60684
|
|
|
60673
60685
|
|
|
60674
60686
|
class StringArrayConstExpression extends _KCLangExpression__WEBPACK_IMPORTED_MODULE_0__.KCLangExpression {
|
|
@@ -60680,7 +60692,7 @@ class StringArrayConstExpression extends _KCLangExpression__WEBPACK_IMPORTED_MOD
|
|
|
60680
60692
|
getType() {
|
|
60681
60693
|
return _KCLangType__WEBPACK_IMPORTED_MODULE_1__.StringArrayType.default;
|
|
60682
60694
|
}
|
|
60683
|
-
toString(
|
|
60695
|
+
toString() {
|
|
60684
60696
|
return `[${this.values.map(x => x.toString()).join(", ")}]`;
|
|
60685
60697
|
}
|
|
60686
60698
|
}
|
|
@@ -60699,12 +60711,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
60699
60711
|
/* harmony export */ StringConstExpression: () => (/* binding */ StringConstExpression)
|
|
60700
60712
|
/* harmony export */ });
|
|
60701
60713
|
/* harmony import */ var _KCLangExpression__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./KCLangExpression */ "./Generator/src/common/KCLang/CodeDom/KCLangExpression.ts");
|
|
60702
|
-
/* harmony import */ var
|
|
60703
|
-
/* harmony import */ var _KCLangType__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./KCLangType */ "./Generator/src/common/KCLang/CodeDom/KCLangType.ts");
|
|
60714
|
+
/* harmony import */ var _KCLangType__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./KCLangType */ "./Generator/src/common/KCLang/CodeDom/KCLangType.ts");
|
|
60704
60715
|
var _StringConstExpression;
|
|
60705
60716
|
|
|
60706
60717
|
|
|
60707
|
-
|
|
60708
60718
|
class StringConstExpression extends _KCLangExpression__WEBPACK_IMPORTED_MODULE_0__.KCLangExpression {
|
|
60709
60719
|
constructor(value) {
|
|
60710
60720
|
super();
|
|
@@ -60712,9 +60722,9 @@ class StringConstExpression extends _KCLangExpression__WEBPACK_IMPORTED_MODULE_0
|
|
|
60712
60722
|
this.value = value;
|
|
60713
60723
|
}
|
|
60714
60724
|
getType() {
|
|
60715
|
-
return
|
|
60725
|
+
return _KCLangType__WEBPACK_IMPORTED_MODULE_1__.StringType.default;
|
|
60716
60726
|
}
|
|
60717
|
-
toString(
|
|
60727
|
+
toString() {
|
|
60718
60728
|
return `"${this.value.toString().replace(/"/g, '\\"')}"`;
|
|
60719
60729
|
}
|
|
60720
60730
|
}
|
|
@@ -61024,178 +61034,178 @@ function traverseKCLangExpression(node, visitor) {
|
|
|
61024
61034
|
}
|
|
61025
61035
|
}
|
|
61026
61036
|
class DefaultKCLangExpressionVisitor {
|
|
61027
|
-
visitAbsKCLangNode(
|
|
61037
|
+
visitAbsKCLangNode(_node) {
|
|
61028
61038
|
// default empty implementation
|
|
61029
61039
|
}
|
|
61030
|
-
visitArrayKCLangNode(
|
|
61040
|
+
visitArrayKCLangNode(_node) {
|
|
61031
61041
|
// default empty implementation
|
|
61032
61042
|
}
|
|
61033
|
-
visitFirstOrDefaultKCLangNode(
|
|
61043
|
+
visitFirstOrDefaultKCLangNode(_node) {
|
|
61034
61044
|
// default empty implementation
|
|
61035
61045
|
}
|
|
61036
|
-
visitHashSetKCLangNode(
|
|
61046
|
+
visitHashSetKCLangNode(_node) {
|
|
61037
61047
|
// default empty implementation
|
|
61038
61048
|
}
|
|
61039
|
-
visitNoDepsKCLangNode(
|
|
61049
|
+
visitNoDepsKCLangNode(_node) {
|
|
61040
61050
|
// default empty implementation
|
|
61041
61051
|
}
|
|
61042
|
-
visitGetPicklistValuesKCLangNode(
|
|
61052
|
+
visitGetPicklistValuesKCLangNode(_node) {
|
|
61043
61053
|
// default empty implementation
|
|
61044
61054
|
}
|
|
61045
|
-
visitAndKCLangNode(
|
|
61055
|
+
visitAndKCLangNode(_node) {
|
|
61046
61056
|
// default empty implementation
|
|
61047
61057
|
}
|
|
61048
|
-
visitArgumentKCLangNode(
|
|
61058
|
+
visitArgumentKCLangNode(_node) {
|
|
61049
61059
|
// default empty implementation
|
|
61050
61060
|
}
|
|
61051
|
-
visitCastExpressionKCLangNode(
|
|
61061
|
+
visitCastExpressionKCLangNode(_node) {
|
|
61052
61062
|
// default empty implementation
|
|
61053
61063
|
}
|
|
61054
|
-
visitChooseKCLangNode(
|
|
61064
|
+
visitChooseKCLangNode(_node) {
|
|
61055
61065
|
// default empty implementation
|
|
61056
61066
|
}
|
|
61057
|
-
visitComparisonKCLangNode(
|
|
61067
|
+
visitComparisonKCLangNode(_node) {
|
|
61058
61068
|
// default empty implementation
|
|
61059
61069
|
}
|
|
61060
|
-
visitConstKCLangNode(
|
|
61070
|
+
visitConstKCLangNode(_node) {
|
|
61061
61071
|
// default empty implementation
|
|
61062
61072
|
}
|
|
61063
|
-
visitExistsKCLangNode(
|
|
61073
|
+
visitExistsKCLangNode(_node) {
|
|
61064
61074
|
// default empty implementation
|
|
61065
61075
|
}
|
|
61066
|
-
visitIsSnilsKCLangNode(
|
|
61076
|
+
visitIsSnilsKCLangNode(_node) {
|
|
61067
61077
|
// default empty implementation
|
|
61068
61078
|
}
|
|
61069
|
-
visitIsRegNumSfrKCLangNode(
|
|
61079
|
+
visitIsRegNumSfrKCLangNode(_node) {
|
|
61070
61080
|
// default empty implementation
|
|
61071
61081
|
}
|
|
61072
|
-
visitIsInnKCLangNode(
|
|
61082
|
+
visitIsInnKCLangNode(_node) {
|
|
61073
61083
|
// default empty implementation
|
|
61074
61084
|
}
|
|
61075
|
-
visitIsOgrnKCLangNode(
|
|
61085
|
+
visitIsOgrnKCLangNode(_node) {
|
|
61076
61086
|
// default empty implementation
|
|
61077
61087
|
}
|
|
61078
|
-
visitIsValidAccountNumberNode(
|
|
61088
|
+
visitIsValidAccountNumberNode(_node) {
|
|
61079
61089
|
// default empty implementation
|
|
61080
61090
|
}
|
|
61081
|
-
visitIsValidMirCardNumberNode(
|
|
61091
|
+
visitIsValidMirCardNumberNode(_node) {
|
|
61082
61092
|
// default empty implementation
|
|
61083
61093
|
}
|
|
61084
|
-
visitLengthKCLangNode(
|
|
61094
|
+
visitLengthKCLangNode(_node) {
|
|
61085
61095
|
// default empty implementation
|
|
61086
61096
|
}
|
|
61087
|
-
visitMinusKCLangNode(
|
|
61097
|
+
visitMinusKCLangNode(_node) {
|
|
61088
61098
|
// default empty implementation
|
|
61089
61099
|
}
|
|
61090
|
-
visitMultiplyKCLangNode(
|
|
61100
|
+
visitMultiplyKCLangNode(_node) {
|
|
61091
61101
|
// default empty implementation
|
|
61092
61102
|
}
|
|
61093
|
-
visitMultySumKCLangNode(
|
|
61103
|
+
visitMultySumKCLangNode(_node) {
|
|
61094
61104
|
// default empty implementation
|
|
61095
61105
|
}
|
|
61096
|
-
visitGroupSumKCLangNode(
|
|
61106
|
+
visitGroupSumKCLangNode(_node) {
|
|
61097
61107
|
// default empty implementation
|
|
61098
61108
|
}
|
|
61099
|
-
visitGroupCountKCLangNode(
|
|
61109
|
+
visitGroupCountKCLangNode(_node) {
|
|
61100
61110
|
// default empty implementation
|
|
61101
61111
|
}
|
|
61102
|
-
visitNotKCLangNode(
|
|
61112
|
+
visitNotKCLangNode(_node) {
|
|
61103
61113
|
// default empty implementation
|
|
61104
61114
|
}
|
|
61105
|
-
visitOneOfExpressionKCLangNode(
|
|
61115
|
+
visitOneOfExpressionKCLangNode(_node) {
|
|
61106
61116
|
// default empty implementation
|
|
61107
61117
|
}
|
|
61108
|
-
visitOrKCLangNode(
|
|
61118
|
+
visitOrKCLangNode(_node) {
|
|
61109
61119
|
// default empty implementation
|
|
61110
61120
|
}
|
|
61111
|
-
visitRegexMatchKCLangNode(
|
|
61121
|
+
visitRegexMatchKCLangNode(_node) {
|
|
61112
61122
|
// default empty implementation
|
|
61113
61123
|
}
|
|
61114
|
-
visitConcatKCLangNode(
|
|
61124
|
+
visitConcatKCLangNode(_node) {
|
|
61115
61125
|
// default empty implementation
|
|
61116
61126
|
}
|
|
61117
|
-
visitRoundKCLangNode(
|
|
61127
|
+
visitRoundKCLangNode(_node) {
|
|
61118
61128
|
// default empty implementation
|
|
61119
61129
|
}
|
|
61120
|
-
visitFloorKCLangNode(
|
|
61130
|
+
visitFloorKCLangNode(_node) {
|
|
61121
61131
|
// default empty implementation
|
|
61122
61132
|
}
|
|
61123
|
-
visitCountKCLangNode(
|
|
61133
|
+
visitCountKCLangNode(_node) {
|
|
61124
61134
|
// default empty implementation
|
|
61125
61135
|
}
|
|
61126
|
-
visitInstanceCountKCLangNode(
|
|
61136
|
+
visitInstanceCountKCLangNode(_node) {
|
|
61127
61137
|
// default empty implementation
|
|
61128
61138
|
}
|
|
61129
|
-
visitIsEqualToAutoCalculatedKCLangNode(
|
|
61139
|
+
visitIsEqualToAutoCalculatedKCLangNode(_node) {
|
|
61130
61140
|
// default empty implementation
|
|
61131
61141
|
}
|
|
61132
|
-
visitSubstringKCLangNode(
|
|
61142
|
+
visitSubstringKCLangNode(_node) {
|
|
61133
61143
|
// default empty implementation
|
|
61134
61144
|
}
|
|
61135
|
-
visitSumKCLangNode(
|
|
61145
|
+
visitSumKCLangNode(_node) {
|
|
61136
61146
|
// default empty implementation
|
|
61137
61147
|
}
|
|
61138
|
-
visitXAbsKCLangNode(
|
|
61148
|
+
visitXAbsKCLangNode(_node) {
|
|
61139
61149
|
// default empty implementation
|
|
61140
61150
|
}
|
|
61141
|
-
visitNewLineKCLangNode(
|
|
61151
|
+
visitNewLineKCLangNode(_node) {
|
|
61142
61152
|
// default empty implementation
|
|
61143
61153
|
}
|
|
61144
|
-
visitDateNowKCLangNode(
|
|
61154
|
+
visitDateNowKCLangNode(_node) {
|
|
61145
61155
|
// default empty implementation
|
|
61146
61156
|
}
|
|
61147
|
-
visitGetDaysInMonthKCLangNode(
|
|
61157
|
+
visitGetDaysInMonthKCLangNode(_node) {
|
|
61148
61158
|
// default empty implementation
|
|
61149
61159
|
}
|
|
61150
|
-
visitGetDayKCLangNode(
|
|
61160
|
+
visitGetDayKCLangNode(_node) {
|
|
61151
61161
|
// default empty implementation
|
|
61152
61162
|
}
|
|
61153
|
-
visitGetMonthKCLangNode(
|
|
61163
|
+
visitGetMonthKCLangNode(_node) {
|
|
61154
61164
|
// default empty implementation
|
|
61155
61165
|
}
|
|
61156
|
-
visitGetYearKCLangNode(
|
|
61166
|
+
visitGetYearKCLangNode(_node) {
|
|
61157
61167
|
// default empty implementation
|
|
61158
61168
|
}
|
|
61159
|
-
visitIsDateKCLangNode(
|
|
61169
|
+
visitIsDateKCLangNode(_node) {
|
|
61160
61170
|
// default empty implementation
|
|
61161
61171
|
}
|
|
61162
|
-
visitDifferenceInMonthsKCLangNode(
|
|
61172
|
+
visitDifferenceInMonthsKCLangNode(_node) {
|
|
61163
61173
|
// default empty implementation
|
|
61164
61174
|
}
|
|
61165
|
-
visitDifferenceInDaysKCLangNode(
|
|
61175
|
+
visitDifferenceInDaysKCLangNode(_node) {
|
|
61166
61176
|
// default empty implementation
|
|
61167
61177
|
}
|
|
61168
|
-
visitAddDaysKCLangNode(
|
|
61178
|
+
visitAddDaysKCLangNode(_node) {
|
|
61169
61179
|
// default empty implementation
|
|
61170
61180
|
}
|
|
61171
|
-
visitAddMonthsKCLangNode(
|
|
61181
|
+
visitAddMonthsKCLangNode(_node) {
|
|
61172
61182
|
// default empty implementation
|
|
61173
61183
|
}
|
|
61174
|
-
visitAddYearsKCLangNode(
|
|
61184
|
+
visitAddYearsKCLangNode(_node) {
|
|
61175
61185
|
// default empty implementation
|
|
61176
61186
|
}
|
|
61177
|
-
visitDateToStringKCLangNode(
|
|
61187
|
+
visitDateToStringKCLangNode(_node) {
|
|
61178
61188
|
// default empty implementation
|
|
61179
61189
|
}
|
|
61180
|
-
visitDateTimeKCLangNode(
|
|
61190
|
+
visitDateTimeKCLangNode(_node) {
|
|
61181
61191
|
// default empty implementation
|
|
61182
61192
|
}
|
|
61183
|
-
visitSumOfDayWeightsKCLangNode(
|
|
61193
|
+
visitSumOfDayWeightsKCLangNode(_node) {
|
|
61184
61194
|
// default empty implementation
|
|
61185
61195
|
}
|
|
61186
|
-
visitHasAutoFlagKCLangNode(
|
|
61196
|
+
visitHasAutoFlagKCLangNode(_node) {
|
|
61187
61197
|
// default empty implementation
|
|
61188
61198
|
}
|
|
61189
|
-
visitGetSumByKeysKCLangNode(
|
|
61199
|
+
visitGetSumByKeysKCLangNode(_node) {
|
|
61190
61200
|
// default empty implementation
|
|
61191
61201
|
}
|
|
61192
|
-
visitMakeDictKCLangNode(
|
|
61202
|
+
visitMakeDictKCLangNode(_node) {
|
|
61193
61203
|
// default empty implementation
|
|
61194
61204
|
}
|
|
61195
|
-
visitJoinKCLangNode(
|
|
61205
|
+
visitJoinKCLangNode(_node) {
|
|
61196
61206
|
// default empty implementation
|
|
61197
61207
|
}
|
|
61198
|
-
visitGetPropertyByNameNode(
|
|
61208
|
+
visitGetPropertyByNameNode(_node) {
|
|
61199
61209
|
// default empty implementation
|
|
61200
61210
|
}
|
|
61201
61211
|
}
|
|
@@ -61509,7 +61519,7 @@ const getGenerateJsExpressionFunc = options => {
|
|
|
61509
61519
|
}
|
|
61510
61520
|
case "cast":
|
|
61511
61521
|
{
|
|
61512
|
-
const castFunc =
|
|
61522
|
+
const castFunc = () => {
|
|
61513
61523
|
switch (expression.targetType) {
|
|
61514
61524
|
case "decimal":
|
|
61515
61525
|
{
|
|
@@ -61530,7 +61540,7 @@ const getGenerateJsExpressionFunc = options => {
|
|
|
61530
61540
|
throw new Error("Unreachable code error!");
|
|
61531
61541
|
}
|
|
61532
61542
|
};
|
|
61533
|
-
return castFunc(
|
|
61543
|
+
return castFunc();
|
|
61534
61544
|
}
|
|
61535
61545
|
case "round":
|
|
61536
61546
|
{
|
|
@@ -61779,7 +61789,7 @@ function isPathPrefix(contextBlock) {
|
|
|
61779
61789
|
function isCondition(contextBlock) {
|
|
61780
61790
|
return contextBlock.type === "Condition";
|
|
61781
61791
|
}
|
|
61782
|
-
function formatDescribeStatement(
|
|
61792
|
+
function formatDescribeStatement(describe) {
|
|
61783
61793
|
return _KCLangDescriptionParser__WEBPACK_IMPORTED_MODULE_6__.KCLangDescriptionParser.parse(describe.text).map(item => {
|
|
61784
61794
|
if (typeof item === "string") {
|
|
61785
61795
|
return item;
|
|
@@ -61793,7 +61803,7 @@ function generateKCXmlFormula(ast, parents, describe) {
|
|
|
61793
61803
|
throw new Error("Formulas cannot be a child of conditional statement");
|
|
61794
61804
|
}
|
|
61795
61805
|
const matchPath = joinPaths([...parents.filter(isPathPrefix).map(x => x.path)]);
|
|
61796
|
-
const descriptionAttr = describe != undefined ? ` description="${escapeHtmlCharacters(formatDescribeStatement(
|
|
61806
|
+
const descriptionAttr = describe != undefined ? ` description="${escapeHtmlCharacters(formatDescribeStatement(describe))}"` : "";
|
|
61797
61807
|
return `<m:formula match="${matchPath}" target="${ast.target}"${descriptionAttr}>\n` + (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(ast.expression), 1) + "\n" + `</m:formula>`;
|
|
61798
61808
|
}
|
|
61799
61809
|
function removeTrailingSlash(inputStr) {
|
|
@@ -61976,7 +61986,7 @@ function generateKCXmlCondition(ast, parentContexts, describe) {
|
|
|
61976
61986
|
var _ref, _inferConditionTarget;
|
|
61977
61987
|
const matchPath = joinPaths([...parentContexts.filter(isPathPrefix).map(x => x.path)]);
|
|
61978
61988
|
const levelAttr = ast.level === undefined ? "" : ` errorLevel="${(0,_StringUtils__WEBPACK_IMPORTED_MODULE_3__.capitalizeFirstLetter)(ast.level)}"`;
|
|
61979
|
-
const descriptionAttr = describe != undefined ? ` description="${escapeHtmlCharacters(formatDescribeStatement(
|
|
61989
|
+
const descriptionAttr = describe != undefined ? ` description="${escapeHtmlCharacters(formatDescribeStatement(describe))}"` : "";
|
|
61980
61990
|
const guessedTarget = (_ref = (_inferConditionTarget = inferConditionTarget(ast, ast.target)) !== null && _inferConditionTarget !== void 0 ? _inferConditionTarget : ast.target) !== null && _ref !== void 0 ? _ref : guessConditionTarget(ast);
|
|
61981
61991
|
const targetAttr = guessedTarget != undefined ? ` target="${guessedTarget}"` : "";
|
|
61982
61992
|
const conditions = [];
|
|
@@ -63332,7 +63342,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
63332
63342
|
/* harmony import */ var _ExtractTextsFromSugar__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ExtractTextsFromSugar */ "./Generator/src/common/SugarExtractor/ExtractTextsFromSugar.ts");
|
|
63333
63343
|
|
|
63334
63344
|
|
|
63335
|
-
async function getSugarTexts(formSourcesPath, farmDirectory
|
|
63345
|
+
async function getSugarTexts(formSourcesPath, farmDirectory) {
|
|
63336
63346
|
const sources = await (0,_generators_ReadFormSources__WEBPACK_IMPORTED_MODULE_0__.readFormSources)(formSourcesPath, farmDirectory);
|
|
63337
63347
|
const extractor = new _ExtractTextsFromSugar__WEBPACK_IMPORTED_MODULE_1__.TextFromSugarExtractor(sources);
|
|
63338
63348
|
extractor.extractSugarTextsFromSugarXml();
|
|
@@ -64156,7 +64166,7 @@ class EvaluateTemplateVisitor {
|
|
|
64156
64166
|
try {
|
|
64157
64167
|
(0,_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_4__.parseXml)(value);
|
|
64158
64168
|
return true;
|
|
64159
|
-
} catch
|
|
64169
|
+
} catch {
|
|
64160
64170
|
return false;
|
|
64161
64171
|
}
|
|
64162
64172
|
}
|
|
@@ -64459,7 +64469,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
64459
64469
|
function areEqualAttributesExpectWidth(nodes) {
|
|
64460
64470
|
const attributesExpectWidth = nodes.map(x => x.attributes).map(x => {
|
|
64461
64471
|
const {
|
|
64462
|
-
width,
|
|
64472
|
+
width: _,
|
|
64463
64473
|
...restAttrs
|
|
64464
64474
|
} = x;
|
|
64465
64475
|
return restAttrs;
|
|
@@ -64587,7 +64597,7 @@ function modifyToGroupedColumns(normalizedCols, row, columnGrouping, rowIndex) {
|
|
|
64587
64597
|
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
64588
64598
|
({
|
|
64589
64599
|
attributes: {
|
|
64590
|
-
colspan,
|
|
64600
|
+
colspan: _,
|
|
64591
64601
|
...restAttributes
|
|
64592
64602
|
},
|
|
64593
64603
|
children
|
|
@@ -67138,7 +67148,7 @@ class FormulaAutoCalculation {
|
|
|
67138
67148
|
varDeclaration
|
|
67139
67149
|
} = this.buildArgumentExtraction();
|
|
67140
67150
|
const defaultValue = _babel_types__WEBPACK_IMPORTED_MODULE_1__.stringLiteral(this.defaultValue);
|
|
67141
|
-
const results = _babel_types__WEBPACK_IMPORTED_MODULE_1__.arrayExpression(this.results.map(
|
|
67151
|
+
const results = _babel_types__WEBPACK_IMPORTED_MODULE_1__.arrayExpression(this.results.map(x => _babel_types__WEBPACK_IMPORTED_MODULE_1__.arrayExpression([_babel_types__WEBPACK_IMPORTED_MODULE_1__.stringLiteral(x.target.toRelativeOf(this.match).toString()), _babel_types__WEBPACK_IMPORTED_MODULE_1__.stringLiteral(x.targetField),
|
|
67142
67152
|
// Используется только result, а не resultExpression
|
|
67143
67153
|
_babel_types__WEBPACK_IMPORTED_MODULE_1__.identifier("result")])));
|
|
67144
67154
|
const funcCall = this.buildFunctionCall(argsRequest, defaultValue, varDeclaration, (_this$results$0$resul = (_this$results$2 = this.results[0]) === null || _this$results$2 === void 0 ? void 0 : _this$results$2.resultExpression) !== null && _this$results$0$resul !== void 0 ? _this$results$0$resul : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.reject)(), results);
|
|
@@ -67408,42 +67418,42 @@ class FormulaProcessor {
|
|
|
67408
67418
|
const resultExpression = this.popExpressions(1)[0];
|
|
67409
67419
|
return [...this.additionalAutocalculations, this.buildFormula(resultExpression)];
|
|
67410
67420
|
}
|
|
67411
|
-
beforeArgumentExpression(
|
|
67421
|
+
beforeArgumentExpression() {
|
|
67412
67422
|
// noop
|
|
67413
67423
|
}
|
|
67414
67424
|
afterArgumentExpression(expression) {
|
|
67415
67425
|
const argumentName = this.addDependency(expression.select, expression.type);
|
|
67416
67426
|
this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier(argumentName));
|
|
67417
67427
|
}
|
|
67418
|
-
beforeCountExpression(
|
|
67428
|
+
beforeCountExpression() {
|
|
67419
67429
|
// noop
|
|
67420
67430
|
}
|
|
67421
67431
|
afterCountExpression(expression) {
|
|
67422
67432
|
const argumentName = this.addDependency(expression.select);
|
|
67423
67433
|
this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier(argumentName));
|
|
67424
67434
|
}
|
|
67425
|
-
beforeInstanceCountExpression(
|
|
67435
|
+
beforeInstanceCountExpression() {
|
|
67426
67436
|
// noop
|
|
67427
67437
|
}
|
|
67428
67438
|
afterInstanceCountExpression(expression) {
|
|
67429
67439
|
const argumentName = this.addDependency(expression.select);
|
|
67430
67440
|
this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier(argumentName));
|
|
67431
67441
|
}
|
|
67432
|
-
beforeIsEqualToAutoCalculatedExpression(
|
|
67442
|
+
beforeIsEqualToAutoCalculatedExpression() {
|
|
67433
67443
|
// noop
|
|
67434
67444
|
}
|
|
67435
67445
|
afterIsEqualToAutoCalculatedExpression(expression) {
|
|
67436
67446
|
const argumentName = this.addDependency(expression.select);
|
|
67437
67447
|
this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier(argumentName));
|
|
67438
67448
|
}
|
|
67439
|
-
beforeMultySumExpression(
|
|
67449
|
+
beforeMultySumExpression() {
|
|
67440
67450
|
// noop
|
|
67441
67451
|
}
|
|
67442
67452
|
afterMultySumExpression(expression) {
|
|
67443
67453
|
const argumentName = this.addDependency(expression.select);
|
|
67444
67454
|
this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier(argumentName));
|
|
67445
67455
|
}
|
|
67446
|
-
beforeConstExpression(
|
|
67456
|
+
beforeConstExpression() {
|
|
67447
67457
|
// noop
|
|
67448
67458
|
}
|
|
67449
67459
|
afterConstExpression(expression) {
|
|
@@ -67460,7 +67470,7 @@ class FormulaProcessor {
|
|
|
67460
67470
|
throw new Error(`Const type '${type}' unsupported`);
|
|
67461
67471
|
}
|
|
67462
67472
|
}
|
|
67463
|
-
beforeSubstringExpression(
|
|
67473
|
+
beforeSubstringExpression() {
|
|
67464
67474
|
this.pushExpressions();
|
|
67465
67475
|
}
|
|
67466
67476
|
afterSubstringExpression(expression) {
|
|
@@ -67470,7 +67480,7 @@ class FormulaProcessor {
|
|
|
67470
67480
|
}
|
|
67471
67481
|
this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.callExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.memberExpression(child[0], _babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("substr")), [_babel_types__WEBPACK_IMPORTED_MODULE_0__.numericLiteral(expression.start), _babel_types__WEBPACK_IMPORTED_MODULE_0__.numericLiteral(expression.length)]));
|
|
67472
67482
|
}
|
|
67473
|
-
beforeCastExpression(
|
|
67483
|
+
beforeCastExpression() {
|
|
67474
67484
|
this.pushExpressions();
|
|
67475
67485
|
}
|
|
67476
67486
|
afterCastExpression(expression) {
|
|
@@ -67490,25 +67500,25 @@ class FormulaProcessor {
|
|
|
67490
67500
|
throw new Error(`Cast type '${expression.type}' unsupported`);
|
|
67491
67501
|
}
|
|
67492
67502
|
}
|
|
67493
|
-
beforeDateNowExpression(
|
|
67503
|
+
beforeDateNowExpression() {
|
|
67494
67504
|
// noop
|
|
67495
67505
|
}
|
|
67496
|
-
afterDateNowExpression(
|
|
67506
|
+
afterDateNowExpression() {
|
|
67497
67507
|
const createDate = _babel_types__WEBPACK_IMPORTED_MODULE_0__.newExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("Date"), []);
|
|
67498
67508
|
const date = _babel_types__WEBPACK_IMPORTED_MODULE_0__.callExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.memberExpression(createDate, _babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("toLocaleDateString")), [_babel_types__WEBPACK_IMPORTED_MODULE_0__.stringLiteral("ru-RU")]);
|
|
67499
67509
|
this.returnExpression(date);
|
|
67500
67510
|
}
|
|
67501
|
-
beforeGtExpression(
|
|
67511
|
+
beforeGtExpression() {
|
|
67502
67512
|
this.pushExpressions();
|
|
67503
67513
|
}
|
|
67504
|
-
afterGtExpression(
|
|
67514
|
+
afterGtExpression() {
|
|
67505
67515
|
const [leftExpression, rightExpression] = this.popExpressions(2);
|
|
67506
67516
|
this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.callExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.memberExpression(leftExpression, _babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("gt")), [rightExpression]));
|
|
67507
67517
|
}
|
|
67508
|
-
beforeAndExpression(
|
|
67518
|
+
beforeAndExpression() {
|
|
67509
67519
|
this.pushExpressions();
|
|
67510
67520
|
}
|
|
67511
|
-
afterAndExpression(
|
|
67521
|
+
afterAndExpression() {
|
|
67512
67522
|
const [firstExpression, ...restExpressions] = this.popExpressions(1);
|
|
67513
67523
|
let result = firstExpression;
|
|
67514
67524
|
for (const child of restExpressions) {
|
|
@@ -67520,10 +67530,10 @@ class FormulaProcessor {
|
|
|
67520
67530
|
}
|
|
67521
67531
|
this.returnExpression(result);
|
|
67522
67532
|
}
|
|
67523
|
-
beforeOrExpression(
|
|
67533
|
+
beforeOrExpression() {
|
|
67524
67534
|
this.pushExpressions();
|
|
67525
67535
|
}
|
|
67526
|
-
afterOrExpression(
|
|
67536
|
+
afterOrExpression() {
|
|
67527
67537
|
const [firstExpression, ...restExpressions] = this.popExpressions(1);
|
|
67528
67538
|
let result = firstExpression;
|
|
67529
67539
|
for (const child of restExpressions) {
|
|
@@ -67535,38 +67545,38 @@ class FormulaProcessor {
|
|
|
67535
67545
|
}
|
|
67536
67546
|
this.returnExpression(result);
|
|
67537
67547
|
}
|
|
67538
|
-
beforeNotExpression(
|
|
67548
|
+
beforeNotExpression() {
|
|
67539
67549
|
this.pushExpressions();
|
|
67540
67550
|
}
|
|
67541
|
-
afterNotExpression(
|
|
67551
|
+
afterNotExpression() {
|
|
67542
67552
|
const [childExpression] = this.popExpressions(1);
|
|
67543
67553
|
this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.unaryExpression("!", childExpression));
|
|
67544
67554
|
}
|
|
67545
|
-
beforeLtExpression(
|
|
67555
|
+
beforeLtExpression() {
|
|
67546
67556
|
this.pushExpressions();
|
|
67547
67557
|
}
|
|
67548
|
-
afterLtExpression(
|
|
67558
|
+
afterLtExpression() {
|
|
67549
67559
|
const [leftExpression, rightExpression] = this.popExpressions(2);
|
|
67550
67560
|
this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.callExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.memberExpression(leftExpression, _babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("lt")), [rightExpression]));
|
|
67551
67561
|
}
|
|
67552
|
-
beforeGeExpression(
|
|
67562
|
+
beforeGeExpression() {
|
|
67553
67563
|
this.pushExpressions();
|
|
67554
67564
|
}
|
|
67555
|
-
afterGeExpression(
|
|
67565
|
+
afterGeExpression() {
|
|
67556
67566
|
const [leftExpression, rightExpression] = this.popExpressions(2);
|
|
67557
67567
|
this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.callExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.memberExpression(leftExpression, _babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("gte")), [rightExpression]));
|
|
67558
67568
|
}
|
|
67559
|
-
beforeLeExpression(
|
|
67569
|
+
beforeLeExpression() {
|
|
67560
67570
|
this.pushExpressions();
|
|
67561
67571
|
}
|
|
67562
|
-
afterLeExpression(
|
|
67572
|
+
afterLeExpression() {
|
|
67563
67573
|
const [leftExpression, rightExpression] = this.popExpressions(2);
|
|
67564
67574
|
this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.callExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.memberExpression(leftExpression, _babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("lte")), [rightExpression]));
|
|
67565
67575
|
}
|
|
67566
|
-
beforeEqExpression(
|
|
67576
|
+
beforeEqExpression() {
|
|
67567
67577
|
this.pushExpressions();
|
|
67568
67578
|
}
|
|
67569
|
-
afterEqExpression(
|
|
67579
|
+
afterEqExpression() {
|
|
67570
67580
|
const [leftExpression, rightExpression] = this.popExpressions(2);
|
|
67571
67581
|
if (this.isStringExpression(leftExpression) && this.isStringExpression(rightExpression)) {
|
|
67572
67582
|
this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.binaryExpression("===", leftExpression, rightExpression));
|
|
@@ -67574,17 +67584,17 @@ class FormulaProcessor {
|
|
|
67574
67584
|
this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.callExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.memberExpression(leftExpression, _babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("eq")), [rightExpression]));
|
|
67575
67585
|
}
|
|
67576
67586
|
}
|
|
67577
|
-
beforeChooseExpression(
|
|
67587
|
+
beforeChooseExpression() {
|
|
67578
67588
|
this.pushExpressions();
|
|
67579
67589
|
}
|
|
67580
|
-
afterChooseExpression(
|
|
67590
|
+
afterChooseExpression() {
|
|
67581
67591
|
const [ifExpression, thenExpression, elseExpression] = this.popExpressions(3);
|
|
67582
67592
|
this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.conditionalExpression(ifExpression, thenExpression, elseExpression));
|
|
67583
67593
|
}
|
|
67584
|
-
beforeSumExpression(
|
|
67594
|
+
beforeSumExpression() {
|
|
67585
67595
|
this.pushExpressions();
|
|
67586
67596
|
}
|
|
67587
|
-
afterSumExpression(
|
|
67597
|
+
afterSumExpression() {
|
|
67588
67598
|
const [firstExpression, ...restExpressions] = this.popExpressions(1);
|
|
67589
67599
|
let result = firstExpression;
|
|
67590
67600
|
for (const child of restExpressions) {
|
|
@@ -67596,7 +67606,7 @@ class FormulaProcessor {
|
|
|
67596
67606
|
}
|
|
67597
67607
|
this.returnExpression(result);
|
|
67598
67608
|
}
|
|
67599
|
-
beforeRoundExpression(
|
|
67609
|
+
beforeRoundExpression() {
|
|
67600
67610
|
this.pushExpressions();
|
|
67601
67611
|
}
|
|
67602
67612
|
afterRoundExpression(expression) {
|
|
@@ -67606,27 +67616,27 @@ class FormulaProcessor {
|
|
|
67606
67616
|
}
|
|
67607
67617
|
this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.callExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.memberExpression(child[0], _babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("round")), [_babel_types__WEBPACK_IMPORTED_MODULE_0__.unaryExpression("+", _babel_types__WEBPACK_IMPORTED_MODULE_0__.stringLiteral(expression.fractionalDigits.toString()))]));
|
|
67608
67618
|
}
|
|
67609
|
-
beforeFloorExpression(
|
|
67619
|
+
beforeFloorExpression() {
|
|
67610
67620
|
this.pushExpressions();
|
|
67611
67621
|
}
|
|
67612
|
-
afterFloorExpression(
|
|
67622
|
+
afterFloorExpression() {
|
|
67613
67623
|
const child = this.popExpressions(1);
|
|
67614
67624
|
if (child.length !== 1) {
|
|
67615
67625
|
throw new Error("Выражение floor должно содержать ровно одно подвыражение");
|
|
67616
67626
|
}
|
|
67617
67627
|
this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.callExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.memberExpression(child[0], _babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("floor")), []));
|
|
67618
67628
|
}
|
|
67619
|
-
beforeAbsExpression(
|
|
67629
|
+
beforeAbsExpression() {
|
|
67620
67630
|
this.pushExpressions();
|
|
67621
67631
|
}
|
|
67622
|
-
afterAbsExpression(
|
|
67632
|
+
afterAbsExpression() {
|
|
67623
67633
|
const child = this.popExpressions(1);
|
|
67624
67634
|
if (child.length !== 1) {
|
|
67625
67635
|
throw new Error("Выражение abs должно содержать ровно одно подвыражение");
|
|
67626
67636
|
}
|
|
67627
67637
|
this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.callExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.memberExpression(child[0], _babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("abs")), []));
|
|
67628
67638
|
}
|
|
67629
|
-
beforeDivisionExpression(
|
|
67639
|
+
beforeDivisionExpression() {
|
|
67630
67640
|
this.pushExpressions();
|
|
67631
67641
|
}
|
|
67632
67642
|
afterDivisionExpression(expression) {
|
|
@@ -67639,20 +67649,20 @@ class FormulaProcessor {
|
|
|
67639
67649
|
}
|
|
67640
67650
|
this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.callExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.memberExpression(child[0], _babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("div")), [child[1]]));
|
|
67641
67651
|
}
|
|
67642
|
-
beforeMinusExpression(
|
|
67652
|
+
beforeMinusExpression() {
|
|
67643
67653
|
this.pushExpressions();
|
|
67644
67654
|
}
|
|
67645
|
-
afterMinusExpression(
|
|
67655
|
+
afterMinusExpression() {
|
|
67646
67656
|
const child = this.popExpressions(1);
|
|
67647
67657
|
if (child.length !== 1) {
|
|
67648
67658
|
throw new Error("Выражение minus должно содержать ровно одно подвыражение");
|
|
67649
67659
|
}
|
|
67650
67660
|
this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.callExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.memberExpression(child[0], _babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("times")), [_babel_types__WEBPACK_IMPORTED_MODULE_0__.numericLiteral(-1)]));
|
|
67651
67661
|
}
|
|
67652
|
-
beforeMultiplyExpression(
|
|
67662
|
+
beforeMultiplyExpression() {
|
|
67653
67663
|
this.pushExpressions();
|
|
67654
67664
|
}
|
|
67655
|
-
afterMultiplyExpression(
|
|
67665
|
+
afterMultiplyExpression() {
|
|
67656
67666
|
const [firstExpression, ...restExpressions] = this.popExpressions(1);
|
|
67657
67667
|
let result = firstExpression;
|
|
67658
67668
|
for (const child of restExpressions) {
|
|
@@ -67674,7 +67684,7 @@ class FormulaProcessor {
|
|
|
67674
67684
|
var _this$findDependencyB;
|
|
67675
67685
|
return _babel_types__WEBPACK_IMPORTED_MODULE_0__.isStringLiteral(expression) || _babel_types__WEBPACK_IMPORTED_MODULE_0__.isIdentifier(expression) && ((_this$findDependencyB = this.findDependencyByName(expression.name)) === null || _this$findDependencyB === void 0 ? void 0 : _this$findDependencyB.variableType) === "string";
|
|
67676
67686
|
}
|
|
67677
|
-
buildFormula(resultExpression
|
|
67687
|
+
buildFormula(resultExpression) {
|
|
67678
67688
|
const suffix = this.getLegacyExpressionTypeForFunctionName(this.formula.expression);
|
|
67679
67689
|
const functionName = `${this.getNameByPath(`${this.formula.match}/${this.formula.target}`)}_${suffix}`;
|
|
67680
67690
|
const targetPath = this.resolveFormulaPathToEnginePath(`${this.formula.match}/${this.formula.target}`);
|
|
@@ -67865,7 +67875,7 @@ class FormulasAutoCalculationsGenerator {
|
|
|
67865
67875
|
try {
|
|
67866
67876
|
const generator = new _FormulaProcessing_FormulaProcessor__WEBPACK_IMPORTED_MODULE_3__.FormulaProcessor(formula, schemaRng, dataDeclarationHelper);
|
|
67867
67877
|
return generator.buildAutoCalculation();
|
|
67868
|
-
} catch
|
|
67878
|
+
} catch {
|
|
67869
67879
|
// eslint-disable-next-line no-console
|
|
67870
67880
|
console.warn(chalk__WEBPACK_IMPORTED_MODULE_0___default().yellow(`[WARN] Can not generate autocalc for formula with target:`));
|
|
67871
67881
|
// eslint-disable-next-line no-console
|
|
@@ -69631,7 +69641,7 @@ class DataDeclarationGenerationContext {
|
|
|
69631
69641
|
processChildrenDataDeclaration(children, nodeProcessor) {
|
|
69632
69642
|
const childrenDataDeclaration = [];
|
|
69633
69643
|
for (const child of children) {
|
|
69634
|
-
childrenDataDeclaration.push(this.buildNodeDataDeclaration(child,
|
|
69644
|
+
childrenDataDeclaration.push(this.buildNodeDataDeclaration(child, nodeProcessor));
|
|
69635
69645
|
}
|
|
69636
69646
|
return this.mergeDataDeclaration(...childrenDataDeclaration);
|
|
69637
69647
|
}
|
|
@@ -69671,7 +69681,6 @@ class DataDeclarationGenerationContext {
|
|
|
69671
69681
|
};
|
|
69672
69682
|
}
|
|
69673
69683
|
addSpecialFieldsEntry(node, {
|
|
69674
|
-
multiple,
|
|
69675
69684
|
optional,
|
|
69676
69685
|
disabled
|
|
69677
69686
|
}) {
|
|
@@ -69785,7 +69794,7 @@ class DataDeclarationGenerationContext {
|
|
|
69785
69794
|
sections.push(_Common_CommonConstants_SectionNames__WEBPACK_IMPORTED_MODULE_2__.SectionNames.defaultSection);
|
|
69786
69795
|
return sections;
|
|
69787
69796
|
}
|
|
69788
|
-
buildNodeDataDeclaration(child,
|
|
69797
|
+
buildNodeDataDeclaration(child, nodeProcessor) {
|
|
69789
69798
|
const controlConverterClass = (0,_markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_6__.getConverterByNodeClass)((0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_9__.getNodeClass)(child));
|
|
69790
69799
|
if (controlConverterClass == undefined) {
|
|
69791
69800
|
if (child instanceof _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_9__.UnknownSugarNode && child.name === "type") {
|
|
@@ -69795,7 +69804,7 @@ class DataDeclarationGenerationContext {
|
|
|
69795
69804
|
const customControl = this.controlCustomizationContext.tryGetCustomRegularControl(child.name);
|
|
69796
69805
|
if (customControl != undefined) {
|
|
69797
69806
|
const hasBindingPath = customControl.properties.find(x => x.name === "path" && x.type === "bindingPath");
|
|
69798
|
-
return hasBindingPath ? this.addCustomControlPathDeclEntry(child
|
|
69807
|
+
return hasBindingPath ? this.addCustomControlPathDeclEntry(child) : emptyDataDeclarationCollection;
|
|
69799
69808
|
}
|
|
69800
69809
|
}
|
|
69801
69810
|
const result = nodeProcessor === null || nodeProcessor === void 0 ? void 0 : nodeProcessor(child);
|
|
@@ -69809,7 +69818,7 @@ class DataDeclarationGenerationContext {
|
|
|
69809
69818
|
const converter = new controlConverterClass(child);
|
|
69810
69819
|
return converter.buildDataDeclaration(this);
|
|
69811
69820
|
}
|
|
69812
|
-
addCustomControlPathDeclEntry(sugarNode
|
|
69821
|
+
addCustomControlPathDeclEntry(sugarNode) {
|
|
69813
69822
|
const declEntry = {};
|
|
69814
69823
|
declEntry["value"] = this.initSequenceFactory.dataValue(sugarNode, sugarNode.disabled);
|
|
69815
69824
|
if (sugarNode.optional) {
|
|
@@ -70226,7 +70235,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
70226
70235
|
|
|
70227
70236
|
|
|
70228
70237
|
|
|
70229
|
-
function adjustPathMultiplicityComplex(path,
|
|
70238
|
+
function adjustPathMultiplicityComplex(path, dataDeclarationHelper) {
|
|
70230
70239
|
const result = new _Common_ModelPath_ModelPathBuilder__WEBPACK_IMPORTED_MODULE_3__.ModelPathBuilder(true);
|
|
70231
70240
|
for (const pathToken of path.getPathParts()) {
|
|
70232
70241
|
if (_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.isMultiToken(pathToken)) {
|
|
@@ -70324,7 +70333,7 @@ function isFileExists(directoryPath) {
|
|
|
70324
70333
|
try {
|
|
70325
70334
|
const dirStat = (0,fs__WEBPACK_IMPORTED_MODULE_0__.statSync)(directoryPath);
|
|
70326
70335
|
return dirStat.isFile();
|
|
70327
|
-
} catch
|
|
70336
|
+
} catch {
|
|
70328
70337
|
return false;
|
|
70329
70338
|
}
|
|
70330
70339
|
}
|
|
@@ -70618,7 +70627,7 @@ function buildSugarNodeDocumentation(sugarNodeClass) {
|
|
|
70618
70627
|
children,
|
|
70619
70628
|
singleChild,
|
|
70620
70629
|
availableAnyChildren
|
|
70621
|
-
} = buildAvailableChildrenInfo(propertySerializers
|
|
70630
|
+
} = buildAvailableChildrenInfo(propertySerializers);
|
|
70622
70631
|
const imagesPromise = getPathImagesFromContext(documentationFilesContext);
|
|
70623
70632
|
const images = {};
|
|
70624
70633
|
// В соседней ветке переезжаю на nodejs22, надо бы тут убрать магию с промисом и заюзать нативный globSync в getPathImagesFromContext
|
|
@@ -70647,23 +70656,23 @@ function buildSugarNodeDocumentation(sugarNodeClass) {
|
|
|
70647
70656
|
images: images
|
|
70648
70657
|
};
|
|
70649
70658
|
}
|
|
70650
|
-
function buildAvailableChildrenInfo(propertySerializers
|
|
70659
|
+
function buildAvailableChildrenInfo(propertySerializers) {
|
|
70651
70660
|
if (propertySerializers.length === 0) {
|
|
70652
70661
|
return {
|
|
70653
70662
|
children: [],
|
|
70654
70663
|
singleChild: []
|
|
70655
70664
|
};
|
|
70656
70665
|
}
|
|
70657
|
-
const children = propertySerializers.map(x => buildAvailableChildrenDocs(x
|
|
70658
|
-
const singleChild = propertySerializers.map(x => buildAvailableSingleChildDocs(x
|
|
70659
|
-
const availableAnyChildren = propertySerializers.map(x => buildAvailableSugarChildrenDocs(x
|
|
70666
|
+
const children = propertySerializers.map(x => buildAvailableChildrenDocs(x)).flat();
|
|
70667
|
+
const singleChild = propertySerializers.map(x => buildAvailableSingleChildDocs(x)).flat();
|
|
70668
|
+
const availableAnyChildren = propertySerializers.map(x => buildAvailableSugarChildrenDocs(x)).some(x => x === true);
|
|
70660
70669
|
return {
|
|
70661
70670
|
children: children,
|
|
70662
70671
|
singleChild: singleChild,
|
|
70663
70672
|
availableAnyChildren: availableAnyChildren
|
|
70664
70673
|
};
|
|
70665
70674
|
}
|
|
70666
|
-
function buildAvailableChildrenDocs(propertyDeserializer
|
|
70675
|
+
function buildAvailableChildrenDocs(propertyDeserializer) {
|
|
70667
70676
|
if (!(propertyDeserializer instanceof _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_7__.SinglePropertyDeserializer)) {
|
|
70668
70677
|
return [];
|
|
70669
70678
|
}
|
|
@@ -70676,7 +70685,7 @@ function buildAvailableChildrenDocs(propertyDeserializer, documentationFilesCont
|
|
|
70676
70685
|
}
|
|
70677
70686
|
return [];
|
|
70678
70687
|
}
|
|
70679
|
-
function buildAvailableSugarChildrenDocs(propertyDeserializer
|
|
70688
|
+
function buildAvailableSugarChildrenDocs(propertyDeserializer) {
|
|
70680
70689
|
if (!(propertyDeserializer instanceof _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_7__.SinglePropertyDeserializer)) {
|
|
70681
70690
|
return false;
|
|
70682
70691
|
}
|
|
@@ -70685,7 +70694,7 @@ function buildAvailableSugarChildrenDocs(propertyDeserializer, documentationFile
|
|
|
70685
70694
|
}
|
|
70686
70695
|
return false;
|
|
70687
70696
|
}
|
|
70688
|
-
function buildAvailableSingleChildDocs(propertyDeserializer
|
|
70697
|
+
function buildAvailableSingleChildDocs(propertyDeserializer) {
|
|
70689
70698
|
if (!(propertyDeserializer instanceof _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_7__.SinglePropertyDeserializer)) {
|
|
70690
70699
|
return [];
|
|
70691
70700
|
}
|
|
@@ -70905,6 +70914,42 @@ function getOrCreateNode(nodes, path) {
|
|
|
70905
70914
|
|
|
70906
70915
|
/***/ }),
|
|
70907
70916
|
|
|
70917
|
+
/***/ "./Generator/src/generators/FormMetaInfoGenerator/FormMetaInfoGenerator.ts":
|
|
70918
|
+
/*!*********************************************************************************!*\
|
|
70919
|
+
!*** ./Generator/src/generators/FormMetaInfoGenerator/FormMetaInfoGenerator.ts ***!
|
|
70920
|
+
\*********************************************************************************/
|
|
70921
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
70922
|
+
|
|
70923
|
+
"use strict";
|
|
70924
|
+
__webpack_require__.r(__webpack_exports__);
|
|
70925
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
70926
|
+
/* harmony export */ FormMetaInfoGenerator: () => (/* binding */ FormMetaInfoGenerator)
|
|
70927
|
+
/* harmony export */ });
|
|
70928
|
+
/* harmony import */ var _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../markupGenerator/Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
70929
|
+
/* harmony import */ var _markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../markupGenerator/AllConverters */ "./Generator/src/generators/markupGenerator/AllConverters.ts");
|
|
70930
|
+
/* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
|
|
70931
|
+
|
|
70932
|
+
|
|
70933
|
+
|
|
70934
|
+
class FormMetaInfoGenerator {
|
|
70935
|
+
constructor(sugarRoot) {
|
|
70936
|
+
this.sugarRoot = void 0;
|
|
70937
|
+
this.sugarRoot = sugarRoot;
|
|
70938
|
+
}
|
|
70939
|
+
generate() {
|
|
70940
|
+
var _getConverterByNodeCl;
|
|
70941
|
+
const converterClass = (_getConverterByNodeCl = (0,_markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_1__.getConverterByNodeClass)((0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.getNodeClass)(this.sugarRoot))) !== null && _getConverterByNodeCl !== void 0 ? _getConverterByNodeCl : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.reject)();
|
|
70942
|
+
const converter = new converterClass(this.sugarRoot);
|
|
70943
|
+
const formMetaInfo = converter.buildMetaInfo();
|
|
70944
|
+
const result = JSON.stringify(formMetaInfo);
|
|
70945
|
+
return {
|
|
70946
|
+
formMetaInfoContent: unescape(result.replace(/(\\)(u[\dA-Fa-f]{4})/g, "%$2"))
|
|
70947
|
+
};
|
|
70948
|
+
}
|
|
70949
|
+
}
|
|
70950
|
+
|
|
70951
|
+
/***/ }),
|
|
70952
|
+
|
|
70908
70953
|
/***/ "./Generator/src/generators/FormSourcesBuilder/FormSourcesBuilder.ts":
|
|
70909
70954
|
/*!***************************************************************************!*\
|
|
70910
70955
|
!*** ./Generator/src/generators/FormSourcesBuilder/FormSourcesBuilder.ts ***!
|
|
@@ -71132,7 +71177,7 @@ async function isDirectoryExists(directoryPath) {
|
|
|
71132
71177
|
try {
|
|
71133
71178
|
const dirStat = await statAsync(directoryPath);
|
|
71134
71179
|
return dirStat.isDirectory();
|
|
71135
|
-
} catch
|
|
71180
|
+
} catch {
|
|
71136
71181
|
return false;
|
|
71137
71182
|
}
|
|
71138
71183
|
}
|
|
@@ -71140,7 +71185,7 @@ function isDirectoryExistsSync(directoryPath) {
|
|
|
71140
71185
|
try {
|
|
71141
71186
|
const dirStat = fs__WEBPACK_IMPORTED_MODULE_0__.statSync(directoryPath);
|
|
71142
71187
|
return dirStat.isDirectory();
|
|
71143
|
-
} catch
|
|
71188
|
+
} catch {
|
|
71144
71189
|
return false;
|
|
71145
71190
|
}
|
|
71146
71191
|
}
|
|
@@ -72196,6 +72241,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
72196
72241
|
/* harmony import */ var _markupGenerator_IMarkupBuildingContext__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./markupGenerator/IMarkupBuildingContext */ "./Generator/src/generators/markupGenerator/IMarkupBuildingContext.ts");
|
|
72197
72242
|
/* harmony import */ var _ServerSideFLangNormalization_RuleBuilders_OptionalElementsRulesBuilder__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./ServerSideFLangNormalization/RuleBuilders/OptionalElementsRulesBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/OptionalElementsRulesBuilder.ts");
|
|
72198
72243
|
/* harmony import */ var _ServerSideFLangNormalization_RuleBuilders_OptionalBlocksRulesBuilder__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./ServerSideFLangNormalization/RuleBuilders/OptionalBlocksRulesBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/OptionalBlocksRulesBuilder.ts");
|
|
72244
|
+
/* harmony import */ var _FormMetaInfoGenerator_FormMetaInfoGenerator__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./FormMetaInfoGenerator/FormMetaInfoGenerator */ "./Generator/src/generators/FormMetaInfoGenerator/FormMetaInfoGenerator.ts");
|
|
72245
|
+
|
|
72199
72246
|
|
|
72200
72247
|
|
|
72201
72248
|
|
|
@@ -72291,12 +72338,16 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
|
|
|
72291
72338
|
} = dataDeclarationGenerator.generate();
|
|
72292
72339
|
const dataDeclarationHelper = new _DataDeclarationGenerator_DataDeclarationGenerationTimeHelper__WEBPACK_IMPORTED_MODULE_27__.DataDeclarationGenerationTimeHelper(dataDeclaration, formSchemaRng);
|
|
72293
72340
|
const extendedSchemaInfo = (0,_ExtendedSchema_ExtendedSchemaInfoUtils__WEBPACK_IMPORTED_MODULE_49__.buildExtendedSchemaInfo)(dataDeclarationHelper);
|
|
72341
|
+
const formMetaInfoGenerator = new _FormMetaInfoGenerator_FormMetaInfoGenerator__WEBPACK_IMPORTED_MODULE_54__.FormMetaInfoGenerator(sugarRoot);
|
|
72342
|
+
const {
|
|
72343
|
+
formMetaInfoContent
|
|
72344
|
+
} = formMetaInfoGenerator.generate();
|
|
72294
72345
|
const markupBuilderContext = new _markupGenerator_IMarkupBuildingContext__WEBPACK_IMPORTED_MODULE_51__.MarkupBuildingContext(new _markupGenerator_ElementProcessors_Commons_NodePathsContext__WEBPACK_IMPORTED_MODULE_50__.NodePathsContext(), additionalContent.formSourcesPath, additionalContent.helpersContent, additionalContent.tourSteps, controlCustomizationContext, typeRegistry, formSchemaRng, dataDeclarationHelper, useSchemaValidations);
|
|
72295
72346
|
const validationGenerator = new _validationGenerator_ValidationGenerator__WEBPACK_IMPORTED_MODULE_17__.ValidationGenerator(sugarRoot, typeRegistry, markupBuilderContext, controlCustomizationContext, formSchemaRng, useSchemaValidations, additionalContent.validationsContent, additionalContent.formJsonSettings);
|
|
72296
72347
|
const lazyLoadGenerator = new _LazyLoadDeclarationGenerator_LazyLoadDeclarationGenerator__WEBPACK_IMPORTED_MODULE_30__.LazyLoadDeclarationGenerator(sugarRoot, formSchemaRng);
|
|
72297
72348
|
const lazyLoadGeneratorResult = lazyLoadGenerator.generate();
|
|
72298
72349
|
const resourcesHash = (_generationOptions$re = generationOptions === null || generationOptions === void 0 ? void 0 : generationOptions.resourcesHash) !== null && _generationOptions$re !== void 0 ? _generationOptions$re : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.reject)("Current generator version requires resources hash");
|
|
72299
|
-
const formulaExprConverter = new _ServerSideFLangNormalization_FormulaExpressionToFlangExpressionConverter__WEBPACK_IMPORTED_MODULE_35__.FormulaExpressionToFlangExpressionConverter(path => (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_36__.adjustPathMultiplicityComplex)(path,
|
|
72350
|
+
const formulaExprConverter = new _ServerSideFLangNormalization_FormulaExpressionToFlangExpressionConverter__WEBPACK_IMPORTED_MODULE_35__.FormulaExpressionToFlangExpressionConverter(path => (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_36__.adjustPathMultiplicityComplex)(path, dataDeclarationHelper), {
|
|
72300
72351
|
enableGroupSumAutoConversion: (_additionalContent$fo5 = (_additionalContent$fo6 = additionalContent.formJsonSettings) === null || _additionalContent$fo6 === void 0 ? void 0 : _additionalContent$fo6.enableTypedFlang) !== null && _additionalContent$fo5 !== void 0 ? _additionalContent$fo5 : false
|
|
72301
72352
|
});
|
|
72302
72353
|
const formulaRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_FormulaRulesBuilder__WEBPACK_IMPORTED_MODULE_37__.FormulaRulesBuilder(formSchemaRng, formulas, dataDeclarationHelper, formulaExprConverter, {
|
|
@@ -72305,7 +72356,7 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
|
|
|
72305
72356
|
const initializationRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_InitializationRulesBuilder__WEBPACK_IMPORTED_MODULE_38__.InitializationRulesBuilder(sugarRoot, resourcesHash);
|
|
72306
72357
|
const lazyLoadingRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_LazyLoadingRulesBuilder__WEBPACK_IMPORTED_MODULE_39__.LazyLoadingRulesBuilder(sugarRoot, lazyLoadGeneratorResult.declaration);
|
|
72307
72358
|
const sugarRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_SugarRulesBuilder__WEBPACK_IMPORTED_MODULE_40__.SugarRulesBuilder(sugarRoot, formSchemaRng, controlCustomizationContext, fetchFunctions, dataDeclarationHelper, typeRegistry, useSchemaValidations);
|
|
72308
|
-
const validationRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_ValidationRulesBuilder__WEBPACK_IMPORTED_MODULE_41__.ValidationRulesBuilder(dataDeclarationHelper,
|
|
72359
|
+
const validationRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_ValidationRulesBuilder__WEBPACK_IMPORTED_MODULE_41__.ValidationRulesBuilder(dataDeclarationHelper, formulaExprConverter, kcXmlConditions);
|
|
72309
72360
|
const optionalSectionRuleBuilder = new _ServerSideFLangNormalization_RuleBuilders_OptionalSectionRulesBuilder__WEBPACK_IMPORTED_MODULE_34__.OptionalSectionRulesBuilder(sugarRoot, dataDeclarationHelper);
|
|
72310
72361
|
const optionalElementsRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_OptionalElementsRulesBuilder__WEBPACK_IMPORTED_MODULE_52__.OptionalElementsRulesBuilder(formSchemaRng, dataDeclarationHelper);
|
|
72311
72362
|
const optionalBlocksRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_OptionalBlocksRulesBuilder__WEBPACK_IMPORTED_MODULE_53__.OptionalBlocksRulesBuilder(dataDeclarationHelper);
|
|
@@ -72323,6 +72374,7 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
|
|
|
72323
72374
|
const formulasForCalculator = useOldCalculator ? formulas : [];
|
|
72324
72375
|
builder.addResource("calculationFunctions.js", autocalcGenerator.generate(sugarRoot, additionalContent.autocalcsContent, formulasForCalculator));
|
|
72325
72376
|
builder.addResource("dataDeclaration.js", dataDeclarationContent);
|
|
72377
|
+
builder.addResource("formMetaInfo.json", formMetaInfoContent);
|
|
72326
72378
|
builder.addServerSideResource("extendedSchema.json", JSON.stringify(extendedSchemaInfo, _Common_SerializationUtils__WEBPACK_IMPORTED_MODULE_7__.excludeUndefinedOrEmptyObjectJsonReplacer, 4));
|
|
72327
72379
|
let finalLazyLoadDeclaration = lazyLoadGeneratorResult.declaration;
|
|
72328
72380
|
if ((_additionalContent$fo11 = (_additionalContent$fo12 = additionalContent.formJsonSettings) === null || _additionalContent$fo12 === void 0 ? void 0 : _additionalContent$fo12.useServerSideFLangNormalization) !== null && _additionalContent$fo11 !== void 0 ? _additionalContent$fo11 : false) {
|
|
@@ -72680,7 +72732,7 @@ async function readAutoCalcFiles(formAutoCalcPath) {
|
|
|
72680
72732
|
const files = await readdirAsync(formAutoCalcPath);
|
|
72681
72733
|
const jsFiles = files.filter(filename => /\.js$/.test(filename));
|
|
72682
72734
|
return Promise.all(jsFiles.map(filename => readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formAutoCalcPath, filename), "utf-8")));
|
|
72683
|
-
} catch
|
|
72735
|
+
} catch {
|
|
72684
72736
|
return [];
|
|
72685
72737
|
}
|
|
72686
72738
|
}
|
|
@@ -72692,7 +72744,7 @@ async function readImportedFiles(rootPath) {
|
|
|
72692
72744
|
result["../validations/" + fileName] = await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(rootPath, "validations", fileName), "utf-8");
|
|
72693
72745
|
}
|
|
72694
72746
|
return result;
|
|
72695
|
-
} catch
|
|
72747
|
+
} catch {
|
|
72696
72748
|
return {};
|
|
72697
72749
|
}
|
|
72698
72750
|
}
|
|
@@ -72725,7 +72777,7 @@ async function readJavaScriptFilesWithNames(formJavaScriptFilesPath) {
|
|
|
72725
72777
|
filename: path__WEBPACK_IMPORTED_MODULE_1___default().parse(filename).name,
|
|
72726
72778
|
content: await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formJavaScriptFilesPath, filename), "utf-8")
|
|
72727
72779
|
})));
|
|
72728
|
-
} catch
|
|
72780
|
+
} catch {
|
|
72729
72781
|
return [];
|
|
72730
72782
|
}
|
|
72731
72783
|
}
|
|
@@ -72742,7 +72794,7 @@ async function connectJSFilesWithNames(formJavaScriptFilesPath) {
|
|
|
72742
72794
|
});
|
|
72743
72795
|
}
|
|
72744
72796
|
return result;
|
|
72745
|
-
} catch
|
|
72797
|
+
} catch {
|
|
72746
72798
|
return [];
|
|
72747
72799
|
}
|
|
72748
72800
|
}
|
|
@@ -72755,7 +72807,7 @@ function readHooksFile(formDirectoryPath) {
|
|
|
72755
72807
|
async function readFileSource(filePath, filename, defaultValue) {
|
|
72756
72808
|
try {
|
|
72757
72809
|
return await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(filePath, filename), "utf-8");
|
|
72758
|
-
} catch
|
|
72810
|
+
} catch {
|
|
72759
72811
|
return defaultValue;
|
|
72760
72812
|
}
|
|
72761
72813
|
}
|
|
@@ -72925,7 +72977,7 @@ class CustomKCLangToFlangRuleGenerator {
|
|
|
72925
72977
|
return result;
|
|
72926
72978
|
}
|
|
72927
72979
|
adjustPathMultiplicity(path) {
|
|
72928
|
-
return (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_2__.adjustPathMultiplicityComplex)(path, this.
|
|
72980
|
+
return (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_2__.adjustPathMultiplicityComplex)(path, this.dataDeclarationHelper);
|
|
72929
72981
|
}
|
|
72930
72982
|
}
|
|
72931
72983
|
|
|
@@ -73146,7 +73198,7 @@ class BinaryExpression extends FLangExpression {
|
|
|
73146
73198
|
this.right = right;
|
|
73147
73199
|
this.left = left;
|
|
73148
73200
|
}
|
|
73149
|
-
needAddBraces(
|
|
73201
|
+
needAddBraces(_) {
|
|
73150
73202
|
return false;
|
|
73151
73203
|
}
|
|
73152
73204
|
*getChildNodes() {
|
|
@@ -73170,7 +73222,7 @@ class UnaryExpression extends FLangExpression {
|
|
|
73170
73222
|
this.operand = void 0;
|
|
73171
73223
|
this.operand = operand;
|
|
73172
73224
|
}
|
|
73173
|
-
needAddBraces(
|
|
73225
|
+
needAddBraces(_) {
|
|
73174
73226
|
return false;
|
|
73175
73227
|
}
|
|
73176
73228
|
*getChildNodes() {
|
|
@@ -75024,7 +75076,7 @@ class FormulaExpressionToFlangExpressionConverter {
|
|
|
75024
75076
|
return this.compiledInstanceCountExpression(prefix, target, expression.select, addPrecalculationRule);
|
|
75025
75077
|
}
|
|
75026
75078
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaIsEqualToAutoCalculatedExpression) {
|
|
75027
|
-
return this.compileIsEqualToAutoCalculatedExpression(prefix, target, expression.select, expression.type
|
|
75079
|
+
return this.compileIsEqualToAutoCalculatedExpression(prefix, target, expression.select, expression.type);
|
|
75028
75080
|
}
|
|
75029
75081
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaLengthExpression) {
|
|
75030
75082
|
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.LenExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.castOperandToStringIfNeed)(this.compileExpressionToFlangExpressionInternal(expression.argument, prefix, target, addPrecalculationRule)));
|
|
@@ -75214,7 +75266,7 @@ class FormulaExpressionToFlangExpressionConverter {
|
|
|
75214
75266
|
const sourceKeyPath = this.preparePathAndAdjustMultiplicity(prefix, expression.expression.select);
|
|
75215
75267
|
const sourceValueExpression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.DecimalLiteralExpression(1);
|
|
75216
75268
|
const dictPathWithField = this.makeDictNameFromKeyAndValue(splitInfo.matchedPath, sourceKeyPath, sourceValueExpression);
|
|
75217
|
-
const dictExpression = this.compileMakeDictExpressionImpl(
|
|
75269
|
+
const dictExpression = this.compileMakeDictExpressionImpl(dictPathWithField, sourceKeyPath, sourceValueExpression);
|
|
75218
75270
|
const dictStatement = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.SetStatement(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.ValueReferenceExpression(dictPathWithField.path, "value"), dictExpression);
|
|
75219
75271
|
addPrecalculationRule(dictStatement);
|
|
75220
75272
|
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.MakeHashSetFromDictExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.DictLiteralExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.ValueReferenceExpression(dictPathWithField.path.toCurrentIteration(), "value")));
|
|
@@ -75233,7 +75285,7 @@ class FormulaExpressionToFlangExpressionConverter {
|
|
|
75233
75285
|
const hashSetExpression = this.compileExpressionToFlangExpressionInternal(expression.expression, prefix, target, addPrecalculationRule);
|
|
75234
75286
|
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.HashSetExpression(hashSetExpression);
|
|
75235
75287
|
}
|
|
75236
|
-
compileMakeDictExpressionImpl(
|
|
75288
|
+
compileMakeDictExpressionImpl(target, sourceKeyPath, sourceValueExpression) {
|
|
75237
75289
|
const getOldSourceValueExpression = () => {
|
|
75238
75290
|
if (sourceValueExpression instanceof _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.ValueReferenceExpression) {
|
|
75239
75291
|
return (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.makeGetOld)(sourceValueExpression);
|
|
@@ -75260,7 +75312,7 @@ class FormulaExpressionToFlangExpressionConverter {
|
|
|
75260
75312
|
compileMakeDictExpression(prefix, target, expression, addPrecalculationRule) {
|
|
75261
75313
|
const sourceKeyPath = this.preparePathAndAdjustMultiplicity(prefix, expression.sourceKeyPath);
|
|
75262
75314
|
const sourceValueExpression = this.compileExpressionToFlangExpressionInternal(expression.sourceValueExpression, prefix, new _Common_ModelPath_AbsoluteModelFieldPath__WEBPACK_IMPORTED_MODULE_7__.AbsoluteModelFieldPath(sourceKeyPath, "value"), addPrecalculationRule);
|
|
75263
|
-
const reduceExpression = this.compileMakeDictExpressionImpl(
|
|
75315
|
+
const reduceExpression = this.compileMakeDictExpressionImpl(target, sourceKeyPath, sourceValueExpression);
|
|
75264
75316
|
return reduceExpression;
|
|
75265
75317
|
}
|
|
75266
75318
|
compileArrayOfTargetKeys(prefix, target, targetKeys, addPrecalculationRule) {
|
|
@@ -75273,7 +75325,7 @@ class FormulaExpressionToFlangExpressionConverter {
|
|
|
75273
75325
|
}), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.BoolLiteralExpression(true));
|
|
75274
75326
|
return deserializedKeys;
|
|
75275
75327
|
}
|
|
75276
|
-
compileGetSumByKeysExpressionImpl(
|
|
75328
|
+
compileGetSumByKeysExpressionImpl(dictPath, targetKeys) {
|
|
75277
75329
|
const finalValueExpression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.GetSumByKeysExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.DictLiteralExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.ValueReferenceExpression(dictPath, "value")), targetKeys);
|
|
75278
75330
|
return finalValueExpression;
|
|
75279
75331
|
}
|
|
@@ -75281,7 +75333,7 @@ class FormulaExpressionToFlangExpressionConverter {
|
|
|
75281
75333
|
const dictPath = this.preparePathAndAdjustMultiplicity(prefix, expression.dictPath);
|
|
75282
75334
|
const targetKeys = expression.targetKeys;
|
|
75283
75335
|
const deserializedKeys = this.compileArrayOfTargetKeys(prefix, target, targetKeys.items, addPrecalculationRule);
|
|
75284
|
-
return this.compileGetSumByKeysExpressionImpl(
|
|
75336
|
+
return this.compileGetSumByKeysExpressionImpl(dictPath, deserializedKeys);
|
|
75285
75337
|
}
|
|
75286
75338
|
compileGroupSumExpressionWithPersistentDictionary(prefix, target, targetKeys, sourceKeyPath, sourceValueExpression, addPrecalculationRule) {
|
|
75287
75339
|
const matchPaths = (0,_Common_ModelPath_PathSplitHelper__WEBPACK_IMPORTED_MODULE_5__.getMatchedAndDifferentModelPaths)(target.path, sourceKeyPath);
|
|
@@ -75299,10 +75351,8 @@ class FormulaExpressionToFlangExpressionConverter {
|
|
|
75299
75351
|
if (finalIterPath.isEmpty()) {
|
|
75300
75352
|
throw new Error("Error occurred while trying parse path for reduce: " + firstPart.toLegacyPath());
|
|
75301
75353
|
}
|
|
75302
|
-
const basePathForDict = finalIterPath;
|
|
75303
75354
|
const dictPathWithField = this.makeDictNameFromKeyAndValue(finalIterPath, sourceKeyPath, sourceValueExpression);
|
|
75304
|
-
const
|
|
75305
|
-
const dictExpression = this.compileMakeDictExpressionImpl(basePathForDictPrefix, dictPathWithField, sourceKeyPath, sourceValueExpression, addPrecalculationRule);
|
|
75355
|
+
const dictExpression = this.compileMakeDictExpressionImpl(dictPathWithField, sourceKeyPath, sourceValueExpression);
|
|
75306
75356
|
const dictStatement = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.SetStatement(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.ValueReferenceExpression(dictPathWithField.path, "value"), dictExpression);
|
|
75307
75357
|
addPrecalculationRule(dictStatement);
|
|
75308
75358
|
const deserializedKeys = this.compileArrayOfTargetKeys(prefix, target, targetKeys, addPrecalculationRule);
|
|
@@ -75412,7 +75462,7 @@ class FormulaExpressionToFlangExpressionConverter {
|
|
|
75412
75462
|
throw new Error(`Instance count with nested multiplicity is not supported: target: ${target.path}, select path: ${selectPath}}`);
|
|
75413
75463
|
}
|
|
75414
75464
|
}
|
|
75415
|
-
compileIsEqualToAutoCalculatedExpression(prefix, target, selectPath, selectType
|
|
75465
|
+
compileIsEqualToAutoCalculatedExpression(prefix, target, selectPath, selectType) {
|
|
75416
75466
|
const adjustedSelectPath = this.preparePathAndAdjustMultiplicity(prefix, selectPath);
|
|
75417
75467
|
const splitInfo = (0,_Common_ModelPath_PathSplitHelper__WEBPACK_IMPORTED_MODULE_5__.getMatchedAndDifferentModelPaths)(target.path, adjustedSelectPath);
|
|
75418
75468
|
if (!splitInfo.differentPath.isContainIteration()) {
|
|
@@ -75790,7 +75840,7 @@ class FormulaOnlyNormalizationRuleGenerator {
|
|
|
75790
75840
|
return result;
|
|
75791
75841
|
}
|
|
75792
75842
|
adjustPathMultiplicity(path) {
|
|
75793
|
-
return (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_1__.adjustPathMultiplicityComplex)(path, this.
|
|
75843
|
+
return (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_1__.adjustPathMultiplicityComplex)(path, this.dataDeclarationHelper);
|
|
75794
75844
|
}
|
|
75795
75845
|
}
|
|
75796
75846
|
|
|
@@ -75940,7 +75990,7 @@ class FormulaRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_6__.
|
|
|
75940
75990
|
var _this$formSchemaRng$g;
|
|
75941
75991
|
const prefix = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createModelPath)(formula.match.replace(/\@/g, ""), true).normalize();
|
|
75942
75992
|
const target = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createModelPath)(formula.target.replace(/\@/g, ""), false);
|
|
75943
|
-
const fullTarget = (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_2__.adjustPathMultiplicityComplex)(prefix.joinWith(target).normalize(), this.
|
|
75993
|
+
const fullTarget = (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_2__.adjustPathMultiplicityComplex)(prefix.joinWith(target).normalize(), this.dataDeclarationHelper);
|
|
75944
75994
|
const defaultValue = this.dataDeclarationHelper.getDefaultValue(fullTarget.toLegacyPath());
|
|
75945
75995
|
const precalculationRules = [];
|
|
75946
75996
|
const isTargetAutoField = this.dataDeclarationHelper.isNodeHasAutoFlagEntry(fullTarget.toAbsolute());
|
|
@@ -75979,7 +76029,7 @@ class FormulaRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_6__.
|
|
|
75979
76029
|
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.SetStatement(valueRef, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.ConditionalExpression(combinedCondition, getFormulaExpression("value"), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.NullCoalesceExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.ValueReferenceExpression(fullTarget.toCurrentIteration(), "value"), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.StringLiteralExpression(defaultValue))));
|
|
75980
76030
|
}
|
|
75981
76031
|
adjustPathMultiplicity(path) {
|
|
75982
|
-
return (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_2__.adjustPathMultiplicityComplex)(path, this.
|
|
76032
|
+
return (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_2__.adjustPathMultiplicityComplex)(path, this.dataDeclarationHelper);
|
|
75983
76033
|
}
|
|
75984
76034
|
}
|
|
75985
76035
|
|
|
@@ -76757,15 +76807,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
76757
76807
|
|
|
76758
76808
|
|
|
76759
76809
|
class ValidationRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_10__.BaseRuleBuilder {
|
|
76760
|
-
constructor(dataDeclarationHelper,
|
|
76810
|
+
constructor(dataDeclarationHelper, formulaExprConverter, conditions) {
|
|
76761
76811
|
super();
|
|
76762
76812
|
this.dataDeclarationHelper = void 0;
|
|
76763
|
-
this.formSchemaRng = void 0;
|
|
76764
76813
|
this.conditions = void 0;
|
|
76765
76814
|
this.formulaExprConverter = void 0;
|
|
76766
76815
|
this.conditions = conditions;
|
|
76767
76816
|
this.formulaExprConverter = formulaExprConverter;
|
|
76768
|
-
this.formSchemaRng = formSchemaRng;
|
|
76769
76817
|
this.dataDeclarationHelper = dataDeclarationHelper;
|
|
76770
76818
|
}
|
|
76771
76819
|
buildRulesInternal() {
|
|
@@ -76882,7 +76930,7 @@ class ValidationRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_1
|
|
|
76882
76930
|
return rules;
|
|
76883
76931
|
}
|
|
76884
76932
|
adjustPathMultiplicity(path) {
|
|
76885
|
-
return (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_5__.adjustPathMultiplicityComplex)(path, this.
|
|
76933
|
+
return (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_5__.adjustPathMultiplicityComplex)(path, this.dataDeclarationHelper);
|
|
76886
76934
|
}
|
|
76887
76935
|
}
|
|
76888
76936
|
|
|
@@ -78497,10 +78545,10 @@ class DownloadExcelButtonConverter extends _SugarNodeConverter__WEBPACK_IMPORTED
|
|
|
78497
78545
|
const node = this.getCurrentNodeAs(_DownloadExcelButtonNode__WEBPACK_IMPORTED_MODULE_4__.DownloadExcelButtonNode);
|
|
78498
78546
|
return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node)];
|
|
78499
78547
|
}
|
|
78500
|
-
doBuildDataDeclaration(
|
|
78548
|
+
doBuildDataDeclaration() {
|
|
78501
78549
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
78502
78550
|
}
|
|
78503
|
-
buildChildrenDataDeclaration(
|
|
78551
|
+
buildChildrenDataDeclaration() {
|
|
78504
78552
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
78505
78553
|
}
|
|
78506
78554
|
*doTraverseChildren() {
|
|
@@ -78657,10 +78705,10 @@ class DropDownButtonLoadExcelConverter extends _SugarNodeConverter__WEBPACK_IMPO
|
|
|
78657
78705
|
const node = this.getCurrentNodeAs(_DropDownButtonLoadExcelNode__WEBPACK_IMPORTED_MODULE_6__.DropDownButtonLoadExcelNode);
|
|
78658
78706
|
return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node)];
|
|
78659
78707
|
}
|
|
78660
|
-
doBuildDataDeclaration(
|
|
78708
|
+
doBuildDataDeclaration() {
|
|
78661
78709
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
78662
78710
|
}
|
|
78663
|
-
buildChildrenDataDeclaration(
|
|
78711
|
+
buildChildrenDataDeclaration() {
|
|
78664
78712
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
78665
78713
|
}
|
|
78666
78714
|
*doTraverseChildren() {
|
|
@@ -78849,7 +78897,7 @@ class DropdownButtonConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
|
|
|
78849
78897
|
const node = this.getCurrentNodeAs(_DropdownButtonNode__WEBPACK_IMPORTED_MODULE_5__.DropdownButtonNode);
|
|
78850
78898
|
return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node)];
|
|
78851
78899
|
}
|
|
78852
|
-
doBuildDataDeclaration(
|
|
78900
|
+
doBuildDataDeclaration() {
|
|
78853
78901
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
78854
78902
|
}
|
|
78855
78903
|
buildChildrenDataDeclaration(context) {
|
|
@@ -79003,16 +79051,16 @@ class ExcelPastePanelConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MOD
|
|
|
79003
79051
|
static getAcceptNodeClass() {
|
|
79004
79052
|
return _ExcelPastePanelNode__WEBPACK_IMPORTED_MODULE_3__.ExcelPastePanelNode;
|
|
79005
79053
|
}
|
|
79006
|
-
doBuildDataDeclaration(
|
|
79054
|
+
doBuildDataDeclaration() {
|
|
79007
79055
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
79008
79056
|
}
|
|
79009
|
-
buildChildrenDataDeclaration(
|
|
79057
|
+
buildChildrenDataDeclaration() {
|
|
79010
79058
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
79011
79059
|
}
|
|
79012
79060
|
*doTraverseChildren() {
|
|
79013
79061
|
// no children
|
|
79014
79062
|
}
|
|
79015
|
-
doConvert(
|
|
79063
|
+
doConvert() {
|
|
79016
79064
|
const node = this.getCurrentNodeAs(_ExcelPastePanelNode__WEBPACK_IMPORTED_MODULE_3__.ExcelPastePanelNode);
|
|
79017
79065
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("ExcelPastePanel");
|
|
79018
79066
|
markupBuilder.prop(x => x.templateHref).set(node.templateHref);
|
|
@@ -79092,7 +79140,7 @@ class KebabConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_0__.Su
|
|
|
79092
79140
|
const node = this.getCurrentNodeAs(_KebabNode__WEBPACK_IMPORTED_MODULE_6__.KebabNode);
|
|
79093
79141
|
return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_1__.getNewBindingPathExpression)(node)];
|
|
79094
79142
|
}
|
|
79095
|
-
doBuildDataDeclaration(
|
|
79143
|
+
doBuildDataDeclaration() {
|
|
79096
79144
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_3__.emptyDataDeclarationCollection;
|
|
79097
79145
|
}
|
|
79098
79146
|
buildChildrenDataDeclaration(context) {
|
|
@@ -79912,7 +79960,7 @@ class FillHintConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
|
|
|
79912
79960
|
static getAcceptNodeClass() {
|
|
79913
79961
|
return _FillHintNode__WEBPACK_IMPORTED_MODULE_3__.FillHintNode;
|
|
79914
79962
|
}
|
|
79915
|
-
doBuildDataDeclaration(
|
|
79963
|
+
doBuildDataDeclaration() {
|
|
79916
79964
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
79917
79965
|
}
|
|
79918
79966
|
buildChildrenDataDeclaration(context) {
|
|
@@ -79993,7 +80041,7 @@ class LongConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_0__.Sug
|
|
|
79993
80041
|
static getAcceptNodeClass() {
|
|
79994
80042
|
return _LongNode__WEBPACK_IMPORTED_MODULE_3__.LongNode;
|
|
79995
80043
|
}
|
|
79996
|
-
doBuildDataDeclaration(
|
|
80044
|
+
doBuildDataDeclaration() {
|
|
79997
80045
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
|
|
79998
80046
|
}
|
|
79999
80047
|
buildChildrenDataDeclaration(context) {
|
|
@@ -80074,7 +80122,7 @@ class ShortConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Su
|
|
|
80074
80122
|
static getAcceptNodeClass() {
|
|
80075
80123
|
return _ShortNode__WEBPACK_IMPORTED_MODULE_3__.ShortNode;
|
|
80076
80124
|
}
|
|
80077
|
-
doBuildDataDeclaration(
|
|
80125
|
+
doBuildDataDeclaration() {
|
|
80078
80126
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
80079
80127
|
}
|
|
80080
80128
|
buildChildrenDataDeclaration(context) {
|
|
@@ -80361,7 +80409,7 @@ class IfConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sugar
|
|
|
80361
80409
|
}
|
|
80362
80410
|
return node.condition;
|
|
80363
80411
|
}
|
|
80364
|
-
doBuildDataDeclaration(
|
|
80412
|
+
doBuildDataDeclaration() {
|
|
80365
80413
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
80366
80414
|
}
|
|
80367
80415
|
buildChildrenDataDeclaration(context) {
|
|
@@ -80733,7 +80781,7 @@ class OtherwiseConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2_
|
|
|
80733
80781
|
static getAcceptNodeClass() {
|
|
80734
80782
|
return _OtherwiseNode__WEBPACK_IMPORTED_MODULE_3__.OtherwiseNode;
|
|
80735
80783
|
}
|
|
80736
|
-
doBuildDataDeclaration(
|
|
80784
|
+
doBuildDataDeclaration() {
|
|
80737
80785
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
80738
80786
|
}
|
|
80739
80787
|
buildChildrenDataDeclaration(context) {
|
|
@@ -80840,7 +80888,7 @@ class SwitchConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.S
|
|
|
80840
80888
|
const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_14__.SwitchNode);
|
|
80841
80889
|
return node.cases.flatMap(x => (0,_RequisiteLIst_requisiteList__WEBPACK_IMPORTED_MODULE_6__.getRequisitesFromEvaluableProps)(x.condition));
|
|
80842
80890
|
}
|
|
80843
|
-
doBuildDataDeclaration(
|
|
80891
|
+
doBuildDataDeclaration() {
|
|
80844
80892
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
80845
80893
|
}
|
|
80846
80894
|
buildChildrenDataDeclaration(context) {
|
|
@@ -81130,7 +81178,7 @@ class WhenConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sug
|
|
|
81130
81178
|
static getAcceptNodeClass() {
|
|
81131
81179
|
return _WhenNode__WEBPACK_IMPORTED_MODULE_3__.WhenNode;
|
|
81132
81180
|
}
|
|
81133
|
-
doBuildDataDeclaration(
|
|
81181
|
+
doBuildDataDeclaration() {
|
|
81134
81182
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
81135
81183
|
}
|
|
81136
81184
|
buildChildrenDataDeclaration(context) {
|
|
@@ -81223,10 +81271,10 @@ class AddPageButtonConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODUL
|
|
|
81223
81271
|
*doTraverseChildren() {
|
|
81224
81272
|
// no children
|
|
81225
81273
|
}
|
|
81226
|
-
doBuildDataDeclaration(
|
|
81274
|
+
doBuildDataDeclaration() {
|
|
81227
81275
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
81228
81276
|
}
|
|
81229
|
-
buildChildrenDataDeclaration(
|
|
81277
|
+
buildChildrenDataDeclaration() {
|
|
81230
81278
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
81231
81279
|
}
|
|
81232
81280
|
doConvert(context) {
|
|
@@ -81321,10 +81369,10 @@ class AttachmentFormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
|
|
|
81321
81369
|
const node = this.getCurrentNodeAs(_AttachmentFormNode__WEBPACK_IMPORTED_MODULE_9__.AttachmentFormNode);
|
|
81322
81370
|
yield [node.gfv, (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsolute)(node.path).joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_4__.AttachmentInfoPath)];
|
|
81323
81371
|
}
|
|
81324
|
-
doBuildDataDeclaration(
|
|
81372
|
+
doBuildDataDeclaration() {
|
|
81325
81373
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
81326
81374
|
}
|
|
81327
|
-
buildChildrenDataDeclaration(
|
|
81375
|
+
buildChildrenDataDeclaration() {
|
|
81328
81376
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
81329
81377
|
}
|
|
81330
81378
|
*doTraverseChildren() {
|
|
@@ -81948,16 +81996,16 @@ class CrossConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Su
|
|
|
81948
81996
|
static getAcceptNodeClass() {
|
|
81949
81997
|
return _CrossNode__WEBPACK_IMPORTED_MODULE_3__.CrossNode;
|
|
81950
81998
|
}
|
|
81951
|
-
doBuildDataDeclaration(
|
|
81999
|
+
doBuildDataDeclaration() {
|
|
81952
82000
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
81953
82001
|
}
|
|
81954
|
-
buildChildrenDataDeclaration(
|
|
82002
|
+
buildChildrenDataDeclaration() {
|
|
81955
82003
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
81956
82004
|
}
|
|
81957
82005
|
*doTraverseChildren() {
|
|
81958
82006
|
// no children
|
|
81959
82007
|
}
|
|
81960
|
-
doConvert(
|
|
82008
|
+
doConvert() {
|
|
81961
82009
|
const node = this.getCurrentNodeAs(_CrossNode__WEBPACK_IMPORTED_MODULE_3__.CrossNode);
|
|
81962
82010
|
const crossBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("Cross");
|
|
81963
82011
|
crossBuilder.prop(x => x.text).set(node.text);
|
|
@@ -82025,7 +82073,7 @@ class DefaultContentConverter extends _Content_ContentConverter__WEBPACK_IMPORTE
|
|
|
82025
82073
|
static getAcceptNodeClass() {
|
|
82026
82074
|
return _DefaultContentNode__WEBPACK_IMPORTED_MODULE_2__.DefaultContentNode;
|
|
82027
82075
|
}
|
|
82028
|
-
doBuildDataDeclaration(
|
|
82076
|
+
doBuildDataDeclaration() {
|
|
82029
82077
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
82030
82078
|
}
|
|
82031
82079
|
buildChildrenDataDeclaration(context) {
|
|
@@ -82128,7 +82176,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
82128
82176
|
/* harmony import */ var _Common_KCLangRuntimeUtils__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../../../../../../Common/KCLangRuntimeUtils */ "./Common/KCLangRuntimeUtils.ts");
|
|
82129
82177
|
/* harmony import */ var _ComponentMarkupBuilder_PathHelper__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/PathHelper */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/PathHelper.ts");
|
|
82130
82178
|
/* harmony import */ var _Common_PathConstants__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../../../../../../../Common/PathConstants */ "./Common/PathConstants.ts");
|
|
82131
|
-
/* harmony import */ var
|
|
82179
|
+
/* harmony import */ var _Common_FormMetaInfo__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../../../../../../../Common/FormMetaInfo */ "./Common/FormMetaInfo.ts");
|
|
82180
|
+
/* harmony import */ var _FormNode__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./FormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormNode.ts");
|
|
82181
|
+
|
|
82132
82182
|
|
|
82133
82183
|
|
|
82134
82184
|
|
|
@@ -82154,10 +82204,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
82154
82204
|
|
|
82155
82205
|
class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.SugarNodeConverterBase {
|
|
82156
82206
|
static getAcceptNodeClass() {
|
|
82157
|
-
return
|
|
82207
|
+
return _FormNode__WEBPACK_IMPORTED_MODULE_23__.FormNode;
|
|
82158
82208
|
}
|
|
82159
|
-
doBuildDataDeclaration(
|
|
82160
|
-
const node = this.getCurrentNodeAs(
|
|
82209
|
+
doBuildDataDeclaration() {
|
|
82210
|
+
const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_23__.FormNode);
|
|
82161
82211
|
const rootPath = (0,_getRootPath__WEBPACK_IMPORTED_MODULE_3__.getRootPath)(node);
|
|
82162
82212
|
const entrySections = ["default"];
|
|
82163
82213
|
const optionalSections = this.findOptionalSections(node);
|
|
@@ -82183,12 +82233,22 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
82183
82233
|
});
|
|
82184
82234
|
return result;
|
|
82185
82235
|
}
|
|
82236
|
+
doBuildFormMetaInfo() {
|
|
82237
|
+
var _node$formmetainfo;
|
|
82238
|
+
const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_23__.FormNode);
|
|
82239
|
+
const formMetaInfo = _Common_FormMetaInfo__WEBPACK_IMPORTED_MODULE_22__.emptyFormMetaInfo;
|
|
82240
|
+
if ((_node$formmetainfo = node.formmetainfo) !== null && _node$formmetainfo !== void 0 && _node$formmetainfo.historyWidget) {
|
|
82241
|
+
formMetaInfo.candyWidgetsInfo = {};
|
|
82242
|
+
formMetaInfo.candyWidgetsInfo.historyWidget = node.formmetainfo.historyWidget;
|
|
82243
|
+
}
|
|
82244
|
+
return formMetaInfo;
|
|
82245
|
+
}
|
|
82186
82246
|
buildChildrenDataDeclaration(context) {
|
|
82187
|
-
const node = this.getCurrentNodeAs(
|
|
82247
|
+
const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_23__.FormNode);
|
|
82188
82248
|
return context.processChildrenDataDeclaration(node.pages);
|
|
82189
82249
|
}
|
|
82190
82250
|
*doTraverseChildren() {
|
|
82191
|
-
const node = this.getCurrentNodeAs(
|
|
82251
|
+
const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_23__.FormNode);
|
|
82192
82252
|
yield* node.pages;
|
|
82193
82253
|
if (node.attachmentForms) {
|
|
82194
82254
|
yield* node.attachmentForms;
|
|
@@ -82201,7 +82261,7 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
82201
82261
|
}
|
|
82202
82262
|
}
|
|
82203
82263
|
doConvert(context) {
|
|
82204
|
-
const node = this.getCurrentNodeAs(
|
|
82264
|
+
const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_23__.FormNode);
|
|
82205
82265
|
if (node.simple) {
|
|
82206
82266
|
return this.buildSimpleForm(context, node);
|
|
82207
82267
|
} else if (node.plain) {
|
|
@@ -82680,12 +82740,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
82680
82740
|
/* harmony import */ var _ZeroReportOptions_ZeroReportOptionsNode__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../ZeroReportOptions/ZeroReportOptionsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/ZeroReportOptions/ZeroReportOptionsNode.ts");
|
|
82681
82741
|
/* harmony import */ var _ModalHeader_ModalHeaderNode__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../ModalHeader/ModalHeaderNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/ModalHeader/ModalHeaderNode.ts");
|
|
82682
82742
|
/* harmony import */ var _GlobalModal_GlobalModalsNode__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../GlobalModal/GlobalModalsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/GlobalModal/GlobalModalsNode.ts");
|
|
82683
|
-
/* harmony import */ var
|
|
82684
|
-
/* harmony import */ var
|
|
82743
|
+
/* harmony import */ var _SugarNodes_Nodes_FormMetaInfoNode__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../../SugarNodes/Nodes/FormMetaInfoNode */ "./Generator/src/generators/markupGenerator/SugarNodes/Nodes/FormMetaInfoNode.ts");
|
|
82744
|
+
/* harmony import */ var _Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./Nodes/PanelNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/Nodes/PanelNode.ts");
|
|
82745
|
+
/* harmony import */ var _TypeListNode__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./TypeListNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/TypeListNode.ts");
|
|
82746
|
+
|
|
82685
82747
|
|
|
82686
82748
|
|
|
82749
|
+
var _dec, _dec2, _class, _class2, _descriptor, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _dec49, _dec50, _dec51, _dec52, _class3, _class4, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _descriptor45, _descriptor46, _descriptor47, _descriptor48, _descriptor49, _descriptor50;
|
|
82687
82750
|
|
|
82688
|
-
var _dec, _dec2, _class, _class2, _descriptor, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _dec49, _dec50, _dec51, _class3, _class4, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _descriptor45, _descriptor46, _descriptor47, _descriptor48, _descriptor49;
|
|
82689
82751
|
|
|
82690
82752
|
|
|
82691
82753
|
|
|
@@ -82712,8 +82774,8 @@ let FetchFunctionsReferenceNode = (_dec = (0,_Serializer_SugarSerializer__WEBPAC
|
|
|
82712
82774
|
writable: true,
|
|
82713
82775
|
initializer: null
|
|
82714
82776
|
}), _class2)) || _class);
|
|
82715
|
-
let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("form", `Корневой элемент формы.`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form sync recursive .md$")), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingScopeMixinNode), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("userpicklist", [_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_11__.UserPicklistNode]), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("tour", [_Tour_TourNode__WEBPACK_IMPORTED_MODULE_10__.TourNode]), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("fetchfunctions", [FetchFunctionsReferenceNode]), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("modalIE8", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("m", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("uf", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("forceNavigate", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hideUnitsAdder", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hasRegionalForms", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.UntypedUsage), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("controls"), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("modalheader", [_ModalHeader_ModalHeaderNode__WEBPACK_IMPORTED_MODULE_14__.ModalHeaderNode]),
|
|
82716
|
-
После проверки фокус падает на невалидное поле, если это возможно. Например на input.`),
|
|
82777
|
+
let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("form", `Корневой элемент формы.`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form sync recursive .md$")), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingScopeMixinNode), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("userpicklist", [_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_11__.UserPicklistNode]), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("tour", [_Tour_TourNode__WEBPACK_IMPORTED_MODULE_10__.TourNode]), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("fetchfunctions", [FetchFunctionsReferenceNode]), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("modalIE8", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("m", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("uf", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("forceNavigate", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hideUnitsAdder", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hasRegionalForms", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.UntypedUsage), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("controls"), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("formmetainfo", [_SugarNodes_Nodes_FormMetaInfoNode__WEBPACK_IMPORTED_MODULE_16__.FormMetaInfoNode]), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("modalheader", [_ModalHeader_ModalHeaderNode__WEBPACK_IMPORTED_MODULE_14__.ModalHeaderNode]), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("globalmodals", [_GlobalModal_GlobalModalsNode__WEBPACK_IMPORTED_MODULE_15__.GlobalModalsNode]), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("import", [_SugarNodes_Nodes_ImportNode__WEBPACK_IMPORTED_MODULE_7__.ImportNode]), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("panel", [_Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_17__.PanelNode]), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("zeroreportoptions", [_ZeroReportOptions_ZeroReportOptionsNode__WEBPACK_IMPORTED_MODULE_13__.ZeroReportOptionsNode]), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("page", [_Page_PageNode__WEBPACK_IMPORTED_MODULE_8__.PageNode]), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("attachmentform", [_AttachmentForm_AttachmentFormNode__WEBPACK_IMPORTED_MODULE_9__.AttachmentFormNode]), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("simple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("doNotValidateFormOnStart", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Не запускать валидацию формы на старте по умолчанию. Настройка может быть переопределена, при запуске формы startForm.`), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("schemaValidations", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Валидации из схемы. По умолчанию true. Отключены старым формам.`), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("isReadOnly", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Отобразить форму в режиме чтения - все редактирование будет отключено (включая интерактивные элементы - валидации, фокус, подсветки тултипы и тд)."), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("ieDeprecationWarningEnabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Отображать окно с предупреждением, что некоторые функции в ie не работают, с предложением скачать другие браузеры. Не блокирует взаимодействие."), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("compactActionPanel", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("enableCustomizationButton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Включить кнопку настройки оформления."), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("ieSizeLimitation", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Это флаг включает отображение заглушки для IE, если фуф больше определенного размера.`), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("templates", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Управляет влючение возможность создавать и применять шаблоны keweb-а (кнопка в меню).`), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("plain", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Форма без боковой панели, которая будет содержать один раздел.`), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("requisite", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Есть подозрение что это свойство не используется.`), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, ``), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("cssWidth", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Более преоритетный чем обычный width, задается как css.`), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("buttonSettingsType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.enum(_Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_12__.ButtonSettingsTypeEnum.Revise, _Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_12__.ButtonSettingsTypeEnum.DigitalWarrant), `Разные настройки кнопок отправить и действий с формой. Сейчас есть только ${_Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_12__.ButtonSettingsTypeEnum.Revise} / ${_Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_12__.ButtonSettingsTypeEnum.DigitalWarrant} который будет делать кнопки в плашке для simple form как у ИОН или Сверке ФСС.`), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("isEnableTemplates", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Включить отображение кнопки шаблонов.`), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("validationBeforeSend", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Локальная проверка, которая не даст отправить форму, если есть невалидные поля.\n
|
|
82778
|
+
После проверки фокус падает на невалидное поле, если это возможно. Например на input.`), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("padding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.lengthUnit, ``), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("maxunitscount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `По дефолту 15. Если количество разделов превышает \`maxunitscount\`, начинает работать частичный рендеринг. Отрисовывается столько разделов вниз от текущего, сколько задано в настройке, а при скроллинге вниз рендерятся следующие. Используется для больших форм с множественными разделами (напр, ЕНВД, Прибыль), помогает облегчить загрузку редактора.`), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("onExternalInitSection", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.helperFunctionName, `Выполнение хелпер функции при вызове keweb-ого лайтбокса от внешних ребят. Когда редактор открывается из Контур Бухагалтерии или ТО. Чтобы вызвать - надо в query params передать initSectionLightbox="Path" где Path - путь до раздела.`), _dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("unitscount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, ``), _dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("transferText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.localizedString, `Текст в лайтбоксе, который появляется по кнопке "Перенести данные".`), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("navigationLimit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Количество множественных разделов при котором навигация сворачивается (в левой колонке отображаются не все экземпляры), как выглядит можешь посмотреть в ЕНВД при количестве разделов 2 больше 15.`), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("uploadFufButtonEnabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Включает кнопку загрузить отчет в "Другие действия" в панели слева.`), _dec46 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.markupAttr)("fufSizeTooLargeErrorText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Описание ошибки для большого размера файла.`), _dec47 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("uploadFufLightboxHideDemandNameButton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Отключает кнопку "Показать имя требования" внутри лайтбокса "Загрузки файла".`), _dec48 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("uploadFufLightboxTitle", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Заголовок лайтбокса "Загрузки файла".`), _dec49 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("uploadFufLightboxAlert", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Текст для блока с дополнительной информацией.`), _dec50 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("defaultUnitsCountForPaging", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Количество инстансов множественного раздела на котором включается паджинация раздела.`), _dec51 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("type", [_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_3__.TypeNode]), _dec52 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("types", [_TypeListNode__WEBPACK_IMPORTED_MODULE_18__.TypeListNode]), _dec3(_class3 = (_class4 = class FormNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.SugarNodeBase {
|
|
82717
82779
|
constructor(...args) {
|
|
82718
82780
|
super(...args);
|
|
82719
82781
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor2, this);
|
|
@@ -82727,43 +82789,44 @@ let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
|
|
|
82727
82789
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "hideUnitsAdder", _descriptor10, this);
|
|
82728
82790
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "hasRegionalForms", _descriptor11, this);
|
|
82729
82791
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "controls", _descriptor12, this);
|
|
82730
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82731
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82732
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82733
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82734
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82735
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82736
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82737
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82738
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82739
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82740
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82741
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82742
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82743
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82744
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82745
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82746
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82747
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82748
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82749
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82750
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82751
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82752
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82753
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82754
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82755
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82756
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82757
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82758
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82759
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82760
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82761
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82762
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82763
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82764
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82765
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82766
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82792
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "formmetainfo", _descriptor13, this);
|
|
82793
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "modalheader", _descriptor14, this);
|
|
82794
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "globalmodals", _descriptor15, this);
|
|
82795
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "imports", _descriptor16, this);
|
|
82796
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "panel", _descriptor17, this);
|
|
82797
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "zeroreportoptions", _descriptor18, this);
|
|
82798
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pages", _descriptor19, this);
|
|
82799
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "attachmentForms", _descriptor20, this);
|
|
82800
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "simple", _descriptor21, this);
|
|
82801
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "doNotValidateFormOnStart", _descriptor22, this);
|
|
82802
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "schemaValidations", _descriptor23, this);
|
|
82803
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "isReadOnly", _descriptor24, this);
|
|
82804
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "ieDeprecationWarningEnabled", _descriptor25, this);
|
|
82805
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "compactActionPanel", _descriptor26, this);
|
|
82806
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "enableCustomizationButton", _descriptor27, this);
|
|
82807
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "ieSizeLimitation", _descriptor28, this);
|
|
82808
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "templates", _descriptor29, this);
|
|
82809
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "plain", _descriptor30, this);
|
|
82810
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "requisite", _descriptor31, this);
|
|
82811
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor32, this);
|
|
82812
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "cssWidth", _descriptor33, this);
|
|
82813
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "buttonSettingsType", _descriptor34, this);
|
|
82814
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "isEnableTemplates", _descriptor35, this);
|
|
82815
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "validationBeforeSend", _descriptor36, this);
|
|
82816
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "padding", _descriptor37, this);
|
|
82817
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "maxUnitsCount", _descriptor38, this);
|
|
82818
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onExternalInitSection", _descriptor39, this);
|
|
82819
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "unitsCount", _descriptor40, this);
|
|
82820
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "transferText", _descriptor41, this);
|
|
82821
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationLimit", _descriptor42, this);
|
|
82822
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadFufButtonEnabled", _descriptor43, this);
|
|
82823
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "fufSizeTooLargeErrorText", _descriptor44, this);
|
|
82824
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadFufLightboxHideDemandNameButton", _descriptor45, this);
|
|
82825
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadFufLightboxTitle", _descriptor46, this);
|
|
82826
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadFufLightboxAlert", _descriptor47, this);
|
|
82827
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "defaultUnitsCountForPaging", _descriptor48, this);
|
|
82828
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "types", _descriptor49, this);
|
|
82829
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "typeLists", _descriptor50, this);
|
|
82767
82830
|
}
|
|
82768
82831
|
getOwnPath() {
|
|
82769
82832
|
return this.dataScope.getOwnPath();
|
|
@@ -82829,187 +82892,192 @@ let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
|
|
|
82829
82892
|
enumerable: true,
|
|
82830
82893
|
writable: true,
|
|
82831
82894
|
initializer: null
|
|
82832
|
-
}), _descriptor13 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
82895
|
+
}), _descriptor13 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "formmetainfo", [_dec15], {
|
|
82833
82896
|
configurable: true,
|
|
82834
82897
|
enumerable: true,
|
|
82835
82898
|
writable: true,
|
|
82836
82899
|
initializer: null
|
|
82837
|
-
}), _descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
82900
|
+
}), _descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "modalheader", [_dec16], {
|
|
82838
82901
|
configurable: true,
|
|
82839
82902
|
enumerable: true,
|
|
82840
82903
|
writable: true,
|
|
82841
82904
|
initializer: null
|
|
82842
|
-
}), _descriptor15 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
82905
|
+
}), _descriptor15 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "globalmodals", [_dec17], {
|
|
82843
82906
|
configurable: true,
|
|
82844
82907
|
enumerable: true,
|
|
82845
82908
|
writable: true,
|
|
82846
82909
|
initializer: null
|
|
82847
|
-
}), _descriptor16 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
82910
|
+
}), _descriptor16 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "imports", [_dec18], {
|
|
82848
82911
|
configurable: true,
|
|
82849
82912
|
enumerable: true,
|
|
82850
82913
|
writable: true,
|
|
82851
82914
|
initializer: null
|
|
82852
|
-
}), _descriptor17 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
82915
|
+
}), _descriptor17 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "panel", [_dec19], {
|
|
82853
82916
|
configurable: true,
|
|
82854
82917
|
enumerable: true,
|
|
82855
82918
|
writable: true,
|
|
82856
82919
|
initializer: null
|
|
82857
|
-
}), _descriptor18 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
82920
|
+
}), _descriptor18 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "zeroreportoptions", [_dec20], {
|
|
82858
82921
|
configurable: true,
|
|
82859
82922
|
enumerable: true,
|
|
82860
82923
|
writable: true,
|
|
82861
82924
|
initializer: null
|
|
82862
|
-
}), _descriptor19 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
82925
|
+
}), _descriptor19 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "pages", [_dec21], {
|
|
82863
82926
|
configurable: true,
|
|
82864
82927
|
enumerable: true,
|
|
82865
82928
|
writable: true,
|
|
82866
82929
|
initializer: null
|
|
82867
|
-
}), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
82930
|
+
}), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "attachmentForms", [_dec22], {
|
|
82868
82931
|
configurable: true,
|
|
82869
82932
|
enumerable: true,
|
|
82870
82933
|
writable: true,
|
|
82871
82934
|
initializer: null
|
|
82872
|
-
}), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
82935
|
+
}), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "simple", [_dec23], {
|
|
82873
82936
|
configurable: true,
|
|
82874
82937
|
enumerable: true,
|
|
82875
82938
|
writable: true,
|
|
82876
82939
|
initializer: null
|
|
82877
|
-
}), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
82940
|
+
}), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "doNotValidateFormOnStart", [_dec24], {
|
|
82878
82941
|
configurable: true,
|
|
82879
82942
|
enumerable: true,
|
|
82880
82943
|
writable: true,
|
|
82881
82944
|
initializer: null
|
|
82882
|
-
}), _descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
82945
|
+
}), _descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "schemaValidations", [_dec25], {
|
|
82883
82946
|
configurable: true,
|
|
82884
82947
|
enumerable: true,
|
|
82885
82948
|
writable: true,
|
|
82886
82949
|
initializer: null
|
|
82887
|
-
}), _descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
82950
|
+
}), _descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "isReadOnly", [_dec26], {
|
|
82888
82951
|
configurable: true,
|
|
82889
82952
|
enumerable: true,
|
|
82890
82953
|
writable: true,
|
|
82891
82954
|
initializer: null
|
|
82892
|
-
}), _descriptor25 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
82955
|
+
}), _descriptor25 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "ieDeprecationWarningEnabled", [_dec27], {
|
|
82893
82956
|
configurable: true,
|
|
82894
82957
|
enumerable: true,
|
|
82895
82958
|
writable: true,
|
|
82896
82959
|
initializer: null
|
|
82897
|
-
}), _descriptor26 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
82960
|
+
}), _descriptor26 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "compactActionPanel", [_dec28], {
|
|
82898
82961
|
configurable: true,
|
|
82899
82962
|
enumerable: true,
|
|
82900
82963
|
writable: true,
|
|
82901
82964
|
initializer: null
|
|
82902
|
-
}), _descriptor27 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
82965
|
+
}), _descriptor27 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "enableCustomizationButton", [_dec29], {
|
|
82903
82966
|
configurable: true,
|
|
82904
82967
|
enumerable: true,
|
|
82905
82968
|
writable: true,
|
|
82906
82969
|
initializer: null
|
|
82907
|
-
}), _descriptor28 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
82970
|
+
}), _descriptor28 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "ieSizeLimitation", [_dec30], {
|
|
82908
82971
|
configurable: true,
|
|
82909
82972
|
enumerable: true,
|
|
82910
82973
|
writable: true,
|
|
82911
82974
|
initializer: null
|
|
82912
|
-
}), _descriptor29 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
82975
|
+
}), _descriptor29 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "templates", [_dec31], {
|
|
82913
82976
|
configurable: true,
|
|
82914
82977
|
enumerable: true,
|
|
82915
82978
|
writable: true,
|
|
82916
82979
|
initializer: null
|
|
82917
|
-
}), _descriptor30 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
82980
|
+
}), _descriptor30 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "plain", [_dec32], {
|
|
82918
82981
|
configurable: true,
|
|
82919
82982
|
enumerable: true,
|
|
82920
82983
|
writable: true,
|
|
82921
82984
|
initializer: null
|
|
82922
|
-
}), _descriptor31 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
82985
|
+
}), _descriptor31 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "requisite", [_dec33], {
|
|
82923
82986
|
configurable: true,
|
|
82924
82987
|
enumerable: true,
|
|
82925
82988
|
writable: true,
|
|
82926
82989
|
initializer: null
|
|
82927
|
-
}), _descriptor32 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
82990
|
+
}), _descriptor32 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "width", [_dec34], {
|
|
82928
82991
|
configurable: true,
|
|
82929
82992
|
enumerable: true,
|
|
82930
82993
|
writable: true,
|
|
82931
82994
|
initializer: null
|
|
82932
|
-
}), _descriptor33 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
82995
|
+
}), _descriptor33 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "cssWidth", [_dec35], {
|
|
82933
82996
|
configurable: true,
|
|
82934
82997
|
enumerable: true,
|
|
82935
82998
|
writable: true,
|
|
82936
82999
|
initializer: null
|
|
82937
|
-
}), _descriptor34 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
83000
|
+
}), _descriptor34 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "buttonSettingsType", [_dec36], {
|
|
82938
83001
|
configurable: true,
|
|
82939
83002
|
enumerable: true,
|
|
82940
83003
|
writable: true,
|
|
82941
83004
|
initializer: null
|
|
82942
|
-
}), _descriptor35 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
83005
|
+
}), _descriptor35 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "isEnableTemplates", [_dec37], {
|
|
82943
83006
|
configurable: true,
|
|
82944
83007
|
enumerable: true,
|
|
82945
83008
|
writable: true,
|
|
82946
83009
|
initializer: null
|
|
82947
|
-
}), _descriptor36 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
83010
|
+
}), _descriptor36 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "validationBeforeSend", [_dec38], {
|
|
82948
83011
|
configurable: true,
|
|
82949
83012
|
enumerable: true,
|
|
82950
83013
|
writable: true,
|
|
82951
83014
|
initializer: null
|
|
82952
|
-
}), _descriptor37 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
83015
|
+
}), _descriptor37 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "padding", [_dec39], {
|
|
82953
83016
|
configurable: true,
|
|
82954
83017
|
enumerable: true,
|
|
82955
83018
|
writable: true,
|
|
82956
83019
|
initializer: null
|
|
82957
|
-
}), _descriptor38 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
83020
|
+
}), _descriptor38 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "maxUnitsCount", [_dec40], {
|
|
82958
83021
|
configurable: true,
|
|
82959
83022
|
enumerable: true,
|
|
82960
83023
|
writable: true,
|
|
82961
83024
|
initializer: null
|
|
82962
|
-
}), _descriptor39 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
83025
|
+
}), _descriptor39 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "onExternalInitSection", [_dec41], {
|
|
82963
83026
|
configurable: true,
|
|
82964
83027
|
enumerable: true,
|
|
82965
83028
|
writable: true,
|
|
82966
83029
|
initializer: null
|
|
82967
|
-
}), _descriptor40 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
83030
|
+
}), _descriptor40 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "unitsCount", [_dec42], {
|
|
82968
83031
|
configurable: true,
|
|
82969
83032
|
enumerable: true,
|
|
82970
83033
|
writable: true,
|
|
82971
83034
|
initializer: null
|
|
82972
|
-
}), _descriptor41 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
83035
|
+
}), _descriptor41 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "transferText", [_dec43], {
|
|
82973
83036
|
configurable: true,
|
|
82974
83037
|
enumerable: true,
|
|
82975
83038
|
writable: true,
|
|
82976
83039
|
initializer: null
|
|
82977
|
-
}), _descriptor42 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
83040
|
+
}), _descriptor42 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "navigationLimit", [_dec44], {
|
|
82978
83041
|
configurable: true,
|
|
82979
83042
|
enumerable: true,
|
|
82980
83043
|
writable: true,
|
|
82981
83044
|
initializer: null
|
|
82982
|
-
}), _descriptor43 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
83045
|
+
}), _descriptor43 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "uploadFufButtonEnabled", [_dec45], {
|
|
82983
83046
|
configurable: true,
|
|
82984
83047
|
enumerable: true,
|
|
82985
83048
|
writable: true,
|
|
82986
83049
|
initializer: null
|
|
82987
|
-
}), _descriptor44 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
83050
|
+
}), _descriptor44 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "fufSizeTooLargeErrorText", [_dec46], {
|
|
82988
83051
|
configurable: true,
|
|
82989
83052
|
enumerable: true,
|
|
82990
83053
|
writable: true,
|
|
82991
83054
|
initializer: null
|
|
82992
|
-
}), _descriptor45 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
83055
|
+
}), _descriptor45 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "uploadFufLightboxHideDemandNameButton", [_dec47], {
|
|
82993
83056
|
configurable: true,
|
|
82994
83057
|
enumerable: true,
|
|
82995
83058
|
writable: true,
|
|
82996
83059
|
initializer: null
|
|
82997
|
-
}), _descriptor46 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
83060
|
+
}), _descriptor46 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "uploadFufLightboxTitle", [_dec48], {
|
|
82998
83061
|
configurable: true,
|
|
82999
83062
|
enumerable: true,
|
|
83000
83063
|
writable: true,
|
|
83001
83064
|
initializer: null
|
|
83002
|
-
}), _descriptor47 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
83065
|
+
}), _descriptor47 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "uploadFufLightboxAlert", [_dec49], {
|
|
83003
83066
|
configurable: true,
|
|
83004
83067
|
enumerable: true,
|
|
83005
83068
|
writable: true,
|
|
83006
83069
|
initializer: null
|
|
83007
|
-
}), _descriptor48 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
83070
|
+
}), _descriptor48 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "defaultUnitsCountForPaging", [_dec50], {
|
|
83008
83071
|
configurable: true,
|
|
83009
83072
|
enumerable: true,
|
|
83010
83073
|
writable: true,
|
|
83011
83074
|
initializer: null
|
|
83012
|
-
}), _descriptor49 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
83075
|
+
}), _descriptor49 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "types", [_dec51], {
|
|
83076
|
+
configurable: true,
|
|
83077
|
+
enumerable: true,
|
|
83078
|
+
writable: true,
|
|
83079
|
+
initializer: null
|
|
83080
|
+
}), _descriptor50 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "typeLists", [_dec52], {
|
|
83013
83081
|
configurable: true,
|
|
83014
83082
|
enumerable: true,
|
|
83015
83083
|
writable: true,
|
|
@@ -83199,16 +83267,16 @@ class FormInfoConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__
|
|
|
83199
83267
|
static getAcceptNodeClass() {
|
|
83200
83268
|
return _FormInfoNode__WEBPACK_IMPORTED_MODULE_3__.FormInfoNode;
|
|
83201
83269
|
}
|
|
83202
|
-
doBuildDataDeclaration(
|
|
83270
|
+
doBuildDataDeclaration() {
|
|
83203
83271
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
83204
83272
|
}
|
|
83205
|
-
buildChildrenDataDeclaration(
|
|
83273
|
+
buildChildrenDataDeclaration() {
|
|
83206
83274
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
83207
83275
|
}
|
|
83208
83276
|
*doTraverseChildren() {
|
|
83209
83277
|
// no children
|
|
83210
83278
|
}
|
|
83211
|
-
doConvert(
|
|
83279
|
+
doConvert() {
|
|
83212
83280
|
const node = this.getCurrentNodeAs(_FormInfoNode__WEBPACK_IMPORTED_MODULE_3__.FormInfoNode);
|
|
83213
83281
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("FormInfo");
|
|
83214
83282
|
markupBuilder.prop(x => x.name).set(node.name);
|
|
@@ -83278,10 +83346,10 @@ class GlobalModalsConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
|
|
|
83278
83346
|
static getAcceptNodeClass() {
|
|
83279
83347
|
return _GlobalModalsNode__WEBPACK_IMPORTED_MODULE_3__.GlobalModalsNode;
|
|
83280
83348
|
}
|
|
83281
|
-
doBuildDataDeclaration(
|
|
83349
|
+
doBuildDataDeclaration() {
|
|
83282
83350
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
83283
83351
|
}
|
|
83284
|
-
buildChildrenDataDeclaration(
|
|
83352
|
+
buildChildrenDataDeclaration() {
|
|
83285
83353
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
83286
83354
|
}
|
|
83287
83355
|
*doTraverseChildren() {
|
|
@@ -83453,10 +83521,10 @@ class ModalHeaderConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_
|
|
|
83453
83521
|
static getAcceptNodeClass() {
|
|
83454
83522
|
return _ModalHeaderNode__WEBPACK_IMPORTED_MODULE_3__.ModalHeaderNode;
|
|
83455
83523
|
}
|
|
83456
|
-
doBuildDataDeclaration(
|
|
83524
|
+
doBuildDataDeclaration() {
|
|
83457
83525
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
83458
83526
|
}
|
|
83459
|
-
buildChildrenDataDeclaration(
|
|
83527
|
+
buildChildrenDataDeclaration() {
|
|
83460
83528
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
83461
83529
|
}
|
|
83462
83530
|
*doTraverseChildren() {
|
|
@@ -84032,10 +84100,10 @@ class TourConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_6__.Sug
|
|
|
84032
84100
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("Tour");
|
|
84033
84101
|
return markupBuilder.buildConverterResult();
|
|
84034
84102
|
}
|
|
84035
|
-
doBuildDataDeclaration(
|
|
84103
|
+
doBuildDataDeclaration() {
|
|
84036
84104
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__.emptyDataDeclarationCollection;
|
|
84037
84105
|
}
|
|
84038
|
-
buildChildrenDataDeclaration(
|
|
84106
|
+
buildChildrenDataDeclaration() {
|
|
84039
84107
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__.emptyDataDeclarationCollection;
|
|
84040
84108
|
}
|
|
84041
84109
|
*doTraverseChildren() {
|
|
@@ -84235,10 +84303,10 @@ class UnitItemConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
|
|
|
84235
84303
|
static getAcceptNodeClass() {
|
|
84236
84304
|
return _UnitItemNode__WEBPACK_IMPORTED_MODULE_5__.UnitItemNode;
|
|
84237
84305
|
}
|
|
84238
|
-
doBuildDataDeclaration(
|
|
84306
|
+
doBuildDataDeclaration() {
|
|
84239
84307
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
84240
84308
|
}
|
|
84241
|
-
buildChildrenDataDeclaration(
|
|
84309
|
+
buildChildrenDataDeclaration() {
|
|
84242
84310
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
84243
84311
|
}
|
|
84244
84312
|
*doTraverseChildren() {
|
|
@@ -84373,10 +84441,10 @@ class UnitListConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
|
|
|
84373
84441
|
static getAcceptNodeClass() {
|
|
84374
84442
|
return _UnitListNode__WEBPACK_IMPORTED_MODULE_3__.UnitListNode;
|
|
84375
84443
|
}
|
|
84376
|
-
doBuildDataDeclaration(
|
|
84444
|
+
doBuildDataDeclaration() {
|
|
84377
84445
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
84378
84446
|
}
|
|
84379
|
-
buildChildrenDataDeclaration(
|
|
84447
|
+
buildChildrenDataDeclaration() {
|
|
84380
84448
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
84381
84449
|
}
|
|
84382
84450
|
*doTraverseChildren() {
|
|
@@ -84497,13 +84565,13 @@ class UserPicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
|
|
|
84497
84565
|
applyVisibilityPathProcessing() {
|
|
84498
84566
|
return false;
|
|
84499
84567
|
}
|
|
84500
|
-
*doBuildNormalizeRules(
|
|
84568
|
+
*doBuildNormalizeRules() {
|
|
84501
84569
|
// no rules
|
|
84502
84570
|
}
|
|
84503
|
-
doBuildDataDeclaration(
|
|
84571
|
+
doBuildDataDeclaration() {
|
|
84504
84572
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__.emptyDataDeclarationCollection;
|
|
84505
84573
|
}
|
|
84506
|
-
buildChildrenDataDeclaration(
|
|
84574
|
+
buildChildrenDataDeclaration() {
|
|
84507
84575
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__.emptyDataDeclarationCollection;
|
|
84508
84576
|
}
|
|
84509
84577
|
*doTraverseChildren() {
|
|
@@ -85014,7 +85082,7 @@ class HelpInfoConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
|
|
|
85014
85082
|
yield node.children[0];
|
|
85015
85083
|
}
|
|
85016
85084
|
}
|
|
85017
|
-
doConvert(
|
|
85085
|
+
doConvert() {
|
|
85018
85086
|
var _node$content, _node$header, _node$positions;
|
|
85019
85087
|
const node = this.getCurrentNodeAs(_HelpInfoNode__WEBPACK_IMPORTED_MODULE_5__.HelpInfoNode);
|
|
85020
85088
|
const mb = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("HelpInfo");
|
|
@@ -85146,16 +85214,16 @@ class NormativeHelpConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODUL
|
|
|
85146
85214
|
static getAcceptNodeClass() {
|
|
85147
85215
|
return _NormativeHelpNode__WEBPACK_IMPORTED_MODULE_3__.NormativeHelpNode;
|
|
85148
85216
|
}
|
|
85149
|
-
doBuildDataDeclaration(
|
|
85217
|
+
doBuildDataDeclaration() {
|
|
85150
85218
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
85151
85219
|
}
|
|
85152
|
-
buildChildrenDataDeclaration(
|
|
85220
|
+
buildChildrenDataDeclaration() {
|
|
85153
85221
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
85154
85222
|
}
|
|
85155
85223
|
*doTraverseChildren() {
|
|
85156
85224
|
// no children
|
|
85157
85225
|
}
|
|
85158
|
-
doConvert(
|
|
85226
|
+
doConvert() {
|
|
85159
85227
|
const node = this.getCurrentNodeAs(_NormativeHelpNode__WEBPACK_IMPORTED_MODULE_3__.NormativeHelpNode);
|
|
85160
85228
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("NormativeHelp");
|
|
85161
85229
|
markupBuilder.prop(x => x.helpUrl).set(this.getNormativeUrl(node));
|
|
@@ -85383,16 +85451,16 @@ class BrConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sugar
|
|
|
85383
85451
|
static getAcceptNodeClass() {
|
|
85384
85452
|
return _BrNode__WEBPACK_IMPORTED_MODULE_3__.BrNode;
|
|
85385
85453
|
}
|
|
85386
|
-
doBuildDataDeclaration(
|
|
85454
|
+
doBuildDataDeclaration() {
|
|
85387
85455
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
85388
85456
|
}
|
|
85389
|
-
buildChildrenDataDeclaration(
|
|
85457
|
+
buildChildrenDataDeclaration() {
|
|
85390
85458
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
85391
85459
|
}
|
|
85392
85460
|
*doTraverseChildren() {
|
|
85393
85461
|
// no children
|
|
85394
85462
|
}
|
|
85395
|
-
doConvert(
|
|
85463
|
+
doConvert() {
|
|
85396
85464
|
this.getCurrentNodeAs(_BrNode__WEBPACK_IMPORTED_MODULE_3__.BrNode);
|
|
85397
85465
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("Br");
|
|
85398
85466
|
return markupBuilder.buildConverterResult();
|
|
@@ -86474,13 +86542,13 @@ class HrConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sugar
|
|
|
86474
86542
|
const node = this.getCurrentNodeAs(_HrNode__WEBPACK_IMPORTED_MODULE_3__.HrNode);
|
|
86475
86543
|
return context.addVisibilityPathDeclEntryNew(node);
|
|
86476
86544
|
}
|
|
86477
|
-
buildChildrenDataDeclaration(
|
|
86545
|
+
buildChildrenDataDeclaration() {
|
|
86478
86546
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
86479
86547
|
}
|
|
86480
86548
|
*doTraverseChildren() {
|
|
86481
86549
|
// no children
|
|
86482
86550
|
}
|
|
86483
|
-
doConvert(
|
|
86551
|
+
doConvert() {
|
|
86484
86552
|
const node = this.getCurrentNodeAs(_HrNode__WEBPACK_IMPORTED_MODULE_3__.HrNode);
|
|
86485
86553
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("Hr");
|
|
86486
86554
|
markupBuilder.prop(x => x.width).set(node.width);
|
|
@@ -86590,7 +86658,7 @@ class ImgConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_6__.Suga
|
|
|
86590
86658
|
const node = this.getCurrentNodeAs(_ImgNode__WEBPACK_IMPORTED_MODULE_8__.ImgNode);
|
|
86591
86659
|
return context.addVisibilityPathDeclEntryNew(node);
|
|
86592
86660
|
}
|
|
86593
|
-
buildChildrenDataDeclaration(
|
|
86661
|
+
buildChildrenDataDeclaration() {
|
|
86594
86662
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_4__.emptyDataDeclarationCollection;
|
|
86595
86663
|
}
|
|
86596
86664
|
*doTraverseChildren() {
|
|
@@ -86695,16 +86763,16 @@ class InnertextConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2_
|
|
|
86695
86763
|
static getAcceptNodeClass() {
|
|
86696
86764
|
return _InnertextNode__WEBPACK_IMPORTED_MODULE_3__.InnertextNode;
|
|
86697
86765
|
}
|
|
86698
|
-
doBuildDataDeclaration(
|
|
86766
|
+
doBuildDataDeclaration() {
|
|
86699
86767
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
86700
86768
|
}
|
|
86701
|
-
buildChildrenDataDeclaration(
|
|
86769
|
+
buildChildrenDataDeclaration() {
|
|
86702
86770
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
86703
86771
|
}
|
|
86704
86772
|
*doTraverseChildren() {
|
|
86705
86773
|
// no children
|
|
86706
86774
|
}
|
|
86707
|
-
doConvert(
|
|
86775
|
+
doConvert() {
|
|
86708
86776
|
const node = this.getCurrentNodeAs(_InnertextNode__WEBPACK_IMPORTED_MODULE_3__.InnertextNode);
|
|
86709
86777
|
if (node.innertext == undefined) {
|
|
86710
86778
|
return new _ConverterResults_ConverterResult__WEBPACK_IMPORTED_MODULE_1__.ConverterResult(``);
|
|
@@ -87366,7 +87434,7 @@ class PencilConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.S
|
|
|
87366
87434
|
applyVisibilityPathProcessing() {
|
|
87367
87435
|
return false;
|
|
87368
87436
|
}
|
|
87369
|
-
doBuildDataDeclaration(
|
|
87437
|
+
doBuildDataDeclaration() {
|
|
87370
87438
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
87371
87439
|
}
|
|
87372
87440
|
buildChildrenDataDeclaration(context) {
|
|
@@ -88379,7 +88447,7 @@ class BodyConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sug
|
|
|
88379
88447
|
static getAcceptNodeClass() {
|
|
88380
88448
|
return _BodyNode__WEBPACK_IMPORTED_MODULE_3__.BodyNode;
|
|
88381
88449
|
}
|
|
88382
|
-
doBuildDataDeclaration(
|
|
88450
|
+
doBuildDataDeclaration() {
|
|
88383
88451
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
88384
88452
|
}
|
|
88385
88453
|
buildChildrenDataDeclaration(context) {
|
|
@@ -88471,7 +88539,7 @@ class FooterConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.S
|
|
|
88471
88539
|
static getAcceptNodeClass() {
|
|
88472
88540
|
return _FooterNode__WEBPACK_IMPORTED_MODULE_3__.FooterNode;
|
|
88473
88541
|
}
|
|
88474
|
-
doBuildDataDeclaration(
|
|
88542
|
+
doBuildDataDeclaration() {
|
|
88475
88543
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
88476
88544
|
}
|
|
88477
88545
|
buildChildrenDataDeclaration(context) {
|
|
@@ -88720,7 +88788,7 @@ class ModalFormCancelConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MOD
|
|
|
88720
88788
|
applyVisibilityPathProcessing() {
|
|
88721
88789
|
return false;
|
|
88722
88790
|
}
|
|
88723
|
-
doBuildDataDeclaration(
|
|
88791
|
+
doBuildDataDeclaration() {
|
|
88724
88792
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
88725
88793
|
}
|
|
88726
88794
|
buildChildrenDataDeclaration(context) {
|
|
@@ -88806,7 +88874,7 @@ class ModalFormConfirmConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MO
|
|
|
88806
88874
|
applyVisibilityPathProcessing() {
|
|
88807
88875
|
return false;
|
|
88808
88876
|
}
|
|
88809
|
-
doBuildDataDeclaration(
|
|
88877
|
+
doBuildDataDeclaration() {
|
|
88810
88878
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
88811
88879
|
}
|
|
88812
88880
|
buildChildrenDataDeclaration(context) {
|
|
@@ -89069,7 +89137,7 @@ class AddRowButtonConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
|
|
|
89069
89137
|
}
|
|
89070
89138
|
return pathDeclarations.length > 0 ? context.mergeDataDeclaration(...pathDeclarations) : _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
|
|
89071
89139
|
}
|
|
89072
|
-
buildChildrenDataDeclaration(
|
|
89140
|
+
buildChildrenDataDeclaration() {
|
|
89073
89141
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
|
|
89074
89142
|
}
|
|
89075
89143
|
*doTraverseChildren() {
|
|
@@ -89232,7 +89300,7 @@ class ColgroupButtonConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
|
|
|
89232
89300
|
static getAcceptNodeClass() {
|
|
89233
89301
|
return _ColgroupButtonNode__WEBPACK_IMPORTED_MODULE_4__.ColgroupButtonNode;
|
|
89234
89302
|
}
|
|
89235
|
-
doBuildDataDeclaration(
|
|
89303
|
+
doBuildDataDeclaration() {
|
|
89236
89304
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
89237
89305
|
}
|
|
89238
89306
|
buildChildrenDataDeclaration(context) {
|
|
@@ -90589,16 +90657,16 @@ class FilterDateRangeConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MOD
|
|
|
90589
90657
|
static getAcceptNodeClass() {
|
|
90590
90658
|
return _FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_4__.FilterDateRangeNode;
|
|
90591
90659
|
}
|
|
90592
|
-
doBuildDataDeclaration(
|
|
90660
|
+
doBuildDataDeclaration() {
|
|
90593
90661
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
90594
90662
|
}
|
|
90595
|
-
buildChildrenDataDeclaration(
|
|
90663
|
+
buildChildrenDataDeclaration() {
|
|
90596
90664
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
90597
90665
|
}
|
|
90598
90666
|
*doTraverseChildren() {
|
|
90599
90667
|
// no children
|
|
90600
90668
|
}
|
|
90601
|
-
doConvert(
|
|
90669
|
+
doConvert() {
|
|
90602
90670
|
const node = this.getCurrentNodeAs(_FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_4__.FilterDateRangeNode);
|
|
90603
90671
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("FilterDateRange");
|
|
90604
90672
|
markupBuilder.prop(x => x.dataPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_1__.getNewBindingPathExpression)(node, node.dataPath));
|
|
@@ -90678,16 +90746,16 @@ class FilterInputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_
|
|
|
90678
90746
|
static getAcceptNodeClass() {
|
|
90679
90747
|
return _FilterInputNode__WEBPACK_IMPORTED_MODULE_4__.FilterInputNode;
|
|
90680
90748
|
}
|
|
90681
|
-
doBuildDataDeclaration(
|
|
90749
|
+
doBuildDataDeclaration() {
|
|
90682
90750
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
90683
90751
|
}
|
|
90684
|
-
buildChildrenDataDeclaration(
|
|
90752
|
+
buildChildrenDataDeclaration() {
|
|
90685
90753
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
90686
90754
|
}
|
|
90687
90755
|
*doTraverseChildren() {
|
|
90688
90756
|
// no children
|
|
90689
90757
|
}
|
|
90690
|
-
doConvert(
|
|
90758
|
+
doConvert() {
|
|
90691
90759
|
const node = this.getCurrentNodeAs(_FilterInputNode__WEBPACK_IMPORTED_MODULE_4__.FilterInputNode);
|
|
90692
90760
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("FilterInput");
|
|
90693
90761
|
if (node.multilinePath != undefined) {
|
|
@@ -90825,16 +90893,16 @@ class FilterListConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3
|
|
|
90825
90893
|
static getAcceptNodeClass() {
|
|
90826
90894
|
return _FilterListNode__WEBPACK_IMPORTED_MODULE_5__.FilterListNode;
|
|
90827
90895
|
}
|
|
90828
|
-
doBuildDataDeclaration(
|
|
90896
|
+
doBuildDataDeclaration() {
|
|
90829
90897
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
90830
90898
|
}
|
|
90831
|
-
buildChildrenDataDeclaration(
|
|
90899
|
+
buildChildrenDataDeclaration() {
|
|
90832
90900
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
90833
90901
|
}
|
|
90834
90902
|
*doTraverseChildren() {
|
|
90835
90903
|
// no children
|
|
90836
90904
|
}
|
|
90837
|
-
doConvert(
|
|
90905
|
+
doConvert() {
|
|
90838
90906
|
const node = this.getCurrentNodeAs(_FilterListNode__WEBPACK_IMPORTED_MODULE_5__.FilterListNode);
|
|
90839
90907
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("FilterList");
|
|
90840
90908
|
markupBuilder.prop(x => x.gId).set(node.gId);
|
|
@@ -90969,16 +91037,16 @@ class FilterSelectConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
|
|
|
90969
91037
|
static getAcceptNodeClass() {
|
|
90970
91038
|
return _FilterSelectNode__WEBPACK_IMPORTED_MODULE_9__.FilterSelectNode;
|
|
90971
91039
|
}
|
|
90972
|
-
doBuildDataDeclaration(
|
|
91040
|
+
doBuildDataDeclaration() {
|
|
90973
91041
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_3__.emptyDataDeclarationCollection;
|
|
90974
91042
|
}
|
|
90975
|
-
buildChildrenDataDeclaration(
|
|
91043
|
+
buildChildrenDataDeclaration() {
|
|
90976
91044
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_3__.emptyDataDeclarationCollection;
|
|
90977
91045
|
}
|
|
90978
91046
|
*doTraverseChildren() {
|
|
90979
91047
|
// noop
|
|
90980
91048
|
}
|
|
90981
|
-
doConvert(
|
|
91049
|
+
doConvert() {
|
|
90982
91050
|
const node = this.getCurrentNodeAs(_FilterSelectNode__WEBPACK_IMPORTED_MODULE_9__.FilterSelectNode);
|
|
90983
91051
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_5__.componentMarkupBuilder)("FilterSelect");
|
|
90984
91052
|
if (node.multilinePath != undefined) {
|
|
@@ -91239,7 +91307,7 @@ class HeaderMenuConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2
|
|
|
91239
91307
|
static getAcceptNodeClass() {
|
|
91240
91308
|
return _HeaderMenuNode__WEBPACK_IMPORTED_MODULE_4__.HeaderMenuNode;
|
|
91241
91309
|
}
|
|
91242
|
-
doBuildDataDeclaration(
|
|
91310
|
+
doBuildDataDeclaration() {
|
|
91243
91311
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
91244
91312
|
}
|
|
91245
91313
|
buildChildrenDataDeclaration(context) {
|
|
@@ -91356,7 +91424,7 @@ class InstanceNumberConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
|
|
|
91356
91424
|
static getAcceptNodeClass() {
|
|
91357
91425
|
return _InstanceNumberNode__WEBPACK_IMPORTED_MODULE_4__.InstanceNumberNode;
|
|
91358
91426
|
}
|
|
91359
|
-
doBuildDataDeclaration(
|
|
91427
|
+
doBuildDataDeclaration() {
|
|
91360
91428
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
91361
91429
|
}
|
|
91362
91430
|
buildChildrenDataDeclaration() {
|
|
@@ -91789,16 +91857,16 @@ class RemoveRowButtonConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MOD
|
|
|
91789
91857
|
static getAcceptNodeClass() {
|
|
91790
91858
|
return _RemoveRowButtonNode__WEBPACK_IMPORTED_MODULE_3__.RemoveRowButtonNode;
|
|
91791
91859
|
}
|
|
91792
|
-
doBuildDataDeclaration(
|
|
91860
|
+
doBuildDataDeclaration() {
|
|
91793
91861
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
91794
91862
|
}
|
|
91795
|
-
buildChildrenDataDeclaration(
|
|
91863
|
+
buildChildrenDataDeclaration() {
|
|
91796
91864
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
91797
91865
|
}
|
|
91798
91866
|
*doTraverseChildren() {
|
|
91799
91867
|
// no children
|
|
91800
91868
|
}
|
|
91801
|
-
doConvert(
|
|
91869
|
+
doConvert() {
|
|
91802
91870
|
var _node$clearLastInstan;
|
|
91803
91871
|
const node = this.getCurrentNodeAs(_RemoveRowButtonNode__WEBPACK_IMPORTED_MODULE_3__.RemoveRowButtonNode);
|
|
91804
91872
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("RemoveRowButton");
|
|
@@ -91885,10 +91953,10 @@ class SortRadioGroupConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
|
|
|
91885
91953
|
static getAcceptNodeClass() {
|
|
91886
91954
|
return _SortRadioGroupNode__WEBPACK_IMPORTED_MODULE_4__.SortRadioGroupNode;
|
|
91887
91955
|
}
|
|
91888
|
-
doBuildDataDeclaration(
|
|
91956
|
+
doBuildDataDeclaration() {
|
|
91889
91957
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
91890
91958
|
}
|
|
91891
|
-
buildChildrenDataDeclaration(
|
|
91959
|
+
buildChildrenDataDeclaration() {
|
|
91892
91960
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
91893
91961
|
}
|
|
91894
91962
|
*doTraverseChildren() {
|
|
@@ -93658,7 +93726,7 @@ class TableCellConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2_
|
|
|
93658
93726
|
static getAcceptNodeClass() {
|
|
93659
93727
|
return _TableCellNode__WEBPACK_IMPORTED_MODULE_3__.TableCellNode;
|
|
93660
93728
|
}
|
|
93661
|
-
doBuildDataDeclaration(
|
|
93729
|
+
doBuildDataDeclaration() {
|
|
93662
93730
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
93663
93731
|
}
|
|
93664
93732
|
buildChildrenDataDeclaration(context) {
|
|
@@ -94310,7 +94378,7 @@ class BoldConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sug
|
|
|
94310
94378
|
static getAcceptNodeClass() {
|
|
94311
94379
|
return _BoldNode__WEBPACK_IMPORTED_MODULE_3__.BoldNode;
|
|
94312
94380
|
}
|
|
94313
|
-
doBuildDataDeclaration(
|
|
94381
|
+
doBuildDataDeclaration() {
|
|
94314
94382
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
94315
94383
|
}
|
|
94316
94384
|
buildChildrenDataDeclaration(context) {
|
|
@@ -94410,21 +94478,21 @@ class EntityConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.S
|
|
|
94410
94478
|
static getAcceptNodeClass() {
|
|
94411
94479
|
return _EntityNode__WEBPACK_IMPORTED_MODULE_3__.EntityNode;
|
|
94412
94480
|
}
|
|
94413
|
-
doBuildDataDeclaration(
|
|
94481
|
+
doBuildDataDeclaration() {
|
|
94414
94482
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
94415
94483
|
}
|
|
94416
|
-
buildChildrenDataDeclaration(
|
|
94484
|
+
buildChildrenDataDeclaration() {
|
|
94417
94485
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
94418
94486
|
}
|
|
94419
94487
|
*doTraverseChildren() {
|
|
94420
94488
|
// no children
|
|
94421
94489
|
}
|
|
94422
|
-
doConvert(
|
|
94490
|
+
doConvert() {
|
|
94423
94491
|
const node = this.getCurrentNodeAs(_EntityNode__WEBPACK_IMPORTED_MODULE_3__.EntityNode);
|
|
94424
94492
|
if (node.value === "#32") {
|
|
94425
94493
|
/* NOTE
|
|
94426
|
-
* Странная
|
|
94427
|
-
*
|
|
94494
|
+
* Странная история: почему-то   стало прилетать в компонент в виде null-а.
|
|
94495
|
+
* Такое исправление всё чинит, не знаю надолго ли.
|
|
94428
94496
|
*/
|
|
94429
94497
|
return _ConverterResults_ConverterResult__WEBPACK_IMPORTED_MODULE_1__.ConverterResult.fromConverterResults([], `{" "}`);
|
|
94430
94498
|
}
|
|
@@ -94711,7 +94779,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
94711
94779
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
94712
94780
|
/* harmony export */ getIconName: () => (/* binding */ getIconName)
|
|
94713
94781
|
/* harmony export */ });
|
|
94714
|
-
function getIconName(
|
|
94782
|
+
function getIconName(_node, iconName) {
|
|
94715
94783
|
// @ts-ignore Не хочу зависеть от иконок в генераторе, может быть собраться и заиспользовать babel-preeval
|
|
94716
94784
|
const iconNameWeakCasted = iconName;
|
|
94717
94785
|
return iconNameWeakCasted;
|
|
@@ -94750,7 +94818,7 @@ class IconConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sug
|
|
|
94750
94818
|
const node = this.getCurrentNodeAs(_IconNode__WEBPACK_IMPORTED_MODULE_4__.IconNode);
|
|
94751
94819
|
return context.addVisibilityPathDeclEntryNew(node);
|
|
94752
94820
|
}
|
|
94753
|
-
buildChildrenDataDeclaration(
|
|
94821
|
+
buildChildrenDataDeclaration() {
|
|
94754
94822
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
94755
94823
|
}
|
|
94756
94824
|
*doTraverseChildren() {
|
|
@@ -95258,7 +95326,7 @@ class HeaderPanelConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_
|
|
|
95258
95326
|
static getAcceptNodeClass() {
|
|
95259
95327
|
return _HeaderPanelNode__WEBPACK_IMPORTED_MODULE_3__.HeaderPanelNode;
|
|
95260
95328
|
}
|
|
95261
|
-
doBuildDataDeclaration(
|
|
95329
|
+
doBuildDataDeclaration() {
|
|
95262
95330
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
95263
95331
|
}
|
|
95264
95332
|
buildChildrenDataDeclaration(context) {
|
|
@@ -96379,7 +96447,7 @@ class DiadocSuggestComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORT
|
|
|
96379
96447
|
optional: node.dataBinding.optional
|
|
96380
96448
|
}), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
|
|
96381
96449
|
}
|
|
96382
|
-
buildChildrenDataDeclaration(
|
|
96450
|
+
buildChildrenDataDeclaration() {
|
|
96383
96451
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
96384
96452
|
}
|
|
96385
96453
|
*doTraverseChildren() {
|
|
@@ -96730,13 +96798,13 @@ class FiasConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sug
|
|
|
96730
96798
|
}
|
|
96731
96799
|
return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), ...PathDeclarations);
|
|
96732
96800
|
}
|
|
96733
|
-
buildChildrenDataDeclaration(
|
|
96801
|
+
buildChildrenDataDeclaration() {
|
|
96734
96802
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_3__.emptyDataDeclarationCollection;
|
|
96735
96803
|
}
|
|
96736
96804
|
*doTraverseChildren() {
|
|
96737
96805
|
// no children
|
|
96738
96806
|
}
|
|
96739
|
-
doConvert(
|
|
96807
|
+
doConvert() {
|
|
96740
96808
|
var _node$title, _node$withSteads, _node$division, _node$searchToAddress;
|
|
96741
96809
|
const node = this.getCurrentNodeAs(_FiasNode__WEBPACK_IMPORTED_MODULE_5__.FiasNode);
|
|
96742
96810
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("Fias");
|
|
@@ -97489,7 +97557,7 @@ class FileLoaderConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4
|
|
|
97489
97557
|
static getAcceptNodeClass() {
|
|
97490
97558
|
return _FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode;
|
|
97491
97559
|
}
|
|
97492
|
-
*getAttachmentPaths(
|
|
97560
|
+
*getAttachmentPaths() {
|
|
97493
97561
|
const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
|
|
97494
97562
|
const multipleNode = !node.single;
|
|
97495
97563
|
if (multipleNode) {
|
|
@@ -97498,7 +97566,7 @@ class FileLoaderConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4
|
|
|
97498
97566
|
yield node.getFullPath().joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath);
|
|
97499
97567
|
}
|
|
97500
97568
|
}
|
|
97501
|
-
doBuildNodeValidations(validationGenerator
|
|
97569
|
+
doBuildNodeValidations(validationGenerator) {
|
|
97502
97570
|
const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
|
|
97503
97571
|
const multipleNode = !node.single;
|
|
97504
97572
|
validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, {
|
|
@@ -99748,13 +99816,13 @@ class RelativesComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_M
|
|
|
99748
99816
|
markupBuilder.prop(x => x.queryFilter).set(node.queryFilter);
|
|
99749
99817
|
return markupBuilder.buildConverterResult();
|
|
99750
99818
|
}
|
|
99751
|
-
buildChildrenDataDeclaration(
|
|
99819
|
+
buildChildrenDataDeclaration() {
|
|
99752
99820
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
|
|
99753
99821
|
}
|
|
99754
99822
|
*doTraverseChildren() {
|
|
99755
99823
|
// no children
|
|
99756
99824
|
}
|
|
99757
|
-
doBuildDataDeclaration(
|
|
99825
|
+
doBuildDataDeclaration() {
|
|
99758
99826
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
|
|
99759
99827
|
}
|
|
99760
99828
|
}
|
|
@@ -100278,10 +100346,10 @@ class SelectAllCheckboxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_M
|
|
|
100278
100346
|
const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
|
|
100279
100347
|
return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node)];
|
|
100280
100348
|
}
|
|
100281
|
-
doBuildDataDeclaration(
|
|
100349
|
+
doBuildDataDeclaration() {
|
|
100282
100350
|
return {};
|
|
100283
100351
|
}
|
|
100284
|
-
doBuildNormalizeRules(
|
|
100352
|
+
doBuildNormalizeRules() {
|
|
100285
100353
|
var _node$pathToChecked;
|
|
100286
100354
|
const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
|
|
100287
100355
|
const pathToCheckedArray = (0,_Engine_src_Controls_FastSelectAllCheckboxesHelper__WEBPACK_IMPORTED_MODULE_0__.buildDirtyPathForMultiplicityAndCheckboxPath)(node.getFullPath(), (_node$pathToChecked = node.pathToChecked) !== null && _node$pathToChecked !== void 0 ? _node$pathToChecked : "checked");
|
|
@@ -100700,13 +100768,13 @@ class TaxRebateConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3_
|
|
|
100700
100768
|
const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
|
|
100701
100769
|
return [builder.valueInitializer(node, node.dataBinding, undefined), ...builder.specialFieldsInitializer(node, {})];
|
|
100702
100770
|
}
|
|
100703
|
-
buildChildrenDataDeclaration(
|
|
100771
|
+
buildChildrenDataDeclaration() {
|
|
100704
100772
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
|
|
100705
100773
|
}
|
|
100706
100774
|
*doTraverseChildren() {
|
|
100707
100775
|
// no children
|
|
100708
100776
|
}
|
|
100709
|
-
doConvert(
|
|
100777
|
+
doConvert() {
|
|
100710
100778
|
var _node$gId, _node$columnNames$cod, _node$columnNames, _node$columnNames$nam, _node$columnNames2, _node$columnNames$law, _node$columnNames3, _node$width;
|
|
100711
100779
|
const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
|
|
100712
100780
|
this.ensurePathExists(node, node.dataBinding.path);
|
|
@@ -101900,7 +101968,7 @@ class RadioConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Su
|
|
|
101900
101968
|
static getAcceptNodeClass() {
|
|
101901
101969
|
return _RadioNode__WEBPACK_IMPORTED_MODULE_4__.RadioNode;
|
|
101902
101970
|
}
|
|
101903
|
-
doBuildDataDeclaration(
|
|
101971
|
+
doBuildDataDeclaration() {
|
|
101904
101972
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
101905
101973
|
}
|
|
101906
101974
|
buildChildrenDataDeclaration(context) {
|
|
@@ -102014,10 +102082,10 @@ class DateViewConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
|
|
|
102014
102082
|
static getAcceptNodeClass() {
|
|
102015
102083
|
return _DateViewNode__WEBPACK_IMPORTED_MODULE_5__.DateViewNode;
|
|
102016
102084
|
}
|
|
102017
|
-
doBuildDataDeclaration(
|
|
102085
|
+
doBuildDataDeclaration() {
|
|
102018
102086
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_3__.emptyDataDeclarationCollection;
|
|
102019
102087
|
}
|
|
102020
|
-
buildChildrenDataDeclaration(
|
|
102088
|
+
buildChildrenDataDeclaration() {
|
|
102021
102089
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_3__.emptyDataDeclarationCollection;
|
|
102022
102090
|
}
|
|
102023
102091
|
*doTraverseChildren() {
|
|
@@ -102027,7 +102095,7 @@ class DateViewConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
|
|
|
102027
102095
|
const node = this.getCurrentNodeAs(_DateViewNode__WEBPACK_IMPORTED_MODULE_5__.DateViewNode);
|
|
102028
102096
|
return [node.getFullPath()];
|
|
102029
102097
|
}
|
|
102030
|
-
doConvert(
|
|
102098
|
+
doConvert() {
|
|
102031
102099
|
const node = this.getCurrentNodeAs(_DateViewNode__WEBPACK_IMPORTED_MODULE_5__.DateViewNode);
|
|
102032
102100
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("DateView");
|
|
102033
102101
|
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_0__.getNewBindingPathExpression)(node));
|
|
@@ -102133,7 +102201,7 @@ class FIOConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Suga
|
|
|
102133
102201
|
static getAcceptNodeClass() {
|
|
102134
102202
|
return _FIONode__WEBPACK_IMPORTED_MODULE_7__.FIONode;
|
|
102135
102203
|
}
|
|
102136
|
-
doConvert(
|
|
102204
|
+
doConvert() {
|
|
102137
102205
|
var _node$quotes$, _node$quotes, _node$quotes$2, _node$quotes2;
|
|
102138
102206
|
const node = this.getCurrentNodeAs(_FIONode__WEBPACK_IMPORTED_MODULE_7__.FIONode);
|
|
102139
102207
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("FIO");
|
|
@@ -102477,7 +102545,7 @@ class LinetextConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__
|
|
|
102477
102545
|
static getAcceptNodeClass() {
|
|
102478
102546
|
return _LineTextNode__WEBPACK_IMPORTED_MODULE_3__.LineTextNode;
|
|
102479
102547
|
}
|
|
102480
|
-
doBuildNodeValidations(
|
|
102548
|
+
doBuildNodeValidations() {
|
|
102481
102549
|
// no validations
|
|
102482
102550
|
}
|
|
102483
102551
|
doBuildDataDeclaration(context) {
|
|
@@ -103019,13 +103087,13 @@ class ValueLengthConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_
|
|
|
103019
103087
|
const node = this.getCurrentNodeAs(_ValueLengthNode__WEBPACK_IMPORTED_MODULE_4__.ValueLengthNode);
|
|
103020
103088
|
return context.mergeDataDeclaration(context.addVisibilityPathDeclEntryNew(node));
|
|
103021
103089
|
}
|
|
103022
|
-
buildChildrenDataDeclaration(
|
|
103090
|
+
buildChildrenDataDeclaration() {
|
|
103023
103091
|
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
103024
103092
|
}
|
|
103025
103093
|
*doTraverseChildren() {
|
|
103026
103094
|
// no children
|
|
103027
103095
|
}
|
|
103028
|
-
doConvert(
|
|
103096
|
+
doConvert() {
|
|
103029
103097
|
const node = this.getCurrentNodeAs(_ValueLengthNode__WEBPACK_IMPORTED_MODULE_4__.ValueLengthNode);
|
|
103030
103098
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("ValueLength");
|
|
103031
103099
|
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node));
|
|
@@ -104408,7 +104476,7 @@ class AttributeValueSource {
|
|
|
104408
104476
|
this.attrName = attrName;
|
|
104409
104477
|
this.valueParser = valueParser;
|
|
104410
104478
|
}
|
|
104411
|
-
extractValue(sugarXmlNode,
|
|
104479
|
+
extractValue(sugarXmlNode, _serializer, tracer) {
|
|
104412
104480
|
try {
|
|
104413
104481
|
const attributeNodes = sugarXmlNode.getChildren().filter(x => _SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.SugarSerializer.isAttributeValueNode(x, sugarXmlNode)).filter(x => _SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.SugarSerializer.getAttributeNameFromValueNode(x, sugarXmlNode) === this.attrName.toLowerCase());
|
|
104414
104482
|
const getAttributeValueFromSingleChildNodeWithoutMarkup = childNode => {
|
|
@@ -104732,7 +104800,7 @@ class SugarNodeMetadata extends PropertiesContainerMetadataBase {
|
|
|
104732
104800
|
}
|
|
104733
104801
|
return false;
|
|
104734
104802
|
}
|
|
104735
|
-
fillFromSugarXmlNode(targetNode, sourceXmlNode, serializer
|
|
104803
|
+
fillFromSugarXmlNode(targetNode, sourceXmlNode, serializer) {
|
|
104736
104804
|
const usedAttributes = new Set();
|
|
104737
104805
|
const usedChildren = new Set();
|
|
104738
104806
|
const usedChildElementsTracer = childElement => {
|
|
@@ -104935,7 +105003,7 @@ function sugarNode(nodeName, description, docFilesContext, canDeserialize) {
|
|
|
104935
105003
|
(0,_ClassMetadataAccess__WEBPACK_IMPORTED_MODULE_4__.setSugarNodeMetadata)(target, sugarNodeMetadata);
|
|
104936
105004
|
};
|
|
104937
105005
|
}
|
|
104938
|
-
function attrMixinNode(
|
|
105006
|
+
function attrMixinNode() {
|
|
104939
105007
|
return target => {
|
|
104940
105008
|
const sugarNodeMetadata = new _SugarNodeMetadata__WEBPACK_IMPORTED_MODULE_22__.SugarAttributesMixinMetadata();
|
|
104941
105009
|
for (const propertyDeserializer of (0,_ClassMetadataAccess__WEBPACK_IMPORTED_MODULE_4__.getPropertyDeserializers)(target)) {
|
|
@@ -105196,17 +105264,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
105196
105264
|
/* harmony import */ var _common_KCLang_CodeDom_KCLangPath__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/KCLangPath */ "./Generator/src/common/KCLang/CodeDom/KCLangPath.ts");
|
|
105197
105265
|
/* harmony import */ var _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../Common/IterableUtils */ "./Common/IterableUtils.ts");
|
|
105198
105266
|
/* harmony import */ var _Common_PathConstants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../Common/PathConstants */ "./Common/PathConstants.ts");
|
|
105199
|
-
/* harmony import */ var
|
|
105200
|
-
/* harmony import */ var
|
|
105201
|
-
/* harmony import */ var
|
|
105202
|
-
/* harmony import */ var
|
|
105203
|
-
/* harmony import */ var
|
|
105204
|
-
/* harmony import */ var
|
|
105205
|
-
/* harmony import */ var
|
|
105206
|
-
/* harmony import */ var
|
|
105207
|
-
/* harmony import */ var
|
|
105208
|
-
/* harmony import */ var
|
|
105209
|
-
/* harmony import */ var
|
|
105267
|
+
/* harmony import */ var _Common_FormMetaInfo__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../Common/FormMetaInfo */ "./Common/FormMetaInfo.ts");
|
|
105268
|
+
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
105269
|
+
/* harmony import */ var _AllConverters__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./AllConverters */ "./Generator/src/generators/markupGenerator/AllConverters.ts");
|
|
105270
|
+
/* harmony import */ var _ConverterResults_ConverterResult__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./ConverterResults/ConverterResult */ "./Generator/src/generators/markupGenerator/ConverterResults/ConverterResult.ts");
|
|
105271
|
+
/* harmony import */ var _ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./ElementProcessors/FormParts/Form/FormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormNode.ts");
|
|
105272
|
+
/* harmony import */ var _ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ElementProcessors/FormParts/Page/PageNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Page/PageNode.ts");
|
|
105273
|
+
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
105274
|
+
/* harmony import */ var _SugarNodes_DefaultSugarSerializer__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./SugarNodes/DefaultSugarSerializer */ "./Generator/src/generators/markupGenerator/SugarNodes/DefaultSugarSerializer.ts");
|
|
105275
|
+
/* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
|
|
105276
|
+
/* harmony import */ var _VisibilityProcessor__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./VisibilityProcessor */ "./Generator/src/generators/markupGenerator/VisibilityProcessor.ts");
|
|
105277
|
+
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
105278
|
+
/* harmony import */ var _FocusManagementProcessor__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./FocusManagementProcessor */ "./Generator/src/generators/markupGenerator/FocusManagementProcessor.ts");
|
|
105279
|
+
|
|
105210
105280
|
|
|
105211
105281
|
|
|
105212
105282
|
|
|
@@ -105233,12 +105303,12 @@ class SugarNodeConverterBase {
|
|
|
105233
105303
|
constructor(node) {
|
|
105234
105304
|
this.node = void 0;
|
|
105235
105305
|
this.node = node;
|
|
105236
|
-
if (node instanceof
|
|
105306
|
+
if (node instanceof _ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_12__.PageNode) {
|
|
105237
105307
|
deserializedPages.set(node.sourceXmlNode, node);
|
|
105238
105308
|
}
|
|
105239
105309
|
}
|
|
105240
105310
|
static deserializeNodeAs(nodeClass, sourceXmlNode) {
|
|
105241
|
-
const serializer = (0,
|
|
105311
|
+
const serializer = (0,_SugarNodes_DefaultSugarSerializer__WEBPACK_IMPORTED_MODULE_14__.createDefaultSugarSerializer)();
|
|
105242
105312
|
const node = serializer.deserializeFromSugarXmlNode(sourceXmlNode, [nodeClass]);
|
|
105243
105313
|
if (node instanceof nodeClass) {
|
|
105244
105314
|
return node;
|
|
@@ -105253,7 +105323,7 @@ class SugarNodeConverterBase {
|
|
|
105253
105323
|
buildSugarAutoCalculations() {
|
|
105254
105324
|
return Iterator.from([]);
|
|
105255
105325
|
}
|
|
105256
|
-
buildLazyLoadingDeclaration(
|
|
105326
|
+
buildLazyLoadingDeclaration() {
|
|
105257
105327
|
return [];
|
|
105258
105328
|
}
|
|
105259
105329
|
getParentStrictAs(nodeClass) {
|
|
@@ -105282,6 +105352,9 @@ class SugarNodeConverterBase {
|
|
|
105282
105352
|
const optionalElementDataDeclaration = !isMultipleNode && isNodeOptionalFromScheme && this.buildOptionalElementDataDeclaration(context, path);
|
|
105283
105353
|
return context.mergeDataDeclaration(this.doBuildDataDeclaration(context), optionalElementDataDeclaration, this.buildChildrenDataDeclaration(context));
|
|
105284
105354
|
}
|
|
105355
|
+
buildMetaInfo() {
|
|
105356
|
+
return this.doBuildFormMetaInfo();
|
|
105357
|
+
}
|
|
105285
105358
|
buildOptionalElementDataDeclaration(context, path) {
|
|
105286
105359
|
const existenceFieldPath = path.joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_6__.OptionalElementsExistenceFieldName).toLegacyPath();
|
|
105287
105360
|
const existenceDataDeclaration = context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(this.node, false, false, (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_2__.createRelativeFromTokens)([_Common_PathConstants__WEBPACK_IMPORTED_MODULE_6__.OptionalElementsExistenceFieldName])), {
|
|
@@ -105295,8 +105368,11 @@ class SugarNodeConverterBase {
|
|
|
105295
105368
|
});
|
|
105296
105369
|
return existenceDataDeclaration;
|
|
105297
105370
|
}
|
|
105371
|
+
doBuildFormMetaInfo() {
|
|
105372
|
+
return _Common_FormMetaInfo__WEBPACK_IMPORTED_MODULE_7__.emptyFormMetaInfo;
|
|
105373
|
+
}
|
|
105298
105374
|
getCurrentNodeAs(nodeClass) {
|
|
105299
|
-
return (0,
|
|
105375
|
+
return (0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_15__.strictCastNode)(this.node, nodeClass);
|
|
105300
105376
|
}
|
|
105301
105377
|
applyVisibilityPathProcessing() {
|
|
105302
105378
|
return true;
|
|
@@ -105318,7 +105394,7 @@ class SugarNodeConverterBase {
|
|
|
105318
105394
|
getParentPage() {
|
|
105319
105395
|
const node = this.node.sourceXmlNode;
|
|
105320
105396
|
const page = node.getParentPageStrict();
|
|
105321
|
-
return page != undefined ? this.getNodeAs(
|
|
105397
|
+
return page != undefined ? this.getNodeAs(_ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_12__.PageNode, page) : undefined;
|
|
105322
105398
|
}
|
|
105323
105399
|
getParentForm() {
|
|
105324
105400
|
const node = this.node.sourceXmlNode;
|
|
@@ -105326,24 +105402,24 @@ class SugarNodeConverterBase {
|
|
|
105326
105402
|
if (formNode == undefined) {
|
|
105327
105403
|
throw new Error("InvalidProgramState");
|
|
105328
105404
|
}
|
|
105329
|
-
return this.getNodeAs(
|
|
105405
|
+
return this.getNodeAs(_ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_11__.FormNode, formNode);
|
|
105330
105406
|
}
|
|
105331
105407
|
findPage(id) {
|
|
105332
105408
|
const node = this.node.sourceXmlNode;
|
|
105333
105409
|
const root = node.getRoot();
|
|
105334
105410
|
const pageNodes = root.getChildren("page");
|
|
105335
105411
|
const page = pageNodes.find(pageNode => pageNode.attrAsString("id") === id);
|
|
105336
|
-
return page != undefined ? this.getNodeAs(
|
|
105412
|
+
return page != undefined ? this.getNodeAs(_ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_12__.PageNode, page) : undefined;
|
|
105337
105413
|
}
|
|
105338
105414
|
getEvaluatorsContextPathExpression() {
|
|
105339
105415
|
var _this$node$parent;
|
|
105340
|
-
return (0,
|
|
105416
|
+
return (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_8__.getNewBindingPathExpression)((_this$node$parent = this.node.parent) !== null && _this$node$parent !== void 0 ? _this$node$parent : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__.reject)());
|
|
105341
105417
|
}
|
|
105342
105418
|
buildValidations(validationGenerator, context) {
|
|
105343
105419
|
this.doBuildNodeValidations(validationGenerator, context);
|
|
105344
105420
|
this.buildChildrenValidations(validationGenerator, context);
|
|
105345
105421
|
}
|
|
105346
|
-
*getAttachmentPaths(
|
|
105422
|
+
*getAttachmentPaths(_context) {
|
|
105347
105423
|
// no paths by default
|
|
105348
105424
|
}
|
|
105349
105425
|
*getAttachmentPathsWithGfvs() {
|
|
@@ -105364,11 +105440,11 @@ class SugarNodeConverterBase {
|
|
|
105364
105440
|
}
|
|
105365
105441
|
return result;
|
|
105366
105442
|
}
|
|
105367
|
-
doBuildNodeValidations(
|
|
105443
|
+
doBuildNodeValidations(_, __) {
|
|
105368
105444
|
// noop
|
|
105369
105445
|
}
|
|
105370
105446
|
getResolvedBindingPath(node) {
|
|
105371
|
-
return (0,
|
|
105447
|
+
return (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_8__.getResolvedBindingPath)(node);
|
|
105372
105448
|
}
|
|
105373
105449
|
getRequisitesFromFetchFunction(fetchFunctions) {
|
|
105374
105450
|
const result = {};
|
|
@@ -105388,7 +105464,7 @@ class SugarNodeConverterBase {
|
|
|
105388
105464
|
}
|
|
105389
105465
|
getConverterResultFromAttributeWithMarkup(context, attributeValue) {
|
|
105390
105466
|
if (Array.isArray(attributeValue)) {
|
|
105391
|
-
return
|
|
105467
|
+
return _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_17__.ComponentMarkupBuilder.createFragment(attributeValue.map(x => typeof x === "string" ? _ConverterResults_ConverterResult__WEBPACK_IMPORTED_MODULE_10__.ConverterResult.fromConverterResults([], x) : context.convertChildNodes([x])));
|
|
105392
105468
|
}
|
|
105393
105469
|
return attributeValue;
|
|
105394
105470
|
}
|
|
@@ -105406,7 +105482,7 @@ class SugarNodeConverterBase {
|
|
|
105406
105482
|
*buildNormalizeRules(builder, formSchemaRng) {
|
|
105407
105483
|
yield* this.doBuildNormalizeRules(builder, formSchemaRng);
|
|
105408
105484
|
for (const child of this.traverseChildren()) {
|
|
105409
|
-
const controlConverterClass = (0,
|
|
105485
|
+
const controlConverterClass = (0,_AllConverters__WEBPACK_IMPORTED_MODULE_9__.getConverterByNodeClass)((0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_13__.getNodeClass)(child));
|
|
105410
105486
|
if (controlConverterClass == undefined) {
|
|
105411
105487
|
const customControl = builder.controlCustomizationContext.tryGetCustomRegularControl(child.sourceXmlNode.name);
|
|
105412
105488
|
if (customControl != undefined) {
|
|
@@ -105421,12 +105497,12 @@ class SugarNodeConverterBase {
|
|
|
105421
105497
|
}
|
|
105422
105498
|
}
|
|
105423
105499
|
}
|
|
105424
|
-
doBuildNormalizeRules(
|
|
105500
|
+
doBuildNormalizeRules(_, __) {
|
|
105425
105501
|
return [];
|
|
105426
105502
|
}
|
|
105427
105503
|
getNodeAs(nodeClass, sourceXmlNode) {
|
|
105428
105504
|
// @ts-ignore
|
|
105429
|
-
if (nodeClass ===
|
|
105505
|
+
if (nodeClass === _ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_12__.PageNode) {
|
|
105430
105506
|
var _deserializedPages$ge;
|
|
105431
105507
|
// @ts-ignore
|
|
105432
105508
|
return (_deserializedPages$ge = deserializedPages.get(sourceXmlNode !== null && sourceXmlNode !== void 0 ? sourceXmlNode : this.node)) !== null && _deserializedPages$ge !== void 0 ? _deserializedPages$ge : SugarNodeConverterBase.deserializeNodeAs(nodeClass, sourceXmlNode !== null && sourceXmlNode !== void 0 ? sourceXmlNode : this.node);
|
|
@@ -105435,12 +105511,12 @@ class SugarNodeConverterBase {
|
|
|
105435
105511
|
}
|
|
105436
105512
|
buildChildrenValidations(validationGenerator, context, children) {
|
|
105437
105513
|
for (const child of children !== null && children !== void 0 ? children : this.doTraverseChildren()) {
|
|
105438
|
-
const controlConverterClass = (0,
|
|
105514
|
+
const controlConverterClass = (0,_AllConverters__WEBPACK_IMPORTED_MODULE_9__.getConverterByNodeClass)((0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_13__.getNodeClass)(child));
|
|
105439
105515
|
if (controlConverterClass == undefined) {
|
|
105440
|
-
if (child instanceof
|
|
105516
|
+
if (child instanceof _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_13__.UnknownSugarNode && child.name === "type") {
|
|
105441
105517
|
continue;
|
|
105442
105518
|
}
|
|
105443
|
-
if (child instanceof
|
|
105519
|
+
if (child instanceof _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_13__.UnknownSugarNode) {
|
|
105444
105520
|
const customControl = validationGenerator.controlCustomizationContext.tryGetCustomRegularControl(child.name);
|
|
105445
105521
|
if (customControl != undefined) {
|
|
105446
105522
|
const childNode = child.sourceXmlNode;
|
|
@@ -105449,7 +105525,7 @@ class SugarNodeConverterBase {
|
|
|
105449
105525
|
}
|
|
105450
105526
|
continue;
|
|
105451
105527
|
// eslint-disable-next-line no-console
|
|
105452
|
-
console.error(`Cannot process node of type ${(0,
|
|
105528
|
+
console.error(`Cannot process node of type ${(0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_13__.getNodeClass)(child).name}`);
|
|
105453
105529
|
// throw new SugarAttributeReadError(
|
|
105454
105530
|
// `Cannot process node of type ${getNodeClass(child).name}`,
|
|
105455
105531
|
// child.sourceXmlNode as SugarXmlNode,
|
|
@@ -105463,7 +105539,7 @@ class SugarNodeConverterBase {
|
|
|
105463
105539
|
buildChildrenKCLangValidations(buildContext, formSchemaRng, children) {
|
|
105464
105540
|
const result = [];
|
|
105465
105541
|
for (const child of children !== null && children !== void 0 ? children : this.doTraverseChildren()) {
|
|
105466
|
-
const controlConverterClass = (0,
|
|
105542
|
+
const controlConverterClass = (0,_AllConverters__WEBPACK_IMPORTED_MODULE_9__.getConverterByNodeClass)((0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_13__.getNodeClass)(child));
|
|
105467
105543
|
if (controlConverterClass == undefined) {
|
|
105468
105544
|
continue;
|
|
105469
105545
|
}
|
|
@@ -105481,12 +105557,12 @@ class SugarNodeConverterBase {
|
|
|
105481
105557
|
return result;
|
|
105482
105558
|
}
|
|
105483
105559
|
processVisibilityPathAttributes(converterResult) {
|
|
105484
|
-
return
|
|
105560
|
+
return _VisibilityProcessor__WEBPACK_IMPORTED_MODULE_16__.VisibilityProcessor.processVisibilityPathAttributes(this.node, converterResult);
|
|
105485
105561
|
}
|
|
105486
105562
|
processFocusManagementAttributes(converterResult) {
|
|
105487
|
-
return
|
|
105563
|
+
return _FocusManagementProcessor__WEBPACK_IMPORTED_MODULE_18__.FocusManagementProcessor.processFocusManagementAttributes(this.node, converterResult);
|
|
105488
105564
|
}
|
|
105489
|
-
doBuildKCLangValidations(
|
|
105565
|
+
doBuildKCLangValidations(_buildContext, _formSchemaRng) {
|
|
105490
105566
|
return [];
|
|
105491
105567
|
}
|
|
105492
105568
|
}
|
|
@@ -105919,6 +105995,65 @@ function getAllSchemaRngNodeClasses() {
|
|
|
105919
105995
|
|
|
105920
105996
|
/***/ }),
|
|
105921
105997
|
|
|
105998
|
+
/***/ "./Generator/src/generators/markupGenerator/SugarNodes/Nodes/FormMetaInfoNode.ts":
|
|
105999
|
+
/*!***************************************************************************************!*\
|
|
106000
|
+
!*** ./Generator/src/generators/markupGenerator/SugarNodes/Nodes/FormMetaInfoNode.ts ***!
|
|
106001
|
+
\***************************************************************************************/
|
|
106002
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
106003
|
+
|
|
106004
|
+
"use strict";
|
|
106005
|
+
__webpack_require__.r(__webpack_exports__);
|
|
106006
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
106007
|
+
/* harmony export */ FormMetaInfoNode: () => (/* binding */ FormMetaInfoNode)
|
|
106008
|
+
/* harmony export */ });
|
|
106009
|
+
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
|
|
106010
|
+
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
106011
|
+
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
|
|
106012
|
+
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
|
|
106013
|
+
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
|
|
106014
|
+
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
|
|
106015
|
+
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
106016
|
+
|
|
106017
|
+
|
|
106018
|
+
|
|
106019
|
+
var _dec, _dec2, _class, _class2, _descriptor;
|
|
106020
|
+
|
|
106021
|
+
let FormMetaInfoNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("formmetainfo", `Мета-информация о форме`), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("historyWidget", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.objectLiteral(), `Настройки для виджета истории редактирования.
|
|
106022
|
+
|
|
106023
|
+
Настройка полей в шапке виджета. Указываем название и путь в иннере где лежит значение.
|
|
106024
|
+
Интерфейс живет в движке: FormMetaInfo.ts
|
|
106025
|
+
|
|
106026
|
+
interface HistoryWidgetHeaderField {
|
|
106027
|
+
label?: string;
|
|
106028
|
+
path?: string | string[];
|
|
106029
|
+
isPicklist?: boolean;
|
|
106030
|
+
|
|
106031
|
+
innFlPath?: string;
|
|
106032
|
+
innPath?: string;
|
|
106033
|
+
kppPath?: string;
|
|
106034
|
+
|
|
106035
|
+
periodPath?: string;
|
|
106036
|
+
yearPath?: string;
|
|
106037
|
+
|
|
106038
|
+
organizationNamePath?: string;
|
|
106039
|
+
organizationFlLastNamePath?: string;
|
|
106040
|
+
organizationFlFirstNamePath?: string;
|
|
106041
|
+
organizationFlMiddleNamePath?: string;
|
|
106042
|
+
}
|
|
106043
|
+
`), _dec(_class = (_class2 = class FormMetaInfoNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
106044
|
+
constructor(...args) {
|
|
106045
|
+
super(...args);
|
|
106046
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "historyWidget", _descriptor, this);
|
|
106047
|
+
}
|
|
106048
|
+
}, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "historyWidget", [_dec2], {
|
|
106049
|
+
configurable: true,
|
|
106050
|
+
enumerable: true,
|
|
106051
|
+
writable: true,
|
|
106052
|
+
initializer: null
|
|
106053
|
+
}), _class2)) || _class);
|
|
106054
|
+
|
|
106055
|
+
/***/ }),
|
|
106056
|
+
|
|
105922
106057
|
/***/ "./Generator/src/generators/markupGenerator/SugarNodes/Nodes/ImportNode.ts":
|
|
105923
106058
|
/*!*********************************************************************************!*\
|
|
105924
106059
|
!*** ./Generator/src/generators/markupGenerator/SugarNodes/Nodes/ImportNode.ts ***!
|
|
@@ -106199,10 +106334,10 @@ class ControlCustomizationContext {
|
|
|
106199
106334
|
}
|
|
106200
106335
|
}
|
|
106201
106336
|
class EmptyControlCustomizationContext {
|
|
106202
|
-
tryGetCustomRegularControl(
|
|
106337
|
+
tryGetCustomRegularControl() {
|
|
106203
106338
|
return undefined;
|
|
106204
106339
|
}
|
|
106205
|
-
getControlCustomizationInfo(
|
|
106340
|
+
getControlCustomizationInfo() {
|
|
106206
106341
|
throw new Error("");
|
|
106207
106342
|
}
|
|
106208
106343
|
}
|
|
@@ -106834,7 +106969,7 @@ class AttachmentsValueValidatorGenerator extends _TypeBasedValidatorGenerator__W
|
|
|
106834
106969
|
static acceptNode(node) {
|
|
106835
106970
|
return node instanceof _Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.AttachmentsTypeCheckNode;
|
|
106836
106971
|
}
|
|
106837
|
-
static createFromNode(
|
|
106972
|
+
static createFromNode() {
|
|
106838
106973
|
return new AttachmentsValueValidatorGenerator();
|
|
106839
106974
|
}
|
|
106840
106975
|
acceptNodeForGroup(node) {
|
|
@@ -106897,7 +107032,7 @@ class CustomValidationValueValidatorGenerator extends _TypeBasedValidatorGenerat
|
|
|
106897
107032
|
acceptNodeForGroup(node) {
|
|
106898
107033
|
return node instanceof _Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.CustomValidationTypeCheckNode && node.value === this.name;
|
|
106899
107034
|
}
|
|
106900
|
-
generatorValidator(typeNode,
|
|
107035
|
+
generatorValidator(typeNode, _gId, customValidations) {
|
|
106901
107036
|
var _customValidations$cu, _customValidationNode, _customValidationNode2;
|
|
106902
107037
|
const customValidationNode = typeNode.getValidations(_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.CustomValidationTypeCheckNode).find(x => x.value === this.name);
|
|
106903
107038
|
if (customValidationNode == undefined || customValidations == undefined) {
|