@node-projects/web-component-designer 0.1.147 → 0.1.148
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.
|
@@ -191,11 +191,14 @@ export class ContextMenu {
|
|
|
191
191
|
else {
|
|
192
192
|
if (item.action)
|
|
193
193
|
li.addEventListener('click', (e) => {
|
|
194
|
+
e.stopPropagation();
|
|
195
|
+
e.preventDefault();
|
|
194
196
|
item.action(e, item, this.context, this);
|
|
195
197
|
this.close();
|
|
196
198
|
});
|
|
197
199
|
if (this.options?.mode == 'undo') {
|
|
198
200
|
li.addEventListener('mouseup', (e) => {
|
|
201
|
+
e.stopPropagation();
|
|
199
202
|
item.action(e, item, this.context, this);
|
|
200
203
|
this.close();
|
|
201
204
|
});
|
|
@@ -25,6 +25,7 @@ export declare class PropertyGrid extends BaseCustomWebComponentLazyAppend {
|
|
|
25
25
|
selectedItems: ArrayConstructor;
|
|
26
26
|
propertyGroupHover: FunctionConstructor;
|
|
27
27
|
propertyGroupClick: FunctionConstructor;
|
|
28
|
+
propertyContextMenuProvider: FunctionConstructor;
|
|
28
29
|
};
|
|
29
30
|
constructor();
|
|
30
31
|
set serviceContainer(value: ServiceContainer);
|
|
@@ -34,7 +34,8 @@ export class PropertyGrid extends BaseCustomWebComponentLazyAppend {
|
|
|
34
34
|
instanceServiceContainer: Object,
|
|
35
35
|
selectedItems: Array,
|
|
36
36
|
propertyGroupHover: Function,
|
|
37
|
-
propertyGroupClick: Function
|
|
37
|
+
propertyGroupClick: Function,
|
|
38
|
+
propertyContextMenuProvider: Function
|
|
38
39
|
};
|
|
39
40
|
constructor() {
|
|
40
41
|
super();
|
package/package.json
CHANGED