@continuous-excellence/coupling-cli 1.1.419 → 1.1.420
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/CliScope.mjs +4 -4
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs +13 -13
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Main.mjs +3 -3
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Main.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Welcome.mjs +3 -3
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs +7 -7
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PartyListQuery.mjs +22 -22
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PartyListQuery_ResponseAdapter.mjs +14 -14
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs +32 -32
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs +15 -15
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ContributionInput.mjs +14 -14
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs +373 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs.map +1 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CycleTimeFromFirstCommit.mjs +3 -3
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs +22 -21
- 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 +33 -33
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs +13 -13
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs +50 -50
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/ActionLoggingSyntax.mjs +7 -7
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/LoggingActionPipe.mjs +18 -18
- 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-model/com/zegreatrob/coupling/model/Contribution.mjs +54 -54
- 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 +409 -0
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/CouplingPair.mjs.map +1 -0
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/PairingSet.mjs +69 -0
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/PairingSet.mjs.map +1 -0
- 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 +5 -5
- 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 +52 -4
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pin/Pin.mjs.map +1 -1
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pin/PinTarget.mjs +36 -0
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pin/PinTarget.mjs.map +1 -0
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/AvatarType.mjs +118 -0
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/AvatarType.mjs.map +1 -0
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/Badge.mjs +48 -0
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/Badge.mjs.map +1 -0
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/Player.mjs +82 -0
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/Player.mjs.map +1 -0
- 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 +48 -0
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/callsign/CallSign.mjs.map +1 -0
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/user/UserId.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSdk.mjs +19 -19
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkGraphQueryDispatcher.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkSaveContributionCommandDispatcher.mjs +19 -19
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/adapter/Adapter.mjs +38 -23
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/adapter/Adapter.mjs.map +1 -1
- 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 +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/AvatarTypeMapper.mjs +74 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/AvatarTypeMapper.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/BadgeMapper.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/BadgeMapper.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PairingSetDetailsMapper.mjs +71 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PairingSetDetailsMapper.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PartyDetailsMapper.mjs +10 -10
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/CurrentPairAssignmentsQuery.mjs +191 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/CurrentPairAssignmentsQuery.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyDetailsQuery.mjs +27 -27
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/SaveContributionMutation.mjs +20 -20
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_ResponseAdapter.mjs +150 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_ResponseAdapter.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_VariablesAdapter.mjs +36 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_VariablesAdapter.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyDetailsQuery_ResponseAdapter.mjs +14 -14
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyDetailsQuery_VariablesAdapter.mjs +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/SaveContributionMutation_ResponseAdapter.mjs +6 -6
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/SaveContributionMutation_VariablesAdapter.mjs +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PairingSetDetails.mjs +246 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PairingSetDetails.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PairingSetDetailsImpl_ResponseAdapter.mjs +512 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PairingSetDetailsImpl_ResponseAdapter.mjs.map +1 -0
- 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 +25 -25
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/AvatarType.mjs +170 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/AvatarType.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Badge.mjs +110 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Badge.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionInput.mjs +46 -46
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLFloat.mjs +1 -1
- 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 +50 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/AvatarType_ResponseAdapter.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/Badge_ResponseAdapter.mjs +50 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/Badge_ResponseAdapter.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionInput_InputAdapter.mjs +45 -45
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/SaveContributionInput_InputAdapter.mjs +6 -6
- package/kotlin/apollo-kotlin-adapters-apollo-adapters-core/com/apollographql/adapter/core/KotlinInstantAdapter.mjs +2 -2
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CompiledGraphQL.mjs +15 -0
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CompiledGraphQL.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CustomScalarAdapters.mjs +38 -38
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/DeferredFragmentIdentifier.mjs +7 -7
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Error.mjs +9 -9
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Executable.mjs +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Executables.mjs +8 -8
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ExecutionContext.mjs +20 -20
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Operations.mjs +6 -6
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Optional.mjs +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/DefaultHttpRequestComposer.mjs +86 -86
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/Http.mjs +53 -53
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/HttpHeaders.mjs +2 -2
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/internal/ResponseParser.mjs +7 -7
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSinkJsonWriter.mjs +65 -65
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSourceJsonReader.mjs +258 -258
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonNumber.mjs +2 -2
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonReaders.mjs +3 -3
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonWriters.mjs +5 -5
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonReader.mjs +28 -28
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonWriter.mjs +23 -23
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/internal/FileUploadAwareJsonWriter.mjs +24 -24
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/internal/JsonScope.mjs +9 -9
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/exception/Exceptions.mjs +39 -39
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloCall.mjs +9 -9
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloClient.mjs +205 -205
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ConcurrencyInfo.mjs +6 -6
- 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 +38 -38
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/DeferredJsonMerger.mjs +31 -31
- 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/is-node.mjs +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/multipart.mjs +17 -17
- 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 +21 -21
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpExecutionContext.mjs +8 -8
- 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 +114 -114
- 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 +26 -26
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WebSocketNetworkTransport.mjs +142 -142
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WsProtocol.mjs +21 -21
- 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 +22 -22
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/ws/KtorWebSocketEngine.mjs +45 -45
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.mjs +5 -5
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/BashCompletionGenerator.mjs +34 -34
- 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 +112 -112
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs +93 -93
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/exceptions.mjs +124 -124
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Finalization.mjs +52 -52
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Util.mjs +2 -2
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/AbstractHelpFormatter.mjs +138 -138
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/HelpFormatter.mjs +48 -48
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/Localization.mjs +31 -31
- 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 +23 -23
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/OptionWithValues.mjs +211 -211
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs +6 -6
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformEach.mjs +4 -4
- 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 +31 -31
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/Invocation.mjs +45 -45
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/ParserInternals.mjs +232 -232
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/atfile.mjs +3 -3
- 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-kotlin-stdlib/kotlin/Char.mjs +18 -18
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ExceptionsH.mjs +4 -4
- package/kotlin/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +3 -3
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +3 -3
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +18 -18
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +3 -3
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +4 -4
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +7 -7
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +3 -3
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +6 -6
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +6 -6
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +6 -6
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +17 -17
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs +10 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Maps.mjs +5 -5
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +3 -3
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +14 -14
- package/kotlin/kotlin-kotlin-stdlib/kotlin/hacks.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +11 -11
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +9 -9
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/_Ranges.mjs +4 -4
- package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/_Sequences.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/Appendable.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +12 -12
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +1 -1
- 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/Formatter.mjs +8 -8
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs +10 -10
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs +22 -22
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +5 -5
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +2 -2
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +3 -3
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingLevel.mjs +1 -1
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs +3 -3
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +9 -9
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +8 -8
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +1 -1
- 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/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +7 -7
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +2 -2
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +3 -3
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +4 -4
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +15 -15
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +13 -13
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +16 -16
- package/kotlin/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +6 -6
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +2 -2
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +2 -2
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +2 -2
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultRequest.mjs +5 -5
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +2 -2
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/KtorMDCContext.jsAndWasmShared.mjs +1 -1
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/Logging.mjs +4 -4
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LoggingUtils.mjs +4 -4
- package/kotlin/ktor-ktor-http/io/ktor/http/Codecs.mjs +7 -7
- package/kotlin/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +4 -4
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpUrlEncoded.mjs +2 -2
- package/kotlin/ktor-ktor-http/io/ktor/http/URLUtils.mjs +2 -2
- package/kotlin/ktor-ktor-http/io/ktor/http/Url.mjs +6 -6
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +1 -1
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +3 -3
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +4 -4
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +10 -10
- package/kotlin/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +6 -6
- package/kotlin/ktor-ktor-utils/io/ktor/util/PlatformUtils.js.mjs +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/StringValues.mjs +19 -19
- package/kotlin/ktor-ktor-utils/io/ktor/util/date/Date.mjs +7 -7
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiCodes.mjs +24 -24
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiRender.mjs +42 -42
- 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 +18 -18
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Parsing.mjs +65 -65
- 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 +70 -70
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Size.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Span.mjs +23 -23
- 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 +267 -267
- 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 +54 -54
- 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 +4 -4
- package/kotlin/tools-digger-json/com/zegreatrob/tools/digger/json/ContributionDataJson.mjs +98 -98
- package/kotlin/tools-digger-model/com/zegreatrob/tools/digger/model/Contribution.mjs +37 -37
- package/kotlin/types-types/kotools/types/collection/NotEmptyList.mjs +246 -0
- package/kotlin/types-types/kotools/types/collection/NotEmptyList.mjs.map +1 -0
- package/kotlin/types-types/kotools/types/text/NotBlankString.mjs +27 -27
- package/kotlin/types-types-internal/kotools/types/internal/ErrorMessage.mjs +23 -13
- package/kotlin/types-types-internal/kotools/types/internal/ErrorMessage.mjs.map +1 -1
- package/kotlin/types-types-internal/kotools/types/internal/Serializers.mjs +5 -5
- package/kotlin/uuid/com/benasher44/uuid/uuid.mjs +4 -4
- 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.h6l(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.y6k_1 = prompt;
|
|
46
|
+
this.z6k_1 = terminal;
|
|
47
|
+
this.a6l_1 = default_0;
|
|
48
|
+
this.b6l_1 = showDefault;
|
|
49
|
+
this.c6l_1 = showChoices;
|
|
50
|
+
this.d6l_1 = hideInput;
|
|
51
|
+
this.e6l_1 = choices;
|
|
52
|
+
this.f6l_1 = promptSuffix;
|
|
53
|
+
this.g6l_1 = invalidChoiceMessage;
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
h6l(value) {
|
|
56
56
|
return toString(value);
|
|
57
57
|
}
|
|
58
|
-
|
|
58
|
+
j6l() {
|
|
59
59
|
// Inline function 'kotlin.text.buildString' call
|
|
60
60
|
// Inline function 'kotlin.apply' call
|
|
61
61
|
var this_0 = StringBuilder().m1();
|
|
62
|
-
this_0.n1(this.
|
|
62
|
+
this_0.n1(this.z6k_1.b6f_1.p6e('prompt.prompt').c67(this.y6k_1));
|
|
63
63
|
var tmp;
|
|
64
|
-
if (this.
|
|
64
|
+
if (this.c6l_1) {
|
|
65
65
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
66
|
-
tmp = !this.
|
|
66
|
+
tmp = !this.e6l_1.o1();
|
|
67
67
|
} else {
|
|
68
68
|
tmp = false;
|
|
69
69
|
}
|
|
70
70
|
if (tmp) {
|
|
71
71
|
this_0.n1(' ');
|
|
72
|
-
this_0.n1(this.
|
|
72
|
+
this_0.n1(this.z6k_1.b6f_1.p6e('prompt.choices').c67(this.k6l()));
|
|
73
73
|
}
|
|
74
|
-
if (this.
|
|
74
|
+
if (this.b6l_1 && !(this.a6l_1 == null)) {
|
|
75
75
|
this_0.n1(' ');
|
|
76
|
-
this_0.n1(this.
|
|
76
|
+
this_0.n1(this.z6k_1.b6f_1.p6e('prompt.default').c67(this.l6l(this.a6l_1)));
|
|
77
77
|
}
|
|
78
|
-
this_0.n1(this.
|
|
78
|
+
this_0.n1(this.f6l_1);
|
|
79
79
|
var tmp$ret$3 = this_0.toString();
|
|
80
|
-
return Text().
|
|
80
|
+
return Text().n6k(tmp$ret$3);
|
|
81
81
|
}
|
|
82
|
-
|
|
83
|
-
return '(' + this.
|
|
82
|
+
l6l(default_0) {
|
|
83
|
+
return '(' + this.h6l(default_0) + ')';
|
|
84
84
|
}
|
|
85
|
-
|
|
86
|
-
return joinToString(this.
|
|
85
|
+
k6l() {
|
|
86
|
+
return joinToString(this.e6l_1, VOID, '[', ']', VOID, VOID, Prompt$makePromptChoices$lambda(this));
|
|
87
87
|
}
|
|
88
|
-
|
|
89
|
-
var tmp = this.
|
|
88
|
+
m6l() {
|
|
89
|
+
var tmp = this.z6k_1.b6f_1.p6e('prompt.choices.invalid');
|
|
90
90
|
// Inline function 'kotlin.text.buildString' call
|
|
91
91
|
// Inline function 'kotlin.apply' call
|
|
92
92
|
var this_0 = StringBuilder().m1();
|
|
93
|
-
this_0.n1(this.
|
|
94
|
-
this_0.n1(this.
|
|
93
|
+
this_0.n1(this.g6l_1);
|
|
94
|
+
this_0.n1(this.k6l());
|
|
95
95
|
var tmp$ret$2 = this_0.toString();
|
|
96
|
-
return Text().
|
|
96
|
+
return Text().n6k(tmp.c67(tmp$ret$2));
|
|
97
97
|
}
|
|
98
|
-
|
|
98
|
+
n6l() {
|
|
99
99
|
}
|
|
100
|
-
|
|
100
|
+
o6l(message) {
|
|
101
101
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
102
102
|
if (!isBlank(message)) {
|
|
103
|
-
danger(this.
|
|
103
|
+
danger(this.z6k_1, message);
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
|
-
|
|
106
|
+
p6l() {
|
|
107
107
|
$l$loop_0: while (true) {
|
|
108
|
-
this.
|
|
109
|
-
this.
|
|
110
|
-
var tmp0_elvis_lhs = this.
|
|
108
|
+
this.n6l();
|
|
109
|
+
this.z6k_1.q6l(this.j6l());
|
|
110
|
+
var tmp0_elvis_lhs = this.z6k_1.r6l(this.d6l_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.a6l_1 == null);
|
|
122
122
|
} else {
|
|
123
123
|
tmp_0 = false;
|
|
124
124
|
}
|
|
125
125
|
if (tmp_0) {
|
|
126
|
-
return this.
|
|
126
|
+
return this.a6l_1;
|
|
127
127
|
}
|
|
128
|
-
var result = this.
|
|
128
|
+
var result = this.i6l(line);
|
|
129
129
|
var tmp_1;
|
|
130
130
|
if (result instanceof Valid()) {
|
|
131
|
-
tmp_1 = result.
|
|
131
|
+
tmp_1 = result.t6l_1;
|
|
132
132
|
} else {
|
|
133
133
|
if (result instanceof Invalid()) {
|
|
134
|
-
this.
|
|
134
|
+
this.o6l(result.s6l_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.e6l_1.o1()) {
|
|
144
|
+
tmp_2 = !this.e6l_1.p3(value);
|
|
145
145
|
} else {
|
|
146
146
|
tmp_2 = false;
|
|
147
147
|
}
|
|
148
148
|
if (tmp_2) {
|
|
149
|
-
this.
|
|
149
|
+
this.z6k_1.u6l(this.m6l());
|
|
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.t6l_1 = value;
|
|
168
168
|
}
|
|
169
169
|
toString() {
|
|
170
|
-
return 'Valid(value=' + toString(this.
|
|
170
|
+
return 'Valid(value=' + toString(this.t6l_1) + ')';
|
|
171
171
|
}
|
|
172
172
|
hashCode() {
|
|
173
|
-
return this.
|
|
173
|
+
return this.t6l_1 == null ? 0 : hashCode(this.t6l_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.t6l_1, tmp0_other_with_cast.t6l_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.s6l_1 = message;
|
|
198
198
|
}
|
|
199
199
|
toString() {
|
|
200
|
-
return 'Invalid(message=' + this.
|
|
200
|
+
return 'Invalid(message=' + this.s6l_1 + ')';
|
|
201
201
|
}
|
|
202
202
|
hashCode() {
|
|
203
|
-
return getStringHashCode(this.
|
|
203
|
+
return getStringHashCode(this.s6l_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.s6l_1 === tmp0_other_with_cast.s6l_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
|
+
v6l(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.w6l_1 = firstPrompt;
|
|
254
|
+
this.x6l_1 = secondPrompt;
|
|
255
|
+
this.y6l_1 = valueMismatchMessage;
|
|
256
256
|
}
|
|
257
|
-
|
|
257
|
+
p6l() {
|
|
258
258
|
while (true) {
|
|
259
|
-
var tmp0_elvis_lhs = this.
|
|
259
|
+
var tmp0_elvis_lhs = this.w6l_1.p6l();
|
|
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.x6l_1.p6l();
|
|
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.w6l_1.z6k_1, this.y6l_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
|
+
z6l(ansiLevel, hyperlinks, outputInteractive, inputInteractive) {
|
|
30
|
+
return TerminalDetection_instance.c6m(ansiLevel, hyperlinks, inputInteractive, outputInteractive, this.a6m(), this.b6m());
|
|
31
31
|
}
|
|
32
|
-
|
|
33
|
-
if (request.
|
|
34
|
-
printStderr(request.
|
|
35
|
-
} else if (request.
|
|
32
|
+
d6m(request) {
|
|
33
|
+
if (request.g6m_1) {
|
|
34
|
+
printStderr(request.e6m_1, request.f6m_1);
|
|
35
|
+
} else if (request.f6m_1) {
|
|
36
36
|
// Inline function 'kotlin.text.isEmpty' call
|
|
37
|
-
var this_0 = request.
|
|
37
|
+
var this_0 = request.e6m_1;
|
|
38
38
|
if (charSequenceLength(this_0) === 0) {
|
|
39
39
|
println_0();
|
|
40
40
|
} else {
|
|
41
|
-
println(request.
|
|
41
|
+
println(request.e6m_1);
|
|
42
42
|
}
|
|
43
43
|
} else {
|
|
44
|
-
print(request.
|
|
44
|
+
print(request.e6m_1);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
|
|
47
|
+
r6l(hideInput) {
|
|
48
48
|
return readLineOrNullMpp(hideInput);
|
|
49
49
|
}
|
|
50
|
-
|
|
50
|
+
b6m() {
|
|
51
51
|
return true;
|
|
52
52
|
}
|
|
53
|
-
|
|
53
|
+
a6m() {
|
|
54
54
|
return true;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
protoOf($).
|
|
58
|
-
protoOf($).
|
|
57
|
+
protoOf($).h6m = getTerminalSize;
|
|
58
|
+
protoOf($).i6m = 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.d6f_1.i6m()) {
|
|
38
|
+
$this.j6m();
|
|
39
39
|
}
|
|
40
|
-
sendInterceptedPrintRequest(request, $this.
|
|
40
|
+
sendInterceptedPrintRequest(request, $this.d6f_1, $this.j6f_1.h3());
|
|
41
41
|
}
|
|
42
42
|
var TerminalClass;
|
|
43
43
|
function Terminal() {
|
|
44
44
|
if (TerminalClass === VOID) {
|
|
45
45
|
class $ {
|
|
46
|
-
static
|
|
46
|
+
static k6m(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.b6f_1 = theme;
|
|
49
|
+
$this.c6f_1 = tabWidth;
|
|
50
|
+
$this.d6f_1 = terminalInterface;
|
|
51
|
+
$this.e6f_1 = forceWidth;
|
|
52
|
+
$this.f6f_1 = forceHeight;
|
|
53
|
+
$this.g6f_1 = nonInteractiveWidth;
|
|
54
|
+
$this.h6f_1 = nonInteractiveHeight;
|
|
55
|
+
$this.i6f_1 = terminalInfo;
|
|
56
|
+
$this.j6f_1 = MppAtomicRef(emptyList());
|
|
57
|
+
$this.k6f_1 = MppAtomicRef(detectSize($this.d6f_1, $this.i6f_1, $this.e6f_1, $this.f6f_1, $this.g6f_1, $this.h6f_1));
|
|
58
|
+
$this.l6f_1 = $this.i6f_1.q6m() ? makePrintingTerminalCursor($this) : DisabledTerminalCursor_instance;
|
|
59
59
|
return $this;
|
|
60
60
|
}
|
|
61
|
-
static
|
|
61
|
+
static r6m(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().h6e_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.k6m(theme, tabWidth, terminalInterface, width, height, nonInteractiveWidth, nonInteractiveHeight, terminalInterface.z6l(ansiLevel, hyperlinks, interactive, interactive));
|
|
73
73
|
}
|
|
74
74
|
v2() {
|
|
75
|
-
return this.
|
|
75
|
+
return this.k6f_1.h3();
|
|
76
76
|
}
|
|
77
|
-
|
|
78
|
-
var tmp0 = this.
|
|
77
|
+
j6m() {
|
|
78
|
+
var tmp0 = this.k6f_1;
|
|
79
79
|
var tmp$ret$1;
|
|
80
80
|
$l$block: {
|
|
81
81
|
// Inline function 'com.github.ajalt.mordant.internal.update' call
|
|
82
82
|
while (true) {
|
|
83
|
-
var old = tmp0.
|
|
84
|
-
var newValue = detectSize(this.
|
|
85
|
-
if (tmp0.
|
|
83
|
+
var old = tmp0.h3();
|
|
84
|
+
var newValue = detectSize(this.d6f_1, this.i6f_1, this.e6f_1, this.f6f_1, this.g6f_1, this.h6f_1);
|
|
85
|
+
if (tmp0.s6m(old, newValue)) {
|
|
86
86
|
tmp$ret$1 = to(old, newValue);
|
|
87
87
|
break $l$block;
|
|
88
88
|
}
|
|
@@ -90,10 +90,10 @@ function Terminal() {
|
|
|
90
90
|
}
|
|
91
91
|
return tmp$ret$1.fm_1;
|
|
92
92
|
}
|
|
93
|
-
|
|
94
|
-
this.
|
|
93
|
+
t6m(message, whitespace, align, overflowWrap, width, stderr) {
|
|
94
|
+
this.v6m(this.u6m(message, whitespace, align, overflowWrap, width), stderr);
|
|
95
95
|
}
|
|
96
|
-
|
|
96
|
+
w6m(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.t6m(message, whitespace, align, overflowWrap, width, stderr);
|
|
105
105
|
tmp = Unit_instance;
|
|
106
106
|
} else {
|
|
107
|
-
tmp = $super.
|
|
107
|
+
tmp = $super.t6m.call(this, message, whitespace, align, overflowWrap, width, stderr);
|
|
108
108
|
}
|
|
109
109
|
return tmp;
|
|
110
110
|
}
|
|
111
|
-
|
|
112
|
-
rawPrintln(this, this.
|
|
111
|
+
x6m(message, whitespace, align, overflowWrap, width, stderr) {
|
|
112
|
+
rawPrintln(this, this.u6m(message, whitespace, align, overflowWrap, width), stderr);
|
|
113
113
|
}
|
|
114
|
-
|
|
114
|
+
y6m(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.x6m(message, whitespace, align, overflowWrap, width, stderr);
|
|
123
123
|
tmp = Unit_instance;
|
|
124
124
|
} else {
|
|
125
|
-
tmp = $super.
|
|
125
|
+
tmp = $super.x6m.call(this, message, whitespace, align, overflowWrap, width, stderr);
|
|
126
126
|
}
|
|
127
127
|
return tmp;
|
|
128
128
|
}
|
|
129
|
-
|
|
130
|
-
this.
|
|
129
|
+
z6m(widget, stderr) {
|
|
130
|
+
this.v6m(this.a6n(widget), stderr);
|
|
131
131
|
}
|
|
132
|
-
|
|
132
|
+
q6l(widget, stderr, $super) {
|
|
133
133
|
stderr = stderr === VOID ? false : stderr;
|
|
134
134
|
var tmp;
|
|
135
135
|
if ($super === VOID) {
|
|
136
|
-
this.
|
|
136
|
+
this.z6m(widget, stderr);
|
|
137
137
|
tmp = Unit_instance;
|
|
138
138
|
} else {
|
|
139
|
-
tmp = $super.
|
|
139
|
+
tmp = $super.z6m.call(this, widget, stderr);
|
|
140
140
|
}
|
|
141
141
|
return tmp;
|
|
142
142
|
}
|
|
143
|
-
|
|
144
|
-
rawPrintln(this, this.
|
|
143
|
+
b6n(widget, stderr) {
|
|
144
|
+
rawPrintln(this, this.a6n(widget), stderr);
|
|
145
145
|
}
|
|
146
|
-
|
|
146
|
+
u6l(widget, stderr, $super) {
|
|
147
147
|
stderr = stderr === VOID ? false : stderr;
|
|
148
148
|
var tmp;
|
|
149
149
|
if ($super === VOID) {
|
|
150
|
-
this.
|
|
150
|
+
this.b6n(widget, stderr);
|
|
151
151
|
tmp = Unit_instance;
|
|
152
152
|
} else {
|
|
153
|
-
tmp = $super.
|
|
153
|
+
tmp = $super.b6n.call(this, widget, stderr);
|
|
154
154
|
}
|
|
155
155
|
return tmp;
|
|
156
156
|
}
|
|
157
|
-
|
|
157
|
+
u6m(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.i6f_1.l6m_1, this.i6f_1.m6m_1);
|
|
161
161
|
} else {
|
|
162
162
|
if (!(message == null) ? isInterface(message, Widget()) : false) {
|
|
163
|
-
tmp = this.
|
|
163
|
+
tmp = this.a6n(message);
|
|
164
164
|
} else {
|
|
165
|
-
tmp = this.
|
|
165
|
+
tmp = this.a6n(Text().n6k(toString_0(message), whitespace, align, overflowWrap, width));
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
return tmp;
|
|
169
169
|
}
|
|
170
|
-
|
|
171
|
-
return renderLinesAnsi(widget.
|
|
170
|
+
a6n(widget) {
|
|
171
|
+
return renderLinesAnsi(widget.a6f(this), this.i6f_1.l6m_1, this.i6f_1.m6m_1);
|
|
172
172
|
}
|
|
173
|
-
|
|
174
|
-
return this.
|
|
173
|
+
r6l(hideInput) {
|
|
174
|
+
return this.d6f_1.r6l(hideInput);
|
|
175
175
|
}
|
|
176
|
-
|
|
176
|
+
v6m(message, stderr) {
|
|
177
177
|
sendPrintRequest(this, new (PrintRequest())(toString(message), false, stderr));
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
|
-
initMetadataForClass($, 'Terminal', $.
|
|
180
|
+
initMetadataForClass($, 'Terminal', $.r6m);
|
|
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
|
+
c6m(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.n6m_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.h6m();
|
|
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.j6d_1 : width;
|
|
365
|
+
return new (Size())(tmp_2, height == null ? detected.k6d_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.x6m(_this__u8e3s4.b6f_1.o6e().c67(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.l6m_1 = ansiLevel;
|
|
16
|
+
this.m6m_1 = ansiHyperLinks;
|
|
17
|
+
this.n6m_1 = outputInteractive;
|
|
18
|
+
this.o6m_1 = inputInteractive;
|
|
19
|
+
this.p6m_1 = supportsAnsiCursor;
|
|
20
20
|
}
|
|
21
|
-
|
|
22
|
-
return this.
|
|
21
|
+
q6m() {
|
|
22
|
+
return this.o6m_1 && this.n6m_1;
|
|
23
23
|
}
|
|
24
24
|
toString() {
|
|
25
|
-
return 'TerminalInfo(ansiLevel=' + this.
|
|
25
|
+
return 'TerminalInfo(ansiLevel=' + this.l6m_1.toString() + ', ansiHyperLinks=' + this.m6m_1 + ', outputInteractive=' + this.n6m_1 + ', inputInteractive=' + this.o6m_1 + ', supportsAnsiCursor=' + this.p6m_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.l6m_1.hashCode();
|
|
29
|
+
result = imul(result, 31) + getBooleanHashCode(this.m6m_1) | 0;
|
|
30
|
+
result = imul(result, 31) + getBooleanHashCode(this.n6m_1) | 0;
|
|
31
|
+
result = imul(result, 31) + getBooleanHashCode(this.o6m_1) | 0;
|
|
32
|
+
result = imul(result, 31) + getBooleanHashCode(this.p6m_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.l6m_1.equals(tmp0_other_with_cast.l6m_1))
|
|
42
42
|
return false;
|
|
43
|
-
if (!(this.
|
|
43
|
+
if (!(this.m6m_1 === tmp0_other_with_cast.m6m_1))
|
|
44
44
|
return false;
|
|
45
|
-
if (!(this.
|
|
45
|
+
if (!(this.n6m_1 === tmp0_other_with_cast.n6m_1))
|
|
46
46
|
return false;
|
|
47
|
-
if (!(this.
|
|
47
|
+
if (!(this.o6m_1 === tmp0_other_with_cast.o6m_1))
|
|
48
48
|
return false;
|
|
49
|
-
if (!(this.
|
|
49
|
+
if (!(this.p6m_1 === tmp0_other_with_cast.p6m_1))
|
|
50
50
|
return false;
|
|
51
51
|
return true;
|
|
52
52
|
}
|