@continuous-excellence/coupling-cli 1.1.515 → 1.1.517
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 +39 -38
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigCommand.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigFileSource.mjs +11 -11
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs +19 -18
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCliConfig.mjs +18 -18
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs +23 -22
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Main.mjs +6 -2
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Main.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Versions.mjs +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs +56 -12
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PartyListQuery.mjs +13 -13
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs +22 -22
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PartyListQuery_ResponseAdapter.mjs +11 -11
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_ResponseAdapter.mjs +16 -16
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_VariablesAdapter.mjs +2 -2
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs +60 -53
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs +29 -28
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ContributionInput.mjs +13 -13
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs +164 -120
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CycleTimeFromFirstCommit.mjs +3 -3
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs +44 -41
- 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 +72 -50
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyDetails.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs +73 -74
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs +101 -49
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs +79 -79
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSdk.mjs +2 -2
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.mjs +7 -7
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.mjs.map +1 -1
- 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 +117 -112
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/BaseCliktCommand.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs +95 -95
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/exceptions.mjs +124 -124
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Finalization.mjs +37 -37
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Util.mjs +2 -2
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/AbstractHelpFormatter.mjs +134 -134
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/HelpFormatter.mjs +48 -48
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/Localization.mjs +32 -32
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/PlaintextHelpFormatter.mjs +26 -26
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/groups/ParameterGroup.mjs +2 -2
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/internal/NullableLateinit.mjs +12 -12
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/EagerOption.mjs +6 -6
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/FlagOption.mjs +3 -3
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/Option.mjs +21 -21
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/OptionWithValues.mjs +189 -189
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs +5 -5
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformEach.mjs +3 -3
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/transform/TransformContext.mjs +7 -7
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/types/boolean.mjs +9 -9
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/CommandLineParser.mjs +29 -29
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/Invocation.mjs +45 -45
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/ParserInternals.mjs +227 -227
- 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 +4 -3
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/command/SuspendingCliktCommand.mjs.map +1 -1
- 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 +64 -64
- 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 +24 -24
- 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 +119 -119
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGBColorSpaces.mjs +132 -132
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/XYZ.mjs +60 -60
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/xyY.mjs +19 -19
- 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/selects/Select.mjs +1 -1
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs +2 -2
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiCodes.mjs +24 -24
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiRender.mjs +39 -39
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Constants.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/HyperlinkIds.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/MppInternal.jsCommon.mjs +17 -17
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Parsing.mjs +53 -53
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/cellwidth.mjs +7 -7
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/cellwidthtable.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/emojiseqtable.mjs +14 -14
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/platform/MultiplatformSystem.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/BorderType.mjs +39 -39
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Lines.mjs +60 -60
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Size.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Span.mjs +22 -22
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/TextStyle.mjs +65 -65
- 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 +225 -225
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDsl.mjs +22 -22
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDslInstances.mjs +138 -138
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableLayout.mjs +57 -57
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/VerticalLayout.mjs +32 -32
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Prompt.mjs +60 -60
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/StandardTerminalInterface.mjs +14 -14
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Terminal.mjs +53 -53
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalCursor.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalDetection.mjs +5 -5
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalExtensions.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInfo.mjs +16 -16
- 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 +56 -56
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Text.mjs +67 -67
- package/kotlin/tools-digger-json/com/zegreatrob/tools/digger/json/ContributionDataJson.mjs +107 -107
- package/kotlin/tools-digger-model/com/zegreatrob/tools/digger/model/Contribution.mjs +37 -37
- package/package.json +1 -1
|
@@ -60,63 +60,63 @@ import { cycleTimeFromFirstCommitjxlqe3jhxmq9 as cycleTimeFromFirstCommit } from
|
|
|
60
60
|
import { contributionInput37607zpg1r14u as contributionInput } from './ContributionInput.mjs';
|
|
61
61
|
import { listOfNotNull1v4ggfackvuny as listOfNotNull } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs';
|
|
62
62
|
import { SaveContributionCommandrtzwcn2tt3zv as SaveContributionCommand } from '../../../../../../Coupling-libraries-action/com/zegreatrob/coupling/action/party/SaveContributionCommand.mjs';
|
|
63
|
-
import {
|
|
63
|
+
import { withSdk224uta8ich308 as withSdk } from '../WithSdk.mjs';
|
|
64
64
|
//region block: imports
|
|
65
65
|
//endregion
|
|
66
66
|
//region block: pre-declaration
|
|
67
67
|
//endregion
|
|
68
68
|
function _get_contributionContext__ud5ble($this) {
|
|
69
69
|
var tmp = KProperty1();
|
|
70
|
-
return $this.
|
|
70
|
+
return $this.w78_1.zp($this, getPropertyCallableRef('contributionContext', 1, tmp, SaveContribution$_get_contributionContext_$ref_trd8om(), null));
|
|
71
71
|
}
|
|
72
72
|
function _get_inputJson__zeyf3($this) {
|
|
73
73
|
var tmp = KProperty1();
|
|
74
|
-
return $this.
|
|
74
|
+
return $this.x78_1.zp($this, getPropertyCallableRef('inputJson', 1, tmp, SaveContribution$_get_inputJson_$ref_unof55_0(), null));
|
|
75
75
|
}
|
|
76
76
|
function _get_contributionId__8s6i8w($this) {
|
|
77
77
|
var tmp = KProperty1();
|
|
78
|
-
return $this.
|
|
78
|
+
return $this.y78_1.zp($this, getPropertyCallableRef('contributionId', 1, tmp, SaveContribution$_get_contributionId_$ref_6u0ayi_0(), null));
|
|
79
79
|
}
|
|
80
80
|
function _get_participantEmail__9itsn2($this) {
|
|
81
81
|
var tmp = KProperty1();
|
|
82
|
-
return $this.
|
|
82
|
+
return $this.z78_1.zp($this, getPropertyCallableRef('participantEmail', 1, tmp, SaveContribution$_get_participantEmail_$ref_8y823c_0(), null));
|
|
83
83
|
}
|
|
84
84
|
function _get_hash__d7hhq5($this) {
|
|
85
85
|
var tmp = KProperty1();
|
|
86
|
-
return $this.
|
|
86
|
+
return $this.a79_1.zp($this, getPropertyCallableRef('hash', 1, tmp, SaveContribution$_get_hash_$ref_wkneql_0(), null));
|
|
87
87
|
}
|
|
88
88
|
function _get_dateTime__k7u9ow($this) {
|
|
89
89
|
var tmp = KProperty1();
|
|
90
|
-
return $this.
|
|
90
|
+
return $this.b79_1.zp($this, getPropertyCallableRef('dateTime', 1, tmp, SaveContribution$_get_dateTime_$ref_1986a2_0(), null));
|
|
91
91
|
}
|
|
92
92
|
function _get_ease__d5u3vh($this) {
|
|
93
93
|
var tmp = KProperty1();
|
|
94
|
-
return $this.
|
|
94
|
+
return $this.c79_1.zp($this, getPropertyCallableRef('ease', 1, tmp, SaveContribution$_get_ease_$ref_fck9j1_0(), null));
|
|
95
95
|
}
|
|
96
96
|
function _get_story__b8qft0($this) {
|
|
97
97
|
var tmp = KProperty1();
|
|
98
|
-
return $this.
|
|
98
|
+
return $this.d79_1.zp($this, getPropertyCallableRef('story', 1, tmp, SaveContribution$_get_story_$ref_8z989g_0(), null));
|
|
99
99
|
}
|
|
100
100
|
function _get_cycleTimeFromFirstCommit__2fkwv5($this) {
|
|
101
101
|
var tmp = KProperty1();
|
|
102
|
-
return $this.
|
|
102
|
+
return $this.e79_1.zp($this, getPropertyCallableRef('cycleTimeFromFirstCommit', 1, tmp, SaveContribution$_get_cycleTimeFromFirstCommit_$ref_f3z9fr_0(), null));
|
|
103
103
|
}
|
|
104
104
|
function _get_cycleTime__uahmu6($this) {
|
|
105
105
|
var tmp = KProperty1();
|
|
106
|
-
return $this.
|
|
106
|
+
return $this.f79_1.zp($this, getPropertyCallableRef('cycleTime', 1, tmp, SaveContribution$_get_cycleTime_$ref_b0lgcq_0(), null));
|
|
107
107
|
}
|
|
108
108
|
var sam$kotlin_properties_ReadOnlyProperty$0Class;
|
|
109
109
|
function sam$kotlin_properties_ReadOnlyProperty$0() {
|
|
110
110
|
if (sam$kotlin_properties_ReadOnlyProperty$0Class === VOID) {
|
|
111
111
|
class $ {
|
|
112
112
|
constructor(function_0) {
|
|
113
|
-
this.
|
|
113
|
+
this.q79_1 = function_0;
|
|
114
114
|
}
|
|
115
115
|
zp(thisRef, property) {
|
|
116
|
-
return this.
|
|
116
|
+
return this.q79_1(thisRef, property);
|
|
117
117
|
}
|
|
118
118
|
c5() {
|
|
119
|
-
return this.
|
|
119
|
+
return this.q79_1;
|
|
120
120
|
}
|
|
121
121
|
equals(other) {
|
|
122
122
|
var tmp;
|
|
@@ -144,13 +144,13 @@ function sam$kotlin_properties_ReadOnlyProperty$0() {
|
|
|
144
144
|
}
|
|
145
145
|
function SaveContribution$contributionContext$delegate$lambda$lambda($key) {
|
|
146
146
|
return (it) => {
|
|
147
|
-
var tmp = it.
|
|
147
|
+
var tmp = it.e5u_1.j4($key);
|
|
148
148
|
return tmp instanceof ContributionContext() ? tmp : null;
|
|
149
149
|
};
|
|
150
150
|
}
|
|
151
151
|
function SaveContribution$contributionContext$delegate$lambda($key) {
|
|
152
152
|
return (thisRef, _unused_var__etf5q3) => {
|
|
153
|
-
var tmp0 = thisRef.
|
|
153
|
+
var tmp0 = thisRef.c5t();
|
|
154
154
|
// Inline function 'com.github.ajalt.clikt.core.Context.findObject' call
|
|
155
155
|
var key = $key;
|
|
156
156
|
var tmp = selfAndAncestors(tmp0);
|
|
@@ -216,20 +216,20 @@ function SaveContribution$_get_cycleTime_$ref_b0lgcq_0() {
|
|
|
216
216
|
return (p0) => _get_cycleTime__uahmu6(p0);
|
|
217
217
|
}
|
|
218
218
|
function SaveContribution$_get_link_$ref_6h1qnr() {
|
|
219
|
-
return (p0) => p0.
|
|
219
|
+
return (p0) => p0.k73();
|
|
220
220
|
}
|
|
221
221
|
function SaveContribution$_get_link_$ref_6h1qnr_0() {
|
|
222
|
-
return (p0) => p0.
|
|
222
|
+
return (p0) => p0.k73();
|
|
223
223
|
}
|
|
224
224
|
function SaveContribution$_get_label_$ref_s0igz9() {
|
|
225
|
-
return (p0) => p0.
|
|
225
|
+
return (p0) => p0.j73();
|
|
226
226
|
}
|
|
227
227
|
function SaveContribution$_get_label_$ref_s0igz9_0() {
|
|
228
|
-
return (p0) => p0.
|
|
228
|
+
return (p0) => p0.j73();
|
|
229
229
|
}
|
|
230
230
|
function SaveContribution$echo$ref(p0) {
|
|
231
231
|
return (receiver) => {
|
|
232
|
-
p0.
|
|
232
|
+
p0.n5t(receiver);
|
|
233
233
|
return Unit_instance;
|
|
234
234
|
};
|
|
235
235
|
}
|
|
@@ -238,14 +238,14 @@ function SaveContribution$run$slambda() {
|
|
|
238
238
|
if (SaveContribution$run$slambdaClass === VOID) {
|
|
239
239
|
class $ {
|
|
240
240
|
constructor($action) {
|
|
241
|
-
this.
|
|
241
|
+
this.r79_1 = $action;
|
|
242
242
|
}
|
|
243
|
-
*
|
|
244
|
-
yield* fire(sdk, this.
|
|
243
|
+
*m73(sdk, $completion) {
|
|
244
|
+
yield* fire(sdk, this.r79_1, $completion);
|
|
245
245
|
return Unit_instance;
|
|
246
246
|
}
|
|
247
247
|
vd(p1, $completion) {
|
|
248
|
-
return this.
|
|
248
|
+
return this.m73((!(p1 == null) ? isInterface(p1, ActionCannon()) : false) ? p1 : THROW_CCE(), $completion);
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
251
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -255,7 +255,7 @@ function SaveContribution$run$slambda() {
|
|
|
255
255
|
}
|
|
256
256
|
function SaveContribution$run$slambda_0($action) {
|
|
257
257
|
var i = new (SaveContribution$run$slambda())($action);
|
|
258
|
-
var l = (sdk, $completion) => i.
|
|
258
|
+
var l = (sdk, $completion) => i.m73(sdk, $completion);
|
|
259
259
|
l.$arity = 1;
|
|
260
260
|
return l;
|
|
261
261
|
}
|
|
@@ -263,84 +263,84 @@ var SaveContributionClass;
|
|
|
263
263
|
function SaveContribution() {
|
|
264
264
|
if (SaveContributionClass === VOID) {
|
|
265
265
|
class $ extends SuspendingCliktCommand() {
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
this.
|
|
270
|
-
|
|
271
|
-
var tmp = this;
|
|
266
|
+
static i79(sdkProvider, clock) {
|
|
267
|
+
var $this = this.z6w('save');
|
|
268
|
+
$this.u78_1 = sdkProvider;
|
|
269
|
+
$this.v78_1 = clock;
|
|
270
|
+
var tmp = $this;
|
|
272
271
|
// Inline function 'com.github.ajalt.clikt.core.requireObject' call
|
|
273
272
|
var key = 'default_object';
|
|
274
273
|
var tmp_0 = SaveContribution$contributionContext$delegate$lambda(key);
|
|
275
|
-
tmp.
|
|
276
|
-
var tmp_1 = this;
|
|
277
|
-
var tmp_2 = prompt(option(this, []));
|
|
274
|
+
tmp.w78_1 = new (sam$kotlin_properties_ReadOnlyProperty$0())(tmp_0);
|
|
275
|
+
var tmp_1 = $this;
|
|
276
|
+
var tmp_2 = prompt(option($this, []));
|
|
278
277
|
var tmp_3 = KProperty1();
|
|
279
|
-
tmp_1.
|
|
280
|
-
var tmp_4 = this;
|
|
281
|
-
var tmp_5 = default_0(option(this, []), '');
|
|
278
|
+
tmp_1.x78_1 = tmp_2.l68($this, getPropertyCallableRef('inputJson', 1, tmp_3, SaveContribution$_get_inputJson_$ref_unof55(), null));
|
|
279
|
+
var tmp_4 = $this;
|
|
280
|
+
var tmp_5 = default_0(option($this, []), '');
|
|
282
281
|
var tmp_6 = KProperty1();
|
|
283
|
-
tmp_4.
|
|
284
|
-
var tmp_7 = this;
|
|
285
|
-
var tmp_8 = multiple(option(this, []));
|
|
282
|
+
tmp_4.y78_1 = tmp_5.l68($this, getPropertyCallableRef('contributionId', 1, tmp_6, SaveContribution$_get_contributionId_$ref_6u0ayi(), null));
|
|
283
|
+
var tmp_7 = $this;
|
|
284
|
+
var tmp_8 = multiple(option($this, []));
|
|
286
285
|
var tmp_9 = KProperty1();
|
|
287
|
-
tmp_7.
|
|
288
|
-
var tmp_10 = this;
|
|
289
|
-
var tmp_11 = default_0(option(this, []), '');
|
|
286
|
+
tmp_7.z78_1 = tmp_8.l68($this, getPropertyCallableRef('participantEmail', 1, tmp_9, SaveContribution$_get_participantEmail_$ref_8y823c(), null));
|
|
287
|
+
var tmp_10 = $this;
|
|
288
|
+
var tmp_11 = default_0(option($this, []), '');
|
|
290
289
|
var tmp_12 = KProperty1();
|
|
291
|
-
tmp_10.
|
|
292
|
-
var tmp_13 = this;
|
|
293
|
-
var tmp_14 = default_0(option(this, []), '');
|
|
290
|
+
tmp_10.a79_1 = tmp_11.l68($this, getPropertyCallableRef('hash', 1, tmp_12, SaveContribution$_get_hash_$ref_wkneql(), null));
|
|
291
|
+
var tmp_13 = $this;
|
|
292
|
+
var tmp_14 = default_0(option($this, []), '');
|
|
294
293
|
var tmp_15 = KProperty1();
|
|
295
|
-
tmp_13.
|
|
296
|
-
var tmp_16 = this;
|
|
297
|
-
var tmp_17 = default_0(option(this, []), '');
|
|
294
|
+
tmp_13.b79_1 = tmp_14.l68($this, getPropertyCallableRef('dateTime', 1, tmp_15, SaveContribution$_get_dateTime_$ref_1986a2(), null));
|
|
295
|
+
var tmp_16 = $this;
|
|
296
|
+
var tmp_17 = default_0(option($this, []), '');
|
|
298
297
|
var tmp_18 = KProperty1();
|
|
299
|
-
tmp_16.
|
|
300
|
-
var tmp_19 = this;
|
|
301
|
-
var tmp_20 = default_0(option(this, []), '');
|
|
298
|
+
tmp_16.c79_1 = tmp_17.l68($this, getPropertyCallableRef('ease', 1, tmp_18, SaveContribution$_get_ease_$ref_fck9j1(), null));
|
|
299
|
+
var tmp_19 = $this;
|
|
300
|
+
var tmp_20 = default_0(option($this, []), '');
|
|
302
301
|
var tmp_21 = KProperty1();
|
|
303
|
-
tmp_19.
|
|
304
|
-
var tmp_22 = this;
|
|
305
|
-
var tmp_23 = flag(option(this, []), []);
|
|
302
|
+
tmp_19.d79_1 = tmp_20.l68($this, getPropertyCallableRef('story', 1, tmp_21, SaveContribution$_get_story_$ref_8z989g(), null));
|
|
303
|
+
var tmp_22 = $this;
|
|
304
|
+
var tmp_23 = flag(option($this, []), []);
|
|
306
305
|
var tmp_24 = KProperty1();
|
|
307
|
-
tmp_22.
|
|
308
|
-
var tmp_25 = this;
|
|
309
|
-
var tmp_26 = default_0(option(this, []), '');
|
|
306
|
+
tmp_22.e79_1 = tmp_23.l68($this, getPropertyCallableRef('cycleTimeFromFirstCommit', 1, tmp_24, SaveContribution$_get_cycleTimeFromFirstCommit_$ref_f3z9fr(), null));
|
|
307
|
+
var tmp_25 = $this;
|
|
308
|
+
var tmp_26 = default_0(option($this, []), '');
|
|
310
309
|
var tmp_27 = KProperty1();
|
|
311
|
-
tmp_25.
|
|
312
|
-
var tmp_28 = this;
|
|
313
|
-
var tmp_29 = default_0(option(this, []), '');
|
|
310
|
+
tmp_25.f79_1 = tmp_26.l68($this, getPropertyCallableRef('cycleTime', 1, tmp_27, SaveContribution$_get_cycleTime_$ref_b0lgcq(), null));
|
|
311
|
+
var tmp_28 = $this;
|
|
312
|
+
var tmp_29 = default_0(option($this, []), '');
|
|
314
313
|
var tmp_30 = KProperty1();
|
|
315
|
-
tmp_28.
|
|
316
|
-
var tmp_31 = this;
|
|
317
|
-
var tmp_32 = default_0(option(this, []), '');
|
|
314
|
+
tmp_28.g79_1 = tmp_29.l68($this, getPropertyCallableRef('link', 1, tmp_30, SaveContribution$_get_link_$ref_6h1qnr(), null));
|
|
315
|
+
var tmp_31 = $this;
|
|
316
|
+
var tmp_32 = default_0(option($this, []), '');
|
|
318
317
|
var tmp_33 = KProperty1();
|
|
319
|
-
tmp_31.
|
|
318
|
+
tmp_31.h79_1 = tmp_32.l68($this, getPropertyCallableRef('label', 1, tmp_33, SaveContribution$_get_label_$ref_s0igz9(), null));
|
|
319
|
+
return $this;
|
|
320
320
|
}
|
|
321
|
-
|
|
321
|
+
k73() {
|
|
322
322
|
var tmp = KProperty1();
|
|
323
|
-
return this.
|
|
323
|
+
return this.g79_1.zp(this, getPropertyCallableRef('link', 1, tmp, SaveContribution$_get_link_$ref_6h1qnr_0(), null));
|
|
324
324
|
}
|
|
325
|
-
|
|
325
|
+
j73() {
|
|
326
326
|
var tmp = KProperty1();
|
|
327
|
-
return this.
|
|
327
|
+
return this.h79_1.zp(this, getPropertyCallableRef('label', 1, tmp, SaveContribution$_get_label_$ref_s0igz9_0(), null));
|
|
328
328
|
}
|
|
329
329
|
*g5i($completion) {
|
|
330
|
-
var partyId = _get_contributionContext__ud5ble(this).
|
|
330
|
+
var partyId = _get_contributionContext__ud5ble(this).p73_1;
|
|
331
331
|
// Inline function 'kotlin.text.trim' call
|
|
332
332
|
var this_0 = _get_inputJson__zeyf3(this);
|
|
333
333
|
var data = toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE()));
|
|
334
334
|
var tmp;
|
|
335
335
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
336
336
|
if (!isBlank(data)) {
|
|
337
|
-
var contribution = ContributionParser_getInstance().
|
|
337
|
+
var contribution = ContributionParser_getInstance().g6y(data);
|
|
338
338
|
var tmp_0;
|
|
339
339
|
if (contribution == null) {
|
|
340
340
|
tmp_0 = null;
|
|
341
341
|
} else {
|
|
342
342
|
// Inline function 'kotlin.takeIf' call
|
|
343
|
-
var this_1 = this.
|
|
343
|
+
var this_1 = this.k73();
|
|
344
344
|
var tmp_1;
|
|
345
345
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
346
346
|
if (!isBlank(this_1)) {
|
|
@@ -350,7 +350,7 @@ function SaveContribution() {
|
|
|
350
350
|
}
|
|
351
351
|
var tmp3_link = tmp_1;
|
|
352
352
|
// Inline function 'kotlin.takeIf' call
|
|
353
|
-
var this_2 = this.
|
|
353
|
+
var this_2 = this.j73();
|
|
354
354
|
var tmp_2;
|
|
355
355
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
356
356
|
if (!isBlank(this_2)) {
|
|
@@ -361,7 +361,7 @@ function SaveContribution() {
|
|
|
361
361
|
var tmp4_label = tmp_2;
|
|
362
362
|
var tmp_3;
|
|
363
363
|
if (_get_cycleTimeFromFirstCommit__2fkwv5(this)) {
|
|
364
|
-
tmp_3 = cycleTimeFromFirstCommit(this, contribution, this.
|
|
364
|
+
tmp_3 = cycleTimeFromFirstCommit(this, contribution, this.v78_1.hs());
|
|
365
365
|
} else {
|
|
366
366
|
// Inline function 'kotlin.text.ifBlank' call
|
|
367
367
|
var this_3 = _get_cycleTime__uahmu6(this);
|
|
@@ -430,7 +430,7 @@ function SaveContribution() {
|
|
|
430
430
|
}
|
|
431
431
|
var tmp_15 = tmp_14;
|
|
432
432
|
// Inline function 'kotlin.text.ifBlank' call
|
|
433
|
-
var this_8 = this.
|
|
433
|
+
var this_8 = this.k73();
|
|
434
434
|
var tmp_16;
|
|
435
435
|
if (isBlank(this_8)) {
|
|
436
436
|
tmp_16 = null;
|
|
@@ -442,11 +442,11 @@ function SaveContribution() {
|
|
|
442
442
|
}
|
|
443
443
|
var action = new (SaveContributionCommand())(partyId, listOfNotNull(tmp));
|
|
444
444
|
if (action.d58_1.j1()) {
|
|
445
|
-
this.
|
|
445
|
+
this.n5t('Could not parse contribution', VOID, true);
|
|
446
446
|
} else {
|
|
447
|
-
var tmp_17 = _get_contributionContext__ud5ble(this).
|
|
447
|
+
var tmp_17 = _get_contributionContext__ud5ble(this).q73_1;
|
|
448
448
|
var tmp_18 = SaveContribution$echo$ref(this);
|
|
449
|
-
yield* withSdk(tmp_17, tmp_18, this.
|
|
449
|
+
yield* withSdk(tmp_17, tmp_18, this.u78_1, SaveContribution$run$slambda_0(action), $completion);
|
|
450
450
|
}
|
|
451
451
|
return Unit_instance;
|
|
452
452
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../cli/src/commonMain/kotlin/com/zegreatrob/coupling/cli/party/SaveContribution.kt","../../../../../../../../../../Users/runner/work/clikt/clikt/clikt/src/commonMain/kotlin/com/github/ajalt/clikt/core/Context.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/src/kotlin/text/Strings.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/src/kotlin/util/Standard.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/src/kotlin/util/Result.kt"],"sourcesContent":[null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<get-contributionContext>","$this","<get-inputJson>","<get-contributionId>","<get-participantEmail>","<get-hash>","<get-dateTime>","<get-ease>","<get-story>","<get-cycleTimeFromFirstCommit>","<get-cycleTime>","getValue","thisRef","property","equals","hashCode","SaveContribution$contributionContext$delegate$lambda$lambda","SaveContribution$contributionContext$delegate$lambda$lambda$lambda","SaveContribution$contributionContext$delegate$lambda","SaveContribution$echo$ref","p0","SaveContribution$echo$ref$lambda","invoke","$completion","SaveContribution$run$slambda","SaveContribution$run$slambda$lambda","
|
|
1
|
+
{"version":3,"sources":["../../../../../cli/src/commonMain/kotlin/com/zegreatrob/coupling/cli/party/SaveContribution.kt","../../../../../../../../../../Users/runner/work/clikt/clikt/clikt/src/commonMain/kotlin/com/github/ajalt/clikt/core/Context.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/src/kotlin/text/Strings.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/src/kotlin/util/Standard.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/src/kotlin/util/Result.kt"],"sourcesContent":[null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<get-contributionContext>","$this","<get-inputJson>","<get-contributionId>","<get-participantEmail>","<get-hash>","<get-dateTime>","<get-ease>","<get-story>","<get-cycleTimeFromFirstCommit>","<get-cycleTime>","getValue","thisRef","property","equals","hashCode","SaveContribution$contributionContext$delegate$lambda$lambda","SaveContribution$contributionContext$delegate$lambda$lambda$lambda","SaveContribution$contributionContext$delegate$lambda","SaveContribution$echo$ref","p0","SaveContribution$echo$ref$lambda","invoke","$completion","SaveContribution$run$slambda","SaveContribution$run$slambda$lambda","sdkProvider","clock","<get-link>","<get-label>","run","partyId","data","contribution","action"],"mappings":"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,EAAuC,IAAM,CAAN,KAAM,KAA7C,C;;;2BAEA,4B;;cE2Tb,oB;wBF3TiC,I;;wBE2TF,M;;kBF3TR,qBE2T3B,K;;cF1TuB,+B;wBAAA,I;;;wBAAI,6BADV,kBACU,C;;;;gBAJF,sB;oBAHF,kBAAd,YAAc,EAGE,cAHF,EACE,SADF,EAEI,UAFJ,C;;;;;uBAYqC,iBAAf,iCAAe,C;UI2GnE,sB;cACA,aAAO,yCAAP,M;6CJ5GsF,U;sBAC7B,MAAjB,mCAAiB,C;sBAC9B,uB;;uBACI,2B;;UEkTpB,oB;oBFlTuC,I;;oBEkTR,M;;cFlTF,qBEkTjC,K;;UFlTmD,+B;qBAAA,I;;;qBAAI,2BAA/B,kBAA+B,C;;;;uBACnC,uB;;UEiThB,oB;qBFjT+B,I;;qBEiTA,M;;cFjTV,qBEiTzB,M;uBFjT2C,0CAAvB,kBAAuB,C;;uBACtB,wB;;UEgTjB,oB;qBFhTiC,I;;qBEgTF,M;;uBAAnC,M;;uBF/SoB,U;;UE+ShB,oB;qBF/S+B,I;;qBE+SA,M;;cAA1C,aAAO,M;uFF/SyB,U,sCACE,I,EACP,I;;YAzBvBC,yCACc,OADdA,EAEuB,kBAFvBA,C;QA8BI,IAAA,MAAwB,CAAjB,KAAiB,KAAxB,C,CAAmC;A,UACnC,SAAK,8BAAL,QAA2C,IAA3C,C;QACJ,C,MAAO;A,uBAEO,sC,CAAoB,K;uBACnB,+B;iBAFX,wBAGkB,IAHlB,CAGkB,KAHlB,EAIE,sCAJF,c;QAKJ,C;QACJ,oB;MAAA,C;;;;;;;;;;;"}
|
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
executermm52fqenh80 as execute,
|
|
17
17
|
GqlTrait2wtoeyl3yfalb as GqlTrait,
|
|
18
18
|
} from './gql/GqlTrait.mjs';
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
19
|
+
import { Dispatcherhdhfzcswb8hc as Dispatcher } from '../../../../../Coupling-libraries-action/com/zegreatrob/coupling/action/party/SaveContributionCommand.mjs';
|
|
20
|
+
import { Dispatcher2xvjdz9qh940 as Dispatcher_0 } from './gql/GqlQuery.mjs';
|
|
21
21
|
import { initMetadataForClassbxx6q50dy2s7 as initMetadataForClass } from '../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
|
|
22
22
|
import {
|
|
23
23
|
apolloMutation1pfb2yrb4utuy as apolloMutation,
|
|
@@ -15,9 +15,9 @@ var CoreSuspendingCliktCommandClass;
|
|
|
15
15
|
function CoreSuspendingCliktCommand() {
|
|
16
16
|
if (CoreSuspendingCliktCommandClass === VOID) {
|
|
17
17
|
class $ extends BaseCliktCommand() {
|
|
18
|
-
|
|
18
|
+
static z5r(name) {
|
|
19
19
|
name = name === VOID ? null : name;
|
|
20
|
-
|
|
20
|
+
return this.p5s(name);
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
initMetadataForClass($, 'CoreSuspendingCliktCommand', VOID, VOID, VOID, [0]);
|
|
@@ -35,8 +35,8 @@ function *main_0(_this__u8e3s4, argv, $completion) {
|
|
|
35
35
|
} catch ($p) {
|
|
36
36
|
if ($p instanceof CliktError()) {
|
|
37
37
|
var e = $p;
|
|
38
|
-
_this__u8e3s4.
|
|
39
|
-
_this__u8e3s4.
|
|
38
|
+
_this__u8e3s4.k5t(e);
|
|
39
|
+
_this__u8e3s4.c5t().g5u_1(e.n5u_1);
|
|
40
40
|
} else {
|
|
41
41
|
throw $p;
|
|
42
42
|
}
|
|
@@ -45,9 +45,9 @@ function *main_0(_this__u8e3s4, argv, $completion) {
|
|
|
45
45
|
}
|
|
46
46
|
function *parse(_this__u8e3s4, argv, $completion) {
|
|
47
47
|
// Inline function 'com.github.ajalt.clikt.parsers.CommandLineParser.parseAndRun' call
|
|
48
|
-
var result = CommandLineParser_instance.
|
|
48
|
+
var result = CommandLineParser_instance.q5u(_this__u8e3s4, argv);
|
|
49
49
|
// Inline function 'com.github.ajalt.clikt.parsers.CommandLineParser.run' call
|
|
50
|
-
var rootInvocation = result.
|
|
50
|
+
var rootInvocation = result.r5u_1;
|
|
51
51
|
var tmp0 = flatten(rootInvocation);
|
|
52
52
|
$l$block: {
|
|
53
53
|
// Inline function 'kotlin.use' call
|
|
@@ -56,7 +56,7 @@ function *parse(_this__u8e3s4, argv, $completion) {
|
|
|
56
56
|
var _iterator__ex2g4s = tmp0.l1();
|
|
57
57
|
while (_iterator__ex2g4s.m1()) {
|
|
58
58
|
var invocation = _iterator__ex2g4s.n1();
|
|
59
|
-
yield* invocation.
|
|
59
|
+
yield* invocation.x5u_1.g5i($completion);
|
|
60
60
|
}
|
|
61
61
|
break $l$block;
|
|
62
62
|
} catch ($p) {
|
package/kotlin/clikt-clikt/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../../../Users/runner/work/clikt/clikt/clikt/src/commonMain/kotlin/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.kt","../../../../../../../../../../Users/runner/work/clikt/clikt/clikt/src/commonMain/kotlin/com/github/ajalt/clikt/parsers/CommandLineParser.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/clikt-clikt/com/github/ajalt/clikt/command/js/src/kotlin/AutoCloseableJs.kt"],"sourcesContent":[null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["name","main","<this>","argv","$completion","e","parse","result","exception","invocation"],"mappings":";;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../../../Users/runner/work/clikt/clikt/clikt/src/commonMain/kotlin/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.kt","../../../../../../../../../../Users/runner/work/clikt/clikt/clikt/src/commonMain/kotlin/com/github/ajalt/clikt/parsers/CommandLineParser.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/clikt-clikt/com/github/ajalt/clikt/command/js/src/kotlin/AutoCloseableJs.kt"],"sourcesContent":[null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["name","main","<this>","argv","$completion","e","parse","result","exception","invocation"],"mappings":";;;;;;;;;;;;;;;;;iBAaIA,I;+BAAgB,I;wBAC6B,I;;;;;;;;cAoCzCC,CAAIC,a,EAAgCC,I,EAApCC,WAAAH,EAA+D;A,EAAmB,cAAnB,sBAAU,OAAL,IAAK,CAAV,c;AAAkB,C;gBAbjFA,CAAIC,a,EAAgCC,I,EAApCC,WAAAH,EAAwD;A;ECAxD,IAAI;A,WDCuB,MAAR,aAAQ,EAAM,IAAN,c;ECC3B,C;oCAAwB;A,UAAfI,M;MDDU,aCEP,KAAkB,CAAlB,C;MDFO,aCGP,MAAe,OAAY,CAAZ,CAAc,KAAd,C;IAC3B,C;;;;EDHR,oB;AAAA,C;eA2BQC,CAAIJ,a,EAAiCC,I,EAArCC,WAAAE,EAAyD;A;MCQzDC,SAAa,+BDPa,aCOb,EDPmB,ICOnB,C;;uBACT,M,CAAO,K;aAcI,QAAf,cAAe,C;;;QC3DnBC,YAA4B,I;IAC5B,IAAI;A,UFsC2sB,6B;aAAA,sB,EAAa;A,YAA3BC,aAAc,sB;eAA0C,UAF1sB,CAEqtB,KAFrtB,iB;MAE0uB,C;;IEpCzxB,C;+BAAuB;A,YAAdJ,M;QACL,YAAY,C;QACZ,MAAM,C;MACV,C;;;;YAAU;A,MACD,mBAAa,SAAb,C;IACT,C;;EF8BJ,oB;AAAA,C;;;;;"}
|
|
@@ -55,7 +55,7 @@ import { initMetadataForObject1cxne3s9w65el as initMetadataForObject } from '../
|
|
|
55
55
|
//region block: pre-declaration
|
|
56
56
|
//endregion
|
|
57
57
|
function commandCompletionFuncName($this, command) {
|
|
58
|
-
var tmp = command.
|
|
58
|
+
var tmp = command.c5t();
|
|
59
59
|
var tmp_0 = generateSequence(tmp, BashCompletionGenerator$commandCompletionFuncName$lambda);
|
|
60
60
|
var ancestors = asReversed(toList(map(tmp_0, BashCompletionGenerator$commandCompletionFuncName$lambda_0)));
|
|
61
61
|
var isTopLevel = ancestors.q2() === 1;
|
|
@@ -66,34 +66,34 @@ function customParamCompletionName($this, commandFuncName, name) {
|
|
|
66
66
|
return '_' + commandFuncName + '_complete_' + Regex().ph('[^a-zA-Z0-9]').uh(name, '_');
|
|
67
67
|
}
|
|
68
68
|
function _get_allNames__eplh1g($this, $receiver) {
|
|
69
|
-
return plus_0($receiver.
|
|
69
|
+
return plus_0($receiver.c5v(), $receiver.d5v());
|
|
70
70
|
}
|
|
71
71
|
function BashCompletionGenerator$generateBashOrZshCompletion$lambda(it) {
|
|
72
72
|
return "'" + it + "'";
|
|
73
73
|
}
|
|
74
74
|
function BashCompletionGenerator$commandCompletionFuncName$lambda(it) {
|
|
75
|
-
return it.
|
|
75
|
+
return it.p5t_1;
|
|
76
76
|
}
|
|
77
77
|
function BashCompletionGenerator$commandCompletionFuncName$lambda_0(it) {
|
|
78
|
-
return it.
|
|
78
|
+
return it.q5t_1.a5s_1;
|
|
79
79
|
}
|
|
80
80
|
var BashCompletionGeneratorClass;
|
|
81
81
|
function BashCompletionGenerator() {
|
|
82
82
|
if (BashCompletionGeneratorClass === VOID) {
|
|
83
83
|
class $ {
|
|
84
|
-
|
|
85
|
-
var commandName = command.
|
|
84
|
+
e5v(command, zsh) {
|
|
85
|
+
var commandName = command.a5s_1;
|
|
86
86
|
var _destruct__k2r9zo = commandCompletionFuncName(this, command);
|
|
87
87
|
var isTopLevel = _destruct__k2r9zo.ml();
|
|
88
88
|
var funcName = _destruct__k2r9zo.nl();
|
|
89
89
|
// Inline function 'kotlin.collections.filterNot' call
|
|
90
|
-
var tmp0 = command.
|
|
90
|
+
var tmp0 = command.j5s_1;
|
|
91
91
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
92
92
|
var destination = ArrayList().i2();
|
|
93
93
|
var _iterator__ex2g4s = tmp0.l1();
|
|
94
94
|
while (_iterator__ex2g4s.m1()) {
|
|
95
95
|
var element = _iterator__ex2g4s.n1();
|
|
96
|
-
if (!element.
|
|
96
|
+
if (!element.f5v()) {
|
|
97
97
|
destination.o2(element);
|
|
98
98
|
}
|
|
99
99
|
}
|
|
@@ -103,39 +103,39 @@ function BashCompletionGenerator() {
|
|
|
103
103
|
var _iterator__ex2g4s_0 = destination.l1();
|
|
104
104
|
while (_iterator__ex2g4s_0.m1()) {
|
|
105
105
|
var item = _iterator__ex2g4s_0.n1();
|
|
106
|
-
var tmp$ret$5 = new (Triple())(_get_allNames__eplh1g(BashCompletionGenerator_instance, item), item.
|
|
106
|
+
var tmp$ret$5 = new (Triple())(_get_allNames__eplh1g(BashCompletionGenerator_instance, item), item.g5v(), item.h5v());
|
|
107
107
|
destination_0.o2(tmp$ret$5);
|
|
108
108
|
}
|
|
109
109
|
var options = destination_0;
|
|
110
110
|
// Inline function 'kotlin.collections.map' call
|
|
111
|
-
var this_0 = command.
|
|
111
|
+
var this_0 = command.k5s_1;
|
|
112
112
|
// Inline function 'kotlin.collections.mapTo' call
|
|
113
113
|
var destination_1 = ArrayList().r2(collectionSizeOrDefault(this_0, 10));
|
|
114
114
|
var _iterator__ex2g4s_1 = this_0.l1();
|
|
115
115
|
while (_iterator__ex2g4s_1.m1()) {
|
|
116
116
|
var item_0 = _iterator__ex2g4s_1.n1();
|
|
117
|
-
var tmp$ret$8 = to(item_0.d1(), item_0.
|
|
117
|
+
var tmp$ret$8 = to(item_0.d1(), item_0.g5v());
|
|
118
118
|
destination_1.o2(tmp$ret$8);
|
|
119
119
|
}
|
|
120
120
|
var arguments_0 = destination_1;
|
|
121
121
|
// Inline function 'kotlin.collections.map' call
|
|
122
|
-
var this_1 = command.
|
|
122
|
+
var this_1 = command.i5s_1;
|
|
123
123
|
// Inline function 'kotlin.collections.mapTo' call
|
|
124
124
|
var destination_2 = ArrayList().r2(collectionSizeOrDefault(this_1, 10));
|
|
125
125
|
var _iterator__ex2g4s_2 = this_1.l1();
|
|
126
126
|
while (_iterator__ex2g4s_2.m1()) {
|
|
127
127
|
var item_1 = _iterator__ex2g4s_2.n1();
|
|
128
|
-
var tmp$ret$11 = item_1.
|
|
128
|
+
var tmp$ret$11 = item_1.a5s_1;
|
|
129
129
|
destination_2.o2(tmp$ret$11);
|
|
130
130
|
}
|
|
131
131
|
var subcommands = destination_2;
|
|
132
132
|
// Inline function 'kotlin.collections.takeWhile' call
|
|
133
|
-
var this_2 = command.
|
|
133
|
+
var this_2 = command.k5s_1;
|
|
134
134
|
var list = ArrayList().i2();
|
|
135
135
|
var _iterator__ex2g4s_3 = this_2.l1();
|
|
136
136
|
$l$loop: while (_iterator__ex2g4s_3.m1()) {
|
|
137
137
|
var item_2 = _iterator__ex2g4s_3.n1();
|
|
138
|
-
if (!(item_2.
|
|
138
|
+
if (!(item_2.h5v() > 0))
|
|
139
139
|
break $l$loop;
|
|
140
140
|
list.o2(item_2);
|
|
141
141
|
}
|
|
@@ -146,7 +146,7 @@ function BashCompletionGenerator() {
|
|
|
146
146
|
while (_iterator__ex2g4s_4.m1()) {
|
|
147
147
|
var element_0 = _iterator__ex2g4s_4.n1();
|
|
148
148
|
// Inline function 'kotlin.collections.map' call
|
|
149
|
-
var this_3 = numberRangeToNumber(1, element_0.
|
|
149
|
+
var this_3 = numberRangeToNumber(1, element_0.h5v());
|
|
150
150
|
// Inline function 'kotlin.collections.mapTo' call
|
|
151
151
|
var destination_4 = ArrayList().r2(collectionSizeOrDefault(this_3, 10));
|
|
152
152
|
var inductionVariable = this_3.f3_1;
|
|
@@ -164,14 +164,14 @@ function BashCompletionGenerator() {
|
|
|
164
164
|
}
|
|
165
165
|
var fixedArgNameArray = joinToString(destination_3, ' ');
|
|
166
166
|
// Inline function 'kotlin.collections.find' call
|
|
167
|
-
var tmp0_0 = command.
|
|
167
|
+
var tmp0_0 = command.k5s_1;
|
|
168
168
|
var tmp$ret$21;
|
|
169
169
|
$l$block: {
|
|
170
170
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
171
171
|
var _iterator__ex2g4s_5 = tmp0_0.l1();
|
|
172
172
|
while (_iterator__ex2g4s_5.m1()) {
|
|
173
173
|
var element_1 = _iterator__ex2g4s_5.n1();
|
|
174
|
-
if (element_1.
|
|
174
|
+
if (element_1.h5v() < 0) {
|
|
175
175
|
tmp$ret$21 = element_1;
|
|
176
176
|
break $l$block;
|
|
177
177
|
}
|
|
@@ -236,7 +236,7 @@ function BashCompletionGenerator() {
|
|
|
236
236
|
var name = _destruct__k2r9zo_0.ml();
|
|
237
237
|
var candidate = _destruct__k2r9zo_0.nl();
|
|
238
238
|
var tmp0_safe_receiver_0 = candidate instanceof Custom() ? candidate : null;
|
|
239
|
-
var tmp1_safe_receiver = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.
|
|
239
|
+
var tmp1_safe_receiver = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.i5v_1;
|
|
240
240
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver(ShellType_BASH_getInstance());
|
|
241
241
|
var tmp;
|
|
242
242
|
if (tmp2_elvis_lhs == null) {
|
|
@@ -292,7 +292,7 @@ function BashCompletionGenerator() {
|
|
|
292
292
|
}
|
|
293
293
|
this_4.i1(' esac\n fi\n case "${COMP_WORDS[$i]}" in\n');
|
|
294
294
|
// Inline function 'kotlin.collections.iterator' call
|
|
295
|
-
var _iterator__ex2g4s_9 = command.
|
|
295
|
+
var _iterator__ex2g4s_9 = command.l5t().a3().l1();
|
|
296
296
|
while (_iterator__ex2g4s_9.m1()) {
|
|
297
297
|
var _destruct__k2r9zo_2 = _iterator__ex2g4s_9.n1();
|
|
298
298
|
// Inline function 'kotlin.collections.component1' call
|
|
@@ -303,18 +303,18 @@ function BashCompletionGenerator() {
|
|
|
303
303
|
joinTo(toks, this_4, ' ', ' ', VOID, VOID, VOID, BashCompletionGenerator$generateBashOrZshCompletion$lambda);
|
|
304
304
|
this_4.i1(' "${COMP_WORDS[@]:${i}}" )').i1('\n');
|
|
305
305
|
this_4.i1(' (( COMP_CWORD = COMP_CWORD + ' + toks.q2() + ' ))\n');
|
|
306
|
-
if (!command.
|
|
306
|
+
if (!command.c5t().r5t_1) {
|
|
307
307
|
this_4.i1(' can_parse_options=0\n');
|
|
308
308
|
}
|
|
309
309
|
this_4.i1(' ;;\n');
|
|
310
310
|
}
|
|
311
|
-
var _iterator__ex2g4s_10 = command.
|
|
311
|
+
var _iterator__ex2g4s_10 = command.i5s_1.l1();
|
|
312
312
|
while (_iterator__ex2g4s_10.m1()) {
|
|
313
313
|
var sub = _iterator__ex2g4s_10.n1();
|
|
314
|
-
this_4.i1(trimMargin('\n | ' + sub.
|
|
314
|
+
this_4.i1(trimMargin('\n | ' + sub.a5s_1 + ')\n | ' + commandCompletionFuncName(BashCompletionGenerator_instance, sub).wl_1 + ' $(( i + 1 ))\n | return\n | ;;\n |\n '));
|
|
315
315
|
}
|
|
316
316
|
this_4.i1(' *)\n (( i = i + 1 ))\n # drop the head of the array\n fixed_arg_names=("${fixed_arg_names[@]:1}")\n');
|
|
317
|
-
if (!command.
|
|
317
|
+
if (!command.c5t().r5t_1) {
|
|
318
318
|
this_4.i1(' can_parse_options=0\n');
|
|
319
319
|
}
|
|
320
320
|
this_4.i1(' ;;\n esac\n done\n local word="${COMP_WORDS[$COMP_CWORD]}"\n');
|
|
@@ -371,11 +371,11 @@ function BashCompletionGenerator() {
|
|
|
371
371
|
} else {
|
|
372
372
|
if (completion instanceof Fixed()) {
|
|
373
373
|
this_4.i1(" COMPREPLY=($(compgen -W '");
|
|
374
|
-
joinTo(completion.
|
|
374
|
+
joinTo(completion.j5v_1, this_4, ' ');
|
|
375
375
|
this_4.i1('\' -- "${word}"))\n');
|
|
376
376
|
} else {
|
|
377
377
|
if (completion instanceof Custom()) {
|
|
378
|
-
if (!(completion.
|
|
378
|
+
if (!(completion.i5v_1(ShellType_BASH_getInstance()) == null)) {
|
|
379
379
|
var fname = customParamCompletionName(BashCompletionGenerator_instance, funcName, name_1);
|
|
380
380
|
this_4.i1(' COMPREPLY=($(compgen -F ' + fname + ' 2>/dev/null))\n');
|
|
381
381
|
}
|
|
@@ -396,10 +396,10 @@ function BashCompletionGenerator() {
|
|
|
396
396
|
this_4.i1('\' -- "${word}"))\n ;;\n');
|
|
397
397
|
}
|
|
398
398
|
this_4.i1(' esac\n}\n');
|
|
399
|
-
var _iterator__ex2g4s_15 = command.
|
|
399
|
+
var _iterator__ex2g4s_15 = command.i5s_1.l1();
|
|
400
400
|
while (_iterator__ex2g4s_15.m1()) {
|
|
401
401
|
var subcommand = _iterator__ex2g4s_15.n1();
|
|
402
|
-
this_4.i1(BashCompletionGenerator_instance.
|
|
402
|
+
this_4.i1(BashCompletionGenerator_instance.e5v(subcommand, zsh));
|
|
403
403
|
}
|
|
404
404
|
if (isTopLevel) {
|
|
405
405
|
this_4.i1('\ncomplete -F ' + funcName + ' ' + commandName);
|
|
@@ -14,17 +14,17 @@ var CompletionGeneratorClass;
|
|
|
14
14
|
function CompletionGenerator() {
|
|
15
15
|
if (CompletionGeneratorClass === VOID) {
|
|
16
16
|
class $ {
|
|
17
|
-
|
|
17
|
+
k5v(command, shell) {
|
|
18
18
|
// Inline function 'kotlin.text.trim' call
|
|
19
19
|
// Inline function 'kotlin.text.lowercase' call
|
|
20
20
|
// Inline function 'kotlin.js.asDynamic' call
|
|
21
21
|
switch (toString(trim(isCharSequence(shell) ? shell : THROW_CCE())).toLowerCase()) {
|
|
22
22
|
case 'fish':
|
|
23
|
-
return FishCompletionGenerator_instance.
|
|
23
|
+
return FishCompletionGenerator_instance.l5v(command);
|
|
24
24
|
case 'zsh':
|
|
25
|
-
return BashCompletionGenerator_instance.
|
|
25
|
+
return BashCompletionGenerator_instance.e5v(command, true);
|
|
26
26
|
default:
|
|
27
|
-
return BashCompletionGenerator_instance.
|
|
27
|
+
return BashCompletionGenerator_instance.e5v(command, false);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
}
|