@kontur.candy/generator 5.94.0-diadoc.0 → 5.94.0-diadoc.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.
- package/dist/index.js +2 -17
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -47456,7 +47456,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
47456
47456
|
/* harmony export */ getMask: () => (/* binding */ getMask),
|
|
47457
47457
|
/* harmony export */ getMaskWithInstances: () => (/* binding */ getMaskWithInstances),
|
|
47458
47458
|
/* harmony export */ isAggregationPath: () => (/* binding */ isAggregationPath),
|
|
47459
|
-
/* harmony export */ isParentOf: () => (/* binding */ isParentOf),
|
|
47460
47459
|
/* harmony export */ replaceInstancesWithMultiplicity: () => (/* binding */ replaceInstancesWithMultiplicity)
|
|
47461
47460
|
/* harmony export */ });
|
|
47462
47461
|
/* harmony import */ var _PathConstants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../PathConstants */ "./Common/PathConstants.ts");
|
|
@@ -47495,19 +47494,6 @@ function replaceInstancesWithMultiplicity(path, replaceToken = _ModelPath__WEBPA
|
|
|
47495
47494
|
function checkIsReservedPath(path) {
|
|
47496
47495
|
return _PathConstants__WEBPACK_IMPORTED_MODULE_0__.reservedForTechnicalUsageFields.some(field => path.endsWith((0,_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createModelPath)(field, false)));
|
|
47497
47496
|
}
|
|
47498
|
-
function isParentOf(parent, childPath) {
|
|
47499
|
-
const parentPathParts = [...parent.getPathParts()];
|
|
47500
|
-
const childPathParts = [...childPath.getPathParts()];
|
|
47501
|
-
if (parentPathParts.length >= childPathParts.length) {
|
|
47502
|
-
return false;
|
|
47503
|
-
}
|
|
47504
|
-
for (let i = 0; i < parentPathParts.length; i++) {
|
|
47505
|
-
if (parentPathParts[i] !== childPathParts[i]) {
|
|
47506
|
-
return false;
|
|
47507
|
-
}
|
|
47508
|
-
}
|
|
47509
|
-
return true;
|
|
47510
|
-
}
|
|
47511
47497
|
|
|
47512
47498
|
/***/ }),
|
|
47513
47499
|
|
|
@@ -69979,8 +69965,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
69979
69965
|
/* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
|
|
69980
69966
|
/* harmony import */ var _Common_ModelPath_Set_Set2__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../Common/ModelPath/Set/Set2 */ "./Common/ModelPath/Set/Set2.ts");
|
|
69981
69967
|
/* harmony import */ var _Common_PathConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../Common/PathConstants */ "./Common/PathConstants.ts");
|
|
69982
|
-
/* harmony import */ var _Common_ModelPath_ModelPathHelper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../Common/ModelPath/ModelPathHelper */ "./Common/ModelPath/ModelPathHelper.ts");
|
|
69983
|
-
|
|
69984
69968
|
|
|
69985
69969
|
|
|
69986
69970
|
|
|
@@ -70078,7 +70062,7 @@ class DataDeclarationGenerationTimeHelper {
|
|
|
70078
70062
|
*getAllNestedPaths(nodePath) {
|
|
70079
70063
|
for (const key of (0,_Common_IterableUtils__WEBPACK_IMPORTED_MODULE_0__.iterateKeys)(this.dataDeclaration)) {
|
|
70080
70064
|
const path = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createAbsoluteFromMask)(key, _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.each);
|
|
70081
|
-
if (
|
|
70065
|
+
if (path.startsWith(nodePath)) {
|
|
70082
70066
|
yield path;
|
|
70083
70067
|
}
|
|
70084
70068
|
}
|
|
@@ -98610,6 +98594,7 @@ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Su
|
|
|
98610
98594
|
});
|
|
98611
98595
|
}
|
|
98612
98596
|
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_4__.getNewBindingPathExpression)(node));
|
|
98597
|
+
markupBuilder.prop(x => x.placeholder).set(node.placeholder);
|
|
98613
98598
|
markupBuilder.prop(x => x.hint).set(this.getConverterResultFromAttributeWithMarkup(context, node.hint));
|
|
98614
98599
|
markupBuilder.prop(x => x.disabled).set(node.disabled);
|
|
98615
98600
|
markupBuilder.prop(x => x.showNegativeAsBrackets).set(node.showNegativeAsBrackets);
|