@kontur.candy/generator 5.113.0 → 5.115.0-test-9138.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +129 -57
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2175,17 +2175,31 @@ webpackContext.id = "./Generator/src/generators/markupGenerator/ElementProcessor
2175
2175
  /*!************************************************************************************************************!*\
2176
2176
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/InstanceNumber/ sync .md$ ***!
2177
2177
  \************************************************************************************************************/
2178
- /***/ ((module) => {
2178
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2179
2179
 
2180
- function webpackEmptyContext(req) {
2181
- var e = new Error("Cannot find module '" + req + "'");
2182
- e.code = 'MODULE_NOT_FOUND';
2183
- throw e;
2180
+ var map = {
2181
+ "./description.md": "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/InstanceNumber/description.md"
2182
+ };
2183
+
2184
+
2185
+ function webpackContext(req) {
2186
+ var id = webpackContextResolve(req);
2187
+ return __webpack_require__(id);
2184
2188
  }
2185
- webpackEmptyContext.keys = () => ([]);
2186
- webpackEmptyContext.resolve = webpackEmptyContext;
2187
- webpackEmptyContext.id = "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/InstanceNumber sync recursive .md$";
2188
- module.exports = webpackEmptyContext;
2189
+ function webpackContextResolve(req) {
2190
+ if(!__webpack_require__.o(map, req)) {
2191
+ var e = new Error("Cannot find module '" + req + "'");
2192
+ e.code = 'MODULE_NOT_FOUND';
2193
+ throw e;
2194
+ }
2195
+ return map[req];
2196
+ }
2197
+ webpackContext.keys = function webpackContextKeys() {
2198
+ return Object.keys(map);
2199
+ };
2200
+ webpackContext.resolve = webpackContextResolve;
2201
+ module.exports = webpackContext;
2202
+ webpackContext.id = "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/InstanceNumber sync recursive .md$";
2189
2203
 
2190
2204
  /***/ }),
2191
2205
 
@@ -47877,6 +47891,7 @@ __webpack_require__.r(__webpack_exports__);
47877
47891
  /* harmony export */ isNotNullOrUndefined: () => (/* binding */ isNotNullOrUndefined),
47878
47892
  /* harmony export */ isNullOrEmpty: () => (/* binding */ isNullOrEmpty),
47879
47893
  /* harmony export */ isNullOrWhiteSpace: () => (/* binding */ isNullOrWhiteSpace),
47894
+ /* harmony export */ isOneOf: () => (/* binding */ isOneOf),
47880
47895
  /* harmony export */ minLengthOrUndefined: () => (/* binding */ minLengthOrUndefined),
47881
47896
  /* harmony export */ noop: () => (/* binding */ noop),
47882
47897
  /* harmony export */ reject: () => (/* binding */ reject),
@@ -47955,6 +47970,9 @@ function ensureArrayLengthGreaterThenOrEqual(items, length) {
47955
47970
  throw new Error(`Array must have minimal length ${length}`);
47956
47971
  }
47957
47972
  }
47973
+
47974
+ // проверяет, что родительский тип находится в массиве дочерних
47975
+ const isOneOf = (value, array) => array.includes(value);
47958
47976
  function ensureNever(_neverArgument) {
47959
47977
  // noop
47960
47978
  }
@@ -81981,6 +81999,7 @@ class AttachmentFormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
81981
81999
  markupBuilder.prop(x => x.gfv).set(attachmentFormNode.gfv);
81982
82000
  markupBuilder.prop(x => x.caption).set(attachmentFormNode.name);
81983
82001
  markupBuilder.prop(x => x.description).set(attachmentFormNode.description);
82002
+ markupBuilder.prop(x => x.disabled).set(attachmentFormNode.disabled);
81984
82003
  markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_6__.getNewBindingPathExpression)(attachmentFormNode, attachmentFormNode.path));
81985
82004
  const defaultContentNode = attachmentFormNode.children.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_7__.ofType)(_DefaultContent_DefaultContentNode__WEBPACK_IMPORTED_MODULE_8__.DefaultContentNode));
81986
82005
  if (defaultContentNode != undefined) {
@@ -82018,11 +82037,11 @@ __webpack_require__.r(__webpack_exports__);
82018
82037
 
82019
82038
 
82020
82039
 
82021
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14;
82040
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15;
82022
82041
 
82023
82042
 
82024
82043
 
82025
- 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(), `Атрибут для кастомизации действий с разделом.
82044
+ 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)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Прячет кнопки создания раздела`), _dec9 = (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)} для условного скрытия раздела`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Опциональный раздел`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("pageActions", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.objectLiteral(), `Атрибут для кастомизации действий с разделом.
82026
82045
 
82027
82046
  Объект с опциональным полями: caption: string, disableButton: boolean, hideButton: boolean,
82028
82047
  showInsertButtons: boolean, lastButtonName: string, intermediateButtonName: string,
@@ -82037,7 +82056,7 @@ let AttachmentFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
82037
82056
  };
82038
82057
 
82039
82058
  actionName: enableAutoValues, clear, remove, copy
82040
- `), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("extraPageActions", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.objectLiteral(), `Атрибут для дополнительных действий.
82059
+ `), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("extraPageActions", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.objectLiteral(), `Атрибут для дополнительных действий.
82041
82060
 
82042
82061
  Объект с набором действий:
82043
82062
 
@@ -82048,7 +82067,7 @@ let AttachmentFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
82048
82067
  tid?: string;
82049
82068
  handler?: string;
82050
82069
  };
82051
- `), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("attachmentUnitItemInfoPaths", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Путь до поля в приложение для прокидывания значения в левое меню`), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("emptyUnitTitle", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Заголовок для незаполненного раздела`), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.markupAttr)("emptyUnitDescription", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Описание в виде текста или разметки для незаполненного раздела`), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec(_class = (_class2 = class AttachmentFormNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
82070
+ `), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("attachmentUnitItemInfoPaths", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Путь до поля в приложение для прокидывания значения в левое меню`), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("emptyUnitTitle", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Заголовок для незаполненного раздела`), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.markupAttr)("emptyUnitDescription", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Описание в виде текста или разметки для незаполненного раздела`), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec(_class = (_class2 = class AttachmentFormNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
82052
82071
  constructor(...args) {
82053
82072
  super(...args);
82054
82073
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gfv", _descriptor, this);
@@ -82057,14 +82076,15 @@ let AttachmentFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
82057
82076
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor4, this);
82058
82077
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationLimit", _descriptor5, this);
82059
82078
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multiple", _descriptor6, this);
82060
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "visible", _descriptor7, this);
82061
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor8, this);
82062
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pageActions", _descriptor9, this);
82063
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "extraPageActions", _descriptor10, this);
82064
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "attachmentUnitItemInfoPaths", _descriptor11, this);
82065
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "emptyUnitTitle", _descriptor12, this);
82066
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "emptyUnitDescription", _descriptor13, this);
82067
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor14, this);
82079
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disabled", _descriptor7, this);
82080
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "visible", _descriptor8, this);
82081
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor9, this);
82082
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pageActions", _descriptor10, this);
82083
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "extraPageActions", _descriptor11, this);
82084
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "attachmentUnitItemInfoPaths", _descriptor12, this);
82085
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "emptyUnitTitle", _descriptor13, this);
82086
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "emptyUnitDescription", _descriptor14, this);
82087
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor15, this);
82068
82088
  }
82069
82089
  getOwnPath() {
82070
82090
  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;
@@ -82099,42 +82119,47 @@ let AttachmentFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
82099
82119
  enumerable: true,
82100
82120
  writable: true,
82101
82121
  initializer: null
82102
- }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "visible", [_dec8], {
82122
+ }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "disabled", [_dec8], {
82103
82123
  configurable: true,
82104
82124
  enumerable: true,
82105
82125
  writable: true,
82106
82126
  initializer: null
82107
- }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "optional", [_dec9], {
82127
+ }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "visible", [_dec9], {
82108
82128
  configurable: true,
82109
82129
  enumerable: true,
82110
82130
  writable: true,
82111
82131
  initializer: null
82112
- }), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pageActions", [_dec10], {
82132
+ }), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "optional", [_dec10], {
82113
82133
  configurable: true,
82114
82134
  enumerable: true,
82115
82135
  writable: true,
82116
82136
  initializer: null
82117
- }), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "extraPageActions", [_dec11], {
82137
+ }), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pageActions", [_dec11], {
82118
82138
  configurable: true,
82119
82139
  enumerable: true,
82120
82140
  writable: true,
82121
82141
  initializer: null
82122
- }), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "attachmentUnitItemInfoPaths", [_dec12], {
82142
+ }), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "extraPageActions", [_dec12], {
82123
82143
  configurable: true,
82124
82144
  enumerable: true,
82125
82145
  writable: true,
82126
82146
  initializer: null
82127
- }), _descriptor12 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "emptyUnitTitle", [_dec13], {
82147
+ }), _descriptor12 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "attachmentUnitItemInfoPaths", [_dec13], {
82128
82148
  configurable: true,
82129
82149
  enumerable: true,
82130
82150
  writable: true,
82131
82151
  initializer: null
82132
- }), _descriptor13 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "emptyUnitDescription", [_dec14], {
82152
+ }), _descriptor13 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "emptyUnitTitle", [_dec14], {
82133
82153
  configurable: true,
82134
82154
  enumerable: true,
82135
82155
  writable: true,
82136
82156
  initializer: null
82137
- }), _descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec15], {
82157
+ }), _descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "emptyUnitDescription", [_dec15], {
82158
+ configurable: true,
82159
+ enumerable: true,
82160
+ writable: true,
82161
+ initializer: null
82162
+ }), _descriptor15 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec16], {
82138
82163
  configurable: true,
82139
82164
  enumerable: true,
82140
82165
  writable: true,
@@ -83287,6 +83312,7 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
83287
83312
  markupBuilder.prop(x => x.description).set(attachmentFormNode.description);
83288
83313
  markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(attachmentFormNode));
83289
83314
  markupBuilder.prop(x => x.multiple).set(attachmentFormNode.multiple);
83315
+ markupBuilder.prop(x => x.disabled).set(attachmentFormNode.disabled);
83290
83316
  markupBuilder.prop(x => x.optional).set((_attachmentFormNode$o = attachmentFormNode.optional) !== null && _attachmentFormNode$o !== void 0 ? _attachmentFormNode$o : false);
83291
83317
  markupBuilder.prop(x => x.evaluatorsContextPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(attachmentFormNode));
83292
83318
  markupBuilder.prop(x => x.emptyUnitTitle).set(attachmentFormNode.emptyUnitTitle);
@@ -86121,6 +86147,7 @@ class BlockConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.Su
86121
86147
  markupBuilder.prop(x => x.style).set(node.style);
86122
86148
  markupBuilder.prop(x => x.className).set(node.className);
86123
86149
  markupBuilder.prop(x => x.width).set(node.width);
86150
+ markupBuilder.prop(x => x["data-tid"]).set(node.tid);
86124
86151
  markupBuilder.appendChild(context.convertChildNodes(node.children));
86125
86152
  return markupBuilder.buildConverterResult();
86126
86153
  }
@@ -86152,12 +86179,12 @@ __webpack_require__.r(__webpack_exports__);
86152
86179
 
86153
86180
 
86154
86181
 
86155
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;
86182
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;
86156
86183
 
86157
86184
 
86158
86185
 
86159
86186
 
86160
- let BlockNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("block", `Блочный элемент формы`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Block sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("style", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.inlineStyle, `Произвольные стили`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("className", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Имя CSS класса`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Ширина`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("rowspan", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.InvalidUsage), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)(), _dec(_class = (_class2 = class BlockNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__.SugarNodeWithLegacyVisibility {
86187
+ let BlockNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("block", `Блочный элемент формы`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Block sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("style", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.inlineStyle, `Произвольные стили`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("className", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Имя CSS класса`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Ширина`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("rowspan", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.InvalidUsage), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)(), _dec(_class = (_class2 = class BlockNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__.SugarNodeWithLegacyVisibility {
86161
86188
  constructor(...args) {
86162
86189
  super(...args);
86163
86190
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor, this);
@@ -86165,7 +86192,8 @@ let BlockNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
86165
86192
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "className", _descriptor3, this);
86166
86193
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor4, this);
86167
86194
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "rowspan", _descriptor5, this);
86168
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor6, this);
86195
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tid", _descriptor6, this);
86196
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor7, this);
86169
86197
  }
86170
86198
  getOwnPath() {
86171
86199
  return this.dataScope.getOwnPath();
@@ -86195,7 +86223,12 @@ let BlockNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
86195
86223
  enumerable: true,
86196
86224
  writable: true,
86197
86225
  initializer: null
86198
- }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec7], {
86226
+ }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tid", [_dec7], {
86227
+ configurable: true,
86228
+ enumerable: true,
86229
+ writable: true,
86230
+ initializer: null
86231
+ }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec8], {
86199
86232
  configurable: true,
86200
86233
  enumerable: true,
86201
86234
  writable: true,
@@ -88461,7 +88494,6 @@ class SimpleTableConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_
88461
88494
  return NaN;
88462
88495
  }
88463
88496
  convertBodyColumns(context, node, columns) {
88464
- const align = node.align || "baseline";
88465
88497
  const grayColumn = this.findNumbersColumnNew(node);
88466
88498
  return columns.map((column, index) => {
88467
88499
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("SimpleTableColumn");
@@ -88487,12 +88519,11 @@ class SimpleTableConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_
88487
88519
  }
88488
88520
  }
88489
88521
  markupBuilder.prop(x => x.horizontalAlign).set(column.horizontalAlign);
88490
- markupBuilder.prop(x => x.align).set(align);
88522
+ markupBuilder.prop(x => x.align).set(node.align);
88491
88523
  return markupBuilder.buildConverterResult();
88492
88524
  });
88493
88525
  }
88494
88526
  convertHeadColumns(context, node, columns, subKind) {
88495
- const align = node.align || "baseline";
88496
88527
  const grayColumn = this.findNumbersColumnNew(node);
88497
88528
  return columns.map((column, columnIndex) => {
88498
88529
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("SimpleTableHeaderColumn");
@@ -88511,7 +88542,7 @@ class SimpleTableConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_
88511
88542
  }
88512
88543
  }
88513
88544
  markupBuilder.prop(x => x.horizontalAlign).set(column.horizontalAlign);
88514
- markupBuilder.prop(x => x.align).set(align);
88545
+ markupBuilder.prop(x => x.align).set(node.align);
88515
88546
  markupBuilder.appendChild(context.convertChildNodes(column.children));
88516
88547
  return markupBuilder.buildConverterResult();
88517
88548
  });
@@ -88744,7 +88775,7 @@ let SimpleTableColgroupNode = (_dec28 = (0,_Serializer_SugarSerializer__WEBPACK_
88744
88775
  writable: true,
88745
88776
  initializer: null
88746
88777
  }), _class8)) || _class7);
88747
- let SimpleTableNode = (_dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("table", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/SimpleTable sync recursive .md$"), x => !(x.boolAttr("sticky") || x.getFirstChild("multiline") != undefined) && !x.boolAttr("crossfit")), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("stickyHeader", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingScopeMixinNode), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("grayColumn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, ``), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.enum("baseline", "sub", "super", "text-bottom", "text-top", "middle", "top", "bottom"), ``), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("colgroup", [SimpleTableColgroupNode]), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("row", [SimpleTableRowNode]), _dec30(_class9 = (_class10 = class SimpleTableNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__.SugarNodeWithLegacyVisibility {
88778
+ let SimpleTableNode = (_dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("table", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/SimpleTable sync recursive .md$"), x => !(x.boolAttr("sticky") || x.getFirstChild("multiline") != undefined) && !x.boolAttr("crossfit")), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("stickyHeader", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingScopeMixinNode), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("grayColumn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, ``), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.enum("baseline", "sub", "super", "text-bottom", "text-top", "middle", "top", "bottom").default("baseline"), ``), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("colgroup", [SimpleTableColgroupNode]), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("row", [SimpleTableRowNode]), _dec30(_class9 = (_class10 = class SimpleTableNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__.SugarNodeWithLegacyVisibility {
88748
88779
  constructor(...args) {
88749
88780
  super(...args);
88750
88781
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "stickyHeader", _descriptor26, this);
@@ -90615,6 +90646,9 @@ class ExprEvalConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_0__
90615
90646
  markupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
90616
90647
  const expressionWithDependencies = (0,_common_ConditionUtils__WEBPACK_IMPORTED_MODULE_3__.convertConditionToJsOrFailWithFriendlySugarError)((_node$expression = node.expression) !== null && _node$expression !== void 0 ? _node$expression : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.reject)(), "path", "count", _Common_KCLangRuntimeUtils__WEBPACK_IMPORTED_MODULE_5__.KCLangRuntimeUtils.kcLangUtilsName, node, "expression");
90617
90648
  markupBuilder.prop(x => x.expression).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_6__.buildExpressionPropValue)(expressionWithDependencies.condition, expressionWithDependencies.dependencies));
90649
+ markupBuilder.prop(x => x.currency).set(node.currency);
90650
+ markupBuilder.prop(x => x.currencyFractionDigits).set(node.currencyFractionDigits);
90651
+ markupBuilder.prop(x => x.currencyShowZeroIfEmpty).set(node.currencyShowZeroIfEmpty);
90618
90652
  return markupBuilder.buildConverterResult();
90619
90653
  }
90620
90654
  }
@@ -90642,18 +90676,42 @@ __webpack_require__.r(__webpack_exports__);
90642
90676
 
90643
90677
 
90644
90678
 
90645
- var _dec, _dec2, _class, _class2, _descriptor;
90679
+ var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;
90646
90680
 
90647
- let ExprEvalNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("expreval", `Получение значения контекстной переменной`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/ContextVar sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("expression", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.javascriptExpression, "Выражение, которое необходимо высчитать для отображения"), _dec(_class = (_class2 = class ExprEvalNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
90681
+ let ExprEvalNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("expreval", `Получение значения контекстной переменной`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/ContextVar sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("expression", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.javascriptExpression, "Выражение, которое необходимо высчитать для отображения"), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("currency", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `При включении этого флага значение в поле отображается как денежное: со после запятой и пробелами между тысячами. Если значением не является числом -- будет показано неформатированное значение`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("currencyFractionDigits", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Количество нулей после запятой`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("currencyShowZeroIfEmpty", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Отображать ноль, если выражение вернуло пустое значение`), _dec(_class = (_class2 = class ExprEvalNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
90648
90682
  constructor(...args) {
90649
90683
  super(...args);
90650
90684
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor, this);
90685
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "currency", _descriptor2, this);
90686
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "currencyFractionDigits", _descriptor3, this);
90687
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "currencyShowZeroIfEmpty", _descriptor4, this);
90651
90688
  }
90652
90689
  }, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "expression", [_dec2], {
90653
90690
  configurable: true,
90654
90691
  enumerable: true,
90655
90692
  writable: true,
90656
90693
  initializer: null
90694
+ }), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "currency", [_dec3], {
90695
+ configurable: true,
90696
+ enumerable: true,
90697
+ writable: true,
90698
+ initializer: function () {
90699
+ return false;
90700
+ }
90701
+ }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "currencyFractionDigits", [_dec4], {
90702
+ configurable: true,
90703
+ enumerable: true,
90704
+ writable: true,
90705
+ initializer: function () {
90706
+ return 2;
90707
+ }
90708
+ }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "currencyShowZeroIfEmpty", [_dec5], {
90709
+ configurable: true,
90710
+ enumerable: true,
90711
+ writable: true,
90712
+ initializer: function () {
90713
+ return false;
90714
+ }
90657
90715
  }), _class2)) || _class);
90658
90716
 
90659
90717
  /***/ }),
@@ -93705,7 +93763,7 @@ let StickyTableColgroupNode = (_dec67 = (0,_Serializer_SugarSerializer__WEBPACK_
93705
93763
  writable: true,
93706
93764
  initializer: null
93707
93765
  }), _class16)) || _class15);
93708
- let StickyTableNode = (_dec69 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.sugarNode)("table", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$"), x => x.boolAttr("sticky") || x.getFirstChild("multiline") != undefined), _dec70 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.bindingPath, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_8__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_8__.bindingPathLink)} данного элемента. Опционально, если не указан, то будет оторажаться текст заданный внутри данного элемента`), _dec71 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, ``), _dec72 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.enum("baseline", "top"), ``), _dec73 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `\"false\" - крестики не рисовать`), _dec74 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("sticky", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, ``), _dec75 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("stickyHeader", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `Залипающая шапка`), _dec76 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("grayColumn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.number, `Буквы во второй колонке серым цветом`), _dec77 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("side", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.number, `Сколько колонок слева должны залипать`), _dec78 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("className", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, ``), _dec79 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.singleChild)("colgroup", [StickyTableColgroupNode]), _dec80 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)(["row", "multiline"], [StickyTableRowNode, StickyTableMultilineNode]), _dec81 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.singleChild)("header", [StickyTableHeaderNode]), _dec82 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.singleChild)("footer", [StickyTableFooterNode]), _dec83 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("deprecated-diadoc-width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.number, ``), _dec84 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.number, `Ширина таблицы`), _dec85 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec86 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("columnGrouping", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, `Только вместе с crossfit="true". {"start": "4", "end": "5", "text": ["Испр. с-ф", "040 и 050" ]} - Устанавливает колонки в которых ячейки скрыты под карандаш. В text записываются текстовки, которыми будут заменены тексты в шапке. Если для этих ячеек rowspan > 1, то нужно добавить на каждую пустую строку "". { start: 4, end: 11, showText: "Свернуть столбцы 040-110", hideText: "Столбцы 040-110" } - Устанавливает колонки, которые можно скрывать кнопкой. showText и hideText устанавливаю тексты в подсказке при наведении.`), _dec69(_class17 = (_class18 = class StickyTableNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_6__.SugarNodeWithLegacyVisibility {
93766
+ let StickyTableNode = (_dec69 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.sugarNode)("table", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$"), x => x.boolAttr("sticky") || x.getFirstChild("multiline") != undefined), _dec70 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.bindingPath, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_8__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_8__.bindingPathLink)} данного элемента. Опционально, если не указан, то будет оторажаться текст заданный внутри данного элемента`), _dec71 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, ``), _dec72 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.enum("baseline", "top", "middle").default("baseline"), ``), _dec73 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `\"false\" - крестики не рисовать`), _dec74 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("sticky", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, ``), _dec75 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("stickyHeader", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `Залипающая шапка`), _dec76 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("grayColumn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.number, `Буквы во второй колонке серым цветом`), _dec77 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("side", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.number, `Сколько колонок слева должны залипать`), _dec78 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("className", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, ``), _dec79 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.singleChild)("colgroup", [StickyTableColgroupNode]), _dec80 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)(["row", "multiline"], [StickyTableRowNode, StickyTableMultilineNode]), _dec81 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.singleChild)("header", [StickyTableHeaderNode]), _dec82 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.singleChild)("footer", [StickyTableFooterNode]), _dec83 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("deprecated-diadoc-width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.number, ``), _dec84 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.number, `Ширина таблицы`), _dec85 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec86 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("columnGrouping", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, `Только вместе с crossfit="true". {"start": "4", "end": "5", "text": ["Испр. с-ф", "040 и 050" ]} - Устанавливает колонки в которых ячейки скрыты под карандаш. В text записываются текстовки, которыми будут заменены тексты в шапке. Если для этих ячеек rowspan > 1, то нужно добавить на каждую пустую строку "". { start: 4, end: 11, showText: "Свернуть столбцы 040-110", hideText: "Столбцы 040-110" } - Устанавливает колонки, которые можно скрывать кнопкой. showText и hideText устанавливаю тексты в подсказке при наведении.`), _dec69(_class17 = (_class18 = class StickyTableNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_6__.SugarNodeWithLegacyVisibility {
93709
93767
  constructor(...args) {
93710
93768
  super(...args);
93711
93769
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor61, this);
@@ -94128,7 +94186,7 @@ class StickyTableWithMultilineConverter extends _SugarNodeConverter__WEBPACK_IMP
94128
94186
  getColumns(context, node, columns, start = 0, end = Infinity, notRenderX = false) {
94129
94187
  const grayColumn = this.findNumbersColumnIndex(node);
94130
94188
  return columns.slice(start, end).map((col, index) => {
94131
- var _node$grayColumn, _node$align;
94189
+ var _node$grayColumn;
94132
94190
  const mb = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_6__.componentMarkupBuilder)("StickyTableBodyColumn");
94133
94191
  mb.prop(x => x.colSpan).set(col.colspan);
94134
94192
  mb.prop(x => x.rowSpan).set(col.rowspan);
@@ -94160,7 +94218,7 @@ class StickyTableWithMultilineConverter extends _SugarNodeConverter__WEBPACK_IMP
94160
94218
  }
94161
94219
  mb.prop(x => x.useBaselineAlignHack).set(col.children.length === 1 && col.children[0] instanceof _Layout_InnerText_InnertextNode__WEBPACK_IMPORTED_MODULE_13__.InnertextNode);
94162
94220
  mb.prop(x => x.horizontalAlign).set(col.horizontalAlign);
94163
- mb.prop(x => x.align).set((_node$align = node.align) !== null && _node$align !== void 0 ? _node$align : "baseline");
94221
+ mb.prop(x => x.align).set(node.align);
94164
94222
  mb.prop(x => x.paddingTop).set(col.paddingTop);
94165
94223
  mb.prop(x => x.textTopPadding).set(col.textTopPadding);
94166
94224
  return mb.buildConverterResult();
@@ -94169,7 +94227,7 @@ class StickyTableWithMultilineConverter extends _SugarNodeConverter__WEBPACK_IMP
94169
94227
  getHeaderColumns(context, node, columns, subKind) {
94170
94228
  const grayColumn = this.findNumbersColumnIndex(node);
94171
94229
  return columns.map((col, index) => {
94172
- var _node$grayColumn2, _node$align2;
94230
+ var _node$grayColumn2, _node$align;
94173
94231
  const mb = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_6__.componentMarkupBuilder)("StickyTableHeaderColumn");
94174
94232
  if (col.textTopPadding != undefined) {
94175
94233
  throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_5__.SugarAttributeReadError("textTopPadding работает только для обычных колонок, для заголовков не работает", col, "textTopPadding");
@@ -94192,7 +94250,7 @@ class StickyTableWithMultilineConverter extends _SugarNodeConverter__WEBPACK_IMP
94192
94250
  }
94193
94251
  }
94194
94252
  mb.prop(x => x.horizontalAlign).set(col.horizontalAlign);
94195
- mb.prop(x => x.align).set((_node$align2 = node.align) !== null && _node$align2 !== void 0 ? _node$align2 : "baseline");
94253
+ mb.prop(x => x.align).set((_node$align = node.align) !== null && _node$align !== void 0 ? _node$align : "baseline");
94196
94254
  mb.appendChild(context.convertChildNodes([col]));
94197
94255
  return mb.buildConverterResult();
94198
94256
  });
@@ -99360,7 +99418,7 @@ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Su
99360
99418
  }
99361
99419
  }
99362
99420
  buildRegularInput(context, node) {
99363
- var _typeNode$base, _node$maskChar, _node$width;
99421
+ var _typeNode$base, _node$maskChar;
99364
99422
  const typeNode = context.getTypeNode(node.validationInfo);
99365
99423
  const schemaTypeInfo = context.getSchemaTypeInfo(node.getFullPath());
99366
99424
  const typeBase = (_typeNode$base = typeNode === null || typeNode === void 0 ? void 0 : typeNode.base) !== null && _typeNode$base !== void 0 ? _typeNode$base : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.baseType;
@@ -99394,7 +99452,7 @@ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Su
99394
99452
  markupBuilder.prop(x => x.maskChar).set(node.mask ? (_node$maskChar = node.maskChar) !== null && _node$maskChar !== void 0 ? _node$maskChar : "_" : undefined);
99395
99453
  markupBuilder.prop(x => x.formatChars).set(node.formatChars);
99396
99454
  markupBuilder.prop(x => x.rejectInvalidByMaskValue).set(node.rejectInvalidByMaskValue);
99397
- markupBuilder.prop(x => x.width).set((_node$width = node.width) !== null && _node$width !== void 0 ? _node$width : "100%");
99455
+ markupBuilder.prop(x => x.width).set(node.width);
99398
99456
  markupBuilder.prop(x => x.noReadonlyPadding).set(node.noReadonlyPadding);
99399
99457
  markupBuilder.prop(x => x.removeReadonlyBackground).set(node.removeReadonlyBackground);
99400
99458
  (0,_SetCurrencyProps__WEBPACK_IMPORTED_MODULE_7__.setCurrencyProps)(markupBuilder, context, node);
@@ -99418,7 +99476,7 @@ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Su
99418
99476
  return markupBuilder.buildConverterResultWithHelp(node, context);
99419
99477
  }
99420
99478
  buildFxInput(context, node) {
99421
- var _typeNode$base2, _node$width2;
99479
+ var _typeNode$base2;
99422
99480
  const typeNode = context.getTypeNode(node.validationInfo);
99423
99481
  const schemaTypeInfo = context.getSchemaTypeInfo(node.getFullPath());
99424
99482
  const typeBase = (_typeNode$base2 = typeNode === null || typeNode === void 0 ? void 0 : typeNode.base) !== null && _typeNode$base2 !== void 0 ? _typeNode$base2 : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.baseType;
@@ -99438,7 +99496,7 @@ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Su
99438
99496
  markupBuilder.prop(x => x.disabledPure).set(node.deprecatedDisabledForRpn);
99439
99497
  markupBuilder.prop(x => x.align).set(node.align);
99440
99498
  markupBuilder.prop(x => x.useAutoIcon).set((0,_Typography_Icon_GetIconName__WEBPACK_IMPORTED_MODULE_6__.getIconName)(node, node.useAutoIcon));
99441
- markupBuilder.prop(x => x.width).set((_node$width2 = node.width) !== null && _node$width2 !== void 0 ? _node$width2 : "100%");
99499
+ markupBuilder.prop(x => x.width).set(node.width);
99442
99500
  markupBuilder.prop(x => x.noReadonlyPadding).set(node.noReadonlyPadding);
99443
99501
  markupBuilder.prop(x => x.removeReadonlyBackground).set(node.removeReadonlyBackground);
99444
99502
  markupBuilder.prop("data-tid").set(node.tid);
@@ -99667,7 +99725,7 @@ let InputNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
99667
99725
  Отключает использование mask только для валидного по маске значения и при отсутствии ошибки/предупреждения в валидации.
99668
99726
  По умолчанию включен показ кривых значений после импорта и,
99669
99727
  после ручного исправления на правильное по маске и валидное значение, редактирование будет доступно уже только в пределах маски.
99670
- `), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, "Поле ввода становится заблокированным для редактирования"), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("settings", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, "'true': всегда первой будет применяться указанная fetchfn, а если она вернет undefined то тогда будет брать из модели - из фуфа/draftinfo (то, что придет с сервера). В противном случае fetchfn сработает только в том случае, когда бекенд ничего не прислал"), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("deprecated-disabled-for-rpn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, "Поле ввода становится заблокированным для редактирования"), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.lengthUnit, "Ширина поля"), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("visible", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__.javaScriptExpressionLink)} для условного скрытия контрола`), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.enum("left", "right"), "Выравнивание текста внутри поля ввода (`left` | `right`, default: `left`)"), _dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.markupAttr)("formula", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, "Всплывающая подсказка по авторасчету"), _dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.markupAttr)("suffix", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, `Текст или верстка отображаемая в правой части input-а`), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.markupAttr)("prefix", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, `Текст или верстка отображаемая в левой части input-а`), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("help", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, ``), _dec46 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)("help", [_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_8__.HelpNode]), _dec47 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("currency", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `При включении этого флага значение в поле отображается как денежное: с двумя знаками после запятой и пробелами между тысячами.`), _dec48 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("showNegativeAsBrackets", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, "Отрицательные числа будут отображаться в скобках и без минуса (только визуально и только при потере фокуса)"), _dec49 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("removeReadonlyBackground", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, "Убирает серый background у ридонли инпута"), _dec50 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("noReadonlyPadding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, "Убирает дефолтный паддинг 2px у контейнера ридонли инпута"), _dec(_class = (_class2 = class InputNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_6__.SugarNodeWithLegacyVisibility {
99728
+ `), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, "Поле ввода становится заблокированным для редактирования"), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("settings", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, "'true': всегда первой будет применяться указанная fetchfn, а если она вернет undefined то тогда будет брать из модели - из фуфа/draftinfo (то, что придет с сервера). В противном случае fetchfn сработает только в том случае, когда бекенд ничего не прислал"), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("deprecated-disabled-for-rpn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, "Поле ввода становится заблокированным для редактирования"), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.lengthUnit.default("100%"), "Ширина поля"), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("visible", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__.javaScriptExpressionLink)} для условного скрытия контрола`), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.enum("left", "right"), "Выравнивание текста внутри поля ввода (`left` | `right`, default: `left`)"), _dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.markupAttr)("formula", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, "Всплывающая подсказка по авторасчету"), _dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.markupAttr)("suffix", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, `Текст или верстка отображаемая в правой части input-а`), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.markupAttr)("prefix", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, `Текст или верстка отображаемая в левой части input-а`), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("help", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, ``), _dec46 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)("help", [_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_8__.HelpNode]), _dec47 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("currency", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `При включении этого флага значение в поле отображается как денежное: с двумя знаками после запятой и пробелами между тысячами.`), _dec48 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("showNegativeAsBrackets", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, "Отрицательные числа будут отображаться в скобках и без минуса (только визуально и только при потере фокуса)"), _dec49 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("removeReadonlyBackground", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, "Убирает серый background у ридонли инпута"), _dec50 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("noReadonlyPadding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, "Убирает дефолтный паддинг 2px у контейнера ридонли инпута"), _dec(_class = (_class2 = class InputNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_6__.SugarNodeWithLegacyVisibility {
99671
99729
  constructor(...args) {
99672
99730
  super(...args);
99673
99731
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "validationInfo", _descriptor, this);
@@ -105598,14 +105656,19 @@ __webpack_require__.r(__webpack_exports__);
105598
105656
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
105599
105657
  /* harmony export */ EnumValueParser: () => (/* binding */ EnumValueParser)
105600
105658
  /* harmony export */ });
105601
- /* harmony import */ var _Errors_SugarValueConstraintError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../Errors/SugarValueConstraintError */ "./Generator/src/generators/markupGenerator/Serializer/Errors/SugarValueConstraintError.ts");
105602
- /* harmony import */ var _RequiredWrapperValueParser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./RequiredWrapperValueParser */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesParsers/RequiredWrapperValueParser.ts");
105659
+ /* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
105660
+ /* harmony import */ var _Errors_SugarValueConstraintError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../Errors/SugarValueConstraintError */ "./Generator/src/generators/markupGenerator/Serializer/Errors/SugarValueConstraintError.ts");
105661
+ /* harmony import */ var _DefaultWrapperValueParser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./DefaultWrapperValueParser */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesParsers/DefaultWrapperValueParser.ts");
105662
+ /* harmony import */ var _RequiredWrapperValueParser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./RequiredWrapperValueParser */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesParsers/RequiredWrapperValueParser.ts");
105663
+
105664
+
105603
105665
 
105604
105666
 
105605
105667
  class EnumValueParser {
105606
105668
  constructor(values) {
105607
- this.required = new _RequiredWrapperValueParser__WEBPACK_IMPORTED_MODULE_1__.RequiredWrapperValueParser(this);
105669
+ this.required = new _RequiredWrapperValueParser__WEBPACK_IMPORTED_MODULE_3__.RequiredWrapperValueParser(this);
105608
105670
  this.values = void 0;
105671
+ this.default = defaultValue => new _DefaultWrapperValueParser__WEBPACK_IMPORTED_MODULE_2__.DefaultWrapperValueParser(this, defaultValue);
105609
105672
  this.values = values;
105610
105673
  }
105611
105674
  parseValue(attribute) {
@@ -105613,15 +105676,14 @@ class EnumValueParser {
105613
105676
  return undefined;
105614
105677
  }
105615
105678
  if (typeof attribute === "string") {
105616
- if (!this.values.includes(attribute)) {
105617
- throw new _Errors_SugarValueConstraintError__WEBPACK_IMPORTED_MODULE_0__.SugarValueConstraintError(`Value should be one:\n ${this.values.join("\n ")}\n` + `but got: ${attribute}`);
105679
+ if (!(0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.isOneOf)(attribute, this.values)) {
105680
+ throw new _Errors_SugarValueConstraintError__WEBPACK_IMPORTED_MODULE_1__.SugarValueConstraintError(`Value should be one:\n ${this.values.join("\n ")}\n` + `but got: ${attribute}`);
105618
105681
  }
105619
105682
  return attribute;
105620
105683
  }
105621
- throw new _Errors_SugarValueConstraintError__WEBPACK_IMPORTED_MODULE_0__.SugarValueConstraintError(
105684
+ throw new _Errors_SugarValueConstraintError__WEBPACK_IMPORTED_MODULE_1__.SugarValueConstraintError(
105622
105685
  // eslint-disable-next-line @typescript-eslint/no-base-to-string
105623
105686
  `Value should be one:\n ${this.values.join("\n ")}\n` + `but got: ${attribute}`);
105624
- // @ts-ignore Тут никак не починить типизацию, у ts нет такого type guard-а
105625
105687
  }
105626
105688
  }
105627
105689
 
@@ -137480,6 +137542,16 @@ module.exports = " ```xml\n <column>\n <headerMenu header=\"Header\" path=\"m
137480
137542
 
137481
137543
  /***/ }),
137482
137544
 
137545
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/InstanceNumber/description.md":
137546
+ /*!****************************************************************************************************************!*\
137547
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/InstanceNumber/description.md ***!
137548
+ \****************************************************************************************************************/
137549
+ /***/ ((module) => {
137550
+
137551
+ module.exports = "С выпуском задачи [FS-7507](https://yt.skbkontur.ru/issue/FS-7507) теперь будет один контрол в сахаре работающий с индексами в мультилайне. \n\nСтарый контрол CustomInstanceNumber (пришедший на замену AmbientInstanceNumber и VisualInstanceNumber) удален и его логика перенесена в InstanceNumber.\n\nЧто может улучшенный контрол:\n\n* Проставлять сквозные индексы:\n\n```\n<instancenumber />\n\n```\n\n* Проставлять префикс к сквозным индексам. Важно, если указан префикс, то остальные атрибуты не работают (start, stepm, maxValue, minLength), индекс будет рассчитываться только с префиксом.\n\n```\n<instancenumber prefix=\"111\" />\n\n```\n\n* Использовать в качестве префикса номер родительского экземпляра, если он существует.\n Ограничения аналогичны использованию обычного префикса.\n\n```\n<instancenumber useParentAsPrefix=\"true\" />\n\n```\n\n* Начинать с указанного индекса:\n\n```\n<instancenumber start=\"40\" />\n\n```\n\n* Увеличивать индекс на определенный шаг:\n\n```\n<instancenumber step=\"3\" />\n\n```\n\n* Не проставлять индекс больше указанного, индексы больше указанного не будут отображаться, но инстансы будут добавляться: \n\n```\n<instancenumber maxValue=\"130\" />\n\n```\n\n* Добавлять в начало индекса нули до указанного общего количества цифр. Если не указана минимальная длинна числа, то даже если start=\"030\" нумерация все равно будет с 30, без нулей в начале.\n\n```\n<instancenumber minLength=\"3\" />\n\n```\n\n\n\nПримеры:\n\n* Простая нумерация индексов с 1:\n\n```\n<instancenumber />\n\n```\n\n* Нумерация индексов с 030, шагом 10, максимальным индексом 120 включительно, длинной индекса в 3 цифры:\n\n```\n<instancenumber start=\"030\" step=\"10\" maxValue=\"120\" minLength=\"3\" />\n\n```\n\n* Нумерация с 1 и префиксом 1485:\n\n```\n<instancenumber prefix=\"1485\" />\n\n```";
137552
+
137553
+ /***/ }),
137554
+
137483
137555
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/Multilinefield/description.md":
137484
137556
  /*!****************************************************************************************************************!*\
137485
137557
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/Multilinefield/description.md ***!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontur.candy/generator",
3
- "version": "5.113.0",
3
+ "version": "5.115.0-test-9138.0",
4
4
  "description": "Candy forms generator",
5
5
  "author": "SKBKontur Candy Team",
6
6
  "private": false,