@wix/editor 1.1055.0 → 1.1057.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.
@@ -3,7 +3,6 @@ import { ApplicationContext, AppEventPayload, AllowedEvents } from '@wix/editor-
3
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
- import * as _wix_sdk_runtime_host_modules from '@wix/sdk-runtime/host-modules';
7
6
  import * as _wix_editor_platform_transport from '@wix/editor-platform-transport';
8
7
  import { IElement, SiteLocale, ComponentRef, SelectLinkInputParams, ElementLink, IElementSDK, ElementStyleDefinitions, ElementStyles, ElementStylesUpdate, ElementStylesRemoval, ElementDataDefinitions, ElementData, ElementDataInput, ElementPresetDefinitions, ElementStateDefinitions, SelectFontParams, SelectFontFamilyParams, SelectMediaParams, SelectLinkParams, SelectSortParams, ElementSort, SelectFilterParams, ElementFilter, SelectArrayItemsParams, ElementDataValue, 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
8
  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';
@@ -41,18 +40,18 @@ declare class ApplicationSDKShape extends BaseSDKShape {
41
40
  getPublicAPI<T>(appDefinitionId: string): Promise<T>;
42
41
  getAppInstance(): Promise<any>;
43
42
  }
44
- declare const _default$h: ApplicationSDKShape & _wix_sdk_runtime_host_modules.HostModule<ApplicationSDKShape, _wix_sdk_types.Host>;
43
+ declare const _default$h: ApplicationSDKShape & _wix_sdk_types.HostModule<ApplicationSDKShape, _wix_sdk_types.Host>;
45
44
 
46
45
  declare class ElementsSDKShape extends BaseSDKShape {
47
46
  getSelection(): Promise<IElement[]>;
48
47
  onSelectionChange(cb: (elements: IElement[]) => void): Promise<void>;
49
48
  }
50
- declare const _default$g: ElementsSDKShape & _wix_sdk_runtime_host_modules.HostModule<ElementsSDKShape, _wix_sdk_types.Host>;
49
+ declare const _default$g: ElementsSDKShape & _wix_sdk_types.HostModule<ElementsSDKShape, _wix_sdk_types.Host>;
51
50
 
52
51
  declare class EventsSDKShape extends BaseSDKShape {
53
52
  addEventListener(name: any, cb: (payload: AppEventPayload<AllowedEvents>) => void): Promise<() => void>;
54
53
  }
55
- declare const _default$f: EventsSDKShape & _wix_sdk_runtime_host_modules.HostModule<EventsSDKShape, _wix_sdk_types.Host>;
54
+ declare const _default$f: EventsSDKShape & _wix_sdk_types.HostModule<EventsSDKShape, _wix_sdk_types.Host>;
56
55
 
57
56
  type ThemeCustomProperty = {
58
57
  type: string;
@@ -86,7 +85,7 @@ declare class InfoSDKShape extends BaseSDKShape {
86
85
  getFontFamilyDisplayName(fontFamily: string): Promise<string | undefined>;
87
86
  getMetaSiteId(): Promise<string>;
88
87
  }
89
- declare const _default$e: InfoSDKShape & _wix_sdk_runtime_host_modules.HostModule<InfoSDKShape, _wix_sdk_types.Host>;
88
+ declare const _default$e: InfoSDKShape & _wix_sdk_types.HostModule<InfoSDKShape, _wix_sdk_types.Host>;
90
89
 
91
90
  declare class WidgetScopedSDK {
92
91
  private compRef;
@@ -107,7 +106,7 @@ declare class WidgetSDKShape extends BaseSDKShape {
107
106
  setDesignPreset(designPresetName: string): Promise<void>;
108
107
  getNestedWidget(selector: `#${string}`): Promise<WidgetScopedSDK | null>;
109
108
  }
110
- declare const _default$d: WidgetSDKShape & _wix_sdk_runtime_host_modules.HostModule<WidgetSDKShape, _wix_sdk_types.Host>;
109
+ declare const _default$d: WidgetSDKShape & _wix_sdk_types.HostModule<WidgetSDKShape, _wix_sdk_types.Host>;
111
110
 
112
111
  interface FontPickerValue {
113
112
  font: string;
@@ -124,7 +123,7 @@ declare class InputsSDKShape extends BaseSDKShape {
124
123
  }): Promise<FontPickerValue | undefined>;
125
124
  selectLink(params?: SelectLinkInputParams): Promise<ElementLink | null>;
126
125
  }
127
- declare const _default$c: InputsSDKShape & _wix_sdk_runtime_host_modules.HostModule<InputsSDKShape, _wix_sdk_types.Host>;
126
+ declare const _default$c: InputsSDKShape & _wix_sdk_types.HostModule<InputsSDKShape, _wix_sdk_types.Host>;
128
127
 
129
128
  declare class PanelsSDKShape extends BaseSDKShape {
130
129
  openLanguageSupportPanel(): Promise<any>;
@@ -134,7 +133,7 @@ declare class PanelsSDKShape extends BaseSDKShape {
134
133
  ariaLabel?: string;
135
134
  } | null): Promise<any>;
136
135
  }
137
- declare const _default$b: PanelsSDKShape & _wix_sdk_runtime_host_modules.HostModule<PanelsSDKShape, _wix_sdk_types.Host>;
136
+ declare const _default$b: PanelsSDKShape & _wix_sdk_types.HostModule<PanelsSDKShape, _wix_sdk_types.Host>;
138
137
 
139
138
  declare class ModalsSDKShape extends BaseSDKShape {
140
139
  openDashboardModal(options: {
@@ -142,7 +141,7 @@ declare class ModalsSDKShape extends BaseSDKShape {
142
141
  closeOtherPanels?: boolean;
143
142
  }): Promise<any>;
144
143
  }
145
- declare const _default$a: ModalsSDKShape & _wix_sdk_runtime_host_modules.HostModule<ModalsSDKShape, _wix_sdk_types.Host>;
144
+ declare const _default$a: ModalsSDKShape & _wix_sdk_types.HostModule<ModalsSDKShape, _wix_sdk_types.Host>;
146
145
 
147
146
  /**
148
147
  * Methods for interacting with a component from a custom panel.
@@ -719,13 +718,13 @@ declare class ElementSDKShape extends BaseSDKShape implements IElementSDK {
719
718
  getBiToken(): Promise<string>;
720
719
  }
721
720
 
722
- declare const _default$9: ElementSDKShape & _wix_sdk_runtime_host_modules.HostModule<ElementSDKShape, _wix_sdk_types.Host>;
721
+ declare const _default$9: ElementSDKShape & _wix_sdk_types.HostModule<ElementSDKShape, _wix_sdk_types.Host>;
723
722
 
724
723
  declare class PreferencesSDKShape extends BaseSDKShape {
725
724
  get(keys: string[]): Promise<any>;
726
725
  set(preferences: Record<string, any>): Promise<any>;
727
726
  }
728
- declare const _default$8: PreferencesSDKShape & _wix_sdk_runtime_host_modules.HostModule<PreferencesSDKShape, _wix_sdk_types.Host>;
727
+ declare const _default$8: PreferencesSDKShape & _wix_sdk_types.HostModule<PreferencesSDKShape, _wix_sdk_types.Host>;
729
728
 
730
729
  declare class ExternalPanelsSDKShape extends BaseSDKShape {
731
730
  getData(): Promise<any>;
@@ -738,7 +737,7 @@ declare class ExternalPanelsSDKShape extends BaseSDKShape {
738
737
  selectColor(...options: any): Promise<OpenColorPickerFn>;
739
738
  translate(key: string | string[], values?: Record<string, any>): Promise<any>;
740
739
  }
741
- declare const _default$7: ExternalPanelsSDKShape & _wix_sdk_runtime_host_modules.HostModule<ExternalPanelsSDKShape, _wix_sdk_types.Host>;
740
+ declare const _default$7: ExternalPanelsSDKShape & _wix_sdk_types.HostModule<ExternalPanelsSDKShape, _wix_sdk_types.Host>;
742
741
 
743
742
  interface AppController {
744
743
  type: string;
@@ -749,7 +748,7 @@ declare class ControllersSDKShape extends BaseSDKShape {
749
748
  #private;
750
749
  get(): Promise<AppController[]>;
751
750
  }
752
- declare const _default$6: ControllersSDKShape & _wix_sdk_runtime_host_modules.HostModule<ControllersSDKShape, _wix_sdk_types.Host>;
751
+ declare const _default$6: ControllersSDKShape & _wix_sdk_types.HostModule<ControllersSDKShape, _wix_sdk_types.Host>;
753
752
 
754
753
  /**
755
754
  * Binding target for public SDK
@@ -772,12 +771,12 @@ interface IBindingConnectionItem<T = unknown> {
772
771
  declare class CmsBindingsSDKShape extends BaseSDKShape {
773
772
  get(target: BindingTarget): Promise<IBindingConnectionItem | null>;
774
773
  }
775
- declare const _default$5: CmsBindingsSDKShape & _wix_sdk_runtime_host_modules.HostModule<CmsBindingsSDKShape, _wix_sdk_types.Host>;
774
+ declare const _default$5: CmsBindingsSDKShape & _wix_sdk_types.HostModule<CmsBindingsSDKShape, _wix_sdk_types.Host>;
776
775
 
777
776
  declare class BindingsProvidersSDKShape extends BaseSDKShape {
778
777
  list(bindingTarget: BindingTarget): Promise<any>;
779
778
  }
780
- declare const _default$4: BindingsProvidersSDKShape & _wix_sdk_runtime_host_modules.HostModule<BindingsProvidersSDKShape, _wix_sdk_types.Host>;
779
+ declare const _default$4: BindingsProvidersSDKShape & _wix_sdk_types.HostModule<BindingsProvidersSDKShape, _wix_sdk_types.Host>;
781
780
 
782
781
  declare class ProvidersPublicSDKShape extends BaseSDKShape {
783
782
  protected overriddenApplicationContext: Promise<ApplicationContext> | null;
@@ -794,7 +793,7 @@ declare class ProvidersPublicSDKShape extends BaseSDKShape {
794
793
  */
795
794
  getSourceProvider(options: GetSourceProviderOptions): Promise<SourceProvider>;
796
795
  }
797
- declare const providersPublicSDKShape: ProvidersPublicSDKShape & _wix_sdk_runtime_host_modules.HostModule<ProvidersPublicSDKShape, _wix_sdk_types.Host>;
796
+ declare const providersPublicSDKShape: ProvidersPublicSDKShape & _wix_sdk_types.HostModule<ProvidersPublicSDKShape, _wix_sdk_types.Host>;
798
797
 
799
798
  declare class BindingsPublicSDKShape extends BaseSDKShape {
800
799
  protected overriddenApplicationContext: Promise<ApplicationContext> | null;
@@ -816,7 +815,7 @@ declare class BindingsPublicSDKShape extends BaseSDKShape {
816
815
  findBindingCandidates(bindingTargetDetails: BindingTargetDetails, options?: findBindingCandidatesOptions): Promise<BindingCandidate[]>;
817
816
  selectBinding(options: SelectBindingOptions): Promise<void>;
818
817
  }
819
- declare const bindingsPublicSDKShape: BindingsPublicSDKShape & _wix_sdk_runtime_host_modules.HostModule<BindingsPublicSDKShape, _wix_sdk_types.Host>;
818
+ declare const bindingsPublicSDKShape: BindingsPublicSDKShape & _wix_sdk_types.HostModule<BindingsPublicSDKShape, _wix_sdk_types.Host>;
820
819
 
821
820
  declare class ContextActionsSDKShape extends BaseSDKShape {
822
821
  /**
@@ -829,7 +828,7 @@ declare class ContextActionsSDKShape extends BaseSDKShape {
829
828
  */
830
829
  getContextActions(options: GetContextActionsOptions): Promise<ContextActionCommand[]>;
831
830
  }
832
- declare const _default$3: ContextActionsSDKShape & _wix_sdk_runtime_host_modules.HostModule<ContextActionsSDKShape, _wix_sdk_types.Host>;
831
+ declare const _default$3: ContextActionsSDKShape & _wix_sdk_types.HostModule<ContextActionsSDKShape, _wix_sdk_types.Host>;
833
832
 
834
833
  type MethodNames<T> = Extract<{
835
834
  [K in keyof T]: T[K] extends (...args: any[]) => any ? K : never;
@@ -839,7 +838,7 @@ declare class PlatformSDKShape<TShape extends new (...args: any[]) => any, TSele
839
838
  private selectedMethods;
840
839
  constructor(ShapeConstructor: TShape, selectedMethods?: TSelected[]);
841
840
  withPublicMethod<K extends MethodNames<InstanceType<TShape>>>(method: K): PlatformSDKShape<TShape, TSelected | K>;
842
- build(): InstanceType<TShape> & _wix_sdk_runtime_host_modules.HostModule<InstanceType<TShape>, Host>;
841
+ build(): InstanceType<TShape> & _wix_sdk_types.HostModule<InstanceType<TShape>, Host>;
843
842
  }
844
843
 
845
844
  declare class RoutersSDKShape extends BaseSDKShape {
@@ -849,7 +848,7 @@ declare class RoutersSDKShape extends BaseSDKShape {
849
848
  list(): Promise<IRouter[]>;
850
849
  add(extensionId: string): Promise<IRouter>;
851
850
  }
852
- declare const _default$2: RoutersSDKShape & _wix_sdk_runtime_host_modules.HostModule<RoutersSDKShape, _wix_sdk_types.Host>;
851
+ declare const _default$2: RoutersSDKShape & _wix_sdk_types.HostModule<RoutersSDKShape, _wix_sdk_types.Host>;
853
852
 
854
853
  declare class PagesSDKShape extends BaseSDKShape {
855
854
  protected overriddenApplicationContext: Promise<ApplicationContext> | null;
@@ -858,7 +857,7 @@ declare class PagesSDKShape extends BaseSDKShape {
858
857
  addTemplate(templateId: string, options: AddTemplateOptions): Promise<IPage>;
859
858
  addExtension(extensionId: string, options?: AddExtensionOptions): Promise<IPage>;
860
859
  }
861
- declare const _default$1: PagesSDKShape & _wix_sdk_runtime_host_modules.HostModule<PagesSDKShape, _wix_sdk_types.Host>;
860
+ declare const _default$1: PagesSDKShape & _wix_sdk_types.HostModule<PagesSDKShape, _wix_sdk_types.Host>;
862
861
 
863
862
  /**
864
863
  * Read-only SDK surface for the page the host initialized the client for. The
@@ -891,7 +890,7 @@ declare class PageSDKShape extends BaseSDKShape {
891
890
  */
892
891
  getRouter(): Promise<IRouter | undefined>;
893
892
  }
894
- declare const _default: PageSDKShape & _wix_sdk_runtime_host_modules.HostModule<PageSDKShape, _wix_sdk_types.Host>;
893
+ declare const _default: PageSDKShape & _wix_sdk_types.HostModule<PageSDKShape, _wix_sdk_types.Host>;
895
894
 
896
895
  declare const editor: {
897
896
  host: () => _wix_sdk_types.Host & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/editor",
3
- "version": "1.1055.0",
3
+ "version": "1.1057.0",
4
4
  "license": "UNLICENSED",
5
5
  "author": {
6
6
  "name": "Editor Platform <editor-platform-dev@wix.com>",
@@ -36,7 +36,7 @@
36
36
  "@wix/monitoring-browser-sdk-host": "^0.2.0",
37
37
  "@wix/public-editor-platform-errors": "1.9.0",
38
38
  "@wix/public-editor-platform-interfaces": "1.150.0",
39
- "@wix/sdk-runtime": "^0.7.0",
39
+ "@wix/sdk-runtime": "^1.0.32",
40
40
  "@wix/sdk-types": "^1.17.12",
41
41
  "@wix/workspace": "^1.3.23"
42
42
  },
@@ -69,5 +69,5 @@
69
69
  ]
70
70
  }
71
71
  },
72
- "falconPackageHash": "c4406b65fa8ea2ae8774b23669984fd894c7978e47df92377da3d803"
72
+ "falconPackageHash": "f7034a03d512d3caaa50a5e8cfe4934333e047a6a8c5c3df21b59362"
73
73
  }