tpmkms_4wp 9.5.1-beta.21 → 9.5.1-beta.24
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/asking.js +5 -2
- package/common/can.instance.json +4 -10
- package/common/can.test.json +609 -8
- package/common/colors.instance.json +0 -28
- package/common/conjunction.test.json +32 -42
- package/common/crew.instance.json +0 -104
- package/common/dateTimeSelectors.instance.json +2 -2
- package/common/dateTimeSelectors.js +3 -3
- package/common/dateTimeSelectors.test.json +2229 -1560
- package/common/dates.instance.json +0 -84
- package/common/dates.test.json +284 -287
- package/common/dialogues.test.json +1171 -996
- package/common/dimension.instance.json +3 -3
- package/common/dimension.js +16 -7
- package/common/edible.instance.json +72 -56
- package/common/fastfood.instance.json +149 -121
- package/common/fastfood.test.json +6970 -6829
- package/common/gdefaults.js +5 -3
- package/common/helpers/dialogues.js +6 -1
- package/common/helpers/properties.js +2 -2
- package/common/helpers.js +30 -1
- package/common/length.instance.json +5069 -1358
- package/common/length.js +2 -1
- package/common/length.test.json +9010 -1241
- package/common/menus.instance.json +3 -6
- package/common/menus.js +1 -8
- package/common/numbers.js +1 -1
- package/common/ordering.test.json +104 -174
- package/common/people.instance.json +37 -101
- package/common/pipboy.instance.json +0 -56
- package/common/pressure.instance.json +105 -25
- package/common/properties.instance.json +2 -5
- package/common/properties.js +3 -3
- package/common/properties.test.json +8746 -6638
- package/common/rates.instance.json +57 -0
- package/common/rates.js +94 -0
- package/common/rates.test.json +25771 -0
- package/common/reminders.test.json +1641 -1601
- package/common/reports.instance.json +2 -2
- package/common/tank.instance.json +14862 -0
- package/common/tank.js +407 -0
- package/common/tank.test.json +56670 -0
- package/common/temperature.instance.json +136 -56
- package/common/time.instance.json +20298 -0
- package/common/time.js +150 -139
- package/common/time.test.json +13080 -2233
- package/common/ui.instance.json +2 -5
- package/common/ui.js +1 -8
- package/common/weight.instance.json +522 -182
- package/common/weight.test.json +2590 -2240
- package/common/wp.instance.json +74 -58
- package/common/wp.test.json +4145 -7135
- package/main.js +4 -0
- package/package.json +11 -2
package/common/ui.instance.json
CHANGED
|
@@ -962,10 +962,7 @@
|
|
|
962
962
|
"level": 1,
|
|
963
963
|
"context_index": 1,
|
|
964
964
|
"topLevel": true,
|
|
965
|
-
"context_id": 2
|
|
966
|
-
"touchedBy": [
|
|
967
|
-
"ui#call2"
|
|
968
|
-
]
|
|
965
|
+
"context_id": 2
|
|
969
966
|
}
|
|
970
967
|
],
|
|
971
968
|
"generated": [
|
|
@@ -1041,7 +1038,7 @@
|
|
|
1041
1038
|
"learned_contextual_priorities": [],
|
|
1042
1039
|
"rtf_associations": [],
|
|
1043
1040
|
"query": "move direction",
|
|
1044
|
-
"skipSemantics":
|
|
1041
|
+
"skipSemantics": true,
|
|
1045
1042
|
"key": {
|
|
1046
1043
|
"query": "move direction"
|
|
1047
1044
|
}
|
package/common/ui.js
CHANGED
|
@@ -63,14 +63,7 @@ const config = {
|
|
|
63
63
|
where: where(),
|
|
64
64
|
match: ({context, isA}) => isA(context, 'direction'),
|
|
65
65
|
apply: async ({context, insert, s, fragments}) => {
|
|
66
|
-
const
|
|
67
|
-
const fragment = fragments("move direction")
|
|
68
|
-
const mappings = [{
|
|
69
|
-
where: where(),
|
|
70
|
-
match: ({context}) => context.value == 'direction',
|
|
71
|
-
apply: ({context}) => Object.assign(context, direction),
|
|
72
|
-
}]
|
|
73
|
-
const instantiation = await fragment.instantiate(mappings)
|
|
66
|
+
const instantiation = await fragments("move direction", { direction: context })
|
|
74
67
|
await s(instantiation)
|
|
75
68
|
}
|
|
76
69
|
},
|