@continuous-excellence/coupling-cli 1.1.518 → 1.1.520
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/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Auth0Environment.mjs +8 -8
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigCommand.mjs +35 -35
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigFileSource.mjs +11 -11
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs +15 -15
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCliConfig.mjs +18 -18
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs +19 -19
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Main.mjs +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Versions.mjs +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs +12 -12
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PartyListQuery.mjs +19 -19
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs +28 -28
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PartyListQuery_ResponseAdapter.mjs +11 -11
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_ResponseAdapter.mjs +16 -16
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_VariablesAdapter.mjs +2 -2
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs +43 -43
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs +26 -26
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ContributionInput.mjs +13 -13
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs +38 -38
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CycleTimeFromFirstCommit.mjs +3 -3
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ListContribution.js.mjs +15 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ListContribution.js.mjs.map +1 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ListContribution.mjs +328 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ListContribution.mjs.map +1 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs +38 -37
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyDetails.mjs +31 -31
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs +17 -17
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs +32 -32
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs +56 -56
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/ActionLoggingSyntax.mjs +7 -7
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/LoggingActionPipe.mjs +17 -17
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/party/SaveContributionCommand.mjs +7 -7
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/party/SaveContributionCommandDispatcherExecuteKt.mjs +13 -13
- package/kotlin/Coupling-libraries-json/com/zegreatrob/coupling/json/PartyIdSerializer.mjs +7 -7
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/Contribution.mjs +108 -0
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/Contribution.mjs.map +1 -1
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/ContributionId.mjs +4 -4
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/CouplingPair.mjs +57 -57
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/PairingSet.mjs +16 -16
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/PairingSetId.mjs +4 -4
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PairingRule.mjs +1 -1
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PartyDetails.mjs +34 -34
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PartyId.mjs +4 -4
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/SecretId.mjs +4 -4
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pin/Pin.mjs +17 -17
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/AvatarType.mjs +1 -1
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/Badge.mjs +1 -1
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/Player.mjs +28 -28
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/PlayerId.mjs +4 -4
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/callsign/CallSign.mjs +7 -7
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/user/UserId.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSdk.mjs +17 -17
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkGraphQueryDispatcher.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkSaveContributionCommandDispatcher.mjs +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/adapter/Adapter.mjs +15 -15
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlQuery.mjs +13 -13
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlTrait.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/KtorQueryPerformer.mjs +2 -2
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/ContributionDetailsMapper.mjs +32 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/ContributionDetailsMapper.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PairingSetDetailsMapper.mjs +8 -8
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PartyDetailsMapper.mjs +10 -10
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/CurrentPairAssignmentsQuery.mjs +28 -28
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyContributionReportContributionsQuery.mjs +229 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyContributionReportContributionsQuery.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyDetailsQuery.mjs +24 -24
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/SaveContributionMutation.mjs +17 -17
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_ResponseAdapter.mjs +16 -16
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_VariablesAdapter.mjs +2 -2
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyContributionReportContributionsQuery_ResponseAdapter.mjs +196 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyContributionReportContributionsQuery_ResponseAdapter.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyContributionReportContributionsQuery_VariablesAdapter.mjs +48 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyContributionReportContributionsQuery_VariablesAdapter.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyDetailsQuery_ResponseAdapter.mjs +11 -11
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyDetailsQuery_VariablesAdapter.mjs +2 -2
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/SaveContributionMutation_ResponseAdapter.mjs +5 -5
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/SaveContributionMutation_VariablesAdapter.mjs +2 -2
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/ContributionDetails.mjs +127 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/ContributionDetails.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/ContributionDetailsImpl_ResponseAdapter.mjs +199 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/ContributionDetailsImpl_ResponseAdapter.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PairingSetDetails.mjs +77 -77
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PairingSetDetailsImpl_ResponseAdapter.mjs +44 -44
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PartyDetails.mjs +31 -31
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PartyDetailsImpl_ResponseAdapter.mjs +15 -15
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetails.mjs +28 -28
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetailsImpl_ResponseAdapter.mjs +13 -13
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/AvatarType.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Badge.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionInput.mjs +46 -46
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionWindow.mjs +134 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionWindow.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionsInput.mjs +22 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionsInput.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLFloat.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyInput.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/SaveContributionInput.mjs +7 -7
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/AvatarType_ResponseAdapter.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/Badge_ResponseAdapter.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionInput_InputAdapter.mjs +30 -30
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionWindow_ResponseAdapter.mjs +50 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionWindow_ResponseAdapter.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionsInput_InputAdapter.mjs +60 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionsInput_InputAdapter.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/PartyInput_InputAdapter.mjs +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/SaveContributionInput_InputAdapter.mjs +4 -4
- package/kotlin/apollo-kotlin-adapters-apollo-adapters-core/com/apollographql/adapter/core/KotlinInstantAdapter.mjs +2 -2
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloCall.mjs +10 -10
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloClient.mjs +208 -208
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ConcurrencyInfo.mjs +2 -2
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/ApolloInterceptor.mjs +5 -5
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/NetworkInterceptor.mjs +6 -6
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/RetryOnErrorInterceptor.mjs +36 -36
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/DeferredJsonMerger.mjs +27 -27
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/MultipartReader.mjs +42 -42
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/flows.mjs +22 -22
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/multipart.mjs +15 -15
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/NetworkMonitor.mjs +4 -4
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/DefaultHttpEngine.js.mjs +12 -12
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpExecutionContext.mjs +4 -4
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpInterceptor.mjs +5 -5
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpNetworkTransport.mjs +102 -102
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/JsWebSocketEngine.mjs +11 -11
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/SubscriptionWsProtocol.mjs +31 -31
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WebSocketNetworkTransport.mjs +144 -144
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WsProtocol.mjs +18 -18
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/internal/WsMessage.mjs +24 -24
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/KtorExtensions.mjs +2 -2
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/http/KtorHttpEngine.mjs +13 -13
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/ws/KtorWebSocketEngine.mjs +43 -43
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.mjs +7 -7
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/BashCompletionGenerator.mjs +28 -28
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/CompletionGenerator.mjs +4 -4
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/FishCompletionGenerator.mjs +23 -23
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/BaseCliktCommand.mjs +111 -111
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs +95 -95
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/exceptions.mjs +124 -124
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Finalization.mjs +37 -37
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Util.mjs +2 -2
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/AbstractHelpFormatter.mjs +134 -134
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/HelpFormatter.mjs +48 -48
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/Localization.mjs +32 -32
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/PlaintextHelpFormatter.mjs +26 -26
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/groups/ParameterGroup.mjs +2 -2
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/internal/NullableLateinit.mjs +12 -12
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/EagerOption.mjs +6 -6
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/FlagOption.mjs +3 -3
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/Option.mjs +21 -21
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/OptionWithValues.mjs +209 -209
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs +5 -5
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformEach.mjs +3 -3
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/transform/TransformContext.mjs +7 -7
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/types/boolean.mjs +9 -9
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/CommandLineParser.mjs +29 -29
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/Invocation.mjs +45 -45
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/ParserInternals.mjs +230 -230
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/atfile.mjs +3 -3
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/sources/ValueSource.mjs +15 -15
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/command/SuspendingCliktCommand.mjs +2 -2
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/core/MordantContext.mjs +16 -16
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/output/MordantHelpFormatter.mjs +65 -65
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/options/PromptOptions.mjs +18 -18
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/transform/MordantTransformContext.mjs +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/Color.mjs +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/ColorSpace.mjs +5 -5
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/WhitePoint.mjs +15 -15
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/internal/Matrix.mjs +10 -10
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi16.mjs +18 -18
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi256.mjs +19 -19
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/HSV.mjs +25 -25
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/ICtCp.mjs +19 -19
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGB.mjs +121 -121
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGBColorSpaces.mjs +134 -134
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/XYZ.mjs +62 -62
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/xyY.mjs +19 -19
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs +3 -3
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs +2 -2
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/DirectLoggerFactory.mjs +1 -1
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs +8 -8
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs +9 -9
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs +25 -25
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +5 -5
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +12 -12
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs +5 -5
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +11 -11
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +2 -2
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs +2 -2
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiCodes.mjs +24 -24
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiRender.mjs +39 -39
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Constants.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/HyperlinkIds.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/MppInternal.jsCommon.mjs +17 -17
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Parsing.mjs +53 -53
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/cellwidth.mjs +7 -7
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/cellwidthtable.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/emojiseqtable.mjs +14 -14
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/platform/MultiplatformSystem.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/BorderType.mjs +39 -39
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Lines.mjs +60 -60
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Size.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Span.mjs +22 -22
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/TextStyle.mjs +79 -79
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Theme.mjs +44 -44
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Whitespace.mjs +4 -4
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Widget.mjs +2 -2
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/WidthRange.mjs +17 -17
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Borders.mjs +4 -4
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Table.mjs +234 -234
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDsl.mjs +22 -22
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDslInstances.mjs +152 -152
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableLayout.mjs +57 -57
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/VerticalLayout.mjs +32 -32
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Prompt.mjs +60 -60
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/StandardTerminalInterface.mjs +14 -14
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Terminal.mjs +53 -53
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalCursor.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalDetection.mjs +5 -5
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalExtensions.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInfo.mjs +18 -18
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInterface.mjs +10 -10
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.js.mjs +19 -19
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.jsCommon.mjs +13 -13
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/DefinitionList.mjs +56 -56
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/EmptyWidget.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Padding.mjs +59 -59
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Text.mjs +67 -67
- package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/ActionCannon.mjs +9 -9
- package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/ActionPipe.mjs +2 -2
- package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/async/SimpleSuspendAction.mjs +7 -7
- package/kotlin/tools-digger-json/com/zegreatrob/tools/digger/json/ContributionDataJson.mjs +148 -108
- package/kotlin/tools-digger-json/com/zegreatrob/tools/digger/json/ContributionDataJson.mjs.map +1 -1
- package/kotlin/tools-digger-model/com/zegreatrob/tools/digger/model/Contribution.mjs +37 -37
- package/package.json +1 -1
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
//region block: pre-declaration
|
|
28
28
|
//endregion
|
|
29
29
|
function Prompt$makePromptChoices$lambda(this$0) {
|
|
30
|
-
return (it) => this$0.
|
|
30
|
+
return (it) => this$0.o6v(it);
|
|
31
31
|
}
|
|
32
32
|
var PromptClass;
|
|
33
33
|
function Prompt() {
|
|
@@ -42,72 +42,72 @@ function Prompt() {
|
|
|
42
42
|
promptSuffix = promptSuffix === VOID ? ': ' : promptSuffix;
|
|
43
43
|
invalidChoiceMessage = invalidChoiceMessage === VOID ? 'Invalid value, choose from ' : invalidChoiceMessage;
|
|
44
44
|
boxApply(this, $box);
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
47
|
-
this.
|
|
48
|
-
this.
|
|
49
|
-
this.
|
|
50
|
-
this.
|
|
51
|
-
this.
|
|
52
|
-
this.
|
|
53
|
-
this.
|
|
45
|
+
this.f6v_1 = prompt;
|
|
46
|
+
this.g6v_1 = terminal;
|
|
47
|
+
this.h6v_1 = default_0;
|
|
48
|
+
this.i6v_1 = showDefault;
|
|
49
|
+
this.j6v_1 = showChoices;
|
|
50
|
+
this.k6v_1 = hideInput;
|
|
51
|
+
this.l6v_1 = choices;
|
|
52
|
+
this.m6v_1 = promptSuffix;
|
|
53
|
+
this.n6v_1 = invalidChoiceMessage;
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
o6v(value) {
|
|
56
56
|
return toString(value);
|
|
57
57
|
}
|
|
58
|
-
|
|
58
|
+
q6v() {
|
|
59
59
|
// Inline function 'kotlin.text.buildString' call
|
|
60
60
|
// Inline function 'kotlin.apply' call
|
|
61
61
|
var this_0 = StringBuilder().h1();
|
|
62
|
-
this_0.i1(this.
|
|
62
|
+
this_0.i1(this.g6v_1.i6p_1.w6o('prompt.prompt').k6h(this.f6v_1));
|
|
63
63
|
var tmp;
|
|
64
|
-
if (this.
|
|
64
|
+
if (this.j6v_1) {
|
|
65
65
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
66
|
-
tmp = !this.
|
|
66
|
+
tmp = !this.l6v_1.j1();
|
|
67
67
|
} else {
|
|
68
68
|
tmp = false;
|
|
69
69
|
}
|
|
70
70
|
if (tmp) {
|
|
71
71
|
this_0.i1(' ');
|
|
72
|
-
this_0.i1(this.
|
|
72
|
+
this_0.i1(this.g6v_1.i6p_1.w6o('prompt.choices').k6h(this.r6v()));
|
|
73
73
|
}
|
|
74
|
-
if (this.
|
|
74
|
+
if (this.i6v_1 && !(this.h6v_1 == null)) {
|
|
75
75
|
this_0.i1(' ');
|
|
76
|
-
this_0.i1(this.
|
|
76
|
+
this_0.i1(this.g6v_1.i6p_1.w6o('prompt.default').k6h(this.s6v(this.h6v_1)));
|
|
77
77
|
}
|
|
78
|
-
this_0.i1(this.
|
|
78
|
+
this_0.i1(this.m6v_1);
|
|
79
79
|
var tmp$ret$0 = this_0.toString();
|
|
80
|
-
return Text().
|
|
80
|
+
return Text().u6u(tmp$ret$0);
|
|
81
81
|
}
|
|
82
|
-
|
|
83
|
-
return '(' + this.
|
|
82
|
+
s6v(default_0) {
|
|
83
|
+
return '(' + this.o6v(default_0) + ')';
|
|
84
84
|
}
|
|
85
|
-
|
|
86
|
-
return joinToString(this.
|
|
85
|
+
r6v() {
|
|
86
|
+
return joinToString(this.l6v_1, VOID, '[', ']', VOID, VOID, Prompt$makePromptChoices$lambda(this));
|
|
87
87
|
}
|
|
88
|
-
|
|
89
|
-
var tmp = this.
|
|
88
|
+
t6v() {
|
|
89
|
+
var tmp = this.g6v_1.i6p_1.w6o('prompt.choices.invalid');
|
|
90
90
|
// Inline function 'kotlin.text.buildString' call
|
|
91
91
|
// Inline function 'kotlin.apply' call
|
|
92
92
|
var this_0 = StringBuilder().h1();
|
|
93
|
-
this_0.i1(this.
|
|
94
|
-
this_0.i1(this.
|
|
93
|
+
this_0.i1(this.n6v_1);
|
|
94
|
+
this_0.i1(this.r6v());
|
|
95
95
|
var tmp$ret$0 = this_0.toString();
|
|
96
|
-
return Text().
|
|
96
|
+
return Text().u6u(tmp.k6h(tmp$ret$0));
|
|
97
97
|
}
|
|
98
|
-
|
|
98
|
+
u6v() {
|
|
99
99
|
}
|
|
100
|
-
|
|
100
|
+
v6v(message) {
|
|
101
101
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
102
102
|
if (!isBlank(message)) {
|
|
103
|
-
danger(this.
|
|
103
|
+
danger(this.g6v_1, message);
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
|
-
|
|
106
|
+
w6v() {
|
|
107
107
|
$l$loop_0: while (true) {
|
|
108
|
-
this.
|
|
109
|
-
this.
|
|
110
|
-
var tmp0_elvis_lhs = this.
|
|
108
|
+
this.u6v();
|
|
109
|
+
this.g6v_1.x6v(this.q6v());
|
|
110
|
+
var tmp0_elvis_lhs = this.g6v_1.y6v(this.k6v_1);
|
|
111
111
|
var tmp;
|
|
112
112
|
if (tmp0_elvis_lhs == null) {
|
|
113
113
|
return null;
|
|
@@ -118,20 +118,20 @@ function Prompt() {
|
|
|
118
118
|
var tmp_0;
|
|
119
119
|
// Inline function 'kotlin.text.isEmpty' call
|
|
120
120
|
if (charSequenceLength(line) === 0) {
|
|
121
|
-
tmp_0 = !(this.
|
|
121
|
+
tmp_0 = !(this.h6v_1 == null);
|
|
122
122
|
} else {
|
|
123
123
|
tmp_0 = false;
|
|
124
124
|
}
|
|
125
125
|
if (tmp_0) {
|
|
126
|
-
return this.
|
|
126
|
+
return this.h6v_1;
|
|
127
127
|
}
|
|
128
|
-
var result = this.
|
|
128
|
+
var result = this.p6v(line);
|
|
129
129
|
var tmp_1;
|
|
130
130
|
if (result instanceof Valid()) {
|
|
131
|
-
tmp_1 = result.
|
|
131
|
+
tmp_1 = result.a6w_1;
|
|
132
132
|
} else {
|
|
133
133
|
if (result instanceof Invalid()) {
|
|
134
|
-
this.
|
|
134
|
+
this.v6v(result.z6v_1);
|
|
135
135
|
continue $l$loop_0;
|
|
136
136
|
} else {
|
|
137
137
|
noWhenBranchMatchedException();
|
|
@@ -140,13 +140,13 @@ function Prompt() {
|
|
|
140
140
|
var value = tmp_1;
|
|
141
141
|
var tmp_2;
|
|
142
142
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
143
|
-
if (!this.
|
|
144
|
-
tmp_2 = !this.
|
|
143
|
+
if (!this.l6v_1.j1()) {
|
|
144
|
+
tmp_2 = !this.l6v_1.k3(value);
|
|
145
145
|
} else {
|
|
146
146
|
tmp_2 = false;
|
|
147
147
|
}
|
|
148
148
|
if (tmp_2) {
|
|
149
|
-
this.
|
|
149
|
+
this.g6v_1.b6w(this.t6v());
|
|
150
150
|
continue $l$loop_0;
|
|
151
151
|
}
|
|
152
152
|
return value;
|
|
@@ -164,13 +164,13 @@ function Valid() {
|
|
|
164
164
|
class $ extends ConversionResult() {
|
|
165
165
|
constructor(value) {
|
|
166
166
|
super();
|
|
167
|
-
this.
|
|
167
|
+
this.a6w_1 = value;
|
|
168
168
|
}
|
|
169
169
|
toString() {
|
|
170
|
-
return 'Valid(value=' + toString(this.
|
|
170
|
+
return 'Valid(value=' + toString(this.a6w_1) + ')';
|
|
171
171
|
}
|
|
172
172
|
hashCode() {
|
|
173
|
-
return this.
|
|
173
|
+
return this.a6w_1 == null ? 0 : hashCode(this.a6w_1);
|
|
174
174
|
}
|
|
175
175
|
equals(other) {
|
|
176
176
|
if (this === other)
|
|
@@ -178,7 +178,7 @@ function Valid() {
|
|
|
178
178
|
if (!(other instanceof Valid()))
|
|
179
179
|
return false;
|
|
180
180
|
var tmp0_other_with_cast = other instanceof Valid() ? other : THROW_CCE();
|
|
181
|
-
if (!equals(this.
|
|
181
|
+
if (!equals(this.a6w_1, tmp0_other_with_cast.a6w_1))
|
|
182
182
|
return false;
|
|
183
183
|
return true;
|
|
184
184
|
}
|
|
@@ -194,13 +194,13 @@ function Invalid() {
|
|
|
194
194
|
class $ extends ConversionResult() {
|
|
195
195
|
constructor(message) {
|
|
196
196
|
super();
|
|
197
|
-
this.
|
|
197
|
+
this.z6v_1 = message;
|
|
198
198
|
}
|
|
199
199
|
toString() {
|
|
200
|
-
return 'Invalid(message=' + this.
|
|
200
|
+
return 'Invalid(message=' + this.z6v_1 + ')';
|
|
201
201
|
}
|
|
202
202
|
hashCode() {
|
|
203
|
-
return getStringHashCode(this.
|
|
203
|
+
return getStringHashCode(this.z6v_1);
|
|
204
204
|
}
|
|
205
205
|
equals(other) {
|
|
206
206
|
if (this === other)
|
|
@@ -208,7 +208,7 @@ function Invalid() {
|
|
|
208
208
|
if (!(other instanceof Invalid()))
|
|
209
209
|
return false;
|
|
210
210
|
var tmp0_other_with_cast = other instanceof Invalid() ? other : THROW_CCE();
|
|
211
|
-
if (!(this.
|
|
211
|
+
if (!(this.z6v_1 === tmp0_other_with_cast.z6v_1))
|
|
212
212
|
return false;
|
|
213
213
|
return true;
|
|
214
214
|
}
|
|
@@ -231,7 +231,7 @@ var CompanionClass;
|
|
|
231
231
|
function Companion() {
|
|
232
232
|
if (CompanionClass === VOID) {
|
|
233
233
|
class $ {
|
|
234
|
-
|
|
234
|
+
c6w(firstPrompt, secondPrompt, valueMismatchMessage, builder) {
|
|
235
235
|
return new (ConfirmationPrompt())(builder(firstPrompt), builder(secondPrompt), valueMismatchMessage);
|
|
236
236
|
}
|
|
237
237
|
}
|
|
@@ -250,13 +250,13 @@ function ConfirmationPrompt() {
|
|
|
250
250
|
class $ {
|
|
251
251
|
constructor(firstPrompt, secondPrompt, valueMismatchMessage) {
|
|
252
252
|
valueMismatchMessage = valueMismatchMessage === VOID ? 'Values do not match, try again' : valueMismatchMessage;
|
|
253
|
-
this.
|
|
254
|
-
this.
|
|
255
|
-
this.
|
|
253
|
+
this.d6w_1 = firstPrompt;
|
|
254
|
+
this.e6w_1 = secondPrompt;
|
|
255
|
+
this.f6w_1 = valueMismatchMessage;
|
|
256
256
|
}
|
|
257
|
-
|
|
257
|
+
w6v() {
|
|
258
258
|
while (true) {
|
|
259
|
-
var tmp0_elvis_lhs = this.
|
|
259
|
+
var tmp0_elvis_lhs = this.d6w_1.w6v();
|
|
260
260
|
var tmp;
|
|
261
261
|
if (tmp0_elvis_lhs == null) {
|
|
262
262
|
return null;
|
|
@@ -264,7 +264,7 @@ function ConfirmationPrompt() {
|
|
|
264
264
|
tmp = tmp0_elvis_lhs;
|
|
265
265
|
}
|
|
266
266
|
var value = tmp;
|
|
267
|
-
var tmp1_elvis_lhs = this.
|
|
267
|
+
var tmp1_elvis_lhs = this.e6w_1.w6v();
|
|
268
268
|
var tmp_0;
|
|
269
269
|
if (tmp1_elvis_lhs == null) {
|
|
270
270
|
return null;
|
|
@@ -275,7 +275,7 @@ function ConfirmationPrompt() {
|
|
|
275
275
|
if (equals(value, secondValue)) {
|
|
276
276
|
return value;
|
|
277
277
|
} else {
|
|
278
|
-
danger(this.
|
|
278
|
+
danger(this.d6w_1.g6v_1, this.f6w_1);
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
}
|
package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/StandardTerminalInterface.mjs
CHANGED
|
@@ -26,36 +26,36 @@ var StandardTerminalInterfaceClass;
|
|
|
26
26
|
function StandardTerminalInterface() {
|
|
27
27
|
if (StandardTerminalInterfaceClass === VOID) {
|
|
28
28
|
class $ {
|
|
29
|
-
|
|
30
|
-
return TerminalDetection_instance.
|
|
29
|
+
g6w(ansiLevel, hyperlinks, outputInteractive, inputInteractive) {
|
|
30
|
+
return TerminalDetection_instance.j6w(ansiLevel, hyperlinks, inputInteractive, outputInteractive, this.h6w(), this.i6w());
|
|
31
31
|
}
|
|
32
|
-
|
|
33
|
-
if (request.
|
|
34
|
-
printStderr(request.
|
|
35
|
-
} else if (request.
|
|
32
|
+
k6w(request) {
|
|
33
|
+
if (request.n6w_1) {
|
|
34
|
+
printStderr(request.l6w_1, request.m6w_1);
|
|
35
|
+
} else if (request.m6w_1) {
|
|
36
36
|
// Inline function 'kotlin.text.isEmpty' call
|
|
37
|
-
var this_0 = request.
|
|
37
|
+
var this_0 = request.l6w_1;
|
|
38
38
|
if (charSequenceLength(this_0) === 0) {
|
|
39
39
|
println_0();
|
|
40
40
|
} else {
|
|
41
|
-
println(request.
|
|
41
|
+
println(request.l6w_1);
|
|
42
42
|
}
|
|
43
43
|
} else {
|
|
44
|
-
print(request.
|
|
44
|
+
print(request.l6w_1);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
|
|
47
|
+
y6v(hideInput) {
|
|
48
48
|
return readLineOrNullMpp(hideInput);
|
|
49
49
|
}
|
|
50
|
-
|
|
50
|
+
i6w() {
|
|
51
51
|
return true;
|
|
52
52
|
}
|
|
53
|
-
|
|
53
|
+
h6w() {
|
|
54
54
|
return true;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
protoOf($).
|
|
58
|
-
protoOf($).
|
|
57
|
+
protoOf($).o6w = getTerminalSize;
|
|
58
|
+
protoOf($).p6w = shouldAutoUpdateSize;
|
|
59
59
|
initMetadataForClass($, 'StandardTerminalInterface', VOID, VOID, [TerminalInterface()]);
|
|
60
60
|
StandardTerminalInterfaceClass = $;
|
|
61
61
|
}
|
|
@@ -34,33 +34,33 @@ function rawPrintln($this, message, stderr) {
|
|
|
34
34
|
sendPrintRequest($this, new (PrintRequest())(message, true, stderr));
|
|
35
35
|
}
|
|
36
36
|
function sendPrintRequest($this, request) {
|
|
37
|
-
if ($this.
|
|
38
|
-
$this.
|
|
37
|
+
if ($this.k6p_1.p6w()) {
|
|
38
|
+
$this.q6w();
|
|
39
39
|
}
|
|
40
|
-
sendInterceptedPrintRequest(request, $this.
|
|
40
|
+
sendInterceptedPrintRequest(request, $this.k6p_1, $this.q6p_1.c3());
|
|
41
41
|
}
|
|
42
42
|
var TerminalClass;
|
|
43
43
|
function Terminal() {
|
|
44
44
|
if (TerminalClass === VOID) {
|
|
45
45
|
class $ {
|
|
46
|
-
static
|
|
46
|
+
static r6w(theme, tabWidth, terminalInterface, forceWidth, forceHeight, nonInteractiveWidth, nonInteractiveHeight, terminalInfo) {
|
|
47
47
|
var $this = createThis(this);
|
|
48
|
-
$this.
|
|
49
|
-
$this.
|
|
50
|
-
$this.
|
|
51
|
-
$this.
|
|
52
|
-
$this.
|
|
53
|
-
$this.
|
|
54
|
-
$this.
|
|
55
|
-
$this.
|
|
56
|
-
$this.
|
|
57
|
-
$this.
|
|
58
|
-
$this.
|
|
48
|
+
$this.i6p_1 = theme;
|
|
49
|
+
$this.j6p_1 = tabWidth;
|
|
50
|
+
$this.k6p_1 = terminalInterface;
|
|
51
|
+
$this.l6p_1 = forceWidth;
|
|
52
|
+
$this.m6p_1 = forceHeight;
|
|
53
|
+
$this.n6p_1 = nonInteractiveWidth;
|
|
54
|
+
$this.o6p_1 = nonInteractiveHeight;
|
|
55
|
+
$this.p6p_1 = terminalInfo;
|
|
56
|
+
$this.q6p_1 = MppAtomicRef(emptyList());
|
|
57
|
+
$this.r6p_1 = MppAtomicRef(detectSize($this.k6p_1, $this.p6p_1, $this.l6p_1, $this.m6p_1, $this.n6p_1, $this.o6p_1));
|
|
58
|
+
$this.s6p_1 = $this.p6p_1.x6w() ? makePrintingTerminalCursor($this) : DisabledTerminalCursor_instance;
|
|
59
59
|
return $this;
|
|
60
60
|
}
|
|
61
|
-
static
|
|
61
|
+
static y6w(ansiLevel, theme, width, height, nonInteractiveWidth, nonInteractiveHeight, hyperlinks, tabWidth, interactive, terminalInterface) {
|
|
62
62
|
ansiLevel = ansiLevel === VOID ? null : ansiLevel;
|
|
63
|
-
theme = theme === VOID ? Companion_getInstance().
|
|
63
|
+
theme = theme === VOID ? Companion_getInstance().o6o_1 : theme;
|
|
64
64
|
width = width === VOID ? null : width;
|
|
65
65
|
height = height === VOID ? null : height;
|
|
66
66
|
nonInteractiveWidth = nonInteractiveWidth === VOID ? null : nonInteractiveWidth;
|
|
@@ -69,20 +69,20 @@ function Terminal() {
|
|
|
69
69
|
tabWidth = tabWidth === VOID ? 8 : tabWidth;
|
|
70
70
|
interactive = interactive === VOID ? null : interactive;
|
|
71
71
|
terminalInterface = terminalInterface === VOID ? get_STANDARD_TERM_INTERFACE() : terminalInterface;
|
|
72
|
-
return this.
|
|
72
|
+
return this.r6w(theme, tabWidth, terminalInterface, width, height, nonInteractiveWidth, nonInteractiveHeight, terminalInterface.g6w(ansiLevel, hyperlinks, interactive, interactive));
|
|
73
73
|
}
|
|
74
74
|
q2() {
|
|
75
|
-
return this.
|
|
75
|
+
return this.r6p_1.c3();
|
|
76
76
|
}
|
|
77
|
-
|
|
78
|
-
var tmp0 = this.
|
|
77
|
+
q6w() {
|
|
78
|
+
var tmp0 = this.r6p_1;
|
|
79
79
|
var tmp$ret$0;
|
|
80
80
|
$l$block: {
|
|
81
81
|
// Inline function 'com.github.ajalt.mordant.internal.update' call
|
|
82
82
|
while (true) {
|
|
83
83
|
var old = tmp0.c3();
|
|
84
|
-
var newValue = detectSize(this.
|
|
85
|
-
if (tmp0.
|
|
84
|
+
var newValue = detectSize(this.k6p_1, this.p6p_1, this.l6p_1, this.m6p_1, this.n6p_1, this.o6p_1);
|
|
85
|
+
if (tmp0.z6w(old, newValue)) {
|
|
86
86
|
tmp$ret$0 = to(old, newValue);
|
|
87
87
|
break $l$block;
|
|
88
88
|
}
|
|
@@ -90,10 +90,10 @@ function Terminal() {
|
|
|
90
90
|
}
|
|
91
91
|
return tmp$ret$0.wl_1;
|
|
92
92
|
}
|
|
93
|
-
|
|
94
|
-
this.
|
|
93
|
+
a6x(message, whitespace, align, overflowWrap, width, stderr) {
|
|
94
|
+
this.c6x(this.b6x(message, whitespace, align, overflowWrap, width), stderr);
|
|
95
95
|
}
|
|
96
|
-
|
|
96
|
+
d6x(message, whitespace, align, overflowWrap, width, stderr, $super) {
|
|
97
97
|
whitespace = whitespace === VOID ? Whitespace_PRE_getInstance() : whitespace;
|
|
98
98
|
align = align === VOID ? TextAlign_NONE_getInstance() : align;
|
|
99
99
|
overflowWrap = overflowWrap === VOID ? OverflowWrap_NORMAL_getInstance() : overflowWrap;
|
|
@@ -101,17 +101,17 @@ function Terminal() {
|
|
|
101
101
|
stderr = stderr === VOID ? false : stderr;
|
|
102
102
|
var tmp;
|
|
103
103
|
if ($super === VOID) {
|
|
104
|
-
this.
|
|
104
|
+
this.a6x(message, whitespace, align, overflowWrap, width, stderr);
|
|
105
105
|
tmp = Unit_instance;
|
|
106
106
|
} else {
|
|
107
|
-
tmp = $super.
|
|
107
|
+
tmp = $super.a6x.call(this, message, whitespace, align, overflowWrap, width, stderr);
|
|
108
108
|
}
|
|
109
109
|
return tmp;
|
|
110
110
|
}
|
|
111
|
-
|
|
112
|
-
rawPrintln(this, this.
|
|
111
|
+
e6x(message, whitespace, align, overflowWrap, width, stderr) {
|
|
112
|
+
rawPrintln(this, this.b6x(message, whitespace, align, overflowWrap, width), stderr);
|
|
113
113
|
}
|
|
114
|
-
|
|
114
|
+
f6x(message, whitespace, align, overflowWrap, width, stderr, $super) {
|
|
115
115
|
whitespace = whitespace === VOID ? Whitespace_PRE_getInstance() : whitespace;
|
|
116
116
|
align = align === VOID ? TextAlign_NONE_getInstance() : align;
|
|
117
117
|
overflowWrap = overflowWrap === VOID ? OverflowWrap_NORMAL_getInstance() : overflowWrap;
|
|
@@ -119,65 +119,65 @@ function Terminal() {
|
|
|
119
119
|
stderr = stderr === VOID ? false : stderr;
|
|
120
120
|
var tmp;
|
|
121
121
|
if ($super === VOID) {
|
|
122
|
-
this.
|
|
122
|
+
this.e6x(message, whitespace, align, overflowWrap, width, stderr);
|
|
123
123
|
tmp = Unit_instance;
|
|
124
124
|
} else {
|
|
125
|
-
tmp = $super.
|
|
125
|
+
tmp = $super.e6x.call(this, message, whitespace, align, overflowWrap, width, stderr);
|
|
126
126
|
}
|
|
127
127
|
return tmp;
|
|
128
128
|
}
|
|
129
|
-
|
|
130
|
-
this.
|
|
129
|
+
g6x(widget, stderr) {
|
|
130
|
+
this.c6x(this.h6x(widget), stderr);
|
|
131
131
|
}
|
|
132
|
-
|
|
132
|
+
x6v(widget, stderr, $super) {
|
|
133
133
|
stderr = stderr === VOID ? false : stderr;
|
|
134
134
|
var tmp;
|
|
135
135
|
if ($super === VOID) {
|
|
136
|
-
this.
|
|
136
|
+
this.g6x(widget, stderr);
|
|
137
137
|
tmp = Unit_instance;
|
|
138
138
|
} else {
|
|
139
|
-
tmp = $super.
|
|
139
|
+
tmp = $super.g6x.call(this, widget, stderr);
|
|
140
140
|
}
|
|
141
141
|
return tmp;
|
|
142
142
|
}
|
|
143
|
-
|
|
144
|
-
rawPrintln(this, this.
|
|
143
|
+
i6x(widget, stderr) {
|
|
144
|
+
rawPrintln(this, this.h6x(widget), stderr);
|
|
145
145
|
}
|
|
146
|
-
|
|
146
|
+
b6w(widget, stderr, $super) {
|
|
147
147
|
stderr = stderr === VOID ? false : stderr;
|
|
148
148
|
var tmp;
|
|
149
149
|
if ($super === VOID) {
|
|
150
|
-
this.
|
|
150
|
+
this.i6x(widget, stderr);
|
|
151
151
|
tmp = Unit_instance;
|
|
152
152
|
} else {
|
|
153
|
-
tmp = $super.
|
|
153
|
+
tmp = $super.i6x.call(this, widget, stderr);
|
|
154
154
|
}
|
|
155
155
|
return tmp;
|
|
156
156
|
}
|
|
157
|
-
|
|
157
|
+
b6x(message, whitespace, align, overflowWrap, width) {
|
|
158
158
|
var tmp;
|
|
159
159
|
if (message instanceof Lines()) {
|
|
160
|
-
tmp = renderLinesAnsi(message, this.
|
|
160
|
+
tmp = renderLinesAnsi(message, this.p6p_1.s6w_1, this.p6p_1.t6w_1);
|
|
161
161
|
} else {
|
|
162
162
|
if (!(message == null) ? isInterface(message, Widget()) : false) {
|
|
163
|
-
tmp = this.
|
|
163
|
+
tmp = this.h6x(message);
|
|
164
164
|
} else {
|
|
165
|
-
tmp = this.
|
|
165
|
+
tmp = this.h6x(Text().u6u(toString_0(message), whitespace, align, overflowWrap, width));
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
return tmp;
|
|
169
169
|
}
|
|
170
|
-
|
|
171
|
-
return renderLinesAnsi(widget.
|
|
170
|
+
h6x(widget) {
|
|
171
|
+
return renderLinesAnsi(widget.h6p(this), this.p6p_1.s6w_1, this.p6p_1.t6w_1);
|
|
172
172
|
}
|
|
173
|
-
|
|
174
|
-
return this.
|
|
173
|
+
y6v(hideInput) {
|
|
174
|
+
return this.k6p_1.y6v(hideInput);
|
|
175
175
|
}
|
|
176
|
-
|
|
176
|
+
c6x(message, stderr) {
|
|
177
177
|
sendPrintRequest(this, new (PrintRequest())(toString(message), false, stderr));
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
|
-
initMetadataForClass($, 'Terminal', $.
|
|
180
|
+
initMetadataForClass($, 'Terminal', $.y6w);
|
|
181
181
|
TerminalClass = $;
|
|
182
182
|
}
|
|
183
183
|
return TerminalClass;
|
|
@@ -321,7 +321,7 @@ var TerminalDetectionClass;
|
|
|
321
321
|
function TerminalDetection() {
|
|
322
322
|
if (TerminalDetectionClass === VOID) {
|
|
323
323
|
class $ {
|
|
324
|
-
|
|
324
|
+
j6w(ansiLevel_0, hyperlinks, forceInputInteractive, forceOutputInteractive, detectedStdinInteractive, detectedStdoutInteractive) {
|
|
325
325
|
var ij = isIntellijRunActionConsole(this);
|
|
326
326
|
var inputInteractive = forceInputInteractive == null ? ij || detectedStdinInteractive : forceInputInteractive;
|
|
327
327
|
var outputInteractive = forceOutputInteractive == null ? ij || detectedStdoutInteractive : forceOutputInteractive;
|
|
@@ -342,13 +342,13 @@ function TerminalDetection_getInstance() {
|
|
|
342
342
|
function detectSize(_this__u8e3s4, info, width, height, nonInteractiveWidth, nonInteractiveHeight) {
|
|
343
343
|
if (!(width == null) && !(height == null))
|
|
344
344
|
return new (Size())(width, height);
|
|
345
|
-
if (!info.
|
|
345
|
+
if (!info.u6w_1) {
|
|
346
346
|
var tmp1_elvis_lhs = nonInteractiveWidth == null ? width : nonInteractiveWidth;
|
|
347
347
|
var tmp = tmp1_elvis_lhs == null ? 79 : tmp1_elvis_lhs;
|
|
348
348
|
var tmp3_elvis_lhs = nonInteractiveHeight == null ? height : nonInteractiveHeight;
|
|
349
349
|
return new (Size())(tmp, tmp3_elvis_lhs == null ? 24 : tmp3_elvis_lhs);
|
|
350
350
|
}
|
|
351
|
-
var tmp4_elvis_lhs = _this__u8e3s4.
|
|
351
|
+
var tmp4_elvis_lhs = _this__u8e3s4.o6w();
|
|
352
352
|
var tmp_0;
|
|
353
353
|
if (tmp4_elvis_lhs == null) {
|
|
354
354
|
var tmp122_safe_receiver = getEnv('COLUMNS');
|
|
@@ -361,8 +361,8 @@ function detectSize(_this__u8e3s4, info, width, height, nonInteractiveWidth, non
|
|
|
361
361
|
tmp_0 = tmp4_elvis_lhs;
|
|
362
362
|
}
|
|
363
363
|
var detected = tmp_0;
|
|
364
|
-
var tmp_2 = width == null ? detected.
|
|
365
|
-
return new (Size())(tmp_2, height == null ? detected.
|
|
364
|
+
var tmp_2 = width == null ? detected.q6n_1 : width;
|
|
365
|
+
return new (Size())(tmp_2, height == null ? detected.r6n_1 : height);
|
|
366
366
|
}
|
|
367
367
|
//region block: init
|
|
368
368
|
TerminalDetection_instance = new (TerminalDetection())();
|
|
@@ -13,7 +13,7 @@ function danger(_this__u8e3s4, message, whitespace, align, overflowWrap, width,
|
|
|
13
13
|
overflowWrap = overflowWrap === VOID ? OverflowWrap_NORMAL_getInstance() : overflowWrap;
|
|
14
14
|
width = width === VOID ? null : width;
|
|
15
15
|
stderr = stderr === VOID ? false : stderr;
|
|
16
|
-
_this__u8e3s4.
|
|
16
|
+
_this__u8e3s4.e6x(_this__u8e3s4.i6p_1.v6o().k6h(toString(message)), whitespace, align, overflowWrap, width, stderr);
|
|
17
17
|
}
|
|
18
18
|
//region block: exports
|
|
19
19
|
export {
|
|
@@ -12,24 +12,24 @@ function TerminalInfo() {
|
|
|
12
12
|
if (TerminalInfoClass === VOID) {
|
|
13
13
|
class $ {
|
|
14
14
|
constructor(ansiLevel, ansiHyperLinks, outputInteractive, inputInteractive, supportsAnsiCursor) {
|
|
15
|
-
this.
|
|
16
|
-
this.
|
|
17
|
-
this.
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
15
|
+
this.s6w_1 = ansiLevel;
|
|
16
|
+
this.t6w_1 = ansiHyperLinks;
|
|
17
|
+
this.u6w_1 = outputInteractive;
|
|
18
|
+
this.v6w_1 = inputInteractive;
|
|
19
|
+
this.w6w_1 = supportsAnsiCursor;
|
|
20
20
|
}
|
|
21
|
-
|
|
22
|
-
return this.
|
|
21
|
+
x6w() {
|
|
22
|
+
return this.v6w_1 && this.u6w_1;
|
|
23
23
|
}
|
|
24
24
|
toString() {
|
|
25
|
-
return 'TerminalInfo(ansiLevel=' + this.
|
|
25
|
+
return 'TerminalInfo(ansiLevel=' + this.s6w_1.toString() + ', ansiHyperLinks=' + this.t6w_1 + ', outputInteractive=' + this.u6w_1 + ', inputInteractive=' + this.v6w_1 + ', supportsAnsiCursor=' + this.w6w_1 + ')';
|
|
26
26
|
}
|
|
27
27
|
hashCode() {
|
|
28
|
-
var result = this.
|
|
29
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
30
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
31
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
32
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
28
|
+
var result = this.s6w_1.hashCode();
|
|
29
|
+
result = imul(result, 31) + getBooleanHashCode(this.t6w_1) | 0;
|
|
30
|
+
result = imul(result, 31) + getBooleanHashCode(this.u6w_1) | 0;
|
|
31
|
+
result = imul(result, 31) + getBooleanHashCode(this.v6w_1) | 0;
|
|
32
|
+
result = imul(result, 31) + getBooleanHashCode(this.w6w_1) | 0;
|
|
33
33
|
return result;
|
|
34
34
|
}
|
|
35
35
|
equals(other) {
|
|
@@ -38,15 +38,15 @@ function TerminalInfo() {
|
|
|
38
38
|
if (!(other instanceof TerminalInfo()))
|
|
39
39
|
return false;
|
|
40
40
|
var tmp0_other_with_cast = other instanceof TerminalInfo() ? other : THROW_CCE();
|
|
41
|
-
if (!this.
|
|
41
|
+
if (!this.s6w_1.equals(tmp0_other_with_cast.s6w_1))
|
|
42
42
|
return false;
|
|
43
|
-
if (!(this.
|
|
43
|
+
if (!(this.t6w_1 === tmp0_other_with_cast.t6w_1))
|
|
44
44
|
return false;
|
|
45
|
-
if (!(this.
|
|
45
|
+
if (!(this.u6w_1 === tmp0_other_with_cast.u6w_1))
|
|
46
46
|
return false;
|
|
47
|
-
if (!(this.
|
|
47
|
+
if (!(this.v6w_1 === tmp0_other_with_cast.v6w_1))
|
|
48
48
|
return false;
|
|
49
|
-
if (!(this.
|
|
49
|
+
if (!(this.w6w_1 === tmp0_other_with_cast.w6w_1))
|
|
50
50
|
return false;
|
|
51
51
|
return true;
|
|
52
52
|
}
|