@kontur.candy/generator 5.34.0-permissions.0 → 5.35.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 +2513 -182
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -58958,7 +58958,9 @@ __webpack_require__.r(__webpack_exports__);
58958
58958
  /* harmony import */ var big_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! big.js */ "./node_modules/big.js/big.mjs");
58959
58959
  /* harmony import */ var _Engine_src_Engine_ValidationHelper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Engine/src/Engine/ValidationHelper */ "./Engine/src/Engine/ValidationHelper.ts");
58960
58960
  /* harmony import */ var _Engine_src_Helpers_AutocalcCommonFunctions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Engine/src/Helpers/AutocalcCommonFunctions */ "./Engine/src/Helpers/AutocalcCommonFunctions.ts");
58961
- /* harmony import */ var _TypingUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./TypingUtils */ "./Common/TypingUtils.ts");
58961
+ /* harmony import */ var _Engine_src_Helpers_DateHelpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Engine/src/Helpers/DateHelpers */ "./Engine/src/Helpers/DateHelpers.ts");
58962
+ /* harmony import */ var _TypingUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./TypingUtils */ "./Common/TypingUtils.ts");
58963
+
58962
58964
 
58963
58965
 
58964
58966
 
@@ -59052,6 +59054,17 @@ class KCLangRuntimeUtils {
59052
59054
  }
59053
59055
  return undefined;
59054
59056
  }
59057
+ getYear(value) {
59058
+ var _Date;
59059
+ return (_Date = new Date(value)) === null || _Date === void 0 ? void 0 : _Date.getFullYear();
59060
+ }
59061
+ dateTime(value) {
59062
+ const date = (0,_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.isNotNullOrEmpty)(value) ? (0,_Engine_src_Helpers_DateHelpers__WEBPACK_IMPORTED_MODULE_3__.convertDate)(value) : undefined;
59063
+ if (!date) {
59064
+ return undefined;
59065
+ }
59066
+ return date;
59067
+ }
59055
59068
  sum(left, right) {
59056
59069
  if (!isBigOrNumber(left) && !isBigOrNumber(right)) {
59057
59070
  return undefined;
@@ -59099,7 +59112,7 @@ class KCLangRuntimeUtils {
59099
59112
  }
59100
59113
  const value = valueSelector(path);
59101
59114
  const normalizedSnils = value === null || value === void 0 ? void 0 : value.replace(/[^0-9]/g, "");
59102
- if ((0,_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.isNullOrWhiteSpace)(normalizedSnils)) {
59115
+ if ((0,_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.isNullOrWhiteSpace)(normalizedSnils)) {
59103
59116
  return false;
59104
59117
  }
59105
59118
  const result = _Engine_src_Engine_ValidationHelper__WEBPACK_IMPORTED_MODULE_1__.ValidationHelper.isSnils(normalizedSnils);
@@ -59111,7 +59124,7 @@ class KCLangRuntimeUtils {
59111
59124
  }
59112
59125
  const value = valueSelector(path);
59113
59126
  const normalizedRegNum = value === null || value === void 0 ? void 0 : value.replace(/[^0-9]/g, "");
59114
- if ((0,_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.isNullOrWhiteSpace)(normalizedRegNum)) {
59127
+ if ((0,_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.isNullOrWhiteSpace)(normalizedRegNum)) {
59115
59128
  return false;
59116
59129
  }
59117
59130
  const result = _Engine_src_Engine_ValidationHelper__WEBPACK_IMPORTED_MODULE_1__.ValidationHelper.isRegNumSfr(normalizedRegNum);
@@ -59123,7 +59136,7 @@ class KCLangRuntimeUtils {
59123
59136
  }
59124
59137
  const value = valueSelector(path);
59125
59138
  const normalizedSnils = value === null || value === void 0 ? void 0 : value.replace(/[^0-9]/g, "");
59126
- if ((0,_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.isNullOrWhiteSpace)(normalizedSnils)) {
59139
+ if ((0,_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.isNullOrWhiteSpace)(normalizedSnils)) {
59127
59140
  return false;
59128
59141
  }
59129
59142
  const result = _Engine_src_Engine_ValidationHelper__WEBPACK_IMPORTED_MODULE_1__.ValidationHelper.isInn(normalizedSnils);
@@ -59135,7 +59148,7 @@ class KCLangRuntimeUtils {
59135
59148
  }
59136
59149
  const bikValue = valueSelector(bik);
59137
59150
  const accountValue = valueSelector(account);
59138
- if ((0,_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.isNullOrWhiteSpace)(bikValue) || (0,_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.isNullOrWhiteSpace)(accountValue)) {
59151
+ if ((0,_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.isNullOrWhiteSpace)(bikValue) || (0,_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.isNullOrWhiteSpace)(accountValue)) {
59139
59152
  return false;
59140
59153
  }
59141
59154
  const result = _Engine_src_Engine_ValidationHelper__WEBPACK_IMPORTED_MODULE_1__.ValidationHelper.isValidAccountNumber(bikValue, accountValue);
@@ -59146,7 +59159,7 @@ class KCLangRuntimeUtils {
59146
59159
  return undefined;
59147
59160
  }
59148
59161
  const value = valueSelector(path);
59149
- if ((0,_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.isNullOrWhiteSpace)(value)) {
59162
+ if ((0,_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.isNullOrWhiteSpace)(value)) {
59150
59163
  return false;
59151
59164
  }
59152
59165
  const result = _Engine_src_Engine_ValidationHelper__WEBPACK_IMPORTED_MODULE_1__.ValidationHelper.isValidMirCardNumber(value);
@@ -61373,7 +61386,22 @@ function addYears(date, amount) {
61373
61386
  return date;
61374
61387
  }
61375
61388
  function dateToString(date, format) {
61376
- return format.replace("dd", date.getDate().toString().padStart(2, "0")).replace("MM", (date.getMonth() + 1).toString().padStart(2, "0")).replace("yyyy", date.getFullYear().toString());
61389
+ var _months;
61390
+ const months = {
61391
+ "1": "января",
61392
+ "2": "февраля",
61393
+ "3": "марта",
61394
+ "4": "апреля",
61395
+ "5": "мая",
61396
+ "6": "июня",
61397
+ "7": "июля",
61398
+ "8": "августа",
61399
+ "9": "сентября",
61400
+ "10": "октября",
61401
+ "11": "ноября",
61402
+ "12": "декабря"
61403
+ };
61404
+ return format.replace("HH", date.getHours().toString().padStart(2, "0")).replace("mm", date.getMinutes().toString().padStart(2, "0")).replace("dd", date.getDate().toString().padStart(2, "0")).replace("d", date.getDate().toString()).replace("MMMM", (_months = months[date.getMonth() + 1]) !== null && _months !== void 0 ? _months : "").replace("MM", (date.getMonth() + 1).toString().padStart(2, "0")).replace("yyyy", date.getFullYear().toString());
61377
61405
  }
61378
61406
  function isDate(date) {
61379
61407
  return date instanceof Date && !isNaN(date.getTime());
@@ -70874,6 +70902,8 @@ const getGenerateJsExpressionFunc = options => {
70874
70902
  const expr = generateJsExpression(expression.expression);
70875
70903
  return `${utilsName}.${roundFnName}(${expr}, ${(_expression$fractiona = expression.fractionalDigits) !== null && _expression$fractiona !== void 0 ? _expression$fractiona : undefined})`;
70876
70904
  }
70905
+ case "dateTime":
70906
+ case "getYear":
70877
70907
  case "floor":
70878
70908
  {
70879
70909
  // eslint-disable-next-line @typescript-eslint/unbound-method
@@ -70888,7 +70918,6 @@ const getGenerateJsExpressionFunc = options => {
70888
70918
  case "getDaysInMonth":
70889
70919
  case "getDay":
70890
70920
  case "getMonth":
70891
- case "getYear":
70892
70921
  case "isDate":
70893
70922
  case "differenceInMonths":
70894
70923
  case "differenceInDays":
@@ -70896,7 +70925,6 @@ const getGenerateJsExpressionFunc = options => {
70896
70925
  case "addMonths":
70897
70926
  case "addYears":
70898
70927
  case "dateToString":
70899
- case "dateTime":
70900
70928
  case "getPicklistValues":
70901
70929
  case "nodeps":
70902
70930
  case "array":
@@ -71770,7 +71798,7 @@ __webpack_require__.r(__webpack_exports__);
71770
71798
 
71771
71799
 
71772
71800
 
71773
- var _dec, _dec2, _class, _class2, _descriptor, _dec3, _dec4, _class4, _class5, _descriptor2, _dec5, _dec6, _class7, _class8, _descriptor3, _dec7, _dec8, _class10, _class11, _descriptor4, _dec9, _dec10, _class13, _class14, _descriptor5, _dec11, _dec12, _class16, _class17, _descriptor6, _dec13, _dec14, _class19, _class20, _descriptor7, _dec15, _dec16, _class22, _class23, _descriptor8, _dec17, _dec18, _class25, _class26, _descriptor9, _dec19, _dec20, _class28, _class29, _descriptor10, _dec21, _dec22, _class31, _class32, _descriptor11, _dec23, _dec24, _dec25, _dec26, _dec27, _class34, _class35, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _class37, _class38, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _dec37, _dec38, _class40, _class41, _descriptor24, _dec39, _dec40, _class43, _class44, _descriptor25, _dec41, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _dec49, _dec50, _dec51, _dec52, _dec53, _dec54, _dec55, _dec56, _class46, _class47, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40;
71801
+ var _dec, _dec2, _class, _class2, _descriptor, _dec3, _dec4, _class4, _class5, _descriptor2, _dec5, _dec6, _class7, _class8, _descriptor3, _dec7, _dec8, _class10, _class11, _descriptor4, _dec9, _dec10, _class13, _class14, _descriptor5, _dec11, _dec12, _class16, _class17, _descriptor6, _dec13, _dec14, _class19, _class20, _descriptor7, _dec15, _dec16, _class22, _class23, _descriptor8, _dec17, _dec18, _class25, _class26, _descriptor9, _dec19, _dec20, _class28, _class29, _descriptor10, _dec21, _dec22, _dec23, _class31, _class32, _descriptor11, _descriptor12, _dec24, _dec25, _dec26, _dec27, _dec28, _class34, _class35, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _class37, _class38, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _dec38, _dec39, _class40, _class41, _descriptor25, _dec40, _dec41, _class43, _class44, _descriptor26, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _dec49, _dec50, _dec51, _dec52, _dec53, _dec54, _dec55, _dec56, _dec57, _class46, _class47, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41;
71774
71802
 
71775
71803
  class SchemaRngTypeCheck extends _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {}
71776
71804
  let PatternTypeCheck = (_dec = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("pattern", ``), _dec2 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("value", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, ``), _dec(_class = (_class2 = class PatternTypeCheck extends SchemaRngTypeCheck {
@@ -71883,219 +71911,225 @@ let MaxinclusiveTypeCheck = (_dec19 = (0,_generators_markupGenerator_Serializer_
71883
71911
  writable: true,
71884
71912
  initializer: null
71885
71913
  })), _class29)) || _class28);
71886
- let ValueEqlAutoValueTypeCheck = (_dec21 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("valueeqlautovalue", `Задаёт валидацию, если value != autovalue`), _dec22 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("level", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("error", "warning"), `Уровень валидации`), _dec21(_class31 = (_class32 = class ValueEqlAutoValueTypeCheck extends SchemaRngTypeCheck {
71914
+ let ValueEqlAutoValueTypeCheck = (_dec21 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("valueeqlautovalue", `Задаёт валидацию, если value != autovalue`), _dec22 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("level", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("error", "warning"), `Уровень валидации`), _dec23 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("condition", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.javascriptExpression, "Условие, при котором валидация отображается"), _dec21(_class31 = (_class32 = class ValueEqlAutoValueTypeCheck extends SchemaRngTypeCheck {
71887
71915
  constructor(...args) {
71888
71916
  super(...args);
71889
71917
  this.name = "valueeqlautovalue";
71890
71918
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "level", _descriptor11, this);
71919
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "condition", _descriptor12, this);
71891
71920
  }
71892
71921
  }, (_descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class32.prototype, "level", [_dec22], {
71893
71922
  configurable: true,
71894
71923
  enumerable: true,
71895
71924
  writable: true,
71896
71925
  initializer: null
71926
+ }), _descriptor12 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class32.prototype, "condition", [_dec23], {
71927
+ configurable: true,
71928
+ enumerable: true,
71929
+ writable: true,
71930
+ initializer: null
71897
71931
  })), _class32)) || _class31);
71898
- let SchemaRngType = (_dec23 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("type", ``), _dec24 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("base", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("string", "pattern", "integer", "decimal", "date", "gYear", "gMonth", "dateTime", "int", "boolean", "double"), ``), _dec25 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("description", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec26 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("requiredDescription", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec27 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(undefined, [PatternTypeCheck, EnumerationTypeCheck, LengthTypeCheck, MinlengthTypeCheck, MaxlengthTypeCheck, TotaldigitsTypeCheck, IntegerdigitsTypeCheck, FractiondigitsTypeCheck, MininclusiveTypeCheck, MaxinclusiveTypeCheck, ValueEqlAutoValueTypeCheck]), _dec23(_class34 = (_class35 = class SchemaRngType extends _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
71932
+ let SchemaRngType = (_dec24 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("type", ``), _dec25 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("base", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("string", "pattern", "integer", "decimal", "date", "gYear", "gMonth", "dateTime", "int", "boolean", "double"), ``), _dec26 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("description", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec27 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("requiredDescription", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec28 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(undefined, [PatternTypeCheck, EnumerationTypeCheck, LengthTypeCheck, MinlengthTypeCheck, MaxlengthTypeCheck, TotaldigitsTypeCheck, IntegerdigitsTypeCheck, FractiondigitsTypeCheck, MininclusiveTypeCheck, MaxinclusiveTypeCheck, ValueEqlAutoValueTypeCheck]), _dec24(_class34 = (_class35 = class SchemaRngType extends _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
71899
71933
  constructor(...args) {
71900
71934
  super(...args);
71901
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "base", _descriptor12, this);
71902
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "description", _descriptor13, this);
71903
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "requiredDescription", _descriptor14, this);
71904
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor15, this);
71935
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "base", _descriptor13, this);
71936
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "description", _descriptor14, this);
71937
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "requiredDescription", _descriptor15, this);
71938
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor16, this);
71905
71939
  }
71906
- }, (_descriptor12 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class35.prototype, "base", [_dec24], {
71940
+ }, (_descriptor13 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class35.prototype, "base", [_dec25], {
71907
71941
  configurable: true,
71908
71942
  enumerable: true,
71909
71943
  writable: true,
71910
71944
  initializer: null
71911
- }), _descriptor13 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class35.prototype, "description", [_dec25], {
71945
+ }), _descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class35.prototype, "description", [_dec26], {
71912
71946
  configurable: true,
71913
71947
  enumerable: true,
71914
71948
  writable: true,
71915
71949
  initializer: null
71916
- }), _descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class35.prototype, "requiredDescription", [_dec26], {
71950
+ }), _descriptor15 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class35.prototype, "requiredDescription", [_dec27], {
71917
71951
  configurable: true,
71918
71952
  enumerable: true,
71919
71953
  writable: true,
71920
71954
  initializer: null
71921
- }), _descriptor15 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class35.prototype, "children", [_dec27], {
71955
+ }), _descriptor16 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class35.prototype, "children", [_dec28], {
71922
71956
  configurable: true,
71923
71957
  enumerable: true,
71924
71958
  writable: true,
71925
71959
  initializer: null
71926
71960
  })), _class35)) || _class34);
71927
- let SchemaRngAttribute = (_dec28 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("attribute", ``), _dec29 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("name", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec30 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("type", [SchemaRngType]), _dec31 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("optional", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec32 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("nillable", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec33 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("description", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec34 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("lazyLoadAggregations", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec35 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("lazyLoadMode", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("deferred", "initial", "request"), ``), _dec36 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("disableValueAutoInit", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `В значениии true запрещает при кастомной нормализации перезаписывать значение value,
71928
- полученное из ФНФа, даже если оно пустое`), _dec28(_class37 = (_class38 = class SchemaRngAttribute extends _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
71961
+ let SchemaRngAttribute = (_dec29 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("attribute", ``), _dec30 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("name", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec31 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("type", [SchemaRngType]), _dec32 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("optional", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec33 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("nillable", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec34 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("description", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec35 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("lazyLoadAggregations", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec36 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("lazyLoadMode", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("deferred", "initial", "request"), ``), _dec37 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("disableValueAutoInit", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `В значениии true запрещает при кастомной нормализации перезаписывать значение value,
71962
+ полученное из ФНФа, даже если оно пустое`), _dec29(_class37 = (_class38 = class SchemaRngAttribute extends _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
71929
71963
  constructor(...args) {
71930
71964
  super(...args);
71931
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "name", _descriptor16, this);
71932
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type", _descriptor17, this);
71933
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor18, this);
71934
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "nillable", _descriptor19, this);
71935
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "description", _descriptor20, this);
71936
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "lazyLoadAggregations", _descriptor21, this);
71937
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "lazyLoadMode", _descriptor22, this);
71938
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disableValueAutoInit", _descriptor23, this);
71965
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "name", _descriptor17, this);
71966
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type", _descriptor18, this);
71967
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor19, this);
71968
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "nillable", _descriptor20, this);
71969
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "description", _descriptor21, this);
71970
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "lazyLoadAggregations", _descriptor22, this);
71971
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "lazyLoadMode", _descriptor23, this);
71972
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disableValueAutoInit", _descriptor24, this);
71939
71973
  }
71940
- }, (_descriptor16 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class38.prototype, "name", [_dec29], {
71974
+ }, (_descriptor17 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class38.prototype, "name", [_dec30], {
71941
71975
  configurable: true,
71942
71976
  enumerable: true,
71943
71977
  writable: true,
71944
71978
  initializer: null
71945
- }), _descriptor17 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class38.prototype, "type", [_dec30], {
71979
+ }), _descriptor18 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class38.prototype, "type", [_dec31], {
71946
71980
  configurable: true,
71947
71981
  enumerable: true,
71948
71982
  writable: true,
71949
71983
  initializer: null
71950
- }), _descriptor18 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class38.prototype, "optional", [_dec31], {
71984
+ }), _descriptor19 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class38.prototype, "optional", [_dec32], {
71951
71985
  configurable: true,
71952
71986
  enumerable: true,
71953
71987
  writable: true,
71954
71988
  initializer: null
71955
- }), _descriptor19 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class38.prototype, "nillable", [_dec32], {
71989
+ }), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class38.prototype, "nillable", [_dec33], {
71956
71990
  configurable: true,
71957
71991
  enumerable: true,
71958
71992
  writable: true,
71959
71993
  initializer: null
71960
- }), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class38.prototype, "description", [_dec33], {
71994
+ }), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class38.prototype, "description", [_dec34], {
71961
71995
  configurable: true,
71962
71996
  enumerable: true,
71963
71997
  writable: true,
71964
71998
  initializer: null
71965
- }), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class38.prototype, "lazyLoadAggregations", [_dec34], {
71999
+ }), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class38.prototype, "lazyLoadAggregations", [_dec35], {
71966
72000
  configurable: true,
71967
72001
  enumerable: true,
71968
72002
  writable: true,
71969
72003
  initializer: null
71970
- }), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class38.prototype, "lazyLoadMode", [_dec35], {
72004
+ }), _descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class38.prototype, "lazyLoadMode", [_dec36], {
71971
72005
  configurable: true,
71972
72006
  enumerable: true,
71973
72007
  writable: true,
71974
72008
  initializer: null
71975
- }), _descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class38.prototype, "disableValueAutoInit", [_dec36], {
72009
+ }), _descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class38.prototype, "disableValueAutoInit", [_dec37], {
71976
72010
  configurable: true,
71977
72011
  enumerable: true,
71978
72012
  writable: true,
71979
72013
  initializer: null
71980
72014
  })), _class38)) || _class37);
71981
- let SchemaRngInnerText = (_dec37 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("innertext", ``), _dec38 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("type", [SchemaRngType]), _dec37(_class40 = (_class41 = class SchemaRngInnerText extends _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
72015
+ let SchemaRngInnerText = (_dec38 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("innertext", ``), _dec39 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("type", [SchemaRngType]), _dec38(_class40 = (_class41 = class SchemaRngInnerText extends _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
71982
72016
  constructor(...args) {
71983
72017
  super(...args);
71984
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type", _descriptor24, this);
72018
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type", _descriptor25, this);
71985
72019
  }
71986
- }, (_descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class41.prototype, "type", [_dec38], {
72020
+ }, (_descriptor25 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class41.prototype, "type", [_dec39], {
71987
72021
  configurable: true,
71988
72022
  enumerable: true,
71989
72023
  writable: true,
71990
72024
  initializer: null
71991
72025
  })), _class41)) || _class40);
71992
- let SchemaRngElementChoiceElement = (_dec39 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("choice", ``), _dec40 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("element"), _dec39(_class43 = (_class44 = class SchemaRngElementChoiceElement extends _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
72026
+ let SchemaRngElementChoiceElement = (_dec40 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("choice", ``), _dec41 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("element"), _dec40(_class43 = (_class44 = class SchemaRngElementChoiceElement extends _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
71993
72027
  constructor(...args) {
71994
72028
  super(...args);
71995
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor25, this);
72029
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor26, this);
71996
72030
  }
71997
- }, (_descriptor25 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class44.prototype, "children", [_dec40], {
72031
+ }, (_descriptor26 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class44.prototype, "children", [_dec41], {
71998
72032
  configurable: true,
71999
72033
  enumerable: true,
72000
72034
  writable: true,
72001
72035
  initializer: null
72002
72036
  })), _class44)) || _class43);
72003
- let SchemaRngElement = (_dec41 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("element", ``), _dec42 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("name", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, ``), _dec43 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("description", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec44 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("optional", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec45 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("nillable", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec46 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("multiple", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec47 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("maxOccurs", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, ``), _dec48 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("attribute", [SchemaRngAttribute]), _dec49 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("element"), _dec50 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("choice"), _dec51 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("innertext", [SchemaRngInnerText]), _dec52 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("lazyLoadAggregations", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `При частичной загрузке подгружать Sum, Count`), _dec53 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("lazyLoadMode", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("deferred", "initial", "request"), `
72037
+ let SchemaRngElement = (_dec42 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("element", ``), _dec43 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("name", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, ``), _dec44 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("description", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec45 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("optional", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec46 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("nillable", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec47 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("multiple", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec48 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("maxOccurs", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, ``), _dec49 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("attribute", [SchemaRngAttribute]), _dec50 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("element"), _dec51 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("choice"), _dec52 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("innertext", [SchemaRngInnerText]), _dec53 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("lazyLoadAggregations", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `При частичной загрузке подгружать Sum, Count`), _dec54 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("lazyLoadMode", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("deferred", "initial", "request"), `
72004
72038
  Режим частичной загрузки.
72005
72039
  - deferred: ставится на коллекцию, которую хотим получать частями; например, в 6-НДФЛ при открытии одной справки, загрузятся все данные по ней
72006
72040
  - initial: данные загружаются всегда; например, данные для фильтров
72007
72041
  - request: загрузка по запросу с фронта; используется для постраничного отображения списков; например, видимые пользователю поля в таблице
72008
- `), _dec54 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("errorAndWarningCountRequired", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Подсчет количества ошибок и предупреждений по элементу в множественности`), _dec55 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("lazyLoadingThreshold", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Количество элементов в множественности, начиная с которого включается частичная загрузка. Не поддерживается для вложенных множественностей, только для корневой с lazyLoadMode=deferred`), _dec56 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("disableValueAutoInit", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `В значениии true запрещает при кастомной нормализации перезаписывать значение value,
72009
- полученное из ФУФа, даже если оно пустое`), _dec41(_class46 = (_class47 = class SchemaRngElement extends _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
72042
+ `), _dec55 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("errorAndWarningCountRequired", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Подсчет количества ошибок и предупреждений по элементу в множественности`), _dec56 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("lazyLoadingThreshold", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Количество элементов в множественности, начиная с которого включается частичная загрузка. Не поддерживается для вложенных множественностей, только для корневой с lazyLoadMode=deferred`), _dec57 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("disableValueAutoInit", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `В значениии true запрещает при кастомной нормализации перезаписывать значение value,
72043
+ полученное из ФУФа, даже если оно пустое`), _dec42(_class46 = (_class47 = class SchemaRngElement extends _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
72010
72044
  constructor(...args) {
72011
72045
  super(...args);
72012
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "name", _descriptor26, this);
72013
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "description", _descriptor27, this);
72014
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor28, this);
72015
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "nillable", _descriptor29, this);
72016
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multiple", _descriptor30, this);
72017
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "maxOccurs", _descriptor31, this);
72018
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "attributes", _descriptor32, this);
72019
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor33, this);
72020
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "choices", _descriptor34, this);
72021
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "innerText", _descriptor35, this);
72022
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "lazyLoadAggregations", _descriptor36, this);
72023
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "lazyLoadMode", _descriptor37, this);
72024
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "errorAndWarningCountRequired", _descriptor38, this);
72025
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "lazyLoadingThreshold", _descriptor39, this);
72026
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disableValueAutoInit", _descriptor40, this);
72046
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "name", _descriptor27, this);
72047
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "description", _descriptor28, this);
72048
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor29, this);
72049
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "nillable", _descriptor30, this);
72050
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multiple", _descriptor31, this);
72051
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "maxOccurs", _descriptor32, this);
72052
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "attributes", _descriptor33, this);
72053
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor34, this);
72054
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "choices", _descriptor35, this);
72055
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "innerText", _descriptor36, this);
72056
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "lazyLoadAggregations", _descriptor37, this);
72057
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "lazyLoadMode", _descriptor38, this);
72058
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "errorAndWarningCountRequired", _descriptor39, this);
72059
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "lazyLoadingThreshold", _descriptor40, this);
72060
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disableValueAutoInit", _descriptor41, this);
72027
72061
  }
72028
- }, (_descriptor26 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "name", [_dec42], {
72062
+ }, (_descriptor27 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "name", [_dec43], {
72029
72063
  configurable: true,
72030
72064
  enumerable: true,
72031
72065
  writable: true,
72032
72066
  initializer: null
72033
- }), _descriptor27 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "description", [_dec43], {
72067
+ }), _descriptor28 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "description", [_dec44], {
72034
72068
  configurable: true,
72035
72069
  enumerable: true,
72036
72070
  writable: true,
72037
72071
  initializer: null
72038
- }), _descriptor28 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "optional", [_dec44], {
72072
+ }), _descriptor29 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "optional", [_dec45], {
72039
72073
  configurable: true,
72040
72074
  enumerable: true,
72041
72075
  writable: true,
72042
72076
  initializer: null
72043
- }), _descriptor29 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "nillable", [_dec45], {
72077
+ }), _descriptor30 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "nillable", [_dec46], {
72044
72078
  configurable: true,
72045
72079
  enumerable: true,
72046
72080
  writable: true,
72047
72081
  initializer: null
72048
- }), _descriptor30 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "multiple", [_dec46], {
72082
+ }), _descriptor31 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "multiple", [_dec47], {
72049
72083
  configurable: true,
72050
72084
  enumerable: true,
72051
72085
  writable: true,
72052
72086
  initializer: null
72053
- }), _descriptor31 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "maxOccurs", [_dec47], {
72087
+ }), _descriptor32 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "maxOccurs", [_dec48], {
72054
72088
  configurable: true,
72055
72089
  enumerable: true,
72056
72090
  writable: true,
72057
72091
  initializer: null
72058
- }), _descriptor32 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "attributes", [_dec48], {
72092
+ }), _descriptor33 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "attributes", [_dec49], {
72059
72093
  configurable: true,
72060
72094
  enumerable: true,
72061
72095
  writable: true,
72062
72096
  initializer: null
72063
- }), _descriptor33 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "children", [_dec49], {
72097
+ }), _descriptor34 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "children", [_dec50], {
72064
72098
  configurable: true,
72065
72099
  enumerable: true,
72066
72100
  writable: true,
72067
72101
  initializer: null
72068
- }), _descriptor34 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "choices", [_dec50], {
72102
+ }), _descriptor35 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "choices", [_dec51], {
72069
72103
  configurable: true,
72070
72104
  enumerable: true,
72071
72105
  writable: true,
72072
72106
  initializer: null
72073
- }), _descriptor35 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "innerText", [_dec51], {
72107
+ }), _descriptor36 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "innerText", [_dec52], {
72074
72108
  configurable: true,
72075
72109
  enumerable: true,
72076
72110
  writable: true,
72077
72111
  initializer: null
72078
- }), _descriptor36 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "lazyLoadAggregations", [_dec52], {
72112
+ }), _descriptor37 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "lazyLoadAggregations", [_dec53], {
72079
72113
  configurable: true,
72080
72114
  enumerable: true,
72081
72115
  writable: true,
72082
72116
  initializer: null
72083
- }), _descriptor37 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "lazyLoadMode", [_dec53], {
72117
+ }), _descriptor38 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "lazyLoadMode", [_dec54], {
72084
72118
  configurable: true,
72085
72119
  enumerable: true,
72086
72120
  writable: true,
72087
72121
  initializer: null
72088
- }), _descriptor38 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "errorAndWarningCountRequired", [_dec54], {
72122
+ }), _descriptor39 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "errorAndWarningCountRequired", [_dec55], {
72089
72123
  configurable: true,
72090
72124
  enumerable: true,
72091
72125
  writable: true,
72092
72126
  initializer: null
72093
- }), _descriptor39 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "lazyLoadingThreshold", [_dec55], {
72127
+ }), _descriptor40 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "lazyLoadingThreshold", [_dec56], {
72094
72128
  configurable: true,
72095
72129
  enumerable: true,
72096
72130
  writable: true,
72097
72131
  initializer: null
72098
- }), _descriptor40 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "disableValueAutoInit", [_dec56], {
72132
+ }), _descriptor41 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class47.prototype, "disableValueAutoInit", [_dec57], {
72099
72133
  configurable: true,
72100
72134
  enumerable: true,
72101
72135
  writable: true,
@@ -78790,18 +78824,22 @@ __webpack_require__.r(__webpack_exports__);
78790
78824
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
78791
78825
  /* harmony export */ buildSugarNodeDocumentation: () => (/* binding */ buildSugarNodeDocumentation)
78792
78826
  /* harmony export */ });
78793
- /* harmony import */ var _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../Common/IterableUtils */ "./Common/IterableUtils.ts");
78794
- /* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
78795
- /* harmony import */ var _common_RequireContext_LoadDocumentationFileFormContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../common/RequireContext/LoadDocumentationFileFormContext */ "./Generator/src/common/RequireContext/LoadDocumentationFileFormContext.ts");
78796
- /* harmony import */ var _markupGenerator_Serializer_ClassMetadataAccess__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../markupGenerator/Serializer/ClassMetadataAccess */ "./Generator/src/generators/markupGenerator/Serializer/ClassMetadataAccess.ts");
78797
- /* harmony import */ var _markupGenerator_Serializer_Properties_MixinPropertyDeserializer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../markupGenerator/Serializer/Properties/MixinPropertyDeserializer */ "./Generator/src/generators/markupGenerator/Serializer/Properties/MixinPropertyDeserializer.ts");
78798
- /* harmony import */ var _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../markupGenerator/Serializer/Properties/SinglePropertyDeserializer */ "./Generator/src/generators/markupGenerator/Serializer/Properties/SinglePropertyDeserializer.ts");
78799
- /* harmony import */ var _markupGenerator_Serializer_Properties_ValuesSources_AttributeValueSource__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../markupGenerator/Serializer/Properties/ValuesSources/AttributeValueSource */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesSources/AttributeValueSource.ts");
78800
- /* harmony import */ var _markupGenerator_Serializer_Properties_ValuesSources_SkipAttributeValueSource__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../markupGenerator/Serializer/Properties/ValuesSources/SkipAttributeValueSource */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesSources/SkipAttributeValueSource.ts");
78801
- /* harmony import */ var _markupGenerator_Serializer_Properties_ValuesSources_MarkupOrAttributeValueSource__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../markupGenerator/Serializer/Properties/ValuesSources/MarkupOrAttributeValueSource */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesSources/MarkupOrAttributeValueSource.ts");
78802
- /* harmony import */ var _markupGenerator_Serializer_Properties_ValuesSources_ChildrenNodesValueSource__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../markupGenerator/Serializer/Properties/ValuesSources/ChildrenNodesValueSource */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesSources/ChildrenNodesValueSource.ts");
78803
- /* harmony import */ var _markupGenerator_Serializer_Properties_ValuesSources_SingleChildValueSource__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../markupGenerator/Serializer/Properties/ValuesSources/SingleChildValueSource */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesSources/SingleChildValueSource.ts");
78804
- /* harmony import */ var _DocumentationTypes__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./DocumentationTypes */ "./Generator/src/generators/DocumentationGenerator/DocumentationTypes.ts");
78827
+ /* harmony import */ var util__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! util */ "util");
78828
+ /* harmony import */ var util__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(util__WEBPACK_IMPORTED_MODULE_0__);
78829
+ /* harmony import */ var glob__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! glob */ "./node_modules/glob/glob.js");
78830
+ /* harmony import */ var glob__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(glob__WEBPACK_IMPORTED_MODULE_1__);
78831
+ /* harmony import */ var _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../Common/IterableUtils */ "./Common/IterableUtils.ts");
78832
+ /* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
78833
+ /* harmony import */ var _common_RequireContext_LoadDocumentationFileFormContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../common/RequireContext/LoadDocumentationFileFormContext */ "./Generator/src/common/RequireContext/LoadDocumentationFileFormContext.ts");
78834
+ /* harmony import */ var _markupGenerator_Serializer_ClassMetadataAccess__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../markupGenerator/Serializer/ClassMetadataAccess */ "./Generator/src/generators/markupGenerator/Serializer/ClassMetadataAccess.ts");
78835
+ /* harmony import */ var _markupGenerator_Serializer_Properties_MixinPropertyDeserializer__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../markupGenerator/Serializer/Properties/MixinPropertyDeserializer */ "./Generator/src/generators/markupGenerator/Serializer/Properties/MixinPropertyDeserializer.ts");
78836
+ /* harmony import */ var _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../markupGenerator/Serializer/Properties/SinglePropertyDeserializer */ "./Generator/src/generators/markupGenerator/Serializer/Properties/SinglePropertyDeserializer.ts");
78837
+ /* harmony import */ var _markupGenerator_Serializer_Properties_ValuesSources_AttributeValueSource__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../markupGenerator/Serializer/Properties/ValuesSources/AttributeValueSource */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesSources/AttributeValueSource.ts");
78838
+ /* harmony import */ var _markupGenerator_Serializer_Properties_ValuesSources_SkipAttributeValueSource__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../markupGenerator/Serializer/Properties/ValuesSources/SkipAttributeValueSource */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesSources/SkipAttributeValueSource.ts");
78839
+ /* harmony import */ var _markupGenerator_Serializer_Properties_ValuesSources_MarkupOrAttributeValueSource__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../markupGenerator/Serializer/Properties/ValuesSources/MarkupOrAttributeValueSource */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesSources/MarkupOrAttributeValueSource.ts");
78840
+ /* harmony import */ var _markupGenerator_Serializer_Properties_ValuesSources_ChildrenNodesValueSource__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../markupGenerator/Serializer/Properties/ValuesSources/ChildrenNodesValueSource */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesSources/ChildrenNodesValueSource.ts");
78841
+ /* harmony import */ var _markupGenerator_Serializer_Properties_ValuesSources_SingleChildValueSource__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../markupGenerator/Serializer/Properties/ValuesSources/SingleChildValueSource */ "./Generator/src/generators/markupGenerator/Serializer/Properties/ValuesSources/SingleChildValueSource.ts");
78842
+ /* harmony import */ var _DocumentationTypes__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./DocumentationTypes */ "./Generator/src/generators/DocumentationGenerator/DocumentationTypes.ts");
78805
78843
 
78806
78844
 
78807
78845
 
@@ -78814,18 +78852,28 @@ __webpack_require__.r(__webpack_exports__);
78814
78852
 
78815
78853
 
78816
78854
 
78855
+
78856
+
78857
+ const globAsync = (0,util__WEBPACK_IMPORTED_MODULE_0__.promisify)((glob__WEBPACK_IMPORTED_MODULE_1___default()));
78817
78858
  function getMarkdownDescription(documentationFilesContext, metadata, sugarNodeClass) {
78818
78859
  if (documentationFilesContext == undefined) {
78819
78860
  return undefined;
78820
78861
  }
78821
- const descriptions = [(0,_common_RequireContext_LoadDocumentationFileFormContext__WEBPACK_IMPORTED_MODULE_2__.loadDocumentationFileFormContext)(documentationFilesContext, "description.md"), (0,_common_RequireContext_LoadDocumentationFileFormContext__WEBPACK_IMPORTED_MODULE_2__.loadDocumentationFileFormContext)(documentationFilesContext, metadata.sugarNodeName + ".md"), (0,_common_RequireContext_LoadDocumentationFileFormContext__WEBPACK_IMPORTED_MODULE_2__.loadDocumentationFileFormContext)(documentationFilesContext, sugarNodeClass.name + ".md")];
78822
- return _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_0__.IterUtils.first(descriptions.filter(_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__.isNotNullOrUndefined));
78862
+ const descriptions = [(0,_common_RequireContext_LoadDocumentationFileFormContext__WEBPACK_IMPORTED_MODULE_4__.loadDocumentationFileFormContext)(documentationFilesContext, "description.md"), (0,_common_RequireContext_LoadDocumentationFileFormContext__WEBPACK_IMPORTED_MODULE_4__.loadDocumentationFileFormContext)(documentationFilesContext, metadata.sugarNodeName + ".md"), (0,_common_RequireContext_LoadDocumentationFileFormContext__WEBPACK_IMPORTED_MODULE_4__.loadDocumentationFileFormContext)(documentationFilesContext, sugarNodeClass.name + ".md")];
78863
+ return _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_2__.IterUtils.first(descriptions.filter(_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.isNotNullOrUndefined));
78864
+ }
78865
+ async function getPathImagesFromContext(documentationFilesContext) {
78866
+ if (documentationFilesContext == undefined) {
78867
+ return [];
78868
+ }
78869
+ const pathImage = documentationFilesContext.resolve("*.png");
78870
+ return await globAsync(pathImage);
78823
78871
  }
78824
78872
  function buildSugarNodeDocumentation(sugarNodeClass) {
78825
- const metadata = (0,_markupGenerator_Serializer_ClassMetadataAccess__WEBPACK_IMPORTED_MODULE_3__.getSugarNodeMetadata)(sugarNodeClass);
78826
- const propertySerializers = (0,_markupGenerator_Serializer_ClassMetadataAccess__WEBPACK_IMPORTED_MODULE_3__.getPropertyDeserializers)(sugarNodeClass);
78873
+ const metadata = (0,_markupGenerator_Serializer_ClassMetadataAccess__WEBPACK_IMPORTED_MODULE_5__.getSugarNodeMetadata)(sugarNodeClass);
78874
+ const propertySerializers = (0,_markupGenerator_Serializer_ClassMetadataAccess__WEBPACK_IMPORTED_MODULE_5__.getPropertyDeserializers)(sugarNodeClass);
78827
78875
  const documentationFilesContext = metadata.documentationFilesContext;
78828
- const example = (0,_common_RequireContext_LoadDocumentationFileFormContext__WEBPACK_IMPORTED_MODULE_2__.loadDocumentationFileFormContext)(documentationFilesContext, "example.md");
78876
+ const example = (0,_common_RequireContext_LoadDocumentationFileFormContext__WEBPACK_IMPORTED_MODULE_4__.loadDocumentationFileFormContext)(documentationFilesContext, "example.md");
78829
78877
  const markdownDescription = getMarkdownDescription(documentationFilesContext, metadata, sugarNodeClass);
78830
78878
  const {
78831
78879
  markupAttributes,
@@ -78836,6 +78884,16 @@ function buildSugarNodeDocumentation(sugarNodeClass) {
78836
78884
  singleChild,
78837
78885
  availableAnyChildren
78838
78886
  } = buildAvailableChildrenInfo(propertySerializers, documentationFilesContext);
78887
+ const imagesPromise = getPathImagesFromContext(documentationFilesContext);
78888
+ const images = imagesPromise.then(resolve => resolve.map(value => {
78889
+ {
78890
+ const imageName = value.split("/").pop();
78891
+ if (imageName != undefined) {
78892
+ images[imageName] = value;
78893
+ }
78894
+ }
78895
+ return images;
78896
+ }));
78839
78897
  return {
78840
78898
  name: metadata.sugarNodeName.toLowerCase(),
78841
78899
  availableChildren: {
@@ -78847,7 +78905,8 @@ function buildSugarNodeDocumentation(sugarNodeClass) {
78847
78905
  shortMarkdownDescription: metadata.description,
78848
78906
  markdownDescription: markdownDescription,
78849
78907
  attributes: attributes,
78850
- markupAttributes: markupAttributes
78908
+ markupAttributes: markupAttributes,
78909
+ images: images
78851
78910
  };
78852
78911
  }
78853
78912
  function buildAvailableChildrenInfo(propertySerializers, documentationFilesContext) {
@@ -78867,20 +78926,20 @@ function buildAvailableChildrenInfo(propertySerializers, documentationFilesConte
78867
78926
  };
78868
78927
  }
78869
78928
  function buildAvailableChildrenDocs(propertyDeserializer, documentationFilesContext) {
78870
- if (!(propertyDeserializer instanceof _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_5__.SinglePropertyDeserializer)) {
78929
+ if (!(propertyDeserializer instanceof _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_7__.SinglePropertyDeserializer)) {
78871
78930
  return [];
78872
78931
  }
78873
78932
  if (propertyDeserializer.propertyName === "children") {
78874
78933
  return [];
78875
78934
  }
78876
- if (propertyDeserializer.valueSource instanceof _markupGenerator_Serializer_Properties_ValuesSources_ChildrenNodesValueSource__WEBPACK_IMPORTED_MODULE_9__.ChildrenNodesValueSource) {
78935
+ if (propertyDeserializer.valueSource instanceof _markupGenerator_Serializer_Properties_ValuesSources_ChildrenNodesValueSource__WEBPACK_IMPORTED_MODULE_11__.ChildrenNodesValueSource) {
78877
78936
  const childrenNodes = propertyDeserializer.valueSource.nodeClasses.map(buildSugarNodeDocumentation);
78878
78937
  return childrenNodes;
78879
78938
  }
78880
78939
  return [];
78881
78940
  }
78882
78941
  function buildAvailableSugarChildrenDocs(propertyDeserializer, documentationFilesContext) {
78883
- if (!(propertyDeserializer instanceof _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_5__.SinglePropertyDeserializer)) {
78942
+ if (!(propertyDeserializer instanceof _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_7__.SinglePropertyDeserializer)) {
78884
78943
  return false;
78885
78944
  }
78886
78945
  if (propertyDeserializer.propertyName === "children") {
@@ -78889,10 +78948,10 @@ function buildAvailableSugarChildrenDocs(propertyDeserializer, documentationFile
78889
78948
  return false;
78890
78949
  }
78891
78950
  function buildAvailableSingleChildDocs(propertyDeserializer, documentationFilesContext) {
78892
- if (!(propertyDeserializer instanceof _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_5__.SinglePropertyDeserializer)) {
78951
+ if (!(propertyDeserializer instanceof _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_7__.SinglePropertyDeserializer)) {
78893
78952
  return [];
78894
78953
  }
78895
- if (propertyDeserializer.valueSource instanceof _markupGenerator_Serializer_Properties_ValuesSources_SingleChildValueSource__WEBPACK_IMPORTED_MODULE_10__.SingleChildValueSource) {
78954
+ if (propertyDeserializer.valueSource instanceof _markupGenerator_Serializer_Properties_ValuesSources_SingleChildValueSource__WEBPACK_IMPORTED_MODULE_12__.SingleChildValueSource) {
78896
78955
  const childrenNodes = propertyDeserializer.valueSource.nodeClasses.map(buildSugarNodeDocumentation);
78897
78956
  return childrenNodes;
78898
78957
  }
@@ -78913,51 +78972,51 @@ function buildMarkupAndAttributesInfo(propertySerializers, documentationFilesCon
78913
78972
  };
78914
78973
  }
78915
78974
  function buildMarkupAttributeDocs(propertyDeserializer, documentationFilesContext) {
78916
- if (!(propertyDeserializer instanceof _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_5__.SinglePropertyDeserializer)) {
78975
+ if (!(propertyDeserializer instanceof _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_7__.SinglePropertyDeserializer)) {
78917
78976
  return [];
78918
78977
  }
78919
- if (propertyDeserializer.valueSource instanceof _markupGenerator_Serializer_Properties_ValuesSources_MarkupOrAttributeValueSource__WEBPACK_IMPORTED_MODULE_8__.MarkupOrAttributeValueSource) {
78978
+ if (propertyDeserializer.valueSource instanceof _markupGenerator_Serializer_Properties_ValuesSources_MarkupOrAttributeValueSource__WEBPACK_IMPORTED_MODULE_10__.MarkupOrAttributeValueSource) {
78920
78979
  var _propertyDeserializer;
78921
78980
  let markdownDescription = "";
78922
78981
  if (documentationFilesContext != undefined) {
78923
- markdownDescription = (0,_common_RequireContext_LoadDocumentationFileFormContext__WEBPACK_IMPORTED_MODULE_2__.loadDocumentationFileFormContext)(documentationFilesContext, `${propertyDeserializer.valueSource.attrName}.attr.md`);
78982
+ markdownDescription = (0,_common_RequireContext_LoadDocumentationFileFormContext__WEBPACK_IMPORTED_MODULE_4__.loadDocumentationFileFormContext)(documentationFilesContext, `${propertyDeserializer.valueSource.attrName}.attr.md`);
78924
78983
  }
78925
78984
  return [{
78926
78985
  name: propertyDeserializer.valueSource.attrName,
78927
- valueTypes: (0,_DocumentationTypes__WEBPACK_IMPORTED_MODULE_11__.valueParserToAttributeType)(propertyDeserializer.valueSource.valueParser),
78986
+ valueTypes: (0,_DocumentationTypes__WEBPACK_IMPORTED_MODULE_13__.valueParserToAttributeType)(propertyDeserializer.valueSource.valueParser),
78928
78987
  shortMarkdownDescription: (_propertyDeserializer = propertyDeserializer.propertyDescription) !== null && _propertyDeserializer !== void 0 ? _propertyDeserializer : "--",
78929
78988
  markdownDescription: markdownDescription,
78930
78989
  defaultValue: undefined,
78931
- required: (0,_DocumentationTypes__WEBPACK_IMPORTED_MODULE_11__.isRequiredValueParser)(propertyDeserializer.valueSource.valueParser),
78990
+ required: (0,_DocumentationTypes__WEBPACK_IMPORTED_MODULE_13__.isRequiredValueParser)(propertyDeserializer.valueSource.valueParser),
78932
78991
  deprecated: false
78933
78992
  }];
78934
78993
  }
78935
78994
  return [];
78936
78995
  }
78937
78996
  function buildAttributeDocs(propertyDeserializer, documentationFilesContext) {
78938
- if (propertyDeserializer instanceof _markupGenerator_Serializer_Properties_MixinPropertyDeserializer__WEBPACK_IMPORTED_MODULE_4__.MixinPropertyDeserializer) {
78997
+ if (propertyDeserializer instanceof _markupGenerator_Serializer_Properties_MixinPropertyDeserializer__WEBPACK_IMPORTED_MODULE_6__.MixinPropertyDeserializer) {
78939
78998
  return propertyDeserializer.getPropertyDeserializers().map(x => buildAttributeDocs(x, documentationFilesContext)).flat();
78940
78999
  }
78941
- if (!(propertyDeserializer instanceof _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_5__.SinglePropertyDeserializer)) {
79000
+ if (!(propertyDeserializer instanceof _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_7__.SinglePropertyDeserializer)) {
78942
79001
  return [];
78943
79002
  }
78944
- if (propertyDeserializer.valueSource instanceof _markupGenerator_Serializer_Properties_ValuesSources_AttributeValueSource__WEBPACK_IMPORTED_MODULE_6__.AttributeValueSource) {
79003
+ if (propertyDeserializer.valueSource instanceof _markupGenerator_Serializer_Properties_ValuesSources_AttributeValueSource__WEBPACK_IMPORTED_MODULE_8__.AttributeValueSource) {
78945
79004
  var _propertyDeserializer2;
78946
79005
  let markdownDescription = "";
78947
79006
  if (documentationFilesContext != undefined) {
78948
- markdownDescription = (0,_common_RequireContext_LoadDocumentationFileFormContext__WEBPACK_IMPORTED_MODULE_2__.loadDocumentationFileFormContext)(documentationFilesContext, `${propertyDeserializer.valueSource.attrName}.attr.md`);
79007
+ markdownDescription = (0,_common_RequireContext_LoadDocumentationFileFormContext__WEBPACK_IMPORTED_MODULE_4__.loadDocumentationFileFormContext)(documentationFilesContext, `${propertyDeserializer.valueSource.attrName}.attr.md`);
78949
79008
  }
78950
79009
  return [{
78951
79010
  name: propertyDeserializer.valueSource.attrName,
78952
- valueTypes: (0,_DocumentationTypes__WEBPACK_IMPORTED_MODULE_11__.valueParserToAttributeType)(propertyDeserializer.valueSource.valueParser),
79011
+ valueTypes: (0,_DocumentationTypes__WEBPACK_IMPORTED_MODULE_13__.valueParserToAttributeType)(propertyDeserializer.valueSource.valueParser),
78953
79012
  shortMarkdownDescription: (_propertyDeserializer2 = propertyDeserializer.propertyDescription) !== null && _propertyDeserializer2 !== void 0 ? _propertyDeserializer2 : "--",
78954
79013
  markdownDescription: markdownDescription,
78955
79014
  defaultValue: undefined,
78956
- required: (0,_DocumentationTypes__WEBPACK_IMPORTED_MODULE_11__.isRequiredValueParser)(propertyDeserializer.valueSource.valueParser),
79015
+ required: (0,_DocumentationTypes__WEBPACK_IMPORTED_MODULE_13__.isRequiredValueParser)(propertyDeserializer.valueSource.valueParser),
78957
79016
  deprecated: false
78958
79017
  }];
78959
79018
  }
78960
- if (propertyDeserializer.valueSource instanceof _markupGenerator_Serializer_Properties_ValuesSources_SkipAttributeValueSource__WEBPACK_IMPORTED_MODULE_7__.SkipAttributeValueSource) {
79019
+ if (propertyDeserializer.valueSource instanceof _markupGenerator_Serializer_Properties_ValuesSources_SkipAttributeValueSource__WEBPACK_IMPORTED_MODULE_9__.SkipAttributeValueSource) {
78961
79020
  return [{
78962
79021
  name: propertyDeserializer.propertyName,
78963
79022
  valueTypes: [],
@@ -80198,7 +80257,7 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
80198
80257
  dataDeclaration
80199
80258
  } = dataDeclarationGenerator.generate();
80200
80259
  const dataDeclarationHelper = new _DataDeclarationGenerator_DataDeclarationGenerationTimeHelper__WEBPACK_IMPORTED_MODULE_26__.DataDeclarationGenerationTimeHelper(dataDeclaration);
80201
- const validationGenerator = new _validationGenerator_ValidationGenerator__WEBPACK_IMPORTED_MODULE_16__.ValidationGenerator(sugarRoot, typeRegistry, controlCustomizationContext, formSchemaRng, (_sugarRoot$schemaVali2 = sugarRoot.schemaValidations) !== null && _sugarRoot$schemaVali2 !== void 0 ? _sugarRoot$schemaVali2 : false, additionalContent.validationsContent);
80260
+ const validationGenerator = new _validationGenerator_ValidationGenerator__WEBPACK_IMPORTED_MODULE_16__.ValidationGenerator(sugarRoot, typeRegistry, controlCustomizationContext, formSchemaRng, (_sugarRoot$schemaVali2 = sugarRoot.schemaValidations) !== null && _sugarRoot$schemaVali2 !== void 0 ? _sugarRoot$schemaVali2 : false, additionalContent.validationsContent, additionalContent.formJsonSettings);
80202
80261
  const lazyLoadGenerator = new _LazyLoadDeclarationGenerator_LazyLoadDeclarationGenerator__WEBPACK_IMPORTED_MODULE_29__.LazyLoadDeclarationGenerator(sugarRoot, formSchemaRng);
80203
80262
  const lazyLoadGeneratorResult = lazyLoadGenerator.generate();
80204
80263
  const resourcesHash = (_generationOptions$re = generationOptions === null || generationOptions === void 0 ? void 0 : generationOptions.resourcesHash) !== null && _generationOptions$re !== void 0 ? _generationOptions$re : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.reject)("Current generator version requires resources hash");
@@ -80885,7 +80944,7 @@ class FLangValidationBuildContext {
80885
80944
  validations.push(baseTypeValidation);
80886
80945
  }
80887
80946
  }
80888
- const typeValidations = this.createTypeValidations({
80947
+ const typeValidations = this.createTypeValidations(targetPath, {
80889
80948
  valueReference: valueReference,
80890
80949
  autoValueReference: autoValueReference
80891
80950
  }, typeNode, schemaTypeNode, nodeGId);
@@ -80939,13 +80998,29 @@ class FLangValidationBuildContext {
80939
80998
  } else {
80940
80999
  expression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_14__.ConditionalExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_14__.OrBinaryExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_14__.IsEqualsBinaryExpression(valueReference, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_14__.NullLiteralExpression()), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_14__.IsEqualsBinaryExpression(valueReference, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_14__.StringLiteralExpression(""))), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_14__.NullLiteralExpression(), expression);
80941
81000
  }
80942
- const visibilityFlangCondition = this.visibilityConditions.map(x => {
81001
+ return this.wrapExpressionVisibleConditionIfNeed(expression, targetPath, checkType);
81002
+ }
81003
+ wrapExpressionVisibleConditionIfNeed(expression, targetPath, checkType) {
81004
+ if (this.visibilityConditions.length) {
81005
+ const visibilityFlangCondition = this.visibilityConditions.map(x => {
81006
+ const target = new _Common_ModelPath_AbsoluteModelFieldPath__WEBPACK_IMPORTED_MODULE_11__.AbsoluteModelFieldPath(targetPath, checkType);
81007
+ const prefix = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createAbsoluteFromTokens)(x.path.getPathPartsAsArray().filter(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.isSimpleToken));
81008
+ const flangExpr = this.getFlangExpressionFromKCLangCondition(prefix, target, x.condition, x.invertRequired);
81009
+ return flangExpr;
81010
+ }).filter(_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_6__.isNotNullOrUndefined).reduce((acc, current) => acc != undefined ? new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_14__.AndBinaryExpression(acc, current) : current, undefined);
81011
+ return visibilityFlangCondition != undefined ? new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_14__.ConditionalExpression(visibilityFlangCondition, expression, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_14__.NullLiteralExpression()) : expression;
81012
+ }
81013
+ return expression;
81014
+ }
81015
+ wrapVisibleSugarNodeConditionIfNeed(expression, targetPath, checkType, additionalConditional) {
81016
+ if (additionalConditional) {
81017
+ const contextPath = targetPath.getParentPath();
80943
81018
  const target = new _Common_ModelPath_AbsoluteModelFieldPath__WEBPACK_IMPORTED_MODULE_11__.AbsoluteModelFieldPath(targetPath, checkType);
80944
- const prefix = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createAbsoluteFromTokens)(x.path.getPathPartsAsArray().filter(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.isSimpleToken));
80945
- const flangExpr = this.getFlangExpressionFromKCLangCondition(prefix, target, x.condition, x.invertRequired);
80946
- return flangExpr;
80947
- }).filter(_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_6__.isNotNullOrUndefined).reduce((acc, current) => acc != undefined ? new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_14__.AndBinaryExpression(acc, current) : current, undefined);
80948
- return visibilityFlangCondition != undefined ? new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_14__.ConditionalExpression(visibilityFlangCondition, expression, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_14__.NullLiteralExpression()) : expression;
81019
+ const prefix = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createAbsoluteFromTokens)(contextPath.getPathPartsAsArray().filter(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.isSimpleToken));
81020
+ const visibilityFlangCondition = this.getFlangExpressionFromKCLangCondition(prefix, target, additionalConditional, false);
81021
+ return visibilityFlangCondition != undefined ? new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_14__.AndBinaryExpression(expression, visibilityFlangCondition) : expression;
81022
+ }
81023
+ return expression;
80949
81024
  }
80950
81025
  getFlangExpressionFromKCLangCondition(prefix, target, condition, invertRequired) {
80951
81026
  const fullKcLangExpr = `
@@ -81008,7 +81083,7 @@ class FLangValidationBuildContext {
81008
81083
  return undefined;
81009
81084
  }
81010
81085
  }
81011
- *createTypeValidations(references, typeNode, schemaTypeNode, nodeGId) {
81086
+ *createTypeValidations(targetPath, references, typeNode, schemaTypeNode, nodeGId) {
81012
81087
  var _typeNode$checkType, _typeNode$children$fi, _typeNode$children, _typeNode$children$fi2, _schemaTypeNode$enume, _digest$gId, _typeNode$children2, _typeNodeLength$value, _typeNode$children3, _typeNodeMinLength$va, _typeNode$children4, _typeNodeMaxLength$va, _typeNode$children5, _typeNodeMinInclusive, _typeNode$children6, _typeNodeMaxInclusive, _typeNode$children7, _typeNodeTotalDigits$, _typeNode$children$fi3, _typeNode$children8, _schemaTypeNode$patte, _typeNode$children9, _typeNodeInteger$valu, _typeNode$children10, _typeNodeFractional$v, _ref5, _typeNode$children$fi4, _typeNode$children11, _typeNode$children11$, _typeNode$children12, _typeNode$children12$;
81013
81088
  const {
81014
81089
  valueReference,
@@ -81159,8 +81234,10 @@ class FLangValidationBuildContext {
81159
81234
  }
81160
81235
  const valueEqlAutoValueErrorLevel = (_ref5 = (_typeNode$children$fi4 = typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$children11 = typeNode.children) === null || _typeNode$children11 === void 0 ? void 0 : (_typeNode$children11$ = _typeNode$children11.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.ofType)(_common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_12__.ValueEqlAutoValueTypeCheck))) === null || _typeNode$children11$ === void 0 ? void 0 : _typeNode$children11$.level) !== null && _typeNode$children$fi4 !== void 0 ? _typeNode$children$fi4 : typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$children12 = typeNode.children) === null || _typeNode$children12 === void 0 ? void 0 : (_typeNode$children12$ = _typeNode$children12.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.ValueEqlAutoValueTypeCheckNode))) === null || _typeNode$children12$ === void 0 ? void 0 : _typeNode$children12$.level) !== null && _ref5 !== void 0 ? _ref5 : schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.valueEqlAutoValue;
81161
81236
  if (valueEqlAutoValueErrorLevel != undefined) {
81237
+ var _typeNode$children$fi5, _typeNode$children13, _typeNode$children13$, _typeNode$children14, _typeNode$children14$;
81162
81238
  const isDecimal = (schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.baseType) === "decimal";
81163
- const condition = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_14__.NegateUnaryExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_14__.IsEqualsBinaryExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_13__.decimalWrapper)(valueReference, isDecimal), (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_13__.decimalWrapper)(autoValueReference, isDecimal)));
81239
+ const validationCondition = (_typeNode$children$fi5 = typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$children13 = typeNode.children) === null || _typeNode$children13 === void 0 ? void 0 : (_typeNode$children13$ = _typeNode$children13.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.ofType)(_common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_12__.ValueEqlAutoValueTypeCheck))) === null || _typeNode$children13$ === void 0 ? void 0 : _typeNode$children13$.condition) !== null && _typeNode$children$fi5 !== void 0 ? _typeNode$children$fi5 : typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$children14 = typeNode.children) === null || _typeNode$children14 === void 0 ? void 0 : (_typeNode$children14$ = _typeNode$children14.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.ValueEqlAutoValueTypeCheckNode))) === null || _typeNode$children14$ === void 0 ? void 0 : _typeNode$children14$.condition;
81240
+ const condition = this.wrapVisibleSugarNodeConditionIfNeed(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_14__.NegateUnaryExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_14__.IsEqualsBinaryExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_13__.decimalWrapper)(valueReference, isDecimal), (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_13__.decimalWrapper)(autoValueReference, isDecimal))), targetPath, valueEqlAutoValueErrorLevel, validationCondition);
81164
81241
  yield {
81165
81242
  condition: condition,
81166
81243
  message: makeMessage({
@@ -83354,7 +83431,7 @@ class FormulaExpressionToFlangExpressionConverter {
83354
83431
  return (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_7__.wrapWithArgumentsCondition)(result);
83355
83432
  }
83356
83433
  preparePathAndAdjustMultiplicity(prefix, path) {
83357
- const resultPath = this.adjustPathMultiplicity(prefix.joinWith((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createModelPath)(path.replace(/\@/g, ""), false)).normalize());
83434
+ const resultPath = this.adjustPathMultiplicity(prefix.joinWith((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createModelPath)(path.replace(/\@/g, ""), "auto")).normalize());
83358
83435
  return resultPath;
83359
83436
  }
83360
83437
  }
@@ -85812,7 +85889,9 @@ __webpack_require__.r(__webpack_exports__);
85812
85889
  /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
85813
85890
  /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
85814
85891
  /* harmony import */ var _Common_CandyApiClient_Types_DraftActions_CombineFufResult__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../Common/CandyApiClient/Types/DraftActions/CombineFufResult */ "./Common/CandyApiClient/Types/DraftActions/CombineFufResult.ts");
85815
- /* harmony import */ var _DropDownButtonLoadExcelNode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./DropDownButtonLoadExcelNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Action/DropDownButtonLoadExcel/DropDownButtonLoadExcelNode.ts");
85892
+ /* harmony import */ var _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../common/XmlParser/XmlNode */ "./Generator/src/common/XmlParser/XmlNode.ts");
85893
+ /* harmony import */ var _DropDownButtonLoadExcelNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./DropDownButtonLoadExcelNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Action/DropDownButtonLoadExcel/DropDownButtonLoadExcelNode.ts");
85894
+
85816
85895
 
85817
85896
 
85818
85897
 
@@ -85821,10 +85900,10 @@ __webpack_require__.r(__webpack_exports__);
85821
85900
 
85822
85901
  class DropDownButtonLoadExcelConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
85823
85902
  static getAcceptNodeClass() {
85824
- return _DropDownButtonLoadExcelNode__WEBPACK_IMPORTED_MODULE_5__.DropDownButtonLoadExcelNode;
85903
+ return _DropDownButtonLoadExcelNode__WEBPACK_IMPORTED_MODULE_6__.DropDownButtonLoadExcelNode;
85825
85904
  }
85826
85905
  get nodePaths() {
85827
- const node = this.getCurrentNodeAs(_DropDownButtonLoadExcelNode__WEBPACK_IMPORTED_MODULE_5__.DropDownButtonLoadExcelNode);
85906
+ const node = this.getCurrentNodeAs(_DropDownButtonLoadExcelNode__WEBPACK_IMPORTED_MODULE_6__.DropDownButtonLoadExcelNode);
85828
85907
  return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node)];
85829
85908
  }
85830
85909
  doBuildDataDeclaration(context) {
@@ -85837,18 +85916,28 @@ class DropDownButtonLoadExcelConverter extends _SugarNodeConverter__WEBPACK_IMPO
85837
85916
  // no children
85838
85917
  }
85839
85918
  doConvert(context) {
85840
- var _node$text, _node$textInLoading, _node$combinatorType, _node$combineType, _node$acceptGFVs;
85841
- const node = this.getCurrentNodeAs(_DropDownButtonLoadExcelNode__WEBPACK_IMPORTED_MODULE_5__.DropDownButtonLoadExcelNode);
85919
+ var _node$text, _node$textInLoading, _node$combinatorType, _node$combineType, _node$acceptGFVs, _node$needTypeId;
85920
+ const node = this.getCurrentNodeAs(_DropDownButtonLoadExcelNode__WEBPACK_IMPORTED_MODULE_6__.DropDownButtonLoadExcelNode);
85842
85921
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("DropDownButtonLoadExcel");
85843
85922
  markupBuilder.prop(x => x.pathToTable).set(node.pathToTable);
85844
85923
  markupBuilder.prop("data-tid").set(node.tid);
85845
85924
  markupBuilder.prop(x => x.size).set(node.size);
85846
- markupBuilder.prop(x => x.text).set((_node$text = node.text) !== null && _node$text !== void 0 ? _node$text : "Действия");
85925
+ markupBuilder.prop(x => x.text).set((_node$text = node.text) !== null && _node$text !== void 0 ? _node$text : "Импорт/Экспорт");
85847
85926
  markupBuilder.prop(x => x.textInLoading).set((_node$textInLoading = node.textInLoading) !== null && _node$textInLoading !== void 0 ? _node$textInLoading : "Скачиваем");
85848
85927
  markupBuilder.prop(x => x.tableType).set(node.tableType);
85849
85928
  markupBuilder.prop(x => x.combinatorType).set((_node$combinatorType = node.combinatorType) !== null && _node$combinatorType !== void 0 ? _node$combinatorType : _Common_CandyApiClient_Types_DraftActions_CombineFufResult__WEBPACK_IMPORTED_MODULE_4__.CombinatorType.Default);
85850
85929
  markupBuilder.prop(x => x.combineType).set((_node$combineType = node.combineType) !== null && _node$combineType !== void 0 ? _node$combineType : _Common_CandyApiClient_Types_DraftActions_CombineFufResult__WEBPACK_IMPORTED_MODULE_4__.FufCombineMethod.AddToEnd);
85851
85930
  markupBuilder.prop(x => x.acceptGFVs).set((_node$acceptGFVs = node.acceptGFVs) !== null && _node$acceptGFVs !== void 0 ? _node$acceptGFVs : []);
85931
+ markupBuilder.prop(x => x.needTypeId).set((_node$needTypeId = node.needTypeId) !== null && _node$needTypeId !== void 0 ? _node$needTypeId : false);
85932
+ markupBuilder.prop(x => x.navigationPath).set(node.navigationPath);
85933
+ markupBuilder.prop(x => x.lastPathTokenPageExist).set(node.lastPathTokenPageExist);
85934
+ if (node.isOnlyAddToEnd && node.isOnlyReplace) {
85935
+ throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_5__.SugarAttributeReadError("В контроле должен быть только один атрибут: или isOnlyAddToEnd, или isOnlyReplace.", node, "isOnlyAddToEnd");
85936
+ } else {
85937
+ var _node$isOnlyAddToEnd, _node$isOnlyReplace;
85938
+ markupBuilder.prop(x => x.isOnlyAddToEnd).set((_node$isOnlyAddToEnd = node.isOnlyAddToEnd) !== null && _node$isOnlyAddToEnd !== void 0 ? _node$isOnlyAddToEnd : false);
85939
+ markupBuilder.prop(x => x.isOnlyReplace).set((_node$isOnlyReplace = node.isOnlyReplace) !== null && _node$isOnlyReplace !== void 0 ? _node$isOnlyReplace : false);
85940
+ }
85852
85941
  return markupBuilder.buildConverterResult();
85853
85942
  }
85854
85943
  }
@@ -85878,11 +85967,11 @@ __webpack_require__.r(__webpack_exports__);
85878
85967
 
85879
85968
 
85880
85969
 
85881
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;
85970
+ 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;
85882
85971
 
85883
85972
 
85884
85973
 
85885
- let DropDownButtonLoadExcelNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("dropdownbuttonloadexcel", `Кнопка для выгрузки и загрузки файла Excel.`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Action/DropDownButtonLoadExcel sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("pathToTable", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, "Путь до multiline, абсолютный."), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("size", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("small", "medium", "large"), "Размер кнопки. По умолчанинию small"), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("text", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, "Текст в кнопке до загрузки файла. По умолчанию 'Действия'."), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("textInLoading", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, "Текст в кнопке при загрузке файла в Excel. По умолчанию 'Скачиваем'"), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("tableType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum(_Engine_src_Engine_Core_ModalManager_Modals_Utils_Types__WEBPACK_IMPORTED_MODULE_5__.TableType.static, _Engine_src_Engine_Core_ModalManager_Modals_Utils_Types__WEBPACK_IMPORTED_MODULE_5__.TableType.dynamic).required, `Статичная или динамическая таблица.
85974
+ let DropDownButtonLoadExcelNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("dropdownbuttonloadexcel", `Кнопка для выгрузки и загрузки файла Excel.`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Action/DropDownButtonLoadExcel sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("pathToTable", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, "Путь до multiline, абсолютный."), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("size", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("small", "medium", "large"), "Размер кнопки. По умолчанинию small"), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("text", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, "Текст в кнопке до загрузки файла. По умолчанию 'Импорт/Экспорт'."), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("textInLoading", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, "Текст в кнопке при загрузке файла в Excel. По умолчанию 'Скачиваем'"), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("tableType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum(_Engine_src_Engine_Core_ModalManager_Modals_Utils_Types__WEBPACK_IMPORTED_MODULE_5__.TableType.static, _Engine_src_Engine_Core_ModalManager_Modals_Utils_Types__WEBPACK_IMPORTED_MODULE_5__.TableType.dynamic).required, `Статичная или динамическая таблица.
85886
85975
  Статическая - таблица без изменений количества строк и столбцов.
85887
85976
  Динамическая - таблица с изменением количесва строк и/или столбцов. Например, мультилайн.
85888
85977
  Если в таблице есть и статические и данамические строки, то в этот атрибут писать static.
@@ -85893,7 +85982,7 @@ let DropDownButtonLoadExcelNode = (_dec = (0,_Serializer_SugarSerializer__WEBPAC
85893
85982
  `), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("combinatorType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum(_Common_CandyApiClient_Types_DraftActions_CombineFufResult__WEBPACK_IMPORTED_MODULE_4__.CombinatorType.Default, _Common_CandyApiClient_Types_DraftActions_CombineFufResult__WEBPACK_IMPORTED_MODULE_4__.CombinatorType.XmlCombinatorByPath), `Default: использует умный комбинатор, который пишется флешами.
85894
85983
  XmlCombinatorByPath: новый вид комбинатора по пути. Перекладывает из фуфа в черновик 1 к 1.
85895
85984
  В связке с XmlCombinatorByPath - в combineType писать AddToEnd.
85896
- `), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("acceptGFVs", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string), `Разрешенные гфв, например старых форматов`), _dec(_class = (_class2 = class DropDownButtonLoadExcelNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
85985
+ `), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("acceptGFVs", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string), `Разрешенные гфв, например старых форматов.`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("needTypeId", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Атрибут для вычисления typeId в загрузке excel, например в ЕФС. По умолчанию false.`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("navigationPath", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Путь для навигации, если он отличается от пути до таблицы (pathToTable). Если этот путь задан, то навигируется в него, иначе в pathToTable.`), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("lastPathTokenPageExist", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Токен пути для определения заполненности раздела. Нужен в ЕФС-1.`), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("isOnlyAddToEnd", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Если для формы реализована функция только добавления в конец, без замены. Например в ЕФС-1. По умолчанию false.`), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("isOnlyReplace", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Если для формы реализована функция только замены данных. Например в ЕФС-1 ДСВ-3. По умолчанию false.`), _dec(_class = (_class2 = class DropDownButtonLoadExcelNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
85897
85986
  constructor(...args) {
85898
85987
  super(...args);
85899
85988
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pathToTable", _descriptor, this);
@@ -85905,6 +85994,11 @@ let DropDownButtonLoadExcelNode = (_dec = (0,_Serializer_SugarSerializer__WEBPAC
85905
85994
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "combineType", _descriptor7, this);
85906
85995
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "combinatorType", _descriptor8, this);
85907
85996
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "acceptGFVs", _descriptor9, this);
85997
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "needTypeId", _descriptor10, this);
85998
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationPath", _descriptor11, this);
85999
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "lastPathTokenPageExist", _descriptor12, this);
86000
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "isOnlyAddToEnd", _descriptor13, this);
86001
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "isOnlyReplace", _descriptor14, this);
85908
86002
  }
85909
86003
  }, (_descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pathToTable", [_dec2], {
85910
86004
  configurable: true,
@@ -85951,6 +86045,31 @@ let DropDownButtonLoadExcelNode = (_dec = (0,_Serializer_SugarSerializer__WEBPAC
85951
86045
  enumerable: true,
85952
86046
  writable: true,
85953
86047
  initializer: null
86048
+ }), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "needTypeId", [_dec11], {
86049
+ configurable: true,
86050
+ enumerable: true,
86051
+ writable: true,
86052
+ initializer: null
86053
+ }), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "navigationPath", [_dec12], {
86054
+ configurable: true,
86055
+ enumerable: true,
86056
+ writable: true,
86057
+ initializer: null
86058
+ }), _descriptor12 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "lastPathTokenPageExist", [_dec13], {
86059
+ configurable: true,
86060
+ enumerable: true,
86061
+ writable: true,
86062
+ initializer: null
86063
+ }), _descriptor13 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "isOnlyAddToEnd", [_dec14], {
86064
+ configurable: true,
86065
+ enumerable: true,
86066
+ writable: true,
86067
+ initializer: null
86068
+ }), _descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "isOnlyReplace", [_dec15], {
86069
+ configurable: true,
86070
+ enumerable: true,
86071
+ writable: true,
86072
+ initializer: null
85954
86073
  })), _class2)) || _class);
85955
86074
 
85956
86075
  /***/ }),
@@ -95906,6 +96025,7 @@ class CrossfitTableConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODUL
95906
96025
  }
95907
96026
  rowMenuBuilder.prop(x => x.doNotCopyPaths).set(doNotCopyPaths);
95908
96027
  rowMenuBuilder.prop(x => x.bindingPath).set(multilinePath);
96028
+ rowMenuBuilder.prop(x => x.optional).set(optional);
95909
96029
  sideControlsBuilder.appendChild(rowMenuBuilder);
95910
96030
  } else if (removeButton) {
95911
96031
  const removeButtonBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("RemoveRowButton");
@@ -97558,7 +97678,7 @@ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11
97558
97678
 
97559
97679
 
97560
97680
 
97561
- let MultilineFieldNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("multilinefield", `Создание простой множественности`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/Multilinefield sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.bindingPath, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.bindingPathLink)} данного элемента. Опционально, если не указан, то будет оторажаться текст заданный внутри данного элемента`), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("maxOccurs", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, `Масмальное возможное количество элементов в заданном множественном элементе.`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("hintOnAdd", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, `Текст сообщения в хинте на иконке добавления элемента`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("filteredUniqKey", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Уникальный ключ фильтрации multiline, используется, для фильтраций одних и тех же путей иннера
97681
+ let MultilineFieldNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("multilinefield", `Создание простой множественности`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/Multilinefield sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.bindingPath, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.bindingPathLink)} данного элемента. Опционально, если не указан, то будет оторажаться текст заданный внутри данного элемента`), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("maxOccurs", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, `Масмальное возможное количество элементов в заданном множественном элементе.`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("hintOnAdd", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, `Текст сообщения в хинте на иконке добавления элемента`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("filteredUniqKey", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Уникальный ключ фильтрации multiline, используется, для фильтраций одних и тех же путей иннера
97562
97682
  разными фильтрами. Задается произвольной строкой. Фильтры с одинаковым ключем фильтрации получают одинаковый результат фильтрации`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("titles", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.stringArray, `Текст со склонением для отображения количества элементов. Пример \`titles={["%s яблоко", "%s яблока", "%s яблок"]}\``), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("viewLength", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, `Количество строк после которого появляется возмножность их скрыть`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("backgroundColor", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Цвет фона.`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("disableButtons", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Убрать стандартные кнопки добавления и удаления строк`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(), _dec(_class = (_class2 = class MultilineFieldNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_3__.SugarNodeWithLegacyVisibility {
97563
97683
  constructor(...args) {
97564
97684
  super(...args);
@@ -111104,7 +111224,7 @@ __webpack_require__.r(__webpack_exports__);
111104
111224
 
111105
111225
 
111106
111226
 
111107
- var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2, _descriptor3, _dec4, _dec5, _dec6, _class3, _class4, _descriptor4, _descriptor5, _dec7, _dec8, _dec9, _class6, _class7, _descriptor6, _descriptor7, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _class9, _class10, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _dec17, _dec18, _class12, _class13, _descriptor14, _dec19, _dec20, _class15, _class16, _descriptor15, _dec21, _dec22, _class18, _class19, _descriptor16, _dec23, _dec24, _class21, _class22, _descriptor17, _dec25, _dec26, _class24, _class25, _descriptor18, _dec27, _dec28, _class27, _class28, _descriptor19, _dec29, _dec30, _class30, _class31, _descriptor20, _dec31, _dec32, _class33, _class34, _descriptor21, _dec33, _dec34, _dec35, _class36, _class37, _descriptor22, _descriptor23, _dec36, _dec37, _class39, _class40, _descriptor24, _dec38, _dec39, _class42, _class43, _descriptor25, _dec40, _dec41, _class45, _class46, _descriptor26, _dec42, _dec43, _class48, _class49, _descriptor27, _dec44, _dec45, _dec46, _dec47, _dec48, _dec49, _dec50, _dec51, _dec52, _class51, _class52, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35;
111227
+ var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2, _descriptor3, _dec4, _dec5, _dec6, _class3, _class4, _descriptor4, _descriptor5, _dec7, _dec8, _dec9, _class6, _class7, _descriptor6, _descriptor7, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _class9, _class10, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _dec17, _dec18, _class12, _class13, _descriptor14, _dec19, _dec20, _class15, _class16, _descriptor15, _dec21, _dec22, _class18, _class19, _descriptor16, _dec23, _dec24, _class21, _class22, _descriptor17, _dec25, _dec26, _class24, _class25, _descriptor18, _dec27, _dec28, _dec29, _class27, _class28, _descriptor19, _descriptor20, _dec30, _dec31, _class30, _class31, _descriptor21, _dec32, _dec33, _class33, _class34, _descriptor22, _dec34, _dec35, _dec36, _class36, _class37, _descriptor23, _descriptor24, _dec37, _dec38, _class39, _class40, _descriptor25, _dec39, _dec40, _class42, _class43, _descriptor26, _dec41, _dec42, _class45, _class46, _descriptor27, _dec43, _dec44, _class48, _class49, _descriptor28, _dec45, _dec46, _dec47, _dec48, _dec49, _dec50, _dec51, _dec52, _dec53, _class51, _class52, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36;
111108
111228
 
111109
111229
 
111110
111230
  let TypeCheckNodeBase = (_dec = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("description", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, `Сообщение, которое оторазиться на контроле, если данное правило не выполняется. Если атрибут не указан будет использовано сообщение элемента type/`), _dec2 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("checkType", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("error", "warning"), `Тип валидации для данного правила. При ошибке контрол будет отображаться либо оранжевым (warning), либо красным (error).`), _dec3 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("force", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Форсирует запуск правила. Например, если поле является обязательным, то при force='true' правило запустить даже если поле не заполнено.
@@ -111269,119 +111389,125 @@ let IntegerdigitsTypeCheckNode = (_dec25 = (0,_markupGenerator_Serializer_SugarS
111269
111389
  writable: true,
111270
111390
  initializer: null
111271
111391
  })), _class25)) || _class24);
111272
- let ValueEqlAutoValueTypeCheckNode = (_dec27 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("valueeqlautovalue", `Задаёт валидацию, если value != autovalue`), _dec28 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("level", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("error", "warning"), `Уровень валидации`), _dec27(_class27 = (_class28 = class ValueEqlAutoValueTypeCheckNode extends TypeCheckNodeBase {
111392
+ let ValueEqlAutoValueTypeCheckNode = (_dec27 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("valueeqlautovalue", `Задаёт валидацию, если value != autovalue`), _dec28 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("level", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("error", "warning"), `Уровень валидации`), _dec29 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("condition", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.javascriptExpression, "Условие, при котором валидация отображается"), _dec27(_class27 = (_class28 = class ValueEqlAutoValueTypeCheckNode extends TypeCheckNodeBase {
111273
111393
  constructor(...args) {
111274
111394
  super(...args);
111275
111395
  this.name = "valueeqlautovalue";
111276
111396
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "level", _descriptor19, this);
111397
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "condition", _descriptor20, this);
111277
111398
  }
111278
111399
  }, (_descriptor19 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class28.prototype, "level", [_dec28], {
111279
111400
  configurable: true,
111280
111401
  enumerable: true,
111281
111402
  writable: true,
111282
111403
  initializer: null
111404
+ }), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class28.prototype, "condition", [_dec29], {
111405
+ configurable: true,
111406
+ enumerable: true,
111407
+ writable: true,
111408
+ initializer: null
111283
111409
  })), _class28)) || _class27);
111284
- let FractiondigitsTypeCheckNode = (_dec29 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("fractiondigits", `Правило для чисел. Задаёт валидацию на максимальное количество цифр в дробной части числа`), _dec30 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("value", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number.required, `Колчиство цифр`), _dec29(_class30 = (_class31 = class FractiondigitsTypeCheckNode extends TypeCheckNodeBase {
111410
+ let FractiondigitsTypeCheckNode = (_dec30 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("fractiondigits", `Правило для чисел. Задаёт валидацию на максимальное количество цифр в дробной части числа`), _dec31 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("value", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number.required, `Колчиство цифр`), _dec30(_class30 = (_class31 = class FractiondigitsTypeCheckNode extends TypeCheckNodeBase {
111285
111411
  constructor(...args) {
111286
111412
  super(...args);
111287
111413
  this.name = "fractiondigits";
111288
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "value", _descriptor20, this);
111414
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "value", _descriptor21, this);
111289
111415
  }
111290
- }, (_descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class31.prototype, "value", [_dec30], {
111416
+ }, (_descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class31.prototype, "value", [_dec31], {
111291
111417
  configurable: true,
111292
111418
  enumerable: true,
111293
111419
  writable: true,
111294
111420
  initializer: null
111295
111421
  })), _class31)) || _class30);
111296
- let DigestcheckTypeCheckNode = (_dec31 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("digestcheck", `Задаёт проверку по справочнику.`), _dec32 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("gId", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Идентификатор справочника. Поле можно опустить, если контрол является справочным и содержит атрибут gId`), _dec31(_class33 = (_class34 = class DigestcheckTypeCheckNode extends TypeCheckNodeBase {
111422
+ let DigestcheckTypeCheckNode = (_dec32 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("digestcheck", `Задаёт проверку по справочнику.`), _dec33 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("gId", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Идентификатор справочника. Поле можно опустить, если контрол является справочным и содержит атрибут gId`), _dec32(_class33 = (_class34 = class DigestcheckTypeCheckNode extends TypeCheckNodeBase {
111297
111423
  constructor(...args) {
111298
111424
  super(...args);
111299
111425
  this.name = "digestcheck";
111300
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gId", _descriptor21, this);
111426
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gId", _descriptor22, this);
111301
111427
  }
111302
- }, (_descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class34.prototype, "gId", [_dec32], {
111428
+ }, (_descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class34.prototype, "gId", [_dec33], {
111303
111429
  configurable: true,
111304
111430
  enumerable: true,
111305
111431
  writable: true,
111306
111432
  initializer: null
111307
111433
  })), _class34)) || _class33);
111308
- let DigestConditionTypeCheckNode = (_dec33 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("digestcondition", `Задаёт проверку по справочнику.`), _dec34 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("gId", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Идентификатор справочника. Поле можно опустить, если контрол является справочным и содержит атрибут gId`), _dec35 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("condition", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.javascriptExpression.required, `Выражение, которому должен удовлетворять элемент справочника. Аналогично фильтра в combobox`), _dec33(_class36 = (_class37 = class DigestConditionTypeCheckNode extends TypeCheckNodeBase {
111434
+ let DigestConditionTypeCheckNode = (_dec34 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("digestcondition", `Задаёт проверку по справочнику.`), _dec35 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("gId", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Идентификатор справочника. Поле можно опустить, если контрол является справочным и содержит атрибут gId`), _dec36 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("condition", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.javascriptExpression.required, `Выражение, которому должен удовлетворять элемент справочника. Аналогично фильтра в combobox`), _dec34(_class36 = (_class37 = class DigestConditionTypeCheckNode extends TypeCheckNodeBase {
111309
111435
  constructor(...args) {
111310
111436
  super(...args);
111311
111437
  this.name = "digestcondition";
111312
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gId", _descriptor22, this);
111313
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "condition", _descriptor23, this);
111438
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gId", _descriptor23, this);
111439
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "condition", _descriptor24, this);
111314
111440
  }
111315
- }, (_descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class37.prototype, "gId", [_dec34], {
111441
+ }, (_descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class37.prototype, "gId", [_dec35], {
111316
111442
  configurable: true,
111317
111443
  enumerable: true,
111318
111444
  writable: true,
111319
111445
  initializer: null
111320
- }), _descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class37.prototype, "condition", [_dec35], {
111446
+ }), _descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class37.prototype, "condition", [_dec36], {
111321
111447
  configurable: true,
111322
111448
  enumerable: true,
111323
111449
  writable: true,
111324
111450
  initializer: null
111325
111451
  })), _class37)) || _class36);
111326
- let MininclusiveTypeCheckNode = (_dec36 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("mininclusive", `Проверка для чисел. Определяет минимально возможное (включиельно) значение числа.`), _dec37 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("value", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number.required, `Минимальное значение числа`), _dec36(_class39 = (_class40 = class MininclusiveTypeCheckNode extends TypeCheckNodeBase {
111452
+ let MininclusiveTypeCheckNode = (_dec37 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("mininclusive", `Проверка для чисел. Определяет минимально возможное (включиельно) значение числа.`), _dec38 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("value", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number.required, `Минимальное значение числа`), _dec37(_class39 = (_class40 = class MininclusiveTypeCheckNode extends TypeCheckNodeBase {
111327
111453
  constructor(...args) {
111328
111454
  super(...args);
111329
111455
  this.name = "mininclusive";
111330
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "value", _descriptor24, this);
111456
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "value", _descriptor25, this);
111331
111457
  }
111332
- }, (_descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class40.prototype, "value", [_dec37], {
111458
+ }, (_descriptor25 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class40.prototype, "value", [_dec38], {
111333
111459
  configurable: true,
111334
111460
  enumerable: true,
111335
111461
  writable: true,
111336
111462
  initializer: null
111337
111463
  })), _class40)) || _class39);
111338
- let MaxinclusiveTypeCheckNode = (_dec38 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("maxinclusive", `Проверка для чисел. Определяет максимально возможное (включиельно) значение числа.`), _dec39 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("value", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number.required, `Максимальное значение числа`), _dec38(_class42 = (_class43 = class MaxinclusiveTypeCheckNode extends TypeCheckNodeBase {
111464
+ let MaxinclusiveTypeCheckNode = (_dec39 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("maxinclusive", `Проверка для чисел. Определяет максимально возможное (включиельно) значение числа.`), _dec40 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("value", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number.required, `Максимальное значение числа`), _dec39(_class42 = (_class43 = class MaxinclusiveTypeCheckNode extends TypeCheckNodeBase {
111339
111465
  constructor(...args) {
111340
111466
  super(...args);
111341
111467
  this.name = "maxinclusive";
111342
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "value", _descriptor25, this);
111468
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "value", _descriptor26, this);
111343
111469
  }
111344
- }, (_descriptor25 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class43.prototype, "value", [_dec39], {
111470
+ }, (_descriptor26 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class43.prototype, "value", [_dec40], {
111345
111471
  configurable: true,
111346
111472
  enumerable: true,
111347
111473
  writable: true,
111348
111474
  initializer: null
111349
111475
  })), _class43)) || _class42);
111350
- let CustomValidationTypeCheckNode = (_dec40 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("customvalidation", `Даёт возможность задать произвольное правило, написав его на JavaScript.`), _dec41 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("value", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string.required, `Содержит имя файла с функцией валидации. Файл должен находиться в каталоге validations формы.`), _dec40(_class45 = (_class46 = class CustomValidationTypeCheckNode extends TypeCheckNodeBase {
111476
+ let CustomValidationTypeCheckNode = (_dec41 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("customvalidation", `Даёт возможность задать произвольное правило, написав его на JavaScript.`), _dec42 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("value", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string.required, `Содержит имя файла с функцией валидации. Файл должен находиться в каталоге validations формы.`), _dec41(_class45 = (_class46 = class CustomValidationTypeCheckNode extends TypeCheckNodeBase {
111351
111477
  constructor(...args) {
111352
111478
  super(...args);
111353
111479
  this.name = "customvalidation";
111354
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "value", _descriptor26, this);
111480
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "value", _descriptor27, this);
111355
111481
  }
111356
- }, (_descriptor26 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class46.prototype, "value", [_dec41], {
111482
+ }, (_descriptor27 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class46.prototype, "value", [_dec42], {
111357
111483
  configurable: true,
111358
111484
  enumerable: true,
111359
111485
  writable: true,
111360
111486
  initializer: null
111361
111487
  })), _class46)) || _class45);
111362
- let ForcedTypeChecksNode = (_dec42 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("force", ``), _dec43 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(undefined, [CustomValidationTypeCheckNode, PatternTypeCheckNode, EnumerationTypeCheckNode, AttachmentsTypeCheckNode, LengthTypeCheckNode, MinlengthTypeCheckNode, MaxlengthTypeCheckNode, TotaldigitsTypeCheckNode, IntegerdigitsTypeCheckNode, FractiondigitsTypeCheckNode, DigestcheckTypeCheckNode, MininclusiveTypeCheckNode, MaxinclusiveTypeCheckNode]), _dec42(_class48 = (_class49 = class ForcedTypeChecksNode extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
111488
+ let ForcedTypeChecksNode = (_dec43 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("force", ``), _dec44 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(undefined, [CustomValidationTypeCheckNode, PatternTypeCheckNode, EnumerationTypeCheckNode, AttachmentsTypeCheckNode, LengthTypeCheckNode, MinlengthTypeCheckNode, MaxlengthTypeCheckNode, TotaldigitsTypeCheckNode, IntegerdigitsTypeCheckNode, FractiondigitsTypeCheckNode, DigestcheckTypeCheckNode, MininclusiveTypeCheckNode, MaxinclusiveTypeCheckNode]), _dec43(_class48 = (_class49 = class ForcedTypeChecksNode extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
111363
111489
  constructor(...args) {
111364
111490
  super(...args);
111365
111491
  this.name = "force";
111366
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor27, this);
111492
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor28, this);
111367
111493
  }
111368
- }, (_descriptor27 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class49.prototype, "children", [_dec43], {
111494
+ }, (_descriptor28 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class49.prototype, "children", [_dec44], {
111369
111495
  configurable: true,
111370
111496
  enumerable: true,
111371
111497
  writable: true,
111372
111498
  initializer: null
111373
111499
  })), _class49)) || _class48);
111374
- let TypeNode = (_dec44 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("type", `Описание валидации для поля`, __webpack_require__("./Generator/src/generators/validationGenerator/Nodes sync recursive .md$")), _dec45 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("base", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("string", "pattern", "integer", "decimal", "date", "gYear", "gMonth"), `Базовый тип, для нового типа. Автоматически задаёт валидацию (число, дата, год) и исключает ввод неверных символов`), _dec46 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("name", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Имя типа. Не требуется для анонимных типов. Имя типа в дальнейшем указывается в атрибуте type контрола.`), _dec47 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("requireDescription", _markupGenerator_Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_3__.DeprecationReason.Typo), _dec48 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("requiredDescription", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, `Если значение в контроле является обязательным, то это сообщение будет отображается, если значение отсутствует. См. атрибут optional (Подсказка-всплывашка, когда поле пустое. Если не указать - будет стандартная подсказка. Появляется только для обязательного поля. Если не указан, то выводится значение из атр. description)`), _dec49 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("description", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, `Сообщение, которое будет отображатся если значение не отвечает заданным в типе валидациям и соотв. валидация не имеет атрибута description (Подсказка-всплывашка, когда поле заполнено неверно. Если не указать - то подсказка построится автоматически на основании base, length, enumeration (пока что на основании pattern автоматической подсказки нет. Более того, есть баг, что если description для типа с pattern-ом не указан, валидация по паттерну не работает))`), _dec50 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("isCaseIndependentValid", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Проверять ли значение регистронезависимо. Если написан этот атрибут, то в ноду надо написать isEnableCaseIndependentValidation=true.`), _dec51 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("checkType", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("error", "warning"), `Тип валидации. При ошибке контрол будет отображаться либо оранжевым (warning), либо красным (error).`), _dec52 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(undefined, [CustomValidationTypeCheckNode, PatternTypeCheckNode, EnumerationTypeCheckNode, AttachmentsTypeCheckNode, LengthTypeCheckNode, MinlengthTypeCheckNode, MaxlengthTypeCheckNode, TotaldigitsTypeCheckNode, IntegerdigitsTypeCheckNode, FractiondigitsTypeCheckNode, DigestcheckTypeCheckNode, DigestConditionTypeCheckNode, MininclusiveTypeCheckNode, MaxinclusiveTypeCheckNode, ForcedTypeChecksNode, ValueEqlAutoValueTypeCheckNode]), _dec44(_class51 = (_class52 = class TypeNode extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
111500
+ let TypeNode = (_dec45 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("type", `Описание валидации для поля`, __webpack_require__("./Generator/src/generators/validationGenerator/Nodes sync recursive .md$")), _dec46 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("base", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("string", "pattern", "integer", "decimal", "date", "gYear", "gMonth"), `Базовый тип, для нового типа. Автоматически задаёт валидацию (число, дата, год) и исключает ввод неверных символов`), _dec47 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("name", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Имя типа. Не требуется для анонимных типов. Имя типа в дальнейшем указывается в атрибуте type контрола.`), _dec48 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("requireDescription", _markupGenerator_Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_3__.DeprecationReason.Typo), _dec49 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("requiredDescription", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, `Если значение в контроле является обязательным, то это сообщение будет отображается, если значение отсутствует. См. атрибут optional (Подсказка-всплывашка, когда поле пустое. Если не указать - будет стандартная подсказка. Появляется только для обязательного поля. Если не указан, то выводится значение из атр. description)`), _dec50 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("description", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, `Сообщение, которое будет отображатся если значение не отвечает заданным в типе валидациям и соотв. валидация не имеет атрибута description (Подсказка-всплывашка, когда поле заполнено неверно. Если не указать - то подсказка построится автоматически на основании base, length, enumeration (пока что на основании pattern автоматической подсказки нет. Более того, есть баг, что если description для типа с pattern-ом не указан, валидация по паттерну не работает))`), _dec51 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("isCaseIndependentValid", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Проверять ли значение регистронезависимо. Если написан этот атрибут, то в ноду надо написать isEnableCaseIndependentValidation=true.`), _dec52 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("checkType", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("error", "warning"), `Тип валидации. При ошибке контрол будет отображаться либо оранжевым (warning), либо красным (error).`), _dec53 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(undefined, [CustomValidationTypeCheckNode, PatternTypeCheckNode, EnumerationTypeCheckNode, AttachmentsTypeCheckNode, LengthTypeCheckNode, MinlengthTypeCheckNode, MaxlengthTypeCheckNode, TotaldigitsTypeCheckNode, IntegerdigitsTypeCheckNode, FractiondigitsTypeCheckNode, DigestcheckTypeCheckNode, DigestConditionTypeCheckNode, MininclusiveTypeCheckNode, MaxinclusiveTypeCheckNode, ForcedTypeChecksNode, ValueEqlAutoValueTypeCheckNode]), _dec45(_class51 = (_class52 = class TypeNode extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
111375
111501
  constructor(...args) {
111376
111502
  super(...args);
111377
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "base", _descriptor28, this);
111378
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "name", _descriptor29, this);
111379
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "requireDescription", _descriptor30, this);
111380
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "requiredDescription", _descriptor31, this);
111381
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "description", _descriptor32, this);
111382
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "isCaseIndependentValid", _descriptor33, this);
111383
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "checkType", _descriptor34, this);
111384
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor35, this);
111503
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "base", _descriptor29, this);
111504
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "name", _descriptor30, this);
111505
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "requireDescription", _descriptor31, this);
111506
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "requiredDescription", _descriptor32, this);
111507
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "description", _descriptor33, this);
111508
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "isCaseIndependentValid", _descriptor34, this);
111509
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "checkType", _descriptor35, this);
111510
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor36, this);
111385
111511
  }
111386
111512
  getValidations(typeCheckClass) {
111387
111513
  let childrenValidations = this.children.filter(ofType(typeCheckClass));
@@ -111420,42 +111546,42 @@ let TypeNode = (_dec44 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK
111420
111546
  }
111421
111547
  return false;
111422
111548
  }
111423
- }, (_descriptor28 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class52.prototype, "base", [_dec45], {
111549
+ }, (_descriptor29 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class52.prototype, "base", [_dec46], {
111424
111550
  configurable: true,
111425
111551
  enumerable: true,
111426
111552
  writable: true,
111427
111553
  initializer: null
111428
- }), _descriptor29 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class52.prototype, "name", [_dec46], {
111554
+ }), _descriptor30 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class52.prototype, "name", [_dec47], {
111429
111555
  configurable: true,
111430
111556
  enumerable: true,
111431
111557
  writable: true,
111432
111558
  initializer: null
111433
- }), _descriptor30 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class52.prototype, "requireDescription", [_dec47], {
111559
+ }), _descriptor31 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class52.prototype, "requireDescription", [_dec48], {
111434
111560
  configurable: true,
111435
111561
  enumerable: true,
111436
111562
  writable: true,
111437
111563
  initializer: null
111438
- }), _descriptor31 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class52.prototype, "requiredDescription", [_dec48], {
111564
+ }), _descriptor32 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class52.prototype, "requiredDescription", [_dec49], {
111439
111565
  configurable: true,
111440
111566
  enumerable: true,
111441
111567
  writable: true,
111442
111568
  initializer: null
111443
- }), _descriptor32 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class52.prototype, "description", [_dec49], {
111569
+ }), _descriptor33 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class52.prototype, "description", [_dec50], {
111444
111570
  configurable: true,
111445
111571
  enumerable: true,
111446
111572
  writable: true,
111447
111573
  initializer: null
111448
- }), _descriptor33 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class52.prototype, "isCaseIndependentValid", [_dec50], {
111574
+ }), _descriptor34 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class52.prototype, "isCaseIndependentValid", [_dec51], {
111449
111575
  configurable: true,
111450
111576
  enumerable: true,
111451
111577
  writable: true,
111452
111578
  initializer: null
111453
- }), _descriptor34 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class52.prototype, "checkType", [_dec51], {
111579
+ }), _descriptor35 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class52.prototype, "checkType", [_dec52], {
111454
111580
  configurable: true,
111455
111581
  enumerable: true,
111456
111582
  writable: true,
111457
111583
  initializer: null
111458
- }), _descriptor35 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class52.prototype, "children", [_dec52], {
111584
+ }), _descriptor36 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class52.prototype, "children", [_dec53], {
111459
111585
  configurable: true,
111460
111586
  enumerable: true,
111461
111587
  writable: true,
@@ -111946,23 +112072,36 @@ __webpack_require__.r(__webpack_exports__);
111946
112072
  /* harmony import */ var util__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(util__WEBPACK_IMPORTED_MODULE_0__);
111947
112073
  /* harmony import */ var _common_CodeGeneration_ClassInstanceBuilder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../common/CodeGeneration/ClassInstanceBuilder */ "./Generator/src/common/CodeGeneration/ClassInstanceBuilder.ts");
111948
112074
  /* harmony import */ var _Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Nodes/TypeNode */ "./Generator/src/generators/validationGenerator/Nodes/TypeNode.ts");
111949
- /* harmony import */ var _TypeBasedValidatorGenerator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./TypeBasedValidatorGenerator */ "./Generator/src/generators/validationGenerator/TypeBasedValidatorGenerators/TypeBasedValidatorGenerator.ts");
112075
+ /* harmony import */ var _common_ConditionUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../common/ConditionUtils */ "./Generator/src/common/ConditionUtils.ts");
112076
+ /* harmony import */ var _Common_KCLangRuntimeUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../Common/KCLangRuntimeUtils */ "./Common/KCLangRuntimeUtils.ts");
112077
+ /* harmony import */ var _markupGenerator_ComponentMarkupBuilder_PathHelper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../markupGenerator/ComponentMarkupBuilder/PathHelper */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/PathHelper.ts");
112078
+ /* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
112079
+ /* harmony import */ var _TypeBasedValidatorGenerator__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./TypeBasedValidatorGenerator */ "./Generator/src/generators/validationGenerator/TypeBasedValidatorGenerators/TypeBasedValidatorGenerator.ts");
112080
+
112081
+
112082
+
111950
112083
 
111951
112084
 
111952
112085
 
111953
112086
 
111954
- class ValueEqlAutoValueValidatorGenerator extends _TypeBasedValidatorGenerator__WEBPACK_IMPORTED_MODULE_3__.TypeBasedValidatorGeneratorBase {
112087
+
112088
+ class ValueEqlAutoValueValidatorGenerator extends _TypeBasedValidatorGenerator__WEBPACK_IMPORTED_MODULE_7__.TypeBasedValidatorGeneratorBase {
112089
+ constructor(settings) {
112090
+ super();
112091
+ this.settings = void 0;
112092
+ this.settings = settings;
112093
+ }
111955
112094
  static acceptNode(node) {
111956
112095
  return node instanceof _Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.ValueEqlAutoValueTypeCheckNode;
111957
112096
  }
111958
- static createFromNode(node) {
111959
- return new ValueEqlAutoValueValidatorGenerator();
112097
+ static createFromNode(node, settings) {
112098
+ return new ValueEqlAutoValueValidatorGenerator(settings);
111960
112099
  }
111961
112100
  acceptNodeForGroup(node) {
111962
112101
  return ValueEqlAutoValueValidatorGenerator.acceptNode(node);
111963
112102
  }
111964
112103
  generatorValidator(typeNode) {
111965
- var _ref, _ref2, _autoValidation$check;
112104
+ var _ref, _ref2, _autoValidation$check, _this$settings;
111966
112105
  const allowedValueNodes = typeNode.getValidations(_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.ValueEqlAutoValueTypeCheckNode);
111967
112106
  const autoValidation = allowedValueNodes[0];
111968
112107
  if ((0,util__WEBPACK_IMPORTED_MODULE_0__.isNullOrUndefined)(autoValidation)) {
@@ -111970,6 +112109,14 @@ class ValueEqlAutoValueValidatorGenerator extends _TypeBasedValidatorGenerator__
111970
112109
  }
111971
112110
  const builder = (0,_common_CodeGeneration_ClassInstanceBuilder__WEBPACK_IMPORTED_MODULE_1__.instanceBuilder)("Validators.AutoValueEqualValueValidator");
111972
112111
  builder.set(0, (_ref = (_ref2 = (_autoValidation$check = autoValidation.checkType) !== null && _autoValidation$check !== void 0 ? _autoValidation$check : typeNode.checkType) !== null && _ref2 !== void 0 ? _ref2 : autoValidation.level) !== null && _ref !== void 0 ? _ref : "error");
112112
+ const formsSetting = (_this$settings = this.settings) !== null && _this$settings !== void 0 ? _this$settings : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_6__.reject)("formJsonSettings is not defined");
112113
+ const conditionWithDependencies = autoValidation !== null && autoValidation !== void 0 && autoValidation.condition ? (0,_common_ConditionUtils__WEBPACK_IMPORTED_MODULE_3__.convertConditionToJsOrFailWithFriendlySugarError)(autoValidation.condition, "path", _Common_KCLangRuntimeUtils__WEBPACK_IMPORTED_MODULE_4__.KCLangRuntimeUtils.kcLangUtilsName, typeNode, (0,_markupGenerator_ComponentMarkupBuilder_PathHelper__WEBPACK_IMPORTED_MODULE_5__.extractPath)(x => x.condition)) : undefined;
112114
+ if (conditionWithDependencies !== null && conditionWithDependencies !== void 0 && conditionWithDependencies.condition) {
112115
+ if ((formsSetting === null || formsSetting === void 0 ? void 0 : formsSetting.useServerSideCalculations) === true) {
112116
+ return builder;
112117
+ }
112118
+ throw new Error(`Невозможно использовать аттрибут condition="${autoValidation.condition}" у valueeqlautovalue на фронтовом калькуляторе. Задача на доработку FS-8502`);
112119
+ }
111973
112120
  return builder;
111974
112121
  }
111975
112122
  }
@@ -112097,7 +112244,7 @@ __webpack_require__.r(__webpack_exports__);
112097
112244
 
112098
112245
 
112099
112246
  class ValidationGenerator {
112100
- constructor(sugarRoot, typesRegistry, controlCustomizationContext, schemaRng, useSchemaValidations, validationsContent = []) {
112247
+ constructor(sugarRoot, typesRegistry, controlCustomizationContext, schemaRng, useSchemaValidations, validationsContent = [], settings = undefined) {
112101
112248
  this.typeBasedValidatorGenerators = [_TypeBasedValidatorGenerators_MatchOneOfPatternValidatorGenerator__WEBPACK_IMPORTED_MODULE_15__.MatchOneOfPatternValidatorGenerator, _TypeBasedValidatorGenerators_EnumerationValidatorGenerator__WEBPACK_IMPORTED_MODULE_13__.EnumerationValidatorGenerator, _TypeBasedValidatorGenerators_StringLengthConstraintValueValidatorGenerator__WEBPACK_IMPORTED_MODULE_16__.StringLengthConstraintValueValidatorGenerator, _TypeBasedValidatorGenerators_NumberLengthConstraintValueValidatorGenerator__WEBPACK_IMPORTED_MODULE_11__.NumberLengthConstraintValueValidatorGenerator, _TypeBasedValidatorGenerators_IntegerRangeValueValidatorGenerator__WEBPACK_IMPORTED_MODULE_14__.IntegerRangeValueValidatorGenerator, _TypeBasedValidatorGenerators_DigestCheckValueValidatorGenerator__WEBPACK_IMPORTED_MODULE_12__.DigestCheckValueValidatorGenerator, _TypeBasedValidatorGenerators_DigestConditionValidatorGenerator__WEBPACK_IMPORTED_MODULE_17__.DigestConditionValidatorGenerator, _TypeBasedValidatorGenerators_AttachmentsValueValidatorGenerator__WEBPACK_IMPORTED_MODULE_9__.AttachmentsValueValidatorGenerator, _TypeBasedValidatorGenerators_CustomValidationValueValidatorGenerator__WEBPACK_IMPORTED_MODULE_10__.CustomValidationValueValidatorGenerator, _TypeBasedValidatorGenerators_ValueEqlAutoValueValidatorGenerator__WEBPACK_IMPORTED_MODULE_18__.ValueEqlAutoValueValidatorGenerator];
112102
112249
  this.sugarRoot = void 0;
112103
112250
  this.validationsContent = void 0;
@@ -112109,6 +112256,7 @@ class ValidationGenerator {
112109
112256
  this.useSchemaValidations = void 0;
112110
112257
  this.criterionOfExistenceFromSchemaRng = [];
112111
112258
  this.depsRngSchemaValidationCounter = 0;
112259
+ this.settings = void 0;
112112
112260
  this.visibilityConditionsStack = [];
112113
112261
  this.sugarRoot = sugarRoot;
112114
112262
  this.typesRegistry = typesRegistry;
@@ -112117,6 +112265,7 @@ class ValidationGenerator {
112117
112265
  this.useSchemaValidations = useSchemaValidations;
112118
112266
  this.customValidations = {};
112119
112267
  this.schemaRng = schemaRng;
112268
+ this.settings = settings;
112120
112269
  for (const customValidation of this.validationsContent) {
112121
112270
  const {
112122
112271
  filename,
@@ -112366,7 +112515,7 @@ class ValidationGenerator {
112366
112515
  if (generatorClass == undefined) {
112367
112516
  throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_3__.SugarAttributeReadError("Cannot find validation generator for node", node, "");
112368
112517
  }
112369
- return generatorClass.createFromNode(node);
112518
+ return generatorClass.createFromNode(node, this.settings);
112370
112519
  }
112371
112520
  buildRequiredValidator(description) {
112372
112521
  const requiredValidator = (0,_common_CodeGeneration_ClassInstanceBuilder__WEBPACK_IMPORTED_MODULE_2__.instanceBuilder)("Validators.RequiredValueValidator");
@@ -136355,6 +136504,395 @@ module.exports = {
136355
136504
  }
136356
136505
 
136357
136506
 
136507
+ /***/ }),
136508
+
136509
+ /***/ "./node_modules/fs.realpath/index.js":
136510
+ /*!*******************************************!*\
136511
+ !*** ./node_modules/fs.realpath/index.js ***!
136512
+ \*******************************************/
136513
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
136514
+
136515
+ module.exports = realpath
136516
+ realpath.realpath = realpath
136517
+ realpath.sync = realpathSync
136518
+ realpath.realpathSync = realpathSync
136519
+ realpath.monkeypatch = monkeypatch
136520
+ realpath.unmonkeypatch = unmonkeypatch
136521
+
136522
+ var fs = __webpack_require__(/*! fs */ "fs")
136523
+ var origRealpath = fs.realpath
136524
+ var origRealpathSync = fs.realpathSync
136525
+
136526
+ var version = process.version
136527
+ var ok = /^v[0-5]\./.test(version)
136528
+ var old = __webpack_require__(/*! ./old.js */ "./node_modules/fs.realpath/old.js")
136529
+
136530
+ function newError (er) {
136531
+ return er && er.syscall === 'realpath' && (
136532
+ er.code === 'ELOOP' ||
136533
+ er.code === 'ENOMEM' ||
136534
+ er.code === 'ENAMETOOLONG'
136535
+ )
136536
+ }
136537
+
136538
+ function realpath (p, cache, cb) {
136539
+ if (ok) {
136540
+ return origRealpath(p, cache, cb)
136541
+ }
136542
+
136543
+ if (typeof cache === 'function') {
136544
+ cb = cache
136545
+ cache = null
136546
+ }
136547
+ origRealpath(p, cache, function (er, result) {
136548
+ if (newError(er)) {
136549
+ old.realpath(p, cache, cb)
136550
+ } else {
136551
+ cb(er, result)
136552
+ }
136553
+ })
136554
+ }
136555
+
136556
+ function realpathSync (p, cache) {
136557
+ if (ok) {
136558
+ return origRealpathSync(p, cache)
136559
+ }
136560
+
136561
+ try {
136562
+ return origRealpathSync(p, cache)
136563
+ } catch (er) {
136564
+ if (newError(er)) {
136565
+ return old.realpathSync(p, cache)
136566
+ } else {
136567
+ throw er
136568
+ }
136569
+ }
136570
+ }
136571
+
136572
+ function monkeypatch () {
136573
+ fs.realpath = realpath
136574
+ fs.realpathSync = realpathSync
136575
+ }
136576
+
136577
+ function unmonkeypatch () {
136578
+ fs.realpath = origRealpath
136579
+ fs.realpathSync = origRealpathSync
136580
+ }
136581
+
136582
+
136583
+ /***/ }),
136584
+
136585
+ /***/ "./node_modules/fs.realpath/old.js":
136586
+ /*!*****************************************!*\
136587
+ !*** ./node_modules/fs.realpath/old.js ***!
136588
+ \*****************************************/
136589
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
136590
+
136591
+ // Copyright Joyent, Inc. and other Node contributors.
136592
+ //
136593
+ // Permission is hereby granted, free of charge, to any person obtaining a
136594
+ // copy of this software and associated documentation files (the
136595
+ // "Software"), to deal in the Software without restriction, including
136596
+ // without limitation the rights to use, copy, modify, merge, publish,
136597
+ // distribute, sublicense, and/or sell copies of the Software, and to permit
136598
+ // persons to whom the Software is furnished to do so, subject to the
136599
+ // following conditions:
136600
+ //
136601
+ // The above copyright notice and this permission notice shall be included
136602
+ // in all copies or substantial portions of the Software.
136603
+ //
136604
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
136605
+ // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
136606
+ // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
136607
+ // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
136608
+ // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
136609
+ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
136610
+ // USE OR OTHER DEALINGS IN THE SOFTWARE.
136611
+
136612
+ var pathModule = __webpack_require__(/*! path */ "path");
136613
+ var isWindows = process.platform === 'win32';
136614
+ var fs = __webpack_require__(/*! fs */ "fs");
136615
+
136616
+ // JavaScript implementation of realpath, ported from node pre-v6
136617
+
136618
+ var DEBUG = process.env.NODE_DEBUG && /fs/.test(process.env.NODE_DEBUG);
136619
+
136620
+ function rethrow() {
136621
+ // Only enable in debug mode. A backtrace uses ~1000 bytes of heap space and
136622
+ // is fairly slow to generate.
136623
+ var callback;
136624
+ if (DEBUG) {
136625
+ var backtrace = new Error;
136626
+ callback = debugCallback;
136627
+ } else
136628
+ callback = missingCallback;
136629
+
136630
+ return callback;
136631
+
136632
+ function debugCallback(err) {
136633
+ if (err) {
136634
+ backtrace.message = err.message;
136635
+ err = backtrace;
136636
+ missingCallback(err);
136637
+ }
136638
+ }
136639
+
136640
+ function missingCallback(err) {
136641
+ if (err) {
136642
+ if (process.throwDeprecation)
136643
+ throw err; // Forgot a callback but don't know where? Use NODE_DEBUG=fs
136644
+ else if (!process.noDeprecation) {
136645
+ var msg = 'fs: missing callback ' + (err.stack || err.message);
136646
+ if (process.traceDeprecation)
136647
+ console.trace(msg);
136648
+ else
136649
+ console.error(msg);
136650
+ }
136651
+ }
136652
+ }
136653
+ }
136654
+
136655
+ function maybeCallback(cb) {
136656
+ return typeof cb === 'function' ? cb : rethrow();
136657
+ }
136658
+
136659
+ var normalize = pathModule.normalize;
136660
+
136661
+ // Regexp that finds the next partion of a (partial) path
136662
+ // result is [base_with_slash, base], e.g. ['somedir/', 'somedir']
136663
+ if (isWindows) {
136664
+ var nextPartRe = /(.*?)(?:[\/\\]+|$)/g;
136665
+ } else {
136666
+ var nextPartRe = /(.*?)(?:[\/]+|$)/g;
136667
+ }
136668
+
136669
+ // Regex to find the device root, including trailing slash. E.g. 'c:\\'.
136670
+ if (isWindows) {
136671
+ var splitRootRe = /^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;
136672
+ } else {
136673
+ var splitRootRe = /^[\/]*/;
136674
+ }
136675
+
136676
+ exports.realpathSync = function realpathSync(p, cache) {
136677
+ // make p is absolute
136678
+ p = pathModule.resolve(p);
136679
+
136680
+ if (cache && Object.prototype.hasOwnProperty.call(cache, p)) {
136681
+ return cache[p];
136682
+ }
136683
+
136684
+ var original = p,
136685
+ seenLinks = {},
136686
+ knownHard = {};
136687
+
136688
+ // current character position in p
136689
+ var pos;
136690
+ // the partial path so far, including a trailing slash if any
136691
+ var current;
136692
+ // the partial path without a trailing slash (except when pointing at a root)
136693
+ var base;
136694
+ // the partial path scanned in the previous round, with slash
136695
+ var previous;
136696
+
136697
+ start();
136698
+
136699
+ function start() {
136700
+ // Skip over roots
136701
+ var m = splitRootRe.exec(p);
136702
+ pos = m[0].length;
136703
+ current = m[0];
136704
+ base = m[0];
136705
+ previous = '';
136706
+
136707
+ // On windows, check that the root exists. On unix there is no need.
136708
+ if (isWindows && !knownHard[base]) {
136709
+ fs.lstatSync(base);
136710
+ knownHard[base] = true;
136711
+ }
136712
+ }
136713
+
136714
+ // walk down the path, swapping out linked pathparts for their real
136715
+ // values
136716
+ // NB: p.length changes.
136717
+ while (pos < p.length) {
136718
+ // find the next part
136719
+ nextPartRe.lastIndex = pos;
136720
+ var result = nextPartRe.exec(p);
136721
+ previous = current;
136722
+ current += result[0];
136723
+ base = previous + result[1];
136724
+ pos = nextPartRe.lastIndex;
136725
+
136726
+ // continue if not a symlink
136727
+ if (knownHard[base] || (cache && cache[base] === base)) {
136728
+ continue;
136729
+ }
136730
+
136731
+ var resolvedLink;
136732
+ if (cache && Object.prototype.hasOwnProperty.call(cache, base)) {
136733
+ // some known symbolic link. no need to stat again.
136734
+ resolvedLink = cache[base];
136735
+ } else {
136736
+ var stat = fs.lstatSync(base);
136737
+ if (!stat.isSymbolicLink()) {
136738
+ knownHard[base] = true;
136739
+ if (cache) cache[base] = base;
136740
+ continue;
136741
+ }
136742
+
136743
+ // read the link if it wasn't read before
136744
+ // dev/ino always return 0 on windows, so skip the check.
136745
+ var linkTarget = null;
136746
+ if (!isWindows) {
136747
+ var id = stat.dev.toString(32) + ':' + stat.ino.toString(32);
136748
+ if (seenLinks.hasOwnProperty(id)) {
136749
+ linkTarget = seenLinks[id];
136750
+ }
136751
+ }
136752
+ if (linkTarget === null) {
136753
+ fs.statSync(base);
136754
+ linkTarget = fs.readlinkSync(base);
136755
+ }
136756
+ resolvedLink = pathModule.resolve(previous, linkTarget);
136757
+ // track this, if given a cache.
136758
+ if (cache) cache[base] = resolvedLink;
136759
+ if (!isWindows) seenLinks[id] = linkTarget;
136760
+ }
136761
+
136762
+ // resolve the link, then start over
136763
+ p = pathModule.resolve(resolvedLink, p.slice(pos));
136764
+ start();
136765
+ }
136766
+
136767
+ if (cache) cache[original] = p;
136768
+
136769
+ return p;
136770
+ };
136771
+
136772
+
136773
+ exports.realpath = function realpath(p, cache, cb) {
136774
+ if (typeof cb !== 'function') {
136775
+ cb = maybeCallback(cache);
136776
+ cache = null;
136777
+ }
136778
+
136779
+ // make p is absolute
136780
+ p = pathModule.resolve(p);
136781
+
136782
+ if (cache && Object.prototype.hasOwnProperty.call(cache, p)) {
136783
+ return process.nextTick(cb.bind(null, null, cache[p]));
136784
+ }
136785
+
136786
+ var original = p,
136787
+ seenLinks = {},
136788
+ knownHard = {};
136789
+
136790
+ // current character position in p
136791
+ var pos;
136792
+ // the partial path so far, including a trailing slash if any
136793
+ var current;
136794
+ // the partial path without a trailing slash (except when pointing at a root)
136795
+ var base;
136796
+ // the partial path scanned in the previous round, with slash
136797
+ var previous;
136798
+
136799
+ start();
136800
+
136801
+ function start() {
136802
+ // Skip over roots
136803
+ var m = splitRootRe.exec(p);
136804
+ pos = m[0].length;
136805
+ current = m[0];
136806
+ base = m[0];
136807
+ previous = '';
136808
+
136809
+ // On windows, check that the root exists. On unix there is no need.
136810
+ if (isWindows && !knownHard[base]) {
136811
+ fs.lstat(base, function(err) {
136812
+ if (err) return cb(err);
136813
+ knownHard[base] = true;
136814
+ LOOP();
136815
+ });
136816
+ } else {
136817
+ process.nextTick(LOOP);
136818
+ }
136819
+ }
136820
+
136821
+ // walk down the path, swapping out linked pathparts for their real
136822
+ // values
136823
+ function LOOP() {
136824
+ // stop if scanned past end of path
136825
+ if (pos >= p.length) {
136826
+ if (cache) cache[original] = p;
136827
+ return cb(null, p);
136828
+ }
136829
+
136830
+ // find the next part
136831
+ nextPartRe.lastIndex = pos;
136832
+ var result = nextPartRe.exec(p);
136833
+ previous = current;
136834
+ current += result[0];
136835
+ base = previous + result[1];
136836
+ pos = nextPartRe.lastIndex;
136837
+
136838
+ // continue if not a symlink
136839
+ if (knownHard[base] || (cache && cache[base] === base)) {
136840
+ return process.nextTick(LOOP);
136841
+ }
136842
+
136843
+ if (cache && Object.prototype.hasOwnProperty.call(cache, base)) {
136844
+ // known symbolic link. no need to stat again.
136845
+ return gotResolvedLink(cache[base]);
136846
+ }
136847
+
136848
+ return fs.lstat(base, gotStat);
136849
+ }
136850
+
136851
+ function gotStat(err, stat) {
136852
+ if (err) return cb(err);
136853
+
136854
+ // if not a symlink, skip to the next path part
136855
+ if (!stat.isSymbolicLink()) {
136856
+ knownHard[base] = true;
136857
+ if (cache) cache[base] = base;
136858
+ return process.nextTick(LOOP);
136859
+ }
136860
+
136861
+ // stat & read the link if not read before
136862
+ // call gotTarget as soon as the link target is known
136863
+ // dev/ino always return 0 on windows, so skip the check.
136864
+ if (!isWindows) {
136865
+ var id = stat.dev.toString(32) + ':' + stat.ino.toString(32);
136866
+ if (seenLinks.hasOwnProperty(id)) {
136867
+ return gotTarget(null, seenLinks[id], base);
136868
+ }
136869
+ }
136870
+ fs.stat(base, function(err) {
136871
+ if (err) return cb(err);
136872
+
136873
+ fs.readlink(base, function(err, target) {
136874
+ if (!isWindows) seenLinks[id] = target;
136875
+ gotTarget(err, target);
136876
+ });
136877
+ });
136878
+ }
136879
+
136880
+ function gotTarget(err, target, base) {
136881
+ if (err) return cb(err);
136882
+
136883
+ var resolvedLink = pathModule.resolve(previous, target);
136884
+ if (cache) cache[base] = resolvedLink;
136885
+ gotResolvedLink(resolvedLink);
136886
+ }
136887
+
136888
+ function gotResolvedLink(resolvedLink) {
136889
+ // resolve the link, then start over
136890
+ p = pathModule.resolve(resolvedLink, p.slice(pos));
136891
+ start();
136892
+ }
136893
+ };
136894
+
136895
+
136358
136896
  /***/ }),
136359
136897
 
136360
136898
  /***/ "./node_modules/function-bind/implementation.js":
@@ -136818,6 +137356,1542 @@ function setFunctionMetadata(name, arity, fn) {
136818
137356
  }
136819
137357
 
136820
137358
 
137359
+ /***/ }),
137360
+
137361
+ /***/ "./node_modules/glob/common.js":
137362
+ /*!*************************************!*\
137363
+ !*** ./node_modules/glob/common.js ***!
137364
+ \*************************************/
137365
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
137366
+
137367
+ exports.setopts = setopts
137368
+ exports.ownProp = ownProp
137369
+ exports.makeAbs = makeAbs
137370
+ exports.finish = finish
137371
+ exports.mark = mark
137372
+ exports.isIgnored = isIgnored
137373
+ exports.childrenIgnored = childrenIgnored
137374
+
137375
+ function ownProp (obj, field) {
137376
+ return Object.prototype.hasOwnProperty.call(obj, field)
137377
+ }
137378
+
137379
+ var fs = __webpack_require__(/*! fs */ "fs")
137380
+ var path = __webpack_require__(/*! path */ "path")
137381
+ var minimatch = __webpack_require__(/*! minimatch */ "./node_modules/minimatch/minimatch.js")
137382
+ var isAbsolute = __webpack_require__(/*! path-is-absolute */ "./node_modules/path-is-absolute/index.js")
137383
+ var Minimatch = minimatch.Minimatch
137384
+
137385
+ function alphasort (a, b) {
137386
+ return a.localeCompare(b, 'en')
137387
+ }
137388
+
137389
+ function setupIgnores (self, options) {
137390
+ self.ignore = options.ignore || []
137391
+
137392
+ if (!Array.isArray(self.ignore))
137393
+ self.ignore = [self.ignore]
137394
+
137395
+ if (self.ignore.length) {
137396
+ self.ignore = self.ignore.map(ignoreMap)
137397
+ }
137398
+ }
137399
+
137400
+ // ignore patterns are always in dot:true mode.
137401
+ function ignoreMap (pattern) {
137402
+ var gmatcher = null
137403
+ if (pattern.slice(-3) === '/**') {
137404
+ var gpattern = pattern.replace(/(\/\*\*)+$/, '')
137405
+ gmatcher = new Minimatch(gpattern, { dot: true })
137406
+ }
137407
+
137408
+ return {
137409
+ matcher: new Minimatch(pattern, { dot: true }),
137410
+ gmatcher: gmatcher
137411
+ }
137412
+ }
137413
+
137414
+ function setopts (self, pattern, options) {
137415
+ if (!options)
137416
+ options = {}
137417
+
137418
+ // base-matching: just use globstar for that.
137419
+ if (options.matchBase && -1 === pattern.indexOf("/")) {
137420
+ if (options.noglobstar) {
137421
+ throw new Error("base matching requires globstar")
137422
+ }
137423
+ pattern = "**/" + pattern
137424
+ }
137425
+
137426
+ self.silent = !!options.silent
137427
+ self.pattern = pattern
137428
+ self.strict = options.strict !== false
137429
+ self.realpath = !!options.realpath
137430
+ self.realpathCache = options.realpathCache || Object.create(null)
137431
+ self.follow = !!options.follow
137432
+ self.dot = !!options.dot
137433
+ self.mark = !!options.mark
137434
+ self.nodir = !!options.nodir
137435
+ if (self.nodir)
137436
+ self.mark = true
137437
+ self.sync = !!options.sync
137438
+ self.nounique = !!options.nounique
137439
+ self.nonull = !!options.nonull
137440
+ self.nosort = !!options.nosort
137441
+ self.nocase = !!options.nocase
137442
+ self.stat = !!options.stat
137443
+ self.noprocess = !!options.noprocess
137444
+ self.absolute = !!options.absolute
137445
+ self.fs = options.fs || fs
137446
+
137447
+ self.maxLength = options.maxLength || Infinity
137448
+ self.cache = options.cache || Object.create(null)
137449
+ self.statCache = options.statCache || Object.create(null)
137450
+ self.symlinks = options.symlinks || Object.create(null)
137451
+
137452
+ setupIgnores(self, options)
137453
+
137454
+ self.changedCwd = false
137455
+ var cwd = process.cwd()
137456
+ if (!ownProp(options, "cwd"))
137457
+ self.cwd = cwd
137458
+ else {
137459
+ self.cwd = path.resolve(options.cwd)
137460
+ self.changedCwd = self.cwd !== cwd
137461
+ }
137462
+
137463
+ self.root = options.root || path.resolve(self.cwd, "/")
137464
+ self.root = path.resolve(self.root)
137465
+ if (process.platform === "win32")
137466
+ self.root = self.root.replace(/\\/g, "/")
137467
+
137468
+ // TODO: is an absolute `cwd` supposed to be resolved against `root`?
137469
+ // e.g. { cwd: '/test', root: __dirname } === path.join(__dirname, '/test')
137470
+ self.cwdAbs = isAbsolute(self.cwd) ? self.cwd : makeAbs(self, self.cwd)
137471
+ if (process.platform === "win32")
137472
+ self.cwdAbs = self.cwdAbs.replace(/\\/g, "/")
137473
+ self.nomount = !!options.nomount
137474
+
137475
+ // disable comments and negation in Minimatch.
137476
+ // Note that they are not supported in Glob itself anyway.
137477
+ options.nonegate = true
137478
+ options.nocomment = true
137479
+
137480
+ self.minimatch = new Minimatch(pattern, options)
137481
+ self.options = self.minimatch.options
137482
+ }
137483
+
137484
+ function finish (self) {
137485
+ var nou = self.nounique
137486
+ var all = nou ? [] : Object.create(null)
137487
+
137488
+ for (var i = 0, l = self.matches.length; i < l; i ++) {
137489
+ var matches = self.matches[i]
137490
+ if (!matches || Object.keys(matches).length === 0) {
137491
+ if (self.nonull) {
137492
+ // do like the shell, and spit out the literal glob
137493
+ var literal = self.minimatch.globSet[i]
137494
+ if (nou)
137495
+ all.push(literal)
137496
+ else
137497
+ all[literal] = true
137498
+ }
137499
+ } else {
137500
+ // had matches
137501
+ var m = Object.keys(matches)
137502
+ if (nou)
137503
+ all.push.apply(all, m)
137504
+ else
137505
+ m.forEach(function (m) {
137506
+ all[m] = true
137507
+ })
137508
+ }
137509
+ }
137510
+
137511
+ if (!nou)
137512
+ all = Object.keys(all)
137513
+
137514
+ if (!self.nosort)
137515
+ all = all.sort(alphasort)
137516
+
137517
+ // at *some* point we statted all of these
137518
+ if (self.mark) {
137519
+ for (var i = 0; i < all.length; i++) {
137520
+ all[i] = self._mark(all[i])
137521
+ }
137522
+ if (self.nodir) {
137523
+ all = all.filter(function (e) {
137524
+ var notDir = !(/\/$/.test(e))
137525
+ var c = self.cache[e] || self.cache[makeAbs(self, e)]
137526
+ if (notDir && c)
137527
+ notDir = c !== 'DIR' && !Array.isArray(c)
137528
+ return notDir
137529
+ })
137530
+ }
137531
+ }
137532
+
137533
+ if (self.ignore.length)
137534
+ all = all.filter(function(m) {
137535
+ return !isIgnored(self, m)
137536
+ })
137537
+
137538
+ self.found = all
137539
+ }
137540
+
137541
+ function mark (self, p) {
137542
+ var abs = makeAbs(self, p)
137543
+ var c = self.cache[abs]
137544
+ var m = p
137545
+ if (c) {
137546
+ var isDir = c === 'DIR' || Array.isArray(c)
137547
+ var slash = p.slice(-1) === '/'
137548
+
137549
+ if (isDir && !slash)
137550
+ m += '/'
137551
+ else if (!isDir && slash)
137552
+ m = m.slice(0, -1)
137553
+
137554
+ if (m !== p) {
137555
+ var mabs = makeAbs(self, m)
137556
+ self.statCache[mabs] = self.statCache[abs]
137557
+ self.cache[mabs] = self.cache[abs]
137558
+ }
137559
+ }
137560
+
137561
+ return m
137562
+ }
137563
+
137564
+ // lotta situps...
137565
+ function makeAbs (self, f) {
137566
+ var abs = f
137567
+ if (f.charAt(0) === '/') {
137568
+ abs = path.join(self.root, f)
137569
+ } else if (isAbsolute(f) || f === '') {
137570
+ abs = f
137571
+ } else if (self.changedCwd) {
137572
+ abs = path.resolve(self.cwd, f)
137573
+ } else {
137574
+ abs = path.resolve(f)
137575
+ }
137576
+
137577
+ if (process.platform === 'win32')
137578
+ abs = abs.replace(/\\/g, '/')
137579
+
137580
+ return abs
137581
+ }
137582
+
137583
+
137584
+ // Return true, if pattern ends with globstar '**', for the accompanying parent directory.
137585
+ // Ex:- If node_modules/** is the pattern, add 'node_modules' to ignore list along with it's contents
137586
+ function isIgnored (self, path) {
137587
+ if (!self.ignore.length)
137588
+ return false
137589
+
137590
+ return self.ignore.some(function(item) {
137591
+ return item.matcher.match(path) || !!(item.gmatcher && item.gmatcher.match(path))
137592
+ })
137593
+ }
137594
+
137595
+ function childrenIgnored (self, path) {
137596
+ if (!self.ignore.length)
137597
+ return false
137598
+
137599
+ return self.ignore.some(function(item) {
137600
+ return !!(item.gmatcher && item.gmatcher.match(path))
137601
+ })
137602
+ }
137603
+
137604
+
137605
+ /***/ }),
137606
+
137607
+ /***/ "./node_modules/glob/glob.js":
137608
+ /*!***********************************!*\
137609
+ !*** ./node_modules/glob/glob.js ***!
137610
+ \***********************************/
137611
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
137612
+
137613
+ // Approach:
137614
+ //
137615
+ // 1. Get the minimatch set
137616
+ // 2. For each pattern in the set, PROCESS(pattern, false)
137617
+ // 3. Store matches per-set, then uniq them
137618
+ //
137619
+ // PROCESS(pattern, inGlobStar)
137620
+ // Get the first [n] items from pattern that are all strings
137621
+ // Join these together. This is PREFIX.
137622
+ // If there is no more remaining, then stat(PREFIX) and
137623
+ // add to matches if it succeeds. END.
137624
+ //
137625
+ // If inGlobStar and PREFIX is symlink and points to dir
137626
+ // set ENTRIES = []
137627
+ // else readdir(PREFIX) as ENTRIES
137628
+ // If fail, END
137629
+ //
137630
+ // with ENTRIES
137631
+ // If pattern[n] is GLOBSTAR
137632
+ // // handle the case where the globstar match is empty
137633
+ // // by pruning it out, and testing the resulting pattern
137634
+ // PROCESS(pattern[0..n] + pattern[n+1 .. $], false)
137635
+ // // handle other cases.
137636
+ // for ENTRY in ENTRIES (not dotfiles)
137637
+ // // attach globstar + tail onto the entry
137638
+ // // Mark that this entry is a globstar match
137639
+ // PROCESS(pattern[0..n] + ENTRY + pattern[n .. $], true)
137640
+ //
137641
+ // else // not globstar
137642
+ // for ENTRY in ENTRIES (not dotfiles, unless pattern[n] is dot)
137643
+ // Test ENTRY against pattern[n]
137644
+ // If fails, continue
137645
+ // If passes, PROCESS(pattern[0..n] + item + pattern[n+1 .. $])
137646
+ //
137647
+ // Caveat:
137648
+ // Cache all stats and readdirs results to minimize syscall. Since all
137649
+ // we ever care about is existence and directory-ness, we can just keep
137650
+ // `true` for files, and [children,...] for directories, or `false` for
137651
+ // things that don't exist.
137652
+
137653
+ module.exports = glob
137654
+
137655
+ var rp = __webpack_require__(/*! fs.realpath */ "./node_modules/fs.realpath/index.js")
137656
+ var minimatch = __webpack_require__(/*! minimatch */ "./node_modules/minimatch/minimatch.js")
137657
+ var Minimatch = minimatch.Minimatch
137658
+ var inherits = __webpack_require__(/*! inherits */ "./node_modules/inherits/inherits.js")
137659
+ var EE = (__webpack_require__(/*! events */ "events").EventEmitter)
137660
+ var path = __webpack_require__(/*! path */ "path")
137661
+ var assert = __webpack_require__(/*! assert */ "assert")
137662
+ var isAbsolute = __webpack_require__(/*! path-is-absolute */ "./node_modules/path-is-absolute/index.js")
137663
+ var globSync = __webpack_require__(/*! ./sync.js */ "./node_modules/glob/sync.js")
137664
+ var common = __webpack_require__(/*! ./common.js */ "./node_modules/glob/common.js")
137665
+ var setopts = common.setopts
137666
+ var ownProp = common.ownProp
137667
+ var inflight = __webpack_require__(/*! inflight */ "./node_modules/inflight/inflight.js")
137668
+ var util = __webpack_require__(/*! util */ "util")
137669
+ var childrenIgnored = common.childrenIgnored
137670
+ var isIgnored = common.isIgnored
137671
+
137672
+ var once = __webpack_require__(/*! once */ "./node_modules/once/once.js")
137673
+
137674
+ function glob (pattern, options, cb) {
137675
+ if (typeof options === 'function') cb = options, options = {}
137676
+ if (!options) options = {}
137677
+
137678
+ if (options.sync) {
137679
+ if (cb)
137680
+ throw new TypeError('callback provided to sync glob')
137681
+ return globSync(pattern, options)
137682
+ }
137683
+
137684
+ return new Glob(pattern, options, cb)
137685
+ }
137686
+
137687
+ glob.sync = globSync
137688
+ var GlobSync = glob.GlobSync = globSync.GlobSync
137689
+
137690
+ // old api surface
137691
+ glob.glob = glob
137692
+
137693
+ function extend (origin, add) {
137694
+ if (add === null || typeof add !== 'object') {
137695
+ return origin
137696
+ }
137697
+
137698
+ var keys = Object.keys(add)
137699
+ var i = keys.length
137700
+ while (i--) {
137701
+ origin[keys[i]] = add[keys[i]]
137702
+ }
137703
+ return origin
137704
+ }
137705
+
137706
+ glob.hasMagic = function (pattern, options_) {
137707
+ var options = extend({}, options_)
137708
+ options.noprocess = true
137709
+
137710
+ var g = new Glob(pattern, options)
137711
+ var set = g.minimatch.set
137712
+
137713
+ if (!pattern)
137714
+ return false
137715
+
137716
+ if (set.length > 1)
137717
+ return true
137718
+
137719
+ for (var j = 0; j < set[0].length; j++) {
137720
+ if (typeof set[0][j] !== 'string')
137721
+ return true
137722
+ }
137723
+
137724
+ return false
137725
+ }
137726
+
137727
+ glob.Glob = Glob
137728
+ inherits(Glob, EE)
137729
+ function Glob (pattern, options, cb) {
137730
+ if (typeof options === 'function') {
137731
+ cb = options
137732
+ options = null
137733
+ }
137734
+
137735
+ if (options && options.sync) {
137736
+ if (cb)
137737
+ throw new TypeError('callback provided to sync glob')
137738
+ return new GlobSync(pattern, options)
137739
+ }
137740
+
137741
+ if (!(this instanceof Glob))
137742
+ return new Glob(pattern, options, cb)
137743
+
137744
+ setopts(this, pattern, options)
137745
+ this._didRealPath = false
137746
+
137747
+ // process each pattern in the minimatch set
137748
+ var n = this.minimatch.set.length
137749
+
137750
+ // The matches are stored as {<filename>: true,...} so that
137751
+ // duplicates are automagically pruned.
137752
+ // Later, we do an Object.keys() on these.
137753
+ // Keep them as a list so we can fill in when nonull is set.
137754
+ this.matches = new Array(n)
137755
+
137756
+ if (typeof cb === 'function') {
137757
+ cb = once(cb)
137758
+ this.on('error', cb)
137759
+ this.on('end', function (matches) {
137760
+ cb(null, matches)
137761
+ })
137762
+ }
137763
+
137764
+ var self = this
137765
+ this._processing = 0
137766
+
137767
+ this._emitQueue = []
137768
+ this._processQueue = []
137769
+ this.paused = false
137770
+
137771
+ if (this.noprocess)
137772
+ return this
137773
+
137774
+ if (n === 0)
137775
+ return done()
137776
+
137777
+ var sync = true
137778
+ for (var i = 0; i < n; i ++) {
137779
+ this._process(this.minimatch.set[i], i, false, done)
137780
+ }
137781
+ sync = false
137782
+
137783
+ function done () {
137784
+ --self._processing
137785
+ if (self._processing <= 0) {
137786
+ if (sync) {
137787
+ process.nextTick(function () {
137788
+ self._finish()
137789
+ })
137790
+ } else {
137791
+ self._finish()
137792
+ }
137793
+ }
137794
+ }
137795
+ }
137796
+
137797
+ Glob.prototype._finish = function () {
137798
+ assert(this instanceof Glob)
137799
+ if (this.aborted)
137800
+ return
137801
+
137802
+ if (this.realpath && !this._didRealpath)
137803
+ return this._realpath()
137804
+
137805
+ common.finish(this)
137806
+ this.emit('end', this.found)
137807
+ }
137808
+
137809
+ Glob.prototype._realpath = function () {
137810
+ if (this._didRealpath)
137811
+ return
137812
+
137813
+ this._didRealpath = true
137814
+
137815
+ var n = this.matches.length
137816
+ if (n === 0)
137817
+ return this._finish()
137818
+
137819
+ var self = this
137820
+ for (var i = 0; i < this.matches.length; i++)
137821
+ this._realpathSet(i, next)
137822
+
137823
+ function next () {
137824
+ if (--n === 0)
137825
+ self._finish()
137826
+ }
137827
+ }
137828
+
137829
+ Glob.prototype._realpathSet = function (index, cb) {
137830
+ var matchset = this.matches[index]
137831
+ if (!matchset)
137832
+ return cb()
137833
+
137834
+ var found = Object.keys(matchset)
137835
+ var self = this
137836
+ var n = found.length
137837
+
137838
+ if (n === 0)
137839
+ return cb()
137840
+
137841
+ var set = this.matches[index] = Object.create(null)
137842
+ found.forEach(function (p, i) {
137843
+ // If there's a problem with the stat, then it means that
137844
+ // one or more of the links in the realpath couldn't be
137845
+ // resolved. just return the abs value in that case.
137846
+ p = self._makeAbs(p)
137847
+ rp.realpath(p, self.realpathCache, function (er, real) {
137848
+ if (!er)
137849
+ set[real] = true
137850
+ else if (er.syscall === 'stat')
137851
+ set[p] = true
137852
+ else
137853
+ self.emit('error', er) // srsly wtf right here
137854
+
137855
+ if (--n === 0) {
137856
+ self.matches[index] = set
137857
+ cb()
137858
+ }
137859
+ })
137860
+ })
137861
+ }
137862
+
137863
+ Glob.prototype._mark = function (p) {
137864
+ return common.mark(this, p)
137865
+ }
137866
+
137867
+ Glob.prototype._makeAbs = function (f) {
137868
+ return common.makeAbs(this, f)
137869
+ }
137870
+
137871
+ Glob.prototype.abort = function () {
137872
+ this.aborted = true
137873
+ this.emit('abort')
137874
+ }
137875
+
137876
+ Glob.prototype.pause = function () {
137877
+ if (!this.paused) {
137878
+ this.paused = true
137879
+ this.emit('pause')
137880
+ }
137881
+ }
137882
+
137883
+ Glob.prototype.resume = function () {
137884
+ if (this.paused) {
137885
+ this.emit('resume')
137886
+ this.paused = false
137887
+ if (this._emitQueue.length) {
137888
+ var eq = this._emitQueue.slice(0)
137889
+ this._emitQueue.length = 0
137890
+ for (var i = 0; i < eq.length; i ++) {
137891
+ var e = eq[i]
137892
+ this._emitMatch(e[0], e[1])
137893
+ }
137894
+ }
137895
+ if (this._processQueue.length) {
137896
+ var pq = this._processQueue.slice(0)
137897
+ this._processQueue.length = 0
137898
+ for (var i = 0; i < pq.length; i ++) {
137899
+ var p = pq[i]
137900
+ this._processing--
137901
+ this._process(p[0], p[1], p[2], p[3])
137902
+ }
137903
+ }
137904
+ }
137905
+ }
137906
+
137907
+ Glob.prototype._process = function (pattern, index, inGlobStar, cb) {
137908
+ assert(this instanceof Glob)
137909
+ assert(typeof cb === 'function')
137910
+
137911
+ if (this.aborted)
137912
+ return
137913
+
137914
+ this._processing++
137915
+ if (this.paused) {
137916
+ this._processQueue.push([pattern, index, inGlobStar, cb])
137917
+ return
137918
+ }
137919
+
137920
+ //console.error('PROCESS %d', this._processing, pattern)
137921
+
137922
+ // Get the first [n] parts of pattern that are all strings.
137923
+ var n = 0
137924
+ while (typeof pattern[n] === 'string') {
137925
+ n ++
137926
+ }
137927
+ // now n is the index of the first one that is *not* a string.
137928
+
137929
+ // see if there's anything else
137930
+ var prefix
137931
+ switch (n) {
137932
+ // if not, then this is rather simple
137933
+ case pattern.length:
137934
+ this._processSimple(pattern.join('/'), index, cb)
137935
+ return
137936
+
137937
+ case 0:
137938
+ // pattern *starts* with some non-trivial item.
137939
+ // going to readdir(cwd), but not include the prefix in matches.
137940
+ prefix = null
137941
+ break
137942
+
137943
+ default:
137944
+ // pattern has some string bits in the front.
137945
+ // whatever it starts with, whether that's 'absolute' like /foo/bar,
137946
+ // or 'relative' like '../baz'
137947
+ prefix = pattern.slice(0, n).join('/')
137948
+ break
137949
+ }
137950
+
137951
+ var remain = pattern.slice(n)
137952
+
137953
+ // get the list of entries.
137954
+ var read
137955
+ if (prefix === null)
137956
+ read = '.'
137957
+ else if (isAbsolute(prefix) || isAbsolute(pattern.join('/'))) {
137958
+ if (!prefix || !isAbsolute(prefix))
137959
+ prefix = '/' + prefix
137960
+ read = prefix
137961
+ } else
137962
+ read = prefix
137963
+
137964
+ var abs = this._makeAbs(read)
137965
+
137966
+ //if ignored, skip _processing
137967
+ if (childrenIgnored(this, read))
137968
+ return cb()
137969
+
137970
+ var isGlobStar = remain[0] === minimatch.GLOBSTAR
137971
+ if (isGlobStar)
137972
+ this._processGlobStar(prefix, read, abs, remain, index, inGlobStar, cb)
137973
+ else
137974
+ this._processReaddir(prefix, read, abs, remain, index, inGlobStar, cb)
137975
+ }
137976
+
137977
+ Glob.prototype._processReaddir = function (prefix, read, abs, remain, index, inGlobStar, cb) {
137978
+ var self = this
137979
+ this._readdir(abs, inGlobStar, function (er, entries) {
137980
+ return self._processReaddir2(prefix, read, abs, remain, index, inGlobStar, entries, cb)
137981
+ })
137982
+ }
137983
+
137984
+ Glob.prototype._processReaddir2 = function (prefix, read, abs, remain, index, inGlobStar, entries, cb) {
137985
+
137986
+ // if the abs isn't a dir, then nothing can match!
137987
+ if (!entries)
137988
+ return cb()
137989
+
137990
+ // It will only match dot entries if it starts with a dot, or if
137991
+ // dot is set. Stuff like @(.foo|.bar) isn't allowed.
137992
+ var pn = remain[0]
137993
+ var negate = !!this.minimatch.negate
137994
+ var rawGlob = pn._glob
137995
+ var dotOk = this.dot || rawGlob.charAt(0) === '.'
137996
+
137997
+ var matchedEntries = []
137998
+ for (var i = 0; i < entries.length; i++) {
137999
+ var e = entries[i]
138000
+ if (e.charAt(0) !== '.' || dotOk) {
138001
+ var m
138002
+ if (negate && !prefix) {
138003
+ m = !e.match(pn)
138004
+ } else {
138005
+ m = e.match(pn)
138006
+ }
138007
+ if (m)
138008
+ matchedEntries.push(e)
138009
+ }
138010
+ }
138011
+
138012
+ //console.error('prd2', prefix, entries, remain[0]._glob, matchedEntries)
138013
+
138014
+ var len = matchedEntries.length
138015
+ // If there are no matched entries, then nothing matches.
138016
+ if (len === 0)
138017
+ return cb()
138018
+
138019
+ // if this is the last remaining pattern bit, then no need for
138020
+ // an additional stat *unless* the user has specified mark or
138021
+ // stat explicitly. We know they exist, since readdir returned
138022
+ // them.
138023
+
138024
+ if (remain.length === 1 && !this.mark && !this.stat) {
138025
+ if (!this.matches[index])
138026
+ this.matches[index] = Object.create(null)
138027
+
138028
+ for (var i = 0; i < len; i ++) {
138029
+ var e = matchedEntries[i]
138030
+ if (prefix) {
138031
+ if (prefix !== '/')
138032
+ e = prefix + '/' + e
138033
+ else
138034
+ e = prefix + e
138035
+ }
138036
+
138037
+ if (e.charAt(0) === '/' && !this.nomount) {
138038
+ e = path.join(this.root, e)
138039
+ }
138040
+ this._emitMatch(index, e)
138041
+ }
138042
+ // This was the last one, and no stats were needed
138043
+ return cb()
138044
+ }
138045
+
138046
+ // now test all matched entries as stand-ins for that part
138047
+ // of the pattern.
138048
+ remain.shift()
138049
+ for (var i = 0; i < len; i ++) {
138050
+ var e = matchedEntries[i]
138051
+ var newPattern
138052
+ if (prefix) {
138053
+ if (prefix !== '/')
138054
+ e = prefix + '/' + e
138055
+ else
138056
+ e = prefix + e
138057
+ }
138058
+ this._process([e].concat(remain), index, inGlobStar, cb)
138059
+ }
138060
+ cb()
138061
+ }
138062
+
138063
+ Glob.prototype._emitMatch = function (index, e) {
138064
+ if (this.aborted)
138065
+ return
138066
+
138067
+ if (isIgnored(this, e))
138068
+ return
138069
+
138070
+ if (this.paused) {
138071
+ this._emitQueue.push([index, e])
138072
+ return
138073
+ }
138074
+
138075
+ var abs = isAbsolute(e) ? e : this._makeAbs(e)
138076
+
138077
+ if (this.mark)
138078
+ e = this._mark(e)
138079
+
138080
+ if (this.absolute)
138081
+ e = abs
138082
+
138083
+ if (this.matches[index][e])
138084
+ return
138085
+
138086
+ if (this.nodir) {
138087
+ var c = this.cache[abs]
138088
+ if (c === 'DIR' || Array.isArray(c))
138089
+ return
138090
+ }
138091
+
138092
+ this.matches[index][e] = true
138093
+
138094
+ var st = this.statCache[abs]
138095
+ if (st)
138096
+ this.emit('stat', e, st)
138097
+
138098
+ this.emit('match', e)
138099
+ }
138100
+
138101
+ Glob.prototype._readdirInGlobStar = function (abs, cb) {
138102
+ if (this.aborted)
138103
+ return
138104
+
138105
+ // follow all symlinked directories forever
138106
+ // just proceed as if this is a non-globstar situation
138107
+ if (this.follow)
138108
+ return this._readdir(abs, false, cb)
138109
+
138110
+ var lstatkey = 'lstat\0' + abs
138111
+ var self = this
138112
+ var lstatcb = inflight(lstatkey, lstatcb_)
138113
+
138114
+ if (lstatcb)
138115
+ self.fs.lstat(abs, lstatcb)
138116
+
138117
+ function lstatcb_ (er, lstat) {
138118
+ if (er && er.code === 'ENOENT')
138119
+ return cb()
138120
+
138121
+ var isSym = lstat && lstat.isSymbolicLink()
138122
+ self.symlinks[abs] = isSym
138123
+
138124
+ // If it's not a symlink or a dir, then it's definitely a regular file.
138125
+ // don't bother doing a readdir in that case.
138126
+ if (!isSym && lstat && !lstat.isDirectory()) {
138127
+ self.cache[abs] = 'FILE'
138128
+ cb()
138129
+ } else
138130
+ self._readdir(abs, false, cb)
138131
+ }
138132
+ }
138133
+
138134
+ Glob.prototype._readdir = function (abs, inGlobStar, cb) {
138135
+ if (this.aborted)
138136
+ return
138137
+
138138
+ cb = inflight('readdir\0'+abs+'\0'+inGlobStar, cb)
138139
+ if (!cb)
138140
+ return
138141
+
138142
+ //console.error('RD %j %j', +inGlobStar, abs)
138143
+ if (inGlobStar && !ownProp(this.symlinks, abs))
138144
+ return this._readdirInGlobStar(abs, cb)
138145
+
138146
+ if (ownProp(this.cache, abs)) {
138147
+ var c = this.cache[abs]
138148
+ if (!c || c === 'FILE')
138149
+ return cb()
138150
+
138151
+ if (Array.isArray(c))
138152
+ return cb(null, c)
138153
+ }
138154
+
138155
+ var self = this
138156
+ self.fs.readdir(abs, readdirCb(this, abs, cb))
138157
+ }
138158
+
138159
+ function readdirCb (self, abs, cb) {
138160
+ return function (er, entries) {
138161
+ if (er)
138162
+ self._readdirError(abs, er, cb)
138163
+ else
138164
+ self._readdirEntries(abs, entries, cb)
138165
+ }
138166
+ }
138167
+
138168
+ Glob.prototype._readdirEntries = function (abs, entries, cb) {
138169
+ if (this.aborted)
138170
+ return
138171
+
138172
+ // if we haven't asked to stat everything, then just
138173
+ // assume that everything in there exists, so we can avoid
138174
+ // having to stat it a second time.
138175
+ if (!this.mark && !this.stat) {
138176
+ for (var i = 0; i < entries.length; i ++) {
138177
+ var e = entries[i]
138178
+ if (abs === '/')
138179
+ e = abs + e
138180
+ else
138181
+ e = abs + '/' + e
138182
+ this.cache[e] = true
138183
+ }
138184
+ }
138185
+
138186
+ this.cache[abs] = entries
138187
+ return cb(null, entries)
138188
+ }
138189
+
138190
+ Glob.prototype._readdirError = function (f, er, cb) {
138191
+ if (this.aborted)
138192
+ return
138193
+
138194
+ // handle errors, and cache the information
138195
+ switch (er.code) {
138196
+ case 'ENOTSUP': // https://github.com/isaacs/node-glob/issues/205
138197
+ case 'ENOTDIR': // totally normal. means it *does* exist.
138198
+ var abs = this._makeAbs(f)
138199
+ this.cache[abs] = 'FILE'
138200
+ if (abs === this.cwdAbs) {
138201
+ var error = new Error(er.code + ' invalid cwd ' + this.cwd)
138202
+ error.path = this.cwd
138203
+ error.code = er.code
138204
+ this.emit('error', error)
138205
+ this.abort()
138206
+ }
138207
+ break
138208
+
138209
+ case 'ENOENT': // not terribly unusual
138210
+ case 'ELOOP':
138211
+ case 'ENAMETOOLONG':
138212
+ case 'UNKNOWN':
138213
+ this.cache[this._makeAbs(f)] = false
138214
+ break
138215
+
138216
+ default: // some unusual error. Treat as failure.
138217
+ this.cache[this._makeAbs(f)] = false
138218
+ if (this.strict) {
138219
+ this.emit('error', er)
138220
+ // If the error is handled, then we abort
138221
+ // if not, we threw out of here
138222
+ this.abort()
138223
+ }
138224
+ if (!this.silent)
138225
+ console.error('glob error', er)
138226
+ break
138227
+ }
138228
+
138229
+ return cb()
138230
+ }
138231
+
138232
+ Glob.prototype._processGlobStar = function (prefix, read, abs, remain, index, inGlobStar, cb) {
138233
+ var self = this
138234
+ this._readdir(abs, inGlobStar, function (er, entries) {
138235
+ self._processGlobStar2(prefix, read, abs, remain, index, inGlobStar, entries, cb)
138236
+ })
138237
+ }
138238
+
138239
+
138240
+ Glob.prototype._processGlobStar2 = function (prefix, read, abs, remain, index, inGlobStar, entries, cb) {
138241
+ //console.error('pgs2', prefix, remain[0], entries)
138242
+
138243
+ // no entries means not a dir, so it can never have matches
138244
+ // foo.txt/** doesn't match foo.txt
138245
+ if (!entries)
138246
+ return cb()
138247
+
138248
+ // test without the globstar, and with every child both below
138249
+ // and replacing the globstar.
138250
+ var remainWithoutGlobStar = remain.slice(1)
138251
+ var gspref = prefix ? [ prefix ] : []
138252
+ var noGlobStar = gspref.concat(remainWithoutGlobStar)
138253
+
138254
+ // the noGlobStar pattern exits the inGlobStar state
138255
+ this._process(noGlobStar, index, false, cb)
138256
+
138257
+ var isSym = this.symlinks[abs]
138258
+ var len = entries.length
138259
+
138260
+ // If it's a symlink, and we're in a globstar, then stop
138261
+ if (isSym && inGlobStar)
138262
+ return cb()
138263
+
138264
+ for (var i = 0; i < len; i++) {
138265
+ var e = entries[i]
138266
+ if (e.charAt(0) === '.' && !this.dot)
138267
+ continue
138268
+
138269
+ // these two cases enter the inGlobStar state
138270
+ var instead = gspref.concat(entries[i], remainWithoutGlobStar)
138271
+ this._process(instead, index, true, cb)
138272
+
138273
+ var below = gspref.concat(entries[i], remain)
138274
+ this._process(below, index, true, cb)
138275
+ }
138276
+
138277
+ cb()
138278
+ }
138279
+
138280
+ Glob.prototype._processSimple = function (prefix, index, cb) {
138281
+ // XXX review this. Shouldn't it be doing the mounting etc
138282
+ // before doing stat? kinda weird?
138283
+ var self = this
138284
+ this._stat(prefix, function (er, exists) {
138285
+ self._processSimple2(prefix, index, er, exists, cb)
138286
+ })
138287
+ }
138288
+ Glob.prototype._processSimple2 = function (prefix, index, er, exists, cb) {
138289
+
138290
+ //console.error('ps2', prefix, exists)
138291
+
138292
+ if (!this.matches[index])
138293
+ this.matches[index] = Object.create(null)
138294
+
138295
+ // If it doesn't exist, then just mark the lack of results
138296
+ if (!exists)
138297
+ return cb()
138298
+
138299
+ if (prefix && isAbsolute(prefix) && !this.nomount) {
138300
+ var trail = /[\/\\]$/.test(prefix)
138301
+ if (prefix.charAt(0) === '/') {
138302
+ prefix = path.join(this.root, prefix)
138303
+ } else {
138304
+ prefix = path.resolve(this.root, prefix)
138305
+ if (trail)
138306
+ prefix += '/'
138307
+ }
138308
+ }
138309
+
138310
+ if (process.platform === 'win32')
138311
+ prefix = prefix.replace(/\\/g, '/')
138312
+
138313
+ // Mark this as a match
138314
+ this._emitMatch(index, prefix)
138315
+ cb()
138316
+ }
138317
+
138318
+ // Returns either 'DIR', 'FILE', or false
138319
+ Glob.prototype._stat = function (f, cb) {
138320
+ var abs = this._makeAbs(f)
138321
+ var needDir = f.slice(-1) === '/'
138322
+
138323
+ if (f.length > this.maxLength)
138324
+ return cb()
138325
+
138326
+ if (!this.stat && ownProp(this.cache, abs)) {
138327
+ var c = this.cache[abs]
138328
+
138329
+ if (Array.isArray(c))
138330
+ c = 'DIR'
138331
+
138332
+ // It exists, but maybe not how we need it
138333
+ if (!needDir || c === 'DIR')
138334
+ return cb(null, c)
138335
+
138336
+ if (needDir && c === 'FILE')
138337
+ return cb()
138338
+
138339
+ // otherwise we have to stat, because maybe c=true
138340
+ // if we know it exists, but not what it is.
138341
+ }
138342
+
138343
+ var exists
138344
+ var stat = this.statCache[abs]
138345
+ if (stat !== undefined) {
138346
+ if (stat === false)
138347
+ return cb(null, stat)
138348
+ else {
138349
+ var type = stat.isDirectory() ? 'DIR' : 'FILE'
138350
+ if (needDir && type === 'FILE')
138351
+ return cb()
138352
+ else
138353
+ return cb(null, type, stat)
138354
+ }
138355
+ }
138356
+
138357
+ var self = this
138358
+ var statcb = inflight('stat\0' + abs, lstatcb_)
138359
+ if (statcb)
138360
+ self.fs.lstat(abs, statcb)
138361
+
138362
+ function lstatcb_ (er, lstat) {
138363
+ if (lstat && lstat.isSymbolicLink()) {
138364
+ // If it's a symlink, then treat it as the target, unless
138365
+ // the target does not exist, then treat it as a file.
138366
+ return self.fs.stat(abs, function (er, stat) {
138367
+ if (er)
138368
+ self._stat2(f, abs, null, lstat, cb)
138369
+ else
138370
+ self._stat2(f, abs, er, stat, cb)
138371
+ })
138372
+ } else {
138373
+ self._stat2(f, abs, er, lstat, cb)
138374
+ }
138375
+ }
138376
+ }
138377
+
138378
+ Glob.prototype._stat2 = function (f, abs, er, stat, cb) {
138379
+ if (er && (er.code === 'ENOENT' || er.code === 'ENOTDIR')) {
138380
+ this.statCache[abs] = false
138381
+ return cb()
138382
+ }
138383
+
138384
+ var needDir = f.slice(-1) === '/'
138385
+ this.statCache[abs] = stat
138386
+
138387
+ if (abs.slice(-1) === '/' && stat && !stat.isDirectory())
138388
+ return cb(null, false, stat)
138389
+
138390
+ var c = true
138391
+ if (stat)
138392
+ c = stat.isDirectory() ? 'DIR' : 'FILE'
138393
+ this.cache[abs] = this.cache[abs] || c
138394
+
138395
+ if (needDir && c === 'FILE')
138396
+ return cb()
138397
+
138398
+ return cb(null, c, stat)
138399
+ }
138400
+
138401
+
138402
+ /***/ }),
138403
+
138404
+ /***/ "./node_modules/glob/sync.js":
138405
+ /*!***********************************!*\
138406
+ !*** ./node_modules/glob/sync.js ***!
138407
+ \***********************************/
138408
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
138409
+
138410
+ module.exports = globSync
138411
+ globSync.GlobSync = GlobSync
138412
+
138413
+ var rp = __webpack_require__(/*! fs.realpath */ "./node_modules/fs.realpath/index.js")
138414
+ var minimatch = __webpack_require__(/*! minimatch */ "./node_modules/minimatch/minimatch.js")
138415
+ var Minimatch = minimatch.Minimatch
138416
+ var Glob = (__webpack_require__(/*! ./glob.js */ "./node_modules/glob/glob.js").Glob)
138417
+ var util = __webpack_require__(/*! util */ "util")
138418
+ var path = __webpack_require__(/*! path */ "path")
138419
+ var assert = __webpack_require__(/*! assert */ "assert")
138420
+ var isAbsolute = __webpack_require__(/*! path-is-absolute */ "./node_modules/path-is-absolute/index.js")
138421
+ var common = __webpack_require__(/*! ./common.js */ "./node_modules/glob/common.js")
138422
+ var setopts = common.setopts
138423
+ var ownProp = common.ownProp
138424
+ var childrenIgnored = common.childrenIgnored
138425
+ var isIgnored = common.isIgnored
138426
+
138427
+ function globSync (pattern, options) {
138428
+ if (typeof options === 'function' || arguments.length === 3)
138429
+ throw new TypeError('callback provided to sync glob\n'+
138430
+ 'See: https://github.com/isaacs/node-glob/issues/167')
138431
+
138432
+ return new GlobSync(pattern, options).found
138433
+ }
138434
+
138435
+ function GlobSync (pattern, options) {
138436
+ if (!pattern)
138437
+ throw new Error('must provide pattern')
138438
+
138439
+ if (typeof options === 'function' || arguments.length === 3)
138440
+ throw new TypeError('callback provided to sync glob\n'+
138441
+ 'See: https://github.com/isaacs/node-glob/issues/167')
138442
+
138443
+ if (!(this instanceof GlobSync))
138444
+ return new GlobSync(pattern, options)
138445
+
138446
+ setopts(this, pattern, options)
138447
+
138448
+ if (this.noprocess)
138449
+ return this
138450
+
138451
+ var n = this.minimatch.set.length
138452
+ this.matches = new Array(n)
138453
+ for (var i = 0; i < n; i ++) {
138454
+ this._process(this.minimatch.set[i], i, false)
138455
+ }
138456
+ this._finish()
138457
+ }
138458
+
138459
+ GlobSync.prototype._finish = function () {
138460
+ assert(this instanceof GlobSync)
138461
+ if (this.realpath) {
138462
+ var self = this
138463
+ this.matches.forEach(function (matchset, index) {
138464
+ var set = self.matches[index] = Object.create(null)
138465
+ for (var p in matchset) {
138466
+ try {
138467
+ p = self._makeAbs(p)
138468
+ var real = rp.realpathSync(p, self.realpathCache)
138469
+ set[real] = true
138470
+ } catch (er) {
138471
+ if (er.syscall === 'stat')
138472
+ set[self._makeAbs(p)] = true
138473
+ else
138474
+ throw er
138475
+ }
138476
+ }
138477
+ })
138478
+ }
138479
+ common.finish(this)
138480
+ }
138481
+
138482
+
138483
+ GlobSync.prototype._process = function (pattern, index, inGlobStar) {
138484
+ assert(this instanceof GlobSync)
138485
+
138486
+ // Get the first [n] parts of pattern that are all strings.
138487
+ var n = 0
138488
+ while (typeof pattern[n] === 'string') {
138489
+ n ++
138490
+ }
138491
+ // now n is the index of the first one that is *not* a string.
138492
+
138493
+ // See if there's anything else
138494
+ var prefix
138495
+ switch (n) {
138496
+ // if not, then this is rather simple
138497
+ case pattern.length:
138498
+ this._processSimple(pattern.join('/'), index)
138499
+ return
138500
+
138501
+ case 0:
138502
+ // pattern *starts* with some non-trivial item.
138503
+ // going to readdir(cwd), but not include the prefix in matches.
138504
+ prefix = null
138505
+ break
138506
+
138507
+ default:
138508
+ // pattern has some string bits in the front.
138509
+ // whatever it starts with, whether that's 'absolute' like /foo/bar,
138510
+ // or 'relative' like '../baz'
138511
+ prefix = pattern.slice(0, n).join('/')
138512
+ break
138513
+ }
138514
+
138515
+ var remain = pattern.slice(n)
138516
+
138517
+ // get the list of entries.
138518
+ var read
138519
+ if (prefix === null)
138520
+ read = '.'
138521
+ else if (isAbsolute(prefix) || isAbsolute(pattern.join('/'))) {
138522
+ if (!prefix || !isAbsolute(prefix))
138523
+ prefix = '/' + prefix
138524
+ read = prefix
138525
+ } else
138526
+ read = prefix
138527
+
138528
+ var abs = this._makeAbs(read)
138529
+
138530
+ //if ignored, skip processing
138531
+ if (childrenIgnored(this, read))
138532
+ return
138533
+
138534
+ var isGlobStar = remain[0] === minimatch.GLOBSTAR
138535
+ if (isGlobStar)
138536
+ this._processGlobStar(prefix, read, abs, remain, index, inGlobStar)
138537
+ else
138538
+ this._processReaddir(prefix, read, abs, remain, index, inGlobStar)
138539
+ }
138540
+
138541
+
138542
+ GlobSync.prototype._processReaddir = function (prefix, read, abs, remain, index, inGlobStar) {
138543
+ var entries = this._readdir(abs, inGlobStar)
138544
+
138545
+ // if the abs isn't a dir, then nothing can match!
138546
+ if (!entries)
138547
+ return
138548
+
138549
+ // It will only match dot entries if it starts with a dot, or if
138550
+ // dot is set. Stuff like @(.foo|.bar) isn't allowed.
138551
+ var pn = remain[0]
138552
+ var negate = !!this.minimatch.negate
138553
+ var rawGlob = pn._glob
138554
+ var dotOk = this.dot || rawGlob.charAt(0) === '.'
138555
+
138556
+ var matchedEntries = []
138557
+ for (var i = 0; i < entries.length; i++) {
138558
+ var e = entries[i]
138559
+ if (e.charAt(0) !== '.' || dotOk) {
138560
+ var m
138561
+ if (negate && !prefix) {
138562
+ m = !e.match(pn)
138563
+ } else {
138564
+ m = e.match(pn)
138565
+ }
138566
+ if (m)
138567
+ matchedEntries.push(e)
138568
+ }
138569
+ }
138570
+
138571
+ var len = matchedEntries.length
138572
+ // If there are no matched entries, then nothing matches.
138573
+ if (len === 0)
138574
+ return
138575
+
138576
+ // if this is the last remaining pattern bit, then no need for
138577
+ // an additional stat *unless* the user has specified mark or
138578
+ // stat explicitly. We know they exist, since readdir returned
138579
+ // them.
138580
+
138581
+ if (remain.length === 1 && !this.mark && !this.stat) {
138582
+ if (!this.matches[index])
138583
+ this.matches[index] = Object.create(null)
138584
+
138585
+ for (var i = 0; i < len; i ++) {
138586
+ var e = matchedEntries[i]
138587
+ if (prefix) {
138588
+ if (prefix.slice(-1) !== '/')
138589
+ e = prefix + '/' + e
138590
+ else
138591
+ e = prefix + e
138592
+ }
138593
+
138594
+ if (e.charAt(0) === '/' && !this.nomount) {
138595
+ e = path.join(this.root, e)
138596
+ }
138597
+ this._emitMatch(index, e)
138598
+ }
138599
+ // This was the last one, and no stats were needed
138600
+ return
138601
+ }
138602
+
138603
+ // now test all matched entries as stand-ins for that part
138604
+ // of the pattern.
138605
+ remain.shift()
138606
+ for (var i = 0; i < len; i ++) {
138607
+ var e = matchedEntries[i]
138608
+ var newPattern
138609
+ if (prefix)
138610
+ newPattern = [prefix, e]
138611
+ else
138612
+ newPattern = [e]
138613
+ this._process(newPattern.concat(remain), index, inGlobStar)
138614
+ }
138615
+ }
138616
+
138617
+
138618
+ GlobSync.prototype._emitMatch = function (index, e) {
138619
+ if (isIgnored(this, e))
138620
+ return
138621
+
138622
+ var abs = this._makeAbs(e)
138623
+
138624
+ if (this.mark)
138625
+ e = this._mark(e)
138626
+
138627
+ if (this.absolute) {
138628
+ e = abs
138629
+ }
138630
+
138631
+ if (this.matches[index][e])
138632
+ return
138633
+
138634
+ if (this.nodir) {
138635
+ var c = this.cache[abs]
138636
+ if (c === 'DIR' || Array.isArray(c))
138637
+ return
138638
+ }
138639
+
138640
+ this.matches[index][e] = true
138641
+
138642
+ if (this.stat)
138643
+ this._stat(e)
138644
+ }
138645
+
138646
+
138647
+ GlobSync.prototype._readdirInGlobStar = function (abs) {
138648
+ // follow all symlinked directories forever
138649
+ // just proceed as if this is a non-globstar situation
138650
+ if (this.follow)
138651
+ return this._readdir(abs, false)
138652
+
138653
+ var entries
138654
+ var lstat
138655
+ var stat
138656
+ try {
138657
+ lstat = this.fs.lstatSync(abs)
138658
+ } catch (er) {
138659
+ if (er.code === 'ENOENT') {
138660
+ // lstat failed, doesn't exist
138661
+ return null
138662
+ }
138663
+ }
138664
+
138665
+ var isSym = lstat && lstat.isSymbolicLink()
138666
+ this.symlinks[abs] = isSym
138667
+
138668
+ // If it's not a symlink or a dir, then it's definitely a regular file.
138669
+ // don't bother doing a readdir in that case.
138670
+ if (!isSym && lstat && !lstat.isDirectory())
138671
+ this.cache[abs] = 'FILE'
138672
+ else
138673
+ entries = this._readdir(abs, false)
138674
+
138675
+ return entries
138676
+ }
138677
+
138678
+ GlobSync.prototype._readdir = function (abs, inGlobStar) {
138679
+ var entries
138680
+
138681
+ if (inGlobStar && !ownProp(this.symlinks, abs))
138682
+ return this._readdirInGlobStar(abs)
138683
+
138684
+ if (ownProp(this.cache, abs)) {
138685
+ var c = this.cache[abs]
138686
+ if (!c || c === 'FILE')
138687
+ return null
138688
+
138689
+ if (Array.isArray(c))
138690
+ return c
138691
+ }
138692
+
138693
+ try {
138694
+ return this._readdirEntries(abs, this.fs.readdirSync(abs))
138695
+ } catch (er) {
138696
+ this._readdirError(abs, er)
138697
+ return null
138698
+ }
138699
+ }
138700
+
138701
+ GlobSync.prototype._readdirEntries = function (abs, entries) {
138702
+ // if we haven't asked to stat everything, then just
138703
+ // assume that everything in there exists, so we can avoid
138704
+ // having to stat it a second time.
138705
+ if (!this.mark && !this.stat) {
138706
+ for (var i = 0; i < entries.length; i ++) {
138707
+ var e = entries[i]
138708
+ if (abs === '/')
138709
+ e = abs + e
138710
+ else
138711
+ e = abs + '/' + e
138712
+ this.cache[e] = true
138713
+ }
138714
+ }
138715
+
138716
+ this.cache[abs] = entries
138717
+
138718
+ // mark and cache dir-ness
138719
+ return entries
138720
+ }
138721
+
138722
+ GlobSync.prototype._readdirError = function (f, er) {
138723
+ // handle errors, and cache the information
138724
+ switch (er.code) {
138725
+ case 'ENOTSUP': // https://github.com/isaacs/node-glob/issues/205
138726
+ case 'ENOTDIR': // totally normal. means it *does* exist.
138727
+ var abs = this._makeAbs(f)
138728
+ this.cache[abs] = 'FILE'
138729
+ if (abs === this.cwdAbs) {
138730
+ var error = new Error(er.code + ' invalid cwd ' + this.cwd)
138731
+ error.path = this.cwd
138732
+ error.code = er.code
138733
+ throw error
138734
+ }
138735
+ break
138736
+
138737
+ case 'ENOENT': // not terribly unusual
138738
+ case 'ELOOP':
138739
+ case 'ENAMETOOLONG':
138740
+ case 'UNKNOWN':
138741
+ this.cache[this._makeAbs(f)] = false
138742
+ break
138743
+
138744
+ default: // some unusual error. Treat as failure.
138745
+ this.cache[this._makeAbs(f)] = false
138746
+ if (this.strict)
138747
+ throw er
138748
+ if (!this.silent)
138749
+ console.error('glob error', er)
138750
+ break
138751
+ }
138752
+ }
138753
+
138754
+ GlobSync.prototype._processGlobStar = function (prefix, read, abs, remain, index, inGlobStar) {
138755
+
138756
+ var entries = this._readdir(abs, inGlobStar)
138757
+
138758
+ // no entries means not a dir, so it can never have matches
138759
+ // foo.txt/** doesn't match foo.txt
138760
+ if (!entries)
138761
+ return
138762
+
138763
+ // test without the globstar, and with every child both below
138764
+ // and replacing the globstar.
138765
+ var remainWithoutGlobStar = remain.slice(1)
138766
+ var gspref = prefix ? [ prefix ] : []
138767
+ var noGlobStar = gspref.concat(remainWithoutGlobStar)
138768
+
138769
+ // the noGlobStar pattern exits the inGlobStar state
138770
+ this._process(noGlobStar, index, false)
138771
+
138772
+ var len = entries.length
138773
+ var isSym = this.symlinks[abs]
138774
+
138775
+ // If it's a symlink, and we're in a globstar, then stop
138776
+ if (isSym && inGlobStar)
138777
+ return
138778
+
138779
+ for (var i = 0; i < len; i++) {
138780
+ var e = entries[i]
138781
+ if (e.charAt(0) === '.' && !this.dot)
138782
+ continue
138783
+
138784
+ // these two cases enter the inGlobStar state
138785
+ var instead = gspref.concat(entries[i], remainWithoutGlobStar)
138786
+ this._process(instead, index, true)
138787
+
138788
+ var below = gspref.concat(entries[i], remain)
138789
+ this._process(below, index, true)
138790
+ }
138791
+ }
138792
+
138793
+ GlobSync.prototype._processSimple = function (prefix, index) {
138794
+ // XXX review this. Shouldn't it be doing the mounting etc
138795
+ // before doing stat? kinda weird?
138796
+ var exists = this._stat(prefix)
138797
+
138798
+ if (!this.matches[index])
138799
+ this.matches[index] = Object.create(null)
138800
+
138801
+ // If it doesn't exist, then just mark the lack of results
138802
+ if (!exists)
138803
+ return
138804
+
138805
+ if (prefix && isAbsolute(prefix) && !this.nomount) {
138806
+ var trail = /[\/\\]$/.test(prefix)
138807
+ if (prefix.charAt(0) === '/') {
138808
+ prefix = path.join(this.root, prefix)
138809
+ } else {
138810
+ prefix = path.resolve(this.root, prefix)
138811
+ if (trail)
138812
+ prefix += '/'
138813
+ }
138814
+ }
138815
+
138816
+ if (process.platform === 'win32')
138817
+ prefix = prefix.replace(/\\/g, '/')
138818
+
138819
+ // Mark this as a match
138820
+ this._emitMatch(index, prefix)
138821
+ }
138822
+
138823
+ // Returns either 'DIR', 'FILE', or false
138824
+ GlobSync.prototype._stat = function (f) {
138825
+ var abs = this._makeAbs(f)
138826
+ var needDir = f.slice(-1) === '/'
138827
+
138828
+ if (f.length > this.maxLength)
138829
+ return false
138830
+
138831
+ if (!this.stat && ownProp(this.cache, abs)) {
138832
+ var c = this.cache[abs]
138833
+
138834
+ if (Array.isArray(c))
138835
+ c = 'DIR'
138836
+
138837
+ // It exists, but maybe not how we need it
138838
+ if (!needDir || c === 'DIR')
138839
+ return c
138840
+
138841
+ if (needDir && c === 'FILE')
138842
+ return false
138843
+
138844
+ // otherwise we have to stat, because maybe c=true
138845
+ // if we know it exists, but not what it is.
138846
+ }
138847
+
138848
+ var exists
138849
+ var stat = this.statCache[abs]
138850
+ if (!stat) {
138851
+ var lstat
138852
+ try {
138853
+ lstat = this.fs.lstatSync(abs)
138854
+ } catch (er) {
138855
+ if (er && (er.code === 'ENOENT' || er.code === 'ENOTDIR')) {
138856
+ this.statCache[abs] = false
138857
+ return false
138858
+ }
138859
+ }
138860
+
138861
+ if (lstat && lstat.isSymbolicLink()) {
138862
+ try {
138863
+ stat = this.fs.statSync(abs)
138864
+ } catch (er) {
138865
+ stat = lstat
138866
+ }
138867
+ } else {
138868
+ stat = lstat
138869
+ }
138870
+ }
138871
+
138872
+ this.statCache[abs] = stat
138873
+
138874
+ var c = true
138875
+ if (stat)
138876
+ c = stat.isDirectory() ? 'DIR' : 'FILE'
138877
+
138878
+ this.cache[abs] = this.cache[abs] || c
138879
+
138880
+ if (needDir && c === 'FILE')
138881
+ return false
138882
+
138883
+ return c
138884
+ }
138885
+
138886
+ GlobSync.prototype._mark = function (p) {
138887
+ return common.mark(this, p)
138888
+ }
138889
+
138890
+ GlobSync.prototype._makeAbs = function (f) {
138891
+ return common.makeAbs(this, f)
138892
+ }
138893
+
138894
+
136821
138895
  /***/ }),
136822
138896
 
136823
138897
  /***/ "./node_modules/globals/index.js":
@@ -137851,6 +139925,126 @@ var bind = __webpack_require__(/*! function-bind */ "./node_modules/function-bin
137851
139925
  module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
137852
139926
 
137853
139927
 
139928
+ /***/ }),
139929
+
139930
+ /***/ "./node_modules/inflight/inflight.js":
139931
+ /*!*******************************************!*\
139932
+ !*** ./node_modules/inflight/inflight.js ***!
139933
+ \*******************************************/
139934
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
139935
+
139936
+ var wrappy = __webpack_require__(/*! wrappy */ "./node_modules/wrappy/wrappy.js")
139937
+ var reqs = Object.create(null)
139938
+ var once = __webpack_require__(/*! once */ "./node_modules/once/once.js")
139939
+
139940
+ module.exports = wrappy(inflight)
139941
+
139942
+ function inflight (key, cb) {
139943
+ if (reqs[key]) {
139944
+ reqs[key].push(cb)
139945
+ return null
139946
+ } else {
139947
+ reqs[key] = [cb]
139948
+ return makeres(key)
139949
+ }
139950
+ }
139951
+
139952
+ function makeres (key) {
139953
+ return once(function RES () {
139954
+ var cbs = reqs[key]
139955
+ var len = cbs.length
139956
+ var args = slice(arguments)
139957
+
139958
+ // XXX It's somewhat ambiguous whether a new callback added in this
139959
+ // pass should be queued for later execution if something in the
139960
+ // list of callbacks throws, or if it should just be discarded.
139961
+ // However, it's such an edge case that it hardly matters, and either
139962
+ // choice is likely as surprising as the other.
139963
+ // As it happens, we do go ahead and schedule it for later execution.
139964
+ try {
139965
+ for (var i = 0; i < len; i++) {
139966
+ cbs[i].apply(null, args)
139967
+ }
139968
+ } finally {
139969
+ if (cbs.length > len) {
139970
+ // added more in the interim.
139971
+ // de-zalgo, just in case, but don't call again.
139972
+ cbs.splice(0, len)
139973
+ process.nextTick(function () {
139974
+ RES.apply(null, args)
139975
+ })
139976
+ } else {
139977
+ delete reqs[key]
139978
+ }
139979
+ }
139980
+ })
139981
+ }
139982
+
139983
+ function slice (args) {
139984
+ var length = args.length
139985
+ var array = []
139986
+
139987
+ for (var i = 0; i < length; i++) array[i] = args[i]
139988
+ return array
139989
+ }
139990
+
139991
+
139992
+ /***/ }),
139993
+
139994
+ /***/ "./node_modules/inherits/inherits.js":
139995
+ /*!*******************************************!*\
139996
+ !*** ./node_modules/inherits/inherits.js ***!
139997
+ \*******************************************/
139998
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
139999
+
140000
+ try {
140001
+ var util = __webpack_require__(/*! util */ "util");
140002
+ /* istanbul ignore next */
140003
+ if (typeof util.inherits !== 'function') throw '';
140004
+ module.exports = util.inherits;
140005
+ } catch (e) {
140006
+ /* istanbul ignore next */
140007
+ module.exports = __webpack_require__(/*! ./inherits_browser.js */ "./node_modules/inherits/inherits_browser.js");
140008
+ }
140009
+
140010
+
140011
+ /***/ }),
140012
+
140013
+ /***/ "./node_modules/inherits/inherits_browser.js":
140014
+ /*!***************************************************!*\
140015
+ !*** ./node_modules/inherits/inherits_browser.js ***!
140016
+ \***************************************************/
140017
+ /***/ ((module) => {
140018
+
140019
+ if (typeof Object.create === 'function') {
140020
+ // implementation from standard node.js 'util' module
140021
+ module.exports = function inherits(ctor, superCtor) {
140022
+ if (superCtor) {
140023
+ ctor.super_ = superCtor
140024
+ ctor.prototype = Object.create(superCtor.prototype, {
140025
+ constructor: {
140026
+ value: ctor,
140027
+ enumerable: false,
140028
+ writable: true,
140029
+ configurable: true
140030
+ }
140031
+ })
140032
+ }
140033
+ };
140034
+ } else {
140035
+ // old school shim for old browsers
140036
+ module.exports = function inherits(ctor, superCtor) {
140037
+ if (superCtor) {
140038
+ ctor.super_ = superCtor
140039
+ var TempCtor = function () {}
140040
+ TempCtor.prototype = superCtor.prototype
140041
+ ctor.prototype = new TempCtor()
140042
+ ctor.prototype.constructor = ctor
140043
+ }
140044
+ }
140045
+ }
140046
+
140047
+
137854
140048
  /***/ }),
137855
140049
 
137856
140050
  /***/ "./node_modules/is-buffer/index.js":
@@ -145321,6 +147515,89 @@ function regExpEscape (s) {
145321
147515
  }
145322
147516
 
145323
147517
 
147518
+ /***/ }),
147519
+
147520
+ /***/ "./node_modules/once/once.js":
147521
+ /*!***********************************!*\
147522
+ !*** ./node_modules/once/once.js ***!
147523
+ \***********************************/
147524
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
147525
+
147526
+ var wrappy = __webpack_require__(/*! wrappy */ "./node_modules/wrappy/wrappy.js")
147527
+ module.exports = wrappy(once)
147528
+ module.exports.strict = wrappy(onceStrict)
147529
+
147530
+ once.proto = once(function () {
147531
+ Object.defineProperty(Function.prototype, 'once', {
147532
+ value: function () {
147533
+ return once(this)
147534
+ },
147535
+ configurable: true
147536
+ })
147537
+
147538
+ Object.defineProperty(Function.prototype, 'onceStrict', {
147539
+ value: function () {
147540
+ return onceStrict(this)
147541
+ },
147542
+ configurable: true
147543
+ })
147544
+ })
147545
+
147546
+ function once (fn) {
147547
+ var f = function () {
147548
+ if (f.called) return f.value
147549
+ f.called = true
147550
+ return f.value = fn.apply(this, arguments)
147551
+ }
147552
+ f.called = false
147553
+ return f
147554
+ }
147555
+
147556
+ function onceStrict (fn) {
147557
+ var f = function () {
147558
+ if (f.called)
147559
+ throw new Error(f.onceError)
147560
+ f.called = true
147561
+ return f.value = fn.apply(this, arguments)
147562
+ }
147563
+ var name = fn.name || 'Function wrapped with `once`'
147564
+ f.onceError = name + " shouldn't be called more than once"
147565
+ f.called = false
147566
+ return f
147567
+ }
147568
+
147569
+
147570
+ /***/ }),
147571
+
147572
+ /***/ "./node_modules/path-is-absolute/index.js":
147573
+ /*!************************************************!*\
147574
+ !*** ./node_modules/path-is-absolute/index.js ***!
147575
+ \************************************************/
147576
+ /***/ ((module) => {
147577
+
147578
+ "use strict";
147579
+
147580
+
147581
+ function posix(path) {
147582
+ return path.charAt(0) === '/';
147583
+ }
147584
+
147585
+ function win32(path) {
147586
+ // https://github.com/nodejs/node/blob/b3fcc245fb25539909ef1d5eaa01dbf92e168633/lib/path.js#L56
147587
+ var splitDeviceRe = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;
147588
+ var result = splitDeviceRe.exec(path);
147589
+ var device = result[1] || '';
147590
+ var isUnc = Boolean(device && device.charAt(1) !== ':');
147591
+
147592
+ // UNC paths are always absolute
147593
+ return Boolean(result[2] || isUnc);
147594
+ }
147595
+
147596
+ module.exports = process.platform === 'win32' ? win32 : posix;
147597
+ module.exports.posix = posix;
147598
+ module.exports.win32 = win32;
147599
+
147600
+
145324
147601
  /***/ }),
145325
147602
 
145326
147603
  /***/ "./node_modules/path-parse/index.js":
@@ -163721,6 +165998,49 @@ exports.fromPromise = function (fn) {
163721
165998
  }
163722
165999
 
163723
166000
 
166001
+ /***/ }),
166002
+
166003
+ /***/ "./node_modules/wrappy/wrappy.js":
166004
+ /*!***************************************!*\
166005
+ !*** ./node_modules/wrappy/wrappy.js ***!
166006
+ \***************************************/
166007
+ /***/ ((module) => {
166008
+
166009
+ // Returns a wrapper function that returns a wrapped callback
166010
+ // The wrapper function should do some stuff, and return a
166011
+ // presumably different callback function.
166012
+ // This makes sure that own properties are retained, so that
166013
+ // decorations and such are not lost along the way.
166014
+ module.exports = wrappy
166015
+ function wrappy (fn, cb) {
166016
+ if (fn && cb) return wrappy(fn)(cb)
166017
+
166018
+ if (typeof fn !== 'function')
166019
+ throw new TypeError('need wrapper function')
166020
+
166021
+ Object.keys(fn).forEach(function (k) {
166022
+ wrapper[k] = fn[k]
166023
+ })
166024
+
166025
+ return wrapper
166026
+
166027
+ function wrapper() {
166028
+ var args = new Array(arguments.length)
166029
+ for (var i = 0; i < args.length; i++) {
166030
+ args[i] = arguments[i]
166031
+ }
166032
+ var ret = fn.apply(this, args)
166033
+ var cb = args[args.length-1]
166034
+ if (typeof ret === 'function' && ret !== cb) {
166035
+ Object.keys(cb).forEach(function (k) {
166036
+ ret[k] = cb[k]
166037
+ })
166038
+ }
166039
+ return ret
166040
+ }
166041
+ }
166042
+
166043
+
163724
166044
  /***/ }),
163725
166045
 
163726
166046
  /***/ "assert":
@@ -163767,6 +166087,17 @@ module.exports = require("crypto");
163767
166087
 
163768
166088
  /***/ }),
163769
166089
 
166090
+ /***/ "events":
166091
+ /*!*************************!*\
166092
+ !*** external "events" ***!
166093
+ \*************************/
166094
+ /***/ ((module) => {
166095
+
166096
+ "use strict";
166097
+ module.exports = require("events");
166098
+
166099
+ /***/ }),
166100
+
163770
166101
  /***/ "fs":
163771
166102
  /*!*********************!*\
163772
166103
  !*** external "fs" ***!