tpmkms_4wp 8.9.1-beta.19 → 8.9.1-beta.20
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/dialogues.js +18 -4
- package/common/wp.js +4 -3
- package/package.json +2 -2
package/common/dialogues.js
CHANGED
@@ -36,6 +36,15 @@ const warningSameNotEvaluated = (log, one) => {
|
|
36
36
|
log(indent(message, 4))
|
37
37
|
}
|
38
38
|
|
39
|
+
const listorama = (type) => {
|
40
|
+
return [
|
41
|
+
{ context: [[type, 0], ['list', 0], [type, 0]], choose: 0 },
|
42
|
+
{ context: [[type, 1], ['list', 0], [type, 0]], choose: 0 },
|
43
|
+
{ context: [[type, 1], ['list', 0], [type, 1]], choose: 0 },
|
44
|
+
]
|
45
|
+
}
|
46
|
+
|
47
|
+
|
39
48
|
// TODO implement what / what did you say ...
|
40
49
|
const config = {
|
41
50
|
name: 'dialogues',
|
@@ -108,7 +117,8 @@ const config = {
|
|
108
117
|
[['unknown', 1], ['isEd', 0], ['isEdAble', 0]],
|
109
118
|
[['unknown', 0], ['isEd', 0], ['isEdAble', 0]],
|
110
119
|
[["isEd",0],["unknown",1],["isEdAble",0]],
|
111
|
-
//
|
120
|
+
// ...listorama('unknown'),
|
121
|
+
// ...listorama('queryable'),
|
112
122
|
]
|
113
123
|
},
|
114
124
|
bridges: [
|
@@ -122,10 +132,14 @@ const config = {
|
|
122
132
|
|
123
133
|
{
|
124
134
|
id: 'queryable',
|
125
|
-
children: [
|
126
|
-
|
127
|
-
|
135
|
+
children: [ 'negatable' ],
|
136
|
+
},
|
137
|
+
/*
|
138
|
+
{
|
139
|
+
id: 'queryable',
|
140
|
+
level: 1,
|
128
141
|
},
|
142
|
+
*/
|
129
143
|
{
|
130
144
|
id: 'makeObject',
|
131
145
|
bridge: "{ ...next(operator), object: after[0] }",
|
package/common/wp.js
CHANGED
@@ -28,15 +28,17 @@ const instance = require('./wp.instance.json')
|
|
28
28
|
in the second paragraph bold the first word
|
29
29
|
in the second paragraph bold the first letter of the words that start with t
|
30
30
|
underline the first bolded word
|
31
|
+
underline the first three words
|
31
32
|
|
32
33
|
current
|
33
34
|
|
34
|
-
|
35
|
+
in the first and second paragraph bold the first word
|
35
36
|
|
36
37
|
todo
|
37
38
|
|
38
39
|
underline the last three words
|
39
40
|
underline the first three bolded words
|
41
|
+
for paragraph 1 and 2 bold the first word
|
40
42
|
in the second paragraph for the words that start with t bold the first letter
|
41
43
|
underline the bolded paragraphs
|
42
44
|
bold the first three words after the second bolded letter
|
@@ -272,8 +274,6 @@ template = {
|
|
272
274
|
const { context, contexts } = args
|
273
275
|
for (let i = context.context_index + 1; i < contexts.length; ++i) {
|
274
276
|
if (contexts[i].marker == 'applyStyle_wp') {
|
275
|
-
debugger
|
276
|
-
debugger
|
277
277
|
const element = contexts[i].element
|
278
278
|
if (!element.context) {
|
279
279
|
element.context = []
|
@@ -378,6 +378,7 @@ template = {
|
|
378
378
|
},
|
379
379
|
],
|
380
380
|
priorities: [
|
381
|
+
{ "context": [['ordinal', 1], ['list', 0], ['ordinal', 1], ['statefulElement_wp', 0]], ordered: true, choose: [1] },
|
381
382
|
{ "context": [['word_wp', 1], ['wordComparisonWithVerb_wp', 0], ['comparisonWith_wp', 1], ['statefulElementInContext_wp', 0]], ordered: true, choose: [1] },
|
382
383
|
{ "context": [['paragraphComparisonVerb_wp', 0], ['word_wp', 0], ['wordComparisonWithVerb_wp', 0]], ordered: true, choose: [2] },
|
383
384
|
{ "context": [['statefulElementInContext_wp', 0], ['word_wp', 0], ['wordComparisonWithVerb_wp', 0]], ordered: true, choose: [2] },
|
package/package.json
CHANGED
@@ -320,8 +320,8 @@
|
|
320
320
|
"scriptjs": "^2.5.9",
|
321
321
|
"table": "^6.7.1",
|
322
322
|
"uuid": "^9.0.0",
|
323
|
-
"theprogrammablemind_4wp": "8.9.1-beta.
|
323
|
+
"theprogrammablemind_4wp": "8.9.1-beta.20"
|
324
324
|
},
|
325
|
-
"version": "8.9.1-beta.
|
325
|
+
"version": "8.9.1-beta.20",
|
326
326
|
"license": "UNLICENSED"
|
327
327
|
}
|