@node-projects/web-component-designer 0.1.146 → 0.1.147
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.
|
@@ -302,14 +302,18 @@ export class AbstractPropertiesService {
|
|
|
302
302
|
let binding = property.service.getBinding(designItems, property);
|
|
303
303
|
designItems[0].serviceContainer.config.openBindingsEditor(property, designItems, binding, target);
|
|
304
304
|
}
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
title: 'clear binding', action: () => {
|
|
308
|
-
property.service.clearValue(designItems, property, 'binding');
|
|
309
|
-
designItems[0].instanceServiceContainer.designerCanvas.extensionManager.refreshAllExtensions(designItems);
|
|
310
|
-
}
|
|
311
305
|
}
|
|
312
306
|
]);
|
|
307
|
+
if (property.service.isSet(designItems, property) == ValueType.bound) {
|
|
308
|
+
ctxMenuItems.push(...[
|
|
309
|
+
{
|
|
310
|
+
title: 'clear binding', action: () => {
|
|
311
|
+
property.service.clearValue(designItems, property, 'binding');
|
|
312
|
+
designItems[0].instanceServiceContainer.designerCanvas.extensionManager.refreshAllExtensions(designItems);
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
]);
|
|
316
|
+
}
|
|
313
317
|
}
|
|
314
318
|
;
|
|
315
319
|
return ctxMenuItems;
|
package/package.json
CHANGED