tpmkms_4wp 9.1.1 → 9.2.0-beta.1
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/animals.instance.json +21 -8
- package/common/articles.js +3 -0
- package/common/asking.test.json +193 -72
- package/common/avatar.js +0 -6
- package/common/colors.instance.json +32 -18
- package/common/comparable.instance.json +3 -0
- package/common/comparable.js +6 -0
- package/common/concept.js +1 -1
- package/common/crew.instance.json +4885 -1224
- package/common/crew.js +0 -7
- package/common/crew.test.json +1904 -0
- package/common/dates.instance.json +28562 -0
- package/common/dates.js +152 -0
- package/common/dates.test.json +10239 -0
- package/common/dialogues.js +30 -10
- package/common/dimension.instance.json +3 -2
- package/common/edible.instance.json +1292 -517
- package/common/emotions.instance.json +7 -14
- package/common/emotions.js +4 -5
- package/common/events.js +3 -3
- package/common/events.test.json +107 -36
- package/common/fastfood.instance.json +4649 -13349
- package/common/fastfood.js +2 -1
- package/common/formulas.instance.json +1 -0
- package/common/formulas.js +3 -1
- package/common/formulas.test.json +643 -711
- package/common/gdefaults.js +14 -0
- package/common/helpers/concept.js +7 -2
- package/common/helpers/dialogues.js +4 -1
- package/common/helpers/menus.js +154 -0
- package/common/helpers/properties.js +2 -27
- package/common/helpers.js +57 -0
- package/common/hierarchy.js +4 -3
- package/common/kirk.instance.json +156 -10
- package/common/length.instance.json +17 -2
- package/common/math.instance.json +1 -0
- package/common/menus.instance.json +10097 -0
- package/common/menus.js +261 -0
- package/common/menus.test.json +27226 -0
- package/common/meta.js +3 -3
- package/common/negation.js +5 -0
- package/common/ordering.instance.json +4 -2
- package/common/people.instance.json +96 -8
- package/common/pipboy.instance.json +61 -135
- package/common/pipboy.js +0 -7
- package/common/pokemon.instance.json +15 -2
- package/common/pressure.instance.json +6 -2
- package/common/properties.instance.json +1 -0
- package/common/properties.js +20 -5
- package/common/punctuation.js +3 -0
- package/common/reports.instance.json +6 -3
- package/common/reports.js +12 -3
- package/common/sdefaults.js +28 -3
- package/common/spock.instance.json +156 -10
- package/common/stm.js +2 -1
- package/common/temperature.instance.json +150 -2
- package/common/tester.js +24 -2
- package/common/ui.instance.json +446 -0
- package/common/ui.js +9 -4
- package/common/ui.test.json +6794 -0
- package/common/weight.instance.json +14 -0
- package/common/wp.instance.json +6497 -9
- package/common/wp.js +10 -0
- package/main.js +4 -0
- package/package.json +12 -3
@@ -430,6 +430,7 @@
|
|
430
430
|
"level": 1,
|
431
431
|
"context_index": 1,
|
432
432
|
"topLevel": true,
|
433
|
+
"context_id": 2,
|
433
434
|
"touchedBy": [
|
434
435
|
"pokemon#call2"
|
435
436
|
]
|
@@ -1196,6 +1197,7 @@
|
|
1196
1197
|
"level": 2,
|
1197
1198
|
"context_index": 1,
|
1198
1199
|
"topLevel": true,
|
1200
|
+
"context_id": 2,
|
1199
1201
|
"touchedBy": [
|
1200
1202
|
"pokemon#call2"
|
1201
1203
|
]
|
@@ -2216,10 +2218,10 @@
|
|
2216
2218
|
"start": 17,
|
2217
2219
|
"end": 22
|
2218
2220
|
},
|
2221
|
+
"dead": true,
|
2219
2222
|
"types": [
|
2220
2223
|
"unknown"
|
2221
2224
|
],
|
2222
|
-
"dead": true,
|
2223
2225
|
"level": 0
|
2224
2226
|
},
|
2225
2227
|
{
|
@@ -2232,10 +2234,10 @@
|
|
2232
2234
|
"start": 28,
|
2233
2235
|
"end": 34
|
2234
2236
|
},
|
2237
|
+
"dead": true,
|
2235
2238
|
"types": [
|
2236
2239
|
"unknown"
|
2237
2240
|
],
|
2238
|
-
"dead": true,
|
2239
2241
|
"level": 0
|
2240
2242
|
}
|
2241
2243
|
],
|
@@ -2262,6 +2264,7 @@
|
|
2262
2264
|
"level": 2,
|
2263
2265
|
"context_index": 1,
|
2264
2266
|
"topLevel": true,
|
2267
|
+
"context_id": 2,
|
2265
2268
|
"touchedBy": [
|
2266
2269
|
"pokemon#call2"
|
2267
2270
|
]
|
@@ -3643,6 +3646,7 @@
|
|
3643
3646
|
"level": 1,
|
3644
3647
|
"context_index": 1,
|
3645
3648
|
"topLevel": true,
|
3649
|
+
"context_id": 2,
|
3646
3650
|
"touchedBy": [
|
3647
3651
|
"pokemon#call2"
|
3648
3652
|
]
|
@@ -4578,6 +4582,7 @@
|
|
4578
4582
|
"level": 1,
|
4579
4583
|
"context_index": 1,
|
4580
4584
|
"topLevel": true,
|
4585
|
+
"context_id": 2,
|
4581
4586
|
"touchedBy": [
|
4582
4587
|
"pokemon#call2"
|
4583
4588
|
]
|
@@ -5603,6 +5608,7 @@
|
|
5603
5608
|
"level": 1,
|
5604
5609
|
"context_index": 1,
|
5605
5610
|
"topLevel": true,
|
5611
|
+
"context_id": 2,
|
5606
5612
|
"touchedBy": [
|
5607
5613
|
"pokemon#call2"
|
5608
5614
|
]
|
@@ -6718,6 +6724,7 @@
|
|
6718
6724
|
"level": 1,
|
6719
6725
|
"context_index": 1,
|
6720
6726
|
"topLevel": true,
|
6727
|
+
"context_id": 2,
|
6721
6728
|
"touchedBy": [
|
6722
6729
|
"pokemon#call2"
|
6723
6730
|
]
|
@@ -8056,6 +8063,7 @@
|
|
8056
8063
|
"level": 2,
|
8057
8064
|
"context_index": 1,
|
8058
8065
|
"topLevel": true,
|
8066
|
+
"context_id": 2,
|
8059
8067
|
"touchedBy": [
|
8060
8068
|
"pokemon#call2"
|
8061
8069
|
]
|
@@ -9580,6 +9588,7 @@
|
|
9580
9588
|
"level": 2,
|
9581
9589
|
"context_index": 1,
|
9582
9590
|
"topLevel": true,
|
9591
|
+
"context_id": 2,
|
9583
9592
|
"touchedBy": [
|
9584
9593
|
"pokemon#call2"
|
9585
9594
|
]
|
@@ -11109,6 +11118,7 @@
|
|
11109
11118
|
"level": 2,
|
11110
11119
|
"context_index": 1,
|
11111
11120
|
"topLevel": true,
|
11121
|
+
"context_id": 2,
|
11112
11122
|
"touchedBy": [
|
11113
11123
|
"pokemon#call2"
|
11114
11124
|
]
|
@@ -12643,6 +12653,7 @@
|
|
12643
12653
|
"level": 2,
|
12644
12654
|
"context_index": 1,
|
12645
12655
|
"topLevel": true,
|
12656
|
+
"context_id": 2,
|
12646
12657
|
"touchedBy": [
|
12647
12658
|
"pokemon#call2"
|
12648
12659
|
]
|
@@ -14157,6 +14168,7 @@
|
|
14157
14168
|
"level": 2,
|
14158
14169
|
"context_index": 1,
|
14159
14170
|
"topLevel": true,
|
14171
|
+
"context_id": 2,
|
14160
14172
|
"touchedBy": [
|
14161
14173
|
"pokemon#call2"
|
14162
14174
|
]
|
@@ -15667,6 +15679,7 @@
|
|
15667
15679
|
"level": 2,
|
15668
15680
|
"context_index": 1,
|
15669
15681
|
"topLevel": true,
|
15682
|
+
"context_id": 2,
|
15670
15683
|
"touchedBy": [
|
15671
15684
|
"pokemon#call2"
|
15672
15685
|
]
|
@@ -1163,6 +1163,7 @@
|
|
1163
1163
|
"level": 2,
|
1164
1164
|
"context_index": 1,
|
1165
1165
|
"topLevel": true,
|
1166
|
+
"context_id": 2,
|
1166
1167
|
"touchedBy": [
|
1167
1168
|
"pressure#call2"
|
1168
1169
|
]
|
@@ -2684,10 +2685,10 @@
|
|
2684
2685
|
"start": 0,
|
2685
2686
|
"end": 6
|
2686
2687
|
},
|
2688
|
+
"dead": true,
|
2687
2689
|
"types": [
|
2688
2690
|
"unknown"
|
2689
2691
|
],
|
2690
|
-
"dead": true,
|
2691
2692
|
"level": 0
|
2692
2693
|
},
|
2693
2694
|
{
|
@@ -2700,10 +2701,10 @@
|
|
2700
2701
|
"start": 12,
|
2701
2702
|
"end": 22
|
2702
2703
|
},
|
2704
|
+
"dead": true,
|
2703
2705
|
"types": [
|
2704
2706
|
"unknown"
|
2705
2707
|
],
|
2706
|
-
"dead": true,
|
2707
2708
|
"level": 0
|
2708
2709
|
}
|
2709
2710
|
],
|
@@ -2780,6 +2781,7 @@
|
|
2780
2781
|
"level": 2,
|
2781
2782
|
"context_index": 1,
|
2782
2783
|
"topLevel": true,
|
2784
|
+
"context_id": 2,
|
2783
2785
|
"touchedBy": [
|
2784
2786
|
"pressure#call2"
|
2785
2787
|
]
|
@@ -4663,6 +4665,7 @@
|
|
4663
4665
|
"level": 1,
|
4664
4666
|
"context_index": 1,
|
4665
4667
|
"topLevel": true,
|
4668
|
+
"context_id": 2,
|
4666
4669
|
"touchedBy": [
|
4667
4670
|
"pressure#call2"
|
4668
4671
|
]
|
@@ -6337,6 +6340,7 @@
|
|
6337
6340
|
"level": 1,
|
6338
6341
|
"context_index": 1,
|
6339
6342
|
"topLevel": true,
|
6343
|
+
"context_id": 2,
|
6340
6344
|
"touchedBy": [
|
6341
6345
|
"pressure#call2"
|
6342
6346
|
]
|
package/common/properties.js
CHANGED
@@ -83,7 +83,9 @@ const config = {
|
|
83
83
|
name: 'properties',
|
84
84
|
associations: {
|
85
85
|
positive: [
|
86
|
-
{ context: [["the",0],["unknown",0],["propertyOf",0],["unknown",0],["is",0],["unknown",0]], choose: 4 },
|
86
|
+
{ context: [["the",0],["unknown",0],["propertyOf",0],["unknown",0],["is",0],["unknown",0]], choose: { index: 4, increment: true } },
|
87
|
+
{ context: [["objectPrefix",0],["unknown",0]], choose: 1 },
|
88
|
+
{ context: [["unknown",0],["propertyOf", 0],["unknown",0]], choose: 0 },
|
87
89
|
]
|
88
90
|
},
|
89
91
|
|
@@ -430,9 +432,9 @@ const config = {
|
|
430
432
|
{
|
431
433
|
where: where(),
|
432
434
|
match: ({context}) => context.marker == 'concept' && context.same,
|
433
|
-
apply: (
|
434
|
-
const
|
435
|
-
|
435
|
+
apply: (args) => {
|
436
|
+
const {context} = args
|
437
|
+
args.makeObject({ ...args, context: context.same })
|
436
438
|
context.sameWasProcessed = true
|
437
439
|
}
|
438
440
|
},
|
@@ -541,10 +543,15 @@ const config = {
|
|
541
543
|
where: where(),
|
542
544
|
// match: ({context}) => context.marker == 'property' && context.same && context.object,
|
543
545
|
match: ({context, hierarchy, uuid}) => hierarchy.isA(context.marker, 'property') && context.same && context.objects && !context[`disable${uuid}`],
|
544
|
-
apply: async (
|
546
|
+
apply: async (args) => {
|
547
|
+
const {context, fragments, objects, km, api, log, s, uuid} = args
|
548
|
+
// greg55
|
545
549
|
const objectContext = context.object;
|
546
550
|
const propertyContext = context;
|
547
551
|
const objectId = context.object.value
|
552
|
+
|
553
|
+
api.makeObject({ ...args, context: objectContext })
|
554
|
+
api.makeObject({ ...args, context: propertyContext })
|
548
555
|
// const propertyId = context.value
|
549
556
|
/*
|
550
557
|
const propertyId = context.marker
|
@@ -669,10 +676,18 @@ const config = {
|
|
669
676
|
]
|
670
677
|
};
|
671
678
|
|
679
|
+
const initializer = ({objects, config, isModule}) => {
|
680
|
+
// debugger
|
681
|
+
config.addArgs(({config, api, isA}) => ({
|
682
|
+
makeObject: api('properties').makeObject,
|
683
|
+
}))
|
684
|
+
}
|
685
|
+
|
672
686
|
knowledgeModule( {
|
673
687
|
config,
|
674
688
|
api: () => new API(),
|
675
689
|
includes: [concept, meta, dialogues],
|
690
|
+
initializer,
|
676
691
|
|
677
692
|
module,
|
678
693
|
description: 'properties of objects',
|
package/common/punctuation.js
CHANGED
@@ -16,18 +16,21 @@ const config = {
|
|
16
16
|
{
|
17
17
|
id: "comma",
|
18
18
|
level: 0,
|
19
|
+
skipable: true,
|
19
20
|
bridge: "{ ...before[0], decorators.after: operator, no_convolutions: true }", // css :after decoration
|
20
21
|
words: [{ word: ",", value: ',', depth: '+' }],
|
21
22
|
},
|
22
23
|
{
|
23
24
|
id: "leftParenthesis",
|
24
25
|
level: 0,
|
26
|
+
skipable: true,
|
25
27
|
bridge: "{ ...after[0], parenthesis: '(' }",
|
26
28
|
words: [{ word: "(", value: '(', depth: '+' }],
|
27
29
|
},
|
28
30
|
{
|
29
31
|
id: "rightParenthesis",
|
30
32
|
level: 0,
|
33
|
+
skipable: true,
|
31
34
|
bridge: "{ ...next(operator) }",
|
32
35
|
words: [{ word: ")", value: ')', depth: '-' }],
|
33
36
|
},
|