@wix/editor 1.484.0 → 1.486.0
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/dist/cjs/index.js +19 -12
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +19 -12
- package/dist/esm/index.js.map +1 -1
- package/dist/statics/docs-ts-model.json +109 -109
- package/dist/statics/index.js +19 -12
- package/dist/statics/index.js.map +1 -1
- package/dist/types/index.d.ts +3 -1
- package/package.json +5 -5
package/dist/esm/index.js
CHANGED
|
@@ -1626,21 +1626,28 @@ class BindingsPublicSDKShape extends BaseSDKShape {
|
|
|
1626
1626
|
);
|
|
1627
1627
|
return result;
|
|
1628
1628
|
}
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1629
|
+
async findBindingCandidates(bindingTargetDetails) {
|
|
1630
|
+
const privateAPI = await this.getPlatformPrivateAPI();
|
|
1631
|
+
const manifestContextId = await this.getRequiredManifestContextId();
|
|
1632
|
+
return privateAPI.bindings.findBindingCandidates(
|
|
1633
|
+
manifestContextId,
|
|
1634
|
+
this.childPath,
|
|
1635
|
+
bindingTargetDetails
|
|
1636
|
+
);
|
|
1637
|
+
}
|
|
1638
|
+
async selectBinding(options) {
|
|
1639
|
+
const privateAPI = await this.getPlatformPrivateAPI();
|
|
1640
|
+
const manifestContextId = await this.getRequiredManifestContextId();
|
|
1641
|
+
await privateAPI.bindings.selectBinding(
|
|
1642
|
+
manifestContextId,
|
|
1643
|
+
this.childPath,
|
|
1644
|
+
options
|
|
1645
|
+
);
|
|
1646
|
+
}
|
|
1640
1647
|
}
|
|
1641
1648
|
const bindingsPublicSDKShape = new PlatformSDKShape(
|
|
1642
1649
|
BindingsPublicSDKShape
|
|
1643
|
-
).withPublicMethod("bind").withPublicMethod("unbind").withPublicMethod("listBindings").build();
|
|
1650
|
+
).withPublicMethod("bind").withPublicMethod("unbind").withPublicMethod("listBindings").withPublicMethod("findBindingCandidates").withPublicMethod("selectBinding").build();
|
|
1644
1651
|
|
|
1645
1652
|
class Workspace {
|
|
1646
1653
|
constructor(applicationContext) {
|