tpmkms_4wp 9.1.1-beta.21 → 9.1.1-beta.23
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/edible.instance.json +56 -0
- package/common/fastfood.instance.json +210 -86
- package/common/helpers/menus.js +22 -0
- package/common/menus.instance.json +2955 -297
- package/common/menus.js +3 -1
- package/common/menus.test.json +2066 -143
- package/common/people.instance.json +0 -36
- package/common/pipboy.instance.json +56 -0
- package/common/reports.instance.json +1 -1
- package/common/ui.instance.json +445 -0
- package/common/ui.js +6 -3
- package/common/ui.test.json +2810 -0
- package/common/wp.instance.json +6146 -0
- package/package.json +2 -2
package/common/menus.js
CHANGED
@@ -21,6 +21,7 @@ class MenusAPI {
|
|
21
21
|
up: helpers.calculateUps(this._objects.menuDefs),
|
22
22
|
down: helpers.calculateDowns(this._objects.menuDefs),
|
23
23
|
parents: helpers.calculateParents(this._objects.menuDefs),
|
24
|
+
paths: helpers.calculatePaths(this._objects.menuDefs),
|
24
25
|
}
|
25
26
|
}
|
26
27
|
|
@@ -130,7 +131,6 @@ const template = {
|
|
130
131
|
associations: ['menus'],
|
131
132
|
bridge: "{ ...next(operator), closee: after[0], generate: ['this', 'closee'] }",
|
132
133
|
semantic: ({context, api}) => {
|
133
|
-
debugger
|
134
134
|
api.close()
|
135
135
|
}
|
136
136
|
},
|
@@ -218,7 +218,9 @@ const fixtures = async ({api, fragment, s, config, objects, kms, isModule}) => {
|
|
218
218
|
const objectMenuId = api.addMenu('object')
|
219
219
|
|
220
220
|
api.addMenuItem(fileMenuId, 'fileOpen', 'open')
|
221
|
+
api.addMenuItem(fileMenuId, 'fileOpenRemote', 'open remote')
|
221
222
|
api.addMenuItem(fileMenuId, 'fileClose', 'close')
|
223
|
+
|
222
224
|
api.addMenuItem(objectMenuId, 'objectOpen', 'open')
|
223
225
|
api.addMenuItem(objectMenuId, 'objectClose', 'close')
|
224
226
|
}
|