@wix/editor 1.484.0 → 1.485.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/cjs/index.js
CHANGED
|
@@ -1628,21 +1628,28 @@ class BindingsPublicSDKShape extends BaseSDKShape {
|
|
|
1628
1628
|
);
|
|
1629
1629
|
return result;
|
|
1630
1630
|
}
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1631
|
+
async findBindingCandidates(bindingTargetDetails) {
|
|
1632
|
+
const privateAPI = await this.getPlatformPrivateAPI();
|
|
1633
|
+
const manifestContextId = await this.getRequiredManifestContextId();
|
|
1634
|
+
return privateAPI.bindings.findBindingCandidates(
|
|
1635
|
+
manifestContextId,
|
|
1636
|
+
this.childPath,
|
|
1637
|
+
bindingTargetDetails
|
|
1638
|
+
);
|
|
1639
|
+
}
|
|
1640
|
+
async selectBinding(options) {
|
|
1641
|
+
const privateAPI = await this.getPlatformPrivateAPI();
|
|
1642
|
+
const manifestContextId = await this.getRequiredManifestContextId();
|
|
1643
|
+
await privateAPI.bindings.selectBinding(
|
|
1644
|
+
manifestContextId,
|
|
1645
|
+
this.childPath,
|
|
1646
|
+
options
|
|
1647
|
+
);
|
|
1648
|
+
}
|
|
1642
1649
|
}
|
|
1643
1650
|
const bindingsPublicSDKShape = new PlatformSDKShape(
|
|
1644
1651
|
BindingsPublicSDKShape
|
|
1645
|
-
).withPublicMethod("bind").withPublicMethod("unbind").withPublicMethod("listBindings").build();
|
|
1652
|
+
).withPublicMethod("bind").withPublicMethod("unbind").withPublicMethod("listBindings").withPublicMethod("findBindingCandidates").withPublicMethod("selectBinding").build();
|
|
1646
1653
|
|
|
1647
1654
|
class Workspace {
|
|
1648
1655
|
constructor(applicationContext) {
|