elm-pages 3.0.0-beta.40 → 3.0.0-beta.41
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/README.md +1 -1
- package/codegen/elm-pages-codegen.cjs +204 -262
- package/generator/dead-code-review/elm-stuff/tests-0.19.1/elm-stuff/0.19.1/d.dat +0 -0
- package/generator/dead-code-review/elm-stuff/tests-0.19.1/js/node_runner.js +1 -1
- package/generator/dead-code-review/elm-stuff/tests-0.19.1/js/node_supervisor.js +1 -1
- package/generator/review/elm-stuff/tests-0.19.1/elm-stuff/0.19.1/d.dat +0 -0
- package/generator/review/elm-stuff/tests-0.19.1/js/node_runner.js +1 -1
- package/generator/review/elm-stuff/tests-0.19.1/js/node_supervisor.js +1 -1
- package/generator/src/RouteBuilder.elm +9 -8
- package/generator/src/SharedTemplate.elm +5 -5
- package/generator/src/compatibility-key.js +2 -2
- package/package.json +1 -1
- package/src/BackendTask.elm +18 -24
- package/src/Head/Seo.elm +4 -4
- package/src/Pages/ConcurrentSubmission.elm +127 -0
- package/src/Pages/Form.elm +151 -40
- package/src/Pages/FormData.elm +18 -0
- package/src/Pages/Internal/NotFoundReason.elm +4 -4
- package/src/Pages/Internal/Platform/Cli.elm +15 -15
- package/src/Pages/Internal/Platform/CompatibilityKey.elm +1 -1
- package/src/Pages/Internal/Platform.elm +39 -38
- package/src/Pages/Internal/ResponseSketch.elm +2 -2
- package/src/Pages/Manifest.elm +23 -7
- package/src/Pages/Navigation.elm +87 -0
- package/src/Pages/PageUrl.elm +3 -3
- package/src/Pages/ProgramConfig.elm +10 -9
- package/src/Pages/Script.elm +64 -7
- package/src/Pages/Url.elm +3 -3
- package/src/PagesMsg.elm +9 -3
- package/src/RenderRequest.elm +7 -7
- package/src/Scaffold/Form.elm +28 -5
- package/src/Scaffold/Route.elm +12 -3
- package/src/Server/Request.elm +2 -1
- package/src/Server/Session.elm +1 -1
- package/src/Server/SetCookie.elm +71 -31
- package/src/{Path.elm → UrlPath.elm} +21 -21
- package/src/Pages/Transition.elm +0 -79
|
@@ -14905,104 +14905,6 @@ var $author$project$Gen$List$call_ = {
|
|
|
14905
14905
|
[unzipArg]));
|
|
14906
14906
|
}
|
|
14907
14907
|
};
|
|
14908
|
-
var $author$project$Gen$Path$call_ = {
|
|
14909
|
-
fromString: function (fromStringArg) {
|
|
14910
|
-
return A2(
|
|
14911
|
-
$author$project$Elm$apply,
|
|
14912
|
-
$author$project$Elm$value(
|
|
14913
|
-
{
|
|
14914
|
-
annotation: $elm$core$Maybe$Just(
|
|
14915
|
-
A2(
|
|
14916
|
-
$author$project$Elm$Annotation$function,
|
|
14917
|
-
_List_fromArray(
|
|
14918
|
-
[$author$project$Elm$Annotation$string]),
|
|
14919
|
-
A3($author$project$Elm$Annotation$namedWith, _List_Nil, 'Path', _List_Nil))),
|
|
14920
|
-
importFrom: _List_fromArray(
|
|
14921
|
-
['Path']),
|
|
14922
|
-
name: 'fromString'
|
|
14923
|
-
}),
|
|
14924
|
-
_List_fromArray(
|
|
14925
|
-
[fromStringArg]));
|
|
14926
|
-
},
|
|
14927
|
-
join: function (joinArg) {
|
|
14928
|
-
return A2(
|
|
14929
|
-
$author$project$Elm$apply,
|
|
14930
|
-
$author$project$Elm$value(
|
|
14931
|
-
{
|
|
14932
|
-
annotation: $elm$core$Maybe$Just(
|
|
14933
|
-
A2(
|
|
14934
|
-
$author$project$Elm$Annotation$function,
|
|
14935
|
-
_List_fromArray(
|
|
14936
|
-
[
|
|
14937
|
-
A3($author$project$Elm$Annotation$namedWith, _List_Nil, 'Path', _List_Nil)
|
|
14938
|
-
]),
|
|
14939
|
-
A3($author$project$Elm$Annotation$namedWith, _List_Nil, 'Path', _List_Nil))),
|
|
14940
|
-
importFrom: _List_fromArray(
|
|
14941
|
-
['Path']),
|
|
14942
|
-
name: 'join'
|
|
14943
|
-
}),
|
|
14944
|
-
_List_fromArray(
|
|
14945
|
-
[joinArg]));
|
|
14946
|
-
},
|
|
14947
|
-
toAbsolute: function (toAbsoluteArg) {
|
|
14948
|
-
return A2(
|
|
14949
|
-
$author$project$Elm$apply,
|
|
14950
|
-
$author$project$Elm$value(
|
|
14951
|
-
{
|
|
14952
|
-
annotation: $elm$core$Maybe$Just(
|
|
14953
|
-
A2(
|
|
14954
|
-
$author$project$Elm$Annotation$function,
|
|
14955
|
-
_List_fromArray(
|
|
14956
|
-
[
|
|
14957
|
-
A3($author$project$Elm$Annotation$namedWith, _List_Nil, 'Path', _List_Nil)
|
|
14958
|
-
]),
|
|
14959
|
-
$author$project$Elm$Annotation$string)),
|
|
14960
|
-
importFrom: _List_fromArray(
|
|
14961
|
-
['Path']),
|
|
14962
|
-
name: 'toAbsolute'
|
|
14963
|
-
}),
|
|
14964
|
-
_List_fromArray(
|
|
14965
|
-
[toAbsoluteArg]));
|
|
14966
|
-
},
|
|
14967
|
-
toRelative: function (toRelativeArg) {
|
|
14968
|
-
return A2(
|
|
14969
|
-
$author$project$Elm$apply,
|
|
14970
|
-
$author$project$Elm$value(
|
|
14971
|
-
{
|
|
14972
|
-
annotation: $elm$core$Maybe$Just(
|
|
14973
|
-
A2(
|
|
14974
|
-
$author$project$Elm$Annotation$function,
|
|
14975
|
-
_List_fromArray(
|
|
14976
|
-
[
|
|
14977
|
-
A3($author$project$Elm$Annotation$namedWith, _List_Nil, 'Path', _List_Nil)
|
|
14978
|
-
]),
|
|
14979
|
-
$author$project$Elm$Annotation$string)),
|
|
14980
|
-
importFrom: _List_fromArray(
|
|
14981
|
-
['Path']),
|
|
14982
|
-
name: 'toRelative'
|
|
14983
|
-
}),
|
|
14984
|
-
_List_fromArray(
|
|
14985
|
-
[toRelativeArg]));
|
|
14986
|
-
},
|
|
14987
|
-
toSegments: function (toSegmentsArg) {
|
|
14988
|
-
return A2(
|
|
14989
|
-
$author$project$Elm$apply,
|
|
14990
|
-
$author$project$Elm$value(
|
|
14991
|
-
{
|
|
14992
|
-
annotation: $elm$core$Maybe$Just(
|
|
14993
|
-
A2(
|
|
14994
|
-
$author$project$Elm$Annotation$function,
|
|
14995
|
-
_List_fromArray(
|
|
14996
|
-
[$author$project$Elm$Annotation$string]),
|
|
14997
|
-
$author$project$Elm$Annotation$list($author$project$Elm$Annotation$string))),
|
|
14998
|
-
importFrom: _List_fromArray(
|
|
14999
|
-
['Path']),
|
|
15000
|
-
name: 'toSegments'
|
|
15001
|
-
}),
|
|
15002
|
-
_List_fromArray(
|
|
15003
|
-
[toSegmentsArg]));
|
|
15004
|
-
}
|
|
15005
|
-
};
|
|
15006
14908
|
var $author$project$Gen$Server$Response$call_ = {
|
|
15007
14909
|
base64Body: function (base64BodyArg) {
|
|
15008
14910
|
return A2(
|
|
@@ -16404,6 +16306,104 @@ var $author$project$Gen$String$call_ = {
|
|
|
16404
16306
|
[wordsArg]));
|
|
16405
16307
|
}
|
|
16406
16308
|
};
|
|
16309
|
+
var $author$project$Gen$UrlPath$call_ = {
|
|
16310
|
+
fromString: function (fromStringArg) {
|
|
16311
|
+
return A2(
|
|
16312
|
+
$author$project$Elm$apply,
|
|
16313
|
+
$author$project$Elm$value(
|
|
16314
|
+
{
|
|
16315
|
+
annotation: $elm$core$Maybe$Just(
|
|
16316
|
+
A2(
|
|
16317
|
+
$author$project$Elm$Annotation$function,
|
|
16318
|
+
_List_fromArray(
|
|
16319
|
+
[$author$project$Elm$Annotation$string]),
|
|
16320
|
+
A3($author$project$Elm$Annotation$namedWith, _List_Nil, 'UrlPath', _List_Nil))),
|
|
16321
|
+
importFrom: _List_fromArray(
|
|
16322
|
+
['UrlPath']),
|
|
16323
|
+
name: 'fromString'
|
|
16324
|
+
}),
|
|
16325
|
+
_List_fromArray(
|
|
16326
|
+
[fromStringArg]));
|
|
16327
|
+
},
|
|
16328
|
+
join: function (joinArg) {
|
|
16329
|
+
return A2(
|
|
16330
|
+
$author$project$Elm$apply,
|
|
16331
|
+
$author$project$Elm$value(
|
|
16332
|
+
{
|
|
16333
|
+
annotation: $elm$core$Maybe$Just(
|
|
16334
|
+
A2(
|
|
16335
|
+
$author$project$Elm$Annotation$function,
|
|
16336
|
+
_List_fromArray(
|
|
16337
|
+
[
|
|
16338
|
+
A3($author$project$Elm$Annotation$namedWith, _List_Nil, 'UrlPath', _List_Nil)
|
|
16339
|
+
]),
|
|
16340
|
+
A3($author$project$Elm$Annotation$namedWith, _List_Nil, 'UrlPath', _List_Nil))),
|
|
16341
|
+
importFrom: _List_fromArray(
|
|
16342
|
+
['UrlPath']),
|
|
16343
|
+
name: 'join'
|
|
16344
|
+
}),
|
|
16345
|
+
_List_fromArray(
|
|
16346
|
+
[joinArg]));
|
|
16347
|
+
},
|
|
16348
|
+
toAbsolute: function (toAbsoluteArg) {
|
|
16349
|
+
return A2(
|
|
16350
|
+
$author$project$Elm$apply,
|
|
16351
|
+
$author$project$Elm$value(
|
|
16352
|
+
{
|
|
16353
|
+
annotation: $elm$core$Maybe$Just(
|
|
16354
|
+
A2(
|
|
16355
|
+
$author$project$Elm$Annotation$function,
|
|
16356
|
+
_List_fromArray(
|
|
16357
|
+
[
|
|
16358
|
+
A3($author$project$Elm$Annotation$namedWith, _List_Nil, 'UrlPath', _List_Nil)
|
|
16359
|
+
]),
|
|
16360
|
+
$author$project$Elm$Annotation$string)),
|
|
16361
|
+
importFrom: _List_fromArray(
|
|
16362
|
+
['UrlPath']),
|
|
16363
|
+
name: 'toAbsolute'
|
|
16364
|
+
}),
|
|
16365
|
+
_List_fromArray(
|
|
16366
|
+
[toAbsoluteArg]));
|
|
16367
|
+
},
|
|
16368
|
+
toRelative: function (toRelativeArg) {
|
|
16369
|
+
return A2(
|
|
16370
|
+
$author$project$Elm$apply,
|
|
16371
|
+
$author$project$Elm$value(
|
|
16372
|
+
{
|
|
16373
|
+
annotation: $elm$core$Maybe$Just(
|
|
16374
|
+
A2(
|
|
16375
|
+
$author$project$Elm$Annotation$function,
|
|
16376
|
+
_List_fromArray(
|
|
16377
|
+
[
|
|
16378
|
+
A3($author$project$Elm$Annotation$namedWith, _List_Nil, 'UrlPath', _List_Nil)
|
|
16379
|
+
]),
|
|
16380
|
+
$author$project$Elm$Annotation$string)),
|
|
16381
|
+
importFrom: _List_fromArray(
|
|
16382
|
+
['UrlPath']),
|
|
16383
|
+
name: 'toRelative'
|
|
16384
|
+
}),
|
|
16385
|
+
_List_fromArray(
|
|
16386
|
+
[toRelativeArg]));
|
|
16387
|
+
},
|
|
16388
|
+
toSegments: function (toSegmentsArg) {
|
|
16389
|
+
return A2(
|
|
16390
|
+
$author$project$Elm$apply,
|
|
16391
|
+
$author$project$Elm$value(
|
|
16392
|
+
{
|
|
16393
|
+
annotation: $elm$core$Maybe$Just(
|
|
16394
|
+
A2(
|
|
16395
|
+
$author$project$Elm$Annotation$function,
|
|
16396
|
+
_List_fromArray(
|
|
16397
|
+
[$author$project$Elm$Annotation$string]),
|
|
16398
|
+
$author$project$Elm$Annotation$list($author$project$Elm$Annotation$string))),
|
|
16399
|
+
importFrom: _List_fromArray(
|
|
16400
|
+
['UrlPath']),
|
|
16401
|
+
name: 'toSegments'
|
|
16402
|
+
}),
|
|
16403
|
+
_List_fromArray(
|
|
16404
|
+
[toSegmentsArg]));
|
|
16405
|
+
}
|
|
16406
|
+
};
|
|
16407
16407
|
var $stil4m$elm_syntax$Elm$Syntax$Declaration$CustomTypeDeclaration = function (a) {
|
|
16408
16408
|
return {$: 'CustomTypeDeclaration', a: a};
|
|
16409
16409
|
};
|
|
@@ -24725,13 +24725,13 @@ var $author$project$Elm$Annotation$alias = F4(
|
|
|
24725
24725
|
}()
|
|
24726
24726
|
});
|
|
24727
24727
|
});
|
|
24728
|
-
var $author$project$Gen$
|
|
24729
|
-
['
|
|
24730
|
-
var $author$project$Gen$
|
|
24731
|
-
|
|
24728
|
+
var $author$project$Gen$UrlPath$moduleName_ = _List_fromArray(
|
|
24729
|
+
['UrlPath']);
|
|
24730
|
+
var $author$project$Gen$UrlPath$annotation_ = {
|
|
24731
|
+
urlPath: A4(
|
|
24732
24732
|
$author$project$Elm$Annotation$alias,
|
|
24733
|
-
$author$project$Gen$
|
|
24734
|
-
'
|
|
24733
|
+
$author$project$Gen$UrlPath$moduleName_,
|
|
24734
|
+
'UrlPath',
|
|
24735
24735
|
_List_Nil,
|
|
24736
24736
|
$author$project$Elm$Annotation$list($author$project$Elm$Annotation$string))
|
|
24737
24737
|
};
|
|
@@ -24756,7 +24756,7 @@ var $author$project$Generate$splitPath = A3(
|
|
|
24756
24756
|
'splitPath',
|
|
24757
24757
|
_Utils_Tuple2(
|
|
24758
24758
|
'path',
|
|
24759
|
-
$elm$core$Maybe$Just($author$project$Gen$
|
|
24759
|
+
$elm$core$Maybe$Just($author$project$Gen$UrlPath$annotation_.urlPath)),
|
|
24760
24760
|
function (path) {
|
|
24761
24761
|
return A2(
|
|
24762
24762
|
$author$project$Gen$List$call_.filter,
|
|
@@ -24776,7 +24776,7 @@ var $author$project$Generate$splitPath = A3(
|
|
|
24776
24776
|
$author$project$Elm$string('/'),
|
|
24777
24777
|
path));
|
|
24778
24778
|
});
|
|
24779
|
-
var $author$project$Gen$
|
|
24779
|
+
var $author$project$Gen$UrlPath$toAbsolute = function (toAbsoluteArg) {
|
|
24780
24780
|
return A2(
|
|
24781
24781
|
$author$project$Elm$apply,
|
|
24782
24782
|
$author$project$Elm$value(
|
|
@@ -24786,11 +24786,11 @@ var $author$project$Gen$Path$toAbsolute = function (toAbsoluteArg) {
|
|
|
24786
24786
|
$author$project$Elm$Annotation$function,
|
|
24787
24787
|
_List_fromArray(
|
|
24788
24788
|
[
|
|
24789
|
-
A3($author$project$Elm$Annotation$namedWith, _List_Nil, '
|
|
24789
|
+
A3($author$project$Elm$Annotation$namedWith, _List_Nil, 'UrlPath', _List_Nil)
|
|
24790
24790
|
]),
|
|
24791
24791
|
$author$project$Elm$Annotation$string)),
|
|
24792
24792
|
importFrom: _List_fromArray(
|
|
24793
|
-
['
|
|
24793
|
+
['UrlPath']),
|
|
24794
24794
|
name: 'toAbsolute'
|
|
24795
24795
|
}),
|
|
24796
24796
|
_List_fromArray(
|
|
@@ -25140,9 +25140,9 @@ var $author$project$Generate$file = F2(
|
|
|
25140
25140
|
A2(
|
|
25141
25141
|
$author$project$Elm$Annotation$named,
|
|
25142
25142
|
_List_fromArray(
|
|
25143
|
-
['
|
|
25144
|
-
'
|
|
25145
|
-
$author$project$Gen$
|
|
25143
|
+
['UrlPath']),
|
|
25144
|
+
'UrlPath'),
|
|
25145
|
+
$author$project$Gen$UrlPath$call_.fromString(
|
|
25146
25146
|
A2(
|
|
25147
25147
|
$author$project$Gen$String$call_.join,
|
|
25148
25148
|
$author$project$Elm$string('/'),
|
|
@@ -25162,7 +25162,7 @@ var $author$project$Generate$file = F2(
|
|
|
25162
25162
|
return A2(
|
|
25163
25163
|
$author$project$Elm$withType,
|
|
25164
25164
|
$author$project$Elm$Annotation$string,
|
|
25165
|
-
$author$project$Gen$
|
|
25165
|
+
$author$project$Gen$UrlPath$toAbsolute(
|
|
25166
25166
|
toPath.call(route)));
|
|
25167
25167
|
});
|
|
25168
25168
|
var redirectTo = A2(
|
|
@@ -25868,6 +25868,52 @@ var $author$project$Gen$Json$Encode$annotation_ = {
|
|
|
25868
25868
|
'Value',
|
|
25869
25869
|
_List_Nil)
|
|
25870
25870
|
};
|
|
25871
|
+
var $author$project$Gen$Pages$ConcurrentSubmission$moduleName_ = _List_fromArray(
|
|
25872
|
+
['Pages', 'ConcurrentSubmission']);
|
|
25873
|
+
var $author$project$Gen$Pages$ConcurrentSubmission$annotation_ = {
|
|
25874
|
+
concurrentSubmission: function (concurrentSubmissionArg0) {
|
|
25875
|
+
return A4(
|
|
25876
|
+
$author$project$Elm$Annotation$alias,
|
|
25877
|
+
$author$project$Gen$Pages$ConcurrentSubmission$moduleName_,
|
|
25878
|
+
'ConcurrentSubmission',
|
|
25879
|
+
_List_fromArray(
|
|
25880
|
+
[concurrentSubmissionArg0]),
|
|
25881
|
+
$author$project$Elm$Annotation$record(
|
|
25882
|
+
_List_fromArray(
|
|
25883
|
+
[
|
|
25884
|
+
_Utils_Tuple2(
|
|
25885
|
+
'status',
|
|
25886
|
+
A3(
|
|
25887
|
+
$author$project$Elm$Annotation$namedWith,
|
|
25888
|
+
_List_Nil,
|
|
25889
|
+
'Status',
|
|
25890
|
+
_List_fromArray(
|
|
25891
|
+
[
|
|
25892
|
+
$author$project$Elm$Annotation$var('actionData')
|
|
25893
|
+
]))),
|
|
25894
|
+
_Utils_Tuple2(
|
|
25895
|
+
'payload',
|
|
25896
|
+
A3($author$project$Elm$Annotation$namedWith, _List_Nil, 'FormData', _List_Nil)),
|
|
25897
|
+
_Utils_Tuple2(
|
|
25898
|
+
'initiatedAt',
|
|
25899
|
+
A3(
|
|
25900
|
+
$author$project$Elm$Annotation$namedWith,
|
|
25901
|
+
_List_fromArray(
|
|
25902
|
+
['Time']),
|
|
25903
|
+
'Posix',
|
|
25904
|
+
_List_Nil))
|
|
25905
|
+
])));
|
|
25906
|
+
},
|
|
25907
|
+
status: function (statusArg0) {
|
|
25908
|
+
return A3(
|
|
25909
|
+
$author$project$Elm$Annotation$namedWith,
|
|
25910
|
+
_List_fromArray(
|
|
25911
|
+
['Pages', 'ConcurrentSubmission']),
|
|
25912
|
+
'Status',
|
|
25913
|
+
_List_fromArray(
|
|
25914
|
+
[statusArg0]));
|
|
25915
|
+
}
|
|
25916
|
+
};
|
|
25871
25917
|
var $author$project$Gen$Pages$Internal$NotFoundReason$moduleName_ = _List_fromArray(
|
|
25872
25918
|
['Pages', 'Internal', 'NotFoundReason']);
|
|
25873
25919
|
var $author$project$Gen$Pages$Internal$NotFoundReason$annotation_ = {
|
|
@@ -25905,7 +25951,7 @@ var $author$project$Gen$Pages$Internal$NotFoundReason$annotation_ = {
|
|
|
25905
25951
|
[
|
|
25906
25952
|
_Utils_Tuple2(
|
|
25907
25953
|
'path',
|
|
25908
|
-
A3($author$project$Elm$Annotation$namedWith, _List_Nil, '
|
|
25954
|
+
A3($author$project$Elm$Annotation$namedWith, _List_Nil, 'UrlPath', _List_Nil)),
|
|
25909
25955
|
_Utils_Tuple2(
|
|
25910
25956
|
'reason',
|
|
25911
25957
|
A3($author$project$Elm$Annotation$namedWith, _List_Nil, 'NotFoundReason', _List_Nil))
|
|
@@ -26048,7 +26094,7 @@ var $author$project$Gen$Pages$Internal$Platform$annotation_ = {
|
|
|
26048
26094
|
A3($author$project$Elm$Annotation$namedWith, _List_Nil, 'NotFoundReason', _List_Nil)),
|
|
26049
26095
|
_Utils_Tuple2(
|
|
26050
26096
|
'path',
|
|
26051
|
-
A3($author$project$Elm$Annotation$namedWith, _List_Nil, '
|
|
26097
|
+
A3($author$project$Elm$Annotation$namedWith, _List_Nil, 'UrlPath', _List_Nil))
|
|
26052
26098
|
]))
|
|
26053
26099
|
]))),
|
|
26054
26100
|
_Utils_Tuple2(
|
|
@@ -26073,8 +26119,8 @@ var $author$project$Gen$Pages$Internal$Platform$annotation_ = {
|
|
|
26073
26119
|
A3(
|
|
26074
26120
|
$author$project$Elm$Annotation$namedWith,
|
|
26075
26121
|
_List_fromArray(
|
|
26076
|
-
['Pages', '
|
|
26077
|
-
'
|
|
26122
|
+
['Pages', 'Navigation']),
|
|
26123
|
+
'Navigation',
|
|
26078
26124
|
_List_Nil))
|
|
26079
26125
|
]))),
|
|
26080
26126
|
_Utils_Tuple2('nextTransitionKey', $author$project$Elm$Annotation$int),
|
|
@@ -26093,8 +26139,8 @@ var $author$project$Gen$Pages$Internal$Platform$annotation_ = {
|
|
|
26093
26139
|
A3(
|
|
26094
26140
|
$author$project$Elm$Annotation$namedWith,
|
|
26095
26141
|
_List_fromArray(
|
|
26096
|
-
['Pages', '
|
|
26097
|
-
'
|
|
26142
|
+
['Pages', 'ConcurrentSubmission']),
|
|
26143
|
+
'ConcurrentSubmission',
|
|
26098
26144
|
_List_fromArray(
|
|
26099
26145
|
[
|
|
26100
26146
|
$author$project$Elm$Annotation$var('actionData')
|
|
@@ -26280,94 +26326,6 @@ var $author$project$Gen$Pages$Internal$Platform$Cli$annotation_ = {
|
|
|
26280
26326
|
])));
|
|
26281
26327
|
}
|
|
26282
26328
|
};
|
|
26283
|
-
var $author$project$Gen$Pages$Transition$moduleName_ = _List_fromArray(
|
|
26284
|
-
['Pages', 'Transition']);
|
|
26285
|
-
var $author$project$Gen$Pages$Transition$annotation_ = {
|
|
26286
|
-
fetcherState: function (fetcherStateArg0) {
|
|
26287
|
-
return A4(
|
|
26288
|
-
$author$project$Elm$Annotation$alias,
|
|
26289
|
-
$author$project$Gen$Pages$Transition$moduleName_,
|
|
26290
|
-
'FetcherState',
|
|
26291
|
-
_List_fromArray(
|
|
26292
|
-
[fetcherStateArg0]),
|
|
26293
|
-
$author$project$Elm$Annotation$record(
|
|
26294
|
-
_List_fromArray(
|
|
26295
|
-
[
|
|
26296
|
-
_Utils_Tuple2(
|
|
26297
|
-
'status',
|
|
26298
|
-
A3(
|
|
26299
|
-
$author$project$Elm$Annotation$namedWith,
|
|
26300
|
-
_List_Nil,
|
|
26301
|
-
'FetcherSubmitStatus',
|
|
26302
|
-
_List_fromArray(
|
|
26303
|
-
[
|
|
26304
|
-
$author$project$Elm$Annotation$var('actionData')
|
|
26305
|
-
]))),
|
|
26306
|
-
_Utils_Tuple2(
|
|
26307
|
-
'payload',
|
|
26308
|
-
A3($author$project$Elm$Annotation$namedWith, _List_Nil, 'FormData', _List_Nil)),
|
|
26309
|
-
_Utils_Tuple2(
|
|
26310
|
-
'initiatedAt',
|
|
26311
|
-
A3(
|
|
26312
|
-
$author$project$Elm$Annotation$namedWith,
|
|
26313
|
-
_List_fromArray(
|
|
26314
|
-
['Time']),
|
|
26315
|
-
'Posix',
|
|
26316
|
-
_List_Nil))
|
|
26317
|
-
])));
|
|
26318
|
-
},
|
|
26319
|
-
fetcherSubmitStatus: function (fetcherSubmitStatusArg0) {
|
|
26320
|
-
return A3(
|
|
26321
|
-
$author$project$Elm$Annotation$namedWith,
|
|
26322
|
-
_List_fromArray(
|
|
26323
|
-
['Pages', 'Transition']),
|
|
26324
|
-
'FetcherSubmitStatus',
|
|
26325
|
-
_List_fromArray(
|
|
26326
|
-
[fetcherSubmitStatusArg0]));
|
|
26327
|
-
},
|
|
26328
|
-
formData: A4(
|
|
26329
|
-
$author$project$Elm$Annotation$alias,
|
|
26330
|
-
$author$project$Gen$Pages$Transition$moduleName_,
|
|
26331
|
-
'FormData',
|
|
26332
|
-
_List_Nil,
|
|
26333
|
-
$author$project$Elm$Annotation$record(
|
|
26334
|
-
_List_fromArray(
|
|
26335
|
-
[
|
|
26336
|
-
_Utils_Tuple2(
|
|
26337
|
-
'fields',
|
|
26338
|
-
$author$project$Elm$Annotation$list(
|
|
26339
|
-
A2($author$project$Elm$Annotation$tuple, $author$project$Elm$Annotation$string, $author$project$Elm$Annotation$string))),
|
|
26340
|
-
_Utils_Tuple2(
|
|
26341
|
-
'method',
|
|
26342
|
-
A3(
|
|
26343
|
-
$author$project$Elm$Annotation$namedWith,
|
|
26344
|
-
_List_fromArray(
|
|
26345
|
-
['Form']),
|
|
26346
|
-
'Method',
|
|
26347
|
-
_List_Nil)),
|
|
26348
|
-
_Utils_Tuple2('action', $author$project$Elm$Annotation$string),
|
|
26349
|
-
_Utils_Tuple2(
|
|
26350
|
-
'id',
|
|
26351
|
-
A3(
|
|
26352
|
-
$author$project$Elm$Annotation$namedWith,
|
|
26353
|
-
_List_Nil,
|
|
26354
|
-
'Maybe',
|
|
26355
|
-
_List_fromArray(
|
|
26356
|
-
[$author$project$Elm$Annotation$string])))
|
|
26357
|
-
]))),
|
|
26358
|
-
loadingState: A3(
|
|
26359
|
-
$author$project$Elm$Annotation$namedWith,
|
|
26360
|
-
_List_fromArray(
|
|
26361
|
-
['Pages', 'Transition']),
|
|
26362
|
-
'LoadingState',
|
|
26363
|
-
_List_Nil),
|
|
26364
|
-
transition: A3(
|
|
26365
|
-
$author$project$Elm$Annotation$namedWith,
|
|
26366
|
-
_List_fromArray(
|
|
26367
|
-
['Pages', 'Transition']),
|
|
26368
|
-
'Transition',
|
|
26369
|
-
_List_Nil)
|
|
26370
|
-
};
|
|
26371
26329
|
var $author$project$Gen$PagesMsg$moduleName_ = _List_fromArray(
|
|
26372
26330
|
['PagesMsg']);
|
|
26373
26331
|
var $author$project$Gen$PagesMsg$annotation_ = {
|
|
@@ -31218,7 +31176,7 @@ var $author$project$Gen$Maybe$map = F2(
|
|
|
31218
31176
|
mapArg0
|
|
31219
31177
|
]));
|
|
31220
31178
|
});
|
|
31221
|
-
var $author$project$Gen$Pages$
|
|
31179
|
+
var $author$project$Gen$Pages$ConcurrentSubmission$map = F2(
|
|
31222
31180
|
function (mapArg, mapArg0) {
|
|
31223
31181
|
return A2(
|
|
31224
31182
|
$author$project$Elm$apply,
|
|
@@ -31239,7 +31197,7 @@ var $author$project$Gen$Pages$Transition$map = F2(
|
|
|
31239
31197
|
A3(
|
|
31240
31198
|
$author$project$Elm$Annotation$namedWith,
|
|
31241
31199
|
_List_Nil,
|
|
31242
|
-
'
|
|
31200
|
+
'ConcurrentSubmission',
|
|
31243
31201
|
_List_fromArray(
|
|
31244
31202
|
[
|
|
31245
31203
|
$author$project$Elm$Annotation$var('a')
|
|
@@ -31248,13 +31206,13 @@ var $author$project$Gen$Pages$Transition$map = F2(
|
|
|
31248
31206
|
A3(
|
|
31249
31207
|
$author$project$Elm$Annotation$namedWith,
|
|
31250
31208
|
_List_Nil,
|
|
31251
|
-
'
|
|
31209
|
+
'ConcurrentSubmission',
|
|
31252
31210
|
_List_fromArray(
|
|
31253
31211
|
[
|
|
31254
31212
|
$author$project$Elm$Annotation$var('b')
|
|
31255
31213
|
])))),
|
|
31256
31214
|
importFrom: _List_fromArray(
|
|
31257
|
-
['Pages', '
|
|
31215
|
+
['Pages', 'ConcurrentSubmission']),
|
|
31258
31216
|
name: 'map'
|
|
31259
31217
|
}),
|
|
31260
31218
|
_List_fromArray(
|
|
@@ -31524,8 +31482,8 @@ var $author$project$Gen$Tuple$pair = F2(
|
|
|
31524
31482
|
var $author$project$GenerateMain$pathType = A2(
|
|
31525
31483
|
$author$project$Elm$Annotation$named,
|
|
31526
31484
|
_List_fromArray(
|
|
31527
|
-
['
|
|
31528
|
-
'
|
|
31485
|
+
['UrlPath']),
|
|
31486
|
+
'UrlPath');
|
|
31529
31487
|
var $author$project$Gen$Server$Response$plainText = function (plainTextArg) {
|
|
31530
31488
|
return A2(
|
|
31531
31489
|
$author$project$Elm$apply,
|
|
@@ -35459,22 +35417,22 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
35459
35417
|
['Form']),
|
|
35460
35418
|
'Model'))),
|
|
35461
35419
|
_Utils_Tuple2(
|
|
35462
|
-
'
|
|
35420
|
+
'concurrentSubmissions',
|
|
35463
35421
|
$elm$core$Maybe$Just(
|
|
35464
35422
|
A2(
|
|
35465
35423
|
$author$project$Gen$Dict$annotation_.dict,
|
|
35466
35424
|
$author$project$Elm$Annotation$string,
|
|
35467
|
-
$author$project$Gen$Pages$
|
|
35425
|
+
$author$project$Gen$Pages$ConcurrentSubmission$annotation_.concurrentSubmission(
|
|
35468
35426
|
A2($author$project$Elm$Annotation$named, _List_Nil, 'ActionData'))))),
|
|
35469
35427
|
_Utils_Tuple2(
|
|
35470
|
-
'
|
|
35428
|
+
'navigation',
|
|
35471
35429
|
$elm$core$Maybe$Just(
|
|
35472
35430
|
$author$project$Elm$Annotation$maybe(
|
|
35473
35431
|
A2(
|
|
35474
35432
|
$author$project$Elm$Annotation$named,
|
|
35475
35433
|
_List_fromArray(
|
|
35476
|
-
['Pages', '
|
|
35477
|
-
'
|
|
35434
|
+
['Pages', 'Navigation']),
|
|
35435
|
+
'Navigation')))),
|
|
35478
35436
|
_Utils_Tuple2(
|
|
35479
35437
|
'page',
|
|
35480
35438
|
$elm$core$Maybe$Just(
|
|
@@ -35486,8 +35444,8 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
35486
35444
|
A2(
|
|
35487
35445
|
$author$project$Elm$Annotation$named,
|
|
35488
35446
|
_List_fromArray(
|
|
35489
|
-
['
|
|
35490
|
-
'
|
|
35447
|
+
['UrlPath']),
|
|
35448
|
+
'UrlPath')),
|
|
35491
35449
|
_Utils_Tuple2(
|
|
35492
35450
|
'route',
|
|
35493
35451
|
$author$project$Elm$Annotation$maybe(
|
|
@@ -35528,9 +35486,9 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
35528
35486
|
if ((((((((args.b && args.b.b) && args.b.b.b) && args.b.b.b.b) && args.b.b.b.b.b) && args.b.b.b.b.b.b) && args.b.b.b.b.b.b.b) && args.b.b.b.b.b.b.b.b) && (!args.b.b.b.b.b.b.b.b.b)) {
|
|
35529
35487
|
var pageFormState = args.a;
|
|
35530
35488
|
var _v42 = args.b;
|
|
35531
|
-
var
|
|
35489
|
+
var concurrentSubmissions = _v42.a;
|
|
35532
35490
|
var _v43 = _v42.b;
|
|
35533
|
-
var
|
|
35491
|
+
var navigation = _v43.a;
|
|
35534
35492
|
var _v44 = _v43.b;
|
|
35535
35493
|
var page = _v44.a;
|
|
35536
35494
|
var _v45 = _v44.b;
|
|
@@ -35818,21 +35776,21 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
35818
35776
|
'fetcherArg',
|
|
35819
35777
|
$author$project$Gen$Pages$Fetcher$call_.submit(
|
|
35820
35778
|
A2($author$project$GenerateMain$decodeRouteType, $author$project$GenerateMain$ActionData, route)))),
|
|
35821
|
-
_Utils_Tuple2('
|
|
35779
|
+
_Utils_Tuple2('navigation', navigation),
|
|
35822
35780
|
_Utils_Tuple2(
|
|
35823
|
-
'
|
|
35781
|
+
'concurrentSubmissions',
|
|
35824
35782
|
A2(
|
|
35825
35783
|
$author$project$Gen$Dict$map,
|
|
35826
35784
|
F2(
|
|
35827
35785
|
function (_v52, fetcherState) {
|
|
35828
35786
|
return A2(
|
|
35829
|
-
$author$project$Gen$Pages$
|
|
35787
|
+
$author$project$Gen$Pages$ConcurrentSubmission$map,
|
|
35830
35788
|
function (ad) {
|
|
35831
35789
|
return actionDataOrNothing(ad);
|
|
35832
35790
|
},
|
|
35833
35791
|
fetcherState);
|
|
35834
35792
|
}),
|
|
35835
|
-
|
|
35793
|
+
concurrentSubmissions)),
|
|
35836
35794
|
_Utils_Tuple2('pageFormState', pageFormState)
|
|
35837
35795
|
]))
|
|
35838
35796
|
]))
|
|
@@ -35882,8 +35840,8 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
35882
35840
|
'value',
|
|
35883
35841
|
$author$project$Gen$Pages$Fetcher$call_.submit(
|
|
35884
35842
|
A2($author$project$GenerateMain$decodeRouteType, $author$project$GenerateMain$ActionData, route)))),
|
|
35885
|
-
_Utils_Tuple2('
|
|
35886
|
-
_Utils_Tuple2('
|
|
35843
|
+
_Utils_Tuple2('navigation', $author$project$Elm$nothing),
|
|
35844
|
+
_Utils_Tuple2('concurrentSubmissions', $author$project$Gen$Dict$empty),
|
|
35887
35845
|
_Utils_Tuple2('pageFormState', $author$project$Gen$Dict$empty)
|
|
35888
35846
|
]))
|
|
35889
35847
|
]));
|
|
@@ -36117,13 +36075,7 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
36117
36075
|
$author$project$Elm$Annotation$record(
|
|
36118
36076
|
_List_fromArray(
|
|
36119
36077
|
[
|
|
36120
|
-
_Utils_Tuple2(
|
|
36121
|
-
'path',
|
|
36122
|
-
A2(
|
|
36123
|
-
$author$project$Elm$Annotation$named,
|
|
36124
|
-
_List_fromArray(
|
|
36125
|
-
['Path']),
|
|
36126
|
-
'Path')),
|
|
36078
|
+
_Utils_Tuple2('path', $author$project$GenerateMain$pathType),
|
|
36127
36079
|
_Utils_Tuple2(
|
|
36128
36080
|
'query',
|
|
36129
36081
|
$author$project$Elm$Annotation$maybe($author$project$Elm$Annotation$string)),
|
|
@@ -36339,8 +36291,8 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
36339
36291
|
[
|
|
36340
36292
|
A2($author$project$GenerateMain$decodeRouteType, $author$project$GenerateMain$ActionData, route)
|
|
36341
36293
|
]))),
|
|
36342
|
-
_Utils_Tuple2('
|
|
36343
|
-
_Utils_Tuple2('
|
|
36294
|
+
_Utils_Tuple2('navigation', $author$project$Elm$nothing),
|
|
36295
|
+
_Utils_Tuple2('concurrentSubmissions', $author$project$Gen$Dict$empty),
|
|
36344
36296
|
_Utils_Tuple2('pageFormState', $author$project$Gen$Dict$empty)
|
|
36345
36297
|
]))
|
|
36346
36298
|
])));
|
|
@@ -36700,22 +36652,22 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
36700
36652
|
['Form']),
|
|
36701
36653
|
'Model'))),
|
|
36702
36654
|
_Utils_Tuple2(
|
|
36703
|
-
'
|
|
36655
|
+
'concurrentSubmissions',
|
|
36704
36656
|
$elm$core$Maybe$Just(
|
|
36705
36657
|
A2(
|
|
36706
36658
|
$author$project$Gen$Dict$annotation_.dict,
|
|
36707
36659
|
$author$project$Elm$Annotation$string,
|
|
36708
|
-
$author$project$Gen$Pages$
|
|
36660
|
+
$author$project$Gen$Pages$ConcurrentSubmission$annotation_.concurrentSubmission(
|
|
36709
36661
|
A2($author$project$Elm$Annotation$named, _List_Nil, 'ActionData'))))),
|
|
36710
36662
|
_Utils_Tuple2(
|
|
36711
|
-
'
|
|
36663
|
+
'navigation',
|
|
36712
36664
|
$elm$core$Maybe$Just(
|
|
36713
36665
|
$author$project$Elm$Annotation$maybe(
|
|
36714
36666
|
A2(
|
|
36715
36667
|
$author$project$Elm$Annotation$named,
|
|
36716
36668
|
_List_fromArray(
|
|
36717
|
-
['Pages', '
|
|
36718
|
-
'
|
|
36669
|
+
['Pages', 'Navigation']),
|
|
36670
|
+
'Navigation')))),
|
|
36719
36671
|
_Utils_Tuple2(
|
|
36720
36672
|
'sharedData',
|
|
36721
36673
|
$elm$core$Maybe$Just(
|
|
@@ -36750,9 +36702,9 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
36750
36702
|
if ((((((((args.b && args.b.b) && args.b.b.b) && args.b.b.b.b) && args.b.b.b.b.b) && args.b.b.b.b.b.b) && args.b.b.b.b.b.b.b) && args.b.b.b.b.b.b.b.b) && (!args.b.b.b.b.b.b.b.b.b)) {
|
|
36751
36703
|
var pageFormState = args.a;
|
|
36752
36704
|
var _v15 = args.b;
|
|
36753
|
-
var
|
|
36705
|
+
var concurrentSubmissions = _v15.a;
|
|
36754
36706
|
var _v16 = _v15.b;
|
|
36755
|
-
var
|
|
36707
|
+
var navigation = _v16.a;
|
|
36756
36708
|
var _v17 = _v16.b;
|
|
36757
36709
|
var sharedData = _v17.a;
|
|
36758
36710
|
var _v18 = _v17.b;
|
|
@@ -37201,15 +37153,15 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
37201
37153
|
_Utils_Tuple2('options', $elm$core$Maybe$Nothing),
|
|
37202
37154
|
$author$project$Gen$Pages$Fetcher$call_.submit(
|
|
37203
37155
|
A2($author$project$GenerateMain$decodeRouteType, $author$project$GenerateMain$ActionData, route)))),
|
|
37204
|
-
_Utils_Tuple2('
|
|
37156
|
+
_Utils_Tuple2('navigation', navigation),
|
|
37205
37157
|
_Utils_Tuple2(
|
|
37206
|
-
'
|
|
37158
|
+
'concurrentSubmissions',
|
|
37207
37159
|
A2(
|
|
37208
37160
|
$author$project$Gen$Dict$map,
|
|
37209
37161
|
F2(
|
|
37210
37162
|
function (_v33, fetcherState) {
|
|
37211
37163
|
return A2(
|
|
37212
|
-
$author$project$Gen$Pages$
|
|
37164
|
+
$author$project$Gen$Pages$ConcurrentSubmission$map,
|
|
37213
37165
|
function (ad) {
|
|
37214
37166
|
return A3(
|
|
37215
37167
|
$author$project$Elm$Case$custom,
|
|
@@ -37230,7 +37182,7 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
37230
37182
|
},
|
|
37231
37183
|
fetcherState);
|
|
37232
37184
|
}),
|
|
37233
|
-
|
|
37185
|
+
concurrentSubmissions)),
|
|
37234
37186
|
_Utils_Tuple2('pageFormState', pageFormState)
|
|
37235
37187
|
])),
|
|
37236
37188
|
msg_,
|
|
@@ -37809,12 +37761,7 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
37809
37761
|
'Route')))),
|
|
37810
37762
|
_Utils_Tuple2(
|
|
37811
37763
|
'path',
|
|
37812
|
-
$elm$core$Maybe$Just(
|
|
37813
|
-
A2(
|
|
37814
|
-
$author$project$Elm$Annotation$named,
|
|
37815
|
-
_List_fromArray(
|
|
37816
|
-
['Path']),
|
|
37817
|
-
'Path'))),
|
|
37764
|
+
$elm$core$Maybe$Just($author$project$GenerateMain$pathType)),
|
|
37818
37765
|
_Utils_Tuple2(
|
|
37819
37766
|
'model',
|
|
37820
37767
|
$elm$core$Maybe$Just(
|
|
@@ -37899,12 +37846,7 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
37899
37846
|
'Route')))),
|
|
37900
37847
|
_Utils_Tuple2(
|
|
37901
37848
|
'path',
|
|
37902
|
-
$elm$core$Maybe$Just(
|
|
37903
|
-
A2(
|
|
37904
|
-
$author$project$Elm$Annotation$named,
|
|
37905
|
-
_List_fromArray(
|
|
37906
|
-
['Path']),
|
|
37907
|
-
'Path'))),
|
|
37849
|
+
$elm$core$Maybe$Just($author$project$GenerateMain$pathType)),
|
|
37908
37850
|
_Utils_Tuple2(
|
|
37909
37851
|
'model',
|
|
37910
37852
|
$elm$core$Maybe$Just(
|
|
@@ -38024,7 +37966,7 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
38024
37966
|
$author$project$Elm$fn,
|
|
38025
37967
|
_Utils_Tuple2('route', $elm$core$Maybe$Nothing),
|
|
38026
37968
|
function (route_) {
|
|
38027
|
-
return $author$project$Gen$
|
|
37969
|
+
return $author$project$Gen$UrlPath$toAbsolute(
|
|
38028
37970
|
A2(
|
|
38029
37971
|
$author$project$Elm$apply,
|
|
38030
37972
|
$author$project$Elm$value(
|
|
@@ -38375,8 +38317,8 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
38375
38317
|
A2(
|
|
38376
38318
|
$author$project$Elm$Annotation$named,
|
|
38377
38319
|
_List_fromArray(
|
|
38378
|
-
['
|
|
38379
|
-
'
|
|
38320
|
+
['UrlPath']),
|
|
38321
|
+
'UrlPath')),
|
|
38380
38322
|
_Utils_Tuple2(
|
|
38381
38323
|
'query',
|
|
38382
38324
|
$author$project$Elm$Annotation$maybe($author$project$Elm$Annotation$string)),
|