@inploi/plugin-chatbot 14.18.0 → 14.18.2
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/cdn/index.js +10 -11
- package/cdn/style.css +1 -1
- package/dist/chatbot-body-B9-4nZ6I.cjs +5 -0
- package/dist/chatbot-body-nYJfLJVU.js +4343 -0
- package/dist/index-BQAeBeON.cjs +21 -0
- package/dist/index-DZr-JCDW.js +3214 -0
- package/dist/index.d.cts +547 -0
- package/dist/index.d.ts +547 -2
- package/dist/plugin-chatbot.cjs +1 -1
- package/dist/plugin-chatbot.js +2 -3
- package/dist/style.css +1 -1
- package/package.json +17 -12
- package/dist/accessible-labels.test.d.ts +0 -1
- package/dist/chatbot-body-568f8bdb.cjs +0 -5
- package/dist/chatbot-body-b81136fe.cjs +0 -5
- package/dist/chatbot-body-c8f256af.js +0 -4637
- package/dist/chatbot-body-e611f2c7.js +0 -4637
- package/dist/chatbot.analytics.d.ts +0 -37
- package/dist/chatbot.analytics.test.d.ts +0 -1
- package/dist/chatbot.api.d.ts +0 -26
- package/dist/chatbot.beacon.d.ts +0 -40
- package/dist/chatbot.beacon.test.d.ts +0 -1
- package/dist/chatbot.constants.d.ts +0 -2
- package/dist/chatbot.context.test.d.ts +0 -1
- package/dist/chatbot.d.ts +0 -104
- package/dist/chatbot.dom.d.ts +0 -5
- package/dist/chatbot.idb.d.ts +0 -73
- package/dist/chatbot.lifecycle.test.d.ts +0 -1
- package/dist/chatbot.resume.d.ts +0 -15
- package/dist/chatbot.resume.test.d.ts +0 -1
- package/dist/chatbot.state.d.ts +0 -78
- package/dist/chatbot.state.test.d.ts +0 -1
- package/dist/chatbot.storage.test.d.ts +0 -1
- package/dist/chatbot.utils.d.ts +0 -8
- package/dist/components/chat-bubble.d.ts +0 -11
- package/dist/components/chat-error.d.ts +0 -3
- package/dist/components/chat-input/chat-input.address-countries.test.d.ts +0 -1
- package/dist/components/chat-input/chat-input.address-geo.test.d.ts +0 -1
- package/dist/components/chat-input/chat-input.address.d.ts +0 -5
- package/dist/components/chat-input/chat-input.address.test.d.ts +0 -1
- package/dist/components/chat-input/chat-input.boolean.d.ts +0 -11
- package/dist/components/chat-input/chat-input.constants.d.ts +0 -1
- package/dist/components/chat-input/chat-input.d.ts +0 -12
- package/dist/components/chat-input/chat-input.file.d.ts +0 -8
- package/dist/components/chat-input/chat-input.file.test.d.ts +0 -1
- package/dist/components/chat-input/chat-input.multiple-choice.d.ts +0 -4
- package/dist/components/chat-input/chat-input.multiple-choice.test.d.ts +0 -1
- package/dist/components/chat-input/chat-input.number.d.ts +0 -4
- package/dist/components/chat-input/chat-input.phone-number.d.ts +0 -4
- package/dist/components/chat-input/chat-input.submit.d.ts +0 -4
- package/dist/components/chat-input/chat-input.submit.test.d.ts +0 -1
- package/dist/components/chat-input/chat-input.text.d.ts +0 -5
- package/dist/components/chat-input/chat-input.text.test.d.ts +0 -1
- package/dist/components/chat-input/input-style.d.ts +0 -3
- package/dist/components/chat-loading.d.ts +0 -1
- package/dist/components/chatbot-body.d.ts +0 -12
- package/dist/components/chatbot-body.lifecycle.test.d.ts +0 -1
- package/dist/components/chatbot.d.ts +0 -17
- package/dist/components/conversation.d.ts +0 -8
- package/dist/components/correction.test.d.ts +0 -1
- package/dist/components/input-error.d.ts +0 -5
- package/dist/components/job-alerts-offer.d.ts +0 -13
- package/dist/components/job-alerts-offer.test.d.ts +0 -1
- package/dist/components/job-alerts-privacy-line.test.d.ts +0 -1
- package/dist/components/loading-indicator.d.ts +0 -3
- package/dist/components/message.link.d.ts +0 -5
- package/dist/components/palette-debugger.d.ts +0 -1
- package/dist/components/send-button.d.ts +0 -3
- package/dist/components/skip-button.d.ts +0 -3
- package/dist/components/status-bar.d.ts +0 -22
- package/dist/components/status-bar.test.d.ts +0 -1
- package/dist/components/transition.d.ts +0 -1
- package/dist/components/typing-indicator.d.ts +0 -3
- package/dist/components/useChatService.d.ts +0 -17
- package/dist/components/useChatService.test.d.ts +0 -1
- package/dist/components/useFocus.d.ts +0 -1
- package/dist/i18n.d.ts +0 -776
- package/dist/index-0fbc8442.js +0 -3756
- package/dist/index-19a00d2c.js +0 -3757
- package/dist/index-495ec66b.cjs +0 -22
- package/dist/index-90fa15a1.cjs +0 -22
- package/dist/index.cdn.d.ts +0 -9
- package/dist/index.dev.d.ts +0 -8
- package/dist/interpreter.test.d.ts +0 -1
- package/dist/md.d.ts +0 -1
- package/dist/md.test.d.ts +0 -1
- package/dist/mocks/browser.d.ts +0 -1
- package/dist/mocks/flows.mocks.d.ts +0 -77
- package/dist/mocks/handlers.d.ts +0 -14
- package/dist/mocks/mocks.utils.d.ts +0 -5
- package/dist/mocks/pre-apply.mock.d.ts +0 -296
- package/dist/phone.test.d.ts +0 -1
- package/dist/progress.d.ts +0 -12
- package/dist/progress.test.d.ts +0 -1
- package/dist/rpc.d.ts +0 -1
- package/dist/style/theme.d.ts +0 -3
- package/dist/style/theme.utils.d.ts +0 -6
- package/dist/style/tokens.d.ts +0 -86
- package/dist/widget-version.d.ts +0 -9
- package/dist/widget-version.test.d.ts +0 -1
- /package/dist/{common.geo-transport-CJGUJXTA-1d0a086a.js → common.geo-transport-CJGUJXTA-BsgnqoTX.js} +0 -0
- /package/dist/{common.geo-transport-CJGUJXTA-2b8bbb52.cjs → common.geo-transport-CJGUJXTA-DQyNyTXw.cjs} +0 -0
|
@@ -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
|
-
})[];
|
package/dist/phone.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/progress.d.ts
DELETED
|
@@ -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>;
|
package/dist/progress.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/rpc.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { flowByIdEndpoint, flowByJobIdEndpoint } from '@inploi/flows/endpoints';
|
package/dist/style/theme.d.ts
DELETED
|
@@ -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})`;
|
package/dist/style/tokens.d.ts
DELETED
|
@@ -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
|
-
};
|
package/dist/widget-version.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ApiClient } from '@inploi/sdk';
|
|
2
|
-
|
|
3
|
-
/** The CDN prerelease's version (`CANDIDATE_BUILD_VERSION`, 0.0.0-pc.N), else package.json's; absent in unit tests. */
|
|
4
|
-
export declare const VERSION: string | undefined;
|
|
5
|
-
/**
|
|
6
|
-
* The submit says which widget build sent it (`x-inploi-widget-version`), so the api's submission outcome log can tell
|
|
7
|
-
* a new build's failures from the old one's. Only `/flow/submit` carries it.
|
|
8
|
-
*/
|
|
9
|
-
export declare const withWidgetVersion: (apiClient: ApiClient, version?: string | undefined) => ApiClient;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
File without changes
|
|
File without changes
|