@likec4/core 1.44.0 → 1.46.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/builder/index.d.mts +15 -13
- package/dist/builder/index.mjs +33 -17
- package/dist/compute-view/index.d.mts +8 -7
- package/dist/compute-view/index.mjs +7 -6
- package/dist/compute-view/relationships-view/index.d.mts +8 -7
- package/dist/compute-view/relationships-view/index.mjs +2 -2
- package/dist/geometry/index.d.mts +109 -0
- package/dist/geometry/index.mjs +328 -0
- package/dist/index.d.mts +29 -7
- package/dist/index.mjs +10 -8
- package/dist/model/connection/deployment/index.d.mts +10 -9
- package/dist/model/connection/deployment/index.mjs +2 -2
- package/dist/model/connection/index.d.mts +11 -10
- package/dist/model/connection/index.mjs +3 -3
- package/dist/model/connection/model/index.d.mts +10 -9
- package/dist/model/connection/model/index.mjs +2 -2
- package/dist/model/index.d.mts +13 -26
- package/dist/model/index.mjs +4 -4
- package/dist/shared/{core.Bv3cd-jC.mjs → core.3ZhnKAlZ.mjs} +9 -5
- package/dist/shared/{core.CKNmSm2W.d.mts → core.5gPDaaG5.d.mts} +9 -15
- package/dist/shared/{core.BnOetIAR.d.mts → core.9U0HL3oG.d.mts} +3 -3
- package/dist/shared/{core.M9ayqQZa.mjs → core.BK-tI3Q3.mjs} +2 -3
- package/dist/shared/{core.DjAM-S6a.d.mts → core.BLG-ADpi.d.mts} +16 -14
- package/dist/shared/core.BPGOjone.d.mts +46 -0
- package/dist/shared/{core.DIE3F6sw.mjs → core.BYdtmqY5.mjs} +1 -2
- package/dist/shared/core.BhNcrwzK.mjs +7 -0
- package/dist/shared/{core.CDOKQTW6.d.mts → core.BkSYCfRg.d.mts} +2 -2
- package/dist/shared/core.BkVA6gjl.mjs +5 -0
- package/dist/shared/{core.5ZQ-r3Oa.d.mts → core.BqtAzeAh.d.mts} +1 -1
- package/dist/shared/{core.DEieYfbG.mjs → core.BspBF3SJ.mjs} +22 -70
- package/dist/shared/{core.BnDbAOR2.d.mts → core.Byj60hH6.d.mts} +3 -3
- package/dist/shared/{core.CR3PmPzr.mjs → core.CBLX4mT8.mjs} +3811 -15032
- package/dist/shared/{core.DX-WYEPA.d.mts → core.CDdf8izT.d.mts} +4 -2
- package/dist/shared/core.CLSZtnFh.mjs +69 -0
- package/dist/shared/{core.bKIs4oDO.mjs → core.CQPEY2wQ.mjs} +5 -4
- package/dist/shared/{core.WwMWeiFL.d.mts → core.CQYL_Z-_.d.mts} +3 -3
- package/dist/shared/{core.6VsRBhGY.mjs → core.CdNCAwq7.mjs} +1 -1
- package/dist/shared/{core.DrUt0Lbi.mjs → core.CmGY9blO.mjs} +198 -291
- package/dist/shared/core.Coi_LOUZ.mjs +7 -0
- package/dist/shared/{core.C_Ni6yHl.mjs → core.D0WZutNd.mjs} +3 -1
- package/dist/shared/{core.DTJYgLXI.d.mts → core.D4Y4U8Lp.d.mts} +3 -3
- package/dist/shared/{core.BMtVqKl7.d.mts → core.DE-g9oFF.d.mts} +22 -46
- package/dist/shared/{core.23WeDKcI.mjs → core.DJpiszim.mjs} +265 -233
- package/dist/shared/{core.h4TqqSC0.mjs → core.DU8pv3Q6.mjs} +71 -1174
- package/dist/shared/{core.CHwVhuc9.mjs → core.DbQpDoJS.mjs} +12 -15
- package/dist/shared/{core.CbsSAn1j.mjs → core.DbfO90vF.mjs} +1 -12
- package/dist/shared/{core.C0Ye2OCr.mjs → core.DqlrMlsf.mjs} +1 -1
- package/dist/shared/core.Qv7vZIwZ.mjs +1282 -0
- package/dist/shared/core.oSV6SRfk.mjs +13 -0
- package/dist/shared/{core.BuQZczj6.mjs → core.om36dXXW.mjs} +5 -2
- package/dist/shared/{core.8mmHFn9g.d.mts → core.or6-EHsb.d.mts} +2 -2
- package/dist/shared/{core.DFCHU59b.mjs → core.xeuDd__E.mjs} +3 -4
- package/dist/styles/index.d.mts +7 -6
- package/dist/styles/index.mjs +4 -4
- package/dist/types/_aux.d.mts +2 -2
- package/dist/types/expression-model.d.mts +3 -3
- package/dist/types/expression.d.mts +3 -3
- package/dist/types/fqnRef.d.mts +2 -2
- package/dist/types/fqnRef.mjs +1 -1
- package/dist/types/index.d.mts +11 -9
- package/dist/types/index.mjs +6 -166
- package/dist/types/scalar.d.mts +1 -1
- package/dist/types/scalar.mjs +1 -1
- package/dist/utils/graphology/index.mjs +1 -1
- package/dist/utils/index.d.mts +3 -3
- package/dist/utils/index.mjs +9 -8
- package/dist/utils/iterable/index.d.mts +17 -1
- package/dist/utils/iterable/index.mjs +17 -1
- package/geometry/package.json +4 -0
- package/package.json +20 -12
- package/dist/shared/core.B9BjmjuH.mjs +0 -9
- package/dist/shared/core.BR4zXDH-.mjs +0 -13
- package/dist/shared/core.BdPcbSkN.mjs +0 -118
- package/dist/shared/core.OHD4KXm9.mjs +0 -5
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
import { c as customInspectSymbol } from './core.
|
|
2
|
-
import { i as intersection, d as difference, u as union,
|
|
3
|
-
import { t as t$
|
|
1
|
+
import { c as customInspectSymbol } from './core.DqlrMlsf.mjs';
|
|
2
|
+
import { i as intersection, d as difference, u as union, e as equals } from './core.DbfO90vF.mjs';
|
|
3
|
+
import { t as t$1 } from './core.BsSXS-_R.mjs';
|
|
4
4
|
import { e as e$1 } from './core.BKlholso.mjs';
|
|
5
|
-
import {
|
|
6
|
-
import { m as hierarchyLevel, g as commonAncestor, n as nameFromFqn, d as isSameHierarchy } from './core.
|
|
5
|
+
import { n as n$1 } from './core.BhNcrwzK.mjs';
|
|
6
|
+
import { m as hierarchyLevel, g as commonAncestor, n as nameFromFqn, d as isSameHierarchy } from './core.CdNCAwq7.mjs';
|
|
7
7
|
import { a as nonNullable, i as invariant } from './core.D4npX2q8.mjs';
|
|
8
|
-
import { m as memoizeProp } from './core.
|
|
9
|
-
import { e as exact, R as RichText } from './core.
|
|
8
|
+
import { m as memoizeProp } from './core.CLSZtnFh.mjs';
|
|
9
|
+
import { e as exact, R as RichText } from './core.BK-tI3Q3.mjs';
|
|
10
10
|
import { preferSummary, preferDescription } from '../types/_aux.mjs';
|
|
11
11
|
import { i as ihead } from './core.uFk_o9X6.mjs';
|
|
12
|
-
|
|
13
|
-
function t$1(t,n){let r=n.length-t.length;if(r===1){let[r,...i]=n;return t$2(r,{lazy:t,lazyArgs:i})}if(r===0){let r={lazy:t,lazyArgs:n};return Object.assign(t=>t$2(t,r),r)}throw Error(`Wrong number of arguments`)}
|
|
12
|
+
import { s as stringHash } from './core.oSV6SRfk.mjs';
|
|
14
13
|
|
|
15
14
|
function e(e){return e===``||e===void 0?true:Array.isArray(e)?e.length===0:Object.keys(e).length===0}
|
|
16
15
|
|
|
17
|
-
function t(...t){return t$
|
|
18
|
-
|
|
19
|
-
function n(...e){return t$1(r,e)}function r(){let t=new Set;return n=>t.has(n)?t$4:(t.add(n),{done:false,hasNext:true,next:n})}
|
|
16
|
+
function t(...t){return t$1(n,t)}function n(e,t){if(e===t||Object.is(e,t))return true;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return false;if(e instanceof Map&&t instanceof Map)return r(e,t);if(e instanceof Set&&t instanceof Set)return i(e,t);let n=Object.keys(e);if(n.length!==Object.keys(t).length)return false;for(let r of n){if(!Object.hasOwn(t,r))return false;let{[r]:n}=e,{[r]:i}=t;if(n!==i||!Object.is(n,i))return false}return true}function r(e,t){if(e.size!==t.size)return false;for(let[n,r]of e){let e=t.get(n);if(r!==e||!Object.is(r,e))return false}return true}function i(e,t){if(e.size!==t.size)return false;for(let n of e)if(!t.has(n))return false;return true}
|
|
20
17
|
|
|
21
18
|
class AbstractDeploymentElementModel {
|
|
22
19
|
/**
|
|
@@ -211,7 +208,7 @@ class DeploymentNodeModel extends AbstractDeploymentElementModel {
|
|
|
211
208
|
}
|
|
212
209
|
get tags() {
|
|
213
210
|
return memoizeProp(this, Symbol.for("tags"), () => {
|
|
214
|
-
return n([
|
|
211
|
+
return n$1([
|
|
215
212
|
...this.$node.tags ?? [],
|
|
216
213
|
...this.$model.$model.specification.deployments[this.kind]?.tags ?? []
|
|
217
214
|
]);
|
|
@@ -336,7 +333,7 @@ class DeployedInstanceModel extends AbstractDeploymentElementModel {
|
|
|
336
333
|
}
|
|
337
334
|
get tags() {
|
|
338
335
|
return memoizeProp(this, Symbol.for("tags"), () => {
|
|
339
|
-
return n([
|
|
336
|
+
return n$1([
|
|
340
337
|
...this.$instance.tags ?? [],
|
|
341
338
|
...this.element.tags
|
|
342
339
|
]);
|
|
@@ -782,4 +779,4 @@ const deploymentConnection = {
|
|
|
782
779
|
findConnectionsWithin: findConnectionsWithin
|
|
783
780
|
};
|
|
784
781
|
|
|
785
|
-
export { DeploymentConnectionModel as D, NestedElementOfDeployedInstanceModel as N, RelationshipsAccum as R, DeploymentNodeModel as a, DeployedInstanceModel as b, DeploymentRelationModel as c, deploymentConnection as d, e, findConnection as f, findConnectionsBetween as g, findConnectionsWithin as h,
|
|
782
|
+
export { DeploymentConnectionModel as D, NestedElementOfDeployedInstanceModel as N, RelationshipsAccum as R, DeploymentNodeModel as a, DeployedInstanceModel as b, DeploymentRelationModel as c, deploymentConnection as d, e, findConnection as f, findConnectionsBetween as g, findConnectionsWithin as h, t };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { a as t } from './core.BsSXS-_R.mjs';
|
|
2
|
-
import { i as invariant } from './core.D4npX2q8.mjs';
|
|
3
2
|
|
|
4
3
|
var set = {};
|
|
5
4
|
|
|
@@ -432,14 +431,4 @@ function hasIntersection(a, b) {
|
|
|
432
431
|
return false;
|
|
433
432
|
}
|
|
434
433
|
|
|
435
|
-
|
|
436
|
-
let hash = 5381;
|
|
437
|
-
const len = str.length;
|
|
438
|
-
invariant(len > 0, "stringHash: empty string");
|
|
439
|
-
for (let i = 0; i < len; i++) {
|
|
440
|
-
hash = hash * 33 ^ str.charCodeAt(i);
|
|
441
|
-
}
|
|
442
|
-
return (hash >>> 0).toString(36);
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
export { stringHash as a, difference as d, equals as e, hasIntersection as h, intersection as i, symmetricDifference as s, union as u };
|
|
434
|
+
export { difference as d, equals as e, hasIntersection as h, intersection as i, symmetricDifference as s, union as u };
|