@kontur.candy/generator 4.263.0-optional-nested-units.21 → 4.263.0-optional-nested-units.22

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 +9 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -113418,6 +113418,15 @@ class Set2 {
113418
113418
  return false;
113419
113419
  }
113420
113420
 
113421
+ remove(path) {
113422
+ const hash = this.getItemHash(path);
113423
+ const list = this.hashMap.get(hash);
113424
+
113425
+ if (list != undefined) {
113426
+ this.hashMap.set(hash, list.filter(x => !this.areItemsEqual(x, path)));
113427
+ }
113428
+ }
113429
+
113421
113430
  has(path) {
113422
113431
  var _this$hashMap$get;
113423
113432
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontur.candy/generator",
3
- "version": "4.263.0-optional-nested-units.21",
3
+ "version": "4.263.0-optional-nested-units.22",
4
4
  "description": "Candy forms generator",
5
5
  "author": "SKBKontur Candy Team",
6
6
  "private": false,