@wix/public-editor-platform-interfaces 1.99.0 → 1.101.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/sdk/pickers.d.ts +23 -0
- package/package.json +2 -2
package/dist/sdk/pickers.d.ts
CHANGED
|
@@ -51,6 +51,22 @@ export type ISelectLinkSharedOptions = {
|
|
|
51
51
|
*/
|
|
52
52
|
origin?: string;
|
|
53
53
|
};
|
|
54
|
+
/**
|
|
55
|
+
* Options for `inputs.selectLink()`.
|
|
56
|
+
* The selected value is returned to the caller and isn't persisted automatically.
|
|
57
|
+
*/
|
|
58
|
+
export type SelectLinkInputParams = {
|
|
59
|
+
/** Existing link to pre-populate the picker with. */
|
|
60
|
+
value?: ElementLink;
|
|
61
|
+
/** Optional settings such as BI attribution and allowed link types. */
|
|
62
|
+
options?: ISelectLinkSharedOptions & {
|
|
63
|
+
/**
|
|
64
|
+
* Restricts the picker to specific link types.
|
|
65
|
+
* For example: `['ExternalLink', 'PageLink']`.
|
|
66
|
+
*/
|
|
67
|
+
linkTypes?: string[];
|
|
68
|
+
};
|
|
69
|
+
};
|
|
54
70
|
/**
|
|
55
71
|
* How the editor positions a floating picker popup relative to the element in the panel that caused the picker to open.
|
|
56
72
|
*/
|
|
@@ -148,6 +164,13 @@ export type SelectLinkParams = {
|
|
|
148
164
|
* For example: `['ExternalLink', 'PageLink']`.
|
|
149
165
|
*/
|
|
150
166
|
linkTypes?: string[];
|
|
167
|
+
/**
|
|
168
|
+
* Restricts dynamic-page link results to specific installed apps.
|
|
169
|
+
* Pass the app definition IDs assigned to those apps in the Wix Dev Center.
|
|
170
|
+
*/
|
|
171
|
+
appIds?: string[];
|
|
172
|
+
/** Whether to hide the option to link to an inner route of a dynamic page, showing only the page itself. */
|
|
173
|
+
hideInnerRoute?: boolean;
|
|
151
174
|
};
|
|
152
175
|
};
|
|
153
176
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/public-editor-platform-interfaces",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.101.0",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
]
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
|
-
"falconPackageHash": "
|
|
55
|
+
"falconPackageHash": "d9f190380bede38b58caaf7d0a678852c6fe7ec6208d3533bea8cf07"
|
|
56
56
|
}
|