@kontur.candy/generator 5.76.0-back-urls.0 → 5.77.0-back-urls.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 +69 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -45629,6 +45629,33 @@ let CombinatorType = /*#__PURE__*/function (CombinatorType) {
45629
45629
 
45630
45630
  /***/ }),
45631
45631
 
45632
+ /***/ "./Common/CommonConstants/DefaultServicesUrls.ts":
45633
+ /*!*******************************************************!*\
45634
+ !*** ./Common/CommonConstants/DefaultServicesUrls.ts ***!
45635
+ \*******************************************************/
45636
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
45637
+
45638
+ "use strict";
45639
+ __webpack_require__.r(__webpack_exports__);
45640
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
45641
+ /* harmony export */ DEFAULT_STAFF_SERVICE_URL: () => (/* binding */ DEFAULT_STAFF_SERVICE_URL),
45642
+ /* harmony export */ defaultServicesUrls: () => (/* binding */ defaultServicesUrls)
45643
+ /* harmony export */ });
45644
+ const DEFAULT_KEFORMS_URL = "";
45645
+ const DEFAULT_STAFF_SERVICE_URL = "https://api.kontur.ru/staff";
45646
+ const DEFAULT_PICKLIST_URL = "";
45647
+ const DEFAULT_NIDUS_URL = "";
45648
+ const DEFAULT_FSPRINTER_URL = "";
45649
+ const defaultServicesUrls = {
45650
+ keformsUrl: DEFAULT_KEFORMS_URL,
45651
+ staffServiceUrl: DEFAULT_STAFF_SERVICE_URL,
45652
+ picklistUrl: DEFAULT_PICKLIST_URL,
45653
+ nidusUrl: DEFAULT_NIDUS_URL,
45654
+ fsPrinterUrl: DEFAULT_FSPRINTER_URL
45655
+ };
45656
+
45657
+ /***/ }),
45658
+
45632
45659
  /***/ "./Common/CommonConstants/SectionNames.ts":
45633
45660
  /*!************************************************!*\
45634
45661
  !*** ./Common/CommonConstants/SectionNames.ts ***!
@@ -65786,6 +65813,11 @@ class AttachmentPathsGenerator {
65786
65813
  (_getConverterByNodeCl = (0,_markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_1__.getConverterByNodeClass)((0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.getNodeClass)(sugarNode))) !== null && _getConverterByNodeCl !== void 0 ? _getConverterByNodeCl : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.reject)(`Converter for root node must be defined`);
65787
65814
  return Iterator.from(this.generateInternal(sugarNode)).map(x => x.toLegacyPath()).toArray();
65788
65815
  }
65816
+ generateWithGfvs(sugarNode) {
65817
+ var _getConverterByNodeCl2;
65818
+ (_getConverterByNodeCl2 = (0,_markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_1__.getConverterByNodeClass)((0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.getNodeClass)(sugarNode))) !== null && _getConverterByNodeCl2 !== void 0 ? _getConverterByNodeCl2 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.reject)(`Converter for root node must be defined`);
65819
+ return new Map(Iterator.from(this.generateWithGfvsInternal(sugarNode)).map(x => [x[0], x[1].toLegacyPath()]));
65820
+ }
65789
65821
  *generateInternal(sugarNode) {
65790
65822
  const converterType = (0,_markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_1__.getConverterByNodeClass)((0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.getNodeClass)(sugarNode));
65791
65823
  if (converterType == undefined) {
@@ -65797,6 +65829,17 @@ class AttachmentPathsGenerator {
65797
65829
  yield* this.generateInternal(child);
65798
65830
  }
65799
65831
  }
65832
+ *generateWithGfvsInternal(sugarNode) {
65833
+ const converterType = (0,_markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_1__.getConverterByNodeClass)((0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.getNodeClass)(sugarNode));
65834
+ if (converterType == undefined) {
65835
+ return;
65836
+ }
65837
+ const converter = new converterType(sugarNode);
65838
+ yield* converter.getAttachmentPathsWithGfvs();
65839
+ for (const child of converter.traverseChildren()) {
65840
+ yield* this.generateWithGfvsInternal(child);
65841
+ }
65842
+ }
65800
65843
  }
65801
65844
 
65802
65845
  /***/ }),
@@ -71339,6 +71382,10 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
71339
71382
  const attachmentPathsGenerator = new _AttachmentPaths_AttachmentPathsGenerator__WEBPACK_IMPORTED_MODULE_27__.AttachmentPathsGenerator();
71340
71383
  const attachmentPaths = attachmentPathsGenerator.generate(sugarRoot);
71341
71384
  builder.addServerSideResource(`AttachmentPaths.json`, JSON.stringify(attachmentPaths));
71385
+ const attachmentPathsWithGfvs = attachmentPathsGenerator.generateWithGfvs(sugarRoot);
71386
+ if (attachmentPathsWithGfvs.size > 0) {
71387
+ builder.addServerSideResource(`AttachmentPathsWithGfvs.json`, JSON.stringify(Object.fromEntries(attachmentPathsWithGfvs)));
71388
+ }
71342
71389
  const validationFunctionsContent = validationGenerator.generate();
71343
71390
  builder.addResource("validationFunctions.js", validationFunctionsContent);
71344
71391
  const rngSchemaValidationConfigurator = validationGenerator.generateRngSchemaValidationConfigurator();
@@ -79711,6 +79758,10 @@ class AttachmentFormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
79711
79758
  const node = this.getCurrentNodeAs(_AttachmentFormNode__WEBPACK_IMPORTED_MODULE_7__.AttachmentFormNode);
79712
79759
  yield (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsolute)(node.path).joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_4__.AttachmentInfoPath);
79713
79760
  }
79761
+ *getAttachmentPathsWithGfvs() {
79762
+ const node = this.getCurrentNodeAs(_AttachmentFormNode__WEBPACK_IMPORTED_MODULE_7__.AttachmentFormNode);
79763
+ yield [node.gfv, (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsolute)(node.path).joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_4__.AttachmentInfoPath)];
79764
+ }
79714
79765
  doBuildDataDeclaration(context) {
79715
79766
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
79716
79767
  }
@@ -95662,6 +95713,7 @@ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Su
95662
95713
  markupBuilder.prop(x => x.placeholder).set(node.placeholder);
95663
95714
  markupBuilder.prop("data-tid").set(node.tid);
95664
95715
  markupBuilder.prop(x => x.disabled).set(node.disabled);
95716
+ markupBuilder.prop(x => x.showNegativeAsBrackets).set(node.showNegativeAsBrackets);
95665
95717
  markupBuilder.prop(x => x.withIgnoreAutoFlag).set(node.withIgnoreAutoFlag);
95666
95718
  if (node.callHelperOnChange) {
95667
95719
  markupBuilder.prop(x => x.callHelperOnChange).set(context.generateHelperFunctionExpression(node, "callHelperOnChange", node.callHelperOnChange));
@@ -95716,6 +95768,7 @@ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Su
95716
95768
  markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_4__.getNewBindingPathExpression)(node));
95717
95769
  markupBuilder.prop(x => x.hint).set(this.getConverterResultFromAttributeWithMarkup(context, node.hint));
95718
95770
  markupBuilder.prop(x => x.disabled).set(node.disabled);
95771
+ markupBuilder.prop(x => x.showNegativeAsBrackets).set(node.showNegativeAsBrackets);
95719
95772
  markupBuilder.prop(x => x.withIgnoreAutoFlag).set(node.withIgnoreAutoFlag);
95720
95773
  markupBuilder.prop(x => x.disabledPure).set(node.deprecatedDisabledForRpn);
95721
95774
  markupBuilder.prop(x => x.align).set(node.align);
@@ -95883,7 +95936,7 @@ __webpack_require__.r(__webpack_exports__);
95883
95936
 
95884
95937
 
95885
95938
 
95886
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _descriptor45, _descriptor46;
95939
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _descriptor45, _descriptor46, _descriptor47;
95887
95940
 
95888
95941
 
95889
95942
 
@@ -95945,7 +95998,7 @@ let InputNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
95945
95998
  Отключает использование mask только для валидного по маске значения и при отсутствии ошибки/предупреждения в валидации.
95946
95999
  По умолчанию включен показ кривых значений после импорта и,
95947
96000
  после ручного исправления на правильное по маске и валидное значение, редактирование будет доступно уже только в пределах маски.
95948
- `), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, "Поле ввода становится заблокированным для редактирования"), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("settings", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, "'true': всегда первой будет применяться указанная fetchfn, а если она вернет undefined то тогда будет брать из модели - из фуфа/draftinfo (то, что придет с сервера). В противном случае fetchfn сработает только в том случае, когда бекенд ничего не прислал"), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("deprecated-disabled-for-rpn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, "Поле ввода становится заблокированным для редактирования"), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.lengthUnit, "Ширина поля"), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("visible", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__.javaScriptExpressionLink)} для условного скрытия контрола`), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.enum("left", "right"), "Выравнивание текста внутри поля ввода (`left` | `right`, default: `left`)"), _dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.markupAttr)("formula", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, "Всплывающая подсказка по авторасчету"), _dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.markupAttr)("suffix", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, `Текст или верстка отображаемая в правой части input-а`), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.markupAttr)("prefix", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, `Текст или верстка отображаемая в левой части input-а`), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("help", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, ``), _dec46 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)("help", [_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_8__.HelpNode]), _dec47 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("currency", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `При включении этого флага значение в поле отображается как денежное: с двумя знаками после запятой и пробелами между тысячами.`), _dec(_class = (_class2 = class InputNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_6__.SugarNodeWithLegacyVisibility {
96001
+ `), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, "Поле ввода становится заблокированным для редактирования"), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("settings", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, "'true': всегда первой будет применяться указанная fetchfn, а если она вернет undefined то тогда будет брать из модели - из фуфа/draftinfo (то, что придет с сервера). В противном случае fetchfn сработает только в том случае, когда бекенд ничего не прислал"), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("deprecated-disabled-for-rpn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, "Поле ввода становится заблокированным для редактирования"), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.lengthUnit, "Ширина поля"), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("visible", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__.javaScriptExpressionLink)} для условного скрытия контрола`), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.enum("left", "right"), "Выравнивание текста внутри поля ввода (`left` | `right`, default: `left`)"), _dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.markupAttr)("formula", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, "Всплывающая подсказка по авторасчету"), _dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.markupAttr)("suffix", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, `Текст или верстка отображаемая в правой части input-а`), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.markupAttr)("prefix", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, `Текст или верстка отображаемая в левой части input-а`), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("help", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, ``), _dec46 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)("help", [_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_8__.HelpNode]), _dec47 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("currency", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `При включении этого флага значение в поле отображается как денежное: с двумя знаками после запятой и пробелами между тысячами.`), _dec48 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("showNegativeAsBrackets", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, "Отрицательные числа будут отображаться в скобках и без минуса (только визуально и только при потере фокуса)"), _dec(_class = (_class2 = class InputNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_6__.SugarNodeWithLegacyVisibility {
95949
96002
  constructor(...args) {
95950
96003
  super(...args);
95951
96004
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "validationInfo", _descriptor, this);
@@ -95996,6 +96049,7 @@ let InputNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
95996
96049
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "help", _descriptor44, this);
95997
96050
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "helpNodes", _descriptor45, this);
95998
96051
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "currency", _descriptor46, this);
96052
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "showNegativeAsBrackets", _descriptor47, this);
95999
96053
  }
96000
96054
  getOwnPath() {
96001
96055
  return this.dataBinding.getOwnPath();
@@ -96233,6 +96287,11 @@ let InputNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
96233
96287
  enumerable: true,
96234
96288
  writable: true,
96235
96289
  initializer: null
96290
+ }), _descriptor47 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "showNegativeAsBrackets", [_dec48], {
96291
+ configurable: true,
96292
+ enumerable: true,
96293
+ writable: true,
96294
+ initializer: null
96236
96295
  }), _class2)) || _class);
96237
96296
 
96238
96297
  /***/ }),
@@ -103039,6 +103098,9 @@ class SugarNodeConverterBase {
103039
103098
  *getAttachmentPaths() {
103040
103099
  // no paths by default
103041
103100
  }
103101
+ *getAttachmentPathsWithGfvs() {
103102
+ // no paths by default
103103
+ }
103042
103104
  buildSugarKCLangCalculations(buildContext, formSchemaRng) {
103043
103105
  const result = [];
103044
103106
  result.push(...this.doBuildKCLangValidations(buildContext, formSchemaRng));
@@ -104057,13 +104119,15 @@ __webpack_require__.r(__webpack_exports__);
104057
104119
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
104058
104120
  /* harmony export */ getSettings: () => (/* binding */ getSettings)
104059
104121
  /* harmony export */ });
104060
- /* harmony import */ var _getRootPath__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getRootPath */ "./Generator/src/generators/markupGenerator/getRootPath.ts");
104122
+ /* harmony import */ var _Common_CommonConstants_DefaultServicesUrls__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../Common/CommonConstants/DefaultServicesUrls */ "./Common/CommonConstants/DefaultServicesUrls.ts");
104123
+ /* harmony import */ var _getRootPath__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getRootPath */ "./Generator/src/generators/markupGenerator/getRootPath.ts");
104124
+
104061
104125
 
104062
104126
  function getSettings(sugarRoot, gfv, additionalSettings, formJsonSettings) {
104063
104127
  var _sugarRoot$isReadOnly;
104064
104128
  const settings = {
104065
- formRoot: (0,_getRootPath__WEBPACK_IMPORTED_MODULE_0__.getRootPath)(sugarRoot),
104066
- keformsUrl: "",
104129
+ formRoot: (0,_getRootPath__WEBPACK_IMPORTED_MODULE_1__.getRootPath)(sugarRoot),
104130
+ ..._Common_CommonConstants_DefaultServicesUrls__WEBPACK_IMPORTED_MODULE_0__.defaultServicesUrls,
104067
104131
  showFormContainer: true,
104068
104132
  embeddedLogEnabled: false,
104069
104133
  allowsend: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontur.candy/generator",
3
- "version": "5.76.0-back-urls.0",
3
+ "version": "5.77.0-back-urls.0",
4
4
  "description": "Candy forms generator",
5
5
  "author": "SKBKontur Candy Team",
6
6
  "private": false,