@kontur.candy/generator 4.270.0 → 4.272.0-mass-delete.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +254 -95
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -113401,6 +113401,15 @@ class Set2 {
|
|
|
113401
113401
|
return false;
|
|
113402
113402
|
}
|
|
113403
113403
|
|
|
113404
|
+
remove(path) {
|
|
113405
|
+
const hash = this.getItemHash(path);
|
|
113406
|
+
const list = this.hashMap.get(hash);
|
|
113407
|
+
|
|
113408
|
+
if (list != undefined) {
|
|
113409
|
+
this.hashMap.set(hash, list.filter(x => !this.areItemsEqual(x, path)));
|
|
113410
|
+
}
|
|
113411
|
+
}
|
|
113412
|
+
|
|
113404
113413
|
has(path) {
|
|
113405
113414
|
var _this$hashMap$get;
|
|
113406
113415
|
|
|
@@ -113579,6 +113588,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
113579
113588
|
/* harmony export */ "unitWithoutInstance": () => (/* binding */ unitWithoutInstance),
|
|
113580
113589
|
/* harmony export */ "isUnitIdEquals": () => (/* binding */ isUnitIdEquals),
|
|
113581
113590
|
/* harmony export */ "sectionNameToUnitId": () => (/* binding */ sectionNameToUnitId),
|
|
113591
|
+
/* harmony export */ "getAllUnitIdInstances": () => (/* binding */ getAllUnitIdInstances),
|
|
113582
113592
|
/* harmony export */ "unitIdToLegacyUnitId": () => (/* binding */ unitIdToLegacyUnitId),
|
|
113583
113593
|
/* harmony export */ "unitIdWithInstance": () => (/* binding */ unitIdWithInstance),
|
|
113584
113594
|
/* harmony export */ "createUnitId": () => (/* binding */ createUnitId)
|
|
@@ -113636,6 +113646,11 @@ function sectionNameToUnitId(sectionName) {
|
|
|
113636
113646
|
};
|
|
113637
113647
|
}
|
|
113638
113648
|
}
|
|
113649
|
+
function getAllUnitIdInstances(unitId) {
|
|
113650
|
+
var _unitId$parentInstanc, _unitId$instance;
|
|
113651
|
+
|
|
113652
|
+
return ((_unitId$parentInstanc = unitId.parentInstances) !== null && _unitId$parentInstanc !== void 0 ? _unitId$parentInstanc : []).concat((_unitId$instance = unitId.instance) !== null && _unitId$instance !== void 0 ? _unitId$instance : []);
|
|
113653
|
+
}
|
|
113639
113654
|
function unitIdToLegacyUnitId(unitId) {
|
|
113640
113655
|
if (unitId == undefined) {
|
|
113641
113656
|
return undefined;
|
|
@@ -115371,7 +115386,7 @@ class KCLangAntlrVisitor {
|
|
|
115371
115386
|
const expression = ctx.expression();
|
|
115372
115387
|
const withBlocks = ctx.withBlock().map(i => i.accept(this));
|
|
115373
115388
|
let description = "";
|
|
115374
|
-
let errorLevel =
|
|
115389
|
+
let errorLevel = undefined;
|
|
115375
115390
|
|
|
115376
115391
|
for (const withBlock of withBlocks) {
|
|
115377
115392
|
if (withBlock) {
|
|
@@ -121517,10 +121532,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
121517
121532
|
/* harmony import */ var _Common_Errors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../Common/Errors */ "./Common/Errors.ts");
|
|
121518
121533
|
/* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
|
|
121519
121534
|
/* harmony import */ var _Common_IndentString__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../Common/IndentString */ "./Common/IndentString.ts");
|
|
121520
|
-
/* harmony import */ var
|
|
121521
|
-
/* harmony import */ var
|
|
121522
|
-
/* harmony import */ var
|
|
121523
|
-
/* harmony import */ var
|
|
121535
|
+
/* harmony import */ var _StringUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../StringUtils */ "./Generator/src/common/StringUtils.ts");
|
|
121536
|
+
/* harmony import */ var _IKCLangExpressionVisitor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./IKCLangExpressionVisitor */ "./Generator/src/common/KCLang/IKCLangExpressionVisitor.ts");
|
|
121537
|
+
/* harmony import */ var _KCLangDescriptionParser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./KCLangDescriptionParser */ "./Generator/src/common/KCLang/KCLangDescriptionParser.ts");
|
|
121538
|
+
/* harmony import */ var _KCLangNodes__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./KCLangNodes */ "./Generator/src/common/KCLang/KCLangNodes.ts");
|
|
121539
|
+
/* harmony import */ var _Antlr_KCLangAntlrParser__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Antlr/KCLangAntlrParser */ "./Generator/src/common/KCLang/Antlr/KCLangAntlrParser.ts");
|
|
121540
|
+
|
|
121524
121541
|
|
|
121525
121542
|
|
|
121526
121543
|
|
|
@@ -121625,7 +121642,7 @@ function generateKCXmlExpression(expression) {
|
|
|
121625
121642
|
}
|
|
121626
121643
|
|
|
121627
121644
|
function formatDescribeStatement(ast, matchPath, describe) {
|
|
121628
|
-
return
|
|
121645
|
+
return _KCLangDescriptionParser__WEBPACK_IMPORTED_MODULE_5__.KCLangDescriptionParser.parse(describe.text).map(item => {
|
|
121629
121646
|
if (typeof item === "string") {
|
|
121630
121647
|
return item;
|
|
121631
121648
|
} else {
|
|
@@ -121657,12 +121674,12 @@ function generateBlockKCXmlFormulas(block, parents) {
|
|
|
121657
121674
|
let lastDescribeStatement;
|
|
121658
121675
|
|
|
121659
121676
|
for (const statement of block.statements) {
|
|
121660
|
-
if ((0,
|
|
121677
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_6__.isFormulaStatement)(statement)) {
|
|
121661
121678
|
result.push(generateKCXmlFormula(statement, matchPath, lastDescribeStatement));
|
|
121662
121679
|
lastDescribeStatement = undefined;
|
|
121663
121680
|
}
|
|
121664
121681
|
|
|
121665
|
-
if ((0,
|
|
121682
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_6__.isEnsureStatement)(statement)) {
|
|
121666
121683
|
lastDescribeStatement = undefined;
|
|
121667
121684
|
}
|
|
121668
121685
|
|
|
@@ -121670,11 +121687,11 @@ function generateBlockKCXmlFormulas(block, parents) {
|
|
|
121670
121687
|
throw new Error("Describe should be placed before assign of ensure statements");
|
|
121671
121688
|
}
|
|
121672
121689
|
|
|
121673
|
-
if ((0,
|
|
121690
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_6__.isDescribeStatement)(statement)) {
|
|
121674
121691
|
lastDescribeStatement = statement;
|
|
121675
121692
|
}
|
|
121676
121693
|
|
|
121677
|
-
if ((0,
|
|
121694
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_6__.isBlockStatement)(statement)) {
|
|
121678
121695
|
result.push(generateBlockKCXmlFormulas(statement, [...(parents !== null && parents !== void 0 ? parents : []), block]));
|
|
121679
121696
|
}
|
|
121680
121697
|
}
|
|
@@ -121685,7 +121702,7 @@ function generateBlockKCXmlFormulas(block, parents) {
|
|
|
121685
121702
|
function guessConditionTarget(condition) {
|
|
121686
121703
|
let result;
|
|
121687
121704
|
|
|
121688
|
-
class GuessConditionTargetVisitor extends
|
|
121705
|
+
class GuessConditionTargetVisitor extends _IKCLangExpressionVisitor__WEBPACK_IMPORTED_MODULE_4__.DefaultKCLangExpressionVisitor {
|
|
121689
121706
|
visitExistsKCLangNode(node) {
|
|
121690
121707
|
if (result == undefined) {
|
|
121691
121708
|
result = node.select;
|
|
@@ -121706,12 +121723,12 @@ function guessConditionTarget(condition) {
|
|
|
121706
121723
|
|
|
121707
121724
|
}
|
|
121708
121725
|
|
|
121709
|
-
(0,
|
|
121726
|
+
(0,_IKCLangExpressionVisitor__WEBPACK_IMPORTED_MODULE_4__.traverseKCLangExpression)(condition.expression, new GuessConditionTargetVisitor());
|
|
121710
121727
|
return result;
|
|
121711
121728
|
}
|
|
121712
121729
|
|
|
121713
121730
|
function generateKCXmlCondition(ast, matchPath, parentConditions, describe) {
|
|
121714
|
-
const levelAttr = ast.level === "
|
|
121731
|
+
const levelAttr = ast.level === undefined ? "" : ` errorLevel="${(0,_StringUtils__WEBPACK_IMPORTED_MODULE_3__.capitalizeFirstLetter)(ast.level)}"`;
|
|
121715
121732
|
const descriptionAttr = describe != undefined ? ` description="${formatDescribeStatement(ast, matchPath, describe)}"` : "";
|
|
121716
121733
|
const guessedTarget = guessConditionTarget(ast);
|
|
121717
121734
|
const targetAttr = guessedTarget != undefined ? ` target="${guessedTarget}"` : "";
|
|
@@ -121719,7 +121736,7 @@ function generateKCXmlCondition(ast, matchPath, parentConditions, describe) {
|
|
|
121719
121736
|
if (parentConditions != undefined && (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__.arrayIsNotEmpty)(parentConditions)) {
|
|
121720
121737
|
var _parentConditions$map;
|
|
121721
121738
|
|
|
121722
|
-
const condition = parentConditions.length === 1 ? parentConditions[0].condition : (0,
|
|
121739
|
+
const condition = parentConditions.length === 1 ? parentConditions[0].condition : (0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_6__.andKCLangNode)(...((_parentConditions$map = parentConditions === null || parentConditions === void 0 ? void 0 : parentConditions.map(z => z.condition)) !== null && _parentConditions$map !== void 0 ? _parentConditions$map : []));
|
|
121723
121740
|
return `<m:condition match="${matchPath}"${descriptionAttr}${levelAttr}${targetAttr}>\n` + ` <m:when>\n` + (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(condition), 2) + "\n" + (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(ast.expression), 2) + "\n" + ` </m:when>\n` + `</m:condition>`;
|
|
121724
121741
|
}
|
|
121725
121742
|
|
|
@@ -121732,11 +121749,11 @@ function generateBlockKCXmlConditions(block, parents, parentConditions) {
|
|
|
121732
121749
|
let lastDescribeStatement;
|
|
121733
121750
|
|
|
121734
121751
|
for (const statement of block.statements) {
|
|
121735
|
-
if ((0,
|
|
121752
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_6__.isFormulaStatement)(statement)) {
|
|
121736
121753
|
lastDescribeStatement = undefined;
|
|
121737
121754
|
}
|
|
121738
121755
|
|
|
121739
|
-
if ((0,
|
|
121756
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_6__.isEnsureStatement)(statement)) {
|
|
121740
121757
|
result.push(generateKCXmlCondition(statement, matchPath, parentConditions, lastDescribeStatement));
|
|
121741
121758
|
lastDescribeStatement = undefined;
|
|
121742
121759
|
}
|
|
@@ -121745,15 +121762,15 @@ function generateBlockKCXmlConditions(block, parents, parentConditions) {
|
|
|
121745
121762
|
throw new Error("Describe should be placed before assign of ensure statements");
|
|
121746
121763
|
}
|
|
121747
121764
|
|
|
121748
|
-
if ((0,
|
|
121765
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_6__.isDescribeStatement)(statement)) {
|
|
121749
121766
|
lastDescribeStatement = statement;
|
|
121750
121767
|
}
|
|
121751
121768
|
|
|
121752
|
-
if ((0,
|
|
121769
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_6__.isConditionalStatement)(statement)) {
|
|
121753
121770
|
result.push(generateConditionalConditions(statement, [...(parents !== null && parents !== void 0 ? parents : []), block], parentConditions));
|
|
121754
121771
|
}
|
|
121755
121772
|
|
|
121756
|
-
if ((0,
|
|
121773
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_6__.isBlockStatement)(statement)) {
|
|
121757
121774
|
result.push(generateBlockKCXmlConditions(statement, [...(parents !== null && parents !== void 0 ? parents : []), block], parentConditions));
|
|
121758
121775
|
}
|
|
121759
121776
|
}
|
|
@@ -121767,7 +121784,7 @@ function generateConditionalConditions(conditionalStatement, parents, parentCond
|
|
|
121767
121784
|
let lastDescribeStatement;
|
|
121768
121785
|
|
|
121769
121786
|
for (const x of conditionalStatement.statements) {
|
|
121770
|
-
if ((0,
|
|
121787
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_6__.isEnsureStatement)(x)) {
|
|
121771
121788
|
result.push(generateKCXmlCondition(x, matchPath, [...(parentConditions !== null && parentConditions !== void 0 ? parentConditions : []), conditionalStatement], lastDescribeStatement));
|
|
121772
121789
|
lastDescribeStatement = undefined;
|
|
121773
121790
|
}
|
|
@@ -121776,15 +121793,15 @@ function generateConditionalConditions(conditionalStatement, parents, parentCond
|
|
|
121776
121793
|
throw new Error("Describe should be placed before assign of ensure statements");
|
|
121777
121794
|
}
|
|
121778
121795
|
|
|
121779
|
-
if ((0,
|
|
121796
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_6__.isDescribeStatement)(x)) {
|
|
121780
121797
|
lastDescribeStatement = x;
|
|
121781
121798
|
}
|
|
121782
121799
|
|
|
121783
|
-
if ((0,
|
|
121800
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_6__.isConditionalStatement)(x)) {
|
|
121784
121801
|
result.push(generateConditionalConditions(x, parents, [...(parentConditions !== null && parentConditions !== void 0 ? parentConditions : []), conditionalStatement]));
|
|
121785
121802
|
}
|
|
121786
121803
|
|
|
121787
|
-
if ((0,
|
|
121804
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_6__.isBlockStatement)(x)) {
|
|
121788
121805
|
result.push(generateBlockKCXmlConditions(x, parents, [...(parentConditions !== null && parentConditions !== void 0 ? parentConditions : []), conditionalStatement]));
|
|
121789
121806
|
}
|
|
121790
121807
|
}
|
|
@@ -121818,7 +121835,7 @@ function generateKCXml(blocks) {
|
|
|
121818
121835
|
|
|
121819
121836
|
class KCLangToXmlTranspiler {
|
|
121820
121837
|
static transpile(kcLang, customParser) {
|
|
121821
|
-
const parser = customParser !== null && customParser !== void 0 ? customParser :
|
|
121838
|
+
const parser = customParser !== null && customParser !== void 0 ? customParser : _Antlr_KCLangAntlrParser__WEBPACK_IMPORTED_MODULE_7__.KCLangAntlrParser.parse;
|
|
121822
121839
|
const kcxml = generateKCXml(parser(kcLang).blocks);
|
|
121823
121840
|
return kcxml;
|
|
121824
121841
|
}
|
|
@@ -128879,12 +128896,31 @@ class DataDeclarationGenerationContext {
|
|
|
128879
128896
|
return {};
|
|
128880
128897
|
}
|
|
128881
128898
|
|
|
128899
|
+
*getAllParentPages(node) {
|
|
128900
|
+
let currentNode = node;
|
|
128901
|
+
|
|
128902
|
+
while (currentNode != undefined) {
|
|
128903
|
+
const parent = currentNode.findParentOfType(_markupGenerator_ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_8__.PageNode);
|
|
128904
|
+
|
|
128905
|
+
if (parent != undefined) {
|
|
128906
|
+
yield parent;
|
|
128907
|
+
}
|
|
128908
|
+
|
|
128909
|
+
currentNode = parent;
|
|
128910
|
+
}
|
|
128911
|
+
}
|
|
128912
|
+
|
|
128882
128913
|
getSections(node, requisite, requisiteMode = RequisiteSectionMode.AsRequisiteAttribute) {
|
|
128883
128914
|
const page = node instanceof _markupGenerator_ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_8__.PageNode ? node : node.findParentOfType(_markupGenerator_ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_8__.PageNode);
|
|
128884
128915
|
const pageName = page === null || page === void 0 ? void 0 : page.id;
|
|
128916
|
+
const pageRequiresResolution = page != undefined && (page.multiple || Iterator.from(this.getAllParentPages(page)).some(x => {
|
|
128917
|
+
var _x$multiple;
|
|
128918
|
+
|
|
128919
|
+
return (_x$multiple = x.multiple) !== null && _x$multiple !== void 0 ? _x$multiple : false;
|
|
128920
|
+
}));
|
|
128885
128921
|
|
|
128886
128922
|
if (!(node instanceof _markupGenerator_ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_8__.PageNode)) {
|
|
128887
|
-
if (
|
|
128923
|
+
if (pageRequiresResolution) {
|
|
128888
128924
|
return [{
|
|
128889
128925
|
fn: `#getSectionFunction('${pageName}')#`
|
|
128890
128926
|
}];
|
|
@@ -129381,7 +129417,8 @@ function isFileExists(directoryPath) {
|
|
|
129381
129417
|
}
|
|
129382
129418
|
function normalizeDocument(documentJson) {
|
|
129383
129419
|
const availableChildren = documentJson.availableChildren != undefined ? documentJson.availableChildren : {
|
|
129384
|
-
|
|
129420
|
+
children: [],
|
|
129421
|
+
singleChild: []
|
|
129385
129422
|
};
|
|
129386
129423
|
const document = { ...documentJson,
|
|
129387
129424
|
availableChildren: availableChildren
|
|
@@ -129631,7 +129668,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
129631
129668
|
/* harmony import */ var _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../markupGenerator/Serializer/Properties/SinglePropertyDeserializer */ "./Generator/src/generators/markupGenerator/Serializer/Properties/SinglePropertyDeserializer.ts");
|
|
129632
129669
|
/* harmony import */ var _markupGenerator_Serializer_Properties_ValuesSources_AttributeValueSource__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../markupGenerator/Serializer/Properties/ValuesSources/AttributeValueSource */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesSources/AttributeValueSource.ts");
|
|
129633
129670
|
/* harmony import */ var _markupGenerator_Serializer_Properties_ValuesSources_SkipAttributeValueSource__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../markupGenerator/Serializer/Properties/ValuesSources/SkipAttributeValueSource */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesSources/SkipAttributeValueSource.ts");
|
|
129634
|
-
/* harmony import */ var
|
|
129671
|
+
/* harmony import */ var _markupGenerator_Serializer_Properties_ValuesSources_MarkupOrAttributeValueSource__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../markupGenerator/Serializer/Properties/ValuesSources/MarkupOrAttributeValueSource */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesSources/MarkupOrAttributeValueSource.ts");
|
|
129672
|
+
/* harmony import */ var _markupGenerator_Serializer_Properties_ValuesSources_ChildrenNodesValueSource__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../markupGenerator/Serializer/Properties/ValuesSources/ChildrenNodesValueSource */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesSources/ChildrenNodesValueSource.ts");
|
|
129673
|
+
/* harmony import */ var _markupGenerator_Serializer_Properties_ValuesSources_SingleChildValueSource__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../markupGenerator/Serializer/Properties/ValuesSources/SingleChildValueSource */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesSources/SingleChildValueSource.ts");
|
|
129674
|
+
/* harmony import */ var _DocumentationTypes__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./DocumentationTypes */ "./Generator/src/generators/DocumentationGenerator/DocumentationTypes.ts");
|
|
129675
|
+
|
|
129676
|
+
|
|
129677
|
+
|
|
129635
129678
|
|
|
129636
129679
|
|
|
129637
129680
|
|
|
@@ -129657,21 +129700,135 @@ function buildSugarNodeDocumentation(sugarNodeClass) {
|
|
|
129657
129700
|
const documentationFilesContext = metadata.documentationFilesContext;
|
|
129658
129701
|
const example = (0,_common_RequireContext_LoadDocumentationFileFormContext__WEBPACK_IMPORTED_MODULE_2__.loadDocumentationFileFormContext)(documentationFilesContext, "example.md");
|
|
129659
129702
|
const markdownDescription = getMarkdownDescription(documentationFilesContext, metadata, sugarNodeClass);
|
|
129703
|
+
const {
|
|
129704
|
+
markupAttributes,
|
|
129705
|
+
attributes
|
|
129706
|
+
} = buildMarkupAndAttributesInfo(propertySerializers, documentationFilesContext);
|
|
129707
|
+
const {
|
|
129708
|
+
children,
|
|
129709
|
+
singleChild,
|
|
129710
|
+
availableAnyChildren
|
|
129711
|
+
} = buildAvailableChildrenInfo(propertySerializers, documentationFilesContext);
|
|
129660
129712
|
return {
|
|
129661
129713
|
name: metadata.sugarNodeName.toLowerCase(),
|
|
129662
129714
|
availableChildren: {
|
|
129663
|
-
|
|
129715
|
+
children: children,
|
|
129716
|
+
singleChild: singleChild,
|
|
129717
|
+
availableAnyChildren: availableAnyChildren
|
|
129664
129718
|
},
|
|
129665
129719
|
example: example,
|
|
129666
129720
|
shortMarkdownDescription: metadata.description,
|
|
129667
129721
|
markdownDescription: markdownDescription,
|
|
129668
|
-
attributes:
|
|
129722
|
+
attributes: attributes,
|
|
129723
|
+
markupAttributes: markupAttributes
|
|
129669
129724
|
};
|
|
129670
129725
|
}
|
|
129671
129726
|
|
|
129672
|
-
function
|
|
129673
|
-
|
|
129727
|
+
function buildAvailableChildrenInfo(propertySerializers, documentationFilesContext) {
|
|
129728
|
+
if (propertySerializers.length === 0) {
|
|
129729
|
+
return {
|
|
129730
|
+
children: [],
|
|
129731
|
+
singleChild: []
|
|
129732
|
+
};
|
|
129733
|
+
}
|
|
129734
|
+
|
|
129735
|
+
const children = propertySerializers.map(x => buildAvailableChildrenDocs(x, documentationFilesContext)).flat();
|
|
129736
|
+
const singleChild = propertySerializers.map(x => buildAvailableSingleChildDocs(x, documentationFilesContext)).flat();
|
|
129737
|
+
const availableAnyChildren = propertySerializers.map(x => buildAvailableSugarChildrenDocs(x, documentationFilesContext)).some(x => x === true);
|
|
129738
|
+
return {
|
|
129739
|
+
children: children,
|
|
129740
|
+
singleChild: singleChild,
|
|
129741
|
+
availableAnyChildren: availableAnyChildren
|
|
129742
|
+
};
|
|
129743
|
+
}
|
|
129674
129744
|
|
|
129745
|
+
function buildAvailableChildrenDocs(propertyDeserializer, documentationFilesContext) {
|
|
129746
|
+
if (!(propertyDeserializer instanceof _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_5__.SinglePropertyDeserializer)) {
|
|
129747
|
+
return [];
|
|
129748
|
+
}
|
|
129749
|
+
|
|
129750
|
+
if (propertyDeserializer.propertyName === "children") {
|
|
129751
|
+
return [];
|
|
129752
|
+
}
|
|
129753
|
+
|
|
129754
|
+
if (propertyDeserializer.valueSource instanceof _markupGenerator_Serializer_Properties_ValuesSources_ChildrenNodesValueSource__WEBPACK_IMPORTED_MODULE_9__.ChildrenNodesValueSource) {
|
|
129755
|
+
const childrenNodes = propertyDeserializer.valueSource.nodeClasses.map(buildSugarNodeDocumentation);
|
|
129756
|
+
return childrenNodes;
|
|
129757
|
+
}
|
|
129758
|
+
|
|
129759
|
+
return [];
|
|
129760
|
+
}
|
|
129761
|
+
|
|
129762
|
+
function buildAvailableSugarChildrenDocs(propertyDeserializer, documentationFilesContext) {
|
|
129763
|
+
if (!(propertyDeserializer instanceof _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_5__.SinglePropertyDeserializer)) {
|
|
129764
|
+
return false;
|
|
129765
|
+
}
|
|
129766
|
+
|
|
129767
|
+
if (propertyDeserializer.propertyName === "children") {
|
|
129768
|
+
return true;
|
|
129769
|
+
}
|
|
129770
|
+
|
|
129771
|
+
return false;
|
|
129772
|
+
}
|
|
129773
|
+
|
|
129774
|
+
function buildAvailableSingleChildDocs(propertyDeserializer, documentationFilesContext) {
|
|
129775
|
+
if (!(propertyDeserializer instanceof _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_5__.SinglePropertyDeserializer)) {
|
|
129776
|
+
return [];
|
|
129777
|
+
}
|
|
129778
|
+
|
|
129779
|
+
if (propertyDeserializer.valueSource instanceof _markupGenerator_Serializer_Properties_ValuesSources_SingleChildValueSource__WEBPACK_IMPORTED_MODULE_10__.SingleChildValueSource) {
|
|
129780
|
+
const childrenNodes = propertyDeserializer.valueSource.nodeClasses.map(buildSugarNodeDocumentation);
|
|
129781
|
+
return childrenNodes;
|
|
129782
|
+
}
|
|
129783
|
+
|
|
129784
|
+
return [];
|
|
129785
|
+
}
|
|
129786
|
+
|
|
129787
|
+
function buildMarkupAndAttributesInfo(propertySerializers, documentationFilesContext) {
|
|
129788
|
+
if (propertySerializers.length === 0) {
|
|
129789
|
+
return {
|
|
129790
|
+
attributes: [],
|
|
129791
|
+
markupAttributes: []
|
|
129792
|
+
};
|
|
129793
|
+
}
|
|
129794
|
+
|
|
129795
|
+
const attributes = propertySerializers.map(x => buildAttributeDocs(x, documentationFilesContext)).flat();
|
|
129796
|
+
const markupAttributes = propertySerializers.map(x => buildMarkupAttributeDocs(x, documentationFilesContext)).flat();
|
|
129797
|
+
return {
|
|
129798
|
+
attributes: attributes,
|
|
129799
|
+
markupAttributes: markupAttributes
|
|
129800
|
+
};
|
|
129801
|
+
}
|
|
129802
|
+
|
|
129803
|
+
function buildMarkupAttributeDocs(propertyDeserializer, documentationFilesContext) {
|
|
129804
|
+
if (!(propertyDeserializer instanceof _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_5__.SinglePropertyDeserializer)) {
|
|
129805
|
+
return [];
|
|
129806
|
+
}
|
|
129807
|
+
|
|
129808
|
+
if (propertyDeserializer.valueSource instanceof _markupGenerator_Serializer_Properties_ValuesSources_MarkupOrAttributeValueSource__WEBPACK_IMPORTED_MODULE_8__.MarkupOrAttributeValueSource) {
|
|
129809
|
+
var _propertyDeserializer;
|
|
129810
|
+
|
|
129811
|
+
let markdownDescription = "";
|
|
129812
|
+
|
|
129813
|
+
if (documentationFilesContext != undefined) {
|
|
129814
|
+
markdownDescription = (0,_common_RequireContext_LoadDocumentationFileFormContext__WEBPACK_IMPORTED_MODULE_2__.loadDocumentationFileFormContext)(documentationFilesContext, `${propertyDeserializer.valueSource.attrName}.attr.md`);
|
|
129815
|
+
}
|
|
129816
|
+
|
|
129817
|
+
return [{
|
|
129818
|
+
name: propertyDeserializer.valueSource.attrName,
|
|
129819
|
+
valueTypes: (0,_DocumentationTypes__WEBPACK_IMPORTED_MODULE_11__.valueParserToAttributeType)(propertyDeserializer.valueSource.valueParser),
|
|
129820
|
+
shortMarkdownDescription: (_propertyDeserializer = propertyDeserializer.propertyDescription) !== null && _propertyDeserializer !== void 0 ? _propertyDeserializer : "--",
|
|
129821
|
+
markdownDescription: markdownDescription,
|
|
129822
|
+
defaultValue: undefined,
|
|
129823
|
+
required: (0,_DocumentationTypes__WEBPACK_IMPORTED_MODULE_11__.isRequiredValueParser)(propertyDeserializer.valueSource.valueParser),
|
|
129824
|
+
deprecated: false
|
|
129825
|
+
}];
|
|
129826
|
+
}
|
|
129827
|
+
|
|
129828
|
+
return [];
|
|
129829
|
+
}
|
|
129830
|
+
|
|
129831
|
+
function buildAttributeDocs(propertyDeserializer, documentationFilesContext) {
|
|
129675
129832
|
if (propertyDeserializer instanceof _markupGenerator_Serializer_Properties_MixinPropertyDeserializer__WEBPACK_IMPORTED_MODULE_4__.MixinPropertyDeserializer) {
|
|
129676
129833
|
return propertyDeserializer.getPropertyDeserializers().map(x => buildAttributeDocs(x, documentationFilesContext)).flat();
|
|
129677
129834
|
}
|
|
@@ -129681,7 +129838,7 @@ function buildAttributeDocs(propertyDeserializer, documentationFilesContext) {
|
|
|
129681
129838
|
}
|
|
129682
129839
|
|
|
129683
129840
|
if (propertyDeserializer.valueSource instanceof _markupGenerator_Serializer_Properties_ValuesSources_AttributeValueSource__WEBPACK_IMPORTED_MODULE_6__.AttributeValueSource) {
|
|
129684
|
-
var
|
|
129841
|
+
var _propertyDeserializer2;
|
|
129685
129842
|
|
|
129686
129843
|
let markdownDescription = "";
|
|
129687
129844
|
|
|
@@ -129691,11 +129848,11 @@ function buildAttributeDocs(propertyDeserializer, documentationFilesContext) {
|
|
|
129691
129848
|
|
|
129692
129849
|
return [{
|
|
129693
129850
|
name: propertyDeserializer.valueSource.attrName,
|
|
129694
|
-
valueTypes: (0,
|
|
129695
|
-
shortMarkdownDescription: (
|
|
129851
|
+
valueTypes: (0,_DocumentationTypes__WEBPACK_IMPORTED_MODULE_11__.valueParserToAttributeType)(propertyDeserializer.valueSource.valueParser),
|
|
129852
|
+
shortMarkdownDescription: (_propertyDeserializer2 = propertyDeserializer.propertyDescription) !== null && _propertyDeserializer2 !== void 0 ? _propertyDeserializer2 : "--",
|
|
129696
129853
|
markdownDescription: markdownDescription,
|
|
129697
129854
|
defaultValue: undefined,
|
|
129698
|
-
required: (0,
|
|
129855
|
+
required: (0,_DocumentationTypes__WEBPACK_IMPORTED_MODULE_11__.isRequiredValueParser)(propertyDeserializer.valueSource.valueParser),
|
|
129699
129856
|
deprecated: false
|
|
129700
129857
|
}];
|
|
129701
129858
|
}
|
|
@@ -129712,15 +129869,7 @@ function buildAttributeDocs(propertyDeserializer, documentationFilesContext) {
|
|
|
129712
129869
|
}];
|
|
129713
129870
|
}
|
|
129714
129871
|
|
|
129715
|
-
return [
|
|
129716
|
-
name: propertyDeserializer.propertyName,
|
|
129717
|
-
valueTypes: [],
|
|
129718
|
-
shortMarkdownDescription: (_propertyDeserializer2 = propertyDeserializer.propertyDescription) !== null && _propertyDeserializer2 !== void 0 ? _propertyDeserializer2 : "--",
|
|
129719
|
-
markdownDescription: "",
|
|
129720
|
-
defaultValue: undefined,
|
|
129721
|
-
required: undefined,
|
|
129722
|
-
deprecated: false
|
|
129723
|
-
}];
|
|
129872
|
+
return [];
|
|
129724
129873
|
}
|
|
129725
129874
|
|
|
129726
129875
|
/***/ }),
|
|
@@ -136841,12 +136990,23 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
136841
136990
|
}
|
|
136842
136991
|
|
|
136843
136992
|
findOptionalSections(node) {
|
|
136844
|
-
const optionalPages = node.pages.filter(page =>
|
|
136993
|
+
const optionalPages = this.getAllPages(node.pages).filter(page => {
|
|
136994
|
+
var _page$optional;
|
|
136995
|
+
|
|
136996
|
+
return ((_page$optional = page.optional) !== null && _page$optional !== void 0 ? _page$optional : false) && !page.multiple;
|
|
136997
|
+
}).map(page => ({
|
|
136998
|
+
id: page.id,
|
|
136999
|
+
path: page.getFullPath().toLegacyPath()
|
|
137000
|
+
})).filter(x => (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.isNotNullOrUndefined)(x.id));
|
|
136845
137001
|
return optionalPages;
|
|
136846
137002
|
}
|
|
136847
137003
|
|
|
137004
|
+
getAllPages(pages) {
|
|
137005
|
+
const allPages = pages.flatMap(page => this.getAllPages(page.pages));
|
|
137006
|
+
return pages.concat(allPages);
|
|
137007
|
+
}
|
|
137008
|
+
|
|
136848
137009
|
buildBaseFormWithContent(context, formContent, formNode) {
|
|
136849
|
-
this.assertHasNowOptionalNestedPagesInsideMultipleUnits(formNode);
|
|
136850
137010
|
const pageNodes = this.getFormPages(formNode);
|
|
136851
137011
|
const formMarkupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_5__.componentMarkupBuilder)("BaseForm");
|
|
136852
137012
|
|
|
@@ -136864,20 +137024,6 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
136864
137024
|
return result;
|
|
136865
137025
|
}
|
|
136866
137026
|
|
|
136867
|
-
assertHasNowOptionalNestedPagesInsideMultipleUnits(formNode) {
|
|
136868
|
-
function assert(pages, hasMultipleUnitsInParents) {
|
|
136869
|
-
for (const page of pages) {
|
|
136870
|
-
if (hasMultipleUnitsInParents && page.optional && !page.multiple) {
|
|
136871
|
-
throw new Error(`Check page with id '${page.id}'. Optional nested pages not supported: actions 'add', 'remove', 'check is empty' does not work for optional nested of multiple instance`);
|
|
136872
|
-
}
|
|
136873
|
-
|
|
136874
|
-
assert(page.pages, hasMultipleUnitsInParents || !!page.multiple);
|
|
136875
|
-
}
|
|
136876
|
-
}
|
|
136877
|
-
|
|
136878
|
-
assert(formNode.pages, false);
|
|
136879
|
-
}
|
|
136880
|
-
|
|
136881
137027
|
getFormPages(formNode) {
|
|
136882
137028
|
const pages = [];
|
|
136883
137029
|
const queue = [...formNode.pages];
|
|
@@ -137041,8 +137187,11 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
137041
137187
|
}
|
|
137042
137188
|
|
|
137043
137189
|
if (pageNode.multiple) {
|
|
137190
|
+
var _pageNode$unitsCountF;
|
|
137191
|
+
|
|
137044
137192
|
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(pageNode));
|
|
137045
137193
|
markupBuilder.prop(x => x.multiple).set(true);
|
|
137194
|
+
markupBuilder.prop(x => x.unitsCountForPaging).set((_pageNode$unitsCountF = pageNode.unitsCountForPaging) !== null && _pageNode$unitsCountF !== void 0 ? _pageNode$unitsCountF : node.defaultUnitsCountForPaging);
|
|
137046
137195
|
} else if (pageNode.path != undefined) {
|
|
137047
137196
|
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(pageNode));
|
|
137048
137197
|
}
|
|
@@ -137213,7 +137362,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
137213
137362
|
|
|
137214
137363
|
|
|
137215
137364
|
|
|
137216
|
-
var _dec, _dec2, _class, _class2, _descriptor, _dec3, _dec4, _dec5, _class4, _class5, _descriptor2, _descriptor3, _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, _class7, _class8, _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;
|
|
137365
|
+
var _dec, _dec2, _class, _class2, _descriptor, _dec3, _dec4, _dec5, _class4, _class5, _descriptor2, _descriptor3, _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, _class7, _class8, _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;
|
|
137217
137366
|
|
|
137218
137367
|
|
|
137219
137368
|
|
|
@@ -137260,7 +137409,7 @@ let ModalTitleNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_M
|
|
|
137260
137409
|
initializer: null
|
|
137261
137410
|
})), _class5)) || _class4);
|
|
137262
137411
|
let FormNode = (_dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("form", `Корневой элемент формы.`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form sync recursive .md$")), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingScopeMixinNode), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("userpicklist", [_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_10__.UserPicklistNode]), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("tour", [_Tour_TourNode__WEBPACK_IMPORTED_MODULE_9__.TourNode]), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("fetchfunctions", [FetchFunctionsReferenceNode]), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("modalIE8", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("m", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("uf", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("forceNavigate", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hideUnitsAdder", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hasRegionalForms", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.UntypedUsage), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("controls"), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("modalheader", [ModalTitleNode]), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("import", [_SugarNodes_Nodes_ImportNode__WEBPACK_IMPORTED_MODULE_7__.ImportNode]), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("panel", [_Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_12__.PanelNode]), _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__.attr)("simple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("schemaValidations", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("isReadOnly", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Отобразить форму в режиме чтения - все редактирование будет отключено (включая интерактивные элементы - валидации, фокус, подсветки тултипы и тд)"), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("ieDeprecationWarningEnabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Отображать окно с предупреждением, что некоторые функции в ie не работают, с предложением скачать другие браузеры. Не блокирует взаимодействие"), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("compactActionPanel", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Отображать компактную плашку (без надписей) на панели действий слева"), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("ieSizeLimitation", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Это флаг включает отображение заглушки для IE, если фуф больше определенного размера`), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("templates", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Управляет влючение возможность создавать и применять шаблоны keweb-а (кнопка в меню)`), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("plain", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Форма без боковой панели, которая будет содержать один раздел`), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("requisite", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Есть подозрение что это свойство не используется`), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, ``), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("cssWidth", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Более преоритетный чем обычный width, задается как css`), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("buttonSettingsType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType["enum"](_Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_11__.ButtonSettingsTypeEnum.Revise, _Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_11__.ButtonSettingsTypeEnum.DigitalWarrant), `Разные настройки кнопок отправить и действий с формой. Сейчас есть только ${_Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_11__.ButtonSettingsTypeEnum.Revise} / ${_Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_11__.ButtonSettingsTypeEnum.DigitalWarrant} который будет делать кнопки в плашке для simple form как у ИОН или Сверке ФСС`), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("validationBeforeSend", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Локальная проверка, которая не даст отправить форму, если есть невалидные поля.\n
|
|
137263
|
-
После проверки фокус падает на невалидное поле, если это возможно. Например на input`), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("padding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.lengthUnit, ``), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("maxunitscount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `По дефолту 15. Если количество разделов превышает \`maxunitscount\`, начинает работать частичный рендеринг. Отрисовывается столько разделов вниз от текущего, сколько задано в настройке, а при скроллинге вниз рендерятся следующие. Используется для больших форм с множественными разделами (напр, ЕНВД, Прибыль), помогает облегчить загрузку редактора`), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("unitscount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, ``), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("transferText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.localizedString, `Текст в лайтбоксе, который появляется по кнопке "Перенести данные"`), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("navigationLimit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Количество множественных разделов при котором навигация сворачивается (в левой колонке отображаются не все экземпляры), как выглядит можешь посмотреть в ЕНВД при количестве разделов 2 больше 15`), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("uploadFufButtonEnabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Включает кнопку загрузить отчет в "Другие действия" в панели слева.`), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.markupAttr)("fufSizeTooLargeErrorText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Описание ошибки для большого размера файла`), _dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("uploadFufLightboxHideDemandNameButton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Отключает кнопку "Показать имя требования" внутри лайтбокса Загрузки файла.`), _dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("uploadInquiryButtonEnabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Включает кнопку загрузить справки в панели слева. (только для 6ндфл и РСВ)`), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("type", [_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_3__.TypeNode]),
|
|
137412
|
+
После проверки фокус падает на невалидное поле, если это возможно. Например на input`), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("padding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.lengthUnit, ``), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("maxunitscount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `По дефолту 15. Если количество разделов превышает \`maxunitscount\`, начинает работать частичный рендеринг. Отрисовывается столько разделов вниз от текущего, сколько задано в настройке, а при скроллинге вниз рендерятся следующие. Используется для больших форм с множественными разделами (напр, ЕНВД, Прибыль), помогает облегчить загрузку редактора`), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("unitscount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, ``), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("transferText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.localizedString, `Текст в лайтбоксе, который появляется по кнопке "Перенести данные"`), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("navigationLimit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Количество множественных разделов при котором навигация сворачивается (в левой колонке отображаются не все экземпляры), как выглядит можешь посмотреть в ЕНВД при количестве разделов 2 больше 15`), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("uploadFufButtonEnabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Включает кнопку загрузить отчет в "Другие действия" в панели слева.`), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.markupAttr)("fufSizeTooLargeErrorText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Описание ошибки для большого размера файла`), _dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("uploadFufLightboxHideDemandNameButton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Отключает кнопку "Показать имя требования" внутри лайтбокса Загрузки файла.`), _dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("uploadInquiryButtonEnabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Включает кнопку загрузить справки в панели слева. (только для 6ндфл и РСВ)`), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("defaultUnitsCountForPaging", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Количество инстансов множественного раздела на котором включается паджинация раздела`), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("type", [_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_3__.TypeNode]), _dec46 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("types", [_TypeListNode__WEBPACK_IMPORTED_MODULE_13__.TypeListNode]), _dec6(_class7 = (_class8 = class FormNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.SugarNodeBase {
|
|
137264
137413
|
constructor(...args) {
|
|
137265
137414
|
super(...args);
|
|
137266
137415
|
|
|
@@ -137338,9 +137487,11 @@ let FormNode = (_dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
|
|
|
137338
137487
|
|
|
137339
137488
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadInquiryButtonEnabled", _descriptor40, this);
|
|
137340
137489
|
|
|
137341
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
137490
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "defaultUnitsCountForPaging", _descriptor41, this);
|
|
137342
137491
|
|
|
137343
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
137492
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "types", _descriptor42, this);
|
|
137493
|
+
|
|
137494
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "typeLists", _descriptor43, this);
|
|
137344
137495
|
}
|
|
137345
137496
|
|
|
137346
137497
|
getOwnPath() {
|
|
@@ -137540,12 +137691,17 @@ let FormNode = (_dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
|
|
|
137540
137691
|
enumerable: true,
|
|
137541
137692
|
writable: true,
|
|
137542
137693
|
initializer: null
|
|
137543
|
-
}), _descriptor41 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "
|
|
137694
|
+
}), _descriptor41 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "defaultUnitsCountForPaging", [_dec44], {
|
|
137695
|
+
configurable: true,
|
|
137696
|
+
enumerable: true,
|
|
137697
|
+
writable: true,
|
|
137698
|
+
initializer: null
|
|
137699
|
+
}), _descriptor42 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "types", [_dec45], {
|
|
137544
137700
|
configurable: true,
|
|
137545
137701
|
enumerable: true,
|
|
137546
137702
|
writable: true,
|
|
137547
137703
|
initializer: null
|
|
137548
|
-
}),
|
|
137704
|
+
}), _descriptor43 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "typeLists", [_dec46], {
|
|
137549
137705
|
configurable: true,
|
|
137550
137706
|
enumerable: true,
|
|
137551
137707
|
writable: true,
|
|
@@ -138053,7 +138209,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
138053
138209
|
|
|
138054
138210
|
|
|
138055
138211
|
|
|
138056
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22;
|
|
138212
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23;
|
|
138057
138213
|
|
|
138058
138214
|
|
|
138059
138215
|
|
|
@@ -138061,7 +138217,7 @@ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11
|
|
|
138061
138217
|
|
|
138062
138218
|
|
|
138063
138219
|
|
|
138064
|
-
let PageNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("page", `Страница (раздел)`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Page sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("id", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Уникальный идентификатор странцы. Все страницы в форме должны иметь уникальный идентификатор. 1111`), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("template", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType["enum"]("default", "title", "multiple", "diadoc"), 'Для множественных разделов необходимо указать `template="multiple"`, для обычных разделов `template="default"`'), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.bindingPathLink)} данного элемента`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("headerpanel", [_UnitParts_HeaderPanel_HeaderPanelNode__WEBPACK_IMPORTED_MODULE_3__.HeaderPanelNode]), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.deprecatedAttr)("title", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.Removed), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.deprecatedAttr)("formName", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.Removed), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("showOnDemand", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Раздел не будет отображаться на странице, пока не будет вызван явно. Например, через механизм отображения раздела в разделе.`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("onNavigateFromErrorLog", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется перед попыткой навигации в контрол внутри раздела"), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("orientation", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType["enum"]("landscape"), `Ориентация страницы. При значении landscape станницы займёт всю доступную ширину экрана`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("navigationName", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.localizedString, `Название Раздела в меню, если в сахаре есть отдельное описание навигации (unitList), то указывать не нужно`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("height", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Начальная высота раздела`), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("minHeight", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Минимальная высота раздела`), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("multiple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Обозначение множественного раздела`), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("multipleAppearance", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType["enum"]("nested", "flat"), "Представление множественных разделов: вложенное или плоское"),
|
|
138220
|
+
let PageNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("page", `Страница (раздел)`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Page sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("id", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Уникальный идентификатор странцы. Все страницы в форме должны иметь уникальный идентификатор. 1111`), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("template", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType["enum"]("default", "title", "multiple", "diadoc"), 'Для множественных разделов необходимо указать `template="multiple"`, для обычных разделов `template="default"`'), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.bindingPathLink)} данного элемента`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("headerpanel", [_UnitParts_HeaderPanel_HeaderPanelNode__WEBPACK_IMPORTED_MODULE_3__.HeaderPanelNode]), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.deprecatedAttr)("title", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.Removed), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.deprecatedAttr)("formName", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.Removed), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("showOnDemand", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Раздел не будет отображаться на странице, пока не будет вызван явно. Например, через механизм отображения раздела в разделе.`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("onNavigateFromErrorLog", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется перед попыткой навигации в контрол внутри раздела"), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("orientation", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType["enum"]("landscape"), `Ориентация страницы. При значении landscape станницы займёт всю доступную ширину экрана`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("navigationName", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.localizedString, `Название Раздела в меню, если в сахаре есть отдельное описание навигации (unitList), то указывать не нужно`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("height", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Начальная высота раздела`), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("minHeight", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Минимальная высота раздела`), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("multiple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Обозначение множественного раздела`), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("unitsCountForPaging", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Количество инстансов множественного раздела на котором включается паджинация раздела`), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("multipleAppearance", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType["enum"]("nested", "flat"), "Представление множественных разделов: вложенное или плоское"), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Опциональный раздел`), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("pageActions", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.objectLiteral(), `Атрибут для кастомизации действий с разделом`), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("navigationLimit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Количество экземпляров множественного раздела после которого в левом меню будет включаться компактный режим отображения разделов. По умолчанию: 15. Используется только для множественных разделов`), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("addingHint", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.localizedString, `Подсказка на кнопке добавления раздела в боковом меню. Используется только для множественных разделов`), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)("page"), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("title", [_PageTitleNode__WEBPACK_IMPORTED_MODULE_8__.PageTitleNode]), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("visible", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.javaScriptExpressionLink)} для условного скрытия раздела`), _dec(_class = (_class2 = class PageNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
|
|
138065
138221
|
constructor(...args) {
|
|
138066
138222
|
super(...args);
|
|
138067
138223
|
|
|
@@ -138091,23 +138247,25 @@ let PageNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5
|
|
|
138091
138247
|
|
|
138092
138248
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multiple", _descriptor13, this);
|
|
138093
138249
|
|
|
138094
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
138250
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "unitsCountForPaging", _descriptor14, this);
|
|
138095
138251
|
|
|
138096
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
138252
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multipleAppearance", _descriptor15, this);
|
|
138097
138253
|
|
|
138098
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
138254
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor16, this);
|
|
138099
138255
|
|
|
138100
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
138256
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pageActions", _descriptor17, this);
|
|
138101
138257
|
|
|
138102
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
138258
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationLimit", _descriptor18, this);
|
|
138103
138259
|
|
|
138104
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
138260
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "addingHint", _descriptor19, this);
|
|
138105
138261
|
|
|
138106
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
138262
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pages", _descriptor20, this);
|
|
138107
138263
|
|
|
138108
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
138264
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor21, this);
|
|
138265
|
+
|
|
138266
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "title", _descriptor22, this);
|
|
138109
138267
|
|
|
138110
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "visible",
|
|
138268
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "visible", _descriptor23, this);
|
|
138111
138269
|
}
|
|
138112
138270
|
|
|
138113
138271
|
getOwnPath() {
|
|
@@ -138185,47 +138343,52 @@ let PageNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5
|
|
|
138185
138343
|
enumerable: true,
|
|
138186
138344
|
writable: true,
|
|
138187
138345
|
initializer: null
|
|
138188
|
-
}), _descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
138346
|
+
}), _descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "unitsCountForPaging", [_dec15], {
|
|
138347
|
+
configurable: true,
|
|
138348
|
+
enumerable: true,
|
|
138349
|
+
writable: true,
|
|
138350
|
+
initializer: null
|
|
138351
|
+
}), _descriptor15 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "multipleAppearance", [_dec16], {
|
|
138189
138352
|
configurable: true,
|
|
138190
138353
|
enumerable: true,
|
|
138191
138354
|
writable: true,
|
|
138192
138355
|
initializer: null
|
|
138193
|
-
}),
|
|
138356
|
+
}), _descriptor16 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "optional", [_dec17], {
|
|
138194
138357
|
configurable: true,
|
|
138195
138358
|
enumerable: true,
|
|
138196
138359
|
writable: true,
|
|
138197
138360
|
initializer: null
|
|
138198
|
-
}),
|
|
138361
|
+
}), _descriptor17 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pageActions", [_dec18], {
|
|
138199
138362
|
configurable: true,
|
|
138200
138363
|
enumerable: true,
|
|
138201
138364
|
writable: true,
|
|
138202
138365
|
initializer: null
|
|
138203
|
-
}),
|
|
138366
|
+
}), _descriptor18 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "navigationLimit", [_dec19], {
|
|
138204
138367
|
configurable: true,
|
|
138205
138368
|
enumerable: true,
|
|
138206
138369
|
writable: true,
|
|
138207
138370
|
initializer: null
|
|
138208
|
-
}),
|
|
138371
|
+
}), _descriptor19 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "addingHint", [_dec20], {
|
|
138209
138372
|
configurable: true,
|
|
138210
138373
|
enumerable: true,
|
|
138211
138374
|
writable: true,
|
|
138212
138375
|
initializer: null
|
|
138213
|
-
}),
|
|
138376
|
+
}), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pages", [_dec21], {
|
|
138214
138377
|
configurable: true,
|
|
138215
138378
|
enumerable: true,
|
|
138216
138379
|
writable: true,
|
|
138217
138380
|
initializer: null
|
|
138218
|
-
}),
|
|
138381
|
+
}), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec22], {
|
|
138219
138382
|
configurable: true,
|
|
138220
138383
|
enumerable: true,
|
|
138221
138384
|
writable: true,
|
|
138222
138385
|
initializer: null
|
|
138223
|
-
}),
|
|
138386
|
+
}), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "title", [_dec23], {
|
|
138224
138387
|
configurable: true,
|
|
138225
138388
|
enumerable: true,
|
|
138226
138389
|
writable: true,
|
|
138227
138390
|
initializer: null
|
|
138228
|
-
}),
|
|
138391
|
+
}), _descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "visible", [_dec24], {
|
|
138229
138392
|
configurable: true,
|
|
138230
138393
|
enumerable: true,
|
|
138231
138394
|
writable: true,
|
|
@@ -150569,7 +150732,7 @@ let ComboboxEnumerationItem = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IM
|
|
|
150569
150732
|
writable: true,
|
|
150570
150733
|
initializer: null
|
|
150571
150734
|
})), _class2)) || _class);
|
|
150572
|
-
let ComboBoxNode = (_dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.sugarNode)("combobox", `Комбобокс`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Combobox sync recursive .md$")), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_5__.ValidationInfoNode), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingMixinNode), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_11__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_11__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrMixin)(_CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_10__.TooltipSettingsNode), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.deprecatedAttr)("maxLength", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_6__.DeprecationReason.InvalidUsage), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.deprecatedAttr)("caption", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_6__.DeprecationReason.InvalidUsage), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.deprecatedAttr)("openbutton", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_6__.DeprecationReason.InvalidUsage), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.deprecatedAttr)("rngAttribute", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_6__.DeprecationReason.InvalidUsage), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.deprecatedAttr)("kind", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_6__.DeprecationReason.InvalidUsage), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.deprecatedAttr)("title", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_6__.DeprecationReason.InvalidUsage), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.deprecatedAttr)("useIncorrectValue", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_6__.DeprecationReason.Typo), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.deprecatedAttr)("controlVersion", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_6__.DeprecationReason.Removed), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("type", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.typeName, "Тип для валидации значений"), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.singleChild)("type", [_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_3__.TypeNode]), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("gId", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.string, `Глобальный идентификатор справочника`), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("limit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.number, `Количество значений в выпадающем списке`), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("display", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType["enum"]("value", "name", "item"),
|
|
150735
|
+
let ComboBoxNode = (_dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.sugarNode)("combobox", `Комбобокс`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Combobox sync recursive .md$")), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_5__.ValidationInfoNode), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingMixinNode), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_11__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_11__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrMixin)(_CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_10__.TooltipSettingsNode), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.deprecatedAttr)("maxLength", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_6__.DeprecationReason.InvalidUsage), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.deprecatedAttr)("caption", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_6__.DeprecationReason.InvalidUsage), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.deprecatedAttr)("openbutton", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_6__.DeprecationReason.InvalidUsage), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.deprecatedAttr)("rngAttribute", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_6__.DeprecationReason.InvalidUsage), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.deprecatedAttr)("kind", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_6__.DeprecationReason.InvalidUsage), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.deprecatedAttr)("title", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_6__.DeprecationReason.InvalidUsage), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.deprecatedAttr)("useIncorrectValue", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_6__.DeprecationReason.Typo), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.deprecatedAttr)("controlVersion", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_6__.DeprecationReason.Removed), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("type", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.typeName, "Тип для валидации значений"), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.singleChild)("type", [_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_3__.TypeNode]), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("gId", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.string, `Глобальный идентификатор справочника`), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("limit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.number, `Количество значений в выпадающем списке`), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("display", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType["enum"]("value", "name", "item"), `В каком виде отобразится выбранное значение в инпуте: значение/название/полностью`), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.boolean, ``), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("displayItem", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType["enum"]("value", "name"), ``), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("gPath", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.string, ``), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("gPaths", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.delimitedStringArray, ``), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("savedescription", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.boolean, ``), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("useincorrectvalue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.boolean, `Для валидации введенного значения. если false - то только из справочника должно быть значение`), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("placeholder", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.localizedString["default"]("Начните вводить код или название"), `Когда в input-e пусто, то рисуется этот текст`), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.lengthUnit, ``), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("menuAlign", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType["enum"]("left", "right"), `Определяет, в какую сторону будет открываться выпадающий список. Значения: \`left\`, \`right\`. Значение по умолчанию: \`left\``), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("filter", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.javascriptExpression, ``), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("mostLikelyFilter", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.javascriptExpression, `Фильтр для популярных значений`), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("mostLikelyCaption", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.string, `Подпись для раздела с популярными значениями`), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("notFoundText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.string, `Надпись при отсутствии значений по фильтру`), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("keyColumnName", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.string, `Поле дает возможность указать произвольное значение из объекта пиклиста, вместо дефолтного \`code\`, данный ключ будет выведен в первой колонке комбобокса`), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("valueColumnName", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.string, `Поле дает возможность указать произвольное значение из объекта пиклиста, вместо дефолтного \`value\`, данный ключ будет выведен во второй колонке комбобокса`), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("emptyValueFilter", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.javascriptExpression, `Фильтр показываемые поля, если вводимое значение пусто`), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("help", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.string, ``), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.children)("enumeration", [ComboboxEnumerationItem]), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.children)("help", [_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_9__.HelpNode]), _dec5(_class4 = (_class5 = class ComboBoxNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_7__.SugarNodeWithLegacyVisibility {
|
|
150573
150736
|
constructor(...args) {
|
|
150574
150737
|
super(...args);
|
|
150575
150738
|
|
|
@@ -157395,23 +157558,19 @@ function getPropertyDeserializers(targetClass) {
|
|
|
157395
157558
|
function setPropertyDeserializer( // tslint:disable-next-line:ban-types
|
|
157396
157559
|
nodeClass, propertyKey, prop) {
|
|
157397
157560
|
Reflect.defineMetadata("x:" + propertyKey.toString(), prop, nodeClass, "deserializers");
|
|
157398
|
-
}
|
|
157399
|
-
|
|
157561
|
+
}
|
|
157400
157562
|
function setSugarNodeMetadata(targetClass, metadata) {
|
|
157401
157563
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
157402
157564
|
Reflect.defineMetadata(metadataKey, metadata, targetClass.prototype);
|
|
157403
|
-
}
|
|
157404
|
-
|
|
157565
|
+
}
|
|
157405
157566
|
function getSugarNodeMetadata(targetClass) {
|
|
157406
157567
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument,@typescript-eslint/no-unsafe-return
|
|
157407
157568
|
return Reflect.getMetadata(metadataKey, targetClass.prototype);
|
|
157408
|
-
}
|
|
157409
|
-
|
|
157569
|
+
}
|
|
157410
157570
|
function setPropertiesContainerMetadata(targetClass, metadata) {
|
|
157411
157571
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
157412
157572
|
Reflect.defineMetadata(metadataKey, metadata, targetClass.prototype);
|
|
157413
|
-
}
|
|
157414
|
-
|
|
157573
|
+
}
|
|
157415
157574
|
function getPropertiesContainerMetadata(targetClass) {
|
|
157416
157575
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument,@typescript-eslint/no-unsafe-return
|
|
157417
157576
|
return Reflect.getMetadata(metadataKey, targetClass.prototype);
|