@wix/editor 1.1005.0 → 1.1007.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, SiteLocale, ComponentRef, SelectLinkInputParams, ElementLink, IElementSDK, ElementStyleDefinitions, ElementStyles, ElementStylesUpdate, ElementStylesRemoval, ElementDataDefinitions, ElementData, ElementDataInput, ElementPresetDefinitions, ElementStateDefinitions, SelectFontParams, SelectFontFamilyParams, SelectMediaParams, SelectLinkParams, SelectSortParams, ElementSort, SelectFilterParams, ElementFilter, SelectColorParams, BackgroundPickerOptions, SelectFontWeightParams, IFontWeight, SelectTextThemeParams, DsItem, BuilderStyle, StyleRef, OpenLinkPanelFn, OpenColorPickerFn, ListProvidersOptions, Provider, BindingProperties, BindingDetailsMap, UnbindAll, ListBindingsOptions, BindingTargetDetails, findBindingCandidatesOptions, BindingCandidate, SelectBindingOptions, GetContextActionsOptions, ContextActionCommand, IRouter, IReadOnlyPage, AddTemplateOptions, IPage, AddExtensionOptions } from '@wix/public-editor-platform-interfaces';
8
+ import { IElement, SiteLocale, ComponentRef, SelectLinkInputParams, ElementLink, IElementSDK, ElementStyleDefinitions, ElementStyles, ElementStylesUpdate, ElementStylesRemoval, ElementDataDefinitions, ElementData, ElementDataInput, ElementPresetDefinitions, ElementStateDefinitions, SelectFontParams, SelectFontFamilyParams, SelectMediaParams, SelectLinkParams, SelectSortParams, ElementSort, SelectFilterParams, ElementFilter, SelectColorParams, BackgroundPickerOptions, SelectFontWeightParams, IFontWeight, SelectTextThemeParams, DsItem, BuilderStyle, StyleRef, OpenLinkPanelFn, OpenColorPickerFn, ListProvidersOptions, Provider, GetSourceProviderOptions, SourceProvider, BindingProperties, BindingDetailsMap, UnbindAll, ListBindingsOptions, BindingTargetDetails, findBindingCandidatesOptions, BindingCandidate, SelectBindingOptions, GetContextActionsOptions, ContextActionCommand, IRouter, IReadOnlyPage, AddTemplateOptions, IPage, AddExtensionOptions } from '@wix/public-editor-platform-interfaces';
9
9
  export { ContextActionCommand, ContextActionName, DataType, ElementA11y, ElementAddressLink, ElementAnchorLink, ElementAudio, ElementData, ElementDataDefinition, ElementDataDefinitions, ElementDataInput, ElementDataObject, ElementDataValue, ElementDirection, ElementDocumentLink, ElementDynamicPageLink, ElementEmailLink, ElementExternalLink, ElementFilter, ElementImage, ElementLink, ElementLoginToWixLink, ElementMenuItems, ElementPageLink, ElementPhoneLink, ElementPresetDefinition, ElementPresetDefinitions, ElementRichText, ElementSort, ElementStateDefinition, ElementStateDefinitions, ElementStyleDefinition, ElementStyleDefinitions, ElementStyles, ElementStylesRemoval, ElementStylesUpdate, ElementTextLink, ElementTpaPageLink, ElementVectorArt, ElementVideo, ElementWhatsAppLink, GetContextActionsOptions, NativeStateType, SiteLocale } from '@wix/public-editor-platform-interfaces';
10
10
 
11
11
  declare class Workspace implements NonNullable<WorkspaceHost$1['workspace']> {
@@ -756,6 +756,13 @@ declare class ProvidersPublicSDKShape extends BaseSDKShape {
756
756
  attach(providerIdentifier: string, data?: Object): Promise<void>;
757
757
  detach(providerIdentifier: string): Promise<void>;
758
758
  list(options?: ListProvidersOptions): Promise<Provider[]>;
759
+ /**
760
+ * The provider a provider was created from. A template provider resolves to
761
+ * the provider (or nested template) it directly points to; pass
762
+ * `resolveToRootSourceProvider: true` to follow nested templates down to the
763
+ * root provider. Any other provider is its own source.
764
+ */
765
+ getSourceProvider(options: GetSourceProviderOptions): Promise<SourceProvider>;
759
766
  }
760
767
  declare const providersPublicSDKShape: ProvidersPublicSDKShape & _wix_sdk_runtime_host_modules.HostModule<ProvidersPublicSDKShape, _wix_sdk_types.Host>;
761
768
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/editor",
3
- "version": "1.1005.0",
3
+ "version": "1.1007.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.196.0",
35
- "@wix/editor-platform-environment-api": "1.198.0",
34
+ "@wix/editor-platform-contexts": "1.197.0",
35
+ "@wix/editor-platform-environment-api": "1.199.0",
36
36
  "@wix/monitoring-browser-sdk-host": "^0.2.0",
37
37
  "@wix/public-editor-platform-errors": "1.9.0",
38
- "@wix/public-editor-platform-interfaces": "1.139.0",
38
+ "@wix/public-editor-platform-interfaces": "1.140.0",
39
39
  "@wix/sdk-runtime": "^0.7.0",
40
40
  "@wix/sdk-types": "^1.17.12",
41
41
  "@wix/workspace": "^1.3.22"
@@ -69,5 +69,5 @@
69
69
  ]
70
70
  }
71
71
  },
72
- "falconPackageHash": "2b261ad647bb7e3b1621b000c0b76f12a9460cbe0e39709032fdc97a"
72
+ "falconPackageHash": "6a15122688f040ded9dd372e819624089f2cf952098828b815b23ae2"
73
73
  }