@kontur.candy/generator 5.41.0-testmmbot.0 → 5.42.0-test-types.1

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 +5 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -83427,6 +83427,9 @@ function castOperandToStringIfNeed(operandExpression, decimalFormat = "G29") {
83427
83427
  if (operandExpression instanceof _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.HashSetExpression) {
83428
83428
  return new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.SerializeEnumerationExpression(operandExpression);
83429
83429
  }
83430
+ if (operandExpression.getType() == _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.BuildInTypeExpression.array) {
83431
+ return new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.SerializeEnumerationExpression(operandExpression);
83432
+ }
83430
83433
  return operandExpression.getType() != _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.BuildInTypeExpression.string ? new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.CastExpression(operandExpression, _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.BuildInTypeExpression.string, decimalFormat != undefined && operandExpression.getType() === _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.BuildInTypeExpression.decimal ? new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.StringLiteralExpression(decimalFormat) : undefined) : operandExpression;
83431
83434
  }
83432
83435
  function castOperandToBoolIfNeed(operandExpression) {
@@ -99936,6 +99939,7 @@ BindingPath: ${errorPath}`));
99936
99939
  const rowDataBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_5__.componentMarkupBuilder)("StickyTableBodyRow");
99937
99940
  context.pushPathsContext();
99938
99941
  rowDataBuilder.appendChildren(this.getColumns(context, node, columns, sideSize, Infinity));
99942
+ rowDataBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_13__.getNewBindingPathExpression)(row));
99939
99943
  const columnsStructure = (_context$popPathsCont = context.popPathsContext()) === null || _context$popPathsCont === void 0 ? void 0 : _context$popPathsCont.paths;
99940
99944
  if ((columnsStructure === null || columnsStructure === void 0 ? void 0 : columnsStructure.length) !== 0) {
99941
99945
  rowDataBuilder.prop(x => x.columnsStructure).set(columnsStructure);
@@ -99966,6 +99970,7 @@ BindingPath: ${errorPath}`));
99966
99970
  columnCount += 1;
99967
99971
  }
99968
99972
  const mb = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_5__.componentMarkupBuilder)("StickyTableBodyRow");
99973
+ mb.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_13__.getNewBindingPathExpression)(row));
99969
99974
  mb.appendChildren(this.getColumns(context, node, columns, 0, columnCount, true));
99970
99975
  sidebarBuilder.appendChild(mb.buildConverterResult());
99971
99976
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontur.candy/generator",
3
- "version": "5.41.0-testmmbot.0",
3
+ "version": "5.42.0-test-types.1",
4
4
  "description": "Candy forms generator",
5
5
  "author": "SKBKontur Candy Team",
6
6
  "private": false,