@lionweb/class-core 0.6.13-beta.7 → 0.7.0-beta.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.
Files changed (85) hide show
  1. package/CHANGELOG.md +6 -1
  2. package/README.md +1 -1
  3. package/dist/base-types.d.ts +5 -4
  4. package/dist/base-types.d.ts.map +1 -1
  5. package/dist/base-types.js +1 -1
  6. package/dist/base-types.js.map +1 -1
  7. package/dist/convenience.d.ts +4 -3
  8. package/dist/convenience.d.ts.map +1 -1
  9. package/dist/convenience.js.map +1 -1
  10. package/dist/deltas/appliers.d.ts.map +1 -1
  11. package/dist/deltas/appliers.js +1 -1
  12. package/dist/deltas/appliers.js.map +1 -1
  13. package/dist/deltas/handlers.d.ts.map +1 -1
  14. package/dist/deltas/handlers.js.map +1 -1
  15. package/dist/deltas/inverters.d.ts.map +1 -1
  16. package/dist/deltas/inverters.js.map +1 -1
  17. package/dist/deltas/serialization/base.d.ts +1 -1
  18. package/dist/deltas/serialization/base.d.ts.map +1 -1
  19. package/dist/deltas/serialization/serializer-helpers.d.ts.map +1 -1
  20. package/dist/deltas/serialization/serializer-helpers.js.map +1 -1
  21. package/dist/deltas/serialization/types.g.d.ts +58 -57
  22. package/dist/deltas/serialization/types.g.d.ts.map +1 -1
  23. package/dist/deserializer.d.ts +5 -4
  24. package/dist/deserializer.d.ts.map +1 -1
  25. package/dist/deserializer.js +4 -3
  26. package/dist/deserializer.js.map +1 -1
  27. package/dist/duplicator.d.ts.map +1 -1
  28. package/dist/duplicator.js +3 -2
  29. package/dist/duplicator.js.map +1 -1
  30. package/dist/id-mapping.d.ts +5 -4
  31. package/dist/id-mapping.d.ts.map +1 -1
  32. package/dist/id-mapping.js +2 -3
  33. package/dist/id-mapping.js.map +1 -1
  34. package/dist/linking.d.ts +3 -2
  35. package/dist/linking.d.ts.map +1 -1
  36. package/dist/lionCore_builtins.g.d.ts.map +1 -1
  37. package/dist/lionCore_builtins.g.js.map +1 -1
  38. package/dist/serializer.d.ts +2 -2
  39. package/dist/serializer.d.ts.map +1 -1
  40. package/dist/serializer.js +1 -1
  41. package/dist/serializer.js.map +1 -1
  42. package/dist/textualizer.d.ts.map +1 -1
  43. package/dist/textualizer.js +1 -1
  44. package/dist/textualizer.js.map +1 -1
  45. package/dist/value-managers/annotations.d.ts.map +1 -1
  46. package/dist/value-managers/annotations.js +1 -1
  47. package/dist/value-managers/annotations.js.map +1 -1
  48. package/dist/value-managers/base.d.ts.map +1 -1
  49. package/dist/value-managers/base.js.map +1 -1
  50. package/dist/value-managers/containments.d.ts.map +1 -1
  51. package/dist/value-managers/containments.js +1 -1
  52. package/dist/value-managers/containments.js.map +1 -1
  53. package/dist/value-managers/properties.d.ts +1 -1
  54. package/dist/value-managers/properties.d.ts.map +1 -1
  55. package/dist/value-managers/properties.js +1 -1
  56. package/dist/value-managers/properties.js.map +1 -1
  57. package/dist/value-managers/references.d.ts.map +1 -1
  58. package/dist/value-managers/references.js +1 -1
  59. package/dist/value-managers/references.js.map +1 -1
  60. package/package.json +4 -2
  61. package/src/base-types.ts +6 -6
  62. package/src/convenience.ts +6 -9
  63. package/src/deltas/appliers.ts +11 -11
  64. package/src/deltas/handlers.ts +2 -2
  65. package/src/deltas/inverters.ts +2 -2
  66. package/src/deltas/serialization/base.ts +2 -2
  67. package/src/deltas/serialization/serializer-helpers.ts +3 -4
  68. package/src/deltas/serialization/types.g.ts +58 -57
  69. package/src/deserializer.ts +12 -14
  70. package/src/duplicator.ts +8 -6
  71. package/src/id-mapping.ts +8 -9
  72. package/src/linking.ts +4 -3
  73. package/src/lionCore_builtins.g.ts +5 -2
  74. package/src/serializer.ts +3 -3
  75. package/src/textualizer.ts +4 -5
  76. package/src/value-managers/annotations.ts +4 -4
  77. package/src/value-managers/base.ts +3 -3
  78. package/src/value-managers/containments.ts +6 -12
  79. package/src/value-managers/properties.ts +5 -5
  80. package/src/value-managers/references.ts +6 -11
  81. package/dist/utils.d.ts +0 -6
  82. package/dist/utils.d.ts.map +0 -1
  83. package/dist/utils.js +0 -22
  84. package/dist/utils.js.map +0 -1
  85. package/src/utils.ts +0 -24
@@ -15,12 +15,12 @@
15
15
  // SPDX-FileCopyrightText: 2025 TRUMPF Laser SE and other contributors
16
16
  // SPDX-License-Identifier: Apache-2.0
17
17
 
18
- import {Property} from "@lionweb/core";
19
- import {action, IObservableValue, observable} from "mobx";
18
+ import { Property } from "@lionweb/core"
19
+ import { action, IObservableValue, observable } from "mobx"
20
+ import { INodeBase } from "../base-types.js"
21
+ import { PropertyAddedDelta, PropertyChangedDelta, PropertyDeletedDelta } from "../deltas/index.js"
20
22
 
21
- import {FeatureValueManager} from "./base.js";
22
- import {INodeBase} from "../base-types.js";
23
- import {PropertyAddedDelta, PropertyChangedDelta, PropertyDeletedDelta} from "../deltas/index.js";
23
+ import { FeatureValueManager } from "./base.js"
24
24
 
25
25
 
26
26
  /**
@@ -15,17 +15,12 @@
15
15
  // SPDX-FileCopyrightText: 2025 TRUMPF Laser SE and other contributors
16
16
  // SPDX-License-Identifier: Apache-2.0
17
17
 
18
- import {Reference, SingleRef} from "@lionweb/core";
19
- import {action, observable} from "mobx";
20
-
21
- import {INodeBase} from "../base-types.js";
22
- import {checkIndex, FeatureValueManager} from "./base.js";
23
- import {
24
- ReferenceAddedDelta,
25
- ReferenceDeletedDelta,
26
- ReferenceMovedInSameReferenceDelta,
27
- ReferenceReplacedDelta
28
- } from "../deltas/index.js";
18
+ import { Reference, SingleRef } from "@lionweb/core"
19
+ import { action, observable } from "mobx"
20
+
21
+ import { INodeBase } from "../base-types.js"
22
+ import { ReferenceAddedDelta, ReferenceDeletedDelta, ReferenceMovedInSameReferenceDelta, ReferenceReplacedDelta } from "../deltas/index.js"
23
+ import { checkIndex, FeatureValueManager } from "./base.js"
29
24
 
30
25
 
31
26
  /**
package/dist/utils.d.ts DELETED
@@ -1,6 +0,0 @@
1
- /**
2
- * @return a view of the given array of items with duplicates removed.
3
- * *Note*: verbatim copy of a function in @lionweb/utilities/utils/array.ts!
4
- */
5
- export declare const uniquesAmong: <T>(ts: T[]) => T[];
6
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAiBA;;;GAGG;AACH,eAAO,MAAM,YAAY,qBACL,CAAA"}
package/dist/utils.js DELETED
@@ -1,22 +0,0 @@
1
- // Copyright 2025 TRUMPF Laser SE and other contributors
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License")
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
- //
15
- // SPDX-FileCopyrightText: 2025 TRUMPF Laser SE and other contributors
16
- // SPDX-License-Identifier: Apache-2.0
17
- /**
18
- * @return a view of the given array of items with duplicates removed.
19
- * *Note*: verbatim copy of a function in @lionweb/utilities/utils/array.ts!
20
- */
21
- export const uniquesAmong = (ts) => [...new Set(ts)];
22
- //# sourceMappingURL=utils.js.map
package/dist/utils.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,wDAAwD;AACxD,EAAE;AACF,iEAAiE;AACjE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,sEAAsE;AACtE,sCAAsC;AAEtC;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAI,EAAO,EAAO,EAAE,CAC5C,CAAC,GAAG,IAAI,GAAG,CAAC,EAAE,CAAC,CAAC,CAAA"}
package/src/utils.ts DELETED
@@ -1,24 +0,0 @@
1
- // Copyright 2025 TRUMPF Laser SE and other contributors
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License")
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
- //
15
- // SPDX-FileCopyrightText: 2025 TRUMPF Laser SE and other contributors
16
- // SPDX-License-Identifier: Apache-2.0
17
-
18
- /**
19
- * @return a view of the given array of items with duplicates removed.
20
- * *Note*: verbatim copy of a function in @lionweb/utilities/utils/array.ts!
21
- */
22
- export const uniquesAmong = <T>(ts: T[]): T[] =>
23
- [...new Set(ts)]
24
-