@sitecore-feaas/clientside 0.4.1 → 0.4.3
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sitecore-feaas/clientside",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "webpack serve --open",
|
|
6
6
|
"build": "rm -rf dist;npm run types; npm run build:esbuild; npm run build:sourcemaps",
|
|
@@ -86,6 +86,6 @@
|
|
|
86
86
|
"react-dom": "^18.2.0"
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@sitecore/byoc": "
|
|
89
|
+
"@sitecore/byoc": "^0.1.0"
|
|
90
90
|
}
|
|
91
91
|
}
|
|
@@ -53,7 +53,7 @@ export declare class FEAASContext extends FEAASElement<FEAASContextProps, typeof
|
|
|
53
53
|
clientside: typeof FEAAS;
|
|
54
54
|
onStatusChange: FEAASContextImports.SDKStatusCallback;
|
|
55
55
|
whenSDKReady: ControlledPromise<FEAASContextImports.SDK>;
|
|
56
|
-
getPortalRoot():
|
|
56
|
+
getPortalRoot(): FEAASElement<any, any> | HTMLElement | ShadowRoot;
|
|
57
57
|
render({ children, library }: React.PropsWithChildren<FEAASContextProps>, { AppContext, Chakra: { Button, Tooltip }, React }: typeof this.payload): JSX.Element;
|
|
58
58
|
}
|
|
59
59
|
declare global {
|
|
@@ -4,7 +4,7 @@ import { FEAASElement } from '../components/FEAASElement.js';
|
|
|
4
4
|
export declare function FEAASPickerProps(element: FEAASElement<any, any>): {
|
|
5
5
|
part: string;
|
|
6
6
|
slot: string;
|
|
7
|
-
mode: "
|
|
7
|
+
mode: "context" | "library" | "element" | "themes" | "datasources" | "versions" | "overview" | "attributes";
|
|
8
8
|
dialog: string;
|
|
9
9
|
placeholder: string;
|
|
10
10
|
frontend: string;
|
|
@@ -22,7 +22,7 @@ export declare class FEAASPicker extends FEAASElement<FEAASPickerProps, typeof F
|
|
|
22
22
|
defaultProps: Partial<{
|
|
23
23
|
part: string;
|
|
24
24
|
slot: string;
|
|
25
|
-
mode: "
|
|
25
|
+
mode: "context" | "library" | "element" | "themes" | "datasources" | "versions" | "overview" | "attributes";
|
|
26
26
|
dialog: string;
|
|
27
27
|
placeholder: string;
|
|
28
28
|
frontend: string;
|
|
@@ -37,7 +37,7 @@ export declare class FEAASPicker extends FEAASElement<FEAASPickerProps, typeof F
|
|
|
37
37
|
getProps(): {
|
|
38
38
|
part: string;
|
|
39
39
|
slot: string;
|
|
40
|
-
mode: "
|
|
40
|
+
mode: "context" | "library" | "element" | "themes" | "datasources" | "versions" | "overview" | "attributes";
|
|
41
41
|
dialog: string;
|
|
42
42
|
placeholder: string;
|
|
43
43
|
frontend: string;
|
|
@@ -15,7 +15,7 @@ export declare function clean(settings: any): Partial<{
|
|
|
15
15
|
params: Record<string, any>;
|
|
16
16
|
headers: Record<string, string>;
|
|
17
17
|
jsonpath: string;
|
|
18
|
-
method: "GET" | "POST" | "OPTIONS" | "PUT" | "DELETE" | "UPDATE"
|
|
18
|
+
method: "HEAD" | "GET" | "POST" | "OPTIONS" | "PUT" | "DELETE" | "UPDATE";
|
|
19
19
|
body: Record<string, any>;
|
|
20
20
|
url: string;
|
|
21
21
|
}>;
|
|
@@ -29,7 +29,7 @@ export declare const isDataSettings: (data: any) => data is {
|
|
|
29
29
|
params: Record<string, any>;
|
|
30
30
|
headers: Record<string, string>;
|
|
31
31
|
jsonpath: string;
|
|
32
|
-
method: "GET" | "POST" | "OPTIONS" | "PUT" | "DELETE" | "UPDATE"
|
|
32
|
+
method: "HEAD" | "GET" | "POST" | "OPTIONS" | "PUT" | "DELETE" | "UPDATE";
|
|
33
33
|
body: Record<string, any>;
|
|
34
34
|
url: string;
|
|
35
35
|
};
|
|
@@ -51,7 +51,7 @@ export declare function DataSettings(settings: any): {
|
|
|
51
51
|
params: Record<string, any>;
|
|
52
52
|
headers: Record<string, string>;
|
|
53
53
|
jsonpath: string;
|
|
54
|
-
method: "GET" | "POST" | "OPTIONS" | "PUT" | "DELETE" | "UPDATE"
|
|
54
|
+
method: "HEAD" | "GET" | "POST" | "OPTIONS" | "PUT" | "DELETE" | "UPDATE";
|
|
55
55
|
body: Record<string, any>;
|
|
56
56
|
url: string;
|
|
57
57
|
};
|
|
@@ -62,7 +62,7 @@ export declare namespace DataSettings {
|
|
|
62
62
|
params: Record<string, any>;
|
|
63
63
|
headers: Record<string, string>;
|
|
64
64
|
jsonpath: string;
|
|
65
|
-
method: "GET" | "POST" | "OPTIONS" | "PUT" | "DELETE" | "UPDATE"
|
|
65
|
+
method: "HEAD" | "GET" | "POST" | "OPTIONS" | "PUT" | "DELETE" | "UPDATE";
|
|
66
66
|
body: Record<string, any>;
|
|
67
67
|
url: string;
|
|
68
68
|
}) => Promise<Data>;
|
|
@@ -71,7 +71,7 @@ export declare namespace DataSettings {
|
|
|
71
71
|
params: Record<string, any>;
|
|
72
72
|
headers: Record<string, string>;
|
|
73
73
|
jsonpath: string;
|
|
74
|
-
method: "GET" | "POST" | "OPTIONS" | "PUT" | "DELETE" | "UPDATE"
|
|
74
|
+
method: "HEAD" | "GET" | "POST" | "OPTIONS" | "PUT" | "DELETE" | "UPDATE";
|
|
75
75
|
body: Record<string, any>;
|
|
76
76
|
url: string;
|
|
77
77
|
};
|