@plitzi/plitzi-sdk 0.32.1 → 0.32.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/CHANGELOG.md +40 -0
- package/dist/App.d.ts +3 -2
- package/dist/index.d.ts +7 -6
- package/dist/index.html +7 -6
- package/dist/modules/App/AppMain.d.ts +3 -2
- package/dist/modules/Collection/CollectionContextProvider.d.ts +1 -1
- package/dist/modules/Element/elements/PlitziSdk/PlitziSdk.d.ts +2 -2
- package/dist/modules/Element/elements/PlitziSdk/index.d.ts +2 -2
- package/dist/modules/Navigation/NavigationContextProvider.d.ts +3 -2
- package/dist/modules/Network/NetworkContextProvider.d.ts +1 -1
- package/dist/modules/Plugins/PluginsContextProvider.d.ts +1 -1
- package/dist/modules/Sdk/Sdk.d.ts +1 -1
- package/dist/modules/Sdk/components/MadeInPlitzi.d.ts +1 -1
- package/dist/modules/Sdk/renderModes/IframeMode.d.ts +1 -1
- package/dist/modules/Sdk/renderModes/RawMode.d.ts +1 -1
- package/dist/modules/Sdk/renderModes/ShadowMode.d.ts +1 -1
- package/dist/modules/Segments/SegmentsContextProvider.d.ts +1 -1
- package/dist/modules/Space/SpaceContainer.d.ts +1 -1
- package/dist/modules/Space/SpaceContainerInternal.d.ts +1 -1
- package/dist/modules/Space/SpaceContextProvider.d.ts +1 -1
- package/dist/plitzi-sdk-dev-vendor.js +48 -16
- package/dist/plitzi-sdk-dev-vendor.js.gz +0 -0
- package/dist/plitzi-sdk-dev-vendor.js.map +1 -1
- package/dist/plitzi-sdk-dev-vendor.js.map.gz +0 -0
- package/dist/plitzi-sdk-devtools.css +2 -2
- package/dist/plitzi-sdk-devtools.css.gz +0 -0
- package/dist/plitzi-sdk-vendor.js +1 -1
- package/dist/plitzi-sdk-vendor.js.gz +0 -0
- package/dist/plitzi-sdk.css +2 -2
- package/dist/plitzi-sdk.css.gz +0 -0
- package/dist/plitzi-sdk.js +359 -263
- package/dist/plitzi-sdk.js.gz +0 -0
- package/dist/vendor-entry.d.ts +1 -0
- package/package.json +48 -48
- package/dist/modules/Interactions/InteractionsSdkContextProvider.d.ts +0 -7
- package/dist/modules/Interactions/sources/CollectionSource/CollectionInteractions.d.ts +0 -6
- package/dist/modules/Interactions/sources/PageSource/PageInteractions.d.ts +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# @plitzi/plitzi-sdk
|
|
2
2
|
|
|
3
|
+
## 0.32.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- v0.32.3
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @plitzi/nexus@0.32.3
|
|
10
|
+
- @plitzi/sdk-auth@0.32.3
|
|
11
|
+
- @plitzi/sdk-collections@0.32.3
|
|
12
|
+
- @plitzi/sdk-dev-tools@0.32.3
|
|
13
|
+
- @plitzi/sdk-elements@0.32.3
|
|
14
|
+
- @plitzi/sdk-event-bridge@0.32.3
|
|
15
|
+
- @plitzi/sdk-interactions@0.32.3
|
|
16
|
+
- @plitzi/sdk-navigation@0.32.3
|
|
17
|
+
- @plitzi/sdk-plugins@0.32.3
|
|
18
|
+
- @plitzi/sdk-schema@0.32.3
|
|
19
|
+
- @plitzi/sdk-shared@0.32.3
|
|
20
|
+
- @plitzi/sdk-style@0.32.3
|
|
21
|
+
- @plitzi/sdk-variables@0.32.3
|
|
22
|
+
|
|
23
|
+
## 0.32.2
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- v0.32.2
|
|
28
|
+
- Updated dependencies
|
|
29
|
+
- @plitzi/nexus@0.32.2
|
|
30
|
+
- @plitzi/sdk-auth@0.32.2
|
|
31
|
+
- @plitzi/sdk-collections@0.32.2
|
|
32
|
+
- @plitzi/sdk-dev-tools@0.32.2
|
|
33
|
+
- @plitzi/sdk-elements@0.32.2
|
|
34
|
+
- @plitzi/sdk-event-bridge@0.32.2
|
|
35
|
+
- @plitzi/sdk-interactions@0.32.2
|
|
36
|
+
- @plitzi/sdk-navigation@0.32.2
|
|
37
|
+
- @plitzi/sdk-plugins@0.32.2
|
|
38
|
+
- @plitzi/sdk-schema@0.32.2
|
|
39
|
+
- @plitzi/sdk-shared@0.32.2
|
|
40
|
+
- @plitzi/sdk-style@0.32.2
|
|
41
|
+
- @plitzi/sdk-variables@0.32.2
|
|
42
|
+
|
|
3
43
|
## 0.32.1
|
|
4
44
|
|
|
5
45
|
### Patch Changes
|
package/dist/App.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Environment, EventBridgeContextValue, OfflineDataRaw, RenderMode, Server, RuntimeStateInstance } from '@plitzi/sdk-shared';
|
|
1
|
+
import { Environment, EventBridgeContextValue, OfflineDataRaw, RenderMode, Server, RuntimeStateInstance, SSRRenderResult } from '@plitzi/sdk-shared';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
export type AppProps = {
|
|
4
4
|
className?: string;
|
|
@@ -19,6 +19,7 @@ export type AppProps = {
|
|
|
19
19
|
state?: Record<string, unknown>;
|
|
20
20
|
onInitStateManager?: (instance: RuntimeStateInstance) => void;
|
|
21
21
|
onInitEventBridge?: (instance: EventBridgeContextValue) => void;
|
|
22
|
+
ssrResult?: SSRRenderResult;
|
|
22
23
|
};
|
|
23
|
-
declare const App: ({ className, children, webKey, server, renderMode, debugMode: debugModeProp, state, ...sdkProps }: AppProps) => import("react
|
|
24
|
+
declare const App: ({ className, children, webKey, server, renderMode, debugMode: debugModeProp, state, ...sdkProps }: AppProps) => import("react").JSX.Element;
|
|
24
25
|
export default App;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { default as ComponentProvider } from '@plitzi/sdk-elements/Component/ComponentProvider';
|
|
2
2
|
import { default as sdkComponents } from './modules/Element';
|
|
3
3
|
import { default as withElement } from '@plitzi/sdk-elements/Element/hocs/withElement';
|
|
4
|
+
import { default as useElement } from '@plitzi/sdk-elements/Element/hooks/useElement';
|
|
5
|
+
import { default as useRscData } from '@plitzi/sdk-elements/Element/hooks/useRscData';
|
|
4
6
|
import { default as JsxManager } from '@plitzi/sdk-elements/Element/JsxManager';
|
|
5
7
|
import { default as PluginManager } from '@plitzi/sdk-elements/Element/PluginManager';
|
|
6
8
|
import { default as PluginRemote } from '@plitzi/sdk-elements/Element/PluginRemote';
|
|
7
9
|
import { default as ReplicaProvider } from '@plitzi/sdk-elements/Element/ReplicaProvider';
|
|
8
10
|
import { default as RootElement } from '@plitzi/sdk-elements/Element/RootElement';
|
|
9
11
|
import { default as ComponentContext } from '@plitzi/sdk-shared/elements/ComponentContext';
|
|
10
|
-
import { default as ElementContext, ElementContextValue } from '@plitzi/sdk-shared/elements/ElementContext';
|
|
11
|
-
import { default as useElement } from '@plitzi/sdk-shared/elements/hooks/useElement';
|
|
12
12
|
import { PlitziServiceProvider } from '@plitzi/sdk-shared/hooks/usePlitziServiceContext';
|
|
13
|
-
import {
|
|
13
|
+
import { ElementContextValue } from '@plitzi/sdk-elements/Element/ElementContext';
|
|
14
14
|
import { default as EventBridge } from '@plitzi/sdk-event-bridge';
|
|
15
15
|
import { default as InteractionsManager } from '@plitzi/sdk-interactions/InteractionsManager';
|
|
16
|
-
import { Element, Schema, Style, ComponentPluginFC, ComponentPlugin, InteractionCallback, InteractionCallbackParamValues, Environment, EventBridgeContextValue, OfflineDataRaw, RenderMode, Server, RuntimeStateInstance, PlitziServiceContextValue as BasePlitziServiceContextValue } from '@plitzi/sdk-shared';
|
|
16
|
+
import { Element, Schema, Style, ComponentPluginFC, ComponentPlugin, InteractionCallback, InteractionCallbackParamValues, Environment, EventBridgeContextValue, OfflineDataRaw, RenderMode, Server, RuntimeStateInstance, SSRRenderResult, PlitziServiceContextValue as BasePlitziServiceContextValue } from '@plitzi/sdk-shared';
|
|
17
17
|
import { ReactNode } from 'react';
|
|
18
18
|
export declare function render(widgetContainer: string, params?: PlitziSdkProps, plugins?: Record<string, {
|
|
19
19
|
component: ComponentPlugin;
|
|
@@ -42,14 +42,15 @@ export type PlitziSdkProps = {
|
|
|
42
42
|
externalStyle?: string;
|
|
43
43
|
sdkDevToolsStylePath?: string;
|
|
44
44
|
state?: Record<string, unknown>;
|
|
45
|
+
ssrResult?: SSRRenderResult;
|
|
45
46
|
};
|
|
46
47
|
declare const PlitziSdk: {
|
|
47
|
-
({ debugMode, isHydrating, children, webKey, environment, renderMode, ...otherProps }: PlitziSdkProps): import("react
|
|
48
|
+
({ debugMode, isHydrating, children, webKey, environment, renderMode, ...otherProps }: PlitziSdkProps): import("react").JSX.Element;
|
|
48
49
|
Plugin: (_props: import('./modules/Sdk/SdkPlugin').SdkPluginProps) => undefined;
|
|
49
50
|
};
|
|
50
51
|
type PlitziServiceContextValue = BasePlitziServiceContextValue<InstanceType<typeof EventBridge>, InstanceType<typeof InteractionsManager>>;
|
|
51
52
|
declare const usePlitziServiceContext: () => PlitziServiceContextValue;
|
|
52
|
-
export { ComponentProvider, ComponentContext, usePlitziServiceContext, PlitziServiceProvider, RootElement, withElement, JsxManager, PluginManager, sdkComponents, PluginRemote, ReplicaProvider, useElement, useRscData
|
|
53
|
+
export { ComponentProvider, ComponentContext, usePlitziServiceContext, PlitziServiceProvider, RootElement, withElement, JsxManager, PluginManager, sdkComponents, PluginRemote, ReplicaProvider, useElement, useRscData };
|
|
53
54
|
export type { ElementContextValue, Element, Schema, Style, ComponentPlugin, ComponentPluginFC, PlitziServiceContextValue, OfflineDataRaw, InteractionCallback, InteractionCallbackParamValues };
|
|
54
55
|
export declare const version: string;
|
|
55
56
|
export declare const getStateManager: () => RuntimeStateInstance;
|
package/dist/index.html
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
11
11
|
<link rel="preconnect" href="https://cdn.plitzi.com" />
|
|
12
12
|
<link rel="preconnect" href="https://server.plitzi.local:8888" />
|
|
13
|
-
<link rel="preconnect" href="https://
|
|
13
|
+
<link rel="preconnect" href="https://server.plitzi.local:8888" />
|
|
14
14
|
<link rel="preconnect" href="https://ssr.plitzi.local:4000" />
|
|
15
15
|
|
|
16
16
|
<link rel="modulepreload" href="/plitzi-sdk-vendor.js" crossorigin />
|
|
@@ -58,20 +58,21 @@
|
|
|
58
58
|
'plitzi',
|
|
59
59
|
{
|
|
60
60
|
webKey:
|
|
61
|
-
'
|
|
61
|
+
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7InNwYWNlSWQiOjF9LCJpc3MiOiJodHRwczovL3NlcnZlci5wbGl0emkubG9jYWw6ODg4OCIsImF1ZCI6WyJodHRwczovL2FwcC5wbGl0emkubG9jYWwiLCJodHRwczovL3Nzci5wbGl0emkubG9jYWw6NDAwMCIsImh0dHBzOi8vc2VydmVyLnBsaXR6aS5sb2NhbDo4ODg4IiwiaHR0cHM6Ly9hcHAucGxpdHppLmxvY2FsOjMwMDAiLCJodHRwczovL2FwcC5wbGl0emkubG9jYWw6MzAwMSIsImh0dHBzOi8vd2Vic2l0ZS5wbGl0emkuYXBwIl0sInZlcnNpb24iOjEsImV4cCI6MTc4NTczMjI4NSwiaWF0IjoxNzgzMTAyMjg5LCJuYmYiOjE3ODMxMDIyODl9.vIfZkUZ76Pd4GlynM7mOnMcS4c9RKvGs6ObHIWDmUA0',
|
|
62
62
|
environment: 'main',
|
|
63
63
|
revision: 0,
|
|
64
64
|
renderMode: 'raw',
|
|
65
65
|
server: {
|
|
66
66
|
basePath: '/',
|
|
67
67
|
// Dashboard
|
|
68
|
-
apiServer: 'https://
|
|
68
|
+
apiServer: 'https://server.plitzi.local:8888',
|
|
69
69
|
ssrServer: 'https://ssr.plitzi.local:4000',
|
|
70
70
|
// SDK
|
|
71
71
|
nodeServer: 'https://server.plitzi.local:8888',
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
aiServer: 'https://server.plitzi.local:8891',
|
|
73
|
+
graphqlServer: 'https://server.plitzi.local:8890/graphql',
|
|
74
|
+
websocketServer: 'wss://server.plitzi.local:8890',
|
|
75
|
+
subscriptionServer: 'wss://server.plitzi.local:8890/subscriptions'
|
|
75
76
|
},
|
|
76
77
|
state: {}
|
|
77
78
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Environment, Server, RenderMode, RuntimeStateInstance, EventBridgeContextValue, OfflineDataRaw } from '@plitzi/sdk-shared';
|
|
1
|
+
import { Environment, Server, RenderMode, RuntimeStateInstance, EventBridgeContextValue, OfflineDataRaw, SSRRenderResult } from '@plitzi/sdk-shared';
|
|
2
2
|
export type AppMainProps = {
|
|
3
3
|
revision?: number;
|
|
4
4
|
webKey?: string;
|
|
@@ -19,6 +19,7 @@ export type AppMainProps = {
|
|
|
19
19
|
state?: Record<string, unknown>;
|
|
20
20
|
onInitStateManager?: (instance: RuntimeStateInstance) => void;
|
|
21
21
|
onInitEventBridge?: (instance: EventBridgeContextValue) => void;
|
|
22
|
+
ssrResult?: SSRRenderResult;
|
|
22
23
|
};
|
|
23
|
-
declare const AppMain: ({ revision, webKey, webId, environment, currentPageId, server, isHydrating, offlineMode, offlineData, offlineDataType, instanceId, renderMode, sdkStylePath, sdkDevToolsStylePath, previewMode, debugMode, onInitEventBridge, onInitStateManager, ...sdkProps }: AppMainProps) => import("react
|
|
24
|
+
declare const AppMain: ({ revision, webKey, webId, environment, currentPageId, server, isHydrating, offlineMode, offlineData, offlineDataType, instanceId, renderMode, sdkStylePath, sdkDevToolsStylePath, previewMode, debugMode, onInitEventBridge, onInitStateManager, ssrResult, ...sdkProps }: AppMainProps) => import("react").JSX.Element;
|
|
24
25
|
export default AppMain;
|
|
@@ -4,5 +4,5 @@ export type CollectionContextProviderProps = {
|
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
collections?: Record<string, Collection>;
|
|
6
6
|
};
|
|
7
|
-
declare const CollectionContextProvider: ({ children, collections: collectionsProp }: CollectionContextProviderProps) => import("react
|
|
7
|
+
declare const CollectionContextProvider: ({ children, collections: collectionsProp }: CollectionContextProviderProps) => import("react").JSX.Element;
|
|
8
8
|
export default CollectionContextProvider;
|
|
@@ -6,9 +6,9 @@ export type PlitziSdkProps = {
|
|
|
6
6
|
spaceKey?: string;
|
|
7
7
|
environment?: Environment;
|
|
8
8
|
};
|
|
9
|
-
declare const PlitziSdk: ({ ref, className, spaceKey, environment }: PlitziSdkProps) => import("react
|
|
9
|
+
declare const PlitziSdk: ({ ref, className, spaceKey, environment }: PlitziSdkProps) => import("react").JSX.Element;
|
|
10
10
|
declare const _default: {
|
|
11
|
-
(props: import('@plitzi/sdk-elements/Element/hocs/withElement').WithElementProps<PlitziSdkProps>): import("react
|
|
11
|
+
(props: import('@plitzi/sdk-elements/Element/hocs/withElement').WithElementProps<PlitziSdkProps>): import("react").JSX.Element;
|
|
12
12
|
displayName: string;
|
|
13
13
|
};
|
|
14
14
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const PlitziSdk: {
|
|
2
|
-
(props: import('@plitzi/sdk-elements/Element/hocs/withElement').WithElementProps<import('./PlitziSdk').PlitziSdkProps>): import("react
|
|
2
|
+
(props: import('@plitzi/sdk-elements/Element/hocs/withElement').WithElementProps<import('./PlitziSdk').PlitziSdkProps>): import("react").JSX.Element;
|
|
3
3
|
displayName: string;
|
|
4
4
|
} & {
|
|
5
5
|
type: string;
|
|
@@ -36,7 +36,7 @@ declare const PlitziSdk: {
|
|
|
36
36
|
license: string;
|
|
37
37
|
website: string;
|
|
38
38
|
backgroundColor: string;
|
|
39
|
-
icon: import("react
|
|
39
|
+
icon: import("react").JSX.Element;
|
|
40
40
|
};
|
|
41
41
|
defaultStyle: {
|
|
42
42
|
name: string;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { RenderMode } from '@plitzi/sdk-shared';
|
|
1
|
+
import { RenderMode, SSRRenderResult } from '@plitzi/sdk-shared';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
export type NavigationContextProviderProps = {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
renderMode?: RenderMode;
|
|
6
6
|
currentPageId?: string;
|
|
7
7
|
previewMode?: boolean;
|
|
8
|
+
ssrResult?: SSRRenderResult;
|
|
8
9
|
};
|
|
9
|
-
declare const NavigationContextProvider: ({ children, renderMode, currentPageId: currentPageIdProp, previewMode }: NavigationContextProviderProps) => import("react
|
|
10
|
+
declare const NavigationContextProvider: ({ children, renderMode, currentPageId: currentPageIdProp, previewMode, ssrResult }: NavigationContextProviderProps) => import("react").JSX.Element | "Not Found" | "Access Denied" | null;
|
|
10
11
|
export default NavigationContextProvider;
|
|
@@ -14,5 +14,5 @@ export type NetworkContextProviderProps = {
|
|
|
14
14
|
offlineDataType?: 'json' | 'yaml';
|
|
15
15
|
debugMode?: boolean;
|
|
16
16
|
};
|
|
17
|
-
declare const NetworkContextProvider: ({ children, server, revision, webKey, webId, userKey, instanceId, environment, offlineMode, offlineData, offlineDataType, debugMode }: NetworkContextProviderProps) => import("react
|
|
17
|
+
declare const NetworkContextProvider: ({ children, server, revision, webKey, webId, userKey, instanceId, environment, offlineMode, offlineData, offlineDataType, debugMode }: NetworkContextProviderProps) => import("react").JSX.Element | null;
|
|
18
18
|
export default NetworkContextProvider;
|
|
@@ -5,5 +5,5 @@ export type PluginsContextProviderProps = {
|
|
|
5
5
|
plugins?: Record<string, ComponentDefinition>;
|
|
6
6
|
sdkStylePath?: string;
|
|
7
7
|
};
|
|
8
|
-
declare const PluginsContextProvider: ({ children, renderMode, plugins: pluginsProp, sdkStylePath }: PluginsContextProviderProps) => import("react
|
|
8
|
+
declare const PluginsContextProvider: ({ children, renderMode, plugins: pluginsProp, sdkStylePath }: PluginsContextProviderProps) => import("react").JSX.Element;
|
|
9
9
|
export default PluginsContextProvider;
|
|
@@ -10,7 +10,7 @@ export type SdkProps = {
|
|
|
10
10
|
server?: Server;
|
|
11
11
|
};
|
|
12
12
|
declare const Sdk: {
|
|
13
|
-
({ renderMode, externalStyle, environment, previewMode, isHydrating, debugMode, sdkStylePath, server }: SdkProps): import("react
|
|
13
|
+
({ renderMode, externalStyle, environment, previewMode, isHydrating, debugMode, sdkStylePath, server }: SdkProps): import("react").JSX.Element;
|
|
14
14
|
Plugin: (_props: import('./SdkPlugin').SdkPluginProps) => undefined;
|
|
15
15
|
};
|
|
16
16
|
export default Sdk;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type MadeInPlitziProps = {
|
|
2
2
|
pageId?: string;
|
|
3
3
|
};
|
|
4
|
-
declare const MadeInPlitzi: ({ pageId }: MadeInPlitziProps) => import("react
|
|
4
|
+
declare const MadeInPlitzi: ({ pageId }: MadeInPlitziProps) => import("react").JSX.Element;
|
|
5
5
|
export default MadeInPlitzi;
|
|
@@ -8,5 +8,5 @@ export type IframeModeProps = {
|
|
|
8
8
|
assets: Record<string, Asset>;
|
|
9
9
|
ref: RefObject<HTMLIFrameElement | null>;
|
|
10
10
|
};
|
|
11
|
-
declare const _default: import('react').MemoExoticComponent<({ pageId, style, plitziContextValue, assets, ref }: IframeModeProps) => import("react
|
|
11
|
+
declare const _default: import('react').MemoExoticComponent<({ pageId, style, plitziContextValue, assets, ref }: IframeModeProps) => import("react").JSX.Element>;
|
|
12
12
|
export default _default;
|
|
@@ -6,5 +6,5 @@ export type RawModeProps = {
|
|
|
6
6
|
style?: string;
|
|
7
7
|
plitziContextValue: PlitziServiceContextValue;
|
|
8
8
|
};
|
|
9
|
-
declare const _default: import('react').MemoExoticComponent<({ pageId, style, plitziContextValue, renderMode }: RawModeProps) => import("react
|
|
9
|
+
declare const _default: import('react').MemoExoticComponent<({ pageId, style, plitziContextValue, renderMode }: RawModeProps) => import("react").JSX.Element>;
|
|
10
10
|
export default _default;
|
|
@@ -7,5 +7,5 @@ export type ShadowModeProps = {
|
|
|
7
7
|
plitziContextValue: PlitziServiceContextValue;
|
|
8
8
|
assets: Record<string, Asset>;
|
|
9
9
|
};
|
|
10
|
-
declare const _default: import('react').MemoExoticComponent<({ pageId, sdkStylePath, style, plitziContextValue, assets }: ShadowModeProps) => import("react
|
|
10
|
+
declare const _default: import('react').MemoExoticComponent<({ pageId, sdkStylePath, style, plitziContextValue, assets }: ShadowModeProps) => import("react").JSX.Element>;
|
|
11
11
|
export default _default;
|
|
@@ -2,5 +2,5 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
export type SegmentsContextProviderProps = {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
};
|
|
5
|
-
declare const SegmentsContextProvider: ({ children }: SegmentsContextProviderProps) => import("react
|
|
5
|
+
declare const SegmentsContextProvider: ({ children }: SegmentsContextProviderProps) => import("react").JSX.Element;
|
|
6
6
|
export default SegmentsContextProvider;
|
|
@@ -2,5 +2,5 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
export type SpaceContainerProps = {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
};
|
|
5
|
-
declare const SpaceContainer: ({ children }: SpaceContainerProps) => import("react
|
|
5
|
+
declare const SpaceContainer: ({ children }: SpaceContainerProps) => import("react").JSX.Element;
|
|
6
6
|
export default SpaceContainer;
|
|
@@ -2,5 +2,5 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
export type SpaceContainerInternalProps = {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
};
|
|
5
|
-
declare const SpaceContainerInternal: ({ children }: SpaceContainerInternalProps) => import("react
|
|
5
|
+
declare const SpaceContainerInternal: ({ children }: SpaceContainerInternalProps) => import("react").JSX.Element;
|
|
6
6
|
export default SpaceContainerInternal;
|
|
@@ -2,5 +2,5 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
export type SpaceContextProviderProps = {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
};
|
|
5
|
-
declare const SpaceContextProvider: ({ children }: SpaceContextProviderProps) => import("react
|
|
5
|
+
declare const SpaceContextProvider: ({ children }: SpaceContextProviderProps) => import("react").JSX.Element;
|
|
6
6
|
export default SpaceContextProvider;
|
|
@@ -775,7 +775,7 @@ var require_react_development = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
775
775
|
exports.useTransition = function() {
|
|
776
776
|
return resolveDispatcher().useTransition();
|
|
777
777
|
};
|
|
778
|
-
exports.version = "19.2.
|
|
778
|
+
exports.version = "19.2.7";
|
|
779
779
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
780
780
|
})();
|
|
781
781
|
}));
|
|
@@ -785,6 +785,38 @@ var require_react = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
785
785
|
module.exports = require_react_development();
|
|
786
786
|
}));
|
|
787
787
|
//#endregion
|
|
788
|
+
//#region ../../node_modules/react/cjs/react-compiler-runtime.development.js
|
|
789
|
+
/**
|
|
790
|
+
* @license React
|
|
791
|
+
* react-compiler-runtime.development.js
|
|
792
|
+
*
|
|
793
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
794
|
+
*
|
|
795
|
+
* This source code is licensed under the MIT license found in the
|
|
796
|
+
* LICENSE file in the root directory of this source tree.
|
|
797
|
+
*/
|
|
798
|
+
var require_react_compiler_runtime_development = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
799
|
+
(function() {
|
|
800
|
+
var ReactSharedInternals = require_react().__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
801
|
+
exports.c = function(size) {
|
|
802
|
+
var dispatcher = ReactSharedInternals.H;
|
|
803
|
+
null === dispatcher && console.error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.");
|
|
804
|
+
return dispatcher.useMemoCache(size);
|
|
805
|
+
};
|
|
806
|
+
})();
|
|
807
|
+
}));
|
|
808
|
+
//#endregion
|
|
809
|
+
//#region ../../node_modules/react/compiler-runtime.js
|
|
810
|
+
/**
|
|
811
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
812
|
+
*
|
|
813
|
+
* This source code is licensed under the MIT license found in the
|
|
814
|
+
* LICENSE file in the root directory of this source tree.
|
|
815
|
+
*/
|
|
816
|
+
var require_compiler_runtime = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
817
|
+
module.exports = require_react_compiler_runtime_development();
|
|
818
|
+
}));
|
|
819
|
+
//#endregion
|
|
788
820
|
//#region ../../node_modules/react/cjs/react-jsx-runtime.development.js
|
|
789
821
|
/**
|
|
790
822
|
* @license React
|
|
@@ -1159,7 +1191,7 @@ var require_react_dom_development = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
1159
1191
|
exports.useFormStatus = function() {
|
|
1160
1192
|
return resolveDispatcher().useHostTransitionStatus();
|
|
1161
1193
|
};
|
|
1162
|
-
exports.version = "19.2.
|
|
1194
|
+
exports.version = "19.2.7";
|
|
1163
1195
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
1164
1196
|
})();
|
|
1165
1197
|
}));
|
|
@@ -6505,7 +6537,7 @@ var require_react_dom_client_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
6505
6537
|
null !== inst && "function" === typeof inst.componentDidCatch && (update.callback = function() {
|
|
6506
6538
|
markFailedErrorBoundaryForHotReloading(fiber);
|
|
6507
6539
|
runWithFiberInDEV(errorInfo.source, logCaughtError, root, fiber, errorInfo);
|
|
6508
|
-
"function" !== typeof getDerivedStateFromError && (null === legacyErrorBoundariesThatAlreadyFailed ? legacyErrorBoundariesThatAlreadyFailed = new Set([this]) : legacyErrorBoundariesThatAlreadyFailed.add(this));
|
|
6540
|
+
"function" !== typeof getDerivedStateFromError && (null === legacyErrorBoundariesThatAlreadyFailed ? legacyErrorBoundariesThatAlreadyFailed = /* @__PURE__ */ new Set([this]) : legacyErrorBoundariesThatAlreadyFailed.add(this));
|
|
6509
6541
|
callComponentDidCatchInDEV(this, errorInfo);
|
|
6510
6542
|
"function" === typeof getDerivedStateFromError || 0 === (fiber.lanes & 2) && console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.", getComponentNameFromFiber(fiber) || "Unknown");
|
|
6511
6543
|
});
|
|
@@ -6521,12 +6553,12 @@ var require_react_dom_client_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
6521
6553
|
if (null !== sourceFiber) {
|
|
6522
6554
|
switch (sourceFiber.tag) {
|
|
6523
6555
|
case 31:
|
|
6524
|
-
case 13: return null === shellBoundary ? renderDidSuspendDelayIfPossible() : null === sourceFiber.alternate && workInProgressRootExitStatus === RootInProgress && (workInProgressRootExitStatus = RootSuspended), sourceFiber.flags &= -257, sourceFiber.flags |= 65536, sourceFiber.lanes = rootRenderLanes, value === noopSuspenseyCommitThenable ? sourceFiber.flags |= 16384 : (returnFiber = sourceFiber.updateQueue, null === returnFiber ? sourceFiber.updateQueue = new Set([value]) : returnFiber.add(value), attachPingListener(root, value, rootRenderLanes)), !1;
|
|
6556
|
+
case 13: return null === shellBoundary ? renderDidSuspendDelayIfPossible() : null === sourceFiber.alternate && workInProgressRootExitStatus === RootInProgress && (workInProgressRootExitStatus = RootSuspended), sourceFiber.flags &= -257, sourceFiber.flags |= 65536, sourceFiber.lanes = rootRenderLanes, value === noopSuspenseyCommitThenable ? sourceFiber.flags |= 16384 : (returnFiber = sourceFiber.updateQueue, null === returnFiber ? sourceFiber.updateQueue = /* @__PURE__ */ new Set([value]) : returnFiber.add(value), attachPingListener(root, value, rootRenderLanes)), !1;
|
|
6525
6557
|
case 22: return sourceFiber.flags |= 65536, value === noopSuspenseyCommitThenable ? sourceFiber.flags |= 16384 : (returnFiber = sourceFiber.updateQueue, null === returnFiber ? (returnFiber = {
|
|
6526
6558
|
transitions: null,
|
|
6527
6559
|
markerInstances: null,
|
|
6528
|
-
retryQueue: new Set([value])
|
|
6529
|
-
}, sourceFiber.updateQueue = returnFiber) : (sourceFiber = returnFiber.retryQueue, null === sourceFiber ? returnFiber.retryQueue = new Set([value]) : sourceFiber.add(value)), attachPingListener(root, value, rootRenderLanes)), !1;
|
|
6560
|
+
retryQueue: /* @__PURE__ */ new Set([value])
|
|
6561
|
+
}, sourceFiber.updateQueue = returnFiber) : (sourceFiber = returnFiber.retryQueue, null === sourceFiber ? returnFiber.retryQueue = /* @__PURE__ */ new Set([value]) : sourceFiber.add(value)), attachPingListener(root, value, rootRenderLanes)), !1;
|
|
6530
6562
|
}
|
|
6531
6563
|
throw Error("Unexpected Suspense handler tag (" + sourceFiber.tag + "). This is a bug in React.");
|
|
6532
6564
|
}
|
|
@@ -10107,7 +10139,7 @@ var require_react_dom_client_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
10107
10139
|
if (null !== didWarnStateUpdateForNotYetMountedComponent) {
|
|
10108
10140
|
if (didWarnStateUpdateForNotYetMountedComponent.has(tag)) return;
|
|
10109
10141
|
didWarnStateUpdateForNotYetMountedComponent.add(tag);
|
|
10110
|
-
} else didWarnStateUpdateForNotYetMountedComponent = new Set([tag]);
|
|
10142
|
+
} else didWarnStateUpdateForNotYetMountedComponent = /* @__PURE__ */ new Set([tag]);
|
|
10111
10143
|
runWithFiberInDEV(fiber, function() {
|
|
10112
10144
|
console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.");
|
|
10113
10145
|
});
|
|
@@ -13026,7 +13058,7 @@ var require_react_dom_client_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
13026
13058
|
"transitionTimingFunction"
|
|
13027
13059
|
],
|
|
13028
13060
|
wordWrap: ["overflowWrap"]
|
|
13029
|
-
}, uppercasePattern = /([A-Z])/g, msPattern$1 = /^ms-/, badVendoredStyleNamePattern = /^(?:webkit|moz|o)[A-Z]/, msPattern = /^-ms-/, hyphenPattern = /-(.)/g, badStyleValueWithSemicolonPattern = /;\s*$/, warnedStyleNames = {}, warnedStyleValues = {}, warnedForNaNValue = !1, warnedForInfinityValue = !1, unitlessNumbers = new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")), MATH_NAMESPACE = "http://www.w3.org/1998/Math/MathML", SVG_NAMESPACE = "http://www.w3.org/2000/svg", aliases = new Map([
|
|
13061
|
+
}, uppercasePattern = /([A-Z])/g, msPattern$1 = /^ms-/, badVendoredStyleNamePattern = /^(?:webkit|moz|o)[A-Z]/, msPattern = /^-ms-/, hyphenPattern = /-(.)/g, badStyleValueWithSemicolonPattern = /;\s*$/, warnedStyleNames = {}, warnedStyleValues = {}, warnedForNaNValue = !1, warnedForInfinityValue = !1, unitlessNumbers = new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")), MATH_NAMESPACE = "http://www.w3.org/1998/Math/MathML", SVG_NAMESPACE = "http://www.w3.org/2000/svg", aliases = /* @__PURE__ */ new Map([
|
|
13030
13062
|
["acceptCharset", "accept-charset"],
|
|
13031
13063
|
["htmlFor", "for"],
|
|
13032
13064
|
["httpEquiv", "http-equiv"],
|
|
@@ -13900,9 +13932,7 @@ var require_react_dom_client_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
13900
13932
|
var resolveFamily = null, failedBoundaries = null, NoMode = 0, ConcurrentMode = 1, ProfileMode = 2, StrictLegacyMode = 8, StrictEffectsMode = 16, SuspenseyImagesMode = 32;
|
|
13901
13933
|
var hasBadMapPolyfill = !1;
|
|
13902
13934
|
try {
|
|
13903
|
-
|
|
13904
|
-
new Map([[nonExtensibleObject, null]]);
|
|
13905
|
-
new Set([nonExtensibleObject]);
|
|
13935
|
+
Object.preventExtensions({});
|
|
13906
13936
|
} catch (e$3) {
|
|
13907
13937
|
hasBadMapPolyfill = !0;
|
|
13908
13938
|
}
|
|
@@ -15463,7 +15493,7 @@ var require_react_dom_client_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
15463
15493
|
};
|
|
15464
15494
|
(function() {
|
|
15465
15495
|
var isomorphicReactPackageVersion = React.version;
|
|
15466
|
-
if ("19.2.
|
|
15496
|
+
if ("19.2.7" !== isomorphicReactPackageVersion) throw Error("Incompatible React versions: The \"react\" and \"react-dom\" packages must have the exact same version. Instead got:\n - react: " + (isomorphicReactPackageVersion + "\n - react-dom: 19.2.7\nLearn more: https://react.dev/warnings/version-mismatch"));
|
|
15467
15497
|
})();
|
|
15468
15498
|
"function" === typeof Map && null != Map.prototype && "function" === typeof Map.prototype.forEach && "function" === typeof Set && null != Set.prototype && "function" === typeof Set.prototype.clear && "function" === typeof Set.prototype.forEach || console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills");
|
|
15469
15499
|
ReactDOMSharedInternals.findDOMNode = function(componentOrElement) {
|
|
@@ -15481,10 +15511,10 @@ var require_react_dom_client_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
15481
15511
|
if (!(function() {
|
|
15482
15512
|
var internals = {
|
|
15483
15513
|
bundleType: 1,
|
|
15484
|
-
version: "19.2.
|
|
15514
|
+
version: "19.2.7",
|
|
15485
15515
|
rendererPackageName: "react-dom",
|
|
15486
15516
|
currentDispatcherRef: ReactSharedInternals,
|
|
15487
|
-
reconcilerVersion: "19.2.
|
|
15517
|
+
reconcilerVersion: "19.2.7"
|
|
15488
15518
|
};
|
|
15489
15519
|
internals.overrideHookState = overrideHookState;
|
|
15490
15520
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
|
@@ -15538,7 +15568,7 @@ var require_react_dom_client_development = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
15538
15568
|
listenToAllSupportedEvents(container);
|
|
15539
15569
|
return new ReactDOMHydrationRoot(initialChildren);
|
|
15540
15570
|
};
|
|
15541
|
-
exports.version = "19.2.
|
|
15571
|
+
exports.version = "19.2.7";
|
|
15542
15572
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
15543
15573
|
})();
|
|
15544
15574
|
}));
|
|
@@ -15550,6 +15580,7 @@ var require_client = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15550
15580
|
//#endregion
|
|
15551
15581
|
//#region src/vendor-entry.ts
|
|
15552
15582
|
var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
15583
|
+
var import_compiler_runtime = /* @__PURE__ */ __toESM(require_compiler_runtime(), 1);
|
|
15553
15584
|
var import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1);
|
|
15554
15585
|
var import_react_dom = /* @__PURE__ */ __toESM(require_react_dom(), 1);
|
|
15555
15586
|
var import_client = /* @__PURE__ */ __toESM(require_client(), 1);
|
|
@@ -15557,8 +15588,9 @@ var { Activity, Children, Component, Fragment, Profiler, PureComponent, StrictMo
|
|
|
15557
15588
|
var { createPortal, flushSync, preconnect, prefetchDNS, preinit, preinitModule, preload, preloadModule, requestFormReset, unstable_batchedUpdates, useFormState, useFormStatus } = import_react_dom;
|
|
15558
15589
|
var { createRoot, hydrateRoot } = import_client;
|
|
15559
15590
|
var { jsx, jsxs } = import_jsx_runtime;
|
|
15591
|
+
var { c } = import_compiler_runtime;
|
|
15560
15592
|
var vendor_entry_default = import_react;
|
|
15561
15593
|
//#endregion
|
|
15562
|
-
export { Activity, Children, Component, Fragment, Profiler, PureComponent, StrictMode, Suspense, act, cache, cacheSignal, captureOwnerStack, cloneElement, createContext, createElement, createPortal, createRef, createRoot, vendor_entry_default as default, flushSync, forwardRef, hydrateRoot, isValidElement, jsx, jsxs, lazy, memo, preconnect, prefetchDNS, preinit, preinitModule, preload, preloadModule, requestFormReset, startTransition, unstable_batchedUpdates, use, useActionState, useCallback, useContext, useDebugValue, useDeferredValue, useEffect, useEffectEvent, useFormState, useFormStatus, useId, useImperativeHandle, useInsertionEffect, useLayoutEffect, useMemo, useOptimistic, useReducer, useRef, useState, useSyncExternalStore, useTransition, version };
|
|
15594
|
+
export { Activity, Children, Component, Fragment, Profiler, PureComponent, StrictMode, Suspense, act, c, cache, cacheSignal, captureOwnerStack, cloneElement, createContext, createElement, createPortal, createRef, createRoot, vendor_entry_default as default, flushSync, forwardRef, hydrateRoot, isValidElement, jsx, jsxs, lazy, memo, preconnect, prefetchDNS, preinit, preinitModule, preload, preloadModule, requestFormReset, startTransition, unstable_batchedUpdates, use, useActionState, useCallback, useContext, useDebugValue, useDeferredValue, useEffect, useEffectEvent, useFormState, useFormStatus, useId, useImperativeHandle, useInsertionEffect, useLayoutEffect, useMemo, useOptimistic, useReducer, useRef, useState, useSyncExternalStore, useTransition, version };
|
|
15563
15595
|
|
|
15564
15596
|
//# sourceMappingURL=plitzi-sdk-dev-vendor.js.map
|
|
Binary file
|