@wise/dynamic-flow-client-internal 4.7.0-experimental-33a9fbb → 4.7.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.
- package/build/i18n/cs.json +4 -4
- package/build/{index.js → main.js} +63 -38
- package/build/{index.mjs → main.mjs} +61 -36
- package/build/types/dynamicFlow/DynamicFlow.d.ts +1 -1
- package/build/types/dynamicFlow/telemetry/app-version.d.ts +1 -0
- package/build/types/dynamicFlow/telemetry/getLogEvent.d.ts +14 -0
- package/build/types/dynamicFlow/telemetry/getTrackEvent.d.ts +6 -0
- package/build/types/dynamicFlow/telemetry/index.d.ts +2 -0
- package/package.json +19 -24
- package/build/renderers.js +0 -500
- package/build/renderers.mjs +0 -477
- package/build/types/dynamicFlow/filters/useFilteredOnEvent.d.ts +0 -5
- package/build/types/dynamicFlow/filters/useFilteredOnLog.d.ts +0 -4
- package/build/types/renderers.d.ts +0 -1
package/build/renderers.mjs
DELETED
|
@@ -1,477 +0,0 @@
|
|
|
1
|
-
// ../renderers/src/AlertRenderer.tsx
|
|
2
|
-
import { Alert } from "@transferwise/components";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
|
|
5
|
-
// ../renderers/src/components/FieldInput.tsx
|
|
6
|
-
import { Field } from "@transferwise/components";
|
|
7
|
-
|
|
8
|
-
// ../renderers/src/components/Help.tsx
|
|
9
|
-
import { Info, Markdown } from "@transferwise/components";
|
|
10
|
-
import { useIntl } from "react-intl";
|
|
11
|
-
|
|
12
|
-
// ../renderers/src/messages/help.messages.ts
|
|
13
|
-
import { defineMessages } from "react-intl";
|
|
14
|
-
var help_messages_default = defineMessages({
|
|
15
|
-
helpAria: {
|
|
16
|
-
id: "df.wise.Help.ariaLabel",
|
|
17
|
-
defaultMessage: "Click here for more info.",
|
|
18
|
-
description: "Aria label for help."
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
// ../renderers/src/components/Help.tsx
|
|
23
|
-
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
24
|
-
|
|
25
|
-
// ../renderers/src/components/LabelContentWithHelp.tsx
|
|
26
|
-
import { jsx as jsx3, jsxs } from "react/jsx-runtime";
|
|
27
|
-
|
|
28
|
-
// ../renderers/src/components/FieldInput.tsx
|
|
29
|
-
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
30
|
-
|
|
31
|
-
// ../renderers/src/CheckboxInputRenderer.tsx
|
|
32
|
-
import { Checkbox } from "@transferwise/components";
|
|
33
|
-
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
34
|
-
|
|
35
|
-
// ../renderers/src/BoxRenderer.tsx
|
|
36
|
-
import classNames from "classnames";
|
|
37
|
-
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
38
|
-
|
|
39
|
-
// ../renderers/src/ButtonRenderer.tsx
|
|
40
|
-
import { Button } from "@transferwise/components";
|
|
41
|
-
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
42
|
-
|
|
43
|
-
// ../renderers/src/ColumnsRenderer.tsx
|
|
44
|
-
import classNames2 from "classnames";
|
|
45
|
-
import { jsx as jsx8, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
46
|
-
|
|
47
|
-
// ../renderers/src/components/VariableDateInput.tsx
|
|
48
|
-
import { DateInput, DateLookup } from "@transferwise/components";
|
|
49
|
-
|
|
50
|
-
// ../renderers/src/validators/type-validators.ts
|
|
51
|
-
var isNull = (value) => value === null;
|
|
52
|
-
var isUndefined = (value) => typeof value === "undefined";
|
|
53
|
-
var isNullish = (v) => isNull(v) || isUndefined(v);
|
|
54
|
-
|
|
55
|
-
// ../renderers/src/components/VariableDateInput.tsx
|
|
56
|
-
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
57
|
-
|
|
58
|
-
// ../renderers/src/DateInputRenderer.tsx
|
|
59
|
-
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
60
|
-
|
|
61
|
-
// ../renderers/src/DecisionRenderer.tsx
|
|
62
|
-
import { Header, NavigationOption, NavigationOptionsList } from "@transferwise/components";
|
|
63
|
-
|
|
64
|
-
// ../renderers/src/components/icon/FlagIcon.tsx
|
|
65
|
-
import { Flag } from "@wise/art";
|
|
66
|
-
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
67
|
-
var isFlagIcon = (name) => name.startsWith("flag-");
|
|
68
|
-
function FlagIcon({ name }) {
|
|
69
|
-
if (!isFlagIcon(name)) {
|
|
70
|
-
return null;
|
|
71
|
-
}
|
|
72
|
-
const code = name.substring(5);
|
|
73
|
-
return /* @__PURE__ */ jsx11(Flag, { code });
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
// ../renderers/src/components/icon/NamedIcon.tsx
|
|
77
|
-
import * as icons from "@transferwise/icons";
|
|
78
|
-
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
79
|
-
var isNamedIcon = (name) => {
|
|
80
|
-
const iconName = toCapitalisedCamelCase(name);
|
|
81
|
-
return Object.keys(icons).includes(iconName);
|
|
82
|
-
};
|
|
83
|
-
function NamedIcon({ name }) {
|
|
84
|
-
if (!isNamedIcon(name)) {
|
|
85
|
-
return null;
|
|
86
|
-
}
|
|
87
|
-
const iconName = toCapitalisedCamelCase(name);
|
|
88
|
-
const Icon = icons[iconName];
|
|
89
|
-
return /* @__PURE__ */ jsx12(Icon, { size: 24 });
|
|
90
|
-
}
|
|
91
|
-
var toCapitalisedCamelCase = (value) => value.split("-").map(capitaliseFirstChar).join("");
|
|
92
|
-
var capitaliseFirstChar = (value) => `${value[0].toUpperCase()}${value.slice(1)}`;
|
|
93
|
-
|
|
94
|
-
// ../renderers/src/components/icon/DynamicIcon.tsx
|
|
95
|
-
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
96
|
-
function DynamicIcon({ name }) {
|
|
97
|
-
if (isFlagIcon(name)) {
|
|
98
|
-
return /* @__PURE__ */ jsx13(FlagIcon, { name });
|
|
99
|
-
}
|
|
100
|
-
if (isNamedIcon(name)) {
|
|
101
|
-
return /* @__PURE__ */ jsx13(NamedIcon, { name });
|
|
102
|
-
}
|
|
103
|
-
return null;
|
|
104
|
-
}
|
|
105
|
-
var DynamicIcon_default = DynamicIcon;
|
|
106
|
-
|
|
107
|
-
// ../renderers/src/components/icon/NavigationOptionMedia.tsx
|
|
108
|
-
import { AvatarView } from "@transferwise/components";
|
|
109
|
-
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
110
|
-
function NavigationOptionMedia({ icon, image }) {
|
|
111
|
-
const iconNode = getIconNode(icon);
|
|
112
|
-
const imageNode = getImageNode(image);
|
|
113
|
-
if (imageNode) {
|
|
114
|
-
if (iconNode) {
|
|
115
|
-
return /* @__PURE__ */ jsx14(AvatarView, { badge: { asset: iconNode }, children: imageNode });
|
|
116
|
-
}
|
|
117
|
-
return imageNode;
|
|
118
|
-
}
|
|
119
|
-
if (iconNode) {
|
|
120
|
-
return /* @__PURE__ */ jsx14(AvatarView, { children: iconNode });
|
|
121
|
-
}
|
|
122
|
-
return null;
|
|
123
|
-
}
|
|
124
|
-
var getIconNode = (icon) => {
|
|
125
|
-
if (!isNullish(icon)) {
|
|
126
|
-
if ("name" in icon) {
|
|
127
|
-
return /* @__PURE__ */ jsx14(DynamicIcon_default, { name: icon.name });
|
|
128
|
-
}
|
|
129
|
-
if (icon.text) {
|
|
130
|
-
return icon.text;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
return null;
|
|
134
|
-
};
|
|
135
|
-
var getImageNode = (image) => {
|
|
136
|
-
if (image) {
|
|
137
|
-
const { accessibilityDescription, uri } = image;
|
|
138
|
-
if (!uri.startsWith("urn:")) {
|
|
139
|
-
return /* @__PURE__ */ jsx14("img", { src: uri, alt: accessibilityDescription });
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
return null;
|
|
143
|
-
};
|
|
144
|
-
|
|
145
|
-
// ../renderers/src/DecisionRenderer.tsx
|
|
146
|
-
import { jsx as jsx15, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
147
|
-
|
|
148
|
-
// ../renderers/src/DividerRenderer.tsx
|
|
149
|
-
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
150
|
-
|
|
151
|
-
// ../renderers/src/FormRenderer.tsx
|
|
152
|
-
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
153
|
-
|
|
154
|
-
// ../renderers/src/FormSectionRenderer.tsx
|
|
155
|
-
import { Header as Header2 } from "@transferwise/components";
|
|
156
|
-
import { jsx as jsx18, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
157
|
-
|
|
158
|
-
// ../renderers/src/HeadingRenderer.tsx
|
|
159
|
-
import { Display } from "@transferwise/components";
|
|
160
|
-
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
161
|
-
|
|
162
|
-
// ../renderers/src/ImageRenderer/UrlImage.tsx
|
|
163
|
-
import { Image } from "@transferwise/components";
|
|
164
|
-
import { useEffect, useState } from "react";
|
|
165
|
-
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
166
|
-
|
|
167
|
-
// ../renderers/src/ImageRenderer/UrnIllustration.tsx
|
|
168
|
-
import {
|
|
169
|
-
Illustration,
|
|
170
|
-
Illustration3D,
|
|
171
|
-
isIllustrationSupport3D
|
|
172
|
-
} from "@wise/art";
|
|
173
|
-
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
174
|
-
|
|
175
|
-
// ../renderers/src/ImageRenderer/UrnImage.tsx
|
|
176
|
-
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
177
|
-
|
|
178
|
-
// ../renderers/src/ImageRenderer/ImageRenderer.tsx
|
|
179
|
-
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
180
|
-
|
|
181
|
-
// ../renderers/src/InstructionsRenderer.tsx
|
|
182
|
-
import { Header as Header3, InstructionsList } from "@transferwise/components";
|
|
183
|
-
import { jsx as jsx24, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
184
|
-
|
|
185
|
-
// ../renderers/src/IntegerInputRenderer.tsx
|
|
186
|
-
import { Input, InputGroup } from "@transferwise/components";
|
|
187
|
-
|
|
188
|
-
// ../renderers/src/utils/getIconAvatar.tsx
|
|
189
|
-
import { AvatarView as AvatarView2 } from "@transferwise/components";
|
|
190
|
-
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
191
|
-
|
|
192
|
-
// ../renderers/src/IntegerInputRenderer.tsx
|
|
193
|
-
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
194
|
-
|
|
195
|
-
// ../renderers/src/LoadingIndicatorRenderer.tsx
|
|
196
|
-
import { Loader } from "@transferwise/components";
|
|
197
|
-
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
198
|
-
|
|
199
|
-
// ../renderers/src/MarkdownRenderer.tsx
|
|
200
|
-
import { Markdown as Markdown2 } from "@transferwise/components";
|
|
201
|
-
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
202
|
-
|
|
203
|
-
// ../renderers/src/ModalRenderer.tsx
|
|
204
|
-
import { Button as Button2, Modal } from "@transferwise/components";
|
|
205
|
-
import { useState as useState2 } from "react";
|
|
206
|
-
import { jsx as jsx29, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
207
|
-
|
|
208
|
-
// ../renderers/src/MultiSelectInputRenderer.tsx
|
|
209
|
-
import { SelectInput, SelectInputOptionContent } from "@transferwise/components";
|
|
210
|
-
|
|
211
|
-
// ../renderers/src/SelectInputRenderer/OptionMedia.tsx
|
|
212
|
-
import { Avatar as Avatar2, AvatarType as AvatarType2 } from "@transferwise/components";
|
|
213
|
-
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
214
|
-
|
|
215
|
-
// ../renderers/src/MultiSelectInputRenderer.tsx
|
|
216
|
-
import { useIntl as useIntl2 } from "react-intl";
|
|
217
|
-
|
|
218
|
-
// ../renderers/src/messages/multi-select.messages.ts
|
|
219
|
-
import { defineMessages as defineMessages2 } from "react-intl";
|
|
220
|
-
var multi_select_messages_default = defineMessages2({
|
|
221
|
-
summary: {
|
|
222
|
-
id: "df.wise.MultiSelect.summary",
|
|
223
|
-
defaultMessage: "{first} and {count} more",
|
|
224
|
-
description: "A summary of the multiple items selected. Showing the title of the first selected item, and the number of other items that have been selected."
|
|
225
|
-
}
|
|
226
|
-
});
|
|
227
|
-
|
|
228
|
-
// ../renderers/src/MultiSelectInputRenderer.tsx
|
|
229
|
-
import { useState as useState3 } from "react";
|
|
230
|
-
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
231
|
-
|
|
232
|
-
// ../renderers/src/MultiUploadInputRenderer.tsx
|
|
233
|
-
import { UploadInput } from "@transferwise/components";
|
|
234
|
-
|
|
235
|
-
// ../renderers/src/components/UploadFieldInput.tsx
|
|
236
|
-
import { InlineAlert } from "@transferwise/components";
|
|
237
|
-
import classNames3 from "classnames";
|
|
238
|
-
import { jsx as jsx32, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
239
|
-
|
|
240
|
-
// ../renderers/src/MultiUploadInputRenderer.tsx
|
|
241
|
-
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
242
|
-
|
|
243
|
-
// ../renderers/src/NumberInputRenderer.tsx
|
|
244
|
-
import { Input as Input2, InputGroup as InputGroup2 } from "@transferwise/components";
|
|
245
|
-
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
246
|
-
|
|
247
|
-
// ../renderers/src/ParagraphRenderer.tsx
|
|
248
|
-
import { useIntl as useIntl3 } from "react-intl";
|
|
249
|
-
|
|
250
|
-
// ../renderers/src/hooks/useSnackBarIfAvailable.ts
|
|
251
|
-
import { SnackbarContext } from "@transferwise/components";
|
|
252
|
-
import { useContext } from "react";
|
|
253
|
-
|
|
254
|
-
// ../renderers/src/ParagraphRenderer.tsx
|
|
255
|
-
import { Button as Button3, Input as Input3 } from "@transferwise/components";
|
|
256
|
-
import classNames4 from "classnames";
|
|
257
|
-
|
|
258
|
-
// ../renderers/src/messages/paragraph.messages.ts
|
|
259
|
-
import { defineMessages as defineMessages3 } from "react-intl";
|
|
260
|
-
var paragraph_messages_default = defineMessages3({
|
|
261
|
-
copy: {
|
|
262
|
-
id: "df.wise.DynamicParagraph.copy",
|
|
263
|
-
defaultMessage: "Copy",
|
|
264
|
-
description: "Copy to clipboard button label."
|
|
265
|
-
},
|
|
266
|
-
copied: {
|
|
267
|
-
id: "df.wise.DynamicParagraph.copied",
|
|
268
|
-
defaultMessage: "Copied to clipboard",
|
|
269
|
-
description: "Appears in a snackbar when the copy operation succeeds."
|
|
270
|
-
}
|
|
271
|
-
});
|
|
272
|
-
|
|
273
|
-
// ../renderers/src/ParagraphRenderer.tsx
|
|
274
|
-
import { jsx as jsx35, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
275
|
-
|
|
276
|
-
// ../renderers/src/RepeatableRenderer.tsx
|
|
277
|
-
import { Button as Button4, Header as Header4, Modal as Modal2, NavigationOption as NavigationOption2, InlineAlert as InlineAlert2 } from "@transferwise/components";
|
|
278
|
-
import { useState as useState4 } from "react";
|
|
279
|
-
import { Plus } from "@transferwise/icons";
|
|
280
|
-
import { useIntl as useIntl4 } from "react-intl";
|
|
281
|
-
|
|
282
|
-
// ../renderers/src/messages/repeatable.messages.ts
|
|
283
|
-
import { defineMessages as defineMessages4 } from "react-intl";
|
|
284
|
-
var repeatable_messages_default = defineMessages4({
|
|
285
|
-
addItemTitle: {
|
|
286
|
-
id: "df.wise.ArraySchema.addItemTitle",
|
|
287
|
-
defaultMessage: "Add Item",
|
|
288
|
-
description: "Label on the button used to open a form to add an item"
|
|
289
|
-
},
|
|
290
|
-
addItem: {
|
|
291
|
-
id: "df.wise.ArraySchema.addItem",
|
|
292
|
-
defaultMessage: "Save",
|
|
293
|
-
description: "Label on the add button used to submit a form that adds an item"
|
|
294
|
-
},
|
|
295
|
-
editItem: {
|
|
296
|
-
id: "df.wise.ArraySchema.editItem",
|
|
297
|
-
defaultMessage: "Save",
|
|
298
|
-
description: "Label on the edit button used to submit a form that edits an item"
|
|
299
|
-
},
|
|
300
|
-
removeItem: {
|
|
301
|
-
id: "df.wise.ArraySchema.removeItem",
|
|
302
|
-
defaultMessage: "Remove",
|
|
303
|
-
description: "Label on the remove button used to confirm deletion of an item"
|
|
304
|
-
}
|
|
305
|
-
});
|
|
306
|
-
|
|
307
|
-
// ../renderers/src/RepeatableRenderer.tsx
|
|
308
|
-
import classNames5 from "classnames";
|
|
309
|
-
import { Fragment, jsx as jsx36, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
310
|
-
|
|
311
|
-
// ../renderers/src/SearchRenderer/BlockSearchRendererComponent.tsx
|
|
312
|
-
import { Input as Input4, Markdown as Markdown3, NavigationOption as NavigationOption3, NavigationOptionsList as NavigationOptionsList2 } from "@transferwise/components";
|
|
313
|
-
import { useState as useState5 } from "react";
|
|
314
|
-
import { useIntl as useIntl6 } from "react-intl";
|
|
315
|
-
|
|
316
|
-
// ../renderers/src/messages/search.messages.ts
|
|
317
|
-
import { defineMessages as defineMessages5 } from "react-intl";
|
|
318
|
-
var search_messages_default = defineMessages5({
|
|
319
|
-
loading: {
|
|
320
|
-
id: "df.wise.SearchLayout.loading",
|
|
321
|
-
defaultMessage: "Loading...",
|
|
322
|
-
description: "A message shown to the user while their search is being processed, before results appear."
|
|
323
|
-
}
|
|
324
|
-
});
|
|
325
|
-
|
|
326
|
-
// ../renderers/src/SearchRenderer/ErrorResult.tsx
|
|
327
|
-
import { useIntl as useIntl5 } from "react-intl";
|
|
328
|
-
|
|
329
|
-
// ../renderers/src/messages/generic-error.messages.ts
|
|
330
|
-
import { defineMessages as defineMessages6 } from "react-intl";
|
|
331
|
-
var generic_error_messages_default = defineMessages6({
|
|
332
|
-
genericErrorRetryHint: {
|
|
333
|
-
id: "df.wise.PersistAsyncSchema.genericError",
|
|
334
|
-
defaultMessage: "Something went wrong, please try again.",
|
|
335
|
-
description: "Generic error message for persist async schema"
|
|
336
|
-
},
|
|
337
|
-
genericError: {
|
|
338
|
-
id: "df.wise.ErrorBoundary.errorAlert",
|
|
339
|
-
defaultMessage: "Something went wrong.",
|
|
340
|
-
description: "Generic error message for when something has gone wrong."
|
|
341
|
-
},
|
|
342
|
-
retry: {
|
|
343
|
-
id: "df.wise.ErrorBoundary.retry",
|
|
344
|
-
defaultMessage: "Retry",
|
|
345
|
-
description: "Usually this follows the generic error and contains a link."
|
|
346
|
-
}
|
|
347
|
-
});
|
|
348
|
-
|
|
349
|
-
// ../renderers/src/SearchRenderer/ErrorResult.tsx
|
|
350
|
-
import { Button as Button5 } from "@transferwise/components";
|
|
351
|
-
import { jsx as jsx37, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
352
|
-
|
|
353
|
-
// ../renderers/src/SearchRenderer/BlockSearchRendererComponent.tsx
|
|
354
|
-
import { Fragment as Fragment2, jsx as jsx38, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
355
|
-
|
|
356
|
-
// ../renderers/src/SearchRenderer/InlineSearchRendererComponent.tsx
|
|
357
|
-
import { Markdown as Markdown4, Typeahead } from "@transferwise/components";
|
|
358
|
-
import { Search } from "@transferwise/icons";
|
|
359
|
-
import { useState as useState6 } from "react";
|
|
360
|
-
import { useIntl as useIntl7 } from "react-intl";
|
|
361
|
-
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
362
|
-
|
|
363
|
-
// ../renderers/src/SearchRenderer/SearchRenderer.tsx
|
|
364
|
-
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
365
|
-
|
|
366
|
-
// ../renderers/src/SelectInputRenderer/RadioInputRendererComponent.tsx
|
|
367
|
-
import { RadioGroup } from "@transferwise/components";
|
|
368
|
-
import { Fragment as Fragment3, jsx as jsx41, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
369
|
-
|
|
370
|
-
// ../renderers/src/SelectInputRenderer/TabInputRendererComponent.tsx
|
|
371
|
-
import { Tabs } from "@transferwise/components";
|
|
372
|
-
import { useEffect as useEffect2 } from "react";
|
|
373
|
-
import { Fragment as Fragment4, jsx as jsx42, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
374
|
-
|
|
375
|
-
// ../renderers/src/SelectInputRenderer/SelectInputRendererComponent.tsx
|
|
376
|
-
import { SelectInput as SelectInput2, SelectInputOptionContent as SelectInputOptionContent2 } from "@transferwise/components";
|
|
377
|
-
import { Fragment as Fragment5, jsx as jsx43, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
378
|
-
|
|
379
|
-
// ../renderers/src/SelectInputRenderer/SegmentedInputRendererComponent.tsx
|
|
380
|
-
import { useEffect as useEffect3 } from "react";
|
|
381
|
-
import { SegmentedControl } from "@transferwise/components";
|
|
382
|
-
import { Fragment as Fragment6, jsx as jsx44, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
383
|
-
|
|
384
|
-
// ../renderers/src/SelectInputRenderer/SelectInputRenderer.tsx
|
|
385
|
-
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
386
|
-
|
|
387
|
-
// ../renderers/src/StatusListRenderer.tsx
|
|
388
|
-
import { Header as Header5, Summary } from "@transferwise/components";
|
|
389
|
-
import { jsx as jsx46, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
390
|
-
|
|
391
|
-
// ../renderers/src/TextInputRenderer.tsx
|
|
392
|
-
import { InputGroup as InputGroup3 } from "@transferwise/components";
|
|
393
|
-
|
|
394
|
-
// ../renderers/src/components/VariableTextInput.tsx
|
|
395
|
-
import {
|
|
396
|
-
Input as Input5,
|
|
397
|
-
InputWithDisplayFormat,
|
|
398
|
-
PhoneNumberInput,
|
|
399
|
-
TextArea,
|
|
400
|
-
TextareaWithDisplayFormat
|
|
401
|
-
} from "@transferwise/components";
|
|
402
|
-
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
403
|
-
|
|
404
|
-
// ../renderers/src/TextInputRenderer.tsx
|
|
405
|
-
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
406
|
-
|
|
407
|
-
// ../renderers/src/UploadInputRenderer.tsx
|
|
408
|
-
import { Upload, UploadInput as UploadInput2 } from "@transferwise/components";
|
|
409
|
-
import { jsx as jsx49 } from "react/jsx-runtime";
|
|
410
|
-
|
|
411
|
-
// ../renderers/src/ReviewRenderer.tsx
|
|
412
|
-
import { DefinitionList, Header as Header6 } from "@transferwise/components";
|
|
413
|
-
import { Fragment as Fragment7, jsx as jsx50, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
414
|
-
|
|
415
|
-
// ../renderers/src/step/StepRenderer.tsx
|
|
416
|
-
import { Alert as Alert2, Title } from "@transferwise/components";
|
|
417
|
-
|
|
418
|
-
// ../renderers/src/step/BackButton.tsx
|
|
419
|
-
import { AvatarView as AvatarView3 } from "@transferwise/components";
|
|
420
|
-
import { ArrowLeft } from "@transferwise/icons";
|
|
421
|
-
import { jsx as jsx51, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
422
|
-
|
|
423
|
-
// ../renderers/src/step/ExternalConfirmationDialog.tsx
|
|
424
|
-
import { useIntl as useIntl8 } from "react-intl";
|
|
425
|
-
|
|
426
|
-
// ../renderers/src/messages/external-confirmation.messages.ts
|
|
427
|
-
import { defineMessages as defineMessages7 } from "react-intl";
|
|
428
|
-
var external_confirmation_messages_default = defineMessages7({
|
|
429
|
-
title: {
|
|
430
|
-
id: "df.wise.ExternalConfirmation.title",
|
|
431
|
-
defaultMessage: "Please confirm",
|
|
432
|
-
description: "Heading for the confirmation screen."
|
|
433
|
-
},
|
|
434
|
-
description: {
|
|
435
|
-
id: "df.wise.ExternalConfirmation.description",
|
|
436
|
-
defaultMessage: "Please confirm you want to open **{origin}** in a new browser tab.",
|
|
437
|
-
description: "Description for the confirmation screen."
|
|
438
|
-
},
|
|
439
|
-
open: {
|
|
440
|
-
id: "df.wise.ExternalConfirmation.open",
|
|
441
|
-
defaultMessage: "Open in new tab",
|
|
442
|
-
description: "Button text confirming opening a new browser tab."
|
|
443
|
-
},
|
|
444
|
-
cancel: {
|
|
445
|
-
id: "df.wise.ExternalConfirmation.cancel",
|
|
446
|
-
defaultMessage: "Cancel",
|
|
447
|
-
description: "Button text rejecting opening a new browser tab."
|
|
448
|
-
}
|
|
449
|
-
});
|
|
450
|
-
|
|
451
|
-
// ../renderers/src/step/ExternalConfirmationDialog.tsx
|
|
452
|
-
import { Button as Button6, Markdown as Markdown5 } from "@transferwise/components";
|
|
453
|
-
import { jsx as jsx52, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
454
|
-
|
|
455
|
-
// ../renderers/src/step/useExternal.tsx
|
|
456
|
-
import { useEffect as useEffect4, useState as useState7 } from "react";
|
|
457
|
-
|
|
458
|
-
// ../renderers/src/step/StepRenderer.tsx
|
|
459
|
-
import { Fragment as Fragment8, jsx as jsx53, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
460
|
-
|
|
461
|
-
// ../renderers/src/ListRenderer.tsx
|
|
462
|
-
import { Body, Header as Header7 } from "@transferwise/components";
|
|
463
|
-
import classNames6 from "classnames";
|
|
464
|
-
import { jsx as jsx54, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
465
|
-
|
|
466
|
-
// ../renderers/src/step/SplashStepRenderer.tsx
|
|
467
|
-
import { jsx as jsx55, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
468
|
-
|
|
469
|
-
// ../renderers/src/utils/useCustomTheme.ts
|
|
470
|
-
import { useTheme } from "@wise/components-theming";
|
|
471
|
-
import { useEffect as useEffect5, useMemo } from "react";
|
|
472
|
-
|
|
473
|
-
// ../renderers/src/step/SplashCelebrationStepRenderer.tsx
|
|
474
|
-
import { jsx as jsx56, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
475
|
-
export {
|
|
476
|
-
NavigationOptionMedia
|
|
477
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { OnThemeChange } from '../DynamicFlow';
|
|
2
|
-
import { DynamicFlowRevampProps } from '@wise/dynamic-flow-client';
|
|
3
|
-
type OnEvent = DynamicFlowRevampProps['onEvent'];
|
|
4
|
-
export declare const useFilteredOnEvent: (onEvent: OnEvent, onAnalytics: OnEvent, onThemeChange?: OnThemeChange) => OnEvent;
|
|
5
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NavigationOptionMedia } from '@wise/dynamic-flow-renderers';
|