@kontur.candy/generator 4.230.0-nidus.10 → 4.230.0-staff.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +330 -868
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1061,24 +1061,6 @@ webpackContext.id = "./Generator/src/generators/markupGenerator/ElementProcessor
|
|
|
1061
1061
|
|
|
1062
1062
|
/***/ }),
|
|
1063
1063
|
|
|
1064
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/UserPicklist sync recursive .md$":
|
|
1065
|
-
/*!******************************************************************************************************!*\
|
|
1066
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/UserPicklist/ sync .md$ ***!
|
|
1067
|
-
\******************************************************************************************************/
|
|
1068
|
-
/***/ ((module) => {
|
|
1069
|
-
|
|
1070
|
-
function webpackEmptyContext(req) {
|
|
1071
|
-
var e = new Error("Cannot find module '" + req + "'");
|
|
1072
|
-
e.code = 'MODULE_NOT_FOUND';
|
|
1073
|
-
throw e;
|
|
1074
|
-
}
|
|
1075
|
-
webpackEmptyContext.keys = () => ([]);
|
|
1076
|
-
webpackEmptyContext.resolve = webpackEmptyContext;
|
|
1077
|
-
webpackEmptyContext.id = "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/UserPicklist sync recursive .md$";
|
|
1078
|
-
module.exports = webpackEmptyContext;
|
|
1079
|
-
|
|
1080
|
-
/***/ }),
|
|
1081
|
-
|
|
1082
1064
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Helpers/Helpinfo sync recursive .md$":
|
|
1083
1065
|
/*!************************************************************************************************!*\
|
|
1084
1066
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Helpers/Helpinfo/ sync .md$ ***!
|
|
@@ -2513,24 +2495,6 @@ webpackContext.id = "./Generator/src/generators/markupGenerator/ElementProcessor
|
|
|
2513
2495
|
|
|
2514
2496
|
/***/ }),
|
|
2515
2497
|
|
|
2516
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/ReferencedFields sync recursive .md$":
|
|
2517
|
-
/*!*************************************************************************************************************!*\
|
|
2518
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/ReferencedFields/ sync .md$ ***!
|
|
2519
|
-
\*************************************************************************************************************/
|
|
2520
|
-
/***/ ((module) => {
|
|
2521
|
-
|
|
2522
|
-
function webpackEmptyContext(req) {
|
|
2523
|
-
var e = new Error("Cannot find module '" + req + "'");
|
|
2524
|
-
e.code = 'MODULE_NOT_FOUND';
|
|
2525
|
-
throw e;
|
|
2526
|
-
}
|
|
2527
|
-
webpackEmptyContext.keys = () => ([]);
|
|
2528
|
-
webpackEmptyContext.resolve = webpackEmptyContext;
|
|
2529
|
-
webpackEmptyContext.id = "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/ReferencedFields sync recursive .md$";
|
|
2530
|
-
module.exports = webpackEmptyContext;
|
|
2531
|
-
|
|
2532
|
-
/***/ }),
|
|
2533
|
-
|
|
2534
2498
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Select sync recursive .md$":
|
|
2535
2499
|
/*!***************************************************************************************************!*\
|
|
2536
2500
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Select/ sync .md$ ***!
|
|
@@ -271072,27 +271036,6 @@ class TypingError extends ApplicationError {
|
|
|
271072
271036
|
|
|
271073
271037
|
/***/ }),
|
|
271074
271038
|
|
|
271075
|
-
/***/ "./Common/FormActionHandlers/ContextualActionNames.ts":
|
|
271076
|
-
/*!************************************************************!*\
|
|
271077
|
-
!*** ./Common/FormActionHandlers/ContextualActionNames.ts ***!
|
|
271078
|
-
\************************************************************/
|
|
271079
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
271080
|
-
|
|
271081
|
-
"use strict";
|
|
271082
|
-
__webpack_require__.r(__webpack_exports__);
|
|
271083
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
271084
|
-
/* harmony export */ "isValidContextualActionName": () => (/* binding */ isValidContextualActionName),
|
|
271085
|
-
/* harmony export */ "isContextualActionName": () => (/* binding */ isContextualActionName)
|
|
271086
|
-
/* harmony export */ });
|
|
271087
|
-
function isValidContextualActionName(value) {
|
|
271088
|
-
return value === "userPicklist.AddToReference" || value === "referencedfields.ClearFields" || value === "referencedfields.SwitchToManual" || value === "referencedfields.SwitchToReferenced" || value === "referencedfields.SelectFromReference";
|
|
271089
|
-
}
|
|
271090
|
-
function isContextualActionName(handlerName) {
|
|
271091
|
-
return handlerName.includes(".");
|
|
271092
|
-
}
|
|
271093
|
-
|
|
271094
|
-
/***/ }),
|
|
271095
|
-
|
|
271096
271039
|
/***/ "./Common/IntRangeUtils.ts":
|
|
271097
271040
|
/*!*********************************!*\
|
|
271098
271041
|
!*** ./Common/IntRangeUtils.ts ***!
|
|
@@ -272660,7 +272603,6 @@ const AttachmentInfoPath = new _ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__
|
|
|
272660
272603
|
__webpack_require__.r(__webpack_exports__);
|
|
272661
272604
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
272662
272605
|
/* harmony export */ "isNotNullOrUndefined": () => (/* binding */ isNotNullOrUndefined),
|
|
272663
|
-
/* harmony export */ "ensureNotNullOrUndefined": () => (/* binding */ ensureNotNullOrUndefined),
|
|
272664
272606
|
/* harmony export */ "noop": () => (/* binding */ noop),
|
|
272665
272607
|
/* harmony export */ "reject": () => (/* binding */ reject),
|
|
272666
272608
|
/* harmony export */ "isLengthGreaterThenOrEqual": () => (/* binding */ isLengthGreaterThenOrEqual),
|
|
@@ -272675,8 +272617,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
272675
272617
|
/* harmony export */ "runAsyncAction": () => (/* binding */ runAsyncAction),
|
|
272676
272618
|
/* harmony export */ "isNullOrEmpty": () => (/* binding */ isNullOrEmpty),
|
|
272677
272619
|
/* harmony export */ "isNullOrWhiteSpace": () => (/* binding */ isNullOrWhiteSpace),
|
|
272678
|
-
/* harmony export */ "trimLastSlash": () => (/* binding */ trimLastSlash)
|
|
272679
|
-
/* harmony export */ "assertIs": () => (/* binding */ assertIs)
|
|
272620
|
+
/* harmony export */ "trimLastSlash": () => (/* binding */ trimLastSlash)
|
|
272680
272621
|
/* harmony export */ });
|
|
272681
272622
|
/***
|
|
272682
272623
|
* Строготипизированная замена для Boolean(...)
|
|
@@ -272685,11 +272626,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
272685
272626
|
function isNotNullOrUndefined(input) {
|
|
272686
272627
|
return input != undefined;
|
|
272687
272628
|
}
|
|
272688
|
-
function ensureNotNullOrUndefined(input) {
|
|
272689
|
-
if (!isNotNullOrUndefined(input)) {
|
|
272690
|
-
throw new Error(`Value must be defined`);
|
|
272691
|
-
}
|
|
272692
|
-
}
|
|
272693
272629
|
function noop() {// noop
|
|
272694
272630
|
}
|
|
272695
272631
|
function reject(message) {
|
|
@@ -272743,8 +272679,6 @@ function isNullOrWhiteSpace(input) {
|
|
|
272743
272679
|
function trimLastSlash(url) {
|
|
272744
272680
|
return url.slice(-1) === "/" ? url.slice(0, -1) : url;
|
|
272745
272681
|
}
|
|
272746
|
-
function assertIs(value) {// noop
|
|
272747
|
-
}
|
|
272748
272682
|
|
|
272749
272683
|
/***/ }),
|
|
272750
272684
|
|
|
@@ -273926,10 +273860,6 @@ class FetchFunctions {
|
|
|
273926
273860
|
this.funStorage = funStorage;
|
|
273927
273861
|
}
|
|
273928
273862
|
|
|
273929
|
-
static empty() {
|
|
273930
|
-
return new FetchFunctions({});
|
|
273931
|
-
}
|
|
273932
|
-
|
|
273933
273863
|
getFetchFunction(fetchFnName, propName) {
|
|
273934
273864
|
const fetchDescriptor = propName == undefined ? this.getFetchDescriptor(fetchFnName) : this.getFetchDescriptor(fetchFnName, propName); // @ts-ignore
|
|
273935
273865
|
|
|
@@ -283672,10 +283602,6 @@ class XmlNode {
|
|
|
283672
283602
|
return (_this$findAncestor = this.findAncestor("page")) !== null && _this$findAncestor !== void 0 ? _this$findAncestor : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.reject)("Not parent page element");
|
|
283673
283603
|
}
|
|
283674
283604
|
|
|
283675
|
-
getParentPageOrUndefined() {
|
|
283676
|
-
return this.findAncestor("page");
|
|
283677
|
-
}
|
|
283678
|
-
|
|
283679
283605
|
findAncestor(parentName) {
|
|
283680
283606
|
if (this.name === parentName) {
|
|
283681
283607
|
return this;
|
|
@@ -286631,18 +286557,16 @@ class DataDeclarationGenerationContext {
|
|
|
286631
286557
|
}
|
|
286632
286558
|
|
|
286633
286559
|
getSections(node, requisite = RequisiteSectionMode.AsRequisiteAttribute) {
|
|
286634
|
-
const page = node.
|
|
286560
|
+
const page = node.getParentPageStrict();
|
|
286635
286561
|
let pageName;
|
|
286636
286562
|
|
|
286637
286563
|
if (node.name !== "page") {
|
|
286638
|
-
|
|
286639
|
-
pageName = page.attrAsString("id");
|
|
286564
|
+
pageName = page.attrAsString("id");
|
|
286640
286565
|
|
|
286641
|
-
|
|
286642
|
-
|
|
286643
|
-
|
|
286644
|
-
|
|
286645
|
-
}
|
|
286566
|
+
if (page.attributes.multiple) {
|
|
286567
|
+
return [{
|
|
286568
|
+
fn: `#getSectionFunction('${pageName}')#`
|
|
286569
|
+
}];
|
|
286646
286570
|
}
|
|
286647
286571
|
} else {
|
|
286648
286572
|
pageName = node.attrAsString("id");
|
|
@@ -286786,13 +286710,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
286786
286710
|
/* harmony import */ var serialize_javascript__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(serialize_javascript__WEBPACK_IMPORTED_MODULE_0__);
|
|
286787
286711
|
/* harmony import */ var _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../Common/IterableUtils */ "./Common/IterableUtils.ts");
|
|
286788
286712
|
/* harmony import */ var _common_SugarPathUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../common/SugarPathUtils */ "./Generator/src/common/SugarPathUtils.ts");
|
|
286789
|
-
/* harmony import */ var
|
|
286790
|
-
/* harmony import */ var
|
|
286791
|
-
/* harmony import */ var
|
|
286792
|
-
/* harmony import */ var _placeholders__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./placeholders */ "./Generator/src/generators/DataDeclarationGenerator/placeholders.js");
|
|
286793
|
-
/* harmony import */ var _DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
|
|
286794
|
-
|
|
286795
|
-
|
|
286713
|
+
/* harmony import */ var _markupGenerator_ElementProcessors_FormParts_Form_FormConverter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../markupGenerator/ElementProcessors/FormParts/Form/FormConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormConverter.ts");
|
|
286714
|
+
/* harmony import */ var _placeholders__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./placeholders */ "./Generator/src/generators/DataDeclarationGenerator/placeholders.js");
|
|
286715
|
+
/* harmony import */ var _DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
|
|
286796
286716
|
|
|
286797
286717
|
|
|
286798
286718
|
|
|
@@ -286812,11 +286732,8 @@ class DataDeclarationGenerator {
|
|
|
286812
286732
|
}
|
|
286813
286733
|
|
|
286814
286734
|
generate() {
|
|
286815
|
-
|
|
286816
|
-
|
|
286817
|
-
const converterClass = (_getConverterByNodeCl = (0,_markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_4__.getConverterByNodeClass)((0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.getNodeClass)(this.sugarRoot))) !== null && _getConverterByNodeCl !== void 0 ? _getConverterByNodeCl : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_5__.reject)();
|
|
286818
|
-
const converter = new converterClass(this.sugarRoot);
|
|
286819
|
-
const context = new _DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_7__.DataDeclarationGenerationContext(this.initSequenceFactory, this.controlCustomizationContext, this.typesRegistry);
|
|
286735
|
+
const converter = new _markupGenerator_ElementProcessors_FormParts_Form_FormConverter__WEBPACK_IMPORTED_MODULE_3__.FormConverter(this.sugarRoot);
|
|
286736
|
+
const context = new _DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_5__.DataDeclarationGenerationContext(this.initSequenceFactory, this.controlCustomizationContext, this.typesRegistry);
|
|
286820
286737
|
const dataDeclaration = converter.buildDataDeclaration(context);
|
|
286821
286738
|
const orderedDataDeclaration = this.sortDataDeclarationKeys(dataDeclaration);
|
|
286822
286739
|
const result = this.replaceHolder(`
|
|
@@ -286845,36 +286762,6 @@ class DataDeclarationGenerator {
|
|
|
286845
286762
|
};
|
|
286846
286763
|
}
|
|
286847
286764
|
|
|
286848
|
-
generateDataDeclarationFactory() {
|
|
286849
|
-
var _getConverterByNodeCl2;
|
|
286850
|
-
|
|
286851
|
-
const converterClass = (_getConverterByNodeCl2 = (0,_markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_4__.getConverterByNodeClass)((0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.getNodeClass)(this.sugarRoot))) !== null && _getConverterByNodeCl2 !== void 0 ? _getConverterByNodeCl2 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_5__.reject)();
|
|
286852
|
-
const converter = new converterClass(this.sugarRoot);
|
|
286853
|
-
const context = new _DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_7__.DataDeclarationGenerationContext(this.initSequenceFactory, this.controlCustomizationContext, this.typesRegistry);
|
|
286854
|
-
const dataDeclaration = converter.buildDataDeclaration(context);
|
|
286855
|
-
const orderedDataDeclaration = this.sortDataDeclarationKeys(dataDeclaration);
|
|
286856
|
-
return `
|
|
286857
|
-
function dataDeclaration({
|
|
286858
|
-
Helpers: {
|
|
286859
|
-
autocalcCommonFunctions: {
|
|
286860
|
-
getAsyncResultHandler,
|
|
286861
|
-
getAsyncTextResultHandler,
|
|
286862
|
-
wrapDecimalOperand,
|
|
286863
|
-
getSum,
|
|
286864
|
-
checkValuesArguments,
|
|
286865
|
-
getAsyncBoolResultHandler,
|
|
286866
|
-
getAsyncErrorResultHandler,
|
|
286867
|
-
getOperands,
|
|
286868
|
-
Deferred,
|
|
286869
|
-
},
|
|
286870
|
-
},
|
|
286871
|
-
}) {
|
|
286872
|
-
return ${serialize_javascript__WEBPACK_IMPORTED_MODULE_0___default()(orderedDataDeclaration, {
|
|
286873
|
-
space: " "
|
|
286874
|
-
})};
|
|
286875
|
-
}`;
|
|
286876
|
-
}
|
|
286877
|
-
|
|
286878
286765
|
sortDataDeclarationKeys(dataDeclaration) {
|
|
286879
286766
|
const orderedDecl = {};
|
|
286880
286767
|
const orderedPaths = Object.keys(dataDeclaration).sort(_common_SugarPathUtils__WEBPACK_IMPORTED_MODULE_2__.SugarPathUtils.compare);
|
|
@@ -286889,7 +286776,7 @@ class DataDeclarationGenerator {
|
|
|
286889
286776
|
replaceHolder(decl) {
|
|
286890
286777
|
let replacedDecl = decl;
|
|
286891
286778
|
|
|
286892
|
-
for (const [placeholderName, placeHoldersFunction] of (0,_Common_IterableUtils__WEBPACK_IMPORTED_MODULE_1__.iterateEntries)(
|
|
286779
|
+
for (const [placeholderName, placeHoldersFunction] of (0,_Common_IterableUtils__WEBPACK_IMPORTED_MODULE_1__.iterateEntries)(_placeholders__WEBPACK_IMPORTED_MODULE_4__.placeHolders)) {
|
|
286893
286780
|
const checkName = `"#(${placeholderName})(\\('[\\w]*'\\))?#"`;
|
|
286894
286781
|
const include = new RegExp(checkName, "i");
|
|
286895
286782
|
|
|
@@ -287673,6 +287560,7 @@ window.CF.entryPoint[gfv] = function(container, { renderForm, ...settings }) {
|
|
|
287673
287560
|
settings: {
|
|
287674
287561
|
...defaultSettings,
|
|
287675
287562
|
...settings,
|
|
287563
|
+
gfv: gfv,
|
|
287676
287564
|
}
|
|
287677
287565
|
}
|
|
287678
287566
|
return renderForm(Form, resources, container)
|
|
@@ -288034,7 +287922,7 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
|
|
|
288034
287922
|
const builder = new _FormSourcesBuilder_FormSourcesBuilder__WEBPACK_IMPORTED_MODULE_20__.FormSourcesBuilder(additionalContent.formSourcesPath);
|
|
288035
287923
|
const markupGenerator = new _markupGenerator_MarkupGenerator__WEBPACK_IMPORTED_MODULE_11__.MarkupGenerator(additionalContent.formSourcesPath, additionalContent.helpersContent, additionalContent.tourSteps, controlCustomizationContext, typeRegistry, formSchemaRng, (_sugarRoot$schemaVali3 = sugarRoot.schemaValidations) !== null && _sugarRoot$schemaVali3 !== void 0 ? _sugarRoot$schemaVali3 : false);
|
|
288036
287924
|
markupGenerator.generate(sugarRoot, builder);
|
|
288037
|
-
builder.addResource("settings.js", (0,_markupGenerator_getSettings__WEBPACK_IMPORTED_MODULE_8__.getSettings)(sugarRoot,
|
|
287925
|
+
builder.addResource("settings.js", (0,_markupGenerator_getSettings__WEBPACK_IMPORTED_MODULE_8__.getSettings)(sugarRoot, additionalSettings));
|
|
288038
287926
|
builder.addResource("requisiteList.js", (0,_RequisiteLIst_requisiteList__WEBPACK_IMPORTED_MODULE_23__.getRequisiteList)(sugarRoot, fetchFunctions));
|
|
288039
287927
|
const autocalcGenerator = new _AutoCalculationsGenerator_AutoCalculationsGenerator__WEBPACK_IMPORTED_MODULE_17__.AutoCalculationsGenerator(dataDeclarationHelper, schemaRng);
|
|
288040
287928
|
builder.addResource("calculationFunctions.js", autocalcGenerator.generate(sugarRoot, formulas, additionalContent.autocalcsContent));
|
|
@@ -289577,10 +289465,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
289577
289465
|
/* harmony import */ var _ElementProcessors_Layout_FixedTabs_FixedTabsConverter__WEBPACK_IMPORTED_MODULE_100__ = __webpack_require__(/*! ./ElementProcessors/Layout/FixedTabs/FixedTabsConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/FixedTabs/FixedTabsConverter.ts");
|
|
289578
289466
|
/* harmony import */ var _ElementProcessors_MultiControls_Multiple_MultipleConverter__WEBPACK_IMPORTED_MODULE_101__ = __webpack_require__(/*! ./ElementProcessors/MultiControls/Multiple/MultipleConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/Multiple/MultipleConverter.ts");
|
|
289579
289467
|
/* harmony import */ var _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelConverter__WEBPACK_IMPORTED_MODULE_102__ = __webpack_require__(/*! ./ElementProcessors/Action/ExcelPastePanel/ExcelPastePanelConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/Action/ExcelPastePanel/ExcelPastePanelConverter.ts");
|
|
289580
|
-
/* harmony import */ var _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsConverter__WEBPACK_IMPORTED_MODULE_103__ = __webpack_require__(/*! ./ElementProcessors/ValueEditors/ReferencedFields/ReferencedFieldsConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/ReferencedFields/ReferencedFieldsConverter.ts");
|
|
289581
|
-
/* harmony import */ var _ElementProcessors_FormParts_UserPicklist_UserPicklistConverter__WEBPACK_IMPORTED_MODULE_104__ = __webpack_require__(/*! ./ElementProcessors/FormParts/UserPicklist/UserPicklistConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/UserPicklist/UserPicklistConverter.ts");
|
|
289582
|
-
|
|
289583
|
-
|
|
289584
289468
|
|
|
289585
289469
|
|
|
289586
289470
|
|
|
@@ -289687,7 +289571,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
289687
289571
|
let convertersFromNodeClassMap;
|
|
289688
289572
|
|
|
289689
289573
|
function buildConvertersFromNodeClassMap() {
|
|
289690
|
-
const converters = [_ElementProcessors_FormParts_AddPageButton_AddPageButtonConverter__WEBPACK_IMPORTED_MODULE_9__.AddPageButtonConverter, _ElementProcessors_MultiControls_AddRowButton_AddRowButtonConverter__WEBPACK_IMPORTED_MODULE_10__.AddRowButtonConverter, _ElementProcessors_Layout_Block_BlockConverter__WEBPACK_IMPORTED_MODULE_11__.BlockConverter, _ElementProcessors_Typography_Bold_BoldConverter__WEBPACK_IMPORTED_MODULE_13__.BoldConverter, _ElementProcessors_Layout_Br_BrConverter__WEBPACK_IMPORTED_MODULE_14__.BrConverter, _ElementProcessors_FormParts_Caption_CaptionConverter__WEBPACK_IMPORTED_MODULE_16__.CaptionConverter, _ElementProcessors_ValueEditors_Checkbox_CheckboxConverter__WEBPACK_IMPORTED_MODULE_17__.CheckboxConverter, _ElementProcessors_ControlFlow_Choice_ChoiceConverter__WEBPACK_IMPORTED_MODULE_18__.ChoiceConverter, _ElementProcessors_MultiControls_TableCell_TableCellConverter__WEBPACK_IMPORTED_MODULE_83__.TableCellConverter, _ElementProcessors_ValueEditors_Combobox_ComboBoxConverter__WEBPACK_IMPORTED_MODULE_19__.ComboBoxConverter, _ElementProcessors_FormParts_Content_ContentConverter__WEBPACK_IMPORTED_MODULE_20__.ContentConverter, _ElementProcessors_FormParts_Cross_CrossConverter__WEBPACK_IMPORTED_MODULE_21__.CrossConverter, _ElementProcessors_MultiControls_ColgroupButton_ColgroupButtonConverter__WEBPACK_IMPORTED_MODULE_94__.ColgroupButtonConverter, _ElementProcessors_ValueEditors_Date_DateConverter__WEBPACK_IMPORTED_MODULE_22__.DateConverter, _ElementProcessors_FormParts_DefaultContent_DefaultContentConverter__WEBPACK_IMPORTED_MODULE_23__.DefaultContentConverter, _ElementProcessors_ValueEditors_DiadocSuggestComboBox_DiadocSuggestComboBoxConverter__WEBPACK_IMPORTED_MODULE_24__.DiadocSuggestComboBoxConverter, _ElementProcessors_Typography_Entity_EntityConverter__WEBPACK_IMPORTED_MODULE_25__.EntityConverter, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteConverter__WEBPACK_IMPORTED_MODULE_26__.ExpertNoteConverter, _ElementProcessors_ValueEditors_FileLoader_FileLoaderConverter__WEBPACK_IMPORTED_MODULE_27__.FileLoaderConverter, _ElementProcessors_MultiControls_FilterDateRange_FilterDateRangeConverter__WEBPACK_IMPORTED_MODULE_28__.FilterDateRangeConverter, _ElementProcessors_MultiControls_FilterInput_FilterInputConverter__WEBPACK_IMPORTED_MODULE_29__.FilterInputConverter, _ElementProcessors_MultiControls_FilterList_FilterListConverter__WEBPACK_IMPORTED_MODULE_30__.FilterListConverter, _ElementProcessors_ValueViewers_FIO_FIOConverter__WEBPACK_IMPORTED_MODULE_31__.FIOConverter, _ElementProcessors_Layout_Flexbox_FlexboxConverter__WEBPACK_IMPORTED_MODULE_32__.FlexboxConverter, _ElementProcessors_FormParts_Form_FormConverter__WEBPACK_IMPORTED_MODULE_34__.FormConverter, _ElementProcessors_FormParts_FormInfo_FormInfoConverter__WEBPACK_IMPORTED_MODULE_35__.FormInfoConverter, _ElementProcessors_Typography_Gray_GrayConverter__WEBPACK_IMPORTED_MODULE_36__.GrayConverter, _ElementProcessors_Layout_GridCol_GridColConverter__WEBPACK_IMPORTED_MODULE_37__.GridColConverter, _ElementProcessors_Layout_GridRow_GridRowConverter__WEBPACK_IMPORTED_MODULE_38__.GridRowConverter, _ElementProcessors_FormParts_Header_HeaderConverter__WEBPACK_IMPORTED_MODULE_39__.HeaderConverter, _ElementProcessors_MultiControls_HeaderMenu_HeaderMenuConverter__WEBPACK_IMPORTED_MODULE_40__.HeaderMenuConverter, _ElementProcessors_Helpers_Help_HelpConverter__WEBPACK_IMPORTED_MODULE_41__.HelpConverter, _ElementProcessors_Helpers_Helpinfo_HelpInfoConverter__WEBPACK_IMPORTED_MODULE_42__.HelpInfoConverter, _ElementProcessors_Typography_Highlight_HighlightConverter__WEBPACK_IMPORTED_MODULE_43__.HighlightConverter, _ElementProcessors_Layout_Hr_HrConverter__WEBPACK_IMPORTED_MODULE_44__.HrConverter, _ElementProcessors_Typography_Icon_IconConverter__WEBPACK_IMPORTED_MODULE_45__.IconConverter, _ElementProcessors_ControlFlow_If_IfConverter__WEBPACK_IMPORTED_MODULE_46__.IfConverter, _ElementProcessors_Layout_Img_ImgConverter__WEBPACK_IMPORTED_MODULE_47__.ImgConverter, _ElementProcessors_ValueEditors_INN_INNConverter__WEBPACK_IMPORTED_MODULE_48__.INNConverter, _ElementProcessors_ValueEditors_Input_InputConverter__WEBPACK_IMPORTED_MODULE_49__.InputConverter, _ElementProcessors_Typography_Italic_ItalicConverter__WEBPACK_IMPORTED_MODULE_50__.ItalicConverter, _ElementProcessors_Layout_ListItem_ListItemConverter__WEBPACK_IMPORTED_MODULE_51__.ListItemConverter, _ElementProcessors_ValueEditors_Kladr_KladrConverter__WEBPACK_IMPORTED_MODULE_52__.KladrConverter, _ElementProcessors_ValueViewers_Linetext_LinetextConverter__WEBPACK_IMPORTED_MODULE_53__.LinetextConverter, _ElementProcessors_Action_Link_LinkConverter__WEBPACK_IMPORTED_MODULE_54__.LinkConverter, _ElementProcessors_Layout_List_ListConverter__WEBPACK_IMPORTED_MODULE_55__.ListConverter, _ElementProcessors_Modal_ModalForm_ModalFormConverter__WEBPACK_IMPORTED_MODULE_56__.ModalFormConverter, _ElementProcessors_Modal_ModalFormLabel_ModalFormLabelConverter__WEBPACK_IMPORTED_MODULE_59__.ModalFormLabelConverter, _ElementProcessors_MultiControls_Multilinefield_MultilineFieldConverter__WEBPACK_IMPORTED_MODULE_60__.MultilineFieldConverter, _ElementProcessors_Helpers_Normativehelp_NormativeHelpConverter__WEBPACK_IMPORTED_MODULE_61__.NormativeHelpConverter, _ElementProcessors_FormParts_Page_PageConverter__WEBPACK_IMPORTED_MODULE_63__.PageConverter, _ElementProcessors_Layout_Pencil_PencilConverter__WEBPACK_IMPORTED_MODULE_64__.PencilConverter, _ElementProcessors_ValueEditors_Picklist_PicklistConverter__WEBPACK_IMPORTED_MODULE_65__.PicklistConverter, _ElementProcessors_ValueEditors_radio_RadioConverter__WEBPACK_IMPORTED_MODULE_66__.RadioConverter, _ElementProcessors_ValueEditors_RadioGroup_RadioGroupConverter__WEBPACK_IMPORTED_MODULE_67__.RadioGroupConverter, _ElementProcessors_MultiControls_RemoveRowButton_RemoveRowButtonConverter__WEBPACK_IMPORTED_MODULE_68__.RemoveRowButtonConverter, _ElementProcessors_ValueEditors_Select_SelectConverter__WEBPACK_IMPORTED_MODULE_69__.SelectConverter, _ElementProcessors_MultiControls_SortRadioGroup_SortRadioGroupConverter__WEBPACK_IMPORTED_MODULE_70__.SortRadioGroupConverter, _ElementProcessors_Layout_Spoiler_SpoilerConverter__WEBPACK_IMPORTED_MODULE_71__.SpoilerConverter, _ElementProcessors_Typography_Strong_StrongConverter__WEBPACK_IMPORTED_MODULE_72__.StrongConverter, _ElementProcessors_Typography_Sub_SubConverter__WEBPACK_IMPORTED_MODULE_73__.SubConverter, _ElementProcessors_Layout_Subheader_SubheaderConverter__WEBPACK_IMPORTED_MODULE_74__.SubheaderConverter, _ElementProcessors_Typography_Sup_SupConverter__WEBPACK_IMPORTED_MODULE_75__.SupConverter, _ElementProcessors_ValueViewers_Text_TextConverter__WEBPACK_IMPORTED_MODULE_84__.TextConverter, _ElementProcessors_ValueEditors_Textarea_TextAreaConverter__WEBPACK_IMPORTED_MODULE_85__.TextAreaConverter, _ElementProcessors_ValueEditors_popupTextArea_PopupTextAreaConverter__WEBPACK_IMPORTED_MODULE_93__.PopupTextAreaConverter, _ElementProcessors_ValueViewers_ValueLength_ValueLengthConverter__WEBPACK_IMPORTED_MODULE_89__.ValueLengthConverter, _ElementProcessors_ControlFlow_VisibilityBlock_VisibilityBlockConverter__WEBPACK_IMPORTED_MODULE_90__.VisibilityBlockConverter, _ElementProcessors_Layout_Warning_WarningConverter__WEBPACK_IMPORTED_MODULE_91__.WarningConverter, _ElementProcessors_Layout_InnerText_InnertextConverter__WEBPACK_IMPORTED_MODULE_8__.InnertextConverter, _ElementProcessors_ControlFlow_Otherwise_OtherwiseConverter__WEBPACK_IMPORTED_MODULE_62__.OtherwiseConverter, _ElementProcessors_ControlFlow_When_WhenConverter__WEBPACK_IMPORTED_MODULE_92__.WhenConverter, _ElementProcessors_FormParts_UnitList_UnitListConverter__WEBPACK_IMPORTED_MODULE_88__.UnitListConverter, _ElementProcessors_FormParts_UnitItem_UnitItemConverter__WEBPACK_IMPORTED_MODULE_87__.UnitItemConverter, _ElementProcessors_Modal_Body_BodyConverter__WEBPACK_IMPORTED_MODULE_12__.BodyConverter, _ElementProcessors_Modal_Footer_FooterConverter__WEBPACK_IMPORTED_MODULE_33__.FooterConverter, _ElementProcessors_Modal_ModalFormConfirm_ModalFormConfirmConverter__WEBPACK_IMPORTED_MODULE_58__.ModalFormConfirmConverter, _ElementProcessors_Modal_ModalFormCancel_ModalFormCancelConverter__WEBPACK_IMPORTED_MODULE_57__.ModalFormCancelConverter, _ElementProcessors_Action_Button_ButtonConverter__WEBPACK_IMPORTED_MODULE_15__.ButtonConverter, _ElementProcessors_FormParts_Tour_TourConverter__WEBPACK_IMPORTED_MODULE_86__.TourConverter, _ElementProcessors_ControlFlow_Switch_SwitchConverter__WEBPACK_IMPORTED_MODULE_76__.SwitchConverter, _ElementProcessors_ControlFlow_Switch_SwitchConverter__WEBPACK_IMPORTED_MODULE_76__.SwitchCaseConverter, _ElementProcessors_ControlFlow_Switch_SwitchConverter__WEBPACK_IMPORTED_MODULE_76__.SwitchDefaultConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableColumnConverter__WEBPACK_IMPORTED_MODULE_81__.StickyTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableColumnConverter__WEBPACK_IMPORTED_MODULE_77__.CrossfitTableColumnConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableColumnConverter__WEBPACK_IMPORTED_MODULE_79__.SimpleTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableConverter__WEBPACK_IMPORTED_MODULE_78__.CrossfitTableConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableConverter__WEBPACK_IMPORTED_MODULE_80__.SimpleTableConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableWithMultilineConverter__WEBPACK_IMPORTED_MODULE_82__.StickyTableWithMultilineConverter, _ElementProcessors_Layout_Stack_StackConverter__WEBPACK_IMPORTED_MODULE_3__.StackConverter, _ElementProcessors_Layout_Grid_GridConverter__WEBPACK_IMPORTED_MODULE_2__.GridConverter, _ElementProcessors_UnitParts_HeaderPanel_HeaderPanelConverter__WEBPACK_IMPORTED_MODULE_7__.HeaderPanelConverter, _ElementProcessors_MultiControls_Tabs_TabsConverter__WEBPACK_IMPORTED_MODULE_6__.TabsConverter, _ElementProcessors_Action_DropdownButton_DropdownButtonConverter__WEBPACK_IMPORTED_MODULE_98__.DropdownButtonConverter, _ElementProcessors_ValueEditors_FiasMvd_FiasMvdConverter__WEBPACK_IMPORTED_MODULE_1__.FiasMvdConverter, _ElementProcessors_ValueEditors_FiasFns_FiasFnsConverter__WEBPACK_IMPORTED_MODULE_0__.FiasFnsConverter, _ElementProcessors_MultiControls_FilterSelect_FilterSelectConverter__WEBPACK_IMPORTED_MODULE_4__.FilterSelectConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_5__.Table2Converter, _ElementProcessors_MultiControls_Table2_Table2RowConverter__WEBPACK_IMPORTED_MODULE_97__.Table2RowConverter, _ElementProcessors_MultiControls_Table2_Table2MultirowConverter__WEBPACK_IMPORTED_MODULE_96__.Table2MultirowConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_5__.Table2ColumnConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_5__.Table2VerticalColumnConverter, _ElementProcessors_Layout_FixedTabs_FixedTabsConverter__WEBPACK_IMPORTED_MODULE_100__.FixedTabsConverter, _ElementProcessors_Layout_FixedTabs_FixedTabConverter__WEBPACK_IMPORTED_MODULE_99__.FixedTabConverter, _ElementProcessors_MultiControls_Multiple_MultipleConverter__WEBPACK_IMPORTED_MODULE_101__.MultipleConverter, _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelConverter__WEBPACK_IMPORTED_MODULE_102__.ExcelPastePanelConverter, _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsConverter__WEBPACK_IMPORTED_MODULE_103__.ReferencedFieldsConverter, _ElementProcessors_FormParts_UserPicklist_UserPicklistConverter__WEBPACK_IMPORTED_MODULE_104__.UserPicklistConverter];
|
|
289574
|
+
const converters = [_ElementProcessors_FormParts_AddPageButton_AddPageButtonConverter__WEBPACK_IMPORTED_MODULE_9__.AddPageButtonConverter, _ElementProcessors_MultiControls_AddRowButton_AddRowButtonConverter__WEBPACK_IMPORTED_MODULE_10__.AddRowButtonConverter, _ElementProcessors_Layout_Block_BlockConverter__WEBPACK_IMPORTED_MODULE_11__.BlockConverter, _ElementProcessors_Typography_Bold_BoldConverter__WEBPACK_IMPORTED_MODULE_13__.BoldConverter, _ElementProcessors_Layout_Br_BrConverter__WEBPACK_IMPORTED_MODULE_14__.BrConverter, _ElementProcessors_FormParts_Caption_CaptionConverter__WEBPACK_IMPORTED_MODULE_16__.CaptionConverter, _ElementProcessors_ValueEditors_Checkbox_CheckboxConverter__WEBPACK_IMPORTED_MODULE_17__.CheckboxConverter, _ElementProcessors_ControlFlow_Choice_ChoiceConverter__WEBPACK_IMPORTED_MODULE_18__.ChoiceConverter, _ElementProcessors_MultiControls_TableCell_TableCellConverter__WEBPACK_IMPORTED_MODULE_83__.TableCellConverter, _ElementProcessors_ValueEditors_Combobox_ComboBoxConverter__WEBPACK_IMPORTED_MODULE_19__.ComboBoxConverter, _ElementProcessors_FormParts_Content_ContentConverter__WEBPACK_IMPORTED_MODULE_20__.ContentConverter, _ElementProcessors_FormParts_Cross_CrossConverter__WEBPACK_IMPORTED_MODULE_21__.CrossConverter, _ElementProcessors_MultiControls_ColgroupButton_ColgroupButtonConverter__WEBPACK_IMPORTED_MODULE_94__.ColgroupButtonConverter, _ElementProcessors_ValueEditors_Date_DateConverter__WEBPACK_IMPORTED_MODULE_22__.DateConverter, _ElementProcessors_FormParts_DefaultContent_DefaultContentConverter__WEBPACK_IMPORTED_MODULE_23__.DefaultContentConverter, _ElementProcessors_ValueEditors_DiadocSuggestComboBox_DiadocSuggestComboBoxConverter__WEBPACK_IMPORTED_MODULE_24__.DiadocSuggestComboBoxConverter, _ElementProcessors_Typography_Entity_EntityConverter__WEBPACK_IMPORTED_MODULE_25__.EntityConverter, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteConverter__WEBPACK_IMPORTED_MODULE_26__.ExpertNoteConverter, _ElementProcessors_ValueEditors_FileLoader_FileLoaderConverter__WEBPACK_IMPORTED_MODULE_27__.FileLoaderConverter, _ElementProcessors_MultiControls_FilterDateRange_FilterDateRangeConverter__WEBPACK_IMPORTED_MODULE_28__.FilterDateRangeConverter, _ElementProcessors_MultiControls_FilterInput_FilterInputConverter__WEBPACK_IMPORTED_MODULE_29__.FilterInputConverter, _ElementProcessors_MultiControls_FilterList_FilterListConverter__WEBPACK_IMPORTED_MODULE_30__.FilterListConverter, _ElementProcessors_ValueViewers_FIO_FIOConverter__WEBPACK_IMPORTED_MODULE_31__.FIOConverter, _ElementProcessors_Layout_Flexbox_FlexboxConverter__WEBPACK_IMPORTED_MODULE_32__.FlexboxConverter, _ElementProcessors_FormParts_Form_FormConverter__WEBPACK_IMPORTED_MODULE_34__.FormConverter, _ElementProcessors_FormParts_FormInfo_FormInfoConverter__WEBPACK_IMPORTED_MODULE_35__.FormInfoConverter, _ElementProcessors_Typography_Gray_GrayConverter__WEBPACK_IMPORTED_MODULE_36__.GrayConverter, _ElementProcessors_Layout_GridCol_GridColConverter__WEBPACK_IMPORTED_MODULE_37__.GridColConverter, _ElementProcessors_Layout_GridRow_GridRowConverter__WEBPACK_IMPORTED_MODULE_38__.GridRowConverter, _ElementProcessors_FormParts_Header_HeaderConverter__WEBPACK_IMPORTED_MODULE_39__.HeaderConverter, _ElementProcessors_MultiControls_HeaderMenu_HeaderMenuConverter__WEBPACK_IMPORTED_MODULE_40__.HeaderMenuConverter, _ElementProcessors_Helpers_Help_HelpConverter__WEBPACK_IMPORTED_MODULE_41__.HelpConverter, _ElementProcessors_Helpers_Helpinfo_HelpInfoConverter__WEBPACK_IMPORTED_MODULE_42__.HelpInfoConverter, _ElementProcessors_Typography_Highlight_HighlightConverter__WEBPACK_IMPORTED_MODULE_43__.HighlightConverter, _ElementProcessors_Layout_Hr_HrConverter__WEBPACK_IMPORTED_MODULE_44__.HrConverter, _ElementProcessors_Typography_Icon_IconConverter__WEBPACK_IMPORTED_MODULE_45__.IconConverter, _ElementProcessors_ControlFlow_If_IfConverter__WEBPACK_IMPORTED_MODULE_46__.IfConverter, _ElementProcessors_Layout_Img_ImgConverter__WEBPACK_IMPORTED_MODULE_47__.ImgConverter, _ElementProcessors_ValueEditors_INN_INNConverter__WEBPACK_IMPORTED_MODULE_48__.INNConverter, _ElementProcessors_ValueEditors_Input_InputConverter__WEBPACK_IMPORTED_MODULE_49__.InputConverter, _ElementProcessors_Typography_Italic_ItalicConverter__WEBPACK_IMPORTED_MODULE_50__.ItalicConverter, _ElementProcessors_Layout_ListItem_ListItemConverter__WEBPACK_IMPORTED_MODULE_51__.ListItemConverter, _ElementProcessors_ValueEditors_Kladr_KladrConverter__WEBPACK_IMPORTED_MODULE_52__.KladrConverter, _ElementProcessors_ValueViewers_Linetext_LinetextConverter__WEBPACK_IMPORTED_MODULE_53__.LinetextConverter, _ElementProcessors_Action_Link_LinkConverter__WEBPACK_IMPORTED_MODULE_54__.LinkConverter, _ElementProcessors_Layout_List_ListConverter__WEBPACK_IMPORTED_MODULE_55__.ListConverter, _ElementProcessors_Modal_ModalForm_ModalFormConverter__WEBPACK_IMPORTED_MODULE_56__.ModalFormConverter, _ElementProcessors_Modal_ModalFormLabel_ModalFormLabelConverter__WEBPACK_IMPORTED_MODULE_59__.ModalFormLabelConverter, _ElementProcessors_MultiControls_Multilinefield_MultilineFieldConverter__WEBPACK_IMPORTED_MODULE_60__.MultilineFieldConverter, _ElementProcessors_Helpers_Normativehelp_NormativeHelpConverter__WEBPACK_IMPORTED_MODULE_61__.NormativeHelpConverter, _ElementProcessors_FormParts_Page_PageConverter__WEBPACK_IMPORTED_MODULE_63__.PageConverter, _ElementProcessors_Layout_Pencil_PencilConverter__WEBPACK_IMPORTED_MODULE_64__.PencilConverter, _ElementProcessors_ValueEditors_Picklist_PicklistConverter__WEBPACK_IMPORTED_MODULE_65__.PicklistConverter, _ElementProcessors_ValueEditors_radio_RadioConverter__WEBPACK_IMPORTED_MODULE_66__.RadioConverter, _ElementProcessors_ValueEditors_RadioGroup_RadioGroupConverter__WEBPACK_IMPORTED_MODULE_67__.RadioGroupConverter, _ElementProcessors_MultiControls_RemoveRowButton_RemoveRowButtonConverter__WEBPACK_IMPORTED_MODULE_68__.RemoveRowButtonConverter, _ElementProcessors_ValueEditors_Select_SelectConverter__WEBPACK_IMPORTED_MODULE_69__.SelectConverter, _ElementProcessors_MultiControls_SortRadioGroup_SortRadioGroupConverter__WEBPACK_IMPORTED_MODULE_70__.SortRadioGroupConverter, _ElementProcessors_Layout_Spoiler_SpoilerConverter__WEBPACK_IMPORTED_MODULE_71__.SpoilerConverter, _ElementProcessors_Typography_Strong_StrongConverter__WEBPACK_IMPORTED_MODULE_72__.StrongConverter, _ElementProcessors_Typography_Sub_SubConverter__WEBPACK_IMPORTED_MODULE_73__.SubConverter, _ElementProcessors_Layout_Subheader_SubheaderConverter__WEBPACK_IMPORTED_MODULE_74__.SubheaderConverter, _ElementProcessors_Typography_Sup_SupConverter__WEBPACK_IMPORTED_MODULE_75__.SupConverter, _ElementProcessors_ValueViewers_Text_TextConverter__WEBPACK_IMPORTED_MODULE_84__.TextConverter, _ElementProcessors_ValueEditors_Textarea_TextAreaConverter__WEBPACK_IMPORTED_MODULE_85__.TextAreaConverter, _ElementProcessors_ValueEditors_popupTextArea_PopupTextAreaConverter__WEBPACK_IMPORTED_MODULE_93__.PopupTextAreaConverter, _ElementProcessors_ValueViewers_ValueLength_ValueLengthConverter__WEBPACK_IMPORTED_MODULE_89__.ValueLengthConverter, _ElementProcessors_ControlFlow_VisibilityBlock_VisibilityBlockConverter__WEBPACK_IMPORTED_MODULE_90__.VisibilityBlockConverter, _ElementProcessors_Layout_Warning_WarningConverter__WEBPACK_IMPORTED_MODULE_91__.WarningConverter, _ElementProcessors_Layout_InnerText_InnertextConverter__WEBPACK_IMPORTED_MODULE_8__.InnertextConverter, _ElementProcessors_ControlFlow_Otherwise_OtherwiseConverter__WEBPACK_IMPORTED_MODULE_62__.OtherwiseConverter, _ElementProcessors_ControlFlow_When_WhenConverter__WEBPACK_IMPORTED_MODULE_92__.WhenConverter, _ElementProcessors_FormParts_UnitList_UnitListConverter__WEBPACK_IMPORTED_MODULE_88__.UnitListConverter, _ElementProcessors_FormParts_UnitItem_UnitItemConverter__WEBPACK_IMPORTED_MODULE_87__.UnitItemConverter, _ElementProcessors_Modal_Body_BodyConverter__WEBPACK_IMPORTED_MODULE_12__.BodyConverter, _ElementProcessors_Modal_Footer_FooterConverter__WEBPACK_IMPORTED_MODULE_33__.FooterConverter, _ElementProcessors_Modal_ModalFormConfirm_ModalFormConfirmConverter__WEBPACK_IMPORTED_MODULE_58__.ModalFormConfirmConverter, _ElementProcessors_Modal_ModalFormCancel_ModalFormCancelConverter__WEBPACK_IMPORTED_MODULE_57__.ModalFormCancelConverter, _ElementProcessors_Action_Button_ButtonConverter__WEBPACK_IMPORTED_MODULE_15__.ButtonConverter, _ElementProcessors_FormParts_Tour_TourConverter__WEBPACK_IMPORTED_MODULE_86__.TourConverter, _ElementProcessors_ControlFlow_Switch_SwitchConverter__WEBPACK_IMPORTED_MODULE_76__.SwitchConverter, _ElementProcessors_ControlFlow_Switch_SwitchConverter__WEBPACK_IMPORTED_MODULE_76__.SwitchCaseConverter, _ElementProcessors_ControlFlow_Switch_SwitchConverter__WEBPACK_IMPORTED_MODULE_76__.SwitchDefaultConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableColumnConverter__WEBPACK_IMPORTED_MODULE_81__.StickyTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableColumnConverter__WEBPACK_IMPORTED_MODULE_77__.CrossfitTableColumnConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableColumnConverter__WEBPACK_IMPORTED_MODULE_79__.SimpleTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableConverter__WEBPACK_IMPORTED_MODULE_78__.CrossfitTableConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableConverter__WEBPACK_IMPORTED_MODULE_80__.SimpleTableConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableWithMultilineConverter__WEBPACK_IMPORTED_MODULE_82__.StickyTableWithMultilineConverter, _ElementProcessors_Layout_Stack_StackConverter__WEBPACK_IMPORTED_MODULE_3__.StackConverter, _ElementProcessors_Layout_Grid_GridConverter__WEBPACK_IMPORTED_MODULE_2__.GridConverter, _ElementProcessors_UnitParts_HeaderPanel_HeaderPanelConverter__WEBPACK_IMPORTED_MODULE_7__.HeaderPanelConverter, _ElementProcessors_MultiControls_Tabs_TabsConverter__WEBPACK_IMPORTED_MODULE_6__.TabsConverter, _ElementProcessors_Action_DropdownButton_DropdownButtonConverter__WEBPACK_IMPORTED_MODULE_98__.DropdownButtonConverter, _ElementProcessors_ValueEditors_FiasMvd_FiasMvdConverter__WEBPACK_IMPORTED_MODULE_1__.FiasMvdConverter, _ElementProcessors_ValueEditors_FiasFns_FiasFnsConverter__WEBPACK_IMPORTED_MODULE_0__.FiasFnsConverter, _ElementProcessors_MultiControls_FilterSelect_FilterSelectConverter__WEBPACK_IMPORTED_MODULE_4__.FilterSelectConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_5__.Table2Converter, _ElementProcessors_MultiControls_Table2_Table2RowConverter__WEBPACK_IMPORTED_MODULE_97__.Table2RowConverter, _ElementProcessors_MultiControls_Table2_Table2MultirowConverter__WEBPACK_IMPORTED_MODULE_96__.Table2MultirowConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_5__.Table2ColumnConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_5__.Table2VerticalColumnConverter, _ElementProcessors_Layout_FixedTabs_FixedTabsConverter__WEBPACK_IMPORTED_MODULE_100__.FixedTabsConverter, _ElementProcessors_Layout_FixedTabs_FixedTabConverter__WEBPACK_IMPORTED_MODULE_99__.FixedTabConverter, _ElementProcessors_MultiControls_Multiple_MultipleConverter__WEBPACK_IMPORTED_MODULE_101__.MultipleConverter, _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelConverter__WEBPACK_IMPORTED_MODULE_102__.ExcelPastePanelConverter];
|
|
289691
289575
|
return new Map(converters.map(converterClass => [converterClass.getAcceptNodeClass(), converterClass]));
|
|
289692
289576
|
}
|
|
289693
289577
|
|
|
@@ -291011,10 +290895,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
291011
290895
|
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
291012
290896
|
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
291013
290897
|
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
291014
|
-
/* harmony import */ var
|
|
291015
|
-
/* harmony import */ var
|
|
291016
|
-
/* harmony import */ var _LinkNode__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./LinkNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Action/Link/LinkNode.ts");
|
|
291017
|
-
|
|
290898
|
+
/* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
|
|
290899
|
+
/* harmony import */ var _LinkNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./LinkNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Action/Link/LinkNode.ts");
|
|
291018
290900
|
|
|
291019
290901
|
|
|
291020
290902
|
|
|
@@ -291024,28 +290906,28 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
291024
290906
|
|
|
291025
290907
|
class LinkConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.SugarNodeConverterBase {
|
|
291026
290908
|
static getAcceptNodeClass() {
|
|
291027
|
-
return
|
|
290909
|
+
return _LinkNode__WEBPACK_IMPORTED_MODULE_6__.LinkNode;
|
|
291028
290910
|
}
|
|
291029
290911
|
|
|
291030
290912
|
doBuildDataDeclaration(context) {
|
|
291031
|
-
const node = this.getCurrentNodeAs(
|
|
290913
|
+
const node = this.getCurrentNodeAs(_LinkNode__WEBPACK_IMPORTED_MODULE_6__.LinkNode);
|
|
291032
290914
|
return context.mergeDataDeclaration(node.path ? context.addPathDeclEntry(node, [["value", context.initSequenceFactory.takeFromModelOrDefaultValue(node.defaultValue)]]) : _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection, context.addSpecialFieldsEntry(node, {
|
|
291033
290915
|
optional: node.optional
|
|
291034
290916
|
}), node.path ? context.addPathSectionDeclarationEntry(node) : _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection, context.addVisibilityPathDeclEntryNew(node));
|
|
291035
290917
|
}
|
|
291036
290918
|
|
|
291037
290919
|
buildChildrenDataDeclaration(context) {
|
|
291038
|
-
const node = this.getCurrentNodeAs(
|
|
290920
|
+
const node = this.getCurrentNodeAs(_LinkNode__WEBPACK_IMPORTED_MODULE_6__.LinkNode);
|
|
291039
290921
|
return context.processChildrenDataDeclaration(node.children);
|
|
291040
290922
|
}
|
|
291041
290923
|
|
|
291042
290924
|
*doTraverseChildren() {
|
|
291043
|
-
const node = this.getCurrentNodeAs(
|
|
290925
|
+
const node = this.getCurrentNodeAs(_LinkNode__WEBPACK_IMPORTED_MODULE_6__.LinkNode);
|
|
291044
290926
|
yield* node.children;
|
|
291045
290927
|
}
|
|
291046
290928
|
|
|
291047
290929
|
doConvert(context) {
|
|
291048
|
-
const node = this.getCurrentNodeAs(
|
|
290930
|
+
const node = this.getCurrentNodeAs(_LinkNode__WEBPACK_IMPORTED_MODULE_6__.LinkNode);
|
|
291049
290931
|
|
|
291050
290932
|
if (node.path != undefined && node.onClick == undefined) {
|
|
291051
290933
|
throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_0__.SugarAttributeReadError(`onClick is required when path attribute specified`, node, "path");
|
|
@@ -291056,16 +290938,14 @@ class LinkConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Sug
|
|
|
291056
290938
|
|
|
291057
290939
|
getLinkForModelChanging(context, node) {
|
|
291058
290940
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("Link");
|
|
291059
|
-
markupBuilder.prop("data-tid").set(node.tid);
|
|
291060
290941
|
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_4__.getNewBindingPathExpression)(node));
|
|
291061
290942
|
markupBuilder.prop(x => x.onClick).set(context.generateHelperFunctionExpression(node, "onClick", node.onClick));
|
|
291062
290943
|
markupBuilder.prop(x => x.use).set(node.use);
|
|
291063
290944
|
markupBuilder.prop(x => x.metricsId).set(node.metricsId);
|
|
291064
|
-
markupBuilder.prop(x => x.icon).set((0,_Typography_Icon_GetIconName__WEBPACK_IMPORTED_MODULE_5__.getIconName)(node, node.icon));
|
|
291065
290945
|
markupBuilder.appendChild(context.convertChildNodes(node.children));
|
|
291066
290946
|
|
|
291067
290947
|
if (node.disabled2 != undefined) {
|
|
291068
|
-
markupBuilder.prop(x => x.disabled2).set((0,
|
|
290948
|
+
markupBuilder.prop(x => x.disabled2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_5__.buildExpressionPropValue)(node.disabled2));
|
|
291069
290949
|
|
|
291070
290950
|
if (this.getLegacyNode().getParent() != undefined) {
|
|
291071
290951
|
markupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
|
|
@@ -291077,15 +290957,13 @@ class LinkConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Sug
|
|
|
291077
290957
|
|
|
291078
290958
|
getLinkWithHref(context, node) {
|
|
291079
290959
|
const mb = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("Link");
|
|
291080
|
-
mb.prop("data-tid").set(node.tid);
|
|
291081
290960
|
mb.prop(x => x.href).set(node.href);
|
|
291082
290961
|
mb.prop(x => x.target).set("_blank");
|
|
291083
290962
|
mb.prop(x => x.use).set(node.use);
|
|
291084
290963
|
mb.prop(x => x.metricsId).set(node.metricsId);
|
|
291085
|
-
mb.prop(x => x.icon).set((0,_Typography_Icon_GetIconName__WEBPACK_IMPORTED_MODULE_5__.getIconName)(node, node.icon));
|
|
291086
290964
|
|
|
291087
290965
|
if (node.disabled2 != undefined) {
|
|
291088
|
-
mb.prop(x => x.disabled2).set((0,
|
|
290966
|
+
mb.prop(x => x.disabled2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_5__.buildExpressionPropValue)(node.disabled2));
|
|
291089
290967
|
|
|
291090
290968
|
if (this.getLegacyNode().getParent() != undefined) {
|
|
291091
290969
|
mb.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
|
|
@@ -291116,7 +290994,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
291116
290994
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
291117
290995
|
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
291118
290996
|
/* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
|
|
291119
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12,
|
|
290997
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11;
|
|
291120
290998
|
|
|
291121
290999
|
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
|
291122
291000
|
|
|
@@ -291129,102 +291007,88 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
291129
291007
|
|
|
291130
291008
|
|
|
291131
291009
|
|
|
291132
|
-
let LinkNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_2__.sugarNode)("link", `Ссылка`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Action/Link sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_2__.attr)("
|
|
291010
|
+
let LinkNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_2__.sugarNode)("link", `Ссылка`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Action/Link sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_2__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_2__.attrType.bindingPath, "Путь в модели"), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_2__.deprecatedAttr)("optional", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_0__.DeprecationReason.UntypedUsage), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_2__.attr)("defaultValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_2__.attrType.string, ``), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_2__.deprecatedAttr)("default", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_0__.DeprecationReason.InvalidUsage), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_2__.deprecatedAttr)("color", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_0__.DeprecationReason.Removed), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_2__.attr)("onClick", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_2__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется при клике"), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_2__.attr)("use", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_2__.attrType.enum("default", "success", "danger", "grayed"), "Тип, влияет на цвет. см. в retail-ui"), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_2__.attr)("href", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_2__.attrType.string, "Ссылка"), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_2__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_2__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_4__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_4__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_2__.attr)("metrics-id", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_2__.attrType.string, "Идентификатор ссылки, который будет отправлен вместе с метриками по этой ссылке"), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_2__.children)(), _dec(_class = (_class2 = class LinkNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_1__.SugarNodeWithLegacyVisibility {
|
|
291133
291011
|
constructor(...args) {
|
|
291134
291012
|
super(...args);
|
|
291135
291013
|
|
|
291136
|
-
_initializerDefineProperty(this, "
|
|
291137
|
-
|
|
291138
|
-
_initializerDefineProperty(this, "path", _descriptor2, this);
|
|
291139
|
-
|
|
291140
|
-
_initializerDefineProperty(this, "optional", _descriptor3, this);
|
|
291014
|
+
_initializerDefineProperty(this, "path", _descriptor, this);
|
|
291141
291015
|
|
|
291142
|
-
_initializerDefineProperty(this, "
|
|
291016
|
+
_initializerDefineProperty(this, "optional", _descriptor2, this);
|
|
291143
291017
|
|
|
291144
|
-
_initializerDefineProperty(this, "
|
|
291018
|
+
_initializerDefineProperty(this, "defaultValue", _descriptor3, this);
|
|
291145
291019
|
|
|
291146
|
-
_initializerDefineProperty(this, "
|
|
291020
|
+
_initializerDefineProperty(this, "default", _descriptor4, this);
|
|
291147
291021
|
|
|
291148
|
-
_initializerDefineProperty(this, "
|
|
291022
|
+
_initializerDefineProperty(this, "color", _descriptor5, this);
|
|
291149
291023
|
|
|
291150
|
-
_initializerDefineProperty(this, "
|
|
291024
|
+
_initializerDefineProperty(this, "onClick", _descriptor6, this);
|
|
291151
291025
|
|
|
291152
|
-
_initializerDefineProperty(this, "
|
|
291026
|
+
_initializerDefineProperty(this, "use", _descriptor7, this);
|
|
291153
291027
|
|
|
291154
|
-
_initializerDefineProperty(this, "
|
|
291028
|
+
_initializerDefineProperty(this, "href", _descriptor8, this);
|
|
291155
291029
|
|
|
291156
|
-
_initializerDefineProperty(this, "disabled2",
|
|
291030
|
+
_initializerDefineProperty(this, "disabled2", _descriptor9, this);
|
|
291157
291031
|
|
|
291158
|
-
_initializerDefineProperty(this, "metricsId",
|
|
291032
|
+
_initializerDefineProperty(this, "metricsId", _descriptor10, this);
|
|
291159
291033
|
|
|
291160
|
-
_initializerDefineProperty(this, "children",
|
|
291034
|
+
_initializerDefineProperty(this, "children", _descriptor11, this);
|
|
291161
291035
|
}
|
|
291162
291036
|
|
|
291163
291037
|
getOwnPath() {
|
|
291164
291038
|
return this.path != undefined ? _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.ModelPath.createFromMask(this.path, "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.PathTokens.each) : undefined;
|
|
291165
291039
|
}
|
|
291166
291040
|
|
|
291167
|
-
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "
|
|
291168
|
-
configurable: true,
|
|
291169
|
-
enumerable: true,
|
|
291170
|
-
writable: true,
|
|
291171
|
-
initializer: null
|
|
291172
|
-
}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "path", [_dec3], {
|
|
291173
|
-
configurable: true,
|
|
291174
|
-
enumerable: true,
|
|
291175
|
-
writable: true,
|
|
291176
|
-
initializer: null
|
|
291177
|
-
}), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "optional", [_dec4], {
|
|
291041
|
+
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "path", [_dec2], {
|
|
291178
291042
|
configurable: true,
|
|
291179
291043
|
enumerable: true,
|
|
291180
291044
|
writable: true,
|
|
291181
291045
|
initializer: null
|
|
291182
|
-
}),
|
|
291046
|
+
}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "optional", [_dec3], {
|
|
291183
291047
|
configurable: true,
|
|
291184
291048
|
enumerable: true,
|
|
291185
291049
|
writable: true,
|
|
291186
291050
|
initializer: null
|
|
291187
|
-
}),
|
|
291051
|
+
}), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "defaultValue", [_dec4], {
|
|
291188
291052
|
configurable: true,
|
|
291189
291053
|
enumerable: true,
|
|
291190
291054
|
writable: true,
|
|
291191
291055
|
initializer: null
|
|
291192
|
-
}),
|
|
291056
|
+
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "default", [_dec5], {
|
|
291193
291057
|
configurable: true,
|
|
291194
291058
|
enumerable: true,
|
|
291195
291059
|
writable: true,
|
|
291196
291060
|
initializer: null
|
|
291197
|
-
}),
|
|
291061
|
+
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "color", [_dec6], {
|
|
291198
291062
|
configurable: true,
|
|
291199
291063
|
enumerable: true,
|
|
291200
291064
|
writable: true,
|
|
291201
291065
|
initializer: null
|
|
291202
|
-
}),
|
|
291066
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "onClick", [_dec7], {
|
|
291203
291067
|
configurable: true,
|
|
291204
291068
|
enumerable: true,
|
|
291205
291069
|
writable: true,
|
|
291206
291070
|
initializer: null
|
|
291207
|
-
}),
|
|
291071
|
+
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "use", [_dec8], {
|
|
291208
291072
|
configurable: true,
|
|
291209
291073
|
enumerable: true,
|
|
291210
291074
|
writable: true,
|
|
291211
291075
|
initializer: null
|
|
291212
|
-
}),
|
|
291076
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "href", [_dec9], {
|
|
291213
291077
|
configurable: true,
|
|
291214
291078
|
enumerable: true,
|
|
291215
291079
|
writable: true,
|
|
291216
291080
|
initializer: null
|
|
291217
|
-
}),
|
|
291081
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "disabled2", [_dec10], {
|
|
291218
291082
|
configurable: true,
|
|
291219
291083
|
enumerable: true,
|
|
291220
291084
|
writable: true,
|
|
291221
291085
|
initializer: null
|
|
291222
|
-
}),
|
|
291086
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "metricsId", [_dec11], {
|
|
291223
291087
|
configurable: true,
|
|
291224
291088
|
enumerable: true,
|
|
291225
291089
|
writable: true,
|
|
291226
291090
|
initializer: null
|
|
291227
|
-
}),
|
|
291091
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "children", [_dec12], {
|
|
291228
291092
|
configurable: true,
|
|
291229
291093
|
enumerable: true,
|
|
291230
291094
|
writable: true,
|
|
@@ -293069,9 +292933,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
293069
292933
|
/* harmony import */ var _Engine_src_Controls_FormParts_Unit_Store_unitId__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../../../../../Engine/src/Controls/FormParts/Unit/Store/unitId */ "./Engine/src/Controls/FormParts/Unit/Store/unitId.ts");
|
|
293070
292934
|
/* harmony import */ var _Content_ContentNode__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../Content/ContentNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Content/ContentNode.ts");
|
|
293071
292935
|
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
293072
|
-
/* harmony import */ var
|
|
293073
|
-
/* harmony import */ var _FormNode__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./FormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormNode.ts");
|
|
293074
|
-
|
|
292936
|
+
/* harmony import */ var _FormNode__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./FormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormNode.ts");
|
|
293075
292937
|
|
|
293076
292938
|
|
|
293077
292939
|
|
|
@@ -293091,11 +292953,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
293091
292953
|
|
|
293092
292954
|
class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.SugarNodeConverterBase {
|
|
293093
292955
|
static getAcceptNodeClass() {
|
|
293094
|
-
return
|
|
292956
|
+
return _FormNode__WEBPACK_IMPORTED_MODULE_16__.FormNode;
|
|
293095
292957
|
}
|
|
293096
292958
|
|
|
293097
292959
|
doBuildDataDeclaration(context) {
|
|
293098
|
-
const node = this.getCurrentNodeAs(
|
|
292960
|
+
const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_16__.FormNode);
|
|
293099
292961
|
const rootPath = (0,_getRootPath__WEBPACK_IMPORTED_MODULE_3__.getRootPath)(node);
|
|
293100
292962
|
const entrySections = ["default"];
|
|
293101
292963
|
const optionalSections = this.findOptionalSections(node);
|
|
@@ -293115,17 +292977,17 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
293115
292977
|
}
|
|
293116
292978
|
|
|
293117
292979
|
buildChildrenDataDeclaration(context) {
|
|
293118
|
-
const node = this.getCurrentNodeAs(
|
|
292980
|
+
const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_16__.FormNode);
|
|
293119
292981
|
return context.processChildrenDataDeclaration(node.pages);
|
|
293120
292982
|
}
|
|
293121
292983
|
|
|
293122
292984
|
*doTraverseChildren() {
|
|
293123
|
-
const node = this.getCurrentNodeAs(
|
|
292985
|
+
const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_16__.FormNode);
|
|
293124
292986
|
yield* node.pages;
|
|
293125
292987
|
}
|
|
293126
292988
|
|
|
293127
292989
|
doConvert(context) {
|
|
293128
|
-
const node = this.getCurrentNodeAs(
|
|
292990
|
+
const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_16__.FormNode);
|
|
293129
292991
|
|
|
293130
292992
|
if (node.simple) {
|
|
293131
292993
|
return this.buildSimpleForm(context, node);
|
|
@@ -293145,17 +293007,15 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
293145
293007
|
this.assertHasNowOptionalNestedPagesInsideMultipleUnits(formNode);
|
|
293146
293008
|
const pageNodes = this.getFormPages(formNode);
|
|
293147
293009
|
const formMarkupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_5__.componentMarkupBuilder)("BaseForm");
|
|
293148
|
-
|
|
293149
|
-
for (const userPicklist of formNode.userPicklists) {
|
|
293150
|
-
const userPicklistMarkupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_5__.componentMarkupBuilder)([], (0,_UserPicklist_UserPicklistConverter__WEBPACK_IMPORTED_MODULE_16__.getUserPicklistComponentName)(userPicklist));
|
|
293151
|
-
formMarkupBuilder.appendChild(userPicklistMarkupBuilder);
|
|
293152
|
-
}
|
|
293153
|
-
|
|
293154
293010
|
formMarkupBuilder.prop(x => x.unitInfos).set(pageNodes.map(pageNode => this.buildUnitInfo(context, pageNode, formNode)));
|
|
293155
293011
|
formMarkupBuilder.appendChild(formContent);
|
|
293156
293012
|
const result = formMarkupBuilder.buildConverterResult();
|
|
293157
|
-
|
|
293158
|
-
|
|
293013
|
+
const pageResults = pageNodes.map(pageNode => context.convertChildNodes([pageNode]));
|
|
293014
|
+
|
|
293015
|
+
for (const pageResult of pageResults) {
|
|
293016
|
+
result.appendConverterResult(pageResult);
|
|
293017
|
+
}
|
|
293018
|
+
|
|
293159
293019
|
result.setCurrentCtx(new _ConverterResults_ConversionContext__WEBPACK_IMPORTED_MODULE_6__.ConversionContext("Form", "Form", true));
|
|
293160
293020
|
return result;
|
|
293161
293021
|
}
|
|
@@ -293240,7 +293100,7 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
293240
293100
|
optional: pageNode.optional,
|
|
293241
293101
|
pageActions: pageNode.pageActions,
|
|
293242
293102
|
showOnDemand: pageNode.showOnDemand,
|
|
293243
|
-
onNavigateFromErrorLog: context.
|
|
293103
|
+
onNavigateFromErrorLog: context.generateHelperFunctionExpression(pageNode, "onNavigateFromErrorLog", pageNode.onNavigateFromErrorLog)
|
|
293244
293104
|
};
|
|
293245
293105
|
return result;
|
|
293246
293106
|
}
|
|
@@ -293470,10 +293330,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
293470
293330
|
/* harmony import */ var _SugarNodes_Nodes_ImportNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../SugarNodes/Nodes/ImportNode */ "./Generator/src/generators/markupGenerator/SugarNodes/Nodes/ImportNode.ts");
|
|
293471
293331
|
/* harmony import */ var _Page_PageNode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../Page/PageNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Page/PageNode.ts");
|
|
293472
293332
|
/* harmony import */ var _Tour_TourNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../Tour/TourNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Tour/TourNode.ts");
|
|
293473
|
-
/* harmony import */ var
|
|
293474
|
-
/* harmony import */ var
|
|
293475
|
-
|
|
293476
|
-
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, _class4, _class5, _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;
|
|
293333
|
+
/* harmony import */ var _Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Nodes/PanelNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/Nodes/PanelNode.ts");
|
|
293334
|
+
/* harmony import */ var _TypeListNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./TypeListNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/TypeListNode.ts");
|
|
293335
|
+
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, _class4, _class5, _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;
|
|
293477
293336
|
|
|
293478
293337
|
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
|
293479
293338
|
|
|
@@ -293490,7 +293349,6 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
293490
293349
|
|
|
293491
293350
|
|
|
293492
293351
|
|
|
293493
|
-
|
|
293494
293352
|
let FetchFunctionsReferenceNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("fetchfunctions", ``), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("importFrom", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec(_class = (_class2 = class FetchFunctionsReferenceNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
293495
293353
|
constructor(...args) {
|
|
293496
293354
|
super(...args);
|
|
@@ -293504,71 +293362,69 @@ let FetchFunctionsReferenceNode = (_dec = (0,_Serializer_SugarSerializer__WEBPAC
|
|
|
293504
293362
|
writable: true,
|
|
293505
293363
|
initializer: null
|
|
293506
293364
|
})), _class2)) || _class);
|
|
293507
|
-
let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("form", `Корневой элемент формы.`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form sync recursive .md$")), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_1__.DataBindingScopeMixinNode), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.
|
|
293365
|
+
let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("form", `Корневой элемент формы.`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form sync recursive .md$")), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_1__.DataBindingScopeMixinNode), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("tour", [_Tour_TourNode__WEBPACK_IMPORTED_MODULE_6__.TourNode]), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("fetchfunctions", [FetchFunctionsReferenceNode]), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("modalIE8", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.Removed), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("m", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("uf", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("forceNavigate", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("hideUnitsAdder", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("hasRegionalForms", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.UntypedUsage), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("controls"), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("import", [_SugarNodes_Nodes_ImportNode__WEBPACK_IMPORTED_MODULE_4__.ImportNode]), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("panel", [_Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_7__.PanelNode]), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("page", [_Page_PageNode__WEBPACK_IMPORTED_MODULE_5__.PageNode]), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("simple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("schemaValidations", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("ieSizeLimitation", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Это флаг включает отображение заглушки для IE, если фуф больше опреленного размера`), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("templates", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Управляет влючение возможность создавать и применять шаблоны keweb-а (кнопка в меню)`), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("plain", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Форма без боковой панели, которая будет содержать один раздел`), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("requisite", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Есть подозрение что это свойство не используется`), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, ``), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("padding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.lengthUnit, ``), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("maxunitscount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Если количество разделов привышает \`maxunitscount\`, тода начинает работать частичный рендеринг (рендерятся не все разедлы, при скроллинге рендерятся другие). Например, это используется в ЕНВД, раздел 2 множественный, и у пользователей может быть много`), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("unitscount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, ``), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("transferText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.localizedString, `Текст в лайтбоксе, который появляется по кнопке "Перенести данные"`), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("navigationLimit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Количество множественных разделов при котором навигация сворачивается (в левой колонке отображаются не все экземпляры), как выглядит можешь посмотреть в ЕНВд при количестве разделов 2 больше 15`), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("uploadFufButtonEnabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Включает кнопку загрузить отчет в "Другие действия" в панели слева.`), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("uploadFufLightboxHideDemandNameButton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Отключает кнопку "Показать имя требования" внутри лайтбокса Загрузки файла.`), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("uploadInquiryButtonEnabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Включает кнопку загрузить справки в панели слева. (только для 6ндфл и РСВ)`), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("type", [_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.TypeNode]), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("types", [_TypeListNode__WEBPACK_IMPORTED_MODULE_8__.TypeListNode]), _dec3(_class4 = (_class5 = class FormNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
293508
293366
|
constructor(...args) {
|
|
293509
293367
|
super(...args);
|
|
293510
293368
|
|
|
293511
293369
|
_initializerDefineProperty(this, "dataScope", _descriptor2, this);
|
|
293512
293370
|
|
|
293513
|
-
_initializerDefineProperty(this, "
|
|
293371
|
+
_initializerDefineProperty(this, "tour", _descriptor3, this);
|
|
293514
293372
|
|
|
293515
|
-
_initializerDefineProperty(this, "
|
|
293373
|
+
_initializerDefineProperty(this, "fetchFunctions", _descriptor4, this);
|
|
293516
293374
|
|
|
293517
|
-
_initializerDefineProperty(this, "
|
|
293375
|
+
_initializerDefineProperty(this, "modalIE8", _descriptor5, this);
|
|
293518
293376
|
|
|
293519
|
-
_initializerDefineProperty(this, "
|
|
293377
|
+
_initializerDefineProperty(this, "mProp", _descriptor6, this);
|
|
293520
293378
|
|
|
293521
|
-
_initializerDefineProperty(this, "
|
|
293379
|
+
_initializerDefineProperty(this, "ufProp", _descriptor7, this);
|
|
293522
293380
|
|
|
293523
|
-
_initializerDefineProperty(this, "
|
|
293381
|
+
_initializerDefineProperty(this, "forceNavigate", _descriptor8, this);
|
|
293524
293382
|
|
|
293525
|
-
_initializerDefineProperty(this, "
|
|
293383
|
+
_initializerDefineProperty(this, "hideUnitsAdder", _descriptor9, this);
|
|
293526
293384
|
|
|
293527
|
-
_initializerDefineProperty(this, "
|
|
293385
|
+
_initializerDefineProperty(this, "hasRegionalForms", _descriptor10, this);
|
|
293528
293386
|
|
|
293529
|
-
_initializerDefineProperty(this, "
|
|
293387
|
+
_initializerDefineProperty(this, "controls", _descriptor11, this);
|
|
293530
293388
|
|
|
293531
|
-
_initializerDefineProperty(this, "
|
|
293389
|
+
_initializerDefineProperty(this, "imports", _descriptor12, this);
|
|
293532
293390
|
|
|
293533
|
-
_initializerDefineProperty(this, "
|
|
293391
|
+
_initializerDefineProperty(this, "panel", _descriptor13, this);
|
|
293534
293392
|
|
|
293535
|
-
_initializerDefineProperty(this, "
|
|
293393
|
+
_initializerDefineProperty(this, "pages", _descriptor14, this);
|
|
293536
293394
|
|
|
293537
|
-
_initializerDefineProperty(this, "
|
|
293395
|
+
_initializerDefineProperty(this, "simple", _descriptor15, this);
|
|
293538
293396
|
|
|
293539
|
-
_initializerDefineProperty(this, "
|
|
293397
|
+
_initializerDefineProperty(this, "schemaValidations", _descriptor16, this);
|
|
293540
293398
|
|
|
293541
|
-
_initializerDefineProperty(this, "
|
|
293399
|
+
_initializerDefineProperty(this, "ieSizeLimitation", _descriptor17, this);
|
|
293542
293400
|
|
|
293543
|
-
_initializerDefineProperty(this, "
|
|
293401
|
+
_initializerDefineProperty(this, "templates", _descriptor18, this);
|
|
293544
293402
|
|
|
293545
|
-
_initializerDefineProperty(this, "
|
|
293403
|
+
_initializerDefineProperty(this, "plain", _descriptor19, this);
|
|
293546
293404
|
|
|
293547
|
-
_initializerDefineProperty(this, "
|
|
293405
|
+
_initializerDefineProperty(this, "requisite", _descriptor20, this);
|
|
293548
293406
|
|
|
293549
|
-
_initializerDefineProperty(this, "
|
|
293407
|
+
_initializerDefineProperty(this, "width", _descriptor21, this);
|
|
293550
293408
|
|
|
293551
|
-
_initializerDefineProperty(this, "
|
|
293409
|
+
_initializerDefineProperty(this, "padding", _descriptor22, this);
|
|
293552
293410
|
|
|
293553
|
-
_initializerDefineProperty(this, "
|
|
293411
|
+
_initializerDefineProperty(this, "maxUnitsCount", _descriptor23, this);
|
|
293554
293412
|
|
|
293555
|
-
_initializerDefineProperty(this, "
|
|
293413
|
+
_initializerDefineProperty(this, "unitsCount", _descriptor24, this);
|
|
293556
293414
|
|
|
293557
|
-
_initializerDefineProperty(this, "
|
|
293415
|
+
_initializerDefineProperty(this, "transferText", _descriptor25, this);
|
|
293558
293416
|
|
|
293559
|
-
_initializerDefineProperty(this, "
|
|
293417
|
+
_initializerDefineProperty(this, "navigationLimit", _descriptor26, this);
|
|
293560
293418
|
|
|
293561
|
-
_initializerDefineProperty(this, "
|
|
293419
|
+
_initializerDefineProperty(this, "uploadFufButtonEnabled", _descriptor27, this);
|
|
293562
293420
|
|
|
293563
|
-
_initializerDefineProperty(this, "
|
|
293421
|
+
_initializerDefineProperty(this, "uploadFufLightboxHideDemandNameButton", _descriptor28, this);
|
|
293564
293422
|
|
|
293565
|
-
_initializerDefineProperty(this, "
|
|
293423
|
+
_initializerDefineProperty(this, "uploadInquiryButtonEnabled", _descriptor29, this);
|
|
293566
293424
|
|
|
293567
|
-
_initializerDefineProperty(this, "
|
|
293425
|
+
_initializerDefineProperty(this, "types", _descriptor30, this);
|
|
293568
293426
|
|
|
293569
|
-
_initializerDefineProperty(this, "
|
|
293570
|
-
|
|
293571
|
-
_initializerDefineProperty(this, "typeLists", _descriptor32, this);
|
|
293427
|
+
_initializerDefineProperty(this, "typeLists", _descriptor31, this);
|
|
293572
293428
|
}
|
|
293573
293429
|
|
|
293574
293430
|
getOwnPath() {
|
|
@@ -293588,152 +293444,147 @@ let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
|
|
|
293588
293444
|
enumerable: true,
|
|
293589
293445
|
writable: true,
|
|
293590
293446
|
initializer: null
|
|
293591
|
-
}), _descriptor3 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293447
|
+
}), _descriptor3 = _applyDecoratedDescriptor(_class5.prototype, "tour", [_dec5], {
|
|
293592
293448
|
configurable: true,
|
|
293593
293449
|
enumerable: true,
|
|
293594
293450
|
writable: true,
|
|
293595
293451
|
initializer: null
|
|
293596
|
-
}), _descriptor4 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293452
|
+
}), _descriptor4 = _applyDecoratedDescriptor(_class5.prototype, "fetchFunctions", [_dec6], {
|
|
293597
293453
|
configurable: true,
|
|
293598
293454
|
enumerable: true,
|
|
293599
293455
|
writable: true,
|
|
293600
293456
|
initializer: null
|
|
293601
|
-
}), _descriptor5 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293457
|
+
}), _descriptor5 = _applyDecoratedDescriptor(_class5.prototype, "modalIE8", [_dec7], {
|
|
293602
293458
|
configurable: true,
|
|
293603
293459
|
enumerable: true,
|
|
293604
293460
|
writable: true,
|
|
293605
293461
|
initializer: null
|
|
293606
|
-
}), _descriptor6 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293462
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class5.prototype, "mProp", [_dec8], {
|
|
293607
293463
|
configurable: true,
|
|
293608
293464
|
enumerable: true,
|
|
293609
293465
|
writable: true,
|
|
293610
293466
|
initializer: null
|
|
293611
|
-
}), _descriptor7 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293467
|
+
}), _descriptor7 = _applyDecoratedDescriptor(_class5.prototype, "ufProp", [_dec9], {
|
|
293612
293468
|
configurable: true,
|
|
293613
293469
|
enumerable: true,
|
|
293614
293470
|
writable: true,
|
|
293615
293471
|
initializer: null
|
|
293616
|
-
}), _descriptor8 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293472
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class5.prototype, "forceNavigate", [_dec10], {
|
|
293617
293473
|
configurable: true,
|
|
293618
293474
|
enumerable: true,
|
|
293619
293475
|
writable: true,
|
|
293620
293476
|
initializer: null
|
|
293621
|
-
}), _descriptor9 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293477
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class5.prototype, "hideUnitsAdder", [_dec11], {
|
|
293622
293478
|
configurable: true,
|
|
293623
293479
|
enumerable: true,
|
|
293624
293480
|
writable: true,
|
|
293625
293481
|
initializer: null
|
|
293626
|
-
}), _descriptor10 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293482
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class5.prototype, "hasRegionalForms", [_dec12], {
|
|
293627
293483
|
configurable: true,
|
|
293628
293484
|
enumerable: true,
|
|
293629
293485
|
writable: true,
|
|
293630
293486
|
initializer: null
|
|
293631
|
-
}), _descriptor11 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293487
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class5.prototype, "controls", [_dec13], {
|
|
293632
293488
|
configurable: true,
|
|
293633
293489
|
enumerable: true,
|
|
293634
293490
|
writable: true,
|
|
293635
293491
|
initializer: null
|
|
293636
|
-
}), _descriptor12 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293492
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class5.prototype, "imports", [_dec14], {
|
|
293637
293493
|
configurable: true,
|
|
293638
293494
|
enumerable: true,
|
|
293639
293495
|
writable: true,
|
|
293640
293496
|
initializer: null
|
|
293641
|
-
}), _descriptor13 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293497
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class5.prototype, "panel", [_dec15], {
|
|
293642
293498
|
configurable: true,
|
|
293643
293499
|
enumerable: true,
|
|
293644
293500
|
writable: true,
|
|
293645
293501
|
initializer: null
|
|
293646
|
-
}), _descriptor14 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293502
|
+
}), _descriptor14 = _applyDecoratedDescriptor(_class5.prototype, "pages", [_dec16], {
|
|
293647
293503
|
configurable: true,
|
|
293648
293504
|
enumerable: true,
|
|
293649
293505
|
writable: true,
|
|
293650
293506
|
initializer: null
|
|
293651
|
-
}), _descriptor15 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293507
|
+
}), _descriptor15 = _applyDecoratedDescriptor(_class5.prototype, "simple", [_dec17], {
|
|
293652
293508
|
configurable: true,
|
|
293653
293509
|
enumerable: true,
|
|
293654
293510
|
writable: true,
|
|
293655
293511
|
initializer: null
|
|
293656
|
-
}), _descriptor16 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293512
|
+
}), _descriptor16 = _applyDecoratedDescriptor(_class5.prototype, "schemaValidations", [_dec18], {
|
|
293657
293513
|
configurable: true,
|
|
293658
293514
|
enumerable: true,
|
|
293659
293515
|
writable: true,
|
|
293660
293516
|
initializer: null
|
|
293661
|
-
}), _descriptor17 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293517
|
+
}), _descriptor17 = _applyDecoratedDescriptor(_class5.prototype, "ieSizeLimitation", [_dec19], {
|
|
293662
293518
|
configurable: true,
|
|
293663
293519
|
enumerable: true,
|
|
293664
293520
|
writable: true,
|
|
293665
293521
|
initializer: null
|
|
293666
|
-
}), _descriptor18 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293522
|
+
}), _descriptor18 = _applyDecoratedDescriptor(_class5.prototype, "templates", [_dec20], {
|
|
293667
293523
|
configurable: true,
|
|
293668
293524
|
enumerable: true,
|
|
293669
293525
|
writable: true,
|
|
293670
293526
|
initializer: null
|
|
293671
|
-
}), _descriptor19 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293527
|
+
}), _descriptor19 = _applyDecoratedDescriptor(_class5.prototype, "plain", [_dec21], {
|
|
293672
293528
|
configurable: true,
|
|
293673
293529
|
enumerable: true,
|
|
293674
293530
|
writable: true,
|
|
293675
293531
|
initializer: null
|
|
293676
|
-
}), _descriptor20 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293532
|
+
}), _descriptor20 = _applyDecoratedDescriptor(_class5.prototype, "requisite", [_dec22], {
|
|
293677
293533
|
configurable: true,
|
|
293678
293534
|
enumerable: true,
|
|
293679
293535
|
writable: true,
|
|
293680
293536
|
initializer: null
|
|
293681
|
-
}), _descriptor21 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293537
|
+
}), _descriptor21 = _applyDecoratedDescriptor(_class5.prototype, "width", [_dec23], {
|
|
293682
293538
|
configurable: true,
|
|
293683
293539
|
enumerable: true,
|
|
293684
293540
|
writable: true,
|
|
293685
293541
|
initializer: null
|
|
293686
|
-
}), _descriptor22 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293542
|
+
}), _descriptor22 = _applyDecoratedDescriptor(_class5.prototype, "padding", [_dec24], {
|
|
293687
293543
|
configurable: true,
|
|
293688
293544
|
enumerable: true,
|
|
293689
293545
|
writable: true,
|
|
293690
293546
|
initializer: null
|
|
293691
|
-
}), _descriptor23 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293547
|
+
}), _descriptor23 = _applyDecoratedDescriptor(_class5.prototype, "maxUnitsCount", [_dec25], {
|
|
293692
293548
|
configurable: true,
|
|
293693
293549
|
enumerable: true,
|
|
293694
293550
|
writable: true,
|
|
293695
293551
|
initializer: null
|
|
293696
|
-
}), _descriptor24 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293552
|
+
}), _descriptor24 = _applyDecoratedDescriptor(_class5.prototype, "unitsCount", [_dec26], {
|
|
293697
293553
|
configurable: true,
|
|
293698
293554
|
enumerable: true,
|
|
293699
293555
|
writable: true,
|
|
293700
293556
|
initializer: null
|
|
293701
|
-
}), _descriptor25 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293557
|
+
}), _descriptor25 = _applyDecoratedDescriptor(_class5.prototype, "transferText", [_dec27], {
|
|
293702
293558
|
configurable: true,
|
|
293703
293559
|
enumerable: true,
|
|
293704
293560
|
writable: true,
|
|
293705
293561
|
initializer: null
|
|
293706
|
-
}), _descriptor26 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293562
|
+
}), _descriptor26 = _applyDecoratedDescriptor(_class5.prototype, "navigationLimit", [_dec28], {
|
|
293707
293563
|
configurable: true,
|
|
293708
293564
|
enumerable: true,
|
|
293709
293565
|
writable: true,
|
|
293710
293566
|
initializer: null
|
|
293711
|
-
}), _descriptor27 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293567
|
+
}), _descriptor27 = _applyDecoratedDescriptor(_class5.prototype, "uploadFufButtonEnabled", [_dec29], {
|
|
293712
293568
|
configurable: true,
|
|
293713
293569
|
enumerable: true,
|
|
293714
293570
|
writable: true,
|
|
293715
293571
|
initializer: null
|
|
293716
|
-
}), _descriptor28 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293572
|
+
}), _descriptor28 = _applyDecoratedDescriptor(_class5.prototype, "uploadFufLightboxHideDemandNameButton", [_dec30], {
|
|
293717
293573
|
configurable: true,
|
|
293718
293574
|
enumerable: true,
|
|
293719
293575
|
writable: true,
|
|
293720
293576
|
initializer: null
|
|
293721
|
-
}), _descriptor29 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293577
|
+
}), _descriptor29 = _applyDecoratedDescriptor(_class5.prototype, "uploadInquiryButtonEnabled", [_dec31], {
|
|
293722
293578
|
configurable: true,
|
|
293723
293579
|
enumerable: true,
|
|
293724
293580
|
writable: true,
|
|
293725
293581
|
initializer: null
|
|
293726
|
-
}), _descriptor30 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293582
|
+
}), _descriptor30 = _applyDecoratedDescriptor(_class5.prototype, "types", [_dec32], {
|
|
293727
293583
|
configurable: true,
|
|
293728
293584
|
enumerable: true,
|
|
293729
293585
|
writable: true,
|
|
293730
293586
|
initializer: null
|
|
293731
|
-
}), _descriptor31 = _applyDecoratedDescriptor(_class5.prototype, "
|
|
293732
|
-
configurable: true,
|
|
293733
|
-
enumerable: true,
|
|
293734
|
-
writable: true,
|
|
293735
|
-
initializer: null
|
|
293736
|
-
}), _descriptor32 = _applyDecoratedDescriptor(_class5.prototype, "typeLists", [_dec34], {
|
|
293587
|
+
}), _descriptor31 = _applyDecoratedDescriptor(_class5.prototype, "typeLists", [_dec33], {
|
|
293737
293588
|
configurable: true,
|
|
293738
293589
|
enumerable: true,
|
|
293739
293590
|
writable: true,
|
|
@@ -294899,198 +294750,6 @@ let UnitListNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODU
|
|
|
294899
294750
|
|
|
294900
294751
|
/***/ }),
|
|
294901
294752
|
|
|
294902
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/UserPicklist/UserPicklistConverter.ts":
|
|
294903
|
-
/*!********************************************************************************************************************!*\
|
|
294904
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/UserPicklist/UserPicklistConverter.ts ***!
|
|
294905
|
-
\********************************************************************************************************************/
|
|
294906
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
294907
|
-
|
|
294908
|
-
"use strict";
|
|
294909
|
-
__webpack_require__.r(__webpack_exports__);
|
|
294910
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
294911
|
-
/* harmony export */ "getUserPicklistComponentName": () => (/* binding */ getUserPicklistComponentName),
|
|
294912
|
-
/* harmony export */ "UserPicklistConverter": () => (/* binding */ UserPicklistConverter)
|
|
294913
|
-
/* harmony export */ });
|
|
294914
|
-
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
294915
|
-
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
294916
|
-
/* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../DataDeclarationGenerator/DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
|
|
294917
|
-
/* harmony import */ var _common_StringUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../common/StringUtils */ "./Generator/src/common/StringUtils.ts");
|
|
294918
|
-
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
294919
|
-
/* harmony import */ var _ConverterResults_ConversionContext__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../ConverterResults/ConversionContext */ "./Generator/src/generators/markupGenerator/ConverterResults/ConversionContext.ts");
|
|
294920
|
-
/* harmony import */ var _validationGenerator_ValidationGenerator__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../validationGenerator/ValidationGenerator */ "./Generator/src/generators/validationGenerator/ValidationGenerator.ts");
|
|
294921
|
-
/* harmony import */ var _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../common/SchemaRng/FormSchemaRng */ "./Generator/src/common/SchemaRng/FormSchemaRng.ts");
|
|
294922
|
-
/* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
|
|
294923
|
-
/* harmony import */ var _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../../common/XmlParser/XmlNode */ "./Generator/src/common/XmlParser/XmlNode.ts");
|
|
294924
|
-
/* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerator__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../DataDeclarationGenerator/DataDeclarationGenerator */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerator.ts");
|
|
294925
|
-
/* harmony import */ var _DataDeclarationGenerator_DataDeclarationInitSourceSequenceFactory__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../DataDeclarationGenerator/DataDeclarationInitSourceSequenceFactory */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationInitSourceSequenceFactory.ts");
|
|
294926
|
-
/* harmony import */ var _common_FetchFunctions__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../../common/FetchFunctions */ "./Generator/src/common/FetchFunctions.ts");
|
|
294927
|
-
/* harmony import */ var _UserPicklistNode__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./UserPicklistNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/UserPicklist/UserPicklistNode.ts");
|
|
294928
|
-
|
|
294929
|
-
|
|
294930
|
-
|
|
294931
|
-
|
|
294932
|
-
|
|
294933
|
-
|
|
294934
|
-
|
|
294935
|
-
|
|
294936
|
-
|
|
294937
|
-
|
|
294938
|
-
|
|
294939
|
-
|
|
294940
|
-
|
|
294941
|
-
|
|
294942
|
-
function getUserPicklistComponentName(node) {
|
|
294943
|
-
return (0,_common_StringUtils__WEBPACK_IMPORTED_MODULE_3__.capitalizeFirstLetter)(node.name) + "PicklistEditor";
|
|
294944
|
-
}
|
|
294945
|
-
class UserPicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_0__.SugarNodeConverterBase {
|
|
294946
|
-
static getAcceptNodeClass() {
|
|
294947
|
-
return _UserPicklistNode__WEBPACK_IMPORTED_MODULE_13__.UserPicklistNode;
|
|
294948
|
-
}
|
|
294949
|
-
|
|
294950
|
-
applyVisibilityPathProcessing() {
|
|
294951
|
-
return false;
|
|
294952
|
-
}
|
|
294953
|
-
|
|
294954
|
-
*doBuildNormalizeRules(builder) {// no rules
|
|
294955
|
-
}
|
|
294956
|
-
|
|
294957
|
-
doBuildDataDeclaration(context) {
|
|
294958
|
-
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__.emptyDataDeclarationCollection;
|
|
294959
|
-
}
|
|
294960
|
-
|
|
294961
|
-
buildChildrenDataDeclaration(context) {
|
|
294962
|
-
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__.emptyDataDeclarationCollection;
|
|
294963
|
-
}
|
|
294964
|
-
|
|
294965
|
-
*doTraverseChildren() {// Дети есть, но это отключит разные ненужные механизмы формы.
|
|
294966
|
-
}
|
|
294967
|
-
|
|
294968
|
-
doConvert(context) {
|
|
294969
|
-
var _findSugarNodeBases$, _findSugarNodeBases$2;
|
|
294970
|
-
|
|
294971
|
-
const node = this.getCurrentNodeAs(_UserPicklistNode__WEBPACK_IMPORTED_MODULE_13__.UserPicklistNode);
|
|
294972
|
-
const userPicklistDeclarationBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_4__.componentMarkupBuilder)("UserPicklistDeclaration");
|
|
294973
|
-
userPicklistDeclarationBuilder.prop(x => x.name).set(node.name);
|
|
294974
|
-
userPicklistDeclarationBuilder.prop(x => x.columns).set(node.columns);
|
|
294975
|
-
userPicklistDeclarationBuilder.prop(x => x.pickerTitle).set(this.getConverterResultFromAttributeWithMarkup(context, node.pickerTitle));
|
|
294976
|
-
userPicklistDeclarationBuilder.prop(x => x.pickerCreateLink).set(this.getConverterResultFromAttributeWithMarkup(context, node.pickerCreateLink));
|
|
294977
|
-
userPicklistDeclarationBuilder.prop(x => x.createTitle).set(this.getConverterResultFromAttributeWithMarkup(context, node.createTitle));
|
|
294978
|
-
userPicklistDeclarationBuilder.prop(x => x.emptyPickerMessage).set(this.getConverterResultFromAttributeWithMarkup(context, node.emptyPickerMessage));
|
|
294979
|
-
userPicklistDeclarationBuilder.prop(x => x.editor).set(this.getConverterResultFromAttributeWithMarkup(context, node.editor));
|
|
294980
|
-
|
|
294981
|
-
if (node.editor.length !== 1) {
|
|
294982
|
-
throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_9__.SugarAttributeReadError(`userpicklist.editor должен содержать ровно один элемент (временно)`, node, "editor");
|
|
294983
|
-
}
|
|
294984
|
-
|
|
294985
|
-
const validationGenerator = new _validationGenerator_ValidationGenerator__WEBPACK_IMPORTED_MODULE_6__.ValidationGenerator((_findSugarNodeBases$ = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.findSugarNodeBases)(node.editor)[0]) !== null && _findSugarNodeBases$ !== void 0 ? _findSugarNodeBases$ : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_8__.reject)(), context.typesRegistry, context.controlCustomizationContext, _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_7__.FormSchemaRng.createEmpty(), false);
|
|
294986
|
-
userPicklistDeclarationBuilder.prop(x => x.editorValidations).set({
|
|
294987
|
-
type: "Expression",
|
|
294988
|
-
expression: validationGenerator.generateValidationsFactory()
|
|
294989
|
-
});
|
|
294990
|
-
const dataDeclarationGenerator = new _DataDeclarationGenerator_DataDeclarationGenerator__WEBPACK_IMPORTED_MODULE_10__.DataDeclarationGenerator((_findSugarNodeBases$2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.findSugarNodeBases)(node.editor)[0]) !== null && _findSugarNodeBases$2 !== void 0 ? _findSugarNodeBases$2 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_8__.reject)(), new _DataDeclarationGenerator_DataDeclarationInitSourceSequenceFactory__WEBPACK_IMPORTED_MODULE_11__.DataDeclarationInitSourceSequenceFactory(_common_FetchFunctions__WEBPACK_IMPORTED_MODULE_12__.FetchFunctions.empty()), context.controlCustomizationContext, context.typesRegistry);
|
|
294991
|
-
userPicklistDeclarationBuilder.prop(x => x.editorDataDeclaration).set({
|
|
294992
|
-
type: "Expression",
|
|
294993
|
-
expression: dataDeclarationGenerator.generateDataDeclarationFactory()
|
|
294994
|
-
});
|
|
294995
|
-
const result = userPicklistDeclarationBuilder.buildConverterResult();
|
|
294996
|
-
const picklistEditorName = getUserPicklistComponentName(node);
|
|
294997
|
-
result.setCurrentCtx(new _ConverterResults_ConversionContext__WEBPACK_IMPORTED_MODULE_5__.ConversionContext(picklistEditorName, picklistEditorName, true));
|
|
294998
|
-
return result;
|
|
294999
|
-
}
|
|
295000
|
-
|
|
295001
|
-
}
|
|
295002
|
-
|
|
295003
|
-
/***/ }),
|
|
295004
|
-
|
|
295005
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/UserPicklist/UserPicklistNode.ts":
|
|
295006
|
-
/*!***************************************************************************************************************!*\
|
|
295007
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/UserPicklist/UserPicklistNode.ts ***!
|
|
295008
|
-
\***************************************************************************************************************/
|
|
295009
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
295010
|
-
|
|
295011
|
-
"use strict";
|
|
295012
|
-
__webpack_require__.r(__webpack_exports__);
|
|
295013
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
295014
|
-
/* harmony export */ "UserPicklistNode": () => (/* binding */ UserPicklistNode)
|
|
295015
|
-
/* harmony export */ });
|
|
295016
|
-
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
295017
|
-
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
295018
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;
|
|
295019
|
-
|
|
295020
|
-
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
|
295021
|
-
|
|
295022
|
-
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
|
295023
|
-
|
|
295024
|
-
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
295025
|
-
|
|
295026
|
-
|
|
295027
|
-
|
|
295028
|
-
let UserPicklistNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.sugarNode)("userpicklist", `Обяъвление пользовательско справочника`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/UserPicklist sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attr)("name", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrType.string.required, `Имя справочника, которое указывается в контролах. По умолчанию используется как указательно `), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.markupAttr)("editor", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrType.string, `Код редактора, который отобразится при добавлении значения в справочник`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.markupAttr)("pickerTitle", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrType.string, ``), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.markupAttr)("pickerCreateLink", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrType.string, ``), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.markupAttr)("createTitle", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrType.string, ``), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.markupAttr)("emptyPickerMessage", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrType.string, ``), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attr)("columns", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrType.arrayLiteral(), `Колоночки`), _dec(_class = (_class2 = class UserPicklistNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.SugarNodeBase {
|
|
295029
|
-
constructor(...args) {
|
|
295030
|
-
super(...args);
|
|
295031
|
-
|
|
295032
|
-
_initializerDefineProperty(this, "name", _descriptor, this);
|
|
295033
|
-
|
|
295034
|
-
_initializerDefineProperty(this, "editor", _descriptor2, this);
|
|
295035
|
-
|
|
295036
|
-
_initializerDefineProperty(this, "pickerTitle", _descriptor3, this);
|
|
295037
|
-
|
|
295038
|
-
_initializerDefineProperty(this, "pickerCreateLink", _descriptor4, this);
|
|
295039
|
-
|
|
295040
|
-
_initializerDefineProperty(this, "createTitle", _descriptor5, this);
|
|
295041
|
-
|
|
295042
|
-
_initializerDefineProperty(this, "emptyPickerMessage", _descriptor6, this);
|
|
295043
|
-
|
|
295044
|
-
_initializerDefineProperty(this, "columns", _descriptor7, this);
|
|
295045
|
-
}
|
|
295046
|
-
|
|
295047
|
-
getOwnPath() {
|
|
295048
|
-
return undefined;
|
|
295049
|
-
}
|
|
295050
|
-
|
|
295051
|
-
getFullPathForChildren() {
|
|
295052
|
-
return new _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.AbsoluteModelPath([]);
|
|
295053
|
-
}
|
|
295054
|
-
|
|
295055
|
-
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "name", [_dec2], {
|
|
295056
|
-
configurable: true,
|
|
295057
|
-
enumerable: true,
|
|
295058
|
-
writable: true,
|
|
295059
|
-
initializer: null
|
|
295060
|
-
}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "editor", [_dec3], {
|
|
295061
|
-
configurable: true,
|
|
295062
|
-
enumerable: true,
|
|
295063
|
-
writable: true,
|
|
295064
|
-
initializer: null
|
|
295065
|
-
}), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "pickerTitle", [_dec4], {
|
|
295066
|
-
configurable: true,
|
|
295067
|
-
enumerable: true,
|
|
295068
|
-
writable: true,
|
|
295069
|
-
initializer: null
|
|
295070
|
-
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "pickerCreateLink", [_dec5], {
|
|
295071
|
-
configurable: true,
|
|
295072
|
-
enumerable: true,
|
|
295073
|
-
writable: true,
|
|
295074
|
-
initializer: null
|
|
295075
|
-
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "createTitle", [_dec6], {
|
|
295076
|
-
configurable: true,
|
|
295077
|
-
enumerable: true,
|
|
295078
|
-
writable: true,
|
|
295079
|
-
initializer: null
|
|
295080
|
-
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "emptyPickerMessage", [_dec7], {
|
|
295081
|
-
configurable: true,
|
|
295082
|
-
enumerable: true,
|
|
295083
|
-
writable: true,
|
|
295084
|
-
initializer: null
|
|
295085
|
-
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "columns", [_dec8], {
|
|
295086
|
-
configurable: true,
|
|
295087
|
-
enumerable: true,
|
|
295088
|
-
writable: true,
|
|
295089
|
-
initializer: null
|
|
295090
|
-
})), _class2)) || _class);
|
|
295091
|
-
|
|
295092
|
-
/***/ }),
|
|
295093
|
-
|
|
295094
294753
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Helpers/Help/HelpConverter.ts":
|
|
295095
294754
|
/*!**************************************************************************************************!*\
|
|
295096
294755
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Helpers/Help/HelpConverter.ts ***!
|
|
@@ -295508,7 +295167,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
295508
295167
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
295509
295168
|
|
|
295510
295169
|
|
|
295511
|
-
let NormativeHelpNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.sugarNode)("normativehelp", `Строка со ссылками на справку в Контур.Нормативе`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Helpers/Normativehelp sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attr)("url", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrType.string, ``), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attr)("commonId", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrType.string, `Id ссылки на нормативную базу.`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attr)("commonurl", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrType.string, `Ссылка на
|
|
295170
|
+
let NormativeHelpNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.sugarNode)("normativehelp", `Строка со ссылками на справку в Контур.Нормативе`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Helpers/Normativehelp sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attr)("url", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrType.string, ``), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attr)("commonId", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrType.string, `Id ссылки на нормативную базу.`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attr)("commonurl", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrType.string, `Ссылка на нормативную базу.`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attr)("knd", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrType.string, `КНД`), _dec(_class = (_class2 = class NormativeHelpNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.SugarNodeBase {
|
|
295512
295171
|
constructor(...args) {
|
|
295513
295172
|
super(...args);
|
|
295514
295173
|
|
|
@@ -302119,7 +301778,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302119
301778
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
302120
301779
|
/* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
|
|
302121
301780
|
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
302122
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _dec18, _dec19, _dec20, _class4, _class5, _descriptor17, _descriptor18, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _class7, _class8, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _class10, _class11, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _dec49, _dec50, _dec51, _class13, _class14, _descriptor45, _descriptor46, _dec52, _dec53, _dec54, _class16, _class17, _descriptor47, _descriptor48, _dec55, _dec56, _class19, _class20, _descriptor49, _dec57, _dec58, _class22, _class23, _descriptor50, _dec59, _dec60, _dec61, _dec62, _dec63, _dec64, _dec65, _dec66, _dec67, _dec68, _dec69, _dec70, _dec71, _dec72, _dec73, _dec74, _dec75,
|
|
301781
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _dec18, _dec19, _dec20, _class4, _class5, _descriptor17, _descriptor18, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _class7, _class8, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _class10, _class11, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _dec49, _dec50, _dec51, _class13, _class14, _descriptor45, _descriptor46, _dec52, _dec53, _dec54, _class16, _class17, _descriptor47, _descriptor48, _dec55, _dec56, _class19, _class20, _descriptor49, _dec57, _dec58, _class22, _class23, _descriptor50, _dec59, _dec60, _dec61, _dec62, _dec63, _dec64, _dec65, _dec66, _dec67, _dec68, _dec69, _dec70, _dec71, _dec72, _dec73, _dec74, _dec75, _class25, _class26, _descriptor51, _descriptor52, _descriptor53, _descriptor54, _descriptor55, _descriptor56, _descriptor57, _descriptor58, _descriptor59, _descriptor60, _descriptor61, _descriptor62, _descriptor63, _descriptor64, _descriptor65, _descriptor66;
|
|
302123
301782
|
|
|
302124
301783
|
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
|
302125
301784
|
|
|
@@ -302282,7 +301941,7 @@ let StickyTableMultilineRowNode = (_dec18 = (0,_Serializer_SugarSerializer__WEBP
|
|
|
302282
301941
|
writable: true,
|
|
302283
301942
|
initializer: null
|
|
302284
301943
|
})), _class5)) || _class4);
|
|
302285
|
-
let StickyTableMultilineNode = (_dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("multiline", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.bindingPath, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.bindingPathLink)} данного элемента. Опционально, если не указан, то будет оторажаться текст заданный внутри данного элемента`), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("instancesPerPage", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.Removed), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("defaultChildren", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.arrayLiteral(), ``), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean,
|
|
301944
|
+
let StickyTableMultilineNode = (_dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("multiline", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.bindingPath, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.bindingPathLink)} данного элемента. Опционально, если не указан, то будет оторажаться текст заданный внутри данного элемента`), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("instancesPerPage", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.Removed), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("defaultChildren", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.arrayLiteral(), ``), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("rowmenu", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("className", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.Removed), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("customProperty", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.UntypedUsage), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("addButtonText", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("offsetLeft", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("offsetTop", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("focusByHotkey", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Если добавишь больше 90 строк, то пейджер сворачивается и по focusByHotkey можно сфокусироваться`), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)("row", [StickyTableMultilineRowNode]), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("addbutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, ``), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("doNotCopyPaths", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.stringArray, ``), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("addType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, ``), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("usepager", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("show-row-border", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("override", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.customControl, ``), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("storeFilters", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Будут ли сохраняться фильтры для этого мультилайна между обнолениями страницы. По умолчанию -- нет`), _dec21(_class7 = (_class8 = class StickyTableMultilineNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_3__.SugarNodeWithLegacyVisibility {
|
|
302286
301945
|
constructor(...args) {
|
|
302287
301946
|
super(...args);
|
|
302288
301947
|
|
|
@@ -302436,7 +302095,7 @@ let StickyTableMultilineNode = (_dec21 = (0,_Serializer_SugarSerializer__WEBPACK
|
|
|
302436
302095
|
writable: true,
|
|
302437
302096
|
initializer: null
|
|
302438
302097
|
})), _class8)) || _class7);
|
|
302439
|
-
let StickyTableRowNode = (_dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("row", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingScopeMixinNode), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("kind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("head"),
|
|
302098
|
+
let StickyTableRowNode = (_dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("row", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingScopeMixinNode), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("kind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("head"), ``), _dec46 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("subkind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("numbers"), ``), _dec47 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(["column", "multiline"], [StickyTableColumnNode, StickyTableMultilineNode]), _dec48 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("borderBottom", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec42(_class10 = (_class11 = class StickyTableRowNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
302440
302099
|
constructor(...args) {
|
|
302441
302100
|
super(...args);
|
|
302442
302101
|
|
|
@@ -302564,7 +302223,7 @@ let StickyTableColgroupNode = (_dec57 = (0,_Serializer_SugarSerializer__WEBPACK_
|
|
|
302564
302223
|
writable: true,
|
|
302565
302224
|
initializer: null
|
|
302566
302225
|
})), _class23)) || _class22);
|
|
302567
|
-
let StickyTableNode = (_dec59 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("table", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$"), x => x.boolAttr("sticky") || x.getFirstChild("multiline") != undefined), _dec60 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.bindingPath, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.bindingPathLink)} данного элемента. Опционально, если не указан, то будет оторажаться текст заданный внутри данного элемента`), _dec61 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec62 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("baseline", "top"), ``), _dec63 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean,
|
|
302226
|
+
let StickyTableNode = (_dec59 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("table", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$"), x => x.boolAttr("sticky") || x.getFirstChild("multiline") != undefined), _dec60 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.bindingPath, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.bindingPathLink)} данного элемента. Опционально, если не указан, то будет оторажаться текст заданный внутри данного элемента`), _dec61 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec62 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("baseline", "top"), ``), _dec63 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec64 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("sticky", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec65 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("stickyHeader", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec66 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("grayColumn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, ``), _dec67 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("side", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, ``), _dec68 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("className", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, ``), _dec69 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.singleChild)("colgroup", [StickyTableColgroupNode]), _dec70 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(["row", "multiline"], [StickyTableRowNode, StickyTableMultilineNode]), _dec71 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.singleChild)("header", [StickyTableHeaderNode]), _dec72 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.singleChild)("footer", [StickyTableFooterNode]), _dec73 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("deprecated-diadoc-width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, ``), _dec74 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, `Щирина таблицы`), _dec75 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, ``), _dec59(_class25 = (_class26 = class StickyTableNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_3__.SugarNodeWithLegacyVisibility {
|
|
302568
302227
|
constructor(...args) {
|
|
302569
302228
|
super(...args);
|
|
302570
302229
|
|
|
@@ -302599,8 +302258,6 @@ let StickyTableNode = (_dec59 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED
|
|
|
302599
302258
|
_initializerDefineProperty(this, "width", _descriptor65, this);
|
|
302600
302259
|
|
|
302601
302260
|
_initializerDefineProperty(this, "tid", _descriptor66, this);
|
|
302602
|
-
|
|
302603
|
-
_initializerDefineProperty(this, "columnGrouping", _descriptor67, this);
|
|
302604
302261
|
}
|
|
302605
302262
|
|
|
302606
302263
|
getOwnPath() {
|
|
@@ -302691,11 +302348,6 @@ let StickyTableNode = (_dec59 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED
|
|
|
302691
302348
|
enumerable: true,
|
|
302692
302349
|
writable: true,
|
|
302693
302350
|
initializer: null
|
|
302694
|
-
}), _descriptor67 = _applyDecoratedDescriptor(_class26.prototype, "columnGrouping", [_dec76], {
|
|
302695
|
-
configurable: true,
|
|
302696
|
-
enumerable: true,
|
|
302697
|
-
writable: true,
|
|
302698
|
-
initializer: null
|
|
302699
302351
|
})), _class26)) || _class25);
|
|
302700
302352
|
function isMultilineNode(node) {
|
|
302701
302353
|
return node instanceof StickyTableMultilineNode;
|
|
@@ -304942,25 +304594,6 @@ let HighlightNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MOD
|
|
|
304942
304594
|
|
|
304943
304595
|
/***/ }),
|
|
304944
304596
|
|
|
304945
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Typography/Icon/GetIconName.ts":
|
|
304946
|
-
/*!***************************************************************************************************!*\
|
|
304947
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Typography/Icon/GetIconName.ts ***!
|
|
304948
|
-
\***************************************************************************************************/
|
|
304949
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
304950
|
-
|
|
304951
|
-
"use strict";
|
|
304952
|
-
__webpack_require__.r(__webpack_exports__);
|
|
304953
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
304954
|
-
/* harmony export */ "getIconName": () => (/* binding */ getIconName)
|
|
304955
|
-
/* harmony export */ });
|
|
304956
|
-
function getIconName(node, iconName) {
|
|
304957
|
-
// @ts-ignore Не хочу зависеть от иконок в генераторе, может быть собраться и заиспользовать babel-preeval
|
|
304958
|
-
const iconNameWeakCasted = iconName;
|
|
304959
|
-
return iconNameWeakCasted;
|
|
304960
|
-
}
|
|
304961
|
-
|
|
304962
|
-
/***/ }),
|
|
304963
|
-
|
|
304964
304597
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Typography/Icon/IconConverter.ts":
|
|
304965
304598
|
/*!*****************************************************************************************************!*\
|
|
304966
304599
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Typography/Icon/IconConverter.ts ***!
|
|
@@ -304977,8 +304610,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
304977
304610
|
/* harmony import */ var _ConverterResults_ModuleDescriptor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../ConverterResults/ModuleDescriptor */ "./Generator/src/generators/markupGenerator/ConverterResults/ModuleDescriptor.ts");
|
|
304978
304611
|
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
304979
304612
|
/* harmony import */ var _IconNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./IconNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Typography/Icon/IconNode.ts");
|
|
304980
|
-
/* harmony import */ var _GetIconName__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./GetIconName */ "./Generator/src/generators/markupGenerator/ElementProcessors/Typography/Icon/GetIconName.ts");
|
|
304981
|
-
|
|
304982
304613
|
|
|
304983
304614
|
|
|
304984
304615
|
|
|
@@ -305003,8 +304634,10 @@ class IconConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Sug
|
|
|
305003
304634
|
|
|
305004
304635
|
doConvert(context) {
|
|
305005
304636
|
const node = this.getCurrentNodeAs(_IconNode__WEBPACK_IMPORTED_MODULE_4__.IconNode);
|
|
305006
|
-
const mb = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)(new _ConverterResults_ModuleDescriptor__WEBPACK_IMPORTED_MODULE_2__.ModuleDescriptor("react-ui/Icon", "Icon"));
|
|
305007
|
-
|
|
304637
|
+
const mb = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)(new _ConverterResults_ModuleDescriptor__WEBPACK_IMPORTED_MODULE_2__.ModuleDescriptor("react-ui/Icon", "Icon")); // @ts-ignore Не хочу зависеть от иконок в генераторе, может быть собраться и заиспользовать babel-preeval
|
|
304638
|
+
|
|
304639
|
+
const iconNameWeakCasted = node.name;
|
|
304640
|
+
mb.prop(x => x.name).set(iconNameWeakCasted);
|
|
305008
304641
|
return mb.buildConverterResult();
|
|
305009
304642
|
}
|
|
305010
304643
|
|
|
@@ -306509,7 +306142,7 @@ class DiadocSuggestComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORT
|
|
|
306509
306142
|
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node));
|
|
306510
306143
|
markupBuilder.prop(x => x.disablePortal).set(node.disablePortal);
|
|
306511
306144
|
markupBuilder.prop(x => x.keyColWidth).set(node.keyColWidth);
|
|
306512
|
-
markupBuilder.prop(x => x.query).set(context.
|
|
306145
|
+
markupBuilder.prop(x => x.query).set(context.generateHelperFunctionExpression(node, "query", node.query));
|
|
306513
306146
|
markupBuilder.prop(x => x.width).set(node.width);
|
|
306514
306147
|
markupBuilder.prop(x => x.placeholder).set(node.placeholder);
|
|
306515
306148
|
(0,_CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_4__.setTooltipSettingsProps)(markupBuilder, node.tooltipSettings);
|
|
@@ -307155,6 +306788,15 @@ class FileLoaderConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4
|
|
|
307155
306788
|
[fileLoaderPath.toLegacyPath()]: {
|
|
307156
306789
|
fnsConvertFileExtentions: attachmentType === null || attachmentType === void 0 ? void 0 : attachmentType.fnsConvertFileExtentions
|
|
307157
306790
|
}
|
|
306791
|
+
}, {
|
|
306792
|
+
[fileLoaderPath.joinWith(additionalPath).toLegacyPath()]: {
|
|
306793
|
+
error: [{
|
|
306794
|
+
model: true
|
|
306795
|
+
}, []],
|
|
306796
|
+
warning: [{
|
|
306797
|
+
model: true
|
|
306798
|
+
}, []]
|
|
306799
|
+
}
|
|
307158
306800
|
}, context.addChildPathSectionDeclarationEntry(fileLoader, additionalPath));
|
|
307159
306801
|
}
|
|
307160
306802
|
|
|
@@ -308118,7 +307760,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
308118
307760
|
|
|
308119
307761
|
|
|
308120
307762
|
|
|
308121
|
-
let InputNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("input", `Текстовое поле ввода. Используется только для редактирование текстовых и числовых значений.`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Input sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_1__.ValidationInfoNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingMixinNode), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_7__.TooltipSettingsNode), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("className", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("line", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("resize", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("rngAttribute", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("caption", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("gId", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.UntypedUsage), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("dataType", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("useincorrectvalue", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("inputLimit", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("textOverflow", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.Removed), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("editable", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.Removed), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("title", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("autoResize", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("rows", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("sendMetrics", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.Removed), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("placeholder", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, ""), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("defaultValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, "
|
|
307763
|
+
let InputNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("input", `Текстовое поле ввода. Используется только для редактирование текстовых и числовых значений.`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Input sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_1__.ValidationInfoNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingMixinNode), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_7__.TooltipSettingsNode), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("className", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("line", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("resize", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("rngAttribute", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("caption", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("gId", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.UntypedUsage), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("dataType", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("useincorrectvalue", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("inputLimit", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("textOverflow", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.Removed), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("editable", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.Removed), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("title", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("autoResize", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("rows", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("sendMetrics", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.Removed), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("placeholder", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, ""), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("defaultValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, ""), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.markupAttr)("hint", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, "Всплывающая подсказка по наведению"), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("auto", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, "Подключен авторассчет"), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("mask", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, ""), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("maskChar", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, ""), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("formatChars", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.object, ""), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, "Поле ввода становится заблокированным для редактирования"), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("settings", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, "Загадочное поле, отвечающее за перезапись значений из fetchFn при открытии формы"), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("deprecated-disabled-for-rpn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, "Поле ввода становится заблокированным для редактирования"), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, ""), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("visible", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.javaScriptExpressionLink)} для условного скрытия контрола`), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("left", "right"), "Выравнивание текста внутри поля ввода (`left` | `right`, default: `left`)"), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.markupAttr)("formula", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, "Всплывающая подсказка по авторасчету"), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.markupAttr)("suffix", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Текст или верстка отображаемая в правой части input-а`), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.markupAttr)("prefix", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Текст или верстка отображаемая в левой части input-а`), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("help", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, ``), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)("help", [_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_5__.HelpNode]), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("currency", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `При включении этого флага значение в поле отображается как денежное: с двумя знаками после запятой и пробелами между тысячами.`), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("use-mask-extender", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("ignoreMaskChar"), "Дополнительные возможности использования маски. ('ignoreMaskChar') - при выгрузке в ФУФ игнорируются символы: пробел, (, ), +, -"), _dec(_class = (_class2 = class InputNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_3__.SugarNodeWithLegacyVisibility {
|
|
308122
307764
|
constructor(...args) {
|
|
308123
307765
|
super(...args);
|
|
308124
307766
|
|
|
@@ -308926,7 +308568,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
308926
308568
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
308927
308569
|
/* harmony import */ var _Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../Helpers/Help/HelpNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Helpers/Help/HelpNode.ts");
|
|
308928
308570
|
/* harmony import */ var _Helpers_Help_PopupPosition__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../Helpers/Help/PopupPosition */ "./Generator/src/generators/markupGenerator/ElementProcessors/Helpers/Help/PopupPosition.ts");
|
|
308929
|
-
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, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34,
|
|
308571
|
+
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, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _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, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33;
|
|
308930
308572
|
|
|
308931
308573
|
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
|
308932
308574
|
|
|
@@ -308941,7 +308583,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
308941
308583
|
|
|
308942
308584
|
|
|
308943
308585
|
|
|
308944
|
-
let PicklistNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("picklist", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Picklist sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_1__.ValidationInfoNode), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("gId", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.picklistId, ``), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("limit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, `ограничение на количество загружаемых значений (актуально для больших справочников)`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("textOverflow", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.Removed), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("display", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("valueField", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("sendMetrics", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.Removed), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("placeholder", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, ``), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("title", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, ``), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("empty", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, ``), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("kind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("button", "group"), `"button" - поле заполняется по нажатию на кнопку, "group" - поле заполняется по нажатию на 3 точки (combobox)`), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("columnsWidth", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number), ``), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("fields", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string.required), ``), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("headers", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString.required), `заголовки колонок, \`headers={["Код", "Наименование", "Действует с", "Действует по"]}\``), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("left", "center", "right"), `Выравнивание значения справа /
|
|
308586
|
+
let PicklistNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("picklist", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Picklist sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_1__.ValidationInfoNode), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("gId", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.picklistId, ``), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("limit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, `ограничение на количество загружаемых значений (актуально для больших справочников)`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("textOverflow", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.Removed), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("display", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("valueField", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("sendMetrics", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.Removed), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("placeholder", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, ``), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("title", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, ``), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("empty", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, ``), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("kind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("button", "group"), `"button" - поле заполняется по нажатию на кнопку, "group" - поле заполняется по нажатию на 3 точки (combobox)`), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("columnsWidth", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number), ``), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("fields", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string.required), ``), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("headers", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString.required), `заголовки колонок, \`headers={["Код", "Наименование", "Действует с", "Действует по"]}\``), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("left", "center", "right"), `Выравнивание значения справа / слева`), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("field", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, ``), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("tooltipPosition", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum(..._Helpers_Help_PopupPosition__WEBPACK_IMPORTED_MODULE_6__.allPopupPositions), `Позиция тултипа`), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("normativehelp", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string.required), ``), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("savedescription", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("multiple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("narrowbutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `узкая кнопка с 3-мя точками для вызова справочника`), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("overwriteOnInit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("partialHelpTip", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, `Для изменения части текста (что в фигурных скобках) подсказки: 'Показано n из m значений. {Начните вводить код или название}, чтобы увидеть остальные.'`), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("gPath", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.modelPath, ``), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("gPaths", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.delimitedStringArray, ``), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, ``), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("binding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.objectLiteral(), `Привязка какого-то значения из справочника с моделью в кенди (иннером).`), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("filter", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.javascriptExpression, `Фильтр значений из справочника, которые можно использовать для этого поля. Подробности в описании`), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.bindingPath, ``), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("help", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, ``), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.markupAttr)("footer", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Разметка, отображаемая в нижный части модального окна при выборе значений`), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)("help", [_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_5__.HelpNode]), _dec(_class = (_class2 = class PicklistNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_3__.SugarNodeWithLegacyVisibility {
|
|
308945
308587
|
constructor(...args) {
|
|
308946
308588
|
super(...args);
|
|
308947
308589
|
|
|
@@ -308991,29 +308633,25 @@ let PicklistNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODU
|
|
|
308991
308633
|
|
|
308992
308634
|
_initializerDefineProperty(this, "overwriteOnInit", _descriptor23, this);
|
|
308993
308635
|
|
|
308994
|
-
_initializerDefineProperty(this, "
|
|
308995
|
-
|
|
308996
|
-
_initializerDefineProperty(this, "partialHelpTip", _descriptor25, this);
|
|
308636
|
+
_initializerDefineProperty(this, "partialHelpTip", _descriptor24, this);
|
|
308997
308637
|
|
|
308998
|
-
_initializerDefineProperty(this, "gPath",
|
|
308638
|
+
_initializerDefineProperty(this, "gPath", _descriptor25, this);
|
|
308999
308639
|
|
|
309000
|
-
_initializerDefineProperty(this, "gPaths",
|
|
309001
|
-
|
|
309002
|
-
_initializerDefineProperty(this, "width", _descriptor28, this);
|
|
308640
|
+
_initializerDefineProperty(this, "gPaths", _descriptor26, this);
|
|
309003
308641
|
|
|
309004
|
-
_initializerDefineProperty(this, "
|
|
308642
|
+
_initializerDefineProperty(this, "width", _descriptor27, this);
|
|
309005
308643
|
|
|
309006
|
-
_initializerDefineProperty(this, "
|
|
308644
|
+
_initializerDefineProperty(this, "binding", _descriptor28, this);
|
|
309007
308645
|
|
|
309008
|
-
_initializerDefineProperty(this, "
|
|
308646
|
+
_initializerDefineProperty(this, "filter", _descriptor29, this);
|
|
309009
308647
|
|
|
309010
|
-
_initializerDefineProperty(this, "
|
|
308648
|
+
_initializerDefineProperty(this, "path", _descriptor30, this);
|
|
309011
308649
|
|
|
309012
|
-
_initializerDefineProperty(this, "
|
|
308650
|
+
_initializerDefineProperty(this, "help", _descriptor31, this);
|
|
309013
308651
|
|
|
309014
|
-
_initializerDefineProperty(this, "footer",
|
|
308652
|
+
_initializerDefineProperty(this, "footer", _descriptor32, this);
|
|
309015
308653
|
|
|
309016
|
-
_initializerDefineProperty(this, "helpNodes",
|
|
308654
|
+
_initializerDefineProperty(this, "helpNodes", _descriptor33, this);
|
|
309017
308655
|
}
|
|
309018
308656
|
|
|
309019
308657
|
getOwnPath() {
|
|
@@ -309135,62 +308773,52 @@ let PicklistNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODU
|
|
|
309135
308773
|
enumerable: true,
|
|
309136
308774
|
writable: true,
|
|
309137
308775
|
initializer: null
|
|
309138
|
-
}), _descriptor24 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
309139
|
-
configurable: true,
|
|
309140
|
-
enumerable: true,
|
|
309141
|
-
writable: true,
|
|
309142
|
-
initializer: null
|
|
309143
|
-
}), _descriptor25 = _applyDecoratedDescriptor(_class2.prototype, "partialHelpTip", [_dec26], {
|
|
308776
|
+
}), _descriptor24 = _applyDecoratedDescriptor(_class2.prototype, "partialHelpTip", [_dec25], {
|
|
309144
308777
|
configurable: true,
|
|
309145
308778
|
enumerable: true,
|
|
309146
308779
|
writable: true,
|
|
309147
308780
|
initializer: null
|
|
309148
|
-
}),
|
|
308781
|
+
}), _descriptor25 = _applyDecoratedDescriptor(_class2.prototype, "gPath", [_dec26], {
|
|
309149
308782
|
configurable: true,
|
|
309150
308783
|
enumerable: true,
|
|
309151
308784
|
writable: true,
|
|
309152
308785
|
initializer: null
|
|
309153
|
-
}),
|
|
309154
|
-
configurable: true,
|
|
309155
|
-
enumerable: true,
|
|
309156
|
-
writable: true,
|
|
309157
|
-
initializer: null
|
|
309158
|
-
}), _descriptor28 = _applyDecoratedDescriptor(_class2.prototype, "width", [_dec29], {
|
|
308786
|
+
}), _descriptor26 = _applyDecoratedDescriptor(_class2.prototype, "gPaths", [_dec27], {
|
|
309159
308787
|
configurable: true,
|
|
309160
308788
|
enumerable: true,
|
|
309161
308789
|
writable: true,
|
|
309162
308790
|
initializer: null
|
|
309163
|
-
}),
|
|
308791
|
+
}), _descriptor27 = _applyDecoratedDescriptor(_class2.prototype, "width", [_dec28], {
|
|
309164
308792
|
configurable: true,
|
|
309165
308793
|
enumerable: true,
|
|
309166
308794
|
writable: true,
|
|
309167
308795
|
initializer: null
|
|
309168
|
-
}),
|
|
308796
|
+
}), _descriptor28 = _applyDecoratedDescriptor(_class2.prototype, "binding", [_dec29], {
|
|
309169
308797
|
configurable: true,
|
|
309170
308798
|
enumerable: true,
|
|
309171
308799
|
writable: true,
|
|
309172
308800
|
initializer: null
|
|
309173
|
-
}),
|
|
308801
|
+
}), _descriptor29 = _applyDecoratedDescriptor(_class2.prototype, "filter", [_dec30], {
|
|
309174
308802
|
configurable: true,
|
|
309175
308803
|
enumerable: true,
|
|
309176
308804
|
writable: true,
|
|
309177
308805
|
initializer: null
|
|
309178
|
-
}),
|
|
308806
|
+
}), _descriptor30 = _applyDecoratedDescriptor(_class2.prototype, "path", [_dec31], {
|
|
309179
308807
|
configurable: true,
|
|
309180
308808
|
enumerable: true,
|
|
309181
308809
|
writable: true,
|
|
309182
308810
|
initializer: null
|
|
309183
|
-
}),
|
|
308811
|
+
}), _descriptor31 = _applyDecoratedDescriptor(_class2.prototype, "help", [_dec32], {
|
|
309184
308812
|
configurable: true,
|
|
309185
308813
|
enumerable: true,
|
|
309186
308814
|
writable: true,
|
|
309187
308815
|
initializer: null
|
|
309188
|
-
}),
|
|
308816
|
+
}), _descriptor32 = _applyDecoratedDescriptor(_class2.prototype, "footer", [_dec33], {
|
|
309189
308817
|
configurable: true,
|
|
309190
308818
|
enumerable: true,
|
|
309191
308819
|
writable: true,
|
|
309192
308820
|
initializer: null
|
|
309193
|
-
}),
|
|
308821
|
+
}), _descriptor33 = _applyDecoratedDescriptor(_class2.prototype, "helpNodes", [_dec34], {
|
|
309194
308822
|
configurable: true,
|
|
309195
308823
|
enumerable: true,
|
|
309196
308824
|
writable: true,
|
|
@@ -309366,142 +308994,6 @@ let RadioGroupNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MO
|
|
|
309366
308994
|
|
|
309367
308995
|
/***/ }),
|
|
309368
308996
|
|
|
309369
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/ReferencedFields/ReferencedFieldsConverter.ts":
|
|
309370
|
-
/*!*******************************************************************************************************************************!*\
|
|
309371
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/ReferencedFields/ReferencedFieldsConverter.ts ***!
|
|
309372
|
-
\*******************************************************************************************************************************/
|
|
309373
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
309374
|
-
|
|
309375
|
-
"use strict";
|
|
309376
|
-
__webpack_require__.r(__webpack_exports__);
|
|
309377
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
309378
|
-
/* harmony export */ "ReferencedFieldsConverter": () => (/* binding */ ReferencedFieldsConverter)
|
|
309379
|
-
/* harmony export */ });
|
|
309380
|
-
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
309381
|
-
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
309382
|
-
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
309383
|
-
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
309384
|
-
/* harmony import */ var _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../common/XmlParser/XmlNode */ "./Generator/src/common/XmlParser/XmlNode.ts");
|
|
309385
|
-
/* harmony import */ var _ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ReferencedFieldsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/ReferencedFields/ReferencedFieldsNode.ts");
|
|
309386
|
-
|
|
309387
|
-
|
|
309388
|
-
|
|
309389
|
-
|
|
309390
|
-
|
|
309391
|
-
|
|
309392
|
-
class ReferencedFieldsConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_0__.SugarNodeConverterBase {
|
|
309393
|
-
static getAcceptNodeClass() {
|
|
309394
|
-
return _ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_5__.ReferencedFieldsNode;
|
|
309395
|
-
}
|
|
309396
|
-
|
|
309397
|
-
doBuildDataDeclaration(context) {
|
|
309398
|
-
const node = this.getCurrentNodeAs(_ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_5__.ReferencedFieldsNode);
|
|
309399
|
-
return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node));
|
|
309400
|
-
}
|
|
309401
|
-
|
|
309402
|
-
buildChildrenDataDeclaration(context) {
|
|
309403
|
-
const node = this.getCurrentNodeAs(_ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_5__.ReferencedFieldsNode);
|
|
309404
|
-
return context.mergeDataDeclaration(context.processChildrenDataDeclaration((0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.findSugarNodeBases)(node.manual)), context.processChildrenDataDeclaration((0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.findSugarNodeBases)(node.referenced)));
|
|
309405
|
-
}
|
|
309406
|
-
|
|
309407
|
-
*doTraverseChildren() {
|
|
309408
|
-
const node = this.getCurrentNodeAs(_ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_5__.ReferencedFieldsNode);
|
|
309409
|
-
yield* (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.findSugarNodeBases)(node.manual);
|
|
309410
|
-
yield* (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.findSugarNodeBases)(node.referenced);
|
|
309411
|
-
}
|
|
309412
|
-
|
|
309413
|
-
doConvert(context) {
|
|
309414
|
-
const node = this.getCurrentNodeAs(_ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_5__.ReferencedFieldsNode);
|
|
309415
|
-
this.ensurePathExists(node, node.dataScope.path);
|
|
309416
|
-
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("ReferencedFields");
|
|
309417
|
-
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node));
|
|
309418
|
-
|
|
309419
|
-
if (node.reference == undefined || !node.reference.startsWith("userPicklist:")) {
|
|
309420
|
-
throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_4__.SugarAttributeReadError(`Допустимо использование только пользовательских справочников. Имя должно начинаться с userPicklist:`, node, "reference");
|
|
309421
|
-
}
|
|
309422
|
-
|
|
309423
|
-
markupBuilder.prop(x => x.userPicklistName).set(node.reference.replace(/^userPicklist:/, ""));
|
|
309424
|
-
markupBuilder.prop(x => x.renderManualEditor).set(this.getConverterResultFromAttributeWithMarkup(context, node.manual));
|
|
309425
|
-
markupBuilder.prop(x => x.renderReferencedEditor).set(this.getConverterResultFromAttributeWithMarkup(context, node.referenced));
|
|
309426
|
-
markupBuilder.prop(x => x.mapping).set(node.mapping.map(x => [x[0], (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node, x[1])]));
|
|
309427
|
-
return markupBuilder.buildConverterResult();
|
|
309428
|
-
}
|
|
309429
|
-
|
|
309430
|
-
}
|
|
309431
|
-
|
|
309432
|
-
/***/ }),
|
|
309433
|
-
|
|
309434
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/ReferencedFields/ReferencedFieldsNode.ts":
|
|
309435
|
-
/*!**************************************************************************************************************************!*\
|
|
309436
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/ReferencedFields/ReferencedFieldsNode.ts ***!
|
|
309437
|
-
\**************************************************************************************************************************/
|
|
309438
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
309439
|
-
|
|
309440
|
-
"use strict";
|
|
309441
|
-
__webpack_require__.r(__webpack_exports__);
|
|
309442
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
309443
|
-
/* harmony export */ "ReferencedFieldsNode": () => (/* binding */ ReferencedFieldsNode)
|
|
309444
|
-
/* harmony export */ });
|
|
309445
|
-
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
309446
|
-
/* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
|
|
309447
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;
|
|
309448
|
-
|
|
309449
|
-
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
|
309450
|
-
|
|
309451
|
-
function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
|
|
309452
|
-
|
|
309453
|
-
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
309454
|
-
|
|
309455
|
-
|
|
309456
|
-
|
|
309457
|
-
let ReferencedFieldsNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.sugarNode)("referencedfields", `Редактор набора полей с переключением на выбор справочных или вводимых вручную значений.`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/ReferencedFields sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_1__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attr)("mapping", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrType.arrayLiteral().required, `Маппинг справочных полей в поля ФУФа`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.markupAttr)("manual", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrType.string, `Вариант отображения при ручном вводе`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.markupAttr)("referenced", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrType.string, `Вариант отображения при выборе из справчника`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attr)("reference", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrType.string, `Указатель на справочник. Например picklist:17, userPicklist:partners`), _dec(_class = (_class2 = class ReferencedFieldsNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.SugarNodeBase {
|
|
309458
|
-
constructor(...args) {
|
|
309459
|
-
super(...args);
|
|
309460
|
-
|
|
309461
|
-
_initializerDefineProperty(this, "dataScope", _descriptor, this);
|
|
309462
|
-
|
|
309463
|
-
_initializerDefineProperty(this, "mapping", _descriptor2, this);
|
|
309464
|
-
|
|
309465
|
-
_initializerDefineProperty(this, "manual", _descriptor3, this);
|
|
309466
|
-
|
|
309467
|
-
_initializerDefineProperty(this, "referenced", _descriptor4, this);
|
|
309468
|
-
|
|
309469
|
-
_initializerDefineProperty(this, "reference", _descriptor5, this);
|
|
309470
|
-
}
|
|
309471
|
-
|
|
309472
|
-
getOwnPath() {
|
|
309473
|
-
return this.dataScope.getOwnPath();
|
|
309474
|
-
}
|
|
309475
|
-
|
|
309476
|
-
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "dataScope", [_dec2], {
|
|
309477
|
-
configurable: true,
|
|
309478
|
-
enumerable: true,
|
|
309479
|
-
writable: true,
|
|
309480
|
-
initializer: null
|
|
309481
|
-
}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "mapping", [_dec3], {
|
|
309482
|
-
configurable: true,
|
|
309483
|
-
enumerable: true,
|
|
309484
|
-
writable: true,
|
|
309485
|
-
initializer: null
|
|
309486
|
-
}), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "manual", [_dec4], {
|
|
309487
|
-
configurable: true,
|
|
309488
|
-
enumerable: true,
|
|
309489
|
-
writable: true,
|
|
309490
|
-
initializer: null
|
|
309491
|
-
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "referenced", [_dec5], {
|
|
309492
|
-
configurable: true,
|
|
309493
|
-
enumerable: true,
|
|
309494
|
-
writable: true,
|
|
309495
|
-
initializer: null
|
|
309496
|
-
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "reference", [_dec6], {
|
|
309497
|
-
configurable: true,
|
|
309498
|
-
enumerable: true,
|
|
309499
|
-
writable: true,
|
|
309500
|
-
initializer: null
|
|
309501
|
-
})), _class2)) || _class);
|
|
309502
|
-
|
|
309503
|
-
/***/ }),
|
|
309504
|
-
|
|
309505
308997
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Select/PicklistReference.ts":
|
|
309506
308998
|
/*!*************************************************************************************************************!*\
|
|
309507
308999
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Select/PicklistReference.ts ***!
|
|
@@ -311182,7 +310674,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
311182
310674
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
311183
310675
|
/* harmony import */ var _Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../Helpers/Help/HelpNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Helpers/Help/HelpNode.ts");
|
|
311184
310676
|
/* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
|
|
311185
|
-
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, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38,
|
|
310677
|
+
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, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _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, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37;
|
|
311186
310678
|
|
|
311187
310679
|
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
|
311188
310680
|
|
|
@@ -311197,7 +310689,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
311197
310689
|
|
|
311198
310690
|
|
|
311199
310691
|
|
|
311200
|
-
let TextNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("text", `Текст с возможностью взять значение из модели`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueViewers/Text sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_1__.ValidationInfoNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingMixinNode), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("editable", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.Removed), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("auto", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("offsetLeft", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("rngAttribute", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("autoResize", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("rows", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("textOverflow", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("title", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("description", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("font", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("gId", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.UntypedUsage), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("showError", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Показывать ли ошибку, если она есть по соотв. binding path, вместо значения`), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("field", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `**Внутренне поле** Нелепое поле генерируемое препроцессором для кладра`), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean,
|
|
310692
|
+
let TextNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("text", `Текст с возможностью взять значение из модели`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueViewers/Text sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_1__.ValidationInfoNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingMixinNode), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("editable", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.Removed), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("auto", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("offsetLeft", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("rngAttribute", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("autoResize", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("rows", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("textOverflow", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("title", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("description", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("font", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("gId", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.UntypedUsage), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("showError", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Показывать ли ошибку, если она есть по соотв. binding path, вместо значения`), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("field", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `**Внутренне поле** Нелепое поле генерируемое препроцессором для кладра`), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("line", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Режим отображения текста: блочный или текстовый. Если line="false", то текст будет отображаться в отдельной строке`), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("quotes", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Поле состоящее из двух символов и соответвует кавычкам, в которые будет заключено значение. Например: \`quotes="<>"\``), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("hint", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, `Маленький статичный черный хинт над значением.`), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("valueName", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Из какого ${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.viewModelFieldLink, "поля ViewModel")} брать значение. По умолчанию: \`value\``), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("for", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.bindingPath, ``), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("tooltipWidth", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, `Ширина тултипа с ошибкой`), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("color", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.color, "Цвет"), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("marginTop", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, "Отступ сверху"), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("marginBottom", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, "Отступ снизу"), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("textalign", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("center", "justify", "left", "right", "start", "end"), "Выравнивание"), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, "Ширина блока"), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("marginLeft", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, "Отступ слева"), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("marginRight", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, "Отступ справа"), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("size", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, "Ширина блока"), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("lineHeight", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, "Высота строки"), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("fontWeight", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("bold", "normal", "bolder", "lighter", "100", "200", "300", "400", "500", "600", "700"), "Толщина текста"), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("baseline", "bottom", "middle", "sub", "super", "text-bottom", "text-top", "top"), "Выравнивание"), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("help", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Текст для отображения ${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.helpTooltipLink)}-а`), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)("help", [_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_5__.HelpNode]), _dec(_class = (_class2 = class TextNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_3__.SugarNodeWithLegacyVisibility {
|
|
311201
310693
|
constructor(...args) {
|
|
311202
310694
|
super(...args);
|
|
311203
310695
|
|
|
@@ -311233,51 +310725,47 @@ let TextNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4
|
|
|
311233
310725
|
|
|
311234
310726
|
_initializerDefineProperty(this, "disabled", _descriptor16, this);
|
|
311235
310727
|
|
|
311236
|
-
_initializerDefineProperty(this, "
|
|
310728
|
+
_initializerDefineProperty(this, "line", _descriptor17, this);
|
|
311237
310729
|
|
|
311238
|
-
_initializerDefineProperty(this, "
|
|
310730
|
+
_initializerDefineProperty(this, "quotes", _descriptor18, this);
|
|
311239
310731
|
|
|
311240
|
-
_initializerDefineProperty(this, "
|
|
310732
|
+
_initializerDefineProperty(this, "hint", _descriptor19, this);
|
|
311241
310733
|
|
|
311242
|
-
_initializerDefineProperty(this, "
|
|
310734
|
+
_initializerDefineProperty(this, "optional", _descriptor20, this);
|
|
311243
310735
|
|
|
311244
|
-
_initializerDefineProperty(this, "
|
|
311245
|
-
|
|
311246
|
-
_initializerDefineProperty(this, "valueName", _descriptor22, this);
|
|
310736
|
+
_initializerDefineProperty(this, "valueName", _descriptor21, this);
|
|
311247
310737
|
|
|
311248
|
-
_initializerDefineProperty(this, "for",
|
|
310738
|
+
_initializerDefineProperty(this, "for", _descriptor22, this);
|
|
311249
310739
|
|
|
311250
|
-
_initializerDefineProperty(this, "tooltipWidth",
|
|
310740
|
+
_initializerDefineProperty(this, "tooltipWidth", _descriptor23, this);
|
|
311251
310741
|
|
|
311252
|
-
_initializerDefineProperty(this, "color",
|
|
310742
|
+
_initializerDefineProperty(this, "color", _descriptor24, this);
|
|
311253
310743
|
|
|
311254
|
-
_initializerDefineProperty(this, "marginTop",
|
|
310744
|
+
_initializerDefineProperty(this, "marginTop", _descriptor25, this);
|
|
311255
310745
|
|
|
311256
|
-
_initializerDefineProperty(this, "marginBottom",
|
|
310746
|
+
_initializerDefineProperty(this, "marginBottom", _descriptor26, this);
|
|
311257
310747
|
|
|
311258
|
-
_initializerDefineProperty(this, "textalign",
|
|
310748
|
+
_initializerDefineProperty(this, "textalign", _descriptor27, this);
|
|
311259
310749
|
|
|
311260
|
-
_initializerDefineProperty(this, "width",
|
|
310750
|
+
_initializerDefineProperty(this, "width", _descriptor28, this);
|
|
311261
310751
|
|
|
311262
|
-
_initializerDefineProperty(this, "marginLeft",
|
|
310752
|
+
_initializerDefineProperty(this, "marginLeft", _descriptor29, this);
|
|
311263
310753
|
|
|
311264
|
-
_initializerDefineProperty(this, "marginRight",
|
|
310754
|
+
_initializerDefineProperty(this, "marginRight", _descriptor30, this);
|
|
311265
310755
|
|
|
311266
|
-
_initializerDefineProperty(this, "size",
|
|
310756
|
+
_initializerDefineProperty(this, "size", _descriptor31, this);
|
|
311267
310757
|
|
|
311268
|
-
_initializerDefineProperty(this, "lineHeight",
|
|
310758
|
+
_initializerDefineProperty(this, "lineHeight", _descriptor32, this);
|
|
311269
310759
|
|
|
311270
|
-
_initializerDefineProperty(this, "
|
|
310760
|
+
_initializerDefineProperty(this, "fontWeight", _descriptor33, this);
|
|
311271
310761
|
|
|
311272
|
-
_initializerDefineProperty(this, "
|
|
310762
|
+
_initializerDefineProperty(this, "align", _descriptor34, this);
|
|
311273
310763
|
|
|
311274
|
-
_initializerDefineProperty(this, "
|
|
310764
|
+
_initializerDefineProperty(this, "children", _descriptor35, this);
|
|
311275
310765
|
|
|
311276
|
-
_initializerDefineProperty(this, "
|
|
311277
|
-
|
|
311278
|
-
_initializerDefineProperty(this, "help", _descriptor38, this);
|
|
310766
|
+
_initializerDefineProperty(this, "help", _descriptor36, this);
|
|
311279
310767
|
|
|
311280
|
-
_initializerDefineProperty(this, "helpNodes",
|
|
310768
|
+
_initializerDefineProperty(this, "helpNodes", _descriptor37, this);
|
|
311281
310769
|
}
|
|
311282
310770
|
|
|
311283
310771
|
get path() {
|
|
@@ -311368,117 +310856,107 @@ let TextNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4
|
|
|
311368
310856
|
enumerable: true,
|
|
311369
310857
|
writable: true,
|
|
311370
310858
|
initializer: null
|
|
311371
|
-
}), _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
311372
|
-
configurable: true,
|
|
311373
|
-
enumerable: true,
|
|
311374
|
-
writable: true,
|
|
311375
|
-
initializer: null
|
|
311376
|
-
}), _descriptor18 = _applyDecoratedDescriptor(_class2.prototype, "line", [_dec19], {
|
|
311377
|
-
configurable: true,
|
|
311378
|
-
enumerable: true,
|
|
311379
|
-
writable: true,
|
|
311380
|
-
initializer: null
|
|
311381
|
-
}), _descriptor19 = _applyDecoratedDescriptor(_class2.prototype, "quotes", [_dec20], {
|
|
310859
|
+
}), _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, "line", [_dec18], {
|
|
311382
310860
|
configurable: true,
|
|
311383
310861
|
enumerable: true,
|
|
311384
310862
|
writable: true,
|
|
311385
310863
|
initializer: null
|
|
311386
|
-
}),
|
|
310864
|
+
}), _descriptor18 = _applyDecoratedDescriptor(_class2.prototype, "quotes", [_dec19], {
|
|
311387
310865
|
configurable: true,
|
|
311388
310866
|
enumerable: true,
|
|
311389
310867
|
writable: true,
|
|
311390
310868
|
initializer: null
|
|
311391
|
-
}),
|
|
310869
|
+
}), _descriptor19 = _applyDecoratedDescriptor(_class2.prototype, "hint", [_dec20], {
|
|
311392
310870
|
configurable: true,
|
|
311393
310871
|
enumerable: true,
|
|
311394
310872
|
writable: true,
|
|
311395
310873
|
initializer: null
|
|
311396
|
-
}),
|
|
310874
|
+
}), _descriptor20 = _applyDecoratedDescriptor(_class2.prototype, "optional", [_dec21], {
|
|
311397
310875
|
configurable: true,
|
|
311398
310876
|
enumerable: true,
|
|
311399
310877
|
writable: true,
|
|
311400
310878
|
initializer: null
|
|
311401
|
-
}),
|
|
310879
|
+
}), _descriptor21 = _applyDecoratedDescriptor(_class2.prototype, "valueName", [_dec22], {
|
|
311402
310880
|
configurable: true,
|
|
311403
310881
|
enumerable: true,
|
|
311404
310882
|
writable: true,
|
|
311405
310883
|
initializer: null
|
|
311406
|
-
}),
|
|
310884
|
+
}), _descriptor22 = _applyDecoratedDescriptor(_class2.prototype, "for", [_dec23], {
|
|
311407
310885
|
configurable: true,
|
|
311408
310886
|
enumerable: true,
|
|
311409
310887
|
writable: true,
|
|
311410
310888
|
initializer: null
|
|
311411
|
-
}),
|
|
310889
|
+
}), _descriptor23 = _applyDecoratedDescriptor(_class2.prototype, "tooltipWidth", [_dec24], {
|
|
311412
310890
|
configurable: true,
|
|
311413
310891
|
enumerable: true,
|
|
311414
310892
|
writable: true,
|
|
311415
310893
|
initializer: null
|
|
311416
|
-
}),
|
|
310894
|
+
}), _descriptor24 = _applyDecoratedDescriptor(_class2.prototype, "color", [_dec25], {
|
|
311417
310895
|
configurable: true,
|
|
311418
310896
|
enumerable: true,
|
|
311419
310897
|
writable: true,
|
|
311420
310898
|
initializer: null
|
|
311421
|
-
}),
|
|
310899
|
+
}), _descriptor25 = _applyDecoratedDescriptor(_class2.prototype, "marginTop", [_dec26], {
|
|
311422
310900
|
configurable: true,
|
|
311423
310901
|
enumerable: true,
|
|
311424
310902
|
writable: true,
|
|
311425
310903
|
initializer: null
|
|
311426
|
-
}),
|
|
310904
|
+
}), _descriptor26 = _applyDecoratedDescriptor(_class2.prototype, "marginBottom", [_dec27], {
|
|
311427
310905
|
configurable: true,
|
|
311428
310906
|
enumerable: true,
|
|
311429
310907
|
writable: true,
|
|
311430
310908
|
initializer: null
|
|
311431
|
-
}),
|
|
310909
|
+
}), _descriptor27 = _applyDecoratedDescriptor(_class2.prototype, "textalign", [_dec28], {
|
|
311432
310910
|
configurable: true,
|
|
311433
310911
|
enumerable: true,
|
|
311434
310912
|
writable: true,
|
|
311435
310913
|
initializer: null
|
|
311436
|
-
}),
|
|
310914
|
+
}), _descriptor28 = _applyDecoratedDescriptor(_class2.prototype, "width", [_dec29], {
|
|
311437
310915
|
configurable: true,
|
|
311438
310916
|
enumerable: true,
|
|
311439
310917
|
writable: true,
|
|
311440
310918
|
initializer: null
|
|
311441
|
-
}),
|
|
310919
|
+
}), _descriptor29 = _applyDecoratedDescriptor(_class2.prototype, "marginLeft", [_dec30], {
|
|
311442
310920
|
configurable: true,
|
|
311443
310921
|
enumerable: true,
|
|
311444
310922
|
writable: true,
|
|
311445
310923
|
initializer: null
|
|
311446
|
-
}),
|
|
310924
|
+
}), _descriptor30 = _applyDecoratedDescriptor(_class2.prototype, "marginRight", [_dec31], {
|
|
311447
310925
|
configurable: true,
|
|
311448
310926
|
enumerable: true,
|
|
311449
310927
|
writable: true,
|
|
311450
310928
|
initializer: null
|
|
311451
|
-
}),
|
|
310929
|
+
}), _descriptor31 = _applyDecoratedDescriptor(_class2.prototype, "size", [_dec32], {
|
|
311452
310930
|
configurable: true,
|
|
311453
310931
|
enumerable: true,
|
|
311454
310932
|
writable: true,
|
|
311455
310933
|
initializer: null
|
|
311456
|
-
}),
|
|
310934
|
+
}), _descriptor32 = _applyDecoratedDescriptor(_class2.prototype, "lineHeight", [_dec33], {
|
|
311457
310935
|
configurable: true,
|
|
311458
310936
|
enumerable: true,
|
|
311459
310937
|
writable: true,
|
|
311460
310938
|
initializer: null
|
|
311461
|
-
}),
|
|
310939
|
+
}), _descriptor33 = _applyDecoratedDescriptor(_class2.prototype, "fontWeight", [_dec34], {
|
|
311462
310940
|
configurable: true,
|
|
311463
310941
|
enumerable: true,
|
|
311464
310942
|
writable: true,
|
|
311465
310943
|
initializer: null
|
|
311466
|
-
}),
|
|
310944
|
+
}), _descriptor34 = _applyDecoratedDescriptor(_class2.prototype, "align", [_dec35], {
|
|
311467
310945
|
configurable: true,
|
|
311468
310946
|
enumerable: true,
|
|
311469
310947
|
writable: true,
|
|
311470
310948
|
initializer: null
|
|
311471
|
-
}),
|
|
310949
|
+
}), _descriptor35 = _applyDecoratedDescriptor(_class2.prototype, "children", [_dec36], {
|
|
311472
310950
|
configurable: true,
|
|
311473
310951
|
enumerable: true,
|
|
311474
310952
|
writable: true,
|
|
311475
310953
|
initializer: null
|
|
311476
|
-
}),
|
|
310954
|
+
}), _descriptor36 = _applyDecoratedDescriptor(_class2.prototype, "help", [_dec37], {
|
|
311477
310955
|
configurable: true,
|
|
311478
310956
|
enumerable: true,
|
|
311479
310957
|
writable: true,
|
|
311480
310958
|
initializer: null
|
|
311481
|
-
}),
|
|
310959
|
+
}), _descriptor37 = _applyDecoratedDescriptor(_class2.prototype, "helpNodes", [_dec38], {
|
|
311482
310960
|
configurable: true,
|
|
311483
310961
|
enumerable: true,
|
|
311484
310962
|
writable: true,
|
|
@@ -311694,10 +311172,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
311694
311172
|
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! path */ "path");
|
|
311695
311173
|
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_1__);
|
|
311696
311174
|
/* harmony import */ var _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../common/XmlParser/XmlNode */ "./Generator/src/common/XmlParser/XmlNode.ts");
|
|
311697
|
-
/* harmony import */ var
|
|
311698
|
-
/* harmony import */ var
|
|
311699
|
-
/* harmony import */ var _ConverterResults_ModuleDescriptor__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ConverterResults/ModuleDescriptor */ "./Generator/src/generators/markupGenerator/ConverterResults/ModuleDescriptor.ts");
|
|
311700
|
-
|
|
311175
|
+
/* harmony import */ var _ConverterResults_ConverterResult__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ConverterResults/ConverterResult */ "./Generator/src/generators/markupGenerator/ConverterResults/ConverterResult.ts");
|
|
311176
|
+
/* harmony import */ var _ConverterResults_ModuleDescriptor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ConverterResults/ModuleDescriptor */ "./Generator/src/generators/markupGenerator/ConverterResults/ModuleDescriptor.ts");
|
|
311701
311177
|
|
|
311702
311178
|
|
|
311703
311179
|
|
|
@@ -311753,21 +311229,6 @@ class MarkupBuildingContext {
|
|
|
311753
311229
|
}
|
|
311754
311230
|
|
|
311755
311231
|
generateHelperFunctionExpression(node, propName, helperFunctionName) {
|
|
311756
|
-
if (helperFunctionName != undefined && (0,_Common_FormActionHandlers_ContextualActionNames__WEBPACK_IMPORTED_MODULE_3__.isContextualActionName)(helperFunctionName)) {
|
|
311757
|
-
if (!(0,_Common_FormActionHandlers_ContextualActionNames__WEBPACK_IMPORTED_MODULE_3__.isValidContextualActionName)(helperFunctionName)) {
|
|
311758
|
-
throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_2__.SugarAttributeReadError(`${helperFunctionName} не является корректным именем контекстного действиея`, node, "propName");
|
|
311759
|
-
}
|
|
311760
|
-
|
|
311761
|
-
return {
|
|
311762
|
-
type: "ContextualAction",
|
|
311763
|
-
contextualActionName: helperFunctionName
|
|
311764
|
-
};
|
|
311765
|
-
} else {
|
|
311766
|
-
return this.generateHelperFunctionExpressionWithoutContext(node, propName, helperFunctionName);
|
|
311767
|
-
}
|
|
311768
|
-
}
|
|
311769
|
-
|
|
311770
|
-
generateHelperFunctionExpressionWithoutContext(node, propName, helperFunctionName) {
|
|
311771
311232
|
if (helperFunctionName == undefined) {
|
|
311772
311233
|
return undefined;
|
|
311773
311234
|
}
|
|
@@ -311785,7 +311246,7 @@ class MarkupBuildingContext {
|
|
|
311785
311246
|
return {
|
|
311786
311247
|
type: "Expression",
|
|
311787
311248
|
expression: `helperFunctions.${helperFunctionName}`,
|
|
311788
|
-
dependencies: [
|
|
311249
|
+
dependencies: [_ConverterResults_ModuleDescriptor__WEBPACK_IMPORTED_MODULE_4__.ModuleDescriptor.helperFunctions()]
|
|
311789
311250
|
};
|
|
311790
311251
|
}
|
|
311791
311252
|
|
|
@@ -311800,7 +311261,7 @@ class MarkupBuildingContext {
|
|
|
311800
311261
|
subResult.push(currentNode);
|
|
311801
311262
|
return currentNode.getRenderBody();
|
|
311802
311263
|
});
|
|
311803
|
-
return
|
|
311264
|
+
return _ConverterResults_ConverterResult__WEBPACK_IMPORTED_MODULE_3__.ConverterResult.fromConverterResults(subResult, children.join(""));
|
|
311804
311265
|
}
|
|
311805
311266
|
|
|
311806
311267
|
pushPathsContext() {
|
|
@@ -313168,30 +312629,28 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313168
312629
|
/* harmony export */ });
|
|
313169
312630
|
/* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! chalk */ "./node_modules/chalk/source/index.js");
|
|
313170
312631
|
/* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(chalk__WEBPACK_IMPORTED_MODULE_0__);
|
|
313171
|
-
/* harmony import */ var
|
|
313172
|
-
/* harmony import */ var
|
|
313173
|
-
/* harmony import */ var
|
|
313174
|
-
/* harmony import */ var
|
|
313175
|
-
/* harmony import */ var
|
|
313176
|
-
/* harmony import */ var
|
|
313177
|
-
/* harmony import */ var
|
|
313178
|
-
/* harmony import */ var
|
|
313179
|
-
/* harmony import */ var
|
|
313180
|
-
/* harmony import */ var
|
|
313181
|
-
/* harmony import */ var
|
|
313182
|
-
/* harmony import */ var
|
|
313183
|
-
/* harmony import */ var
|
|
313184
|
-
/* harmony import */ var
|
|
313185
|
-
/* harmony import */ var
|
|
313186
|
-
/* harmony import */ var
|
|
313187
|
-
/* harmony import */ var
|
|
313188
|
-
/* harmony import */ var
|
|
313189
|
-
/* harmony import */ var
|
|
313190
|
-
/* harmony import */ var
|
|
313191
|
-
/* harmony import */ var
|
|
313192
|
-
/* harmony import */ var
|
|
313193
|
-
/* harmony import */ var _Properties_ValuesSources_MarkupOrAttributeValueSource__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./Properties/ValuesSources/MarkupOrAttributeValueSource */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesSources/MarkupOrAttributeValueSource.ts");
|
|
313194
|
-
|
|
312632
|
+
/* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
|
|
312633
|
+
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
312634
|
+
/* harmony import */ var _ClassMetadataAccess__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ClassMetadataAccess */ "./Generator/src/generators/markupGenerator/Serializer/ClassMetadataAccess.ts");
|
|
312635
|
+
/* harmony import */ var _Properties_DeserializeTracer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Properties/DeserializeTracer */ "./Generator/src/generators/markupGenerator/Serializer/Properties/DeserializeTracer.ts");
|
|
312636
|
+
/* harmony import */ var _Properties_MixinPropertyDeserializer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Properties/MixinPropertyDeserializer */ "./Generator/src/generators/markupGenerator/Serializer/Properties/MixinPropertyDeserializer.ts");
|
|
312637
|
+
/* harmony import */ var _Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Properties/SinglePropertyDeserializer */ "./Generator/src/generators/markupGenerator/Serializer/Properties/SinglePropertyDeserializer.ts");
|
|
312638
|
+
/* harmony import */ var _Properties_ValuesParsers_ArrayValueParser__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Properties/ValuesParsers/ArrayValueParser */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesParsers/ArrayValueParser.ts");
|
|
312639
|
+
/* harmony import */ var _Properties_ValuesParsers_BooleanValueParser__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Properties/ValuesParsers/BooleanValueParser */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesParsers/BooleanValueParser.ts");
|
|
312640
|
+
/* harmony import */ var _Properties_ValuesParsers_DelimitedStringArrayValueParser__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Properties/ValuesParsers/DelimitedStringArrayValueParser */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesParsers/DelimitedStringArrayValueParser.ts");
|
|
312641
|
+
/* harmony import */ var _Properties_ValuesParsers_EnumValueParser__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./Properties/ValuesParsers/EnumValueParser */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesParsers/EnumValueParser.ts");
|
|
312642
|
+
/* harmony import */ var _Properties_ValuesParsers_InlineStyleValueParser__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./Properties/ValuesParsers/InlineStyleValueParser */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesParsers/InlineStyleValueParser.ts");
|
|
312643
|
+
/* harmony import */ var _Properties_ValuesParsers_LengthUnitValueParser__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Properties/ValuesParsers/LengthUnitValueParser */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesParsers/LengthUnitValueParser.ts");
|
|
312644
|
+
/* harmony import */ var _Properties_ValuesParsers_LocalizedStringValueParser__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./Properties/ValuesParsers/LocalizedStringValueParser */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesParsers/LocalizedStringValueParser.ts");
|
|
312645
|
+
/* harmony import */ var _Properties_ValuesParsers_NumberValueParser__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./Properties/ValuesParsers/NumberValueParser */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesParsers/NumberValueParser.ts");
|
|
312646
|
+
/* harmony import */ var _Properties_ValuesParsers_ObjectValueParser__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./Properties/ValuesParsers/ObjectValueParser */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesParsers/ObjectValueParser.ts");
|
|
312647
|
+
/* harmony import */ var _Properties_ValuesParsers_StringValueParser__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./Properties/ValuesParsers/StringValueParser */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesParsers/StringValueParser.ts");
|
|
312648
|
+
/* harmony import */ var _Properties_ValuesSources_AttributeValueSource__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./Properties/ValuesSources/AttributeValueSource */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesSources/AttributeValueSource.ts");
|
|
312649
|
+
/* harmony import */ var _Properties_ValuesSources_ChildrenNodesValueSource__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./Properties/ValuesSources/ChildrenNodesValueSource */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesSources/ChildrenNodesValueSource.ts");
|
|
312650
|
+
/* harmony import */ var _Properties_ValuesSources_SingleChildValueSource__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./Properties/ValuesSources/SingleChildValueSource */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesSources/SingleChildValueSource.ts");
|
|
312651
|
+
/* harmony import */ var _Properties_ValuesSources_SkipAttributeValueSource__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./Properties/ValuesSources/SkipAttributeValueSource */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesSources/SkipAttributeValueSource.ts");
|
|
312652
|
+
/* harmony import */ var _SugarNodeMetadata__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./SugarNodeMetadata */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeMetadata.ts");
|
|
312653
|
+
/* harmony import */ var _Properties_ValuesSources_MarkupOrAttributeValueSource__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./Properties/ValuesSources/MarkupOrAttributeValueSource */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesSources/MarkupOrAttributeValueSource.ts");
|
|
313195
312654
|
|
|
313196
312655
|
|
|
313197
312656
|
|
|
@@ -313217,7 +312676,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313217
312676
|
|
|
313218
312677
|
function sugarNode(nodeName, description, docFilesContext, canDeserialize) {
|
|
313219
312678
|
return target => {
|
|
313220
|
-
const sugarNodeMetadata = new
|
|
312679
|
+
const sugarNodeMetadata = new _SugarNodeMetadata__WEBPACK_IMPORTED_MODULE_21__.SugarNodeMetadata(canDeserialize);
|
|
313221
312680
|
sugarNodeMetadata.setNodeName(nodeName);
|
|
313222
312681
|
|
|
313223
312682
|
if (docFilesContext != undefined && typeof docFilesContext !== "string") {
|
|
@@ -313226,84 +312685,84 @@ function sugarNode(nodeName, description, docFilesContext, canDeserialize) {
|
|
|
313226
312685
|
|
|
313227
312686
|
sugarNodeMetadata.description = description;
|
|
313228
312687
|
|
|
313229
|
-
for (const propertyDeserializer of (0,
|
|
312688
|
+
for (const propertyDeserializer of (0,_ClassMetadataAccess__WEBPACK_IMPORTED_MODULE_3__.getPropertyDeserializers)(target)) {
|
|
313230
312689
|
sugarNodeMetadata.addPropertyDeserializer(propertyDeserializer);
|
|
313231
312690
|
}
|
|
313232
312691
|
|
|
313233
|
-
(0,
|
|
312692
|
+
(0,_ClassMetadataAccess__WEBPACK_IMPORTED_MODULE_3__.setSugarNodeMetadata)(target, sugarNodeMetadata);
|
|
313234
312693
|
};
|
|
313235
312694
|
}
|
|
313236
312695
|
function attrMixinNode(description, docFilesLocation) {
|
|
313237
312696
|
return target => {
|
|
313238
|
-
const sugarNodeMetadata = new
|
|
312697
|
+
const sugarNodeMetadata = new _SugarNodeMetadata__WEBPACK_IMPORTED_MODULE_21__.SugarAttributesMixinMetadata();
|
|
313239
312698
|
|
|
313240
|
-
for (const propertyDeserializer of (0,
|
|
312699
|
+
for (const propertyDeserializer of (0,_ClassMetadataAccess__WEBPACK_IMPORTED_MODULE_3__.getPropertyDeserializers)(target)) {
|
|
313241
312700
|
sugarNodeMetadata.addPropertyDeserializer(propertyDeserializer);
|
|
313242
312701
|
}
|
|
313243
312702
|
|
|
313244
|
-
(0,
|
|
312703
|
+
(0,_ClassMetadataAccess__WEBPACK_IMPORTED_MODULE_3__.setPropertiesContainerMetadata)(target, sugarNodeMetadata);
|
|
313245
312704
|
};
|
|
313246
312705
|
}
|
|
313247
312706
|
function children(onlyTagName, nodeClasses = []) {
|
|
313248
312707
|
return (targetClass, propName) => {
|
|
313249
|
-
(0,
|
|
312708
|
+
(0,_ClassMetadataAccess__WEBPACK_IMPORTED_MODULE_3__.setPropertyDeserializer)(targetClass, propName, new _Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_6__.SinglePropertyDeserializer(propName.toString(), new _Properties_ValuesSources_ChildrenNodesValueSource__WEBPACK_IMPORTED_MODULE_18__.ChildrenNodesValueSource(onlyTagName == undefined || Array.isArray(onlyTagName) ? onlyTagName : [onlyTagName], nodeClasses)));
|
|
313250
312709
|
};
|
|
313251
312710
|
}
|
|
313252
312711
|
function singleChild(tagName, nodeClasses = []) {
|
|
313253
312712
|
return (targetClass, propName) => {
|
|
313254
|
-
(0,
|
|
312713
|
+
(0,_ClassMetadataAccess__WEBPACK_IMPORTED_MODULE_3__.setPropertyDeserializer)(targetClass, propName, new _Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_6__.SinglePropertyDeserializer(propName.toString(), new _Properties_ValuesSources_SingleChildValueSource__WEBPACK_IMPORTED_MODULE_19__.SingleChildValueSource(tagName, nodeClasses)));
|
|
313255
312714
|
};
|
|
313256
312715
|
}
|
|
313257
312716
|
function attr(attrName, valueParser, dec) {
|
|
313258
312717
|
return (targetClass, propName) => {
|
|
313259
|
-
(0,
|
|
312718
|
+
(0,_ClassMetadataAccess__WEBPACK_IMPORTED_MODULE_3__.setPropertyDeserializer)(targetClass, propName, new _Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_6__.SinglePropertyDeserializer(propName.toString(), new _Properties_ValuesSources_AttributeValueSource__WEBPACK_IMPORTED_MODULE_17__.AttributeValueSource(attrName, valueParser), dec));
|
|
313260
312719
|
};
|
|
313261
312720
|
}
|
|
313262
312721
|
function markupAttr(attrName, valueParser, dec) {
|
|
313263
312722
|
return (targetClass, propName) => {
|
|
313264
|
-
(0,
|
|
312723
|
+
(0,_ClassMetadataAccess__WEBPACK_IMPORTED_MODULE_3__.setPropertyDeserializer)(targetClass, propName, new _Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_6__.SinglePropertyDeserializer(propName.toString(), new _Properties_ValuesSources_MarkupOrAttributeValueSource__WEBPACK_IMPORTED_MODULE_22__.MarkupOrAttributeValueSource(attrName, valueParser), dec));
|
|
313265
312724
|
};
|
|
313266
312725
|
}
|
|
313267
312726
|
function deprecatedAttr(attrName, reason) {
|
|
313268
312727
|
return (targetClass, propName) => {
|
|
313269
|
-
(0,
|
|
312728
|
+
(0,_ClassMetadataAccess__WEBPACK_IMPORTED_MODULE_3__.setPropertyDeserializer)(targetClass, propName, new _Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_6__.SinglePropertyDeserializer(propName.toString(), new _Properties_ValuesSources_SkipAttributeValueSource__WEBPACK_IMPORTED_MODULE_20__.SkipAttributeValueSource(attrName, reason), "DEPRECATED"));
|
|
313270
312729
|
};
|
|
313271
312730
|
}
|
|
313272
312731
|
function attrMixin(nodeClass) {
|
|
313273
312732
|
return (targetClass, propName) => {
|
|
313274
|
-
(0,
|
|
312733
|
+
(0,_ClassMetadataAccess__WEBPACK_IMPORTED_MODULE_3__.setPropertyDeserializer)(targetClass, propName, new _Properties_MixinPropertyDeserializer__WEBPACK_IMPORTED_MODULE_5__.MixinPropertyDeserializer(propName.toString(), nodeClass));
|
|
313275
312734
|
};
|
|
313276
312735
|
}
|
|
313277
312736
|
const attrType = {
|
|
313278
|
-
array: innerValue => new
|
|
313279
|
-
stringArray: new
|
|
313280
|
-
delimitedStringArray: new
|
|
313281
|
-
string: new
|
|
313282
|
-
typeName: new
|
|
313283
|
-
bindingPath: new
|
|
313284
|
-
customControl: new
|
|
313285
|
-
javascriptExpression: new
|
|
313286
|
-
pathToFile: new
|
|
313287
|
-
helperFunctionName: new
|
|
313288
|
-
picklistId: new
|
|
313289
|
-
modelPath: new
|
|
313290
|
-
inlineStyle: new
|
|
313291
|
-
localizedString: new
|
|
313292
|
-
lengthUnit: new
|
|
313293
|
-
boolean: new
|
|
313294
|
-
number: new
|
|
313295
|
-
objectLiteral: () => new
|
|
313296
|
-
arrayLiteral: () => new
|
|
313297
|
-
color: new
|
|
313298
|
-
enum: (...values) => new
|
|
313299
|
-
object: new
|
|
312737
|
+
array: innerValue => new _Properties_ValuesParsers_ArrayValueParser__WEBPACK_IMPORTED_MODULE_7__.ArrayValueParser(innerValue),
|
|
312738
|
+
stringArray: new _Properties_ValuesParsers_StringValueParser__WEBPACK_IMPORTED_MODULE_16__.StringArrayValueParser(),
|
|
312739
|
+
delimitedStringArray: new _Properties_ValuesParsers_DelimitedStringArrayValueParser__WEBPACK_IMPORTED_MODULE_9__.DelimitedStringArrayValueParser(),
|
|
312740
|
+
string: new _Properties_ValuesParsers_StringValueParser__WEBPACK_IMPORTED_MODULE_16__.StringValueParser(),
|
|
312741
|
+
typeName: new _Properties_ValuesParsers_StringValueParser__WEBPACK_IMPORTED_MODULE_16__.StringValueParser(),
|
|
312742
|
+
bindingPath: new _Properties_ValuesParsers_StringValueParser__WEBPACK_IMPORTED_MODULE_16__.StringValueParser(),
|
|
312743
|
+
customControl: new _Properties_ValuesParsers_StringValueParser__WEBPACK_IMPORTED_MODULE_16__.StringValueParser(),
|
|
312744
|
+
javascriptExpression: new _Properties_ValuesParsers_StringValueParser__WEBPACK_IMPORTED_MODULE_16__.StringValueParser(),
|
|
312745
|
+
pathToFile: new _Properties_ValuesParsers_StringValueParser__WEBPACK_IMPORTED_MODULE_16__.StringValueParser(),
|
|
312746
|
+
helperFunctionName: new _Properties_ValuesParsers_StringValueParser__WEBPACK_IMPORTED_MODULE_16__.StringValueParser(),
|
|
312747
|
+
picklistId: new _Properties_ValuesParsers_StringValueParser__WEBPACK_IMPORTED_MODULE_16__.StringValueParser(),
|
|
312748
|
+
modelPath: new _Properties_ValuesParsers_StringValueParser__WEBPACK_IMPORTED_MODULE_16__.StringValueParser(),
|
|
312749
|
+
inlineStyle: new _Properties_ValuesParsers_InlineStyleValueParser__WEBPACK_IMPORTED_MODULE_11__.InlineStyleValueParser(),
|
|
312750
|
+
localizedString: new _Properties_ValuesParsers_LocalizedStringValueParser__WEBPACK_IMPORTED_MODULE_13__.LocalizedStringValueParser(),
|
|
312751
|
+
lengthUnit: new _Properties_ValuesParsers_LengthUnitValueParser__WEBPACK_IMPORTED_MODULE_12__.LengthUnitValueParser(),
|
|
312752
|
+
boolean: new _Properties_ValuesParsers_BooleanValueParser__WEBPACK_IMPORTED_MODULE_8__.BooleanValueParser(),
|
|
312753
|
+
number: new _Properties_ValuesParsers_NumberValueParser__WEBPACK_IMPORTED_MODULE_14__.NumberValueParser(),
|
|
312754
|
+
objectLiteral: () => new _Properties_ValuesParsers_NumberValueParser__WEBPACK_IMPORTED_MODULE_14__.AnyExpressionValueParser(),
|
|
312755
|
+
arrayLiteral: () => new _Properties_ValuesParsers_NumberValueParser__WEBPACK_IMPORTED_MODULE_14__.AnyExpressionValueParser(),
|
|
312756
|
+
color: new _Properties_ValuesParsers_StringValueParser__WEBPACK_IMPORTED_MODULE_16__.StringValueParser(),
|
|
312757
|
+
enum: (...values) => new _Properties_ValuesParsers_EnumValueParser__WEBPACK_IMPORTED_MODULE_10__.EnumValueParser(values),
|
|
312758
|
+
object: new _Properties_ValuesParsers_ObjectValueParser__WEBPACK_IMPORTED_MODULE_15__.ObjectValueParser()
|
|
313300
312759
|
};
|
|
313301
312760
|
function findSugarNodeBases(markupAttrValue) {
|
|
313302
|
-
if (typeof markupAttrValue === "string" || markupAttrValue == undefined
|
|
312761
|
+
if (typeof markupAttrValue === "string" || markupAttrValue == undefined) {
|
|
313303
312762
|
return [];
|
|
313304
312763
|
}
|
|
313305
312764
|
|
|
313306
|
-
return markupAttrValue.map(x => typeof x === "string" ? undefined : x).filter(
|
|
312765
|
+
return markupAttrValue.map(x => typeof x === "string" ? undefined : x).filter(_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__.isNotNullOrUndefined);
|
|
313307
312766
|
}
|
|
313308
312767
|
function localizedStringToJsx(str) {
|
|
313309
312768
|
if (typeof str === "string") {
|
|
@@ -313339,10 +312798,10 @@ class SugarNodeBase {
|
|
|
313339
312798
|
const ownPath = this.getOwnPath();
|
|
313340
312799
|
|
|
313341
312800
|
if (ownPath != undefined) {
|
|
313342
|
-
return new
|
|
312801
|
+
return new _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_2__.AbsoluteModelPath([]).joinWith(ownPath).normalize();
|
|
313343
312802
|
}
|
|
313344
312803
|
|
|
313345
|
-
return new
|
|
312804
|
+
return new _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_2__.AbsoluteModelPath([]);
|
|
313346
312805
|
} else {
|
|
313347
312806
|
const ownPath = this.getOwnPath();
|
|
313348
312807
|
|
|
@@ -313356,7 +312815,7 @@ class SugarNodeBase {
|
|
|
313356
312815
|
|
|
313357
312816
|
getFullPathForChildren() {
|
|
313358
312817
|
if (this.isMultiple()) {
|
|
313359
|
-
return this.getFullPath().joinWith(
|
|
312818
|
+
return this.getFullPath().joinWith(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_2__.PathTokens.current).normalize();
|
|
313360
312819
|
} else {
|
|
313361
312820
|
return this.getFullPath();
|
|
313362
312821
|
}
|
|
@@ -313380,7 +312839,7 @@ class UnknownSugarNode extends SugarNodeBase {
|
|
|
313380
312839
|
|
|
313381
312840
|
getOwnPath() {
|
|
313382
312841
|
const pathAttributeValue = this.sourceXmlNode.attrAsString("path");
|
|
313383
|
-
return pathAttributeValue != undefined ?
|
|
312842
|
+
return pathAttributeValue != undefined ? _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_2__.ModelPath.createFromMask(pathAttributeValue, "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_2__.PathTokens.each) : undefined;
|
|
313384
312843
|
}
|
|
313385
312844
|
|
|
313386
312845
|
}
|
|
@@ -313408,7 +312867,7 @@ class SugarSerializer {
|
|
|
313408
312867
|
throw new Error(`${node.name} is not attribute value node`);
|
|
313409
312868
|
}
|
|
313410
312869
|
|
|
313411
|
-
return (_node$name$split$ = node.name.split(".")[1]) !== null && _node$name$split$ !== void 0 ? _node$name$split$ : (0,
|
|
312870
|
+
return (_node$name$split$ = node.name.split(".")[1]) !== null && _node$name$split$ !== void 0 ? _node$name$split$ : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__.reject)();
|
|
313412
312871
|
}
|
|
313413
312872
|
|
|
313414
312873
|
registerNode(nodeClass) {
|
|
@@ -313424,7 +312883,7 @@ class SugarSerializer {
|
|
|
313424
312883
|
if (metadata.canDeserialize(xmlNode)) {
|
|
313425
312884
|
const result = new nodeClass();
|
|
313426
312885
|
result.sourceXmlNode = xmlNode;
|
|
313427
|
-
metadata.fillFromSugarXmlNode(result, xmlNode, this,
|
|
312886
|
+
metadata.fillFromSugarXmlNode(result, xmlNode, this, _Properties_DeserializeTracer__WEBPACK_IMPORTED_MODULE_4__.nullDeserializeTracer);
|
|
313428
312887
|
return result;
|
|
313429
312888
|
}
|
|
313430
312889
|
}
|
|
@@ -313445,7 +312904,7 @@ class SugarSerializer {
|
|
|
313445
312904
|
}
|
|
313446
312905
|
|
|
313447
312906
|
getNodeClassMetadata(nodeClass) {
|
|
313448
|
-
return (0,
|
|
312907
|
+
return (0,_ClassMetadataAccess__WEBPACK_IMPORTED_MODULE_3__.getSugarNodeMetadata)(nodeClass);
|
|
313449
312908
|
}
|
|
313450
312909
|
|
|
313451
312910
|
}
|
|
@@ -313881,10 +313340,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313881
313340
|
/* harmony import */ var _ElementProcessors_Layout_FixedTabs_FixedTabsNode__WEBPACK_IMPORTED_MODULE_104__ = __webpack_require__(/*! ../ElementProcessors/Layout/FixedTabs/FixedTabsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/FixedTabs/FixedTabsNode.ts");
|
|
313882
313341
|
/* harmony import */ var _ElementProcessors_MultiControls_Multiple_MultipleNode__WEBPACK_IMPORTED_MODULE_105__ = __webpack_require__(/*! ../ElementProcessors/MultiControls/Multiple/MultipleNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/Multiple/MultipleNode.ts");
|
|
313883
313342
|
/* harmony import */ var _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelNode__WEBPACK_IMPORTED_MODULE_106__ = __webpack_require__(/*! ../ElementProcessors/Action/ExcelPastePanel/ExcelPastePanelNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Action/ExcelPastePanel/ExcelPastePanelNode.ts");
|
|
313884
|
-
/* harmony import */ var _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_107__ = __webpack_require__(/*! ../ElementProcessors/ValueEditors/ReferencedFields/ReferencedFieldsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/ReferencedFields/ReferencedFieldsNode.ts");
|
|
313885
|
-
/* harmony import */ var _ElementProcessors_FormParts_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_108__ = __webpack_require__(/*! ../ElementProcessors/FormParts/UserPicklist/UserPicklistNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/UserPicklist/UserPicklistNode.ts");
|
|
313886
|
-
|
|
313887
|
-
|
|
313888
313343
|
|
|
313889
313344
|
|
|
313890
313345
|
|
|
@@ -314091,8 +313546,6 @@ function registerDefaultSugarNodes(result) {
|
|
|
314091
313546
|
result.registerNode(_ElementProcessors_Layout_FixedTabs_FixedTabsNode__WEBPACK_IMPORTED_MODULE_104__.FixedTabNode);
|
|
314092
313547
|
result.registerNode(_ElementProcessors_MultiControls_Multiple_MultipleNode__WEBPACK_IMPORTED_MODULE_105__.MultipleNode);
|
|
314093
313548
|
result.registerNode(_ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelNode__WEBPACK_IMPORTED_MODULE_106__.ExcelPastePanelNode);
|
|
314094
|
-
result.registerNode(_ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_107__.ReferencedFieldsNode);
|
|
314095
|
-
result.registerNode(_ElementProcessors_FormParts_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_108__.UserPicklistNode);
|
|
314096
313549
|
}
|
|
314097
313550
|
|
|
314098
313551
|
function createDefaultSugarSerializer() {
|
|
@@ -314106,7 +313559,7 @@ function getAllSugarValidationNodeClasses() {
|
|
|
314106
313559
|
return [_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.TypeNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.CustomValidationTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.PatternTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.EnumerationTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.AttachmentsTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.LengthTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.MinlengthTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.MaxlengthTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.TotaldigitsTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.IntegerdigitsTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.FractiondigitsTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.DigestcheckTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.MininclusiveTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.MaxinclusiveTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.ForcedTypeChecksNode];
|
|
314107
313560
|
}
|
|
314108
313561
|
function getAllSugarNodeClasses() {
|
|
314109
|
-
return [_ElementProcessors_ValueViewers_Text_TextNode__WEBPACK_IMPORTED_MODULE_93__.TextNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_88__.SwitchNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_88__.SwitchDefaultNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_88__.SwitchCaseNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_AddButtonNode__WEBPACK_IMPORTED_MODULE_29__.AddButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_AddLineNode__WEBPACK_IMPORTED_MODULE_30__.AddLineNode, _ElementProcessors_FormParts_AddPageButton_AddPageButtonNode__WEBPACK_IMPORTED_MODULE_11__.AddPageButtonNode, _ElementProcessors_MultiControls_AddRowButton_AddRowButtonNode__WEBPACK_IMPORTED_MODULE_12__.AddRowButtonNode, _ElementProcessors_Layout_Block_BlockNode__WEBPACK_IMPORTED_MODULE_13__.BlockNode, _ElementProcessors_Modal_Body_BodyNode__WEBPACK_IMPORTED_MODULE_14__.BodyNode, _ElementProcessors_Typography_Bold_BoldNode__WEBPACK_IMPORTED_MODULE_15__.BoldNode, _ElementProcessors_Layout_Br_BrNode__WEBPACK_IMPORTED_MODULE_16__.BrNode, _ElementProcessors_Action_Button_ButtonNode__WEBPACK_IMPORTED_MODULE_17__.ButtonNode, _ElementProcessors_FormParts_Caption_CaptionNode__WEBPACK_IMPORTED_MODULE_18__.CaptionNode, _ElementProcessors_ValueEditors_Checkbox_CheckboxNode__WEBPACK_IMPORTED_MODULE_19__.CheckboxNode, _ElementProcessors_ControlFlow_Choice_ChoiceNode__WEBPACK_IMPORTED_MODULE_20__.ChoiceNode, _ElementProcessors_ValueEditors_Combobox_ComboBoxNode__WEBPACK_IMPORTED_MODULE_21__.ComboBoxNode, _ElementProcessors_FormParts_Content_ContentNode__WEBPACK_IMPORTED_MODULE_22__.ContentNode, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableNode__WEBPACK_IMPORTED_MODULE_89__.CrossfitTableNode, _ElementProcessors_FormParts_Cross_CrossNode__WEBPACK_IMPORTED_MODULE_23__.CrossNode, _ElementProcessors_ValueEditors_Date_DateNode__WEBPACK_IMPORTED_MODULE_24__.DateNode, _ElementProcessors_ValueEditors_DiadocSuggestComboBox_DiadocSuggestComboBoxNode__WEBPACK_IMPORTED_MODULE_26__.DiadocSuggestComboBoxNode, _ElementProcessors_Typography_Entity_EntityNode__WEBPACK_IMPORTED_MODULE_27__.EntityNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_28__.ExpertNoteNode, _ElementProcessors_ValueEditors_FileLoader_FileLoaderNode__WEBPACK_IMPORTED_MODULE_36__.FileLoaderNode, _ElementProcessors_MultiControls_FilterDateRange_FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_37__.FilterDateRangeNode, _ElementProcessors_MultiControls_FilterInput_FilterInputNode__WEBPACK_IMPORTED_MODULE_38__.FilterInputNode, _ElementProcessors_MultiControls_FilterList_FilterListNode__WEBPACK_IMPORTED_MODULE_39__.FilterListNode, _ElementProcessors_ValueViewers_FIO_FIONode__WEBPACK_IMPORTED_MODULE_40__.FIONode, _ElementProcessors_Layout_Flexbox_FlexboxNode__WEBPACK_IMPORTED_MODULE_41__.FlexboxNode, _ElementProcessors_Modal_Footer_FooterNode__WEBPACK_IMPORTED_MODULE_42__.FooterNode, _ElementProcessors_FormParts_FormInfo_FormInfoNode__WEBPACK_IMPORTED_MODULE_47__.FormInfoNode, _ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_43__.FormNode, _ElementProcessors_Typography_Gray_GrayNode__WEBPACK_IMPORTED_MODULE_48__.GrayNode, _ElementProcessors_Layout_GridCol_GridColNode__WEBPACK_IMPORTED_MODULE_49__.GridColNode, _ElementProcessors_Layout_GridRow_GridRowNode__WEBPACK_IMPORTED_MODULE_50__.GridRowNode, _ElementProcessors_MultiControls_HeaderMenu_HeaderMenuNode__WEBPACK_IMPORTED_MODULE_52__.HeaderMenuNode, _ElementProcessors_FormParts_Header_HeaderNode__WEBPACK_IMPORTED_MODULE_51__.HeaderNode, _ElementProcessors_Helpers_Helpinfo_HelpInfoNode__WEBPACK_IMPORTED_MODULE_54__.HelpInfoNode, _ElementProcessors_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_53__.HelpNode, _ElementProcessors_Typography_Highlight_HighlightNode__WEBPACK_IMPORTED_MODULE_55__.HighlightNode, _ElementProcessors_Layout_Hr_HrNode__WEBPACK_IMPORTED_MODULE_56__.HrNode, _ElementProcessors_Typography_Icon_IconNode__WEBPACK_IMPORTED_MODULE_57__.IconNode, _ElementProcessors_Layout_Img_ImgNode__WEBPACK_IMPORTED_MODULE_59__.ImgNode, _ElementProcessors_Layout_InnerText_InnertextNode__WEBPACK_IMPORTED_MODULE_10__.InnertextNode, _ElementProcessors_ValueEditors_INN_INNNode__WEBPACK_IMPORTED_MODULE_60__.INNNode, _ElementProcessors_ValueEditors_Input_InputNode__WEBPACK_IMPORTED_MODULE_61__.InputNode, _ElementProcessors_Typography_Italic_ItalicNode__WEBPACK_IMPORTED_MODULE_62__.ItalicNode, _ElementProcessors_ValueEditors_Kladr_KladrNode__WEBPACK_IMPORTED_MODULE_64__.KladrNode, _ElementProcessors_Action_Link_LinkNode__WEBPACK_IMPORTED_MODULE_66__.LinkNode, _ElementProcessors_Layout_ListItem_ListItemNode__WEBPACK_IMPORTED_MODULE_63__.ListItemNode, _ElementProcessors_Layout_List_ListNode__WEBPACK_IMPORTED_MODULE_67__.ListNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_MenuNode__WEBPACK_IMPORTED_MODULE_31__.MenuNode, _ElementProcessors_Modal_ModalFormCancel_ModalFormCancelNode__WEBPACK_IMPORTED_MODULE_69__.ModalFormCancelNode, _ElementProcessors_Modal_ModalFormConfirm_ModalFormConfirmNode__WEBPACK_IMPORTED_MODULE_70__.ModalFormConfirmNode, _ElementProcessors_Modal_ModalFormLabel_ModalFormLabelNode__WEBPACK_IMPORTED_MODULE_71__.ModalFormLabelNode, _ElementProcessors_Modal_ModalForm_ModalFormNode__WEBPACK_IMPORTED_MODULE_68__.ModalFormNode, _ElementProcessors_MultiControls_Multilinefield_MultilineFieldNode__WEBPACK_IMPORTED_MODULE_72__.MultilineFieldNode, _ElementProcessors_Helpers_Normativehelp_NormativeHelpNode__WEBPACK_IMPORTED_MODULE_73__.NormativeHelpNode, _ElementProcessors_ControlFlow_Otherwise_OtherwiseNode__WEBPACK_IMPORTED_MODULE_74__.OtherwiseNode, _ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_75__.PageNode, _ElementProcessors_FormParts_Form_Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_46__.PanelNode, _ElementProcessors_Layout_Pencil_PencilNode__WEBPACK_IMPORTED_MODULE_76__.PencilNode, _ElementProcessors_ValueEditors_Picklist_PicklistNode__WEBPACK_IMPORTED_MODULE_77__.PicklistNode, _ElementProcessors_ValueEditors_radio_RadioNode__WEBPACK_IMPORTED_MODULE_78__.RadioNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_RemoveButtonNode__WEBPACK_IMPORTED_MODULE_32__.RemoveButtonNode, _ElementProcessors_MultiControls_RemoveRowButton_RemoveRowButtonNode__WEBPACK_IMPORTED_MODULE_80__.RemoveRowButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ReplaceButtonNode__WEBPACK_IMPORTED_MODULE_33__.ReplaceButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ReplaceLineNode__WEBPACK_IMPORTED_MODULE_34__.ReplaceLineNode, _ElementProcessors_ValueEditors_Select_SelectNode__WEBPACK_IMPORTED_MODULE_81__.SelectNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_90__.SimpleTableNode, _ElementProcessors_MultiControls_SortRadioGroup_SortRadioGroupNode__WEBPACK_IMPORTED_MODULE_82__.SortRadioGroupNode, _ElementProcessors_ValueEditors_RadioGroup_RadioGroupNode__WEBPACK_IMPORTED_MODULE_79__.RadioGroupNode, _ElementProcessors_Layout_Spoiler_SpoilerNode__WEBPACK_IMPORTED_MODULE_83__.SpoilerNode, _ElementProcessors_MultiControls_StickyTable_StickyTableNode__WEBPACK_IMPORTED_MODULE_91__.StickyTableNode, _ElementProcessors_Typography_Strong_StrongNode__WEBPACK_IMPORTED_MODULE_84__.StrongNode, _ElementProcessors_Layout_Subheader_SubheaderNode__WEBPACK_IMPORTED_MODULE_86__.SubheaderNode, _ElementProcessors_Typography_Sub_SubNode__WEBPACK_IMPORTED_MODULE_85__.SubNode, _ElementProcessors_Typography_Sup_SupNode__WEBPACK_IMPORTED_MODULE_87__.SupNode, _ElementProcessors_ValueEditors_Textarea_TextAreaNode__WEBPACK_IMPORTED_MODULE_94__.TextAreaNode, _ElementProcessors_ValueEditors_popupTextArea_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_101__.PopupTextAreaNode, _ElementProcessors_FormParts_UnitItem_UnitItemNode__WEBPACK_IMPORTED_MODULE_95__.UnitItemNode, _ElementProcessors_FormParts_UnitList_UnitListNode__WEBPACK_IMPORTED_MODULE_96__.UnitListNode, _ElementProcessors_ValueViewers_ValueLength_ValueLengthNode__WEBPACK_IMPORTED_MODULE_97__.ValueLengthNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ViewFileNode__WEBPACK_IMPORTED_MODULE_35__.ViewFileNode, _ElementProcessors_ControlFlow_VisibilityBlock_VisibilityBlockNode__WEBPACK_IMPORTED_MODULE_98__.VisibilityBlockNode, _ElementProcessors_Layout_Warning_WarningNode__WEBPACK_IMPORTED_MODULE_99__.WarningNode, _ElementProcessors_ControlFlow_When_WhenNode__WEBPACK_IMPORTED_MODULE_100__.WhenNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_28__.ExpertNoteNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_28__.MessageBoxNode, _ElementProcessors_Action_Link_LinkNode__WEBPACK_IMPORTED_MODULE_66__.LinkNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_28__.NameNode, _ElementProcessors_ValueViewers_Linetext_LineTextNode__WEBPACK_IMPORTED_MODULE_65__.LineTextNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_58__.IfNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_58__.ElseNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_58__.ThenNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_90__.SimpleTableRowNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_90__.SimpleTableColumnNode, _ElementProcessors_Layout_Stack_StackNode__WEBPACK_IMPORTED_MODULE_5__.StackNode, _ElementProcessors_Layout_Grid_GridNode__WEBPACK_IMPORTED_MODULE_4__.GridNode, _ElementProcessors_MultiControls_StickyTable_StickyTableNode__WEBPACK_IMPORTED_MODULE_91__.StickyTableMultilineNode, _ElementProcessors_UnitParts_HeaderPanel_HeaderPanelNode__WEBPACK_IMPORTED_MODULE_9__.HeaderPanelNode, _ElementProcessors_Action_DropdownButton_DropdownButtonNode__WEBPACK_IMPORTED_MODULE_3__.DropdownButtonNode, _ElementProcessors_Action_DropdownButton_DropdownButtonNode__WEBPACK_IMPORTED_MODULE_3__.DropdownButtonActionNode, _ElementProcessors_MultiControls_Tabs_TabsNode__WEBPACK_IMPORTED_MODULE_8__.TabsNode, _ElementProcessors_ValueEditors_FiasMvd_FiasMvdNode__WEBPACK_IMPORTED_MODULE_0__.FiasMvdNode, _ElementProcessors_ValueEditors_FiasFns_FiasFnsNode__WEBPACK_IMPORTED_MODULE_1__.FiasFnsNode, _ElementProcessors_MultiControls_FilterSelect_FilterSelectNode__WEBPACK_IMPORTED_MODULE_6__.FilterSelectNode, _ElementProcessors_MultiControls_Table2_Table2Node__WEBPACK_IMPORTED_MODULE_7__.Table2Node, _ElementProcessors_Layout_FixedTabs_FixedTabsNode__WEBPACK_IMPORTED_MODULE_104__.FixedTabsNode, _ElementProcessors_Layout_FixedTabs_FixedTabsNode__WEBPACK_IMPORTED_MODULE_104__.FixedTabNode, _ElementProcessors_MultiControls_Multiple_MultipleNode__WEBPACK_IMPORTED_MODULE_105__.MultipleNode, _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelNode__WEBPACK_IMPORTED_MODULE_106__.ExcelPastePanelNode, _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_107__.ReferencedFieldsNode, _ElementProcessors_FormParts_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_108__.UserPicklistNode];
|
|
313562
|
+
return [_ElementProcessors_ValueViewers_Text_TextNode__WEBPACK_IMPORTED_MODULE_93__.TextNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_88__.SwitchNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_88__.SwitchDefaultNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_88__.SwitchCaseNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_AddButtonNode__WEBPACK_IMPORTED_MODULE_29__.AddButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_AddLineNode__WEBPACK_IMPORTED_MODULE_30__.AddLineNode, _ElementProcessors_FormParts_AddPageButton_AddPageButtonNode__WEBPACK_IMPORTED_MODULE_11__.AddPageButtonNode, _ElementProcessors_MultiControls_AddRowButton_AddRowButtonNode__WEBPACK_IMPORTED_MODULE_12__.AddRowButtonNode, _ElementProcessors_Layout_Block_BlockNode__WEBPACK_IMPORTED_MODULE_13__.BlockNode, _ElementProcessors_Modal_Body_BodyNode__WEBPACK_IMPORTED_MODULE_14__.BodyNode, _ElementProcessors_Typography_Bold_BoldNode__WEBPACK_IMPORTED_MODULE_15__.BoldNode, _ElementProcessors_Layout_Br_BrNode__WEBPACK_IMPORTED_MODULE_16__.BrNode, _ElementProcessors_Action_Button_ButtonNode__WEBPACK_IMPORTED_MODULE_17__.ButtonNode, _ElementProcessors_FormParts_Caption_CaptionNode__WEBPACK_IMPORTED_MODULE_18__.CaptionNode, _ElementProcessors_ValueEditors_Checkbox_CheckboxNode__WEBPACK_IMPORTED_MODULE_19__.CheckboxNode, _ElementProcessors_ControlFlow_Choice_ChoiceNode__WEBPACK_IMPORTED_MODULE_20__.ChoiceNode, _ElementProcessors_ValueEditors_Combobox_ComboBoxNode__WEBPACK_IMPORTED_MODULE_21__.ComboBoxNode, _ElementProcessors_FormParts_Content_ContentNode__WEBPACK_IMPORTED_MODULE_22__.ContentNode, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableNode__WEBPACK_IMPORTED_MODULE_89__.CrossfitTableNode, _ElementProcessors_FormParts_Cross_CrossNode__WEBPACK_IMPORTED_MODULE_23__.CrossNode, _ElementProcessors_ValueEditors_Date_DateNode__WEBPACK_IMPORTED_MODULE_24__.DateNode, _ElementProcessors_ValueEditors_DiadocSuggestComboBox_DiadocSuggestComboBoxNode__WEBPACK_IMPORTED_MODULE_26__.DiadocSuggestComboBoxNode, _ElementProcessors_Typography_Entity_EntityNode__WEBPACK_IMPORTED_MODULE_27__.EntityNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_28__.ExpertNoteNode, _ElementProcessors_ValueEditors_FileLoader_FileLoaderNode__WEBPACK_IMPORTED_MODULE_36__.FileLoaderNode, _ElementProcessors_MultiControls_FilterDateRange_FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_37__.FilterDateRangeNode, _ElementProcessors_MultiControls_FilterInput_FilterInputNode__WEBPACK_IMPORTED_MODULE_38__.FilterInputNode, _ElementProcessors_MultiControls_FilterList_FilterListNode__WEBPACK_IMPORTED_MODULE_39__.FilterListNode, _ElementProcessors_ValueViewers_FIO_FIONode__WEBPACK_IMPORTED_MODULE_40__.FIONode, _ElementProcessors_Layout_Flexbox_FlexboxNode__WEBPACK_IMPORTED_MODULE_41__.FlexboxNode, _ElementProcessors_Modal_Footer_FooterNode__WEBPACK_IMPORTED_MODULE_42__.FooterNode, _ElementProcessors_FormParts_FormInfo_FormInfoNode__WEBPACK_IMPORTED_MODULE_47__.FormInfoNode, _ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_43__.FormNode, _ElementProcessors_Typography_Gray_GrayNode__WEBPACK_IMPORTED_MODULE_48__.GrayNode, _ElementProcessors_Layout_GridCol_GridColNode__WEBPACK_IMPORTED_MODULE_49__.GridColNode, _ElementProcessors_Layout_GridRow_GridRowNode__WEBPACK_IMPORTED_MODULE_50__.GridRowNode, _ElementProcessors_MultiControls_HeaderMenu_HeaderMenuNode__WEBPACK_IMPORTED_MODULE_52__.HeaderMenuNode, _ElementProcessors_FormParts_Header_HeaderNode__WEBPACK_IMPORTED_MODULE_51__.HeaderNode, _ElementProcessors_Helpers_Helpinfo_HelpInfoNode__WEBPACK_IMPORTED_MODULE_54__.HelpInfoNode, _ElementProcessors_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_53__.HelpNode, _ElementProcessors_Typography_Highlight_HighlightNode__WEBPACK_IMPORTED_MODULE_55__.HighlightNode, _ElementProcessors_Layout_Hr_HrNode__WEBPACK_IMPORTED_MODULE_56__.HrNode, _ElementProcessors_Typography_Icon_IconNode__WEBPACK_IMPORTED_MODULE_57__.IconNode, _ElementProcessors_Layout_Img_ImgNode__WEBPACK_IMPORTED_MODULE_59__.ImgNode, _ElementProcessors_Layout_InnerText_InnertextNode__WEBPACK_IMPORTED_MODULE_10__.InnertextNode, _ElementProcessors_ValueEditors_INN_INNNode__WEBPACK_IMPORTED_MODULE_60__.INNNode, _ElementProcessors_ValueEditors_Input_InputNode__WEBPACK_IMPORTED_MODULE_61__.InputNode, _ElementProcessors_Typography_Italic_ItalicNode__WEBPACK_IMPORTED_MODULE_62__.ItalicNode, _ElementProcessors_ValueEditors_Kladr_KladrNode__WEBPACK_IMPORTED_MODULE_64__.KladrNode, _ElementProcessors_Action_Link_LinkNode__WEBPACK_IMPORTED_MODULE_66__.LinkNode, _ElementProcessors_Layout_ListItem_ListItemNode__WEBPACK_IMPORTED_MODULE_63__.ListItemNode, _ElementProcessors_Layout_List_ListNode__WEBPACK_IMPORTED_MODULE_67__.ListNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_MenuNode__WEBPACK_IMPORTED_MODULE_31__.MenuNode, _ElementProcessors_Modal_ModalFormCancel_ModalFormCancelNode__WEBPACK_IMPORTED_MODULE_69__.ModalFormCancelNode, _ElementProcessors_Modal_ModalFormConfirm_ModalFormConfirmNode__WEBPACK_IMPORTED_MODULE_70__.ModalFormConfirmNode, _ElementProcessors_Modal_ModalFormLabel_ModalFormLabelNode__WEBPACK_IMPORTED_MODULE_71__.ModalFormLabelNode, _ElementProcessors_Modal_ModalForm_ModalFormNode__WEBPACK_IMPORTED_MODULE_68__.ModalFormNode, _ElementProcessors_MultiControls_Multilinefield_MultilineFieldNode__WEBPACK_IMPORTED_MODULE_72__.MultilineFieldNode, _ElementProcessors_Helpers_Normativehelp_NormativeHelpNode__WEBPACK_IMPORTED_MODULE_73__.NormativeHelpNode, _ElementProcessors_ControlFlow_Otherwise_OtherwiseNode__WEBPACK_IMPORTED_MODULE_74__.OtherwiseNode, _ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_75__.PageNode, _ElementProcessors_FormParts_Form_Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_46__.PanelNode, _ElementProcessors_Layout_Pencil_PencilNode__WEBPACK_IMPORTED_MODULE_76__.PencilNode, _ElementProcessors_ValueEditors_Picklist_PicklistNode__WEBPACK_IMPORTED_MODULE_77__.PicklistNode, _ElementProcessors_ValueEditors_radio_RadioNode__WEBPACK_IMPORTED_MODULE_78__.RadioNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_RemoveButtonNode__WEBPACK_IMPORTED_MODULE_32__.RemoveButtonNode, _ElementProcessors_MultiControls_RemoveRowButton_RemoveRowButtonNode__WEBPACK_IMPORTED_MODULE_80__.RemoveRowButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ReplaceButtonNode__WEBPACK_IMPORTED_MODULE_33__.ReplaceButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ReplaceLineNode__WEBPACK_IMPORTED_MODULE_34__.ReplaceLineNode, _ElementProcessors_ValueEditors_Select_SelectNode__WEBPACK_IMPORTED_MODULE_81__.SelectNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_90__.SimpleTableNode, _ElementProcessors_MultiControls_SortRadioGroup_SortRadioGroupNode__WEBPACK_IMPORTED_MODULE_82__.SortRadioGroupNode, _ElementProcessors_ValueEditors_RadioGroup_RadioGroupNode__WEBPACK_IMPORTED_MODULE_79__.RadioGroupNode, _ElementProcessors_Layout_Spoiler_SpoilerNode__WEBPACK_IMPORTED_MODULE_83__.SpoilerNode, _ElementProcessors_MultiControls_StickyTable_StickyTableNode__WEBPACK_IMPORTED_MODULE_91__.StickyTableNode, _ElementProcessors_Typography_Strong_StrongNode__WEBPACK_IMPORTED_MODULE_84__.StrongNode, _ElementProcessors_Layout_Subheader_SubheaderNode__WEBPACK_IMPORTED_MODULE_86__.SubheaderNode, _ElementProcessors_Typography_Sub_SubNode__WEBPACK_IMPORTED_MODULE_85__.SubNode, _ElementProcessors_Typography_Sup_SupNode__WEBPACK_IMPORTED_MODULE_87__.SupNode, _ElementProcessors_ValueEditors_Textarea_TextAreaNode__WEBPACK_IMPORTED_MODULE_94__.TextAreaNode, _ElementProcessors_ValueEditors_popupTextArea_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_101__.PopupTextAreaNode, _ElementProcessors_FormParts_UnitItem_UnitItemNode__WEBPACK_IMPORTED_MODULE_95__.UnitItemNode, _ElementProcessors_FormParts_UnitList_UnitListNode__WEBPACK_IMPORTED_MODULE_96__.UnitListNode, _ElementProcessors_ValueViewers_ValueLength_ValueLengthNode__WEBPACK_IMPORTED_MODULE_97__.ValueLengthNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ViewFileNode__WEBPACK_IMPORTED_MODULE_35__.ViewFileNode, _ElementProcessors_ControlFlow_VisibilityBlock_VisibilityBlockNode__WEBPACK_IMPORTED_MODULE_98__.VisibilityBlockNode, _ElementProcessors_Layout_Warning_WarningNode__WEBPACK_IMPORTED_MODULE_99__.WarningNode, _ElementProcessors_ControlFlow_When_WhenNode__WEBPACK_IMPORTED_MODULE_100__.WhenNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_28__.ExpertNoteNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_28__.MessageBoxNode, _ElementProcessors_Action_Link_LinkNode__WEBPACK_IMPORTED_MODULE_66__.LinkNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_28__.NameNode, _ElementProcessors_ValueViewers_Linetext_LineTextNode__WEBPACK_IMPORTED_MODULE_65__.LineTextNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_58__.IfNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_58__.ElseNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_58__.ThenNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_90__.SimpleTableRowNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_90__.SimpleTableColumnNode, _ElementProcessors_Layout_Stack_StackNode__WEBPACK_IMPORTED_MODULE_5__.StackNode, _ElementProcessors_Layout_Grid_GridNode__WEBPACK_IMPORTED_MODULE_4__.GridNode, _ElementProcessors_MultiControls_StickyTable_StickyTableNode__WEBPACK_IMPORTED_MODULE_91__.StickyTableMultilineNode, _ElementProcessors_UnitParts_HeaderPanel_HeaderPanelNode__WEBPACK_IMPORTED_MODULE_9__.HeaderPanelNode, _ElementProcessors_Action_DropdownButton_DropdownButtonNode__WEBPACK_IMPORTED_MODULE_3__.DropdownButtonNode, _ElementProcessors_Action_DropdownButton_DropdownButtonNode__WEBPACK_IMPORTED_MODULE_3__.DropdownButtonActionNode, _ElementProcessors_MultiControls_Tabs_TabsNode__WEBPACK_IMPORTED_MODULE_8__.TabsNode, _ElementProcessors_ValueEditors_FiasMvd_FiasMvdNode__WEBPACK_IMPORTED_MODULE_0__.FiasMvdNode, _ElementProcessors_ValueEditors_FiasFns_FiasFnsNode__WEBPACK_IMPORTED_MODULE_1__.FiasFnsNode, _ElementProcessors_MultiControls_FilterSelect_FilterSelectNode__WEBPACK_IMPORTED_MODULE_6__.FilterSelectNode, _ElementProcessors_MultiControls_Table2_Table2Node__WEBPACK_IMPORTED_MODULE_7__.Table2Node, _ElementProcessors_Layout_FixedTabs_FixedTabsNode__WEBPACK_IMPORTED_MODULE_104__.FixedTabsNode, _ElementProcessors_Layout_FixedTabs_FixedTabsNode__WEBPACK_IMPORTED_MODULE_104__.FixedTabNode, _ElementProcessors_MultiControls_Multiple_MultipleNode__WEBPACK_IMPORTED_MODULE_105__.MultipleNode, _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelNode__WEBPACK_IMPORTED_MODULE_106__.ExcelPastePanelNode];
|
|
314110
313563
|
}
|
|
314111
313564
|
|
|
314112
313565
|
/***/ }),
|
|
@@ -314616,22 +314069,40 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314616
314069
|
/* harmony export */ });
|
|
314617
314070
|
/* harmony import */ var _getRootPath__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getRootPath */ "./Generator/src/generators/markupGenerator/getRootPath.ts");
|
|
314618
314071
|
|
|
314619
|
-
function getSettings(sugarRoot,
|
|
314072
|
+
function getSettings(sugarRoot, additionalSettings) {
|
|
314620
314073
|
var _sugarRoot$ieSizeLimi;
|
|
314621
314074
|
|
|
314622
|
-
|
|
314623
|
-
|
|
314624
|
-
|
|
314625
|
-
|
|
314626
|
-
|
|
314627
|
-
|
|
314628
|
-
|
|
314629
|
-
|
|
314630
|
-
|
|
314631
|
-
|
|
314632
|
-
|
|
314633
|
-
|
|
314634
|
-
|
|
314075
|
+
return `module.exports = {
|
|
314076
|
+
pathDelimiter: '/',
|
|
314077
|
+
valueNameDelimiter: '.',
|
|
314078
|
+
multiplicitySymbol: '*',
|
|
314079
|
+
parentSymbol: '-',
|
|
314080
|
+
outerPrefix: '@',
|
|
314081
|
+
childrenAttribute: 'children',
|
|
314082
|
+
valueAttribute: 'value',
|
|
314083
|
+
existAttribute: 'exist',
|
|
314084
|
+
errorsAttribute: 'error',
|
|
314085
|
+
warningsAttribute: 'warning',
|
|
314086
|
+
autoflagAttribute: 'autoFlag',
|
|
314087
|
+
autovalueAttribute: 'autoValue',
|
|
314088
|
+
navAttribute: 'navigation',
|
|
314089
|
+
instanceRegExp: new RegExp('^\\\\d+$'),
|
|
314090
|
+
normalizationAttributes: [
|
|
314091
|
+
'value', 'children', 'exist', 'autoFlag', 'autoValue', 'navigation', 'disabled', 'index',
|
|
314092
|
+
'regionCode', 'district', 'city', 'settlement', 'street', 'house', 'building', 'room',
|
|
314093
|
+
'bossValue', 'agentValue', 'senderInn', 'nameorg'],
|
|
314094
|
+
formRoot: '${(0,_getRootPath__WEBPACK_IMPORTED_MODULE_0__.getRootPath)(sugarRoot)}',
|
|
314095
|
+
keformsUrl: '',
|
|
314096
|
+
showFormContainer: true, // Work only with SimpleForm container,
|
|
314097
|
+
embeddedLogEnabled: false,
|
|
314098
|
+
allowsend: false,
|
|
314099
|
+
printInfo: {},
|
|
314100
|
+
regions: [],
|
|
314101
|
+
useSizeLimitationForIe: ${((_sugarRoot$ieSizeLimi = sugarRoot.ieSizeLimitation) !== null && _sugarRoot$ieSizeLimi !== void 0 ? _sugarRoot$ieSizeLimi : false).toString()},
|
|
314102
|
+
${
|
|
314103
|
+
/* One does not simply rewrite string concat to AST */
|
|
314104
|
+
Object.entries(additionalSettings).map(([key, value]) => [key, JSON.stringify(value)].join(":"))}
|
|
314105
|
+
};`;
|
|
314635
314106
|
}
|
|
314636
314107
|
|
|
314637
314108
|
/***/ }),
|
|
@@ -314948,7 +314419,7 @@ let ForcedTypeChecksNode = (_dec37 = (0,_markupGenerator_Serializer_SugarSeriali
|
|
|
314948
314419
|
writable: true,
|
|
314949
314420
|
initializer: null
|
|
314950
314421
|
})), _class43)) || _class42);
|
|
314951
|
-
let TypeNode = (_dec39 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.sugarNode)("type", `Описание валидации для поля`, __webpack_require__("./Generator/src/generators/validationGenerator/Nodes sync recursive .md$")), _dec40 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("base", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType.enum("string", "pattern", "integer", "decimal", "date", "gYear"), `Базовый тип, для нового типа. Автоматически задаёт валидацию (число, дата, год) и исключает ввод неверных символов`), _dec41 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("name", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType.string, `Имя типа. Не требуется для анонимных типов. Имя типа в дальнейшем указывается в атрибуте type контрола.`), _dec42 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.deprecatedAttr)("requireDescription", _markupGenerator_Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_0__.DeprecationReason.Typo), _dec43 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("requiredDescription", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType.localizedString, `Если значение в контроле является обязательным, то это сообщение будет отображается, если значение отсутствует. См. атрибут optional
|
|
314422
|
+
let TypeNode = (_dec39 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.sugarNode)("type", `Описание валидации для поля`, __webpack_require__("./Generator/src/generators/validationGenerator/Nodes sync recursive .md$")), _dec40 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("base", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType.enum("string", "pattern", "integer", "decimal", "date", "gYear"), `Базовый тип, для нового типа. Автоматически задаёт валидацию (число, дата, год) и исключает ввод неверных символов`), _dec41 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("name", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType.string, `Имя типа. Не требуется для анонимных типов. Имя типа в дальнейшем указывается в атрибуте type контрола.`), _dec42 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.deprecatedAttr)("requireDescription", _markupGenerator_Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_0__.DeprecationReason.Typo), _dec43 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("requiredDescription", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType.localizedString, `Если значение в контроле является обязательным, то это сообщение будет отображается, если значение отсутствует. См. атрибут optional`), _dec44 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("description", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType.localizedString, `Сообщение, которое будет отображатся если значение не отвечает заданным в типе валидациям и соотв. валидация не имеет атрибута description`), _dec45 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("checkType", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType.enum("error", "warning"), `Тип валидации. При ошибке контрол будет отображаться либо оранжевым (warning), либо красным (error).`), _dec46 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.children)(undefined, [CustomValidationTypeCheckNode, PatternTypeCheckNode, EnumerationTypeCheckNode, AttachmentsTypeCheckNode, LengthTypeCheckNode, MinlengthTypeCheckNode, MaxlengthTypeCheckNode, TotaldigitsTypeCheckNode, IntegerdigitsTypeCheckNode, FractiondigitsTypeCheckNode, DigestcheckTypeCheckNode, MininclusiveTypeCheckNode, MaxinclusiveTypeCheckNode, ForcedTypeChecksNode]), _dec39(_class45 = (_class46 = class TypeNode extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.SugarNodeBase {
|
|
314952
314423
|
constructor(...args) {
|
|
314953
314424
|
super(...args);
|
|
314954
314425
|
|
|
@@ -315630,18 +315101,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315630
315101
|
/* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
|
|
315631
315102
|
/* harmony import */ var _common_CodeGeneration_ClassInstanceBuilder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../common/CodeGeneration/ClassInstanceBuilder */ "./Generator/src/common/CodeGeneration/ClassInstanceBuilder.ts");
|
|
315632
315103
|
/* harmony import */ var _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../common/XmlParser/XmlNode */ "./Generator/src/common/XmlParser/XmlNode.ts");
|
|
315633
|
-
/* harmony import */ var
|
|
315104
|
+
/* harmony import */ var _markupGenerator_ElementProcessors_FormParts_Form_FormConverter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../markupGenerator/ElementProcessors/FormParts/Form/FormConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormConverter.ts");
|
|
315634
315105
|
/* harmony import */ var _Common_PathConstants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../Common/PathConstants */ "./Common/PathConstants.ts");
|
|
315635
|
-
/* harmony import */ var
|
|
315636
|
-
/* harmony import */ var
|
|
315637
|
-
/* harmony import */ var
|
|
315638
|
-
/* harmony import */ var
|
|
315639
|
-
/* harmony import */ var
|
|
315640
|
-
/* harmony import */ var
|
|
315641
|
-
/* harmony import */ var
|
|
315642
|
-
/* harmony import */ var
|
|
315643
|
-
/* harmony import */ var _TypeBasedValidatorGenerators_StringLengthConstraintValueValidatorGenerator__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./TypeBasedValidatorGenerators/StringLengthConstraintValueValidatorGenerator */ "./Generator/src/generators/validationGenerator/TypeBasedValidatorGenerators/StringLengthConstraintValueValidatorGenerator.ts");
|
|
315644
|
-
|
|
315106
|
+
/* harmony import */ var _TypeBasedValidatorGenerators_AttachmentsValueValidatorGenerator__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./TypeBasedValidatorGenerators/AttachmentsValueValidatorGenerator */ "./Generator/src/generators/validationGenerator/TypeBasedValidatorGenerators/AttachmentsValueValidatorGenerator.ts");
|
|
315107
|
+
/* harmony import */ var _TypeBasedValidatorGenerators_CustomValidationValueValidatorGenerator__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./TypeBasedValidatorGenerators/CustomValidationValueValidatorGenerator */ "./Generator/src/generators/validationGenerator/TypeBasedValidatorGenerators/CustomValidationValueValidatorGenerator.ts");
|
|
315108
|
+
/* harmony import */ var _TypeBasedValidatorGenerators_NumberLengthConstraintValueValidatorGenerator__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./TypeBasedValidatorGenerators/NumberLengthConstraintValueValidatorGenerator */ "./Generator/src/generators/validationGenerator/TypeBasedValidatorGenerators/NumberLengthConstraintValueValidatorGenerator.ts");
|
|
315109
|
+
/* harmony import */ var _TypeBasedValidatorGenerators_DigestCheckValueValidatorGenerator__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./TypeBasedValidatorGenerators/DigestCheckValueValidatorGenerator */ "./Generator/src/generators/validationGenerator/TypeBasedValidatorGenerators/DigestCheckValueValidatorGenerator.ts");
|
|
315110
|
+
/* harmony import */ var _TypeBasedValidatorGenerators_EnumerationValidatorGenerator__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./TypeBasedValidatorGenerators/EnumerationValidatorGenerator */ "./Generator/src/generators/validationGenerator/TypeBasedValidatorGenerators/EnumerationValidatorGenerator.ts");
|
|
315111
|
+
/* harmony import */ var _TypeBasedValidatorGenerators_IntegerRangeValueValidatorGenerator__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./TypeBasedValidatorGenerators/IntegerRangeValueValidatorGenerator */ "./Generator/src/generators/validationGenerator/TypeBasedValidatorGenerators/IntegerRangeValueValidatorGenerator.ts");
|
|
315112
|
+
/* harmony import */ var _TypeBasedValidatorGenerators_MatchOneOfPatternValidatorGenerator__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./TypeBasedValidatorGenerators/MatchOneOfPatternValidatorGenerator */ "./Generator/src/generators/validationGenerator/TypeBasedValidatorGenerators/MatchOneOfPatternValidatorGenerator.ts");
|
|
315113
|
+
/* harmony import */ var _TypeBasedValidatorGenerators_StringLengthConstraintValueValidatorGenerator__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./TypeBasedValidatorGenerators/StringLengthConstraintValueValidatorGenerator */ "./Generator/src/generators/validationGenerator/TypeBasedValidatorGenerators/StringLengthConstraintValueValidatorGenerator.ts");
|
|
315645
315114
|
|
|
315646
315115
|
|
|
315647
315116
|
|
|
@@ -315657,7 +315126,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315657
315126
|
|
|
315658
315127
|
class ValidationGenerator {
|
|
315659
315128
|
constructor(sugarRoot, typesRegistry, controlCustomizationContext, schemaRng, useSchemaValidations, validationsContent = []) {
|
|
315660
|
-
this.typeBasedValidatorGenerators = [
|
|
315129
|
+
this.typeBasedValidatorGenerators = [_TypeBasedValidatorGenerators_MatchOneOfPatternValidatorGenerator__WEBPACK_IMPORTED_MODULE_11__.MatchOneOfPatternValidatorGenerator, _TypeBasedValidatorGenerators_EnumerationValidatorGenerator__WEBPACK_IMPORTED_MODULE_9__.EnumerationValidatorGenerator, _TypeBasedValidatorGenerators_StringLengthConstraintValueValidatorGenerator__WEBPACK_IMPORTED_MODULE_12__.StringLengthConstraintValueValidatorGenerator, _TypeBasedValidatorGenerators_NumberLengthConstraintValueValidatorGenerator__WEBPACK_IMPORTED_MODULE_7__.NumberLengthConstraintValueValidatorGenerator, _TypeBasedValidatorGenerators_IntegerRangeValueValidatorGenerator__WEBPACK_IMPORTED_MODULE_10__.IntegerRangeValueValidatorGenerator, _TypeBasedValidatorGenerators_DigestCheckValueValidatorGenerator__WEBPACK_IMPORTED_MODULE_8__.DigestCheckValueValidatorGenerator, _TypeBasedValidatorGenerators_AttachmentsValueValidatorGenerator__WEBPACK_IMPORTED_MODULE_5__.AttachmentsValueValidatorGenerator, _TypeBasedValidatorGenerators_CustomValidationValueValidatorGenerator__WEBPACK_IMPORTED_MODULE_6__.CustomValidationValueValidatorGenerator];
|
|
315661
315130
|
this.sugarRoot = void 0;
|
|
315662
315131
|
this.validationsContent = void 0;
|
|
315663
315132
|
this.customValidations = void 0;
|
|
@@ -315715,23 +315184,16 @@ class ValidationGenerator {
|
|
|
315715
315184
|
}
|
|
315716
315185
|
|
|
315717
315186
|
generate() {
|
|
315718
|
-
return `
|
|
315719
|
-
export default ${this.generateValidationsFactory()};`;
|
|
315720
|
-
}
|
|
315721
|
-
|
|
315722
|
-
generateValidationsFactory() {
|
|
315723
|
-
var _getConverterByNodeCl;
|
|
315724
|
-
|
|
315725
315187
|
const sugarNode = this.sugarRoot;
|
|
315726
|
-
const
|
|
315727
|
-
const converter = new converterType(sugarNode);
|
|
315188
|
+
const converter = new _markupGenerator_ElementProcessors_FormParts_Form_FormConverter__WEBPACK_IMPORTED_MODULE_3__.FormConverter(sugarNode);
|
|
315728
315189
|
converter.buildValidations(this);
|
|
315729
|
-
let result = `
|
|
315190
|
+
let result = `
|
|
315191
|
+
export default function validationFunctions({ Engine: { ValidationHelper, Validators } }) {
|
|
315730
315192
|
const t = str => x => x.translate(str);
|
|
315731
315193
|
return {
|
|
315732
315194
|
${Object.keys(this.validations).map(x => `["${x}"]: ${this.validations[x]}`).join(",")}
|
|
315733
315195
|
};
|
|
315734
|
-
}
|
|
315196
|
+
};`; // '\u0424' -> 'Ф'
|
|
315735
315197
|
|
|
315736
315198
|
result = unescape(result.replace(/(\\)(u[\dA-Fa-f]{4})/g, "%$2"));
|
|
315737
315199
|
return result;
|
|
@@ -349308,7 +348770,7 @@ module.exports = "В атрибут `type` прописываем имя тип
|
|
|
349308
348770
|
\******************************************************************************************************/
|
|
349309
348771
|
/***/ ((module) => {
|
|
349310
348772
|
|
|
349311
|
-
module.exports = "`checkType=\"warning\"`\nвалидация с типом предупреждение\n";
|
|
348773
|
+
module.exports = "`checkType=\"warning\"`\nвалидация с типом предупреждение\n\n`settings=\"true\"`\nатрибут говорит что всегда первой будет применяться указанная fetch fn, а если она вернет undefined то тогда будет брать из модели - из фуфа/draftinfo (то, что придет с сервера). В противном случае fetch fn сработает только в том случае, когда бекенд ничего не прислал";
|
|
349312
348774
|
|
|
349313
348775
|
/***/ }),
|
|
349314
348776
|
|
|
@@ -349358,7 +348820,7 @@ module.exports = "При вклюючении валидации в type исп
|
|
|
349358
348820
|
\*******************************************************************************************************/
|
|
349359
348821
|
/***/ ((module) => {
|
|
349360
348822
|
|
|
349361
|
-
module.exports = "Select может брать элементы из трех источников:\n - Из сахара <br>\n Добавляются элементы `<enumeration>` c аргументами:<br>\n value: string; - Код. Первое свойство<br>\n name: string; - Описание<br>\n hint?: string; - Подсказка\n```\n<enumeration\n value=\"01\"\n name=\"Название\"\n hint=\"Подсказка\"\n/>\n```\n
|
|
348823
|
+
module.exports = "Select может брать элементы из трех источников:\n - Из сахара <br>\n Добавляются элементы `<enumeration>` c аргументами:<br>\n value: string; - Код. Первое свойство<br>\n name: string; - Описание<br>\n hint?: string; - Подсказка\n```\n<enumeration\n value=\"01\"\n name=\"Название\"\n hint=\"Подсказка\"\n/>\n```\n - gId - из пиклиста\n - gPath или gPaths - из модели<br>\n\nДобавление подсказок:<br>\nЕсли используется `<enumeration>` подсказка добавляется с помощью атрибута hint у соответсвующего элемента.<br>\n\nДля gId, gPath и gPaths нужно указать атрибут `hintSource` - поле по которому из запроса подставится текст подсказки.<br>\n```\n<select\n path=\"selectPath\"\n gPath=\"path/*/value\"\n hintSource=\"hint\"\n/>\n```";
|
|
349362
348824
|
|
|
349363
348825
|
/***/ }),
|
|
349364
348826
|
|
|
@@ -349378,7 +348840,7 @@ module.exports = "Валидация строится по `<type>`, анало
|
|
|
349378
348840
|
\*****************************************************************************************************/
|
|
349379
348841
|
/***/ ((module) => {
|
|
349380
348842
|
|
|
349381
|
-
module.exports = "";
|
|
348843
|
+
module.exports = "`fetchfn=\"inn\"`\nавторасчет\n\n`requisite=\"true\"`\n(Проставляется c disabled=\"true\" всегда!)\tэтот атрибут говорит о том, что поле должно каждый раз подтягиваться из реквизитов и поэтому нормализуется при каждом открытии черновика. Нужен, чтобы реквизиты подтягивались из реквизитов при каждом открытии формы и при загрузке ФУФа с пустым ИНН, а не только в первый раз.\n";
|
|
349382
348844
|
|
|
349383
348845
|
/***/ }),
|
|
349384
348846
|
|