@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.
- package/LICENSE +0 -0
- package/README.md +0 -0
- package/lib/_virtual/_rolldown/runtime.cjs +1 -1
- package/lib/_virtual/_rolldown/runtime.mjs +3 -2
- package/lib/export/DbmlExporter.cjs +1 -1
- package/lib/export/DbmlExporter.mjs +3 -2
- package/lib/export/JsonExporter.mjs +2 -1
- package/lib/export/ModelExporter.cjs +1 -1
- package/lib/export/ModelExporter.mjs +10 -9
- package/lib/export/MysqlExporter.mjs +2 -1
- package/lib/export/OracleExporter.mjs +2 -1
- package/lib/export/PostgresExporter.cjs +8 -8
- package/lib/export/PostgresExporter.mjs +31 -30
- package/lib/export/SqlServerExporter.mjs +2 -1
- package/lib/export/index.cjs +1 -1
- package/lib/export/index.mjs +6 -5
- package/lib/export/utils.mjs +2 -1
- package/lib/import/index.cjs +1 -1
- package/lib/import/index.mjs +11 -10
- package/lib/index.cjs +1 -1
- package/lib/index.mjs +5 -5
- package/lib/model_structure/check.mjs +2 -1
- package/lib/model_structure/config.mjs +2 -1
- package/lib/model_structure/database.cjs +1 -1
- package/lib/model_structure/database.mjs +15 -14
- package/lib/model_structure/dbState.mjs +2 -1
- package/lib/model_structure/dep.cjs +1 -1
- package/lib/model_structure/dep.mjs +7 -6
- package/lib/model_structure/depEdge.cjs +1 -1
- package/lib/model_structure/depEdge.mjs +11 -10
- package/lib/model_structure/element.mjs +2 -1
- package/lib/model_structure/endpoint.cjs +1 -1
- package/lib/model_structure/endpoint.mjs +18 -17
- package/lib/model_structure/enum.cjs +1 -1
- package/lib/model_structure/enum.mjs +9 -8
- package/lib/model_structure/enumValue.mjs +2 -1
- package/lib/model_structure/field.cjs +1 -1
- package/lib/model_structure/field.mjs +6 -5
- package/lib/model_structure/group.mjs +2 -1
- package/lib/model_structure/indexColumn.mjs +2 -1
- package/lib/model_structure/indexes.mjs +2 -1
- package/lib/model_structure/link.mjs +2 -1
- package/lib/model_structure/node.mjs +2 -1
- package/lib/model_structure/ref.mjs +2 -1
- package/lib/model_structure/schema.cjs +1 -1
- package/lib/model_structure/schema.mjs +16 -15
- package/lib/model_structure/stickyNote.mjs +2 -1
- package/lib/model_structure/table.cjs +1 -1
- package/lib/model_structure/table.mjs +29 -28
- package/lib/model_structure/tableGroup.cjs +1 -1
- package/lib/model_structure/tableGroup.mjs +6 -5
- package/lib/model_structure/tablePartial.mjs +2 -1
- package/lib/model_structure/utils.mjs +2 -1
- package/lib/node_modules/antlr4/dist/antlr4.web.mjs +2 -1
- package/lib/node_modules/lodash-es/_DataView.cjs +1 -1
- package/lib/node_modules/lodash-es/_DataView.mjs +5 -4
- package/lib/node_modules/lodash-es/_Hash.mjs +2 -1
- package/lib/node_modules/lodash-es/_ListCache.mjs +2 -1
- package/lib/node_modules/lodash-es/_Map.cjs +1 -1
- package/lib/node_modules/lodash-es/_Map.mjs +5 -4
- package/lib/node_modules/lodash-es/_MapCache.mjs +2 -1
- package/lib/node_modules/lodash-es/_Promise.cjs +1 -1
- package/lib/node_modules/lodash-es/_Promise.mjs +5 -4
- package/lib/node_modules/lodash-es/_Set.cjs +1 -1
- package/lib/node_modules/lodash-es/_Set.mjs +5 -4
- package/lib/node_modules/lodash-es/_SetCache.mjs +2 -1
- package/lib/node_modules/lodash-es/_Stack.mjs +2 -1
- package/lib/node_modules/lodash-es/_Symbol.mjs +2 -1
- package/lib/node_modules/lodash-es/_Uint8Array.mjs +2 -1
- package/lib/node_modules/lodash-es/_WeakMap.cjs +1 -1
- package/lib/node_modules/lodash-es/_WeakMap.mjs +5 -4
- package/lib/node_modules/lodash-es/_arrayAggregator.mjs +2 -1
- package/lib/node_modules/lodash-es/_arrayEach.mjs +2 -1
- package/lib/node_modules/lodash-es/_arrayFilter.mjs +2 -1
- package/lib/node_modules/lodash-es/_arrayLikeKeys.cjs +1 -1
- package/lib/node_modules/lodash-es/_arrayLikeKeys.mjs +10 -9
- package/lib/node_modules/lodash-es/_arrayMap.mjs +2 -1
- package/lib/node_modules/lodash-es/_arrayPush.mjs +2 -1
- package/lib/node_modules/lodash-es/_arrayReduce.mjs +2 -1
- package/lib/node_modules/lodash-es/_arraySome.mjs +2 -1
- package/lib/node_modules/lodash-es/_asciiToArray.mjs +2 -1
- package/lib/node_modules/lodash-es/_assocIndexOf.mjs +2 -1
- package/lib/node_modules/lodash-es/_baseAggregator.mjs +2 -1
- package/lib/node_modules/lodash-es/_baseAssignValue.mjs +2 -1
- package/lib/node_modules/lodash-es/_baseEach.mjs +2 -1
- package/lib/node_modules/lodash-es/_baseFlatten.mjs +2 -1
- package/lib/node_modules/lodash-es/_baseFor.mjs +2 -1
- package/lib/node_modules/lodash-es/_baseForOwn.cjs +1 -1
- package/lib/node_modules/lodash-es/_baseForOwn.mjs +6 -5
- package/lib/node_modules/lodash-es/_baseGet.mjs +2 -1
- package/lib/node_modules/lodash-es/_baseGetAllKeys.cjs +1 -1
- package/lib/node_modules/lodash-es/_baseGetAllKeys.mjs +6 -5
- package/lib/node_modules/lodash-es/_baseGetTag.mjs +2 -1
- package/lib/node_modules/lodash-es/_baseHasIn.mjs +2 -1
- package/lib/node_modules/lodash-es/_baseIsArguments.mjs +2 -1
- package/lib/node_modules/lodash-es/_baseIsEqual.cjs +1 -1
- package/lib/node_modules/lodash-es/_baseIsEqual.mjs +6 -5
- package/lib/node_modules/lodash-es/_baseIsEqualDeep.cjs +1 -1
- package/lib/node_modules/lodash-es/_baseIsEqualDeep.mjs +16 -15
- package/lib/node_modules/lodash-es/_baseIsMatch.mjs +2 -1
- package/lib/node_modules/lodash-es/_baseIsNative.cjs +1 -1
- package/lib/node_modules/lodash-es/_baseIsNative.mjs +7 -6
- package/lib/node_modules/lodash-es/_baseIsTypedArray.cjs +1 -1
- package/lib/node_modules/lodash-es/_baseIsTypedArray.mjs +6 -5
- package/lib/node_modules/lodash-es/_baseIteratee.cjs +1 -1
- package/lib/node_modules/lodash-es/_baseIteratee.mjs +8 -7
- package/lib/node_modules/lodash-es/_baseKeys.mjs +2 -1
- package/lib/node_modules/lodash-es/_baseMatches.mjs +2 -1
- package/lib/node_modules/lodash-es/_baseMatchesProperty.cjs +1 -1
- package/lib/node_modules/lodash-es/_baseMatchesProperty.mjs +11 -10
- package/lib/node_modules/lodash-es/_baseNth.mjs +2 -1
- package/lib/node_modules/lodash-es/_baseProperty.mjs +2 -1
- package/lib/node_modules/lodash-es/_basePropertyDeep.mjs +2 -1
- package/lib/node_modules/lodash-es/_baseReduce.mjs +2 -1
- package/lib/node_modules/lodash-es/_baseSlice.mjs +2 -1
- package/lib/node_modules/lodash-es/_baseTimes.mjs +2 -1
- package/lib/node_modules/lodash-es/_baseToString.cjs +1 -1
- package/lib/node_modules/lodash-es/_baseToString.mjs +8 -7
- package/lib/node_modules/lodash-es/_baseTrim.mjs +2 -1
- package/lib/node_modules/lodash-es/_baseUnary.mjs +2 -1
- package/lib/node_modules/lodash-es/_cacheHas.mjs +2 -1
- package/lib/node_modules/lodash-es/_castFunction.mjs +2 -1
- package/lib/node_modules/lodash-es/_castPath.mjs +2 -1
- package/lib/node_modules/lodash-es/_castSlice.mjs +2 -1
- package/lib/node_modules/lodash-es/_copyArray.mjs +2 -1
- package/lib/node_modules/lodash-es/_coreJsData.mjs +2 -1
- package/lib/node_modules/lodash-es/_createAggregator.cjs +1 -1
- package/lib/node_modules/lodash-es/_createAggregator.mjs +9 -8
- package/lib/node_modules/lodash-es/_createBaseEach.mjs +2 -1
- package/lib/node_modules/lodash-es/_createBaseFor.mjs +2 -1
- package/lib/node_modules/lodash-es/_createCaseFirst.cjs +1 -1
- package/lib/node_modules/lodash-es/_createCaseFirst.mjs +9 -8
- package/lib/node_modules/lodash-es/_defineProperty.mjs +2 -1
- package/lib/node_modules/lodash-es/_equalArrays.mjs +2 -1
- package/lib/node_modules/lodash-es/_equalByTag.cjs +1 -1
- package/lib/node_modules/lodash-es/_equalByTag.mjs +7 -6
- package/lib/node_modules/lodash-es/_equalObjects.mjs +2 -1
- package/lib/node_modules/lodash-es/_freeGlobal.mjs +2 -1
- package/lib/node_modules/lodash-es/_getAllKeys.cjs +1 -1
- package/lib/node_modules/lodash-es/_getAllKeys.mjs +6 -5
- package/lib/node_modules/lodash-es/_getMapData.mjs +2 -1
- package/lib/node_modules/lodash-es/_getMatchData.cjs +1 -1
- package/lib/node_modules/lodash-es/_getMatchData.mjs +7 -6
- package/lib/node_modules/lodash-es/_getNative.mjs +2 -1
- package/lib/node_modules/lodash-es/_getRawTag.mjs +2 -1
- package/lib/node_modules/lodash-es/_getSymbols.mjs +2 -1
- package/lib/node_modules/lodash-es/_getTag.cjs +1 -1
- package/lib/node_modules/lodash-es/_getTag.mjs +13 -12
- package/lib/node_modules/lodash-es/_getValue.mjs +2 -1
- package/lib/node_modules/lodash-es/_hasPath.cjs +1 -1
- package/lib/node_modules/lodash-es/_hasPath.mjs +10 -9
- package/lib/node_modules/lodash-es/_hasUnicode.mjs +2 -1
- package/lib/node_modules/lodash-es/_hashClear.mjs +2 -1
- package/lib/node_modules/lodash-es/_hashDelete.mjs +2 -1
- package/lib/node_modules/lodash-es/_hashGet.mjs +2 -1
- package/lib/node_modules/lodash-es/_hashHas.mjs +2 -1
- package/lib/node_modules/lodash-es/_hashSet.mjs +2 -1
- package/lib/node_modules/lodash-es/_isFlattenable.cjs +1 -1
- package/lib/node_modules/lodash-es/_isFlattenable.mjs +6 -5
- package/lib/node_modules/lodash-es/_isIndex.mjs +2 -1
- package/lib/node_modules/lodash-es/_isKey.cjs +1 -1
- package/lib/node_modules/lodash-es/_isKey.mjs +7 -6
- package/lib/node_modules/lodash-es/_isKeyable.mjs +2 -1
- package/lib/node_modules/lodash-es/_isMasked.mjs +2 -1
- package/lib/node_modules/lodash-es/_isPrototype.mjs +2 -1
- package/lib/node_modules/lodash-es/_isStrictComparable.mjs +2 -1
- package/lib/node_modules/lodash-es/_listCacheClear.mjs +2 -1
- package/lib/node_modules/lodash-es/_listCacheDelete.mjs +2 -1
- package/lib/node_modules/lodash-es/_listCacheGet.mjs +2 -1
- package/lib/node_modules/lodash-es/_listCacheHas.mjs +2 -1
- package/lib/node_modules/lodash-es/_listCacheSet.mjs +2 -1
- package/lib/node_modules/lodash-es/_mapCacheClear.mjs +2 -1
- package/lib/node_modules/lodash-es/_mapCacheDelete.mjs +2 -1
- package/lib/node_modules/lodash-es/_mapCacheGet.mjs +2 -1
- package/lib/node_modules/lodash-es/_mapCacheHas.mjs +2 -1
- package/lib/node_modules/lodash-es/_mapCacheSet.mjs +2 -1
- package/lib/node_modules/lodash-es/_mapToArray.mjs +2 -1
- package/lib/node_modules/lodash-es/_matchesStrictComparable.mjs +2 -1
- package/lib/node_modules/lodash-es/_memoizeCapped.mjs +2 -1
- package/lib/node_modules/lodash-es/_nativeCreate.mjs +2 -1
- package/lib/node_modules/lodash-es/_nativeKeys.mjs +2 -1
- package/lib/node_modules/lodash-es/_nodeUtil.mjs +2 -1
- package/lib/node_modules/lodash-es/_objectToString.mjs +2 -1
- package/lib/node_modules/lodash-es/_overArg.mjs +2 -1
- package/lib/node_modules/lodash-es/_root.mjs +2 -1
- package/lib/node_modules/lodash-es/_setCacheAdd.mjs +2 -1
- package/lib/node_modules/lodash-es/_setCacheHas.mjs +2 -1
- package/lib/node_modules/lodash-es/_setToArray.mjs +2 -1
- package/lib/node_modules/lodash-es/_stackClear.mjs +2 -1
- package/lib/node_modules/lodash-es/_stackDelete.mjs +2 -1
- package/lib/node_modules/lodash-es/_stackGet.mjs +2 -1
- package/lib/node_modules/lodash-es/_stackHas.mjs +2 -1
- package/lib/node_modules/lodash-es/_stackSet.mjs +2 -1
- package/lib/node_modules/lodash-es/_stringToArray.cjs +1 -1
- package/lib/node_modules/lodash-es/_stringToArray.mjs +6 -5
- package/lib/node_modules/lodash-es/_stringToPath.mjs +2 -1
- package/lib/node_modules/lodash-es/_toKey.mjs +2 -1
- package/lib/node_modules/lodash-es/_toSource.mjs +2 -1
- package/lib/node_modules/lodash-es/_trimmedEndIndex.mjs +2 -1
- package/lib/node_modules/lodash-es/_unicodeToArray.mjs +2 -1
- package/lib/node_modules/lodash-es/capitalize.mjs +2 -1
- package/lib/node_modules/lodash-es/concat.cjs +1 -1
- package/lib/node_modules/lodash-es/concat.mjs +8 -7
- package/lib/node_modules/lodash-es/eq.mjs +2 -1
- package/lib/node_modules/lodash-es/first.mjs +1 -1
- package/lib/node_modules/lodash-es/flatten.mjs +2 -1
- package/lib/node_modules/lodash-es/flattenDeep.mjs +2 -1
- package/lib/node_modules/lodash-es/flattenDepth.cjs +1 -1
- package/lib/node_modules/lodash-es/flattenDepth.mjs +6 -5
- package/lib/node_modules/lodash-es/forEach.cjs +1 -1
- package/lib/node_modules/lodash-es/forEach.mjs +8 -7
- package/lib/node_modules/lodash-es/get.mjs +2 -1
- package/lib/node_modules/lodash-es/groupBy.mjs +2 -1
- package/lib/node_modules/lodash-es/hasIn.mjs +2 -1
- package/lib/node_modules/lodash-es/head.mjs +2 -1
- package/lib/node_modules/lodash-es/identity.mjs +2 -1
- package/lib/node_modules/lodash-es/isArguments.cjs +1 -1
- package/lib/node_modules/lodash-es/isArguments.mjs +7 -6
- package/lib/node_modules/lodash-es/isArray.mjs +2 -1
- package/lib/node_modules/lodash-es/isArrayLike.mjs +2 -1
- package/lib/node_modules/lodash-es/isBuffer.mjs +2 -1
- package/lib/node_modules/lodash-es/isEmpty.cjs +1 -1
- package/lib/node_modules/lodash-es/isEmpty.mjs +14 -13
- package/lib/node_modules/lodash-es/isFunction.mjs +2 -1
- package/lib/node_modules/lodash-es/isLength.mjs +2 -1
- package/lib/node_modules/lodash-es/isNil.mjs +2 -1
- package/lib/node_modules/lodash-es/isObject.mjs +2 -1
- package/lib/node_modules/lodash-es/isObjectLike.mjs +2 -1
- package/lib/node_modules/lodash-es/isSymbol.mjs +2 -1
- package/lib/node_modules/lodash-es/isTypedArray.mjs +2 -1
- package/lib/node_modules/lodash-es/keys.cjs +1 -1
- package/lib/node_modules/lodash-es/keys.mjs +7 -6
- package/lib/node_modules/lodash-es/last.mjs +2 -1
- package/lib/node_modules/lodash-es/lodash.cjs +1 -1
- package/lib/node_modules/lodash-es/lodash.mjs +19 -19
- package/lib/node_modules/lodash-es/memoize.mjs +2 -1
- package/lib/node_modules/lodash-es/nth.cjs +1 -1
- package/lib/node_modules/lodash-es/nth.mjs +6 -5
- package/lib/node_modules/lodash-es/property.cjs +1 -1
- package/lib/node_modules/lodash-es/property.mjs +8 -7
- package/lib/node_modules/lodash-es/reduce.cjs +1 -1
- package/lib/node_modules/lodash-es/reduce.mjs +9 -8
- package/lib/node_modules/lodash-es/stubArray.mjs +2 -1
- package/lib/node_modules/lodash-es/stubFalse.mjs +2 -1
- package/lib/node_modules/lodash-es/toFinite.mjs +2 -1
- package/lib/node_modules/lodash-es/toInteger.mjs +2 -1
- package/lib/node_modules/lodash-es/toNumber.cjs +1 -1
- package/lib/node_modules/lodash-es/toNumber.mjs +10 -9
- package/lib/node_modules/lodash-es/toString.mjs +2 -1
- package/lib/node_modules/lodash-es/upperFirst.mjs +2 -1
- package/lib/node_modules/luxon/build/es6/luxon.mjs +2 -1
- package/lib/node_modules/parsimmon/build/parsimmon.umd.min.cjs +1 -1
- package/lib/node_modules/parsimmon/build/parsimmon.umd.min.mjs +4 -3
- package/lib/node_modules/pluralize/pluralize.cjs +1 -1
- package/lib/node_modules/pluralize/pluralize.mjs +4 -3
- package/lib/packages/dbml-core/node_modules/lodash/lodash.cjs +2 -2
- package/lib/packages/dbml-core/node_modules/lodash/lodash.mjs +4 -3
- package/lib/packages/dbml-core/package.json.cjs +1 -1
- package/lib/packages/dbml-core/package.json.mjs +3 -2
- package/lib/parse/ANTLR/ASTGeneration/AST.mjs +2 -1
- package/lib/parse/ANTLR/ASTGeneration/ParserErrorListener.mjs +2 -1
- package/lib/parse/ANTLR/ASTGeneration/SyntaxError.mjs +2 -1
- package/lib/parse/ANTLR/ASTGeneration/constants.mjs +2 -1
- package/lib/parse/ANTLR/ASTGeneration/helpers.mjs +2 -1
- package/lib/parse/ANTLR/ASTGeneration/index.mjs +2 -1
- package/lib/parse/ANTLR/ASTGeneration/mssql/MssqlASTGen.mjs +2 -1
- package/lib/parse/ANTLR/ASTGeneration/mysql/MySQLASTGen.cjs +1 -1
- package/lib/parse/ANTLR/ASTGeneration/mysql/MySQLASTGen.mjs +3 -2
- package/lib/parse/ANTLR/ASTGeneration/oraclesql/OracleSQLASTGen.cjs +1 -1
- package/lib/parse/ANTLR/ASTGeneration/oraclesql/OracleSQLASTGen.mjs +58 -57
- package/lib/parse/ANTLR/ASTGeneration/postgres/PostgresASTGen.cjs +1 -1
- package/lib/parse/ANTLR/ASTGeneration/postgres/PostgresASTGen.mjs +3 -2
- package/lib/parse/ANTLR/ASTGeneration/snowflake/SnowflakeASTGen.mjs +2 -1
- package/lib/parse/ANTLR/parsers/mssql/TSqlLexer.mjs +2 -1
- package/lib/parse/ANTLR/parsers/mssql/TSqlParser.mjs +2 -1
- package/lib/parse/ANTLR/parsers/mssql/TSqlParserVisitor.mjs +2 -1
- package/lib/parse/ANTLR/parsers/mysql/MySqlLexer.mjs +2 -1
- package/lib/parse/ANTLR/parsers/mysql/MySqlLexerBase.mjs +2 -1
- package/lib/parse/ANTLR/parsers/mysql/MySqlParser.mjs +2 -1
- package/lib/parse/ANTLR/parsers/mysql/MySqlParserVisitor.mjs +2 -1
- package/lib/parse/ANTLR/parsers/oraclesql/OracleSqlLexer.mjs +2 -1
- package/lib/parse/ANTLR/parsers/oraclesql/OracleSqlLexerBase.mjs +2 -1
- package/lib/parse/ANTLR/parsers/oraclesql/OracleSqlParser.mjs +2 -1
- package/lib/parse/ANTLR/parsers/oraclesql/OracleSqlParserBase.mjs +2 -1
- package/lib/parse/ANTLR/parsers/oraclesql/OracleSqlParserVisitor.mjs +2 -1
- package/lib/parse/ANTLR/parsers/postgresql/PostgreSQLLexer.mjs +2 -1
- package/lib/parse/ANTLR/parsers/postgresql/PostgreSQLLexerBase.mjs +2 -1
- package/lib/parse/ANTLR/parsers/postgresql/PostgreSQLParser.mjs +2 -1
- package/lib/parse/ANTLR/parsers/postgresql/PostgreSQLParserBase.mjs +2 -1
- package/lib/parse/ANTLR/parsers/postgresql/PostgreSQLParserVisitor.mjs +2 -1
- package/lib/parse/ANTLR/parsers/snowflake/SnowflakeLexer.mjs +2 -1
- package/lib/parse/ANTLR/parsers/snowflake/SnowflakeParser.mjs +2 -1
- package/lib/parse/ANTLR/parsers/snowflake/SnowflakeParserVisitor.mjs +2 -1
- package/lib/parse/Parser.cjs +1 -1
- package/lib/parse/Parser.mjs +38 -37
- package/lib/parse/databaseGenerator.mjs +2 -1
- package/lib/parse/deprecated/dbmlParser.mjs +2 -1
- package/lib/parse/deprecated/mssql/base_parsers.cjs +1 -1
- package/lib/parse/deprecated/mssql/base_parsers.mjs +28 -27
- package/lib/parse/deprecated/mssql/column_definition/actions.mjs +2 -1
- package/lib/parse/deprecated/mssql/column_definition/index.cjs +1 -1
- package/lib/parse/deprecated/mssql/column_definition/index.mjs +19 -19
- package/lib/parse/deprecated/mssql/constraint_definition/actions.mjs +2 -1
- package/lib/parse/deprecated/mssql/constraint_definition/index.cjs +1 -1
- package/lib/parse/deprecated/mssql/constraint_definition/index.mjs +10 -10
- package/lib/parse/deprecated/mssql/expression.cjs +1 -1
- package/lib/parse/deprecated/mssql/expression.mjs +18 -17
- package/lib/parse/deprecated/mssql/fk_definition/actions.mjs +2 -1
- package/lib/parse/deprecated/mssql/fk_definition/index.cjs +1 -1
- package/lib/parse/deprecated/mssql/fk_definition/index.mjs +8 -7
- package/lib/parse/deprecated/mssql/index.mjs +2 -1
- package/lib/parse/deprecated/mssql/index_definition/actions.mjs +2 -1
- package/lib/parse/deprecated/mssql/index_definition/index.cjs +1 -1
- package/lib/parse/deprecated/mssql/index_definition/index.mjs +14 -13
- package/lib/parse/deprecated/mssql/keyword_parsers.mjs +2 -1
- package/lib/parse/deprecated/mssql/keyword_utils.mjs +2 -1
- package/lib/parse/deprecated/mssql/statements/actions.mjs +2 -1
- package/lib/parse/deprecated/mssql/statements/index.cjs +1 -1
- package/lib/parse/deprecated/mssql/statements/index.mjs +24 -23
- package/lib/parse/deprecated/mssql/statements/statement_types/alter_table/actions.mjs +2 -1
- package/lib/parse/deprecated/mssql/statements/statement_types/alter_table/add/actions.mjs +1 -1
- package/lib/parse/deprecated/mssql/statements/statement_types/alter_table/add/index.cjs +1 -1
- package/lib/parse/deprecated/mssql/statements/statement_types/alter_table/add/index.mjs +14 -13
- package/lib/parse/deprecated/mssql/statements/statement_types/alter_table/index.mjs +2 -1
- package/lib/parse/deprecated/mssql/statements/statement_types/comments/actions.mjs +2 -1
- package/lib/parse/deprecated/mssql/statements/statement_types/comments/index.cjs +1 -1
- package/lib/parse/deprecated/mssql/statements/statement_types/comments/index.mjs +6 -5
- package/lib/parse/deprecated/mssql/statements/statement_types/create_index/actions.mjs +2 -1
- package/lib/parse/deprecated/mssql/statements/statement_types/create_index/index.cjs +1 -1
- package/lib/parse/deprecated/mssql/statements/statement_types/create_index/index.mjs +12 -11
- package/lib/parse/deprecated/mssql/statements/statement_types/create_table/actions.mjs +2 -1
- package/lib/parse/deprecated/mssql/statements/statement_types/create_table/index.cjs +1 -1
- package/lib/parse/deprecated/mssql/statements/statement_types/create_table/index.mjs +12 -11
- package/lib/parse/deprecated/mssql/statements/statement_types/index.mjs +1 -1
- package/lib/parse/deprecated/mssql/utils.cjs +1 -1
- package/lib/parse/deprecated/mssql/utils.mjs +11 -10
- package/lib/parse/deprecated/mssql/whitespaces.mjs +2 -1
- package/lib/parse/deprecated/mssqlParser.mjs +2 -1
- package/lib/parse/deprecated/mysqlParser.mjs +2 -1
- package/lib/parse/deprecated/postgresParser.mjs +2 -1
- package/lib/parse/deprecated/schemarbParser.mjs +2 -1
- package/lib/parse/error.mjs +2 -1
- package/lib/transform/index.mjs +2 -1
- package/lib/transform/relations.mjs +2 -1
- package/lib/utils/version.mjs +2 -1
- package/package.json +3 -3
- package/types/export/DbmlExporter.d.ts +0 -0
- package/types/export/JsonExporter.d.ts +0 -0
- package/types/export/ModelExporter.d.ts +0 -0
- package/types/export/index.d.ts +0 -0
- package/types/model_structure/check.d.ts +0 -0
- package/types/model_structure/element.d.ts +0 -0
- package/types/model_structure/enum.d.ts +0 -0
- package/types/model_structure/enumValue.d.ts +0 -0
- package/types/model_structure/index.d.ts +0 -0
- package/types/model_structure/indexes.d.ts +0 -0
- package/types/model_structure/ref.d.ts +0 -0
- package/types/model_structure/tablePartial.d.ts +0 -0
- 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")
|
|
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 "./
|
|
8
|
-
import o from "./
|
|
9
|
-
import
|
|
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
|
-
|
|
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
|
|
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 ${
|
|
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
|
|
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 ${
|
|
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
|
|
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
|
|
75
|
-
|
|
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
|
-
}),
|
|
78
|
-
let
|
|
79
|
-
if (
|
|
80
|
-
let t =
|
|
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:
|
|
96
|
+
injectedPartial: i
|
|
97
97
|
};
|
|
98
98
|
this.schema.database.injectedRawRefs.push(r);
|
|
99
|
-
}), new
|
|
99
|
+
}), new o({
|
|
100
100
|
...t,
|
|
101
101
|
noteToken: null,
|
|
102
102
|
table: this,
|
|
103
|
-
injectedPartial:
|
|
104
|
-
injectedToken:
|
|
103
|
+
injectedPartial: i,
|
|
104
|
+
injectedToken: r.token
|
|
105
105
|
})));
|
|
106
|
-
this.fields.splice(
|
|
107
|
-
} else this.fields.splice(
|
|
108
|
-
!n.has("note") && !t(
|
|
109
|
-
this.indexes.push(new
|
|
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:
|
|
112
|
+
injectedPartial: i
|
|
113
113
|
}));
|
|
114
|
-
}),
|
|
115
|
-
this.checks.push(new
|
|
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:
|
|
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("./
|
|
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 "./
|
|
4
|
-
import
|
|
5
|
-
|
|
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
|
|
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 ${
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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("./
|
|
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, {
|
|
3
|
-
import r, {
|
|
4
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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("./
|
|
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, {
|
|
3
|
-
import r, {
|
|
4
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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("./
|
|
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, {
|
|
3
|
-
import r, {
|
|
4
|
-
|
|
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
|
-
|
|
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("./
|
|
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, {
|
|
3
|
-
import r, {
|
|
4
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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("./
|
|
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, {
|
|
3
|
-
import r, {
|
|
4
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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("./
|
|
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, {
|
|
3
|
-
import r, {
|
|
4
|
-
import a, {
|
|
5
|
-
import s, {
|
|
6
|
-
import l, {
|
|
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
|
-
|
|
8
|
+
//#region ../../node_modules/lodash-es/_arrayLikeKeys.js
|
|
9
9
|
function p(e, n) {
|
|
10
|
-
var i =
|
|
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") ||
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 };
|