@wix/editor 1.553.0 → 1.555.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 +9 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +9 -5
- package/dist/esm/index.js.map +1 -1
- package/dist/statics/docs-ts-model.json +181 -181
- package/dist/statics/index.js +9 -5
- package/dist/statics/index.js.map +1 -1
- package/dist/types/index.d.ts +5 -4
- package/package.json +5 -5
package/dist/types/index.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ 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, BindingDetailsMap, UnbindAll, ListBindingsOptions, BindingTargetDetails, findBindingCandidatesOptions, BindingCandidate, SelectBindingOptions, IRouter, IPage } from '@wix/public-editor-platform-interfaces';
|
|
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';
|
|
8
|
+
import { IElement, SiteLocale, 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, AddTemplateOptions, AddExtensionOptions } from '@wix/public-editor-platform-interfaces';
|
|
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, SiteLocale } from '@wix/public-editor-platform-interfaces';
|
|
10
10
|
|
|
11
11
|
declare class Workspace implements NonNullable<WorkspaceHost$1['workspace']> {
|
|
12
12
|
private applicationContext;
|
|
@@ -74,6 +74,7 @@ type FontOption = {
|
|
|
74
74
|
declare class InfoSDKShape extends BaseSDKShape {
|
|
75
75
|
getViewMode(): Promise<any>;
|
|
76
76
|
getLanguageCode(): Promise<any>;
|
|
77
|
+
getLocales(): Promise<SiteLocale[]>;
|
|
77
78
|
getSiteDirection(): Promise<any>;
|
|
78
79
|
siteHasCustomClasses(): Promise<any>;
|
|
79
80
|
getThemeCustomProperties(filter: {
|
|
@@ -881,8 +882,8 @@ declare class PagesSDKShape extends BaseSDKShape {
|
|
|
881
882
|
protected overriddenApplicationContext: Promise<ApplicationContext> | null;
|
|
882
883
|
constructor(overriddenApplicationContext?: Promise<ApplicationContext> | null);
|
|
883
884
|
list(): Promise<IPage[]>;
|
|
884
|
-
addTemplate(templateId: string): Promise<IPage>;
|
|
885
|
-
addExtension(extensionId: string): Promise<IPage>;
|
|
885
|
+
addTemplate(templateId: string, options: AddTemplateOptions): Promise<IPage>;
|
|
886
|
+
addExtension(extensionId: string, options?: AddExtensionOptions): Promise<IPage>;
|
|
886
887
|
}
|
|
887
888
|
declare const _default: PagesSDKShape & _wix_sdk_runtime_host_modules.HostModule<PagesSDKShape, _wix_sdk_types.Host>;
|
|
888
889
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/editor",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.555.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.
|
|
35
|
-
"@wix/editor-platform-environment-api": "1.
|
|
34
|
+
"@wix/editor-platform-contexts": "1.115.0",
|
|
35
|
+
"@wix/editor-platform-environment-api": "1.116.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.
|
|
38
|
+
"@wix/public-editor-platform-interfaces": "1.58.0",
|
|
39
39
|
"@wix/sdk-runtime": "^0.7.0",
|
|
40
40
|
"@wix/sdk-types": "^1.17.8",
|
|
41
41
|
"@wix/workspace": "^1.3.11"
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
]
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
|
-
"falconPackageHash": "
|
|
72
|
+
"falconPackageHash": "833a61bade3ed326a0358f2a307a3162e3cb9defe4e2538ef3828af2"
|
|
73
73
|
}
|