@likec4/core 1.24.0 → 1.25.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 (34) hide show
  1. package/dist/builder/index.d.mts +2 -2
  2. package/dist/builder/index.d.ts +2 -2
  3. package/dist/builder/index.mjs +3 -3
  4. package/dist/compute-view/index.d.mts +3 -3
  5. package/dist/compute-view/index.d.ts +3 -3
  6. package/dist/compute-view/index.mjs +5 -5
  7. package/dist/index.d.mts +5 -4
  8. package/dist/index.d.ts +5 -4
  9. package/dist/index.mjs +5 -5
  10. package/dist/model/index.d.mts +3 -3
  11. package/dist/model/index.d.ts +3 -3
  12. package/dist/model/index.mjs +1 -1
  13. package/dist/shared/{core.k4jahJ8j.d.ts → core.B4fHpdUJ.d.ts} +1 -1
  14. package/dist/shared/{core.BreLKHbT.d.mts → core.B4wY1NqR.d.mts} +2 -1
  15. package/dist/shared/{core.3L0y_SNW.d.mts → core.C4dHhcrI.d.mts} +1 -1
  16. package/dist/shared/{core.gWObeLn9.mjs → core.CVZbbLy6.mjs} +6 -6
  17. package/dist/shared/{core.C9UbC1nX.d.ts → core.CWZqfEHX.d.ts} +2 -1
  18. package/dist/shared/{core.DbfQeUKm.d.mts → core.D1_bU4dO.d.mts} +1 -1
  19. package/dist/shared/{core.BNaXALvz.mjs → core.DCetokL7.mjs} +1 -1
  20. package/dist/shared/{core.FFJhmauw.mjs → core.DQMSDiu8.mjs} +4 -626
  21. package/dist/shared/{core.C92OYZca.mjs → core.DmBjVt1u.mjs} +1 -1
  22. package/dist/shared/{core.DBToPQ3n.d.ts → core.Dw2eQBtz.d.ts} +1 -1
  23. package/dist/types/index.d.mts +2 -2
  24. package/dist/types/index.d.ts +2 -2
  25. package/dist/types/index.mjs +1 -1
  26. package/dist/utils/index.d.mts +48 -25
  27. package/dist/utils/index.d.ts +48 -25
  28. package/dist/utils/index.mjs +1046 -3
  29. package/package.json +5 -5
  30. package/src/model/LikeC4Model.ts +1 -1
  31. package/src/types/index.ts +4 -0
  32. package/src/types/operators.ts +1 -1
  33. package/src/utils/index.ts +1 -0
  34. package/src/utils/mnemonist.ts +1 -0
@@ -195,129 +195,9 @@ function requireDefaultMap () {
195
195
  return defaultMap;
196
196
  }
197
197
 
198
- var defaultMapExports = requireDefaultMap();
198
+ var defaultMapExports = /*@__PURE__*/ requireDefaultMap();
199
199
  const DefaultMap = /*@__PURE__*/getDefaultExportFromCjs(defaultMapExports);
200
200
 
201
- /**
202
- * Mnemonist DefaultWeakMap
203
- * =========================
204
- *
205
- * JavaScript implementation of a default weak map that will return a constructed
206
- * value any time one tries to access an non-existing key. It is similar to
207
- * DefaultMap but uses ES6 WeakMap that only holds weak reference to keys.
208
- */
209
-
210
- var defaultWeakMap$1;
211
- var hasRequiredDefaultWeakMap;
212
-
213
- function requireDefaultWeakMap () {
214
- if (hasRequiredDefaultWeakMap) return defaultWeakMap$1;
215
- hasRequiredDefaultWeakMap = 1;
216
- /**
217
- * DefaultWeakMap.
218
- *
219
- * @constructor
220
- */
221
- function DefaultWeakMap(factory) {
222
- if (typeof factory !== 'function')
223
- throw new Error('mnemonist/DefaultWeakMap.constructor: expecting a function.');
224
-
225
- this.items = new WeakMap();
226
- this.factory = factory;
227
- }
228
-
229
- /**
230
- * Method used to clear the structure.
231
- *
232
- * @return {undefined}
233
- */
234
- DefaultWeakMap.prototype.clear = function() {
235
-
236
- // Properties
237
- this.items = new WeakMap();
238
- };
239
-
240
- /**
241
- * Method used to get the value set for given key. If the key does not exist,
242
- * the value will be created using the provided factory.
243
- *
244
- * @param {any} key - Target key.
245
- * @return {any}
246
- */
247
- DefaultWeakMap.prototype.get = function(key) {
248
- var value = this.items.get(key);
249
-
250
- if (typeof value === 'undefined') {
251
- value = this.factory(key);
252
- this.items.set(key, value);
253
- }
254
-
255
- return value;
256
- };
257
-
258
- /**
259
- * Method used to get the value set for given key. If the key does not exist,
260
- * a value won't be created.
261
- *
262
- * @param {any} key - Target key.
263
- * @return {any}
264
- */
265
- DefaultWeakMap.prototype.peek = function(key) {
266
- return this.items.get(key);
267
- };
268
-
269
- /**
270
- * Method used to set a value for given key.
271
- *
272
- * @param {any} key - Target key.
273
- * @param {any} value - Value.
274
- * @return {DefaultMap}
275
- */
276
- DefaultWeakMap.prototype.set = function(key, value) {
277
- this.items.set(key, value);
278
- return this;
279
- };
280
-
281
- /**
282
- * Method used to test the existence of a key in the map.
283
- *
284
- * @param {any} key - Target key.
285
- * @return {boolean}
286
- */
287
- DefaultWeakMap.prototype.has = function(key) {
288
- return this.items.has(key);
289
- };
290
-
291
- /**
292
- * Method used to delete target key.
293
- *
294
- * @param {any} key - Target key.
295
- * @return {boolean}
296
- */
297
- DefaultWeakMap.prototype.delete = function(key) {
298
- return this.items.delete(key);
299
- };
300
-
301
- /**
302
- * Convenience known methods.
303
- */
304
- DefaultWeakMap.prototype.inspect = function() {
305
- return this.items;
306
- };
307
-
308
- if (typeof Symbol !== 'undefined')
309
- DefaultWeakMap.prototype[Symbol.for('nodejs.util.inspect.custom')] = DefaultWeakMap.prototype.inspect;
310
-
311
- /**
312
- * Exporting.
313
- */
314
- defaultWeakMap$1 = DefaultWeakMap;
315
- return defaultWeakMap$1;
316
- }
317
-
318
- var defaultWeakMapExports = requireDefaultWeakMap();
319
- const defaultWeakMap = /*@__PURE__*/getDefaultExportFromCjs(defaultWeakMapExports);
320
-
321
201
  /**
322
202
  * Obliterator Iterator Class
323
203
  * ===========================
@@ -518,508 +398,6 @@ function requireForeach () {
518
398
  return foreach;
519
399
  }
520
400
 
521
- /**
522
- * Mnemonist Linked List
523
- * ======================
524
- *
525
- * Singly linked list implementation. Uses raw JavaScript objects as nodes
526
- * as benchmarks proved it was the fastest thing to do.
527
- */
528
-
529
- var linkedList$1;
530
- var hasRequiredLinkedList;
531
-
532
- function requireLinkedList () {
533
- if (hasRequiredLinkedList) return linkedList$1;
534
- hasRequiredLinkedList = 1;
535
- var Iterator = requireIterator(),
536
- forEach = requireForeach();
537
-
538
- /**
539
- * Linked List.
540
- *
541
- * @constructor
542
- */
543
- function LinkedList() {
544
- this.clear();
545
- }
546
-
547
- /**
548
- * Method used to clear the list.
549
- *
550
- * @return {undefined}
551
- */
552
- LinkedList.prototype.clear = function() {
553
-
554
- // Properties
555
- this.head = null;
556
- this.tail = null;
557
- this.size = 0;
558
- };
559
-
560
- /**
561
- * Method used to get the first item of the list.
562
- *
563
- * @return {any}
564
- */
565
- LinkedList.prototype.first = function() {
566
- return this.head ? this.head.item : undefined;
567
- };
568
- LinkedList.prototype.peek = LinkedList.prototype.first;
569
-
570
- /**
571
- * Method used to get the last item of the list.
572
- *
573
- * @return {any}
574
- */
575
- LinkedList.prototype.last = function() {
576
- return this.tail ? this.tail.item : undefined;
577
- };
578
-
579
- /**
580
- * Method used to add an item at the end of the list.
581
- *
582
- * @param {any} item - The item to add.
583
- * @return {number}
584
- */
585
- LinkedList.prototype.push = function(item) {
586
- var node = {item: item, next: null};
587
-
588
- if (!this.head) {
589
- this.head = node;
590
- this.tail = node;
591
- }
592
- else {
593
- this.tail.next = node;
594
- this.tail = node;
595
- }
596
-
597
- this.size++;
598
-
599
- return this.size;
600
- };
601
-
602
- /**
603
- * Method used to add an item at the beginning of the list.
604
- *
605
- * @param {any} item - The item to add.
606
- * @return {number}
607
- */
608
- LinkedList.prototype.unshift = function(item) {
609
- var node = {item: item, next: null};
610
-
611
- if (!this.head) {
612
- this.head = node;
613
- this.tail = node;
614
- }
615
- else {
616
- if (!this.head.next)
617
- this.tail = this.head;
618
- node.next = this.head;
619
- this.head = node;
620
- }
621
-
622
- this.size++;
623
-
624
- return this.size;
625
- };
626
-
627
- /**
628
- * Method used to retrieve & remove the first item of the list.
629
- *
630
- * @return {any}
631
- */
632
- LinkedList.prototype.shift = function() {
633
- if (!this.size)
634
- return undefined;
635
-
636
- var node = this.head;
637
-
638
- this.head = node.next;
639
- this.size--;
640
-
641
- return node.item;
642
- };
643
-
644
- /**
645
- * Method used to iterate over the list.
646
- *
647
- * @param {function} callback - Function to call for each item.
648
- * @param {object} scope - Optional scope.
649
- * @return {undefined}
650
- */
651
- LinkedList.prototype.forEach = function(callback, scope) {
652
- if (!this.size)
653
- return;
654
-
655
- scope = arguments.length > 1 ? scope : this;
656
-
657
- var n = this.head,
658
- i = 0;
659
-
660
- while (n) {
661
- callback.call(scope, n.item, i, this);
662
- n = n.next;
663
- i++;
664
- }
665
- };
666
-
667
- /**
668
- * Method used to convert the list into an array.
669
- *
670
- * @return {array}
671
- */
672
- LinkedList.prototype.toArray = function() {
673
- if (!this.size)
674
- return [];
675
-
676
- var array = new Array(this.size);
677
-
678
- for (var i = 0, l = this.size, n = this.head; i < l; i++) {
679
- array[i] = n.item;
680
- n = n.next;
681
- }
682
-
683
- return array;
684
- };
685
-
686
- /**
687
- * Method used to create an iterator over a list's values.
688
- *
689
- * @return {Iterator}
690
- */
691
- LinkedList.prototype.values = function() {
692
- var n = this.head;
693
-
694
- return new Iterator(function() {
695
- if (!n)
696
- return {
697
- done: true
698
- };
699
-
700
- var value = n.item;
701
- n = n.next;
702
-
703
- return {
704
- value: value,
705
- done: false
706
- };
707
- });
708
- };
709
-
710
- /**
711
- * Method used to create an iterator over a list's entries.
712
- *
713
- * @return {Iterator}
714
- */
715
- LinkedList.prototype.entries = function() {
716
- var n = this.head,
717
- i = 0;
718
-
719
- return new Iterator(function() {
720
- if (!n)
721
- return {
722
- done: true
723
- };
724
-
725
- var value = n.item;
726
- n = n.next;
727
- i++;
728
-
729
- return {
730
- value: [i - 1, value],
731
- done: false
732
- };
733
- });
734
- };
735
-
736
- /**
737
- * Attaching the #.values method to Symbol.iterator if possible.
738
- */
739
- if (typeof Symbol !== 'undefined')
740
- LinkedList.prototype[Symbol.iterator] = LinkedList.prototype.values;
741
-
742
- /**
743
- * Convenience known methods.
744
- */
745
- LinkedList.prototype.toString = function() {
746
- return this.toArray().join(',');
747
- };
748
-
749
- LinkedList.prototype.toJSON = function() {
750
- return this.toArray();
751
- };
752
-
753
- LinkedList.prototype.inspect = function() {
754
- var array = this.toArray();
755
-
756
- // Trick so that node displays the name of the constructor
757
- Object.defineProperty(array, 'constructor', {
758
- value: LinkedList,
759
- enumerable: false
760
- });
761
-
762
- return array;
763
- };
764
-
765
- if (typeof Symbol !== 'undefined')
766
- LinkedList.prototype[Symbol.for('nodejs.util.inspect.custom')] = LinkedList.prototype.inspect;
767
-
768
- /**
769
- * Static @.from function taking an arbitrary iterable & converting it into
770
- * a list.
771
- *
772
- * @param {Iterable} iterable - Target iterable.
773
- * @return {LinkedList}
774
- */
775
- LinkedList.from = function(iterable) {
776
- var list = new LinkedList();
777
-
778
- forEach(iterable, function(value) {
779
- list.push(value);
780
- });
781
-
782
- return list;
783
- };
784
-
785
- /**
786
- * Exporting.
787
- */
788
- linkedList$1 = LinkedList;
789
- return linkedList$1;
790
- }
791
-
792
- var linkedListExports = requireLinkedList();
793
- const linkedList = /*@__PURE__*/getDefaultExportFromCjs(linkedListExports);
794
-
795
- /**
796
- * Mnemonist Queue
797
- * ================
798
- *
799
- * Queue implementation based on the ideas of Queue.js that seems to beat
800
- * a LinkedList one in performance.
801
- */
802
-
803
- var queue$1;
804
- var hasRequiredQueue;
805
-
806
- function requireQueue () {
807
- if (hasRequiredQueue) return queue$1;
808
- hasRequiredQueue = 1;
809
- var Iterator = requireIterator(),
810
- forEach = requireForeach();
811
-
812
- /**
813
- * Queue
814
- *
815
- * @constructor
816
- */
817
- function Queue() {
818
- this.clear();
819
- }
820
-
821
- /**
822
- * Method used to clear the queue.
823
- *
824
- * @return {undefined}
825
- */
826
- Queue.prototype.clear = function() {
827
-
828
- // Properties
829
- this.items = [];
830
- this.offset = 0;
831
- this.size = 0;
832
- };
833
-
834
- /**
835
- * Method used to add an item to the queue.
836
- *
837
- * @param {any} item - Item to enqueue.
838
- * @return {number}
839
- */
840
- Queue.prototype.enqueue = function(item) {
841
-
842
- this.items.push(item);
843
- return ++this.size;
844
- };
845
-
846
- /**
847
- * Method used to retrieve & remove the first item of the queue.
848
- *
849
- * @return {any}
850
- */
851
- Queue.prototype.dequeue = function() {
852
- if (!this.size)
853
- return;
854
-
855
- var item = this.items[this.offset];
856
-
857
- if (++this.offset * 2 >= this.items.length) {
858
- this.items = this.items.slice(this.offset);
859
- this.offset = 0;
860
- }
861
-
862
- this.size--;
863
-
864
- return item;
865
- };
866
-
867
- /**
868
- * Method used to retrieve the first item of the queue.
869
- *
870
- * @return {any}
871
- */
872
- Queue.prototype.peek = function() {
873
- if (!this.size)
874
- return;
875
-
876
- return this.items[this.offset];
877
- };
878
-
879
- /**
880
- * Method used to iterate over the queue.
881
- *
882
- * @param {function} callback - Function to call for each item.
883
- * @param {object} scope - Optional scope.
884
- * @return {undefined}
885
- */
886
- Queue.prototype.forEach = function(callback, scope) {
887
- scope = arguments.length > 1 ? scope : this;
888
-
889
- for (var i = this.offset, j = 0, l = this.items.length; i < l; i++, j++)
890
- callback.call(scope, this.items[i], j, this);
891
- };
892
-
893
- /*
894
- * Method used to convert the queue to a JavaScript array.
895
- *
896
- * @return {array}
897
- */
898
- Queue.prototype.toArray = function() {
899
- return this.items.slice(this.offset);
900
- };
901
-
902
- /**
903
- * Method used to create an iterator over a queue's values.
904
- *
905
- * @return {Iterator}
906
- */
907
- Queue.prototype.values = function() {
908
- var items = this.items,
909
- i = this.offset;
910
-
911
- return new Iterator(function() {
912
- if (i >= items.length)
913
- return {
914
- done: true
915
- };
916
-
917
- var value = items[i];
918
- i++;
919
-
920
- return {
921
- value: value,
922
- done: false
923
- };
924
- });
925
- };
926
-
927
- /**
928
- * Method used to create an iterator over a queue's entries.
929
- *
930
- * @return {Iterator}
931
- */
932
- Queue.prototype.entries = function() {
933
- var items = this.items,
934
- i = this.offset,
935
- j = 0;
936
-
937
- return new Iterator(function() {
938
- if (i >= items.length)
939
- return {
940
- done: true
941
- };
942
-
943
- var value = items[i];
944
- i++;
945
-
946
- return {
947
- value: [j++, value],
948
- done: false
949
- };
950
- });
951
- };
952
-
953
- /**
954
- * Attaching the #.values method to Symbol.iterator if possible.
955
- */
956
- if (typeof Symbol !== 'undefined')
957
- Queue.prototype[Symbol.iterator] = Queue.prototype.values;
958
-
959
- /**
960
- * Convenience known methods.
961
- */
962
- Queue.prototype.toString = function() {
963
- return this.toArray().join(',');
964
- };
965
-
966
- Queue.prototype.toJSON = function() {
967
- return this.toArray();
968
- };
969
-
970
- Queue.prototype.inspect = function() {
971
- var array = this.toArray();
972
-
973
- // Trick so that node displays the name of the constructor
974
- Object.defineProperty(array, 'constructor', {
975
- value: Queue,
976
- enumerable: false
977
- });
978
-
979
- return array;
980
- };
981
-
982
- if (typeof Symbol !== 'undefined')
983
- Queue.prototype[Symbol.for('nodejs.util.inspect.custom')] = Queue.prototype.inspect;
984
-
985
- /**
986
- * Static @.from function taking an arbitrary iterable & converting it into
987
- * a queue.
988
- *
989
- * @param {Iterable} iterable - Target iterable.
990
- * @return {Queue}
991
- */
992
- Queue.from = function(iterable) {
993
- var queue = new Queue();
994
-
995
- forEach(iterable, function(value) {
996
- queue.enqueue(value);
997
- });
998
-
999
- return queue;
1000
- };
1001
-
1002
- /**
1003
- * Static @.of function taking an arbitrary number of arguments & converting it
1004
- * into a queue.
1005
- *
1006
- * @param {...any} args
1007
- * @return {Queue}
1008
- */
1009
- Queue.of = function() {
1010
- return Queue.from(arguments);
1011
- };
1012
-
1013
- /**
1014
- * Exporting.
1015
- */
1016
- queue$1 = Queue;
1017
- return queue$1;
1018
- }
1019
-
1020
- var queueExports = requireQueue();
1021
- const queue = /*@__PURE__*/getDefaultExportFromCjs(queueExports);
1022
-
1023
401
  var set = {};
1024
402
 
1025
403
  /**
@@ -1388,7 +766,7 @@ function requireSet () {
1388
766
  return set;
1389
767
  }
1390
768
 
1391
- var setExports = requireSet();
769
+ var setExports = /*@__PURE__*/ requireSet();
1392
770
 
1393
771
  /**
1394
772
  * Mnemonist Stack
@@ -1610,7 +988,7 @@ function requireStack () {
1610
988
  return stack;
1611
989
  }
1612
990
 
1613
- var stackExports = requireStack();
991
+ var stackExports = /*@__PURE__*/ requireStack();
1614
992
  const Stack = /*@__PURE__*/getDefaultExportFromCjs(stackExports);
1615
993
 
1616
994
  function commonHead(sources, targets, equals) {
@@ -2075,4 +1453,4 @@ function requireObject_hash () {
2075
1453
  var object_hashExports = requireObject_hash();
2076
1454
  const objectHash = /*@__PURE__*/getDefaultExportFromCjs(object_hashExports);
2077
1455
 
2078
- export { n as $, getOrCreate as A, isNonEmptyArray as B, isString as C, DefaultMap as D, ifilter as E, iflat as F, imap as G, isIterable as H, isome as I, iunique as J, toArray as K, difference as L, equals as M, intersection as N, symmetricDifference as O, union as P, stringHash as Q, objectHash as R, Stack as S, C as T, s as U, a as V, getDefaultExportFromCjs as W, requireForeach as X, requireIterator as Y, u as Z, d as _, i$1 as a, hasIntersection as a0, t$1 as b, isSameHierarchy as c, t as d, defaultWeakMap as e, linkedList as f, commonHead as g, compareNatural as h, ifind as i, ancestorsFqn as j, commonAncestor as k, l, m, nameFromFqn as n, compareByFqnHierarchically as o, parentFqn as p, queue as q, compareFqnHierarchically as r, hierarchyDistance as s, toSet as t, hierarchyLevel as u, isAncestor as v, isDescendantOf as w, sortByFqnHierarchically as x, sortNaturalByFqn as y, sortParentsFirst as z };
1456
+ export { ifilter as A, iflat as B, imap as C, DefaultMap as D, isIterable as E, isome as F, iunique as G, toArray as H, difference as I, equals as J, intersection as K, symmetricDifference as L, union as M, stringHash as N, objectHash as O, C as P, s as Q, a as R, Stack as S, getDefaultExportFromCjs as T, requireForeach as U, requireIterator as V, u as W, d as X, n as Y, hasIntersection as Z, i$1 as a, t$1 as b, isSameHierarchy as c, t as d, commonHead as e, compareNatural as f, ancestorsFqn as g, commonAncestor as h, ifind as i, compareByFqnHierarchically as j, compareFqnHierarchically as k, l, m, nameFromFqn as n, hierarchyDistance as o, parentFqn as p, hierarchyLevel as q, isAncestor as r, isDescendantOf as s, toSet as t, sortByFqnHierarchically as u, sortNaturalByFqn as v, sortParentsFirst as w, getOrCreate as x, isNonEmptyArray as y, isString as z };
@@ -1,4 +1,4 @@
1
- import { t as toSet, i as ifind } from './core.FFJhmauw.mjs';
1
+ import { t as toSet, i as ifind } from './core.DQMSDiu8.mjs';
2
2
 
3
3
  function computeRelationshipsView(subjectId, likec4model) {
4
4
  const subject = likec4model.element(subjectId);
@@ -1,4 +1,4 @@
1
- import { L as LikeC4Model, E as ElementModel, R as RelationshipModel } from './core.k4jahJ8j.js';
1
+ import { L as LikeC4Model, E as ElementModel, R as RelationshipModel } from './core.B4fHpdUJ.js';
2
2
  import { F as Fqn } from './core.Bhx0OGK8.js';
3
3
 
4
4
  declare function computeRelationshipsView(subjectId: Fqn, likec4model: LikeC4Model): {
@@ -1,7 +1,7 @@
1
1
  import { X as XYPoint, N as NonEmptyArray, P as Point, k as BorderStyle, o as ElementShape, O as ThemeColor, F as Fqn } from '../shared/core.Bhx0OGK8.mjs';
2
2
  export { A as AsFqn, B as BorderStyles, w as Color, x as ColorLiteral, C as CustomColor, D as DefaultElementShape, e as DefaultPaddingSize, f as DefaultShapeSize, g as DefaultTextSize, h as DefaultThemeColor, l as Element, i as ElementKind, m as ElementKindSpecification, n as ElementKindSpecificationStyle, j as ElementShapes, p as ElementStyle, z as ElementThemeColorValues, y as ElementThemeColors, E as ExclusiveUnion, H as HexColorLiteral, I as IconUrl, a as IteratorLike, K as KeysOf, L as LikeC4Theme, q as Link, c as NTuple, b as NonEmptyReadonlyArray, d as Predicate, G as RelationshipThemeColorValues, R as RelationshipThemeColors, S as ShapeSize, J as SpacingSize, r as Tag, s as TagSpec, M as TextSize, T as ThemeColorValues, v as ThemeColors, t as TypedElement, u as isThemeColor } from '../shared/core.Bhx0OGK8.mjs';
3
- import { bk as ViewId, aW as BBox, bl as ViewManualLayout, aT as AutoLayoutDirection } from '../shared/core.BreLKHbT.mjs';
4
- export { as as AbstractRelation, ag as AndOperator, a5 as AnyParsedLikeC4Model, aU as BasicElementView, aV as BasicView, aX as ComputedDeploymentView, aY as ComputedDynamicView, aZ as ComputedEdge, a_ as ComputedElementView, C as ComputedLikeC4Model, az as ComputedNode, a as ComputedView, a$ as CustomColorDefinitions, A as CustomElementExpr, B as CustomRelationExpr, ap as DefaultArrowType, aq as DefaultLineStyle, ar as DefaultRelationshipColor, b as DeployedInstance, D as DeploymentElement, c as DeploymentElementStyle, d as DeploymentNode, f as DeploymentNodeKind, g as DeploymentNodeKindSpecification, h as DeploymentRef, i as DeploymentRelation, b0 as DeploymentView, b1 as DeploymentViewRule, b2 as DeploymentViewRulePredicate, b3 as DeploymentViewRuleStyle, b4 as DiagramEdge, aA as DiagramNode, b5 as DiagramView, E as DirectRelationExpr, b6 as DynamicView, b7 as DynamicViewIncludeRule, b8 as DynamicViewParallelSteps, b9 as DynamicViewRule, ba as DynamicViewStep, bb as DynamicViewStepOrParallel, bc as EdgeId, F as ElementExpression, G as ElementKindExpr, bw as ElementNotation, H as ElementPredicateExpression, I as ElementRefExpr, J as ElementTagExpr, bd as ElementView, K as ElementWhereExpr, ah as EqualOperator, M as ExpandedElementExpr, N as Expression, X as ExpressionV2, be as ExtendsElementView, ai as Filterable, Y as FqnExpr, Z as FqnRef, a6 as GenericLikeC4Model, $ as GlobalDynamicPredicates, a0 as GlobalPredicateId, a1 as GlobalPredicates, a2 as GlobalStyleID, a3 as GlobalStyles, Q as InOutExpr, O as IncomingExpr, aj as KindEqual, a7 as LayoutedLikeC4Model, a8 as LikeC4ModelDump, L as LikeC4View, a4 as ModelGlobals, at as ModelRelation, bf as NodeId, R as NonWilcard, ak as NotOperator, al as OperatorPredicate, am as OrOperator, S as OutgoingExpr, a9 as ParsedLikeC4Model, P as PredicateSelector, _ as RelationExpr, T as RelationExpression, au as RelationId, U as RelationPredicateExpression, V as RelationWhereExpr, av as RelationshipArrowType, aw as RelationshipKind, ax as RelationshipKindSpecification, ay as RelationshipLineType, bg as ScopedElementView, bh as StepEdgeId, bi as StepEdgeIdLiteral, an as TagEqual, bj as ViewAutoLayout, bm as ViewRule, bn as ViewRuleAutoLayout, bo as ViewRuleGlobalPredicateRef, bp as ViewRuleGlobalStyle, bq as ViewRuleGroup, br as ViewRulePredicate, bs as ViewRuleStyle, bt as ViewRuleStyleOrGlobalRef, bu as ViewWithHash, bv as ViewWithNotation, ao as WhereOperator, W as WildcardExpr, aB as extractStep, aC as getBBoxCenter, aD as getParallelStepsPrefix, aa as isAndOperator, aE as isAutoLayoutDirection, j as isCustomElement, k as isCustomRelationExpr, aF as isDeploymentView, aG as isDynamicView, aH as isDynamicViewParallelSteps, l as isElement, m as isElementKindExpr, n as isElementPredicateExpr, o as isElementRef, p as isElementTagExpr, aI as isElementView, q as isElementWhere, r as isExpandedElementExpr, aJ as isExtendsElementView, t as isInOut, s as isIncoming, ab as isKindEqual, ac as isNotOperator, ad as isOrOperator, u as isOutgoing, v as isRelation, w as isRelationExpression, x as isRelationPredicateExpr, y as isRelationWhere, aK as isScopedElementView, aL as isStepEdgeId, ae as isTagEqual, aM as isViewRuleAutoLayout, aN as isViewRuleGlobalPredicateRef, aO as isViewRuleGlobalStyle, aP as isViewRuleGroup, aQ as isViewRulePredicate, aR as isViewRuleStyle, z as isWildcard, aS as stepEdgeId, af as whereOperatorAsPredicate } from '../shared/core.BreLKHbT.mjs';
3
+ import { bo as ViewId, a_ as BBox, bp as ViewManualLayout, aX as AutoLayoutDirection } from '../shared/core.B4wY1NqR.mjs';
4
+ export { aw as AbstractRelation, ah as AllNever, ai as AndOperator, a5 as AnyParsedLikeC4Model, aY as BasicElementView, aZ as BasicView, a$ as ComputedDeploymentView, b0 as ComputedDynamicView, b1 as ComputedEdge, b2 as ComputedElementView, C as ComputedLikeC4Model, aD as ComputedNode, a as ComputedView, b3 as CustomColorDefinitions, A as CustomElementExpr, B as CustomRelationExpr, at as DefaultArrowType, au as DefaultLineStyle, av as DefaultRelationshipColor, b as DeployedInstance, D as DeploymentElement, c as DeploymentElementStyle, d as DeploymentNode, f as DeploymentNodeKind, g as DeploymentNodeKindSpecification, h as DeploymentRef, i as DeploymentRelation, b4 as DeploymentView, b5 as DeploymentViewRule, b6 as DeploymentViewRulePredicate, b7 as DeploymentViewRuleStyle, b8 as DiagramEdge, aE as DiagramNode, b9 as DiagramView, E as DirectRelationExpr, ba as DynamicView, bb as DynamicViewIncludeRule, bc as DynamicViewParallelSteps, bd as DynamicViewRule, be as DynamicViewStep, bf as DynamicViewStepOrParallel, bg as EdgeId, F as ElementExpression, G as ElementKindExpr, bA as ElementNotation, H as ElementPredicateExpression, I as ElementRefExpr, J as ElementTagExpr, bh as ElementView, K as ElementWhereExpr, aj as EqualOperator, M as ExpandedElementExpr, N as Expression, X as ExpressionV2, bi as ExtendsElementView, ak as Filterable, Y as FqnExpr, Z as FqnRef, a6 as GenericLikeC4Model, $ as GlobalDynamicPredicates, a0 as GlobalPredicateId, a1 as GlobalPredicates, a2 as GlobalStyleID, a3 as GlobalStyles, Q as InOutExpr, O as IncomingExpr, al as KindEqual, a7 as LayoutedLikeC4Model, a8 as LikeC4ModelDump, L as LikeC4View, a4 as ModelGlobals, ax as ModelRelation, bj as NodeId, R as NonWilcard, am as NotOperator, an as OperatorPredicate, ao as OrOperator, S as OutgoingExpr, a9 as ParsedLikeC4Model, ap as Participant, aq as ParticipantOperator, P as PredicateSelector, _ as RelationExpr, T as RelationExpression, ay as RelationId, U as RelationPredicateExpression, V as RelationWhereExpr, az as RelationshipArrowType, aA as RelationshipKind, aB as RelationshipKindSpecification, aC as RelationshipLineType, bk as ScopedElementView, bl as StepEdgeId, bm as StepEdgeIdLiteral, ar as TagEqual, bn as ViewAutoLayout, bq as ViewRule, br as ViewRuleAutoLayout, bs as ViewRuleGlobalPredicateRef, bt as ViewRuleGlobalStyle, bu as ViewRuleGroup, bv as ViewRulePredicate, bw as ViewRuleStyle, bx as ViewRuleStyleOrGlobalRef, by as ViewWithHash, bz as ViewWithNotation, as as WhereOperator, W as WildcardExpr, aF as extractStep, aG as getBBoxCenter, aH as getParallelStepsPrefix, aa as isAndOperator, aI as isAutoLayoutDirection, j as isCustomElement, k as isCustomRelationExpr, aJ as isDeploymentView, aK as isDynamicView, aL as isDynamicViewParallelSteps, l as isElement, m as isElementKindExpr, n as isElementPredicateExpr, o as isElementRef, p as isElementTagExpr, aM as isElementView, q as isElementWhere, r as isExpandedElementExpr, aN as isExtendsElementView, t as isInOut, s as isIncoming, ab as isKindEqual, ac as isNotOperator, ad as isOrOperator, u as isOutgoing, ae as isParticipantOperator, v as isRelation, w as isRelationExpression, x as isRelationPredicateExpr, y as isRelationWhere, aO as isScopedElementView, aP as isStepEdgeId, af as isTagEqual, aQ as isViewRuleAutoLayout, aR as isViewRuleGlobalPredicateRef, aS as isViewRuleGlobalStyle, aT as isViewRuleGroup, aU as isViewRulePredicate, aV as isViewRuleStyle, z as isWildcard, aW as stepEdgeId, ag as whereOperatorAsPredicate } from '../shared/core.B4wY1NqR.mjs';
5
5
  import 'type-fest';
6
6
 
7
7
  /**