@wise/dynamic-flow-client-internal 5.27.0 → 5.27.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/build/main.mjs CHANGED
@@ -127,7 +127,7 @@ import { useDynamicFlow } from "@wise/dynamic-flow-client";
127
127
  // src/dynamicFlow/telemetry/app-version.ts
128
128
  var appVersion = (
129
129
  // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
130
- typeof process !== "undefined" ? "5.27.0" : "0.0.0"
130
+ typeof process !== "undefined" ? "5.27.2" : "0.0.0"
131
131
  );
132
132
 
133
133
  // src/dynamicFlow/context-menu/useContextMenu.tsx
@@ -2491,6 +2491,11 @@ var collection_messages_default = defineMessages5({
2491
2491
  id: "df.wise.Collection.loadMoreMessage",
2492
2492
  defaultMessage: "Load more",
2493
2493
  description: "A message shown on a button to load more items in a list."
2494
+ },
2495
+ clearTextLabel: {
2496
+ id: "df.wise.Collection.clearText",
2497
+ defaultMessage: "Clear text",
2498
+ description: "A message shown at the edge of the search bar to clear the users query"
2494
2499
  }
2495
2500
  });
2496
2501
 
@@ -2746,14 +2751,46 @@ var getNavigationControl = (onClick, href) => {
2746
2751
  };
2747
2752
 
2748
2753
  // ../renderers/src/CollectionRenderer/components/SearchComponent.tsx
2749
- import { InputGroup, Input, ProcessIndicator as ProcessIndicator2 } from "@transferwise/components";
2750
- import { Search } from "@transferwise/icons";
2754
+ import {
2755
+ InputGroup,
2756
+ Input,
2757
+ ProcessIndicator as ProcessIndicator2,
2758
+ IconButton
2759
+ } from "@transferwise/components";
2760
+ import { CrossCircleFill, Search } from "@transferwise/icons";
2761
+ import { useIntl as useIntl5 } from "react-intl";
2751
2762
  import { jsx as jsx38 } from "react/jsx-runtime";
2752
2763
  var SearchComponent = ({ state, status, features }) => {
2753
2764
  const { search } = state;
2765
+ const { formatMessage } = useIntl5();
2754
2766
  if (!search) {
2755
2767
  return;
2756
2768
  }
2769
+ const getAddon = () => {
2770
+ var _a;
2771
+ if (status.type === "loading") {
2772
+ return { content: /* @__PURE__ */ jsx38(ProcessIndicator2, { size: "xs", "data-testid": "collection-search-loader" }) };
2773
+ }
2774
+ if ((_a = state.search) == null ? void 0 : _a.query) {
2775
+ return {
2776
+ interactive: true,
2777
+ content: /* @__PURE__ */ jsx38(
2778
+ IconButton,
2779
+ {
2780
+ priority: "minimal",
2781
+ size: 24,
2782
+ "aria-label": formatMessage(collection_messages_default.clearTextLabel),
2783
+ onClick: () => {
2784
+ var _a2;
2785
+ return (_a2 = state.search) == null ? void 0 : _a2.onChange("");
2786
+ },
2787
+ children: /* @__PURE__ */ jsx38(CrossCircleFill, {})
2788
+ }
2789
+ )
2790
+ };
2791
+ }
2792
+ return void 0;
2793
+ };
2757
2794
  return /* @__PURE__ */ jsx38(
2758
2795
  FieldInput_default,
2759
2796
  {
@@ -2763,27 +2800,20 @@ var SearchComponent = ({ state, status, features }) => {
2763
2800
  help: "",
2764
2801
  label: search.title,
2765
2802
  features,
2766
- children: /* @__PURE__ */ jsx38(
2767
- InputGroup,
2803
+ children: /* @__PURE__ */ jsx38(InputGroup, { addonStart: { content: /* @__PURE__ */ jsx38(Search, { size: 24 }) }, addonEnd: getAddon(), children: /* @__PURE__ */ jsx38(
2804
+ Input,
2768
2805
  {
2769
- addonStart: { content: /* @__PURE__ */ jsx38(Search, { size: 24 }) },
2770
- addonEnd: status.type === "loading" ? { content: /* @__PURE__ */ jsx38(ProcessIndicator2, { size: "xs", "data-testid": "collection-search-loader" }) } : void 0,
2771
- children: /* @__PURE__ */ jsx38(
2772
- Input,
2773
- {
2774
- id: "search",
2775
- name: "search",
2776
- shape: "pill",
2777
- placeholder: search.hint,
2778
- type: "text",
2779
- value: search.query,
2780
- onChange: ({ currentTarget: { value } }) => {
2781
- search.onChange(value);
2782
- }
2783
- }
2784
- )
2806
+ id: "search",
2807
+ name: "search",
2808
+ shape: "pill",
2809
+ placeholder: search.hint,
2810
+ type: "text",
2811
+ value: search.query,
2812
+ onChange: ({ currentTarget: { value } }) => {
2813
+ search.onChange(value);
2814
+ }
2785
2815
  }
2786
- )
2816
+ ) })
2787
2817
  }
2788
2818
  );
2789
2819
  };
@@ -2816,7 +2846,7 @@ var createCollectionRenderer = (canRender, components) => {
2816
2846
  };
2817
2847
 
2818
2848
  // ../renderers/src/CollectionRenderer/CollectionRenderer.tsx
2819
- import { useIntl as useIntl5 } from "react-intl";
2849
+ import { useIntl as useIntl6 } from "react-intl";
2820
2850
  import { Fragment as Fragment3, jsx as jsx41, jsxs as jsxs7 } from "react/jsx-runtime";
2821
2851
  var CollectionRendererComponent = (props) => {
2822
2852
  const { status, Search: Search4, Filters, Results } = props;
@@ -2827,7 +2857,7 @@ var CollectionRendererComponent = (props) => {
2827
2857
  ] });
2828
2858
  };
2829
2859
  var SearchError = ({ retry }) => {
2830
- const { formatMessage } = useIntl5();
2860
+ const { formatMessage } = useIntl6();
2831
2861
  return /* @__PURE__ */ jsxs7(InlinePrompt, { width: "full", sentiment: "negative", children: [
2832
2862
  formatMessage(generic_error_messages_default.genericError),
2833
2863
  "\xA0",
@@ -3021,7 +3051,7 @@ import { ListItem as ListItem7 } from "@transferwise/components";
3021
3051
  // ../renderers/src/DecisionRenderer/DecisionWrapper.tsx
3022
3052
  import { Header as Header3, SearchInput } from "@transferwise/components";
3023
3053
  import { useState as useState9 } from "react";
3024
- import { useIntl as useIntl7 } from "react-intl";
3054
+ import { useIntl as useIntl8 } from "react-intl";
3025
3055
 
3026
3056
  // ../renderers/src/messages/filter.messages.ts
3027
3057
  import { defineMessages as defineMessages6 } from "react-intl";
@@ -3092,7 +3122,7 @@ var normalizeAndRemoveAccents = (text) => text.trim().toLowerCase().normalize("N
3092
3122
 
3093
3123
  // ../renderers/src/DecisionRenderer/GroupedDecisionList.tsx
3094
3124
  import { Header as Header2, Section } from "@transferwise/components";
3095
- import { useIntl as useIntl6 } from "react-intl";
3125
+ import { useIntl as useIntl7 } from "react-intl";
3096
3126
 
3097
3127
  // ../renderers/src/messages/group.messages.ts
3098
3128
  import { defineMessages as defineMessages7 } from "react-intl";
@@ -3137,7 +3167,7 @@ var isGroupedDecision = (options) => {
3137
3167
  };
3138
3168
  var GroupedDecisionList = (_a) => {
3139
3169
  var _b = _a, { renderDecisionList: renderDecisionList2 } = _b, rest = __objRest(_b, ["renderDecisionList"]);
3140
- const { formatMessage } = useIntl6();
3170
+ const { formatMessage } = useIntl7();
3141
3171
  const { options } = rest;
3142
3172
  const itemsByTag = [...getGroupsFromTags(groupingTags, options), { tag: "all", items: options }];
3143
3173
  return /* @__PURE__ */ jsx45(Fragment4, { children: itemsByTag.map(({ tag, items }) => /* @__PURE__ */ jsxs9(Section, { children: [
@@ -3166,7 +3196,7 @@ var UnfilteredDecisionList = (_a) => {
3166
3196
  return isGroupedDecision(rest.options) ? /* @__PURE__ */ jsx46(GroupedDecisionList, __spreadProps(__spreadValues({}, rest), { renderDecisionList: renderDecisionList2 })) : renderDecisionList2(rest);
3167
3197
  };
3168
3198
  var FilteredDecisionList = (props) => {
3169
- const { formatMessage } = useIntl7();
3199
+ const { formatMessage } = useIntl8();
3170
3200
  const [query, setQuery] = useState9("");
3171
3201
  const { control, options, renderDecisionList: renderDecisionList2 } = props;
3172
3202
  const filteredOptions = (query == null ? void 0 : query.length) > 0 ? filterAndSortItems(options, query) : options;
@@ -3283,7 +3313,7 @@ var external_confirmation_messages_default = defineMessages8({
3283
3313
  });
3284
3314
 
3285
3315
  // ../renderers/src/ExternalConfirmationRenderer.tsx
3286
- import { useIntl as useIntl8 } from "react-intl";
3316
+ import { useIntl as useIntl9 } from "react-intl";
3287
3317
  import { useEffect as useEffect9 } from "react";
3288
3318
  import { Fragment as Fragment7, jsx as jsx49, jsxs as jsxs11 } from "react/jsx-runtime";
3289
3319
  var ExternalConfirmationRenderer = {
@@ -3296,7 +3326,7 @@ function ExternalConfirmationRendererComponent({
3296
3326
  open,
3297
3327
  onCancel
3298
3328
  }) {
3299
- const { formatMessage } = useIntl8();
3329
+ const { formatMessage } = useIntl9();
3300
3330
  useEffect9(() => {
3301
3331
  open();
3302
3332
  }, []);
@@ -3763,7 +3793,7 @@ var ModalRenderer = {
3763
3793
  // ../renderers/src/MoneyInputRenderer.tsx
3764
3794
  import { MoneyInput } from "@transferwise/components";
3765
3795
  import { useEffect as useEffect11 } from "react";
3766
- import { useIntl as useIntl9 } from "react-intl";
3796
+ import { useIntl as useIntl10 } from "react-intl";
3767
3797
  import { jsx as jsx64 } from "react/jsx-runtime";
3768
3798
  var groupingTags2 = Object.keys(group_messages_default).filter((key) => key !== "all");
3769
3799
  var MoneyInputRenderer = {
@@ -3790,7 +3820,7 @@ function MoneyInputRendererComponent(props) {
3790
3820
  onCurrencyChange(0);
3791
3821
  }
3792
3822
  }, [selectedCurrencyIndex, onCurrencyChange, currencies.length]);
3793
- const { formatMessage } = useIntl9();
3823
+ const { formatMessage } = useIntl10();
3794
3824
  return /* @__PURE__ */ jsx64(
3795
3825
  FieldInput_default,
3796
3826
  {
@@ -3864,7 +3894,7 @@ function assertCurrencyCodeIsString(currencyCode) {
3864
3894
  // ../renderers/src/MultiSelectInputRenderer/InlineComponent.tsx
3865
3895
  import { ListItem as ListItem9, SearchInput as SearchInput2 } from "@transferwise/components";
3866
3896
  import { useState as useState12 } from "react";
3867
- import { useIntl as useIntl10 } from "react-intl";
3897
+ import { useIntl as useIntl11 } from "react-intl";
3868
3898
 
3869
3899
  // ../renderers/src/utils/items-with-index.ts
3870
3900
  var zipWithIndex = (items) => items.map((item, index) => __spreadProps(__spreadValues({}, item), {
@@ -3889,7 +3919,7 @@ function InlineComponent(props) {
3889
3919
  } = props;
3890
3920
  const optionsWithIndex = zipWithIndex(options);
3891
3921
  const [query, setQuery] = useState12("");
3892
- const { formatMessage } = useIntl10();
3922
+ const { formatMessage } = useIntl11();
3893
3923
  const filtered = tags == null ? void 0 : tags.includes("filtered");
3894
3924
  const filteredOptions = query ? filterAndSortItems(optionsWithIndex, filtered ? query : "") : optionsWithIndex;
3895
3925
  return /* @__PURE__ */ jsxs16(Fragment8, { children: [
@@ -3962,7 +3992,7 @@ function InlineComponent(props) {
3962
3992
  // ../renderers/src/MultiSelectInputRenderer/DefaultComponent.tsx
3963
3993
  import { SelectInput, SelectInputOptionContent } from "@transferwise/components";
3964
3994
  import { useState as useState13 } from "react";
3965
- import { useIntl as useIntl11 } from "react-intl";
3995
+ import { useIntl as useIntl12 } from "react-intl";
3966
3996
 
3967
3997
  // ../renderers/src/messages/multi-select.messages.ts
3968
3998
  import { defineMessages as defineMessages9 } from "react-intl";
@@ -3977,7 +4007,7 @@ var multi_select_messages_default = defineMessages9({
3977
4007
  // ../renderers/src/MultiSelectInputRenderer/DefaultComponent.tsx
3978
4008
  import { jsx as jsx66 } from "react/jsx-runtime";
3979
4009
  function DefaultComponent(props) {
3980
- const { formatMessage } = useIntl11();
4010
+ const { formatMessage } = useIntl12();
3981
4011
  const [stagedIndices, setStagedIndices] = useState13();
3982
4012
  const {
3983
4013
  id,
@@ -4310,7 +4340,7 @@ var NumberInputRenderer = {
4310
4340
  var NumberInputRenderer_default = NumberInputRenderer;
4311
4341
 
4312
4342
  // ../renderers/src/ParagraphRenderer.tsx
4313
- import { useIntl as useIntl12 } from "react-intl";
4343
+ import { useIntl as useIntl13 } from "react-intl";
4314
4344
 
4315
4345
  // ../renderers/src/hooks/useSnackBarIfAvailable.ts
4316
4346
  import { SnackbarContext } from "@transferwise/components";
@@ -4361,7 +4391,7 @@ function CopyableParagraph({
4361
4391
  align,
4362
4392
  className
4363
4393
  }) {
4364
- const { formatMessage } = useIntl12();
4394
+ const { formatMessage } = useIntl13();
4365
4395
  const createSnackbar = useSnackBarIfAvailable();
4366
4396
  const copy = () => {
4367
4397
  navigator.clipboard.writeText(text).then(() => createSnackbar({ text: formatMessage(paragraph_messages_default.copied) })).catch(() => {
@@ -4411,7 +4441,7 @@ var import_classnames7 = __toESM(require_classnames());
4411
4441
  import { Button as Button8, Header as Header6, InlineAlert as InlineAlert3, Modal as Modal4, NavigationOption } from "@transferwise/components";
4412
4442
  import { Plus } from "@transferwise/icons";
4413
4443
  import { useState as useState14 } from "react";
4414
- import { useIntl as useIntl13 } from "react-intl";
4444
+ import { useIntl as useIntl14 } from "react-intl";
4415
4445
 
4416
4446
  // ../renderers/src/messages/repeatable.messages.ts
4417
4447
  import { defineMessages as defineMessages11 } from "react-intl";
@@ -4459,7 +4489,7 @@ function Repeatable(props) {
4459
4489
  onSave,
4460
4490
  onRemove
4461
4491
  } = props;
4462
- const { formatMessage } = useIntl13();
4492
+ const { formatMessage } = useIntl14();
4463
4493
  const [openModalType, setOpenModalType] = useState14(null);
4464
4494
  const { ref } = useScrollToError(validationState, features);
4465
4495
  const onAddItem = () => {
@@ -4613,7 +4643,7 @@ var getFieldLabel = (label, help, onClick) => {
4613
4643
  // ../renderers/src/ReviewRenderer.tsx
4614
4644
  import { ListItem as ListItem10, Markdown as Markdown5, Popover } from "@transferwise/components";
4615
4645
  import { QuestionMarkCircle } from "@transferwise/icons";
4616
- import { useIntl as useIntl14 } from "react-intl";
4646
+ import { useIntl as useIntl15 } from "react-intl";
4617
4647
  import { jsx as jsx76, jsxs as jsxs21 } from "react/jsx-runtime";
4618
4648
  var IGNORED_CONTROLS = [
4619
4649
  "horizontal",
@@ -4635,7 +4665,7 @@ var Review = ({
4635
4665
  title,
4636
4666
  trackEvent
4637
4667
  }) => {
4638
- const intl = useIntl14();
4668
+ const intl = useIntl15();
4639
4669
  return /* @__PURE__ */ jsxs21("div", { className: getMargin(margin), children: [
4640
4670
  /* @__PURE__ */ jsx76(Header, { title, callToAction }),
4641
4671
  fields.map((field) => {
@@ -4683,7 +4713,7 @@ var ReviewRenderer_default = ReviewRenderer2;
4683
4713
  // ../renderers/src/SearchRenderer/BlockSearchRendererComponent.tsx
4684
4714
  import { Input as Input5, InputGroup as InputGroup4, List, ListItem as ListItem11, Markdown as Markdown6 } from "@transferwise/components";
4685
4715
  import { useState as useState15 } from "react";
4686
- import { useIntl as useIntl16 } from "react-intl";
4716
+ import { useIntl as useIntl17 } from "react-intl";
4687
4717
 
4688
4718
  // ../renderers/src/messages/search.messages.ts
4689
4719
  import { defineMessages as defineMessages12 } from "react-intl";
@@ -4696,11 +4726,11 @@ var search_messages_default = defineMessages12({
4696
4726
  });
4697
4727
 
4698
4728
  // ../renderers/src/SearchRenderer/ErrorResult.tsx
4699
- import { useIntl as useIntl15 } from "react-intl";
4729
+ import { useIntl as useIntl16 } from "react-intl";
4700
4730
  import { Link as DSLink2 } from "@transferwise/components";
4701
4731
  import { jsx as jsx77, jsxs as jsxs22 } from "react/jsx-runtime";
4702
4732
  function ErrorResult({ state }) {
4703
- const intl = useIntl15();
4733
+ const intl = useIntl16();
4704
4734
  return /* @__PURE__ */ jsxs22("p", { className: "m-t-2", children: [
4705
4735
  intl.formatMessage(generic_error_messages_default.genericError),
4706
4736
  "\xA0",
@@ -4724,7 +4754,7 @@ function BlockSearchRendererComponent({
4724
4754
  onChange
4725
4755
  }) {
4726
4756
  const [hasSearched, setHasSearched] = useState15(false);
4727
- const { formatMessage } = useIntl16();
4757
+ const { formatMessage } = useIntl17();
4728
4758
  return /* @__PURE__ */ jsxs23("div", { className: getMargin(margin), children: [
4729
4759
  /* @__PURE__ */ jsx78(
4730
4760
  FieldInput_default,
@@ -4817,7 +4847,7 @@ var BlockSearchRendererComponent_default = BlockSearchRendererComponent;
4817
4847
  import { Markdown as Markdown7, Typeahead } from "@transferwise/components";
4818
4848
  import { Search as Search3 } from "@transferwise/icons";
4819
4849
  import { useState as useState16 } from "react";
4820
- import { useIntl as useIntl17 } from "react-intl";
4850
+ import { useIntl as useIntl18 } from "react-intl";
4821
4851
  import { jsx as jsx79 } from "react/jsx-runtime";
4822
4852
  function InlineSearchRenderer({
4823
4853
  id,
@@ -4831,7 +4861,7 @@ function InlineSearchRenderer({
4831
4861
  trackEvent
4832
4862
  }) {
4833
4863
  const [hasSearched, setHasSearched] = useState16(false);
4834
- const intl = useIntl17();
4864
+ const intl = useIntl18();
4835
4865
  return /* @__PURE__ */ jsx79("div", { className: getMargin(margin), children: /* @__PURE__ */ jsx79(
4836
4866
  FieldInput_default,
4837
4867
  {
@@ -4890,7 +4920,7 @@ function mapResultToTypeaheadOption(result) {
4890
4920
  };
4891
4921
  }
4892
4922
  function TypeaheadFooter({ state, isLoading }) {
4893
- const { formatMessage } = useIntl17();
4923
+ const { formatMessage } = useIntl18();
4894
4924
  if (state.type === "layout") {
4895
4925
  return /* @__PURE__ */ jsx79("div", { className: "m-x-1 m-y-1", children: state.layout });
4896
4926
  }
@@ -5353,9 +5383,9 @@ var getHeaderStyle = (tags) => {
5353
5383
  };
5354
5384
 
5355
5385
  // ../renderers/src/step/topbar/BackButton.tsx
5356
- import { IconButton } from "@transferwise/components";
5386
+ import { IconButton as IconButton2 } from "@transferwise/components";
5357
5387
  import { ArrowLeft } from "@transferwise/icons";
5358
- import { useIntl as useIntl18 } from "react-intl";
5388
+ import { useIntl as useIntl19 } from "react-intl";
5359
5389
 
5360
5390
  // ../renderers/src/messages/back.messages.ts
5361
5391
  import { defineMessages as defineMessages13 } from "react-intl";
@@ -5370,15 +5400,15 @@ var back_messages_default = defineMessages13({
5370
5400
  // ../renderers/src/step/topbar/BackButton.tsx
5371
5401
  import { jsx as jsx90, jsxs as jsxs32 } from "react/jsx-runtime";
5372
5402
  function BackButton({ title, onClick }) {
5373
- const { formatMessage } = useIntl18();
5374
- return /* @__PURE__ */ jsxs32(IconButton, { className: "df-back-button", priority: "tertiary", onClick, children: [
5403
+ const { formatMessage } = useIntl19();
5404
+ return /* @__PURE__ */ jsxs32(IconButton2, { className: "df-back-button", priority: "tertiary", onClick, children: [
5375
5405
  /* @__PURE__ */ jsx90("span", { className: "sr-only", children: title != null ? title : formatMessage(back_messages_default.back) }),
5376
5406
  /* @__PURE__ */ jsx90(ArrowLeft, {})
5377
5407
  ] });
5378
5408
  }
5379
5409
 
5380
5410
  // ../renderers/src/step/topbar/Toolbar.tsx
5381
- import { Button as Button9, IconButton as IconButton2 } from "@transferwise/components";
5411
+ import { Button as Button9, IconButton as IconButton3 } from "@transferwise/components";
5382
5412
  import { jsx as jsx91, jsxs as jsxs33 } from "react/jsx-runtime";
5383
5413
  var Toolbar = ({ items }) => {
5384
5414
  return (items == null ? void 0 : items.length) > 0 ? /* @__PURE__ */ jsx91("div", { className: "df-toolbar", children: items.map((item, index) => /* @__PURE__ */ jsx91(ToolbarButton, __spreadValues({}, item), `${item.type}-${index}-${item.title}`)) }) : null;
@@ -5392,7 +5422,7 @@ function MediaToolbarButton(props) {
5392
5422
  const priority = getIconButtonPriority(control);
5393
5423
  const type = getSentiment2(context);
5394
5424
  return /* @__PURE__ */ jsxs33(
5395
- IconButton2,
5425
+ IconButton3,
5396
5426
  {
5397
5427
  className: "df-toolbar-button",
5398
5428
  disabled,
@@ -6091,7 +6121,7 @@ var customEventsToAnalytics = {
6091
6121
 
6092
6122
  // src/dynamicFlow/useOnCopy.tsx
6093
6123
  import { useCallback as useCallback2 } from "react";
6094
- import { useIntl as useIntl19 } from "react-intl";
6124
+ import { useIntl as useIntl20 } from "react-intl";
6095
6125
 
6096
6126
  // src/dynamicFlow/messages.ts
6097
6127
  import { defineMessages as defineMessages14 } from "react-intl";
@@ -6110,7 +6140,7 @@ var messages_default = defineMessages14({
6110
6140
 
6111
6141
  // src/dynamicFlow/useOnCopy.tsx
6112
6142
  var useOnCopy = () => {
6113
- const { formatMessage } = useIntl19();
6143
+ const { formatMessage } = useIntl20();
6114
6144
  const createSnackBar = useSnackBarIfAvailable();
6115
6145
  return useCallback2(
6116
6146
  (copiedContent) => {
@@ -6126,9 +6156,9 @@ var useOnCopy = () => {
6126
6156
 
6127
6157
  // src/dynamicFlow/useWiseHttpClient.tsx
6128
6158
  import { useCallback as useCallback3 } from "react";
6129
- import { useIntl as useIntl20 } from "react-intl";
6159
+ import { useIntl as useIntl21 } from "react-intl";
6130
6160
  var useWiseHttpClient = (httpClient) => {
6131
- const { locale } = useIntl20();
6161
+ const { locale } = useIntl21();
6132
6162
  return useCallback3(
6133
6163
  async (input, init = {}) => {
6134
6164
  const headers = new Headers(init.headers);
@@ -6266,6 +6296,7 @@ var cs_default = {
6266
6296
  "df.wise.ArraySchema.minItemsError": "P\u0159idejte alespo\u0148 {minItems}.",
6267
6297
  "df.wise.ArraySchema.removeItem": "Odebrat",
6268
6298
  "df.wise.ButtonLayout.buttonLoadingMessage": "M\u016F\u017Ee to trvat p\xE1r sekund",
6299
+ "df.wise.Collection.clearText": "Vymazat text",
6269
6300
  "df.wise.Collection.loadMoreMessage": "Na\u010D\xEDst v\xEDce",
6270
6301
  "df.wise.ControlFeedback.maxLength": "Zadejte {maxLength} nebo m\xE9n\u011B znak\u016F.",
6271
6302
  "df.wise.ControlFeedback.maximum": "Zadejte \u010D\xEDslo, kter\xE9 je {maximum} nebo men\u0161\xED.",
@@ -6314,6 +6345,7 @@ var de_default = {
6314
6345
  "df.wise.ArraySchema.minItemsError": "Bitte f\xFCge mindestens {minItems} hinzu.",
6315
6346
  "df.wise.ArraySchema.removeItem": "Entfernen",
6316
6347
  "df.wise.ButtonLayout.buttonLoadingMessage": "Dies kann ein paar Sekunden dauern",
6348
+ "df.wise.Collection.clearText": "Text l\xF6schen",
6317
6349
  "df.wise.Collection.loadMoreMessage": "Mehr laden",
6318
6350
  "df.wise.ControlFeedback.maxLength": "Bitte gib nicht mehr als {maxLength} Zeichen ein.",
6319
6351
  "df.wise.ControlFeedback.maximum": "Bitte gib eine Zahl ein, die {maximum} oder weniger betr\xE4gt.",
@@ -6362,6 +6394,7 @@ var en_default = {
6362
6394
  "df.wise.ArraySchema.minItemsError": "Please add at least {minItems}.",
6363
6395
  "df.wise.ArraySchema.removeItem": "Remove",
6364
6396
  "df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
6397
+ "df.wise.Collection.clearText": "Clear text",
6365
6398
  "df.wise.Collection.loadMoreMessage": "Load more",
6366
6399
  "df.wise.ControlFeedback.maxLength": "Please enter {maxLength} or fewer characters.",
6367
6400
  "df.wise.ControlFeedback.maximum": "Please enter a number that's {maximum} or less.",
@@ -6410,6 +6443,7 @@ var es_default = {
6410
6443
  "df.wise.ArraySchema.minItemsError": "A\xF1ade al menos {minItems}.",
6411
6444
  "df.wise.ArraySchema.removeItem": "Eliminar",
6412
6445
  "df.wise.ButtonLayout.buttonLoadingMessage": "Esto puede tardar unos segundos",
6446
+ "df.wise.Collection.clearText": "Borrar texto",
6413
6447
  "df.wise.Collection.loadMoreMessage": "Cargar m\xE1s",
6414
6448
  "df.wise.ControlFeedback.maxLength": "Introduce {maxLength} caracteres o menos.",
6415
6449
  "df.wise.ControlFeedback.maximum": "Introduce una cifra igual o inferior a {maximum}.",
@@ -6458,6 +6492,7 @@ var fr_default = {
6458
6492
  "df.wise.ArraySchema.minItemsError": "Veuillez ajouter au moins {minItems}.",
6459
6493
  "df.wise.ArraySchema.removeItem": "Supprimer",
6460
6494
  "df.wise.ButtonLayout.buttonLoadingMessage": "Un instant, s'il vous pla\xEEt...",
6495
+ "df.wise.Collection.clearText": "Effacer le texte",
6461
6496
  "df.wise.Collection.loadMoreMessage": "Charger plus",
6462
6497
  "df.wise.ControlFeedback.maxLength": "Veuillez saisir {maxLength} caract\xE8res ou moins.",
6463
6498
  "df.wise.ControlFeedback.maximum": "Veuillez saisir un nombre inf\xE9rieur ou \xE9gal \xE0 {maximum}.",
@@ -6506,6 +6541,7 @@ var hu_default = {
6506
6541
  "df.wise.ArraySchema.minItemsError": "K\xE9r\xFCnk, legal\xE1bb {minItems} t\xE9telt adj meg.",
6507
6542
  "df.wise.ArraySchema.removeItem": "Elt\xE1vol\xEDt\xE1s",
6508
6543
  "df.wise.ButtonLayout.buttonLoadingMessage": "Ez eltarthat n\xE9h\xE1ny m\xE1sodpercig",
6544
+ "df.wise.Collection.clearText": "Sz\xF6veg t\xF6rl\xE9se",
6509
6545
  "df.wise.Collection.loadMoreMessage": "Tov\xE1bbiak bet\xF6lt\xE9se",
6510
6546
  "df.wise.ControlFeedback.maxLength": "K\xE9r\xFCnk, legfeljebb {maxLength} karaktert adj meg.",
6511
6547
  "df.wise.ControlFeedback.maximum": "K\xE9r\xFCnk, add meg ezt vagy egy enn\xE9l kisebb sz\xE1mot: {maximum}.",
@@ -6554,6 +6590,7 @@ var id_default = {
6554
6590
  "df.wise.ArraySchema.minItemsError": "Harap tambahkan setidaknya {minItems}.",
6555
6591
  "df.wise.ArraySchema.removeItem": "Hapus",
6556
6592
  "df.wise.ButtonLayout.buttonLoadingMessage": "Ini mungkin memakan waktu beberapa detik",
6593
+ "df.wise.Collection.clearText": "Hapus teks",
6557
6594
  "df.wise.Collection.loadMoreMessage": "Muat lebih banyak",
6558
6595
  "df.wise.ControlFeedback.maxLength": "Harap masukkan {maxLength} karakter atau kurang.",
6559
6596
  "df.wise.ControlFeedback.maximum": "Harap masukkan angka paling besar {maximum} atau kurang dari itu.",
@@ -6602,6 +6639,7 @@ var it_default = {
6602
6639
  "df.wise.ArraySchema.minItemsError": "Aggiungi almeno {minItems}.",
6603
6640
  "df.wise.ArraySchema.removeItem": "Rimuovi",
6604
6641
  "df.wise.ButtonLayout.buttonLoadingMessage": "Potrebbero volerci un paio di secondi",
6642
+ "df.wise.Collection.clearText": "Cancella testo",
6605
6643
  "df.wise.Collection.loadMoreMessage": "Carica altro",
6606
6644
  "df.wise.ControlFeedback.maxLength": "Inserisci un massimo di {maxLength} caratteri.",
6607
6645
  "df.wise.ControlFeedback.maximum": "Inserisci un numero uguale o inferiore a {maximum}.",
@@ -6650,6 +6688,7 @@ var ja_default = {
6650
6688
  "df.wise.ArraySchema.minItemsError": "{minItems}\u30A2\u30A4\u30C6\u30E0\u4EE5\u4E0A\u3092\u8FFD\u52A0\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
6651
6689
  "df.wise.ArraySchema.removeItem": "\u524A\u9664\u3059\u308B",
6652
6690
  "df.wise.ButtonLayout.buttonLoadingMessage": "\u6570\u79D2\u304B\u304B\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059",
6691
+ "df.wise.Collection.clearText": "\u6587\u5B57\u3092\u30AF\u30EA\u30A2\u3059\u308B",
6653
6692
  "df.wise.Collection.loadMoreMessage": "\u3082\u3063\u3068\u898B\u308B",
6654
6693
  "df.wise.ControlFeedback.maxLength": "{maxLength}\u6587\u5B57\u4EE5\u4E0B\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
6655
6694
  "df.wise.ControlFeedback.maximum": "{maximum}\u4EE5\u4E0B\u306E\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
@@ -6698,6 +6737,7 @@ var nl_default = {
6698
6737
  "df.wise.ArraySchema.minItemsError": "Voeg minimaal {minItems} toe.",
6699
6738
  "df.wise.ArraySchema.removeItem": "Verwijderen",
6700
6739
  "df.wise.ButtonLayout.buttonLoadingMessage": "Dit kan enkele seconden duren",
6740
+ "df.wise.Collection.clearText": "Tekst wissen",
6701
6741
  "df.wise.Collection.loadMoreMessage": "Meer laden",
6702
6742
  "df.wise.ControlFeedback.maxLength": "Voer {maxLength} of minder tekens in.",
6703
6743
  "df.wise.ControlFeedback.maximum": "Voer een getal in dat {maximum} of lager is.",
@@ -6746,6 +6786,7 @@ var pl_default = {
6746
6786
  "df.wise.ArraySchema.minItemsError": "Prosimy doda\u0107 co najmniej {minItems}.",
6747
6787
  "df.wise.ArraySchema.removeItem": "Usu\u0144",
6748
6788
  "df.wise.ButtonLayout.buttonLoadingMessage": "To mo\u017Ce potrwa\u0107 kilka sekund",
6789
+ "df.wise.Collection.clearText": "Wyczy\u015B\u0107 tekst",
6749
6790
  "df.wise.Collection.loadMoreMessage": "Za\u0142aduj wi\u0119cej",
6750
6791
  "df.wise.ControlFeedback.maxLength": "Prosimy wprowadzi\u0107 do {maxLength} znak\xF3w.",
6751
6792
  "df.wise.ControlFeedback.maximum": "Wprowad\u017A liczb\u0119 r\xF3wn\u0105 lub mniejsz\u0105 ni\u017C {maximum}.",
@@ -6794,6 +6835,7 @@ var pt_default = {
6794
6835
  "df.wise.ArraySchema.minItemsError": "Adicione pelo menos {minItems}.",
6795
6836
  "df.wise.ArraySchema.removeItem": "Remover",
6796
6837
  "df.wise.ButtonLayout.buttonLoadingMessage": "Isso pode levar alguns segundos",
6838
+ "df.wise.Collection.clearText": "Limpar texto",
6797
6839
  "df.wise.Collection.loadMoreMessage": "Carregar mais",
6798
6840
  "df.wise.ControlFeedback.maxLength": "Por favor, insira {maxLength} caracteres ou menos.",
6799
6841
  "df.wise.ControlFeedback.maximum": "Por favor, insira um n\xFAmero que seja {maximum} ou menos.",
@@ -6842,6 +6884,7 @@ var ro_default = {
6842
6884
  "df.wise.ArraySchema.minItemsError": "Te rug\u0103m s\u0103 adaugi cel pu\u021Bin {minItems}.",
6843
6885
  "df.wise.ArraySchema.removeItem": "Elimin\u0103",
6844
6886
  "df.wise.ButtonLayout.buttonLoadingMessage": "Acest lucru ar putea dura c\xE2teva secunde",
6887
+ "df.wise.Collection.clearText": "\u0218terge textul",
6845
6888
  "df.wise.Collection.loadMoreMessage": "\xCEncarc\u0103 mai multe",
6846
6889
  "df.wise.ControlFeedback.maxLength": "Te rug\u0103m s\u0103 introduci {maxLength} sau mai pu\u021Bine caractere.",
6847
6890
  "df.wise.ControlFeedback.maximum": "Te rug\u0103m s\u0103 introduci un num\u0103r egal cu {maximum} sau mai mic.",
@@ -6890,6 +6933,7 @@ var ru_default = {
6890
6933
  "df.wise.ArraySchema.minItemsError": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u043F\u043E \u043A\u0440\u0430\u0439\u043D\u0435\u0439 \u043C\u0435\u0440\u0435 {minItems}.",
6891
6934
  "df.wise.ArraySchema.removeItem": "\u0423\u0434\u0430\u043B\u0438\u0442\u044C",
6892
6935
  "df.wise.ButtonLayout.buttonLoadingMessage": "\u042D\u0442\u043E \u043C\u043E\u0436\u0435\u0442 \u0437\u0430\u043D\u044F\u0442\u044C \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0441\u0435\u043A\u0443\u043D\u0434",
6936
+ "df.wise.Collection.clearText": "\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0442\u0435\u043A\u0441\u0442",
6893
6937
  "df.wise.Collection.loadMoreMessage": "\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0431\u043E\u043B\u044C\u0448\u0435",
6894
6938
  "df.wise.ControlFeedback.maxLength": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 {maxLength} \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432 \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.",
6895
6939
  "df.wise.ControlFeedback.maximum": "\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0447\u0438\u0441\u043B\u043E, \u0440\u0430\u0432\u043D\u043E\u0435 {maximum} \u0438\u043B\u0438 \u043C\u0435\u043D\u044C\u0448\u0435.",
@@ -6938,6 +6982,7 @@ var th_default = {
6938
6982
  "df.wise.ArraySchema.minItemsError": "\u0E42\u0E1B\u0E23\u0E14\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22 {minItems}",
6939
6983
  "df.wise.ArraySchema.removeItem": "\u0E25\u0E1A",
6940
6984
  "df.wise.ButtonLayout.buttonLoadingMessage": "\u0E2D\u0E32\u0E08\u0E43\u0E0A\u0E49\u0E40\u0E27\u0E25\u0E32\u0E2A\u0E31\u0E01\u0E2A\u0E2D\u0E07\u0E2A\u0E32\u0E21\u0E27\u0E34\u0E19\u0E32\u0E17\u0E35",
6985
+ "df.wise.Collection.clearText": "\u0E25\u0E49\u0E32\u0E07\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21",
6941
6986
  "df.wise.Collection.loadMoreMessage": "\u0E42\u0E2B\u0E25\u0E14\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21",
6942
6987
  "df.wise.ControlFeedback.maxLength": "\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19 {maxLength} \u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23\u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E19\u0E31\u0E49\u0E19",
6943
6988
  "df.wise.ControlFeedback.maximum": "\u0E42\u0E1B\u0E23\u0E14\u0E1B\u0E49\u0E2D\u0E19\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02 {maximum} \u0E2B\u0E23\u0E37\u0E2D\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",
@@ -6986,6 +7031,7 @@ var tr_default = {
6986
7031
  "df.wise.ArraySchema.minItemsError": "L\xFCtfen en az {minItems} ekleme yap\u0131n.",
6987
7032
  "df.wise.ArraySchema.removeItem": "Kald\u0131r",
6988
7033
  "df.wise.ButtonLayout.buttonLoadingMessage": "Bu birka\xE7 saniye s\xFCrebilir",
7034
+ "df.wise.Collection.clearText": "Metni temizle",
6989
7035
  "df.wise.Collection.loadMoreMessage": "Daha fazla y\xFCkle",
6990
7036
  "df.wise.ControlFeedback.maxLength": "L\xFCtfen {maxLength} veya daha az karakter girin.",
6991
7037
  "df.wise.ControlFeedback.maximum": "L\xFCtfen {maximum} veya daha d\xFC\u015F\xFCk bir say\u0131 girin.",
@@ -7034,6 +7080,7 @@ var zh_CN_default = {
7034
7080
  "df.wise.ArraySchema.minItemsError": "\u8BF7\u81F3\u5C11\u6DFB\u52A0 {minItems} \u9879\u3002",
7035
7081
  "df.wise.ArraySchema.removeItem": "\u79FB\u9664",
7036
7082
  "df.wise.ButtonLayout.buttonLoadingMessage": "\u6B64\u8FC7\u7A0B\u53EF\u80FD\u9700\u8981\u51E0\u79D2\u949F",
7083
+ "df.wise.Collection.clearText": "\u6E05\u9664\u6587\u672C",
7037
7084
  "df.wise.Collection.loadMoreMessage": "\u52A0\u8F7D\u66F4\u591A",
7038
7085
  "df.wise.ControlFeedback.maxLength": "\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC7 {maxLength} \u4E2A\u5B57\u7B26\u3002",
7039
7086
  "df.wise.ControlFeedback.maximum": "\u8BF7\u8F93\u5165\u4E00\u4E2A\u5C0F\u4E8E\u6216\u7B49\u4E8E {maximum} \u7684\u6570\u5B57\u3002",
@@ -7082,6 +7129,7 @@ var zh_HK_default = {
7082
7129
  "df.wise.ArraySchema.minItemsError": "\u8ACB\u81F3\u5C11\u6DFB\u52A0{minItems}\u9805\u3002",
7083
7130
  "df.wise.ArraySchema.removeItem": "\u79FB\u9664",
7084
7131
  "df.wise.ButtonLayout.buttonLoadingMessage": "\u6B64\u7A0B\u5E8F\u53EF\u80FD\u9700\u6642\u5E7E\u79D2",
7132
+ "df.wise.Collection.clearText": "\u6E05\u9664\u6587\u5B57",
7085
7133
  "df.wise.Collection.loadMoreMessage": "\u8F09\u5165\u66F4\u591A",
7086
7134
  "df.wise.ControlFeedback.maxLength": "\u8ACB\u8F38\u5165\u6700\u591A{maxLength}\u500B\u5B57\u5143\u3002",
7087
7135
  "df.wise.ControlFeedback.maximum": "\u8ACB\u8F38\u5165\u4E00\u500B\u5C0F\u65BC\u6216\u7B49\u65BC{maximum}\u7684\u6578\u5B57\u3002",