@kontur.candy/generator 5.92.0 → 5.93.0-aggregation-query.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 +1737 -1311
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1008,6 +1008,24 @@ module.exports = webpackEmptyContext;
|
|
|
1008
1008
|
|
|
1009
1009
|
/***/ }),
|
|
1010
1010
|
|
|
1011
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/Nodes sync recursive .md$":
|
|
1012
|
+
/*!****************************************************************************************************!*\
|
|
1013
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/Nodes/ sync .md$ ***!
|
|
1014
|
+
\****************************************************************************************************/
|
|
1015
|
+
/***/ ((module) => {
|
|
1016
|
+
|
|
1017
|
+
function webpackEmptyContext(req) {
|
|
1018
|
+
var e = new Error("Cannot find module '" + req + "'");
|
|
1019
|
+
e.code = 'MODULE_NOT_FOUND';
|
|
1020
|
+
throw e;
|
|
1021
|
+
}
|
|
1022
|
+
webpackEmptyContext.keys = () => ([]);
|
|
1023
|
+
webpackEmptyContext.resolve = webpackEmptyContext;
|
|
1024
|
+
webpackEmptyContext.id = "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/Nodes sync recursive .md$";
|
|
1025
|
+
module.exports = webpackEmptyContext;
|
|
1026
|
+
|
|
1027
|
+
/***/ }),
|
|
1028
|
+
|
|
1011
1029
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo sync recursive .md$":
|
|
1012
1030
|
/*!**************************************************************************************************!*\
|
|
1013
1031
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/ sync .md$ ***!
|
|
@@ -1040,24 +1058,6 @@ webpackContext.id = "./Generator/src/generators/markupGenerator/ElementProcessor
|
|
|
1040
1058
|
|
|
1041
1059
|
/***/ }),
|
|
1042
1060
|
|
|
1043
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/Nodes sync recursive .md$":
|
|
1044
|
-
/*!****************************************************************************************************!*\
|
|
1045
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/Nodes/ sync .md$ ***!
|
|
1046
|
-
\****************************************************************************************************/
|
|
1047
|
-
/***/ ((module) => {
|
|
1048
|
-
|
|
1049
|
-
function webpackEmptyContext(req) {
|
|
1050
|
-
var e = new Error("Cannot find module '" + req + "'");
|
|
1051
|
-
e.code = 'MODULE_NOT_FOUND';
|
|
1052
|
-
throw e;
|
|
1053
|
-
}
|
|
1054
|
-
webpackEmptyContext.keys = () => ([]);
|
|
1055
|
-
webpackEmptyContext.resolve = webpackEmptyContext;
|
|
1056
|
-
webpackEmptyContext.id = "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/Nodes sync recursive .md$";
|
|
1057
|
-
module.exports = webpackEmptyContext;
|
|
1058
|
-
|
|
1059
|
-
/***/ }),
|
|
1060
|
-
|
|
1061
1061
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form sync recursive .md$":
|
|
1062
1062
|
/*!**********************************************************************************************!*\
|
|
1063
1063
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/ sync .md$ ***!
|
|
@@ -1898,6 +1898,24 @@ module.exports = webpackEmptyContext;
|
|
|
1898
1898
|
|
|
1899
1899
|
/***/ }),
|
|
1900
1900
|
|
|
1901
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/AggregationQuery sync recursive .md$":
|
|
1902
|
+
/*!**************************************************************************************************************!*\
|
|
1903
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/AggregationQuery/ sync .md$ ***!
|
|
1904
|
+
\**************************************************************************************************************/
|
|
1905
|
+
/***/ ((module) => {
|
|
1906
|
+
|
|
1907
|
+
function webpackEmptyContext(req) {
|
|
1908
|
+
var e = new Error("Cannot find module '" + req + "'");
|
|
1909
|
+
e.code = 'MODULE_NOT_FOUND';
|
|
1910
|
+
throw e;
|
|
1911
|
+
}
|
|
1912
|
+
webpackEmptyContext.keys = () => ([]);
|
|
1913
|
+
webpackEmptyContext.resolve = webpackEmptyContext;
|
|
1914
|
+
webpackEmptyContext.id = "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/AggregationQuery sync recursive .md$";
|
|
1915
|
+
module.exports = webpackEmptyContext;
|
|
1916
|
+
|
|
1917
|
+
/***/ }),
|
|
1918
|
+
|
|
1901
1919
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/ColgroupButton sync recursive .md$":
|
|
1902
1920
|
/*!************************************************************************************************************!*\
|
|
1903
1921
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/ColgroupButton/ sync .md$ ***!
|
|
@@ -1916,6 +1934,24 @@ module.exports = webpackEmptyContext;
|
|
|
1916
1934
|
|
|
1917
1935
|
/***/ }),
|
|
1918
1936
|
|
|
1937
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/ContextVar sync recursive .md$":
|
|
1938
|
+
/*!********************************************************************************************************!*\
|
|
1939
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/ContextVar/ sync .md$ ***!
|
|
1940
|
+
\********************************************************************************************************/
|
|
1941
|
+
/***/ ((module) => {
|
|
1942
|
+
|
|
1943
|
+
function webpackEmptyContext(req) {
|
|
1944
|
+
var e = new Error("Cannot find module '" + req + "'");
|
|
1945
|
+
e.code = 'MODULE_NOT_FOUND';
|
|
1946
|
+
throw e;
|
|
1947
|
+
}
|
|
1948
|
+
webpackEmptyContext.keys = () => ([]);
|
|
1949
|
+
webpackEmptyContext.resolve = webpackEmptyContext;
|
|
1950
|
+
webpackEmptyContext.id = "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/ContextVar sync recursive .md$";
|
|
1951
|
+
module.exports = webpackEmptyContext;
|
|
1952
|
+
|
|
1953
|
+
/***/ }),
|
|
1954
|
+
|
|
1919
1955
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable sync recursive .md$":
|
|
1920
1956
|
/*!***********************************************************************************************************!*\
|
|
1921
1957
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable/ sync .md$ ***!
|
|
@@ -45658,7 +45694,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
45658
45694
|
let FufCombineMethod = /*#__PURE__*/function (FufCombineMethod) {
|
|
45659
45695
|
FufCombineMethod["Merge"] = "Merge";
|
|
45660
45696
|
FufCombineMethod["AddToEnd"] = "AddToEnd";
|
|
45661
|
-
FufCombineMethod["
|
|
45697
|
+
FufCombineMethod["ReplaceThenAddToEnd"] = "ReplaceThenAddToEnd";
|
|
45698
|
+
FufCombineMethod["ReplaceThenMerge"] = "ReplaceThenMerge";
|
|
45662
45699
|
return FufCombineMethod;
|
|
45663
45700
|
}({});
|
|
45664
45701
|
let SumCombineMethod = /*#__PURE__*/function (SumCombineMethod) {
|
|
@@ -45752,7 +45789,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
45752
45789
|
/* harmony export */ InvalidProgramStateError: () => (/* binding */ InvalidProgramStateError),
|
|
45753
45790
|
/* harmony export */ NotImplementedError: () => (/* binding */ NotImplementedError),
|
|
45754
45791
|
/* harmony export */ NotSupportedError: () => (/* binding */ NotSupportedError),
|
|
45755
|
-
/* harmony export */ TypingError: () => (/* binding */ TypingError)
|
|
45792
|
+
/* harmony export */ TypingError: () => (/* binding */ TypingError),
|
|
45793
|
+
/* harmony export */ isAbortException: () => (/* binding */ isAbortException)
|
|
45756
45794
|
/* harmony export */ });
|
|
45757
45795
|
class ApplicationError extends Error {
|
|
45758
45796
|
constructor(message) {
|
|
@@ -45785,6 +45823,9 @@ class TypingError extends ApplicationError {
|
|
|
45785
45823
|
super("Invalid typing");
|
|
45786
45824
|
}
|
|
45787
45825
|
}
|
|
45826
|
+
function isAbortException(e) {
|
|
45827
|
+
return e instanceof DOMException && e.name === "AbortError";
|
|
45828
|
+
}
|
|
45788
45829
|
|
|
45789
45830
|
/***/ }),
|
|
45790
45831
|
|
|
@@ -46393,7 +46434,7 @@ class KCLangRuntimeUtils {
|
|
|
46393
46434
|
return date;
|
|
46394
46435
|
}
|
|
46395
46436
|
sum(left, right) {
|
|
46396
|
-
if (
|
|
46437
|
+
if (left == undefined && right == undefined) {
|
|
46397
46438
|
return undefined;
|
|
46398
46439
|
}
|
|
46399
46440
|
if (isBigSource(left) && isBigSource(right)) {
|
|
@@ -48593,7 +48634,7 @@ class ValidationFunction extends _AutoCalculations_CalculationFunctionBase__WEBP
|
|
|
48593
48634
|
var _evaluationContext$ge;
|
|
48594
48635
|
if (expressionPath.startsWith("@")) {
|
|
48595
48636
|
const state = form.store.getState();
|
|
48596
|
-
return (0,_Helpers_StateAccessors_GetValueByPath__WEBPACK_IMPORTED_MODULE_4__.getValueByPath)(state, () => "", expressionPath, fieldName);
|
|
48637
|
+
return (0,_Helpers_StateAccessors_GetValueByPath__WEBPACK_IMPORTED_MODULE_4__.getValueByPath)(state, () => "", {}, expressionPath, fieldName);
|
|
48597
48638
|
}
|
|
48598
48639
|
const generatedAbsoluteModelPath = contextCurrentElement.joinWith((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createModelPath)(expressionPath, "auto")).normalize();
|
|
48599
48640
|
if (fieldName === "children") {
|
|
@@ -48672,6 +48713,25 @@ function getKnownViewModelFieldNames() {
|
|
|
48672
48713
|
|
|
48673
48714
|
/***/ }),
|
|
48674
48715
|
|
|
48716
|
+
/***/ "./Engine/src/Engine/Core/Filtering/IAggregationQueryStrategy.ts":
|
|
48717
|
+
/*!***********************************************************************!*\
|
|
48718
|
+
!*** ./Engine/src/Engine/Core/Filtering/IAggregationQueryStrategy.ts ***!
|
|
48719
|
+
\***********************************************************************/
|
|
48720
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
48721
|
+
|
|
48722
|
+
"use strict";
|
|
48723
|
+
__webpack_require__.r(__webpack_exports__);
|
|
48724
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
48725
|
+
/* harmony export */ AggregationType: () => (/* binding */ AggregationType)
|
|
48726
|
+
/* harmony export */ });
|
|
48727
|
+
let AggregationType = /*#__PURE__*/function (AggregationType) {
|
|
48728
|
+
AggregationType[AggregationType["Sum"] = 0] = "Sum";
|
|
48729
|
+
AggregationType[AggregationType["Count"] = 1] = "Count";
|
|
48730
|
+
return AggregationType;
|
|
48731
|
+
}({});
|
|
48732
|
+
|
|
48733
|
+
/***/ }),
|
|
48734
|
+
|
|
48675
48735
|
/***/ "./Engine/src/Engine/Core/ModalManager/Modals/Utils/Types.ts":
|
|
48676
48736
|
/*!*******************************************************************!*\
|
|
48677
48737
|
!*** ./Engine/src/Engine/Core/ModalManager/Modals/Utils/Types.ts ***!
|
|
@@ -49609,6 +49669,97 @@ let FilterType = /*#__PURE__*/function (FilterType) {
|
|
|
49609
49669
|
|
|
49610
49670
|
/***/ }),
|
|
49611
49671
|
|
|
49672
|
+
/***/ "./Engine/src/Helpers/FilterExpressions/FilterExpressionResolveBindingPaths.ts":
|
|
49673
|
+
/*!*************************************************************************************!*\
|
|
49674
|
+
!*** ./Engine/src/Helpers/FilterExpressions/FilterExpressionResolveBindingPaths.ts ***!
|
|
49675
|
+
\*************************************************************************************/
|
|
49676
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
49677
|
+
|
|
49678
|
+
"use strict";
|
|
49679
|
+
__webpack_require__.r(__webpack_exports__);
|
|
49680
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
49681
|
+
/* harmony export */ FilterExpressionResolveBindingPaths: () => (/* binding */ FilterExpressionResolveBindingPaths)
|
|
49682
|
+
/* harmony export */ });
|
|
49683
|
+
/* harmony import */ var _Common_Errors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../Common/Errors */ "./Common/Errors.ts");
|
|
49684
|
+
/* harmony import */ var _CompileFilterExpression__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./CompileFilterExpression */ "./Engine/src/Helpers/FilterExpressions/CompileFilterExpression.ts");
|
|
49685
|
+
|
|
49686
|
+
|
|
49687
|
+
class FilterExpressionResolveBindingPaths extends _CompileFilterExpression__WEBPACK_IMPORTED_MODULE_1__.FilterExpressionTransduceVisitor {
|
|
49688
|
+
constructor(pathResolver) {
|
|
49689
|
+
super();
|
|
49690
|
+
this.pathResolver = void 0;
|
|
49691
|
+
this.pathResolver = pathResolver;
|
|
49692
|
+
}
|
|
49693
|
+
createDefaultResult() {
|
|
49694
|
+
throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_0__.InvalidProgramStateError();
|
|
49695
|
+
}
|
|
49696
|
+
transformAndExpression(expression) {
|
|
49697
|
+
return {
|
|
49698
|
+
...expression,
|
|
49699
|
+
conditions: expression.conditions.map(x => this.transformExpression(x))
|
|
49700
|
+
};
|
|
49701
|
+
}
|
|
49702
|
+
transformEndDateExpression(expression) {
|
|
49703
|
+
return {
|
|
49704
|
+
...expression,
|
|
49705
|
+
condition: {
|
|
49706
|
+
...expression.condition,
|
|
49707
|
+
dataPath: this.pathResolver(expression.condition.dataPath)
|
|
49708
|
+
}
|
|
49709
|
+
};
|
|
49710
|
+
}
|
|
49711
|
+
transformEqualExpression(expression) {
|
|
49712
|
+
return {
|
|
49713
|
+
...expression,
|
|
49714
|
+
condition: {
|
|
49715
|
+
...expression.condition,
|
|
49716
|
+
dataPath: this.pathResolver(expression.condition.dataPath)
|
|
49717
|
+
}
|
|
49718
|
+
};
|
|
49719
|
+
}
|
|
49720
|
+
transformOrExpression(expression) {
|
|
49721
|
+
return {
|
|
49722
|
+
...expression,
|
|
49723
|
+
conditions: expression.conditions.map(x => this.transformExpression(x))
|
|
49724
|
+
};
|
|
49725
|
+
}
|
|
49726
|
+
transformStartDateExpression(expression) {
|
|
49727
|
+
return {
|
|
49728
|
+
...expression,
|
|
49729
|
+
condition: {
|
|
49730
|
+
...expression.condition,
|
|
49731
|
+
dataPath: this.pathResolver(expression.condition.dataPath)
|
|
49732
|
+
}
|
|
49733
|
+
};
|
|
49734
|
+
}
|
|
49735
|
+
transformSubstringExpression(expression) {
|
|
49736
|
+
return {
|
|
49737
|
+
...expression,
|
|
49738
|
+
condition: {
|
|
49739
|
+
...expression.condition,
|
|
49740
|
+
dataPath: this.pathResolver(expression.condition.dataPath)
|
|
49741
|
+
}
|
|
49742
|
+
};
|
|
49743
|
+
}
|
|
49744
|
+
transformByInstancesExpression(expression) {
|
|
49745
|
+
return {
|
|
49746
|
+
...expression,
|
|
49747
|
+
condition: {
|
|
49748
|
+
...expression.condition,
|
|
49749
|
+
dataPath: this.pathResolver(expression.condition.dataPath)
|
|
49750
|
+
}
|
|
49751
|
+
};
|
|
49752
|
+
}
|
|
49753
|
+
transformUnaryNotExpression(expression) {
|
|
49754
|
+
return {
|
|
49755
|
+
...expression,
|
|
49756
|
+
condition: this.transformExpression(expression.condition)
|
|
49757
|
+
};
|
|
49758
|
+
}
|
|
49759
|
+
}
|
|
49760
|
+
|
|
49761
|
+
/***/ }),
|
|
49762
|
+
|
|
49612
49763
|
/***/ "./Engine/src/Helpers/StateAccessors/GetValueByPath.ts":
|
|
49613
49764
|
/*!*************************************************************!*\
|
|
49614
49765
|
!*** ./Engine/src/Helpers/StateAccessors/GetValueByPath.ts ***!
|
|
@@ -49624,10 +49775,20 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
49624
49775
|
function isPrimitiveValue(value) {
|
|
49625
49776
|
return typeof value === "string" || typeof value === "number" || typeof value === "boolean";
|
|
49626
49777
|
}
|
|
49778
|
+
const pathPrefixes = {
|
|
49779
|
+
featureFlags: "@featureFlags/",
|
|
49780
|
+
settings: "@settings/",
|
|
49781
|
+
contextVars: "@contextVars/",
|
|
49782
|
+
mergedPropertiesForBackendCompatibility: "@mergedPropertiesForBackendCompatibility/",
|
|
49783
|
+
all: "@"
|
|
49784
|
+
};
|
|
49785
|
+
function hasPrefix(path, prefix) {
|
|
49786
|
+
return path.startsWith(prefix);
|
|
49787
|
+
}
|
|
49627
49788
|
function getFeatureFlagByPath(state, path) {
|
|
49628
49789
|
var _state$featureFlags;
|
|
49629
49790
|
let value = undefined;
|
|
49630
|
-
const featureFlagValue = state === null || state === void 0 || (_state$featureFlags = state.featureFlags) === null || _state$featureFlags === void 0 ? void 0 : _state$featureFlags[path.replace(
|
|
49791
|
+
const featureFlagValue = state === null || state === void 0 || (_state$featureFlags = state.featureFlags) === null || _state$featureFlags === void 0 ? void 0 : _state$featureFlags[path.replace(pathPrefixes.featureFlags, "")];
|
|
49631
49792
|
if (featureFlagValue == undefined) {
|
|
49632
49793
|
value = undefined;
|
|
49633
49794
|
} else if (isPrimitiveValue(featureFlagValue)) {
|
|
@@ -49641,7 +49802,7 @@ function getFeatureFlagByPath(state, path) {
|
|
|
49641
49802
|
function getSettingByPath(state, path) {
|
|
49642
49803
|
var _state$settings;
|
|
49643
49804
|
let value = undefined;
|
|
49644
|
-
const settingValue = (_state$settings = state.settings) === null || _state$settings === void 0 ? void 0 : _state$settings[path.replace(
|
|
49805
|
+
const settingValue = (_state$settings = state.settings) === null || _state$settings === void 0 ? void 0 : _state$settings[path.replace(pathPrefixes.settings, "")];
|
|
49645
49806
|
if (settingValue == undefined) {
|
|
49646
49807
|
value = undefined;
|
|
49647
49808
|
} else if (isPrimitiveValue(settingValue)) {
|
|
@@ -49652,31 +49813,43 @@ function getSettingByPath(state, path) {
|
|
|
49652
49813
|
}
|
|
49653
49814
|
return value;
|
|
49654
49815
|
}
|
|
49655
|
-
function
|
|
49816
|
+
function getContextVar(variableContext, path) {
|
|
49817
|
+
const varName = path.replace(/^\@contextVars\//, "");
|
|
49818
|
+
const variable = variableContext[varName];
|
|
49819
|
+
return variable === null || variable === void 0 ? void 0 : variable.toString();
|
|
49820
|
+
}
|
|
49821
|
+
function getExternalPropertyValue(state, variableContext, path) {
|
|
49656
49822
|
if (path.startsWith("@mergedPropertiesForBackendCompatibility/")) {
|
|
49657
|
-
var _ref, _ref2, _getFeatureFlagByPath, _state$requisites;
|
|
49823
|
+
var _ref, _ref2, _ref3, _getFeatureFlagByPath, _state$requisites;
|
|
49658
49824
|
// Что это за история: на бекенде getProperty не принимает тип внешней переменной -- просто имя, они какбы
|
|
49659
49825
|
// сливаются в одну кучу (ну или так было), поэтому для обраной совместимости может приходит такой префикс
|
|
49660
49826
|
// когда мы потеряли контекс.
|
|
49661
|
-
const name = path.replace(
|
|
49662
|
-
return (_ref = (_ref2 = (_getFeatureFlagByPath = getFeatureFlagByPath(state,
|
|
49663
|
-
} else if (path.
|
|
49827
|
+
const name = path.replace(pathPrefixes.mergedPropertiesForBackendCompatibility, "");
|
|
49828
|
+
return (_ref = (_ref2 = (_ref3 = (_getFeatureFlagByPath = getFeatureFlagByPath(state, pathPrefixes.featureFlags + name)) !== null && _getFeatureFlagByPath !== void 0 ? _getFeatureFlagByPath : getSettingByPath(state, pathPrefixes.settings + name)) !== null && _ref3 !== void 0 ? _ref3 : state === null || state === void 0 || (_state$requisites = state.requisites) === null || _state$requisites === void 0 || (_state$requisites = _state$requisites["@" + name]) === null || _state$requisites === void 0 ? void 0 : _state$requisites.value) !== null && _ref2 !== void 0 ? _ref2 : getContextVar(variableContext, pathPrefixes.contextVars + name)) !== null && _ref !== void 0 ? _ref : "";
|
|
49829
|
+
} else if (hasPrefix(path, pathPrefixes.featureFlags)) {
|
|
49664
49830
|
var _getFeatureFlagByPath2;
|
|
49665
49831
|
return (_getFeatureFlagByPath2 = getFeatureFlagByPath(state, path)) !== null && _getFeatureFlagByPath2 !== void 0 ? _getFeatureFlagByPath2 : "";
|
|
49666
|
-
} else if (path.
|
|
49832
|
+
} else if (hasPrefix(path, pathPrefixes.settings)) {
|
|
49667
49833
|
var _getSettingByPath;
|
|
49668
49834
|
return (_getSettingByPath = getSettingByPath(state, path)) !== null && _getSettingByPath !== void 0 ? _getSettingByPath : "";
|
|
49669
|
-
} else if (path.
|
|
49835
|
+
} else if (hasPrefix(path, pathPrefixes.contextVars)) {
|
|
49836
|
+
var _getContextVar;
|
|
49837
|
+
return (_getContextVar = getContextVar(variableContext, path)) !== null && _getContextVar !== void 0 ? _getContextVar : "";
|
|
49838
|
+
} else if (hasPrefix(path, pathPrefixes.all)) {
|
|
49670
49839
|
var _state$requisites$pat, _state$requisites2;
|
|
49671
49840
|
return (_state$requisites$pat = state === null || state === void 0 || (_state$requisites2 = state.requisites) === null || _state$requisites2 === void 0 || (_state$requisites2 = _state$requisites2[path]) === null || _state$requisites2 === void 0 ? void 0 : _state$requisites2.value) !== null && _state$requisites$pat !== void 0 ? _state$requisites$pat : "";
|
|
49672
49841
|
}
|
|
49673
49842
|
return "";
|
|
49674
49843
|
}
|
|
49675
|
-
function getValueByPath(state, selector, path, name = "value") {
|
|
49844
|
+
function getValueByPath(state, selector, variableContext, path, name = "value") {
|
|
49676
49845
|
var _value;
|
|
49677
49846
|
let value;
|
|
49678
|
-
if (typeof path === "string") {
|
|
49679
|
-
|
|
49847
|
+
if (typeof path === "string" && path.startsWith(pathPrefixes.contextVars)) {
|
|
49848
|
+
const varName = path.replace(/^\@contextVars\//, "");
|
|
49849
|
+
const variable = variableContext[varName];
|
|
49850
|
+
value = variable === null || variable === void 0 ? void 0 : variable.toString();
|
|
49851
|
+
} else if (typeof path === "string") {
|
|
49852
|
+
value = getExternalPropertyValue(state, variableContext, path);
|
|
49680
49853
|
} else {
|
|
49681
49854
|
value = selector(state, path, name);
|
|
49682
49855
|
}
|
|
@@ -61211,7 +61384,7 @@ class DefaultKCLangExpressionVisitor {
|
|
|
61211
61384
|
// this file was prevaled
|
|
61212
61385
|
/* eslint-disable */
|
|
61213
61386
|
// @ts-ignore
|
|
61214
|
-
module.exports = "/*\n * Generated by PEG.js 0.10.0.\n *\n * http://pegjs.org/\n */\n(function() {\n \"use strict\";\n\n function peg$subclass(child, parent) {\n function ctor() { this.constructor = child; }\n ctor.prototype = parent.prototype;\n child.prototype = new ctor();\n }\n\n function peg$SyntaxError(message, expected, found, location) {\n this.message = message;\n this.expected = expected;\n this.found = found;\n this.location = location;\n this.name = \"SyntaxError\";\n\n if (typeof Error.captureStackTrace === \"function\") {\n Error.captureStackTrace(this, peg$SyntaxError);\n }\n }\n\n peg$subclass(peg$SyntaxError, Error);\n\n peg$SyntaxError.buildMessage = function(expected, found) {\n var DESCRIBE_EXPECTATION_FNS = {\n literal: function(expectation) {\n return \"\\\"\" + literalEscape(expectation.text) + \"\\\"\";\n },\n\n \"class\": function(expectation) {\n var escapedParts = \"\",\n i;\n\n for (i = 0; i < expectation.parts.length; i++) {\n escapedParts += expectation.parts[i] instanceof Array\n ? classEscape(expectation.parts[i][0]) + \"-\" + classEscape(expectation.parts[i][1])\n : classEscape(expectation.parts[i]);\n }\n\n return \"[\" + (expectation.inverted ? \"^\" : \"\") + escapedParts + \"]\";\n },\n\n any: function(expectation) {\n return \"any character\";\n },\n\n end: function(expectation) {\n return \"end of input\";\n },\n\n other: function(expectation) {\n return expectation.description;\n }\n };\n\n function hex(ch) {\n return ch.charCodeAt(0).toString(16).toUpperCase();\n }\n\n function literalEscape(s) {\n return s\n .replace(/\\\\/g, '\\\\\\\\')\n .replace(/\"/g, '\\\\\"')\n .replace(/\\0/g, '\\\\0')\n .replace(/\\t/g, '\\\\t')\n .replace(/\\n/g, '\\\\n')\n .replace(/\\r/g, '\\\\r')\n .replace(/[\\x00-\\x0F]/g, function(ch) { return '\\\\x0' + hex(ch); })\n .replace(/[\\x10-\\x1F\\x7F-\\x9F]/g, function(ch) { return '\\\\x' + hex(ch); });\n }\n\n function classEscape(s) {\n return s\n .replace(/\\\\/g, '\\\\\\\\')\n .replace(/\\]/g, '\\\\]')\n .replace(/\\^/g, '\\\\^')\n .replace(/-/g, '\\\\-')\n .replace(/\\0/g, '\\\\0')\n .replace(/\\t/g, '\\\\t')\n .replace(/\\n/g, '\\\\n')\n .replace(/\\r/g, '\\\\r')\n .replace(/[\\x00-\\x0F]/g, function(ch) { return '\\\\x0' + hex(ch); })\n .replace(/[\\x10-\\x1F\\x7F-\\x9F]/g, function(ch) { return '\\\\x' + hex(ch); });\n }\n\n function describeExpectation(expectation) {\n return DESCRIBE_EXPECTATION_FNS[expectation.type](expectation);\n }\n\n function describeExpected(expected) {\n var descriptions = new Array(expected.length),\n i, j;\n\n for (i = 0; i < expected.length; i++) {\n descriptions[i] = describeExpectation(expected[i]);\n }\n\n descriptions.sort();\n\n if (descriptions.length > 0) {\n for (i = 1, j = 1; i < descriptions.length; i++) {\n if (descriptions[i - 1] !== descriptions[i]) {\n descriptions[j] = descriptions[i];\n j++;\n }\n }\n descriptions.length = j;\n }\n\n switch (descriptions.length) {\n case 1:\n return descriptions[0];\n\n case 2:\n return descriptions[0] + \" or \" + descriptions[1];\n\n default:\n return descriptions.slice(0, -1).join(\", \")\n + \", or \"\n + descriptions[descriptions.length - 1];\n }\n }\n\n function describeFound(found) {\n return found ? \"\\\"\" + literalEscape(found) + \"\\\"\" : \"end of input\";\n }\n\n return \"Expected \" + describeExpected(expected) + \" but \" + describeFound(found) + \" found.\";\n };\n\n function peg$parse(input, options) {\n options = options !== void 0 ? options : {};\n\n var peg$FAILED = {},\n\n peg$startRuleFunctions = { Text: peg$parseText },\n peg$startRuleFunction = peg$parseText,\n\n peg$c0 = function(items) {\r\n \treturn items.filter(x => x !== \"\");\r\n },\n peg$c1 = \"[\",\n peg$c2 = peg$literalExpectation(\"[\", false),\n peg$c3 = \"]\",\n peg$c4 = peg$literalExpectation(\"]\", false),\n peg$c5 = \"(\",\n peg$c6 = peg$literalExpectation(\"(\", false),\n peg$c7 = \")\",\n peg$c8 = peg$literalExpectation(\")\", false),\n peg$c9 = function(text, src) {\r\n return {\r\n \ttype: \"link\",\r\n text: text,\r\n src: src,\r\n }\r\n },\n peg$c10 = /^[^ \\]\\t\\n\\r]/,\n peg$c11 = peg$classExpectation([\" \", \"]\", \"\\t\", \"\\n\", \"\\r\"], true, false),\n peg$c12 = function(w) { return w.join(\"\") },\n peg$c13 = function(items) {\r\n return items.filter(x => x !== \"\");\r\n },\n peg$c14 = /^[^)]/,\n peg$c15 = peg$classExpectation([\")\"], true, false),\n peg$c16 = function(w) {\r\n \treturn w.join(\"\").trim()\r\n },\n peg$c17 = /^[\\n]/,\n peg$c18 = peg$classExpectation([\"\\n\"], false, false),\n peg$c19 = /^[ \\t\\n\\r]/,\n peg$c20 = peg$classExpectation([\" \", \"\\t\", \"\\n\", \"\\r\"], false, false),\n peg$c21 = function() {\r\n \treturn \"\\n\"\r\n },\n peg$c22 = /^[^ \\t\\n\\r]/,\n peg$c23 = peg$classExpectation([\" \", \"\\t\", \"\\n\", \"\\r\"], true, false),\n peg$c24 = function(w) {\r\n \treturn w.join(\"\");\r\n },\n peg$c25 = function() {\r\n \treturn \"\";\r\n },\n\n peg$currPos = 0,\n peg$savedPos = 0,\n peg$posDetailsCache = [{ line: 1, column: 1 }],\n peg$maxFailPos = 0,\n peg$maxFailExpected = [],\n peg$silentFails = 0,\n\n peg$result;\n\n if (\"startRule\" in options) {\n if (!(options.startRule in peg$startRuleFunctions)) {\n throw new Error(\"Can't start parsing from rule \\\"\" + options.startRule + \"\\\".\");\n }\n\n peg$startRuleFunction = peg$startRuleFunctions[options.startRule];\n }\n\n function text() {\n return input.substring(peg$savedPos, peg$currPos);\n }\n\n function location() {\n return peg$computeLocation(peg$savedPos, peg$currPos);\n }\n\n function expected(description, location) {\n location = location !== void 0 ? location : peg$computeLocation(peg$savedPos, peg$currPos)\n\n throw peg$buildStructuredError(\n [peg$otherExpectation(description)],\n input.substring(peg$savedPos, peg$currPos),\n location\n );\n }\n\n function error(message, location) {\n location = location !== void 0 ? location : peg$computeLocation(peg$savedPos, peg$currPos)\n\n throw peg$buildSimpleError(message, location);\n }\n\n function peg$literalExpectation(text, ignoreCase) {\n return { type: \"literal\", text: text, ignoreCase: ignoreCase };\n }\n\n function peg$classExpectation(parts, inverted, ignoreCase) {\n return { type: \"class\", parts: parts, inverted: inverted, ignoreCase: ignoreCase };\n }\n\n function peg$anyExpectation() {\n return { type: \"any\" };\n }\n\n function peg$endExpectation() {\n return { type: \"end\" };\n }\n\n function peg$otherExpectation(description) {\n return { type: \"other\", description: description };\n }\n\n function peg$computePosDetails(pos) {\n var details = peg$posDetailsCache[pos], p;\n\n if (details) {\n return details;\n } else {\n p = pos - 1;\n while (!peg$posDetailsCache[p]) {\n p--;\n }\n\n details = peg$posDetailsCache[p];\n details = {\n line: details.line,\n column: details.column\n };\n\n while (p < pos) {\n if (input.charCodeAt(p) === 10) {\n details.line++;\n details.column = 1;\n } else {\n details.column++;\n }\n\n p++;\n }\n\n peg$posDetailsCache[pos] = details;\n return details;\n }\n }\n\n function peg$computeLocation(startPos, endPos) {\n var startPosDetails = peg$computePosDetails(startPos),\n endPosDetails = peg$computePosDetails(endPos);\n\n return {\n start: {\n offset: startPos,\n line: startPosDetails.line,\n column: startPosDetails.column\n },\n end: {\n offset: endPos,\n line: endPosDetails.line,\n column: endPosDetails.column\n }\n };\n }\n\n function peg$fail(expected) {\n if (peg$currPos < peg$maxFailPos) { return; }\n\n if (peg$currPos > peg$maxFailPos) {\n peg$maxFailPos = peg$currPos;\n peg$maxFailExpected = [];\n }\n\n peg$maxFailExpected.push(expected);\n }\n\n function peg$buildSimpleError(message, location) {\n return new peg$SyntaxError(message, null, null, location);\n }\n\n function peg$buildStructuredError(expected, found, location) {\n return new peg$SyntaxError(\n peg$SyntaxError.buildMessage(expected, found),\n expected,\n found,\n location\n );\n }\n\n function peg$parseText() {\n var s0, s1, s2;\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseLink();\n if (s2 === peg$FAILED) {\n s2 = peg$parseWord();\n if (s2 === peg$FAILED) {\n s2 = peg$parseNewLine();\n if (s2 === peg$FAILED) {\n s2 = peg$parse_();\n }\n }\n }\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseLink();\n if (s2 === peg$FAILED) {\n s2 = peg$parseWord();\n if (s2 === peg$FAILED) {\n s2 = peg$parseNewLine();\n if (s2 === peg$FAILED) {\n s2 = peg$parse_();\n }\n }\n }\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c0(s1);\n }\n s0 = s1;\n\n return s0;\n }\n\n function peg$parseLink() {\n var s0, s1, s2, s3, s4, s5, s6;\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 91) {\n s1 = peg$c1;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c2); }\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parseLinkText();\n if (s2 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 93) {\n s3 = peg$c3;\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c4); }\n }\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 40) {\n s4 = peg$c5;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c6); }\n }\n if (s4 !== peg$FAILED) {\n s5 = peg$parseLinkSrc();\n if (s5 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 41) {\n s6 = peg$c7;\n peg$currPos++;\n } else {\n s6 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c8); }\n }\n if (s6 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c9(s2, s5);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parseLinkText() {\n var s0, s1, s2, s3, s4;\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$currPos;\n s3 = [];\n if (peg$c10.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c11); }\n }\n if (s4 !== peg$FAILED) {\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n if (peg$c10.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c11); }\n }\n }\n } else {\n s3 = peg$FAILED;\n }\n if (s3 !== peg$FAILED) {\n peg$savedPos = s2;\n s3 = peg$c12(s3);\n }\n s2 = s3;\n if (s2 === peg$FAILED) {\n s2 = peg$parse_();\n }\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$currPos;\n s3 = [];\n if (peg$c10.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c11); }\n }\n if (s4 !== peg$FAILED) {\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n if (peg$c10.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c11); }\n }\n }\n } else {\n s3 = peg$FAILED;\n }\n if (s3 !== peg$FAILED) {\n peg$savedPos = s2;\n s3 = peg$c12(s3);\n }\n s2 = s3;\n if (s2 === peg$FAILED) {\n s2 = peg$parse_();\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c13(s1);\n }\n s0 = s1;\n\n return s0;\n }\n\n function peg$parseLinkSrc() {\n var s0, s1, s2;\n\n s0 = peg$currPos;\n s1 = [];\n if (peg$c14.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c15); }\n }\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n if (peg$c14.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c15); }\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c16(s1);\n }\n s0 = s1;\n\n return s0;\n }\n\n function peg$parseNewLine() {\n var s0, s1, s2, s3, s4;\n\n s0 = peg$currPos;\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s1 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s1 !== peg$FAILED) {\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s2 !== peg$FAILED) {\n s3 = [];\n if (peg$c19.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c20); }\n }\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n if (peg$c19.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c20); }\n }\n }\n if (s3 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c21();\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parseWord() {\n var s0, s1, s2;\n\n s0 = peg$currPos;\n s1 = [];\n if (peg$c22.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c23); }\n }\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n if (peg$c22.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c23); }\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c24(s1);\n }\n s0 = s1;\n\n return s0;\n }\n\n function peg$parse_() {\n var s0, s1, s2, s3, s4, s5, s6;\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$currPos;\n s3 = peg$currPos;\n peg$silentFails++;\n s4 = peg$currPos;\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s5 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s5 !== peg$FAILED) {\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s6 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s6 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s6 !== peg$FAILED) {\n s5 = [s5, s6];\n s4 = s5;\n } else {\n peg$currPos = s4;\n s4 = peg$FAILED;\n }\n } else {\n peg$currPos = s4;\n s4 = peg$FAILED;\n }\n peg$silentFails--;\n if (s4 === peg$FAILED) {\n s3 = void 0;\n } else {\n peg$currPos = s3;\n s3 = peg$FAILED;\n }\n if (s3 !== peg$FAILED) {\n if (peg$c19.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c20); }\n }\n if (s4 !== peg$FAILED) {\n s3 = [s3, s4];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$currPos;\n s3 = peg$currPos;\n peg$silentFails++;\n s4 = peg$currPos;\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s5 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s5 !== peg$FAILED) {\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s6 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s6 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s6 !== peg$FAILED) {\n s5 = [s5, s6];\n s4 = s5;\n } else {\n peg$currPos = s4;\n s4 = peg$FAILED;\n }\n } else {\n peg$currPos = s4;\n s4 = peg$FAILED;\n }\n peg$silentFails--;\n if (s4 === peg$FAILED) {\n s3 = void 0;\n } else {\n peg$currPos = s3;\n s3 = peg$FAILED;\n }\n if (s3 !== peg$FAILED) {\n if (peg$c19.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c20); }\n }\n if (s4 !== peg$FAILED) {\n s3 = [s3, s4];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c25();\n }\n s0 = s1;\n\n return s0;\n }\n\n peg$result = peg$startRuleFunction();\n\n if (peg$result !== peg$FAILED && peg$currPos === input.length) {\n return peg$result;\n } else {\n if (peg$result !== peg$FAILED && peg$currPos < input.length) {\n peg$fail(peg$endExpectation());\n }\n\n throw peg$buildStructuredError(\n peg$maxFailExpected,\n peg$maxFailPos < input.length ? input.charAt(peg$maxFailPos) : null,\n peg$maxFailPos < input.length\n ? peg$computeLocation(peg$maxFailPos, peg$maxFailPos + 1)\n : peg$computeLocation(peg$maxFailPos, peg$maxFailPos)\n );\n }\n }\n\n return {\n SyntaxError: peg$SyntaxError,\n parse: peg$parse\n };\n})()";
|
|
61387
|
+
module.exports = "/*\n * Generated by PEG.js 0.10.0.\n *\n * http://pegjs.org/\n */\n(function() {\n \"use strict\";\n\n function peg$subclass(child, parent) {\n function ctor() { this.constructor = child; }\n ctor.prototype = parent.prototype;\n child.prototype = new ctor();\n }\n\n function peg$SyntaxError(message, expected, found, location) {\n this.message = message;\n this.expected = expected;\n this.found = found;\n this.location = location;\n this.name = \"SyntaxError\";\n\n if (typeof Error.captureStackTrace === \"function\") {\n Error.captureStackTrace(this, peg$SyntaxError);\n }\n }\n\n peg$subclass(peg$SyntaxError, Error);\n\n peg$SyntaxError.buildMessage = function(expected, found) {\n var DESCRIBE_EXPECTATION_FNS = {\n literal: function(expectation) {\n return \"\\\"\" + literalEscape(expectation.text) + \"\\\"\";\n },\n\n \"class\": function(expectation) {\n var escapedParts = \"\",\n i;\n\n for (i = 0; i < expectation.parts.length; i++) {\n escapedParts += expectation.parts[i] instanceof Array\n ? classEscape(expectation.parts[i][0]) + \"-\" + classEscape(expectation.parts[i][1])\n : classEscape(expectation.parts[i]);\n }\n\n return \"[\" + (expectation.inverted ? \"^\" : \"\") + escapedParts + \"]\";\n },\n\n any: function(expectation) {\n return \"any character\";\n },\n\n end: function(expectation) {\n return \"end of input\";\n },\n\n other: function(expectation) {\n return expectation.description;\n }\n };\n\n function hex(ch) {\n return ch.charCodeAt(0).toString(16).toUpperCase();\n }\n\n function literalEscape(s) {\n return s\n .replace(/\\\\/g, '\\\\\\\\')\n .replace(/\"/g, '\\\\\"')\n .replace(/\\0/g, '\\\\0')\n .replace(/\\t/g, '\\\\t')\n .replace(/\\n/g, '\\\\n')\n .replace(/\\r/g, '\\\\r')\n .replace(/[\\x00-\\x0F]/g, function(ch) { return '\\\\x0' + hex(ch); })\n .replace(/[\\x10-\\x1F\\x7F-\\x9F]/g, function(ch) { return '\\\\x' + hex(ch); });\n }\n\n function classEscape(s) {\n return s\n .replace(/\\\\/g, '\\\\\\\\')\n .replace(/\\]/g, '\\\\]')\n .replace(/\\^/g, '\\\\^')\n .replace(/-/g, '\\\\-')\n .replace(/\\0/g, '\\\\0')\n .replace(/\\t/g, '\\\\t')\n .replace(/\\n/g, '\\\\n')\n .replace(/\\r/g, '\\\\r')\n .replace(/[\\x00-\\x0F]/g, function(ch) { return '\\\\x0' + hex(ch); })\n .replace(/[\\x10-\\x1F\\x7F-\\x9F]/g, function(ch) { return '\\\\x' + hex(ch); });\n }\n\n function describeExpectation(expectation) {\n return DESCRIBE_EXPECTATION_FNS[expectation.type](expectation);\n }\n\n function describeExpected(expected) {\n var descriptions = new Array(expected.length),\n i, j;\n\n for (i = 0; i < expected.length; i++) {\n descriptions[i] = describeExpectation(expected[i]);\n }\n\n descriptions.sort();\n\n if (descriptions.length > 0) {\n for (i = 1, j = 1; i < descriptions.length; i++) {\n if (descriptions[i - 1] !== descriptions[i]) {\n descriptions[j] = descriptions[i];\n j++;\n }\n }\n descriptions.length = j;\n }\n\n switch (descriptions.length) {\n case 1:\n return descriptions[0];\n\n case 2:\n return descriptions[0] + \" or \" + descriptions[1];\n\n default:\n return descriptions.slice(0, -1).join(\", \")\n + \", or \"\n + descriptions[descriptions.length - 1];\n }\n }\n\n function describeFound(found) {\n return found ? \"\\\"\" + literalEscape(found) + \"\\\"\" : \"end of input\";\n }\n\n return \"Expected \" + describeExpected(expected) + \" but \" + describeFound(found) + \" found.\";\n };\n\n function peg$parse(input, options) {\n options = options !== void 0 ? options : {};\n\n var peg$FAILED = {},\n\n peg$startRuleFunctions = { Text: peg$parseText },\n peg$startRuleFunction = peg$parseText,\n\n peg$c0 = function(items) {\n \treturn items.filter(x => x !== \"\");\n },\n peg$c1 = \"[\",\n peg$c2 = peg$literalExpectation(\"[\", false),\n peg$c3 = \"]\",\n peg$c4 = peg$literalExpectation(\"]\", false),\n peg$c5 = \"(\",\n peg$c6 = peg$literalExpectation(\"(\", false),\n peg$c7 = \")\",\n peg$c8 = peg$literalExpectation(\")\", false),\n peg$c9 = function(text, src) {\n return {\n \ttype: \"link\",\n text: text,\n src: src,\n }\n },\n peg$c10 = /^[^ \\]\\t\\n\\r]/,\n peg$c11 = peg$classExpectation([\" \", \"]\", \"\\t\", \"\\n\", \"\\r\"], true, false),\n peg$c12 = function(w) { return w.join(\"\") },\n peg$c13 = function(items) {\n return items.filter(x => x !== \"\");\n },\n peg$c14 = /^[^)]/,\n peg$c15 = peg$classExpectation([\")\"], true, false),\n peg$c16 = function(w) {\n \treturn w.join(\"\").trim()\n },\n peg$c17 = /^[\\n]/,\n peg$c18 = peg$classExpectation([\"\\n\"], false, false),\n peg$c19 = /^[ \\t\\n\\r]/,\n peg$c20 = peg$classExpectation([\" \", \"\\t\", \"\\n\", \"\\r\"], false, false),\n peg$c21 = function() {\n \treturn \"\\n\"\n },\n peg$c22 = /^[^ \\t\\n\\r]/,\n peg$c23 = peg$classExpectation([\" \", \"\\t\", \"\\n\", \"\\r\"], true, false),\n peg$c24 = function(w) {\n \treturn w.join(\"\");\n },\n peg$c25 = function() {\n \treturn \"\";\n },\n\n peg$currPos = 0,\n peg$savedPos = 0,\n peg$posDetailsCache = [{ line: 1, column: 1 }],\n peg$maxFailPos = 0,\n peg$maxFailExpected = [],\n peg$silentFails = 0,\n\n peg$result;\n\n if (\"startRule\" in options) {\n if (!(options.startRule in peg$startRuleFunctions)) {\n throw new Error(\"Can't start parsing from rule \\\"\" + options.startRule + \"\\\".\");\n }\n\n peg$startRuleFunction = peg$startRuleFunctions[options.startRule];\n }\n\n function text() {\n return input.substring(peg$savedPos, peg$currPos);\n }\n\n function location() {\n return peg$computeLocation(peg$savedPos, peg$currPos);\n }\n\n function expected(description, location) {\n location = location !== void 0 ? location : peg$computeLocation(peg$savedPos, peg$currPos)\n\n throw peg$buildStructuredError(\n [peg$otherExpectation(description)],\n input.substring(peg$savedPos, peg$currPos),\n location\n );\n }\n\n function error(message, location) {\n location = location !== void 0 ? location : peg$computeLocation(peg$savedPos, peg$currPos)\n\n throw peg$buildSimpleError(message, location);\n }\n\n function peg$literalExpectation(text, ignoreCase) {\n return { type: \"literal\", text: text, ignoreCase: ignoreCase };\n }\n\n function peg$classExpectation(parts, inverted, ignoreCase) {\n return { type: \"class\", parts: parts, inverted: inverted, ignoreCase: ignoreCase };\n }\n\n function peg$anyExpectation() {\n return { type: \"any\" };\n }\n\n function peg$endExpectation() {\n return { type: \"end\" };\n }\n\n function peg$otherExpectation(description) {\n return { type: \"other\", description: description };\n }\n\n function peg$computePosDetails(pos) {\n var details = peg$posDetailsCache[pos], p;\n\n if (details) {\n return details;\n } else {\n p = pos - 1;\n while (!peg$posDetailsCache[p]) {\n p--;\n }\n\n details = peg$posDetailsCache[p];\n details = {\n line: details.line,\n column: details.column\n };\n\n while (p < pos) {\n if (input.charCodeAt(p) === 10) {\n details.line++;\n details.column = 1;\n } else {\n details.column++;\n }\n\n p++;\n }\n\n peg$posDetailsCache[pos] = details;\n return details;\n }\n }\n\n function peg$computeLocation(startPos, endPos) {\n var startPosDetails = peg$computePosDetails(startPos),\n endPosDetails = peg$computePosDetails(endPos);\n\n return {\n start: {\n offset: startPos,\n line: startPosDetails.line,\n column: startPosDetails.column\n },\n end: {\n offset: endPos,\n line: endPosDetails.line,\n column: endPosDetails.column\n }\n };\n }\n\n function peg$fail(expected) {\n if (peg$currPos < peg$maxFailPos) { return; }\n\n if (peg$currPos > peg$maxFailPos) {\n peg$maxFailPos = peg$currPos;\n peg$maxFailExpected = [];\n }\n\n peg$maxFailExpected.push(expected);\n }\n\n function peg$buildSimpleError(message, location) {\n return new peg$SyntaxError(message, null, null, location);\n }\n\n function peg$buildStructuredError(expected, found, location) {\n return new peg$SyntaxError(\n peg$SyntaxError.buildMessage(expected, found),\n expected,\n found,\n location\n );\n }\n\n function peg$parseText() {\n var s0, s1, s2;\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseLink();\n if (s2 === peg$FAILED) {\n s2 = peg$parseWord();\n if (s2 === peg$FAILED) {\n s2 = peg$parseNewLine();\n if (s2 === peg$FAILED) {\n s2 = peg$parse_();\n }\n }\n }\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseLink();\n if (s2 === peg$FAILED) {\n s2 = peg$parseWord();\n if (s2 === peg$FAILED) {\n s2 = peg$parseNewLine();\n if (s2 === peg$FAILED) {\n s2 = peg$parse_();\n }\n }\n }\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c0(s1);\n }\n s0 = s1;\n\n return s0;\n }\n\n function peg$parseLink() {\n var s0, s1, s2, s3, s4, s5, s6;\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 91) {\n s1 = peg$c1;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c2); }\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parseLinkText();\n if (s2 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 93) {\n s3 = peg$c3;\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c4); }\n }\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 40) {\n s4 = peg$c5;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c6); }\n }\n if (s4 !== peg$FAILED) {\n s5 = peg$parseLinkSrc();\n if (s5 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 41) {\n s6 = peg$c7;\n peg$currPos++;\n } else {\n s6 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c8); }\n }\n if (s6 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c9(s2, s5);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parseLinkText() {\n var s0, s1, s2, s3, s4;\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$currPos;\n s3 = [];\n if (peg$c10.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c11); }\n }\n if (s4 !== peg$FAILED) {\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n if (peg$c10.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c11); }\n }\n }\n } else {\n s3 = peg$FAILED;\n }\n if (s3 !== peg$FAILED) {\n peg$savedPos = s2;\n s3 = peg$c12(s3);\n }\n s2 = s3;\n if (s2 === peg$FAILED) {\n s2 = peg$parse_();\n }\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$currPos;\n s3 = [];\n if (peg$c10.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c11); }\n }\n if (s4 !== peg$FAILED) {\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n if (peg$c10.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c11); }\n }\n }\n } else {\n s3 = peg$FAILED;\n }\n if (s3 !== peg$FAILED) {\n peg$savedPos = s2;\n s3 = peg$c12(s3);\n }\n s2 = s3;\n if (s2 === peg$FAILED) {\n s2 = peg$parse_();\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c13(s1);\n }\n s0 = s1;\n\n return s0;\n }\n\n function peg$parseLinkSrc() {\n var s0, s1, s2;\n\n s0 = peg$currPos;\n s1 = [];\n if (peg$c14.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c15); }\n }\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n if (peg$c14.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c15); }\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c16(s1);\n }\n s0 = s1;\n\n return s0;\n }\n\n function peg$parseNewLine() {\n var s0, s1, s2, s3, s4;\n\n s0 = peg$currPos;\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s1 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s1 !== peg$FAILED) {\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s2 !== peg$FAILED) {\n s3 = [];\n if (peg$c19.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c20); }\n }\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n if (peg$c19.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c20); }\n }\n }\n if (s3 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c21();\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parseWord() {\n var s0, s1, s2;\n\n s0 = peg$currPos;\n s1 = [];\n if (peg$c22.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c23); }\n }\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n if (peg$c22.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c23); }\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c24(s1);\n }\n s0 = s1;\n\n return s0;\n }\n\n function peg$parse_() {\n var s0, s1, s2, s3, s4, s5, s6;\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$currPos;\n s3 = peg$currPos;\n peg$silentFails++;\n s4 = peg$currPos;\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s5 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s5 !== peg$FAILED) {\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s6 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s6 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s6 !== peg$FAILED) {\n s5 = [s5, s6];\n s4 = s5;\n } else {\n peg$currPos = s4;\n s4 = peg$FAILED;\n }\n } else {\n peg$currPos = s4;\n s4 = peg$FAILED;\n }\n peg$silentFails--;\n if (s4 === peg$FAILED) {\n s3 = void 0;\n } else {\n peg$currPos = s3;\n s3 = peg$FAILED;\n }\n if (s3 !== peg$FAILED) {\n if (peg$c19.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c20); }\n }\n if (s4 !== peg$FAILED) {\n s3 = [s3, s4];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$currPos;\n s3 = peg$currPos;\n peg$silentFails++;\n s4 = peg$currPos;\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s5 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s5 !== peg$FAILED) {\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s6 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s6 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s6 !== peg$FAILED) {\n s5 = [s5, s6];\n s4 = s5;\n } else {\n peg$currPos = s4;\n s4 = peg$FAILED;\n }\n } else {\n peg$currPos = s4;\n s4 = peg$FAILED;\n }\n peg$silentFails--;\n if (s4 === peg$FAILED) {\n s3 = void 0;\n } else {\n peg$currPos = s3;\n s3 = peg$FAILED;\n }\n if (s3 !== peg$FAILED) {\n if (peg$c19.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c20); }\n }\n if (s4 !== peg$FAILED) {\n s3 = [s3, s4];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c25();\n }\n s0 = s1;\n\n return s0;\n }\n\n peg$result = peg$startRuleFunction();\n\n if (peg$result !== peg$FAILED && peg$currPos === input.length) {\n return peg$result;\n } else {\n if (peg$result !== peg$FAILED && peg$currPos < input.length) {\n peg$fail(peg$endExpectation());\n }\n\n throw peg$buildStructuredError(\n peg$maxFailExpected,\n peg$maxFailPos < input.length ? input.charAt(peg$maxFailPos) : null,\n peg$maxFailPos < input.length\n ? peg$computeLocation(peg$maxFailPos, peg$maxFailPos + 1)\n : peg$computeLocation(peg$maxFailPos, peg$maxFailPos)\n );\n }\n }\n\n return {\n SyntaxError: peg$SyntaxError,\n parse: peg$parse\n };\n})()";
|
|
61215
61388
|
|
|
61216
61389
|
/***/ }),
|
|
61217
61390
|
|
|
@@ -77316,6 +77489,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
77316
77489
|
/* harmony import */ var _ElementProcessors_FormParts_GlobalModal_GlobalModalsConverter__WEBPACK_IMPORTED_MODULE_122__ = __webpack_require__(/*! ./ElementProcessors/FormParts/GlobalModal/GlobalModalsConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/GlobalModal/GlobalModalsConverter.ts");
|
|
77317
77490
|
/* harmony import */ var _ElementProcessors_MultiControls_InstanceNumber_InstanceNumberConverter__WEBPACK_IMPORTED_MODULE_123__ = __webpack_require__(/*! ./ElementProcessors/MultiControls/InstanceNumber/InstanceNumberConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/InstanceNumber/InstanceNumberConverter.ts");
|
|
77318
77491
|
/* harmony import */ var _ElementProcessors_Layout_OptionalBlock_OptionalBlockConverter__WEBPACK_IMPORTED_MODULE_124__ = __webpack_require__(/*! ./ElementProcessors/Layout/OptionalBlock/OptionalBlockConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/OptionalBlock/OptionalBlockConverter.ts");
|
|
77492
|
+
/* harmony import */ var _ElementProcessors_MultiControls_AggregationQuery_AggregationQueryConverter__WEBPACK_IMPORTED_MODULE_125__ = __webpack_require__(/*! ./ElementProcessors/MultiControls/AggregationQuery/AggregationQueryConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/AggregationQuery/AggregationQueryConverter.ts");
|
|
77493
|
+
/* harmony import */ var _ElementProcessors_MultiControls_ContextVar_ExprEvalConverter__WEBPACK_IMPORTED_MODULE_126__ = __webpack_require__(/*! ./ElementProcessors/MultiControls/ContextVar/ExprEvalConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/ContextVar/ExprEvalConverter.ts");
|
|
77494
|
+
|
|
77495
|
+
|
|
77319
77496
|
|
|
77320
77497
|
|
|
77321
77498
|
|
|
@@ -77443,7 +77620,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
77443
77620
|
|
|
77444
77621
|
let convertersFromNodeClassMap;
|
|
77445
77622
|
function buildConvertersFromNodeClassMap() {
|
|
77446
|
-
const converters = [_ElementProcessors_FormParts_AddPageButton_AddPageButtonConverter__WEBPACK_IMPORTED_MODULE_8__.AddPageButtonConverter, _ElementProcessors_MultiControls_AddRowButton_AddRowButtonConverter__WEBPACK_IMPORTED_MODULE_9__.AddRowButtonConverter, _ElementProcessors_FormParts_AttachmentForm_AttachmentFormConverter__WEBPACK_IMPORTED_MODULE_117__.AttachmentFormConverter, _ElementProcessors_Layout_Block_BlockConverter__WEBPACK_IMPORTED_MODULE_10__.BlockConverter, _ElementProcessors_Layout_Minitour_MinitourConverter__WEBPACK_IMPORTED_MODULE_11__.MinitourConverter, _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_18__.CaptionConverter, _ElementProcessors_ValueEditors_Checkbox_CheckboxConverter__WEBPACK_IMPORTED_MODULE_19__.CheckboxConverter, _ElementProcessors_ControlFlow_Choice_ChoiceConverter__WEBPACK_IMPORTED_MODULE_20__.ChoiceConverter, _ElementProcessors_MultiControls_TableCell_TableCellConverter__WEBPACK_IMPORTED_MODULE_85__.TableCellConverter, _ElementProcessors_ValueEditors_Toggle_ToggleConverter__WEBPACK_IMPORTED_MODULE_88__.ToggleConverter, _ElementProcessors_ValueEditors_Combobox_ComboBoxConverter__WEBPACK_IMPORTED_MODULE_21__.ComboBoxConverter, _ElementProcessors_FormParts_Content_ContentConverter__WEBPACK_IMPORTED_MODULE_22__.ContentConverter, _ElementProcessors_FormParts_Cross_CrossConverter__WEBPACK_IMPORTED_MODULE_23__.CrossConverter, _ElementProcessors_MultiControls_ColgroupButton_ColgroupButtonConverter__WEBPACK_IMPORTED_MODULE_97__.ColgroupButtonConverter, _ElementProcessors_ValueEditors_Date_DateConverter__WEBPACK_IMPORTED_MODULE_24__.DateConverter, _ElementProcessors_FormParts_DefaultContent_DefaultContentConverter__WEBPACK_IMPORTED_MODULE_25__.DefaultContentConverter, _ElementProcessors_ValueEditors_DiadocSuggestComboBox_DiadocSuggestComboBoxConverter__WEBPACK_IMPORTED_MODULE_26__.DiadocSuggestComboBoxConverter, _ElementProcessors_ValueEditors_RelativesComboBox_RelativesComboBoxConverter__WEBPACK_IMPORTED_MODULE_119__.RelativesComboBoxConverter, _ElementProcessors_Typography_Entity_EntityConverter__WEBPACK_IMPORTED_MODULE_27__.EntityConverter, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteConverter__WEBPACK_IMPORTED_MODULE_28__.ExpertNoteConverter, _ElementProcessors_ValueEditors_FileLoader_FileLoaderConverter__WEBPACK_IMPORTED_MODULE_29__.FileLoaderConverter, _ElementProcessors_MultiControls_FilterDateRange_FilterDateRangeConverter__WEBPACK_IMPORTED_MODULE_30__.FilterDateRangeConverter, _ElementProcessors_MultiControls_FilterInput_FilterInputConverter__WEBPACK_IMPORTED_MODULE_31__.FilterInputConverter, _ElementProcessors_MultiControls_FilterList_FilterListConverter__WEBPACK_IMPORTED_MODULE_32__.FilterListConverter, _ElementProcessors_ValueViewers_FIO_FIOConverter__WEBPACK_IMPORTED_MODULE_33__.FIOConverter, _ElementProcessors_Layout_Flexbox_FlexboxConverter__WEBPACK_IMPORTED_MODULE_34__.FlexboxConverter, _ElementProcessors_FormParts_Form_FormConverter__WEBPACK_IMPORTED_MODULE_36__.FormConverter, _ElementProcessors_FormParts_FormInfo_FormInfoConverter__WEBPACK_IMPORTED_MODULE_37__.FormInfoConverter, _ElementProcessors_Typography_Gray_GrayConverter__WEBPACK_IMPORTED_MODULE_38__.GrayConverter, _ElementProcessors_Layout_GridCol_GridColConverter__WEBPACK_IMPORTED_MODULE_39__.GridColConverter, _ElementProcessors_Layout_GridRow_GridRowConverter__WEBPACK_IMPORTED_MODULE_40__.GridRowConverter, _ElementProcessors_FormParts_Header_HeaderConverter__WEBPACK_IMPORTED_MODULE_41__.HeaderConverter, _ElementProcessors_MultiControls_HeaderMenu_HeaderMenuConverter__WEBPACK_IMPORTED_MODULE_42__.HeaderMenuConverter, _ElementProcessors_Helpers_Help_HelpConverter__WEBPACK_IMPORTED_MODULE_43__.HelpConverter, _ElementProcessors_Helpers_Helpinfo_HelpInfoConverter__WEBPACK_IMPORTED_MODULE_44__.HelpInfoConverter, _ElementProcessors_Typography_Highlight_HighlightConverter__WEBPACK_IMPORTED_MODULE_45__.HighlightConverter, _ElementProcessors_Layout_Hr_HrConverter__WEBPACK_IMPORTED_MODULE_46__.HrConverter, _ElementProcessors_Typography_Icon_IconConverter__WEBPACK_IMPORTED_MODULE_47__.IconConverter, _ElementProcessors_ControlFlow_Captions_Short_ShortConverter__WEBPACK_IMPORTED_MODULE_110__.ShortConverter, _ElementProcessors_ControlFlow_Captions_Long_LongConverter__WEBPACK_IMPORTED_MODULE_111__.LongConverter, _ElementProcessors_ControlFlow_Captions_FillHint_FillHintConverter__WEBPACK_IMPORTED_MODULE_112__.FillHintConverter, _ElementProcessors_ControlFlow_If_IfConverter__WEBPACK_IMPORTED_MODULE_48__.IfConverter, _ElementProcessors_Layout_Img_ImgConverter__WEBPACK_IMPORTED_MODULE_49__.ImgConverter, _ElementProcessors_ValueEditors_INN_INNConverter__WEBPACK_IMPORTED_MODULE_50__.INNConverter, _ElementProcessors_ValueEditors_Input_InputConverter__WEBPACK_IMPORTED_MODULE_51__.InputConverter, _ElementProcessors_Typography_Italic_ItalicConverter__WEBPACK_IMPORTED_MODULE_52__.ItalicConverter, _ElementProcessors_Layout_ListItem_ListItemConverter__WEBPACK_IMPORTED_MODULE_53__.ListItemConverter, _ElementProcessors_ValueEditors_Kladr_KladrConverter__WEBPACK_IMPORTED_MODULE_54__.KladrConverter, _ElementProcessors_ValueViewers_Linetext_LinetextConverter__WEBPACK_IMPORTED_MODULE_55__.LinetextConverter, _ElementProcessors_Action_Link_LinkConverter__WEBPACK_IMPORTED_MODULE_56__.LinkConverter, _ElementProcessors_Layout_List_ListConverter__WEBPACK_IMPORTED_MODULE_57__.ListConverter, _ElementProcessors_Modal_ModalForm_ModalFormConverter__WEBPACK_IMPORTED_MODULE_58__.ModalFormConverter, _ElementProcessors_Modal_ModalFormLabel_ModalFormLabelConverter__WEBPACK_IMPORTED_MODULE_61__.ModalFormLabelConverter, _ElementProcessors_MultiControls_Multilinefield_MultilineFieldConverter__WEBPACK_IMPORTED_MODULE_62__.MultilineFieldConverter, _ElementProcessors_Helpers_Normativehelp_NormativeHelpConverter__WEBPACK_IMPORTED_MODULE_63__.NormativeHelpConverter, _ElementProcessors_FormParts_Page_PageConverter__WEBPACK_IMPORTED_MODULE_65__.PageConverter, _ElementProcessors_Layout_Pencil_PencilConverter__WEBPACK_IMPORTED_MODULE_66__.PencilConverter, _ElementProcessors_ValueEditors_Picklist_PicklistConverter__WEBPACK_IMPORTED_MODULE_67__.PicklistConverter, _ElementProcessors_ValueEditors_TreePicklist_TreePicklistConverter__WEBPACK_IMPORTED_MODULE_118__.TreePicklistConverter, _ElementProcessors_ValueEditors_radio_RadioConverter__WEBPACK_IMPORTED_MODULE_68__.RadioConverter, _ElementProcessors_ValueEditors_RadioGroup_RadioGroupConverter__WEBPACK_IMPORTED_MODULE_69__.RadioGroupConverter, _ElementProcessors_MultiControls_RemoveRowButton_RemoveRowButtonConverter__WEBPACK_IMPORTED_MODULE_70__.RemoveRowButtonConverter, _ElementProcessors_ValueEditors_Select_SelectConverter__WEBPACK_IMPORTED_MODULE_71__.SelectConverter, _ElementProcessors_MultiControls_SortRadioGroup_SortRadioGroupConverter__WEBPACK_IMPORTED_MODULE_72__.SortRadioGroupConverter, _ElementProcessors_Layout_Spoiler_SpoilerConverter__WEBPACK_IMPORTED_MODULE_73__.SpoilerConverter, _ElementProcessors_Typography_Strong_StrongConverter__WEBPACK_IMPORTED_MODULE_74__.StrongConverter, _ElementProcessors_Typography_Sub_SubConverter__WEBPACK_IMPORTED_MODULE_75__.SubConverter, _ElementProcessors_Layout_Subheader_SubheaderConverter__WEBPACK_IMPORTED_MODULE_76__.SubheaderConverter, _ElementProcessors_Typography_Sup_SupConverter__WEBPACK_IMPORTED_MODULE_77__.SupConverter, _ElementProcessors_ValueViewers_Text_TextConverter__WEBPACK_IMPORTED_MODULE_86__.TextConverter, _ElementProcessors_ValueEditors_Textarea_TextAreaConverter__WEBPACK_IMPORTED_MODULE_87__.TextAreaConverter, _ElementProcessors_ValueEditors_popupTextArea_PopupTextAreaConverter__WEBPACK_IMPORTED_MODULE_96__.PopupTextAreaConverter, _ElementProcessors_ValueViewers_ValueLength_ValueLengthConverter__WEBPACK_IMPORTED_MODULE_92__.ValueLengthConverter, _ElementProcessors_ControlFlow_VisibilityBlock_VisibilityBlockConverter__WEBPACK_IMPORTED_MODULE_93__.VisibilityBlockConverter, _ElementProcessors_Layout_Warning_WarningConverter__WEBPACK_IMPORTED_MODULE_94__.WarningConverter, _ElementProcessors_Layout_InnerText_InnertextConverter__WEBPACK_IMPORTED_MODULE_7__.InnertextConverter, _ElementProcessors_ControlFlow_Otherwise_OtherwiseConverter__WEBPACK_IMPORTED_MODULE_64__.OtherwiseConverter, _ElementProcessors_ControlFlow_When_WhenConverter__WEBPACK_IMPORTED_MODULE_95__.WhenConverter, _ElementProcessors_FormParts_UnitList_UnitListConverter__WEBPACK_IMPORTED_MODULE_91__.UnitListConverter, _ElementProcessors_FormParts_UnitItem_UnitItemConverter__WEBPACK_IMPORTED_MODULE_90__.UnitItemConverter, _ElementProcessors_Modal_Body_BodyConverter__WEBPACK_IMPORTED_MODULE_12__.BodyConverter, _ElementProcessors_Modal_Footer_FooterConverter__WEBPACK_IMPORTED_MODULE_35__.FooterConverter, _ElementProcessors_Modal_ModalFormConfirm_ModalFormConfirmConverter__WEBPACK_IMPORTED_MODULE_60__.ModalFormConfirmConverter, _ElementProcessors_Modal_ModalFormCancel_ModalFormCancelConverter__WEBPACK_IMPORTED_MODULE_59__.ModalFormCancelConverter, _ElementProcessors_Action_Button_ButtonConverter__WEBPACK_IMPORTED_MODULE_15__.ButtonConverter, _ElementProcessors_Action_DownloadExcelButton_DownloadExcelButtonConverter__WEBPACK_IMPORTED_MODULE_16__.DownloadExcelButtonConverter, _ElementProcessors_Action_DropDownButtonLoadExcel_DropDownButtonLoadExcelConverter__WEBPACK_IMPORTED_MODULE_17__.DropDownButtonLoadExcelConverter, _ElementProcessors_FormParts_Tour_TourConverter__WEBPACK_IMPORTED_MODULE_89__.TourConverter, _ElementProcessors_ControlFlow_Switch_SwitchConverter__WEBPACK_IMPORTED_MODULE_78__.SwitchConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableColumnConverter__WEBPACK_IMPORTED_MODULE_83__.StickyTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableColumnConverter__WEBPACK_IMPORTED_MODULE_79__.CrossfitTableColumnConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableColumnConverter__WEBPACK_IMPORTED_MODULE_81__.SimpleTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableConverter__WEBPACK_IMPORTED_MODULE_80__.CrossfitTableConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableConverter__WEBPACK_IMPORTED_MODULE_82__.SimpleTableConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableWithMultilineConverter__WEBPACK_IMPORTED_MODULE_84__.StickyTableWithMultilineConverter, _ElementProcessors_Layout_Stack_StackConverter__WEBPACK_IMPORTED_MODULE_2__.StackConverter, _ElementProcessors_Layout_Grid_GridConverter__WEBPACK_IMPORTED_MODULE_1__.GridConverter, _ElementProcessors_UnitParts_HeaderPanel_HeaderPanelConverter__WEBPACK_IMPORTED_MODULE_6__.HeaderPanelConverter, _ElementProcessors_MultiControls_Tabs_TabsConverter__WEBPACK_IMPORTED_MODULE_5__.TabsConverter, _ElementProcessors_Action_DropdownButton_DropdownButtonConverter__WEBPACK_IMPORTED_MODULE_101__.DropdownButtonConverter, _ElementProcessors_ValueEditors_Fias_FiasConverter__WEBPACK_IMPORTED_MODULE_0__.FiasConverter, _ElementProcessors_MultiControls_FilterSelect_FilterSelectConverter__WEBPACK_IMPORTED_MODULE_3__.FilterSelectConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2Converter, _ElementProcessors_MultiControls_Table2_Table2RowConverter__WEBPACK_IMPORTED_MODULE_100__.Table2RowConverter, _ElementProcessors_MultiControls_Table2_Table2MultirowConverter__WEBPACK_IMPORTED_MODULE_99__.Table2MultirowConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2ColumnConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2VerticalColumnConverter, _ElementProcessors_Layout_FixedTabs_FixedTabsConverter__WEBPACK_IMPORTED_MODULE_103__.FixedTabsConverter, _ElementProcessors_Layout_FixedTabs_FixedTabConverter__WEBPACK_IMPORTED_MODULE_102__.FixedTabConverter, _ElementProcessors_MultiControls_Multiple_MultipleConverter__WEBPACK_IMPORTED_MODULE_104__.MultipleConverter, _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelConverter__WEBPACK_IMPORTED_MODULE_105__.ExcelPastePanelConverter, _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsConverter__WEBPACK_IMPORTED_MODULE_106__.ReferencedFieldsConverter, _ElementProcessors_FormParts_UserPicklist_UserPicklistConverter__WEBPACK_IMPORTED_MODULE_107__.UserPicklistConverter, _ElementProcessors_ValueEditors_TaxRebate_TaxRebateConverter__WEBPACK_IMPORTED_MODULE_108__.TaxRebateConverter, _ElementProcessors_FormParts_Banner_BannerConverter__WEBPACK_IMPORTED_MODULE_109__.BannerConverter, _ElementProcessors_ValueViewers_DateView_DateViewConverter__WEBPACK_IMPORTED_MODULE_113__.DateViewConverter, _ElementProcessors_Action_Kebab_KebabConverter__WEBPACK_IMPORTED_MODULE_114__.KebabConverter, _ElementProcessors_Helpers_Clue_InfoBlockConverter__WEBPACK_IMPORTED_MODULE_115__.InfoBlockConverter, _ElementProcessors_ValueEditors_SelectAllCheckbox_SelectAllCheckboxConverter__WEBPACK_IMPORTED_MODULE_116__.SelectAllCheckboxConverter, _ElementProcessors_ValueEditors_SelectCheckbox_SelectCheckboxConverter__WEBPACK_IMPORTED_MODULE_120__.SelectCheckboxConverter, _ElementProcessors_FormParts_ModalHeader_ModalHeaderConverter__WEBPACK_IMPORTED_MODULE_121__.ModalHeaderConverter, _ElementProcessors_FormParts_GlobalModal_GlobalModalsConverter__WEBPACK_IMPORTED_MODULE_122__.GlobalModalsConverter, _ElementProcessors_MultiControls_InstanceNumber_InstanceNumberConverter__WEBPACK_IMPORTED_MODULE_123__.InstanceNumberConverter, _ElementProcessors_Layout_OptionalBlock_OptionalBlockConverter__WEBPACK_IMPORTED_MODULE_124__.OptionalBlockConverter];
|
|
77623
|
+
const converters = [_ElementProcessors_FormParts_AddPageButton_AddPageButtonConverter__WEBPACK_IMPORTED_MODULE_8__.AddPageButtonConverter, _ElementProcessors_MultiControls_AddRowButton_AddRowButtonConverter__WEBPACK_IMPORTED_MODULE_9__.AddRowButtonConverter, _ElementProcessors_FormParts_AttachmentForm_AttachmentFormConverter__WEBPACK_IMPORTED_MODULE_117__.AttachmentFormConverter, _ElementProcessors_Layout_Block_BlockConverter__WEBPACK_IMPORTED_MODULE_10__.BlockConverter, _ElementProcessors_Layout_Minitour_MinitourConverter__WEBPACK_IMPORTED_MODULE_11__.MinitourConverter, _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_18__.CaptionConverter, _ElementProcessors_ValueEditors_Checkbox_CheckboxConverter__WEBPACK_IMPORTED_MODULE_19__.CheckboxConverter, _ElementProcessors_ControlFlow_Choice_ChoiceConverter__WEBPACK_IMPORTED_MODULE_20__.ChoiceConverter, _ElementProcessors_MultiControls_TableCell_TableCellConverter__WEBPACK_IMPORTED_MODULE_85__.TableCellConverter, _ElementProcessors_ValueEditors_Toggle_ToggleConverter__WEBPACK_IMPORTED_MODULE_88__.ToggleConverter, _ElementProcessors_ValueEditors_Combobox_ComboBoxConverter__WEBPACK_IMPORTED_MODULE_21__.ComboBoxConverter, _ElementProcessors_FormParts_Content_ContentConverter__WEBPACK_IMPORTED_MODULE_22__.ContentConverter, _ElementProcessors_FormParts_Cross_CrossConverter__WEBPACK_IMPORTED_MODULE_23__.CrossConverter, _ElementProcessors_MultiControls_ColgroupButton_ColgroupButtonConverter__WEBPACK_IMPORTED_MODULE_97__.ColgroupButtonConverter, _ElementProcessors_ValueEditors_Date_DateConverter__WEBPACK_IMPORTED_MODULE_24__.DateConverter, _ElementProcessors_FormParts_DefaultContent_DefaultContentConverter__WEBPACK_IMPORTED_MODULE_25__.DefaultContentConverter, _ElementProcessors_ValueEditors_DiadocSuggestComboBox_DiadocSuggestComboBoxConverter__WEBPACK_IMPORTED_MODULE_26__.DiadocSuggestComboBoxConverter, _ElementProcessors_ValueEditors_RelativesComboBox_RelativesComboBoxConverter__WEBPACK_IMPORTED_MODULE_119__.RelativesComboBoxConverter, _ElementProcessors_Typography_Entity_EntityConverter__WEBPACK_IMPORTED_MODULE_27__.EntityConverter, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteConverter__WEBPACK_IMPORTED_MODULE_28__.ExpertNoteConverter, _ElementProcessors_ValueEditors_FileLoader_FileLoaderConverter__WEBPACK_IMPORTED_MODULE_29__.FileLoaderConverter, _ElementProcessors_MultiControls_FilterDateRange_FilterDateRangeConverter__WEBPACK_IMPORTED_MODULE_30__.FilterDateRangeConverter, _ElementProcessors_MultiControls_FilterInput_FilterInputConverter__WEBPACK_IMPORTED_MODULE_31__.FilterInputConverter, _ElementProcessors_MultiControls_FilterList_FilterListConverter__WEBPACK_IMPORTED_MODULE_32__.FilterListConverter, _ElementProcessors_ValueViewers_FIO_FIOConverter__WEBPACK_IMPORTED_MODULE_33__.FIOConverter, _ElementProcessors_Layout_Flexbox_FlexboxConverter__WEBPACK_IMPORTED_MODULE_34__.FlexboxConverter, _ElementProcessors_FormParts_Form_FormConverter__WEBPACK_IMPORTED_MODULE_36__.FormConverter, _ElementProcessors_FormParts_FormInfo_FormInfoConverter__WEBPACK_IMPORTED_MODULE_37__.FormInfoConverter, _ElementProcessors_Typography_Gray_GrayConverter__WEBPACK_IMPORTED_MODULE_38__.GrayConverter, _ElementProcessors_Layout_GridCol_GridColConverter__WEBPACK_IMPORTED_MODULE_39__.GridColConverter, _ElementProcessors_Layout_GridRow_GridRowConverter__WEBPACK_IMPORTED_MODULE_40__.GridRowConverter, _ElementProcessors_FormParts_Header_HeaderConverter__WEBPACK_IMPORTED_MODULE_41__.HeaderConverter, _ElementProcessors_MultiControls_HeaderMenu_HeaderMenuConverter__WEBPACK_IMPORTED_MODULE_42__.HeaderMenuConverter, _ElementProcessors_Helpers_Help_HelpConverter__WEBPACK_IMPORTED_MODULE_43__.HelpConverter, _ElementProcessors_Helpers_Helpinfo_HelpInfoConverter__WEBPACK_IMPORTED_MODULE_44__.HelpInfoConverter, _ElementProcessors_Typography_Highlight_HighlightConverter__WEBPACK_IMPORTED_MODULE_45__.HighlightConverter, _ElementProcessors_Layout_Hr_HrConverter__WEBPACK_IMPORTED_MODULE_46__.HrConverter, _ElementProcessors_Typography_Icon_IconConverter__WEBPACK_IMPORTED_MODULE_47__.IconConverter, _ElementProcessors_ControlFlow_Captions_Short_ShortConverter__WEBPACK_IMPORTED_MODULE_110__.ShortConverter, _ElementProcessors_ControlFlow_Captions_Long_LongConverter__WEBPACK_IMPORTED_MODULE_111__.LongConverter, _ElementProcessors_ControlFlow_Captions_FillHint_FillHintConverter__WEBPACK_IMPORTED_MODULE_112__.FillHintConverter, _ElementProcessors_ControlFlow_If_IfConverter__WEBPACK_IMPORTED_MODULE_48__.IfConverter, _ElementProcessors_Layout_Img_ImgConverter__WEBPACK_IMPORTED_MODULE_49__.ImgConverter, _ElementProcessors_ValueEditors_INN_INNConverter__WEBPACK_IMPORTED_MODULE_50__.INNConverter, _ElementProcessors_ValueEditors_Input_InputConverter__WEBPACK_IMPORTED_MODULE_51__.InputConverter, _ElementProcessors_Typography_Italic_ItalicConverter__WEBPACK_IMPORTED_MODULE_52__.ItalicConverter, _ElementProcessors_Layout_ListItem_ListItemConverter__WEBPACK_IMPORTED_MODULE_53__.ListItemConverter, _ElementProcessors_ValueEditors_Kladr_KladrConverter__WEBPACK_IMPORTED_MODULE_54__.KladrConverter, _ElementProcessors_ValueViewers_Linetext_LinetextConverter__WEBPACK_IMPORTED_MODULE_55__.LinetextConverter, _ElementProcessors_Action_Link_LinkConverter__WEBPACK_IMPORTED_MODULE_56__.LinkConverter, _ElementProcessors_Layout_List_ListConverter__WEBPACK_IMPORTED_MODULE_57__.ListConverter, _ElementProcessors_Modal_ModalForm_ModalFormConverter__WEBPACK_IMPORTED_MODULE_58__.ModalFormConverter, _ElementProcessors_Modal_ModalFormLabel_ModalFormLabelConverter__WEBPACK_IMPORTED_MODULE_61__.ModalFormLabelConverter, _ElementProcessors_MultiControls_Multilinefield_MultilineFieldConverter__WEBPACK_IMPORTED_MODULE_62__.MultilineFieldConverter, _ElementProcessors_Helpers_Normativehelp_NormativeHelpConverter__WEBPACK_IMPORTED_MODULE_63__.NormativeHelpConverter, _ElementProcessors_FormParts_Page_PageConverter__WEBPACK_IMPORTED_MODULE_65__.PageConverter, _ElementProcessors_Layout_Pencil_PencilConverter__WEBPACK_IMPORTED_MODULE_66__.PencilConverter, _ElementProcessors_ValueEditors_Picklist_PicklistConverter__WEBPACK_IMPORTED_MODULE_67__.PicklistConverter, _ElementProcessors_ValueEditors_TreePicklist_TreePicklistConverter__WEBPACK_IMPORTED_MODULE_118__.TreePicklistConverter, _ElementProcessors_ValueEditors_radio_RadioConverter__WEBPACK_IMPORTED_MODULE_68__.RadioConverter, _ElementProcessors_ValueEditors_RadioGroup_RadioGroupConverter__WEBPACK_IMPORTED_MODULE_69__.RadioGroupConverter, _ElementProcessors_MultiControls_RemoveRowButton_RemoveRowButtonConverter__WEBPACK_IMPORTED_MODULE_70__.RemoveRowButtonConverter, _ElementProcessors_ValueEditors_Select_SelectConverter__WEBPACK_IMPORTED_MODULE_71__.SelectConverter, _ElementProcessors_MultiControls_SortRadioGroup_SortRadioGroupConverter__WEBPACK_IMPORTED_MODULE_72__.SortRadioGroupConverter, _ElementProcessors_Layout_Spoiler_SpoilerConverter__WEBPACK_IMPORTED_MODULE_73__.SpoilerConverter, _ElementProcessors_Typography_Strong_StrongConverter__WEBPACK_IMPORTED_MODULE_74__.StrongConverter, _ElementProcessors_Typography_Sub_SubConverter__WEBPACK_IMPORTED_MODULE_75__.SubConverter, _ElementProcessors_Layout_Subheader_SubheaderConverter__WEBPACK_IMPORTED_MODULE_76__.SubheaderConverter, _ElementProcessors_Typography_Sup_SupConverter__WEBPACK_IMPORTED_MODULE_77__.SupConverter, _ElementProcessors_ValueViewers_Text_TextConverter__WEBPACK_IMPORTED_MODULE_86__.TextConverter, _ElementProcessors_ValueEditors_Textarea_TextAreaConverter__WEBPACK_IMPORTED_MODULE_87__.TextAreaConverter, _ElementProcessors_ValueEditors_popupTextArea_PopupTextAreaConverter__WEBPACK_IMPORTED_MODULE_96__.PopupTextAreaConverter, _ElementProcessors_ValueViewers_ValueLength_ValueLengthConverter__WEBPACK_IMPORTED_MODULE_92__.ValueLengthConverter, _ElementProcessors_ControlFlow_VisibilityBlock_VisibilityBlockConverter__WEBPACK_IMPORTED_MODULE_93__.VisibilityBlockConverter, _ElementProcessors_Layout_Warning_WarningConverter__WEBPACK_IMPORTED_MODULE_94__.WarningConverter, _ElementProcessors_Layout_InnerText_InnertextConverter__WEBPACK_IMPORTED_MODULE_7__.InnertextConverter, _ElementProcessors_ControlFlow_Otherwise_OtherwiseConverter__WEBPACK_IMPORTED_MODULE_64__.OtherwiseConverter, _ElementProcessors_ControlFlow_When_WhenConverter__WEBPACK_IMPORTED_MODULE_95__.WhenConverter, _ElementProcessors_FormParts_UnitList_UnitListConverter__WEBPACK_IMPORTED_MODULE_91__.UnitListConverter, _ElementProcessors_FormParts_UnitItem_UnitItemConverter__WEBPACK_IMPORTED_MODULE_90__.UnitItemConverter, _ElementProcessors_Modal_Body_BodyConverter__WEBPACK_IMPORTED_MODULE_12__.BodyConverter, _ElementProcessors_Modal_Footer_FooterConverter__WEBPACK_IMPORTED_MODULE_35__.FooterConverter, _ElementProcessors_Modal_ModalFormConfirm_ModalFormConfirmConverter__WEBPACK_IMPORTED_MODULE_60__.ModalFormConfirmConverter, _ElementProcessors_Modal_ModalFormCancel_ModalFormCancelConverter__WEBPACK_IMPORTED_MODULE_59__.ModalFormCancelConverter, _ElementProcessors_Action_Button_ButtonConverter__WEBPACK_IMPORTED_MODULE_15__.ButtonConverter, _ElementProcessors_Action_DownloadExcelButton_DownloadExcelButtonConverter__WEBPACK_IMPORTED_MODULE_16__.DownloadExcelButtonConverter, _ElementProcessors_Action_DropDownButtonLoadExcel_DropDownButtonLoadExcelConverter__WEBPACK_IMPORTED_MODULE_17__.DropDownButtonLoadExcelConverter, _ElementProcessors_FormParts_Tour_TourConverter__WEBPACK_IMPORTED_MODULE_89__.TourConverter, _ElementProcessors_ControlFlow_Switch_SwitchConverter__WEBPACK_IMPORTED_MODULE_78__.SwitchConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableColumnConverter__WEBPACK_IMPORTED_MODULE_83__.StickyTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableColumnConverter__WEBPACK_IMPORTED_MODULE_79__.CrossfitTableColumnConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableColumnConverter__WEBPACK_IMPORTED_MODULE_81__.SimpleTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableConverter__WEBPACK_IMPORTED_MODULE_80__.CrossfitTableConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableConverter__WEBPACK_IMPORTED_MODULE_82__.SimpleTableConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableWithMultilineConverter__WEBPACK_IMPORTED_MODULE_84__.StickyTableWithMultilineConverter, _ElementProcessors_Layout_Stack_StackConverter__WEBPACK_IMPORTED_MODULE_2__.StackConverter, _ElementProcessors_Layout_Grid_GridConverter__WEBPACK_IMPORTED_MODULE_1__.GridConverter, _ElementProcessors_UnitParts_HeaderPanel_HeaderPanelConverter__WEBPACK_IMPORTED_MODULE_6__.HeaderPanelConverter, _ElementProcessors_MultiControls_Tabs_TabsConverter__WEBPACK_IMPORTED_MODULE_5__.TabsConverter, _ElementProcessors_Action_DropdownButton_DropdownButtonConverter__WEBPACK_IMPORTED_MODULE_101__.DropdownButtonConverter, _ElementProcessors_ValueEditors_Fias_FiasConverter__WEBPACK_IMPORTED_MODULE_0__.FiasConverter, _ElementProcessors_MultiControls_FilterSelect_FilterSelectConverter__WEBPACK_IMPORTED_MODULE_3__.FilterSelectConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2Converter, _ElementProcessors_MultiControls_Table2_Table2RowConverter__WEBPACK_IMPORTED_MODULE_100__.Table2RowConverter, _ElementProcessors_MultiControls_Table2_Table2MultirowConverter__WEBPACK_IMPORTED_MODULE_99__.Table2MultirowConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2ColumnConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2VerticalColumnConverter, _ElementProcessors_Layout_FixedTabs_FixedTabsConverter__WEBPACK_IMPORTED_MODULE_103__.FixedTabsConverter, _ElementProcessors_Layout_FixedTabs_FixedTabConverter__WEBPACK_IMPORTED_MODULE_102__.FixedTabConverter, _ElementProcessors_MultiControls_Multiple_MultipleConverter__WEBPACK_IMPORTED_MODULE_104__.MultipleConverter, _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelConverter__WEBPACK_IMPORTED_MODULE_105__.ExcelPastePanelConverter, _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsConverter__WEBPACK_IMPORTED_MODULE_106__.ReferencedFieldsConverter, _ElementProcessors_FormParts_UserPicklist_UserPicklistConverter__WEBPACK_IMPORTED_MODULE_107__.UserPicklistConverter, _ElementProcessors_ValueEditors_TaxRebate_TaxRebateConverter__WEBPACK_IMPORTED_MODULE_108__.TaxRebateConverter, _ElementProcessors_FormParts_Banner_BannerConverter__WEBPACK_IMPORTED_MODULE_109__.BannerConverter, _ElementProcessors_ValueViewers_DateView_DateViewConverter__WEBPACK_IMPORTED_MODULE_113__.DateViewConverter, _ElementProcessors_Action_Kebab_KebabConverter__WEBPACK_IMPORTED_MODULE_114__.KebabConverter, _ElementProcessors_Helpers_Clue_InfoBlockConverter__WEBPACK_IMPORTED_MODULE_115__.InfoBlockConverter, _ElementProcessors_ValueEditors_SelectAllCheckbox_SelectAllCheckboxConverter__WEBPACK_IMPORTED_MODULE_116__.SelectAllCheckboxConverter, _ElementProcessors_ValueEditors_SelectCheckbox_SelectCheckboxConverter__WEBPACK_IMPORTED_MODULE_120__.SelectCheckboxConverter, _ElementProcessors_FormParts_ModalHeader_ModalHeaderConverter__WEBPACK_IMPORTED_MODULE_121__.ModalHeaderConverter, _ElementProcessors_FormParts_GlobalModal_GlobalModalsConverter__WEBPACK_IMPORTED_MODULE_122__.GlobalModalsConverter, _ElementProcessors_MultiControls_InstanceNumber_InstanceNumberConverter__WEBPACK_IMPORTED_MODULE_123__.InstanceNumberConverter, _ElementProcessors_Layout_OptionalBlock_OptionalBlockConverter__WEBPACK_IMPORTED_MODULE_124__.OptionalBlockConverter, _ElementProcessors_MultiControls_AggregationQuery_AggregationQueryConverter__WEBPACK_IMPORTED_MODULE_125__.AggregationQueryConverter, _ElementProcessors_MultiControls_ContextVar_ExprEvalConverter__WEBPACK_IMPORTED_MODULE_126__.ExprEvalConverter];
|
|
77447
77624
|
return new Map(
|
|
77448
77625
|
// @ts-ignore
|
|
77449
77626
|
converters.map(converterClass => [converterClass.getAcceptNodeClass(), converterClass]));
|
|
@@ -82095,85 +82272,6 @@ let DefaultContentNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
|
|
|
82095
82272
|
|
|
82096
82273
|
/***/ }),
|
|
82097
82274
|
|
|
82098
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoConverter.ts":
|
|
82099
|
-
/*!************************************************************************************************************!*\
|
|
82100
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoConverter.ts ***!
|
|
82101
|
-
\************************************************************************************************************/
|
|
82102
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
82103
|
-
|
|
82104
|
-
"use strict";
|
|
82105
|
-
__webpack_require__.r(__webpack_exports__);
|
|
82106
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
82107
|
-
/* harmony export */ FormInfoConverter: () => (/* binding */ FormInfoConverter)
|
|
82108
|
-
/* harmony export */ });
|
|
82109
|
-
/* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../DataDeclarationGenerator/DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
|
|
82110
|
-
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
82111
|
-
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
82112
|
-
/* harmony import */ var _FormInfoNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./FormInfoNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoNode.ts");
|
|
82113
|
-
|
|
82114
|
-
|
|
82115
|
-
|
|
82116
|
-
|
|
82117
|
-
class FormInfoConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
|
|
82118
|
-
static getAcceptNodeClass() {
|
|
82119
|
-
return _FormInfoNode__WEBPACK_IMPORTED_MODULE_3__.FormInfoNode;
|
|
82120
|
-
}
|
|
82121
|
-
doBuildDataDeclaration(context) {
|
|
82122
|
-
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
82123
|
-
}
|
|
82124
|
-
buildChildrenDataDeclaration(context) {
|
|
82125
|
-
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
82126
|
-
}
|
|
82127
|
-
*doTraverseChildren() {
|
|
82128
|
-
// no children
|
|
82129
|
-
}
|
|
82130
|
-
doConvert(context) {
|
|
82131
|
-
const node = this.getCurrentNodeAs(_FormInfoNode__WEBPACK_IMPORTED_MODULE_3__.FormInfoNode);
|
|
82132
|
-
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("FormInfo");
|
|
82133
|
-
markupBuilder.prop(x => x.name).set(node.name);
|
|
82134
|
-
return markupBuilder.buildConverterResult();
|
|
82135
|
-
}
|
|
82136
|
-
}
|
|
82137
|
-
|
|
82138
|
-
/***/ }),
|
|
82139
|
-
|
|
82140
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoNode.ts":
|
|
82141
|
-
/*!*******************************************************************************************************!*\
|
|
82142
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoNode.ts ***!
|
|
82143
|
-
\*******************************************************************************************************/
|
|
82144
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
82145
|
-
|
|
82146
|
-
"use strict";
|
|
82147
|
-
__webpack_require__.r(__webpack_exports__);
|
|
82148
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
82149
|
-
/* harmony export */ FormInfoNode: () => (/* binding */ FormInfoNode)
|
|
82150
|
-
/* harmony export */ });
|
|
82151
|
-
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
|
|
82152
|
-
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
82153
|
-
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
|
|
82154
|
-
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
|
|
82155
|
-
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
|
|
82156
|
-
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
|
|
82157
|
-
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
82158
|
-
|
|
82159
|
-
|
|
82160
|
-
|
|
82161
|
-
var _dec, _dec2, _class, _class2, _descriptor;
|
|
82162
|
-
|
|
82163
|
-
let FormInfoNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("forminfo", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("name", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.localizedString, `Если у формы нет КНД (например, ФСС), то указывается атрибут \`name\` с названием формы.`), _dec(_class = (_class2 = class FormInfoNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
82164
|
-
constructor(...args) {
|
|
82165
|
-
super(...args);
|
|
82166
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "name", _descriptor, this);
|
|
82167
|
-
}
|
|
82168
|
-
}, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "name", [_dec2], {
|
|
82169
|
-
configurable: true,
|
|
82170
|
-
enumerable: true,
|
|
82171
|
-
writable: true,
|
|
82172
|
-
initializer: null
|
|
82173
|
-
}), _class2)) || _class);
|
|
82174
|
-
|
|
82175
|
-
/***/ }),
|
|
82176
|
-
|
|
82177
82275
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormConverter.ts":
|
|
82178
82276
|
/*!****************************************************************************************************!*\
|
|
82179
82277
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormConverter.ts ***!
|
|
@@ -83255,6 +83353,85 @@ let TypeListNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODU
|
|
|
83255
83353
|
|
|
83256
83354
|
/***/ }),
|
|
83257
83355
|
|
|
83356
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoConverter.ts":
|
|
83357
|
+
/*!************************************************************************************************************!*\
|
|
83358
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoConverter.ts ***!
|
|
83359
|
+
\************************************************************************************************************/
|
|
83360
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
83361
|
+
|
|
83362
|
+
"use strict";
|
|
83363
|
+
__webpack_require__.r(__webpack_exports__);
|
|
83364
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
83365
|
+
/* harmony export */ FormInfoConverter: () => (/* binding */ FormInfoConverter)
|
|
83366
|
+
/* harmony export */ });
|
|
83367
|
+
/* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../DataDeclarationGenerator/DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
|
|
83368
|
+
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
83369
|
+
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
83370
|
+
/* harmony import */ var _FormInfoNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./FormInfoNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoNode.ts");
|
|
83371
|
+
|
|
83372
|
+
|
|
83373
|
+
|
|
83374
|
+
|
|
83375
|
+
class FormInfoConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
|
|
83376
|
+
static getAcceptNodeClass() {
|
|
83377
|
+
return _FormInfoNode__WEBPACK_IMPORTED_MODULE_3__.FormInfoNode;
|
|
83378
|
+
}
|
|
83379
|
+
doBuildDataDeclaration(context) {
|
|
83380
|
+
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
83381
|
+
}
|
|
83382
|
+
buildChildrenDataDeclaration(context) {
|
|
83383
|
+
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
83384
|
+
}
|
|
83385
|
+
*doTraverseChildren() {
|
|
83386
|
+
// no children
|
|
83387
|
+
}
|
|
83388
|
+
doConvert(context) {
|
|
83389
|
+
const node = this.getCurrentNodeAs(_FormInfoNode__WEBPACK_IMPORTED_MODULE_3__.FormInfoNode);
|
|
83390
|
+
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("FormInfo");
|
|
83391
|
+
markupBuilder.prop(x => x.name).set(node.name);
|
|
83392
|
+
return markupBuilder.buildConverterResult();
|
|
83393
|
+
}
|
|
83394
|
+
}
|
|
83395
|
+
|
|
83396
|
+
/***/ }),
|
|
83397
|
+
|
|
83398
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoNode.ts":
|
|
83399
|
+
/*!*******************************************************************************************************!*\
|
|
83400
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoNode.ts ***!
|
|
83401
|
+
\*******************************************************************************************************/
|
|
83402
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
83403
|
+
|
|
83404
|
+
"use strict";
|
|
83405
|
+
__webpack_require__.r(__webpack_exports__);
|
|
83406
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
83407
|
+
/* harmony export */ FormInfoNode: () => (/* binding */ FormInfoNode)
|
|
83408
|
+
/* harmony export */ });
|
|
83409
|
+
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
|
|
83410
|
+
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
83411
|
+
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
|
|
83412
|
+
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
|
|
83413
|
+
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
|
|
83414
|
+
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
|
|
83415
|
+
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
83416
|
+
|
|
83417
|
+
|
|
83418
|
+
|
|
83419
|
+
var _dec, _dec2, _class, _class2, _descriptor;
|
|
83420
|
+
|
|
83421
|
+
let FormInfoNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("forminfo", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("name", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.localizedString, `Если у формы нет КНД (например, ФСС), то указывается атрибут \`name\` с названием формы.`), _dec(_class = (_class2 = class FormInfoNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
83422
|
+
constructor(...args) {
|
|
83423
|
+
super(...args);
|
|
83424
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "name", _descriptor, this);
|
|
83425
|
+
}
|
|
83426
|
+
}, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "name", [_dec2], {
|
|
83427
|
+
configurable: true,
|
|
83428
|
+
enumerable: true,
|
|
83429
|
+
writable: true,
|
|
83430
|
+
initializer: null
|
|
83431
|
+
}), _class2)) || _class);
|
|
83432
|
+
|
|
83433
|
+
/***/ }),
|
|
83434
|
+
|
|
83258
83435
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/GlobalModal/GlobalModalsConverter.ts":
|
|
83259
83436
|
/*!*******************************************************************************************************************!*\
|
|
83260
83437
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/GlobalModal/GlobalModalsConverter.ts ***!
|
|
@@ -85901,6 +86078,165 @@ let FlexboxNode = (_dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MOD
|
|
|
85901
86078
|
|
|
85902
86079
|
/***/ }),
|
|
85903
86080
|
|
|
86081
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridConverter.ts":
|
|
86082
|
+
/*!*************************************************************************************************!*\
|
|
86083
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridConverter.ts ***!
|
|
86084
|
+
\*************************************************************************************************/
|
|
86085
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
86086
|
+
|
|
86087
|
+
"use strict";
|
|
86088
|
+
__webpack_require__.r(__webpack_exports__);
|
|
86089
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
86090
|
+
/* harmony export */ GridConverter: () => (/* binding */ GridConverter)
|
|
86091
|
+
/* harmony export */ });
|
|
86092
|
+
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
86093
|
+
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
86094
|
+
/* harmony import */ var _GridNode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./GridNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridNode.ts");
|
|
86095
|
+
|
|
86096
|
+
|
|
86097
|
+
|
|
86098
|
+
class GridConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
|
|
86099
|
+
static getAcceptNodeClass() {
|
|
86100
|
+
return _GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode;
|
|
86101
|
+
}
|
|
86102
|
+
doBuildDataDeclaration(context) {
|
|
86103
|
+
const node = this.getCurrentNodeAs(_GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode);
|
|
86104
|
+
return context.mergeDataDeclaration(node.dataScope.path && context.addPathSectionDeclarationEntry(node));
|
|
86105
|
+
}
|
|
86106
|
+
buildChildrenDataDeclaration(context) {
|
|
86107
|
+
const node = this.getCurrentNodeAs(_GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode);
|
|
86108
|
+
return context.processChildrenDataDeclaration(Iterator.from(node.columns).map(x => x.children).flatMap(x => x));
|
|
86109
|
+
}
|
|
86110
|
+
*doTraverseChildren() {
|
|
86111
|
+
const node = this.getCurrentNodeAs(_GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode);
|
|
86112
|
+
yield* Iterator.from(node.columns).map(x => x.children).flatMap(x => x);
|
|
86113
|
+
}
|
|
86114
|
+
doConvert(context) {
|
|
86115
|
+
const node = this.getCurrentNodeAs(_GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode);
|
|
86116
|
+
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("Grid");
|
|
86117
|
+
markupBuilder.prop(x => x.gap).set(node.gap);
|
|
86118
|
+
markupBuilder.prop(x => x.baseline).set(node.baseline);
|
|
86119
|
+
markupBuilder.prop(x => x.top).set(node.top);
|
|
86120
|
+
for (const column of node.columns) {
|
|
86121
|
+
const columnBuilder = markupBuilder.createChild("GridColumn");
|
|
86122
|
+
columnBuilder.prop(x => x.size).set(column.size);
|
|
86123
|
+
columnBuilder.prop(x => x.horizontalAlign).set(column.horizontalAlign);
|
|
86124
|
+
columnBuilder.prop(x => x.textTopPadding).set(column.textTopPadding);
|
|
86125
|
+
columnBuilder.appendChild(context.convertChildNodes(column.children));
|
|
86126
|
+
}
|
|
86127
|
+
return markupBuilder.buildConverterResult();
|
|
86128
|
+
}
|
|
86129
|
+
}
|
|
86130
|
+
|
|
86131
|
+
/***/ }),
|
|
86132
|
+
|
|
86133
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridNode.ts":
|
|
86134
|
+
/*!********************************************************************************************!*\
|
|
86135
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridNode.ts ***!
|
|
86136
|
+
\********************************************************************************************/
|
|
86137
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
86138
|
+
|
|
86139
|
+
"use strict";
|
|
86140
|
+
__webpack_require__.r(__webpack_exports__);
|
|
86141
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
86142
|
+
/* harmony export */ GridColumnNode: () => (/* binding */ GridColumnNode),
|
|
86143
|
+
/* harmony export */ GridNode: () => (/* binding */ GridNode)
|
|
86144
|
+
/* harmony export */ });
|
|
86145
|
+
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
|
|
86146
|
+
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
86147
|
+
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
|
|
86148
|
+
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
|
|
86149
|
+
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
|
|
86150
|
+
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
|
|
86151
|
+
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
86152
|
+
/* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
|
|
86153
|
+
/* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
|
|
86154
|
+
|
|
86155
|
+
|
|
86156
|
+
|
|
86157
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _class3, _class4, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10;
|
|
86158
|
+
|
|
86159
|
+
|
|
86160
|
+
|
|
86161
|
+
let GridColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("column", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("size", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, ``), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("horizontalAlign", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("left", "right", "center"), ``), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("textTopPadding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec(_class = (_class2 = class GridColumnNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
86162
|
+
constructor(...args) {
|
|
86163
|
+
super(...args);
|
|
86164
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor, this);
|
|
86165
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "size", _descriptor2, this);
|
|
86166
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "horizontalAlign", _descriptor3, this);
|
|
86167
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "textTopPadding", _descriptor4, this);
|
|
86168
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor5, this);
|
|
86169
|
+
}
|
|
86170
|
+
getOwnPath() {
|
|
86171
|
+
return this.dataScope.getOwnPath();
|
|
86172
|
+
}
|
|
86173
|
+
}, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dataScope", [_dec2], {
|
|
86174
|
+
configurable: true,
|
|
86175
|
+
enumerable: true,
|
|
86176
|
+
writable: true,
|
|
86177
|
+
initializer: null
|
|
86178
|
+
}), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "size", [_dec3], {
|
|
86179
|
+
configurable: true,
|
|
86180
|
+
enumerable: true,
|
|
86181
|
+
writable: true,
|
|
86182
|
+
initializer: null
|
|
86183
|
+
}), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "horizontalAlign", [_dec4], {
|
|
86184
|
+
configurable: true,
|
|
86185
|
+
enumerable: true,
|
|
86186
|
+
writable: true,
|
|
86187
|
+
initializer: null
|
|
86188
|
+
}), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "textTopPadding", [_dec5], {
|
|
86189
|
+
configurable: true,
|
|
86190
|
+
enumerable: true,
|
|
86191
|
+
writable: true,
|
|
86192
|
+
initializer: null
|
|
86193
|
+
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec6], {
|
|
86194
|
+
configurable: true,
|
|
86195
|
+
enumerable: true,
|
|
86196
|
+
writable: true,
|
|
86197
|
+
initializer: null
|
|
86198
|
+
}), _class2)) || _class);
|
|
86199
|
+
let GridNode = (_dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("grid", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid sync recursive .md$")), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingScopeMixinNode), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("gap", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Разрыв между элементами`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("baseline", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Включает выравнивание по вертикали по базовой линии. Если не указан, то выравнивание происходит по верхней границе`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("top", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Включает выравнивание по вертикали по верху.`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("column", [GridColumnNode]), _dec7(_class3 = (_class4 = class GridNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__.SugarNodeWithLegacyVisibility {
|
|
86200
|
+
constructor(...args) {
|
|
86201
|
+
super(...args);
|
|
86202
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor6, this);
|
|
86203
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gap", _descriptor7, this);
|
|
86204
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "baseline", _descriptor8, this);
|
|
86205
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "top", _descriptor9, this);
|
|
86206
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "columns", _descriptor10, this);
|
|
86207
|
+
}
|
|
86208
|
+
getOwnPath() {
|
|
86209
|
+
return this.dataScope.getOwnPath();
|
|
86210
|
+
}
|
|
86211
|
+
}, _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "dataScope", [_dec8], {
|
|
86212
|
+
configurable: true,
|
|
86213
|
+
enumerable: true,
|
|
86214
|
+
writable: true,
|
|
86215
|
+
initializer: null
|
|
86216
|
+
}), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "gap", [_dec9], {
|
|
86217
|
+
configurable: true,
|
|
86218
|
+
enumerable: true,
|
|
86219
|
+
writable: true,
|
|
86220
|
+
initializer: null
|
|
86221
|
+
}), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "baseline", [_dec10], {
|
|
86222
|
+
configurable: true,
|
|
86223
|
+
enumerable: true,
|
|
86224
|
+
writable: true,
|
|
86225
|
+
initializer: null
|
|
86226
|
+
}), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "top", [_dec11], {
|
|
86227
|
+
configurable: true,
|
|
86228
|
+
enumerable: true,
|
|
86229
|
+
writable: true,
|
|
86230
|
+
initializer: null
|
|
86231
|
+
}), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "columns", [_dec12], {
|
|
86232
|
+
configurable: true,
|
|
86233
|
+
enumerable: true,
|
|
86234
|
+
writable: true,
|
|
86235
|
+
initializer: null
|
|
86236
|
+
}), _class4)) || _class3);
|
|
86237
|
+
|
|
86238
|
+
/***/ }),
|
|
86239
|
+
|
|
85904
86240
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/GridCol/GridColConverter.ts":
|
|
85905
86241
|
/*!*******************************************************************************************************!*\
|
|
85906
86242
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/GridCol/GridColConverter.ts ***!
|
|
@@ -86288,165 +86624,6 @@ let GridRowNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODUL
|
|
|
86288
86624
|
|
|
86289
86625
|
/***/ }),
|
|
86290
86626
|
|
|
86291
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridConverter.ts":
|
|
86292
|
-
/*!*************************************************************************************************!*\
|
|
86293
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridConverter.ts ***!
|
|
86294
|
-
\*************************************************************************************************/
|
|
86295
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
86296
|
-
|
|
86297
|
-
"use strict";
|
|
86298
|
-
__webpack_require__.r(__webpack_exports__);
|
|
86299
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
86300
|
-
/* harmony export */ GridConverter: () => (/* binding */ GridConverter)
|
|
86301
|
-
/* harmony export */ });
|
|
86302
|
-
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
86303
|
-
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
86304
|
-
/* harmony import */ var _GridNode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./GridNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridNode.ts");
|
|
86305
|
-
|
|
86306
|
-
|
|
86307
|
-
|
|
86308
|
-
class GridConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
|
|
86309
|
-
static getAcceptNodeClass() {
|
|
86310
|
-
return _GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode;
|
|
86311
|
-
}
|
|
86312
|
-
doBuildDataDeclaration(context) {
|
|
86313
|
-
const node = this.getCurrentNodeAs(_GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode);
|
|
86314
|
-
return context.mergeDataDeclaration(node.dataScope.path && context.addPathSectionDeclarationEntry(node));
|
|
86315
|
-
}
|
|
86316
|
-
buildChildrenDataDeclaration(context) {
|
|
86317
|
-
const node = this.getCurrentNodeAs(_GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode);
|
|
86318
|
-
return context.processChildrenDataDeclaration(Iterator.from(node.columns).map(x => x.children).flatMap(x => x));
|
|
86319
|
-
}
|
|
86320
|
-
*doTraverseChildren() {
|
|
86321
|
-
const node = this.getCurrentNodeAs(_GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode);
|
|
86322
|
-
yield* Iterator.from(node.columns).map(x => x.children).flatMap(x => x);
|
|
86323
|
-
}
|
|
86324
|
-
doConvert(context) {
|
|
86325
|
-
const node = this.getCurrentNodeAs(_GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode);
|
|
86326
|
-
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("Grid");
|
|
86327
|
-
markupBuilder.prop(x => x.gap).set(node.gap);
|
|
86328
|
-
markupBuilder.prop(x => x.baseline).set(node.baseline);
|
|
86329
|
-
markupBuilder.prop(x => x.top).set(node.top);
|
|
86330
|
-
for (const column of node.columns) {
|
|
86331
|
-
const columnBuilder = markupBuilder.createChild("GridColumn");
|
|
86332
|
-
columnBuilder.prop(x => x.size).set(column.size);
|
|
86333
|
-
columnBuilder.prop(x => x.horizontalAlign).set(column.horizontalAlign);
|
|
86334
|
-
columnBuilder.prop(x => x.textTopPadding).set(column.textTopPadding);
|
|
86335
|
-
columnBuilder.appendChild(context.convertChildNodes(column.children));
|
|
86336
|
-
}
|
|
86337
|
-
return markupBuilder.buildConverterResult();
|
|
86338
|
-
}
|
|
86339
|
-
}
|
|
86340
|
-
|
|
86341
|
-
/***/ }),
|
|
86342
|
-
|
|
86343
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridNode.ts":
|
|
86344
|
-
/*!********************************************************************************************!*\
|
|
86345
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridNode.ts ***!
|
|
86346
|
-
\********************************************************************************************/
|
|
86347
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
86348
|
-
|
|
86349
|
-
"use strict";
|
|
86350
|
-
__webpack_require__.r(__webpack_exports__);
|
|
86351
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
86352
|
-
/* harmony export */ GridColumnNode: () => (/* binding */ GridColumnNode),
|
|
86353
|
-
/* harmony export */ GridNode: () => (/* binding */ GridNode)
|
|
86354
|
-
/* harmony export */ });
|
|
86355
|
-
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
|
|
86356
|
-
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
86357
|
-
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
|
|
86358
|
-
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
|
|
86359
|
-
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
|
|
86360
|
-
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
|
|
86361
|
-
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
86362
|
-
/* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
|
|
86363
|
-
/* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
|
|
86364
|
-
|
|
86365
|
-
|
|
86366
|
-
|
|
86367
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _class3, _class4, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10;
|
|
86368
|
-
|
|
86369
|
-
|
|
86370
|
-
|
|
86371
|
-
let GridColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("column", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("size", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, ``), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("horizontalAlign", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("left", "right", "center"), ``), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("textTopPadding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec(_class = (_class2 = class GridColumnNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
86372
|
-
constructor(...args) {
|
|
86373
|
-
super(...args);
|
|
86374
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor, this);
|
|
86375
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "size", _descriptor2, this);
|
|
86376
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "horizontalAlign", _descriptor3, this);
|
|
86377
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "textTopPadding", _descriptor4, this);
|
|
86378
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor5, this);
|
|
86379
|
-
}
|
|
86380
|
-
getOwnPath() {
|
|
86381
|
-
return this.dataScope.getOwnPath();
|
|
86382
|
-
}
|
|
86383
|
-
}, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dataScope", [_dec2], {
|
|
86384
|
-
configurable: true,
|
|
86385
|
-
enumerable: true,
|
|
86386
|
-
writable: true,
|
|
86387
|
-
initializer: null
|
|
86388
|
-
}), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "size", [_dec3], {
|
|
86389
|
-
configurable: true,
|
|
86390
|
-
enumerable: true,
|
|
86391
|
-
writable: true,
|
|
86392
|
-
initializer: null
|
|
86393
|
-
}), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "horizontalAlign", [_dec4], {
|
|
86394
|
-
configurable: true,
|
|
86395
|
-
enumerable: true,
|
|
86396
|
-
writable: true,
|
|
86397
|
-
initializer: null
|
|
86398
|
-
}), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "textTopPadding", [_dec5], {
|
|
86399
|
-
configurable: true,
|
|
86400
|
-
enumerable: true,
|
|
86401
|
-
writable: true,
|
|
86402
|
-
initializer: null
|
|
86403
|
-
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec6], {
|
|
86404
|
-
configurable: true,
|
|
86405
|
-
enumerable: true,
|
|
86406
|
-
writable: true,
|
|
86407
|
-
initializer: null
|
|
86408
|
-
}), _class2)) || _class);
|
|
86409
|
-
let GridNode = (_dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("grid", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid sync recursive .md$")), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingScopeMixinNode), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("gap", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Разрыв между элементами`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("baseline", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Включает выравнивание по вертикали по базовой линии. Если не указан, то выравнивание происходит по верхней границе`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("top", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Включает выравнивание по вертикали по верху.`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("column", [GridColumnNode]), _dec7(_class3 = (_class4 = class GridNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__.SugarNodeWithLegacyVisibility {
|
|
86410
|
-
constructor(...args) {
|
|
86411
|
-
super(...args);
|
|
86412
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor6, this);
|
|
86413
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gap", _descriptor7, this);
|
|
86414
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "baseline", _descriptor8, this);
|
|
86415
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "top", _descriptor9, this);
|
|
86416
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "columns", _descriptor10, this);
|
|
86417
|
-
}
|
|
86418
|
-
getOwnPath() {
|
|
86419
|
-
return this.dataScope.getOwnPath();
|
|
86420
|
-
}
|
|
86421
|
-
}, _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "dataScope", [_dec8], {
|
|
86422
|
-
configurable: true,
|
|
86423
|
-
enumerable: true,
|
|
86424
|
-
writable: true,
|
|
86425
|
-
initializer: null
|
|
86426
|
-
}), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "gap", [_dec9], {
|
|
86427
|
-
configurable: true,
|
|
86428
|
-
enumerable: true,
|
|
86429
|
-
writable: true,
|
|
86430
|
-
initializer: null
|
|
86431
|
-
}), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "baseline", [_dec10], {
|
|
86432
|
-
configurable: true,
|
|
86433
|
-
enumerable: true,
|
|
86434
|
-
writable: true,
|
|
86435
|
-
initializer: null
|
|
86436
|
-
}), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "top", [_dec11], {
|
|
86437
|
-
configurable: true,
|
|
86438
|
-
enumerable: true,
|
|
86439
|
-
writable: true,
|
|
86440
|
-
initializer: null
|
|
86441
|
-
}), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "columns", [_dec12], {
|
|
86442
|
-
configurable: true,
|
|
86443
|
-
enumerable: true,
|
|
86444
|
-
writable: true,
|
|
86445
|
-
initializer: null
|
|
86446
|
-
}), _class4)) || _class3);
|
|
86447
|
-
|
|
86448
|
-
/***/ }),
|
|
86449
|
-
|
|
86450
86627
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Hr/HrConverter.ts":
|
|
86451
86628
|
/*!*********************************************************************************************!*\
|
|
86452
86629
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Hr/HrConverter.ts ***!
|
|
@@ -86755,74 +86932,62 @@ let InnertextNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MOD
|
|
|
86755
86932
|
|
|
86756
86933
|
/***/ }),
|
|
86757
86934
|
|
|
86758
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/
|
|
86759
|
-
|
|
86760
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/
|
|
86761
|
-
|
|
86935
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListConverter.ts":
|
|
86936
|
+
/*!*************************************************************************************************!*\
|
|
86937
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListConverter.ts ***!
|
|
86938
|
+
\*************************************************************************************************/
|
|
86762
86939
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
86763
86940
|
|
|
86764
86941
|
"use strict";
|
|
86765
86942
|
__webpack_require__.r(__webpack_exports__);
|
|
86766
86943
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
86767
|
-
/* harmony export */
|
|
86944
|
+
/* harmony export */ ListConverter: () => (/* binding */ ListConverter)
|
|
86768
86945
|
/* harmony export */ });
|
|
86769
86946
|
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
86770
86947
|
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
86771
|
-
/* harmony import */ var
|
|
86772
|
-
/* harmony import */ var _ListItemNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ListItemNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/ListItem/ListItemNode.ts");
|
|
86773
|
-
|
|
86948
|
+
/* harmony import */ var _ListNode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ListNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListNode.ts");
|
|
86774
86949
|
|
|
86775
86950
|
|
|
86776
86951
|
|
|
86777
|
-
class
|
|
86952
|
+
class ListConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
|
|
86778
86953
|
static getAcceptNodeClass() {
|
|
86779
|
-
return
|
|
86954
|
+
return _ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode;
|
|
86780
86955
|
}
|
|
86781
86956
|
doBuildDataDeclaration(context) {
|
|
86782
|
-
const node = this.getCurrentNodeAs(
|
|
86957
|
+
const node = this.getCurrentNodeAs(_ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode);
|
|
86783
86958
|
return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node));
|
|
86784
86959
|
}
|
|
86785
86960
|
buildChildrenDataDeclaration(context) {
|
|
86786
|
-
const node = this.getCurrentNodeAs(
|
|
86787
|
-
return context.processChildrenDataDeclaration(node.
|
|
86961
|
+
const node = this.getCurrentNodeAs(_ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode);
|
|
86962
|
+
return context.processChildrenDataDeclaration(node.items);
|
|
86788
86963
|
}
|
|
86789
86964
|
*doTraverseChildren() {
|
|
86790
|
-
const node = this.getCurrentNodeAs(
|
|
86791
|
-
yield* node.
|
|
86965
|
+
const node = this.getCurrentNodeAs(_ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode);
|
|
86966
|
+
yield* node.items;
|
|
86792
86967
|
}
|
|
86793
86968
|
doConvert(context) {
|
|
86794
|
-
|
|
86795
|
-
const
|
|
86796
|
-
|
|
86797
|
-
|
|
86798
|
-
markupBuilder.prop(x => x.
|
|
86799
|
-
markupBuilder.
|
|
86800
|
-
markupBuilder.prop(x => x.inline).set(listNode.inline);
|
|
86801
|
-
markupBuilder.prop(x => x.width).set(listNode.width);
|
|
86802
|
-
markupBuilder.prop(x => x.labelWidth).set((_listNode$items$ = listNode.items[0]) === null || _listNode$items$ === void 0 ? void 0 : _listNode$items$.width);
|
|
86803
|
-
markupBuilder.prop(x => x.label).set(itemNode.label);
|
|
86804
|
-
markupBuilder.prop(x => x.alignLabel).set(itemNode.alignLabel);
|
|
86805
|
-
markupBuilder.prop(x => x.noPaddings).set(itemNode.noPaddings);
|
|
86806
|
-
markupBuilder.prop(x => x.indent).set(itemNode.indent);
|
|
86807
|
-
markupBuilder.prop(x => x.paddingTop).set((_itemNode$paddingTop = itemNode.paddingTop) !== null && _itemNode$paddingTop !== void 0 ? _itemNode$paddingTop : listNode.itemPaddingTop);
|
|
86808
|
-
markupBuilder.prop(x => x.paddingBottom).set((_itemNode$paddingBott = itemNode.paddingBottom) !== null && _itemNode$paddingBott !== void 0 ? _itemNode$paddingBott : listNode.itemPaddingBottom);
|
|
86809
|
-
markupBuilder.appendChild(context.convertChildNodes(itemNode.children));
|
|
86969
|
+
const node = this.getCurrentNodeAs(_ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode);
|
|
86970
|
+
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("List");
|
|
86971
|
+
markupBuilder.prop(x => x.bullet).set(node.bullet);
|
|
86972
|
+
markupBuilder.prop(x => x.dash).set(node.dash);
|
|
86973
|
+
markupBuilder.prop(x => x.inline).set(node.inline);
|
|
86974
|
+
markupBuilder.appendChild(context.convertChildNodes(node.items));
|
|
86810
86975
|
return markupBuilder.buildConverterResult();
|
|
86811
86976
|
}
|
|
86812
86977
|
}
|
|
86813
86978
|
|
|
86814
86979
|
/***/ }),
|
|
86815
86980
|
|
|
86816
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/
|
|
86817
|
-
|
|
86818
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/
|
|
86819
|
-
|
|
86981
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListNode.ts":
|
|
86982
|
+
/*!********************************************************************************************!*\
|
|
86983
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListNode.ts ***!
|
|
86984
|
+
\********************************************************************************************/
|
|
86820
86985
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
86821
86986
|
|
|
86822
86987
|
"use strict";
|
|
86823
86988
|
__webpack_require__.r(__webpack_exports__);
|
|
86824
86989
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
86825
|
-
/* harmony export */
|
|
86990
|
+
/* harmony export */ ListNode: () => (/* binding */ ListNode)
|
|
86826
86991
|
/* harmony export */ });
|
|
86827
86992
|
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
|
|
86828
86993
|
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -86830,70 +86995,69 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
86830
86995
|
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
|
|
86831
86996
|
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
|
|
86832
86997
|
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
|
|
86833
|
-
/* harmony import */ var
|
|
86998
|
+
/* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
|
|
86834
86999
|
/* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
|
|
86835
87000
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
87001
|
+
/* harmony import */ var _ListItem_ListItemNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../ListItem/ListItemNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/ListItem/ListItemNode.ts");
|
|
86836
87002
|
|
|
86837
87003
|
|
|
86838
87004
|
|
|
86839
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9,
|
|
87005
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;
|
|
86840
87006
|
|
|
86841
87007
|
|
|
86842
87008
|
|
|
86843
|
-
|
|
87009
|
+
|
|
87010
|
+
let ListNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("list", `Список`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)("item", [_ListItem_ListItemNode__WEBPACK_IMPORTED_MODULE_6__.ListItemNode]), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("inline", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, ``), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("bullet", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, ``), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("dash", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, ``), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, ``), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("itemPaddingTop", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.lengthUnit, `Отступ сверху для каждого элемента списка`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("itemPaddingBottom", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.lengthUnit, `Отступ снизу для каждого элемента списка`), _dec(_class = (_class2 = class ListNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__.SugarNodeWithLegacyVisibility {
|
|
86844
87011
|
constructor(...args) {
|
|
86845
87012
|
super(...args);
|
|
86846
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
86847
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
86848
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
86849
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
86850
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
86851
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
86852
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
86853
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
86854
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "paddingBottom", _descriptor9, this);
|
|
87013
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor, this);
|
|
87014
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items", _descriptor2, this);
|
|
87015
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "inline", _descriptor3, this);
|
|
87016
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "bullet", _descriptor4, this);
|
|
87017
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dash", _descriptor5, this);
|
|
87018
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor6, this);
|
|
87019
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "itemPaddingTop", _descriptor7, this);
|
|
87020
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "itemPaddingBottom", _descriptor8, this);
|
|
86855
87021
|
}
|
|
86856
|
-
|
|
86857
|
-
|
|
86858
|
-
|
|
86859
|
-
|
|
86860
|
-
initializer: null
|
|
86861
|
-
}), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "label", [_dec3], {
|
|
87022
|
+
getOwnPath() {
|
|
87023
|
+
return this.dataScope.getOwnPath();
|
|
87024
|
+
}
|
|
87025
|
+
}, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dataScope", [_dec2], {
|
|
86862
87026
|
configurable: true,
|
|
86863
87027
|
enumerable: true,
|
|
86864
87028
|
writable: true,
|
|
86865
87029
|
initializer: null
|
|
86866
|
-
}),
|
|
87030
|
+
}), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "items", [_dec3], {
|
|
86867
87031
|
configurable: true,
|
|
86868
87032
|
enumerable: true,
|
|
86869
87033
|
writable: true,
|
|
86870
87034
|
initializer: null
|
|
86871
|
-
}),
|
|
87035
|
+
}), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "inline", [_dec4], {
|
|
86872
87036
|
configurable: true,
|
|
86873
87037
|
enumerable: true,
|
|
86874
87038
|
writable: true,
|
|
86875
87039
|
initializer: null
|
|
86876
|
-
}),
|
|
87040
|
+
}), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "bullet", [_dec5], {
|
|
86877
87041
|
configurable: true,
|
|
86878
87042
|
enumerable: true,
|
|
86879
87043
|
writable: true,
|
|
86880
87044
|
initializer: null
|
|
86881
|
-
}),
|
|
87045
|
+
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dash", [_dec6], {
|
|
86882
87046
|
configurable: true,
|
|
86883
87047
|
enumerable: true,
|
|
86884
87048
|
writable: true,
|
|
86885
87049
|
initializer: null
|
|
86886
|
-
}),
|
|
87050
|
+
}), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "width", [_dec7], {
|
|
86887
87051
|
configurable: true,
|
|
86888
87052
|
enumerable: true,
|
|
86889
87053
|
writable: true,
|
|
86890
87054
|
initializer: null
|
|
86891
|
-
}),
|
|
87055
|
+
}), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "itemPaddingTop", [_dec8], {
|
|
86892
87056
|
configurable: true,
|
|
86893
87057
|
enumerable: true,
|
|
86894
87058
|
writable: true,
|
|
86895
87059
|
initializer: null
|
|
86896
|
-
}),
|
|
87060
|
+
}), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "itemPaddingBottom", [_dec9], {
|
|
86897
87061
|
configurable: true,
|
|
86898
87062
|
enumerable: true,
|
|
86899
87063
|
writable: true,
|
|
@@ -86902,62 +87066,74 @@ let ListItemNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODU
|
|
|
86902
87066
|
|
|
86903
87067
|
/***/ }),
|
|
86904
87068
|
|
|
86905
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/
|
|
86906
|
-
|
|
86907
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/
|
|
86908
|
-
|
|
87069
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/ListItem/ListItemConverter.ts":
|
|
87070
|
+
/*!*********************************************************************************************************!*\
|
|
87071
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/ListItem/ListItemConverter.ts ***!
|
|
87072
|
+
\*********************************************************************************************************/
|
|
86909
87073
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
86910
87074
|
|
|
86911
87075
|
"use strict";
|
|
86912
87076
|
__webpack_require__.r(__webpack_exports__);
|
|
86913
87077
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
86914
|
-
/* harmony export */
|
|
87078
|
+
/* harmony export */ ListItemConverter: () => (/* binding */ ListItemConverter)
|
|
86915
87079
|
/* harmony export */ });
|
|
86916
87080
|
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
86917
87081
|
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
86918
|
-
/* harmony import */ var
|
|
87082
|
+
/* harmony import */ var _List_ListNode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../List/ListNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListNode.ts");
|
|
87083
|
+
/* harmony import */ var _ListItemNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ListItemNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/ListItem/ListItemNode.ts");
|
|
86919
87084
|
|
|
86920
87085
|
|
|
86921
87086
|
|
|
86922
|
-
|
|
87087
|
+
|
|
87088
|
+
class ListItemConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
|
|
86923
87089
|
static getAcceptNodeClass() {
|
|
86924
|
-
return
|
|
87090
|
+
return _ListItemNode__WEBPACK_IMPORTED_MODULE_3__.ListItemNode;
|
|
86925
87091
|
}
|
|
86926
87092
|
doBuildDataDeclaration(context) {
|
|
86927
|
-
const node = this.getCurrentNodeAs(
|
|
87093
|
+
const node = this.getCurrentNodeAs(_ListItemNode__WEBPACK_IMPORTED_MODULE_3__.ListItemNode);
|
|
86928
87094
|
return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node));
|
|
86929
87095
|
}
|
|
86930
87096
|
buildChildrenDataDeclaration(context) {
|
|
86931
|
-
const node = this.getCurrentNodeAs(
|
|
86932
|
-
return context.processChildrenDataDeclaration(node.
|
|
87097
|
+
const node = this.getCurrentNodeAs(_ListItemNode__WEBPACK_IMPORTED_MODULE_3__.ListItemNode);
|
|
87098
|
+
return context.processChildrenDataDeclaration(node.children);
|
|
86933
87099
|
}
|
|
86934
87100
|
*doTraverseChildren() {
|
|
86935
|
-
const node = this.getCurrentNodeAs(
|
|
86936
|
-
yield* node.
|
|
87101
|
+
const node = this.getCurrentNodeAs(_ListItemNode__WEBPACK_IMPORTED_MODULE_3__.ListItemNode);
|
|
87102
|
+
yield* node.children;
|
|
86937
87103
|
}
|
|
86938
87104
|
doConvert(context) {
|
|
86939
|
-
|
|
86940
|
-
const
|
|
86941
|
-
|
|
86942
|
-
markupBuilder
|
|
86943
|
-
markupBuilder.prop(x => x.
|
|
86944
|
-
markupBuilder.
|
|
87105
|
+
var _listNode$items$, _itemNode$paddingTop, _itemNode$paddingBott;
|
|
87106
|
+
const listNode = this.getParentStrictAs(_List_ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode);
|
|
87107
|
+
const itemNode = this.getCurrentNodeAs(_ListItemNode__WEBPACK_IMPORTED_MODULE_3__.ListItemNode);
|
|
87108
|
+
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("ListItem");
|
|
87109
|
+
markupBuilder.prop(x => x.bullet).set(listNode.bullet);
|
|
87110
|
+
markupBuilder.prop(x => x.dash).set(listNode.dash);
|
|
87111
|
+
markupBuilder.prop(x => x.inline).set(listNode.inline);
|
|
87112
|
+
markupBuilder.prop(x => x.width).set(listNode.width);
|
|
87113
|
+
markupBuilder.prop(x => x.labelWidth).set((_listNode$items$ = listNode.items[0]) === null || _listNode$items$ === void 0 ? void 0 : _listNode$items$.width);
|
|
87114
|
+
markupBuilder.prop(x => x.label).set(itemNode.label);
|
|
87115
|
+
markupBuilder.prop(x => x.alignLabel).set(itemNode.alignLabel);
|
|
87116
|
+
markupBuilder.prop(x => x.noPaddings).set(itemNode.noPaddings);
|
|
87117
|
+
markupBuilder.prop(x => x.indent).set(itemNode.indent);
|
|
87118
|
+
markupBuilder.prop(x => x.paddingTop).set((_itemNode$paddingTop = itemNode.paddingTop) !== null && _itemNode$paddingTop !== void 0 ? _itemNode$paddingTop : listNode.itemPaddingTop);
|
|
87119
|
+
markupBuilder.prop(x => x.paddingBottom).set((_itemNode$paddingBott = itemNode.paddingBottom) !== null && _itemNode$paddingBott !== void 0 ? _itemNode$paddingBott : listNode.itemPaddingBottom);
|
|
87120
|
+
markupBuilder.appendChild(context.convertChildNodes(itemNode.children));
|
|
86945
87121
|
return markupBuilder.buildConverterResult();
|
|
86946
87122
|
}
|
|
86947
87123
|
}
|
|
86948
87124
|
|
|
86949
87125
|
/***/ }),
|
|
86950
87126
|
|
|
86951
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/
|
|
86952
|
-
|
|
86953
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/
|
|
86954
|
-
|
|
87127
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/ListItem/ListItemNode.ts":
|
|
87128
|
+
/*!****************************************************************************************************!*\
|
|
87129
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/ListItem/ListItemNode.ts ***!
|
|
87130
|
+
\****************************************************************************************************/
|
|
86955
87131
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
86956
87132
|
|
|
86957
87133
|
"use strict";
|
|
86958
87134
|
__webpack_require__.r(__webpack_exports__);
|
|
86959
87135
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
86960
|
-
/* harmony export */
|
|
87136
|
+
/* harmony export */ ListItemNode: () => (/* binding */ ListItemNode)
|
|
86961
87137
|
/* harmony export */ });
|
|
86962
87138
|
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
|
|
86963
87139
|
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -86965,69 +87141,70 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
86965
87141
|
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
|
|
86966
87142
|
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
|
|
86967
87143
|
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
|
|
86968
|
-
/* harmony import */ var
|
|
87144
|
+
/* harmony import */ var _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/DeprecationReason */ "./Generator/src/generators/markupGenerator/Serializer/DeprecationReason.ts");
|
|
86969
87145
|
/* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
|
|
86970
87146
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
86971
|
-
/* harmony import */ var _ListItem_ListItemNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../ListItem/ListItemNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/ListItem/ListItemNode.ts");
|
|
86972
87147
|
|
|
86973
87148
|
|
|
86974
87149
|
|
|
86975
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;
|
|
86976
|
-
|
|
87150
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;
|
|
86977
87151
|
|
|
86978
87152
|
|
|
86979
87153
|
|
|
86980
|
-
let
|
|
87154
|
+
let ListItemNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("item", `Элемент списка`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/ListItem sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.deprecatedAttr)("optional", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_3__.DeprecationReason.Removed), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("label", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.localizedString, ``), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, ``), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("noPaddings", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, ``), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("indent", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, ``), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("alignLabel", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.enum("top", "center", "bottom"), ``), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("paddingTop", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.lengthUnit, ``), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("paddingBottom", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.lengthUnit, ``), _dec(_class = (_class2 = class ListItemNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__.SugarNodeWithLegacyVisibility {
|
|
86981
87155
|
constructor(...args) {
|
|
86982
87156
|
super(...args);
|
|
86983
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
86984
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
86985
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
86986
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
86987
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
86988
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
86989
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
86990
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
86991
|
-
|
|
86992
|
-
getOwnPath() {
|
|
86993
|
-
return this.dataScope.getOwnPath();
|
|
87157
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor, this);
|
|
87158
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "label", _descriptor2, this);
|
|
87159
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor3, this);
|
|
87160
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "noPaddings", _descriptor4, this);
|
|
87161
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "indent", _descriptor5, this);
|
|
87162
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "alignLabel", _descriptor6, this);
|
|
87163
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor7, this);
|
|
87164
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "paddingTop", _descriptor8, this);
|
|
87165
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "paddingBottom", _descriptor9, this);
|
|
86994
87166
|
}
|
|
86995
|
-
}, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
87167
|
+
}, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "optional", [_dec2], {
|
|
86996
87168
|
configurable: true,
|
|
86997
87169
|
enumerable: true,
|
|
86998
87170
|
writable: true,
|
|
86999
87171
|
initializer: null
|
|
87000
|
-
}), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
87172
|
+
}), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "label", [_dec3], {
|
|
87001
87173
|
configurable: true,
|
|
87002
87174
|
enumerable: true,
|
|
87003
87175
|
writable: true,
|
|
87004
87176
|
initializer: null
|
|
87005
|
-
}), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
87177
|
+
}), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "width", [_dec4], {
|
|
87006
87178
|
configurable: true,
|
|
87007
87179
|
enumerable: true,
|
|
87008
87180
|
writable: true,
|
|
87009
87181
|
initializer: null
|
|
87010
|
-
}), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
87182
|
+
}), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "noPaddings", [_dec5], {
|
|
87011
87183
|
configurable: true,
|
|
87012
87184
|
enumerable: true,
|
|
87013
87185
|
writable: true,
|
|
87014
87186
|
initializer: null
|
|
87015
|
-
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
87187
|
+
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "indent", [_dec6], {
|
|
87016
87188
|
configurable: true,
|
|
87017
87189
|
enumerable: true,
|
|
87018
87190
|
writable: true,
|
|
87019
87191
|
initializer: null
|
|
87020
|
-
}), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
87192
|
+
}), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "alignLabel", [_dec7], {
|
|
87021
87193
|
configurable: true,
|
|
87022
87194
|
enumerable: true,
|
|
87023
87195
|
writable: true,
|
|
87024
87196
|
initializer: null
|
|
87025
|
-
}), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
87197
|
+
}), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec8], {
|
|
87026
87198
|
configurable: true,
|
|
87027
87199
|
enumerable: true,
|
|
87028
87200
|
writable: true,
|
|
87029
87201
|
initializer: null
|
|
87030
|
-
}), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
87202
|
+
}), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "paddingTop", [_dec9], {
|
|
87203
|
+
configurable: true,
|
|
87204
|
+
enumerable: true,
|
|
87205
|
+
writable: true,
|
|
87206
|
+
initializer: null
|
|
87207
|
+
}), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "paddingBottom", [_dec10], {
|
|
87031
87208
|
configurable: true,
|
|
87032
87209
|
enumerable: true,
|
|
87033
87210
|
writable: true,
|
|
@@ -88540,6 +88717,160 @@ let FooterNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE
|
|
|
88540
88717
|
|
|
88541
88718
|
/***/ }),
|
|
88542
88719
|
|
|
88720
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormConverter.ts":
|
|
88721
|
+
/*!**********************************************************************************************************!*\
|
|
88722
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormConverter.ts ***!
|
|
88723
|
+
\**********************************************************************************************************/
|
|
88724
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
88725
|
+
|
|
88726
|
+
"use strict";
|
|
88727
|
+
__webpack_require__.r(__webpack_exports__);
|
|
88728
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
88729
|
+
/* harmony export */ ModalFormConverter: () => (/* binding */ ModalFormConverter)
|
|
88730
|
+
/* harmony export */ });
|
|
88731
|
+
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
88732
|
+
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
88733
|
+
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
88734
|
+
/* harmony import */ var _ModalFormNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ModalFormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormNode.ts");
|
|
88735
|
+
|
|
88736
|
+
|
|
88737
|
+
|
|
88738
|
+
|
|
88739
|
+
class ModalFormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
|
|
88740
|
+
static getAcceptNodeClass() {
|
|
88741
|
+
return _ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode;
|
|
88742
|
+
}
|
|
88743
|
+
applyVisibilityPathProcessing() {
|
|
88744
|
+
return false;
|
|
88745
|
+
}
|
|
88746
|
+
doBuildDataDeclaration(context) {
|
|
88747
|
+
const node = this.getCurrentNodeAs(_ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode);
|
|
88748
|
+
return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node));
|
|
88749
|
+
}
|
|
88750
|
+
buildChildrenDataDeclaration(context) {
|
|
88751
|
+
const node = this.getCurrentNodeAs(_ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode);
|
|
88752
|
+
return context.processChildrenDataDeclaration(node.children);
|
|
88753
|
+
}
|
|
88754
|
+
*doTraverseChildren() {
|
|
88755
|
+
const node = this.getCurrentNodeAs(_ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode);
|
|
88756
|
+
yield* node.children;
|
|
88757
|
+
}
|
|
88758
|
+
doConvert(context) {
|
|
88759
|
+
var _verifiablePaths;
|
|
88760
|
+
const node = this.getCurrentNodeAs(_ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode);
|
|
88761
|
+
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("ModalForm");
|
|
88762
|
+
markupBuilder.prop(x => x.width).set(node.width);
|
|
88763
|
+
markupBuilder.prop(x => x.header).set(node.header);
|
|
88764
|
+
markupBuilder.prop(x => x.footerPanel).set(node.footerPanel);
|
|
88765
|
+
markupBuilder.prop(x => x.enabledBackgroundClick).set(node.enabledBackgroundClick);
|
|
88766
|
+
markupBuilder.prop(x => x.doNotValidateFormOnStart).set(node.doNotValidateFormOnStart);
|
|
88767
|
+
markupBuilder.prop(x => x.onAfterOpen).set(context.generateHelperFunctionExpression(node, "onAfterOpen", node.onAfterOpen));
|
|
88768
|
+
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node));
|
|
88769
|
+
context.pushPathsContext();
|
|
88770
|
+
markupBuilder.appendChild(context.convertChildNodes(node.children));
|
|
88771
|
+
const pathsContext = context.popPathsContext();
|
|
88772
|
+
let verifiablePaths = pathsContext === null || pathsContext === void 0 ? void 0 : pathsContext.paths;
|
|
88773
|
+
if (verifiablePaths && node.excludedVerifiablePath) {
|
|
88774
|
+
const excludedVerifiablePath = (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node, node.excludedVerifiablePath);
|
|
88775
|
+
verifiablePaths = verifiablePaths.filter(path => !path.isIncludes(excludedVerifiablePath));
|
|
88776
|
+
}
|
|
88777
|
+
markupBuilder.prop(x => x.verifiablePaths).set((_verifiablePaths = verifiablePaths) !== null && _verifiablePaths !== void 0 ? _verifiablePaths : []);
|
|
88778
|
+
return markupBuilder.buildConverterResult();
|
|
88779
|
+
}
|
|
88780
|
+
}
|
|
88781
|
+
|
|
88782
|
+
/***/ }),
|
|
88783
|
+
|
|
88784
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormNode.ts":
|
|
88785
|
+
/*!*****************************************************************************************************!*\
|
|
88786
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormNode.ts ***!
|
|
88787
|
+
\*****************************************************************************************************/
|
|
88788
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
88789
|
+
|
|
88790
|
+
"use strict";
|
|
88791
|
+
__webpack_require__.r(__webpack_exports__);
|
|
88792
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
88793
|
+
/* harmony export */ ModalFormNode: () => (/* binding */ ModalFormNode)
|
|
88794
|
+
/* harmony export */ });
|
|
88795
|
+
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
|
|
88796
|
+
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
88797
|
+
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
|
|
88798
|
+
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
|
|
88799
|
+
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
|
|
88800
|
+
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
|
|
88801
|
+
/* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
|
|
88802
|
+
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
88803
|
+
|
|
88804
|
+
|
|
88805
|
+
|
|
88806
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;
|
|
88807
|
+
|
|
88808
|
+
|
|
88809
|
+
let ModalFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("modalform", `Модальное окно со значениями из модели`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("header", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Заголовок`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("enabledBackgroundClick", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Закрывать окно при клике на фон.`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("doNotValidateFormOnStart", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Отменяет показ валидаций при откртии модального окна`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("footerPanel", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Задает серый footer`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, `Ширина модального окна`), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("onAfterOpen", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется после открытия модалки"), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("excludedVerifiablePath", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Путь, который нужно исключить из валидаций`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(), _dec(_class = (_class2 = class ModalFormNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
88810
|
+
constructor(...args) {
|
|
88811
|
+
super(...args);
|
|
88812
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor, this);
|
|
88813
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "header", _descriptor2, this);
|
|
88814
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "enabledBackgroundClick", _descriptor3, this);
|
|
88815
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "doNotValidateFormOnStart", _descriptor4, this);
|
|
88816
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "footerPanel", _descriptor5, this);
|
|
88817
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor6, this);
|
|
88818
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onAfterOpen", _descriptor7, this);
|
|
88819
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "excludedVerifiablePath", _descriptor8, this);
|
|
88820
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor9, this);
|
|
88821
|
+
}
|
|
88822
|
+
getOwnPath() {
|
|
88823
|
+
return this.dataScope.getOwnPath();
|
|
88824
|
+
}
|
|
88825
|
+
}, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dataScope", [_dec2], {
|
|
88826
|
+
configurable: true,
|
|
88827
|
+
enumerable: true,
|
|
88828
|
+
writable: true,
|
|
88829
|
+
initializer: null
|
|
88830
|
+
}), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "header", [_dec3], {
|
|
88831
|
+
configurable: true,
|
|
88832
|
+
enumerable: true,
|
|
88833
|
+
writable: true,
|
|
88834
|
+
initializer: null
|
|
88835
|
+
}), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "enabledBackgroundClick", [_dec4], {
|
|
88836
|
+
configurable: true,
|
|
88837
|
+
enumerable: true,
|
|
88838
|
+
writable: true,
|
|
88839
|
+
initializer: null
|
|
88840
|
+
}), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "doNotValidateFormOnStart", [_dec5], {
|
|
88841
|
+
configurable: true,
|
|
88842
|
+
enumerable: true,
|
|
88843
|
+
writable: true,
|
|
88844
|
+
initializer: null
|
|
88845
|
+
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "footerPanel", [_dec6], {
|
|
88846
|
+
configurable: true,
|
|
88847
|
+
enumerable: true,
|
|
88848
|
+
writable: true,
|
|
88849
|
+
initializer: null
|
|
88850
|
+
}), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "width", [_dec7], {
|
|
88851
|
+
configurable: true,
|
|
88852
|
+
enumerable: true,
|
|
88853
|
+
writable: true,
|
|
88854
|
+
initializer: null
|
|
88855
|
+
}), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "onAfterOpen", [_dec8], {
|
|
88856
|
+
configurable: true,
|
|
88857
|
+
enumerable: true,
|
|
88858
|
+
writable: true,
|
|
88859
|
+
initializer: null
|
|
88860
|
+
}), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "excludedVerifiablePath", [_dec9], {
|
|
88861
|
+
configurable: true,
|
|
88862
|
+
enumerable: true,
|
|
88863
|
+
writable: true,
|
|
88864
|
+
initializer: null
|
|
88865
|
+
}), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec10], {
|
|
88866
|
+
configurable: true,
|
|
88867
|
+
enumerable: true,
|
|
88868
|
+
writable: true,
|
|
88869
|
+
initializer: null
|
|
88870
|
+
}), _class2)) || _class);
|
|
88871
|
+
|
|
88872
|
+
/***/ }),
|
|
88873
|
+
|
|
88543
88874
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalFormCancel/ModalFormCancelConverter.ts":
|
|
88544
88875
|
/*!**********************************************************************************************************************!*\
|
|
88545
88876
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalFormCancel/ModalFormCancelConverter.ts ***!
|
|
@@ -88848,160 +89179,6 @@ let ModalFormLabelNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
|
|
|
88848
89179
|
|
|
88849
89180
|
/***/ }),
|
|
88850
89181
|
|
|
88851
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormConverter.ts":
|
|
88852
|
-
/*!**********************************************************************************************************!*\
|
|
88853
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormConverter.ts ***!
|
|
88854
|
-
\**********************************************************************************************************/
|
|
88855
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
88856
|
-
|
|
88857
|
-
"use strict";
|
|
88858
|
-
__webpack_require__.r(__webpack_exports__);
|
|
88859
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
88860
|
-
/* harmony export */ ModalFormConverter: () => (/* binding */ ModalFormConverter)
|
|
88861
|
-
/* harmony export */ });
|
|
88862
|
-
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
88863
|
-
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
88864
|
-
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
88865
|
-
/* harmony import */ var _ModalFormNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ModalFormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormNode.ts");
|
|
88866
|
-
|
|
88867
|
-
|
|
88868
|
-
|
|
88869
|
-
|
|
88870
|
-
class ModalFormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
|
|
88871
|
-
static getAcceptNodeClass() {
|
|
88872
|
-
return _ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode;
|
|
88873
|
-
}
|
|
88874
|
-
applyVisibilityPathProcessing() {
|
|
88875
|
-
return false;
|
|
88876
|
-
}
|
|
88877
|
-
doBuildDataDeclaration(context) {
|
|
88878
|
-
const node = this.getCurrentNodeAs(_ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode);
|
|
88879
|
-
return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node));
|
|
88880
|
-
}
|
|
88881
|
-
buildChildrenDataDeclaration(context) {
|
|
88882
|
-
const node = this.getCurrentNodeAs(_ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode);
|
|
88883
|
-
return context.processChildrenDataDeclaration(node.children);
|
|
88884
|
-
}
|
|
88885
|
-
*doTraverseChildren() {
|
|
88886
|
-
const node = this.getCurrentNodeAs(_ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode);
|
|
88887
|
-
yield* node.children;
|
|
88888
|
-
}
|
|
88889
|
-
doConvert(context) {
|
|
88890
|
-
var _verifiablePaths;
|
|
88891
|
-
const node = this.getCurrentNodeAs(_ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode);
|
|
88892
|
-
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("ModalForm");
|
|
88893
|
-
markupBuilder.prop(x => x.width).set(node.width);
|
|
88894
|
-
markupBuilder.prop(x => x.header).set(node.header);
|
|
88895
|
-
markupBuilder.prop(x => x.footerPanel).set(node.footerPanel);
|
|
88896
|
-
markupBuilder.prop(x => x.enabledBackgroundClick).set(node.enabledBackgroundClick);
|
|
88897
|
-
markupBuilder.prop(x => x.doNotValidateFormOnStart).set(node.doNotValidateFormOnStart);
|
|
88898
|
-
markupBuilder.prop(x => x.onAfterOpen).set(context.generateHelperFunctionExpression(node, "onAfterOpen", node.onAfterOpen));
|
|
88899
|
-
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node));
|
|
88900
|
-
context.pushPathsContext();
|
|
88901
|
-
markupBuilder.appendChild(context.convertChildNodes(node.children));
|
|
88902
|
-
const pathsContext = context.popPathsContext();
|
|
88903
|
-
let verifiablePaths = pathsContext === null || pathsContext === void 0 ? void 0 : pathsContext.paths;
|
|
88904
|
-
if (verifiablePaths && node.excludedVerifiablePath) {
|
|
88905
|
-
const excludedVerifiablePath = (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node, node.excludedVerifiablePath);
|
|
88906
|
-
verifiablePaths = verifiablePaths.filter(path => !path.isIncludes(excludedVerifiablePath));
|
|
88907
|
-
}
|
|
88908
|
-
markupBuilder.prop(x => x.verifiablePaths).set((_verifiablePaths = verifiablePaths) !== null && _verifiablePaths !== void 0 ? _verifiablePaths : []);
|
|
88909
|
-
return markupBuilder.buildConverterResult();
|
|
88910
|
-
}
|
|
88911
|
-
}
|
|
88912
|
-
|
|
88913
|
-
/***/ }),
|
|
88914
|
-
|
|
88915
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormNode.ts":
|
|
88916
|
-
/*!*****************************************************************************************************!*\
|
|
88917
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormNode.ts ***!
|
|
88918
|
-
\*****************************************************************************************************/
|
|
88919
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
88920
|
-
|
|
88921
|
-
"use strict";
|
|
88922
|
-
__webpack_require__.r(__webpack_exports__);
|
|
88923
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
88924
|
-
/* harmony export */ ModalFormNode: () => (/* binding */ ModalFormNode)
|
|
88925
|
-
/* harmony export */ });
|
|
88926
|
-
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
|
|
88927
|
-
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
88928
|
-
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
|
|
88929
|
-
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
|
|
88930
|
-
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
|
|
88931
|
-
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
|
|
88932
|
-
/* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
|
|
88933
|
-
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
88934
|
-
|
|
88935
|
-
|
|
88936
|
-
|
|
88937
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;
|
|
88938
|
-
|
|
88939
|
-
|
|
88940
|
-
let ModalFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("modalform", `Модальное окно со значениями из модели`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("header", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Заголовок`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("enabledBackgroundClick", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Закрывать окно при клике на фон.`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("doNotValidateFormOnStart", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Отменяет показ валидаций при откртии модального окна`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("footerPanel", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Задает серый footer`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, `Ширина модального окна`), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("onAfterOpen", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется после открытия модалки"), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("excludedVerifiablePath", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Путь, который нужно исключить из валидаций`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(), _dec(_class = (_class2 = class ModalFormNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
88941
|
-
constructor(...args) {
|
|
88942
|
-
super(...args);
|
|
88943
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor, this);
|
|
88944
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "header", _descriptor2, this);
|
|
88945
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "enabledBackgroundClick", _descriptor3, this);
|
|
88946
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "doNotValidateFormOnStart", _descriptor4, this);
|
|
88947
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "footerPanel", _descriptor5, this);
|
|
88948
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor6, this);
|
|
88949
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onAfterOpen", _descriptor7, this);
|
|
88950
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "excludedVerifiablePath", _descriptor8, this);
|
|
88951
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor9, this);
|
|
88952
|
-
}
|
|
88953
|
-
getOwnPath() {
|
|
88954
|
-
return this.dataScope.getOwnPath();
|
|
88955
|
-
}
|
|
88956
|
-
}, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dataScope", [_dec2], {
|
|
88957
|
-
configurable: true,
|
|
88958
|
-
enumerable: true,
|
|
88959
|
-
writable: true,
|
|
88960
|
-
initializer: null
|
|
88961
|
-
}), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "header", [_dec3], {
|
|
88962
|
-
configurable: true,
|
|
88963
|
-
enumerable: true,
|
|
88964
|
-
writable: true,
|
|
88965
|
-
initializer: null
|
|
88966
|
-
}), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "enabledBackgroundClick", [_dec4], {
|
|
88967
|
-
configurable: true,
|
|
88968
|
-
enumerable: true,
|
|
88969
|
-
writable: true,
|
|
88970
|
-
initializer: null
|
|
88971
|
-
}), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "doNotValidateFormOnStart", [_dec5], {
|
|
88972
|
-
configurable: true,
|
|
88973
|
-
enumerable: true,
|
|
88974
|
-
writable: true,
|
|
88975
|
-
initializer: null
|
|
88976
|
-
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "footerPanel", [_dec6], {
|
|
88977
|
-
configurable: true,
|
|
88978
|
-
enumerable: true,
|
|
88979
|
-
writable: true,
|
|
88980
|
-
initializer: null
|
|
88981
|
-
}), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "width", [_dec7], {
|
|
88982
|
-
configurable: true,
|
|
88983
|
-
enumerable: true,
|
|
88984
|
-
writable: true,
|
|
88985
|
-
initializer: null
|
|
88986
|
-
}), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "onAfterOpen", [_dec8], {
|
|
88987
|
-
configurable: true,
|
|
88988
|
-
enumerable: true,
|
|
88989
|
-
writable: true,
|
|
88990
|
-
initializer: null
|
|
88991
|
-
}), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "excludedVerifiablePath", [_dec9], {
|
|
88992
|
-
configurable: true,
|
|
88993
|
-
enumerable: true,
|
|
88994
|
-
writable: true,
|
|
88995
|
-
initializer: null
|
|
88996
|
-
}), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec10], {
|
|
88997
|
-
configurable: true,
|
|
88998
|
-
enumerable: true,
|
|
88999
|
-
writable: true,
|
|
89000
|
-
initializer: null
|
|
89001
|
-
}), _class2)) || _class);
|
|
89002
|
-
|
|
89003
|
-
/***/ }),
|
|
89004
|
-
|
|
89005
89182
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/AddRowButton/AddRowButtonConverter.ts":
|
|
89006
89183
|
/*!************************************************************************************************************************!*\
|
|
89007
89184
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/AddRowButton/AddRowButtonConverter.ts ***!
|
|
@@ -89207,6 +89384,232 @@ let AddRowButtonNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_
|
|
|
89207
89384
|
|
|
89208
89385
|
/***/ }),
|
|
89209
89386
|
|
|
89387
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/AggregationQuery/AggregationQueryConverter.ts":
|
|
89388
|
+
/*!********************************************************************************************************************************!*\
|
|
89389
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/AggregationQuery/AggregationQueryConverter.ts ***!
|
|
89390
|
+
\********************************************************************************************************************************/
|
|
89391
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
89392
|
+
|
|
89393
|
+
"use strict";
|
|
89394
|
+
__webpack_require__.r(__webpack_exports__);
|
|
89395
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
89396
|
+
/* harmony export */ AggregationQueryConverter: () => (/* binding */ AggregationQueryConverter)
|
|
89397
|
+
/* harmony export */ });
|
|
89398
|
+
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
89399
|
+
/* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../DataDeclarationGenerator/DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
|
|
89400
|
+
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
89401
|
+
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
89402
|
+
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
89403
|
+
/* harmony import */ var _Engine_src_Engine_Core_Filtering_IAggregationQueryStrategy__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../Engine/src/Engine/Core/Filtering/IAggregationQueryStrategy */ "./Engine/src/Engine/Core/Filtering/IAggregationQueryStrategy.ts");
|
|
89404
|
+
/* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
|
|
89405
|
+
/* harmony import */ var _Engine_src_Helpers_FilterExpressions_FilterExpressionResolveBindingPaths__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../Engine/src/Helpers/FilterExpressions/FilterExpressionResolveBindingPaths */ "./Engine/src/Helpers/FilterExpressions/FilterExpressionResolveBindingPaths.ts");
|
|
89406
|
+
/* harmony import */ var _ConverterResults_ModuleDescriptor__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../ConverterResults/ModuleDescriptor */ "./Generator/src/generators/markupGenerator/ConverterResults/ModuleDescriptor.ts");
|
|
89407
|
+
/* harmony import */ var _AggregationQueryNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./AggregationQueryNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/AggregationQuery/AggregationQueryNode.ts");
|
|
89408
|
+
|
|
89409
|
+
|
|
89410
|
+
|
|
89411
|
+
|
|
89412
|
+
|
|
89413
|
+
|
|
89414
|
+
|
|
89415
|
+
|
|
89416
|
+
|
|
89417
|
+
|
|
89418
|
+
class AggregationQueryConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_0__.SugarNodeConverterBase {
|
|
89419
|
+
static getAcceptNodeClass() {
|
|
89420
|
+
return _AggregationQueryNode__WEBPACK_IMPORTED_MODULE_9__.AggregationQueryNode;
|
|
89421
|
+
}
|
|
89422
|
+
doBuildDataDeclaration(context) {
|
|
89423
|
+
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
|
|
89424
|
+
}
|
|
89425
|
+
buildChildrenDataDeclaration(context) {
|
|
89426
|
+
const node = this.getCurrentNodeAs(_AggregationQueryNode__WEBPACK_IMPORTED_MODULE_9__.AggregationQueryNode);
|
|
89427
|
+
return context.processChildrenDataDeclaration(node.content.children);
|
|
89428
|
+
}
|
|
89429
|
+
*doTraverseChildren() {
|
|
89430
|
+
const node = this.getCurrentNodeAs(_AggregationQueryNode__WEBPACK_IMPORTED_MODULE_9__.AggregationQueryNode);
|
|
89431
|
+
for (const child of node.content.children) {
|
|
89432
|
+
yield child;
|
|
89433
|
+
}
|
|
89434
|
+
}
|
|
89435
|
+
doConvert(context) {
|
|
89436
|
+
var _node$includeMultilin;
|
|
89437
|
+
const node = this.getCurrentNodeAs(_AggregationQueryNode__WEBPACK_IMPORTED_MODULE_9__.AggregationQueryNode);
|
|
89438
|
+
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("AggregationQuery");
|
|
89439
|
+
if (node.multilinePath != undefined) {
|
|
89440
|
+
markupBuilder.prop(x => x.multilinePath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node, node.multilinePath));
|
|
89441
|
+
}
|
|
89442
|
+
markupBuilder.prop(x => x.filterUniqueKey).set(node.filteredUniqKey);
|
|
89443
|
+
markupBuilder.prop(x => x.variablesPrefix).set(node.variablesPrefix);
|
|
89444
|
+
markupBuilder.prop(x => x.includeMultilineFilters).set((_node$includeMultilin = node.includeMultilineFilters) !== null && _node$includeMultilin !== void 0 ? _node$includeMultilin : true);
|
|
89445
|
+
const pathResolver = new _Engine_src_Helpers_FilterExpressions_FilterExpressionResolveBindingPaths__WEBPACK_IMPORTED_MODULE_7__.FilterExpressionResolveBindingPaths(path => (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node, path).toLegacyPath());
|
|
89446
|
+
if (node.filter != undefined) {
|
|
89447
|
+
markupBuilder.prop(x => x.filter).set(pathResolver.transformExpression(node.filter));
|
|
89448
|
+
}
|
|
89449
|
+
const selects = node.selects.children.map(x => {
|
|
89450
|
+
var _x$pathToField, _x$fieldName;
|
|
89451
|
+
return x.aggregationType === "Sum" ? {
|
|
89452
|
+
targetVariableName: x.variableName,
|
|
89453
|
+
select: {
|
|
89454
|
+
type: _Engine_src_Engine_Core_Filtering_IAggregationQueryStrategy__WEBPACK_IMPORTED_MODULE_5__.AggregationType.Sum,
|
|
89455
|
+
relativeFieldPath: (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_4__.createRelativeResolvedModelPath)((_x$pathToField = x.pathToField) !== null && _x$pathToField !== void 0 ? _x$pathToField : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_6__.reject)("Sum requires pathToField!")),
|
|
89456
|
+
name: x.variableName,
|
|
89457
|
+
customFieldName: (_x$fieldName = x.fieldName) !== null && _x$fieldName !== void 0 ? _x$fieldName : "value",
|
|
89458
|
+
filter: x.filter != undefined ? pathResolver.transformExpression(x.filter) : undefined
|
|
89459
|
+
}
|
|
89460
|
+
} : x.aggregationType === "Count" ? {
|
|
89461
|
+
targetVariableName: x.variableName,
|
|
89462
|
+
select: {
|
|
89463
|
+
type: _Engine_src_Engine_Core_Filtering_IAggregationQueryStrategy__WEBPACK_IMPORTED_MODULE_5__.AggregationType.Count,
|
|
89464
|
+
name: x.variableName,
|
|
89465
|
+
filter: x.filter != undefined ? pathResolver.transformExpression(x.filter) : undefined
|
|
89466
|
+
}
|
|
89467
|
+
} : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_6__.reject)(`Unsupported query type [${x.aggregationType}]`);
|
|
89468
|
+
});
|
|
89469
|
+
markupBuilder.prop(x => x.selects).set(selects);
|
|
89470
|
+
markupBuilder.appendChild(context.convertChildNodes(node.content.children));
|
|
89471
|
+
const result = markupBuilder.buildConverterResult();
|
|
89472
|
+
result.addDependencies(new _ConverterResults_ModuleDescriptor__WEBPACK_IMPORTED_MODULE_8__.ModuleDescriptor("mp", "mp"));
|
|
89473
|
+
return result;
|
|
89474
|
+
}
|
|
89475
|
+
}
|
|
89476
|
+
|
|
89477
|
+
/***/ }),
|
|
89478
|
+
|
|
89479
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/AggregationQuery/AggregationQueryNode.ts":
|
|
89480
|
+
/*!***************************************************************************************************************************!*\
|
|
89481
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/AggregationQuery/AggregationQueryNode.ts ***!
|
|
89482
|
+
\***************************************************************************************************************************/
|
|
89483
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
89484
|
+
|
|
89485
|
+
"use strict";
|
|
89486
|
+
__webpack_require__.r(__webpack_exports__);
|
|
89487
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
89488
|
+
/* harmony export */ AggregationQueryContentNode: () => (/* binding */ AggregationQueryContentNode),
|
|
89489
|
+
/* harmony export */ AggregationQueryNode: () => (/* binding */ AggregationQueryNode),
|
|
89490
|
+
/* harmony export */ AggregationQuerySelectNode: () => (/* binding */ AggregationQuerySelectNode),
|
|
89491
|
+
/* harmony export */ AggregationQuerySelectsNode: () => (/* binding */ AggregationQuerySelectsNode)
|
|
89492
|
+
/* harmony export */ });
|
|
89493
|
+
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
|
|
89494
|
+
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
89495
|
+
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
|
|
89496
|
+
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
|
|
89497
|
+
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
|
|
89498
|
+
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
|
|
89499
|
+
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
89500
|
+
|
|
89501
|
+
|
|
89502
|
+
|
|
89503
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _dec7, _dec8, _class3, _class4, _descriptor6, _dec9, _dec10, _class5, _class6, _descriptor7, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _class7, _class8, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14;
|
|
89504
|
+
|
|
89505
|
+
let AggregationQuerySelectNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("aggregationqueryselect", `Запрос на получение агрегата`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/AggregationQuery sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("aggregationType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("Sum", "Count").required, `Необходимо ли включать в фильтр агрегации фильтры из мультилайна`), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("variableName", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, `Префикс для названия переменных, которые доступны через обращение к @contextVars/`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("pathToField", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Относительный путь от множественности до поля по которому считаем суммы`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("pathToField", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Название поля для получения агрегата (value, autoValue, errorsCount и тп)`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("filter", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.objectLiteral(), ``), _dec(_class = (_class2 = class AggregationQuerySelectNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
89506
|
+
constructor(...args) {
|
|
89507
|
+
super(...args);
|
|
89508
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "aggregationType", _descriptor, this);
|
|
89509
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "variableName", _descriptor2, this);
|
|
89510
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pathToField", _descriptor3, this);
|
|
89511
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "fieldName", _descriptor4, this);
|
|
89512
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filter", _descriptor5, this);
|
|
89513
|
+
}
|
|
89514
|
+
}, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "aggregationType", [_dec2], {
|
|
89515
|
+
configurable: true,
|
|
89516
|
+
enumerable: true,
|
|
89517
|
+
writable: true,
|
|
89518
|
+
initializer: null
|
|
89519
|
+
}), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "variableName", [_dec3], {
|
|
89520
|
+
configurable: true,
|
|
89521
|
+
enumerable: true,
|
|
89522
|
+
writable: true,
|
|
89523
|
+
initializer: null
|
|
89524
|
+
}), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pathToField", [_dec4], {
|
|
89525
|
+
configurable: true,
|
|
89526
|
+
enumerable: true,
|
|
89527
|
+
writable: true,
|
|
89528
|
+
initializer: null
|
|
89529
|
+
}), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "fieldName", [_dec5], {
|
|
89530
|
+
configurable: true,
|
|
89531
|
+
enumerable: true,
|
|
89532
|
+
writable: true,
|
|
89533
|
+
initializer: null
|
|
89534
|
+
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "filter", [_dec6], {
|
|
89535
|
+
configurable: true,
|
|
89536
|
+
enumerable: true,
|
|
89537
|
+
writable: true,
|
|
89538
|
+
initializer: null
|
|
89539
|
+
}), _class2)) || _class);
|
|
89540
|
+
let AggregationQuerySelectsNode = (_dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("selects", `Запросы на получение агрегата`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/AggregationQuery sync recursive .md$")), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec7(_class3 = (_class4 = class AggregationQuerySelectsNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
89541
|
+
constructor(...args) {
|
|
89542
|
+
super(...args);
|
|
89543
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor6, this);
|
|
89544
|
+
}
|
|
89545
|
+
}, _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "children", [_dec8], {
|
|
89546
|
+
configurable: true,
|
|
89547
|
+
enumerable: true,
|
|
89548
|
+
writable: true,
|
|
89549
|
+
initializer: null
|
|
89550
|
+
}), _class4)) || _class3);
|
|
89551
|
+
let AggregationQueryContentNode = (_dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("content", `Дочерние элементы`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/AggregationQuery sync recursive .md$")), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec9(_class5 = (_class6 = class AggregationQueryContentNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
89552
|
+
constructor(...args) {
|
|
89553
|
+
super(...args);
|
|
89554
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor7, this);
|
|
89555
|
+
}
|
|
89556
|
+
}, _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "children", [_dec10], {
|
|
89557
|
+
configurable: true,
|
|
89558
|
+
enumerable: true,
|
|
89559
|
+
writable: true,
|
|
89560
|
+
initializer: null
|
|
89561
|
+
}), _class6)) || _class5);
|
|
89562
|
+
let AggregationQueryNode = (_dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("aggregationquery", `Запрос на получение агрегированных данных`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/AggregationQuery sync recursive .md$")), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("multilinePath", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.bindingPath, ``), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("filteredUniqKey", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Уникальный ключ фильтрации multiline, используется, для фильтраций одних и тех же путей иннера
|
|
89563
|
+
разными фильтрами. Задается произвольной строкой. Фильтры с одинаковым ключем фильтрации получают одинаковый результат фильтрации`), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("filter", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.objectLiteral(), ``), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("includeMultilineFilters", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Необходимо ли включать в фильтр агрегации фильтры из мультилайна`), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("variablesPrefix", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, `Префикс для названия переменных, которые доступны через обращение к @contextVars/`), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("selects", [AggregationQuerySelectsNode]), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("content", [AggregationQueryContentNode]), _dec11(_class7 = (_class8 = class AggregationQueryNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
89564
|
+
constructor(...args) {
|
|
89565
|
+
super(...args);
|
|
89566
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multilinePath", _descriptor8, this);
|
|
89567
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filteredUniqKey", _descriptor9, this);
|
|
89568
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filter", _descriptor10, this);
|
|
89569
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "includeMultilineFilters", _descriptor11, this);
|
|
89570
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "variablesPrefix", _descriptor12, this);
|
|
89571
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "selects", _descriptor13, this);
|
|
89572
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "content", _descriptor14, this);
|
|
89573
|
+
}
|
|
89574
|
+
}, _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "multilinePath", [_dec12], {
|
|
89575
|
+
configurable: true,
|
|
89576
|
+
enumerable: true,
|
|
89577
|
+
writable: true,
|
|
89578
|
+
initializer: null
|
|
89579
|
+
}), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "filteredUniqKey", [_dec13], {
|
|
89580
|
+
configurable: true,
|
|
89581
|
+
enumerable: true,
|
|
89582
|
+
writable: true,
|
|
89583
|
+
initializer: null
|
|
89584
|
+
}), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "filter", [_dec14], {
|
|
89585
|
+
configurable: true,
|
|
89586
|
+
enumerable: true,
|
|
89587
|
+
writable: true,
|
|
89588
|
+
initializer: null
|
|
89589
|
+
}), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "includeMultilineFilters", [_dec15], {
|
|
89590
|
+
configurable: true,
|
|
89591
|
+
enumerable: true,
|
|
89592
|
+
writable: true,
|
|
89593
|
+
initializer: null
|
|
89594
|
+
}), _descriptor12 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "variablesPrefix", [_dec16], {
|
|
89595
|
+
configurable: true,
|
|
89596
|
+
enumerable: true,
|
|
89597
|
+
writable: true,
|
|
89598
|
+
initializer: null
|
|
89599
|
+
}), _descriptor13 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "selects", [_dec17], {
|
|
89600
|
+
configurable: true,
|
|
89601
|
+
enumerable: true,
|
|
89602
|
+
writable: true,
|
|
89603
|
+
initializer: null
|
|
89604
|
+
}), _descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "content", [_dec18], {
|
|
89605
|
+
configurable: true,
|
|
89606
|
+
enumerable: true,
|
|
89607
|
+
writable: true,
|
|
89608
|
+
initializer: null
|
|
89609
|
+
}), _class8)) || _class7);
|
|
89610
|
+
|
|
89611
|
+
/***/ }),
|
|
89612
|
+
|
|
89210
89613
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/ColgroupButton/ColgroupButtonConverter.ts":
|
|
89211
89614
|
/*!****************************************************************************************************************************!*\
|
|
89212
89615
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/ColgroupButton/ColgroupButtonConverter.ts ***!
|
|
@@ -89386,6 +89789,96 @@ class ColumnConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.S
|
|
|
89386
89789
|
|
|
89387
89790
|
/***/ }),
|
|
89388
89791
|
|
|
89792
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/ContextVar/ExprEvalConverter.ts":
|
|
89793
|
+
/*!******************************************************************************************************************!*\
|
|
89794
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/ContextVar/ExprEvalConverter.ts ***!
|
|
89795
|
+
\******************************************************************************************************************/
|
|
89796
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
89797
|
+
|
|
89798
|
+
"use strict";
|
|
89799
|
+
__webpack_require__.r(__webpack_exports__);
|
|
89800
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
89801
|
+
/* harmony export */ ExprEvalConverter: () => (/* binding */ ExprEvalConverter)
|
|
89802
|
+
/* harmony export */ });
|
|
89803
|
+
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
89804
|
+
/* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../DataDeclarationGenerator/DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
|
|
89805
|
+
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
89806
|
+
/* harmony import */ var _common_ConditionUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../common/ConditionUtils */ "./Generator/src/common/ConditionUtils.ts");
|
|
89807
|
+
/* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
|
|
89808
|
+
/* harmony import */ var _Common_KCLangRuntimeUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../Common/KCLangRuntimeUtils */ "./Common/KCLangRuntimeUtils.ts");
|
|
89809
|
+
/* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
|
|
89810
|
+
/* harmony import */ var _ExprEvalNode__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ExprEvalNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/ContextVar/ExprEvalNode.ts");
|
|
89811
|
+
|
|
89812
|
+
|
|
89813
|
+
|
|
89814
|
+
|
|
89815
|
+
|
|
89816
|
+
|
|
89817
|
+
|
|
89818
|
+
|
|
89819
|
+
class ExprEvalConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_0__.SugarNodeConverterBase {
|
|
89820
|
+
static getAcceptNodeClass() {
|
|
89821
|
+
return _ExprEvalNode__WEBPACK_IMPORTED_MODULE_7__.ExprEvalNode;
|
|
89822
|
+
}
|
|
89823
|
+
doBuildDataDeclaration(context) {
|
|
89824
|
+
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
|
|
89825
|
+
}
|
|
89826
|
+
buildChildrenDataDeclaration(context) {
|
|
89827
|
+
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
|
|
89828
|
+
}
|
|
89829
|
+
*doTraverseChildren() {
|
|
89830
|
+
// no children
|
|
89831
|
+
}
|
|
89832
|
+
doConvert(context) {
|
|
89833
|
+
var _node$expression;
|
|
89834
|
+
const node = this.getCurrentNodeAs(_ExprEvalNode__WEBPACK_IMPORTED_MODULE_7__.ExprEvalNode);
|
|
89835
|
+
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("ExprEval");
|
|
89836
|
+
markupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
|
|
89837
|
+
const expressionWithDependencies = (0,_common_ConditionUtils__WEBPACK_IMPORTED_MODULE_3__.convertConditionToJsOrFailWithFriendlySugarError)((_node$expression = node.expression) !== null && _node$expression !== void 0 ? _node$expression : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.reject)(), "path", "count", _Common_KCLangRuntimeUtils__WEBPACK_IMPORTED_MODULE_5__.KCLangRuntimeUtils.kcLangUtilsName, node, "expression");
|
|
89838
|
+
markupBuilder.prop(x => x.expression).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_6__.buildExpressionPropValue)(expressionWithDependencies.condition, expressionWithDependencies.dependencies));
|
|
89839
|
+
return markupBuilder.buildConverterResult();
|
|
89840
|
+
}
|
|
89841
|
+
}
|
|
89842
|
+
|
|
89843
|
+
/***/ }),
|
|
89844
|
+
|
|
89845
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/ContextVar/ExprEvalNode.ts":
|
|
89846
|
+
/*!*************************************************************************************************************!*\
|
|
89847
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/ContextVar/ExprEvalNode.ts ***!
|
|
89848
|
+
\*************************************************************************************************************/
|
|
89849
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
89850
|
+
|
|
89851
|
+
"use strict";
|
|
89852
|
+
__webpack_require__.r(__webpack_exports__);
|
|
89853
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
89854
|
+
/* harmony export */ ExprEvalNode: () => (/* binding */ ExprEvalNode)
|
|
89855
|
+
/* harmony export */ });
|
|
89856
|
+
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
|
|
89857
|
+
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
89858
|
+
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
|
|
89859
|
+
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
|
|
89860
|
+
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
|
|
89861
|
+
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
|
|
89862
|
+
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
89863
|
+
|
|
89864
|
+
|
|
89865
|
+
|
|
89866
|
+
var _dec, _dec2, _class, _class2, _descriptor;
|
|
89867
|
+
|
|
89868
|
+
let ExprEvalNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("expreval", `Получение значения контекстной переменной`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/ContextVar sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("expression", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.javascriptExpression, "Выражение, которое необходимо высчитать для отображения"), _dec(_class = (_class2 = class ExprEvalNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
89869
|
+
constructor(...args) {
|
|
89870
|
+
super(...args);
|
|
89871
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor, this);
|
|
89872
|
+
}
|
|
89873
|
+
}, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "expression", [_dec2], {
|
|
89874
|
+
configurable: true,
|
|
89875
|
+
enumerable: true,
|
|
89876
|
+
writable: true,
|
|
89877
|
+
initializer: null
|
|
89878
|
+
}), _class2)) || _class);
|
|
89879
|
+
|
|
89880
|
+
/***/ }),
|
|
89881
|
+
|
|
89389
89882
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable/CrossfitTableColumnConverter.ts":
|
|
89390
89883
|
/*!********************************************************************************************************************************!*\
|
|
89391
89884
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable/CrossfitTableColumnConverter.ts ***!
|
|
@@ -90945,17 +91438,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
90945
91438
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
90946
91439
|
/* harmony export */ FilterSelectConverter: () => (/* binding */ FilterSelectConverter)
|
|
90947
91440
|
/* harmony export */ });
|
|
90948
|
-
/* harmony import */ var
|
|
90949
|
-
/* harmony import */ var
|
|
90950
|
-
/* harmony import */ var
|
|
90951
|
-
/* harmony import */ var
|
|
90952
|
-
/* harmony import */ var
|
|
90953
|
-
/* harmony import */ var
|
|
90954
|
-
/* harmony import */ var
|
|
90955
|
-
/* harmony import */ var
|
|
90956
|
-
/* harmony import */ var
|
|
90957
|
-
/* harmony import */ var _FilterSelectNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./FilterSelectNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/FilterSelect/FilterSelectNode.ts");
|
|
90958
|
-
|
|
91441
|
+
/* harmony import */ var _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../common/XmlParser/XmlNode */ "./Generator/src/common/XmlParser/XmlNode.ts");
|
|
91442
|
+
/* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../DataDeclarationGenerator/DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
|
|
91443
|
+
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
91444
|
+
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
91445
|
+
/* harmony import */ var _Layout_InnerText_InnertextNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../Layout/InnerText/InnertextNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/InnerText/InnertextNode.ts");
|
|
91446
|
+
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
91447
|
+
/* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
|
|
91448
|
+
/* harmony import */ var _Engine_src_Helpers_FilterExpressions_FilterExpressionResolveBindingPaths__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../Engine/src/Helpers/FilterExpressions/FilterExpressionResolveBindingPaths */ "./Engine/src/Helpers/FilterExpressions/FilterExpressionResolveBindingPaths.ts");
|
|
91449
|
+
/* harmony import */ var _FilterSelectNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./FilterSelectNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/FilterSelect/FilterSelectNode.ts");
|
|
90959
91450
|
|
|
90960
91451
|
|
|
90961
91452
|
|
|
@@ -90965,30 +91456,30 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
90965
91456
|
|
|
90966
91457
|
|
|
90967
91458
|
|
|
90968
|
-
class FilterSelectConverter extends
|
|
91459
|
+
class FilterSelectConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_5__.SugarNodeConverterBase {
|
|
90969
91460
|
static getAcceptNodeClass() {
|
|
90970
|
-
return
|
|
91461
|
+
return _FilterSelectNode__WEBPACK_IMPORTED_MODULE_8__.FilterSelectNode;
|
|
90971
91462
|
}
|
|
90972
91463
|
doBuildDataDeclaration(context) {
|
|
90973
|
-
return
|
|
91464
|
+
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
|
|
90974
91465
|
}
|
|
90975
91466
|
buildChildrenDataDeclaration(context) {
|
|
90976
|
-
return
|
|
91467
|
+
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
|
|
90977
91468
|
}
|
|
90978
91469
|
*doTraverseChildren() {
|
|
90979
91470
|
// noop
|
|
90980
91471
|
}
|
|
90981
91472
|
doConvert(context) {
|
|
90982
|
-
const node = this.getCurrentNodeAs(
|
|
90983
|
-
const markupBuilder = (0,
|
|
91473
|
+
const node = this.getCurrentNodeAs(_FilterSelectNode__WEBPACK_IMPORTED_MODULE_8__.FilterSelectNode);
|
|
91474
|
+
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FilterSelect");
|
|
90984
91475
|
if (node.multilinePath != undefined) {
|
|
90985
|
-
markupBuilder.prop(x => x.multilinePath).set((0,
|
|
91476
|
+
markupBuilder.prop(x => x.multilinePath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node, node.multilinePath));
|
|
90986
91477
|
}
|
|
90987
91478
|
markupBuilder.prop(x => x.id).set(node.id);
|
|
90988
91479
|
markupBuilder.prop(x => x.width).set(node.width);
|
|
90989
91480
|
markupBuilder.prop(x => x.emptyItemName).set(node.emptyItemName);
|
|
90990
91481
|
if (node.tableId == undefined) {
|
|
90991
|
-
throw new
|
|
91482
|
+
throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_0__.SugarAttributeReadError("TableId для этого контрола обязательно. При необходимости обратитесь к разработчикам", node, "tableId");
|
|
90992
91483
|
}
|
|
90993
91484
|
markupBuilder.prop(x => x.tableId).set(node.tableId);
|
|
90994
91485
|
markupBuilder.prop(x => x.filteredUniqKey).set(node.filteredUniqKey);
|
|
@@ -91004,18 +91495,18 @@ class FilterSelectConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
|
|
|
91004
91495
|
};
|
|
91005
91496
|
}
|
|
91006
91497
|
extractFilterExpression(filterExpression) {
|
|
91007
|
-
const node = this.getCurrentNodeAs(
|
|
91008
|
-
const pathResolver = new FilterExpressionResolveBindingPaths(path => (0,
|
|
91498
|
+
const node = this.getCurrentNodeAs(_FilterSelectNode__WEBPACK_IMPORTED_MODULE_8__.FilterSelectNode);
|
|
91499
|
+
const pathResolver = new _Engine_src_Helpers_FilterExpressions_FilterExpressionResolveBindingPaths__WEBPACK_IMPORTED_MODULE_7__.FilterExpressionResolveBindingPaths(path => (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node, path).toLegacyPath());
|
|
91009
91500
|
return pathResolver.transformExpression(filterExpression);
|
|
91010
91501
|
}
|
|
91011
91502
|
forceSingleTextNode(children) {
|
|
91012
91503
|
var _children$;
|
|
91013
|
-
if (!(0,
|
|
91504
|
+
if (!(0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_6__.arrayHasAtLeastOneItem)(children)) {
|
|
91014
91505
|
return "";
|
|
91015
91506
|
}
|
|
91016
|
-
if ((0,
|
|
91507
|
+
if ((0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_6__.arrayHasLength)(children, 1)) {
|
|
91017
91508
|
const node = children[0];
|
|
91018
|
-
if (node instanceof
|
|
91509
|
+
if (node instanceof _Layout_InnerText_InnertextNode__WEBPACK_IMPORTED_MODULE_4__.InnertextNode) {
|
|
91019
91510
|
if (node.innertext == undefined) {
|
|
91020
91511
|
return "";
|
|
91021
91512
|
} else if (typeof node.innertext === "string") {
|
|
@@ -91031,80 +91522,7 @@ class FilterSelectConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
|
|
|
91031
91522
|
}
|
|
91032
91523
|
}
|
|
91033
91524
|
}
|
|
91034
|
-
throw new
|
|
91035
|
-
}
|
|
91036
|
-
}
|
|
91037
|
-
class FilterExpressionResolveBindingPaths extends _Engine_src_Helpers_FilterExpressions_CompileFilterExpression__WEBPACK_IMPORTED_MODULE_1__.FilterExpressionTransduceVisitor {
|
|
91038
|
-
constructor(pathResolver) {
|
|
91039
|
-
super();
|
|
91040
|
-
this.pathResolver = void 0;
|
|
91041
|
-
this.pathResolver = pathResolver;
|
|
91042
|
-
}
|
|
91043
|
-
createDefaultResult() {
|
|
91044
|
-
throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_0__.InvalidProgramStateError();
|
|
91045
|
-
}
|
|
91046
|
-
transformAndExpression(expression) {
|
|
91047
|
-
return {
|
|
91048
|
-
...expression,
|
|
91049
|
-
conditions: expression.conditions.map(x => this.transformExpression(x))
|
|
91050
|
-
};
|
|
91051
|
-
}
|
|
91052
|
-
transformEndDateExpression(expression) {
|
|
91053
|
-
return {
|
|
91054
|
-
...expression,
|
|
91055
|
-
condition: {
|
|
91056
|
-
...expression.condition,
|
|
91057
|
-
dataPath: this.pathResolver(expression.condition.dataPath)
|
|
91058
|
-
}
|
|
91059
|
-
};
|
|
91060
|
-
}
|
|
91061
|
-
transformEqualExpression(expression) {
|
|
91062
|
-
return {
|
|
91063
|
-
...expression,
|
|
91064
|
-
condition: {
|
|
91065
|
-
...expression.condition,
|
|
91066
|
-
dataPath: this.pathResolver(expression.condition.dataPath)
|
|
91067
|
-
}
|
|
91068
|
-
};
|
|
91069
|
-
}
|
|
91070
|
-
transformOrExpression(expression) {
|
|
91071
|
-
return {
|
|
91072
|
-
...expression,
|
|
91073
|
-
conditions: expression.conditions.map(x => this.transformExpression(x))
|
|
91074
|
-
};
|
|
91075
|
-
}
|
|
91076
|
-
transformStartDateExpression(expression) {
|
|
91077
|
-
return {
|
|
91078
|
-
...expression,
|
|
91079
|
-
condition: {
|
|
91080
|
-
...expression.condition,
|
|
91081
|
-
dataPath: this.pathResolver(expression.condition.dataPath)
|
|
91082
|
-
}
|
|
91083
|
-
};
|
|
91084
|
-
}
|
|
91085
|
-
transformSubstringExpression(expression) {
|
|
91086
|
-
return {
|
|
91087
|
-
...expression,
|
|
91088
|
-
condition: {
|
|
91089
|
-
...expression.condition,
|
|
91090
|
-
dataPath: this.pathResolver(expression.condition.dataPath)
|
|
91091
|
-
}
|
|
91092
|
-
};
|
|
91093
|
-
}
|
|
91094
|
-
transformByInstancesExpression(expression) {
|
|
91095
|
-
return {
|
|
91096
|
-
...expression,
|
|
91097
|
-
condition: {
|
|
91098
|
-
...expression.condition,
|
|
91099
|
-
dataPath: this.pathResolver(expression.condition.dataPath)
|
|
91100
|
-
}
|
|
91101
|
-
};
|
|
91102
|
-
}
|
|
91103
|
-
transformUnaryNotExpression(expression) {
|
|
91104
|
-
return {
|
|
91105
|
-
...expression,
|
|
91106
|
-
condition: this.transformExpression(expression.condition)
|
|
91107
|
-
};
|
|
91525
|
+
throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_0__.SugarNodeReadingError("Item children must be a single string", (_children$ = children[1]) !== null && _children$ !== void 0 ? _children$ : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_6__.reject)());
|
|
91108
91526
|
}
|
|
91109
91527
|
}
|
|
91110
91528
|
|
|
@@ -97169,267 +97587,6 @@ let FiasNode = (_dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE
|
|
|
97169
97587
|
|
|
97170
97588
|
/***/ }),
|
|
97171
97589
|
|
|
97172
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderConverter.ts":
|
|
97173
|
-
/*!*******************************************************************************************************************!*\
|
|
97174
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderConverter.ts ***!
|
|
97175
|
-
\*******************************************************************************************************************/
|
|
97176
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
97177
|
-
|
|
97178
|
-
"use strict";
|
|
97179
|
-
__webpack_require__.r(__webpack_exports__);
|
|
97180
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
97181
|
-
/* harmony export */ FileLoaderConverter: () => (/* binding */ FileLoaderConverter)
|
|
97182
|
-
/* harmony export */ });
|
|
97183
|
-
/* harmony import */ var _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../common/XmlParser/XmlNode */ "./Generator/src/common/XmlParser/XmlNode.ts");
|
|
97184
|
-
/* harmony import */ var _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../validationGenerator/Nodes/TypeNode */ "./Generator/src/generators/validationGenerator/Nodes/TypeNode.ts");
|
|
97185
|
-
/* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../DataDeclarationGenerator/DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
|
|
97186
|
-
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
97187
|
-
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
97188
|
-
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
97189
|
-
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
97190
|
-
/* harmony import */ var _Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../Common/PathConstants */ "./Common/PathConstants.ts");
|
|
97191
|
-
/* harmony import */ var _FileLoader_AddButtonNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./FileLoader/AddButtonNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/AddButtonNode.ts");
|
|
97192
|
-
/* harmony import */ var _FileLoader_ReplaceButtonNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./FileLoader/ReplaceButtonNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/ReplaceButtonNode.ts");
|
|
97193
|
-
/* harmony import */ var _FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./FileLoaderNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderNode.ts");
|
|
97194
|
-
|
|
97195
|
-
|
|
97196
|
-
|
|
97197
|
-
|
|
97198
|
-
|
|
97199
|
-
|
|
97200
|
-
|
|
97201
|
-
|
|
97202
|
-
|
|
97203
|
-
|
|
97204
|
-
|
|
97205
|
-
class FileLoaderConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4__.SugarNodeConverterBase {
|
|
97206
|
-
static getAcceptNodeClass() {
|
|
97207
|
-
return _FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode;
|
|
97208
|
-
}
|
|
97209
|
-
*getAttachmentPaths(context) {
|
|
97210
|
-
const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
|
|
97211
|
-
const multipleNode = !node.single;
|
|
97212
|
-
if (multipleNode) {
|
|
97213
|
-
yield node.getFullPath().joinWith(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.PathTokens.each).joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath);
|
|
97214
|
-
} else {
|
|
97215
|
-
yield node.getFullPath().joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath);
|
|
97216
|
-
}
|
|
97217
|
-
}
|
|
97218
|
-
doBuildNodeValidations(validationGenerator, context) {
|
|
97219
|
-
const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
|
|
97220
|
-
const multipleNode = !node.single;
|
|
97221
|
-
validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, {
|
|
97222
|
-
multiple: multipleNode
|
|
97223
|
-
});
|
|
97224
|
-
}
|
|
97225
|
-
doBuildDataDeclaration(context) {
|
|
97226
|
-
const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
|
|
97227
|
-
return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node), this.addAttachmentPathDeclEntry(context, node));
|
|
97228
|
-
}
|
|
97229
|
-
buildChildrenDataDeclaration() {
|
|
97230
|
-
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__.emptyDataDeclarationCollection;
|
|
97231
|
-
}
|
|
97232
|
-
*doTraverseChildren() {
|
|
97233
|
-
// no children
|
|
97234
|
-
}
|
|
97235
|
-
doConvert(context) {
|
|
97236
|
-
const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
|
|
97237
|
-
const multipleNode = !node.single;
|
|
97238
|
-
if (multipleNode) {
|
|
97239
|
-
this.ensurePathExists(node, node.path);
|
|
97240
|
-
}
|
|
97241
|
-
const attachmentType = this.selectAttachmentTypeNode(context);
|
|
97242
|
-
const mb = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader");
|
|
97243
|
-
mb.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_5__.getNewBindingPathExpression)(node));
|
|
97244
|
-
mb.prop(x => x.multiple).set(multipleNode);
|
|
97245
|
-
mb.prop(x => x.count).set(attachmentType.count);
|
|
97246
|
-
mb.prop(x => x.countExceededDescription).set(attachmentType.countExceededDescription);
|
|
97247
|
-
// @ts-ignore
|
|
97248
|
-
mb.prop(x => x.extentions).set(attachmentType.extentions);
|
|
97249
|
-
mb.prop(x => x.maxSize).set(attachmentType.maxSize);
|
|
97250
|
-
mb.prop(x => x.AttachmentTypeHasCountOne).set(attachmentType.count !== 1);
|
|
97251
|
-
// @ts-ignore Такого свойства нет, но я сегодня устал
|
|
97252
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
97253
|
-
mb.prop(x => x.totalSize).set(attachmentType.totalSize);
|
|
97254
|
-
mb.prop(x => x.width).set(node.width);
|
|
97255
|
-
if (node.viewFile) {
|
|
97256
|
-
const viewFileBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.ViewFile");
|
|
97257
|
-
if (node.viewFile && node.viewFile.removeButton) {
|
|
97258
|
-
var _node$viewFile;
|
|
97259
|
-
const removeButtonBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.RemoveButton");
|
|
97260
|
-
removeButtonBuilder.appendChildren(this.convertChildren(context, (_node$viewFile = node.viewFile) === null || _node$viewFile === void 0 ? void 0 : _node$viewFile.removeButton.children));
|
|
97261
|
-
viewFileBuilder.appendChild(removeButtonBuilder);
|
|
97262
|
-
}
|
|
97263
|
-
mb.appendChild(viewFileBuilder);
|
|
97264
|
-
}
|
|
97265
|
-
if (node.menu) {
|
|
97266
|
-
const fileMenuBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.Menu");
|
|
97267
|
-
if (node.menu.addLine) {
|
|
97268
|
-
const addLineBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.AddLine");
|
|
97269
|
-
addLineBuilder.appendChildren(this.convertChildren(context, node.menu.addLine.children));
|
|
97270
|
-
fileMenuBuilder.appendChild(addLineBuilder);
|
|
97271
|
-
}
|
|
97272
|
-
if (node.menu.replaceLine) {
|
|
97273
|
-
const replaceLineBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.ReplaceLine");
|
|
97274
|
-
replaceLineBuilder.appendChildren(this.convertChildren(context, node.menu.replaceLine.children));
|
|
97275
|
-
fileMenuBuilder.appendChild(replaceLineBuilder);
|
|
97276
|
-
}
|
|
97277
|
-
mb.appendChild(fileMenuBuilder);
|
|
97278
|
-
}
|
|
97279
|
-
return mb.buildConverterResult();
|
|
97280
|
-
}
|
|
97281
|
-
addAttachmentPathDeclEntry(context, node) {
|
|
97282
|
-
var _context$getTypeNode;
|
|
97283
|
-
const attachmentType = (_context$getTypeNode = context.getTypeNode(node)) === null || _context$getTypeNode === void 0 ? void 0 : _context$getTypeNode.children.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.AttachmentsTypeCheckNode));
|
|
97284
|
-
const fileLoaderPath = (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_5__.getNewBindingPathExpression)(node);
|
|
97285
|
-
const additionalPath = node.single ? (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.emptyModelPath)().joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath) : (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.emptyModelPath)().joinWith(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.PathTokens.each).joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath);
|
|
97286
|
-
return context.mergeDataDeclaration({
|
|
97287
|
-
[fileLoaderPath.toLegacyPath()]: {
|
|
97288
|
-
fnsConvertFileExtentions: attachmentType === null || attachmentType === void 0 ? void 0 : attachmentType.fnsConvertFileExtentions
|
|
97289
|
-
}
|
|
97290
|
-
}, context.addChildPathSectionDeclarationEntry(node, additionalPath, false));
|
|
97291
|
-
}
|
|
97292
|
-
convertChildren(context, nodes = []) {
|
|
97293
|
-
return nodes.map(node => {
|
|
97294
|
-
if (node instanceof _FileLoader_AddButtonNode__WEBPACK_IMPORTED_MODULE_8__.AddButtonNode) {
|
|
97295
|
-
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.AddButton");
|
|
97296
|
-
markupBuilder.appendChild(context.convertChildNodes(node.children));
|
|
97297
|
-
return markupBuilder.buildConverterResult();
|
|
97298
|
-
}
|
|
97299
|
-
if (node instanceof _FileLoader_ReplaceButtonNode__WEBPACK_IMPORTED_MODULE_9__.ReplaceButtonNode) {
|
|
97300
|
-
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.ReplaceButton");
|
|
97301
|
-
markupBuilder.appendChild(context.convertChildNodes(node.children));
|
|
97302
|
-
return markupBuilder.buildConverterResult();
|
|
97303
|
-
}
|
|
97304
|
-
return context.convertChildNodes([node]);
|
|
97305
|
-
});
|
|
97306
|
-
}
|
|
97307
|
-
|
|
97308
|
-
// @ts-expect-error NOTE: метoд оставлен т.к. понадобится при рефакторнге FileLoader
|
|
97309
|
-
isMultipleFilesLoadingAllowed(context) {
|
|
97310
|
-
const attachmentType = this.selectAttachmentTypeNode(context);
|
|
97311
|
-
const singleFileLoadingRequired = attachmentType.count === 1;
|
|
97312
|
-
return !singleFileLoadingRequired;
|
|
97313
|
-
}
|
|
97314
|
-
selectAttachmentTypeNode(context) {
|
|
97315
|
-
var _context$getTypeNode2;
|
|
97316
|
-
const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
|
|
97317
|
-
const attachmentTypeNode = (_context$getTypeNode2 = context.getTypeNode(node)) === null || _context$getTypeNode2 === void 0 ? void 0 : _context$getTypeNode2.children.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.AttachmentsTypeCheckNode));
|
|
97318
|
-
this.ensureAttachmentTypeDefined(attachmentTypeNode);
|
|
97319
|
-
return attachmentTypeNode;
|
|
97320
|
-
}
|
|
97321
|
-
ensureAttachmentTypeDefined(attachmentTypeNode) {
|
|
97322
|
-
const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
|
|
97323
|
-
if (attachmentTypeNode == undefined) {
|
|
97324
|
-
throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_0__.SugarAttributeReadError(`Failed generate fileloader without 'attachments' type node`, node, "type");
|
|
97325
|
-
}
|
|
97326
|
-
}
|
|
97327
|
-
}
|
|
97328
|
-
|
|
97329
|
-
/***/ }),
|
|
97330
|
-
|
|
97331
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderNode.ts":
|
|
97332
|
-
/*!**************************************************************************************************************!*\
|
|
97333
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderNode.ts ***!
|
|
97334
|
-
\**************************************************************************************************************/
|
|
97335
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
97336
|
-
|
|
97337
|
-
"use strict";
|
|
97338
|
-
__webpack_require__.r(__webpack_exports__);
|
|
97339
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
97340
|
-
/* harmony export */ FileLoaderNode: () => (/* binding */ FileLoaderNode)
|
|
97341
|
-
/* harmony export */ });
|
|
97342
|
-
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
|
|
97343
|
-
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
97344
|
-
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
|
|
97345
|
-
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
|
|
97346
|
-
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
|
|
97347
|
-
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
|
|
97348
|
-
/* harmony import */ var _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../validationGenerator/Nodes/TypeNode */ "./Generator/src/generators/validationGenerator/Nodes/TypeNode.ts");
|
|
97349
|
-
/* harmony import */ var _CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/ValidationInfoNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/ValidationInfoNode.ts");
|
|
97350
|
-
/* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
|
|
97351
|
-
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
97352
|
-
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
97353
|
-
/* harmony import */ var _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../Serializer/DeprecationReason */ "./Generator/src/generators/markupGenerator/Serializer/DeprecationReason.ts");
|
|
97354
|
-
/* harmony import */ var _FileLoader_MenuNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./FileLoader/MenuNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/MenuNode.ts");
|
|
97355
|
-
/* harmony import */ var _FileLoader_ViewFileNode__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./FileLoader/ViewFileNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/ViewFileNode.ts");
|
|
97356
|
-
|
|
97357
|
-
|
|
97358
|
-
|
|
97359
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;
|
|
97360
|
-
|
|
97361
|
-
|
|
97362
|
-
|
|
97363
|
-
|
|
97364
|
-
|
|
97365
|
-
|
|
97366
|
-
|
|
97367
|
-
|
|
97368
|
-
let FileLoaderNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("fileloader", `Загрузка файлов в форму`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_4__.ValidationInfoNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("type", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.typeName, "Тип для валидации значений"), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Относительный путь по которому будут храниться аттачменты. Указывается относительно каталога sugar`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Ширина контрола`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("single", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean.default(false), `Подразумевает возможность загрузить только 1 файл`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("multiple", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_8__.DeprecationReason.Removed), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("viewfile", [_FileLoader_ViewFileNode__WEBPACK_IMPORTED_MODULE_10__.ViewFileNode]), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("menu", [_FileLoader_MenuNode__WEBPACK_IMPORTED_MODULE_9__.MenuNode]), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("type", [_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_3__.TypeNode]), _dec(_class = (_class2 = class FileLoaderNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__.SugarNodeWithLegacyVisibility {
|
|
97369
|
-
constructor(...args) {
|
|
97370
|
-
super(...args);
|
|
97371
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "validationInfo", _descriptor, this);
|
|
97372
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type", _descriptor2, this);
|
|
97373
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor3, this);
|
|
97374
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor4, this);
|
|
97375
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "single", _descriptor5, this);
|
|
97376
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multiple", _descriptor6, this);
|
|
97377
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "viewFile", _descriptor7, this);
|
|
97378
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "menu", _descriptor8, this);
|
|
97379
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "anonymousType", _descriptor9, this);
|
|
97380
|
-
}
|
|
97381
|
-
getOwnPath() {
|
|
97382
|
-
return this.path != undefined ? (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.createFromMask)(this.path, "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.PathTokens.each) : undefined;
|
|
97383
|
-
}
|
|
97384
|
-
}, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "validationInfo", [_dec2], {
|
|
97385
|
-
configurable: true,
|
|
97386
|
-
enumerable: true,
|
|
97387
|
-
writable: true,
|
|
97388
|
-
initializer: null
|
|
97389
|
-
}), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "type", [_dec3], {
|
|
97390
|
-
configurable: true,
|
|
97391
|
-
enumerable: true,
|
|
97392
|
-
writable: true,
|
|
97393
|
-
initializer: null
|
|
97394
|
-
}), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "path", [_dec4], {
|
|
97395
|
-
configurable: true,
|
|
97396
|
-
enumerable: true,
|
|
97397
|
-
writable: true,
|
|
97398
|
-
initializer: null
|
|
97399
|
-
}), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "width", [_dec5], {
|
|
97400
|
-
configurable: true,
|
|
97401
|
-
enumerable: true,
|
|
97402
|
-
writable: true,
|
|
97403
|
-
initializer: null
|
|
97404
|
-
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "single", [_dec6], {
|
|
97405
|
-
configurable: true,
|
|
97406
|
-
enumerable: true,
|
|
97407
|
-
writable: true,
|
|
97408
|
-
initializer: null
|
|
97409
|
-
}), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "multiple", [_dec7], {
|
|
97410
|
-
configurable: true,
|
|
97411
|
-
enumerable: true,
|
|
97412
|
-
writable: true,
|
|
97413
|
-
initializer: null
|
|
97414
|
-
}), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "viewFile", [_dec8], {
|
|
97415
|
-
configurable: true,
|
|
97416
|
-
enumerable: true,
|
|
97417
|
-
writable: true,
|
|
97418
|
-
initializer: null
|
|
97419
|
-
}), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "menu", [_dec9], {
|
|
97420
|
-
configurable: true,
|
|
97421
|
-
enumerable: true,
|
|
97422
|
-
writable: true,
|
|
97423
|
-
initializer: null
|
|
97424
|
-
}), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "anonymousType", [_dec10], {
|
|
97425
|
-
configurable: true,
|
|
97426
|
-
enumerable: true,
|
|
97427
|
-
writable: true,
|
|
97428
|
-
initializer: null
|
|
97429
|
-
}), _class2)) || _class);
|
|
97430
|
-
|
|
97431
|
-
/***/ }),
|
|
97432
|
-
|
|
97433
97590
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/AddButtonNode.ts":
|
|
97434
97591
|
/*!************************************************************************************************************************!*\
|
|
97435
97592
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/AddButtonNode.ts ***!
|
|
@@ -97713,6 +97870,267 @@ let ViewFileNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODU
|
|
|
97713
97870
|
|
|
97714
97871
|
/***/ }),
|
|
97715
97872
|
|
|
97873
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderConverter.ts":
|
|
97874
|
+
/*!*******************************************************************************************************************!*\
|
|
97875
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderConverter.ts ***!
|
|
97876
|
+
\*******************************************************************************************************************/
|
|
97877
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
97878
|
+
|
|
97879
|
+
"use strict";
|
|
97880
|
+
__webpack_require__.r(__webpack_exports__);
|
|
97881
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
97882
|
+
/* harmony export */ FileLoaderConverter: () => (/* binding */ FileLoaderConverter)
|
|
97883
|
+
/* harmony export */ });
|
|
97884
|
+
/* harmony import */ var _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../common/XmlParser/XmlNode */ "./Generator/src/common/XmlParser/XmlNode.ts");
|
|
97885
|
+
/* harmony import */ var _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../validationGenerator/Nodes/TypeNode */ "./Generator/src/generators/validationGenerator/Nodes/TypeNode.ts");
|
|
97886
|
+
/* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../DataDeclarationGenerator/DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
|
|
97887
|
+
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
97888
|
+
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
97889
|
+
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
97890
|
+
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
97891
|
+
/* harmony import */ var _Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../Common/PathConstants */ "./Common/PathConstants.ts");
|
|
97892
|
+
/* harmony import */ var _FileLoader_AddButtonNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./FileLoader/AddButtonNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/AddButtonNode.ts");
|
|
97893
|
+
/* harmony import */ var _FileLoader_ReplaceButtonNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./FileLoader/ReplaceButtonNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/ReplaceButtonNode.ts");
|
|
97894
|
+
/* harmony import */ var _FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./FileLoaderNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderNode.ts");
|
|
97895
|
+
|
|
97896
|
+
|
|
97897
|
+
|
|
97898
|
+
|
|
97899
|
+
|
|
97900
|
+
|
|
97901
|
+
|
|
97902
|
+
|
|
97903
|
+
|
|
97904
|
+
|
|
97905
|
+
|
|
97906
|
+
class FileLoaderConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4__.SugarNodeConverterBase {
|
|
97907
|
+
static getAcceptNodeClass() {
|
|
97908
|
+
return _FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode;
|
|
97909
|
+
}
|
|
97910
|
+
*getAttachmentPaths(context) {
|
|
97911
|
+
const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
|
|
97912
|
+
const multipleNode = !node.single;
|
|
97913
|
+
if (multipleNode) {
|
|
97914
|
+
yield node.getFullPath().joinWith(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.PathTokens.each).joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath);
|
|
97915
|
+
} else {
|
|
97916
|
+
yield node.getFullPath().joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath);
|
|
97917
|
+
}
|
|
97918
|
+
}
|
|
97919
|
+
doBuildNodeValidations(validationGenerator, context) {
|
|
97920
|
+
const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
|
|
97921
|
+
const multipleNode = !node.single;
|
|
97922
|
+
validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, {
|
|
97923
|
+
multiple: multipleNode
|
|
97924
|
+
});
|
|
97925
|
+
}
|
|
97926
|
+
doBuildDataDeclaration(context) {
|
|
97927
|
+
const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
|
|
97928
|
+
return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node), this.addAttachmentPathDeclEntry(context, node));
|
|
97929
|
+
}
|
|
97930
|
+
buildChildrenDataDeclaration() {
|
|
97931
|
+
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__.emptyDataDeclarationCollection;
|
|
97932
|
+
}
|
|
97933
|
+
*doTraverseChildren() {
|
|
97934
|
+
// no children
|
|
97935
|
+
}
|
|
97936
|
+
doConvert(context) {
|
|
97937
|
+
const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
|
|
97938
|
+
const multipleNode = !node.single;
|
|
97939
|
+
if (multipleNode) {
|
|
97940
|
+
this.ensurePathExists(node, node.path);
|
|
97941
|
+
}
|
|
97942
|
+
const attachmentType = this.selectAttachmentTypeNode(context);
|
|
97943
|
+
const mb = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader");
|
|
97944
|
+
mb.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_5__.getNewBindingPathExpression)(node));
|
|
97945
|
+
mb.prop(x => x.multiple).set(multipleNode);
|
|
97946
|
+
mb.prop(x => x.count).set(attachmentType.count);
|
|
97947
|
+
mb.prop(x => x.countExceededDescription).set(attachmentType.countExceededDescription);
|
|
97948
|
+
// @ts-ignore
|
|
97949
|
+
mb.prop(x => x.extentions).set(attachmentType.extentions);
|
|
97950
|
+
mb.prop(x => x.maxSize).set(attachmentType.maxSize);
|
|
97951
|
+
mb.prop(x => x.AttachmentTypeHasCountOne).set(attachmentType.count !== 1);
|
|
97952
|
+
// @ts-ignore Такого свойства нет, но я сегодня устал
|
|
97953
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
97954
|
+
mb.prop(x => x.totalSize).set(attachmentType.totalSize);
|
|
97955
|
+
mb.prop(x => x.width).set(node.width);
|
|
97956
|
+
if (node.viewFile) {
|
|
97957
|
+
const viewFileBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.ViewFile");
|
|
97958
|
+
if (node.viewFile && node.viewFile.removeButton) {
|
|
97959
|
+
var _node$viewFile;
|
|
97960
|
+
const removeButtonBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.RemoveButton");
|
|
97961
|
+
removeButtonBuilder.appendChildren(this.convertChildren(context, (_node$viewFile = node.viewFile) === null || _node$viewFile === void 0 ? void 0 : _node$viewFile.removeButton.children));
|
|
97962
|
+
viewFileBuilder.appendChild(removeButtonBuilder);
|
|
97963
|
+
}
|
|
97964
|
+
mb.appendChild(viewFileBuilder);
|
|
97965
|
+
}
|
|
97966
|
+
if (node.menu) {
|
|
97967
|
+
const fileMenuBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.Menu");
|
|
97968
|
+
if (node.menu.addLine) {
|
|
97969
|
+
const addLineBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.AddLine");
|
|
97970
|
+
addLineBuilder.appendChildren(this.convertChildren(context, node.menu.addLine.children));
|
|
97971
|
+
fileMenuBuilder.appendChild(addLineBuilder);
|
|
97972
|
+
}
|
|
97973
|
+
if (node.menu.replaceLine) {
|
|
97974
|
+
const replaceLineBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.ReplaceLine");
|
|
97975
|
+
replaceLineBuilder.appendChildren(this.convertChildren(context, node.menu.replaceLine.children));
|
|
97976
|
+
fileMenuBuilder.appendChild(replaceLineBuilder);
|
|
97977
|
+
}
|
|
97978
|
+
mb.appendChild(fileMenuBuilder);
|
|
97979
|
+
}
|
|
97980
|
+
return mb.buildConverterResult();
|
|
97981
|
+
}
|
|
97982
|
+
addAttachmentPathDeclEntry(context, node) {
|
|
97983
|
+
var _context$getTypeNode;
|
|
97984
|
+
const attachmentType = (_context$getTypeNode = context.getTypeNode(node)) === null || _context$getTypeNode === void 0 ? void 0 : _context$getTypeNode.children.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.AttachmentsTypeCheckNode));
|
|
97985
|
+
const fileLoaderPath = (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_5__.getNewBindingPathExpression)(node);
|
|
97986
|
+
const additionalPath = node.single ? (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.emptyModelPath)().joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath) : (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.emptyModelPath)().joinWith(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.PathTokens.each).joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath);
|
|
97987
|
+
return context.mergeDataDeclaration({
|
|
97988
|
+
[fileLoaderPath.toLegacyPath()]: {
|
|
97989
|
+
fnsConvertFileExtentions: attachmentType === null || attachmentType === void 0 ? void 0 : attachmentType.fnsConvertFileExtentions
|
|
97990
|
+
}
|
|
97991
|
+
}, context.addChildPathSectionDeclarationEntry(node, additionalPath, false));
|
|
97992
|
+
}
|
|
97993
|
+
convertChildren(context, nodes = []) {
|
|
97994
|
+
return nodes.map(node => {
|
|
97995
|
+
if (node instanceof _FileLoader_AddButtonNode__WEBPACK_IMPORTED_MODULE_8__.AddButtonNode) {
|
|
97996
|
+
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.AddButton");
|
|
97997
|
+
markupBuilder.appendChild(context.convertChildNodes(node.children));
|
|
97998
|
+
return markupBuilder.buildConverterResult();
|
|
97999
|
+
}
|
|
98000
|
+
if (node instanceof _FileLoader_ReplaceButtonNode__WEBPACK_IMPORTED_MODULE_9__.ReplaceButtonNode) {
|
|
98001
|
+
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.ReplaceButton");
|
|
98002
|
+
markupBuilder.appendChild(context.convertChildNodes(node.children));
|
|
98003
|
+
return markupBuilder.buildConverterResult();
|
|
98004
|
+
}
|
|
98005
|
+
return context.convertChildNodes([node]);
|
|
98006
|
+
});
|
|
98007
|
+
}
|
|
98008
|
+
|
|
98009
|
+
// @ts-expect-error NOTE: метoд оставлен т.к. понадобится при рефакторнге FileLoader
|
|
98010
|
+
isMultipleFilesLoadingAllowed(context) {
|
|
98011
|
+
const attachmentType = this.selectAttachmentTypeNode(context);
|
|
98012
|
+
const singleFileLoadingRequired = attachmentType.count === 1;
|
|
98013
|
+
return !singleFileLoadingRequired;
|
|
98014
|
+
}
|
|
98015
|
+
selectAttachmentTypeNode(context) {
|
|
98016
|
+
var _context$getTypeNode2;
|
|
98017
|
+
const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
|
|
98018
|
+
const attachmentTypeNode = (_context$getTypeNode2 = context.getTypeNode(node)) === null || _context$getTypeNode2 === void 0 ? void 0 : _context$getTypeNode2.children.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.AttachmentsTypeCheckNode));
|
|
98019
|
+
this.ensureAttachmentTypeDefined(attachmentTypeNode);
|
|
98020
|
+
return attachmentTypeNode;
|
|
98021
|
+
}
|
|
98022
|
+
ensureAttachmentTypeDefined(attachmentTypeNode) {
|
|
98023
|
+
const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
|
|
98024
|
+
if (attachmentTypeNode == undefined) {
|
|
98025
|
+
throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_0__.SugarAttributeReadError(`Failed generate fileloader without 'attachments' type node`, node, "type");
|
|
98026
|
+
}
|
|
98027
|
+
}
|
|
98028
|
+
}
|
|
98029
|
+
|
|
98030
|
+
/***/ }),
|
|
98031
|
+
|
|
98032
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderNode.ts":
|
|
98033
|
+
/*!**************************************************************************************************************!*\
|
|
98034
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderNode.ts ***!
|
|
98035
|
+
\**************************************************************************************************************/
|
|
98036
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
98037
|
+
|
|
98038
|
+
"use strict";
|
|
98039
|
+
__webpack_require__.r(__webpack_exports__);
|
|
98040
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
98041
|
+
/* harmony export */ FileLoaderNode: () => (/* binding */ FileLoaderNode)
|
|
98042
|
+
/* harmony export */ });
|
|
98043
|
+
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
|
|
98044
|
+
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
98045
|
+
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
|
|
98046
|
+
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
|
|
98047
|
+
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
|
|
98048
|
+
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
|
|
98049
|
+
/* harmony import */ var _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../validationGenerator/Nodes/TypeNode */ "./Generator/src/generators/validationGenerator/Nodes/TypeNode.ts");
|
|
98050
|
+
/* harmony import */ var _CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/ValidationInfoNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/ValidationInfoNode.ts");
|
|
98051
|
+
/* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
|
|
98052
|
+
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
98053
|
+
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
98054
|
+
/* harmony import */ var _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../Serializer/DeprecationReason */ "./Generator/src/generators/markupGenerator/Serializer/DeprecationReason.ts");
|
|
98055
|
+
/* harmony import */ var _FileLoader_MenuNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./FileLoader/MenuNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/MenuNode.ts");
|
|
98056
|
+
/* harmony import */ var _FileLoader_ViewFileNode__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./FileLoader/ViewFileNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/ViewFileNode.ts");
|
|
98057
|
+
|
|
98058
|
+
|
|
98059
|
+
|
|
98060
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;
|
|
98061
|
+
|
|
98062
|
+
|
|
98063
|
+
|
|
98064
|
+
|
|
98065
|
+
|
|
98066
|
+
|
|
98067
|
+
|
|
98068
|
+
|
|
98069
|
+
let FileLoaderNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("fileloader", `Загрузка файлов в форму`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_4__.ValidationInfoNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("type", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.typeName, "Тип для валидации значений"), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Относительный путь по которому будут храниться аттачменты. Указывается относительно каталога sugar`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Ширина контрола`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("single", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean.default(false), `Подразумевает возможность загрузить только 1 файл`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("multiple", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_8__.DeprecationReason.Removed), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("viewfile", [_FileLoader_ViewFileNode__WEBPACK_IMPORTED_MODULE_10__.ViewFileNode]), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("menu", [_FileLoader_MenuNode__WEBPACK_IMPORTED_MODULE_9__.MenuNode]), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("type", [_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_3__.TypeNode]), _dec(_class = (_class2 = class FileLoaderNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__.SugarNodeWithLegacyVisibility {
|
|
98070
|
+
constructor(...args) {
|
|
98071
|
+
super(...args);
|
|
98072
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "validationInfo", _descriptor, this);
|
|
98073
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type", _descriptor2, this);
|
|
98074
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor3, this);
|
|
98075
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor4, this);
|
|
98076
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "single", _descriptor5, this);
|
|
98077
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multiple", _descriptor6, this);
|
|
98078
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "viewFile", _descriptor7, this);
|
|
98079
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "menu", _descriptor8, this);
|
|
98080
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "anonymousType", _descriptor9, this);
|
|
98081
|
+
}
|
|
98082
|
+
getOwnPath() {
|
|
98083
|
+
return this.path != undefined ? (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.createFromMask)(this.path, "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.PathTokens.each) : undefined;
|
|
98084
|
+
}
|
|
98085
|
+
}, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "validationInfo", [_dec2], {
|
|
98086
|
+
configurable: true,
|
|
98087
|
+
enumerable: true,
|
|
98088
|
+
writable: true,
|
|
98089
|
+
initializer: null
|
|
98090
|
+
}), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "type", [_dec3], {
|
|
98091
|
+
configurable: true,
|
|
98092
|
+
enumerable: true,
|
|
98093
|
+
writable: true,
|
|
98094
|
+
initializer: null
|
|
98095
|
+
}), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "path", [_dec4], {
|
|
98096
|
+
configurable: true,
|
|
98097
|
+
enumerable: true,
|
|
98098
|
+
writable: true,
|
|
98099
|
+
initializer: null
|
|
98100
|
+
}), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "width", [_dec5], {
|
|
98101
|
+
configurable: true,
|
|
98102
|
+
enumerable: true,
|
|
98103
|
+
writable: true,
|
|
98104
|
+
initializer: null
|
|
98105
|
+
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "single", [_dec6], {
|
|
98106
|
+
configurable: true,
|
|
98107
|
+
enumerable: true,
|
|
98108
|
+
writable: true,
|
|
98109
|
+
initializer: null
|
|
98110
|
+
}), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "multiple", [_dec7], {
|
|
98111
|
+
configurable: true,
|
|
98112
|
+
enumerable: true,
|
|
98113
|
+
writable: true,
|
|
98114
|
+
initializer: null
|
|
98115
|
+
}), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "viewFile", [_dec8], {
|
|
98116
|
+
configurable: true,
|
|
98117
|
+
enumerable: true,
|
|
98118
|
+
writable: true,
|
|
98119
|
+
initializer: null
|
|
98120
|
+
}), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "menu", [_dec9], {
|
|
98121
|
+
configurable: true,
|
|
98122
|
+
enumerable: true,
|
|
98123
|
+
writable: true,
|
|
98124
|
+
initializer: null
|
|
98125
|
+
}), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "anonymousType", [_dec10], {
|
|
98126
|
+
configurable: true,
|
|
98127
|
+
enumerable: true,
|
|
98128
|
+
writable: true,
|
|
98129
|
+
initializer: null
|
|
98130
|
+
}), _class2)) || _class);
|
|
98131
|
+
|
|
98132
|
+
/***/ }),
|
|
98133
|
+
|
|
97716
98134
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/INN/INNConverter.ts":
|
|
97717
98135
|
/*!*****************************************************************************************************!*\
|
|
97718
98136
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/INN/INNConverter.ts ***!
|
|
@@ -99847,400 +100265,6 @@ let RelativesComboBoxNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
|
|
|
99847
100265
|
|
|
99848
100266
|
/***/ }),
|
|
99849
100267
|
|
|
99850
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxConverter.ts":
|
|
99851
|
-
/*!*********************************************************************************************************************************!*\
|
|
99852
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxConverter.ts ***!
|
|
99853
|
-
\*********************************************************************************************************************************/
|
|
99854
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
99855
|
-
|
|
99856
|
-
"use strict";
|
|
99857
|
-
__webpack_require__.r(__webpack_exports__);
|
|
99858
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
99859
|
-
/* harmony export */ SelectAllCheckboxConverter: () => (/* binding */ SelectAllCheckboxConverter)
|
|
99860
|
-
/* harmony export */ });
|
|
99861
|
-
/* harmony import */ var _Engine_src_Controls_FastSelectAllCheckboxesHelper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../Engine/src/Controls/FastSelectAllCheckboxesHelper */ "./Engine/src/Controls/FastSelectAllCheckboxesHelper.ts");
|
|
99862
|
-
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
99863
|
-
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
99864
|
-
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
99865
|
-
/* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
|
|
99866
|
-
/* harmony import */ var _ServerSideFLangNormalization_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../ServerSideFLangNormalization/FLang/FLangCodeDom */ "./Generator/src/generators/ServerSideFLangNormalization/FLang/FLangCodeDom.ts");
|
|
99867
|
-
/* harmony import */ var _SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SelectAllCheckboxNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxNode.ts");
|
|
99868
|
-
|
|
99869
|
-
|
|
99870
|
-
|
|
99871
|
-
|
|
99872
|
-
|
|
99873
|
-
|
|
99874
|
-
|
|
99875
|
-
class SelectAllCheckboxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
|
|
99876
|
-
static getAcceptNodeClass() {
|
|
99877
|
-
return _SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode;
|
|
99878
|
-
}
|
|
99879
|
-
get nodePaths() {
|
|
99880
|
-
const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
|
|
99881
|
-
return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node)];
|
|
99882
|
-
}
|
|
99883
|
-
doBuildDataDeclaration(context) {
|
|
99884
|
-
return {};
|
|
99885
|
-
}
|
|
99886
|
-
doBuildNormalizeRules(builder, formSchemaRng) {
|
|
99887
|
-
var _node$pathToChecked;
|
|
99888
|
-
const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
|
|
99889
|
-
const pathToCheckedArray = (0,_Engine_src_Controls_FastSelectAllCheckboxesHelper__WEBPACK_IMPORTED_MODULE_0__.buildDirtyPathForMultiplicityAndCheckboxPath)(node.getFullPath(), (_node$pathToChecked = node.pathToChecked) !== null && _node$pathToChecked !== void 0 ? _node$pathToChecked : "checked");
|
|
99890
|
-
return node.dirtyModeInstancesCount != undefined ? [new _ServerSideFLangNormalization_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_5__.SetStatement(new _ServerSideFLangNormalization_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_5__.ValueReferenceExpression(pathToCheckedArray, "value"), new _ServerSideFLangNormalization_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_5__.NullLiteralExpression())] : [];
|
|
99891
|
-
}
|
|
99892
|
-
buildChildrenDataDeclaration(context) {
|
|
99893
|
-
const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
|
|
99894
|
-
return context.processChildrenDataDeclaration(node.children);
|
|
99895
|
-
}
|
|
99896
|
-
*doTraverseChildren() {
|
|
99897
|
-
const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
|
|
99898
|
-
yield* node.children;
|
|
99899
|
-
}
|
|
99900
|
-
doConvert(context) {
|
|
99901
|
-
var _node$filteredUniqKey, _node$uncheckedValue, _node$checkedValue;
|
|
99902
|
-
const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
|
|
99903
|
-
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("SelectAllCheckbox");
|
|
99904
|
-
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node));
|
|
99905
|
-
markupBuilder.prop(x => x.pathToChecked).set(node.getPathToChecked());
|
|
99906
|
-
markupBuilder.prop("data-tid").set(node.tid);
|
|
99907
|
-
markupBuilder.prop(x => x.filteredUniqKey).set((_node$filteredUniqKey = node.filteredUniqKey) !== null && _node$filteredUniqKey !== void 0 ? _node$filteredUniqKey : "default");
|
|
99908
|
-
markupBuilder.prop(x => x.uncheckedValue).set((_node$uncheckedValue = node.uncheckedValue) !== null && _node$uncheckedValue !== void 0 ? _node$uncheckedValue : "false");
|
|
99909
|
-
markupBuilder.prop(x => x.checkedValue).set((_node$checkedValue = node.checkedValue) !== null && _node$checkedValue !== void 0 ? _node$checkedValue : "true");
|
|
99910
|
-
markupBuilder.prop(x => x.dirtyModeInstancesCount).set(node.dirtyModeInstancesCount);
|
|
99911
|
-
if (node.disabled2 != undefined) {
|
|
99912
|
-
markupBuilder.prop(x => x.disabled2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_4__.buildExpressionPropValue)(node.disabled2));
|
|
99913
|
-
if (this.getLegacyNode().getParent() != undefined) {
|
|
99914
|
-
markupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
|
|
99915
|
-
}
|
|
99916
|
-
}
|
|
99917
|
-
markupBuilder.appendChild(context.convertChildNodes(node.children));
|
|
99918
|
-
return markupBuilder.buildConverterResult();
|
|
99919
|
-
}
|
|
99920
|
-
}
|
|
99921
|
-
|
|
99922
|
-
/***/ }),
|
|
99923
|
-
|
|
99924
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxNode.ts":
|
|
99925
|
-
/*!****************************************************************************************************************************!*\
|
|
99926
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxNode.ts ***!
|
|
99927
|
-
\****************************************************************************************************************************/
|
|
99928
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
99929
|
-
|
|
99930
|
-
"use strict";
|
|
99931
|
-
__webpack_require__.r(__webpack_exports__);
|
|
99932
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
99933
|
-
/* harmony export */ SelectAllCheckboxNode: () => (/* binding */ SelectAllCheckboxNode)
|
|
99934
|
-
/* harmony export */ });
|
|
99935
|
-
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
|
|
99936
|
-
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
99937
|
-
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
|
|
99938
|
-
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
|
|
99939
|
-
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
|
|
99940
|
-
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
|
|
99941
|
-
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
99942
|
-
/* harmony import */ var _CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/TooltipSettingsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/TooltipSettingsNode.ts");
|
|
99943
|
-
/* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
|
|
99944
|
-
/* harmony import */ var _CommonNodeProperties_FocusManagementNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../CommonNodeProperties/FocusManagementNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/FocusManagementNode.ts");
|
|
99945
|
-
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
99946
|
-
|
|
99947
|
-
|
|
99948
|
-
|
|
99949
|
-
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;
|
|
99950
|
-
|
|
99951
|
-
|
|
99952
|
-
|
|
99953
|
-
|
|
99954
|
-
|
|
99955
|
-
let SelectAllCheckboxNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("selectallcheckbox", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.bindingPath.required, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.bindingPathLink)} данного элемента. Должен указывать на множественный элемент, в котором проставляются галочки.`), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("pathToChecked", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.bindingPath, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.bindingPathLink)} относительного пути (от текущего значения в path) до поля с галочкой. По умолчанию значение 'checked'`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_FocusManagementNode__WEBPACK_IMPORTED_MODULE_6__.FocusManagementNode), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_4__.TooltipSettingsNode), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("filteredUniqKey", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Уникальный ключ фильтрации multiline, используется, для фильтраций одних и тех же путей иннера
|
|
99956
|
-
разными фильтрами. Задается произвольной строкой. Фильтры с одинаковым ключем фильтрации получают одинаковый результат фильтрации`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("dirtyModeInstancesCount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Опция включает режим простановки галочек без фактического расчёта формул и валидаций, зависящих от них`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("checkedValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Значение, которое будет проставлено всем чекбоксам во включенном состоянии. По-умолчанию, "true"`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("uncheckedValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Значение, которое будет проставлено всем чекбоксам в выключенном состоянии. По-умолчанию, "false"`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(undefined, undefined, ["type"]), _dec(_class = (_class2 = class SelectAllCheckboxNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
99957
|
-
constructor(...args) {
|
|
99958
|
-
super(...args);
|
|
99959
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor, this);
|
|
99960
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pathToChecked", _descriptor2, this);
|
|
99961
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "focusManagement", _descriptor3, this);
|
|
99962
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disabled2", _descriptor4, this);
|
|
99963
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tid", _descriptor5, this);
|
|
99964
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tooltipSettings", _descriptor6, this);
|
|
99965
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filteredUniqKey", _descriptor7, this);
|
|
99966
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dirtyModeInstancesCount", _descriptor8, this);
|
|
99967
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "checkedValue", _descriptor9, this);
|
|
99968
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uncheckedValue", _descriptor10, this);
|
|
99969
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor11, this);
|
|
99970
|
-
}
|
|
99971
|
-
getOwnPath() {
|
|
99972
|
-
return this.path != undefined ? (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.createFromMask)(this.path, "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.PathTokens.each) : undefined;
|
|
99973
|
-
}
|
|
99974
|
-
getPathToChecked() {
|
|
99975
|
-
var _this$pathToChecked;
|
|
99976
|
-
return (_this$pathToChecked = this.pathToChecked) !== null && _this$pathToChecked !== void 0 ? _this$pathToChecked : "checked";
|
|
99977
|
-
}
|
|
99978
|
-
}, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "path", [_dec2], {
|
|
99979
|
-
configurable: true,
|
|
99980
|
-
enumerable: true,
|
|
99981
|
-
writable: true,
|
|
99982
|
-
initializer: null
|
|
99983
|
-
}), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pathToChecked", [_dec3], {
|
|
99984
|
-
configurable: true,
|
|
99985
|
-
enumerable: true,
|
|
99986
|
-
writable: true,
|
|
99987
|
-
initializer: null
|
|
99988
|
-
}), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "focusManagement", [_dec4], {
|
|
99989
|
-
configurable: true,
|
|
99990
|
-
enumerable: true,
|
|
99991
|
-
writable: true,
|
|
99992
|
-
initializer: null
|
|
99993
|
-
}), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "disabled2", [_dec5], {
|
|
99994
|
-
configurable: true,
|
|
99995
|
-
enumerable: true,
|
|
99996
|
-
writable: true,
|
|
99997
|
-
initializer: null
|
|
99998
|
-
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tid", [_dec6], {
|
|
99999
|
-
configurable: true,
|
|
100000
|
-
enumerable: true,
|
|
100001
|
-
writable: true,
|
|
100002
|
-
initializer: null
|
|
100003
|
-
}), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tooltipSettings", [_dec7], {
|
|
100004
|
-
configurable: true,
|
|
100005
|
-
enumerable: true,
|
|
100006
|
-
writable: true,
|
|
100007
|
-
initializer: null
|
|
100008
|
-
}), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "filteredUniqKey", [_dec8], {
|
|
100009
|
-
configurable: true,
|
|
100010
|
-
enumerable: true,
|
|
100011
|
-
writable: true,
|
|
100012
|
-
initializer: null
|
|
100013
|
-
}), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dirtyModeInstancesCount", [_dec9], {
|
|
100014
|
-
configurable: true,
|
|
100015
|
-
enumerable: true,
|
|
100016
|
-
writable: true,
|
|
100017
|
-
initializer: null
|
|
100018
|
-
}), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "checkedValue", [_dec10], {
|
|
100019
|
-
configurable: true,
|
|
100020
|
-
enumerable: true,
|
|
100021
|
-
writable: true,
|
|
100022
|
-
initializer: null
|
|
100023
|
-
}), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "uncheckedValue", [_dec11], {
|
|
100024
|
-
configurable: true,
|
|
100025
|
-
enumerable: true,
|
|
100026
|
-
writable: true,
|
|
100027
|
-
initializer: null
|
|
100028
|
-
}), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec12], {
|
|
100029
|
-
configurable: true,
|
|
100030
|
-
enumerable: true,
|
|
100031
|
-
writable: true,
|
|
100032
|
-
initializer: null
|
|
100033
|
-
}), _class2)) || _class);
|
|
100034
|
-
|
|
100035
|
-
/***/ }),
|
|
100036
|
-
|
|
100037
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxConverter.ts":
|
|
100038
|
-
/*!***************************************************************************************************************************!*\
|
|
100039
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxConverter.ts ***!
|
|
100040
|
-
\***************************************************************************************************************************/
|
|
100041
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
100042
|
-
|
|
100043
|
-
"use strict";
|
|
100044
|
-
__webpack_require__.r(__webpack_exports__);
|
|
100045
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
100046
|
-
/* harmony export */ SelectCheckboxConverter: () => (/* binding */ SelectCheckboxConverter)
|
|
100047
|
-
/* harmony export */ });
|
|
100048
|
-
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
100049
|
-
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
100050
|
-
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
100051
|
-
/* harmony import */ var _CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/SetTooltipSettingsProps */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/SetTooltipSettingsProps.ts");
|
|
100052
|
-
/* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
|
|
100053
|
-
/* harmony import */ var _SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./SelectCheckboxNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxNode.ts");
|
|
100054
|
-
|
|
100055
|
-
|
|
100056
|
-
|
|
100057
|
-
|
|
100058
|
-
|
|
100059
|
-
|
|
100060
|
-
class SelectCheckboxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
|
|
100061
|
-
static getAcceptNodeClass() {
|
|
100062
|
-
return _SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode;
|
|
100063
|
-
}
|
|
100064
|
-
get nodePaths() {
|
|
100065
|
-
const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
|
|
100066
|
-
return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node)];
|
|
100067
|
-
}
|
|
100068
|
-
doBuildNodeValidations(validationGenerator) {
|
|
100069
|
-
const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
|
|
100070
|
-
validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, undefined);
|
|
100071
|
-
}
|
|
100072
|
-
doBuildDataDeclaration(context) {
|
|
100073
|
-
const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
|
|
100074
|
-
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, false, this.getDefaultValue(node))]]), context.addSpecialFieldsEntry(node, {
|
|
100075
|
-
optional: node.dataBinding.optional
|
|
100076
|
-
}), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
|
|
100077
|
-
}
|
|
100078
|
-
doBuildNormalizeRules(builder) {
|
|
100079
|
-
const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
|
|
100080
|
-
return [builder.valueInitializer(node, node.dataBinding, false)];
|
|
100081
|
-
}
|
|
100082
|
-
getDefaultValue(node) {
|
|
100083
|
-
var _node$dataBinding$def;
|
|
100084
|
-
const defaultValue = (_node$dataBinding$def = node.dataBinding.defaultValue) !== null && _node$dataBinding$def !== void 0 ? _node$dataBinding$def : "";
|
|
100085
|
-
if (defaultValue) {
|
|
100086
|
-
if (defaultValue === "checked" || defaultValue === node.checkedValue) {
|
|
100087
|
-
var _node$checkedValue;
|
|
100088
|
-
return (_node$checkedValue = node.checkedValue) !== null && _node$checkedValue !== void 0 ? _node$checkedValue : true;
|
|
100089
|
-
} else {
|
|
100090
|
-
var _node$uncheckedValue;
|
|
100091
|
-
return (_node$uncheckedValue = node.uncheckedValue) !== null && _node$uncheckedValue !== void 0 ? _node$uncheckedValue : false;
|
|
100092
|
-
}
|
|
100093
|
-
}
|
|
100094
|
-
return defaultValue;
|
|
100095
|
-
}
|
|
100096
|
-
buildChildrenDataDeclaration(context) {
|
|
100097
|
-
const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
|
|
100098
|
-
return context.processChildrenDataDeclaration(node.children);
|
|
100099
|
-
}
|
|
100100
|
-
*doTraverseChildren() {
|
|
100101
|
-
const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
|
|
100102
|
-
yield* node.children;
|
|
100103
|
-
}
|
|
100104
|
-
doConvert(context) {
|
|
100105
|
-
var _node$checkedValue2, _node$uncheckedValue2;
|
|
100106
|
-
const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
|
|
100107
|
-
this.ensurePathExists(node, node.dataBinding.path);
|
|
100108
|
-
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("SelectCheckbox");
|
|
100109
|
-
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node));
|
|
100110
|
-
markupBuilder.prop(x => x.checkedValue).set((_node$checkedValue2 = node.checkedValue) !== null && _node$checkedValue2 !== void 0 ? _node$checkedValue2 : "true");
|
|
100111
|
-
markupBuilder.prop("data-tid").set(node.tid);
|
|
100112
|
-
markupBuilder.prop(x => x.uncheckedValue).set((_node$uncheckedValue2 = node.uncheckedValue) !== null && _node$uncheckedValue2 !== void 0 ? _node$uncheckedValue2 : "false");
|
|
100113
|
-
if (node.callHelperOnChange) {
|
|
100114
|
-
markupBuilder.prop(x => x.callHelperOnChange).set(context.generateHelperFunctionExpression(node, "callHelperOnChange", node.callHelperOnChange));
|
|
100115
|
-
}
|
|
100116
|
-
if (node.disabled2 != undefined) {
|
|
100117
|
-
markupBuilder.prop(x => x.disabled2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_4__.buildExpressionPropValue)(node.disabled2));
|
|
100118
|
-
if (this.getLegacyNode().getParent() != undefined) {
|
|
100119
|
-
markupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
|
|
100120
|
-
}
|
|
100121
|
-
}
|
|
100122
|
-
markupBuilder.appendChild(context.convertChildNodes(node.children));
|
|
100123
|
-
(0,_CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_3__.setTooltipSettingsProps)(markupBuilder, node.tooltipSettings);
|
|
100124
|
-
return markupBuilder.buildConverterResult();
|
|
100125
|
-
}
|
|
100126
|
-
}
|
|
100127
|
-
|
|
100128
|
-
/***/ }),
|
|
100129
|
-
|
|
100130
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxNode.ts":
|
|
100131
|
-
/*!**********************************************************************************************************************!*\
|
|
100132
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxNode.ts ***!
|
|
100133
|
-
\**********************************************************************************************************************/
|
|
100134
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
100135
|
-
|
|
100136
|
-
"use strict";
|
|
100137
|
-
__webpack_require__.r(__webpack_exports__);
|
|
100138
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
100139
|
-
/* harmony export */ SelectCheckboxNode: () => (/* binding */ SelectCheckboxNode)
|
|
100140
|
-
/* harmony export */ });
|
|
100141
|
-
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
|
|
100142
|
-
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
100143
|
-
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
|
|
100144
|
-
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
|
|
100145
|
-
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
|
|
100146
|
-
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
|
|
100147
|
-
/* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
|
|
100148
|
-
/* harmony import */ var _CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/ValidationInfoNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/ValidationInfoNode.ts");
|
|
100149
|
-
/* harmony import */ var _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../Serializer/DeprecationReason */ "./Generator/src/generators/markupGenerator/Serializer/DeprecationReason.ts");
|
|
100150
|
-
/* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
|
|
100151
|
-
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
100152
|
-
/* harmony import */ var _CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/TooltipSettingsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/TooltipSettingsNode.ts");
|
|
100153
|
-
/* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
|
|
100154
|
-
/* harmony import */ var _CommonNodeProperties_FocusManagementNode__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../CommonNodeProperties/FocusManagementNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/FocusManagementNode.ts");
|
|
100155
|
-
|
|
100156
|
-
|
|
100157
|
-
|
|
100158
|
-
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;
|
|
100159
|
-
|
|
100160
|
-
|
|
100161
|
-
|
|
100162
|
-
|
|
100163
|
-
|
|
100164
|
-
|
|
100165
|
-
|
|
100166
|
-
|
|
100167
|
-
let SelectCheckboxNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.sugarNode)("selectcheckbox", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_FocusManagementNode__WEBPACK_IMPORTED_MODULE_10__.FocusManagementNode), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.deprecatedAttr)("width", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_4__.ValidationInfoNode), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_8__.TooltipSettingsNode), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("checkedValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, ``), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("uncheckedValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, ``), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("callHelperOnChange", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.helperFunctionName, "Вызов helper функции на onChange контролла"), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)(undefined, undefined, ["type"]), _dec(_class = (_class2 = class SelectCheckboxNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_6__.SugarNodeWithLegacyVisibility {
|
|
100168
|
-
constructor(...args) {
|
|
100169
|
-
super(...args);
|
|
100170
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataBinding", _descriptor, this);
|
|
100171
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "focusManagement", _descriptor2, this);
|
|
100172
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disabled2", _descriptor3, this);
|
|
100173
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor4, this);
|
|
100174
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tid", _descriptor5, this);
|
|
100175
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "validationInfo", _descriptor6, this);
|
|
100176
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tooltipSettings", _descriptor7, this);
|
|
100177
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "checkedValue", _descriptor8, this);
|
|
100178
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uncheckedValue", _descriptor9, this);
|
|
100179
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "callHelperOnChange", _descriptor10, this);
|
|
100180
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor11, this);
|
|
100181
|
-
}
|
|
100182
|
-
getOwnPath() {
|
|
100183
|
-
return this.dataBinding.getOwnPath();
|
|
100184
|
-
}
|
|
100185
|
-
}, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dataBinding", [_dec2], {
|
|
100186
|
-
configurable: true,
|
|
100187
|
-
enumerable: true,
|
|
100188
|
-
writable: true,
|
|
100189
|
-
initializer: null
|
|
100190
|
-
}), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "focusManagement", [_dec3], {
|
|
100191
|
-
configurable: true,
|
|
100192
|
-
enumerable: true,
|
|
100193
|
-
writable: true,
|
|
100194
|
-
initializer: null
|
|
100195
|
-
}), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "disabled2", [_dec4], {
|
|
100196
|
-
configurable: true,
|
|
100197
|
-
enumerable: true,
|
|
100198
|
-
writable: true,
|
|
100199
|
-
initializer: null
|
|
100200
|
-
}), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "width", [_dec5], {
|
|
100201
|
-
configurable: true,
|
|
100202
|
-
enumerable: true,
|
|
100203
|
-
writable: true,
|
|
100204
|
-
initializer: null
|
|
100205
|
-
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tid", [_dec6], {
|
|
100206
|
-
configurable: true,
|
|
100207
|
-
enumerable: true,
|
|
100208
|
-
writable: true,
|
|
100209
|
-
initializer: null
|
|
100210
|
-
}), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "validationInfo", [_dec7], {
|
|
100211
|
-
configurable: true,
|
|
100212
|
-
enumerable: true,
|
|
100213
|
-
writable: true,
|
|
100214
|
-
initializer: null
|
|
100215
|
-
}), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tooltipSettings", [_dec8], {
|
|
100216
|
-
configurable: true,
|
|
100217
|
-
enumerable: true,
|
|
100218
|
-
writable: true,
|
|
100219
|
-
initializer: null
|
|
100220
|
-
}), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "checkedValue", [_dec9], {
|
|
100221
|
-
configurable: true,
|
|
100222
|
-
enumerable: true,
|
|
100223
|
-
writable: true,
|
|
100224
|
-
initializer: null
|
|
100225
|
-
}), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "uncheckedValue", [_dec10], {
|
|
100226
|
-
configurable: true,
|
|
100227
|
-
enumerable: true,
|
|
100228
|
-
writable: true,
|
|
100229
|
-
initializer: null
|
|
100230
|
-
}), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "callHelperOnChange", [_dec11], {
|
|
100231
|
-
configurable: true,
|
|
100232
|
-
enumerable: true,
|
|
100233
|
-
writable: true,
|
|
100234
|
-
initializer: null
|
|
100235
|
-
}), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec12], {
|
|
100236
|
-
configurable: true,
|
|
100237
|
-
enumerable: true,
|
|
100238
|
-
writable: true,
|
|
100239
|
-
initializer: null
|
|
100240
|
-
}), _class2)) || _class);
|
|
100241
|
-
|
|
100242
|
-
/***/ }),
|
|
100243
|
-
|
|
100244
100268
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Select/PicklistReference.ts":
|
|
100245
100269
|
/*!*************************************************************************************************************!*\
|
|
100246
100270
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Select/PicklistReference.ts ***!
|
|
@@ -100639,6 +100663,400 @@ let SelectNode = (_dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODUL
|
|
|
100639
100663
|
|
|
100640
100664
|
/***/ }),
|
|
100641
100665
|
|
|
100666
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxConverter.ts":
|
|
100667
|
+
/*!*********************************************************************************************************************************!*\
|
|
100668
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxConverter.ts ***!
|
|
100669
|
+
\*********************************************************************************************************************************/
|
|
100670
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
100671
|
+
|
|
100672
|
+
"use strict";
|
|
100673
|
+
__webpack_require__.r(__webpack_exports__);
|
|
100674
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
100675
|
+
/* harmony export */ SelectAllCheckboxConverter: () => (/* binding */ SelectAllCheckboxConverter)
|
|
100676
|
+
/* harmony export */ });
|
|
100677
|
+
/* harmony import */ var _Engine_src_Controls_FastSelectAllCheckboxesHelper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../Engine/src/Controls/FastSelectAllCheckboxesHelper */ "./Engine/src/Controls/FastSelectAllCheckboxesHelper.ts");
|
|
100678
|
+
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
100679
|
+
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
100680
|
+
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
100681
|
+
/* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
|
|
100682
|
+
/* harmony import */ var _ServerSideFLangNormalization_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../ServerSideFLangNormalization/FLang/FLangCodeDom */ "./Generator/src/generators/ServerSideFLangNormalization/FLang/FLangCodeDom.ts");
|
|
100683
|
+
/* harmony import */ var _SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SelectAllCheckboxNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxNode.ts");
|
|
100684
|
+
|
|
100685
|
+
|
|
100686
|
+
|
|
100687
|
+
|
|
100688
|
+
|
|
100689
|
+
|
|
100690
|
+
|
|
100691
|
+
class SelectAllCheckboxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
|
|
100692
|
+
static getAcceptNodeClass() {
|
|
100693
|
+
return _SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode;
|
|
100694
|
+
}
|
|
100695
|
+
get nodePaths() {
|
|
100696
|
+
const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
|
|
100697
|
+
return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node)];
|
|
100698
|
+
}
|
|
100699
|
+
doBuildDataDeclaration(context) {
|
|
100700
|
+
return {};
|
|
100701
|
+
}
|
|
100702
|
+
doBuildNormalizeRules(builder, formSchemaRng) {
|
|
100703
|
+
var _node$pathToChecked;
|
|
100704
|
+
const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
|
|
100705
|
+
const pathToCheckedArray = (0,_Engine_src_Controls_FastSelectAllCheckboxesHelper__WEBPACK_IMPORTED_MODULE_0__.buildDirtyPathForMultiplicityAndCheckboxPath)(node.getFullPath(), (_node$pathToChecked = node.pathToChecked) !== null && _node$pathToChecked !== void 0 ? _node$pathToChecked : "checked");
|
|
100706
|
+
return node.dirtyModeInstancesCount != undefined ? [new _ServerSideFLangNormalization_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_5__.SetStatement(new _ServerSideFLangNormalization_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_5__.ValueReferenceExpression(pathToCheckedArray, "value"), new _ServerSideFLangNormalization_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_5__.NullLiteralExpression())] : [];
|
|
100707
|
+
}
|
|
100708
|
+
buildChildrenDataDeclaration(context) {
|
|
100709
|
+
const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
|
|
100710
|
+
return context.processChildrenDataDeclaration(node.children);
|
|
100711
|
+
}
|
|
100712
|
+
*doTraverseChildren() {
|
|
100713
|
+
const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
|
|
100714
|
+
yield* node.children;
|
|
100715
|
+
}
|
|
100716
|
+
doConvert(context) {
|
|
100717
|
+
var _node$filteredUniqKey, _node$uncheckedValue, _node$checkedValue;
|
|
100718
|
+
const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
|
|
100719
|
+
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("SelectAllCheckbox");
|
|
100720
|
+
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node));
|
|
100721
|
+
markupBuilder.prop(x => x.pathToChecked).set(node.getPathToChecked());
|
|
100722
|
+
markupBuilder.prop("data-tid").set(node.tid);
|
|
100723
|
+
markupBuilder.prop(x => x.filteredUniqKey).set((_node$filteredUniqKey = node.filteredUniqKey) !== null && _node$filteredUniqKey !== void 0 ? _node$filteredUniqKey : "default");
|
|
100724
|
+
markupBuilder.prop(x => x.uncheckedValue).set((_node$uncheckedValue = node.uncheckedValue) !== null && _node$uncheckedValue !== void 0 ? _node$uncheckedValue : "false");
|
|
100725
|
+
markupBuilder.prop(x => x.checkedValue).set((_node$checkedValue = node.checkedValue) !== null && _node$checkedValue !== void 0 ? _node$checkedValue : "true");
|
|
100726
|
+
markupBuilder.prop(x => x.dirtyModeInstancesCount).set(node.dirtyModeInstancesCount);
|
|
100727
|
+
if (node.disabled2 != undefined) {
|
|
100728
|
+
markupBuilder.prop(x => x.disabled2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_4__.buildExpressionPropValue)(node.disabled2));
|
|
100729
|
+
if (this.getLegacyNode().getParent() != undefined) {
|
|
100730
|
+
markupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
|
|
100731
|
+
}
|
|
100732
|
+
}
|
|
100733
|
+
markupBuilder.appendChild(context.convertChildNodes(node.children));
|
|
100734
|
+
return markupBuilder.buildConverterResult();
|
|
100735
|
+
}
|
|
100736
|
+
}
|
|
100737
|
+
|
|
100738
|
+
/***/ }),
|
|
100739
|
+
|
|
100740
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxNode.ts":
|
|
100741
|
+
/*!****************************************************************************************************************************!*\
|
|
100742
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxNode.ts ***!
|
|
100743
|
+
\****************************************************************************************************************************/
|
|
100744
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
100745
|
+
|
|
100746
|
+
"use strict";
|
|
100747
|
+
__webpack_require__.r(__webpack_exports__);
|
|
100748
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
100749
|
+
/* harmony export */ SelectAllCheckboxNode: () => (/* binding */ SelectAllCheckboxNode)
|
|
100750
|
+
/* harmony export */ });
|
|
100751
|
+
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
|
|
100752
|
+
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
100753
|
+
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
|
|
100754
|
+
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
|
|
100755
|
+
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
|
|
100756
|
+
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
|
|
100757
|
+
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
100758
|
+
/* harmony import */ var _CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/TooltipSettingsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/TooltipSettingsNode.ts");
|
|
100759
|
+
/* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
|
|
100760
|
+
/* harmony import */ var _CommonNodeProperties_FocusManagementNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../CommonNodeProperties/FocusManagementNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/FocusManagementNode.ts");
|
|
100761
|
+
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
100762
|
+
|
|
100763
|
+
|
|
100764
|
+
|
|
100765
|
+
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;
|
|
100766
|
+
|
|
100767
|
+
|
|
100768
|
+
|
|
100769
|
+
|
|
100770
|
+
|
|
100771
|
+
let SelectAllCheckboxNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("selectallcheckbox", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.bindingPath.required, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.bindingPathLink)} данного элемента. Должен указывать на множественный элемент, в котором проставляются галочки.`), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("pathToChecked", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.bindingPath, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.bindingPathLink)} относительного пути (от текущего значения в path) до поля с галочкой. По умолчанию значение 'checked'`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_FocusManagementNode__WEBPACK_IMPORTED_MODULE_6__.FocusManagementNode), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_4__.TooltipSettingsNode), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("filteredUniqKey", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Уникальный ключ фильтрации multiline, используется, для фильтраций одних и тех же путей иннера
|
|
100772
|
+
разными фильтрами. Задается произвольной строкой. Фильтры с одинаковым ключем фильтрации получают одинаковый результат фильтрации`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("dirtyModeInstancesCount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Опция включает режим простановки галочек без фактического расчёта формул и валидаций, зависящих от них`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("checkedValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Значение, которое будет проставлено всем чекбоксам во включенном состоянии. По-умолчанию, "true"`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("uncheckedValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Значение, которое будет проставлено всем чекбоксам в выключенном состоянии. По-умолчанию, "false"`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(undefined, undefined, ["type"]), _dec(_class = (_class2 = class SelectAllCheckboxNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
100773
|
+
constructor(...args) {
|
|
100774
|
+
super(...args);
|
|
100775
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor, this);
|
|
100776
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pathToChecked", _descriptor2, this);
|
|
100777
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "focusManagement", _descriptor3, this);
|
|
100778
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disabled2", _descriptor4, this);
|
|
100779
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tid", _descriptor5, this);
|
|
100780
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tooltipSettings", _descriptor6, this);
|
|
100781
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filteredUniqKey", _descriptor7, this);
|
|
100782
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dirtyModeInstancesCount", _descriptor8, this);
|
|
100783
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "checkedValue", _descriptor9, this);
|
|
100784
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uncheckedValue", _descriptor10, this);
|
|
100785
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor11, this);
|
|
100786
|
+
}
|
|
100787
|
+
getOwnPath() {
|
|
100788
|
+
return this.path != undefined ? (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.createFromMask)(this.path, "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.PathTokens.each) : undefined;
|
|
100789
|
+
}
|
|
100790
|
+
getPathToChecked() {
|
|
100791
|
+
var _this$pathToChecked;
|
|
100792
|
+
return (_this$pathToChecked = this.pathToChecked) !== null && _this$pathToChecked !== void 0 ? _this$pathToChecked : "checked";
|
|
100793
|
+
}
|
|
100794
|
+
}, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "path", [_dec2], {
|
|
100795
|
+
configurable: true,
|
|
100796
|
+
enumerable: true,
|
|
100797
|
+
writable: true,
|
|
100798
|
+
initializer: null
|
|
100799
|
+
}), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pathToChecked", [_dec3], {
|
|
100800
|
+
configurable: true,
|
|
100801
|
+
enumerable: true,
|
|
100802
|
+
writable: true,
|
|
100803
|
+
initializer: null
|
|
100804
|
+
}), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "focusManagement", [_dec4], {
|
|
100805
|
+
configurable: true,
|
|
100806
|
+
enumerable: true,
|
|
100807
|
+
writable: true,
|
|
100808
|
+
initializer: null
|
|
100809
|
+
}), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "disabled2", [_dec5], {
|
|
100810
|
+
configurable: true,
|
|
100811
|
+
enumerable: true,
|
|
100812
|
+
writable: true,
|
|
100813
|
+
initializer: null
|
|
100814
|
+
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tid", [_dec6], {
|
|
100815
|
+
configurable: true,
|
|
100816
|
+
enumerable: true,
|
|
100817
|
+
writable: true,
|
|
100818
|
+
initializer: null
|
|
100819
|
+
}), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tooltipSettings", [_dec7], {
|
|
100820
|
+
configurable: true,
|
|
100821
|
+
enumerable: true,
|
|
100822
|
+
writable: true,
|
|
100823
|
+
initializer: null
|
|
100824
|
+
}), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "filteredUniqKey", [_dec8], {
|
|
100825
|
+
configurable: true,
|
|
100826
|
+
enumerable: true,
|
|
100827
|
+
writable: true,
|
|
100828
|
+
initializer: null
|
|
100829
|
+
}), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dirtyModeInstancesCount", [_dec9], {
|
|
100830
|
+
configurable: true,
|
|
100831
|
+
enumerable: true,
|
|
100832
|
+
writable: true,
|
|
100833
|
+
initializer: null
|
|
100834
|
+
}), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "checkedValue", [_dec10], {
|
|
100835
|
+
configurable: true,
|
|
100836
|
+
enumerable: true,
|
|
100837
|
+
writable: true,
|
|
100838
|
+
initializer: null
|
|
100839
|
+
}), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "uncheckedValue", [_dec11], {
|
|
100840
|
+
configurable: true,
|
|
100841
|
+
enumerable: true,
|
|
100842
|
+
writable: true,
|
|
100843
|
+
initializer: null
|
|
100844
|
+
}), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec12], {
|
|
100845
|
+
configurable: true,
|
|
100846
|
+
enumerable: true,
|
|
100847
|
+
writable: true,
|
|
100848
|
+
initializer: null
|
|
100849
|
+
}), _class2)) || _class);
|
|
100850
|
+
|
|
100851
|
+
/***/ }),
|
|
100852
|
+
|
|
100853
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxConverter.ts":
|
|
100854
|
+
/*!***************************************************************************************************************************!*\
|
|
100855
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxConverter.ts ***!
|
|
100856
|
+
\***************************************************************************************************************************/
|
|
100857
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
100858
|
+
|
|
100859
|
+
"use strict";
|
|
100860
|
+
__webpack_require__.r(__webpack_exports__);
|
|
100861
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
100862
|
+
/* harmony export */ SelectCheckboxConverter: () => (/* binding */ SelectCheckboxConverter)
|
|
100863
|
+
/* harmony export */ });
|
|
100864
|
+
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
100865
|
+
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
100866
|
+
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
100867
|
+
/* harmony import */ var _CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/SetTooltipSettingsProps */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/SetTooltipSettingsProps.ts");
|
|
100868
|
+
/* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
|
|
100869
|
+
/* harmony import */ var _SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./SelectCheckboxNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxNode.ts");
|
|
100870
|
+
|
|
100871
|
+
|
|
100872
|
+
|
|
100873
|
+
|
|
100874
|
+
|
|
100875
|
+
|
|
100876
|
+
class SelectCheckboxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
|
|
100877
|
+
static getAcceptNodeClass() {
|
|
100878
|
+
return _SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode;
|
|
100879
|
+
}
|
|
100880
|
+
get nodePaths() {
|
|
100881
|
+
const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
|
|
100882
|
+
return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node)];
|
|
100883
|
+
}
|
|
100884
|
+
doBuildNodeValidations(validationGenerator) {
|
|
100885
|
+
const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
|
|
100886
|
+
validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, undefined);
|
|
100887
|
+
}
|
|
100888
|
+
doBuildDataDeclaration(context) {
|
|
100889
|
+
const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
|
|
100890
|
+
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, false, this.getDefaultValue(node))]]), context.addSpecialFieldsEntry(node, {
|
|
100891
|
+
optional: node.dataBinding.optional
|
|
100892
|
+
}), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
|
|
100893
|
+
}
|
|
100894
|
+
doBuildNormalizeRules(builder) {
|
|
100895
|
+
const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
|
|
100896
|
+
return [builder.valueInitializer(node, node.dataBinding, false)];
|
|
100897
|
+
}
|
|
100898
|
+
getDefaultValue(node) {
|
|
100899
|
+
var _node$dataBinding$def;
|
|
100900
|
+
const defaultValue = (_node$dataBinding$def = node.dataBinding.defaultValue) !== null && _node$dataBinding$def !== void 0 ? _node$dataBinding$def : "";
|
|
100901
|
+
if (defaultValue) {
|
|
100902
|
+
if (defaultValue === "checked" || defaultValue === node.checkedValue) {
|
|
100903
|
+
var _node$checkedValue;
|
|
100904
|
+
return (_node$checkedValue = node.checkedValue) !== null && _node$checkedValue !== void 0 ? _node$checkedValue : true;
|
|
100905
|
+
} else {
|
|
100906
|
+
var _node$uncheckedValue;
|
|
100907
|
+
return (_node$uncheckedValue = node.uncheckedValue) !== null && _node$uncheckedValue !== void 0 ? _node$uncheckedValue : false;
|
|
100908
|
+
}
|
|
100909
|
+
}
|
|
100910
|
+
return defaultValue;
|
|
100911
|
+
}
|
|
100912
|
+
buildChildrenDataDeclaration(context) {
|
|
100913
|
+
const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
|
|
100914
|
+
return context.processChildrenDataDeclaration(node.children);
|
|
100915
|
+
}
|
|
100916
|
+
*doTraverseChildren() {
|
|
100917
|
+
const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
|
|
100918
|
+
yield* node.children;
|
|
100919
|
+
}
|
|
100920
|
+
doConvert(context) {
|
|
100921
|
+
var _node$checkedValue2, _node$uncheckedValue2;
|
|
100922
|
+
const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
|
|
100923
|
+
this.ensurePathExists(node, node.dataBinding.path);
|
|
100924
|
+
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("SelectCheckbox");
|
|
100925
|
+
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node));
|
|
100926
|
+
markupBuilder.prop(x => x.checkedValue).set((_node$checkedValue2 = node.checkedValue) !== null && _node$checkedValue2 !== void 0 ? _node$checkedValue2 : "true");
|
|
100927
|
+
markupBuilder.prop("data-tid").set(node.tid);
|
|
100928
|
+
markupBuilder.prop(x => x.uncheckedValue).set((_node$uncheckedValue2 = node.uncheckedValue) !== null && _node$uncheckedValue2 !== void 0 ? _node$uncheckedValue2 : "false");
|
|
100929
|
+
if (node.callHelperOnChange) {
|
|
100930
|
+
markupBuilder.prop(x => x.callHelperOnChange).set(context.generateHelperFunctionExpression(node, "callHelperOnChange", node.callHelperOnChange));
|
|
100931
|
+
}
|
|
100932
|
+
if (node.disabled2 != undefined) {
|
|
100933
|
+
markupBuilder.prop(x => x.disabled2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_4__.buildExpressionPropValue)(node.disabled2));
|
|
100934
|
+
if (this.getLegacyNode().getParent() != undefined) {
|
|
100935
|
+
markupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
|
|
100936
|
+
}
|
|
100937
|
+
}
|
|
100938
|
+
markupBuilder.appendChild(context.convertChildNodes(node.children));
|
|
100939
|
+
(0,_CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_3__.setTooltipSettingsProps)(markupBuilder, node.tooltipSettings);
|
|
100940
|
+
return markupBuilder.buildConverterResult();
|
|
100941
|
+
}
|
|
100942
|
+
}
|
|
100943
|
+
|
|
100944
|
+
/***/ }),
|
|
100945
|
+
|
|
100946
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxNode.ts":
|
|
100947
|
+
/*!**********************************************************************************************************************!*\
|
|
100948
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxNode.ts ***!
|
|
100949
|
+
\**********************************************************************************************************************/
|
|
100950
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
100951
|
+
|
|
100952
|
+
"use strict";
|
|
100953
|
+
__webpack_require__.r(__webpack_exports__);
|
|
100954
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
100955
|
+
/* harmony export */ SelectCheckboxNode: () => (/* binding */ SelectCheckboxNode)
|
|
100956
|
+
/* harmony export */ });
|
|
100957
|
+
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
|
|
100958
|
+
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
100959
|
+
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
|
|
100960
|
+
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
|
|
100961
|
+
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
|
|
100962
|
+
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
|
|
100963
|
+
/* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
|
|
100964
|
+
/* harmony import */ var _CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/ValidationInfoNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/ValidationInfoNode.ts");
|
|
100965
|
+
/* harmony import */ var _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../Serializer/DeprecationReason */ "./Generator/src/generators/markupGenerator/Serializer/DeprecationReason.ts");
|
|
100966
|
+
/* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
|
|
100967
|
+
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
100968
|
+
/* harmony import */ var _CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/TooltipSettingsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/TooltipSettingsNode.ts");
|
|
100969
|
+
/* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
|
|
100970
|
+
/* harmony import */ var _CommonNodeProperties_FocusManagementNode__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../CommonNodeProperties/FocusManagementNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/FocusManagementNode.ts");
|
|
100971
|
+
|
|
100972
|
+
|
|
100973
|
+
|
|
100974
|
+
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;
|
|
100975
|
+
|
|
100976
|
+
|
|
100977
|
+
|
|
100978
|
+
|
|
100979
|
+
|
|
100980
|
+
|
|
100981
|
+
|
|
100982
|
+
|
|
100983
|
+
let SelectCheckboxNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.sugarNode)("selectcheckbox", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_FocusManagementNode__WEBPACK_IMPORTED_MODULE_10__.FocusManagementNode), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.deprecatedAttr)("width", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_4__.ValidationInfoNode), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_8__.TooltipSettingsNode), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("checkedValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, ``), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("uncheckedValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, ``), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("callHelperOnChange", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.helperFunctionName, "Вызов helper функции на onChange контролла"), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)(undefined, undefined, ["type"]), _dec(_class = (_class2 = class SelectCheckboxNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_6__.SugarNodeWithLegacyVisibility {
|
|
100984
|
+
constructor(...args) {
|
|
100985
|
+
super(...args);
|
|
100986
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataBinding", _descriptor, this);
|
|
100987
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "focusManagement", _descriptor2, this);
|
|
100988
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disabled2", _descriptor3, this);
|
|
100989
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor4, this);
|
|
100990
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tid", _descriptor5, this);
|
|
100991
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "validationInfo", _descriptor6, this);
|
|
100992
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tooltipSettings", _descriptor7, this);
|
|
100993
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "checkedValue", _descriptor8, this);
|
|
100994
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uncheckedValue", _descriptor9, this);
|
|
100995
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "callHelperOnChange", _descriptor10, this);
|
|
100996
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor11, this);
|
|
100997
|
+
}
|
|
100998
|
+
getOwnPath() {
|
|
100999
|
+
return this.dataBinding.getOwnPath();
|
|
101000
|
+
}
|
|
101001
|
+
}, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dataBinding", [_dec2], {
|
|
101002
|
+
configurable: true,
|
|
101003
|
+
enumerable: true,
|
|
101004
|
+
writable: true,
|
|
101005
|
+
initializer: null
|
|
101006
|
+
}), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "focusManagement", [_dec3], {
|
|
101007
|
+
configurable: true,
|
|
101008
|
+
enumerable: true,
|
|
101009
|
+
writable: true,
|
|
101010
|
+
initializer: null
|
|
101011
|
+
}), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "disabled2", [_dec4], {
|
|
101012
|
+
configurable: true,
|
|
101013
|
+
enumerable: true,
|
|
101014
|
+
writable: true,
|
|
101015
|
+
initializer: null
|
|
101016
|
+
}), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "width", [_dec5], {
|
|
101017
|
+
configurable: true,
|
|
101018
|
+
enumerable: true,
|
|
101019
|
+
writable: true,
|
|
101020
|
+
initializer: null
|
|
101021
|
+
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tid", [_dec6], {
|
|
101022
|
+
configurable: true,
|
|
101023
|
+
enumerable: true,
|
|
101024
|
+
writable: true,
|
|
101025
|
+
initializer: null
|
|
101026
|
+
}), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "validationInfo", [_dec7], {
|
|
101027
|
+
configurable: true,
|
|
101028
|
+
enumerable: true,
|
|
101029
|
+
writable: true,
|
|
101030
|
+
initializer: null
|
|
101031
|
+
}), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tooltipSettings", [_dec8], {
|
|
101032
|
+
configurable: true,
|
|
101033
|
+
enumerable: true,
|
|
101034
|
+
writable: true,
|
|
101035
|
+
initializer: null
|
|
101036
|
+
}), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "checkedValue", [_dec9], {
|
|
101037
|
+
configurable: true,
|
|
101038
|
+
enumerable: true,
|
|
101039
|
+
writable: true,
|
|
101040
|
+
initializer: null
|
|
101041
|
+
}), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "uncheckedValue", [_dec10], {
|
|
101042
|
+
configurable: true,
|
|
101043
|
+
enumerable: true,
|
|
101044
|
+
writable: true,
|
|
101045
|
+
initializer: null
|
|
101046
|
+
}), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "callHelperOnChange", [_dec11], {
|
|
101047
|
+
configurable: true,
|
|
101048
|
+
enumerable: true,
|
|
101049
|
+
writable: true,
|
|
101050
|
+
initializer: null
|
|
101051
|
+
}), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec12], {
|
|
101052
|
+
configurable: true,
|
|
101053
|
+
enumerable: true,
|
|
101054
|
+
writable: true,
|
|
101055
|
+
initializer: null
|
|
101056
|
+
}), _class2)) || _class);
|
|
101057
|
+
|
|
101058
|
+
/***/ }),
|
|
101059
|
+
|
|
100642
101060
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TaxRebate/TaxRebateConverter.ts":
|
|
100643
101061
|
/*!*****************************************************************************************************************!*\
|
|
100644
101062
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TaxRebate/TaxRebateConverter.ts ***!
|
|
@@ -105654,6 +106072,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
105654
106072
|
/* harmony import */ var _ElementProcessors_ValueEditors_SelectCheckbox_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_125__ = __webpack_require__(/*! ../ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxNode.ts");
|
|
105655
106073
|
/* harmony import */ var _ElementProcessors_MultiControls_InstanceNumber_InstanceNumberNode__WEBPACK_IMPORTED_MODULE_126__ = __webpack_require__(/*! ../ElementProcessors/MultiControls/InstanceNumber/InstanceNumberNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/InstanceNumber/InstanceNumberNode.ts");
|
|
105656
106074
|
/* harmony import */ var _ElementProcessors_Layout_OptionalBlock_OptionalBlockNode__WEBPACK_IMPORTED_MODULE_127__ = __webpack_require__(/*! ../ElementProcessors/Layout/OptionalBlock/OptionalBlockNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/OptionalBlock/OptionalBlockNode.ts");
|
|
106075
|
+
/* harmony import */ var _ElementProcessors_MultiControls_AggregationQuery_AggregationQueryNode__WEBPACK_IMPORTED_MODULE_128__ = __webpack_require__(/*! ../ElementProcessors/MultiControls/AggregationQuery/AggregationQueryNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/AggregationQuery/AggregationQueryNode.ts");
|
|
106076
|
+
/* harmony import */ var _ElementProcessors_MultiControls_ContextVar_ExprEvalNode__WEBPACK_IMPORTED_MODULE_129__ = __webpack_require__(/*! ../ElementProcessors/MultiControls/ContextVar/ExprEvalNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/ContextVar/ExprEvalNode.ts");
|
|
106077
|
+
|
|
106078
|
+
|
|
105657
106079
|
|
|
105658
106080
|
|
|
105659
106081
|
|
|
@@ -105899,6 +106321,10 @@ function registerDefaultSugarNodes(result) {
|
|
|
105899
106321
|
result.registerNode(_ElementProcessors_ValueEditors_SelectCheckbox_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_125__.SelectCheckboxNode);
|
|
105900
106322
|
result.registerNode(_ElementProcessors_MultiControls_InstanceNumber_InstanceNumberNode__WEBPACK_IMPORTED_MODULE_126__.InstanceNumberNode);
|
|
105901
106323
|
result.registerNode(_ElementProcessors_Layout_OptionalBlock_OptionalBlockNode__WEBPACK_IMPORTED_MODULE_127__.OptionalBlockNode);
|
|
106324
|
+
result.registerNode(_ElementProcessors_MultiControls_AggregationQuery_AggregationQueryNode__WEBPACK_IMPORTED_MODULE_128__.AggregationQueryNode);
|
|
106325
|
+
result.registerNode(_ElementProcessors_MultiControls_AggregationQuery_AggregationQueryNode__WEBPACK_IMPORTED_MODULE_128__.AggregationQuerySelectNode);
|
|
106326
|
+
result.registerNode(_ElementProcessors_MultiControls_AggregationQuery_AggregationQueryNode__WEBPACK_IMPORTED_MODULE_128__.AggregationQueryContentNode);
|
|
106327
|
+
result.registerNode(_ElementProcessors_MultiControls_ContextVar_ExprEvalNode__WEBPACK_IMPORTED_MODULE_129__.ExprEvalNode);
|
|
105902
106328
|
}
|
|
105903
106329
|
function createDefaultSugarSerializer() {
|
|
105904
106330
|
const result = new _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_106__.SugarSerializer({
|
|
@@ -105911,7 +106337,7 @@ function getAllSugarValidationNodeClasses() {
|
|
|
105911
106337
|
return [_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.TypeNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.CustomValidationTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.PatternTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.EnumerationTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.AttachmentsTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.LengthTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.MinlengthTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.MaxlengthTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.TotaldigitsTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.IntegerdigitsTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.FractiondigitsTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.ValueEqlAutoValueTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.DigestcheckTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.MininclusiveTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.MaxinclusiveTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.ForcedTypeChecksNode];
|
|
105912
106338
|
}
|
|
105913
106339
|
function getAllSugarNodeClasses() {
|
|
105914
|
-
return [_ElementProcessors_ValueViewers_Text_TextNode__WEBPACK_IMPORTED_MODULE_96__.TextNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_91__.SwitchNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_91__.SwitchDefaultNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_91__.SwitchCaseNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_AddButtonNode__WEBPACK_IMPORTED_MODULE_32__.AddButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_AddLineNode__WEBPACK_IMPORTED_MODULE_33__.AddLineNode, _ElementProcessors_FormParts_AddPageButton_AddPageButtonNode__WEBPACK_IMPORTED_MODULE_10__.AddPageButtonNode, _ElementProcessors_MultiControls_AddRowButton_AddRowButtonNode__WEBPACK_IMPORTED_MODULE_11__.AddRowButtonNode, _ElementProcessors_Layout_Block_BlockNode__WEBPACK_IMPORTED_MODULE_12__.BlockNode, _ElementProcessors_Layout_Minitour_MinitourNode__WEBPACK_IMPORTED_MODULE_13__.MinitourNode, _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_Action_DownloadExcelButton_DownloadExcelButtonNode__WEBPACK_IMPORTED_MODULE_18__.DownloadExcelButtonNode, _ElementProcessors_Action_DropDownButtonLoadExcel_DropDownButtonLoadExcelNode__WEBPACK_IMPORTED_MODULE_19__.DropDownButtonLoadExcelNode, _ElementProcessors_FormParts_Caption_CaptionNode__WEBPACK_IMPORTED_MODULE_20__.CaptionNode, _ElementProcessors_ValueEditors_Checkbox_CheckboxNode__WEBPACK_IMPORTED_MODULE_21__.CheckboxNode, _ElementProcessors_ValueEditors_Toggle_ToggleNode__WEBPACK_IMPORTED_MODULE_22__.ToggleNode, _ElementProcessors_ControlFlow_Choice_ChoiceNode__WEBPACK_IMPORTED_MODULE_23__.ChoiceNode, _ElementProcessors_ValueEditors_Combobox_ComboBoxNode__WEBPACK_IMPORTED_MODULE_24__.ComboBoxNode, _ElementProcessors_FormParts_Content_ContentNode__WEBPACK_IMPORTED_MODULE_25__.ContentNode, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableNode__WEBPACK_IMPORTED_MODULE_92__.CrossfitTableNode, _ElementProcessors_FormParts_Cross_CrossNode__WEBPACK_IMPORTED_MODULE_26__.CrossNode, _ElementProcessors_ValueEditors_Date_DateNode__WEBPACK_IMPORTED_MODULE_27__.DateNode, _ElementProcessors_ValueEditors_DiadocSuggestComboBox_DiadocSuggestComboBoxNode__WEBPACK_IMPORTED_MODULE_29__.DiadocSuggestComboBoxNode, _ElementProcessors_Typography_Entity_EntityNode__WEBPACK_IMPORTED_MODULE_30__.EntityNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_31__.ExpertNoteNode, _ElementProcessors_ValueEditors_FileLoader_FileLoaderNode__WEBPACK_IMPORTED_MODULE_39__.FileLoaderNode, _ElementProcessors_MultiControls_FilterDateRange_FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_40__.FilterDateRangeNode, _ElementProcessors_MultiControls_FilterInput_FilterInputNode__WEBPACK_IMPORTED_MODULE_41__.FilterInputNode, _ElementProcessors_MultiControls_FilterList_FilterListNode__WEBPACK_IMPORTED_MODULE_42__.FilterListNode, _ElementProcessors_ValueViewers_FIO_FIONode__WEBPACK_IMPORTED_MODULE_43__.FIONode, _ElementProcessors_Layout_Flexbox_FlexboxNode__WEBPACK_IMPORTED_MODULE_44__.FlexboxNode, _ElementProcessors_Modal_Footer_FooterNode__WEBPACK_IMPORTED_MODULE_45__.FooterNode, _ElementProcessors_FormParts_FormInfo_FormInfoNode__WEBPACK_IMPORTED_MODULE_50__.FormInfoNode, _ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_46__.FormNode, _ElementProcessors_Typography_Gray_GrayNode__WEBPACK_IMPORTED_MODULE_51__.GrayNode, _ElementProcessors_Layout_GridCol_GridColNode__WEBPACK_IMPORTED_MODULE_52__.GridColNode, _ElementProcessors_Layout_GridRow_GridRowNode__WEBPACK_IMPORTED_MODULE_53__.GridRowNode, _ElementProcessors_MultiControls_HeaderMenu_HeaderMenuNode__WEBPACK_IMPORTED_MODULE_55__.HeaderMenuNode, _ElementProcessors_FormParts_Header_HeaderNode__WEBPACK_IMPORTED_MODULE_54__.HeaderNode, _ElementProcessors_Helpers_Helpinfo_HelpInfoNode__WEBPACK_IMPORTED_MODULE_57__.HelpInfoNode, _ElementProcessors_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_56__.HelpNode, _ElementProcessors_Typography_Highlight_HighlightNode__WEBPACK_IMPORTED_MODULE_58__.HighlightNode, _ElementProcessors_Layout_Hr_HrNode__WEBPACK_IMPORTED_MODULE_59__.HrNode, _ElementProcessors_Typography_Icon_IconNode__WEBPACK_IMPORTED_MODULE_60__.IconNode, _ElementProcessors_Layout_Img_ImgNode__WEBPACK_IMPORTED_MODULE_62__.ImgNode, _ElementProcessors_Layout_InnerText_InnertextNode__WEBPACK_IMPORTED_MODULE_9__.InnertextNode, _ElementProcessors_ValueEditors_INN_INNNode__WEBPACK_IMPORTED_MODULE_63__.INNNode, _ElementProcessors_ValueEditors_Input_InputNode__WEBPACK_IMPORTED_MODULE_64__.InputNode, _ElementProcessors_Typography_Italic_ItalicNode__WEBPACK_IMPORTED_MODULE_65__.ItalicNode, _ElementProcessors_ValueEditors_Kladr_KladrNode__WEBPACK_IMPORTED_MODULE_67__.KladrNode, _ElementProcessors_Action_Link_LinkNode__WEBPACK_IMPORTED_MODULE_69__.LinkNode, _ElementProcessors_Layout_ListItem_ListItemNode__WEBPACK_IMPORTED_MODULE_66__.ListItemNode, _ElementProcessors_Layout_List_ListNode__WEBPACK_IMPORTED_MODULE_70__.ListNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_MenuNode__WEBPACK_IMPORTED_MODULE_34__.MenuNode, _ElementProcessors_Modal_ModalFormCancel_ModalFormCancelNode__WEBPACK_IMPORTED_MODULE_72__.ModalFormCancelNode, _ElementProcessors_Modal_ModalFormConfirm_ModalFormConfirmNode__WEBPACK_IMPORTED_MODULE_73__.ModalFormConfirmNode, _ElementProcessors_Modal_ModalFormLabel_ModalFormLabelNode__WEBPACK_IMPORTED_MODULE_74__.ModalFormLabelNode, _ElementProcessors_Modal_ModalForm_ModalFormNode__WEBPACK_IMPORTED_MODULE_71__.ModalFormNode, _ElementProcessors_MultiControls_Multilinefield_MultilineFieldNode__WEBPACK_IMPORTED_MODULE_75__.MultilineFieldNode, _ElementProcessors_Helpers_Normativehelp_NormativeHelpNode__WEBPACK_IMPORTED_MODULE_76__.NormativeHelpNode, _ElementProcessors_ControlFlow_Otherwise_OtherwiseNode__WEBPACK_IMPORTED_MODULE_77__.OtherwiseNode, _ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_78__.PageNode, _ElementProcessors_FormParts_Form_Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_49__.PanelNode, _ElementProcessors_Layout_Pencil_PencilNode__WEBPACK_IMPORTED_MODULE_79__.PencilNode, _ElementProcessors_ValueEditors_Picklist_PicklistNode__WEBPACK_IMPORTED_MODULE_80__.PicklistNode, _ElementProcessors_ValueEditors_TreePicklist_TreePicklistNode__WEBPACK_IMPORTED_MODULE_123__.TreePicklistNode, _ElementProcessors_ValueEditors_radio_RadioNode__WEBPACK_IMPORTED_MODULE_81__.RadioNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_RemoveButtonNode__WEBPACK_IMPORTED_MODULE_35__.RemoveButtonNode, _ElementProcessors_MultiControls_RemoveRowButton_RemoveRowButtonNode__WEBPACK_IMPORTED_MODULE_83__.RemoveRowButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ReplaceButtonNode__WEBPACK_IMPORTED_MODULE_36__.ReplaceButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ReplaceLineNode__WEBPACK_IMPORTED_MODULE_37__.ReplaceLineNode, _ElementProcessors_ValueEditors_Select_SelectNode__WEBPACK_IMPORTED_MODULE_84__.SelectNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_93__.SimpleTableNode, _ElementProcessors_MultiControls_SortRadioGroup_SortRadioGroupNode__WEBPACK_IMPORTED_MODULE_85__.SortRadioGroupNode, _ElementProcessors_ValueEditors_RadioGroup_RadioGroupNode__WEBPACK_IMPORTED_MODULE_82__.RadioGroupNode, _ElementProcessors_Layout_Spoiler_SpoilerNode__WEBPACK_IMPORTED_MODULE_86__.SpoilerNode, _ElementProcessors_MultiControls_StickyTable_StickyTableNode__WEBPACK_IMPORTED_MODULE_94__.StickyTableNode, _ElementProcessors_Typography_Strong_StrongNode__WEBPACK_IMPORTED_MODULE_87__.StrongNode, _ElementProcessors_Layout_Subheader_SubheaderNode__WEBPACK_IMPORTED_MODULE_89__.SubheaderNode, _ElementProcessors_Typography_Sub_SubNode__WEBPACK_IMPORTED_MODULE_88__.SubNode, _ElementProcessors_Typography_Sup_SupNode__WEBPACK_IMPORTED_MODULE_90__.SupNode, _ElementProcessors_ValueEditors_Textarea_TextAreaNode__WEBPACK_IMPORTED_MODULE_97__.TextAreaNode, _ElementProcessors_ValueEditors_popupTextArea_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_104__.PopupTextAreaNode, _ElementProcessors_FormParts_UnitItem_UnitItemNode__WEBPACK_IMPORTED_MODULE_98__.UnitItemNode, _ElementProcessors_FormParts_UnitList_UnitListNode__WEBPACK_IMPORTED_MODULE_99__.UnitListNode, _ElementProcessors_ValueViewers_ValueLength_ValueLengthNode__WEBPACK_IMPORTED_MODULE_100__.ValueLengthNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ViewFileNode__WEBPACK_IMPORTED_MODULE_38__.ViewFileNode, _ElementProcessors_ControlFlow_VisibilityBlock_VisibilityBlockNode__WEBPACK_IMPORTED_MODULE_101__.VisibilityBlockNode, _ElementProcessors_Layout_Warning_WarningNode__WEBPACK_IMPORTED_MODULE_102__.WarningNode, _ElementProcessors_ControlFlow_When_WhenNode__WEBPACK_IMPORTED_MODULE_103__.WhenNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_31__.ExpertNoteNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_31__.MessageBoxNode, _ElementProcessors_Action_Link_LinkNode__WEBPACK_IMPORTED_MODULE_69__.LinkNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_31__.NameNode, _ElementProcessors_ValueViewers_Linetext_LineTextNode__WEBPACK_IMPORTED_MODULE_68__.LineTextNode, _ElementProcessors_ControlFlow_Captions_Short_ShortNode__WEBPACK_IMPORTED_MODULE_115__.ShortNode, _ElementProcessors_ControlFlow_Captions_Long_LongNode__WEBPACK_IMPORTED_MODULE_114__.LongNode, _ElementProcessors_ControlFlow_Captions_FillHint_FillHintNode__WEBPACK_IMPORTED_MODULE_116__.FillHintNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_61__.IfNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_61__.ElseNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_61__.ThenNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_93__.SimpleTableRowNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_93__.SimpleTableColumnNode, _ElementProcessors_Layout_Stack_StackNode__WEBPACK_IMPORTED_MODULE_4__.StackNode, _ElementProcessors_Layout_Grid_GridNode__WEBPACK_IMPORTED_MODULE_3__.GridNode, _ElementProcessors_MultiControls_StickyTable_StickyTableNode__WEBPACK_IMPORTED_MODULE_94__.StickyTableMultilineNode, _ElementProcessors_UnitParts_HeaderPanel_HeaderPanelNode__WEBPACK_IMPORTED_MODULE_8__.HeaderPanelNode, _ElementProcessors_Action_DropdownButton_DropdownButtonNode__WEBPACK_IMPORTED_MODULE_2__.DropdownButtonNode, _ElementProcessors_Action_Common_ActionNode__WEBPACK_IMPORTED_MODULE_118__.ActionNode, _ElementProcessors_MultiControls_Tabs_TabsNode__WEBPACK_IMPORTED_MODULE_7__.TabsNode, _ElementProcessors_ValueEditors_Fias_FiasNode__WEBPACK_IMPORTED_MODULE_0__.FiasNode, _ElementProcessors_MultiControls_FilterSelect_FilterSelectNode__WEBPACK_IMPORTED_MODULE_5__.FilterSelectNode, _ElementProcessors_MultiControls_Table2_Table2Node__WEBPACK_IMPORTED_MODULE_6__.Table2Node, _ElementProcessors_Layout_FixedTabs_FixedTabsNode__WEBPACK_IMPORTED_MODULE_107__.FixedTabsNode, _ElementProcessors_Layout_FixedTabs_FixedTabsNode__WEBPACK_IMPORTED_MODULE_107__.FixedTabNode, _ElementProcessors_MultiControls_Multiple_MultipleNode__WEBPACK_IMPORTED_MODULE_108__.MultipleNode, _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelNode__WEBPACK_IMPORTED_MODULE_109__.ExcelPastePanelNode, _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_110__.ReferencedFieldsNode, _ElementProcessors_FormParts_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_111__.UserPicklistNode, _ElementProcessors_ValueEditors_TaxRebate_TaxRebateNode__WEBPACK_IMPORTED_MODULE_112__.TaxRebateNode, _ElementProcessors_FormParts_Banner_BannerNode__WEBPACK_IMPORTED_MODULE_113__.BannerNode, _ElementProcessors_ValueViewers_DateView_DateViewNode__WEBPACK_IMPORTED_MODULE_117__.DateViewNode, _ElementProcessors_Action_Kebab_KebabNode__WEBPACK_IMPORTED_MODULE_119__.KebabNode, _ElementProcessors_Helpers_Clue_InfoBlockNode__WEBPACK_IMPORTED_MODULE_120__.InfoBlockNode, _ElementProcessors_ValueEditors_SelectAllCheckbox_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_121__.SelectAllCheckboxNode, _ElementProcessors_ValueEditors_SelectCheckbox_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_125__.SelectCheckboxNode, _ElementProcessors_MultiControls_InstanceNumber_InstanceNumberNode__WEBPACK_IMPORTED_MODULE_126__.InstanceNumberNode, _ElementProcessors_Layout_OptionalBlock_OptionalBlockNode__WEBPACK_IMPORTED_MODULE_127__.OptionalBlockNode];
|
|
106340
|
+
return [_ElementProcessors_ValueViewers_Text_TextNode__WEBPACK_IMPORTED_MODULE_96__.TextNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_91__.SwitchNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_91__.SwitchDefaultNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_91__.SwitchCaseNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_AddButtonNode__WEBPACK_IMPORTED_MODULE_32__.AddButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_AddLineNode__WEBPACK_IMPORTED_MODULE_33__.AddLineNode, _ElementProcessors_FormParts_AddPageButton_AddPageButtonNode__WEBPACK_IMPORTED_MODULE_10__.AddPageButtonNode, _ElementProcessors_MultiControls_AddRowButton_AddRowButtonNode__WEBPACK_IMPORTED_MODULE_11__.AddRowButtonNode, _ElementProcessors_Layout_Block_BlockNode__WEBPACK_IMPORTED_MODULE_12__.BlockNode, _ElementProcessors_Layout_Minitour_MinitourNode__WEBPACK_IMPORTED_MODULE_13__.MinitourNode, _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_Action_DownloadExcelButton_DownloadExcelButtonNode__WEBPACK_IMPORTED_MODULE_18__.DownloadExcelButtonNode, _ElementProcessors_Action_DropDownButtonLoadExcel_DropDownButtonLoadExcelNode__WEBPACK_IMPORTED_MODULE_19__.DropDownButtonLoadExcelNode, _ElementProcessors_FormParts_Caption_CaptionNode__WEBPACK_IMPORTED_MODULE_20__.CaptionNode, _ElementProcessors_ValueEditors_Checkbox_CheckboxNode__WEBPACK_IMPORTED_MODULE_21__.CheckboxNode, _ElementProcessors_ValueEditors_Toggle_ToggleNode__WEBPACK_IMPORTED_MODULE_22__.ToggleNode, _ElementProcessors_ControlFlow_Choice_ChoiceNode__WEBPACK_IMPORTED_MODULE_23__.ChoiceNode, _ElementProcessors_ValueEditors_Combobox_ComboBoxNode__WEBPACK_IMPORTED_MODULE_24__.ComboBoxNode, _ElementProcessors_FormParts_Content_ContentNode__WEBPACK_IMPORTED_MODULE_25__.ContentNode, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableNode__WEBPACK_IMPORTED_MODULE_92__.CrossfitTableNode, _ElementProcessors_FormParts_Cross_CrossNode__WEBPACK_IMPORTED_MODULE_26__.CrossNode, _ElementProcessors_ValueEditors_Date_DateNode__WEBPACK_IMPORTED_MODULE_27__.DateNode, _ElementProcessors_ValueEditors_DiadocSuggestComboBox_DiadocSuggestComboBoxNode__WEBPACK_IMPORTED_MODULE_29__.DiadocSuggestComboBoxNode, _ElementProcessors_Typography_Entity_EntityNode__WEBPACK_IMPORTED_MODULE_30__.EntityNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_31__.ExpertNoteNode, _ElementProcessors_ValueEditors_FileLoader_FileLoaderNode__WEBPACK_IMPORTED_MODULE_39__.FileLoaderNode, _ElementProcessors_MultiControls_FilterDateRange_FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_40__.FilterDateRangeNode, _ElementProcessors_MultiControls_FilterInput_FilterInputNode__WEBPACK_IMPORTED_MODULE_41__.FilterInputNode, _ElementProcessors_MultiControls_FilterList_FilterListNode__WEBPACK_IMPORTED_MODULE_42__.FilterListNode, _ElementProcessors_ValueViewers_FIO_FIONode__WEBPACK_IMPORTED_MODULE_43__.FIONode, _ElementProcessors_Layout_Flexbox_FlexboxNode__WEBPACK_IMPORTED_MODULE_44__.FlexboxNode, _ElementProcessors_Modal_Footer_FooterNode__WEBPACK_IMPORTED_MODULE_45__.FooterNode, _ElementProcessors_FormParts_FormInfo_FormInfoNode__WEBPACK_IMPORTED_MODULE_50__.FormInfoNode, _ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_46__.FormNode, _ElementProcessors_Typography_Gray_GrayNode__WEBPACK_IMPORTED_MODULE_51__.GrayNode, _ElementProcessors_Layout_GridCol_GridColNode__WEBPACK_IMPORTED_MODULE_52__.GridColNode, _ElementProcessors_Layout_GridRow_GridRowNode__WEBPACK_IMPORTED_MODULE_53__.GridRowNode, _ElementProcessors_MultiControls_HeaderMenu_HeaderMenuNode__WEBPACK_IMPORTED_MODULE_55__.HeaderMenuNode, _ElementProcessors_FormParts_Header_HeaderNode__WEBPACK_IMPORTED_MODULE_54__.HeaderNode, _ElementProcessors_Helpers_Helpinfo_HelpInfoNode__WEBPACK_IMPORTED_MODULE_57__.HelpInfoNode, _ElementProcessors_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_56__.HelpNode, _ElementProcessors_Typography_Highlight_HighlightNode__WEBPACK_IMPORTED_MODULE_58__.HighlightNode, _ElementProcessors_Layout_Hr_HrNode__WEBPACK_IMPORTED_MODULE_59__.HrNode, _ElementProcessors_Typography_Icon_IconNode__WEBPACK_IMPORTED_MODULE_60__.IconNode, _ElementProcessors_Layout_Img_ImgNode__WEBPACK_IMPORTED_MODULE_62__.ImgNode, _ElementProcessors_Layout_InnerText_InnertextNode__WEBPACK_IMPORTED_MODULE_9__.InnertextNode, _ElementProcessors_ValueEditors_INN_INNNode__WEBPACK_IMPORTED_MODULE_63__.INNNode, _ElementProcessors_ValueEditors_Input_InputNode__WEBPACK_IMPORTED_MODULE_64__.InputNode, _ElementProcessors_Typography_Italic_ItalicNode__WEBPACK_IMPORTED_MODULE_65__.ItalicNode, _ElementProcessors_ValueEditors_Kladr_KladrNode__WEBPACK_IMPORTED_MODULE_67__.KladrNode, _ElementProcessors_Action_Link_LinkNode__WEBPACK_IMPORTED_MODULE_69__.LinkNode, _ElementProcessors_Layout_ListItem_ListItemNode__WEBPACK_IMPORTED_MODULE_66__.ListItemNode, _ElementProcessors_Layout_List_ListNode__WEBPACK_IMPORTED_MODULE_70__.ListNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_MenuNode__WEBPACK_IMPORTED_MODULE_34__.MenuNode, _ElementProcessors_Modal_ModalFormCancel_ModalFormCancelNode__WEBPACK_IMPORTED_MODULE_72__.ModalFormCancelNode, _ElementProcessors_Modal_ModalFormConfirm_ModalFormConfirmNode__WEBPACK_IMPORTED_MODULE_73__.ModalFormConfirmNode, _ElementProcessors_Modal_ModalFormLabel_ModalFormLabelNode__WEBPACK_IMPORTED_MODULE_74__.ModalFormLabelNode, _ElementProcessors_Modal_ModalForm_ModalFormNode__WEBPACK_IMPORTED_MODULE_71__.ModalFormNode, _ElementProcessors_MultiControls_Multilinefield_MultilineFieldNode__WEBPACK_IMPORTED_MODULE_75__.MultilineFieldNode, _ElementProcessors_Helpers_Normativehelp_NormativeHelpNode__WEBPACK_IMPORTED_MODULE_76__.NormativeHelpNode, _ElementProcessors_ControlFlow_Otherwise_OtherwiseNode__WEBPACK_IMPORTED_MODULE_77__.OtherwiseNode, _ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_78__.PageNode, _ElementProcessors_FormParts_Form_Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_49__.PanelNode, _ElementProcessors_Layout_Pencil_PencilNode__WEBPACK_IMPORTED_MODULE_79__.PencilNode, _ElementProcessors_ValueEditors_Picklist_PicklistNode__WEBPACK_IMPORTED_MODULE_80__.PicklistNode, _ElementProcessors_ValueEditors_TreePicklist_TreePicklistNode__WEBPACK_IMPORTED_MODULE_123__.TreePicklistNode, _ElementProcessors_ValueEditors_radio_RadioNode__WEBPACK_IMPORTED_MODULE_81__.RadioNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_RemoveButtonNode__WEBPACK_IMPORTED_MODULE_35__.RemoveButtonNode, _ElementProcessors_MultiControls_RemoveRowButton_RemoveRowButtonNode__WEBPACK_IMPORTED_MODULE_83__.RemoveRowButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ReplaceButtonNode__WEBPACK_IMPORTED_MODULE_36__.ReplaceButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ReplaceLineNode__WEBPACK_IMPORTED_MODULE_37__.ReplaceLineNode, _ElementProcessors_ValueEditors_Select_SelectNode__WEBPACK_IMPORTED_MODULE_84__.SelectNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_93__.SimpleTableNode, _ElementProcessors_MultiControls_SortRadioGroup_SortRadioGroupNode__WEBPACK_IMPORTED_MODULE_85__.SortRadioGroupNode, _ElementProcessors_ValueEditors_RadioGroup_RadioGroupNode__WEBPACK_IMPORTED_MODULE_82__.RadioGroupNode, _ElementProcessors_Layout_Spoiler_SpoilerNode__WEBPACK_IMPORTED_MODULE_86__.SpoilerNode, _ElementProcessors_MultiControls_StickyTable_StickyTableNode__WEBPACK_IMPORTED_MODULE_94__.StickyTableNode, _ElementProcessors_Typography_Strong_StrongNode__WEBPACK_IMPORTED_MODULE_87__.StrongNode, _ElementProcessors_Layout_Subheader_SubheaderNode__WEBPACK_IMPORTED_MODULE_89__.SubheaderNode, _ElementProcessors_Typography_Sub_SubNode__WEBPACK_IMPORTED_MODULE_88__.SubNode, _ElementProcessors_Typography_Sup_SupNode__WEBPACK_IMPORTED_MODULE_90__.SupNode, _ElementProcessors_ValueEditors_Textarea_TextAreaNode__WEBPACK_IMPORTED_MODULE_97__.TextAreaNode, _ElementProcessors_ValueEditors_popupTextArea_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_104__.PopupTextAreaNode, _ElementProcessors_FormParts_UnitItem_UnitItemNode__WEBPACK_IMPORTED_MODULE_98__.UnitItemNode, _ElementProcessors_FormParts_UnitList_UnitListNode__WEBPACK_IMPORTED_MODULE_99__.UnitListNode, _ElementProcessors_ValueViewers_ValueLength_ValueLengthNode__WEBPACK_IMPORTED_MODULE_100__.ValueLengthNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ViewFileNode__WEBPACK_IMPORTED_MODULE_38__.ViewFileNode, _ElementProcessors_ControlFlow_VisibilityBlock_VisibilityBlockNode__WEBPACK_IMPORTED_MODULE_101__.VisibilityBlockNode, _ElementProcessors_Layout_Warning_WarningNode__WEBPACK_IMPORTED_MODULE_102__.WarningNode, _ElementProcessors_ControlFlow_When_WhenNode__WEBPACK_IMPORTED_MODULE_103__.WhenNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_31__.ExpertNoteNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_31__.MessageBoxNode, _ElementProcessors_Action_Link_LinkNode__WEBPACK_IMPORTED_MODULE_69__.LinkNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_31__.NameNode, _ElementProcessors_ValueViewers_Linetext_LineTextNode__WEBPACK_IMPORTED_MODULE_68__.LineTextNode, _ElementProcessors_ControlFlow_Captions_Short_ShortNode__WEBPACK_IMPORTED_MODULE_115__.ShortNode, _ElementProcessors_ControlFlow_Captions_Long_LongNode__WEBPACK_IMPORTED_MODULE_114__.LongNode, _ElementProcessors_ControlFlow_Captions_FillHint_FillHintNode__WEBPACK_IMPORTED_MODULE_116__.FillHintNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_61__.IfNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_61__.ElseNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_61__.ThenNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_93__.SimpleTableRowNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_93__.SimpleTableColumnNode, _ElementProcessors_Layout_Stack_StackNode__WEBPACK_IMPORTED_MODULE_4__.StackNode, _ElementProcessors_Layout_Grid_GridNode__WEBPACK_IMPORTED_MODULE_3__.GridNode, _ElementProcessors_MultiControls_StickyTable_StickyTableNode__WEBPACK_IMPORTED_MODULE_94__.StickyTableMultilineNode, _ElementProcessors_UnitParts_HeaderPanel_HeaderPanelNode__WEBPACK_IMPORTED_MODULE_8__.HeaderPanelNode, _ElementProcessors_Action_DropdownButton_DropdownButtonNode__WEBPACK_IMPORTED_MODULE_2__.DropdownButtonNode, _ElementProcessors_Action_Common_ActionNode__WEBPACK_IMPORTED_MODULE_118__.ActionNode, _ElementProcessors_MultiControls_Tabs_TabsNode__WEBPACK_IMPORTED_MODULE_7__.TabsNode, _ElementProcessors_ValueEditors_Fias_FiasNode__WEBPACK_IMPORTED_MODULE_0__.FiasNode, _ElementProcessors_MultiControls_FilterSelect_FilterSelectNode__WEBPACK_IMPORTED_MODULE_5__.FilterSelectNode, _ElementProcessors_MultiControls_Table2_Table2Node__WEBPACK_IMPORTED_MODULE_6__.Table2Node, _ElementProcessors_Layout_FixedTabs_FixedTabsNode__WEBPACK_IMPORTED_MODULE_107__.FixedTabsNode, _ElementProcessors_Layout_FixedTabs_FixedTabsNode__WEBPACK_IMPORTED_MODULE_107__.FixedTabNode, _ElementProcessors_MultiControls_Multiple_MultipleNode__WEBPACK_IMPORTED_MODULE_108__.MultipleNode, _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelNode__WEBPACK_IMPORTED_MODULE_109__.ExcelPastePanelNode, _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_110__.ReferencedFieldsNode, _ElementProcessors_FormParts_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_111__.UserPicklistNode, _ElementProcessors_ValueEditors_TaxRebate_TaxRebateNode__WEBPACK_IMPORTED_MODULE_112__.TaxRebateNode, _ElementProcessors_FormParts_Banner_BannerNode__WEBPACK_IMPORTED_MODULE_113__.BannerNode, _ElementProcessors_ValueViewers_DateView_DateViewNode__WEBPACK_IMPORTED_MODULE_117__.DateViewNode, _ElementProcessors_Action_Kebab_KebabNode__WEBPACK_IMPORTED_MODULE_119__.KebabNode, _ElementProcessors_Helpers_Clue_InfoBlockNode__WEBPACK_IMPORTED_MODULE_120__.InfoBlockNode, _ElementProcessors_ValueEditors_SelectAllCheckbox_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_121__.SelectAllCheckboxNode, _ElementProcessors_ValueEditors_SelectCheckbox_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_125__.SelectCheckboxNode, _ElementProcessors_MultiControls_InstanceNumber_InstanceNumberNode__WEBPACK_IMPORTED_MODULE_126__.InstanceNumberNode, _ElementProcessors_Layout_OptionalBlock_OptionalBlockNode__WEBPACK_IMPORTED_MODULE_127__.OptionalBlockNode, _ElementProcessors_MultiControls_AggregationQuery_AggregationQueryNode__WEBPACK_IMPORTED_MODULE_128__.AggregationQueryNode, _ElementProcessors_MultiControls_AggregationQuery_AggregationQueryNode__WEBPACK_IMPORTED_MODULE_128__.AggregationQuerySelectNode, _ElementProcessors_MultiControls_AggregationQuery_AggregationQueryNode__WEBPACK_IMPORTED_MODULE_128__.AggregationQueryContentNode, _ElementProcessors_MultiControls_ContextVar_ExprEvalNode__WEBPACK_IMPORTED_MODULE_129__.ExprEvalNode];
|
|
105915
106341
|
}
|
|
105916
106342
|
function getAllSchemaRngNodeClasses() {
|
|
105917
106343
|
return [_common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.SchemaRngElement, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.SchemaRngElementChoiceElement, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.SchemaRngInnerText, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.SchemaRngAttribute, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.SchemaRngType, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.MaxinclusiveTypeCheck, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.MininclusiveTypeCheck, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.FractiondigitsTypeCheck, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.IntegerdigitsTypeCheck, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.TotaldigitsTypeCheck, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.MaxlengthTypeCheck, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.MinlengthTypeCheck, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.LengthTypeCheck, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.EnumerationTypeCheck, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.PatternTypeCheck];
|
|
@@ -135741,16 +136167,6 @@ module.exports = "";
|
|
|
135741
136167
|
|
|
135742
136168
|
/***/ }),
|
|
135743
136169
|
|
|
135744
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/description.md":
|
|
135745
|
-
/*!******************************************************************************************************!*\
|
|
135746
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/description.md ***!
|
|
135747
|
-
\******************************************************************************************************/
|
|
135748
|
-
/***/ ((module) => {
|
|
135749
|
-
|
|
135750
|
-
module.exports = "Элемент для отображения информации из классификации: `Форма по КНД ${КНД}, {description}, версия формата ${fp:ВерсФорм | fp:specVersion |fp:F4FORM_version}`.\n\nЕсли у формы нет КНД (например, ФСС), то указывается атрибут `name` с названием формы.\n\nДля форм статистической отчетности неактуально.\n";
|
|
135751
|
-
|
|
135752
|
-
/***/ }),
|
|
135753
|
-
|
|
135754
136170
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/description.md":
|
|
135755
136171
|
/*!**************************************************************************************************!*\
|
|
135756
136172
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/description.md ***!
|
|
@@ -135761,6 +136177,16 @@ module.exports = "`templates=\"true\"` включает шаблоны (в candy
|
|
|
135761
136177
|
|
|
135762
136178
|
/***/ }),
|
|
135763
136179
|
|
|
136180
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/description.md":
|
|
136181
|
+
/*!******************************************************************************************************!*\
|
|
136182
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/description.md ***!
|
|
136183
|
+
\******************************************************************************************************/
|
|
136184
|
+
/***/ ((module) => {
|
|
136185
|
+
|
|
136186
|
+
module.exports = "Элемент для отображения информации из классификации: `Форма по КНД ${КНД}, {description}, версия формата ${fp:ВерсФорм | fp:specVersion |fp:F4FORM_version}`.\n\nЕсли у формы нет КНД (например, ФСС), то указывается атрибут `name` с названием формы.\n\nДля форм статистической отчетности неактуально.\n";
|
|
136187
|
+
|
|
136188
|
+
/***/ }),
|
|
136189
|
+
|
|
135764
136190
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Page/description.md":
|
|
135765
136191
|
/*!**************************************************************************************************!*\
|
|
135766
136192
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Page/description.md ***!
|
|
@@ -135841,6 +136267,16 @@ module.exports = "Выравнивание по базвой линии не в
|
|
|
135841
136267
|
|
|
135842
136268
|
/***/ }),
|
|
135843
136269
|
|
|
136270
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/description.md":
|
|
136271
|
+
/*!***************************************************************************************************!*\
|
|
136272
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/description.md ***!
|
|
136273
|
+
\***************************************************************************************************/
|
|
136274
|
+
/***/ ((module) => {
|
|
136275
|
+
|
|
136276
|
+
module.exports = "Модальное окно с компонентами из сахара. \n\nВ `<modalformlabel>` указывается контролы, при клике на которых открывется модальное окно, которые описывается в теге `<modalform>` вместе с остальными детьми.\n\nМодальные окна поддерживают вложенность.\n\nЗаголовок можно задать с помощью `<header>` или атрибута header в modalform.\nМожно не указывать `<footer>`, в этом случае отобразится дефолтный с кнопками \"Сохранить\" и \"Отменить\".\nФутер может содержать элементы `<modalformconfirm>` и `<modalformcancel>` и при клике на них вызваются действия \"Сохранить\" или \"Отменить\".\nТег `<body>` содержит основной контент модального окна.\n\nПример:\n```html\n<modalformlabel>\n <button path=\"button\">Открыть модальное окно</button>\n <modalform width=\"800\" footerPanel=\"true\">\n <header>\n ...Настраиваемый из сахара заголовк\n </header>\n <body>\n ...Контент в форме\n </body>\n <footer>\n ...Настраиваемый из сахара футер\n <modalformconfirm>\n <button use=\"primary\" size=\"medium\">\n Подтвердить\n </button>\n </modalformconfirm>\n <modalformcancel>\n <button use=\"link\" path=\"button\">\n Отменить\n </button>\n </modalformcancel>\n </footer>\n </modalform>\n</modalformlabel>\n```\n\nЕсли нужно игнорировать валидацию какого-либо контрола внутри модалки (например, какого-то текста), можно указать атрибут excludedVerifiablePath. Тогда путь, указанный в атрибуте, не бует валиироваться.\nПример:\n```html\n<modalform width=\"1050\" footerPanel=\"true\" excludedVerifiablePath=\"НаимВпсПкз\">\n <header>\n Детализация вписываемых показателей\n <subheader>\n $[caption]\n <text path=\"НаимВпсПкз\" />\n </subheader>\n </header>\n ...\n</modalform>\n```";
|
|
136277
|
+
|
|
136278
|
+
/***/ }),
|
|
136279
|
+
|
|
135844
136280
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalFormCancel/description.md":
|
|
135845
136281
|
/*!*********************************************************************************************************!*\
|
|
135846
136282
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalFormCancel/description.md ***!
|
|
@@ -135871,16 +136307,6 @@ module.exports = "Обязательно должен содержать <modalf
|
|
|
135871
136307
|
|
|
135872
136308
|
/***/ }),
|
|
135873
136309
|
|
|
135874
|
-
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/description.md":
|
|
135875
|
-
/*!***************************************************************************************************!*\
|
|
135876
|
-
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/description.md ***!
|
|
135877
|
-
\***************************************************************************************************/
|
|
135878
|
-
/***/ ((module) => {
|
|
135879
|
-
|
|
135880
|
-
module.exports = "Модальное окно с компонентами из сахара. \n\nВ `<modalformlabel>` указывается контролы, при клике на которых открывется модальное окно, которые описывается в теге `<modalform>` вместе с остальными детьми.\n\nМодальные окна поддерживают вложенность.\n\nЗаголовок можно задать с помощью `<header>` или атрибута header в modalform.\nМожно не указывать `<footer>`, в этом случае отобразится дефолтный с кнопками \"Сохранить\" и \"Отменить\".\nФутер может содержать элементы `<modalformconfirm>` и `<modalformcancel>` и при клике на них вызваются действия \"Сохранить\" или \"Отменить\".\nТег `<body>` содержит основной контент модального окна.\n\nПример:\n```html\n<modalformlabel>\n <button path=\"button\">Открыть модальное окно</button>\n <modalform width=\"800\" footerPanel=\"true\">\n <header>\n ...Настраиваемый из сахара заголовк\n </header>\n <body>\n ...Контент в форме\n </body>\n <footer>\n ...Настраиваемый из сахара футер\n <modalformconfirm>\n <button use=\"primary\" size=\"medium\">\n Подтвердить\n </button>\n </modalformconfirm>\n <modalformcancel>\n <button use=\"link\" path=\"button\">\n Отменить\n </button>\n </modalformcancel>\n </footer>\n </modalform>\n</modalformlabel>\n```\n\nЕсли нужно игнорировать валидацию какого-либо контрола внутри модалки (например, какого-то текста), можно указать атрибут excludedVerifiablePath. Тогда путь, указанный в атрибуте, не бует валиироваться.\nПример:\n```html\n<modalform width=\"1050\" footerPanel=\"true\" excludedVerifiablePath=\"НаимВпсПкз\">\n <header>\n Детализация вписываемых показателей\n <subheader>\n $[caption]\n <text path=\"НаимВпсПкз\" />\n </subheader>\n </header>\n ...\n</modalform>\n```";
|
|
135881
|
-
|
|
135882
|
-
/***/ }),
|
|
135883
|
-
|
|
135884
136310
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/FilterDateRange/example.md":
|
|
135885
136311
|
/*!*************************************************************************************************************!*\
|
|
135886
136312
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/FilterDateRange/example.md ***!
|