@kontur.candy/generator 5.74.0-forminform.17 → 5.74.0-forminform.19
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 +280 -133
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2915,17 +2915,31 @@ module.exports = webpackEmptyContext;
|
|
|
2915
2915
|
/*!*********************************************************************************************************!*\
|
|
2916
2916
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TreePicklist/ sync .md$ ***!
|
|
2917
2917
|
\*********************************************************************************************************/
|
|
2918
|
-
/***/ ((module) => {
|
|
2918
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
2919
2919
|
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2920
|
+
var map = {
|
|
2921
|
+
"./description.md": "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TreePicklist/description.md"
|
|
2922
|
+
};
|
|
2923
|
+
|
|
2924
|
+
|
|
2925
|
+
function webpackContext(req) {
|
|
2926
|
+
var id = webpackContextResolve(req);
|
|
2927
|
+
return __webpack_require__(id);
|
|
2924
2928
|
}
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
+
function webpackContextResolve(req) {
|
|
2930
|
+
if(!__webpack_require__.o(map, req)) {
|
|
2931
|
+
var e = new Error("Cannot find module '" + req + "'");
|
|
2932
|
+
e.code = 'MODULE_NOT_FOUND';
|
|
2933
|
+
throw e;
|
|
2934
|
+
}
|
|
2935
|
+
return map[req];
|
|
2936
|
+
}
|
|
2937
|
+
webpackContext.keys = function webpackContextKeys() {
|
|
2938
|
+
return Object.keys(map);
|
|
2939
|
+
};
|
|
2940
|
+
webpackContext.resolve = webpackContextResolve;
|
|
2941
|
+
module.exports = webpackContext;
|
|
2942
|
+
webpackContext.id = "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TreePicklist sync recursive .md$";
|
|
2929
2943
|
|
|
2930
2944
|
/***/ }),
|
|
2931
2945
|
|
|
@@ -45629,6 +45643,33 @@ let CombinatorType = /*#__PURE__*/function (CombinatorType) {
|
|
|
45629
45643
|
|
|
45630
45644
|
/***/ }),
|
|
45631
45645
|
|
|
45646
|
+
/***/ "./Common/CommonConstants/DefaultServicesUrls.ts":
|
|
45647
|
+
/*!*******************************************************!*\
|
|
45648
|
+
!*** ./Common/CommonConstants/DefaultServicesUrls.ts ***!
|
|
45649
|
+
\*******************************************************/
|
|
45650
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
45651
|
+
|
|
45652
|
+
"use strict";
|
|
45653
|
+
__webpack_require__.r(__webpack_exports__);
|
|
45654
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
45655
|
+
/* harmony export */ DEFAULT_STAFF_SERVICE_URL: () => (/* binding */ DEFAULT_STAFF_SERVICE_URL),
|
|
45656
|
+
/* harmony export */ defaultServicesUrls: () => (/* binding */ defaultServicesUrls)
|
|
45657
|
+
/* harmony export */ });
|
|
45658
|
+
const DEFAULT_KEFORMS_URL = "";
|
|
45659
|
+
const DEFAULT_STAFF_SERVICE_URL = "https://api.kontur.ru/staff";
|
|
45660
|
+
const DEFAULT_PICKLIST_URL = "";
|
|
45661
|
+
const DEFAULT_NIDUS_URL = "";
|
|
45662
|
+
const DEFAULT_FSPRINTER_URL = "";
|
|
45663
|
+
const defaultServicesUrls = {
|
|
45664
|
+
keformsUrl: DEFAULT_KEFORMS_URL,
|
|
45665
|
+
staffServiceUrl: DEFAULT_STAFF_SERVICE_URL,
|
|
45666
|
+
picklistUrl: DEFAULT_PICKLIST_URL,
|
|
45667
|
+
nidusUrl: DEFAULT_NIDUS_URL,
|
|
45668
|
+
fsPrinterUrl: DEFAULT_FSPRINTER_URL
|
|
45669
|
+
};
|
|
45670
|
+
|
|
45671
|
+
/***/ }),
|
|
45672
|
+
|
|
45632
45673
|
/***/ "./Common/CommonConstants/SectionNames.ts":
|
|
45633
45674
|
/*!************************************************!*\
|
|
45634
45675
|
!*** ./Common/CommonConstants/SectionNames.ts ***!
|
|
@@ -45764,8 +45805,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
45764
45805
|
/* harmony export */ isContextualActionName: () => (/* binding */ isContextualActionName),
|
|
45765
45806
|
/* harmony export */ isValidContextualActionName: () => (/* binding */ isValidContextualActionName)
|
|
45766
45807
|
/* harmony export */ });
|
|
45808
|
+
const contextualActions = ["userPicklist.AddToReference", "referencedfields.ClearFields", "referencedfields.SwitchToManual", "referencedfields.SwitchToReferenced", "referencedfields.SelectFromReference", "modalInstanceUnit.Open", "modalInstanceUnit.Close"];
|
|
45767
45809
|
function isValidContextualActionName(value) {
|
|
45768
|
-
return
|
|
45810
|
+
return contextualActions.some(x => value);
|
|
45769
45811
|
}
|
|
45770
45812
|
function isContextualActionName(handlerName) {
|
|
45771
45813
|
return handlerName.includes(".");
|
|
@@ -73954,7 +73996,7 @@ class FormulaExpressionToFlangExpressionConverter {
|
|
|
73954
73996
|
return (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.castOperandToDecimalIfNeed)(this.compiledArgumentExpression(prefix, target, expression.select, "string", addPrecalculationRule, "Count"), 0);
|
|
73955
73997
|
}
|
|
73956
73998
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaInstanceCountExpression) {
|
|
73957
|
-
return this.compiledInstanceCountExpression(prefix, target, expression.select);
|
|
73999
|
+
return this.compiledInstanceCountExpression(prefix, target, expression.select, addPrecalculationRule);
|
|
73958
74000
|
}
|
|
73959
74001
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaLengthExpression) {
|
|
73960
74002
|
return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.LenExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.castOperandToStringIfNeed)(this.compileExpressionToFlangExpressionInternal(expression.argument, prefix, target, addPrecalculationRule)));
|
|
@@ -74323,12 +74365,17 @@ class FormulaExpressionToFlangExpressionConverter {
|
|
|
74323
74365
|
return (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_6__.reject)(`Unknown ExpressionTypeProperty [${type}]`);
|
|
74324
74366
|
}
|
|
74325
74367
|
}
|
|
74326
|
-
compiledInstanceCountExpression(prefix, target, selectPath) {
|
|
74368
|
+
compiledInstanceCountExpression(prefix, target, selectPath, addPrecalculationRule) {
|
|
74327
74369
|
const adjustedSelectPath = this.preparePathAndAdjustMultiplicity(prefix, selectPath).trimLastStarIfLastToken();
|
|
74328
74370
|
const splitInfo = (0,_Common_ModelPath_PathSplitHelper__WEBPACK_IMPORTED_MODULE_5__.getMatchedAndDifferentModelPaths)(target.path, adjustedSelectPath);
|
|
74329
74371
|
if (!splitInfo.differentPath.isContainIteration()) {
|
|
74330
|
-
const
|
|
74331
|
-
|
|
74372
|
+
const countOfChildTarget = adjustedSelectPath.joinWith("InstanceCount");
|
|
74373
|
+
const countOfChildTargetValueRef = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.ValueReferenceExpression(countOfChildTarget, "value");
|
|
74374
|
+
const countOfChildExpression = (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.castOperandToStringIfNeed)(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.NullCoalesceExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.ArrayLengthExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.DeserializeEnumerationExpression([(0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.makeStringValueReference)(adjustedSelectPath.toCurrentIteration().normalize(), "children")], new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.BoolLiteralExpression(true))), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.DecimalLiteralExpression(0)));
|
|
74375
|
+
const requiredStatement = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.SetStatement(countOfChildTargetValueRef, countOfChildExpression);
|
|
74376
|
+
addPrecalculationRule(requiredStatement);
|
|
74377
|
+
const resultExpression = (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.castOperandToDecimalIfNeed)(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.ValueReferenceExpression(countOfChildTarget.toCurrentIteration(), "value"));
|
|
74378
|
+
return resultExpression;
|
|
74332
74379
|
} else {
|
|
74333
74380
|
throw new Error(`Instance count with nested multiplicity is not supported: target: ${target.path}, select path: ${selectPath}}`);
|
|
74334
74381
|
}
|
|
@@ -79029,6 +79076,10 @@ function naiveConvertJsConditionToKCLangCondition(condition) {
|
|
|
79029
79076
|
applyReplacements([/path\('@settings\/isIndividual'\)\s*!==?\s*false/g, "1 == 2"]);
|
|
79030
79077
|
applyReplacements([/path\('@settings\/isIndividual'\)\s*!==?\s*'false'/g, "1 == 2"]);
|
|
79031
79078
|
applyReplacements([/path\('@settings\/isIndividual'\)/g, "'false'"]);
|
|
79079
|
+
applyReplacements([/path\('@settings\/isFormInFormNds'\)\s*===?\s*true/g, "1 == 1"]);
|
|
79080
|
+
applyReplacements([/path\('@settings\/isFormInFormNds'\)\s*===?\s*'true'/g, "1 == 1"]);
|
|
79081
|
+
applyReplacements([/path\('@settings\/isFormInFormNds'\)\s*===?\s*false/g, "0 == 1"]);
|
|
79082
|
+
applyReplacements([/path\('@settings\/isFormInFormNds'\)\s*===?\s*'false'/g, "0 == 1"]);
|
|
79032
79083
|
applyReplacements([/path\('([^']*?)'\)\s*===?\s*'/g, "($1 as string) == '"]);
|
|
79033
79084
|
applyReplacements([/path\('([^']*?)'\)\s*!==?\s*'/g, "($1 as string) != '"]);
|
|
79034
79085
|
applyReplacements([/path\('([^']*?)'\)\s*===?\s*(\d)/g, "$1 == $2"]);
|
|
@@ -79793,11 +79844,37 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
79793
79844
|
|
|
79794
79845
|
|
|
79795
79846
|
|
|
79796
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;
|
|
79847
|
+
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;
|
|
79848
|
+
|
|
79849
|
+
|
|
79850
|
+
|
|
79851
|
+
let AttachmentFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("attachmentform", `Встроенный редактор для формализованного приложения`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/AttachmentForm sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("gfv", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, `ГФВ приложения`), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("name", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, `Крактое название раздела, в который поместить форму`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("description", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, `Описание формы приложения`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, `Путь до поля с именем приложения`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("navigationLimit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Количество экземпляров множественного раздела после которого в левом меню будет включаться компактный режим отображения разделов. По умолчанию: 15. Используется только для множественных разделов`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("multiple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Обозначение множественного раздела`), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("visible", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.javaScriptExpressionLink)} для условного скрытия раздела`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Опциональный раздел`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("pageActions", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.objectLiteral(), `Атрибут для кастомизации действий с разделом.
|
|
79852
|
+
|
|
79853
|
+
Объект с опциональным полями: caption: string, disableButton: boolean, hideButton: boolean,
|
|
79854
|
+
showInsertButtons: boolean, lastButtonName: string, intermediateButtonName: string,
|
|
79855
|
+
actions: {}.
|
|
79856
|
+
|
|
79857
|
+
actions: {
|
|
79858
|
+
[actionName: string]: {
|
|
79859
|
+
description?: string;
|
|
79860
|
+
disableAction?: boolean;
|
|
79861
|
+
hideAction?: boolean;
|
|
79862
|
+
};
|
|
79863
|
+
};
|
|
79797
79864
|
|
|
79865
|
+
actionName: enableAutoValues, clear, remove, copy
|
|
79866
|
+
`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("extraPageActions", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.objectLiteral(), `Атрибут для дополнительных действий.
|
|
79798
79867
|
|
|
79868
|
+
Объект с набором действий:
|
|
79799
79869
|
|
|
79800
|
-
|
|
79870
|
+
[actionName: string]: {
|
|
79871
|
+
description?: string;
|
|
79872
|
+
disableAction?: boolean;
|
|
79873
|
+
hideAction?: boolean;
|
|
79874
|
+
tid?: string;
|
|
79875
|
+
handler?: string;
|
|
79876
|
+
};
|
|
79877
|
+
`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec(_class = (_class2 = class AttachmentFormNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
79801
79878
|
constructor(...args) {
|
|
79802
79879
|
super(...args);
|
|
79803
79880
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gfv", _descriptor, this);
|
|
@@ -79808,7 +79885,9 @@ let AttachmentFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
|
|
|
79808
79885
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multiple", _descriptor6, this);
|
|
79809
79886
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "visible", _descriptor7, this);
|
|
79810
79887
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor8, this);
|
|
79811
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
79888
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pageActions", _descriptor9, this);
|
|
79889
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "extraPageActions", _descriptor10, this);
|
|
79890
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor11, this);
|
|
79812
79891
|
}
|
|
79813
79892
|
getOwnPath() {
|
|
79814
79893
|
return this.path != undefined ? (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_4__.createFromMask)(this.path, "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_4__.PathTokens.each) : undefined;
|
|
@@ -79853,7 +79932,17 @@ let AttachmentFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
|
|
|
79853
79932
|
enumerable: true,
|
|
79854
79933
|
writable: true,
|
|
79855
79934
|
initializer: null
|
|
79856
|
-
}), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
79935
|
+
}), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pageActions", [_dec10], {
|
|
79936
|
+
configurable: true,
|
|
79937
|
+
enumerable: true,
|
|
79938
|
+
writable: true,
|
|
79939
|
+
initializer: null
|
|
79940
|
+
}), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "extraPageActions", [_dec11], {
|
|
79941
|
+
configurable: true,
|
|
79942
|
+
enumerable: true,
|
|
79943
|
+
writable: true,
|
|
79944
|
+
initializer: null
|
|
79945
|
+
}), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec12], {
|
|
79857
79946
|
configurable: true,
|
|
79858
79947
|
enumerable: true,
|
|
79859
79948
|
writable: true,
|
|
@@ -80830,6 +80919,9 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
80830
80919
|
} else {
|
|
80831
80920
|
panelBuilder.appendChild(this.buildNavigationFromPages(node, context));
|
|
80832
80921
|
}
|
|
80922
|
+
if (node.onPrint) {
|
|
80923
|
+
panelBuilder.prop(x => x.onPrint).set(context.generateHelperFunctionExpression(node, "onPrint", node.onPrint));
|
|
80924
|
+
}
|
|
80833
80925
|
return panelBuilder;
|
|
80834
80926
|
}
|
|
80835
80927
|
buildRegularFormContent(node, context) {
|
|
@@ -80855,6 +80947,7 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
80855
80947
|
markupBuilder.prop(x => x.minHeight).set(pageNode.minHeight);
|
|
80856
80948
|
markupBuilder.prop("data-tid").set(pageNode.id);
|
|
80857
80949
|
markupBuilder.prop(x => x.unitId).set((0,_Engine_src_Controls_FormParts_Unit_UnitId_UnitId__WEBPACK_IMPORTED_MODULE_13__.createUnitId)(pageNode.id));
|
|
80950
|
+
markupBuilder.prop(x => x.modalInstancePageId).set(pageNode.modalUnitPageId);
|
|
80858
80951
|
const noContent = pageNode.children.find(x => x instanceof _Content_ContentNode__WEBPACK_IMPORTED_MODULE_14__.ContentNode) == undefined;
|
|
80859
80952
|
if (noContent) {
|
|
80860
80953
|
markupBuilder.prop(x => x.noContent).set(true);
|
|
@@ -80912,6 +81005,7 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
80912
81005
|
return markupBuilder;
|
|
80913
81006
|
}
|
|
80914
81007
|
buildAttachmentFormUnit(node, attachmentFormNode, context) {
|
|
81008
|
+
var _attachmentFormNode$o;
|
|
80915
81009
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_5__.componentMarkupBuilder)("AttachmentUnit");
|
|
80916
81010
|
markupBuilder.prop("data-tid").set(this.getAttachmentFormId(attachmentFormNode));
|
|
80917
81011
|
markupBuilder.prop(x => x.unitId).set((0,_Engine_src_Controls_FormParts_Unit_UnitId_UnitId__WEBPACK_IMPORTED_MODULE_13__.createUnitId)(this.getAttachmentFormId(attachmentFormNode)));
|
|
@@ -80920,7 +81014,23 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
80920
81014
|
markupBuilder.prop(x => x.description).set(attachmentFormNode.description);
|
|
80921
81015
|
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(attachmentFormNode));
|
|
80922
81016
|
markupBuilder.prop(x => x.multiple).set(attachmentFormNode.multiple);
|
|
81017
|
+
markupBuilder.prop(x => x.optional).set((_attachmentFormNode$o = attachmentFormNode.optional) !== null && _attachmentFormNode$o !== void 0 ? _attachmentFormNode$o : false);
|
|
80923
81018
|
markupBuilder.prop(x => x.evaluatorsContextPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(attachmentFormNode));
|
|
81019
|
+
if (attachmentFormNode.pageActions != undefined) {
|
|
81020
|
+
markupBuilder.prop(x => x.pageActions).set(attachmentFormNode.pageActions);
|
|
81021
|
+
}
|
|
81022
|
+
if (attachmentFormNode.extraPageActions != undefined) {
|
|
81023
|
+
const extraPageActions = attachmentFormNode.extraPageActions.map(action => {
|
|
81024
|
+
var _action$disableAction;
|
|
81025
|
+
return {
|
|
81026
|
+
tid: action.tid,
|
|
81027
|
+
description: action.description,
|
|
81028
|
+
handler: context.generateHelperFunctionExpressionWithoutContext(node, "handler", action.handler),
|
|
81029
|
+
disabled: (_action$disableAction = action.disableAction) !== null && _action$disableAction !== void 0 ? _action$disableAction : false
|
|
81030
|
+
};
|
|
81031
|
+
});
|
|
81032
|
+
markupBuilder.prop(x => x.extraPageActions).set(extraPageActions);
|
|
81033
|
+
}
|
|
80924
81034
|
const compiledCondition = generateKcLangOrJsCondition(attachmentFormNode);
|
|
80925
81035
|
if (attachmentFormNode.visible != undefined) {
|
|
80926
81036
|
markupBuilder.prop(x => x.visible).set({
|
|
@@ -80929,6 +81039,7 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
80929
81039
|
dependencies: compiledCondition === null || compiledCondition === void 0 ? void 0 : compiledCondition.dependencies
|
|
80930
81040
|
});
|
|
80931
81041
|
}
|
|
81042
|
+
markupBuilder.appendChild(context.convertChildNodes(attachmentFormNode.children));
|
|
80932
81043
|
return markupBuilder;
|
|
80933
81044
|
}
|
|
80934
81045
|
isPageContainsTableWithStickyElements(pageNode) {
|
|
@@ -80975,12 +81086,13 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
80975
81086
|
buildUnitItemsFromAttachmentForms(formNode, attachmentFormNodes) {
|
|
80976
81087
|
const unitItemBuilders = [];
|
|
80977
81088
|
for (const attachmentForm of attachmentFormNodes) {
|
|
80978
|
-
var _attachmentForm$multi;
|
|
81089
|
+
var _attachmentForm$optio2, _attachmentForm$multi;
|
|
80979
81090
|
const unitItemBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_5__.componentMarkupBuilder)("UnitItem");
|
|
80980
|
-
|
|
80981
|
-
unitItemBuilder.prop(
|
|
81091
|
+
const attachmentFormId = this.getAttachmentFormId(attachmentForm);
|
|
81092
|
+
unitItemBuilder.prop("data-tid").set(attachmentFormId);
|
|
81093
|
+
unitItemBuilder.prop(x => x.id).set((0,_Engine_src_Controls_FormParts_Unit_UnitId_UnitId__WEBPACK_IMPORTED_MODULE_13__.createUnitId)(attachmentFormId));
|
|
80982
81094
|
unitItemBuilder.prop(x => x.name).set(attachmentForm.name);
|
|
80983
|
-
unitItemBuilder.prop(x => x.optional).set(
|
|
81095
|
+
unitItemBuilder.prop(x => x.optional).set((_attachmentForm$optio2 = attachmentForm.optional) !== null && _attachmentForm$optio2 !== void 0 ? _attachmentForm$optio2 : false);
|
|
80984
81096
|
unitItemBuilder.prop(x => x.multiple).set((_attachmentForm$multi = attachmentForm.multiple) !== null && _attachmentForm$multi !== void 0 ? _attachmentForm$multi : false);
|
|
80985
81097
|
unitItemBuilder.prop(x => x.multipleAppearance).set("flat");
|
|
80986
81098
|
unitItemBuilder.prop(x => x.pages).set([]);
|
|
@@ -80998,6 +81110,9 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
80998
81110
|
unitItemBuilder.prop(x => x.navigationLimit).set(navigationLimit);
|
|
80999
81111
|
}
|
|
81000
81112
|
}
|
|
81113
|
+
if (attachmentForm.pageActions != undefined) {
|
|
81114
|
+
unitItemBuilder.prop(x => x.pageActions).set(attachmentForm.pageActions);
|
|
81115
|
+
}
|
|
81001
81116
|
const compiledCondition = generateKcLangOrJsCondition(attachmentForm);
|
|
81002
81117
|
if (attachmentForm.visible != undefined) {
|
|
81003
81118
|
unitItemBuilder.prop(x => x.visible).set({
|
|
@@ -81109,7 +81224,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
81109
81224
|
|
|
81110
81225
|
|
|
81111
81226
|
|
|
81112
|
-
var _dec, _dec2, _class, _class2, _descriptor, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _class3, _class4, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _descriptor45;
|
|
81227
|
+
var _dec, _dec2, _class, _class2, _descriptor, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _dec49, _class3, _class4, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _descriptor45, _descriptor46, _descriptor47;
|
|
81113
81228
|
|
|
81114
81229
|
|
|
81115
81230
|
|
|
@@ -81135,8 +81250,8 @@ let FetchFunctionsReferenceNode = (_dec = (0,_Serializer_SugarSerializer__WEBPAC
|
|
|
81135
81250
|
writable: true,
|
|
81136
81251
|
initializer: null
|
|
81137
81252
|
}), _class2)) || _class);
|
|
81138
|
-
let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("form", `Корневой элемент формы.`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form sync recursive .md$")), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingScopeMixinNode), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("userpicklist", [_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_11__.UserPicklistNode]), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("tour", [_Tour_TourNode__WEBPACK_IMPORTED_MODULE_10__.TourNode]), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("fetchfunctions", [FetchFunctionsReferenceNode]), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("modalIE8", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("m", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("uf", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("forceNavigate", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hideUnitsAdder", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hasRegionalForms", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.UntypedUsage), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("controls"), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("modalheader", [_ModalHeader_ModalHeaderNode__WEBPACK_IMPORTED_MODULE_14__.ModalHeaderNode]), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("import", [_SugarNodes_Nodes_ImportNode__WEBPACK_IMPORTED_MODULE_7__.ImportNode]), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("panel", [_Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_15__.PanelNode]), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("zeroreportoptions", [_ZeroReportOptions_ZeroReportOptionsNode__WEBPACK_IMPORTED_MODULE_13__.ZeroReportOptionsNode]), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("page", [_Page_PageNode__WEBPACK_IMPORTED_MODULE_8__.PageNode]), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("attachmentform", [_AttachmentForm_AttachmentFormNode__WEBPACK_IMPORTED_MODULE_9__.AttachmentFormNode]), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("simple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("schemaValidations", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Валидации из схемы. По умолчанию true. Отключены старым формам `),
|
|
81139
|
-
После проверки фокус падает на невалидное поле, если это возможно. Например на input`),
|
|
81253
|
+
let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("form", `Корневой элемент формы.`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form sync recursive .md$")), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingScopeMixinNode), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("userpicklist", [_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_11__.UserPicklistNode]), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("tour", [_Tour_TourNode__WEBPACK_IMPORTED_MODULE_10__.TourNode]), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("fetchfunctions", [FetchFunctionsReferenceNode]), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("modalIE8", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("m", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("uf", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("forceNavigate", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hideUnitsAdder", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hasRegionalForms", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.UntypedUsage), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("controls"), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("modalheader", [_ModalHeader_ModalHeaderNode__WEBPACK_IMPORTED_MODULE_14__.ModalHeaderNode]), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("import", [_SugarNodes_Nodes_ImportNode__WEBPACK_IMPORTED_MODULE_7__.ImportNode]), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("panel", [_Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_15__.PanelNode]), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("zeroreportoptions", [_ZeroReportOptions_ZeroReportOptionsNode__WEBPACK_IMPORTED_MODULE_13__.ZeroReportOptionsNode]), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("page", [_Page_PageNode__WEBPACK_IMPORTED_MODULE_8__.PageNode]), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("attachmentform", [_AttachmentForm_AttachmentFormNode__WEBPACK_IMPORTED_MODULE_9__.AttachmentFormNode]), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("simple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("doNotValidateFormOnStart", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Не запускать валидацию формы на старте по умолчанию. Настройка может быть переопределена, при запуске формы startForm`), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("schemaValidations", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Валидации из схемы. По умолчанию true. Отключены старым формам `), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("isReadOnly", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Отобразить форму в режиме чтения - все редактирование будет отключено (включая интерактивные элементы - валидации, фокус, подсветки тултипы и тд)"), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("ieDeprecationWarningEnabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Отображать окно с предупреждением, что некоторые функции в ie не работают, с предложением скачать другие браузеры. Не блокирует взаимодействие"), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("compactActionPanel", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("enableCustomizationButton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Включить кнопку настройки оформления"), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("ieSizeLimitation", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Это флаг включает отображение заглушки для IE, если фуф больше определенного размера`), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("templates", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Управляет влючение возможность создавать и применять шаблоны keweb-а (кнопка в меню)`), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("plain", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Форма без боковой панели, которая будет содержать один раздел`), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("requisite", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Есть подозрение что это свойство не используется`), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, ``), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("cssWidth", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Более преоритетный чем обычный width, задается как css`), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("buttonSettingsType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.enum(_Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_12__.ButtonSettingsTypeEnum.Revise, _Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_12__.ButtonSettingsTypeEnum.DigitalWarrant), `Разные настройки кнопок отправить и действий с формой. Сейчас есть только ${_Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_12__.ButtonSettingsTypeEnum.Revise} / ${_Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_12__.ButtonSettingsTypeEnum.DigitalWarrant} который будет делать кнопки в плашке для simple form как у ИОН или Сверке ФСС`), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("isEnableTemplates", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Включить отображение кнопки шаблонов`), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("validationBeforeSend", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Локальная проверка, которая не даст отправить форму, если есть невалидные поля.\n
|
|
81254
|
+
После проверки фокус падает на невалидное поле, если это возможно. Например на input`), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("padding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.lengthUnit, ``), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("maxunitscount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `По дефолту 15. Если количество разделов превышает \`maxunitscount\`, начинает работать частичный рендеринг. Отрисовывается столько разделов вниз от текущего, сколько задано в настройке, а при скроллинге вниз рендерятся следующие. Используется для больших форм с множественными разделами (напр, ЕНВД, Прибыль), помогает облегчить загрузку редактора`), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("onExternalInitSection", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.helperFunctionName, `Выполнение хелпер функции при вызове keweb-ого лайтбокса от внешних ребят. Когда редактор открывается из Контур Бухагалтерии или ТО. Чтобы вызвать - надо в query params передать initSectionLightbox="Path" где Path - путь до раздела`), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("unitscount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, ``), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("transferText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.localizedString, `Текст в лайтбоксе, который появляется по кнопке "Перенести данные"`), _dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("navigationLimit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Количество множественных разделов при котором навигация сворачивается (в левой колонке отображаются не все экземпляры), как выглядит можешь посмотреть в ЕНВД при количестве разделов 2 больше 15`), _dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("uploadFufButtonEnabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Включает кнопку загрузить отчет в "Другие действия" в панели слева.`), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.markupAttr)("fufSizeTooLargeErrorText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Описание ошибки для большого размера файла`), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("uploadFufLightboxHideDemandNameButton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Отключает кнопку "Показать имя требования" внутри лайтбокса Загрузки файла.`), _dec46 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("defaultUnitsCountForPaging", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Количество инстансов множественного раздела на котором включается паджинация раздела`), _dec47 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("onPrint", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Переопределение печати формы`), _dec48 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("type", [_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_3__.TypeNode]), _dec49 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("types", [_TypeListNode__WEBPACK_IMPORTED_MODULE_16__.TypeListNode]), _dec3(_class3 = (_class4 = class FormNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.SugarNodeBase {
|
|
81140
81255
|
constructor(...args) {
|
|
81141
81256
|
super(...args);
|
|
81142
81257
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor2, this);
|
|
@@ -81157,32 +81272,34 @@ let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
|
|
|
81157
81272
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pages", _descriptor17, this);
|
|
81158
81273
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "attachmentForms", _descriptor18, this);
|
|
81159
81274
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "simple", _descriptor19, this);
|
|
81160
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81161
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81162
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81163
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81164
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81165
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81166
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81167
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81168
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81169
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81170
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81171
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81172
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81173
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81174
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81175
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81176
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81177
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81178
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81179
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81180
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81181
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81182
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81183
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81184
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81185
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81275
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "doNotValidateFormOnStart", _descriptor20, this);
|
|
81276
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "schemaValidations", _descriptor21, this);
|
|
81277
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "isReadOnly", _descriptor22, this);
|
|
81278
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "ieDeprecationWarningEnabled", _descriptor23, this);
|
|
81279
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "compactActionPanel", _descriptor24, this);
|
|
81280
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "enableCustomizationButton", _descriptor25, this);
|
|
81281
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "ieSizeLimitation", _descriptor26, this);
|
|
81282
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "templates", _descriptor27, this);
|
|
81283
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "plain", _descriptor28, this);
|
|
81284
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "requisite", _descriptor29, this);
|
|
81285
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor30, this);
|
|
81286
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "cssWidth", _descriptor31, this);
|
|
81287
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "buttonSettingsType", _descriptor32, this);
|
|
81288
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "isEnableTemplates", _descriptor33, this);
|
|
81289
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "validationBeforeSend", _descriptor34, this);
|
|
81290
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "padding", _descriptor35, this);
|
|
81291
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "maxUnitsCount", _descriptor36, this);
|
|
81292
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onExternalInitSection", _descriptor37, this);
|
|
81293
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "unitsCount", _descriptor38, this);
|
|
81294
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "transferText", _descriptor39, this);
|
|
81295
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationLimit", _descriptor40, this);
|
|
81296
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadFufButtonEnabled", _descriptor41, this);
|
|
81297
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "fufSizeTooLargeErrorText", _descriptor42, this);
|
|
81298
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadFufLightboxHideDemandNameButton", _descriptor43, this);
|
|
81299
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "defaultUnitsCountForPaging", _descriptor44, this);
|
|
81300
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onPrint", _descriptor45, this);
|
|
81301
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "types", _descriptor46, this);
|
|
81302
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "typeLists", _descriptor47, this);
|
|
81186
81303
|
}
|
|
81187
81304
|
getOwnPath() {
|
|
81188
81305
|
return this.dataScope.getOwnPath();
|
|
@@ -81283,132 +81400,142 @@ let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
|
|
|
81283
81400
|
enumerable: true,
|
|
81284
81401
|
writable: true,
|
|
81285
81402
|
initializer: null
|
|
81286
|
-
}), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81403
|
+
}), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "doNotValidateFormOnStart", [_dec22], {
|
|
81287
81404
|
configurable: true,
|
|
81288
81405
|
enumerable: true,
|
|
81289
81406
|
writable: true,
|
|
81290
81407
|
initializer: null
|
|
81291
|
-
}), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81408
|
+
}), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "schemaValidations", [_dec23], {
|
|
81292
81409
|
configurable: true,
|
|
81293
81410
|
enumerable: true,
|
|
81294
81411
|
writable: true,
|
|
81295
81412
|
initializer: null
|
|
81296
|
-
}), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81413
|
+
}), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "isReadOnly", [_dec24], {
|
|
81297
81414
|
configurable: true,
|
|
81298
81415
|
enumerable: true,
|
|
81299
81416
|
writable: true,
|
|
81300
81417
|
initializer: null
|
|
81301
|
-
}), _descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81418
|
+
}), _descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "ieDeprecationWarningEnabled", [_dec25], {
|
|
81302
81419
|
configurable: true,
|
|
81303
81420
|
enumerable: true,
|
|
81304
81421
|
writable: true,
|
|
81305
81422
|
initializer: null
|
|
81306
|
-
}), _descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81423
|
+
}), _descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "compactActionPanel", [_dec26], {
|
|
81307
81424
|
configurable: true,
|
|
81308
81425
|
enumerable: true,
|
|
81309
81426
|
writable: true,
|
|
81310
81427
|
initializer: null
|
|
81311
|
-
}), _descriptor25 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81428
|
+
}), _descriptor25 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "enableCustomizationButton", [_dec27], {
|
|
81312
81429
|
configurable: true,
|
|
81313
81430
|
enumerable: true,
|
|
81314
81431
|
writable: true,
|
|
81315
81432
|
initializer: null
|
|
81316
|
-
}), _descriptor26 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81433
|
+
}), _descriptor26 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "ieSizeLimitation", [_dec28], {
|
|
81317
81434
|
configurable: true,
|
|
81318
81435
|
enumerable: true,
|
|
81319
81436
|
writable: true,
|
|
81320
81437
|
initializer: null
|
|
81321
|
-
}), _descriptor27 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81438
|
+
}), _descriptor27 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "templates", [_dec29], {
|
|
81322
81439
|
configurable: true,
|
|
81323
81440
|
enumerable: true,
|
|
81324
81441
|
writable: true,
|
|
81325
81442
|
initializer: null
|
|
81326
|
-
}), _descriptor28 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81443
|
+
}), _descriptor28 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "plain", [_dec30], {
|
|
81444
|
+
configurable: true,
|
|
81445
|
+
enumerable: true,
|
|
81446
|
+
writable: true,
|
|
81447
|
+
initializer: null
|
|
81448
|
+
}), _descriptor29 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "requisite", [_dec31], {
|
|
81449
|
+
configurable: true,
|
|
81450
|
+
enumerable: true,
|
|
81451
|
+
writable: true,
|
|
81452
|
+
initializer: null
|
|
81453
|
+
}), _descriptor30 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "width", [_dec32], {
|
|
81327
81454
|
configurable: true,
|
|
81328
81455
|
enumerable: true,
|
|
81329
81456
|
writable: true,
|
|
81330
81457
|
initializer: null
|
|
81331
|
-
}),
|
|
81458
|
+
}), _descriptor31 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "cssWidth", [_dec33], {
|
|
81332
81459
|
configurable: true,
|
|
81333
81460
|
enumerable: true,
|
|
81334
81461
|
writable: true,
|
|
81335
81462
|
initializer: null
|
|
81336
|
-
}),
|
|
81463
|
+
}), _descriptor32 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "buttonSettingsType", [_dec34], {
|
|
81337
81464
|
configurable: true,
|
|
81338
81465
|
enumerable: true,
|
|
81339
81466
|
writable: true,
|
|
81340
81467
|
initializer: null
|
|
81341
|
-
}),
|
|
81468
|
+
}), _descriptor33 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "isEnableTemplates", [_dec35], {
|
|
81342
81469
|
configurable: true,
|
|
81343
81470
|
enumerable: true,
|
|
81344
81471
|
writable: true,
|
|
81345
81472
|
initializer: null
|
|
81346
|
-
}),
|
|
81473
|
+
}), _descriptor34 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "validationBeforeSend", [_dec36], {
|
|
81347
81474
|
configurable: true,
|
|
81348
81475
|
enumerable: true,
|
|
81349
81476
|
writable: true,
|
|
81350
81477
|
initializer: null
|
|
81351
|
-
}),
|
|
81478
|
+
}), _descriptor35 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "padding", [_dec37], {
|
|
81352
81479
|
configurable: true,
|
|
81353
81480
|
enumerable: true,
|
|
81354
81481
|
writable: true,
|
|
81355
81482
|
initializer: null
|
|
81356
|
-
}),
|
|
81483
|
+
}), _descriptor36 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "maxUnitsCount", [_dec38], {
|
|
81357
81484
|
configurable: true,
|
|
81358
81485
|
enumerable: true,
|
|
81359
81486
|
writable: true,
|
|
81360
81487
|
initializer: null
|
|
81361
|
-
}),
|
|
81488
|
+
}), _descriptor37 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "onExternalInitSection", [_dec39], {
|
|
81362
81489
|
configurable: true,
|
|
81363
81490
|
enumerable: true,
|
|
81364
81491
|
writable: true,
|
|
81365
81492
|
initializer: null
|
|
81366
|
-
}),
|
|
81493
|
+
}), _descriptor38 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "unitsCount", [_dec40], {
|
|
81367
81494
|
configurable: true,
|
|
81368
81495
|
enumerable: true,
|
|
81369
81496
|
writable: true,
|
|
81370
81497
|
initializer: null
|
|
81371
|
-
}),
|
|
81498
|
+
}), _descriptor39 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "transferText", [_dec41], {
|
|
81372
81499
|
configurable: true,
|
|
81373
81500
|
enumerable: true,
|
|
81374
81501
|
writable: true,
|
|
81375
81502
|
initializer: null
|
|
81376
|
-
}),
|
|
81503
|
+
}), _descriptor40 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "navigationLimit", [_dec42], {
|
|
81377
81504
|
configurable: true,
|
|
81378
81505
|
enumerable: true,
|
|
81379
81506
|
writable: true,
|
|
81380
81507
|
initializer: null
|
|
81381
|
-
}),
|
|
81508
|
+
}), _descriptor41 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "uploadFufButtonEnabled", [_dec43], {
|
|
81382
81509
|
configurable: true,
|
|
81383
81510
|
enumerable: true,
|
|
81384
81511
|
writable: true,
|
|
81385
81512
|
initializer: null
|
|
81386
|
-
}),
|
|
81513
|
+
}), _descriptor42 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "fufSizeTooLargeErrorText", [_dec44], {
|
|
81387
81514
|
configurable: true,
|
|
81388
81515
|
enumerable: true,
|
|
81389
81516
|
writable: true,
|
|
81390
81517
|
initializer: null
|
|
81391
|
-
}),
|
|
81518
|
+
}), _descriptor43 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "uploadFufLightboxHideDemandNameButton", [_dec45], {
|
|
81392
81519
|
configurable: true,
|
|
81393
81520
|
enumerable: true,
|
|
81394
81521
|
writable: true,
|
|
81395
81522
|
initializer: null
|
|
81396
|
-
}),
|
|
81523
|
+
}), _descriptor44 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "defaultUnitsCountForPaging", [_dec46], {
|
|
81397
81524
|
configurable: true,
|
|
81398
81525
|
enumerable: true,
|
|
81399
81526
|
writable: true,
|
|
81400
81527
|
initializer: null
|
|
81401
|
-
}),
|
|
81528
|
+
}), _descriptor45 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "onPrint", [_dec47], {
|
|
81402
81529
|
configurable: true,
|
|
81403
81530
|
enumerable: true,
|
|
81404
81531
|
writable: true,
|
|
81405
81532
|
initializer: null
|
|
81406
|
-
}),
|
|
81533
|
+
}), _descriptor46 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "types", [_dec48], {
|
|
81407
81534
|
configurable: true,
|
|
81408
81535
|
enumerable: true,
|
|
81409
81536
|
writable: true,
|
|
81410
81537
|
initializer: null
|
|
81411
|
-
}),
|
|
81538
|
+
}), _descriptor47 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "typeLists", [_dec49], {
|
|
81412
81539
|
configurable: true,
|
|
81413
81540
|
enumerable: true,
|
|
81414
81541
|
writable: true,
|
|
@@ -81965,14 +82092,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
81965
82092
|
|
|
81966
82093
|
|
|
81967
82094
|
|
|
81968
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30;
|
|
82095
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31;
|
|
81969
82096
|
|
|
81970
82097
|
|
|
81971
82098
|
|
|
81972
82099
|
|
|
81973
82100
|
|
|
81974
82101
|
|
|
81975
|
-
let PageNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("page", `Страница (раздел)`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Page sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("id", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Уникальный идентификатор странцы. Все страницы в форме должны иметь уникальный идентификатор.`), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("template", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.enum("default", "title", "multiple", "diadoc"), 'Для множественных разделов необходимо указать `template="multiple"`, для обычных разделов `template="default"`'), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.bindingPathLink)} данного элемента`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("headerpanel", [_UnitParts_HeaderPanel_HeaderPanelNode__WEBPACK_IMPORTED_MODULE_3__.HeaderPanelNode]), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.deprecatedAttr)("title", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.Removed), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.deprecatedAttr)("formName", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.Removed), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("showOnDemand", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Раздел не будет отображаться на странице, пока не будет вызван явно. Например, через механизм отображения раздела в разделе.`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("onNavigateFromErrorLog", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется перед попыткой навигации в контрол внутри раздела"),
|
|
82102
|
+
let PageNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("page", `Страница (раздел)`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Page sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("id", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Уникальный идентификатор странцы. Все страницы в форме должны иметь уникальный идентификатор.`), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("template", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.enum("default", "title", "multiple", "diadoc"), 'Для множественных разделов необходимо указать `template="multiple"`, для обычных разделов `template="default"`'), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.bindingPathLink)} данного элемента`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("headerpanel", [_UnitParts_HeaderPanel_HeaderPanelNode__WEBPACK_IMPORTED_MODULE_3__.HeaderPanelNode]), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.deprecatedAttr)("title", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.Removed), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.deprecatedAttr)("formName", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.Removed), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("showOnDemand", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Раздел не будет отображаться на странице, пока не будет вызван явно. Например, через механизм отображения раздела в разделе.`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("modalUnitPageId", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `Id раздела, который будет отображён внутри данного раздела при вызове хелпер "modalInstanceUnit.Open".`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("onNavigateFromErrorLog", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется перед попыткой навигации в контрол внутри раздела"), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("onMount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется после загрузки раздела"), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("onUnmount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется перед выгрузкой раздела"), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("uploadFilesInPage", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызывается по клику на action 'Загрузить из файла' в 'Действия с разделом'"), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("enableUploadFilesInPage", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, "Включить показ действия 'Загрузить из файла', которое находится в кнопке 'Действия с разделом'"), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("orientation", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.enum("landscape"), `Ориентация страницы. При значении landscape станницы займёт всю доступную ширину экрана`), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("navigationName", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.localizedString, `Название Раздела в меню, если в сахаре есть отдельное описание навигации (unitList), то указывать не нужно`), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("height", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Начальная высота раздела`), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("minHeight", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Минимальная высота раздела`), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("multiple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Обозначение множественного раздела`), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("unitsCountForPaging", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Количество инстансов множественного раздела на котором включается паджинация раздела`), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("multipleAppearance", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.enum("nested", "flat"), "Представление множественных разделов: вложенное или плоское"), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Опциональный раздел`), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("pageActions", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.objectLiteral(), `Атрибут для кастомизации действий с разделом.
|
|
81976
82103
|
|
|
81977
82104
|
Объект с опциональным полями: caption: string, disableButton: boolean, hideButton: boolean,
|
|
81978
82105
|
showInsertButtons: boolean, lastButtonName: string, intermediateButtonName: string,
|
|
@@ -81987,10 +82114,10 @@ let PageNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5
|
|
|
81987
82114
|
};
|
|
81988
82115
|
|
|
81989
82116
|
actionName: enableAutoValues, clear, remove, copy
|
|
81990
|
-
`),
|
|
82117
|
+
`), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("clearConfirmationSettings", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.objectLiteral(), `Атрибут для кастомизации сообщений лайтбоксов очистки и удаления раздела.
|
|
81991
82118
|
- removeChildrenText: дополнительный (красный) текст про вложенные разделы (если они есть) в лайтбоксе подтверждения удаления. По умолчанию: "Все вложенные разделы также будут удалены."
|
|
81992
82119
|
- keepChildrenCustomText: название вложенных разделов и данных в радио-баттоне _Оставить_ в лайтбоксе очистки. По умолчанию: "вложенные разделы и данные в них"
|
|
81993
|
-
- clearChildrenCustomText: название вложенных разделов в радио-баттоне _Удалить_ в лайтбоксе очистки. По умолчанию: "вложенные разделы"`),
|
|
82120
|
+
- clearChildrenCustomText: название вложенных разделов в радио-баттоне _Удалить_ в лайтбоксе очистки. По умолчанию: "вложенные разделы"`), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("hideEnableAutoValues", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Всегда скрывать кнопку "Включить авторасчет", даже при включенной серверной нормализации`), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("navigationLimit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Количество экземпляров множественного раздела после которого в левом меню будет включаться компактный режим отображения разделов. По умолчанию: 15. Используется только для множественных разделов`), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("maxOccurs", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Максимальное количество экземпляров множественного раздела`), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("addingHint", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.localizedString, `Подсказка на кнопке добавления раздела в боковом меню. Используется только для множественных разделов`), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)("page"), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("title", [_PageTitleNode__WEBPACK_IMPORTED_MODULE_8__.PageTitleNode]), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("visible", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.javaScriptExpressionLink)} для условного скрытия раздела`), _dec(_class = (_class2 = class PageNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
|
|
81994
82121
|
constructor(...args) {
|
|
81995
82122
|
super(...args);
|
|
81996
82123
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "id", _descriptor, this);
|
|
@@ -82000,29 +82127,30 @@ let PageNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5
|
|
|
82000
82127
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "titleProp", _descriptor5, this);
|
|
82001
82128
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "formName", _descriptor6, this);
|
|
82002
82129
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "showOnDemand", _descriptor7, this);
|
|
82003
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82004
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82005
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82006
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82007
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82008
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82009
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82010
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82011
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82012
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82013
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82014
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82015
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82016
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82017
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82018
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82019
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82020
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82021
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82022
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82023
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82024
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82025
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
82130
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "modalUnitPageId", _descriptor8, this);
|
|
82131
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onNavigateFromErrorLog", _descriptor9, this);
|
|
82132
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onMount", _descriptor10, this);
|
|
82133
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onUnmount", _descriptor11, this);
|
|
82134
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadFilesInPage", _descriptor12, this);
|
|
82135
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "enableUploadFilesInPage", _descriptor13, this);
|
|
82136
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "orientation", _descriptor14, this);
|
|
82137
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationName", _descriptor15, this);
|
|
82138
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "height", _descriptor16, this);
|
|
82139
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "minHeight", _descriptor17, this);
|
|
82140
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multiple", _descriptor18, this);
|
|
82141
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "unitsCountForPaging", _descriptor19, this);
|
|
82142
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multipleAppearance", _descriptor20, this);
|
|
82143
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor21, this);
|
|
82144
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pageActions", _descriptor22, this);
|
|
82145
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "clearConfirmationSettings", _descriptor23, this);
|
|
82146
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "hideEnableAutoValues", _descriptor24, this);
|
|
82147
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationLimit", _descriptor25, this);
|
|
82148
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "maxOccurs", _descriptor26, this);
|
|
82149
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "addingHint", _descriptor27, this);
|
|
82150
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pages", _descriptor28, this);
|
|
82151
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor29, this);
|
|
82152
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "title", _descriptor30, this);
|
|
82153
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "visible", _descriptor31, this);
|
|
82026
82154
|
}
|
|
82027
82155
|
getOwnPath() {
|
|
82028
82156
|
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;
|
|
@@ -82066,117 +82194,122 @@ let PageNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5
|
|
|
82066
82194
|
enumerable: true,
|
|
82067
82195
|
writable: true,
|
|
82068
82196
|
initializer: null
|
|
82069
|
-
}), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
82197
|
+
}), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "modalUnitPageId", [_dec9], {
|
|
82070
82198
|
configurable: true,
|
|
82071
82199
|
enumerable: true,
|
|
82072
82200
|
writable: true,
|
|
82073
82201
|
initializer: null
|
|
82074
|
-
}), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
82202
|
+
}), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "onNavigateFromErrorLog", [_dec10], {
|
|
82075
82203
|
configurable: true,
|
|
82076
82204
|
enumerable: true,
|
|
82077
82205
|
writable: true,
|
|
82078
82206
|
initializer: null
|
|
82079
|
-
}), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
82207
|
+
}), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "onMount", [_dec11], {
|
|
82080
82208
|
configurable: true,
|
|
82081
82209
|
enumerable: true,
|
|
82082
82210
|
writable: true,
|
|
82083
82211
|
initializer: null
|
|
82084
|
-
}), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
82212
|
+
}), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "onUnmount", [_dec12], {
|
|
82085
82213
|
configurable: true,
|
|
82086
82214
|
enumerable: true,
|
|
82087
82215
|
writable: true,
|
|
82088
82216
|
initializer: null
|
|
82089
|
-
}), _descriptor12 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
82217
|
+
}), _descriptor12 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "uploadFilesInPage", [_dec13], {
|
|
82090
82218
|
configurable: true,
|
|
82091
82219
|
enumerable: true,
|
|
82092
82220
|
writable: true,
|
|
82093
82221
|
initializer: null
|
|
82094
|
-
}), _descriptor13 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
82222
|
+
}), _descriptor13 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "enableUploadFilesInPage", [_dec14], {
|
|
82095
82223
|
configurable: true,
|
|
82096
82224
|
enumerable: true,
|
|
82097
82225
|
writable: true,
|
|
82098
82226
|
initializer: null
|
|
82099
|
-
}), _descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
82227
|
+
}), _descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "orientation", [_dec15], {
|
|
82100
82228
|
configurable: true,
|
|
82101
82229
|
enumerable: true,
|
|
82102
82230
|
writable: true,
|
|
82103
82231
|
initializer: null
|
|
82104
|
-
}), _descriptor15 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
82232
|
+
}), _descriptor15 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "navigationName", [_dec16], {
|
|
82105
82233
|
configurable: true,
|
|
82106
82234
|
enumerable: true,
|
|
82107
82235
|
writable: true,
|
|
82108
82236
|
initializer: null
|
|
82109
|
-
}), _descriptor16 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
82237
|
+
}), _descriptor16 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "height", [_dec17], {
|
|
82110
82238
|
configurable: true,
|
|
82111
82239
|
enumerable: true,
|
|
82112
82240
|
writable: true,
|
|
82113
82241
|
initializer: null
|
|
82114
|
-
}), _descriptor17 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
82242
|
+
}), _descriptor17 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "minHeight", [_dec18], {
|
|
82115
82243
|
configurable: true,
|
|
82116
82244
|
enumerable: true,
|
|
82117
82245
|
writable: true,
|
|
82118
82246
|
initializer: null
|
|
82119
|
-
}), _descriptor18 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
82247
|
+
}), _descriptor18 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "multiple", [_dec19], {
|
|
82120
82248
|
configurable: true,
|
|
82121
82249
|
enumerable: true,
|
|
82122
82250
|
writable: true,
|
|
82123
82251
|
initializer: null
|
|
82124
|
-
}), _descriptor19 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
82252
|
+
}), _descriptor19 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "unitsCountForPaging", [_dec20], {
|
|
82125
82253
|
configurable: true,
|
|
82126
82254
|
enumerable: true,
|
|
82127
82255
|
writable: true,
|
|
82128
82256
|
initializer: null
|
|
82129
|
-
}), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
82257
|
+
}), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "multipleAppearance", [_dec21], {
|
|
82130
82258
|
configurable: true,
|
|
82131
82259
|
enumerable: true,
|
|
82132
82260
|
writable: true,
|
|
82133
82261
|
initializer: null
|
|
82134
|
-
}), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
82262
|
+
}), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "optional", [_dec22], {
|
|
82135
82263
|
configurable: true,
|
|
82136
82264
|
enumerable: true,
|
|
82137
82265
|
writable: true,
|
|
82138
82266
|
initializer: null
|
|
82139
|
-
}), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
82267
|
+
}), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pageActions", [_dec23], {
|
|
82140
82268
|
configurable: true,
|
|
82141
82269
|
enumerable: true,
|
|
82142
82270
|
writable: true,
|
|
82143
82271
|
initializer: null
|
|
82144
|
-
}), _descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
82272
|
+
}), _descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "clearConfirmationSettings", [_dec24], {
|
|
82145
82273
|
configurable: true,
|
|
82146
82274
|
enumerable: true,
|
|
82147
82275
|
writable: true,
|
|
82148
82276
|
initializer: null
|
|
82149
|
-
}), _descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
82277
|
+
}), _descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "hideEnableAutoValues", [_dec25], {
|
|
82150
82278
|
configurable: true,
|
|
82151
82279
|
enumerable: true,
|
|
82152
82280
|
writable: true,
|
|
82153
82281
|
initializer: null
|
|
82154
|
-
}), _descriptor25 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
82282
|
+
}), _descriptor25 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "navigationLimit", [_dec26], {
|
|
82155
82283
|
configurable: true,
|
|
82156
82284
|
enumerable: true,
|
|
82157
82285
|
writable: true,
|
|
82158
82286
|
initializer: null
|
|
82159
|
-
}), _descriptor26 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
82287
|
+
}), _descriptor26 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "maxOccurs", [_dec27], {
|
|
82160
82288
|
configurable: true,
|
|
82161
82289
|
enumerable: true,
|
|
82162
82290
|
writable: true,
|
|
82163
82291
|
initializer: null
|
|
82164
|
-
}), _descriptor27 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
82292
|
+
}), _descriptor27 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "addingHint", [_dec28], {
|
|
82165
82293
|
configurable: true,
|
|
82166
82294
|
enumerable: true,
|
|
82167
82295
|
writable: true,
|
|
82168
82296
|
initializer: null
|
|
82169
|
-
}), _descriptor28 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
82297
|
+
}), _descriptor28 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pages", [_dec29], {
|
|
82170
82298
|
configurable: true,
|
|
82171
82299
|
enumerable: true,
|
|
82172
82300
|
writable: true,
|
|
82173
82301
|
initializer: null
|
|
82174
|
-
}), _descriptor29 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
82302
|
+
}), _descriptor29 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec30], {
|
|
82175
82303
|
configurable: true,
|
|
82176
82304
|
enumerable: true,
|
|
82177
82305
|
writable: true,
|
|
82178
82306
|
initializer: null
|
|
82179
|
-
}), _descriptor30 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
82307
|
+
}), _descriptor30 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "title", [_dec31], {
|
|
82308
|
+
configurable: true,
|
|
82309
|
+
enumerable: true,
|
|
82310
|
+
writable: true,
|
|
82311
|
+
initializer: null
|
|
82312
|
+
}), _descriptor31 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "visible", [_dec32], {
|
|
82180
82313
|
configurable: true,
|
|
82181
82314
|
enumerable: true,
|
|
82182
82315
|
writable: true,
|
|
@@ -94599,6 +94732,7 @@ class FiasConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sug
|
|
|
94599
94732
|
const node = this.getCurrentNodeAs(_FiasNode__WEBPACK_IMPORTED_MODULE_5__.FiasNode);
|
|
94600
94733
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("Fias");
|
|
94601
94734
|
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_0__.getNewBindingPathExpression)(node));
|
|
94735
|
+
markupBuilder.prop(x => x.hasOwnBindingPath).set(node.getOwnPathForKCLang() != undefined);
|
|
94602
94736
|
markupBuilder.prop(x => x.title).set((_node$title = node.title) !== null && _node$title !== void 0 ? _node$title : "Адрес регистрации");
|
|
94603
94737
|
markupBuilder.prop(x => x.withSteads).set((_node$withSteads = node.withSteads) !== null && _node$withSteads !== void 0 ? _node$withSteads : false);
|
|
94604
94738
|
markupBuilder.prop(x => x.division).set((_node$division = node.division) !== null && _node$division !== void 0 ? _node$division : "municipal");
|
|
@@ -99190,7 +99324,7 @@ class TreePicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
|
|
|
99190
99324
|
markupBuilder.prop(x => x.gId).set(node.gId);
|
|
99191
99325
|
markupBuilder.prop(x => x.fields).set((_node$fields = node.fields) !== null && _node$fields !== void 0 ? _node$fields : []);
|
|
99192
99326
|
markupBuilder.prop(x => x.multiple).set(node.multiple);
|
|
99193
|
-
markupBuilder.prop(x => x.minPickLevel).set((_node$minPickLevel = node.minPickLevel) !== null && _node$minPickLevel !== void 0 ? _node$minPickLevel :
|
|
99327
|
+
markupBuilder.prop(x => x.minPickLevel).set((_node$minPickLevel = node.minPickLevel) !== null && _node$minPickLevel !== void 0 ? _node$minPickLevel : 1);
|
|
99194
99328
|
markupBuilder.prop(x => x.allowedToPickLevels).set(node.allowedToPickLevels);
|
|
99195
99329
|
markupBuilder.prop(x => x.fieldToDisableElementPick).set(node.fieldToDisableElementPick);
|
|
99196
99330
|
markupBuilder.prop(x => x.display).set((_node$display = node.display) !== null && _node$display !== void 0 ? _node$display : []);
|
|
@@ -104166,15 +104300,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
104166
104300
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
104167
104301
|
/* harmony export */ getSettings: () => (/* binding */ getSettings)
|
|
104168
104302
|
/* harmony export */ });
|
|
104169
|
-
/* harmony import */ var
|
|
104303
|
+
/* harmony import */ var _Common_CommonConstants_DefaultServicesUrls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../Common/CommonConstants/DefaultServicesUrls */ "./Common/CommonConstants/DefaultServicesUrls.ts");
|
|
104304
|
+
/* harmony import */ var _getRootPath__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getRootPath */ "./Generator/src/generators/markupGenerator/getRootPath.ts");
|
|
104305
|
+
|
|
104170
104306
|
|
|
104171
104307
|
function getSettings(sugarRoot, gfv, additionalSettings, formJsonSettings) {
|
|
104172
|
-
var _sugarRoot$isReadOnly;
|
|
104308
|
+
var _sugarRoot$doNotValid, _sugarRoot$isReadOnly;
|
|
104173
104309
|
const settings = {
|
|
104174
|
-
formRoot: (0,
|
|
104175
|
-
|
|
104310
|
+
formRoot: (0,_getRootPath__WEBPACK_IMPORTED_MODULE_1__.getRootPath)(sugarRoot),
|
|
104311
|
+
..._Common_CommonConstants_DefaultServicesUrls__WEBPACK_IMPORTED_MODULE_0__.defaultServicesUrls,
|
|
104176
104312
|
showFormContainer: true,
|
|
104177
104313
|
embeddedLogEnabled: false,
|
|
104314
|
+
doNotValidateFormOnStart: (_sugarRoot$doNotValid = sugarRoot.doNotValidateFormOnStart) !== null && _sugarRoot$doNotValid !== void 0 ? _sugarRoot$doNotValid : false,
|
|
104178
104315
|
allowsend: false,
|
|
104179
104316
|
printInfo: {},
|
|
104180
104317
|
useExtendedErrorLog: false,
|
|
@@ -136641,7 +136778,7 @@ module.exports = "`templates=\"true\"` включает шаблоны (в candy
|
|
|
136641
136778
|
\**************************************************************************************************/
|
|
136642
136779
|
/***/ ((module) => {
|
|
136643
136780
|
|
|
136644
|
-
module.exports = "Используется для выделения раздела. По умолчанию будет нарисована в
|
|
136781
|
+
module.exports = "Используется для выделения раздела. По умолчанию будет нарисована в виде отдельного листа.\n\n### Модальные разделы\n\nДля того, чтобы создать модальный раздел, нужно указать в < page > атрибут **showOnDemand**. Тогда этот раздел будет отображаться в редакторе только по какому-то действию (например, при клике по контролу).\n\n#### Открытие и закрытие модального раздела\n\nЧтобы модальный раздел открылся, нужно указать в атрибуте onClick того контрола, который вызывает действие, функцию открытия раздела. Это может быть как встроенная функция **modalInstanceUnit.Open**, которая только показывает нужный раздел, или же самописная helper-функция, где можно написать дополнительные действия при открытии модального раздела.\n\nОбычно открытие модального раздела инициируется по клику на ссылке в строке таблицы. Это выглядит следующим образом:\n\n```\n<multiline\n path=\"СправДох\"\n addbutton=\"false\"\n rowmenu=\"false\"\n removebutton=\"false\"\n optional=\"true\">\n <row>\n ...\n <column>\n <link onClick=\"modalInstanceUnit.Open\">\n <fioline path=\"ПолучДох/ФИО\" />\n </link>\n ...\n```\n\nТ.о. по клику на link с ФИО должен открыться модальный раздел. \n\nПри этом, чтобы открылся правильный раздел, функция должна получить id этого раздела в качестве параметра. Его можно задать непосредственно в page, откуда вызывается открытие модальго раздела, с помощью атрибута **modalUnitPageId**.\n\n```\n<page\n id=\"inquiryList\"\n template=\"default\"\n navigationName=\"Список справок\"\n modalUnitPageId=\"inquiry\"\n path=\"/Файл/Документ/НДФЛ6.2\"\n visible=\"path('@settings/isReadOnly') != 'true'\n || (path('@settings/isReadOnly') == 'true'\n && count('/Файл/Документ/НДФЛ6.2/СправДох') > 0)\"\n pageActions={{ hideButton: true }}>\n```\n\nДля закрытия модального раздела нужно указать в атрибуте onBackButtonClick в headerpanel функцию закрытия раздела: встроенную функцию **modalInstanceUnit.Close** или самописную helper-функцию:\n\n```\n<headerpanel onBackButtonClick=\"modalInstanceUnit.Close\">\n <text size=\"20px\">\n <fioline path=\"ПолучДох/ФИО\" />\n </text>\n```\n\n**ВАЖНО:** для того, чтобы модальный раздел открывался по ссылке в протоколе контроля, всё ещё нужна самописная хэлпер-функция (задача для реализации встроенной функции - [FS-8885](https://yt.skbkontur.ru/issue/FS-8885/Perenesti-v-dvizhok-otkrytie-modalnogo-razdela-po-ssylke-iz-protokola-kontrolya)). Её название должно быть указано в атрибуте **onNavigateFromErrorLog** в < page > модального раздела.\n\n```\n<page\n showOnDemand\n onNavigateFromErrorLog=\"inquiryNavigateFromErrorLog\"\n id=\"inquiry\"\n template=\"multiple\"\n navigationName=\"Справка\"\n path=\"/Файл/Документ/НДФЛ6.2/СправДох\"\n optional=\"true\"\n>\n```";
|
|
136645
136782
|
|
|
136646
136783
|
/***/ }),
|
|
136647
136784
|
|
|
@@ -136915,6 +137052,16 @@ module.exports = "`<textarea type=\"T(1-4000)\" path=\"noteText\" autoResize=\"t
|
|
|
136915
137052
|
|
|
136916
137053
|
/***/ }),
|
|
136917
137054
|
|
|
137055
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TreePicklist/description.md":
|
|
137056
|
+
/*!*************************************************************************************************************!*\
|
|
137057
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TreePicklist/description.md ***!
|
|
137058
|
+
\*************************************************************************************************************/
|
|
137059
|
+
/***/ ((module) => {
|
|
137060
|
+
|
|
137061
|
+
module.exports = "Теги: #иерархический #справочник #пиклист #treepicklist #minPickLevel #allowedToPickLevels #fieldToDisableElementPick\n\n**Иерархический справочник** - это структурированный пиклист, иерархия в нём строится за счёт колонок code и childof пиклиста, таким образом получается структура родитель-потомок (так реализовано на бэке).\nЕсли структура справочника нарушена (нужные колонки отсутствуют или заполнены некорректно), то в ответе от апи будет получена ошибка \"Справочник не является иерархическим\".\n\nКонтрол treepicklist нужен для отображения иерархического справочника и работы с ним в редакторе формы.\n\n### Иерархический справочник с единичным выбором\n\nИерархический справочник с единичным выбором - это контрол treepicklist без атрибута multiple=\"true\". После клика на значении внутри справочника оно выбирается и записывается в иннер (единичный путь).\n\nПример:\n```\n<treepicklist\n path=\"singleTree\"\n title=\"Полномочия\"\n gId=\"8925\"\n binding={[[\"singleTree\", \"code\"]]}\n fields={[\"code\", \"name\", \"childof\"]}\n display={[\"code\", \"name\"]}\n/>\n```\n\n#### Особенности справочников с единичным выбором\n\n- Выбранное значение отображается в поле с расшифровкой (колонка name справочника). Если в справочнике нет колонки name или она не задана в атрибуте fields, расшифровка не отображается.\n\n- в справочниках с единичным выбором работает фича порционного показа элементов: это значит, что в справочниках с большим кол-вом элементов сразу отображается только часть элементов, остальное можно догрузить по кнопке \"Показать ещё\" (задача [FS-8666](https://yt.skbkontur.ru/issue/FS-8666/Bolshie-ierarhicheskie-spravochniki)).\n\n#### Атрибуты для справочника с единичным выбором\n\nВ иерархическом справочнике с единичным выбором можно задать следующие параметры:\n - минимальный уровень, с которого можно выбирать элементы - атрибут **minPickLevel**. Выбор элементов с уровней выше указанного будет заблокирован.\nТ.е. если указать minPickLevel=\"4\", то выбирать можно только элементы 4, 5 и т.д. уровней, уровни 1,2 и 3 отображаются в справочнике, но выбрать эти элементы нельзя.\n\n- можно сделать выбор значений только с конкретных уровней, для этого нужно задать атрибут **allowedToPickLevels**. \nТ.е. если allowedToPickLevels={[1, 4]}, то выбирать можно только элементы с 1го и 4го уровней, остальные уровни отображаются в справочнике, но выбирать элементы нельзя.\n\n- также можно заблокировать выбор некоторых конкретных значений пиклиста. Для этого в атрибуте **fieldToDisableElementPick** должно быть указано название колонки пиклиста, которая отвечает за блокировку элементов. Если значение в данной колонке = true, то выбор этого значения в treepicklist блокируется.\nТаким образом, в ресурсах у пиклиста должна быть создана отдельная колонка, в которой для каждого элемента будут прописаны true или false, означающие, блокируется ли выбор элемента или нет.\nСледует учитывать, что блокируются только те элементы, у которых в колонке стоит true, выбор дочерних этого элемента не будет заблокирован, если у них нет true в соответствующей колонке.\n\n- прочие атрибуты, которые можно задать в справочнике, указаны в табличке атрибутов.\n\n### Иерархический справочник с множественным выбором\n\nЧтобы сделать иерархический справочник с множественным выбором, нужно указать атрибут **multiple=\"true\"**. Тогда в справочнике можно будет выбирать несколько элементов, проставляя у них чекбоксы.\n\nПример:\n\n```\n<treepicklist\n path=\"multipleTree/*\"\n title=\"Полномочия\"\n multiple=\"true\"\n width=\"200\"\n gId=\"8888\"\n binding={[\n [\"multipleTree/*\", \"code\"],\n [\"multipleTree/*/name\", \"name\"],\n [\"multipleTree/*/name\", { \"value\": \"childof\", \"field\": \"childof\" }]\n ]}\n fields={[\"code\", \"name\", \"childof\"]}\n display={[\"code\", \"name\"]}\n descriptionInModal=\"С помощью доверенности СФР уже можно оформлять полномочия для ведения персучета. При этом по-прежнему для сдачи ЕФС-1 и отчетов бывшего ПФР необходимо оформить Уведомление о предоставлении полномочий представителю (УПУП).\"\n/>\n```\n\n#### Особенности справочников с множественным выбором\n\n- **ВАЖНОЕ:** справочник сохраняет только родительские элементы: если отметить в справочнике родительский элемент, то отметятся галочками также и дочерние элементы этого родительского узла, но после сохранения изменений в поле пиклиста будет только значение родительского элемента и в иннер также выгрузится только значение (обычно код) родительского элемента. Дочерние элементы в иннер не выгружаются. (Так было решено сделать, исходя из бизнес логики: выбор родительского элемента подразумевает и выбор дочерних).\n\n- в окне справочника есть кнопка \"Сбросить выбор\", которая отменяет выбор сразу всех элементов (сбрасываются все чекбоксы). После этого нужно сохранить результат кнопкой \"Сохранить и закрыть\".\n\n- в поле справочника не отображаются расшифровки, т.к. может быть выбрано несколько элементов, но есть textOverloadHint, который появляется, если коды выбранных значений не помещаются в поле целиком.\n\n- во множественных справочниках отсутствует порционный показ элементов,т.е. все элементы справочника подгружаются сразу.\n\n#### Атрибуты для справочника с множественным выбором\n\n- можно задать выбор элементов, начиная с определенного уровня вложенности. Для этого нужно задать атрибут **minPickLevel**. \n\nНапример, если minPickLevel=\"2\", то элементы можно выбирать только со 2го, 3го и т.д. уровней, выбор элементов 1го уровня будет заблокирован.\nПри этом у элементов 1го уровня в справочнике **не будет отображаться код элемента** из соответствующей колонки пиклиста.\n\nЧтобы это работало корректно, нужно, чтобы у всех элементов в ресурсах пиклиста были заданы колонки code, chilfOf (т.к. по ним строится иерархия), а также колонка **level**, где указан уровень вложенности элементов (1, 2, 3...).\n\n- прочие атрибуты, которые можно задать в справочнике, указаны в табличке атрибутов.\n\n### Ссылки\n\n- Аналитика и требования по иерархическим справочникам [тут](https://wiki.skbkontur.ru/pages/viewpage.action?pageId=844248241).\n\n- Основная задача по реализации фронтовой части иерархического справочника - [FS-8556](https://yt.skbkontur.ru/issue/FS-8556/Ierarhicheskie-spravochniki).";
|
|
137062
|
+
|
|
137063
|
+
/***/ }),
|
|
137064
|
+
|
|
136918
137065
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/radio/description.md":
|
|
136919
137066
|
/*!******************************************************************************************************!*\
|
|
136920
137067
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/radio/description.md ***!
|