@inploi/plugin-chatbot 14.17.3 → 14.18.1

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 (96) hide show
  1. package/README.md +10 -1
  2. package/cdn/index.js +34 -6
  3. package/cdn/style.css +1 -1
  4. package/dist/chatbot-body-DjE1hhPI.js +4309 -0
  5. package/dist/chatbot-body-Y8XV3f3-.cjs +5 -0
  6. package/dist/common.geo-transport-CJGUJXTA-BsgnqoTX.js +41 -0
  7. package/dist/common.geo-transport-CJGUJXTA-DQyNyTXw.cjs +1 -0
  8. package/dist/index-C8Gr0Ijn.js +3198 -0
  9. package/dist/index-DSa7ZKqt.cjs +21 -0
  10. package/dist/index.d.cts +547 -0
  11. package/dist/index.d.ts +547 -2
  12. package/dist/plugin-chatbot.cjs +1 -1
  13. package/dist/plugin-chatbot.js +2 -3
  14. package/dist/style.css +1 -1
  15. package/package.json +18 -13
  16. package/dist/accessible-labels.test.d.ts +0 -1
  17. package/dist/chatbot-body-2942441d.cjs +0 -5
  18. package/dist/chatbot-body-73450740.js +0 -4523
  19. package/dist/chatbot.analytics.d.ts +0 -37
  20. package/dist/chatbot.analytics.test.d.ts +0 -1
  21. package/dist/chatbot.api.d.ts +0 -26
  22. package/dist/chatbot.constants.d.ts +0 -2
  23. package/dist/chatbot.context.test.d.ts +0 -1
  24. package/dist/chatbot.d.ts +0 -104
  25. package/dist/chatbot.dom.d.ts +0 -5
  26. package/dist/chatbot.idb.d.ts +0 -73
  27. package/dist/chatbot.lifecycle.test.d.ts +0 -1
  28. package/dist/chatbot.resume.d.ts +0 -15
  29. package/dist/chatbot.resume.test.d.ts +0 -1
  30. package/dist/chatbot.state.d.ts +0 -78
  31. package/dist/chatbot.state.test.d.ts +0 -1
  32. package/dist/chatbot.storage.test.d.ts +0 -1
  33. package/dist/chatbot.utils.d.ts +0 -8
  34. package/dist/components/chat-bubble.d.ts +0 -11
  35. package/dist/components/chat-error.d.ts +0 -3
  36. package/dist/components/chat-input/chat-input.address-countries.test.d.ts +0 -1
  37. package/dist/components/chat-input/chat-input.address.d.ts +0 -5
  38. package/dist/components/chat-input/chat-input.address.test.d.ts +0 -1
  39. package/dist/components/chat-input/chat-input.boolean.d.ts +0 -11
  40. package/dist/components/chat-input/chat-input.constants.d.ts +0 -1
  41. package/dist/components/chat-input/chat-input.d.ts +0 -12
  42. package/dist/components/chat-input/chat-input.file.d.ts +0 -8
  43. package/dist/components/chat-input/chat-input.file.test.d.ts +0 -1
  44. package/dist/components/chat-input/chat-input.multiple-choice.d.ts +0 -4
  45. package/dist/components/chat-input/chat-input.multiple-choice.test.d.ts +0 -1
  46. package/dist/components/chat-input/chat-input.number.d.ts +0 -4
  47. package/dist/components/chat-input/chat-input.phone-number.d.ts +0 -4
  48. package/dist/components/chat-input/chat-input.submit.d.ts +0 -4
  49. package/dist/components/chat-input/chat-input.submit.test.d.ts +0 -1
  50. package/dist/components/chat-input/chat-input.text.d.ts +0 -5
  51. package/dist/components/chat-input/chat-input.text.test.d.ts +0 -1
  52. package/dist/components/chat-input/input-style.d.ts +0 -3
  53. package/dist/components/chat-loading.d.ts +0 -1
  54. package/dist/components/chatbot-body.d.ts +0 -12
  55. package/dist/components/chatbot-body.lifecycle.test.d.ts +0 -1
  56. package/dist/components/chatbot.d.ts +0 -17
  57. package/dist/components/conversation.d.ts +0 -8
  58. package/dist/components/correction.test.d.ts +0 -1
  59. package/dist/components/input-error.d.ts +0 -5
  60. package/dist/components/job-alerts-offer.d.ts +0 -13
  61. package/dist/components/job-alerts-offer.test.d.ts +0 -1
  62. package/dist/components/job-alerts-privacy-line.test.d.ts +0 -1
  63. package/dist/components/loading-indicator.d.ts +0 -3
  64. package/dist/components/message.link.d.ts +0 -5
  65. package/dist/components/palette-debugger.d.ts +0 -1
  66. package/dist/components/send-button.d.ts +0 -3
  67. package/dist/components/skip-button.d.ts +0 -3
  68. package/dist/components/status-bar.d.ts +0 -22
  69. package/dist/components/status-bar.test.d.ts +0 -1
  70. package/dist/components/transition.d.ts +0 -1
  71. package/dist/components/typing-indicator.d.ts +0 -3
  72. package/dist/components/useChatService.d.ts +0 -17
  73. package/dist/components/useChatService.test.d.ts +0 -1
  74. package/dist/components/useFocus.d.ts +0 -1
  75. package/dist/i18n.d.ts +0 -776
  76. package/dist/index-0685e04a.cjs +0 -5
  77. package/dist/index-8df73cbc.js +0 -3530
  78. package/dist/index.cdn.d.ts +0 -9
  79. package/dist/index.dev.d.ts +0 -8
  80. package/dist/interpreter.test.d.ts +0 -1
  81. package/dist/md.d.ts +0 -1
  82. package/dist/md.test.d.ts +0 -1
  83. package/dist/mocks/browser.d.ts +0 -1
  84. package/dist/mocks/flows.mocks.d.ts +0 -77
  85. package/dist/mocks/handlers.d.ts +0 -14
  86. package/dist/mocks/mocks.utils.d.ts +0 -5
  87. package/dist/mocks/pre-apply.mock.d.ts +0 -296
  88. package/dist/phone.test.d.ts +0 -1
  89. package/dist/progress.d.ts +0 -12
  90. package/dist/progress.test.d.ts +0 -1
  91. package/dist/rpc.d.ts +0 -1
  92. package/dist/style/theme.d.ts +0 -3
  93. package/dist/style/theme.utils.d.ts +0 -6
  94. package/dist/style/tokens.d.ts +0 -86
  95. package/dist/widget-version.d.ts +0 -7
  96. package/dist/widget-version.test.d.ts +0 -1
@@ -1,9 +0,0 @@
1
- import { chatbotPlugin } from './chatbot';
2
-
3
- declare global {
4
- interface Window {
5
- inploi?: {
6
- chatbotPlugin?: typeof chatbotPlugin;
7
- };
8
- }
9
- }
@@ -1,8 +0,0 @@
1
- import { chatbotPlugin } from './chatbot';
2
-
3
- declare global {
4
- interface Window {
5
- chatbot: ReturnType<ReturnType<typeof chatbotPlugin>>;
6
- startApplication: (jobId: string) => Promise<void>;
7
- }
8
- }
@@ -1 +0,0 @@
1
- export {};
package/dist/md.d.ts DELETED
@@ -1 +0,0 @@
1
- export declare const parseMarkdownToJSX: (input: string) => React.ReactNode[];
package/dist/md.test.d.ts DELETED
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export declare const worker: import('msw/browser').SetupWorker;
@@ -1,77 +0,0 @@
1
- import { InferInput } from 'valibot';
2
- import { FlowSchema } from '../chatbot.api';
3
-
4
- /** Modify only for integration tests */
5
- export declare const automatedTestFlow: [{
6
- readonly id: "1";
7
- readonly isHead: true;
8
- readonly nextId: "2";
9
- readonly data: {
10
- readonly text: "Test context: {{$context.context_var}} City: {{$context.user.city}}";
11
- };
12
- readonly type: "text";
13
- }, {
14
- readonly id: "2";
15
- readonly nextId: "3";
16
- readonly data: {
17
- readonly key: "name";
18
- readonly question: "What is your name?";
19
- readonly placeholder: "John";
20
- readonly format: "text";
21
- readonly optional: false;
22
- };
23
- readonly type: "question-text";
24
- }, {
25
- readonly id: "3";
26
- readonly nextId: "4";
27
- readonly data: {
28
- readonly key: "age";
29
- readonly question: "How old are you?";
30
- readonly placeholder: "25";
31
- readonly format: "text";
32
- readonly optional: false;
33
- };
34
- readonly type: "question-text";
35
- }, {
36
- readonly id: "4";
37
- readonly data: {
38
- readonly key: "question";
39
- readonly question: "Do you have right to work in Mars?";
40
- readonly trueLabel: "Yes";
41
- readonly falseLabel: "No";
42
- readonly optional: false;
43
- };
44
- readonly type: "question-boolean";
45
- readonly nextId: "ac6db6af-5bc9-4d0f-9282-ecdf204d6c7b";
46
- }, {
47
- readonly id: "ac6db6af-5bc9-4d0f-9282-ecdf204d6c7b";
48
- readonly data: {
49
- readonly compareKey: "question";
50
- readonly compareValue: "false";
51
- readonly compare: "equals";
52
- };
53
- readonly type: "if-block";
54
- readonly branchId: "1d4fdae3-174a-415a-861e-593dd6ef9346";
55
- readonly nextId: "1a70e4e7-12b4-4ab6-bb96-05af6e77b2af";
56
- }, {
57
- readonly id: "1d4fdae3-174a-415a-861e-593dd6ef9346";
58
- readonly data: {
59
- readonly text: "u cant";
60
- };
61
- readonly type: "text";
62
- readonly nextId: "f391acce-c045-4310-9c7b-845f731ac069";
63
- }, {
64
- readonly id: "f391acce-c045-4310-9c7b-845f731ac069";
65
- readonly data: {
66
- readonly systemMessage: "Conversation ended";
67
- };
68
- readonly type: "end-flow";
69
- }, {
70
- readonly id: "1a70e4e7-12b4-4ab6-bb96-05af6e77b2af";
71
- readonly data: {
72
- readonly text: "nice one!";
73
- };
74
- readonly type: "text";
75
- }];
76
- export declare const debugFlow: InferInput<typeof FlowSchema>['nodes'];
77
- export declare const checkDuplicateFlow: InferInput<typeof FlowSchema>['nodes'];
@@ -1,14 +0,0 @@
1
- export declare const TEST_API_BASE_URL = "https://api.staging.inploi.com";
2
- export declare const getFlowMockHandler: {
3
- test_unmet_schema: import('msw').HttpHandler;
4
- test: import('msw').HttpHandler;
5
- /** Returns a valid flow. */
6
- success: import('msw').HttpHandler;
7
- /** Returns an invalid payload with a 200 code.
8
- * E.g.: if the backend returns something incompatible with the frontend.
9
- */
10
- invalid_payload: import('msw').HttpHandler;
11
- /** Returns a laravel-structured error */
12
- exception: import('msw').HttpHandler;
13
- };
14
- export declare const defaultMockHandlers: import('msw').HttpHandler[];
@@ -1,5 +0,0 @@
1
- import { FlowNode } from '@inploi/core/flows';
2
- import { HttpResponse } from 'msw';
3
-
4
- export declare const mockGetFlowEndpoint: (nodes: FlowNode[]) => import('msw').HttpHandler;
5
- export declare const mockSubmitEndpoint: (response: Parameters<typeof HttpResponse.json>[0]) => import('msw').HttpHandler;
@@ -1,296 +0,0 @@
1
- export declare const preApplyFlow: ({
2
- id: string;
3
- isHead: true;
4
- type: "flow-section";
5
- nextId: string;
6
- data: {
7
- title: string;
8
- key?: undefined;
9
- question?: undefined;
10
- trueLabel?: undefined;
11
- falseLabel?: undefined;
12
- optional?: undefined;
13
- compareKey?: undefined;
14
- compareValue?: undefined;
15
- compare?: undefined;
16
- preApply?: undefined;
17
- participationKey?: undefined;
18
- messages?: undefined;
19
- continueLabel?: undefined;
20
- alternativeLink?: undefined;
21
- format?: undefined;
22
- integrationId?: undefined;
23
- submitLabel?: undefined;
24
- submitKeys?: undefined;
25
- skipConfirmation?: undefined;
26
- systemMessage?: undefined;
27
- };
28
- branchId?: undefined;
29
- } | {
30
- id: string;
31
- type: "question-boolean";
32
- nextId: string;
33
- data: {
34
- key: string;
35
- question: string;
36
- trueLabel: string;
37
- falseLabel: string;
38
- optional: false;
39
- title?: undefined;
40
- compareKey?: undefined;
41
- compareValue?: undefined;
42
- compare?: undefined;
43
- preApply?: undefined;
44
- participationKey?: undefined;
45
- messages?: undefined;
46
- continueLabel?: undefined;
47
- alternativeLink?: undefined;
48
- format?: undefined;
49
- integrationId?: undefined;
50
- submitLabel?: undefined;
51
- submitKeys?: undefined;
52
- skipConfirmation?: undefined;
53
- systemMessage?: undefined;
54
- };
55
- isHead?: undefined;
56
- branchId?: undefined;
57
- } | {
58
- id: string;
59
- type: "if-block";
60
- branchId: string;
61
- nextId: string;
62
- data: {
63
- compareKey: string;
64
- compareValue: string;
65
- compare: "equals";
66
- title?: undefined;
67
- key?: undefined;
68
- question?: undefined;
69
- trueLabel?: undefined;
70
- falseLabel?: undefined;
71
- optional?: undefined;
72
- preApply?: undefined;
73
- participationKey?: undefined;
74
- messages?: undefined;
75
- continueLabel?: undefined;
76
- alternativeLink?: undefined;
77
- format?: undefined;
78
- integrationId?: undefined;
79
- submitLabel?: undefined;
80
- submitKeys?: undefined;
81
- skipConfirmation?: undefined;
82
- systemMessage?: undefined;
83
- };
84
- isHead?: undefined;
85
- } | {
86
- id: string;
87
- type: "question-boolean";
88
- nextId: string;
89
- data: {
90
- key: string;
91
- question: string;
92
- trueLabel: string;
93
- falseLabel: string;
94
- optional: false;
95
- preApply: {
96
- severity: "hard";
97
- expectedValue: true;
98
- mismatchMessage: string;
99
- };
100
- title?: undefined;
101
- compareKey?: undefined;
102
- compareValue?: undefined;
103
- compare?: undefined;
104
- participationKey?: undefined;
105
- messages?: undefined;
106
- continueLabel?: undefined;
107
- alternativeLink?: undefined;
108
- format?: undefined;
109
- integrationId?: undefined;
110
- submitLabel?: undefined;
111
- submitKeys?: undefined;
112
- skipConfirmation?: undefined;
113
- systemMessage?: undefined;
114
- };
115
- isHead?: undefined;
116
- branchId?: undefined;
117
- } | {
118
- id: string;
119
- type: "question-boolean";
120
- nextId: string;
121
- data: {
122
- key: string;
123
- question: string;
124
- trueLabel: string;
125
- falseLabel: string;
126
- optional: false;
127
- preApply: {
128
- severity: "advisory";
129
- expectedValue: true;
130
- mismatchMessage: string;
131
- };
132
- title?: undefined;
133
- compareKey?: undefined;
134
- compareValue?: undefined;
135
- compare?: undefined;
136
- participationKey?: undefined;
137
- messages?: undefined;
138
- continueLabel?: undefined;
139
- alternativeLink?: undefined;
140
- format?: undefined;
141
- integrationId?: undefined;
142
- submitLabel?: undefined;
143
- submitKeys?: undefined;
144
- skipConfirmation?: undefined;
145
- systemMessage?: undefined;
146
- };
147
- isHead?: undefined;
148
- branchId?: undefined;
149
- } | {
150
- id: string;
151
- type: "pre-apply-result";
152
- nextId: string;
153
- data: {
154
- key: string;
155
- participationKey: string;
156
- messages: {
157
- matched: string;
158
- advisory: string;
159
- hard: string;
160
- };
161
- continueLabel: string;
162
- alternativeLink: {
163
- label: string;
164
- href: string;
165
- };
166
- title?: undefined;
167
- question?: undefined;
168
- trueLabel?: undefined;
169
- falseLabel?: undefined;
170
- optional?: undefined;
171
- compareKey?: undefined;
172
- compareValue?: undefined;
173
- compare?: undefined;
174
- preApply?: undefined;
175
- format?: undefined;
176
- integrationId?: undefined;
177
- submitLabel?: undefined;
178
- submitKeys?: undefined;
179
- skipConfirmation?: undefined;
180
- systemMessage?: undefined;
181
- };
182
- isHead?: undefined;
183
- branchId?: undefined;
184
- } | {
185
- id: string;
186
- type: "flow-section";
187
- nextId: string;
188
- data: {
189
- title: string;
190
- key?: undefined;
191
- question?: undefined;
192
- trueLabel?: undefined;
193
- falseLabel?: undefined;
194
- optional?: undefined;
195
- compareKey?: undefined;
196
- compareValue?: undefined;
197
- compare?: undefined;
198
- preApply?: undefined;
199
- participationKey?: undefined;
200
- messages?: undefined;
201
- continueLabel?: undefined;
202
- alternativeLink?: undefined;
203
- format?: undefined;
204
- integrationId?: undefined;
205
- submitLabel?: undefined;
206
- submitKeys?: undefined;
207
- skipConfirmation?: undefined;
208
- systemMessage?: undefined;
209
- };
210
- isHead?: undefined;
211
- branchId?: undefined;
212
- } | {
213
- id: string;
214
- type: "question-text";
215
- nextId: string;
216
- data: {
217
- key: string;
218
- question: string;
219
- format: "text";
220
- optional: false;
221
- title?: undefined;
222
- trueLabel?: undefined;
223
- falseLabel?: undefined;
224
- compareKey?: undefined;
225
- compareValue?: undefined;
226
- compare?: undefined;
227
- preApply?: undefined;
228
- participationKey?: undefined;
229
- messages?: undefined;
230
- continueLabel?: undefined;
231
- alternativeLink?: undefined;
232
- integrationId?: undefined;
233
- submitLabel?: undefined;
234
- submitKeys?: undefined;
235
- skipConfirmation?: undefined;
236
- systemMessage?: undefined;
237
- };
238
- isHead?: undefined;
239
- branchId?: undefined;
240
- } | {
241
- id: string;
242
- type: "integration-application-submit";
243
- nextId: string;
244
- data: {
245
- integrationId: string;
246
- submitLabel: string;
247
- submitKeys: "all";
248
- skipConfirmation: false;
249
- title?: undefined;
250
- key?: undefined;
251
- question?: undefined;
252
- trueLabel?: undefined;
253
- falseLabel?: undefined;
254
- optional?: undefined;
255
- compareKey?: undefined;
256
- compareValue?: undefined;
257
- compare?: undefined;
258
- preApply?: undefined;
259
- participationKey?: undefined;
260
- messages?: undefined;
261
- continueLabel?: undefined;
262
- alternativeLink?: undefined;
263
- format?: undefined;
264
- systemMessage?: undefined;
265
- };
266
- isHead?: undefined;
267
- branchId?: undefined;
268
- } | {
269
- id: string;
270
- type: "end-flow";
271
- data: {
272
- systemMessage: string;
273
- title?: undefined;
274
- key?: undefined;
275
- question?: undefined;
276
- trueLabel?: undefined;
277
- falseLabel?: undefined;
278
- optional?: undefined;
279
- compareKey?: undefined;
280
- compareValue?: undefined;
281
- compare?: undefined;
282
- preApply?: undefined;
283
- participationKey?: undefined;
284
- messages?: undefined;
285
- continueLabel?: undefined;
286
- alternativeLink?: undefined;
287
- format?: undefined;
288
- integrationId?: undefined;
289
- submitLabel?: undefined;
290
- submitKeys?: undefined;
291
- skipConfirmation?: undefined;
292
- };
293
- isHead?: undefined;
294
- nextId?: undefined;
295
- branchId?: undefined;
296
- })[];
@@ -1 +0,0 @@
1
- export {};
@@ -1,12 +0,0 @@
1
- import { FlowNodeInput } from '@inploi/core/flows';
2
-
3
- export type ChatbotFlowProgress = {
4
- stepsMade: number;
5
- remainingSteps: number;
6
- };
7
- /**
8
- * @description Calculate the progress of a flow for each node
9
- * @param nodes - The flow nodes
10
- * @returns The progress of the flow for each node
11
- */
12
- export declare const getNodesProgress: (nodes: FlowNodeInput[]) => Record<string, ChatbotFlowProgress>;
@@ -1 +0,0 @@
1
- export {};
package/dist/rpc.d.ts DELETED
@@ -1 +0,0 @@
1
- export { flowByIdEndpoint, flowByJobIdEndpoint } from '@inploi/flows/endpoints';
@@ -1,3 +0,0 @@
1
- import { ChatbotPluginParams } from '..';
2
-
3
- export declare const generateColorThemeCss: (theme: ChatbotPluginParams["theme"]) => string;
@@ -1,6 +0,0 @@
1
- import { ChatbotPluginParams } from '..';
2
-
3
- export type Theme = ChatbotPluginParams['theme'];
4
- export declare const prefixInploi: <T extends string | number>(v: T) => `--i-${T}`;
5
- export declare const prefixVar: <T extends string | number>(v: T) => `var(--i-${T})`;
6
- export type PrefixedVar<T extends string | number> = `var(--i-${T})`;
@@ -1,86 +0,0 @@
1
- export declare const tokens: {
2
- from: <TGetToken extends import('@inploi/design-tokens/tokens').GetTokenFn>(config: {
3
- theme: import('..').ChatbotTheme;
4
- getToken: TGetToken;
5
- }) => {
6
- values: {
7
- "color.white": unknown;
8
- "color.black": unknown;
9
- "color.lowest": unknown;
10
- "color.highest": unknown;
11
- "color.a-2": unknown;
12
- "color.a-1": unknown;
13
- "color.a-8": unknown;
14
- "color.a-7": unknown;
15
- "color.a-4": unknown;
16
- "color.a-5": unknown;
17
- "color.a-10": unknown;
18
- "color.a-3": unknown;
19
- "color.a-6": unknown;
20
- "color.a-9": unknown;
21
- "color.a-11": unknown;
22
- "color.a-12": unknown;
23
- "color.n-2": unknown;
24
- "color.n-1": unknown;
25
- "color.n-8": unknown;
26
- "color.n-7": unknown;
27
- "color.n-4": unknown;
28
- "color.n-5": unknown;
29
- "color.n-10": unknown;
30
- "color.n-3": unknown;
31
- "color.n-6": unknown;
32
- "color.n-9": unknown;
33
- "color.n-11": unknown;
34
- "color.n-12": unknown;
35
- "color.e-2": unknown;
36
- "color.e-1": unknown;
37
- "color.e-8": unknown;
38
- "color.e-7": unknown;
39
- "color.e-4": unknown;
40
- "color.e-5": unknown;
41
- "color.e-10": unknown;
42
- "color.e-3": unknown;
43
- "color.e-6": unknown;
44
- "color.e-9": unknown;
45
- "color.e-11": unknown;
46
- "color.e-12": unknown;
47
- "color.divider": unknown;
48
- "font-family.body": unknown;
49
- "font-family.headings": unknown;
50
- "font-style.body": unknown;
51
- "font-style.headings": unknown;
52
- 'font-weight-body': string;
53
- 'font-weight-headings': string;
54
- 'radius-app': string;
55
- 'radius-interactive': string;
56
- 'copy-body': string;
57
- 'copy-headings': string;
58
- "interactive.copy": unknown;
59
- "interactive.bg": unknown;
60
- "interactive.copy-hover": unknown;
61
- "interactive.copy-active": unknown;
62
- "interactive.bg-hover": unknown;
63
- "interactive.bg-active": unknown;
64
- "app.bg": unknown;
65
- "overlay.bg": unknown;
66
- "bubble.weak-bg": unknown;
67
- "bubble.weak-outline": unknown;
68
- "bubble.strong-shadow": unknown;
69
- "status-bar.bg": unknown;
70
- "status-bar.bg-button": unknown;
71
- "status-bar.bg-button-hover": unknown;
72
- "status-bar.bg-button-active": unknown;
73
- "submit-button.bg-active": unknown;
74
- "system-message.warning": unknown;
75
- "system-message.success": unknown;
76
- };
77
- declarations: {
78
- [k: string]: string;
79
- };
80
- ref: (path: "font-weight-body" | "font-weight-headings" | "radius-app" | "radius-interactive" | "color.white" | "color.black" | "color.lowest" | "color.highest" | "color.a-2" | "color.a-1" | "color.a-8" | "color.a-7" | "color.a-4" | "color.a-5" | "color.a-10" | "color.a-3" | "color.a-6" | "color.a-9" | "color.a-11" | "color.a-12" | "color.n-2" | "color.n-1" | "color.n-8" | "color.n-7" | "color.n-4" | "color.n-5" | "color.n-10" | "color.n-3" | "color.n-6" | "color.n-9" | "color.n-11" | "color.n-12" | "color.e-2" | "color.e-1" | "color.e-8" | "color.e-7" | "color.e-4" | "color.e-5" | "color.e-10" | "color.e-3" | "color.e-6" | "color.e-9" | "color.e-11" | "color.e-12" | "copy-body" | "copy-headings" | "color.divider" | "font-family.body" | "font-family.headings" | "font-style.body" | "font-style.headings" | "interactive.copy" | "interactive.bg" | "interactive.copy-hover" | "interactive.copy-active" | "interactive.bg-hover" | "interactive.bg-active" | "app.bg" | "overlay.bg" | "bubble.weak-bg" | "bubble.weak-outline" | "bubble.strong-shadow" | "status-bar.bg" | "status-bar.bg-button" | "status-bar.bg-button-hover" | "status-bar.bg-button-active" | "submit-button.bg-active" | "system-message.warning" | "system-message.success") => string;
81
- };
82
- };
83
- export declare const asInploiVar: {
84
- <const TPath extends PropertyKey>(target: "declaration", path: TPath): `--i-${TPath & string extends infer T ? T extends TPath & string ? T extends `${infer Before}.${infer After}` ? `${Before}-${After extends `${infer Before}.${infer After}` ? `${Before}-${After extends `${infer Before}.${infer After}` ? `${Before}-${After extends `${infer Before}.${infer After}` ? `${Before}-${After extends `${infer Before}.${infer After}` ? `${Before}-${After extends `${infer Before}.${infer After}` ? `${Before}-${After extends `${infer Before}.${infer After}` ? `${Before}-${After extends `${infer Before}.${infer After}` ? `${Before}-${After extends `${infer Before}.${infer After}` ? `${Before}-${After extends `${infer Before}.${infer After}` ? `${Before}-${After extends `${infer Before}.${infer After}` ? `${Before}-${/*elided*/ any}` : After}` : After}` : After}` : After}` : After}` : After}` : After}` : After}` : After}` : After}` : T : never : never}`;
85
- <const TPath extends PropertyKey>(target: "reference", path: TPath): `var(--i-${TPath & string extends infer T ? T extends TPath & string ? T extends `${infer Before}.${infer After}` ? `${Before}-${After extends `${infer Before}.${infer After}` ? `${Before}-${After extends `${infer Before}.${infer After}` ? `${Before}-${After extends `${infer Before}.${infer After}` ? `${Before}-${After extends `${infer Before}.${infer After}` ? `${Before}-${After extends `${infer Before}.${infer After}` ? `${Before}-${After extends `${infer Before}.${infer After}` ? `${Before}-${After extends `${infer Before}.${infer After}` ? `${Before}-${After extends `${infer Before}.${infer After}` ? `${Before}-${After extends `${infer Before}.${infer After}` ? `${Before}-${After extends `${infer Before}.${infer After}` ? `${Before}-${/*elided*/ any}` : After}` : After}` : After}` : After}` : After}` : After}` : After}` : After}` : After}` : After}` : T : never : never})`;
86
- };
@@ -1,7 +0,0 @@
1
- import { ApiClient } from '@inploi/sdk';
2
-
3
- /**
4
- * The submit says which widget build sent it (`x-inploi-widget-version`), so the api's submission outcome log can tell
5
- * a new build's failures from the old one's. Only `/flow/submit` carries it.
6
- */
7
- export declare const withWidgetVersion: (apiClient: ApiClient, version?: string | undefined) => ApiClient;
@@ -1 +0,0 @@
1
- export {};