@asgard-js/react 0.0.19 → 0.0.21

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.
Files changed (31) hide show
  1. package/README.md +131 -21
  2. package/dist/components/chatbot/chatbot-container/chatbot-container.d.ts.map +1 -1
  3. package/dist/components/chatbot/chatbot-footer/chatbot-footer.d.ts.map +1 -1
  4. package/dist/components/chatbot/chatbot-footer/speech-input-button.d.ts +2 -1
  5. package/dist/components/chatbot/chatbot-footer/speech-input-button.d.ts.map +1 -1
  6. package/dist/components/chatbot/chatbot.d.ts +3 -0
  7. package/dist/components/chatbot/chatbot.d.ts.map +1 -1
  8. package/dist/components/templates/button-template/button-template.d.ts.map +1 -1
  9. package/dist/components/templates/button-template/card.d.ts.map +1 -1
  10. package/dist/components/templates/carousel-template/carousel-template.d.ts.map +1 -1
  11. package/dist/components/templates/chart-template/chart-template.d.ts.map +1 -1
  12. package/dist/components/templates/hint-template/hint-template.d.ts.map +1 -1
  13. package/dist/components/templates/image-template/image-template.d.ts.map +1 -1
  14. package/dist/components/templates/quick-replies/quick-replies.d.ts.map +1 -1
  15. package/dist/components/templates/template-box/template-box.d.ts +3 -1
  16. package/dist/components/templates/template-box/template-box.d.ts.map +1 -1
  17. package/dist/components/templates/text-template/text-template.d.ts.map +1 -1
  18. package/dist/context/asgard-app-initialization-context.d.ts +33 -0
  19. package/dist/context/asgard-app-initialization-context.d.ts.map +1 -0
  20. package/dist/context/asgard-template-context.d.ts +2 -0
  21. package/dist/context/asgard-template-context.d.ts.map +1 -1
  22. package/dist/context/asgard-theme-context.d.ts +88 -0
  23. package/dist/context/asgard-theme-context.d.ts.map +1 -1
  24. package/dist/context/index.d.ts +1 -0
  25. package/dist/context/index.d.ts.map +1 -1
  26. package/dist/index.js +11641 -11405
  27. package/dist/models/bot-provider.d.ts +26 -0
  28. package/dist/models/bot-provider.d.ts.map +1 -0
  29. package/dist/utils/selectors.d.ts +4 -0
  30. package/dist/utils/selectors.d.ts.map +1 -0
  31. package/package.json +1 -1
package/README.md CHANGED
@@ -24,7 +24,8 @@ const App = () => {
24
24
  title="Asgard AI Chatbot"
25
25
  config={{
26
26
  apiKey: 'your-api-key',
27
- endpoint: 'https://api.asgard-ai.com',
27
+ endpoint: 'https://api.asgard-ai.com/ns/{namespace}/bot-provider/{botProviderId}/message/sse',
28
+ botProviderEndpoint: 'https://api.asgard-ai.com/ns/{namespace}/bot-provider/{botProviderId}',
28
29
  onExecutionError: (error) => {
29
30
  console.error('Execution error:', error);
30
31
  },
@@ -32,6 +33,7 @@ const App = () => {
32
33
  return payload;
33
34
  }
34
35
  }}
36
+ enableLoadConfigFromService={true}
35
37
  customChannelId="your-channel-id"
36
38
  initMessages={[]}
37
39
  debugMode={false}
@@ -57,8 +59,12 @@ export default App;
57
59
  - **config**: `ClientConfig` - Configuration object for the Asgard service client, including:
58
60
  - `apiKey`: `string` (required) - API key for authentication
59
61
  - `endpoint`: `string` (required) - API endpoint URL
62
+ - `botProviderEndpoint?`: `string` - Bot provider endpoint URL
60
63
  - `onExecutionError?`: `(error: ErrorEventData) => void` - Error handler for execution errors
61
64
  - `transformSsePayload?`: `(payload: FetchSsePayload) => FetchSsePayload` - SSE payload transformer
65
+ - **enableLoadConfigFromService?**: `boolean` - Enable loading configuration from service
66
+ - **loadingComponent?**: `ReactNode` - Custom loading component
67
+ - **asyncInitializers?**: `Record<string, () => Promise<unknown>>` - Asynchronous initializers for app initialization before rendering any component. Good for loading data or other async operations as the initial state. It only works when `enableLoadConfigFromService` is set to `true`.
62
68
  - **customChannelId**: `string` - Custom channel identifier for the chat session
63
69
  - **initMessages**: `ConversationMessage[]` - Initial messages to display in the chat
64
70
  - **debugMode**: `boolean` - Enable debug mode, defaults to `false`
@@ -70,29 +76,76 @@ export default App;
70
76
  - **onClose**: `() => void` - Callback function when chat is closed
71
77
 
72
78
  ### Theme Configuration
79
+ The theme configuration can be obtained from the bot provider metadata of `annotations` field and `theme` props.
80
+
81
+ The priority of themes is as follows (high to low):
82
+ 1. Theme from props
83
+ 2. Theme from annotations from bot provider metadata
84
+ 3. Default theme
73
85
 
74
86
  ```typescript
75
- interface AsgardThemeContextValue {
76
- chatbot: {
77
- width?: string;
78
- height?: string;
79
- maxWidth?: string;
80
- minWidth?: string;
81
- maxHeight?: string;
82
- minHeight?: string;
83
- backgroundColor?: string;
84
- borderColor?: string;
85
- borderRadius?: string;
86
- contentMaxWidth?: string;
87
- };
88
- botMessage: {
89
- color?: string;
90
- backgroundColor?: string;
91
- };
92
- userMessage: {
93
- color?: string;
94
- backgroundColor?: string;
87
+ export interface AsgardThemeContextValue {
88
+ chatbot: Pick<
89
+ CSSProperties,
90
+ | 'width'
91
+ | 'height'
92
+ | 'maxWidth'
93
+ | 'minWidth'
94
+ | 'maxHeight'
95
+ | 'minHeight'
96
+ | 'backgroundColor'
97
+ | 'borderColor'
98
+ | 'borderRadius'
99
+ > & {
100
+ contentMaxWidth?: CSSProperties['maxWidth'];
101
+ style?: CSSProperties;
102
+ header?: Partial<{
103
+ style: CSSProperties;
104
+ title: {
105
+ style: CSSProperties;
106
+ };
107
+ }>;
108
+ body?: Partial<{
109
+ style: CSSProperties;
110
+ }>;
111
+ footer?: Partial<{
112
+ style: CSSProperties;
113
+ textArea: {
114
+ style: CSSProperties;
115
+ };
116
+ submitButton: {
117
+ style: CSSProperties;
118
+ };
119
+ speechInputButton: {
120
+ style: CSSProperties;
121
+ };
122
+ }>;
95
123
  };
124
+ botMessage: Pick<CSSProperties, 'color' | 'backgroundColor'>;
125
+ userMessage: Pick<CSSProperties, 'color' | 'backgroundColor'>;
126
+ template?: Partial<{
127
+ /**
128
+ * first level for common/shared properties.
129
+ * Check MessageTemplate type for more details (packages/core/src/types/sse-response.ts).
130
+ */
131
+ quickReplies?: Partial<{
132
+ style: CSSProperties;
133
+ button: {
134
+ style: CSSProperties;
135
+ };
136
+ }>;
137
+ TextMessageTemplate: Partial<{ style: CSSProperties }>;
138
+ HintMessageTemplate: Partial<{ style: CSSProperties }>;
139
+ ImageMessageTemplate: Partial<{ style: CSSProperties }>;
140
+ ChartMessageTemplate: Partial<{ style: CSSProperties }>;
141
+ ButtonMessageTemplate: Partial<{ style: CSSProperties }>;
142
+ CarouselMessageTemplate: Partial<{ style: CSSProperties }>;
143
+
144
+ // Didn't implement yet
145
+ VideoMessageTemplate: Partial<{ style: CSSProperties }>;
146
+ AudioMessageTemplate: Partial<{ style: CSSProperties }>;
147
+ LocationMessageTemplate: Partial<{ style: CSSProperties }>;
148
+ }>;
96
149
  }
97
150
  ```
98
151
 
@@ -109,6 +162,28 @@ const defaultTheme = {
109
162
  borderColor: 'var(--asg-color-border)',
110
163
  borderRadius: 'var(--asg-radius-md)',
111
164
  contentMaxWidth: '1200px',
165
+ style: {},
166
+ header: {
167
+ style: {},
168
+ title: {
169
+ style: {},
170
+ },
171
+ },
172
+ body: {
173
+ style: {},
174
+ },
175
+ footer: {
176
+ style: {},
177
+ textArea: {
178
+ style: {},
179
+ },
180
+ submitButton: {
181
+ style: {},
182
+ },
183
+ speechInputButton: {
184
+ style: {},
185
+ },
186
+ },
112
187
  },
113
188
  botMessage: {
114
189
  color: 'var(--asg-color-text)',
@@ -118,6 +193,41 @@ const defaultTheme = {
118
193
  color: 'var(--asg-color-text)',
119
194
  backgroundColor: 'var(--asg-color-primary)',
120
195
  },
196
+ template: {
197
+ quickReplies: {
198
+ style: {},
199
+ button: {
200
+ style: {},
201
+ },
202
+ },
203
+ TextMessageTemplate: {
204
+ style: {},
205
+ },
206
+ HintMessageTemplate: {
207
+ style: {},
208
+ },
209
+ ImageMessageTemplate: {
210
+ style: {},
211
+ },
212
+ VideoMessageTemplate: {
213
+ style: {},
214
+ },
215
+ AudioMessageTemplate: {
216
+ style: {},
217
+ },
218
+ LocationMessageTemplate: {
219
+ style: {},
220
+ },
221
+ ChartMessageTemplate: {
222
+ style: {},
223
+ },
224
+ ButtonMessageTemplate: {
225
+ style: {},
226
+ },
227
+ CarouselMessageTemplate: {
228
+ style: {},
229
+ },
230
+ },
121
231
  }
122
232
  ```
123
233
 
@@ -1 +1 @@
1
- {"version":3,"file":"chatbot-container.d.ts","sourceRoot":"","sources":["../../../../src/components/chatbot/chatbot-container/chatbot-container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAU,MAAM,OAAO,CAAC;AAM7D,UAAU,qBAAsB,SAAQ,iBAAiB;IACvD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,GAAG,SAAS,CAoBxE"}
1
+ {"version":3,"file":"chatbot-container.d.ts","sourceRoot":"","sources":["../../../../src/components/chatbot/chatbot-container/chatbot-container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAU,MAAM,OAAO,CAAC;AAM7D,UAAU,qBAAsB,SAAQ,iBAAiB;IACvD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,GAAG,SAAS,CA+BxE"}
@@ -1 +1 @@
1
- {"version":3,"file":"chatbot-footer.d.ts","sourceRoot":"","sources":["../../../../src/components/chatbot/chatbot-footer/chatbot-footer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,SAAS,EAKV,MAAM,OAAO,CAAC;AAQf,wBAAgB,aAAa,IAAI,SAAS,CA0GzC"}
1
+ {"version":3,"file":"chatbot-footer.d.ts","sourceRoot":"","sources":["../../../../src/components/chatbot/chatbot-footer/chatbot-footer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,SAAS,EAKV,MAAM,OAAO,CAAC;AAQf,wBAAgB,aAAa,IAAI,SAAS,CA6GzC"}
@@ -1,8 +1,9 @@
1
- import { Dispatch, ReactNode, SetStateAction } from 'react';
1
+ import { Dispatch, ReactNode, SetStateAction, CSSProperties } from 'react';
2
2
 
3
3
  interface SpeechInputButtonProps {
4
4
  setValue: Dispatch<SetStateAction<string>>;
5
5
  className?: string;
6
+ style?: CSSProperties;
6
7
  }
7
8
  export declare function SpeechInputButton(props: SpeechInputButtonProps): ReactNode;
8
9
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"speech-input-button.d.ts","sourceRoot":"","sources":["../../../../src/components/chatbot/chatbot-footer/speech-input-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAER,SAAS,EACT,cAAc,EAMf,MAAM,OAAO,CAAC;AAIf,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,GAAG,SAAS,CA6G1E"}
1
+ {"version":3,"file":"speech-input-button.d.ts","sourceRoot":"","sources":["../../../../src/components/chatbot/chatbot-footer/speech-input-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAER,SAAS,EACT,cAAc,EAMd,aAAa,EACd,MAAM,OAAO,CAAC;AAIf,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,GAAG,SAAS,CA8G1E"}
@@ -13,8 +13,11 @@ interface ChatbotProps extends AsgardTemplateContextValue {
13
13
  fullScreen?: boolean;
14
14
  avatar?: string;
15
15
  botTypingPlaceholder?: string;
16
+ enableLoadConfigFromService?: boolean;
17
+ asyncInitializers?: Record<string, () => Promise<unknown>>;
16
18
  onReset?: () => void;
17
19
  onClose?: () => void;
20
+ loadingComponent?: ReactNode;
18
21
  }
19
22
  export declare function Chatbot(props: ChatbotProps): ReactNode;
20
23
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"chatbot.d.ts","sourceRoot":"","sources":["../../../src/components/chatbot/chatbot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,EAEL,uBAAuB,EACxB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAGL,0BAA0B,EAC3B,MAAM,aAAa,CAAC;AAMrB,UAAU,YAAa,SAAQ,0BAA0B;IACvD,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,SAAS,EAAE,CAAC;IAC5B,KAAK,CAAC,EAAE,OAAO,CAAC,uBAAuB,CAAC,CAAC;IACzC,MAAM,EAAE,YAAY,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,mBAAmB,EAAE,CAAC;IACrC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,GAAG,SAAS,CA4CtD"}
1
+ {"version":3,"file":"chatbot.d.ts","sourceRoot":"","sources":["../../../src/components/chatbot/chatbot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,EAEL,uBAAuB,EACxB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAGL,0BAA0B,EAE3B,MAAM,aAAa,CAAC;AAMrB,UAAU,YAAa,SAAQ,0BAA0B;IACvD,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,SAAS,EAAE,CAAC;IAC5B,KAAK,CAAC,EAAE,OAAO,CAAC,uBAAuB,CAAC,CAAC;IACzC,MAAM,EAAE,YAAY,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,mBAAmB,EAAE,CAAC;IACrC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,gBAAgB,CAAC,EAAE,SAAS,CAAC;CAC9B;AAED,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,GAAG,SAAS,CAwDtD"}
@@ -1 +1 @@
1
- {"version":3,"file":"button-template.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/button-template/button-template.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAyB,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAChF,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMlC,UAAU,mBAAmB;IAC3B,OAAO,EAAE,sBAAsB,CAAC;CACjC;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,GAAG,SAAS,CAkBpE"}
1
+ {"version":3,"file":"button-template.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/button-template/button-template.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAyB,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAChF,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOlC,UAAU,mBAAmB;IAC3B,OAAO,EAAE,sBAAsB,CAAC;CACjC;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,GAAG,SAAS,CAwBpE"}
@@ -1 +1 @@
1
- {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/button-template/card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,SAAS,EAAwB,MAAM,OAAO,CAAC;AAE3E,OAAO,EAEL,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,iBAAiB,CAAC;AAGzB,UAAU,SAAS;IACjB,QAAQ,EAAE,qBAAqB,GAAG,uBAAuB,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;CAC9E;AAED,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,CAsEhD"}
1
+ {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/button-template/card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,SAAS,EAAwB,MAAM,OAAO,CAAC;AAE3E,OAAO,EAEL,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,iBAAiB,CAAC;AAIzB,UAAU,SAAS;IACjB,QAAQ,EAAE,qBAAqB,GAAG,uBAAuB,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;CAC9E;AAED,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,CA2EhD"}
@@ -1 +1 @@
1
- {"version":3,"file":"carousel-template.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/carousel-template/carousel-template.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKlC,OAAO,EAEL,sBAAsB,EACvB,MAAM,iBAAiB,CAAC;AAIzB,UAAU,qBAAqB;IAC7B,OAAO,EAAE,sBAAsB,CAAC;CACjC;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,GAAG,SAAS,CAoBxE"}
1
+ {"version":3,"file":"carousel-template.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/carousel-template/carousel-template.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKlC,OAAO,EAEL,sBAAsB,EACvB,MAAM,iBAAiB,CAAC;AAKzB,UAAU,qBAAqB;IAC7B,OAAO,EAAE,sBAAsB,CAAC;CACjC;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,GAAG,SAAS,CAyBxE"}
@@ -1 +1 @@
1
- {"version":3,"file":"chart-template.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/chart-template/chart-template.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAqB,MAAM,OAAO,CAAC;AAIrD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAQzD,UAAU,kBAAkB;IAC1B,OAAO,EAAE,sBAAsB,CAAC;CACjC;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,GAAG,SAAS,CA6ClE"}
1
+ {"version":3,"file":"chart-template.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/chart-template/chart-template.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAqB,MAAM,OAAO,CAAC;AAIrD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AASzD,UAAU,kBAAkB;IAC1B,OAAO,EAAE,sBAAsB,CAAC;CACjC;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,GAAG,SAAS,CAkDlE"}
@@ -1 +1 @@
1
- {"version":3,"file":"hint-template.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/hint-template/hint-template.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAe,MAAM,OAAO,CAAC;AAG/C,OAAO,EAEL,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AAGzB,UAAU,iBAAiB;IACzB,OAAO,EAAE,mBAAmB,CAAC;CAC9B;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,SAAS,CA2ChE"}
1
+ {"version":3,"file":"hint-template.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/hint-template/hint-template.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAe,MAAM,OAAO,CAAC;AAG/C,OAAO,EAEL,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AAGzB,UAAU,iBAAiB;IACzB,OAAO,EAAE,mBAAmB,CAAC;CAC9B;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,SAAS,CA+ChE"}
@@ -1 +1 @@
1
- {"version":3,"file":"image-template.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/image-template/image-template.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AAI5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAKzD,UAAU,kBAAkB;IAC1B,OAAO,EAAE,sBAAsB,CAAC;CACjC;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,GAAG,SAAS,CAmClE"}
1
+ {"version":3,"file":"image-template.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/image-template/image-template.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AAI5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAMzD,UAAU,kBAAkB;IAC1B,OAAO,EAAE,sBAAsB,CAAC;CACjC;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,GAAG,SAAS,CA0ClE"}
@@ -1 +1 @@
1
- {"version":3,"file":"quick-replies.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/quick-replies/quick-replies.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAe,MAAM,OAAO,CAAC;AAI/C,UAAU,iBAAiB;IACzB,YAAY,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAClC;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,SAAS,CA4BhE"}
1
+ {"version":3,"file":"quick-replies.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/quick-replies/quick-replies.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAe,MAAM,OAAO,CAAC;AAK/C,UAAU,iBAAiB;IACzB,YAAY,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAClC;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,SAAS,CAiChE"}
@@ -1,13 +1,15 @@
1
- import { ReactNode } from 'react';
1
+ import { CSSProperties, ReactNode } from 'react';
2
2
 
3
3
  type TemplateBoxProps = {
4
4
  type: 'user';
5
5
  direction: 'horizontal';
6
6
  children: ReactNode;
7
+ style?: CSSProperties;
7
8
  } | {
8
9
  type: 'bot';
9
10
  direction: 'horizontal' | 'vertical';
10
11
  children: ReactNode;
12
+ style?: CSSProperties;
11
13
  };
12
14
  export declare function TemplateBox(props: TemplateBoxProps): ReactNode;
13
15
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"template-box.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/template-box/template-box.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAW,MAAM,OAAO,CAAC;AAI3C,KAAK,gBAAgB,GACjB;IACE,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,YAAY,CAAC;IACxB,QAAQ,EAAE,SAAS,CAAC;CACrB,GACD;IACE,IAAI,EAAE,KAAK,CAAC;IACZ,SAAS,EAAE,YAAY,GAAG,UAAU,CAAC;IACrC,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEN,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,GAAG,SAAS,CAoB9D"}
1
+ {"version":3,"file":"template-box.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/template-box/template-box.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAW,MAAM,OAAO,CAAC;AAI1D,KAAK,gBAAgB,GACjB;IACE,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,YAAY,CAAC;IACxB,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,GACD;IACE,IAAI,EAAE,KAAK,CAAC;IACZ,SAAS,EAAE,YAAY,GAAG,UAAU,CAAC;IACrC,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AAEN,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,GAAG,SAAS,CAwB9D"}
@@ -1 +1 @@
1
- {"version":3,"file":"text-template.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/text-template/text-template.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,SAAS,EAAW,MAAM,OAAO,CAAC;AAE1D,OAAO,EAA0B,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAS9E,UAAU,iBAAiB;IACzB,OAAO,EAAE,mBAAmB,CAAC;CAC9B;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,SAAS,CA8DhE"}
1
+ {"version":3,"file":"text-template.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/text-template/text-template.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,SAAS,EAAW,MAAM,OAAO,CAAC;AAE1D,OAAO,EAA0B,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAS9E,UAAU,iBAAiB;IACzB,OAAO,EAAE,mBAAmB,CAAC;CAC9B;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,SAAS,CAgEhE"}
@@ -0,0 +1,33 @@
1
+ import { ClientConfig } from '@asgard-js/core';
2
+ import { default as React, PropsWithChildren, ReactNode } from 'react';
3
+
4
+ type AsyncInitializers = {
5
+ [key: string]: () => Promise<unknown>;
6
+ };
7
+ export interface Annotations {
8
+ embedConfig: {
9
+ theme: {
10
+ chatbot: Record<string, unknown>;
11
+ botMessage: Record<string, unknown>;
12
+ userMessage: Record<string, unknown>;
13
+ };
14
+ };
15
+ }
16
+ export interface AsgardAppInitializationContextValue {
17
+ data: {
18
+ annotations?: Annotations;
19
+ };
20
+ loading: boolean;
21
+ error: Error | null;
22
+ }
23
+ export declare const AsgardAppInitializationContext: React.Context<AsgardAppInitializationContextValue>;
24
+ export interface AsgardAppInitializationContextProviderProps {
25
+ enabled: boolean;
26
+ config: ClientConfig;
27
+ asyncInitializers: AsyncInitializers;
28
+ loadingComponent?: React.ReactNode;
29
+ }
30
+ export declare const AsgardAppInitializationContextProvider: (props: PropsWithChildren<AsgardAppInitializationContextProviderProps>) => ReactNode;
31
+ export declare const useAsgardAppInitializationContext: () => AsgardAppInitializationContextValue;
32
+ export {};
33
+ //# sourceMappingURL=asgard-app-initialization-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"asgard-app-initialization-context.d.ts","sourceRoot":"","sources":["../../src/context/asgard-app-initialization-context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAMZ,iBAAiB,EACjB,SAAS,EACV,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAK/C,KAAK,iBAAiB,GAAG;IACvB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;CACvC,CAAC;AAEF,MAAM,WAAW,WAAW;IAC1B,WAAW,EAAE;QACX,KAAK,EAAE;YACL,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;YACjC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;YACpC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;SACtC,CAAC;KACH,CAAC;CACH;AAED,MAAM,WAAW,mCAAmC;IAClD,IAAI,EAAE;QACJ,WAAW,CAAC,EAAE,WAAW,CAAC;KAC3B,CAAC;IACF,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,8BAA8B,oDAKvC,CAAC;AAEL,MAAM,WAAW,2CAA2C;IAC1D,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,YAAY,CAAC;IACrB,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACpC;AAED,eAAO,MAAM,sCAAsC,UAC1C,iBAAiB,CAAC,2CAA2C,CAAC,KACpE,SA4EF,CAAC;AAEF,eAAO,MAAM,iCAAiC,QACxC,mCACwC,CAAC"}
@@ -4,11 +4,13 @@ import { PropsWithChildren, ReactNode } from 'react';
4
4
  export interface AsgardTemplateContextValue {
5
5
  onErrorClick?: (message: ConversationErrorMessage) => void;
6
6
  errorMessageRenderer?: (message: ConversationErrorMessage) => ReactNode;
7
+ onTemplateBtnClick?: (payload: any) => void;
7
8
  }
8
9
  export declare const AsgardTemplateContext: import('react').Context<AsgardTemplateContextValue>;
9
10
  interface AsgardTemplateContextProviderProps extends PropsWithChildren {
10
11
  onErrorClick?: (message: ConversationErrorMessage) => void;
11
12
  errorMessageRenderer?: (message: ConversationErrorMessage) => ReactNode;
13
+ onTemplateBtnClick?: (payload: any) => void;
12
14
  }
13
15
  export declare function AsgardTemplateContextProvider(props: AsgardTemplateContextProviderProps): ReactNode;
14
16
  export declare function useAsgardTemplateContext(): AsgardTemplateContextValue;
@@ -1 +1 @@
1
- {"version":3,"file":"asgard-template-context.d.ts","sourceRoot":"","sources":["../../src/context/asgard-template-context.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EACjB,SAAS,EAGV,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAE3D,MAAM,WAAW,0BAA0B;IACzC,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,wBAAwB,KAAK,IAAI,CAAC;IAC3D,oBAAoB,CAAC,EAAE,CAAC,OAAO,EAAE,wBAAwB,KAAK,SAAS,CAAC;CACzE;AAED,eAAO,MAAM,qBAAqB,qDAGhC,CAAC;AAEH,UAAU,kCAAmC,SAAQ,iBAAiB;IACpE,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,wBAAwB,KAAK,IAAI,CAAC;IAC3D,oBAAoB,CAAC,EAAE,CAAC,OAAO,EAAE,wBAAwB,KAAK,SAAS,CAAC;CACzE;AAED,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,kCAAkC,GACxC,SAAS,CAaX;AAED,wBAAgB,wBAAwB,IAAI,0BAA0B,CAErE"}
1
+ {"version":3,"file":"asgard-template-context.d.ts","sourceRoot":"","sources":["../../src/context/asgard-template-context.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EACjB,SAAS,EAGV,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAE3D,MAAM,WAAW,0BAA0B;IACzC,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,wBAAwB,KAAK,IAAI,CAAC;IAC3D,oBAAoB,CAAC,EAAE,CAAC,OAAO,EAAE,wBAAwB,KAAK,SAAS,CAAC;IACxE,kBAAkB,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,IAAI,CAAC;CAC7C;AAED,eAAO,MAAM,qBAAqB,qDAIhC,CAAC;AAEH,UAAU,kCAAmC,SAAQ,iBAAiB;IACpE,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,wBAAwB,KAAK,IAAI,CAAC;IAC3D,oBAAoB,CAAC,EAAE,CAAC,OAAO,EAAE,wBAAwB,KAAK,SAAS,CAAC;IACxE,kBAAkB,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,IAAI,CAAC;CAC7C;AAED,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,kCAAkC,GACxC,SAAS,CAcX;AAED,wBAAgB,wBAAwB,IAAI,0BAA0B,CAErE"}
@@ -3,9 +3,97 @@ import { CSSProperties, PropsWithChildren, ReactNode } from 'react';
3
3
  export interface AsgardThemeContextValue {
4
4
  chatbot: Pick<CSSProperties, 'width' | 'height' | 'maxWidth' | 'minWidth' | 'maxHeight' | 'minHeight' | 'backgroundColor' | 'borderColor' | 'borderRadius'> & {
5
5
  contentMaxWidth?: CSSProperties['maxWidth'];
6
+ style?: CSSProperties;
7
+ header?: Partial<{
8
+ style: CSSProperties;
9
+ title: {
10
+ style: CSSProperties;
11
+ };
12
+ }>;
13
+ body?: Partial<{
14
+ style: CSSProperties;
15
+ }>;
16
+ footer?: Partial<{
17
+ style: CSSProperties;
18
+ textArea: {
19
+ style: CSSProperties;
20
+ };
21
+ submitButton: {
22
+ style: CSSProperties;
23
+ };
24
+ speechInputButton: {
25
+ style: CSSProperties;
26
+ };
27
+ }>;
6
28
  };
7
29
  botMessage: Pick<CSSProperties, 'color' | 'backgroundColor'>;
8
30
  userMessage: Pick<CSSProperties, 'color' | 'backgroundColor'>;
31
+ template?: Partial<{
32
+ /**
33
+ * first level for common/shared properties.
34
+ * Check MessageTemplate type for more details (packages/core/src/types/sse-response.ts).
35
+ */
36
+ quickReplies?: Partial<{
37
+ style: CSSProperties;
38
+ button: {
39
+ style: CSSProperties;
40
+ };
41
+ }>;
42
+ /**
43
+ * TBD: Fill the necessary properties based on the requirements.
44
+ */
45
+ TextMessageTemplate: Partial<{
46
+ style: CSSProperties;
47
+ }>;
48
+ /**
49
+ * TBD: Fill the necessary properties based on the requirements.
50
+ */
51
+ HintMessageTemplate: Partial<{
52
+ style: CSSProperties;
53
+ }>;
54
+ /**
55
+ * TBD: Fill the necessary properties based on the requirements.
56
+ */
57
+ ImageMessageTemplate: Partial<{
58
+ style: CSSProperties;
59
+ }>;
60
+ /**
61
+ * TBD: Fill the necessary properties based on the requirements.
62
+ */
63
+ VideoMessageTemplate: Partial<{
64
+ style: CSSProperties;
65
+ }>;
66
+ /**
67
+ * TBD: Fill the necessary properties based on the requirements.
68
+ */
69
+ AudioMessageTemplate: Partial<{
70
+ style: CSSProperties;
71
+ }>;
72
+ /**
73
+ * TBD: Fill the necessary properties based on the requirements.
74
+ */
75
+ LocationMessageTemplate: Partial<{
76
+ style: CSSProperties;
77
+ }>;
78
+ /**
79
+ * TBD: Fill the necessary properties based on the requirements.
80
+ */
81
+ ChartMessageTemplate: Partial<{
82
+ style: CSSProperties;
83
+ }>;
84
+ /**
85
+ * TBD: Fill the necessary properties based on the requirements.
86
+ */
87
+ ButtonMessageTemplate: Partial<{
88
+ style: CSSProperties;
89
+ }>;
90
+ /**
91
+ * TBD: Fill the necessary properties based on the requirements.
92
+ */
93
+ CarouselMessageTemplate: Partial<{
94
+ style: CSSProperties;
95
+ }>;
96
+ }>;
9
97
  }
10
98
  export declare const defaultAsgardThemeContextValue: AsgardThemeContextValue;
11
99
  export declare const AsgardThemeContext: import('react').Context<AsgardThemeContextValue>;
@@ -1 +1 @@
1
- {"version":3,"file":"asgard-theme-context.d.ts","sourceRoot":"","sources":["../../src/context/asgard-theme-context.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,aAAa,EACb,iBAAiB,EACjB,SAAS,EAGV,MAAM,OAAO,CAAC;AAGf,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,IAAI,CACX,aAAa,EACX,OAAO,GACP,QAAQ,GACR,UAAU,GACV,UAAU,GACV,WAAW,GACX,WAAW,GACX,iBAAiB,GACjB,aAAa,GACb,cAAc,CACjB,GAAG;QACF,eAAe,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;KAC7C,CAAC;IACF,UAAU,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,GAAG,iBAAiB,CAAC,CAAC;IAC7D,WAAW,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,GAAG,iBAAiB,CAAC,CAAC;CAC/D;AAED,eAAO,MAAM,8BAA8B,EAAE,uBAiB5C,CAAC;AAEF,eAAO,MAAM,kBAAkB,kDAE9B,CAAC;AAEF,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,iBAAiB,CAAC;IACvB,KAAK,CAAC,EAAE,OAAO,CAAC,uBAAuB,CAAC,CAAC;CAC1C,CAAC,GACD,SAAS,CAaX;AAED,wBAAgB,qBAAqB,IAAI,uBAAuB,CAE/D"}
1
+ {"version":3,"file":"asgard-theme-context.d.ts","sourceRoot":"","sources":["../../src/context/asgard-theme-context.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,aAAa,EACb,iBAAiB,EACjB,SAAS,EAIV,MAAM,OAAO,CAAC;AAIf,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,IAAI,CACX,aAAa,EACX,OAAO,GACP,QAAQ,GACR,UAAU,GACV,UAAU,GACV,WAAW,GACX,WAAW,GACX,iBAAiB,GACjB,aAAa,GACb,cAAc,CACjB,GAAG;QACF,eAAe,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;QAC5C,KAAK,CAAC,EAAE,aAAa,CAAC;QACtB,MAAM,CAAC,EAAE,OAAO,CAAC;YACf,KAAK,EAAE,aAAa,CAAC;YACrB,KAAK,EAAE;gBACL,KAAK,EAAE,aAAa,CAAC;aACtB,CAAC;SACH,CAAC,CAAC;QACH,IAAI,CAAC,EAAE,OAAO,CAAC;YACb,KAAK,EAAE,aAAa,CAAC;SACtB,CAAC,CAAC;QACH,MAAM,CAAC,EAAE,OAAO,CAAC;YACf,KAAK,EAAE,aAAa,CAAC;YACrB,QAAQ,EAAE;gBACR,KAAK,EAAE,aAAa,CAAC;aACtB,CAAC;YACF,YAAY,EAAE;gBACZ,KAAK,EAAE,aAAa,CAAC;aACtB,CAAC;YACF,iBAAiB,EAAE;gBACjB,KAAK,EAAE,aAAa,CAAC;aACtB,CAAC;SACH,CAAC,CAAC;KACJ,CAAC;IACF,UAAU,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,GAAG,iBAAiB,CAAC,CAAC;IAC7D,WAAW,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,GAAG,iBAAiB,CAAC,CAAC;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAC;QACjB;;;WAGG;QACH,YAAY,CAAC,EAAE,OAAO,CAAC;YACrB,KAAK,EAAE,aAAa,CAAC;YACrB,MAAM,EAAE;gBACN,KAAK,EAAE,aAAa,CAAC;aACtB,CAAC;SACH,CAAC,CAAC;QACH;;WAEG;QACH,mBAAmB,EAAE,OAAO,CAAC;YAAE,KAAK,EAAE,aAAa,CAAA;SAAE,CAAC,CAAC;QACvD;;WAEG;QACH,mBAAmB,EAAE,OAAO,CAAC;YAAE,KAAK,EAAE,aAAa,CAAA;SAAE,CAAC,CAAC;QACvD;;WAEG;QACH,oBAAoB,EAAE,OAAO,CAAC;YAAE,KAAK,EAAE,aAAa,CAAA;SAAE,CAAC,CAAC;QACxD;;WAEG;QACH,oBAAoB,EAAE,OAAO,CAAC;YAAE,KAAK,EAAE,aAAa,CAAA;SAAE,CAAC,CAAC;QACxD;;WAEG;QACH,oBAAoB,EAAE,OAAO,CAAC;YAAE,KAAK,EAAE,aAAa,CAAA;SAAE,CAAC,CAAC;QACxD;;WAEG;QACH,uBAAuB,EAAE,OAAO,CAAC;YAAE,KAAK,EAAE,aAAa,CAAA;SAAE,CAAC,CAAC;QAC3D;;WAEG;QACH,oBAAoB,EAAE,OAAO,CAAC;YAAE,KAAK,EAAE,aAAa,CAAA;SAAE,CAAC,CAAC;QACxD;;WAEG;QACH,qBAAqB,EAAE,OAAO,CAAC;YAAE,KAAK,EAAE,aAAa,CAAA;SAAE,CAAC,CAAC;QACzD;;WAEG;QACH,uBAAuB,EAAE,OAAO,CAAC;YAAE,KAAK,EAAE,aAAa,CAAA;SAAE,CAAC,CAAC;KAC5D,CAAC,CAAC;CACJ;AAED,eAAO,MAAM,8BAA8B,EAAE,uBA0E5C,CAAC;AAEF,eAAO,MAAM,kBAAkB,kDAE9B,CAAC;AAEF,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,iBAAiB,CAAC;IACvB,KAAK,CAAC,EAAE,OAAO,CAAC,uBAAuB,CAAC,CAAC;CAC1C,CAAC,GACD,SAAS,CAiCX;AAED,wBAAgB,qBAAqB,IAAI,uBAAuB,CAE/D"}
@@ -1,4 +1,5 @@
1
1
  export * from './asgard-service-context';
2
2
  export * from './asgard-template-context';
3
3
  export * from './asgard-theme-context';
4
+ export * from './asgard-app-initialization-context';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/context/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/context/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,qCAAqC,CAAC"}