elm-pages 3.0.0-beta.26 → 3.0.0-beta.28
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 +144 -364
- 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 +5 -5
- package/generator/src/compatibility-key.js +2 -2
- package/generator/template/app/Route/Index.elm +2 -2
- package/package.json +2 -2
- package/src/Form.elm +23 -22
- package/src/Pages/FormState.elm +6 -5
- package/src/Pages/{Msg.elm → Internal/Msg.elm} +26 -16
- package/src/Pages/Internal/Platform/Cli.elm +5 -5
- package/src/Pages/Internal/Platform/CompatibilityKey.elm +1 -1
- package/src/Pages/Internal/Platform.elm +22 -10
- package/src/Pages/ProgramConfig.elm +2 -2
- package/src/PagesMsg.elm +93 -0
- package/src/Pages/Internal/Platform/Cli.elm.bak +0 -1276
package/README.md
CHANGED
|
@@ -81,7 +81,7 @@ https://github.com/dillonkearns/elm-pages/projects
|
|
|
81
81
|
You will see an error if the NPM and Elm package do not have a matching Compatibility Key. Usually it's best to upgrade to the latest version of both the Elm and NPM
|
|
82
82
|
packages when you upgrade. However, in case you want to install versions that are behind the latest, the Compatibility Key is included here for reference.
|
|
83
83
|
|
|
84
|
-
Current Compatibility Key:
|
|
84
|
+
Current Compatibility Key: 11.
|
|
85
85
|
|
|
86
86
|
## Contributors ✨
|
|
87
87
|
|
|
@@ -26254,17 +26254,6 @@ var $author$project$Gen$Pages$Internal$Platform$Cli$annotation_ = {
|
|
|
26254
26254
|
])));
|
|
26255
26255
|
}
|
|
26256
26256
|
};
|
|
26257
|
-
var $author$project$Gen$Pages$Msg$annotation_ = {
|
|
26258
|
-
msg: function (msgArg0) {
|
|
26259
|
-
return A3(
|
|
26260
|
-
$author$project$Elm$Annotation$namedWith,
|
|
26261
|
-
_List_fromArray(
|
|
26262
|
-
['Pages', 'Msg']),
|
|
26263
|
-
'Msg',
|
|
26264
|
-
_List_fromArray(
|
|
26265
|
-
[msgArg0]));
|
|
26266
|
-
}
|
|
26267
|
-
};
|
|
26268
26257
|
var $author$project$Gen$Pages$Transition$moduleName_ = _List_fromArray(
|
|
26269
26258
|
['Pages', 'Transition']);
|
|
26270
26259
|
var $author$project$Gen$Pages$Transition$annotation_ = {
|
|
@@ -26323,14 +26312,25 @@ var $author$project$Gen$Pages$Transition$annotation_ = {
|
|
|
26323
26312
|
'Transition',
|
|
26324
26313
|
_List_Nil)
|
|
26325
26314
|
};
|
|
26326
|
-
var $author$project$Gen$
|
|
26327
|
-
|
|
26328
|
-
|
|
26329
|
-
|
|
26330
|
-
|
|
26331
|
-
|
|
26315
|
+
var $author$project$Gen$PagesMsg$moduleName_ = _List_fromArray(
|
|
26316
|
+
['PagesMsg']);
|
|
26317
|
+
var $author$project$Gen$PagesMsg$annotation_ = {
|
|
26318
|
+
pagesMsg: function (pagesMsgArg0) {
|
|
26319
|
+
return A4(
|
|
26320
|
+
$author$project$Elm$Annotation$alias,
|
|
26321
|
+
$author$project$Gen$PagesMsg$moduleName_,
|
|
26322
|
+
'PagesMsg',
|
|
26332
26323
|
_List_fromArray(
|
|
26333
|
-
[
|
|
26324
|
+
[pagesMsgArg0]),
|
|
26325
|
+
A3(
|
|
26326
|
+
$author$project$Elm$Annotation$namedWith,
|
|
26327
|
+
_List_fromArray(
|
|
26328
|
+
['Pages', 'Internal', 'Msg']),
|
|
26329
|
+
'Msg',
|
|
26330
|
+
_List_fromArray(
|
|
26331
|
+
[
|
|
26332
|
+
$author$project$Elm$Annotation$var('userMsg')
|
|
26333
|
+
])));
|
|
26334
26334
|
}
|
|
26335
26335
|
};
|
|
26336
26336
|
var $author$project$Gen$Server$Response$moduleName_ = _List_fromArray(
|
|
@@ -26949,43 +26949,6 @@ var $author$project$GenerateMain$applyIdentityTo = function (to) {
|
|
|
26949
26949
|
_List_fromArray(
|
|
26950
26950
|
[$author$project$Gen$Basics$values_.identity]));
|
|
26951
26951
|
};
|
|
26952
|
-
var $author$project$Gen$Platform$Sub$batch = function (batchArg) {
|
|
26953
|
-
return A2(
|
|
26954
|
-
$author$project$Elm$apply,
|
|
26955
|
-
$author$project$Elm$value(
|
|
26956
|
-
{
|
|
26957
|
-
annotation: $elm$core$Maybe$Just(
|
|
26958
|
-
A2(
|
|
26959
|
-
$author$project$Elm$Annotation$function,
|
|
26960
|
-
_List_fromArray(
|
|
26961
|
-
[
|
|
26962
|
-
$author$project$Elm$Annotation$list(
|
|
26963
|
-
A3(
|
|
26964
|
-
$author$project$Elm$Annotation$namedWith,
|
|
26965
|
-
_List_Nil,
|
|
26966
|
-
'Sub',
|
|
26967
|
-
_List_fromArray(
|
|
26968
|
-
[
|
|
26969
|
-
$author$project$Elm$Annotation$var('msg')
|
|
26970
|
-
])))
|
|
26971
|
-
]),
|
|
26972
|
-
A3(
|
|
26973
|
-
$author$project$Elm$Annotation$namedWith,
|
|
26974
|
-
_List_Nil,
|
|
26975
|
-
'Sub',
|
|
26976
|
-
_List_fromArray(
|
|
26977
|
-
[
|
|
26978
|
-
$author$project$Elm$Annotation$var('msg')
|
|
26979
|
-
])))),
|
|
26980
|
-
importFrom: _List_fromArray(
|
|
26981
|
-
['Platform', 'Sub']),
|
|
26982
|
-
name: 'batch'
|
|
26983
|
-
}),
|
|
26984
|
-
_List_fromArray(
|
|
26985
|
-
[
|
|
26986
|
-
$author$project$Elm$list(batchArg)
|
|
26987
|
-
]));
|
|
26988
|
-
};
|
|
26989
26952
|
var $author$project$Gen$BackendTask$call_ = {
|
|
26990
26953
|
allowFatal: function (allowFatalArg) {
|
|
26991
26954
|
return A2(
|
|
@@ -29638,159 +29601,8 @@ var $author$project$Gen$Pages$Fetcher$call_ = {
|
|
|
29638
29601
|
[submitArg, submitArg0]));
|
|
29639
29602
|
})
|
|
29640
29603
|
};
|
|
29641
|
-
var $author$project$Gen$
|
|
29642
|
-
|
|
29643
|
-
function (fetcherOnSubmitArg, fetcherOnSubmitArg0, fetcherOnSubmitArg1) {
|
|
29644
|
-
return A2(
|
|
29645
|
-
$author$project$Elm$apply,
|
|
29646
|
-
$author$project$Elm$value(
|
|
29647
|
-
{
|
|
29648
|
-
annotation: $elm$core$Maybe$Just(
|
|
29649
|
-
A2(
|
|
29650
|
-
$author$project$Elm$Annotation$function,
|
|
29651
|
-
_List_fromArray(
|
|
29652
|
-
[
|
|
29653
|
-
A3(
|
|
29654
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29655
|
-
_List_Nil,
|
|
29656
|
-
'Maybe',
|
|
29657
|
-
_List_fromArray(
|
|
29658
|
-
[
|
|
29659
|
-
A2(
|
|
29660
|
-
$author$project$Elm$Annotation$function,
|
|
29661
|
-
_List_fromArray(
|
|
29662
|
-
[
|
|
29663
|
-
$author$project$Elm$Annotation$record(
|
|
29664
|
-
_List_fromArray(
|
|
29665
|
-
[
|
|
29666
|
-
_Utils_Tuple2(
|
|
29667
|
-
'fields',
|
|
29668
|
-
$author$project$Elm$Annotation$list(
|
|
29669
|
-
A2($author$project$Elm$Annotation$tuple, $author$project$Elm$Annotation$string, $author$project$Elm$Annotation$string)))
|
|
29670
|
-
]))
|
|
29671
|
-
]),
|
|
29672
|
-
$author$project$Elm$Annotation$var('userMsg'))
|
|
29673
|
-
])),
|
|
29674
|
-
$author$project$Elm$Annotation$string,
|
|
29675
|
-
A2(
|
|
29676
|
-
$author$project$Elm$Annotation$function,
|
|
29677
|
-
_List_fromArray(
|
|
29678
|
-
[
|
|
29679
|
-
$author$project$Elm$Annotation$list(
|
|
29680
|
-
A2($author$project$Elm$Annotation$tuple, $author$project$Elm$Annotation$string, $author$project$Elm$Annotation$string))
|
|
29681
|
-
]),
|
|
29682
|
-
$author$project$Elm$Annotation$bool)
|
|
29683
|
-
]),
|
|
29684
|
-
A3(
|
|
29685
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29686
|
-
_List_Nil,
|
|
29687
|
-
'Attribute',
|
|
29688
|
-
_List_fromArray(
|
|
29689
|
-
[
|
|
29690
|
-
A3(
|
|
29691
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29692
|
-
_List_Nil,
|
|
29693
|
-
'Msg',
|
|
29694
|
-
_List_fromArray(
|
|
29695
|
-
[
|
|
29696
|
-
$author$project$Elm$Annotation$var('userMsg')
|
|
29697
|
-
]))
|
|
29698
|
-
])))),
|
|
29699
|
-
importFrom: _List_fromArray(
|
|
29700
|
-
['Pages', 'Msg']),
|
|
29701
|
-
name: 'fetcherOnSubmit'
|
|
29702
|
-
}),
|
|
29703
|
-
_List_fromArray(
|
|
29704
|
-
[fetcherOnSubmitArg, fetcherOnSubmitArg0, fetcherOnSubmitArg1]));
|
|
29705
|
-
}),
|
|
29706
|
-
map: F2(
|
|
29707
|
-
function (mapArg, mapArg0) {
|
|
29708
|
-
return A2(
|
|
29709
|
-
$author$project$Elm$apply,
|
|
29710
|
-
$author$project$Elm$value(
|
|
29711
|
-
{
|
|
29712
|
-
annotation: $elm$core$Maybe$Just(
|
|
29713
|
-
A2(
|
|
29714
|
-
$author$project$Elm$Annotation$function,
|
|
29715
|
-
_List_fromArray(
|
|
29716
|
-
[
|
|
29717
|
-
A2(
|
|
29718
|
-
$author$project$Elm$Annotation$function,
|
|
29719
|
-
_List_fromArray(
|
|
29720
|
-
[
|
|
29721
|
-
$author$project$Elm$Annotation$var('a')
|
|
29722
|
-
]),
|
|
29723
|
-
$author$project$Elm$Annotation$var('b')),
|
|
29724
|
-
A3(
|
|
29725
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29726
|
-
_List_Nil,
|
|
29727
|
-
'Msg',
|
|
29728
|
-
_List_fromArray(
|
|
29729
|
-
[
|
|
29730
|
-
$author$project$Elm$Annotation$var('a')
|
|
29731
|
-
]))
|
|
29732
|
-
]),
|
|
29733
|
-
A3(
|
|
29734
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29735
|
-
_List_Nil,
|
|
29736
|
-
'Msg',
|
|
29737
|
-
_List_fromArray(
|
|
29738
|
-
[
|
|
29739
|
-
$author$project$Elm$Annotation$var('b')
|
|
29740
|
-
])))),
|
|
29741
|
-
importFrom: _List_fromArray(
|
|
29742
|
-
['Pages', 'Msg']),
|
|
29743
|
-
name: 'map'
|
|
29744
|
-
}),
|
|
29745
|
-
_List_fromArray(
|
|
29746
|
-
[mapArg, mapArg0]));
|
|
29747
|
-
}),
|
|
29748
|
-
submitIfValid: F2(
|
|
29749
|
-
function (submitIfValidArg, submitIfValidArg0) {
|
|
29750
|
-
return A2(
|
|
29751
|
-
$author$project$Elm$apply,
|
|
29752
|
-
$author$project$Elm$value(
|
|
29753
|
-
{
|
|
29754
|
-
annotation: $elm$core$Maybe$Just(
|
|
29755
|
-
A2(
|
|
29756
|
-
$author$project$Elm$Annotation$function,
|
|
29757
|
-
_List_fromArray(
|
|
29758
|
-
[
|
|
29759
|
-
$author$project$Elm$Annotation$string,
|
|
29760
|
-
A2(
|
|
29761
|
-
$author$project$Elm$Annotation$function,
|
|
29762
|
-
_List_fromArray(
|
|
29763
|
-
[
|
|
29764
|
-
$author$project$Elm$Annotation$list(
|
|
29765
|
-
A2($author$project$Elm$Annotation$tuple, $author$project$Elm$Annotation$string, $author$project$Elm$Annotation$string))
|
|
29766
|
-
]),
|
|
29767
|
-
$author$project$Elm$Annotation$bool)
|
|
29768
|
-
]),
|
|
29769
|
-
A3(
|
|
29770
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29771
|
-
_List_Nil,
|
|
29772
|
-
'Attribute',
|
|
29773
|
-
_List_fromArray(
|
|
29774
|
-
[
|
|
29775
|
-
A3(
|
|
29776
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29777
|
-
_List_Nil,
|
|
29778
|
-
'Msg',
|
|
29779
|
-
_List_fromArray(
|
|
29780
|
-
[
|
|
29781
|
-
$author$project$Elm$Annotation$var('userMsg')
|
|
29782
|
-
]))
|
|
29783
|
-
])))),
|
|
29784
|
-
importFrom: _List_fromArray(
|
|
29785
|
-
['Pages', 'Msg']),
|
|
29786
|
-
name: 'submitIfValid'
|
|
29787
|
-
}),
|
|
29788
|
-
_List_fromArray(
|
|
29789
|
-
[submitIfValidArg, submitIfValidArg0]));
|
|
29790
|
-
})
|
|
29791
|
-
};
|
|
29792
|
-
var $author$project$Gen$Platform$Sub$call_ = {
|
|
29793
|
-
batch: function (batchArg) {
|
|
29604
|
+
var $author$project$Gen$PagesMsg$call_ = {
|
|
29605
|
+
fromMsg: function (fromMsgArg) {
|
|
29794
29606
|
return A2(
|
|
29795
29607
|
$author$project$Elm$apply,
|
|
29796
29608
|
$author$project$Elm$value(
|
|
@@ -29800,30 +29612,22 @@ var $author$project$Gen$Platform$Sub$call_ = {
|
|
|
29800
29612
|
$author$project$Elm$Annotation$function,
|
|
29801
29613
|
_List_fromArray(
|
|
29802
29614
|
[
|
|
29803
|
-
$author$project$Elm$Annotation$
|
|
29804
|
-
A3(
|
|
29805
|
-
$author$project$Elm$Annotation$namedWith,
|
|
29806
|
-
_List_Nil,
|
|
29807
|
-
'Sub',
|
|
29808
|
-
_List_fromArray(
|
|
29809
|
-
[
|
|
29810
|
-
$author$project$Elm$Annotation$var('msg')
|
|
29811
|
-
])))
|
|
29615
|
+
$author$project$Elm$Annotation$var('userMsg')
|
|
29812
29616
|
]),
|
|
29813
29617
|
A3(
|
|
29814
29618
|
$author$project$Elm$Annotation$namedWith,
|
|
29815
29619
|
_List_Nil,
|
|
29816
|
-
'
|
|
29620
|
+
'PagesMsg',
|
|
29817
29621
|
_List_fromArray(
|
|
29818
29622
|
[
|
|
29819
|
-
$author$project$Elm$Annotation$var('
|
|
29623
|
+
$author$project$Elm$Annotation$var('userMsg')
|
|
29820
29624
|
])))),
|
|
29821
29625
|
importFrom: _List_fromArray(
|
|
29822
|
-
['
|
|
29823
|
-
name: '
|
|
29626
|
+
['PagesMsg']),
|
|
29627
|
+
name: 'fromMsg'
|
|
29824
29628
|
}),
|
|
29825
29629
|
_List_fromArray(
|
|
29826
|
-
[
|
|
29630
|
+
[fromMsgArg]));
|
|
29827
29631
|
},
|
|
29828
29632
|
map: F2(
|
|
29829
29633
|
function (mapArg, mapArg0) {
|
|
@@ -29842,11 +29646,11 @@ var $author$project$Gen$Platform$Sub$call_ = {
|
|
|
29842
29646
|
[
|
|
29843
29647
|
$author$project$Elm$Annotation$var('a')
|
|
29844
29648
|
]),
|
|
29845
|
-
$author$project$Elm$Annotation$var('
|
|
29649
|
+
$author$project$Elm$Annotation$var('b')),
|
|
29846
29650
|
A3(
|
|
29847
29651
|
$author$project$Elm$Annotation$namedWith,
|
|
29848
29652
|
_List_Nil,
|
|
29849
|
-
'
|
|
29653
|
+
'PagesMsg',
|
|
29850
29654
|
_List_fromArray(
|
|
29851
29655
|
[
|
|
29852
29656
|
$author$project$Elm$Annotation$var('a')
|
|
@@ -29855,13 +29659,13 @@ var $author$project$Gen$Platform$Sub$call_ = {
|
|
|
29855
29659
|
A3(
|
|
29856
29660
|
$author$project$Elm$Annotation$namedWith,
|
|
29857
29661
|
_List_Nil,
|
|
29858
|
-
'
|
|
29662
|
+
'PagesMsg',
|
|
29859
29663
|
_List_fromArray(
|
|
29860
29664
|
[
|
|
29861
|
-
$author$project$Elm$Annotation$var('
|
|
29665
|
+
$author$project$Elm$Annotation$var('b')
|
|
29862
29666
|
])))),
|
|
29863
29667
|
importFrom: _List_fromArray(
|
|
29864
|
-
['
|
|
29668
|
+
['PagesMsg']),
|
|
29865
29669
|
name: 'map'
|
|
29866
29670
|
}),
|
|
29867
29671
|
_List_fromArray(
|
|
@@ -31236,6 +31040,33 @@ var $author$project$Elm$Extra$fnIgnore = function (expression) {
|
|
|
31236
31040
|
return expression;
|
|
31237
31041
|
});
|
|
31238
31042
|
};
|
|
31043
|
+
var $author$project$Gen$PagesMsg$fromMsg = function (fromMsgArg) {
|
|
31044
|
+
return A2(
|
|
31045
|
+
$author$project$Elm$apply,
|
|
31046
|
+
$author$project$Elm$value(
|
|
31047
|
+
{
|
|
31048
|
+
annotation: $elm$core$Maybe$Just(
|
|
31049
|
+
A2(
|
|
31050
|
+
$author$project$Elm$Annotation$function,
|
|
31051
|
+
_List_fromArray(
|
|
31052
|
+
[
|
|
31053
|
+
$author$project$Elm$Annotation$var('userMsg')
|
|
31054
|
+
]),
|
|
31055
|
+
A3(
|
|
31056
|
+
$author$project$Elm$Annotation$namedWith,
|
|
31057
|
+
_List_Nil,
|
|
31058
|
+
'PagesMsg',
|
|
31059
|
+
_List_fromArray(
|
|
31060
|
+
[
|
|
31061
|
+
$author$project$Elm$Annotation$var('userMsg')
|
|
31062
|
+
])))),
|
|
31063
|
+
importFrom: _List_fromArray(
|
|
31064
|
+
['PagesMsg']),
|
|
31065
|
+
name: 'fromMsg'
|
|
31066
|
+
}),
|
|
31067
|
+
_List_fromArray(
|
|
31068
|
+
[fromMsgArg]));
|
|
31069
|
+
};
|
|
31239
31070
|
var $author$project$Pages$Internal$RoutePattern$isStatic = function (routeParam) {
|
|
31240
31071
|
if (routeParam.$ === 'StaticParam') {
|
|
31241
31072
|
return true;
|
|
@@ -31383,115 +31214,6 @@ var $author$project$Gen$ApiRoute$literal = F2(
|
|
|
31383
31214
|
literalArg0
|
|
31384
31215
|
]));
|
|
31385
31216
|
});
|
|
31386
|
-
var $author$project$Gen$Pages$Msg$make_ = {
|
|
31387
|
-
formFieldEvent: function (ar0) {
|
|
31388
|
-
return A2(
|
|
31389
|
-
$author$project$Elm$apply,
|
|
31390
|
-
$author$project$Elm$value(
|
|
31391
|
-
{
|
|
31392
|
-
annotation: $elm$core$Maybe$Just(
|
|
31393
|
-
A3(
|
|
31394
|
-
$author$project$Elm$Annotation$namedWith,
|
|
31395
|
-
_List_Nil,
|
|
31396
|
-
'Msg',
|
|
31397
|
-
_List_fromArray(
|
|
31398
|
-
[
|
|
31399
|
-
$author$project$Elm$Annotation$var('userMsg')
|
|
31400
|
-
]))),
|
|
31401
|
-
importFrom: _List_fromArray(
|
|
31402
|
-
['Pages', 'Msg']),
|
|
31403
|
-
name: 'FormFieldEvent'
|
|
31404
|
-
}),
|
|
31405
|
-
_List_fromArray(
|
|
31406
|
-
[ar0]));
|
|
31407
|
-
},
|
|
31408
|
-
submit: function (ar0) {
|
|
31409
|
-
return A2(
|
|
31410
|
-
$author$project$Elm$apply,
|
|
31411
|
-
$author$project$Elm$value(
|
|
31412
|
-
{
|
|
31413
|
-
annotation: $elm$core$Maybe$Just(
|
|
31414
|
-
A3(
|
|
31415
|
-
$author$project$Elm$Annotation$namedWith,
|
|
31416
|
-
_List_Nil,
|
|
31417
|
-
'Msg',
|
|
31418
|
-
_List_fromArray(
|
|
31419
|
-
[
|
|
31420
|
-
$author$project$Elm$Annotation$var('userMsg')
|
|
31421
|
-
]))),
|
|
31422
|
-
importFrom: _List_fromArray(
|
|
31423
|
-
['Pages', 'Msg']),
|
|
31424
|
-
name: 'Submit'
|
|
31425
|
-
}),
|
|
31426
|
-
_List_fromArray(
|
|
31427
|
-
[ar0]));
|
|
31428
|
-
},
|
|
31429
|
-
submitFetcher: F4(
|
|
31430
|
-
function (ar0, ar1, ar2, ar3) {
|
|
31431
|
-
return A2(
|
|
31432
|
-
$author$project$Elm$apply,
|
|
31433
|
-
$author$project$Elm$value(
|
|
31434
|
-
{
|
|
31435
|
-
annotation: $elm$core$Maybe$Just(
|
|
31436
|
-
A3(
|
|
31437
|
-
$author$project$Elm$Annotation$namedWith,
|
|
31438
|
-
_List_Nil,
|
|
31439
|
-
'Msg',
|
|
31440
|
-
_List_fromArray(
|
|
31441
|
-
[
|
|
31442
|
-
$author$project$Elm$Annotation$var('userMsg')
|
|
31443
|
-
]))),
|
|
31444
|
-
importFrom: _List_fromArray(
|
|
31445
|
-
['Pages', 'Msg']),
|
|
31446
|
-
name: 'SubmitFetcher'
|
|
31447
|
-
}),
|
|
31448
|
-
_List_fromArray(
|
|
31449
|
-
[ar0, ar1, ar2, ar3]));
|
|
31450
|
-
}),
|
|
31451
|
-
submitIfValid: F3(
|
|
31452
|
-
function (ar0, ar1, ar2) {
|
|
31453
|
-
return A2(
|
|
31454
|
-
$author$project$Elm$apply,
|
|
31455
|
-
$author$project$Elm$value(
|
|
31456
|
-
{
|
|
31457
|
-
annotation: $elm$core$Maybe$Just(
|
|
31458
|
-
A3(
|
|
31459
|
-
$author$project$Elm$Annotation$namedWith,
|
|
31460
|
-
_List_Nil,
|
|
31461
|
-
'Msg',
|
|
31462
|
-
_List_fromArray(
|
|
31463
|
-
[
|
|
31464
|
-
$author$project$Elm$Annotation$var('userMsg')
|
|
31465
|
-
]))),
|
|
31466
|
-
importFrom: _List_fromArray(
|
|
31467
|
-
['Pages', 'Msg']),
|
|
31468
|
-
name: 'SubmitIfValid'
|
|
31469
|
-
}),
|
|
31470
|
-
_List_fromArray(
|
|
31471
|
-
[ar0, ar1, ar2]));
|
|
31472
|
-
}),
|
|
31473
|
-
userMsg: function (ar0) {
|
|
31474
|
-
return A2(
|
|
31475
|
-
$author$project$Elm$apply,
|
|
31476
|
-
$author$project$Elm$value(
|
|
31477
|
-
{
|
|
31478
|
-
annotation: $elm$core$Maybe$Just(
|
|
31479
|
-
A3(
|
|
31480
|
-
$author$project$Elm$Annotation$namedWith,
|
|
31481
|
-
_List_Nil,
|
|
31482
|
-
'Msg',
|
|
31483
|
-
_List_fromArray(
|
|
31484
|
-
[
|
|
31485
|
-
$author$project$Elm$Annotation$var('userMsg')
|
|
31486
|
-
]))),
|
|
31487
|
-
importFrom: _List_fromArray(
|
|
31488
|
-
['Pages', 'Msg']),
|
|
31489
|
-
name: 'UserMsg'
|
|
31490
|
-
}),
|
|
31491
|
-
_List_fromArray(
|
|
31492
|
-
[ar0]));
|
|
31493
|
-
}
|
|
31494
|
-
};
|
|
31495
31217
|
var $elm$core$Tuple$pair = F2(
|
|
31496
31218
|
function (a, b) {
|
|
31497
31219
|
return _Utils_Tuple2(a, b);
|
|
@@ -32020,21 +31742,6 @@ var $author$project$Gen$Basics$never = function (neverArg) {
|
|
|
32020
31742
|
_List_fromArray(
|
|
32021
31743
|
[neverArg]));
|
|
32022
31744
|
};
|
|
32023
|
-
var $author$project$Gen$Platform$Sub$none = $author$project$Elm$value(
|
|
32024
|
-
{
|
|
32025
|
-
annotation: $elm$core$Maybe$Just(
|
|
32026
|
-
A3(
|
|
32027
|
-
$author$project$Elm$Annotation$namedWith,
|
|
32028
|
-
_List_Nil,
|
|
32029
|
-
'Sub',
|
|
32030
|
-
_List_fromArray(
|
|
32031
|
-
[
|
|
32032
|
-
$author$project$Elm$Annotation$var('msg')
|
|
32033
|
-
]))),
|
|
32034
|
-
importFrom: _List_fromArray(
|
|
32035
|
-
['Platform', 'Sub']),
|
|
32036
|
-
name: 'none'
|
|
32037
|
-
});
|
|
32038
31745
|
var $author$project$Elm$nothing = $author$project$Elm$maybe($elm$core$Maybe$Nothing);
|
|
32039
31746
|
var $author$project$Gen$Json$Encode$object = function (objectArg) {
|
|
32040
31747
|
return A2(
|
|
@@ -32803,6 +32510,79 @@ var $author$project$Gen$ApiRoute$single = function (singleArg) {
|
|
|
32803
32510
|
_List_fromArray(
|
|
32804
32511
|
[singleArg]));
|
|
32805
32512
|
};
|
|
32513
|
+
var $author$project$GenerateMain$subType = function (inner) {
|
|
32514
|
+
return A3(
|
|
32515
|
+
$author$project$Elm$Annotation$namedWith,
|
|
32516
|
+
_List_fromArray(
|
|
32517
|
+
['Platform', 'Sub']),
|
|
32518
|
+
'Sub',
|
|
32519
|
+
_List_fromArray(
|
|
32520
|
+
[inner]));
|
|
32521
|
+
};
|
|
32522
|
+
var $author$project$GenerateMain$subBatch = function (batchArg) {
|
|
32523
|
+
return A2(
|
|
32524
|
+
$author$project$Elm$apply,
|
|
32525
|
+
$author$project$Elm$value(
|
|
32526
|
+
{
|
|
32527
|
+
annotation: $elm$core$Maybe$Just(
|
|
32528
|
+
A2(
|
|
32529
|
+
$author$project$Elm$Annotation$function,
|
|
32530
|
+
_List_fromArray(
|
|
32531
|
+
[
|
|
32532
|
+
$author$project$Elm$Annotation$list(
|
|
32533
|
+
$author$project$GenerateMain$subType(
|
|
32534
|
+
$author$project$Elm$Annotation$var('msg')))
|
|
32535
|
+
]),
|
|
32536
|
+
$author$project$GenerateMain$subType(
|
|
32537
|
+
$author$project$Elm$Annotation$var('msg')))),
|
|
32538
|
+
importFrom: _List_fromArray(
|
|
32539
|
+
['Platform', 'Sub']),
|
|
32540
|
+
name: 'batch'
|
|
32541
|
+
}),
|
|
32542
|
+
_List_fromArray(
|
|
32543
|
+
[
|
|
32544
|
+
$author$project$Elm$list(batchArg)
|
|
32545
|
+
]));
|
|
32546
|
+
};
|
|
32547
|
+
var $author$project$GenerateMain$subMap = F2(
|
|
32548
|
+
function (mapArg, mapArg0) {
|
|
32549
|
+
return A2(
|
|
32550
|
+
$author$project$Elm$apply,
|
|
32551
|
+
$author$project$Elm$value(
|
|
32552
|
+
{
|
|
32553
|
+
annotation: $elm$core$Maybe$Just(
|
|
32554
|
+
A2(
|
|
32555
|
+
$author$project$Elm$Annotation$function,
|
|
32556
|
+
_List_fromArray(
|
|
32557
|
+
[
|
|
32558
|
+
A2(
|
|
32559
|
+
$author$project$Elm$Annotation$function,
|
|
32560
|
+
_List_fromArray(
|
|
32561
|
+
[
|
|
32562
|
+
$author$project$Elm$Annotation$var('a')
|
|
32563
|
+
]),
|
|
32564
|
+
$author$project$Elm$Annotation$var('msg')),
|
|
32565
|
+
$author$project$GenerateMain$subType(
|
|
32566
|
+
$author$project$Elm$Annotation$var('a'))
|
|
32567
|
+
]),
|
|
32568
|
+
$author$project$GenerateMain$subType(
|
|
32569
|
+
$author$project$Elm$Annotation$var('msg')))),
|
|
32570
|
+
importFrom: _List_fromArray(
|
|
32571
|
+
['Platform', 'Sub']),
|
|
32572
|
+
name: 'map'
|
|
32573
|
+
}),
|
|
32574
|
+
_List_fromArray(
|
|
32575
|
+
[mapArg, mapArg0]));
|
|
32576
|
+
});
|
|
32577
|
+
var $author$project$GenerateMain$subNone = $author$project$Elm$value(
|
|
32578
|
+
{
|
|
32579
|
+
annotation: $elm$core$Maybe$Just(
|
|
32580
|
+
$author$project$GenerateMain$subType(
|
|
32581
|
+
$author$project$Elm$Annotation$var('msg'))),
|
|
32582
|
+
importFrom: _List_fromArray(
|
|
32583
|
+
['Platform', 'Sub']),
|
|
32584
|
+
name: 'none'
|
|
32585
|
+
});
|
|
32806
32586
|
var $author$project$Gen$ApiRoute$succeed = function (succeedArg) {
|
|
32807
32587
|
return A2(
|
|
32808
32588
|
$author$project$Elm$apply,
|
|
@@ -36073,7 +35853,7 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
36073
35853
|
'body',
|
|
36074
35854
|
$author$project$Elm$Annotation$list(
|
|
36075
35855
|
$author$project$Gen$Html$annotation_.html(
|
|
36076
|
-
$author$project$Gen$
|
|
35856
|
+
$author$project$Gen$PagesMsg$annotation_.pagesMsg(
|
|
36077
35857
|
A2($author$project$Elm$Annotation$named, _List_Nil, 'Msg')))))
|
|
36078
35858
|
])))),
|
|
36079
35859
|
_Utils_Tuple2(
|
|
@@ -36133,7 +35913,7 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
36133
35913
|
$author$project$Elm$fn,
|
|
36134
35914
|
_Utils_Tuple2('myMsg', $elm$core$Maybe$Nothing),
|
|
36135
35915
|
function (myMsg) {
|
|
36136
|
-
return $author$project$Gen$
|
|
35916
|
+
return $author$project$Gen$PagesMsg$fromMsg(
|
|
36137
35917
|
A2(
|
|
36138
35918
|
$author$project$Elm$apply,
|
|
36139
35919
|
$author$project$Elm$val('MsgGlobal'),
|
|
@@ -36155,7 +35935,7 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
36155
35935
|
$author$project$Elm$functionReduced,
|
|
36156
35936
|
'myMsg',
|
|
36157
35937
|
function (myMsg) {
|
|
36158
|
-
return $author$project$Gen$
|
|
35938
|
+
return $author$project$Gen$PagesMsg$fromMsg(
|
|
36159
35939
|
A2(
|
|
36160
35940
|
$author$project$Elm$apply,
|
|
36161
35941
|
$author$project$Elm$val('MsgErrorPage____'),
|
|
@@ -36274,7 +36054,7 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
36274
36054
|
$author$project$Elm$fn,
|
|
36275
36055
|
_Utils_Tuple2('myMsg', $elm$core$Maybe$Nothing),
|
|
36276
36056
|
function (myMsg) {
|
|
36277
|
-
return $author$project$Gen$
|
|
36057
|
+
return $author$project$Gen$PagesMsg$fromMsg(
|
|
36278
36058
|
A2(
|
|
36279
36059
|
$author$project$Elm$apply,
|
|
36280
36060
|
$author$project$Elm$val('MsgGlobal'),
|
|
@@ -36295,7 +36075,7 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
36295
36075
|
A2(
|
|
36296
36076
|
$author$project$Elm$functionReduced,
|
|
36297
36077
|
'innerPageMsg',
|
|
36298
|
-
$author$project$Gen$
|
|
36078
|
+
$author$project$Gen$PagesMsg$call_.map(
|
|
36299
36079
|
A2($author$project$GenerateMain$routeVariantExpression, $author$project$GenerateMain$Msg, route))),
|
|
36300
36080
|
A2(
|
|
36301
36081
|
$author$project$Elm$apply,
|
|
@@ -38326,7 +38106,7 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
38326
38106
|
function (maybeRoute, path, model) {
|
|
38327
38107
|
return A2(
|
|
38328
38108
|
$author$project$Elm$withType,
|
|
38329
|
-
$author$project$
|
|
38109
|
+
$author$project$GenerateMain$subType(
|
|
38330
38110
|
A2($author$project$Elm$Annotation$named, _List_Nil, 'Msg')),
|
|
38331
38111
|
A2(
|
|
38332
38112
|
$author$project$Elm$Case$maybe,
|
|
@@ -38350,7 +38130,7 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
38350
38130
|
$author$project$Elm$Case$patternToBranch,
|
|
38351
38131
|
function (templateModel) {
|
|
38352
38132
|
return A2(
|
|
38353
|
-
$author$project$
|
|
38133
|
+
$author$project$GenerateMain$subMap,
|
|
38354
38134
|
A2($author$project$GenerateMain$routeVariantExpression, $author$project$GenerateMain$Msg, route),
|
|
38355
38135
|
A2(
|
|
38356
38136
|
$author$project$Elm$apply,
|
|
@@ -38381,12 +38161,12 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
38381
38161
|
A3($author$project$GenerateMain$destructureRouteVariant, $author$project$GenerateMain$Model, 'templateModel', route)),
|
|
38382
38162
|
$author$project$Elm$Case$otherwise(
|
|
38383
38163
|
function (_v10) {
|
|
38384
|
-
return $author$project$
|
|
38164
|
+
return $author$project$GenerateMain$subNone;
|
|
38385
38165
|
})
|
|
38386
38166
|
]));
|
|
38387
38167
|
}));
|
|
38388
38168
|
}),
|
|
38389
|
-
nothing: $author$project$
|
|
38169
|
+
nothing: $author$project$GenerateMain$subNone
|
|
38390
38170
|
}));
|
|
38391
38171
|
}));
|
|
38392
38172
|
var subscriptions = A5(
|
|
@@ -38417,13 +38197,13 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
38417
38197
|
function (route, path, model) {
|
|
38418
38198
|
return A2(
|
|
38419
38199
|
$author$project$Elm$withType,
|
|
38420
|
-
$author$project$
|
|
38200
|
+
$author$project$GenerateMain$subType(
|
|
38421
38201
|
A2($author$project$Elm$Annotation$named, _List_Nil, 'Msg')),
|
|
38422
|
-
$author$project$
|
|
38202
|
+
$author$project$GenerateMain$subBatch(
|
|
38423
38203
|
_List_fromArray(
|
|
38424
38204
|
[
|
|
38425
38205
|
A2(
|
|
38426
|
-
$author$project$
|
|
38206
|
+
$author$project$GenerateMain$subMap,
|
|
38427
38207
|
$author$project$Elm$val('MsgGlobal'),
|
|
38428
38208
|
A2(
|
|
38429
38209
|
$author$project$Elm$apply,
|
|
@@ -38741,7 +38521,7 @@ var $author$project$GenerateMain$otherFile = F2(
|
|
|
38741
38521
|
}(),
|
|
38742
38522
|
gotBatchSub: function () {
|
|
38743
38523
|
if (phase.$ === 'Browser') {
|
|
38744
|
-
return $author$project$
|
|
38524
|
+
return $author$project$GenerateMain$subNone;
|
|
38745
38525
|
} else {
|
|
38746
38526
|
return $author$project$GenerateMain$applyIdentityTo(
|
|
38747
38527
|
$author$project$Elm$val('gotBatchSub'));
|
|
Binary file
|
|
@@ -75,7 +75,7 @@ console.elmlog = (str) => logs.push(str + "\n");
|
|
|
75
75
|
const { Elm } = require("./Runner.elm.js");
|
|
76
76
|
|
|
77
77
|
// Start the Elm app
|
|
78
|
-
const flags = { initialSeed:
|
|
78
|
+
const flags = { initialSeed: 4148740016, fuzzRuns: 100, filter: null };
|
|
79
79
|
const app = Elm.Runner.init({ flags: flags });
|
|
80
80
|
|
|
81
81
|
// Record the timing at which we received the last "runTest" message
|