@wix/editor 1.462.0 → 1.463.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 +15 -14
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +15 -14
- package/dist/esm/index.js.map +1 -1
- package/dist/statics/docs-ts-model.json +180 -180
- package/dist/statics/index.js +15 -14
- package/dist/statics/index.js.map +1 -1
- package/dist/types/index.d.ts +5 -9
- package/package.json +5 -5
package/dist/esm/index.js
CHANGED
|
@@ -1474,24 +1474,24 @@ class ProvidersPublicSDKShape extends BaseSDKShape {
|
|
|
1474
1474
|
this.overriddenApplicationContext = overriddenApplicationContext;
|
|
1475
1475
|
this.childPath = childPath;
|
|
1476
1476
|
}
|
|
1477
|
-
async attach(
|
|
1477
|
+
async attach(providerIdentifier, data) {
|
|
1478
1478
|
const privateAPI = await this.getPlatformPrivateAPI();
|
|
1479
1479
|
const manifestContextId = await this.getRequiredManifestContextId();
|
|
1480
1480
|
const result = await privateAPI.providers.attach(
|
|
1481
1481
|
manifestContextId,
|
|
1482
1482
|
this.childPath,
|
|
1483
|
-
|
|
1483
|
+
providerIdentifier,
|
|
1484
1484
|
data
|
|
1485
1485
|
);
|
|
1486
1486
|
return result;
|
|
1487
1487
|
}
|
|
1488
|
-
async detach(
|
|
1488
|
+
async detach(providerIdentifier) {
|
|
1489
1489
|
const privateAPI = await this.getPlatformPrivateAPI();
|
|
1490
1490
|
const manifestContextId = await this.getRequiredManifestContextId();
|
|
1491
1491
|
const result = await privateAPI.providers.detach(
|
|
1492
1492
|
manifestContextId,
|
|
1493
1493
|
this.childPath,
|
|
1494
|
-
|
|
1494
|
+
providerIdentifier
|
|
1495
1495
|
);
|
|
1496
1496
|
return result;
|
|
1497
1497
|
}
|
|
@@ -1552,20 +1552,21 @@ class BindingsPublicSDKShape extends BaseSDKShape {
|
|
|
1552
1552
|
);
|
|
1553
1553
|
return result;
|
|
1554
1554
|
}
|
|
1555
|
+
// TODO: [EP-8188] Connect the findBindingCandidates implementation when it Available
|
|
1555
1556
|
// finds the available binding options for the target prop of the provided component
|
|
1556
|
-
async findBindingCandidates(propPath) {
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
}
|
|
1557
|
+
// async findBindingCandidates(propPath: string): Promise<BindingCandidate[]> {
|
|
1558
|
+
// const privateAPI = await this.getPlatformPrivateAPI();
|
|
1559
|
+
// const manifestContextId = await this.getRequiredManifestContextId();
|
|
1560
|
+
// return privateAPI.bindings.findBindingCandidates(
|
|
1561
|
+
// manifestContextId,
|
|
1562
|
+
// this.childPath,
|
|
1563
|
+
// propPath,
|
|
1564
|
+
// );
|
|
1565
|
+
// }
|
|
1565
1566
|
}
|
|
1566
1567
|
const bindingsPublicSDKShape = new PlatformSDKShape(
|
|
1567
1568
|
BindingsPublicSDKShape
|
|
1568
|
-
).withPublicMethod("bind").withPublicMethod("unbind").withPublicMethod("listBindings").
|
|
1569
|
+
).withPublicMethod("bind").withPublicMethod("unbind").withPublicMethod("listBindings").build();
|
|
1569
1570
|
|
|
1570
1571
|
class Workspace {
|
|
1571
1572
|
constructor(applicationContext) {
|