@kontur.candy/generator 6.3.0-sidepage.0 → 6.3.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.
- package/dist/index.js +5 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -90165,7 +90165,6 @@ class ModalFormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1_
|
|
|
90165
90165
|
verifiablePaths = verifiablePaths.filter(path => !path.isIncludes(excludedVerifiablePath));
|
|
90166
90166
|
}
|
|
90167
90167
|
markupBuilder.prop(x => x.verifiablePaths).set((_verifiablePaths = verifiablePaths) !== null && _verifiablePaths !== void 0 ? _verifiablePaths : []);
|
|
90168
|
-
markupBuilder.prop(x => x.sidepage).set(node.sidepage);
|
|
90169
90168
|
return markupBuilder.buildConverterResult();
|
|
90170
90169
|
}
|
|
90171
90170
|
}
|
|
@@ -90194,10 +90193,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
90194
90193
|
|
|
90195
90194
|
|
|
90196
90195
|
|
|
90197
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11,
|
|
90196
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10;
|
|
90198
90197
|
|
|
90199
90198
|
|
|
90200
|
-
let ModalFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("modalform", `Модальное окно со значениями из модели`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("header", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Заголовок`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("enabledBackgroundClick", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Закрывать окно при клике на фон.`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("doNotValidateFormOnStart", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Отменяет показ валидаций при
|
|
90199
|
+
let ModalFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("modalform", `Модальное окно со значениями из модели`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("header", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Заголовок`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("enabledBackgroundClick", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Закрывать окно при клике на фон.`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("doNotValidateFormOnStart", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Отменяет показ валидаций при откртии модального окна`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("footerPanel", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Задает серый footer`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, `Ширина модального окна`), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("onAfterOpen", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется после открытия модалки"), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("excludedVerifiablePath", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Путь, который нужно исключить из валидаций`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("disableFocusLock", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Отключает focusLock на модалке`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(), _dec(_class = (_class2 = class ModalFormNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
90201
90200
|
constructor(...args) {
|
|
90202
90201
|
super(...args);
|
|
90203
90202
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor, this);
|
|
@@ -90209,8 +90208,7 @@ let ModalFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MOD
|
|
|
90209
90208
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onAfterOpen", _descriptor7, this);
|
|
90210
90209
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "excludedVerifiablePath", _descriptor8, this);
|
|
90211
90210
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disableFocusLock", _descriptor9, this);
|
|
90212
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
90213
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor11, this);
|
|
90211
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor10, this);
|
|
90214
90212
|
}
|
|
90215
90213
|
getOwnPath() {
|
|
90216
90214
|
return this.dataScope.getOwnPath();
|
|
@@ -90260,12 +90258,7 @@ let ModalFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MOD
|
|
|
90260
90258
|
enumerable: true,
|
|
90261
90259
|
writable: true,
|
|
90262
90260
|
initializer: null
|
|
90263
|
-
}), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
90264
|
-
configurable: true,
|
|
90265
|
-
enumerable: true,
|
|
90266
|
-
writable: true,
|
|
90267
|
-
initializer: null
|
|
90268
|
-
}), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec12], {
|
|
90261
|
+
}), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec11], {
|
|
90269
90262
|
configurable: true,
|
|
90270
90263
|
enumerable: true,
|
|
90271
90264
|
writable: true,
|
|
@@ -90640,7 +90633,7 @@ class AddRowButtonConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
|
|
|
90640
90633
|
const element = formSchemaRng.getElementByPath(node.getFullPath());
|
|
90641
90634
|
|
|
90642
90635
|
// eslint-disable-next-line no-warning-comments
|
|
90643
|
-
// TODO(2026-
|
|
90636
|
+
// TODO(2026-04-01): Необходимо разобраться с тем, что тут конфликтят свойства в type. Подробности в задаче https://yt.skbkontur.ru/issue/FS-9234
|
|
90644
90637
|
const fakeNode = new _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_8__.TypeNode();
|
|
90645
90638
|
fakeNode.base = "string";
|
|
90646
90639
|
fakeNode.children = [];
|