@kontur.candy/generator 4.251.1 → 4.251.2-diadoc.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 +41 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -112400,9 +112400,13 @@ class AbsoluteModelPathMap extends _Map2__WEBPACK_IMPORTED_MODULE_1__.Map2 {
|
|
|
112400
112400
|
"use strict";
|
|
112401
112401
|
__webpack_require__.r(__webpack_exports__);
|
|
112402
112402
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
112403
|
-
/* harmony export */ "Map2": () => (/* binding */ Map2)
|
|
112403
|
+
/* harmony export */ "Map2": () => (/* binding */ Map2),
|
|
112404
|
+
/* harmony export */ "ModelPathMap": () => (/* binding */ ModelPathMap),
|
|
112405
|
+
/* harmony export */ "AbsoluteModelPathMap": () => (/* binding */ AbsoluteModelPathMap)
|
|
112404
112406
|
/* harmony export */ });
|
|
112405
112407
|
/* harmony import */ var _TypingUtils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../TypingUtils */ "./Common/TypingUtils.ts");
|
|
112408
|
+
/* harmony import */ var _EachCurrentCollision__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../EachCurrentCollision */ "./Common/ModelPath/EachCurrentCollision.ts");
|
|
112409
|
+
|
|
112406
112410
|
|
|
112407
112411
|
class Map2 {
|
|
112408
112412
|
constructor() {
|
|
@@ -112426,6 +112430,10 @@ class Map2 {
|
|
|
112426
112430
|
has(key) {
|
|
112427
112431
|
return this.getEntryOrUndefined(key) != undefined;
|
|
112428
112432
|
}
|
|
112433
|
+
|
|
112434
|
+
get isEmpty() {
|
|
112435
|
+
return this.hashMap.size === 0;
|
|
112436
|
+
}
|
|
112429
112437
|
/**
|
|
112430
112438
|
* Обновляет значение в словаре по ключю, если значения нет -- устнавит новое
|
|
112431
112439
|
* @param key ключ словаря для робновления
|
|
@@ -112490,6 +112498,38 @@ class Map2 {
|
|
|
112490
112498
|
return (_this$hashMap$get = this.hashMap.get(hash)) === null || _this$hashMap$get === void 0 ? void 0 : _this$hashMap$get.find(x => this.areKeyEqual(x[0], key));
|
|
112491
112499
|
}
|
|
112492
112500
|
|
|
112501
|
+
}
|
|
112502
|
+
class ModelPathMap extends Map2 {
|
|
112503
|
+
constructor(eachCurrentCollision = _EachCurrentCollision__WEBPACK_IMPORTED_MODULE_1__.EachCurrentCollision.AreSame) {
|
|
112504
|
+
super();
|
|
112505
|
+
this.eachCurrentCollision = void 0;
|
|
112506
|
+
this.eachCurrentCollision = eachCurrentCollision;
|
|
112507
|
+
}
|
|
112508
|
+
|
|
112509
|
+
areKeyEqual(left, right) {
|
|
112510
|
+
return left.isEquals(right, this.eachCurrentCollision);
|
|
112511
|
+
}
|
|
112512
|
+
|
|
112513
|
+
getKeyHash(key) {
|
|
112514
|
+
return key.getHash(this.eachCurrentCollision);
|
|
112515
|
+
}
|
|
112516
|
+
|
|
112517
|
+
}
|
|
112518
|
+
class AbsoluteModelPathMap extends Map2 {
|
|
112519
|
+
constructor(eachCurrentCollision = _EachCurrentCollision__WEBPACK_IMPORTED_MODULE_1__.EachCurrentCollision.AreSame) {
|
|
112520
|
+
super();
|
|
112521
|
+
this.eachCurrentCollision = void 0;
|
|
112522
|
+
this.eachCurrentCollision = eachCurrentCollision;
|
|
112523
|
+
}
|
|
112524
|
+
|
|
112525
|
+
areKeyEqual(left, right) {
|
|
112526
|
+
return left.isEquals(right, this.eachCurrentCollision);
|
|
112527
|
+
}
|
|
112528
|
+
|
|
112529
|
+
getKeyHash(key) {
|
|
112530
|
+
return key.getHash(this.eachCurrentCollision);
|
|
112531
|
+
}
|
|
112532
|
+
|
|
112493
112533
|
}
|
|
112494
112534
|
|
|
112495
112535
|
/***/ }),
|