@wix/editor 1.538.0 → 1.540.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.
@@ -1,20 +1,23 @@
1
1
  import * as _wix_editor_platform_contexts from '@wix/editor-platform-contexts';
2
2
  import { ApplicationContext, AppEventPayload, AllowedEvents } from '@wix/editor-platform-contexts';
3
- import { WorkspaceHost as WorkspaceHost$1, AppsNamespace } from '@wix/workspace';
3
+ import { WorkspaceHost as WorkspaceHost$1, AppsNamespace, ToolsNamespace } from '@wix/workspace';
4
4
  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, 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, 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']> {
12
12
  private applicationContext;
13
13
  constructor(applicationContext: Promise<ApplicationContext>);
14
14
  private workspaceAPI;
15
+ private appsAPI;
16
+ private toolsAPI;
15
17
  getContextIds: NonNullable<WorkspaceHost$1['workspace']>['getContextIds'];
16
18
  openItemSelector: NonNullable<WorkspaceHost$1['workspace']>['openItemSelector'];
17
19
  apps: AppsNamespace;
20
+ tools: ToolsNamespace;
18
21
  }
19
22
  declare class WorkspaceHost {
20
23
  #private;
@@ -839,7 +842,7 @@ declare class BindingsPublicSDKShape extends BaseSDKShape {
839
842
  bind(bindings: BindingProperties[]): Promise<void>;
840
843
  unbind(props: string[] | UnbindAll): Promise<void>;
841
844
  listBindings(options?: ListBindingsOptions): Promise<BindingProperties[]>;
842
- findBindingCandidates(bindingTargetDetails: BindingTargetDetails): Promise<BindingCandidate[]>;
845
+ findBindingCandidates(bindingTargetDetails: BindingTargetDetails, options?: findBindingCandidatesOptions): Promise<BindingCandidate[]>;
843
846
  selectBinding(options: SelectBindingOptions): Promise<void>;
844
847
  }
845
848
  declare const bindingsPublicSDKShape: BindingsPublicSDKShape & _wix_sdk_runtime_host_modules.HostModule<BindingsPublicSDKShape, _wix_sdk_types.Host>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/editor",
3
- "version": "1.538.0",
3
+ "version": "1.540.0",
4
4
  "license": "UNLICENSED",
5
5
  "author": {
6
6
  "name": "Editor Platform <editor-platform-dev@wix.com>",
@@ -31,14 +31,14 @@
31
31
  "*.{js,ts}": "yarn lint"
32
32
  },
33
33
  "dependencies": {
34
- "@wix/editor-platform-contexts": "1.110.0",
35
- "@wix/editor-platform-environment-api": "1.111.0",
34
+ "@wix/editor-platform-contexts": "1.111.0",
35
+ "@wix/editor-platform-environment-api": "1.112.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.53.0",
38
+ "@wix/public-editor-platform-interfaces": "1.54.0",
39
39
  "@wix/sdk-runtime": "^0.7.0",
40
40
  "@wix/sdk-types": "^1.17.8",
41
- "@wix/workspace": "^1.3.1"
41
+ "@wix/workspace": "^1.3.9"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@rollup/plugin-node-resolve": "^15.3.1",
@@ -69,5 +69,5 @@
69
69
  ]
70
70
  }
71
71
  },
72
- "falconPackageHash": "d7e7708d2b4cc2a18834afc1b29703ada49e13b1e8cc1db532956153"
72
+ "falconPackageHash": "3a34a604a7451eddfe8ed3c906ceb035a84bafcec49cbc1b8b7193e8"
73
73
  }