@kontur.candy/generator 4.295.0 → 4.296.0-defaultCV.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 +14 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -123821,7 +123821,7 @@ class StringTypeMessageGenerator {
123821
123821
  }
123822
123822
 
123823
123823
  if (constraints.patterns != undefined && (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.arrayHasLength)(constraints.patterns, 1)) {
123824
- const uniqValues = Iterator.from(unique(this.generateRegexValues(constraints.patterns[0], 100))).toArray();
123824
+ const uniqValues = Iterator.from(unique(this.generateRegexValues(constraints.patterns[0], 20))).toArray();
123825
123825
  (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.ensureArrayIsNotEmpty)(uniqValues);
123826
123826
  const isNumbersOnly = /^0+$/.test(uniqValues[0]);
123827
123827
 
@@ -145997,6 +145997,7 @@ class MinitourConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__
145997
145997
  markupBuilder.prop(x => x.id).set(node.id);
145998
145998
  markupBuilder.prop(x => x.label).set(node.label);
145999
145999
  markupBuilder.prop(x => x.width).set(node.width);
146000
+ markupBuilder.prop(x => x.openedFrom).set(node.openedFrom);
146000
146001
  markupBuilder.prop(x => x.positions).set((_node$positions = node.positions) !== null && _node$positions !== void 0 ? _node$positions : ["bottom left"]);
146001
146002
  markupBuilder.appendChild(context.convertChildNodes(node.children));
146002
146003
  return markupBuilder.buildConverterResult();
@@ -146031,13 +146032,13 @@ __webpack_require__.r(__webpack_exports__);
146031
146032
 
146032
146033
 
146033
146034
 
146034
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;
146035
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;
146035
146036
 
146036
146037
 
146037
146038
 
146038
146039
 
146039
146040
 
146040
- let MinitourNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("minitour", `Минитур`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Minitour sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("id", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `Id минитура.`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("label", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `Текст в минитуре.`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `Ширина минитура. По умолчанию растягивается по ширине текста. Min = 256px, max = 400px.`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("positions", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType["enum"](..._Helpers_Help_PopupPosition__WEBPACK_IMPORTED_MODULE_6__.allPopupPositions)), `Позиции минитура. По умолчанию \"bottom left\". Запись в сахаре в виде: \"positions={["bottom left"]}\". Возможные позиции: ${_Helpers_Help_PopupPosition__WEBPACK_IMPORTED_MODULE_6__.allPopupPositions.join(", ")}`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec(_class = (_class2 = class MinitourNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__.SugarNodeWithLegacyVisibility {
146041
+ let MinitourNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("minitour", `Минитур`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Minitour sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("id", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `Id минитура.`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("label", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `Текст в минитуре.`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `Ширина минитура. По умолчанию растягивается по ширине текста. Min = 256px, max = 400px.`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("positions", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType["enum"](..._Helpers_Help_PopupPosition__WEBPACK_IMPORTED_MODULE_6__.allPopupPositions)), `Позиции минитура. По умолчанию \"bottom left\". Запись в сахаре в виде: \"positions={["bottom left"]}\". Возможные позиции: ${_Helpers_Help_PopupPosition__WEBPACK_IMPORTED_MODULE_6__.allPopupPositions.join(", ")}`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("openedFrom", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `Нужно для метрик. Показывает, откуда открыли минитур. Если не указан - то будет браться из id`), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec(_class = (_class2 = class MinitourNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__.SugarNodeWithLegacyVisibility {
146041
146042
  constructor(...args) {
146042
146043
  super(...args);
146043
146044
 
@@ -146051,7 +146052,9 @@ let MinitourNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODU
146051
146052
 
146052
146053
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "positions", _descriptor5, this);
146053
146054
 
146054
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor6, this);
146055
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "openedFrom", _descriptor6, this);
146056
+
146057
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor7, this);
146055
146058
  }
146056
146059
 
146057
146060
  getOwnPath() {
@@ -146083,7 +146086,12 @@ let MinitourNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODU
146083
146086
  enumerable: true,
146084
146087
  writable: true,
146085
146088
  initializer: null
146086
- }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec7], {
146089
+ }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "openedFrom", [_dec7], {
146090
+ configurable: true,
146091
+ enumerable: true,
146092
+ writable: true,
146093
+ initializer: null
146094
+ }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec8], {
146087
146095
  configurable: true,
146088
146096
  enumerable: true,
146089
146097
  writable: true,
@@ -165621,6 +165629,7 @@ function getSettings(sugarRoot, gfv, additionalSettings) {
165621
165629
  embeddedLogEnabled: false,
165622
165630
  allowsend: false,
165623
165631
  printInfo: {},
165632
+ useExtendedErrorLog: false,
165624
165633
  regions: [],
165625
165634
  ieDeprecationWarningEnabled: sugarRoot.ieDeprecationWarningEnabled,
165626
165635
  compactActionPanel: sugarRoot.compactActionPanel,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontur.candy/generator",
3
- "version": "4.295.0",
3
+ "version": "4.296.0-defaultCV.0",
4
4
  "description": "Candy forms generator",
5
5
  "author": "SKBKontur Candy Team",
6
6
  "private": false,