@kontur.candy/generator 5.114.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 +101 -35
  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
 
@@ -81985,6 +81999,7 @@ class AttachmentFormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
81985
81999
  markupBuilder.prop(x => x.gfv).set(attachmentFormNode.gfv);
81986
82000
  markupBuilder.prop(x => x.caption).set(attachmentFormNode.name);
81987
82001
  markupBuilder.prop(x => x.description).set(attachmentFormNode.description);
82002
+ markupBuilder.prop(x => x.disabled).set(attachmentFormNode.disabled);
81988
82003
  markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_6__.getNewBindingPathExpression)(attachmentFormNode, attachmentFormNode.path));
81989
82004
  const defaultContentNode = attachmentFormNode.children.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_7__.ofType)(_DefaultContent_DefaultContentNode__WEBPACK_IMPORTED_MODULE_8__.DefaultContentNode));
81990
82005
  if (defaultContentNode != undefined) {
@@ -82022,11 +82037,11 @@ __webpack_require__.r(__webpack_exports__);
82022
82037
 
82023
82038
 
82024
82039
 
82025
- 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;
82026
82041
 
82027
82042
 
82028
82043
 
82029
- 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(), `Атрибут для кастомизации действий с разделом.
82030
82045
 
82031
82046
  Объект с опциональным полями: caption: string, disableButton: boolean, hideButton: boolean,
82032
82047
  showInsertButtons: boolean, lastButtonName: string, intermediateButtonName: string,
@@ -82041,7 +82056,7 @@ let AttachmentFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
82041
82056
  };
82042
82057
 
82043
82058
  actionName: enableAutoValues, clear, remove, copy
82044
- `), _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(), `Атрибут для дополнительных действий.
82045
82060
 
82046
82061
  Объект с набором действий:
82047
82062
 
@@ -82052,7 +82067,7 @@ let AttachmentFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
82052
82067
  tid?: string;
82053
82068
  handler?: string;
82054
82069
  };
82055
- `), _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 {
82056
82071
  constructor(...args) {
82057
82072
  super(...args);
82058
82073
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gfv", _descriptor, this);
@@ -82061,14 +82076,15 @@ let AttachmentFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
82061
82076
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor4, this);
82062
82077
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationLimit", _descriptor5, this);
82063
82078
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multiple", _descriptor6, this);
82064
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "visible", _descriptor7, this);
82065
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor8, this);
82066
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pageActions", _descriptor9, this);
82067
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "extraPageActions", _descriptor10, this);
82068
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "attachmentUnitItemInfoPaths", _descriptor11, this);
82069
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "emptyUnitTitle", _descriptor12, this);
82070
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "emptyUnitDescription", _descriptor13, this);
82071
- _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);
82072
82088
  }
82073
82089
  getOwnPath() {
82074
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;
@@ -82103,42 +82119,47 @@ let AttachmentFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
82103
82119
  enumerable: true,
82104
82120
  writable: true,
82105
82121
  initializer: null
82106
- }), _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], {
82107
82123
  configurable: true,
82108
82124
  enumerable: true,
82109
82125
  writable: true,
82110
82126
  initializer: null
82111
- }), _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], {
82112
82128
  configurable: true,
82113
82129
  enumerable: true,
82114
82130
  writable: true,
82115
82131
  initializer: null
82116
- }), _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], {
82117
82133
  configurable: true,
82118
82134
  enumerable: true,
82119
82135
  writable: true,
82120
82136
  initializer: null
82121
- }), _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], {
82122
82138
  configurable: true,
82123
82139
  enumerable: true,
82124
82140
  writable: true,
82125
82141
  initializer: null
82126
- }), _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], {
82127
82143
  configurable: true,
82128
82144
  enumerable: true,
82129
82145
  writable: true,
82130
82146
  initializer: null
82131
- }), _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], {
82132
82148
  configurable: true,
82133
82149
  enumerable: true,
82134
82150
  writable: true,
82135
82151
  initializer: null
82136
- }), _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], {
82137
82153
  configurable: true,
82138
82154
  enumerable: true,
82139
82155
  writable: true,
82140
82156
  initializer: null
82141
- }), _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], {
82142
82163
  configurable: true,
82143
82164
  enumerable: true,
82144
82165
  writable: true,
@@ -83291,6 +83312,7 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
83291
83312
  markupBuilder.prop(x => x.description).set(attachmentFormNode.description);
83292
83313
  markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(attachmentFormNode));
83293
83314
  markupBuilder.prop(x => x.multiple).set(attachmentFormNode.multiple);
83315
+ markupBuilder.prop(x => x.disabled).set(attachmentFormNode.disabled);
83294
83316
  markupBuilder.prop(x => x.optional).set((_attachmentFormNode$o = attachmentFormNode.optional) !== null && _attachmentFormNode$o !== void 0 ? _attachmentFormNode$o : false);
83295
83317
  markupBuilder.prop(x => x.evaluatorsContextPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(attachmentFormNode));
83296
83318
  markupBuilder.prop(x => x.emptyUnitTitle).set(attachmentFormNode.emptyUnitTitle);
@@ -86125,6 +86147,7 @@ class BlockConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.Su
86125
86147
  markupBuilder.prop(x => x.style).set(node.style);
86126
86148
  markupBuilder.prop(x => x.className).set(node.className);
86127
86149
  markupBuilder.prop(x => x.width).set(node.width);
86150
+ markupBuilder.prop(x => x["data-tid"]).set(node.tid);
86128
86151
  markupBuilder.appendChild(context.convertChildNodes(node.children));
86129
86152
  return markupBuilder.buildConverterResult();
86130
86153
  }
@@ -86156,12 +86179,12 @@ __webpack_require__.r(__webpack_exports__);
86156
86179
 
86157
86180
 
86158
86181
 
86159
- 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;
86160
86183
 
86161
86184
 
86162
86185
 
86163
86186
 
86164
- 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 {
86165
86188
  constructor(...args) {
86166
86189
  super(...args);
86167
86190
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor, this);
@@ -86169,7 +86192,8 @@ let BlockNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
86169
86192
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "className", _descriptor3, this);
86170
86193
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor4, this);
86171
86194
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "rowspan", _descriptor5, this);
86172
- _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);
86173
86197
  }
86174
86198
  getOwnPath() {
86175
86199
  return this.dataScope.getOwnPath();
@@ -86199,7 +86223,12 @@ let BlockNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
86199
86223
  enumerable: true,
86200
86224
  writable: true,
86201
86225
  initializer: null
86202
- }), _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], {
86203
86232
  configurable: true,
86204
86233
  enumerable: true,
86205
86234
  writable: true,
@@ -90617,6 +90646,9 @@ class ExprEvalConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_0__
90617
90646
  markupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
90618
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");
90619
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);
90620
90652
  return markupBuilder.buildConverterResult();
90621
90653
  }
90622
90654
  }
@@ -90644,18 +90676,42 @@ __webpack_require__.r(__webpack_exports__);
90644
90676
 
90645
90677
 
90646
90678
 
90647
- var _dec, _dec2, _class, _class2, _descriptor;
90679
+ var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;
90648
90680
 
90649
- 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 {
90650
90682
  constructor(...args) {
90651
90683
  super(...args);
90652
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);
90653
90688
  }
90654
90689
  }, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "expression", [_dec2], {
90655
90690
  configurable: true,
90656
90691
  enumerable: true,
90657
90692
  writable: true,
90658
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
+ }
90659
90715
  }), _class2)) || _class);
90660
90716
 
90661
90717
  /***/ }),
@@ -137486,6 +137542,16 @@ module.exports = " ```xml\n <column>\n <headerMenu header=\"Header\" path=\"m
137486
137542
 
137487
137543
  /***/ }),
137488
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
+
137489
137555
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/Multilinefield/description.md":
137490
137556
  /*!****************************************************************************************************************!*\
137491
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.114.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,