@wix/editor 1.543.0 → 1.545.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.
@@ -5,7 +5,7 @@ import * as _wix_sdk_types from '@wix/sdk-types';
5
5
  import { Host } from '@wix/sdk-types';
6
6
  import * as _wix_sdk_runtime_host_modules from '@wix/sdk-runtime/host-modules';
7
7
  import * as _wix_editor_platform_transport from '@wix/editor-platform-transport';
8
- import { IElement, ComponentRef, ElementStyleDefinitions, ElementStyles, ElementStylesUpdate, ElementStylesRemoval, ElementDataDefinitions, ElementData, ElementDataInput, ElementPresetDefinitions, ElementStateDefinitions, ElementLink, BackgroundPickerOptions, DsItem, BuilderStyle, StyleRef, OpenLinkPanelFn, OpenColorPickerFn, ListProvidersOptions, Provider, BindingProperties, UnbindAll, ListBindingsOptions, BindingTargetDetails, findBindingCandidatesOptions, BindingCandidate, SelectBindingOptions, IRouter, IPage } from '@wix/public-editor-platform-interfaces';
8
+ import { IElement, ComponentRef, ElementStyleDefinitions, ElementStyles, ElementStylesUpdate, ElementStylesRemoval, ElementDataDefinitions, ElementData, ElementDataInput, ElementPresetDefinitions, ElementStateDefinitions, ElementLink, BackgroundPickerOptions, DsItem, BuilderStyle, StyleRef, OpenLinkPanelFn, OpenColorPickerFn, ListProvidersOptions, Provider, BindingProperties, BindingDetailsMap, UnbindAll, ListBindingsOptions, BindingTargetDetails, findBindingCandidatesOptions, BindingCandidate, SelectBindingOptions, IRouter, IPage } from '@wix/public-editor-platform-interfaces';
9
9
  export { DataType, ElementA11y, ElementAddressLink, ElementAnchorLink, ElementAudio, ElementData, ElementDataDefinition, ElementDataDefinitions, ElementDataInput, ElementDataObject, ElementDataValue, ElementDirection, ElementDocumentLink, ElementDynamicPageLink, ElementEmailLink, ElementExternalLink, ElementImage, ElementLink, ElementLoginToWixLink, ElementMenuItems, ElementPageLink, ElementPhoneLink, ElementPresetDefinition, ElementPresetDefinitions, ElementRichText, ElementStateDefinition, ElementStateDefinitions, ElementStyleDefinition, ElementStyleDefinitions, ElementStyles, ElementStylesRemoval, ElementStylesUpdate, ElementTextLink, ElementTpaPageLink, ElementVectorArt, ElementVideo, ElementWhatsAppLink, NativeStateType } from '@wix/public-editor-platform-interfaces';
10
10
 
11
11
  declare class Workspace implements NonNullable<WorkspaceHost$1['workspace']> {
@@ -839,9 +839,19 @@ declare class BindingsPublicSDKShape extends BaseSDKShape {
839
839
  protected overriddenApplicationContext: Promise<ApplicationContext> | null;
840
840
  private childPath;
841
841
  constructor(overriddenApplicationContext?: Promise<ApplicationContext> | null, childPath?: number[]);
842
+ /**
843
+ * @deprecated Use {@link setBinding} instead, which takes a flat
844
+ * property-name -> binding dictionary with provider details inlined.
845
+ */
842
846
  bind(bindings: BindingProperties[]): Promise<void>;
847
+ setBinding(bindings: BindingDetailsMap): Promise<void>;
843
848
  unbind(props: string[] | UnbindAll): Promise<void>;
849
+ /**
850
+ * @deprecated Use {@link getBinding} instead, which returns a flat
851
+ * property-name -> binding dictionary with provider details inlined.
852
+ */
844
853
  listBindings(options?: ListBindingsOptions): Promise<BindingProperties[]>;
854
+ getBinding(options?: ListBindingsOptions): Promise<BindingDetailsMap>;
845
855
  findBindingCandidates(bindingTargetDetails: BindingTargetDetails, options?: findBindingCandidatesOptions): Promise<BindingCandidate[]>;
846
856
  selectBinding(options: SelectBindingOptions): Promise<void>;
847
857
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/editor",
3
- "version": "1.543.0",
3
+ "version": "1.545.0",
4
4
  "license": "UNLICENSED",
5
5
  "author": {
6
6
  "name": "Editor Platform <editor-platform-dev@wix.com>",
@@ -31,11 +31,11 @@
31
31
  "*.{js,ts}": "yarn lint"
32
32
  },
33
33
  "dependencies": {
34
- "@wix/editor-platform-contexts": "1.111.0",
35
- "@wix/editor-platform-environment-api": "1.112.0",
34
+ "@wix/editor-platform-contexts": "1.112.0",
35
+ "@wix/editor-platform-environment-api": "1.113.0",
36
36
  "@wix/monitoring-browser-sdk-host": "^0.1.25",
37
37
  "@wix/public-editor-platform-errors": "1.9.0",
38
- "@wix/public-editor-platform-interfaces": "1.54.0",
38
+ "@wix/public-editor-platform-interfaces": "1.55.0",
39
39
  "@wix/sdk-runtime": "^0.7.0",
40
40
  "@wix/sdk-types": "^1.17.8",
41
41
  "@wix/workspace": "^1.3.9"
@@ -69,5 +69,5 @@
69
69
  ]
70
70
  }
71
71
  },
72
- "falconPackageHash": "703dc771eda5cad5eefafcd7ae249900cd1da20cff6d94326276aa58"
72
+ "falconPackageHash": "07a79856bf3219ac83b9443cfc96c17cc0380ec68ffbef3c1b9f27df"
73
73
  }