@kontur.candy/generator 6.23.0 → 6.24.0-test-fs-9450.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 +10 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -111126,6 +111126,7 @@ WellKnownDirectories.TestFarmDir = "candy.farm";
|
|
|
111126
111126
|
"use strict";
|
|
111127
111127
|
__webpack_require__.r(__webpack_exports__);
|
|
111128
111128
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
111129
|
+
/* harmony export */ generateSimpleHash: () => (/* binding */ generateSimpleHash),
|
|
111129
111130
|
/* harmony export */ getSimpleHashByString: () => (/* binding */ getSimpleHashByString)
|
|
111130
111131
|
/* harmony export */ });
|
|
111131
111132
|
function getSimpleHashByString(source) {
|
|
@@ -111135,6 +111136,13 @@ function getSimpleHashByString(source) {
|
|
|
111135
111136
|
}
|
|
111136
111137
|
return result;
|
|
111137
111138
|
}
|
|
111139
|
+
const generateSimpleHash = (length = 8) => {
|
|
111140
|
+
let result = "";
|
|
111141
|
+
while (result.length < length) {
|
|
111142
|
+
result += Math.random().toString(36).slice(2);
|
|
111143
|
+
}
|
|
111144
|
+
return result.slice(0, length);
|
|
111145
|
+
};
|
|
111138
111146
|
|
|
111139
111147
|
/***/ }),
|
|
111140
111148
|
|
|
@@ -159037,7 +159045,7 @@ class AddRowButtonConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
|
|
|
159037
159045
|
const element = formSchemaRng.getElementByPath(node.getFullPath());
|
|
159038
159046
|
|
|
159039
159047
|
// eslint-disable-next-line no-warning-comments
|
|
159040
|
-
// TODO(2026-
|
|
159048
|
+
// TODO(2026-06-30): Необходимо разобраться с тем, что тут конфликтят свойства в type. Подробности в задаче https://yt.skbkontur.ru/issue/FS-9234
|
|
159041
159049
|
const fakeNode = new _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_7__.TypeNode();
|
|
159042
159050
|
fakeNode.base = "string";
|
|
159043
159051
|
fakeNode.children = [];
|
|
@@ -168498,7 +168506,7 @@ class FileLoaderConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4
|
|
|
168498
168506
|
}
|
|
168499
168507
|
|
|
168500
168508
|
// eslint-disable-next-line no-warning-comments
|
|
168501
|
-
// TODO(2026-
|
|
168509
|
+
// TODO(2026-06-30): Исправить в рамках задачи https://yt.skbkontur.ru/issue/FS-9386
|
|
168502
168510
|
*doBuildKCLangValidations_REMOVE_THIS_SUFFIX(buildContext, formSchemaRng, prefixPath) {
|
|
168503
168511
|
const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_11__.FileLoaderNode);
|
|
168504
168512
|
const element = formSchemaRng.getElementByPath(node.getFullPath());
|