@continuous-excellence/coupling-cli 1.1.867 → 1.1.868
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 +7 -7
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PartyListQuery.mjs +16 -16
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs +25 -25
- 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/gql/selections/PartyListQuerySelections.mjs +2 -2
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PlayersQuerySelections.mjs +3 -3
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs +36 -36
- 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 +23 -23
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CycleTimeFromFirstCommit.mjs +3 -3
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ListContribution.mjs +28 -28
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs +37 -37
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyDetails.mjs +23 -23
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs +11 -11
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs +25 -25
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs +48 -48
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSdk.mjs +15 -15
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSdk.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkGraphQueryDispatcher.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkSaveContributionCommandDispatcher.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/adapter/Adapter.mjs +8 -8
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlQuery.mjs +7 -7
- 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 +16 -16
- 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/SaveContributionMutation.mjs +6 -6
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_ResponseAdapter.mjs +13 -13
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyContributionReportContributionsQuery_ResponseAdapter.mjs +17 -17
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyDetailsQuery_ResponseAdapter.mjs +9 -9
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/SaveContributionMutation_ResponseAdapter.mjs +4 -4
- 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 +47 -47
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/ContributionDetailsImpl_ResponseAdapter.mjs +20 -20
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PairingSetDetails.mjs +68 -68
- 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 +23 -23
- 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 +24 -24
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetailsImpl_ResponseAdapter.mjs +13 -13
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/ContributionDetailsSelections.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PairingSetDetailsSelections.mjs +5 -5
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PartyDetailsSelections.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PlayerDetailsSelections.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/CurrentPairAssignmentsQuerySelections.mjs +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyContributionReportContributionsQuerySelections.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyDetailsQuerySelections.mjs +2 -2
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/SaveContributionMutationSelections.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/AvatarType.mjs +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Badge.mjs +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Contribution.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionId.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionInput.mjs +21 -21
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionReport.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionWindow.mjs +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/DateTimeISO.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Duration.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLBoolean.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLFloat.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLInt.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLString.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Mutation.mjs +2 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Mutation.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairSnapshot.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairingSet.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairingSetId.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Party.mjs +2 -2
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyId.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/PinId.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PinSnapshot.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Player.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PlayerId.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PlayerSnapshot.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 +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 +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionsInput_InputAdapter.mjs +6 -6
- 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/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 +94 -94
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs +95 -95
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/exceptions.mjs +138 -138
- 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 +132 -132
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/HelpFormatter.mjs +46 -46
- 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 +13 -13
- 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 +181 -181
- 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 +35 -35
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/ParserInternals.mjs +222 -222
- 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 +21 -21
- 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 +114 -114
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGBColorSpaces.mjs +126 -126
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/XYZ.mjs +57 -57
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/xyY.mjs +17 -17
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +1 -1
- 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 +15 -15
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/platform/MultiplatformSystem.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/BorderType.mjs +40 -40
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Lines.mjs +61 -61
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Size.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Span.mjs +21 -21
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/TextStyle.mjs +54 -54
- 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 +208 -208
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDsl.mjs +22 -22
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDslInstances.mjs +122 -122
- 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 +13 -13
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInterface.mjs +8 -8
- 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 +53 -53
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/EmptyWidget.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Padding.mjs +52 -52
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Text.mjs +68 -68
- package/kotlin/tools-digger-json/com/zegreatrob/tools/digger/json/ContributionDataJson.mjs +109 -109
- package/kotlin/tools-digger-model/com/zegreatrob/tools/digger/model/Contribution.mjs +28 -28
- 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.r6z(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.i6z_1 = prompt;
|
|
46
|
+
this.j6z_1 = terminal;
|
|
47
|
+
this.k6z_1 = default_0;
|
|
48
|
+
this.l6z_1 = showDefault;
|
|
49
|
+
this.m6z_1 = showChoices;
|
|
50
|
+
this.n6z_1 = hideInput;
|
|
51
|
+
this.o6z_1 = choices;
|
|
52
|
+
this.p6z_1 = promptSuffix;
|
|
53
|
+
this.q6z_1 = invalidChoiceMessage;
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
r6z(value) {
|
|
56
56
|
return toString(value);
|
|
57
57
|
}
|
|
58
|
-
|
|
58
|
+
t6z() {
|
|
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.j6z_1.l6t_1.z6s('prompt.prompt').n6l(this.i6z_1));
|
|
63
63
|
var tmp;
|
|
64
|
-
if (this.
|
|
64
|
+
if (this.m6z_1) {
|
|
65
65
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
66
|
-
tmp = !this.
|
|
66
|
+
tmp = !this.o6z_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.j6z_1.l6t_1.z6s('prompt.choices').n6l(this.u6z()));
|
|
73
73
|
}
|
|
74
|
-
if (this.
|
|
74
|
+
if (this.l6z_1 && !(this.k6z_1 == null)) {
|
|
75
75
|
this_0.i1(' ');
|
|
76
|
-
this_0.i1(this.
|
|
76
|
+
this_0.i1(this.j6z_1.l6t_1.z6s('prompt.default').n6l(this.v6z(this.k6z_1)));
|
|
77
77
|
}
|
|
78
|
-
this_0.i1(this.
|
|
78
|
+
this_0.i1(this.p6z_1);
|
|
79
79
|
var tmp$ret$0 = this_0.toString();
|
|
80
|
-
return Text().
|
|
80
|
+
return Text().x6y(tmp$ret$0);
|
|
81
81
|
}
|
|
82
|
-
|
|
83
|
-
return '(' + this.
|
|
82
|
+
v6z(default_0) {
|
|
83
|
+
return '(' + this.r6z(default_0) + ')';
|
|
84
84
|
}
|
|
85
|
-
|
|
86
|
-
return joinToString(this.
|
|
85
|
+
u6z() {
|
|
86
|
+
return joinToString(this.o6z_1, VOID, '[', ']', VOID, VOID, Prompt$makePromptChoices$lambda(this));
|
|
87
87
|
}
|
|
88
|
-
|
|
89
|
-
var tmp = this.
|
|
88
|
+
w6z() {
|
|
89
|
+
var tmp = this.j6z_1.l6t_1.z6s('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.q6z_1);
|
|
94
|
+
this_0.i1(this.u6z());
|
|
95
95
|
var tmp$ret$0 = this_0.toString();
|
|
96
|
-
return Text().
|
|
96
|
+
return Text().x6y(tmp.n6l(tmp$ret$0));
|
|
97
97
|
}
|
|
98
|
-
|
|
98
|
+
x6z() {
|
|
99
99
|
}
|
|
100
|
-
|
|
100
|
+
y6z(message) {
|
|
101
101
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
102
102
|
if (!isBlank(message)) {
|
|
103
|
-
danger(this.
|
|
103
|
+
danger(this.j6z_1, message);
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
|
-
|
|
106
|
+
z6z() {
|
|
107
107
|
$l$loop_0: while (true) {
|
|
108
|
-
this.
|
|
109
|
-
this.
|
|
110
|
-
var tmp0_elvis_lhs = this.
|
|
108
|
+
this.x6z();
|
|
109
|
+
this.j6z_1.a70(this.t6z());
|
|
110
|
+
var tmp0_elvis_lhs = this.j6z_1.b70(this.n6z_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.k6z_1 == null);
|
|
122
122
|
} else {
|
|
123
123
|
tmp_0 = false;
|
|
124
124
|
}
|
|
125
125
|
if (tmp_0) {
|
|
126
|
-
return this.
|
|
126
|
+
return this.k6z_1;
|
|
127
127
|
}
|
|
128
|
-
var result = this.
|
|
128
|
+
var result = this.s6z(line);
|
|
129
129
|
var tmp_1;
|
|
130
130
|
if (result instanceof Valid()) {
|
|
131
|
-
tmp_1 = result.
|
|
131
|
+
tmp_1 = result.d70_1;
|
|
132
132
|
} else {
|
|
133
133
|
if (result instanceof Invalid()) {
|
|
134
|
-
this.
|
|
134
|
+
this.y6z(result.c70_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.o6z_1.j1()) {
|
|
144
|
+
tmp_2 = !this.o6z_1.k3(value);
|
|
145
145
|
} else {
|
|
146
146
|
tmp_2 = false;
|
|
147
147
|
}
|
|
148
148
|
if (tmp_2) {
|
|
149
|
-
this.
|
|
149
|
+
this.j6z_1.e70(this.w6z());
|
|
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.d70_1 = value;
|
|
168
168
|
}
|
|
169
169
|
toString() {
|
|
170
|
-
return 'Valid(value=' + toString(this.
|
|
170
|
+
return 'Valid(value=' + toString(this.d70_1) + ')';
|
|
171
171
|
}
|
|
172
172
|
hashCode() {
|
|
173
|
-
return this.
|
|
173
|
+
return this.d70_1 == null ? 0 : hashCode(this.d70_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.d70_1, tmp0_other_with_cast.d70_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.c70_1 = message;
|
|
198
198
|
}
|
|
199
199
|
toString() {
|
|
200
|
-
return 'Invalid(message=' + this.
|
|
200
|
+
return 'Invalid(message=' + this.c70_1 + ')';
|
|
201
201
|
}
|
|
202
202
|
hashCode() {
|
|
203
|
-
return getStringHashCode(this.
|
|
203
|
+
return getStringHashCode(this.c70_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.c70_1 === tmp0_other_with_cast.c70_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
|
+
f70(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.g70_1 = firstPrompt;
|
|
254
|
+
this.h70_1 = secondPrompt;
|
|
255
|
+
this.i70_1 = valueMismatchMessage;
|
|
256
256
|
}
|
|
257
|
-
|
|
257
|
+
z6z() {
|
|
258
258
|
while (true) {
|
|
259
|
-
var tmp0_elvis_lhs = this.
|
|
259
|
+
var tmp0_elvis_lhs = this.g70_1.z6z();
|
|
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.h70_1.z6z();
|
|
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.g70_1.j6z_1, this.i70_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
|
+
j70(ansiLevel, hyperlinks, outputInteractive, inputInteractive) {
|
|
30
|
+
return TerminalDetection_instance.m70(ansiLevel, hyperlinks, inputInteractive, outputInteractive, this.k70(), this.l70());
|
|
31
31
|
}
|
|
32
|
-
|
|
33
|
-
if (request.
|
|
34
|
-
printStderr(request.
|
|
35
|
-
} else if (request.
|
|
32
|
+
n70(request) {
|
|
33
|
+
if (request.q70_1) {
|
|
34
|
+
printStderr(request.o70_1, request.p70_1);
|
|
35
|
+
} else if (request.p70_1) {
|
|
36
36
|
// Inline function 'kotlin.text.isEmpty' call
|
|
37
|
-
var this_0 = request.
|
|
37
|
+
var this_0 = request.o70_1;
|
|
38
38
|
if (charSequenceLength(this_0) === 0) {
|
|
39
39
|
println_0();
|
|
40
40
|
} else {
|
|
41
|
-
println(request.
|
|
41
|
+
println(request.o70_1);
|
|
42
42
|
}
|
|
43
43
|
} else {
|
|
44
|
-
print(request.
|
|
44
|
+
print(request.o70_1);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
|
|
47
|
+
b70(hideInput) {
|
|
48
48
|
return readLineOrNullMpp(hideInput);
|
|
49
49
|
}
|
|
50
|
-
|
|
50
|
+
l70() {
|
|
51
51
|
return true;
|
|
52
52
|
}
|
|
53
|
-
|
|
53
|
+
k70() {
|
|
54
54
|
return true;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
protoOf($).
|
|
58
|
-
protoOf($).
|
|
57
|
+
protoOf($).r70 = getTerminalSize;
|
|
58
|
+
protoOf($).s70 = shouldAutoUpdateSize;
|
|
59
59
|
initMetadataForClass($, 'StandardTerminalInterface', VOID, VOID, [TerminalInterface()]);
|
|
60
60
|
StandardTerminalInterfaceClass = $;
|
|
61
61
|
}
|
|
@@ -34,36 +34,36 @@ 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.n6t_1.s70()) {
|
|
38
|
+
$this.t70();
|
|
39
39
|
}
|
|
40
|
-
sendInterceptedPrintRequest(request, $this.
|
|
40
|
+
sendInterceptedPrintRequest(request, $this.n6t_1, $this.t6t_1.c3());
|
|
41
41
|
}
|
|
42
42
|
var TerminalClass;
|
|
43
43
|
function Terminal() {
|
|
44
44
|
if (TerminalClass === VOID) {
|
|
45
45
|
class $ {
|
|
46
46
|
constructor(theme, tabWidth, terminalInterface, forceWidth, forceHeight, nonInteractiveWidth, nonInteractiveHeight, terminalInfo) {
|
|
47
|
-
return new.target.
|
|
47
|
+
return new.target.u70(theme, tabWidth, terminalInterface, forceWidth, forceHeight, nonInteractiveWidth, nonInteractiveHeight, terminalInfo);
|
|
48
48
|
}
|
|
49
|
-
static
|
|
49
|
+
static u70(theme, tabWidth, terminalInterface, forceWidth, forceHeight, nonInteractiveWidth, nonInteractiveHeight, terminalInfo) {
|
|
50
50
|
var $this = createThis(this);
|
|
51
|
-
$this.
|
|
52
|
-
$this.
|
|
53
|
-
$this.
|
|
54
|
-
$this.
|
|
55
|
-
$this.
|
|
56
|
-
$this.
|
|
57
|
-
$this.
|
|
58
|
-
$this.
|
|
59
|
-
$this.
|
|
60
|
-
$this.
|
|
61
|
-
$this.
|
|
51
|
+
$this.l6t_1 = theme;
|
|
52
|
+
$this.m6t_1 = tabWidth;
|
|
53
|
+
$this.n6t_1 = terminalInterface;
|
|
54
|
+
$this.o6t_1 = forceWidth;
|
|
55
|
+
$this.p6t_1 = forceHeight;
|
|
56
|
+
$this.q6t_1 = nonInteractiveWidth;
|
|
57
|
+
$this.r6t_1 = nonInteractiveHeight;
|
|
58
|
+
$this.s6t_1 = terminalInfo;
|
|
59
|
+
$this.t6t_1 = MppAtomicRef(emptyList());
|
|
60
|
+
$this.u6t_1 = MppAtomicRef(detectSize($this.n6t_1, $this.s6t_1, $this.o6t_1, $this.p6t_1, $this.q6t_1, $this.r6t_1));
|
|
61
|
+
$this.v6t_1 = $this.s6t_1.a71() ? makePrintingTerminalCursor($this) : DisabledTerminalCursor_instance;
|
|
62
62
|
return $this;
|
|
63
63
|
}
|
|
64
|
-
static
|
|
64
|
+
static b71(ansiLevel, theme, width, height, nonInteractiveWidth, nonInteractiveHeight, hyperlinks, tabWidth, interactive, terminalInterface) {
|
|
65
65
|
ansiLevel = ansiLevel === VOID ? null : ansiLevel;
|
|
66
|
-
theme = theme === VOID ? Companion_getInstance().
|
|
66
|
+
theme = theme === VOID ? Companion_getInstance().r6s_1 : theme;
|
|
67
67
|
width = width === VOID ? null : width;
|
|
68
68
|
height = height === VOID ? null : height;
|
|
69
69
|
nonInteractiveWidth = nonInteractiveWidth === VOID ? null : nonInteractiveWidth;
|
|
@@ -72,20 +72,20 @@ function Terminal() {
|
|
|
72
72
|
tabWidth = tabWidth === VOID ? 8 : tabWidth;
|
|
73
73
|
interactive = interactive === VOID ? null : interactive;
|
|
74
74
|
terminalInterface = terminalInterface === VOID ? get_STANDARD_TERM_INTERFACE() : terminalInterface;
|
|
75
|
-
return this.
|
|
75
|
+
return this.u70(theme, tabWidth, terminalInterface, width, height, nonInteractiveWidth, nonInteractiveHeight, terminalInterface.j70(ansiLevel, hyperlinks, interactive, interactive));
|
|
76
76
|
}
|
|
77
77
|
p2() {
|
|
78
|
-
return this.
|
|
78
|
+
return this.u6t_1.c3();
|
|
79
79
|
}
|
|
80
|
-
|
|
81
|
-
var tmp0 = this.
|
|
80
|
+
t70() {
|
|
81
|
+
var tmp0 = this.u6t_1;
|
|
82
82
|
var tmp$ret$0;
|
|
83
83
|
$l$block: {
|
|
84
84
|
// Inline function 'com.github.ajalt.mordant.internal.update' call
|
|
85
85
|
while (true) {
|
|
86
86
|
var old = tmp0.c3();
|
|
87
|
-
var newValue = detectSize(this.
|
|
88
|
-
if (tmp0.
|
|
87
|
+
var newValue = detectSize(this.n6t_1, this.s6t_1, this.o6t_1, this.p6t_1, this.q6t_1, this.r6t_1);
|
|
88
|
+
if (tmp0.c71(old, newValue)) {
|
|
89
89
|
tmp$ret$0 = to(old, newValue);
|
|
90
90
|
break $l$block;
|
|
91
91
|
}
|
|
@@ -93,10 +93,10 @@ function Terminal() {
|
|
|
93
93
|
}
|
|
94
94
|
return tmp$ret$0.em_1;
|
|
95
95
|
}
|
|
96
|
-
|
|
97
|
-
this.
|
|
96
|
+
d71(message, whitespace, align, overflowWrap, width, stderr) {
|
|
97
|
+
this.f71(this.e71(message, whitespace, align, overflowWrap, width), stderr);
|
|
98
98
|
}
|
|
99
|
-
|
|
99
|
+
g71(message, whitespace, align, overflowWrap, width, stderr, $super) {
|
|
100
100
|
whitespace = whitespace === VOID ? Whitespace_PRE_getInstance() : whitespace;
|
|
101
101
|
align = align === VOID ? TextAlign_NONE_getInstance() : align;
|
|
102
102
|
overflowWrap = overflowWrap === VOID ? OverflowWrap_NORMAL_getInstance() : overflowWrap;
|
|
@@ -104,17 +104,17 @@ function Terminal() {
|
|
|
104
104
|
stderr = stderr === VOID ? false : stderr;
|
|
105
105
|
var tmp;
|
|
106
106
|
if ($super === VOID) {
|
|
107
|
-
this.
|
|
107
|
+
this.d71(message, whitespace, align, overflowWrap, width, stderr);
|
|
108
108
|
tmp = Unit_instance;
|
|
109
109
|
} else {
|
|
110
|
-
tmp = $super.
|
|
110
|
+
tmp = $super.d71.call(this, message, whitespace, align, overflowWrap, width, stderr);
|
|
111
111
|
}
|
|
112
112
|
return tmp;
|
|
113
113
|
}
|
|
114
|
-
|
|
115
|
-
rawPrintln(this, this.
|
|
114
|
+
h71(message, whitespace, align, overflowWrap, width, stderr) {
|
|
115
|
+
rawPrintln(this, this.e71(message, whitespace, align, overflowWrap, width), stderr);
|
|
116
116
|
}
|
|
117
|
-
|
|
117
|
+
i71(message, whitespace, align, overflowWrap, width, stderr, $super) {
|
|
118
118
|
whitespace = whitespace === VOID ? Whitespace_PRE_getInstance() : whitespace;
|
|
119
119
|
align = align === VOID ? TextAlign_NONE_getInstance() : align;
|
|
120
120
|
overflowWrap = overflowWrap === VOID ? OverflowWrap_NORMAL_getInstance() : overflowWrap;
|
|
@@ -122,65 +122,65 @@ function Terminal() {
|
|
|
122
122
|
stderr = stderr === VOID ? false : stderr;
|
|
123
123
|
var tmp;
|
|
124
124
|
if ($super === VOID) {
|
|
125
|
-
this.
|
|
125
|
+
this.h71(message, whitespace, align, overflowWrap, width, stderr);
|
|
126
126
|
tmp = Unit_instance;
|
|
127
127
|
} else {
|
|
128
|
-
tmp = $super.
|
|
128
|
+
tmp = $super.h71.call(this, message, whitespace, align, overflowWrap, width, stderr);
|
|
129
129
|
}
|
|
130
130
|
return tmp;
|
|
131
131
|
}
|
|
132
|
-
|
|
133
|
-
this.
|
|
132
|
+
j71(widget, stderr) {
|
|
133
|
+
this.f71(this.k71(widget), stderr);
|
|
134
134
|
}
|
|
135
|
-
|
|
135
|
+
a70(widget, stderr, $super) {
|
|
136
136
|
stderr = stderr === VOID ? false : stderr;
|
|
137
137
|
var tmp;
|
|
138
138
|
if ($super === VOID) {
|
|
139
|
-
this.
|
|
139
|
+
this.j71(widget, stderr);
|
|
140
140
|
tmp = Unit_instance;
|
|
141
141
|
} else {
|
|
142
|
-
tmp = $super.
|
|
142
|
+
tmp = $super.j71.call(this, widget, stderr);
|
|
143
143
|
}
|
|
144
144
|
return tmp;
|
|
145
145
|
}
|
|
146
|
-
|
|
147
|
-
rawPrintln(this, this.
|
|
146
|
+
l71(widget, stderr) {
|
|
147
|
+
rawPrintln(this, this.k71(widget), stderr);
|
|
148
148
|
}
|
|
149
|
-
|
|
149
|
+
e70(widget, stderr, $super) {
|
|
150
150
|
stderr = stderr === VOID ? false : stderr;
|
|
151
151
|
var tmp;
|
|
152
152
|
if ($super === VOID) {
|
|
153
|
-
this.
|
|
153
|
+
this.l71(widget, stderr);
|
|
154
154
|
tmp = Unit_instance;
|
|
155
155
|
} else {
|
|
156
|
-
tmp = $super.
|
|
156
|
+
tmp = $super.l71.call(this, widget, stderr);
|
|
157
157
|
}
|
|
158
158
|
return tmp;
|
|
159
159
|
}
|
|
160
|
-
|
|
160
|
+
e71(message, whitespace, align, overflowWrap, width) {
|
|
161
161
|
var tmp;
|
|
162
162
|
if (message instanceof Lines()) {
|
|
163
|
-
tmp = renderLinesAnsi(message, this.
|
|
163
|
+
tmp = renderLinesAnsi(message, this.s6t_1.v70_1, this.s6t_1.w70_1);
|
|
164
164
|
} else {
|
|
165
165
|
if (!(message == null) ? isInterface(message, Widget()) : false) {
|
|
166
|
-
tmp = this.
|
|
166
|
+
tmp = this.k71(message);
|
|
167
167
|
} else {
|
|
168
|
-
tmp = this.
|
|
168
|
+
tmp = this.k71(Text().x6y(toString_0(message), whitespace, align, overflowWrap, width));
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
return tmp;
|
|
172
172
|
}
|
|
173
|
-
|
|
174
|
-
return renderLinesAnsi(widget.
|
|
173
|
+
k71(widget) {
|
|
174
|
+
return renderLinesAnsi(widget.k6t(this), this.s6t_1.v70_1, this.s6t_1.w70_1);
|
|
175
175
|
}
|
|
176
|
-
|
|
177
|
-
return this.
|
|
176
|
+
b70(hideInput) {
|
|
177
|
+
return this.n6t_1.b70(hideInput);
|
|
178
178
|
}
|
|
179
|
-
|
|
179
|
+
f71(message, stderr) {
|
|
180
180
|
sendPrintRequest(this, new (PrintRequest())(toString(message), false, stderr));
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
|
-
initMetadataForClass($, 'Terminal', $.
|
|
183
|
+
initMetadataForClass($, 'Terminal', $.b71);
|
|
184
184
|
TerminalClass = $;
|
|
185
185
|
}
|
|
186
186
|
return TerminalClass;
|
|
@@ -321,7 +321,7 @@ var TerminalDetectionClass;
|
|
|
321
321
|
function TerminalDetection() {
|
|
322
322
|
if (TerminalDetectionClass === VOID) {
|
|
323
323
|
class $ {
|
|
324
|
-
|
|
324
|
+
m70(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.x70_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.r70();
|
|
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.t6r_1 : width;
|
|
365
|
+
return new (Size())(tmp_2, height == null ? detected.u6r_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.h71(_this__u8e3s4.l6t_1.y6s().n6l(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.v70_1 = ansiLevel;
|
|
16
|
+
this.w70_1 = ansiHyperLinks;
|
|
17
|
+
this.x70_1 = outputInteractive;
|
|
18
|
+
this.y70_1 = inputInteractive;
|
|
19
|
+
this.z70_1 = supportsAnsiCursor;
|
|
20
20
|
}
|
|
21
|
-
|
|
22
|
-
return this.
|
|
21
|
+
a71() {
|
|
22
|
+
return this.y70_1 && this.x70_1;
|
|
23
23
|
}
|
|
24
24
|
toString() {
|
|
25
|
-
return 'TerminalInfo(ansiLevel=' + this.
|
|
25
|
+
return 'TerminalInfo(ansiLevel=' + this.v70_1.toString() + ', ansiHyperLinks=' + this.w70_1 + ', outputInteractive=' + this.x70_1 + ', inputInteractive=' + this.y70_1 + ', supportsAnsiCursor=' + this.z70_1 + ')';
|
|
26
26
|
}
|
|
27
27
|
hashCode() {
|
|
28
|
-
var result = this.
|
|
29
|
-
result = imul(result, 31) + getBooleanHashCode(this.v70_1) | 0;
|
|
28
|
+
var result = this.v70_1.hashCode();
|
|
30
29
|
result = imul(result, 31) + getBooleanHashCode(this.w70_1) | 0;
|
|
31
30
|
result = imul(result, 31) + getBooleanHashCode(this.x70_1) | 0;
|
|
32
31
|
result = imul(result, 31) + getBooleanHashCode(this.y70_1) | 0;
|
|
32
|
+
result = imul(result, 31) + getBooleanHashCode(this.z70_1) | 0;
|
|
33
33
|
return result;
|
|
34
34
|
}
|
|
35
35
|
equals(other) {
|
|
@@ -38,9 +38,7 @@ 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.
|
|
42
|
-
return false;
|
|
43
|
-
if (!(this.v70_1 === tmp0_other_with_cast.v70_1))
|
|
41
|
+
if (!this.v70_1.equals(tmp0_other_with_cast.v70_1))
|
|
44
42
|
return false;
|
|
45
43
|
if (!(this.w70_1 === tmp0_other_with_cast.w70_1))
|
|
46
44
|
return false;
|
|
@@ -48,6 +46,8 @@ function TerminalInfo() {
|
|
|
48
46
|
return false;
|
|
49
47
|
if (!(this.y70_1 === tmp0_other_with_cast.y70_1))
|
|
50
48
|
return false;
|
|
49
|
+
if (!(this.z70_1 === tmp0_other_with_cast.z70_1))
|
|
50
|
+
return false;
|
|
51
51
|
return true;
|
|
52
52
|
}
|
|
53
53
|
}
|