@dbml/core 11.0.2-arch.0.2 → 11.0.2-arch.0.3

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 (359) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +0 -0
  3. package/lib/_virtual/_rolldown/runtime.cjs +1 -1
  4. package/lib/_virtual/_rolldown/runtime.mjs +3 -2
  5. package/lib/export/DbmlExporter.cjs +1 -1
  6. package/lib/export/DbmlExporter.mjs +3 -2
  7. package/lib/export/JsonExporter.mjs +2 -1
  8. package/lib/export/ModelExporter.cjs +1 -1
  9. package/lib/export/ModelExporter.mjs +10 -9
  10. package/lib/export/MysqlExporter.mjs +2 -1
  11. package/lib/export/OracleExporter.mjs +2 -1
  12. package/lib/export/PostgresExporter.cjs +8 -8
  13. package/lib/export/PostgresExporter.mjs +31 -30
  14. package/lib/export/SqlServerExporter.mjs +2 -1
  15. package/lib/export/index.cjs +1 -1
  16. package/lib/export/index.mjs +6 -5
  17. package/lib/export/utils.mjs +2 -1
  18. package/lib/import/index.cjs +1 -1
  19. package/lib/import/index.mjs +11 -10
  20. package/lib/index.cjs +1 -1
  21. package/lib/index.mjs +5 -5
  22. package/lib/model_structure/check.mjs +2 -1
  23. package/lib/model_structure/config.mjs +2 -1
  24. package/lib/model_structure/database.cjs +1 -1
  25. package/lib/model_structure/database.mjs +15 -14
  26. package/lib/model_structure/dbState.mjs +2 -1
  27. package/lib/model_structure/dep.cjs +1 -1
  28. package/lib/model_structure/dep.mjs +7 -6
  29. package/lib/model_structure/depEdge.cjs +1 -1
  30. package/lib/model_structure/depEdge.mjs +11 -10
  31. package/lib/model_structure/element.mjs +2 -1
  32. package/lib/model_structure/endpoint.cjs +1 -1
  33. package/lib/model_structure/endpoint.mjs +18 -17
  34. package/lib/model_structure/enum.cjs +1 -1
  35. package/lib/model_structure/enum.mjs +9 -8
  36. package/lib/model_structure/enumValue.mjs +2 -1
  37. package/lib/model_structure/field.cjs +1 -1
  38. package/lib/model_structure/field.mjs +6 -5
  39. package/lib/model_structure/group.mjs +2 -1
  40. package/lib/model_structure/indexColumn.mjs +2 -1
  41. package/lib/model_structure/indexes.mjs +2 -1
  42. package/lib/model_structure/link.mjs +2 -1
  43. package/lib/model_structure/node.mjs +2 -1
  44. package/lib/model_structure/ref.mjs +2 -1
  45. package/lib/model_structure/schema.cjs +1 -1
  46. package/lib/model_structure/schema.mjs +16 -15
  47. package/lib/model_structure/stickyNote.mjs +2 -1
  48. package/lib/model_structure/table.cjs +1 -1
  49. package/lib/model_structure/table.mjs +29 -28
  50. package/lib/model_structure/tableGroup.cjs +1 -1
  51. package/lib/model_structure/tableGroup.mjs +6 -5
  52. package/lib/model_structure/tablePartial.mjs +2 -1
  53. package/lib/model_structure/utils.mjs +2 -1
  54. package/lib/node_modules/antlr4/dist/antlr4.web.mjs +2 -1
  55. package/lib/node_modules/lodash-es/_DataView.cjs +1 -1
  56. package/lib/node_modules/lodash-es/_DataView.mjs +5 -4
  57. package/lib/node_modules/lodash-es/_Hash.mjs +2 -1
  58. package/lib/node_modules/lodash-es/_ListCache.mjs +2 -1
  59. package/lib/node_modules/lodash-es/_Map.cjs +1 -1
  60. package/lib/node_modules/lodash-es/_Map.mjs +5 -4
  61. package/lib/node_modules/lodash-es/_MapCache.mjs +2 -1
  62. package/lib/node_modules/lodash-es/_Promise.cjs +1 -1
  63. package/lib/node_modules/lodash-es/_Promise.mjs +5 -4
  64. package/lib/node_modules/lodash-es/_Set.cjs +1 -1
  65. package/lib/node_modules/lodash-es/_Set.mjs +5 -4
  66. package/lib/node_modules/lodash-es/_SetCache.mjs +2 -1
  67. package/lib/node_modules/lodash-es/_Stack.mjs +2 -1
  68. package/lib/node_modules/lodash-es/_Symbol.mjs +2 -1
  69. package/lib/node_modules/lodash-es/_Uint8Array.mjs +2 -1
  70. package/lib/node_modules/lodash-es/_WeakMap.cjs +1 -1
  71. package/lib/node_modules/lodash-es/_WeakMap.mjs +5 -4
  72. package/lib/node_modules/lodash-es/_arrayAggregator.mjs +2 -1
  73. package/lib/node_modules/lodash-es/_arrayEach.mjs +2 -1
  74. package/lib/node_modules/lodash-es/_arrayFilter.mjs +2 -1
  75. package/lib/node_modules/lodash-es/_arrayLikeKeys.cjs +1 -1
  76. package/lib/node_modules/lodash-es/_arrayLikeKeys.mjs +10 -9
  77. package/lib/node_modules/lodash-es/_arrayMap.mjs +2 -1
  78. package/lib/node_modules/lodash-es/_arrayPush.mjs +2 -1
  79. package/lib/node_modules/lodash-es/_arrayReduce.mjs +2 -1
  80. package/lib/node_modules/lodash-es/_arraySome.mjs +2 -1
  81. package/lib/node_modules/lodash-es/_asciiToArray.mjs +2 -1
  82. package/lib/node_modules/lodash-es/_assocIndexOf.mjs +2 -1
  83. package/lib/node_modules/lodash-es/_baseAggregator.mjs +2 -1
  84. package/lib/node_modules/lodash-es/_baseAssignValue.mjs +2 -1
  85. package/lib/node_modules/lodash-es/_baseEach.mjs +2 -1
  86. package/lib/node_modules/lodash-es/_baseFlatten.mjs +2 -1
  87. package/lib/node_modules/lodash-es/_baseFor.mjs +2 -1
  88. package/lib/node_modules/lodash-es/_baseForOwn.cjs +1 -1
  89. package/lib/node_modules/lodash-es/_baseForOwn.mjs +6 -5
  90. package/lib/node_modules/lodash-es/_baseGet.mjs +2 -1
  91. package/lib/node_modules/lodash-es/_baseGetAllKeys.cjs +1 -1
  92. package/lib/node_modules/lodash-es/_baseGetAllKeys.mjs +6 -5
  93. package/lib/node_modules/lodash-es/_baseGetTag.mjs +2 -1
  94. package/lib/node_modules/lodash-es/_baseHasIn.mjs +2 -1
  95. package/lib/node_modules/lodash-es/_baseIsArguments.mjs +2 -1
  96. package/lib/node_modules/lodash-es/_baseIsEqual.cjs +1 -1
  97. package/lib/node_modules/lodash-es/_baseIsEqual.mjs +6 -5
  98. package/lib/node_modules/lodash-es/_baseIsEqualDeep.cjs +1 -1
  99. package/lib/node_modules/lodash-es/_baseIsEqualDeep.mjs +16 -15
  100. package/lib/node_modules/lodash-es/_baseIsMatch.mjs +2 -1
  101. package/lib/node_modules/lodash-es/_baseIsNative.cjs +1 -1
  102. package/lib/node_modules/lodash-es/_baseIsNative.mjs +7 -6
  103. package/lib/node_modules/lodash-es/_baseIsTypedArray.cjs +1 -1
  104. package/lib/node_modules/lodash-es/_baseIsTypedArray.mjs +6 -5
  105. package/lib/node_modules/lodash-es/_baseIteratee.cjs +1 -1
  106. package/lib/node_modules/lodash-es/_baseIteratee.mjs +8 -7
  107. package/lib/node_modules/lodash-es/_baseKeys.mjs +2 -1
  108. package/lib/node_modules/lodash-es/_baseMatches.mjs +2 -1
  109. package/lib/node_modules/lodash-es/_baseMatchesProperty.cjs +1 -1
  110. package/lib/node_modules/lodash-es/_baseMatchesProperty.mjs +11 -10
  111. package/lib/node_modules/lodash-es/_baseNth.mjs +2 -1
  112. package/lib/node_modules/lodash-es/_baseProperty.mjs +2 -1
  113. package/lib/node_modules/lodash-es/_basePropertyDeep.mjs +2 -1
  114. package/lib/node_modules/lodash-es/_baseReduce.mjs +2 -1
  115. package/lib/node_modules/lodash-es/_baseSlice.mjs +2 -1
  116. package/lib/node_modules/lodash-es/_baseTimes.mjs +2 -1
  117. package/lib/node_modules/lodash-es/_baseToString.cjs +1 -1
  118. package/lib/node_modules/lodash-es/_baseToString.mjs +8 -7
  119. package/lib/node_modules/lodash-es/_baseTrim.mjs +2 -1
  120. package/lib/node_modules/lodash-es/_baseUnary.mjs +2 -1
  121. package/lib/node_modules/lodash-es/_cacheHas.mjs +2 -1
  122. package/lib/node_modules/lodash-es/_castFunction.mjs +2 -1
  123. package/lib/node_modules/lodash-es/_castPath.mjs +2 -1
  124. package/lib/node_modules/lodash-es/_castSlice.mjs +2 -1
  125. package/lib/node_modules/lodash-es/_copyArray.mjs +2 -1
  126. package/lib/node_modules/lodash-es/_coreJsData.mjs +2 -1
  127. package/lib/node_modules/lodash-es/_createAggregator.cjs +1 -1
  128. package/lib/node_modules/lodash-es/_createAggregator.mjs +9 -8
  129. package/lib/node_modules/lodash-es/_createBaseEach.mjs +2 -1
  130. package/lib/node_modules/lodash-es/_createBaseFor.mjs +2 -1
  131. package/lib/node_modules/lodash-es/_createCaseFirst.cjs +1 -1
  132. package/lib/node_modules/lodash-es/_createCaseFirst.mjs +9 -8
  133. package/lib/node_modules/lodash-es/_defineProperty.mjs +2 -1
  134. package/lib/node_modules/lodash-es/_equalArrays.mjs +2 -1
  135. package/lib/node_modules/lodash-es/_equalByTag.cjs +1 -1
  136. package/lib/node_modules/lodash-es/_equalByTag.mjs +7 -6
  137. package/lib/node_modules/lodash-es/_equalObjects.mjs +2 -1
  138. package/lib/node_modules/lodash-es/_freeGlobal.mjs +2 -1
  139. package/lib/node_modules/lodash-es/_getAllKeys.cjs +1 -1
  140. package/lib/node_modules/lodash-es/_getAllKeys.mjs +6 -5
  141. package/lib/node_modules/lodash-es/_getMapData.mjs +2 -1
  142. package/lib/node_modules/lodash-es/_getMatchData.cjs +1 -1
  143. package/lib/node_modules/lodash-es/_getMatchData.mjs +7 -6
  144. package/lib/node_modules/lodash-es/_getNative.mjs +2 -1
  145. package/lib/node_modules/lodash-es/_getRawTag.mjs +2 -1
  146. package/lib/node_modules/lodash-es/_getSymbols.mjs +2 -1
  147. package/lib/node_modules/lodash-es/_getTag.cjs +1 -1
  148. package/lib/node_modules/lodash-es/_getTag.mjs +13 -12
  149. package/lib/node_modules/lodash-es/_getValue.mjs +2 -1
  150. package/lib/node_modules/lodash-es/_hasPath.cjs +1 -1
  151. package/lib/node_modules/lodash-es/_hasPath.mjs +10 -9
  152. package/lib/node_modules/lodash-es/_hasUnicode.mjs +2 -1
  153. package/lib/node_modules/lodash-es/_hashClear.mjs +2 -1
  154. package/lib/node_modules/lodash-es/_hashDelete.mjs +2 -1
  155. package/lib/node_modules/lodash-es/_hashGet.mjs +2 -1
  156. package/lib/node_modules/lodash-es/_hashHas.mjs +2 -1
  157. package/lib/node_modules/lodash-es/_hashSet.mjs +2 -1
  158. package/lib/node_modules/lodash-es/_isFlattenable.cjs +1 -1
  159. package/lib/node_modules/lodash-es/_isFlattenable.mjs +6 -5
  160. package/lib/node_modules/lodash-es/_isIndex.mjs +2 -1
  161. package/lib/node_modules/lodash-es/_isKey.cjs +1 -1
  162. package/lib/node_modules/lodash-es/_isKey.mjs +7 -6
  163. package/lib/node_modules/lodash-es/_isKeyable.mjs +2 -1
  164. package/lib/node_modules/lodash-es/_isMasked.mjs +2 -1
  165. package/lib/node_modules/lodash-es/_isPrototype.mjs +2 -1
  166. package/lib/node_modules/lodash-es/_isStrictComparable.mjs +2 -1
  167. package/lib/node_modules/lodash-es/_listCacheClear.mjs +2 -1
  168. package/lib/node_modules/lodash-es/_listCacheDelete.mjs +2 -1
  169. package/lib/node_modules/lodash-es/_listCacheGet.mjs +2 -1
  170. package/lib/node_modules/lodash-es/_listCacheHas.mjs +2 -1
  171. package/lib/node_modules/lodash-es/_listCacheSet.mjs +2 -1
  172. package/lib/node_modules/lodash-es/_mapCacheClear.mjs +2 -1
  173. package/lib/node_modules/lodash-es/_mapCacheDelete.mjs +2 -1
  174. package/lib/node_modules/lodash-es/_mapCacheGet.mjs +2 -1
  175. package/lib/node_modules/lodash-es/_mapCacheHas.mjs +2 -1
  176. package/lib/node_modules/lodash-es/_mapCacheSet.mjs +2 -1
  177. package/lib/node_modules/lodash-es/_mapToArray.mjs +2 -1
  178. package/lib/node_modules/lodash-es/_matchesStrictComparable.mjs +2 -1
  179. package/lib/node_modules/lodash-es/_memoizeCapped.mjs +2 -1
  180. package/lib/node_modules/lodash-es/_nativeCreate.mjs +2 -1
  181. package/lib/node_modules/lodash-es/_nativeKeys.mjs +2 -1
  182. package/lib/node_modules/lodash-es/_nodeUtil.mjs +2 -1
  183. package/lib/node_modules/lodash-es/_objectToString.mjs +2 -1
  184. package/lib/node_modules/lodash-es/_overArg.mjs +2 -1
  185. package/lib/node_modules/lodash-es/_root.mjs +2 -1
  186. package/lib/node_modules/lodash-es/_setCacheAdd.mjs +2 -1
  187. package/lib/node_modules/lodash-es/_setCacheHas.mjs +2 -1
  188. package/lib/node_modules/lodash-es/_setToArray.mjs +2 -1
  189. package/lib/node_modules/lodash-es/_stackClear.mjs +2 -1
  190. package/lib/node_modules/lodash-es/_stackDelete.mjs +2 -1
  191. package/lib/node_modules/lodash-es/_stackGet.mjs +2 -1
  192. package/lib/node_modules/lodash-es/_stackHas.mjs +2 -1
  193. package/lib/node_modules/lodash-es/_stackSet.mjs +2 -1
  194. package/lib/node_modules/lodash-es/_stringToArray.cjs +1 -1
  195. package/lib/node_modules/lodash-es/_stringToArray.mjs +6 -5
  196. package/lib/node_modules/lodash-es/_stringToPath.mjs +2 -1
  197. package/lib/node_modules/lodash-es/_toKey.mjs +2 -1
  198. package/lib/node_modules/lodash-es/_toSource.mjs +2 -1
  199. package/lib/node_modules/lodash-es/_trimmedEndIndex.mjs +2 -1
  200. package/lib/node_modules/lodash-es/_unicodeToArray.mjs +2 -1
  201. package/lib/node_modules/lodash-es/capitalize.mjs +2 -1
  202. package/lib/node_modules/lodash-es/concat.cjs +1 -1
  203. package/lib/node_modules/lodash-es/concat.mjs +8 -7
  204. package/lib/node_modules/lodash-es/eq.mjs +2 -1
  205. package/lib/node_modules/lodash-es/first.mjs +1 -1
  206. package/lib/node_modules/lodash-es/flatten.mjs +2 -1
  207. package/lib/node_modules/lodash-es/flattenDeep.mjs +2 -1
  208. package/lib/node_modules/lodash-es/flattenDepth.cjs +1 -1
  209. package/lib/node_modules/lodash-es/flattenDepth.mjs +6 -5
  210. package/lib/node_modules/lodash-es/forEach.cjs +1 -1
  211. package/lib/node_modules/lodash-es/forEach.mjs +8 -7
  212. package/lib/node_modules/lodash-es/get.mjs +2 -1
  213. package/lib/node_modules/lodash-es/groupBy.mjs +2 -1
  214. package/lib/node_modules/lodash-es/hasIn.mjs +2 -1
  215. package/lib/node_modules/lodash-es/head.mjs +2 -1
  216. package/lib/node_modules/lodash-es/identity.mjs +2 -1
  217. package/lib/node_modules/lodash-es/isArguments.cjs +1 -1
  218. package/lib/node_modules/lodash-es/isArguments.mjs +7 -6
  219. package/lib/node_modules/lodash-es/isArray.mjs +2 -1
  220. package/lib/node_modules/lodash-es/isArrayLike.mjs +2 -1
  221. package/lib/node_modules/lodash-es/isBuffer.mjs +2 -1
  222. package/lib/node_modules/lodash-es/isEmpty.cjs +1 -1
  223. package/lib/node_modules/lodash-es/isEmpty.mjs +14 -13
  224. package/lib/node_modules/lodash-es/isFunction.mjs +2 -1
  225. package/lib/node_modules/lodash-es/isLength.mjs +2 -1
  226. package/lib/node_modules/lodash-es/isNil.mjs +2 -1
  227. package/lib/node_modules/lodash-es/isObject.mjs +2 -1
  228. package/lib/node_modules/lodash-es/isObjectLike.mjs +2 -1
  229. package/lib/node_modules/lodash-es/isSymbol.mjs +2 -1
  230. package/lib/node_modules/lodash-es/isTypedArray.mjs +2 -1
  231. package/lib/node_modules/lodash-es/keys.cjs +1 -1
  232. package/lib/node_modules/lodash-es/keys.mjs +7 -6
  233. package/lib/node_modules/lodash-es/last.mjs +2 -1
  234. package/lib/node_modules/lodash-es/lodash.cjs +1 -1
  235. package/lib/node_modules/lodash-es/lodash.mjs +19 -19
  236. package/lib/node_modules/lodash-es/memoize.mjs +2 -1
  237. package/lib/node_modules/lodash-es/nth.cjs +1 -1
  238. package/lib/node_modules/lodash-es/nth.mjs +6 -5
  239. package/lib/node_modules/lodash-es/property.cjs +1 -1
  240. package/lib/node_modules/lodash-es/property.mjs +8 -7
  241. package/lib/node_modules/lodash-es/reduce.cjs +1 -1
  242. package/lib/node_modules/lodash-es/reduce.mjs +9 -8
  243. package/lib/node_modules/lodash-es/stubArray.mjs +2 -1
  244. package/lib/node_modules/lodash-es/stubFalse.mjs +2 -1
  245. package/lib/node_modules/lodash-es/toFinite.mjs +2 -1
  246. package/lib/node_modules/lodash-es/toInteger.mjs +2 -1
  247. package/lib/node_modules/lodash-es/toNumber.cjs +1 -1
  248. package/lib/node_modules/lodash-es/toNumber.mjs +10 -9
  249. package/lib/node_modules/lodash-es/toString.mjs +2 -1
  250. package/lib/node_modules/lodash-es/upperFirst.mjs +2 -1
  251. package/lib/node_modules/luxon/build/es6/luxon.mjs +2 -1
  252. package/lib/node_modules/parsimmon/build/parsimmon.umd.min.cjs +1 -1
  253. package/lib/node_modules/parsimmon/build/parsimmon.umd.min.mjs +4 -3
  254. package/lib/node_modules/pluralize/pluralize.cjs +1 -1
  255. package/lib/node_modules/pluralize/pluralize.mjs +4 -3
  256. package/lib/packages/dbml-core/node_modules/lodash/lodash.cjs +2 -2
  257. package/lib/packages/dbml-core/node_modules/lodash/lodash.mjs +4 -3
  258. package/lib/packages/dbml-core/package.json.cjs +1 -1
  259. package/lib/packages/dbml-core/package.json.mjs +3 -2
  260. package/lib/parse/ANTLR/ASTGeneration/AST.mjs +2 -1
  261. package/lib/parse/ANTLR/ASTGeneration/ParserErrorListener.mjs +2 -1
  262. package/lib/parse/ANTLR/ASTGeneration/SyntaxError.mjs +2 -1
  263. package/lib/parse/ANTLR/ASTGeneration/constants.mjs +2 -1
  264. package/lib/parse/ANTLR/ASTGeneration/helpers.mjs +2 -1
  265. package/lib/parse/ANTLR/ASTGeneration/index.mjs +2 -1
  266. package/lib/parse/ANTLR/ASTGeneration/mssql/MssqlASTGen.mjs +2 -1
  267. package/lib/parse/ANTLR/ASTGeneration/mysql/MySQLASTGen.cjs +1 -1
  268. package/lib/parse/ANTLR/ASTGeneration/mysql/MySQLASTGen.mjs +3 -2
  269. package/lib/parse/ANTLR/ASTGeneration/oraclesql/OracleSQLASTGen.cjs +1 -1
  270. package/lib/parse/ANTLR/ASTGeneration/oraclesql/OracleSQLASTGen.mjs +58 -57
  271. package/lib/parse/ANTLR/ASTGeneration/postgres/PostgresASTGen.cjs +1 -1
  272. package/lib/parse/ANTLR/ASTGeneration/postgres/PostgresASTGen.mjs +3 -2
  273. package/lib/parse/ANTLR/ASTGeneration/snowflake/SnowflakeASTGen.mjs +2 -1
  274. package/lib/parse/ANTLR/parsers/mssql/TSqlLexer.mjs +2 -1
  275. package/lib/parse/ANTLR/parsers/mssql/TSqlParser.mjs +2 -1
  276. package/lib/parse/ANTLR/parsers/mssql/TSqlParserVisitor.mjs +2 -1
  277. package/lib/parse/ANTLR/parsers/mysql/MySqlLexer.mjs +2 -1
  278. package/lib/parse/ANTLR/parsers/mysql/MySqlLexerBase.mjs +2 -1
  279. package/lib/parse/ANTLR/parsers/mysql/MySqlParser.mjs +2 -1
  280. package/lib/parse/ANTLR/parsers/mysql/MySqlParserVisitor.mjs +2 -1
  281. package/lib/parse/ANTLR/parsers/oraclesql/OracleSqlLexer.mjs +2 -1
  282. package/lib/parse/ANTLR/parsers/oraclesql/OracleSqlLexerBase.mjs +2 -1
  283. package/lib/parse/ANTLR/parsers/oraclesql/OracleSqlParser.mjs +2 -1
  284. package/lib/parse/ANTLR/parsers/oraclesql/OracleSqlParserBase.mjs +2 -1
  285. package/lib/parse/ANTLR/parsers/oraclesql/OracleSqlParserVisitor.mjs +2 -1
  286. package/lib/parse/ANTLR/parsers/postgresql/PostgreSQLLexer.mjs +2 -1
  287. package/lib/parse/ANTLR/parsers/postgresql/PostgreSQLLexerBase.mjs +2 -1
  288. package/lib/parse/ANTLR/parsers/postgresql/PostgreSQLParser.mjs +2 -1
  289. package/lib/parse/ANTLR/parsers/postgresql/PostgreSQLParserBase.mjs +2 -1
  290. package/lib/parse/ANTLR/parsers/postgresql/PostgreSQLParserVisitor.mjs +2 -1
  291. package/lib/parse/ANTLR/parsers/snowflake/SnowflakeLexer.mjs +2 -1
  292. package/lib/parse/ANTLR/parsers/snowflake/SnowflakeParser.mjs +2 -1
  293. package/lib/parse/ANTLR/parsers/snowflake/SnowflakeParserVisitor.mjs +2 -1
  294. package/lib/parse/Parser.cjs +1 -1
  295. package/lib/parse/Parser.mjs +38 -37
  296. package/lib/parse/databaseGenerator.mjs +2 -1
  297. package/lib/parse/deprecated/dbmlParser.mjs +2 -1
  298. package/lib/parse/deprecated/mssql/base_parsers.cjs +1 -1
  299. package/lib/parse/deprecated/mssql/base_parsers.mjs +28 -27
  300. package/lib/parse/deprecated/mssql/column_definition/actions.mjs +2 -1
  301. package/lib/parse/deprecated/mssql/column_definition/index.cjs +1 -1
  302. package/lib/parse/deprecated/mssql/column_definition/index.mjs +19 -19
  303. package/lib/parse/deprecated/mssql/constraint_definition/actions.mjs +2 -1
  304. package/lib/parse/deprecated/mssql/constraint_definition/index.cjs +1 -1
  305. package/lib/parse/deprecated/mssql/constraint_definition/index.mjs +10 -10
  306. package/lib/parse/deprecated/mssql/expression.cjs +1 -1
  307. package/lib/parse/deprecated/mssql/expression.mjs +18 -17
  308. package/lib/parse/deprecated/mssql/fk_definition/actions.mjs +2 -1
  309. package/lib/parse/deprecated/mssql/fk_definition/index.cjs +1 -1
  310. package/lib/parse/deprecated/mssql/fk_definition/index.mjs +8 -7
  311. package/lib/parse/deprecated/mssql/index.mjs +2 -1
  312. package/lib/parse/deprecated/mssql/index_definition/actions.mjs +2 -1
  313. package/lib/parse/deprecated/mssql/index_definition/index.cjs +1 -1
  314. package/lib/parse/deprecated/mssql/index_definition/index.mjs +14 -13
  315. package/lib/parse/deprecated/mssql/keyword_parsers.mjs +2 -1
  316. package/lib/parse/deprecated/mssql/keyword_utils.mjs +2 -1
  317. package/lib/parse/deprecated/mssql/statements/actions.mjs +2 -1
  318. package/lib/parse/deprecated/mssql/statements/index.cjs +1 -1
  319. package/lib/parse/deprecated/mssql/statements/index.mjs +24 -23
  320. package/lib/parse/deprecated/mssql/statements/statement_types/alter_table/actions.mjs +2 -1
  321. package/lib/parse/deprecated/mssql/statements/statement_types/alter_table/add/actions.mjs +1 -1
  322. package/lib/parse/deprecated/mssql/statements/statement_types/alter_table/add/index.cjs +1 -1
  323. package/lib/parse/deprecated/mssql/statements/statement_types/alter_table/add/index.mjs +14 -13
  324. package/lib/parse/deprecated/mssql/statements/statement_types/alter_table/index.mjs +2 -1
  325. package/lib/parse/deprecated/mssql/statements/statement_types/comments/actions.mjs +2 -1
  326. package/lib/parse/deprecated/mssql/statements/statement_types/comments/index.cjs +1 -1
  327. package/lib/parse/deprecated/mssql/statements/statement_types/comments/index.mjs +6 -5
  328. package/lib/parse/deprecated/mssql/statements/statement_types/create_index/actions.mjs +2 -1
  329. package/lib/parse/deprecated/mssql/statements/statement_types/create_index/index.cjs +1 -1
  330. package/lib/parse/deprecated/mssql/statements/statement_types/create_index/index.mjs +12 -11
  331. package/lib/parse/deprecated/mssql/statements/statement_types/create_table/actions.mjs +2 -1
  332. package/lib/parse/deprecated/mssql/statements/statement_types/create_table/index.cjs +1 -1
  333. package/lib/parse/deprecated/mssql/statements/statement_types/create_table/index.mjs +12 -11
  334. package/lib/parse/deprecated/mssql/statements/statement_types/index.mjs +1 -1
  335. package/lib/parse/deprecated/mssql/utils.cjs +1 -1
  336. package/lib/parse/deprecated/mssql/utils.mjs +11 -10
  337. package/lib/parse/deprecated/mssql/whitespaces.mjs +2 -1
  338. package/lib/parse/deprecated/mssqlParser.mjs +2 -1
  339. package/lib/parse/deprecated/mysqlParser.mjs +2 -1
  340. package/lib/parse/deprecated/postgresParser.mjs +2 -1
  341. package/lib/parse/deprecated/schemarbParser.mjs +2 -1
  342. package/lib/parse/error.mjs +2 -1
  343. package/lib/transform/index.mjs +2 -1
  344. package/lib/transform/relations.mjs +2 -1
  345. package/lib/utils/version.mjs +2 -1
  346. package/package.json +3 -3
  347. package/types/export/DbmlExporter.d.ts +0 -0
  348. package/types/export/JsonExporter.d.ts +0 -0
  349. package/types/export/ModelExporter.d.ts +0 -0
  350. package/types/export/index.d.ts +0 -0
  351. package/types/model_structure/check.d.ts +0 -0
  352. package/types/model_structure/element.d.ts +0 -0
  353. package/types/model_structure/enum.d.ts +0 -0
  354. package/types/model_structure/enumValue.d.ts +0 -0
  355. package/types/model_structure/index.d.ts +0 -0
  356. package/types/model_structure/indexes.d.ts +0 -0
  357. package/types/model_structure/ref.d.ts +0 -0
  358. package/types/model_structure/tablePartial.d.ts +0 -0
  359. package/types/parse/Parser.d.ts +0 -0
@@ -1 +1 @@
1
- require("../_virtual/_rolldown/runtime.cjs");const e=require("../node_modules/lodash-es/get.cjs"),t=require("../node_modules/lodash-es/isNil.cjs"),n=require("../node_modules/lodash-es/lodash.cjs"),r=require("./check.cjs");require("./config.cjs");const i=require("./element.cjs"),a=require("./field.cjs"),o=require("./indexes.cjs"),s=require("./utils.cjs");let c=require("@dbml/parse");n.init_lodash();var l=class extends i.default{constructor({name:t,alias:n,note:r,fields:i=[],indexes:a=[],checks:o=[],schema:s={},token:c,headerColor:l,noteToken:u=null,partials:d=[],metadata:f={}}){super(c),this.metadata=f,this.name=t,this.alias=n,this.note=r?e.default(r,`value`,r):null,this.noteToken=r?e.default(r,`token`,u):null,this.headerColor=l,this.fields=[],this.indexes=[],this.checks=[],this.schema=s,this.partials=d,this.records=[],this.dbState=this.schema.dbState,this.generateId(),this.processFields(i),this.processPartials(),this.checkFieldCount(),this.processIndexes(a),this.processChecks(o)}generateId(){this.id=this.dbState.generateId(`tableId`)}checkFieldCount(){this.fields.length===0&&this.error(`Table must have at least one field`)}processFields(e){e.forEach(e=>{this.pushField(new a.default({...e,table:this}))})}pushField(e){this.checkField(e),this.fields.push(e)}checkField(e){this.fields.some(t=>t.name===e.name)&&e.error(`Field "${e.name}" existed in table ${s.shouldPrintSchema(this.schema)?`"${this.schema.name}".`:``}"${this.name}"`)}processIndexes(e){e.forEach(e=>{this.pushIndex(new o.default({...e,table:this}))})}pushIndex(e){this.checkIndex(e),this.indexes.push(e)}checkIndex(e){e.columns.forEach(t=>{t.type===`column`&&!this.findField(t.value)&&e.error(`Column "${t.value}" do not exist in table ${s.shouldPrintSchema(this.schema)?`"${this.schema.name}".`:``}"${this.name}"`)})}processChecks(e){e.forEach(e=>{this.pushCheck(new r.default({...e,table:this}))})}pushCheck(e){this.checks.push(e)}findField(e){return this.fields.find(t=>t.name===e)}checkSameId(e){return this.schema.checkSameId(e.schemaName||`public`)&&(this.name===e.name||this.alias===e.name||this.name===e.alias||this.alias&&this.alias===e.alias)}processPartials(){if(!this.partials?.length)return;let e=new Set(this.fields.map(e=>e.name)),n=new Set;t.default(this.note)||n.add(`note`),t.default(this.headerColor)||n.add(`headerColor`);let i=this.partials.sort((e,t)=>t.order-e.order);i.toReversed().forEach(e=>{this.fields.splice(e.order,0,`dummy`)}),i.forEach(i=>{let s=this.schema.database.findTablePartial(i.name);if(s||this.error(`Table partial ${i.name} not found`),i.id=s.id,s.fields){let t=s.fields.filter(t=>!e.has(t.name)).map(t=>(e.add(t.name),t.inline_refs&&t.inline_refs.forEach(e=>{let n=(0,c.getMultiplicities)(e.relation)||[`*`,`*`],r={token:t.token,endpoints:[{tableName:this.name,schemaName:this.schema?.name,fieldNames:[t.name],relation:n[0],token:t.token},{tableName:e.tableName,schemaName:e.schemaName,fieldNames:e.fieldNames,relation:n[1],token:e.token}],injectedPartial:s};this.schema.database.injectedRawRefs.push(r)}),new a.default({...t,noteToken:null,table:this,injectedPartial:s,injectedToken:i.token})));this.fields.splice(i.order,1,...t)}else this.fields.splice(i.order,1);!n.has(`note`)&&!t.default(s.note)&&(this.noteToken=null,this.note=s.note,n.add(`note`)),!n.has(`headerColor`)&&!t.default(s.headerColor)&&(this.headerColor=s.headerColor,n.add(`headerColor`)),s.indexes.forEach(e=>{this.indexes.push(new o.default({...e,table:this,injectedPartial:s}))}),s.checks.forEach(e=>{this.checks.push(new r.default({...e,name:e.name&&`${this.name}.${e.name}`,table:this,injectedPartial:s}))})})}export(){return{...this.shallowExport(),...this.exportChild()}}exportChild(){return{fields:this.fields.map(e=>e.export()),indexes:this.indexes.map(e=>e.export())}}exportChildIds(){return{fieldIds:this.fields.map(e=>e.id),indexIds:this.indexes.map(e=>e.id),checkIds:this.checks.map(e=>e.id)}}exportParentIds(){return{schemaId:this.schema.id,groupId:this.group?this.group.id:null}}shallowExport(){return{name:this.name,alias:this.alias,note:this.note,headerColor:this.headerColor,partials:this.partials,recordIds:this.records.map(e=>e.id),metadata:this.metadata}}normalize(e){e.tables[this.id]={id:this.id,...this.shallowExport(),...this.exportChildIds(),...this.exportParentIds()},this.fields.forEach(t=>t.normalize(e)),this.indexes.forEach(t=>t.normalize(e)),this.checks.forEach(t=>t.normalize(e))}};exports.default=l;
1
+ require("../_virtual/_rolldown/runtime.cjs");const e=require("../node_modules/lodash-es/get.cjs"),t=require("../node_modules/lodash-es/isNil.cjs"),n=require("../node_modules/lodash-es/lodash.cjs");require("./config.cjs");const r=require("./utils.cjs"),i=require("./element.cjs"),a=require("./check.cjs"),o=require("./field.cjs"),s=require("./indexes.cjs");let c=require("@dbml/parse");n.init_lodash();var l=class extends i.default{constructor({name:t,alias:n,note:r,fields:i=[],indexes:a=[],checks:o=[],schema:s={},token:c,headerColor:l,noteToken:u=null,partials:d=[],metadata:f={}}){super(c),this.metadata=f,this.name=t,this.alias=n,this.note=r?e.default(r,`value`,r):null,this.noteToken=r?e.default(r,`token`,u):null,this.headerColor=l,this.fields=[],this.indexes=[],this.checks=[],this.schema=s,this.partials=d,this.records=[],this.dbState=this.schema.dbState,this.generateId(),this.processFields(i),this.processPartials(),this.checkFieldCount(),this.processIndexes(a),this.processChecks(o)}generateId(){this.id=this.dbState.generateId(`tableId`)}checkFieldCount(){this.fields.length===0&&this.error(`Table must have at least one field`)}processFields(e){e.forEach(e=>{this.pushField(new o.default({...e,table:this}))})}pushField(e){this.checkField(e),this.fields.push(e)}checkField(e){this.fields.some(t=>t.name===e.name)&&e.error(`Field "${e.name}" existed in table ${r.shouldPrintSchema(this.schema)?`"${this.schema.name}".`:``}"${this.name}"`)}processIndexes(e){e.forEach(e=>{this.pushIndex(new s.default({...e,table:this}))})}pushIndex(e){this.checkIndex(e),this.indexes.push(e)}checkIndex(e){e.columns.forEach(t=>{t.type===`column`&&!this.findField(t.value)&&e.error(`Column "${t.value}" do not exist in table ${r.shouldPrintSchema(this.schema)?`"${this.schema.name}".`:``}"${this.name}"`)})}processChecks(e){e.forEach(e=>{this.pushCheck(new a.default({...e,table:this}))})}pushCheck(e){this.checks.push(e)}findField(e){return this.fields.find(t=>t.name===e)}checkSameId(e){return this.schema.checkSameId(e.schemaName||`public`)&&(this.name===e.name||this.alias===e.name||this.name===e.alias||this.alias&&this.alias===e.alias)}processPartials(){if(!this.partials?.length)return;let e=new Set(this.fields.map(e=>e.name)),n=new Set;t.default(this.note)||n.add(`note`),t.default(this.headerColor)||n.add(`headerColor`);let r=this.partials.sort((e,t)=>t.order-e.order);r.toReversed().forEach(e=>{this.fields.splice(e.order,0,`dummy`)}),r.forEach(r=>{let i=this.schema.database.findTablePartial(r.name);if(i||this.error(`Table partial ${r.name} not found`),r.id=i.id,i.fields){let t=i.fields.filter(t=>!e.has(t.name)).map(t=>(e.add(t.name),t.inline_refs&&t.inline_refs.forEach(e=>{let n=(0,c.getMultiplicities)(e.relation)||[`*`,`*`],r={token:t.token,endpoints:[{tableName:this.name,schemaName:this.schema?.name,fieldNames:[t.name],relation:n[0],token:t.token},{tableName:e.tableName,schemaName:e.schemaName,fieldNames:e.fieldNames,relation:n[1],token:e.token}],injectedPartial:i};this.schema.database.injectedRawRefs.push(r)}),new o.default({...t,noteToken:null,table:this,injectedPartial:i,injectedToken:r.token})));this.fields.splice(r.order,1,...t)}else this.fields.splice(r.order,1);!n.has(`note`)&&!t.default(i.note)&&(this.noteToken=null,this.note=i.note,n.add(`note`)),!n.has(`headerColor`)&&!t.default(i.headerColor)&&(this.headerColor=i.headerColor,n.add(`headerColor`)),i.indexes.forEach(e=>{this.indexes.push(new s.default({...e,table:this,injectedPartial:i}))}),i.checks.forEach(e=>{this.checks.push(new a.default({...e,name:e.name&&`${this.name}.${e.name}`,table:this,injectedPartial:i}))})})}export(){return{...this.shallowExport(),...this.exportChild()}}exportChild(){return{fields:this.fields.map(e=>e.export()),indexes:this.indexes.map(e=>e.export())}}exportChildIds(){return{fieldIds:this.fields.map(e=>e.id),indexIds:this.indexes.map(e=>e.id),checkIds:this.checks.map(e=>e.id)}}exportParentIds(){return{schemaId:this.schema.id,groupId:this.group?this.group.id:null}}shallowExport(){return{name:this.name,alias:this.alias,note:this.note,headerColor:this.headerColor,partials:this.partials,recordIds:this.records.map(e=>e.id),metadata:this.metadata}}normalize(e){e.tables[this.id]={id:this.id,...this.shallowExport(),...this.exportChildIds(),...this.exportParentIds()},this.fields.forEach(t=>t.normalize(e)),this.indexes.forEach(t=>t.normalize(e)),this.checks.forEach(t=>t.normalize(e))}};exports.default=l;
@@ -1,14 +1,14 @@
1
1
  import e from "../node_modules/lodash-es/get.mjs";
2
2
  import t from "../node_modules/lodash-es/isNil.mjs";
3
3
  import { init_lodash as n } from "../node_modules/lodash-es/lodash.mjs";
4
- import r from "./check.mjs";
5
4
  import "./config.mjs";
5
+ import { shouldPrintSchema as r } from "./utils.mjs";
6
6
  import i from "./element.mjs";
7
- import a from "./field.mjs";
8
- import o from "./indexes.mjs";
9
- import { shouldPrintSchema as s } from "./utils.mjs";
7
+ import a from "./check.mjs";
8
+ import o from "./field.mjs";
9
+ import s from "./indexes.mjs";
10
10
  import { getMultiplicities as c } from "@dbml/parse";
11
- // src/model_structure/table.ts
11
+ //#region src/model_structure/table.ts
12
12
  n();
13
13
  var l = class extends i {
14
14
  constructor({ name: t, alias: n, note: r, fields: i = [], indexes: a = [], checks: o = [], schema: s = {}, token: c, headerColor: l, noteToken: u = null, partials: d = [], metadata: f = {} }) {
@@ -22,7 +22,7 @@ var l = class extends i {
22
22
  }
23
23
  processFields(e) {
24
24
  e.forEach((e) => {
25
- this.pushField(new a({
25
+ this.pushField(new o({
26
26
  ...e,
27
27
  table: this
28
28
  }));
@@ -32,11 +32,11 @@ var l = class extends i {
32
32
  this.checkField(e), this.fields.push(e);
33
33
  }
34
34
  checkField(e) {
35
- this.fields.some((t) => t.name === e.name) && e.error(`Field "${e.name}" existed in table ${s(this.schema) ? `"${this.schema.name}".` : ""}"${this.name}"`);
35
+ this.fields.some((t) => t.name === e.name) && e.error(`Field "${e.name}" existed in table ${r(this.schema) ? `"${this.schema.name}".` : ""}"${this.name}"`);
36
36
  }
37
37
  processIndexes(e) {
38
38
  e.forEach((e) => {
39
- this.pushIndex(new o({
39
+ this.pushIndex(new s({
40
40
  ...e,
41
41
  table: this
42
42
  }));
@@ -47,12 +47,12 @@ var l = class extends i {
47
47
  }
48
48
  checkIndex(e) {
49
49
  e.columns.forEach((t) => {
50
- t.type === "column" && !this.findField(t.value) && e.error(`Column "${t.value}" do not exist in table ${s(this.schema) ? `"${this.schema.name}".` : ""}"${this.name}"`);
50
+ t.type === "column" && !this.findField(t.value) && e.error(`Column "${t.value}" do not exist in table ${r(this.schema) ? `"${this.schema.name}".` : ""}"${this.name}"`);
51
51
  });
52
52
  }
53
53
  processChecks(e) {
54
54
  e.forEach((e) => {
55
- this.pushCheck(new r({
55
+ this.pushCheck(new a({
56
56
  ...e,
57
57
  table: this
58
58
  }));
@@ -71,13 +71,13 @@ var l = class extends i {
71
71
  if (!this.partials?.length) return;
72
72
  let e = new Set(this.fields.map((e) => e.name)), n = /* @__PURE__ */ new Set();
73
73
  t(this.note) || n.add("note"), t(this.headerColor) || n.add("headerColor");
74
- let i = this.partials.sort((e, t) => t.order - e.order);
75
- i.toReversed().forEach((e) => {
74
+ let r = this.partials.sort((e, t) => t.order - e.order);
75
+ r.toReversed().forEach((e) => {
76
76
  this.fields.splice(e.order, 0, "dummy");
77
- }), i.forEach((i) => {
78
- let s = this.schema.database.findTablePartial(i.name);
79
- if (s || this.error(`Table partial ${i.name} not found`), i.id = s.id, s.fields) {
80
- let t = s.fields.filter((t) => !e.has(t.name)).map((t) => (e.add(t.name), t.inline_refs && t.inline_refs.forEach((e) => {
77
+ }), r.forEach((r) => {
78
+ let i = this.schema.database.findTablePartial(r.name);
79
+ if (i || this.error(`Table partial ${r.name} not found`), r.id = i.id, i.fields) {
80
+ let t = i.fields.filter((t) => !e.has(t.name)).map((t) => (e.add(t.name), t.inline_refs && t.inline_refs.forEach((e) => {
81
81
  let n = c(e.relation) || ["*", "*"], r = {
82
82
  token: t.token,
83
83
  endpoints: [{
@@ -93,30 +93,30 @@ var l = class extends i {
93
93
  relation: n[1],
94
94
  token: e.token
95
95
  }],
96
- injectedPartial: s
96
+ injectedPartial: i
97
97
  };
98
98
  this.schema.database.injectedRawRefs.push(r);
99
- }), new a({
99
+ }), new o({
100
100
  ...t,
101
101
  noteToken: null,
102
102
  table: this,
103
- injectedPartial: s,
104
- injectedToken: i.token
103
+ injectedPartial: i,
104
+ injectedToken: r.token
105
105
  })));
106
- this.fields.splice(i.order, 1, ...t);
107
- } else this.fields.splice(i.order, 1);
108
- !n.has("note") && !t(s.note) && (this.noteToken = null, this.note = s.note, n.add("note")), !n.has("headerColor") && !t(s.headerColor) && (this.headerColor = s.headerColor, n.add("headerColor")), s.indexes.forEach((e) => {
109
- this.indexes.push(new o({
106
+ this.fields.splice(r.order, 1, ...t);
107
+ } else this.fields.splice(r.order, 1);
108
+ !n.has("note") && !t(i.note) && (this.noteToken = null, this.note = i.note, n.add("note")), !n.has("headerColor") && !t(i.headerColor) && (this.headerColor = i.headerColor, n.add("headerColor")), i.indexes.forEach((e) => {
109
+ this.indexes.push(new s({
110
110
  ...e,
111
111
  table: this,
112
- injectedPartial: s
112
+ injectedPartial: i
113
113
  }));
114
- }), s.checks.forEach((e) => {
115
- this.checks.push(new r({
114
+ }), i.checks.forEach((e) => {
115
+ this.checks.push(new a({
116
116
  ...e,
117
117
  name: e.name && `${this.name}.${e.name}`,
118
118
  table: this,
119
- injectedPartial: s
119
+ injectedPartial: i
120
120
  }));
121
121
  });
122
122
  });
@@ -166,4 +166,5 @@ var l = class extends i {
166
166
  }, this.fields.forEach((t) => t.normalize(e)), this.indexes.forEach((t) => t.normalize(e)), this.checks.forEach((t) => t.normalize(e));
167
167
  }
168
168
  };
169
+ //#endregion
169
170
  export { l as default };
@@ -1 +1 @@
1
- require("../_virtual/_rolldown/runtime.cjs");const e=require("../node_modules/lodash-es/get.cjs"),t=require("../node_modules/lodash-es/lodash.cjs"),n=require("./element.cjs"),r=require("./utils.cjs");t.init_lodash();var i=class extends n.default{constructor({name:t,token:n,tables:r=[],schema:i={},note:a,color:o,noteToken:s=null,metadata:c={}}){super(n),this.metadata=c,this.name=t,this.tables=[],this.schema=i,this.dbState=this.schema.dbState,this.note=a?e.default(a,`value`,a):null,this.noteToken=a?e.default(a,`token`,s):null,this.color=o,this.generateId(),this.processTables(r)}generateId(){this.id=this.dbState.generateId(`tableGroupId`)}processTables(e){e.forEach(e=>{let t=this.schema.database.findTable(e.schemaName,e.name);t||this.error(`Table ${e.schemaName?`"${e.schemaName}".`:``}${e.name} don't exist`),this.pushTable(t)})}pushTable(e){this.checkTable(e),this.tables.push(e),e.group=this}checkTable(e){this.tables.some(t=>t.id===e.id)&&this.error(`Table ${r.shouldPrintSchema(e.schema)?`"${e.schema.name}".`:``}.${e.name} is already in the group`),e.group&&this.error(`Table ${r.shouldPrintSchema(e.schema)?`"${e.schema.name}".`:``}.${e.name} is already in group ${r.shouldPrintSchema(e.group.schema)?`"${e.group.schema.name}".`:``}${e.group.name}`)}export(){return{...this.shallowExport(),...this.exportChild()}}exportChild(){return{tables:this.tables.map(e=>({tableName:e.name,schemaName:e.schema.name}))}}exportChildIds(){return{tableIds:this.tables.map(e=>e.id)}}exportParentIds(){return{schemaId:this.schema.id}}shallowExport(){return{name:this.name,note:this.note,color:this.color,metadata:this.metadata}}normalize(e){e.tableGroups[this.id]={id:this.id,...this.shallowExport(),...this.exportChildIds(),...this.exportParentIds()}}};exports.default=i;
1
+ require("../_virtual/_rolldown/runtime.cjs");const e=require("../node_modules/lodash-es/get.cjs"),t=require("../node_modules/lodash-es/lodash.cjs"),n=require("./utils.cjs"),r=require("./element.cjs");t.init_lodash();var i=class extends r.default{constructor({name:t,token:n,tables:r=[],schema:i={},note:a,color:o,noteToken:s=null,metadata:c={}}){super(n),this.metadata=c,this.name=t,this.tables=[],this.schema=i,this.dbState=this.schema.dbState,this.note=a?e.default(a,`value`,a):null,this.noteToken=a?e.default(a,`token`,s):null,this.color=o,this.generateId(),this.processTables(r)}generateId(){this.id=this.dbState.generateId(`tableGroupId`)}processTables(e){e.forEach(e=>{let t=this.schema.database.findTable(e.schemaName,e.name);t||this.error(`Table ${e.schemaName?`"${e.schemaName}".`:``}${e.name} don't exist`),this.pushTable(t)})}pushTable(e){this.checkTable(e),this.tables.push(e),e.group=this}checkTable(e){this.tables.some(t=>t.id===e.id)&&this.error(`Table ${n.shouldPrintSchema(e.schema)?`"${e.schema.name}".`:``}.${e.name} is already in the group`),e.group&&this.error(`Table ${n.shouldPrintSchema(e.schema)?`"${e.schema.name}".`:``}.${e.name} is already in group ${n.shouldPrintSchema(e.group.schema)?`"${e.group.schema.name}".`:``}${e.group.name}`)}export(){return{...this.shallowExport(),...this.exportChild()}}exportChild(){return{tables:this.tables.map(e=>({tableName:e.name,schemaName:e.schema.name}))}}exportChildIds(){return{tableIds:this.tables.map(e=>e.id)}}exportParentIds(){return{schemaId:this.schema.id}}shallowExport(){return{name:this.name,note:this.note,color:this.color,metadata:this.metadata}}normalize(e){e.tableGroups[this.id]={id:this.id,...this.shallowExport(),...this.exportChildIds(),...this.exportParentIds()}}};exports.default=i;
@@ -1,10 +1,10 @@
1
1
  import e from "../node_modules/lodash-es/get.mjs";
2
2
  import { init_lodash as t } from "../node_modules/lodash-es/lodash.mjs";
3
- import n from "./element.mjs";
4
- import { shouldPrintSchema as r } from "./utils.mjs";
5
- // src/model_structure/tableGroup.ts
3
+ import { shouldPrintSchema as n } from "./utils.mjs";
4
+ import r from "./element.mjs";
5
+ //#region src/model_structure/tableGroup.ts
6
6
  t();
7
- var i = class extends n {
7
+ var i = class extends r {
8
8
  constructor({ name: t, token: n, tables: r = [], schema: i = {}, note: a, color: o, noteToken: s = null, metadata: c = {} }) {
9
9
  super(n), this.metadata = c, this.name = t, this.tables = [], this.schema = i, this.dbState = this.schema.dbState, this.note = a ? e(a, "value", a) : null, this.noteToken = a ? e(a, "token", s) : null, this.color = o, this.generateId(), this.processTables(r);
10
10
  }
@@ -21,7 +21,7 @@ var i = class extends n {
21
21
  this.checkTable(e), this.tables.push(e), e.group = this;
22
22
  }
23
23
  checkTable(e) {
24
- this.tables.some((t) => t.id === e.id) && this.error(`Table ${r(e.schema) ? `"${e.schema.name}".` : ""}.${e.name} is already in the group`), e.group && this.error(`Table ${r(e.schema) ? `"${e.schema.name}".` : ""}.${e.name} is already in group ${r(e.group.schema) ? `"${e.group.schema.name}".` : ""}${e.group.name}`);
24
+ this.tables.some((t) => t.id === e.id) && this.error(`Table ${n(e.schema) ? `"${e.schema.name}".` : ""}.${e.name} is already in the group`), e.group && this.error(`Table ${n(e.schema) ? `"${e.schema.name}".` : ""}.${e.name} is already in group ${n(e.group.schema) ? `"${e.group.schema.name}".` : ""}${e.group.name}`);
25
25
  }
26
26
  export() {
27
27
  return {
@@ -58,4 +58,5 @@ var i = class extends n {
58
58
  };
59
59
  }
60
60
  };
61
+ //#endregion
61
62
  export { i as default };
@@ -1,7 +1,7 @@
1
1
  import e from "../node_modules/lodash-es/get.mjs";
2
2
  import { init_lodash as t } from "../node_modules/lodash-es/lodash.mjs";
3
3
  import n from "./element.mjs";
4
- // src/model_structure/tablePartial.js
4
+ //#region src/model_structure/tablePartial.js
5
5
  t();
6
6
  var r = class extends n {
7
7
  constructor({ name: t, note: n, fields: r = [], indexes: i = [], checks: a = [], token: o, headerColor: s, noteToken: c = null, dbState: l } = {}) {
@@ -29,4 +29,5 @@ var r = class extends n {
29
29
  };
30
30
  }
31
31
  };
32
+ //#endregion
32
33
  export { r as default };
@@ -1,9 +1,10 @@
1
1
  import { DEFAULT_SCHEMA_NAME as e } from "./config.mjs";
2
- // src/model_structure/utils.js
2
+ //#region src/model_structure/utils.js
3
3
  function t(e) {
4
4
  return e.name !== "public" || e.name === "public" && e.database.hasDefaultSchema;
5
5
  }
6
6
  function n(t) {
7
7
  return t !== e;
8
8
  }
9
+ //#endregion
9
10
  export { t as shouldPrintSchema, n as shouldPrintSchemaName };
@@ -1,4 +1,4 @@
1
- // ../../node_modules/antlr4/dist/antlr4.web.mjs
1
+ //#region ../../node_modules/antlr4/dist/antlr4.web.mjs
2
2
  var e = { 763: () => {} }, t = {};
3
3
  function n(r) {
4
4
  var i = t[r];
@@ -4055,4 +4055,5 @@ r.Uw;
4055
4055
  var qt = r.gw;
4056
4056
  r.iX, r.re, r.Pg, r.tD, r.R$, r.Dj, r.m7, r.NZ, r.xo, r.ou, r.qC, r.mD;
4057
4057
  var Jt = r.Ay;
4058
+ //#endregion
4058
4059
  export { Kt as ParseTreeListener, qt as ParseTreeWalker, Jt as default };
@@ -1 +1 @@
1
- const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("./_getNative.cjs"),n=require("./_root.cjs");var r,i=e.__esmMin((()=>{t.init__getNative(),n.init__root(),r=t.default(n.default,`DataView`)}));i(),exports.default=r,Object.defineProperty(exports,"init__DataView",{enumerable:!0,get:function(){return i}});
1
+ const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("./_root.cjs"),n=require("./_getNative.cjs");var r,i=e.__esmMin((()=>{n.init__getNative(),t.init__root(),r=n.default(t.default,`DataView`)}));i(),exports.default=r,Object.defineProperty(exports,"init__DataView",{enumerable:!0,get:function(){return i}});
@@ -1,9 +1,10 @@
1
1
  import { __esmMin as e } from "../../_virtual/_rolldown/runtime.mjs";
2
- import t, { init__getNative as n } from "./_getNative.mjs";
3
- import r, { init__root as i } from "./_root.mjs";
4
- // ../../node_modules/lodash-es/_DataView.js
2
+ import t, { init__root as n } from "./_root.mjs";
3
+ import r, { init__getNative as i } from "./_getNative.mjs";
4
+ //#region ../../node_modules/lodash-es/_DataView.js
5
5
  var a, o = e((() => {
6
- n(), i(), a = t(r, "DataView");
6
+ i(), n(), a = r(t, "DataView");
7
7
  }));
8
+ //#endregion
8
9
  o();
9
10
  export { a as default, o as init__DataView };
@@ -4,7 +4,7 @@ import r, { init__hashDelete as i } from "./_hashDelete.mjs";
4
4
  import a, { init__hashGet as o } from "./_hashGet.mjs";
5
5
  import s, { init__hashHas as c } from "./_hashHas.mjs";
6
6
  import l, { init__hashSet as u } from "./_hashSet.mjs";
7
- // ../../node_modules/lodash-es/_Hash.js
7
+ //#region ../../node_modules/lodash-es/_Hash.js
8
8
  function d(e) {
9
9
  var t = -1, n = e == null ? 0 : e.length;
10
10
  for (this.clear(); ++t < n;) {
@@ -15,5 +15,6 @@ function d(e) {
15
15
  var f = e((() => {
16
16
  n(), i(), o(), c(), u(), d.prototype.clear = t, d.prototype.delete = r, d.prototype.get = a, d.prototype.has = s, d.prototype.set = l;
17
17
  }));
18
+ //#endregion
18
19
  f();
19
20
  export { d as default, f as init__Hash };
@@ -4,7 +4,7 @@ import r, { init__listCacheDelete as i } from "./_listCacheDelete.mjs";
4
4
  import a, { init__listCacheGet as o } from "./_listCacheGet.mjs";
5
5
  import s, { init__listCacheHas as c } from "./_listCacheHas.mjs";
6
6
  import l, { init__listCacheSet as u } from "./_listCacheSet.mjs";
7
- // ../../node_modules/lodash-es/_ListCache.js
7
+ //#region ../../node_modules/lodash-es/_ListCache.js
8
8
  function d(e) {
9
9
  var t = -1, n = e == null ? 0 : e.length;
10
10
  for (this.clear(); ++t < n;) {
@@ -15,5 +15,6 @@ function d(e) {
15
15
  var f = e((() => {
16
16
  n(), i(), o(), c(), u(), d.prototype.clear = t, d.prototype.delete = r, d.prototype.get = a, d.prototype.has = s, d.prototype.set = l;
17
17
  }));
18
+ //#endregion
18
19
  f();
19
20
  export { d as default, f as init__ListCache };
@@ -1 +1 @@
1
- const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("./_getNative.cjs"),n=require("./_root.cjs");var r,i=e.__esmMin((()=>{t.init__getNative(),n.init__root(),r=t.default(n.default,`Map`)}));i(),exports.default=r,Object.defineProperty(exports,"init__Map",{enumerable:!0,get:function(){return i}});
1
+ const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("./_root.cjs"),n=require("./_getNative.cjs");var r,i=e.__esmMin((()=>{n.init__getNative(),t.init__root(),r=n.default(t.default,`Map`)}));i(),exports.default=r,Object.defineProperty(exports,"init__Map",{enumerable:!0,get:function(){return i}});
@@ -1,9 +1,10 @@
1
1
  import { __esmMin as e } from "../../_virtual/_rolldown/runtime.mjs";
2
- import t, { init__getNative as n } from "./_getNative.mjs";
3
- import r, { init__root as i } from "./_root.mjs";
4
- // ../../node_modules/lodash-es/_Map.js
2
+ import t, { init__root as n } from "./_root.mjs";
3
+ import r, { init__getNative as i } from "./_getNative.mjs";
4
+ //#region ../../node_modules/lodash-es/_Map.js
5
5
  var a, o = e((() => {
6
- n(), i(), a = t(r, "Map");
6
+ i(), n(), a = r(t, "Map");
7
7
  }));
8
+ //#endregion
8
9
  o();
9
10
  export { a as default, o as init__Map };
@@ -4,7 +4,7 @@ import r, { init__mapCacheDelete as i } from "./_mapCacheDelete.mjs";
4
4
  import a, { init__mapCacheGet as o } from "./_mapCacheGet.mjs";
5
5
  import s, { init__mapCacheHas as c } from "./_mapCacheHas.mjs";
6
6
  import l, { init__mapCacheSet as u } from "./_mapCacheSet.mjs";
7
- // ../../node_modules/lodash-es/_MapCache.js
7
+ //#region ../../node_modules/lodash-es/_MapCache.js
8
8
  function d(e) {
9
9
  var t = -1, n = e == null ? 0 : e.length;
10
10
  for (this.clear(); ++t < n;) {
@@ -15,5 +15,6 @@ function d(e) {
15
15
  var f = e((() => {
16
16
  n(), i(), o(), c(), u(), d.prototype.clear = t, d.prototype.delete = r, d.prototype.get = a, d.prototype.has = s, d.prototype.set = l;
17
17
  }));
18
+ //#endregion
18
19
  f();
19
20
  export { d as default, f as init__MapCache };
@@ -1 +1 @@
1
- const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("./_getNative.cjs"),n=require("./_root.cjs");var r,i=e.__esmMin((()=>{t.init__getNative(),n.init__root(),r=t.default(n.default,`Promise`)}));i(),exports.default=r,Object.defineProperty(exports,"init__Promise",{enumerable:!0,get:function(){return i}});
1
+ const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("./_root.cjs"),n=require("./_getNative.cjs");var r,i=e.__esmMin((()=>{n.init__getNative(),t.init__root(),r=n.default(t.default,`Promise`)}));i(),exports.default=r,Object.defineProperty(exports,"init__Promise",{enumerable:!0,get:function(){return i}});
@@ -1,9 +1,10 @@
1
1
  import { __esmMin as e } from "../../_virtual/_rolldown/runtime.mjs";
2
- import t, { init__getNative as n } from "./_getNative.mjs";
3
- import r, { init__root as i } from "./_root.mjs";
4
- // ../../node_modules/lodash-es/_Promise.js
2
+ import t, { init__root as n } from "./_root.mjs";
3
+ import r, { init__getNative as i } from "./_getNative.mjs";
4
+ //#region ../../node_modules/lodash-es/_Promise.js
5
5
  var a, o = e((() => {
6
- n(), i(), a = t(r, "Promise");
6
+ i(), n(), a = r(t, "Promise");
7
7
  }));
8
+ //#endregion
8
9
  o();
9
10
  export { a as default, o as init__Promise };
@@ -1 +1 @@
1
- const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("./_getNative.cjs"),n=require("./_root.cjs");var r,i=e.__esmMin((()=>{t.init__getNative(),n.init__root(),r=t.default(n.default,`Set`)}));i(),exports.default=r,Object.defineProperty(exports,"init__Set",{enumerable:!0,get:function(){return i}});
1
+ const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("./_root.cjs"),n=require("./_getNative.cjs");var r,i=e.__esmMin((()=>{n.init__getNative(),t.init__root(),r=n.default(t.default,`Set`)}));i(),exports.default=r,Object.defineProperty(exports,"init__Set",{enumerable:!0,get:function(){return i}});
@@ -1,9 +1,10 @@
1
1
  import { __esmMin as e } from "../../_virtual/_rolldown/runtime.mjs";
2
- import t, { init__getNative as n } from "./_getNative.mjs";
3
- import r, { init__root as i } from "./_root.mjs";
4
- // ../../node_modules/lodash-es/_Set.js
2
+ import t, { init__root as n } from "./_root.mjs";
3
+ import r, { init__getNative as i } from "./_getNative.mjs";
4
+ //#region ../../node_modules/lodash-es/_Set.js
5
5
  var a, o = e((() => {
6
- n(), i(), a = t(r, "Set");
6
+ i(), n(), a = r(t, "Set");
7
7
  }));
8
+ //#endregion
8
9
  o();
9
10
  export { a as default, o as init__Set };
@@ -2,7 +2,7 @@ import { __esmMin as e } from "../../_virtual/_rolldown/runtime.mjs";
2
2
  import t, { init__MapCache as n } from "./_MapCache.mjs";
3
3
  import r, { init__setCacheAdd as i } from "./_setCacheAdd.mjs";
4
4
  import a, { init__setCacheHas as o } from "./_setCacheHas.mjs";
5
- // ../../node_modules/lodash-es/_SetCache.js
5
+ //#region ../../node_modules/lodash-es/_SetCache.js
6
6
  function s(e) {
7
7
  var n = -1, r = e == null ? 0 : e.length;
8
8
  for (this.__data__ = new t(); ++n < r;) this.add(e[n]);
@@ -10,5 +10,6 @@ function s(e) {
10
10
  var c = e((() => {
11
11
  n(), i(), o(), s.prototype.add = s.prototype.push = r, s.prototype.has = a;
12
12
  }));
13
+ //#endregion
13
14
  c();
14
15
  export { s as default, c as init__SetCache };
@@ -5,7 +5,7 @@ import a, { init__stackDelete as o } from "./_stackDelete.mjs";
5
5
  import s, { init__stackGet as c } from "./_stackGet.mjs";
6
6
  import l, { init__stackHas as u } from "./_stackHas.mjs";
7
7
  import d, { init__stackSet as f } from "./_stackSet.mjs";
8
- // ../../node_modules/lodash-es/_Stack.js
8
+ //#region ../../node_modules/lodash-es/_Stack.js
9
9
  function p(e) {
10
10
  var n = this.__data__ = new t(e);
11
11
  this.size = n.size;
@@ -13,5 +13,6 @@ function p(e) {
13
13
  var m = e((() => {
14
14
  n(), i(), o(), c(), u(), f(), p.prototype.clear = r, p.prototype.delete = a, p.prototype.get = s, p.prototype.has = l, p.prototype.set = d;
15
15
  }));
16
+ //#endregion
16
17
  m();
17
18
  export { p as default, m as init__Stack };
@@ -1,8 +1,9 @@
1
1
  import { __esmMin as e } from "../../_virtual/_rolldown/runtime.mjs";
2
2
  import t, { init__root as n } from "./_root.mjs";
3
- // ../../node_modules/lodash-es/_Symbol.js
3
+ //#region ../../node_modules/lodash-es/_Symbol.js
4
4
  var r, i = e((() => {
5
5
  n(), r = t.Symbol;
6
6
  }));
7
+ //#endregion
7
8
  i();
8
9
  export { r as default, i as init__Symbol };
@@ -1,8 +1,9 @@
1
1
  import { __esmMin as e } from "../../_virtual/_rolldown/runtime.mjs";
2
2
  import t, { init__root as n } from "./_root.mjs";
3
- // ../../node_modules/lodash-es/_Uint8Array.js
3
+ //#region ../../node_modules/lodash-es/_Uint8Array.js
4
4
  var r, i = e((() => {
5
5
  n(), r = t.Uint8Array;
6
6
  }));
7
+ //#endregion
7
8
  i();
8
9
  export { r as default, i as init__Uint8Array };
@@ -1 +1 @@
1
- const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("./_getNative.cjs"),n=require("./_root.cjs");var r,i=e.__esmMin((()=>{t.init__getNative(),n.init__root(),r=t.default(n.default,`WeakMap`)}));i(),exports.default=r,Object.defineProperty(exports,"init__WeakMap",{enumerable:!0,get:function(){return i}});
1
+ const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("./_root.cjs"),n=require("./_getNative.cjs");var r,i=e.__esmMin((()=>{n.init__getNative(),t.init__root(),r=n.default(t.default,`WeakMap`)}));i(),exports.default=r,Object.defineProperty(exports,"init__WeakMap",{enumerable:!0,get:function(){return i}});
@@ -1,9 +1,10 @@
1
1
  import { __esmMin as e } from "../../_virtual/_rolldown/runtime.mjs";
2
- import t, { init__getNative as n } from "./_getNative.mjs";
3
- import r, { init__root as i } from "./_root.mjs";
4
- // ../../node_modules/lodash-es/_WeakMap.js
2
+ import t, { init__root as n } from "./_root.mjs";
3
+ import r, { init__getNative as i } from "./_getNative.mjs";
4
+ //#region ../../node_modules/lodash-es/_WeakMap.js
5
5
  var a, o = e((() => {
6
- n(), i(), a = t(r, "WeakMap");
6
+ i(), n(), a = r(t, "WeakMap");
7
7
  }));
8
+ //#endregion
8
9
  o();
9
10
  export { a as default, o as init__WeakMap };
@@ -1,5 +1,5 @@
1
1
  import { __esmMin as e } from "../../_virtual/_rolldown/runtime.mjs";
2
- // ../../node_modules/lodash-es/_arrayAggregator.js
2
+ //#region ../../node_modules/lodash-es/_arrayAggregator.js
3
3
  function t(e, t, n, r) {
4
4
  for (var i = -1, a = e == null ? 0 : e.length; ++i < a;) {
5
5
  var o = e[i];
@@ -8,5 +8,6 @@ function t(e, t, n, r) {
8
8
  return r;
9
9
  }
10
10
  var n = e((() => {}));
11
+ //#endregion
11
12
  n();
12
13
  export { t as default, n as init__arrayAggregator };
@@ -1,9 +1,10 @@
1
1
  import { __esmMin as e } from "../../_virtual/_rolldown/runtime.mjs";
2
- // ../../node_modules/lodash-es/_arrayEach.js
2
+ //#region ../../node_modules/lodash-es/_arrayEach.js
3
3
  function t(e, t) {
4
4
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1;);
5
5
  return e;
6
6
  }
7
7
  var n = e((() => {}));
8
+ //#endregion
8
9
  n();
9
10
  export { t as default, n as init__arrayEach };
@@ -1,5 +1,5 @@
1
1
  import { __esmMin as e } from "../../_virtual/_rolldown/runtime.mjs";
2
- // ../../node_modules/lodash-es/_arrayFilter.js
2
+ //#region ../../node_modules/lodash-es/_arrayFilter.js
3
3
  function t(e, t) {
4
4
  for (var n = -1, r = e == null ? 0 : e.length, i = 0, a = []; ++n < r;) {
5
5
  var o = e[n];
@@ -8,5 +8,6 @@ function t(e, t) {
8
8
  return a;
9
9
  }
10
10
  var n = e((() => {}));
11
+ //#endregion
11
12
  n();
12
13
  export { t as default, n as init__arrayFilter };
@@ -1 +1 @@
1
- const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("./_baseTimes.cjs"),n=require("./isArguments.cjs"),r=require("./isArray.cjs"),i=require("./isBuffer.cjs"),a=require("./_isIndex.cjs"),o=require("./isTypedArray.cjs");function s(e,s){var l=r.default(e),u=!l&&n.default(e),d=!l&&!u&&i.default(e),f=!l&&!u&&!d&&o.default(e),p=l||u||d||f,m=p?t.default(e.length,String):[],h=m.length;for(var g in e)(s||c.call(e,g))&&!(p&&(g==`length`||d&&(g==`offset`||g==`parent`)||f&&(g==`buffer`||g==`byteLength`||g==`byteOffset`)||a.default(g,h)))&&m.push(g);return m}var c,l=e.__esmMin((()=>{t.init__baseTimes(),n.init_isArguments(),r.init_isArray(),i.init_isBuffer(),a.init__isIndex(),o.init_isTypedArray(),c=Object.prototype.hasOwnProperty}));l(),exports.default=s,Object.defineProperty(exports,"init__arrayLikeKeys",{enumerable:!0,get:function(){return l}});
1
+ const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("./isArray.cjs"),n=require("./_isIndex.cjs"),r=require("./_baseTimes.cjs"),i=require("./isArguments.cjs"),a=require("./isBuffer.cjs"),o=require("./isTypedArray.cjs");function s(e,s){var l=t.default(e),u=!l&&i.default(e),d=!l&&!u&&a.default(e),f=!l&&!u&&!d&&o.default(e),p=l||u||d||f,m=p?r.default(e.length,String):[],h=m.length;for(var g in e)(s||c.call(e,g))&&!(p&&(g==`length`||d&&(g==`offset`||g==`parent`)||f&&(g==`buffer`||g==`byteLength`||g==`byteOffset`)||n.default(g,h)))&&m.push(g);return m}var c,l=e.__esmMin((()=>{r.init__baseTimes(),i.init_isArguments(),t.init_isArray(),a.init_isBuffer(),n.init__isIndex(),o.init_isTypedArray(),c=Object.prototype.hasOwnProperty}));l(),exports.default=s,Object.defineProperty(exports,"init__arrayLikeKeys",{enumerable:!0,get:function(){return l}});
@@ -1,18 +1,19 @@
1
1
  import { __esmMin as e } from "../../_virtual/_rolldown/runtime.mjs";
2
- import t, { init__baseTimes as n } from "./_baseTimes.mjs";
3
- import r, { init_isArguments as i } from "./isArguments.mjs";
4
- import a, { init_isArray as o } from "./isArray.mjs";
5
- import s, { init_isBuffer as c } from "./isBuffer.mjs";
6
- import l, { init__isIndex as u } from "./_isIndex.mjs";
2
+ import t, { init_isArray as n } from "./isArray.mjs";
3
+ import r, { init__isIndex as i } from "./_isIndex.mjs";
4
+ import a, { init__baseTimes as o } from "./_baseTimes.mjs";
5
+ import s, { init_isArguments as c } from "./isArguments.mjs";
6
+ import l, { init_isBuffer as u } from "./isBuffer.mjs";
7
7
  import d, { init_isTypedArray as f } from "./isTypedArray.mjs";
8
- // ../../node_modules/lodash-es/_arrayLikeKeys.js
8
+ //#region ../../node_modules/lodash-es/_arrayLikeKeys.js
9
9
  function p(e, n) {
10
- var i = a(e), o = !i && r(e), c = !i && !o && s(e), u = !i && !o && !c && d(e), f = i || o || c || u, p = f ? t(e.length, String) : [], h = p.length;
11
- for (var g in e) (n || m.call(e, g)) && !(f && (g == "length" || c && (g == "offset" || g == "parent") || u && (g == "buffer" || g == "byteLength" || g == "byteOffset") || l(g, h))) && p.push(g);
10
+ var i = t(e), o = !i && s(e), c = !i && !o && l(e), u = !i && !o && !c && d(e), f = i || o || c || u, p = f ? a(e.length, String) : [], h = p.length;
11
+ for (var g in e) (n || m.call(e, g)) && !(f && (g == "length" || c && (g == "offset" || g == "parent") || u && (g == "buffer" || g == "byteLength" || g == "byteOffset") || r(g, h))) && p.push(g);
12
12
  return p;
13
13
  }
14
14
  var m, h = e((() => {
15
- n(), i(), o(), c(), u(), f(), m = Object.prototype.hasOwnProperty;
15
+ o(), c(), n(), u(), i(), f(), m = Object.prototype.hasOwnProperty;
16
16
  }));
17
+ //#endregion
17
18
  h();
18
19
  export { p as default, h as init__arrayLikeKeys };
@@ -1,9 +1,10 @@
1
1
  import { __esmMin as e } from "../../_virtual/_rolldown/runtime.mjs";
2
- // ../../node_modules/lodash-es/_arrayMap.js
2
+ //#region ../../node_modules/lodash-es/_arrayMap.js
3
3
  function t(e, t) {
4
4
  for (var n = -1, r = e == null ? 0 : e.length, i = Array(r); ++n < r;) i[n] = t(e[n], n, e);
5
5
  return i;
6
6
  }
7
7
  var n = e((() => {}));
8
+ //#endregion
8
9
  n();
9
10
  export { t as default, n as init__arrayMap };
@@ -1,9 +1,10 @@
1
1
  import { __esmMin as e } from "../../_virtual/_rolldown/runtime.mjs";
2
- // ../../node_modules/lodash-es/_arrayPush.js
2
+ //#region ../../node_modules/lodash-es/_arrayPush.js
3
3
  function t(e, t) {
4
4
  for (var n = -1, r = t.length, i = e.length; ++n < r;) e[i + n] = t[n];
5
5
  return e;
6
6
  }
7
7
  var n = e((() => {}));
8
+ //#endregion
8
9
  n();
9
10
  export { t as default, n as init__arrayPush };
@@ -1,10 +1,11 @@
1
1
  import { __esmMin as e } from "../../_virtual/_rolldown/runtime.mjs";
2
- // ../../node_modules/lodash-es/_arrayReduce.js
2
+ //#region ../../node_modules/lodash-es/_arrayReduce.js
3
3
  function t(e, t, n, r) {
4
4
  var i = -1, a = e == null ? 0 : e.length;
5
5
  for (r && a && (n = e[++i]); ++i < a;) n = t(n, e[i], i, e);
6
6
  return n;
7
7
  }
8
8
  var n = e((() => {}));
9
+ //#endregion
9
10
  n();
10
11
  export { t as default, n as init__arrayReduce };
@@ -1,9 +1,10 @@
1
1
  import { __esmMin as e } from "../../_virtual/_rolldown/runtime.mjs";
2
- // ../../node_modules/lodash-es/_arraySome.js
2
+ //#region ../../node_modules/lodash-es/_arraySome.js
3
3
  function t(e, t) {
4
4
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r;) if (t(e[n], n, e)) return !0;
5
5
  return !1;
6
6
  }
7
7
  var n = e((() => {}));
8
+ //#endregion
8
9
  n();
9
10
  export { t as default, n as init__arraySome };
@@ -1,8 +1,9 @@
1
1
  import { __esmMin as e } from "../../_virtual/_rolldown/runtime.mjs";
2
- // ../../node_modules/lodash-es/_asciiToArray.js
2
+ //#region ../../node_modules/lodash-es/_asciiToArray.js
3
3
  function t(e) {
4
4
  return e.split("");
5
5
  }
6
6
  var n = e((() => {}));
7
+ //#endregion
7
8
  n();
8
9
  export { t as default, n as init__asciiToArray };
@@ -1,6 +1,6 @@
1
1
  import { __esmMin as e } from "../../_virtual/_rolldown/runtime.mjs";
2
2
  import t, { init_eq as n } from "./eq.mjs";
3
- // ../../node_modules/lodash-es/_assocIndexOf.js
3
+ //#region ../../node_modules/lodash-es/_assocIndexOf.js
4
4
  function r(e, n) {
5
5
  for (var r = e.length; r--;) if (t(e[r][0], n)) return r;
6
6
  return -1;
@@ -8,5 +8,6 @@ function r(e, n) {
8
8
  var i = e((() => {
9
9
  n();
10
10
  }));
11
+ //#endregion
11
12
  i();
12
13
  export { r as default, i as init__assocIndexOf };