@wix/editor 1.642.0 → 1.643.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 +24 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +24 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/statics/docs-ts-model.json +825 -580
- package/dist/statics/index.js +24 -1
- package/dist/statics/index.js.map +1 -1
- package/dist/types/index.d.ts +17 -2
- 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, SiteLocale, ComponentRef, IElementSDK, ElementStyleDefinitions, ElementStyles, ElementStylesUpdate, ElementStylesRemoval, ElementDataDefinitions, ElementData, ElementDataInput, ElementPresetDefinitions, ElementStateDefinitions, SelectFontParams, SelectFontFamilyParams, SelectMediaParams, SelectLinkParams, ElementLink, SelectSortParams, ElementSort, SelectColorParams, BackgroundPickerOptions, SelectFontWeightParams, IFontWeight, SelectTextThemeParams, 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, ElementSort, ElementStateDefinition, ElementStateDefinitions, ElementStyleDefinition, ElementStyleDefinitions, ElementStyles, ElementStylesRemoval, ElementStylesUpdate, ElementTextLink, ElementTpaPageLink, ElementVectorArt, ElementVideo, ElementWhatsAppLink, NativeStateType, SiteLocale } from '@wix/public-editor-platform-interfaces';
|
|
8
|
+
import { IElement, SiteLocale, ComponentRef, IElementSDK, ElementStyleDefinitions, ElementStyles, ElementStylesUpdate, ElementStylesRemoval, ElementDataDefinitions, ElementData, ElementDataInput, ElementPresetDefinitions, ElementStateDefinitions, SelectFontParams, SelectFontFamilyParams, SelectMediaParams, SelectLinkParams, ElementLink, SelectSortParams, ElementSort, SelectFilterParams, ElementFilter, SelectColorParams, BackgroundPickerOptions, SelectFontWeightParams, IFontWeight, SelectTextThemeParams, 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, ElementFilter, ElementImage, ElementLink, ElementLoginToWixLink, ElementMenuItems, ElementPageLink, ElementPhoneLink, ElementPresetDefinition, ElementPresetDefinitions, ElementRichText, ElementSort, 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;
|
|
@@ -530,6 +530,21 @@ declare class ElementSDKShape extends BaseSDKShape implements IElementSDK {
|
|
|
530
530
|
* ```
|
|
531
531
|
*/
|
|
532
532
|
selectSort(params: SelectSortParams): Promise<ElementSort | undefined>;
|
|
533
|
+
/**
|
|
534
|
+
* Opens the WQL filter panel for a filter data item on the current component.
|
|
535
|
+
*
|
|
536
|
+
* Pass `dataItemKey` to let the SDK save the selected rule automatically.
|
|
537
|
+
*
|
|
538
|
+
* @param params - WQL filter picker options.
|
|
539
|
+
*
|
|
540
|
+
* @example
|
|
541
|
+
* ```ts
|
|
542
|
+
* import { reactElements } from '@wix/editor';
|
|
543
|
+
*
|
|
544
|
+
* const filter = await reactElements.selectFilter({ dataItemKey: 'productFilter' });
|
|
545
|
+
* ```
|
|
546
|
+
*/
|
|
547
|
+
selectFilter(params: SelectFilterParams): Promise<ElementFilter | undefined>;
|
|
533
548
|
/**
|
|
534
549
|
* Opens the color picker for selecting a color from a custom panel.
|
|
535
550
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/editor",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.643.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.132.0",
|
|
35
|
+
"@wix/editor-platform-environment-api": "1.133.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.75.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": "453f94870195031380cce9f2b287621e9ac374c47250d4e1ca9b1cde"
|
|
73
73
|
}
|