tpmkms_4wp 9.3.0-beta.48 → 9.3.0-beta.49
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/common/colors.instance.json +28 -0
- package/common/crew.instance.json +36 -36
- package/common/dateTimeSelectors.instance.json +15 -2
- package/common/dateTimeSelectors.js +0 -1
- package/common/dateTimeSelectors.test.json +274 -195
- package/common/dates.instance.json +86 -442
- package/common/dates.js +4 -1
- package/common/dates.test.json +1268 -349
- package/common/edible.instance.json +56 -0
- package/common/fastfood.instance.json +686 -290
- package/common/helpers/dateTimeSelectors.js +1 -1
- package/common/people.instance.json +0 -36
- package/common/pipboy.instance.json +56 -0
- package/common/reports.instance.json +1 -1
- package/common/wp.instance.json +56 -0
- package/package.json +2 -2
@@ -3586,6 +3586,20 @@
|
|
3586
3586
|
0
|
3587
3587
|
]
|
3588
3588
|
],
|
3589
|
+
[
|
3590
|
+
[
|
3591
|
+
"is",
|
3592
|
+
0
|
3593
|
+
],
|
3594
|
+
[
|
3595
|
+
"list",
|
3596
|
+
1
|
3597
|
+
],
|
3598
|
+
[
|
3599
|
+
"unknown",
|
3600
|
+
0
|
3601
|
+
]
|
3602
|
+
],
|
3589
3603
|
[
|
3590
3604
|
[
|
3591
3605
|
"is",
|
@@ -36035,6 +36049,20 @@
|
|
36035
36049
|
0
|
36036
36050
|
]
|
36037
36051
|
],
|
36052
|
+
[
|
36053
|
+
[
|
36054
|
+
"is",
|
36055
|
+
0
|
36056
|
+
],
|
36057
|
+
[
|
36058
|
+
"list",
|
36059
|
+
1
|
36060
|
+
],
|
36061
|
+
[
|
36062
|
+
"unknown",
|
36063
|
+
0
|
36064
|
+
]
|
36065
|
+
],
|
36038
36066
|
[
|
36039
36067
|
[
|
36040
36068
|
"is",
|
@@ -13229,6 +13229,24 @@
|
|
13229
13229
|
0
|
13230
13230
|
]
|
13231
13231
|
],
|
13232
|
+
[
|
13233
|
+
[
|
13234
|
+
"is",
|
13235
|
+
0
|
13236
|
+
],
|
13237
|
+
[
|
13238
|
+
"name",
|
13239
|
+
0
|
13240
|
+
],
|
13241
|
+
[
|
13242
|
+
"possession",
|
13243
|
+
0
|
13244
|
+
],
|
13245
|
+
[
|
13246
|
+
"spock",
|
13247
|
+
0
|
13248
|
+
]
|
13249
|
+
],
|
13232
13250
|
[
|
13233
13251
|
[
|
13234
13252
|
"is",
|
@@ -22668,24 +22686,6 @@
|
|
22668
22686
|
0
|
22669
22687
|
]
|
22670
22688
|
],
|
22671
|
-
[
|
22672
|
-
[
|
22673
|
-
"is",
|
22674
|
-
0
|
22675
|
-
],
|
22676
|
-
[
|
22677
|
-
"mccoy",
|
22678
|
-
0
|
22679
|
-
],
|
22680
|
-
[
|
22681
|
-
"name",
|
22682
|
-
0
|
22683
|
-
],
|
22684
|
-
[
|
22685
|
-
"possession",
|
22686
|
-
0
|
22687
|
-
]
|
22688
|
-
],
|
22689
22689
|
[
|
22690
22690
|
[
|
22691
22691
|
"is",
|
@@ -52528,24 +52528,6 @@
|
|
52528
52528
|
0
|
52529
52529
|
]
|
52530
52530
|
],
|
52531
|
-
[
|
52532
|
-
[
|
52533
|
-
"is",
|
52534
|
-
0
|
52535
|
-
],
|
52536
|
-
[
|
52537
|
-
"mccoy",
|
52538
|
-
0
|
52539
|
-
],
|
52540
|
-
[
|
52541
|
-
"name",
|
52542
|
-
0
|
52543
|
-
],
|
52544
|
-
[
|
52545
|
-
"possession",
|
52546
|
-
0
|
52547
|
-
]
|
52548
|
-
],
|
52549
52531
|
[
|
52550
52532
|
[
|
52551
52533
|
"is",
|
@@ -52714,6 +52696,24 @@
|
|
52714
52696
|
0
|
52715
52697
|
]
|
52716
52698
|
],
|
52699
|
+
[
|
52700
|
+
[
|
52701
|
+
"is",
|
52702
|
+
0
|
52703
|
+
],
|
52704
|
+
[
|
52705
|
+
"name",
|
52706
|
+
0
|
52707
|
+
],
|
52708
|
+
[
|
52709
|
+
"possession",
|
52710
|
+
0
|
52711
|
+
],
|
52712
|
+
[
|
52713
|
+
"spock",
|
52714
|
+
0
|
52715
|
+
]
|
52716
|
+
],
|
52717
52717
|
[
|
52718
52718
|
[
|
52719
52719
|
"is",
|
@@ -11,8 +11,12 @@
|
|
11
11
|
"after": [
|
12
12
|
"preposition"
|
13
13
|
],
|
14
|
+
"isA": [
|
15
|
+
"onDateValue_dates"
|
16
|
+
],
|
14
17
|
"before": [
|
15
|
-
"verb"
|
18
|
+
"verb",
|
19
|
+
"onDate_dates"
|
16
20
|
],
|
17
21
|
"bridge": "{ ...next(operator), day: before[0], month: after[0], operator: operator, interpolate: '${day} ${operator} ${month}' }"
|
18
22
|
},
|
@@ -34,6 +38,10 @@
|
|
34
38
|
}
|
35
39
|
],
|
36
40
|
"semantics": [
|
41
|
+
{
|
42
|
+
"match": "({context, isA}) => context.evaluate && onOrIs('dayOfMonth', context)",
|
43
|
+
"apply": "({context, isProcess, isTest, kms, isA}) => {\n try {\n const now = kms.time.api.now()\n const date = onOrIs('dayOfMonth', context)\n debugger\n context.evalue = dateTimeSelectors_helpers.getNthDayOfMonth(removeDatesSuffix(date.day.value), date.day.ordinal.value || 1, removeDatesSuffix(date.month.value), now)\n } catch ( e ) {\n context.evalue = `Implement instatiate for this type of date. See the dateTimeSelectors KM ${where()}. ${e}`\n }\n }"
|
44
|
+
},
|
37
45
|
{
|
38
46
|
"match": "({context, isA}) => {\n if (!context.evaluate) {\n return false\n }\n if (isA(context.marker, 'onDateValue_dates')) {\n return true\n }\n if (isA(context.marker, 'dateTimeSelector')) {\n return true\n }\n }",
|
39
47
|
"apply": "({context, isProcess, isTest, kms, isA}) => {\n context.evalue = instantiate(kms, isA, isProcess || isTest || context.isTest, context)\n }"
|
@@ -60,8 +68,12 @@
|
|
60
68
|
"after": [
|
61
69
|
"preposition"
|
62
70
|
],
|
71
|
+
"isA": [
|
72
|
+
"onDateValue_dates"
|
73
|
+
],
|
63
74
|
"before": [
|
64
|
-
"verb"
|
75
|
+
"verb",
|
76
|
+
"onDate_dates"
|
65
77
|
],
|
66
78
|
"bridge": "{ ...next(operator), day: before[0], month: after[0], operator: operator, interpolate: '${day} ${operator} ${month}' }"
|
67
79
|
},
|
@@ -83,6 +95,7 @@
|
|
83
95
|
}
|
84
96
|
],
|
85
97
|
"semantics": [
|
98
|
+
{},
|
86
99
|
{}
|
87
100
|
],
|
88
101
|
"hierarchy": [
|
@@ -79,7 +79,6 @@ const template = {
|
|
79
79
|
try {
|
80
80
|
const now = kms.time.api.now()
|
81
81
|
const date = onOrIs('dayOfMonth', context)
|
82
|
-
debugger
|
83
82
|
context.evalue = dateTimeSelectors_helpers.getNthDayOfMonth(removeDatesSuffix(date.day.value), date.day.ordinal.value || 1, removeDatesSuffix(date.month.value), now)
|
84
83
|
} catch ( e ) {
|
85
84
|
context.evalue = `Implement instatiate for this type of date. See the dateTimeSelectors KM ${where()}. ${e}`
|