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/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
  }