ekms 9.1.1-beta.0 → 9.1.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.
@@ -5260,36 +5260,6 @@
5260
5260
  0
5261
5261
  ]
5262
5262
  ],
5263
- [
5264
- [
5265
- "celcius",
5266
- 0
5267
- ],
5268
- [
5269
- "divideByOperator",
5270
- 0
5271
- ],
5272
- [
5273
- "equals",
5274
- 0
5275
- ],
5276
- [
5277
- "fahrenheit",
5278
- 0
5279
- ],
5280
- [
5281
- "integer",
5282
- 0
5283
- ],
5284
- [
5285
- "plusOperator",
5286
- 0
5287
- ],
5288
- [
5289
- "timesOperator",
5290
- 0
5291
- ]
5292
- ],
5293
5263
  [
5294
5264
  [
5295
5265
  "celcius",
@@ -7978,32 +7948,6 @@
7978
7948
  0
7979
7949
  ]
7980
7950
  ],
7981
- [
7982
- [
7983
- "celcius",
7984
- 0
7985
- ],
7986
- [
7987
- "divideByOperator",
7988
- 0
7989
- ],
7990
- [
7991
- "equals",
7992
- 0
7993
- ],
7994
- [
7995
- "integer",
7996
- 0
7997
- ],
7998
- [
7999
- "plusOperator",
8000
- 0
8001
- ],
8002
- [
8003
- "timesOperator",
8004
- 0
8005
- ]
8006
- ],
8007
7951
  [
8008
7952
  [
8009
7953
  "celcius",
@@ -9480,36 +9424,6 @@
9480
9424
  0
9481
9425
  ]
9482
9426
  ],
9483
- [
9484
- [
9485
- "celcius",
9486
- 0
9487
- ],
9488
- [
9489
- "divideByOperator",
9490
- 0
9491
- ],
9492
- [
9493
- "equals",
9494
- 0
9495
- ],
9496
- [
9497
- "fahrenheit",
9498
- 0
9499
- ],
9500
- [
9501
- "integer",
9502
- 0
9503
- ],
9504
- [
9505
- "plusOperator",
9506
- 0
9507
- ],
9508
- [
9509
- "timesOperator",
9510
- 0
9511
- ]
9512
- ],
9513
9427
  [
9514
9428
  [
9515
9429
  "celcius",
@@ -9664,32 +9578,6 @@
9664
9578
  0
9665
9579
  ]
9666
9580
  ],
9667
- [
9668
- [
9669
- "celcius",
9670
- 0
9671
- ],
9672
- [
9673
- "divideByOperator",
9674
- 0
9675
- ],
9676
- [
9677
- "equals",
9678
- 0
9679
- ],
9680
- [
9681
- "integer",
9682
- 0
9683
- ],
9684
- [
9685
- "plusOperator",
9686
- 0
9687
- ],
9688
- [
9689
- "timesOperator",
9690
- 0
9691
- ]
9692
- ],
9693
9581
  [
9694
9582
  [
9695
9583
  "celcius",
package/main.js CHANGED
@@ -35,7 +35,6 @@ const punctuation = require('./common/punctuation')
35
35
  const stm = require('./common/stm')
36
36
  const sdefaults = require('./common/sdefaults')
37
37
  const ui = require('./common/ui')
38
- const menus = require('./common/menus')
39
38
  const math = require('./common/math')
40
39
  const formulas = require('./common/formulas')
41
40
  const dimension = require('./common/dimension')
@@ -96,7 +95,6 @@ module.exports = {
96
95
  stm,
97
96
  sdefaults,
98
97
  ui,
99
- menus,
100
98
  math,
101
99
  formulas,
102
100
  dimension,
package/package.json CHANGED
@@ -72,8 +72,7 @@
72
72
  "punctuation",
73
73
  "stm",
74
74
  "sdefaults",
75
- "ui",
76
- "menus"
75
+ "ui"
77
76
  ]
78
77
  },
79
78
  {
@@ -225,9 +224,6 @@
225
224
  "common/math.instance.json",
226
225
  "common/math.js",
227
226
  "common/math.test.json",
228
- "common/menus.instance.json",
229
- "common/menus.js",
230
- "common/menus.test.json",
231
227
  "common/meta.instance.json",
232
228
  "common/meta.js",
233
229
  "common/meta.test.json",
@@ -324,8 +320,8 @@
324
320
  "scriptjs": "^2.5.9",
325
321
  "table": "^6.7.1",
326
322
  "uuid": "^9.0.0",
327
- "theprogrammablemind": "9.1.1-beta.0"
323
+ "theprogrammablemind": "9.1.1"
328
324
  },
329
- "version": "9.1.1-beta.0",
325
+ "version": "9.1.1",
330
326
  "license": "UNLICENSED"
331
327
  }
@@ -1,2 +0,0 @@
1
- {
2
- }
package/common/menus.js DELETED
@@ -1,61 +0,0 @@
1
- const { knowledgeModule, where, Digraph } = require('./runtime').theprogrammablemind
2
- const { defaultContextCheck } = require('./helpers')
3
- const ui = require('./ui')
4
- const menus_tests = require('./menus.test.json')
5
- const menus_instance = require('./menus.instance.json')
6
-
7
- class API {
8
- initialize({ objects }) {
9
- this._objects = objects
10
- }
11
-
12
- move(direction, steps = 1, units = undefined) {
13
- this._objects.move = { direction, steps, units }
14
- }
15
-
16
- select(item) {
17
- this._objects.select = { item }
18
- }
19
-
20
- unselect(item) {
21
- this._objects.unselect = { item }
22
- }
23
-
24
- cancel(direction) {
25
- this._objects.cancel = true
26
- }
27
-
28
- stop(action) {
29
- this._objects.stop = action
30
- }
31
- }
32
-
33
- const config = {
34
- name: 'menus',
35
- };
36
-
37
- const template = {
38
- fragments: [
39
- ],
40
- }
41
-
42
- knowledgeModule({
43
- config,
44
- includes: [ui],
45
- api: () => new API(),
46
-
47
- module,
48
- description: 'Control menues with speech',
49
- test: {
50
- name: './menus.test.json',
51
- contents: menus_tests,
52
- checks: {
53
- objects: ['move', 'select', 'unselect', 'cancel', 'stop'],
54
- context: defaultContextCheck(['operator', 'direction', 'moveable']),
55
- },
56
- },
57
- template: {
58
- template,
59
- instance: menus_instance
60
- }
61
- })
@@ -1,2 +0,0 @@
1
- [
2
- ]