@likec4/core 1.47.0 → 1.49.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 (152) hide show
  1. package/LICENSE +1 -1
  2. package/dist/THIRD-PARTY-LICENSES.md +1012 -0
  3. package/dist/_chunks/Builder.view-element.mjs +2 -0
  4. package/dist/_chunks/LikeC4Model.d.mts +1283 -0
  5. package/dist/_chunks/RichText.mjs +1 -0
  6. package/dist/_chunks/_types.d.mts +777 -0
  7. package/dist/_chunks/_types2.d.mts +36 -0
  8. package/dist/_chunks/assignTagColors.mjs +1 -0
  9. package/dist/_chunks/calcDriftsFromSnapshot.mjs +1 -0
  10. package/dist/_chunks/guards.d.mts +2026 -0
  11. package/dist/_chunks/guards.mjs +4 -0
  12. package/dist/_chunks/index.d.mts +288 -0
  13. package/dist/_chunks/libs/@mantine/colors-generator.mjs +15 -0
  14. package/dist/_chunks/libs/@radix-ui/colors.mjs +1 -0
  15. package/dist/_chunks/libs/@ungap/structured-clone.mjs +1 -0
  16. package/dist/_chunks/libs/bail.mjs +1 -0
  17. package/dist/_chunks/libs/ccount.mjs +1 -0
  18. package/dist/_chunks/libs/character-entities-html4.mjs +1 -0
  19. package/dist/_chunks/libs/character-entities-legacy.mjs +1 -0
  20. package/dist/_chunks/libs/character-entities.mjs +2 -0
  21. package/dist/_chunks/libs/comma-separated-tokens.mjs +1 -0
  22. package/dist/_chunks/libs/decode-named-character-reference.mjs +1 -0
  23. package/dist/_chunks/libs/defu.mjs +1 -0
  24. package/dist/_chunks/libs/devlop.mjs +1 -0
  25. package/dist/_chunks/libs/escape-string-regexp.mjs +1 -0
  26. package/dist/_chunks/libs/extend.mjs +1 -0
  27. package/dist/_chunks/libs/graphology-dag.mjs +1 -0
  28. package/dist/_chunks/libs/graphology.mjs +1 -0
  29. package/dist/_chunks/libs/hast-util-sanitize.mjs +1 -0
  30. package/dist/_chunks/libs/hast-util-to-html.mjs +9 -0
  31. package/dist/_chunks/libs/is-plain-obj.mjs +1 -0
  32. package/dist/_chunks/libs/longest-streak.mjs +1 -0
  33. package/dist/_chunks/libs/markdown-table.mjs +2 -0
  34. package/dist/_chunks/libs/mdast-util-find-and-replace.mjs +1 -0
  35. package/dist/_chunks/libs/mdast-util-from-markdown.mjs +3 -0
  36. package/dist/_chunks/libs/mdast-util-gfm.mjs +15 -0
  37. package/dist/_chunks/libs/mdast-util-to-hast.mjs +11 -0
  38. package/dist/_chunks/libs/micromark-extension-gfm.mjs +1 -0
  39. package/dist/_chunks/libs/mnemonist.d.mts +164 -0
  40. package/dist/_chunks/libs/mnemonist.mjs +1 -0
  41. package/dist/_chunks/libs/natural-compare-lite.mjs +9 -0
  42. package/dist/_chunks/libs/ohash.mjs +1 -0
  43. package/dist/_chunks/libs/rehype-sanitize.mjs +1 -0
  44. package/dist/_chunks/libs/rehype-stringify.mjs +1 -0
  45. package/dist/_chunks/libs/remark-gfm.mjs +1 -0
  46. package/dist/_chunks/libs/remark-github-blockquote-alert.mjs +3 -0
  47. package/dist/_chunks/libs/remark-parse.mjs +1 -0
  48. package/dist/_chunks/libs/remark-rehype.mjs +1 -0
  49. package/dist/_chunks/libs/remeda.mjs +1 -0
  50. package/dist/_chunks/libs/trough.mjs +1 -0
  51. package/dist/_chunks/libs/unified.mjs +1 -0
  52. package/dist/_chunks/rolldown-runtime.mjs +1 -0
  53. package/dist/_chunks/theme.d.mts +148 -0
  54. package/dist/_chunks/to-text.d.mts +404 -0
  55. package/dist/_chunks/to-text.mjs +1 -0
  56. package/dist/_chunks/vector.d.mts +198 -0
  57. package/dist/_chunks/vector.mjs +1 -0
  58. package/dist/builder/index.d.mts +5 -775
  59. package/dist/builder/index.mjs +1 -1053
  60. package/dist/compute-view/index.d.mts +156 -56
  61. package/dist/compute-view/index.mjs +2 -229
  62. package/dist/geometry/index.d.mts +2 -109
  63. package/dist/geometry/index.mjs +1 -328
  64. package/dist/index.d.mts +14 -20
  65. package/dist/index.mjs +1 -18
  66. package/dist/model/index.d.mts +5 -57
  67. package/dist/model/index.mjs +1 -4
  68. package/dist/styles/index.d.mts +3 -117
  69. package/dist/styles/index.mjs +1 -63
  70. package/dist/types/index.d.mts +3 -47
  71. package/dist/types/index.mjs +1 -17
  72. package/dist/utils/graphology/index.d.mts +2 -1864
  73. package/dist/utils/graphology/index.mjs +1 -1
  74. package/dist/utils/index.d.mts +4 -124
  75. package/dist/utils/index.mjs +1 -44
  76. package/package.json +20 -24
  77. package/compute-view/relationships/package.json +0 -4
  78. package/dist/compute-view/relationships-view/index.d.mts +0 -51
  79. package/dist/compute-view/relationships-view/index.mjs +0 -185
  80. package/dist/model/connection/deployment/index.d.mts +0 -15
  81. package/dist/model/connection/deployment/index.mjs +0 -2
  82. package/dist/model/connection/index.d.mts +0 -75
  83. package/dist/model/connection/index.mjs +0 -3
  84. package/dist/model/connection/model/index.d.mts +0 -15
  85. package/dist/model/connection/model/index.mjs +0 -2
  86. package/dist/shared/core.3ZhnKAlZ.mjs +0 -106
  87. package/dist/shared/core.78IWAHAE.mjs +0 -332
  88. package/dist/shared/core.B85MJLTf.mjs +0 -5
  89. package/dist/shared/core.BFd1lU9R.mjs +0 -29
  90. package/dist/shared/core.BKlholso.mjs +0 -3
  91. package/dist/shared/core.BNN-3vPH.mjs +0 -1255
  92. package/dist/shared/core.BPGOjone.d.mts +0 -46
  93. package/dist/shared/core.BP_QHEXs.mjs +0 -785
  94. package/dist/shared/core.BbE4y-yl.mjs +0 -177
  95. package/dist/shared/core.Bdy3hhTc.mjs +0 -28382
  96. package/dist/shared/core.BfCKSW-g.d.mts +0 -1266
  97. package/dist/shared/core.BhNcrwzK.mjs +0 -7
  98. package/dist/shared/core.BkVA6gjl.mjs +0 -5
  99. package/dist/shared/core.BoYfZOBm.mjs +0 -3
  100. package/dist/shared/core.BsSXS-_R.mjs +0 -7
  101. package/dist/shared/core.C3JowhaZ.mjs +0 -32
  102. package/dist/shared/core.C4x8aaWa.mjs +0 -27
  103. package/dist/shared/core.CAgYpDtM.d.mts +0 -98
  104. package/dist/shared/core.CHf8VEa3.mjs +0 -1206
  105. package/dist/shared/core.CLSZtnFh.mjs +0 -69
  106. package/dist/shared/core.C_3y3eqV.d.mts +0 -139
  107. package/dist/shared/core.CbT8JVYL.mjs +0 -5
  108. package/dist/shared/core.CdNCAwq7.mjs +0 -176
  109. package/dist/shared/core.CmGY9blO.mjs +0 -6717
  110. package/dist/shared/core.CmPXpJ8l.mjs +0 -21
  111. package/dist/shared/core.Coi_LOUZ.mjs +0 -7
  112. package/dist/shared/core.CqAJJpK_.mjs +0 -3
  113. package/dist/shared/core.CywrQs86.d.mts +0 -31
  114. package/dist/shared/core.D00YbOhQ.d.mts +0 -300
  115. package/dist/shared/core.D0WZutNd.mjs +0 -94
  116. package/dist/shared/core.D4npX2q8.mjs +0 -18
  117. package/dist/shared/core.DB0Ue5Wx.d.mts +0 -70
  118. package/dist/shared/core.DC5IAaDT.d.mts +0 -334
  119. package/dist/shared/core.DE9qzhn8.d.mts +0 -83
  120. package/dist/shared/core.DGcIbsj4.mjs +0 -3946
  121. package/dist/shared/core.DH7TXqXf.mjs +0 -136
  122. package/dist/shared/core.DKhRkHRN.d.mts +0 -41
  123. package/dist/shared/core.DRJma0Ol.mjs +0 -22
  124. package/dist/shared/core.DU5SRqNF.mjs +0 -2209
  125. package/dist/shared/core.DXhDWKFZ.d.mts +0 -3
  126. package/dist/shared/core.DbfO90vF.mjs +0 -434
  127. package/dist/shared/core.DcS-0zys.mjs +0 -10
  128. package/dist/shared/core.Dh119QSP.mjs +0 -4995
  129. package/dist/shared/core.DjcWextK.mjs +0 -1371
  130. package/dist/shared/core.Dojz4bvg.d.mts +0 -504
  131. package/dist/shared/core.FZ305VYd.mjs +0 -21
  132. package/dist/shared/core.OtRNdMxy.d.mts +0 -352
  133. package/dist/shared/core.RfnaEmgA.mjs +0 -7
  134. package/dist/shared/core.btEq3i3f.mjs +0 -300
  135. package/dist/shared/core.oSV6SRfk.mjs +0 -13
  136. package/dist/shared/core.om36dXXW.mjs +0 -41
  137. package/dist/shared/core.osFs8tU7.d.mts +0 -466
  138. package/dist/shared/core.q10OP9oJ.mjs +0 -5
  139. package/dist/shared/core.tpvDGvdC.d.mts +0 -87
  140. package/dist/shared/core.uFk_o9X6.mjs +0 -13
  141. package/dist/types/_aux.d.mts +0 -4
  142. package/dist/types/_aux.mjs +0 -8
  143. package/dist/types/expression-model.d.mts +0 -190
  144. package/dist/types/expression-model.mjs +0 -109
  145. package/dist/types/expression.d.mts +0 -6
  146. package/dist/types/expression.mjs +0 -113
  147. package/dist/types/fqnRef.d.mts +0 -60
  148. package/dist/types/fqnRef.mjs +0 -45
  149. package/dist/types/scalar.d.mts +0 -2
  150. package/dist/types/scalar.mjs +0 -4
  151. package/dist/utils/iterable/index.d.mts +0 -132
  152. package/dist/utils/iterable/index.mjs +0 -62
@@ -1,177 +0,0 @@
1
- import { g as getDefaultExportFromCjs } from './core.B85MJLTf.mjs';
2
-
3
- /**
4
- * Mnemonist DefaultMap
5
- * =====================
6
- *
7
- * JavaScript implementation of a default map that will return a constructed
8
- * value any time one tries to access an inexisting key. It's quite similar
9
- * to python's defaultdict.
10
- */
11
-
12
- var defaultMap;
13
- var hasRequiredDefaultMap;
14
-
15
- function requireDefaultMap () {
16
- if (hasRequiredDefaultMap) return defaultMap;
17
- hasRequiredDefaultMap = 1;
18
- /**
19
- * DefaultMap.
20
- *
21
- * @constructor
22
- */
23
- function DefaultMap(factory) {
24
- if (typeof factory !== 'function')
25
- throw new Error('mnemonist/DefaultMap.constructor: expecting a function.');
26
-
27
- this.items = new Map();
28
- this.factory = factory;
29
- this.size = 0;
30
- }
31
-
32
- /**
33
- * Method used to clear the structure.
34
- *
35
- * @return {undefined}
36
- */
37
- DefaultMap.prototype.clear = function() {
38
-
39
- // Properties
40
- this.items.clear();
41
- this.size = 0;
42
- };
43
-
44
- /**
45
- * Method used to get the value set for given key. If the key does not exist,
46
- * the value will be created using the provided factory.
47
- *
48
- * @param {any} key - Target key.
49
- * @return {any}
50
- */
51
- DefaultMap.prototype.get = function(key) {
52
- var value = this.items.get(key);
53
-
54
- if (typeof value === 'undefined') {
55
- value = this.factory(key, this.size);
56
- this.items.set(key, value);
57
- this.size++;
58
- }
59
-
60
- return value;
61
- };
62
-
63
- /**
64
- * Method used to get the value set for given key. If the key does not exist,
65
- * a value won't be created.
66
- *
67
- * @param {any} key - Target key.
68
- * @return {any}
69
- */
70
- DefaultMap.prototype.peek = function(key) {
71
- return this.items.get(key);
72
- };
73
-
74
- /**
75
- * Method used to set a value for given key.
76
- *
77
- * @param {any} key - Target key.
78
- * @param {any} value - Value.
79
- * @return {DefaultMap}
80
- */
81
- DefaultMap.prototype.set = function(key, value) {
82
- this.items.set(key, value);
83
- this.size = this.items.size;
84
-
85
- return this;
86
- };
87
-
88
- /**
89
- * Method used to test the existence of a key in the map.
90
- *
91
- * @param {any} key - Target key.
92
- * @return {boolean}
93
- */
94
- DefaultMap.prototype.has = function(key) {
95
- return this.items.has(key);
96
- };
97
-
98
- /**
99
- * Method used to delete target key.
100
- *
101
- * @param {any} key - Target key.
102
- * @return {boolean}
103
- */
104
- DefaultMap.prototype.delete = function(key) {
105
- var deleted = this.items.delete(key);
106
-
107
- this.size = this.items.size;
108
-
109
- return deleted;
110
- };
111
-
112
- /**
113
- * Method used to iterate over each of the key/value pairs.
114
- *
115
- * @param {function} callback - Function to call for each item.
116
- * @param {object} scope - Optional scope.
117
- * @return {undefined}
118
- */
119
- DefaultMap.prototype.forEach = function(callback, scope) {
120
- scope = arguments.length > 1 ? scope : this;
121
-
122
- this.items.forEach(callback, scope);
123
- };
124
-
125
- /**
126
- * Iterators.
127
- */
128
- DefaultMap.prototype.entries = function() {
129
- return this.items.entries();
130
- };
131
-
132
- DefaultMap.prototype.keys = function() {
133
- return this.items.keys();
134
- };
135
-
136
- DefaultMap.prototype.values = function() {
137
- return this.items.values();
138
- };
139
-
140
- /**
141
- * Attaching the #.entries method to Symbol.iterator if possible.
142
- */
143
- if (typeof Symbol !== 'undefined')
144
- DefaultMap.prototype[Symbol.iterator] = DefaultMap.prototype.entries;
145
-
146
- /**
147
- * Convenience known methods.
148
- */
149
- DefaultMap.prototype.inspect = function() {
150
- return this.items;
151
- };
152
-
153
- if (typeof Symbol !== 'undefined')
154
- DefaultMap.prototype[Symbol.for('nodejs.util.inspect.custom')] = DefaultMap.prototype.inspect;
155
-
156
- /**
157
- * Typical factories.
158
- */
159
- DefaultMap.autoIncrement = function() {
160
- var i = 0;
161
-
162
- return function() {
163
- return i++;
164
- };
165
- };
166
-
167
- /**
168
- * Exporting.
169
- */
170
- defaultMap = DefaultMap;
171
- return defaultMap;
172
- }
173
-
174
- var defaultMapExports = /*@__PURE__*/ requireDefaultMap();
175
- const DefaultMap = /*@__PURE__*/getDefaultExportFromCjs(defaultMapExports);
176
-
177
- export { DefaultMap as D };