treege 3.0.0-beta.63 → 3.0.0-beta.65

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 (55) hide show
  1. package/README.md +7 -6
  2. package/dist/DefaultInputs-2wzCRMKH.js +1742 -0
  3. package/dist/{ThemeContext-nopV_oRU.js → ThemeContext-7cghqUb0.js} +91 -601
  4. package/dist/{editor-Bag5U_S5.js → editor-DPECN9XS.js} +1831 -1832
  5. package/dist/editor.js +2 -2
  6. package/dist/main.js +6 -4
  7. package/dist/renderer/features/TreegeRenderer/native/components/DefaultInputs.d.ts +1 -2
  8. package/dist/renderer/features/TreegeRenderer/native/components/DefaultStep.d.ts +1 -1
  9. package/dist/renderer/features/TreegeRenderer/native/components/inputs/DefaultAddressInput.d.ts +2 -2
  10. package/dist/renderer/features/TreegeRenderer/native/components/inputs/DefaultAutocompleteInput.d.ts +2 -2
  11. package/dist/renderer/features/TreegeRenderer/native/components/inputs/DefaultCheckboxInput.d.ts +2 -2
  12. package/dist/renderer/features/TreegeRenderer/native/components/inputs/DefaultDateInput.d.ts +2 -2
  13. package/dist/renderer/features/TreegeRenderer/native/components/inputs/DefaultDateRangeInput.d.ts +2 -2
  14. package/dist/renderer/features/TreegeRenderer/native/components/inputs/DefaultFileInput.d.ts +2 -2
  15. package/dist/renderer/features/TreegeRenderer/native/components/inputs/DefaultHiddenInput.d.ts +2 -2
  16. package/dist/renderer/features/TreegeRenderer/native/components/inputs/DefaultHttpInput.d.ts +2 -2
  17. package/dist/renderer/features/TreegeRenderer/native/components/inputs/DefaultNumberInput.d.ts +2 -2
  18. package/dist/renderer/features/TreegeRenderer/native/components/inputs/DefaultPasswordInput.d.ts +2 -2
  19. package/dist/renderer/features/TreegeRenderer/native/components/inputs/DefaultRadioInput.d.ts +2 -2
  20. package/dist/renderer/features/TreegeRenderer/native/components/inputs/DefaultSelectInput.d.ts +2 -2
  21. package/dist/renderer/features/TreegeRenderer/native/components/inputs/DefaultSubmitInput.d.ts +11 -0
  22. package/dist/renderer/features/TreegeRenderer/native/components/inputs/DefaultSwitchInput.d.ts +2 -2
  23. package/dist/renderer/features/TreegeRenderer/native/components/inputs/DefaultTextInput.d.ts +2 -2
  24. package/dist/renderer/features/TreegeRenderer/native/components/inputs/DefaultTextareaInput.d.ts +2 -2
  25. package/dist/renderer/features/TreegeRenderer/native/components/inputs/DefaultTimeInput.d.ts +2 -2
  26. package/dist/renderer/features/TreegeRenderer/native/components/inputs/DefaultTimeRangeInput.d.ts +2 -2
  27. package/dist/renderer/features/TreegeRenderer/useTreegeRenderer.d.ts +2 -1
  28. package/dist/renderer/features/TreegeRenderer/web/TreegeRenderer.d.ts +1 -1
  29. package/dist/renderer/features/TreegeRenderer/web/components/DefaultStep.d.ts +1 -1
  30. package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultAddressInput.d.ts +2 -2
  31. package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultAutocompleteInput.d.ts +2 -2
  32. package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultCheckboxInput.d.ts +2 -2
  33. package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultDateInput.d.ts +2 -2
  34. package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultDateRangeInput.d.ts +2 -2
  35. package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultFileInput.d.ts +2 -2
  36. package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultHiddenInput.d.ts +2 -2
  37. package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultHttpInput.d.ts +2 -2
  38. package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultNumberInput.d.ts +2 -2
  39. package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultPasswordInput.d.ts +2 -2
  40. package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultRadioInput.d.ts +2 -2
  41. package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultSelectInput.d.ts +2 -2
  42. package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultSubmitInput.d.ts +10 -2
  43. package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultSwitchInput.d.ts +2 -2
  44. package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultTextAreaInput.d.ts +2 -2
  45. package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultTextInput.d.ts +2 -2
  46. package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultTimeInput.d.ts +2 -2
  47. package/dist/renderer/features/TreegeRenderer/web/components/inputs/DefaultTimeRangeInput.d.ts +2 -2
  48. package/dist/renderer/types/renderer.d.ts +28 -7
  49. package/dist/renderer-BZDW7wcE.js +273 -0
  50. package/dist/renderer-native.js +815 -817
  51. package/dist/renderer.js +5 -3
  52. package/dist/useRenderNode-DGe-7y4d.js +506 -0
  53. package/package.json +1 -1
  54. package/dist/DefaultInputs-nX-CVK2i.js +0 -2013
  55. package/dist/renderer/features/TreegeRenderer/InputRendererHost.d.ts +0 -15
@@ -1,12 +1,13 @@
1
- import { A as e, C as t, D as n, F as r, I as i, S as a, T as o, V as s, _ as c, a as l, b as u, c as d, d as f, f as p, g as m, h, i as g, j as _, k as v, l as y, m as b, n as x, o as S, p as C, r as w, s as T, t as E, u as D, x as ee } from "./ThemeContext-nopV_oRU.js";
2
- import { useCallback as te, useEffect as O, useMemo as k, useRef as A, useState as j } from "react";
3
- import { Fragment as M, jsx as N, jsxs as P } from "react/jsx-runtime";
4
- import { ActivityIndicator as ne, Alert as re, Animated as F, FlatList as I, Image as ie, Modal as ae, ScrollView as L, StyleSheet as R, Switch as oe, Text as z, TextInput as B, TouchableOpacity as V, View as H } from "react-native";
1
+ import { C as e, I as t, O as n, P as r, T as i, a, b as o, c as s, g as c, h as l, i as u, k as d, m as f, n as p, o as m, p as h, r as g, s as _, t as v, v as y, w as b } from "./ThemeContext-7cghqUb0.js";
2
+ import { a as x, c as S, i as C, l as w, n as T, o as E, r as D, s as ee, t as O } from "./useRenderNode-DGe-7y4d.js";
3
+ import { useCallback as te, useEffect as k, useMemo as A, useRef as j, useState as M } from "react";
4
+ import { Fragment as ne, jsx as N, jsxs as P } from "react/jsx-runtime";
5
+ import { ActivityIndicator as re, Alert as ie, Animated as F, FlatList as ae, Image as I, Modal as oe, ScrollView as L, StyleSheet as R, Switch as se, Text as z, TextInput as B, TouchableOpacity as V, View as H } from "react-native";
5
6
  //#region src/renderer/features/TreegeRenderer/native/components/DefaultFormWrapper.tsx
6
- var se = ({ children: e }) => /* @__PURE__ */ N(H, {
7
- style: ce.container,
7
+ var ce = ({ children: e }) => /* @__PURE__ */ N(H, {
8
+ style: le.container,
8
9
  children: e
9
- }), ce = R.create({ container: { padding: 16 } }), le = async (e, t) => {
10
+ }), le = R.create({ container: { padding: 16 } }), ue = async (e, t) => {
10
11
  if (!e || e.trim().length < 3) return [];
11
12
  try {
12
13
  let n = await fetch(`https://nominatim.openstreetmap.org/search?q=${encodeURIComponent(e)}&format=jsonv2&addressdetails=1&limit=5`, { headers: {
@@ -21,7 +22,7 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
21
22
  } catch (e) {
22
23
  return console.error("Nominatim fetch error:", e), [];
23
24
  }
24
- }, ue = async (e, t) => {
25
+ }, de = async (e, t) => {
25
26
  if (!e || e.trim().length < 3) return [];
26
27
  try {
27
28
  let n = await fetch(`https://maps.googleapis.com/maps/api/place/autocomplete/json?input=${encodeURIComponent(e)}&key=${t}`);
@@ -34,20 +35,20 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
34
35
  } catch (e) {
35
36
  return console.error("Google Places fetch error:", e), [];
36
37
  }
37
- }, de = (e, t) => {
38
- let [n, r] = j(""), [a, o] = j([]), [s, c] = j(!1), [l, u] = j(!1), { value: d, placeholder: f, id: p, name: m } = e, { node: h, setValue: g, error: v, label: y, helperText: b } = t, { language: S, googleApiKey: C } = i(), w = _(), { colors: T } = x(), E = te((e) => {
39
- g(e.value), r(""), c(!1), o([]);
40
- }, [g]), D = () => {
38
+ }, fe = ({ field: e, extra: t }) => {
39
+ let [n, r] = M(""), [a, o] = M([]), [s, c] = M(!1), [l, u] = M(!1), { value: f, placeholder: m, id: h, name: g } = e, { node: _, setValue: v, error: y, label: b, helperText: x } = t, { language: S, googleApiKey: C } = d(), w = i(), { colors: T } = p(), E = te((e) => {
40
+ v(e.value), r(""), c(!1), o([]);
41
+ }, [v]), D = () => {
41
42
  c(!1);
42
43
  };
43
- return O(() => {
44
+ return k(() => {
44
45
  if (!n || n.trim().length < 3) {
45
46
  o([]), u(!1);
46
47
  return;
47
48
  }
48
49
  u(!0);
49
50
  let e = setTimeout(async () => {
50
- o(C ? await ue(n, C) : await le(n, S)), u(!1);
51
+ o(C ? await de(n, C) : await ue(n, S)), u(!1);
51
52
  }, 300);
52
53
  return () => {
53
54
  clearTimeout(e), u(!1);
@@ -61,7 +62,7 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
61
62
  children: [
62
63
  /* @__PURE__ */ P(z, {
63
64
  style: [U.label, { color: T.textSecondary }],
64
- children: [y || h.data.name, h.data.required && /* @__PURE__ */ N(z, {
65
+ children: [b || _.data.name, _.data.required && /* @__PURE__ */ N(z, {
65
66
  style: { color: T.error },
66
67
  children: "*"
67
68
  })]
@@ -73,7 +74,7 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
73
74
  backgroundColor: T.input,
74
75
  borderColor: T.border
75
76
  },
76
- v && { borderColor: T.error }
77
+ y && { borderColor: T.error }
77
78
  ],
78
79
  onPress: () => c(!0),
79
80
  activeOpacity: .7,
@@ -81,16 +82,16 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
81
82
  style: [
82
83
  U.triggerText,
83
84
  { color: T.text },
84
- !d && { color: T.textMuted }
85
+ !f && { color: T.textMuted }
85
86
  ],
86
87
  numberOfLines: 1,
87
- children: d || f || w("renderer.defaultAddressInput.enterAddress")
88
+ children: f || m || w("renderer.defaultAddressInput.enterAddress")
88
89
  }), /* @__PURE__ */ N(z, {
89
90
  style: U.icon,
90
91
  children: "📍"
91
92
  })]
92
93
  }),
93
- /* @__PURE__ */ N(ae, {
94
+ /* @__PURE__ */ N(oe, {
94
95
  visible: s,
95
96
  transparent: !0,
96
97
  animationType: "fade",
@@ -108,7 +109,7 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
108
109
  style: [U.modalHeader, { borderBottomColor: T.separator }],
109
110
  children: [/* @__PURE__ */ N(z, {
110
111
  style: [U.modalTitle, { color: T.text }],
111
- children: y || h.data.name
112
+ children: b || _.data.name
112
113
  }), /* @__PURE__ */ N(V, {
113
114
  onPress: D,
114
115
  children: /* @__PURE__ */ N(z, {
@@ -125,14 +126,14 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
125
126
  borderColor: T.border,
126
127
  color: T.text
127
128
  }],
128
- placeholder: f || w("renderer.defaultAddressInput.enterAddress"),
129
+ placeholder: m || w("renderer.defaultAddressInput.enterAddress"),
129
130
  placeholderTextColor: T.textMuted,
130
131
  value: n,
131
132
  onChangeText: r,
132
133
  autoFocus: !0,
133
134
  autoCapitalize: "none",
134
135
  autoCorrect: !1
135
- }), l && /* @__PURE__ */ N(ne, {
136
+ }), l && /* @__PURE__ */ N(re, {
136
137
  size: "small",
137
138
  color: T.primary,
138
139
  style: U.searchLoader
@@ -140,14 +141,14 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
140
141
  }),
141
142
  l ? /* @__PURE__ */ P(H, {
142
143
  style: U.loadingContainer,
143
- children: [/* @__PURE__ */ N(ne, {
144
+ children: [/* @__PURE__ */ N(re, {
144
145
  size: "small",
145
146
  color: T.primary
146
147
  }), /* @__PURE__ */ N(z, {
147
148
  style: [U.loadingText, { color: T.textMuted }],
148
149
  children: w("renderer.defaultAddressInput.searching")
149
150
  })]
150
- }) : /* @__PURE__ */ N(I, {
151
+ }) : /* @__PURE__ */ N(ae, {
151
152
  data: a,
152
153
  keyExtractor: (e, t) => t.toString(),
153
154
  style: U.suggestionsList,
@@ -184,13 +185,13 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
184
185
  })
185
186
  })
186
187
  }),
187
- v && /* @__PURE__ */ N(z, {
188
+ y && /* @__PURE__ */ N(z, {
188
189
  style: [U.error, { color: T.error }],
189
- children: v
190
+ children: y
190
191
  }),
191
- b && !v && /* @__PURE__ */ N(z, {
192
+ x && !y && /* @__PURE__ */ N(z, {
192
193
  style: [U.helperText, { color: T.textMuted }],
193
- children: b
194
+ children: x
194
195
  })
195
196
  ]
196
197
  });
@@ -304,25 +305,25 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
304
305
  flex: 1,
305
306
  fontSize: 14
306
307
  }
307
- }), fe = ({ label: e, description: t, image: n, disabled: r }) => {
308
- let { colors: i } = x();
308
+ }), pe = ({ label: e, description: t, image: n, disabled: r }) => {
309
+ let { colors: i } = p();
309
310
  return /* @__PURE__ */ P(H, {
310
- style: pe.content,
311
- children: [n ? /* @__PURE__ */ N(ie, {
311
+ style: me.content,
312
+ children: [n ? /* @__PURE__ */ N(I, {
312
313
  source: { uri: n },
313
- style: pe.image
314
+ style: me.image
314
315
  }) : null, /* @__PURE__ */ P(H, {
315
- style: pe.textWrapper,
316
+ style: me.textWrapper,
316
317
  children: [/* @__PURE__ */ N(z, {
317
- style: [pe.label, { color: r ? i.textMuted : i.text }],
318
+ style: [me.label, { color: r ? i.textMuted : i.text }],
318
319
  children: e
319
320
  }), t ? /* @__PURE__ */ N(z, {
320
- style: [pe.description, { color: i.textMuted }],
321
+ style: [me.description, { color: i.textMuted }],
321
322
  children: t
322
323
  }) : null]
323
324
  })]
324
325
  });
325
- }, pe = R.create({
326
+ }, me = R.create({
326
327
  content: {
327
328
  alignItems: "center",
328
329
  flex: 1,
@@ -340,27 +341,27 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
340
341
  },
341
342
  label: { fontSize: 14 },
342
343
  textWrapper: { flex: 1 }
343
- }), me = (e, t) => {
344
- let [n, r] = j(!1), [i, a] = j(""), { value: o, placeholder: s } = e, { node: c, setValue: l, error: u, label: d, helperText: f } = t, p = _(), { colors: m } = x(), h = c.data.options || [], g = h.find((e) => e.value === o), v = k(() => {
345
- if (!i.trim()) return h;
346
- let e = i.toLowerCase();
347
- return h.filter((t) => p(t.label).toLowerCase().includes(e) || t.value.toLowerCase().includes(e));
344
+ }), he = ({ field: e, extra: t }) => {
345
+ let [n, r] = M(!1), [a, o] = M(""), { value: s, placeholder: c } = e, { node: l, setValue: u, error: d, label: f, helperText: m } = t, h = i(), { colors: g } = p(), _ = l.data.options || [], v = _.find((e) => e.value === s), y = A(() => {
346
+ if (!a.trim()) return _;
347
+ let e = a.toLowerCase();
348
+ return _.filter((t) => h(t.label).toLowerCase().includes(e) || t.value.toLowerCase().includes(e));
348
349
  }, [
349
- h,
350
- i,
351
- p
352
- ]), y = (e) => {
353
- l(e === o ? "" : e), r(!1), a("");
354
- }, b = () => {
355
- r(!1), a("");
350
+ _,
351
+ a,
352
+ h
353
+ ]), b = (e) => {
354
+ u(e === s ? "" : e), r(!1), o("");
355
+ }, x = () => {
356
+ r(!1), o("");
356
357
  };
357
358
  return /* @__PURE__ */ P(H, {
358
359
  style: W.container,
359
360
  children: [
360
361
  /* @__PURE__ */ P(z, {
361
- style: [W.label, { color: m.textSecondary }],
362
- children: [d || c.data.name, c.data.required && /* @__PURE__ */ N(z, {
363
- style: { color: m.error },
362
+ style: [W.label, { color: g.textSecondary }],
363
+ children: [f || l.data.name, l.data.required && /* @__PURE__ */ N(z, {
364
+ style: { color: g.error },
364
365
  children: "*"
365
366
  })]
366
367
  }),
@@ -368,49 +369,49 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
368
369
  style: [
369
370
  W.trigger,
370
371
  {
371
- backgroundColor: m.input,
372
- borderColor: m.border
372
+ backgroundColor: g.input,
373
+ borderColor: g.border
373
374
  },
374
- u && { borderColor: m.error }
375
+ d && { borderColor: g.error }
375
376
  ],
376
377
  onPress: () => r(!0),
377
378
  activeOpacity: .7,
378
379
  children: [/* @__PURE__ */ N(z, {
379
380
  style: [
380
381
  W.triggerText,
381
- { color: m.text },
382
- !o && { color: m.textMuted }
382
+ { color: g.text },
383
+ !s && { color: g.textMuted }
383
384
  ],
384
385
  numberOfLines: 1,
385
- children: o && g ? p(g.label) : s || p("renderer.defaultAutocompleteInput.selectOption")
386
+ children: s && v ? h(v.label) : c || h("renderer.defaultAutocompleteInput.selectOption")
386
387
  }), /* @__PURE__ */ N(z, {
387
- style: [W.arrow, { color: m.textMuted }],
388
+ style: [W.arrow, { color: g.textMuted }],
388
389
  children: "▼"
389
390
  })]
390
391
  }),
391
- /* @__PURE__ */ N(ae, {
392
+ /* @__PURE__ */ N(oe, {
392
393
  visible: n,
393
394
  transparent: !0,
394
395
  animationType: "fade",
395
- onRequestClose: b,
396
+ onRequestClose: x,
396
397
  children: /* @__PURE__ */ N(V, {
397
398
  style: W.modalOverlay,
398
399
  activeOpacity: 1,
399
- onPress: b,
400
+ onPress: x,
400
401
  children: /* @__PURE__ */ P(V, {
401
- style: [W.modalContent, { backgroundColor: m.card }],
402
+ style: [W.modalContent, { backgroundColor: g.card }],
402
403
  activeOpacity: 1,
403
404
  onPress: () => {},
404
405
  children: [
405
406
  /* @__PURE__ */ P(H, {
406
- style: [W.modalHeader, { borderBottomColor: m.separator }],
407
+ style: [W.modalHeader, { borderBottomColor: g.separator }],
407
408
  children: [/* @__PURE__ */ N(z, {
408
- style: [W.modalTitle, { color: m.text }],
409
- children: d || c.data.name
409
+ style: [W.modalTitle, { color: g.text }],
410
+ children: f || l.data.name
410
411
  }), /* @__PURE__ */ N(V, {
411
- onPress: b,
412
+ onPress: x,
412
413
  children: /* @__PURE__ */ N(z, {
413
- style: [W.closeButton, { color: m.textMuted }],
414
+ style: [W.closeButton, { color: g.textMuted }],
414
415
  children: "✕"
415
416
  })
416
417
  })]
@@ -419,45 +420,45 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
419
420
  style: W.searchContainer,
420
421
  children: /* @__PURE__ */ N(B, {
421
422
  style: [W.searchInput, {
422
- backgroundColor: m.muted,
423
- borderColor: m.border,
424
- color: m.text
423
+ backgroundColor: g.muted,
424
+ borderColor: g.border,
425
+ color: g.text
425
426
  }],
426
- placeholder: s || p("renderer.defaultAutocompleteInput.search"),
427
- placeholderTextColor: m.textMuted,
428
- value: i,
429
- onChangeText: a,
427
+ placeholder: c || h("renderer.defaultAutocompleteInput.search"),
428
+ placeholderTextColor: g.textMuted,
429
+ value: a,
430
+ onChangeText: o,
430
431
  autoFocus: !0,
431
432
  autoCapitalize: "none",
432
433
  autoCorrect: !1
433
434
  })
434
435
  }),
435
- /* @__PURE__ */ N(I, {
436
- data: v,
436
+ /* @__PURE__ */ N(ae, {
437
+ data: y,
437
438
  keyExtractor: (e) => e.value,
438
439
  style: W.optionsList,
439
440
  contentContainerStyle: W.optionsListContent,
440
441
  ListEmptyComponent: /* @__PURE__ */ N(H, {
441
442
  style: W.emptyContainer,
442
443
  children: /* @__PURE__ */ N(z, {
443
- style: [W.emptyText, { color: m.textMuted }],
444
- children: p("renderer.defaultAutocompleteInput.noResults")
444
+ style: [W.emptyText, { color: g.textMuted }],
445
+ children: h("renderer.defaultAutocompleteInput.noResults")
445
446
  })
446
447
  }),
447
448
  renderItem: ({ item: e }) => {
448
- let t = e.value === o;
449
+ let t = e.value === s;
449
450
  return /* @__PURE__ */ P(V, {
450
- style: [W.option, t && { backgroundColor: m.primaryLight }],
451
- onPress: () => y(e.value),
451
+ style: [W.option, t && { backgroundColor: g.primaryLight }],
452
+ onPress: () => b(e.value),
452
453
  disabled: e.disabled,
453
454
  activeOpacity: .7,
454
- children: [/* @__PURE__ */ N(fe, {
455
- label: p(e.label) || e.value,
456
- description: p(e.description),
455
+ children: [/* @__PURE__ */ N(pe, {
456
+ label: h(e.label) || e.value,
457
+ description: h(e.description),
457
458
  image: e.image,
458
459
  disabled: e.disabled
459
460
  }), t && /* @__PURE__ */ N(z, {
460
- style: [W.checkmark, { color: m.primary }],
461
+ style: [W.checkmark, { color: g.primary }],
461
462
  children: "✓"
462
463
  })]
463
464
  });
@@ -467,13 +468,13 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
467
468
  })
468
469
  })
469
470
  }),
470
- u && /* @__PURE__ */ N(z, {
471
- style: [W.error, { color: m.error }],
472
- children: u
471
+ d && /* @__PURE__ */ N(z, {
472
+ style: [W.error, { color: g.error }],
473
+ children: d
473
474
  }),
474
- f && !u && /* @__PURE__ */ N(z, {
475
- style: [W.helperText, { color: m.textMuted }],
476
- children: f
475
+ m && !d && /* @__PURE__ */ N(z, {
476
+ style: [W.helperText, { color: g.textMuted }],
477
+ children: m
477
478
  })
478
479
  ]
479
480
  });
@@ -564,31 +565,31 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
564
565
  flex: 1,
565
566
  fontSize: 14
566
567
  }
567
- }), he = (e, t) => {
568
- let n = _(), { value: r } = e, { node: i, setValue: a, error: o, label: s, helperText: c } = t, { colors: l } = x(), u = i.data.options || [], d = u.length > 0, f = Array.isArray(r) ? r : [], p = typeof r == "boolean" ? r : !1, m = (e) => {
569
- a(d ? f.includes(e) ? f.filter((t) => t !== e) : [...f, e] : !p);
570
- }, h = (e) => d ? f.includes(e) : p;
568
+ }), ge = ({ field: e, extra: t }) => {
569
+ let n = i(), { value: r } = e, { node: a, setValue: o, error: s, label: c, helperText: l } = t, { colors: u } = p(), d = a.data.options || [], f = d.length > 0, m = Array.isArray(r) ? r : [], h = typeof r == "boolean" ? r : !1, g = (e) => {
570
+ o(f ? m.includes(e) ? m.filter((t) => t !== e) : [...m, e] : !h);
571
+ }, _ = (e) => f ? m.includes(e) : h;
571
572
  return /* @__PURE__ */ P(H, {
572
573
  style: G.container,
573
574
  children: [
574
575
  /* @__PURE__ */ P(z, {
575
- style: [G.label, { color: l.textSecondary }],
576
- children: [s || i.data.name, i.data.required && /* @__PURE__ */ N(z, {
577
- style: { color: l.error },
576
+ style: [G.label, { color: u.textSecondary }],
577
+ children: [c || a.data.name, a.data.required && /* @__PURE__ */ N(z, {
578
+ style: { color: u.error },
578
579
  children: "*"
579
580
  })]
580
581
  }),
581
- u.length > 0 ? u.map((e) => {
582
+ d.length > 0 ? d.map((e) => {
582
583
  let t = n(e.description);
583
584
  return /* @__PURE__ */ P(V, {
584
585
  style: G.option,
585
- onPress: () => m(e.value),
586
+ onPress: () => g(e.value),
586
587
  disabled: e.disabled,
587
588
  activeOpacity: .7,
588
589
  accessible: !0,
589
590
  accessibilityRole: "checkbox",
590
591
  accessibilityState: {
591
- checked: h(e.value),
592
+ checked: _(e.value),
592
593
  disabled: e.disabled
593
594
  },
594
595
  accessibilityLabel: n(e.label) || e.value,
@@ -597,20 +598,20 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
597
598
  style: [
598
599
  G.checkbox,
599
600
  {
600
- backgroundColor: l.input,
601
- borderColor: l.border
601
+ backgroundColor: u.input,
602
+ borderColor: u.border
602
603
  },
603
- h(e.value) && {
604
- backgroundColor: l.primary,
605
- borderColor: l.primary
604
+ _(e.value) && {
605
+ backgroundColor: u.primary,
606
+ borderColor: u.primary
606
607
  }
607
608
  ],
608
- children: h(e.value) && /* @__PURE__ */ N(z, {
609
+ children: _(e.value) && /* @__PURE__ */ N(z, {
609
610
  style: G.checkmark,
610
611
  children: "✓"
611
612
  })
612
613
  }),
613
- e.image ? /* @__PURE__ */ N(ie, {
614
+ e.image ? /* @__PURE__ */ N(I, {
614
615
  source: { uri: e.image },
615
616
  style: G.image
616
617
  }) : null,
@@ -619,12 +620,12 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
619
620
  children: [/* @__PURE__ */ N(z, {
620
621
  style: [
621
622
  G.optionLabel,
622
- { color: l.textSecondary },
623
- e.disabled && { color: l.textMuted }
623
+ { color: u.textSecondary },
624
+ e.disabled && { color: u.textMuted }
624
625
  ],
625
626
  children: n(e.label) || e.value
626
627
  }), t && /* @__PURE__ */ N(z, {
627
- style: [G.optionDescription, { color: l.textMuted }],
628
+ style: [G.optionDescription, { color: u.textMuted }],
628
629
  children: t
629
630
  })]
630
631
  })
@@ -632,40 +633,40 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
632
633
  }, e.value);
633
634
  }) : /* @__PURE__ */ P(V, {
634
635
  style: G.option,
635
- onPress: () => m(""),
636
+ onPress: () => g(""),
636
637
  activeOpacity: .7,
637
638
  accessible: !0,
638
639
  accessibilityRole: "checkbox",
639
- accessibilityState: { checked: p },
640
- accessibilityLabel: s || i.data.name,
640
+ accessibilityState: { checked: h },
641
+ accessibilityLabel: c || a.data.name,
641
642
  children: [/* @__PURE__ */ N(H, {
642
643
  style: [
643
644
  G.checkbox,
644
645
  {
645
- backgroundColor: l.input,
646
- borderColor: l.border
646
+ backgroundColor: u.input,
647
+ borderColor: u.border
647
648
  },
648
- p && {
649
- backgroundColor: l.primary,
650
- borderColor: l.primary
649
+ h && {
650
+ backgroundColor: u.primary,
651
+ borderColor: u.primary
651
652
  }
652
653
  ],
653
- children: p && /* @__PURE__ */ N(z, {
654
+ children: h && /* @__PURE__ */ N(z, {
654
655
  style: G.checkmark,
655
656
  children: "✓"
656
657
  })
657
658
  }), /* @__PURE__ */ N(z, {
658
- style: [G.optionLabel, { color: l.textSecondary }],
659
- children: s || i.data.name
659
+ style: [G.optionLabel, { color: u.textSecondary }],
660
+ children: c || a.data.name
660
661
  })]
661
662
  }),
662
- o && /* @__PURE__ */ N(z, {
663
- style: [G.error, { color: l.error }],
664
- children: o
663
+ s && /* @__PURE__ */ N(z, {
664
+ style: [G.error, { color: u.error }],
665
+ children: s
665
666
  }),
666
- c && !o && /* @__PURE__ */ N(z, {
667
- style: [G.helperText, { color: l.textMuted }],
668
- children: c
667
+ l && !s && /* @__PURE__ */ N(z, {
668
+ style: [G.helperText, { color: u.textMuted }],
669
+ children: l
669
670
  })
670
671
  ]
671
672
  });
@@ -715,15 +716,15 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
715
716
  },
716
717
  optionLabel: { fontSize: 14 },
717
718
  optionTextContainer: { flex: 1 }
718
- }), ge = (e, t) => {
719
- let [n, r] = j(!1), { value: i, placeholder: a } = e, { node: o, setValue: s, error: c, label: l, helperText: u } = t, { colors: d } = x(), f = _(), p = i ? new Date(i) : void 0, { year: m, month: h, today: g } = k(() => {
720
- let e = p || /* @__PURE__ */ new Date(), t = e.getFullYear(), n = e.getMonth(), r = /* @__PURE__ */ new Date();
719
+ }), _e = ({ field: e, extra: t }) => {
720
+ let [n, r] = M(!1), { value: a, placeholder: o } = e, { node: s, setValue: c, error: l, label: u, helperText: d } = t, { colors: f } = p(), m = i(), h = a ? new Date(a) : void 0, { year: g, month: _, today: v } = A(() => {
721
+ let e = h || /* @__PURE__ */ new Date(), t = e.getFullYear(), n = e.getMonth(), r = /* @__PURE__ */ new Date();
721
722
  return r.setHours(0, 0, 0, 0), {
722
723
  month: n,
723
724
  today: r,
724
725
  year: t
725
726
  };
726
- }, [p]), [v, y] = j(m), [b, S] = j(h), C = [
727
+ }, [h]), [y, b] = M(g), [x, S] = M(_), C = [
727
728
  "January",
728
729
  "February",
729
730
  "March",
@@ -736,43 +737,43 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
736
737
  "October",
737
738
  "November",
738
739
  "December"
739
- ], w = k(() => {
740
- let e = new Date(v, b, 1).getDay(), t = new Date(v, b + 1, 0).getDate(), n = new Date(v, b, 0).getDate(), r = [];
740
+ ], w = A(() => {
741
+ let e = new Date(y, x, 1).getDay(), t = new Date(y, x + 1, 0).getDate(), n = new Date(y, x, 0).getDate(), r = [];
741
742
  for (let t = e - 1; t >= 0; t--) r.push({
742
- date: new Date(v, b - 1, n - t),
743
+ date: new Date(y, x - 1, n - t),
743
744
  day: n - t,
744
745
  isCurrentMonth: !1
745
746
  });
746
747
  for (let e = 1; e <= t; e++) r.push({
747
- date: new Date(v, b, e),
748
+ date: new Date(y, x, e),
748
749
  day: e,
749
750
  isCurrentMonth: !0
750
751
  });
751
752
  let i = 42 - r.length;
752
753
  for (let e = 1; e <= i; e++) r.push({
753
- date: new Date(v, b + 1, e),
754
+ date: new Date(y, x + 1, e),
754
755
  day: e,
755
756
  isCurrentMonth: !1
756
757
  });
757
758
  return r;
758
- }, [v, b]), T = te((e) => {
759
- o.data.disablePast && e < g || (s(e.toISOString()), r(!1));
759
+ }, [y, x]), T = te((e) => {
760
+ s.data.disablePast && e < v || (c(e.toISOString()), r(!1));
760
761
  }, [
761
- o.data.disablePast,
762
- g,
763
- s
762
+ s.data.disablePast,
763
+ v,
764
+ c
764
765
  ]), E = () => {
765
- b === 0 ? (S(11), y(v - 1)) : S(b - 1);
766
+ x === 0 ? (S(11), b(y - 1)) : S(x - 1);
766
767
  }, D = () => {
767
- b === 11 ? (S(0), y(v + 1)) : S(b + 1);
768
- }, ee = () => p ? p.toLocaleDateString() : a || f("renderer.defaultInputs.selectDate"), O = (e) => o.data.disablePast ? e < g : !1, A = (e) => p ? e.getDate() === p.getDate() && e.getMonth() === p.getMonth() && e.getFullYear() === p.getFullYear() : !1;
768
+ x === 11 ? (S(0), b(y + 1)) : S(x + 1);
769
+ }, ee = () => h ? h.toLocaleDateString() : o || m("renderer.defaultInputs.selectDate"), O = (e) => s.data.disablePast ? e < v : !1, k = (e) => h ? e.getDate() === h.getDate() && e.getMonth() === h.getMonth() && e.getFullYear() === h.getFullYear() : !1;
769
770
  return /* @__PURE__ */ P(H, {
770
771
  style: K.container,
771
772
  children: [
772
773
  /* @__PURE__ */ P(z, {
773
- style: [K.label, { color: d.textSecondary }],
774
- children: [l || o.data.name, o.data.required && /* @__PURE__ */ N(z, {
775
- style: { color: d.error },
774
+ style: [K.label, { color: f.textSecondary }],
775
+ children: [u || s.data.name, s.data.required && /* @__PURE__ */ N(z, {
776
+ style: { color: f.error },
776
777
  children: "*"
777
778
  })]
778
779
  }),
@@ -780,18 +781,18 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
780
781
  style: [
781
782
  K.trigger,
782
783
  {
783
- backgroundColor: d.input,
784
- borderColor: d.border
784
+ backgroundColor: f.input,
785
+ borderColor: f.border
785
786
  },
786
- c && { borderColor: d.error }
787
+ l && { borderColor: f.error }
787
788
  ],
788
789
  onPress: () => r(!0),
789
790
  activeOpacity: .7,
790
791
  children: [/* @__PURE__ */ N(z, {
791
792
  style: [
792
793
  K.triggerText,
793
- { color: d.text },
794
- !i && { color: d.textMuted }
794
+ { color: f.text },
795
+ !a && { color: f.textMuted }
795
796
  ],
796
797
  numberOfLines: 1,
797
798
  children: ee()
@@ -800,7 +801,7 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
800
801
  children: "📅"
801
802
  })]
802
803
  }),
803
- /* @__PURE__ */ N(ae, {
804
+ /* @__PURE__ */ N(oe, {
804
805
  visible: n,
805
806
  transparent: !0,
806
807
  animationType: "fade",
@@ -810,19 +811,19 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
810
811
  activeOpacity: 1,
811
812
  onPress: () => r(!1),
812
813
  children: /* @__PURE__ */ P(V, {
813
- style: [K.modalContent, { backgroundColor: d.card }],
814
+ style: [K.modalContent, { backgroundColor: f.card }],
814
815
  activeOpacity: 1,
815
816
  onPress: () => {},
816
817
  children: [
817
818
  /* @__PURE__ */ P(H, {
818
- style: [K.modalHeader, { borderBottomColor: d.separator }],
819
+ style: [K.modalHeader, { borderBottomColor: f.separator }],
819
820
  children: [/* @__PURE__ */ N(z, {
820
- style: [K.modalTitle, { color: d.text }],
821
- children: l || o.data.name
821
+ style: [K.modalTitle, { color: f.text }],
822
+ children: u || s.data.name
822
823
  }), /* @__PURE__ */ N(V, {
823
824
  onPress: () => r(!1),
824
825
  children: /* @__PURE__ */ N(z, {
825
- style: [K.closeButton, { color: d.textMuted }],
826
+ style: [K.closeButton, { color: f.textMuted }],
826
827
  children: "✕"
827
828
  })
828
829
  })]
@@ -834,23 +835,23 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
834
835
  onPress: E,
835
836
  style: K.navButton,
836
837
  children: /* @__PURE__ */ N(z, {
837
- style: [K.navButtonText, { color: d.primary }],
838
+ style: [K.navButtonText, { color: f.primary }],
838
839
  children: "‹"
839
840
  })
840
841
  }),
841
842
  /* @__PURE__ */ P(z, {
842
- style: [K.monthYear, { color: d.text }],
843
+ style: [K.monthYear, { color: f.text }],
843
844
  children: [
844
- C[b],
845
+ C[x],
845
846
  " ",
846
- v
847
+ y
847
848
  ]
848
849
  }),
849
850
  /* @__PURE__ */ N(V, {
850
851
  onPress: D,
851
852
  style: K.navButton,
852
853
  children: /* @__PURE__ */ N(z, {
853
- style: [K.navButtonText, { color: d.primary }],
854
+ style: [K.navButtonText, { color: f.primary }],
854
855
  children: "›"
855
856
  })
856
857
  })
@@ -867,11 +868,11 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
867
868
  "Fri",
868
869
  "Sat"
869
870
  ].map((e) => /* @__PURE__ */ N(z, {
870
- style: [K.weekDay, { color: d.textMuted }],
871
+ style: [K.weekDay, { color: f.textMuted }],
871
872
  children: e
872
873
  }, e))
873
874
  }),
874
- /* @__PURE__ */ N(I, {
875
+ /* @__PURE__ */ N(ae, {
875
876
  data: w,
876
877
  keyExtractor: (e, t) => `${e.date.getTime()}-${t}`,
877
878
  numColumns: 7,
@@ -879,13 +880,13 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
879
880
  style: K.calendar,
880
881
  contentContainerStyle: K.calendarContent,
881
882
  renderItem: ({ item: e }) => {
882
- let t = O(e.date), n = A(e.date);
883
+ let t = O(e.date), n = k(e.date);
883
884
  return /* @__PURE__ */ N(V, {
884
885
  style: [
885
886
  K.dayCell,
886
887
  !e.isCurrentMonth && K.dayCellOtherMonth,
887
888
  n && {
888
- backgroundColor: d.primary,
889
+ backgroundColor: f.primary,
889
890
  borderRadius: 20
890
891
  },
891
892
  t && K.dayCellDisabled
@@ -896,13 +897,13 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
896
897
  children: /* @__PURE__ */ N(z, {
897
898
  style: [
898
899
  K.dayText,
899
- { color: d.text },
900
- !e.isCurrentMonth && { color: d.textMuted },
900
+ { color: f.text },
901
+ !e.isCurrentMonth && { color: f.textMuted },
901
902
  n && {
902
- color: d.background,
903
+ color: f.background,
903
904
  fontWeight: "600"
904
905
  },
905
- t && { color: d.textMuted }
906
+ t && { color: f.textMuted }
906
907
  ],
907
908
  children: e.day
908
909
  })
@@ -913,13 +914,13 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
913
914
  })
914
915
  })
915
916
  }),
916
- c && /* @__PURE__ */ N(z, {
917
- style: [K.error, { color: d.error }],
918
- children: c
917
+ l && /* @__PURE__ */ N(z, {
918
+ style: [K.error, { color: f.error }],
919
+ children: l
919
920
  }),
920
- u && !c && /* @__PURE__ */ N(z, {
921
- style: [K.helperText, { color: d.textMuted }],
922
- children: u
921
+ d && !l && /* @__PURE__ */ N(z, {
922
+ style: [K.helperText, { color: f.textMuted }],
923
+ children: d
923
924
  })
924
925
  ]
925
926
  });
@@ -1023,15 +1024,15 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
1023
1024
  flexDirection: "row",
1024
1025
  marginBottom: 8
1025
1026
  }
1026
- }), _e = (e, t) => {
1027
- let [n, r] = j(!1), [i, a] = j(!0), { value: o } = e, { node: s, setValue: c, error: l, label: u, helperText: d } = t, f = _(), { colors: p } = x(), m = Array.isArray(o) ? o : [], h = m[0] ? new Date(m[0]) : void 0, g = m[1] ? new Date(m[1]) : void 0, { year: v, month: y, today: b } = k(() => {
1028
- let e = h || /* @__PURE__ */ new Date(), t = e.getFullYear(), n = e.getMonth(), r = /* @__PURE__ */ new Date();
1027
+ }), ve = ({ field: e, extra: t }) => {
1028
+ let [n, r] = M(!1), [a, o] = M(!0), { value: s } = e, { node: c, setValue: l, error: u, label: d, helperText: f } = t, m = i(), { colors: h } = p(), g = Array.isArray(s) ? s : [], _ = g[0] ? new Date(g[0]) : void 0, v = g[1] ? new Date(g[1]) : void 0, { year: y, month: b, today: x } = A(() => {
1029
+ let e = _ || /* @__PURE__ */ new Date(), t = e.getFullYear(), n = e.getMonth(), r = /* @__PURE__ */ new Date();
1029
1030
  return r.setHours(0, 0, 0, 0), {
1030
1031
  month: n,
1031
1032
  today: r,
1032
1033
  year: t
1033
1034
  };
1034
- }, [h]), [S, C] = j(v), [w, T] = j(y), E = [
1035
+ }, [_]), [S, C] = M(y), [w, T] = M(b), E = [
1035
1036
  "January",
1036
1037
  "February",
1037
1038
  "March",
@@ -1044,7 +1045,7 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
1044
1045
  "October",
1045
1046
  "November",
1046
1047
  "December"
1047
- ], D = k(() => {
1048
+ ], D = A(() => {
1048
1049
  let e = new Date(S, w, 1).getDay(), t = new Date(S, w + 1, 0).getDate(), n = new Date(S, w, 0).getDate(), r = [];
1049
1050
  for (let t = e - 1; t >= 0; t--) r.push({
1050
1051
  date: new Date(S, w - 1, n - t),
@@ -1064,30 +1065,30 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
1064
1065
  });
1065
1066
  return r;
1066
1067
  }, [S, w]), ee = te((e) => {
1067
- s.data.disablePast && e < b || (i ? (c([e.toISOString(), g?.toISOString()]), a(!1)) : (c(h && e < h ? [e.toISOString(), h.toISOString()] : [h?.toISOString(), e.toISOString()]), r(!1), a(!0)));
1068
+ c.data.disablePast && e < x || (a ? (l([e.toISOString(), v?.toISOString()]), o(!1)) : (l(_ && e < _ ? [e.toISOString(), _.toISOString()] : [_?.toISOString(), e.toISOString()]), r(!1), o(!0)));
1068
1069
  }, [
1069
- s.data.disablePast,
1070
- b,
1071
- i,
1072
- h,
1073
- g,
1074
- c
1070
+ c.data.disablePast,
1071
+ x,
1072
+ a,
1073
+ _,
1074
+ v,
1075
+ l
1075
1076
  ]), O = () => {
1076
1077
  w === 0 ? (T(11), C(S - 1)) : T(w - 1);
1077
- }, A = () => {
1078
+ }, k = () => {
1078
1079
  w === 11 ? (T(0), C(S + 1)) : T(w + 1);
1079
- }, M = () => h && g ? `${h.toLocaleDateString()} - ${g.toLocaleDateString()}` : h ? h.toLocaleDateString() : f("renderer.defaultInputs.selectDateRange"), ne = (e) => s.data.disablePast ? e < b : !1, re = (e) => h && g ? e >= h && e <= g : !1, F = (e) => {
1080
- if (!(h || g)) return !1;
1081
- let t = h && e.getDate() === h.getDate() && e.getMonth() === h.getMonth() && e.getFullYear() === h.getFullYear(), n = g && e.getDate() === g.getDate() && e.getMonth() === g.getMonth() && e.getFullYear() === g.getFullYear();
1080
+ }, j = () => _ && v ? `${_.toLocaleDateString()} - ${v.toLocaleDateString()}` : _ ? _.toLocaleDateString() : m("renderer.defaultInputs.selectDateRange"), ne = (e) => c.data.disablePast ? e < x : !1, re = (e) => _ && v ? e >= _ && e <= v : !1, ie = (e) => {
1081
+ if (!(_ || v)) return !1;
1082
+ let t = _ && e.getDate() === _.getDate() && e.getMonth() === _.getMonth() && e.getFullYear() === _.getFullYear(), n = v && e.getDate() === v.getDate() && e.getMonth() === v.getMonth() && e.getFullYear() === v.getFullYear();
1082
1083
  return t || n;
1083
1084
  };
1084
1085
  return /* @__PURE__ */ P(H, {
1085
1086
  style: q.container,
1086
1087
  children: [
1087
1088
  /* @__PURE__ */ P(z, {
1088
- style: [q.label, { color: p.textSecondary }],
1089
- children: [u || s.data.name, s.data.required && /* @__PURE__ */ N(z, {
1090
- style: { color: p.error },
1089
+ style: [q.label, { color: h.textSecondary }],
1090
+ children: [d || c.data.name, c.data.required && /* @__PURE__ */ N(z, {
1091
+ style: { color: h.error },
1091
1092
  children: "*"
1092
1093
  })]
1093
1094
  }),
@@ -1095,27 +1096,27 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
1095
1096
  style: [
1096
1097
  q.trigger,
1097
1098
  {
1098
- backgroundColor: p.input,
1099
- borderColor: p.border
1099
+ backgroundColor: h.input,
1100
+ borderColor: h.border
1100
1101
  },
1101
- l && { borderColor: p.error }
1102
+ u && { borderColor: h.error }
1102
1103
  ],
1103
1104
  onPress: () => r(!0),
1104
1105
  activeOpacity: .7,
1105
1106
  children: [/* @__PURE__ */ N(z, {
1106
1107
  style: [
1107
1108
  q.triggerText,
1108
- { color: p.text },
1109
- !h && { color: p.textMuted }
1109
+ { color: h.text },
1110
+ !_ && { color: h.textMuted }
1110
1111
  ],
1111
1112
  numberOfLines: 1,
1112
- children: M()
1113
+ children: j()
1113
1114
  }), /* @__PURE__ */ N(z, {
1114
1115
  style: q.icon,
1115
1116
  children: "📅"
1116
1117
  })]
1117
1118
  }),
1118
- /* @__PURE__ */ N(ae, {
1119
+ /* @__PURE__ */ N(oe, {
1119
1120
  visible: n,
1120
1121
  transparent: !0,
1121
1122
  animationType: "fade",
@@ -1125,28 +1126,28 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
1125
1126
  activeOpacity: 1,
1126
1127
  onPress: () => r(!1),
1127
1128
  children: /* @__PURE__ */ P(V, {
1128
- style: [q.modalContent, { backgroundColor: p.card }],
1129
+ style: [q.modalContent, { backgroundColor: h.card }],
1129
1130
  activeOpacity: 1,
1130
1131
  onPress: () => {},
1131
1132
  children: [
1132
1133
  /* @__PURE__ */ P(H, {
1133
- style: [q.modalHeader, { borderBottomColor: p.separator }],
1134
+ style: [q.modalHeader, { borderBottomColor: h.separator }],
1134
1135
  children: [/* @__PURE__ */ N(z, {
1135
- style: [q.modalTitle, { color: p.text }],
1136
- children: u || s.data.name
1136
+ style: [q.modalTitle, { color: h.text }],
1137
+ children: d || c.data.name
1137
1138
  }), /* @__PURE__ */ N(V, {
1138
1139
  onPress: () => r(!1),
1139
1140
  children: /* @__PURE__ */ N(z, {
1140
- style: [q.closeButton, { color: p.textMuted }],
1141
+ style: [q.closeButton, { color: h.textMuted }],
1141
1142
  children: "✕"
1142
1143
  })
1143
1144
  })]
1144
1145
  }),
1145
1146
  /* @__PURE__ */ N(H, {
1146
- style: [q.rangeIndicator, { backgroundColor: p.primaryLight }],
1147
+ style: [q.rangeIndicator, { backgroundColor: h.primaryLight }],
1147
1148
  children: /* @__PURE__ */ N(z, {
1148
- style: [q.rangeIndicatorText, { color: p.primary }],
1149
- children: f(i ? "renderer.defaultInputs.startDate" : "renderer.defaultInputs.endDate")
1149
+ style: [q.rangeIndicatorText, { color: h.primary }],
1150
+ children: m(a ? "renderer.defaultInputs.startDate" : "renderer.defaultInputs.endDate")
1150
1151
  })
1151
1152
  }),
1152
1153
  /* @__PURE__ */ P(H, {
@@ -1156,12 +1157,12 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
1156
1157
  onPress: O,
1157
1158
  style: q.navButton,
1158
1159
  children: /* @__PURE__ */ N(z, {
1159
- style: [q.navButtonText, { color: p.primary }],
1160
+ style: [q.navButtonText, { color: h.primary }],
1160
1161
  children: "‹"
1161
1162
  })
1162
1163
  }),
1163
1164
  /* @__PURE__ */ P(z, {
1164
- style: [q.monthYear, { color: p.text }],
1165
+ style: [q.monthYear, { color: h.text }],
1165
1166
  children: [
1166
1167
  E[w],
1167
1168
  " ",
@@ -1169,10 +1170,10 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
1169
1170
  ]
1170
1171
  }),
1171
1172
  /* @__PURE__ */ N(V, {
1172
- onPress: A,
1173
+ onPress: k,
1173
1174
  style: q.navButton,
1174
1175
  children: /* @__PURE__ */ N(z, {
1175
- style: [q.navButtonText, { color: p.primary }],
1176
+ style: [q.navButtonText, { color: h.primary }],
1176
1177
  children: "›"
1177
1178
  })
1178
1179
  })
@@ -1189,11 +1190,11 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
1189
1190
  "Fri",
1190
1191
  "Sat"
1191
1192
  ].map((e) => /* @__PURE__ */ N(z, {
1192
- style: [q.weekDay, { color: p.textMuted }],
1193
+ style: [q.weekDay, { color: h.textMuted }],
1193
1194
  children: e
1194
1195
  }, e))
1195
1196
  }),
1196
- /* @__PURE__ */ N(I, {
1197
+ /* @__PURE__ */ N(ae, {
1197
1198
  data: D,
1198
1199
  keyExtractor: (e, t) => `${e.date.getTime()}-${t}`,
1199
1200
  numColumns: 7,
@@ -1201,14 +1202,14 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
1201
1202
  style: q.calendar,
1202
1203
  contentContainerStyle: q.calendarContent,
1203
1204
  renderItem: ({ item: e }) => {
1204
- let t = ne(e.date), n = re(e.date), r = F(e.date);
1205
+ let t = ne(e.date), n = re(e.date), r = ie(e.date);
1205
1206
  return /* @__PURE__ */ N(V, {
1206
1207
  style: [
1207
1208
  q.dayCell,
1208
1209
  !e.isCurrentMonth && q.dayCellOtherMonth,
1209
- n && { backgroundColor: p.primaryLight },
1210
+ n && { backgroundColor: h.primaryLight },
1210
1211
  r && {
1211
- backgroundColor: p.primary,
1212
+ backgroundColor: h.primary,
1212
1213
  borderRadius: 20
1213
1214
  },
1214
1215
  t && q.dayCellDisabled
@@ -1219,14 +1220,14 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
1219
1220
  children: /* @__PURE__ */ N(z, {
1220
1221
  style: [
1221
1222
  q.dayText,
1222
- { color: p.text },
1223
- !e.isCurrentMonth && { color: p.textMuted },
1224
- n && { color: p.primary },
1223
+ { color: h.text },
1224
+ !e.isCurrentMonth && { color: h.textMuted },
1225
+ n && { color: h.primary },
1225
1226
  r && {
1226
- color: p.background,
1227
+ color: h.background,
1227
1228
  fontWeight: "600"
1228
1229
  },
1229
- t && { color: p.textMuted }
1230
+ t && { color: h.textMuted }
1230
1231
  ],
1231
1232
  children: e.day
1232
1233
  })
@@ -1237,13 +1238,13 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
1237
1238
  })
1238
1239
  })
1239
1240
  }),
1240
- l && /* @__PURE__ */ N(z, {
1241
- style: [q.error, { color: p.error }],
1242
- children: l
1241
+ u && /* @__PURE__ */ N(z, {
1242
+ style: [q.error, { color: h.error }],
1243
+ children: u
1243
1244
  }),
1244
- d && !l && /* @__PURE__ */ N(z, {
1245
- style: [q.helperText, { color: p.textMuted }],
1246
- children: d
1245
+ f && !u && /* @__PURE__ */ N(z, {
1246
+ style: [q.helperText, { color: h.textMuted }],
1247
+ children: f
1247
1248
  })
1248
1249
  ]
1249
1250
  });
@@ -1357,31 +1358,31 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
1357
1358
  flexDirection: "row",
1358
1359
  marginBottom: 8
1359
1360
  }
1360
- }), ve = (e, t) => {
1361
- let [n, r] = j(null), [i, a] = j(!0), { value: o } = e, { node: s, setValue: c, error: l, label: u, helperText: d } = t, { colors: f } = x(), p = _(), m = Array.isArray(o) ? o : o ? [o] : [], h = s.data.multiple, g = te(async () => {
1361
+ }), ye = ({ field: e, extra: t }) => {
1362
+ let [n, r] = M(null), [a, o] = M(!0), { value: s } = e, { node: c, setValue: l, error: u, label: d, helperText: f } = t, { colors: m } = p(), h = i(), g = Array.isArray(s) ? s : s ? [s] : [], _ = c.data.multiple, v = te(async () => {
1362
1363
  if (n) try {
1363
- let e = (await n({ allowMultiSelection: h })).map((e) => ({
1364
+ let e = (await n({ allowMultiSelection: _ })).map((e) => ({
1364
1365
  data: e.uri,
1365
1366
  lastModified: Date.now(),
1366
1367
  name: e.name,
1367
1368
  size: e.size,
1368
1369
  type: e.type || "application/octet-stream"
1369
1370
  }));
1370
- c(h ? [...m, ...e] : e[0] || null);
1371
+ l(_ ? [...g, ...e] : e[0] || null);
1371
1372
  } catch (e) {
1372
- e.code !== "DOCUMENT_PICKER_CANCELED" && re.alert("Error", p("renderer.defaultInputs.filePickerError"));
1373
+ e.code !== "DOCUMENT_PICKER_CANCELED" && ie.alert("Error", h("renderer.defaultInputs.filePickerError"));
1373
1374
  }
1374
1375
  }, [
1375
1376
  n,
1376
- m,
1377
- h,
1378
- c,
1379
- p
1380
- ]), v = te((e) => {
1381
- let t = m.filter((t, n) => n !== e);
1382
- c(t.length > 0 ? t : null);
1383
- }, [m, c]), y = (e) => e < 1024 ? `${e} B` : e < 1024 * 1024 ? `${(e / 1024).toFixed(1)} KB` : `${(e / (1024 * 1024)).toFixed(1)} MB`;
1384
- return O(() => {
1377
+ g,
1378
+ _,
1379
+ l,
1380
+ h
1381
+ ]), y = te((e) => {
1382
+ let t = g.filter((t, n) => n !== e);
1383
+ l(t.length > 0 ? t : null);
1384
+ }, [g, l]), b = (e) => e < 1024 ? `${e} B` : e < 1024 * 1024 ? `${(e / 1024).toFixed(1)} KB` : `${(e / (1024 * 1024)).toFixed(1)} MB`;
1385
+ return k(() => {
1385
1386
  (async () => {
1386
1387
  try {
1387
1388
  let { pick: e } = await import("react-native-document-picker");
@@ -1389,29 +1390,29 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
1389
1390
  } catch {
1390
1391
  r(null);
1391
1392
  } finally {
1392
- a(!1);
1393
+ o(!1);
1393
1394
  }
1394
1395
  })();
1395
- }, []), i ? null : n ? /* @__PURE__ */ P(H, {
1396
+ }, []), a ? null : n ? /* @__PURE__ */ P(H, {
1396
1397
  style: J.container,
1397
1398
  children: [
1398
1399
  /* @__PURE__ */ P(z, {
1399
- style: [J.label, { color: f.textSecondary }],
1400
- children: [u || s.data.name, s.data.required && /* @__PURE__ */ N(z, {
1401
- style: { color: f.error },
1400
+ style: [J.label, { color: m.textSecondary }],
1401
+ children: [d || c.data.name, c.data.required && /* @__PURE__ */ N(z, {
1402
+ style: { color: m.error },
1402
1403
  children: "*"
1403
1404
  })]
1404
1405
  }),
1405
- m.length > 0 && /* @__PURE__ */ N(H, {
1406
+ g.length > 0 && /* @__PURE__ */ N(H, {
1406
1407
  style: J.filesList,
1407
- children: m.map((e, t) => /* @__PURE__ */ P(H, {
1408
+ children: g.map((e, t) => /* @__PURE__ */ P(H, {
1408
1409
  style: [J.fileItem, {
1409
- backgroundColor: f.card,
1410
- borderColor: f.separator
1410
+ backgroundColor: m.card,
1411
+ borderColor: m.separator
1411
1412
  }],
1412
1413
  children: [
1413
1414
  /* @__PURE__ */ N(H, {
1414
- style: [J.fileIcon, { backgroundColor: f.muted }],
1415
+ style: [J.fileIcon, { backgroundColor: m.muted }],
1415
1416
  children: /* @__PURE__ */ N(z, {
1416
1417
  style: J.fileIconText,
1417
1418
  children: "📄"
@@ -1420,20 +1421,20 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
1420
1421
  /* @__PURE__ */ P(H, {
1421
1422
  style: J.fileInfo,
1422
1423
  children: [/* @__PURE__ */ N(z, {
1423
- style: [J.fileName, { color: f.text }],
1424
+ style: [J.fileName, { color: m.text }],
1424
1425
  numberOfLines: 1,
1425
1426
  children: e.name
1426
1427
  }), e.size > 0 && /* @__PURE__ */ N(z, {
1427
- style: [J.fileSize, { color: f.textMuted }],
1428
- children: y(e.size)
1428
+ style: [J.fileSize, { color: m.textMuted }],
1429
+ children: b(e.size)
1429
1430
  })]
1430
1431
  }),
1431
1432
  /* @__PURE__ */ N(V, {
1432
1433
  style: J.removeButton,
1433
- onPress: () => v(t),
1434
+ onPress: () => y(t),
1434
1435
  activeOpacity: .7,
1435
1436
  children: /* @__PURE__ */ N(z, {
1436
- style: [J.removeButtonText, { color: f.textMuted }],
1437
+ style: [J.removeButtonText, { color: m.textMuted }],
1437
1438
  children: "✕"
1438
1439
  })
1439
1440
  })
@@ -1442,48 +1443,48 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
1442
1443
  }),
1443
1444
  /* @__PURE__ */ N(V, {
1444
1445
  style: [J.pickButton, {
1445
- backgroundColor: f.input,
1446
- borderColor: f.border
1446
+ backgroundColor: m.input,
1447
+ borderColor: m.border
1447
1448
  }],
1448
- onPress: g,
1449
+ onPress: v,
1449
1450
  activeOpacity: .7,
1450
1451
  children: /* @__PURE__ */ N(z, {
1451
- style: [J.pickButtonText, { color: f.textMuted }],
1452
- children: m.length === 0 ? p(h ? "renderer.defaultInputs.selectFiles" : "renderer.defaultInputs.selectFile") : p(h ? "renderer.defaultInputs.addMoreFiles" : "renderer.defaultInputs.replaceFile")
1452
+ style: [J.pickButtonText, { color: m.textMuted }],
1453
+ children: g.length === 0 ? h(_ ? "renderer.defaultInputs.selectFiles" : "renderer.defaultInputs.selectFile") : h(_ ? "renderer.defaultInputs.addMoreFiles" : "renderer.defaultInputs.replaceFile")
1453
1454
  })
1454
1455
  }),
1455
- l && /* @__PURE__ */ N(z, {
1456
- style: [J.error, { color: f.error }],
1457
- children: l
1456
+ u && /* @__PURE__ */ N(z, {
1457
+ style: [J.error, { color: m.error }],
1458
+ children: u
1458
1459
  }),
1459
- d && !l && /* @__PURE__ */ N(z, {
1460
- style: [J.helperText, { color: f.textMuted }],
1461
- children: d
1460
+ f && !u && /* @__PURE__ */ N(z, {
1461
+ style: [J.helperText, { color: m.textMuted }],
1462
+ children: f
1462
1463
  })
1463
1464
  ]
1464
1465
  }) : /* @__PURE__ */ P(H, {
1465
1466
  style: J.container,
1466
1467
  children: [
1467
1468
  /* @__PURE__ */ P(z, {
1468
- style: [J.label, { color: f.textSecondary }],
1469
- children: [u || s.data.name, s.data.required && /* @__PURE__ */ N(z, {
1470
- style: { color: f.error },
1469
+ style: [J.label, { color: m.textSecondary }],
1470
+ children: [d || c.data.name, c.data.required && /* @__PURE__ */ N(z, {
1471
+ style: { color: m.error },
1471
1472
  children: "*"
1472
1473
  })]
1473
1474
  }),
1474
1475
  /* @__PURE__ */ N(H, {
1475
1476
  style: [J.unavailableContainer, {
1476
- backgroundColor: f.errorLight,
1477
- borderColor: f.error
1477
+ backgroundColor: m.errorLight,
1478
+ borderColor: m.error
1478
1479
  }],
1479
1480
  children: /* @__PURE__ */ N(z, {
1480
- style: [J.unavailableText, { color: f.error }],
1481
- children: p("renderer.defaultInputs.filePickerUnavailable")
1481
+ style: [J.unavailableText, { color: m.error }],
1482
+ children: h("renderer.defaultInputs.filePickerUnavailable")
1482
1483
  })
1483
1484
  }),
1484
- d && /* @__PURE__ */ N(z, {
1485
- style: [J.helperText, { color: f.textMuted }],
1486
- children: d
1485
+ f && /* @__PURE__ */ N(z, {
1486
+ style: [J.helperText, { color: m.textMuted }],
1487
+ children: f
1487
1488
  })
1488
1489
  ]
1489
1490
  });
@@ -1556,15 +1557,15 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
1556
1557
  fontSize: 12,
1557
1558
  textAlign: "center"
1558
1559
  }
1559
- }), ye = (e, t) => null, be = ({ missing: e, children: t }) => {
1560
- let n = _(), { colors: r } = x();
1561
- return /* @__PURE__ */ P(M, { children: [t, e.length > 0 && /* @__PURE__ */ P(H, {
1562
- style: xe.container,
1560
+ }), be = (e) => null, xe = ({ missing: e, children: t }) => {
1561
+ let n = i(), { colors: r } = p();
1562
+ return /* @__PURE__ */ P(ne, { children: [t, e.length > 0 && /* @__PURE__ */ P(H, {
1563
+ style: Se.container,
1563
1564
  children: [/* @__PURE__ */ N(z, {
1564
- style: [xe.title, { color: r.textMuted }],
1565
+ style: [Se.title, { color: r.textMuted }],
1565
1566
  children: n("renderer.dependencyHint.title")
1566
1567
  }), e.map((e) => /* @__PURE__ */ P(z, {
1567
- style: [xe.item, { color: r.textMuted }],
1568
+ style: [Se.item, { color: r.textMuted }],
1568
1569
  children: [
1569
1570
  "•",
1570
1571
  " ",
@@ -1572,7 +1573,7 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
1572
1573
  ]
1573
1574
  }, e.id))]
1574
1575
  })] });
1575
- }, xe = R.create({
1576
+ }, Se = R.create({
1576
1577
  container: {
1577
1578
  gap: 2,
1578
1579
  marginTop: 4
@@ -1582,214 +1583,214 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
1582
1583
  fontSize: 12,
1583
1584
  fontWeight: "500"
1584
1585
  }
1585
- }), Se = (e) => e.replace(/<[^>]*>/g, ""), Ce = (e) => e.replace(/&amp;/g, "&").replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&quot;/g, "\"").replace(/&#x27;/g, "'").replace(/&#x2F;/g, "/"), we = (e, t = {}) => e == null || e === "" ? "" : Ce(Se(String(e))), Te = 100, Ee = (e, t = {}, n = 0, r = /* @__PURE__ */ new WeakSet()) => {
1586
- if (n > Te) return console.warn(`sanitizeHttpResponse: Maximum depth (${Te}) exceeded.`), typeof e == "string" ? we(e, t) : "[Max Depth Exceeded]";
1586
+ }), Ce = (e) => e.replace(/<[^>]*>/g, ""), we = (e) => e.replace(/&amp;/g, "&").replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&quot;/g, "\"").replace(/&#x27;/g, "'").replace(/&#x2F;/g, "/"), Te = (e, t = {}) => e == null || e === "" ? "" : we(Ce(String(e))), Ee = 100, De = (e, t = {}, n = 0, r = /* @__PURE__ */ new WeakSet()) => {
1587
+ if (n > Ee) return console.warn(`sanitizeHttpResponse: Maximum depth (${Ee}) exceeded.`), typeof e == "string" ? Te(e, t) : "[Max Depth Exceeded]";
1587
1588
  if (e == null) return e;
1588
- if (typeof e == "string") return we(e, t);
1589
- if (Array.isArray(e)) return e.map((e) => Ee(e, t, n + 1, r));
1589
+ if (typeof e == "string") return Te(e, t);
1590
+ if (Array.isArray(e)) return e.map((e) => De(e, t, n + 1, r));
1590
1591
  if (typeof e == "object") {
1591
1592
  if (r.has(e)) return console.warn("sanitizeHttpResponse: Circular reference detected. Breaking cycle to prevent infinite recursion."), "[Circular Reference]";
1592
1593
  r.add(e);
1593
1594
  let i = {};
1594
- for (let [a, o] of Object.entries(e)) i[a] = Ee(o, t, n + 1, r);
1595
+ for (let [a, o] of Object.entries(e)) i[a] = De(o, t, n + 1, r);
1595
1596
  return r.delete(e), i;
1596
1597
  }
1597
1598
  return e;
1598
- }, De = (e) => {
1599
+ }, Oe = (e) => {
1599
1600
  let t = e.matchAll(/{{([\w-]+)}}/g);
1600
1601
  return Array.from(t, (e) => e[1]);
1601
- }, Oe = (e, t) => De(e).every((e) => {
1602
+ }, ke = (e, t) => Oe(e).every((e) => {
1602
1603
  let n = t[e];
1603
1604
  return n != null && n !== "";
1604
- }), ke = (e, t, n = !1) => e.replace(/{{([\w-]+)}}/g, (e, r) => {
1605
+ }), Ae = (e, t, n = !1) => e.replace(/{{([\w-]+)}}/g, (e, r) => {
1605
1606
  let i = t[r], a = i == null ? "" : String(i);
1606
1607
  return n ? encodeURIComponent(a) : a;
1607
- }), Ae = (r, a) => {
1608
- let [s, c] = j(!1), [l, u] = j(null), [d, f] = j([]), [p, h] = j(""), [g, y] = j(!1), { value: b, placeholder: S } = r, { node: C, setValue: w, error: T, label: E, helperText: D, missingDependencies: ee } = a, { formValues: M, inputNodes: re, headers: F, baseUrl: ie } = i(), { colors: L } = x(), { httpConfig: R } = C.data, oe = _(), se = A(!1), ce = A(!1), le = A(""), ue = A(R), de = A(M), U = A(re), pe = A(F), me = A(ie), W = A(w), he = A(null), G = A(null), ge = k(() => R?.url ? De(R.url) : [], [R?.url]), K = ge.length > 0, _e = k(() => ge.map((e) => `${e}:${String(M[e] ?? "")}`).join("|"), [ge, M]), q = k(() => R?.url ? K ? Oe(R.url, M) : !0 : !1, [
1609
- R?.url,
1610
- K,
1611
- M
1612
- ]), ve = te(async (r) => {
1613
- G.current && G.current.abort();
1614
- let i = new AbortController();
1615
- G.current = i;
1616
- let a = ue.current, s = de.current, l = W.current;
1617
- if (!a?.url) {
1618
- u(oe("renderer.defaultHttpInput.noUrlConfigured")), G.current = null;
1608
+ }), je = ({ field: t, extra: n }) => {
1609
+ let [r, a] = M(!1), [s, l] = M(null), [u, f] = M([]), [m, h] = M(""), [g, v] = M(!1), { value: x, placeholder: S } = t, { node: C, setValue: w, error: T, label: E, helperText: D, missingDependencies: ee } = n, { formValues: O, inputNodes: ne, headers: ie, baseUrl: F } = d(), { colors: I } = p(), { httpConfig: L } = C.data, R = i(), se = j(!1), ce = j(!1), le = j(""), ue = j(L), de = j(O), fe = j(ne), U = j(ie), me = j(F), he = j(w), W = j(null), ge = j(null), G = A(() => L?.url ? Oe(L.url) : [], [L?.url]), _e = G.length > 0, K = A(() => G.map((e) => `${e}:${String(O[e] ?? "")}`).join("|"), [G, O]), ve = A(() => L?.url ? _e ? ke(L.url, O) : !0 : !1, [
1610
+ L?.url,
1611
+ _e,
1612
+ O
1613
+ ]), q = te(async (t) => {
1614
+ ge.current && ge.current.abort();
1615
+ let n = new AbortController();
1616
+ ge.current = n;
1617
+ let r = ue.current, i = de.current, s = he.current;
1618
+ if (!r?.url) {
1619
+ l(R("renderer.defaultHttpInput.noUrlConfigured")), ge.current = null;
1619
1620
  return;
1620
1621
  }
1621
- if (a.url && !Oe(a.url, s)) {
1622
- G.current = null;
1622
+ if (r.url && !ke(r.url, i)) {
1623
+ ge.current = null;
1623
1624
  return;
1624
1625
  }
1625
- c(!0), u(null);
1626
+ a(!0), l(null);
1626
1627
  try {
1627
- let d = e(ke(a.url, s, !0), me.current), p = t(a.searchParam && r ? `${d}${d.includes("?") ? "&" : "?"}${a.searchParam}=${encodeURIComponent(r)}` : d, v(a.queryParams, s)), h = n({ "Content-Type": "application/json" }, v(pe.current, s), v(a.headers, s)), g = [
1628
+ let u = b(Ae(r.url, i, !0), me.current), d = c(r.searchParam && t ? `${u}${u.includes("?") ? "&" : "?"}${r.searchParam}=${encodeURIComponent(t)}` : u, e(r.queryParams, i)), p = o({ "Content-Type": "application/json" }, e(U.current, i), e(r.headers, i)), m = [
1628
1629
  "POST",
1629
1630
  "PUT",
1630
1631
  "PATCH"
1631
- ].includes(a.method || "") ? a.sendAllFormValues ? JSON.stringify(m(s, U.current)) : a.body ? ke(a.body, s) : void 0 : void 0, _ = setTimeout(() => i.abort(), 3e4), y = await fetch(p, {
1632
- body: g || void 0,
1633
- headers: Object.fromEntries(Object.entries(h).filter(([, e]) => e)),
1634
- method: a.method || "GET",
1635
- signal: i.signal
1632
+ ].includes(r.method || "") ? r.sendAllFormValues ? JSON.stringify(_(i, fe.current)) : r.body ? Ae(r.body, i) : void 0 : void 0, h = setTimeout(() => n.abort(), 3e4), g = await fetch(d, {
1633
+ body: m || void 0,
1634
+ headers: Object.fromEntries(Object.entries(p).filter(([, e]) => e)),
1635
+ method: r.method || "GET",
1636
+ signal: n.signal
1636
1637
  });
1637
- if (clearTimeout(_), !y.ok) {
1638
- u(`HTTP Error ${y.status}: ${y.statusText}`), c(!1);
1638
+ if (clearTimeout(h), !g.ok) {
1639
+ l(`HTTP Error ${g.status}: ${g.statusText}`), a(!1);
1639
1640
  return;
1640
1641
  }
1641
- let b = Ee(await y.json()), x = a.responsePath ? o(b, a.responsePath) : b;
1642
- if (a.responseMapping && Array.isArray(x)) {
1643
- let { valueField: e = "value", labelField: t = "label", descriptionField: n, imageField: r } = a.responseMapping;
1644
- f(x.map((i) => {
1645
- let a = n ? o(i, n) : void 0, s = r ? o(i, r) : void 0;
1642
+ let v = De(await g.json()), x = r.responsePath ? y(v, r.responsePath) : v;
1643
+ if (r.responseMapping && Array.isArray(x)) {
1644
+ let { valueField: e = "value", labelField: t = "label", descriptionField: n, imageField: i } = r.responseMapping;
1645
+ f(x.map((r) => {
1646
+ let a = n ? y(r, n) : void 0, o = i ? y(r, i) : void 0;
1646
1647
  return {
1647
1648
  description: a != null && a !== "" ? String(a) : void 0,
1648
- image: typeof s == "string" && s !== "" ? s : void 0,
1649
- label: String(o(i, t) || ""),
1650
- value: String(o(i, e) || "")
1649
+ image: typeof o == "string" && o !== "" ? o : void 0,
1650
+ label: String(y(r, t) || ""),
1651
+ value: String(y(r, e) || "")
1651
1652
  };
1652
1653
  }));
1653
- } else l(typeof x == "string" ? x : JSON.stringify(x));
1654
+ } else s(typeof x == "string" ? x : JSON.stringify(x));
1654
1655
  } catch (e) {
1655
1656
  if (e instanceof Error && e.name === "AbortError") return;
1656
- u(e instanceof Error ? e.message : oe("renderer.defaultHttpInput.fetchFailed")), console.error("HTTP Input fetch error:", e);
1657
+ l(e instanceof Error ? e.message : R("renderer.defaultHttpInput.fetchFailed")), console.error("HTTP Input fetch error:", e);
1657
1658
  } finally {
1658
- c(!1), G.current = null;
1659
+ a(!1), ge.current = null;
1659
1660
  }
1660
- }, [oe]);
1661
- if (O(() => {
1662
- ue.current = R, de.current = M, U.current = re, pe.current = F, me.current = ie, W.current = w, he.current = ve;
1661
+ }, [R]);
1662
+ if (k(() => {
1663
+ ue.current = L, de.current = O, fe.current = ne, U.current = ie, me.current = F, he.current = w, W.current = q;
1663
1664
  }, [
1664
- R,
1665
- M,
1666
- re,
1667
- F,
1665
+ L,
1666
+ O,
1667
+ ne,
1668
1668
  ie,
1669
+ F,
1669
1670
  w,
1670
- ve
1671
- ]), O(() => () => {
1672
- G.current && G.current.abort(), se.current = !1, ce.current = !1;
1673
- }, []), O(() => {
1671
+ q
1672
+ ]), k(() => () => {
1673
+ ge.current && ge.current.abort(), se.current = !1, ce.current = !1;
1674
+ }, []), k(() => {
1674
1675
  if (se.current) return;
1675
1676
  se.current = !0;
1676
- let e = ue.current, t = de.current, n = he.current, r = e?.url && Oe(e.url, t);
1677
- e?.fetchOnMount && r && n && (n(), e.url && (le.current = De(e.url).map((e) => `${e}:${String(t[e] ?? "")}`).join("|")));
1678
- }, []), O(() => {
1679
- if (!se.current || !K || le.current === _e || !q) return;
1677
+ let e = ue.current, t = de.current, n = W.current, r = e?.url && ke(e.url, t);
1678
+ e?.fetchOnMount && r && n && (n(), e.url && (le.current = Oe(e.url).map((e) => `${e}:${String(t[e] ?? "")}`).join("|")));
1679
+ }, []), k(() => {
1680
+ if (!se.current || !_e || le.current === K || !ve) return;
1680
1681
  let e = setTimeout(() => {
1681
- ve(), le.current = _e;
1682
+ q(), le.current = K;
1682
1683
  }, 500);
1683
1684
  return () => clearTimeout(e);
1684
1685
  }, [
1685
- _e,
1686
1686
  K,
1687
- q,
1688
- ve
1689
- ]), O(() => {
1687
+ _e,
1688
+ ve,
1689
+ q
1690
+ ]), k(() => {
1690
1691
  if (!ce.current) {
1691
1692
  ce.current = !0;
1692
1693
  return;
1693
1694
  }
1694
- let e = ue.current, t = de.current, n = he.current, r = e?.url && Oe(e.url, t);
1695
- e?.fetchOnMount && r && n && (n(), e.url && (le.current = De(e.url).map((e) => `${e}:${String(t[e] ?? "")}`).join("|")));
1696
- }, [k(() => JSON.stringify({
1697
- body: R?.body,
1698
- fetchOnMount: R?.fetchOnMount,
1699
- headers: R?.headers,
1700
- method: R?.method,
1701
- queryParams: R?.queryParams,
1702
- responseMapping: R?.responseMapping,
1703
- responsePath: R?.responsePath,
1704
- searchParam: R?.searchParam,
1705
- sendAllFormValues: R?.sendAllFormValues,
1706
- url: R?.url
1707
- }), [R])]), O(() => {
1708
- if (!(R?.searchParam && p)) return;
1695
+ let e = ue.current, t = de.current, n = W.current, r = e?.url && ke(e.url, t);
1696
+ e?.fetchOnMount && r && n && (n(), e.url && (le.current = Oe(e.url).map((e) => `${e}:${String(t[e] ?? "")}`).join("|")));
1697
+ }, [A(() => JSON.stringify({
1698
+ body: L?.body,
1699
+ fetchOnMount: L?.fetchOnMount,
1700
+ headers: L?.headers,
1701
+ method: L?.method,
1702
+ queryParams: L?.queryParams,
1703
+ responseMapping: L?.responseMapping,
1704
+ responsePath: L?.responsePath,
1705
+ searchParam: L?.searchParam,
1706
+ sendAllFormValues: L?.sendAllFormValues,
1707
+ url: L?.url
1708
+ }), [L])]), k(() => {
1709
+ if (!(L?.searchParam && m)) return;
1709
1710
  let e = setTimeout(() => {
1710
- ve(p);
1711
+ q(m);
1711
1712
  }, 300);
1712
1713
  return () => clearTimeout(e);
1713
1714
  }, [
1714
- p,
1715
- R?.searchParam,
1716
- ve
1717
- ]), R?.responseMapping) {
1718
- let e = Array.isArray(b) ? b[0] : b, t = d.find((t) => t.value === e);
1719
- if (R.searchParam) {
1720
- let n = s && R?.showLoading;
1715
+ m,
1716
+ L?.searchParam,
1717
+ q
1718
+ ]), L?.responseMapping) {
1719
+ let e = Array.isArray(x) ? x[0] : x, t = u.find((t) => t.value === e);
1720
+ if (L.searchParam) {
1721
+ let n = r && L?.showLoading;
1721
1722
  return /* @__PURE__ */ P(H, {
1722
1723
  style: Y.container,
1723
1724
  children: [
1724
1725
  /* @__PURE__ */ P(z, {
1725
- style: [Y.label, { color: L.textSecondary }],
1726
+ style: [Y.label, { color: I.textSecondary }],
1726
1727
  children: [E || C.data.name, C.data.required && /* @__PURE__ */ N(z, {
1727
- style: { color: L.error },
1728
+ style: { color: I.error },
1728
1729
  children: "*"
1729
1730
  })]
1730
1731
  }),
1731
- /* @__PURE__ */ N(be, {
1732
+ /* @__PURE__ */ N(xe, {
1732
1733
  missing: ee,
1733
1734
  children: /* @__PURE__ */ P(V, {
1734
1735
  style: [
1735
1736
  Y.trigger,
1736
1737
  {
1737
- backgroundColor: L.input,
1738
- borderColor: L.border
1738
+ backgroundColor: I.input,
1739
+ borderColor: I.border
1739
1740
  },
1740
- T && { borderColor: L.error },
1741
- ee.length > 0 && { backgroundColor: L.muted }
1741
+ T && { borderColor: I.error },
1742
+ ee.length > 0 && { backgroundColor: I.muted }
1742
1743
  ],
1743
- onPress: () => y(!0),
1744
+ onPress: () => v(!0),
1744
1745
  disabled: ee.length > 0,
1745
1746
  activeOpacity: .7,
1746
1747
  children: [n ? /* @__PURE__ */ P(H, {
1747
1748
  style: Y.loadingTrigger,
1748
- children: [/* @__PURE__ */ N(ne, {
1749
+ children: [/* @__PURE__ */ N(re, {
1749
1750
  size: "small",
1750
- color: L.primary
1751
+ color: I.primary
1751
1752
  }), /* @__PURE__ */ N(z, {
1752
- style: [Y.triggerText, { color: L.textMuted }],
1753
+ style: [Y.triggerText, { color: I.textMuted }],
1753
1754
  numberOfLines: 1,
1754
- children: t?.label || S || oe("renderer.defaultHttpInput.search")
1755
+ children: t?.label || S || R("renderer.defaultHttpInput.search")
1755
1756
  })]
1756
1757
  }) : /* @__PURE__ */ N(z, {
1757
1758
  style: [
1758
1759
  Y.triggerText,
1759
- { color: L.text },
1760
- !t && { color: L.textMuted }
1760
+ { color: I.text },
1761
+ !t && { color: I.textMuted }
1761
1762
  ],
1762
1763
  numberOfLines: 1,
1763
- children: t?.label || S || oe("renderer.defaultHttpInput.search")
1764
+ children: t?.label || S || R("renderer.defaultHttpInput.search")
1764
1765
  }), /* @__PURE__ */ N(z, {
1765
- style: [Y.arrow, { color: L.textMuted }],
1766
+ style: [Y.arrow, { color: I.textMuted }],
1766
1767
  children: "▼"
1767
1768
  })]
1768
1769
  })
1769
1770
  }),
1770
- /* @__PURE__ */ N(ae, {
1771
+ /* @__PURE__ */ N(oe, {
1771
1772
  visible: g,
1772
1773
  transparent: !0,
1773
1774
  animationType: "fade",
1774
- onRequestClose: () => y(!1),
1775
+ onRequestClose: () => v(!1),
1775
1776
  children: /* @__PURE__ */ N(V, {
1776
1777
  style: Y.modalOverlay,
1777
1778
  activeOpacity: 1,
1778
- onPress: () => y(!1),
1779
+ onPress: () => v(!1),
1779
1780
  children: /* @__PURE__ */ P(V, {
1780
- style: [Y.modalContent, { backgroundColor: L.card }],
1781
+ style: [Y.modalContent, { backgroundColor: I.card }],
1781
1782
  activeOpacity: 1,
1782
1783
  onPress: () => {},
1783
1784
  children: [
1784
1785
  /* @__PURE__ */ P(H, {
1785
- style: [Y.modalHeader, { borderBottomColor: L.separator }],
1786
+ style: [Y.modalHeader, { borderBottomColor: I.separator }],
1786
1787
  children: [/* @__PURE__ */ N(z, {
1787
- style: [Y.modalTitle, { color: L.text }],
1788
+ style: [Y.modalTitle, { color: I.text }],
1788
1789
  children: E || C.data.name
1789
1790
  }), /* @__PURE__ */ N(V, {
1790
- onPress: () => y(!1),
1791
+ onPress: () => v(!1),
1791
1792
  children: /* @__PURE__ */ N(z, {
1792
- style: [Y.closeButton, { color: L.textMuted }],
1793
+ style: [Y.closeButton, { color: I.textMuted }],
1793
1794
  children: "✕"
1794
1795
  })
1795
1796
  })]
@@ -1798,66 +1799,66 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
1798
1799
  style: Y.searchContainer,
1799
1800
  children: /* @__PURE__ */ N(B, {
1800
1801
  style: [Y.searchInput, {
1801
- backgroundColor: L.muted,
1802
- borderColor: L.border,
1803
- color: L.text
1802
+ backgroundColor: I.muted,
1803
+ borderColor: I.border,
1804
+ color: I.text
1804
1805
  }],
1805
- placeholder: oe("renderer.defaultHttpInput.search"),
1806
- placeholderTextColor: L.textMuted,
1807
- value: p,
1806
+ placeholder: R("renderer.defaultHttpInput.search"),
1807
+ placeholderTextColor: I.textMuted,
1808
+ value: m,
1808
1809
  onChangeText: (e) => {
1809
- h(e), u(null);
1810
+ h(e), l(null);
1810
1811
  },
1811
1812
  autoFocus: !0,
1812
1813
  autoCapitalize: "none",
1813
1814
  autoCorrect: !1
1814
1815
  })
1815
1816
  }),
1816
- s ? /* @__PURE__ */ N(H, {
1817
+ r ? /* @__PURE__ */ N(H, {
1817
1818
  style: Y.loadingContainer,
1818
- children: /* @__PURE__ */ N(ne, {
1819
+ children: /* @__PURE__ */ N(re, {
1819
1820
  size: "small",
1820
- color: L.primary
1821
+ color: I.primary
1821
1822
  })
1822
- }) : l ? /* @__PURE__ */ P(H, {
1823
+ }) : s ? /* @__PURE__ */ P(H, {
1823
1824
  style: Y.errorContainer,
1824
1825
  children: [/* @__PURE__ */ N(z, {
1825
- style: [Y.errorText, { color: L.error }],
1826
- children: l
1826
+ style: [Y.errorText, { color: I.error }],
1827
+ children: s
1827
1828
  }), /* @__PURE__ */ N(V, {
1828
- onPress: () => ve(p),
1829
+ onPress: () => q(m),
1829
1830
  style: Y.retryButton,
1830
1831
  children: /* @__PURE__ */ N(z, {
1831
- style: [Y.retryButtonText, { color: L.primary }],
1832
- children: oe("renderer.defaultHttpInput.retry")
1832
+ style: [Y.retryButtonText, { color: I.primary }],
1833
+ children: R("renderer.defaultHttpInput.retry")
1833
1834
  })
1834
1835
  })]
1835
- }) : /* @__PURE__ */ N(I, {
1836
- data: d,
1836
+ }) : /* @__PURE__ */ N(ae, {
1837
+ data: u,
1837
1838
  keyExtractor: (e) => e.value,
1838
1839
  style: Y.optionsList,
1839
1840
  contentContainerStyle: Y.optionsListContent,
1840
1841
  ListEmptyComponent: /* @__PURE__ */ N(H, {
1841
1842
  style: Y.emptyContainer,
1842
1843
  children: /* @__PURE__ */ N(z, {
1843
- style: [Y.emptyText, { color: L.textMuted }],
1844
- children: oe("renderer.defaultHttpInput.noResults")
1844
+ style: [Y.emptyText, { color: I.textMuted }],
1845
+ children: R("renderer.defaultHttpInput.noResults")
1845
1846
  })
1846
1847
  }),
1847
1848
  renderItem: ({ item: t }) => {
1848
1849
  let n = t.value === e;
1849
1850
  return /* @__PURE__ */ P(V, {
1850
- style: [Y.option, n && { backgroundColor: L.primaryLight }],
1851
+ style: [Y.option, n && { backgroundColor: I.primaryLight }],
1851
1852
  onPress: () => {
1852
- w(t.value), y(!1);
1853
+ w(t.value), v(!1);
1853
1854
  },
1854
1855
  activeOpacity: .7,
1855
- children: [/* @__PURE__ */ N(fe, {
1856
+ children: [/* @__PURE__ */ N(pe, {
1856
1857
  label: t.label,
1857
1858
  description: t.description,
1858
1859
  image: t.image
1859
1860
  }), n && /* @__PURE__ */ N(z, {
1860
- style: [Y.checkmark, { color: L.primary }],
1861
+ style: [Y.checkmark, { color: I.primary }],
1861
1862
  children: "✓"
1862
1863
  })]
1863
1864
  });
@@ -1868,112 +1869,112 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
1868
1869
  })
1869
1870
  }),
1870
1871
  T && /* @__PURE__ */ N(z, {
1871
- style: [Y.error, { color: L.error }],
1872
+ style: [Y.error, { color: I.error }],
1872
1873
  children: T
1873
1874
  }),
1874
1875
  D && !T && /* @__PURE__ */ N(z, {
1875
- style: [Y.helperText, { color: L.textMuted }],
1876
+ style: [Y.helperText, { color: I.textMuted }],
1876
1877
  children: D
1877
1878
  })
1878
1879
  ]
1879
1880
  });
1880
1881
  }
1881
- let n = s && R?.showLoading, r = ee.length === 0 && d.length === 0 && !n ? l ?? oe("renderer.defaultHttpInput.noDataAvailable") : void 0;
1882
+ let n = r && L?.showLoading, i = ee.length === 0 && u.length === 0 && !n ? s ?? R("renderer.defaultHttpInput.noDataAvailable") : void 0;
1882
1883
  return /* @__PURE__ */ P(H, {
1883
1884
  style: Y.container,
1884
1885
  children: [
1885
1886
  /* @__PURE__ */ P(z, {
1886
- style: [Y.label, { color: L.textSecondary }],
1887
+ style: [Y.label, { color: I.textSecondary }],
1887
1888
  children: [E || C.data.name, C.data.required && /* @__PURE__ */ N(z, {
1888
- style: { color: L.error },
1889
+ style: { color: I.error },
1889
1890
  children: "*"
1890
1891
  })]
1891
1892
  }),
1892
- /* @__PURE__ */ N(be, {
1893
+ /* @__PURE__ */ N(xe, {
1893
1894
  missing: ee,
1894
1895
  children: /* @__PURE__ */ P(V, {
1895
1896
  style: [
1896
1897
  Y.trigger,
1897
1898
  {
1898
- backgroundColor: L.input,
1899
- borderColor: L.border
1899
+ backgroundColor: I.input,
1900
+ borderColor: I.border
1900
1901
  },
1901
- T && { borderColor: L.error },
1902
- (n || d.length === 0) && { backgroundColor: L.muted }
1902
+ T && { borderColor: I.error },
1903
+ (n || u.length === 0) && { backgroundColor: I.muted }
1903
1904
  ],
1904
- onPress: () => y(!0),
1905
- disabled: n || d.length === 0,
1905
+ onPress: () => v(!0),
1906
+ disabled: n || u.length === 0,
1906
1907
  activeOpacity: .7,
1907
1908
  children: [
1908
- n && /* @__PURE__ */ N(ne, {
1909
+ n && /* @__PURE__ */ N(re, {
1909
1910
  size: "small",
1910
- color: L.primary,
1911
+ color: I.primary,
1911
1912
  style: Y.triggerLoader
1912
1913
  }),
1913
1914
  /* @__PURE__ */ N(z, {
1914
1915
  style: [
1915
1916
  Y.triggerText,
1916
- { color: L.text },
1917
- !t && { color: L.textMuted }
1917
+ { color: I.text },
1918
+ !t && { color: I.textMuted }
1918
1919
  ],
1919
1920
  numberOfLines: 1,
1920
- children: t?.label || S || oe("renderer.defaultHttpInput.selectOption")
1921
+ children: t?.label || S || R("renderer.defaultHttpInput.selectOption")
1921
1922
  }),
1922
1923
  /* @__PURE__ */ N(z, {
1923
- style: [Y.arrow, { color: L.textMuted }],
1924
+ style: [Y.arrow, { color: I.textMuted }],
1924
1925
  children: "▼"
1925
1926
  })
1926
1927
  ]
1927
1928
  })
1928
1929
  }),
1929
- r && /* @__PURE__ */ N(z, {
1930
- style: [Y.disabledMessage, { color: L.error }],
1931
- children: r
1930
+ i && /* @__PURE__ */ N(z, {
1931
+ style: [Y.disabledMessage, { color: I.error }],
1932
+ children: i
1932
1933
  }),
1933
- /* @__PURE__ */ N(ae, {
1934
+ /* @__PURE__ */ N(oe, {
1934
1935
  visible: g,
1935
1936
  transparent: !0,
1936
1937
  animationType: "fade",
1937
- onRequestClose: () => y(!1),
1938
+ onRequestClose: () => v(!1),
1938
1939
  children: /* @__PURE__ */ N(V, {
1939
1940
  style: Y.modalOverlay,
1940
1941
  activeOpacity: 1,
1941
- onPress: () => y(!1),
1942
+ onPress: () => v(!1),
1942
1943
  children: /* @__PURE__ */ P(V, {
1943
- style: [Y.modalContent, { backgroundColor: L.card }],
1944
+ style: [Y.modalContent, { backgroundColor: I.card }],
1944
1945
  activeOpacity: 1,
1945
1946
  onPress: () => {},
1946
1947
  children: [/* @__PURE__ */ P(H, {
1947
- style: [Y.modalHeader, { borderBottomColor: L.separator }],
1948
+ style: [Y.modalHeader, { borderBottomColor: I.separator }],
1948
1949
  children: [/* @__PURE__ */ N(z, {
1949
- style: [Y.modalTitle, { color: L.text }],
1950
+ style: [Y.modalTitle, { color: I.text }],
1950
1951
  children: E || C.data.name
1951
1952
  }), /* @__PURE__ */ N(V, {
1952
- onPress: () => y(!1),
1953
+ onPress: () => v(!1),
1953
1954
  children: /* @__PURE__ */ N(z, {
1954
- style: [Y.closeButton, { color: L.textMuted }],
1955
+ style: [Y.closeButton, { color: I.textMuted }],
1955
1956
  children: "✕"
1956
1957
  })
1957
1958
  })]
1958
- }), /* @__PURE__ */ N(I, {
1959
- data: d,
1959
+ }), /* @__PURE__ */ N(ae, {
1960
+ data: u,
1960
1961
  keyExtractor: (e) => e.value,
1961
1962
  style: Y.optionsList,
1962
1963
  contentContainerStyle: Y.optionsListContent,
1963
1964
  renderItem: ({ item: t }) => {
1964
1965
  let n = t.value === e;
1965
1966
  return /* @__PURE__ */ P(V, {
1966
- style: [Y.option, n && { backgroundColor: L.primaryLight }],
1967
+ style: [Y.option, n && { backgroundColor: I.primaryLight }],
1967
1968
  onPress: () => {
1968
- w(t.value), y(!1);
1969
+ w(t.value), v(!1);
1969
1970
  },
1970
1971
  activeOpacity: .7,
1971
- children: [/* @__PURE__ */ N(fe, {
1972
+ children: [/* @__PURE__ */ N(pe, {
1972
1973
  label: t.label,
1973
1974
  description: t.description,
1974
1975
  image: t.image
1975
1976
  }), n && /* @__PURE__ */ N(z, {
1976
- style: [Y.checkmark, { color: L.primary }],
1977
+ style: [Y.checkmark, { color: I.primary }],
1977
1978
  children: "✓"
1978
1979
  })]
1979
1980
  });
@@ -1983,11 +1984,11 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
1983
1984
  })
1984
1985
  }),
1985
1986
  T && /* @__PURE__ */ N(z, {
1986
- style: [Y.error, { color: L.error }],
1987
+ style: [Y.error, { color: I.error }],
1987
1988
  children: T
1988
1989
  }),
1989
1990
  D && !T && /* @__PURE__ */ N(z, {
1990
- style: [Y.helperText, { color: L.textMuted }],
1991
+ style: [Y.helperText, { color: I.textMuted }],
1991
1992
  children: D
1992
1993
  })
1993
1994
  ]
@@ -1997,27 +1998,27 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
1997
1998
  style: Y.container,
1998
1999
  children: [
1999
2000
  /* @__PURE__ */ P(z, {
2000
- style: [Y.label, { color: L.textSecondary }],
2001
+ style: [Y.label, { color: I.textSecondary }],
2001
2002
  children: [E || C.data.name, C.data.required && /* @__PURE__ */ N(z, {
2002
- style: { color: L.error },
2003
+ style: { color: I.error },
2003
2004
  children: "*"
2004
2005
  })]
2005
2006
  }),
2006
2007
  /* @__PURE__ */ N(B, {
2007
2008
  style: [Y.input, {
2008
- backgroundColor: L.muted,
2009
- borderColor: L.border,
2010
- color: L.textMuted
2009
+ backgroundColor: I.muted,
2010
+ borderColor: I.border,
2011
+ color: I.textMuted
2011
2012
  }],
2012
- value: typeof b == "string" ? b : JSON.stringify(b),
2013
+ value: typeof x == "string" ? x : JSON.stringify(x),
2013
2014
  editable: !1
2014
2015
  }),
2015
2016
  T && /* @__PURE__ */ N(z, {
2016
- style: [Y.error, { color: L.error }],
2017
+ style: [Y.error, { color: I.error }],
2017
2018
  children: T
2018
2019
  }),
2019
2020
  D && !T && /* @__PURE__ */ N(z, {
2020
- style: [Y.helperText, { color: L.textMuted }],
2021
+ style: [Y.helperText, { color: I.textMuted }],
2021
2022
  children: D
2022
2023
  })
2023
2024
  ]
@@ -2144,15 +2145,15 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2144
2145
  flex: 1,
2145
2146
  fontSize: 14
2146
2147
  }
2147
- }), je = (e, t) => {
2148
- let { value: n, placeholder: r, name: i } = e, [a, o] = j(n?.toString() ?? ""), { node: s, setValue: c, error: l, label: u, helperText: d } = t, { colors: f } = x();
2149
- return O(() => {
2148
+ }), Me = ({ field: e, extra: t }) => {
2149
+ let { value: n, placeholder: r, name: i } = e, [a, o] = M(n?.toString() ?? ""), { node: s, setValue: c, error: l, label: u, helperText: d } = t, { colors: f } = p();
2150
+ return k(() => {
2150
2151
  o(n?.toString() ?? "");
2151
2152
  }, [n]), /* @__PURE__ */ P(H, {
2152
- style: Me.container,
2153
+ style: Ne.container,
2153
2154
  children: [
2154
2155
  /* @__PURE__ */ P(z, {
2155
- style: [Me.label, { color: f.textSecondary }],
2156
+ style: [Ne.label, { color: f.textSecondary }],
2156
2157
  children: [u || s.data.name, s.data.required && /* @__PURE__ */ N(z, {
2157
2158
  style: { color: f.error },
2158
2159
  children: "*"
@@ -2160,7 +2161,7 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2160
2161
  }),
2161
2162
  /* @__PURE__ */ N(B, {
2162
2163
  style: [
2163
- Me.input,
2164
+ Ne.input,
2164
2165
  {
2165
2166
  backgroundColor: f.input,
2166
2167
  borderColor: f.border,
@@ -2183,16 +2184,16 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2183
2184
  accessibilityLabel: i
2184
2185
  }),
2185
2186
  l && /* @__PURE__ */ N(z, {
2186
- style: [Me.error, { color: f.error }],
2187
+ style: [Ne.error, { color: f.error }],
2187
2188
  children: l
2188
2189
  }),
2189
2190
  d && !l && /* @__PURE__ */ N(z, {
2190
- style: [Me.helperText, { color: f.textMuted }],
2191
+ style: [Ne.helperText, { color: f.textMuted }],
2191
2192
  children: d
2192
2193
  })
2193
2194
  ]
2194
2195
  });
2195
- }, Me = R.create({
2196
+ }, Ne = R.create({
2196
2197
  container: { marginBottom: 16 },
2197
2198
  error: {
2198
2199
  fontSize: 12,
@@ -2214,23 +2215,23 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2214
2215
  fontWeight: "500",
2215
2216
  marginBottom: 8
2216
2217
  }
2217
- }), Ne = (e, t) => {
2218
- let [n, r] = j(!1), { value: i, placeholder: a, name: o } = e, { node: s, setValue: c, error: l, label: u, helperText: d } = t, { colors: f } = x();
2218
+ }), Pe = ({ field: e, extra: t }) => {
2219
+ let [n, r] = M(!1), { value: i, placeholder: a, name: o } = e, { node: s, setValue: c, error: l, label: u, helperText: d } = t, { colors: f } = p();
2219
2220
  return /* @__PURE__ */ P(H, {
2220
- style: Pe.container,
2221
+ style: Fe.container,
2221
2222
  children: [
2222
2223
  /* @__PURE__ */ P(z, {
2223
- style: [Pe.label, { color: f.textSecondary }],
2224
+ style: [Fe.label, { color: f.textSecondary }],
2224
2225
  children: [u || s.data.name, s.data.required && /* @__PURE__ */ N(z, {
2225
2226
  style: { color: f.error },
2226
2227
  children: "*"
2227
2228
  })]
2228
2229
  }),
2229
2230
  /* @__PURE__ */ P(H, {
2230
- style: Pe.inputWrapper,
2231
+ style: Fe.inputWrapper,
2231
2232
  children: [/* @__PURE__ */ N(B, {
2232
2233
  style: [
2233
- Pe.input,
2234
+ Fe.input,
2234
2235
  {
2235
2236
  backgroundColor: f.input,
2236
2237
  borderColor: f.border,
@@ -2245,26 +2246,26 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2245
2246
  secureTextEntry: !n,
2246
2247
  accessibilityLabel: o
2247
2248
  }), /* @__PURE__ */ N(V, {
2248
- style: Pe.toggleButton,
2249
+ style: Fe.toggleButton,
2249
2250
  onPress: () => r(!n),
2250
2251
  activeOpacity: .7,
2251
2252
  children: /* @__PURE__ */ N(z, {
2252
- style: [Pe.toggleText, { color: f.primary }],
2253
+ style: [Fe.toggleText, { color: f.primary }],
2253
2254
  children: n ? "Hide" : "Show"
2254
2255
  })
2255
2256
  })]
2256
2257
  }),
2257
2258
  l && /* @__PURE__ */ N(z, {
2258
- style: [Pe.error, { color: f.error }],
2259
+ style: [Fe.error, { color: f.error }],
2259
2260
  children: l
2260
2261
  }),
2261
2262
  d && !l && /* @__PURE__ */ N(z, {
2262
- style: [Pe.helperText, { color: f.textMuted }],
2263
+ style: [Fe.helperText, { color: f.textMuted }],
2263
2264
  children: d
2264
2265
  })
2265
2266
  ]
2266
2267
  });
2267
- }, Pe = R.create({
2268
+ }, Fe = R.create({
2268
2269
  container: { marginBottom: 16 },
2269
2270
  error: {
2270
2271
  fontSize: 12,
@@ -2302,50 +2303,50 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2302
2303
  fontSize: 12,
2303
2304
  fontWeight: "600"
2304
2305
  }
2305
- }), Fe = (e, t) => {
2306
- let { value: n } = e, { node: r, setValue: i, error: a, label: o, helperText: s } = t, { colors: c } = x(), l = _(), u = r.data.options || [], d = n || "", f = r.data.variant !== "default", p = (e) => {
2307
- i(e);
2306
+ }), Ie = ({ field: e, extra: t }) => {
2307
+ let { value: n } = e, { node: r, setValue: a, error: o, label: s, helperText: c } = t, { colors: l } = p(), u = i(), d = r.data.options || [], f = n || "", m = r.data.variant !== "default", h = (e) => {
2308
+ a(e);
2308
2309
  };
2309
2310
  return /* @__PURE__ */ P(H, {
2310
2311
  style: X.container,
2311
2312
  children: [
2312
2313
  /* @__PURE__ */ P(z, {
2313
- style: [X.label, { color: c.textSecondary }],
2314
- children: [o || r.data.name, r.data.required && /* @__PURE__ */ N(z, {
2315
- style: { color: c.error },
2314
+ style: [X.label, { color: l.textSecondary }],
2315
+ children: [s || r.data.name, r.data.required && /* @__PURE__ */ N(z, {
2316
+ style: { color: l.error },
2316
2317
  children: "*"
2317
2318
  })]
2318
2319
  }),
2319
- u.map((e) => {
2320
- let t = d === e.value, n = l(e.label) || e.value, r = l(e.description);
2321
- return f ? /* @__PURE__ */ P(V, {
2320
+ d.map((e) => {
2321
+ let t = f === e.value, n = u(e.label) || e.value, r = u(e.description);
2322
+ return m ? /* @__PURE__ */ P(V, {
2322
2323
  style: [
2323
2324
  X.card,
2324
2325
  {
2325
- backgroundColor: c.input,
2326
- borderColor: c.border
2326
+ backgroundColor: l.input,
2327
+ borderColor: l.border
2327
2328
  },
2328
2329
  t && {
2329
- backgroundColor: `${c.primary}10`,
2330
- borderColor: c.primary
2330
+ backgroundColor: `${l.primary}10`,
2331
+ borderColor: l.primary
2331
2332
  },
2332
2333
  e.disabled && { opacity: .5 }
2333
2334
  ],
2334
- onPress: () => p(e.value),
2335
+ onPress: () => h(e.value),
2335
2336
  disabled: e.disabled,
2336
2337
  activeOpacity: .7,
2337
2338
  children: [
2338
- e.image && /* @__PURE__ */ N(ie, {
2339
+ e.image && /* @__PURE__ */ N(I, {
2339
2340
  source: { uri: e.image },
2340
2341
  style: X.cardImage
2341
2342
  }),
2342
2343
  /* @__PURE__ */ P(H, {
2343
2344
  style: X.cardTextContainer,
2344
2345
  children: [/* @__PURE__ */ N(z, {
2345
- style: [X.cardLabel, { color: c.textSecondary }],
2346
+ style: [X.cardLabel, { color: l.textSecondary }],
2346
2347
  children: n
2347
2348
  }), r && /* @__PURE__ */ N(z, {
2348
- style: [X.cardDescription, { color: c.textMuted }],
2349
+ style: [X.cardDescription, { color: l.textMuted }],
2349
2350
  children: r
2350
2351
  })]
2351
2352
  }),
@@ -2354,17 +2355,17 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2354
2355
  X.radio,
2355
2356
  X.cardRadio,
2356
2357
  {
2357
- backgroundColor: c.input,
2358
- borderColor: c.border
2358
+ backgroundColor: l.input,
2359
+ borderColor: l.border
2359
2360
  },
2360
- t && { borderColor: c.primary }
2361
+ t && { borderColor: l.primary }
2361
2362
  ],
2362
- children: t && /* @__PURE__ */ N(H, { style: [X.radioInner, { backgroundColor: c.primary }] })
2363
+ children: t && /* @__PURE__ */ N(H, { style: [X.radioInner, { backgroundColor: l.primary }] })
2363
2364
  })
2364
2365
  ]
2365
2366
  }, e.value) : /* @__PURE__ */ P(V, {
2366
2367
  style: X.option,
2367
- onPress: () => p(e.value),
2368
+ onPress: () => h(e.value),
2368
2369
  disabled: e.disabled,
2369
2370
  activeOpacity: .7,
2370
2371
  children: [
@@ -2372,14 +2373,14 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2372
2373
  style: [
2373
2374
  X.radio,
2374
2375
  {
2375
- backgroundColor: c.input,
2376
- borderColor: c.border
2376
+ backgroundColor: l.input,
2377
+ borderColor: l.border
2377
2378
  },
2378
- t && { borderColor: c.primary }
2379
+ t && { borderColor: l.primary }
2379
2380
  ],
2380
- children: t && /* @__PURE__ */ N(H, { style: [X.radioInner, { backgroundColor: c.primary }] })
2381
+ children: t && /* @__PURE__ */ N(H, { style: [X.radioInner, { backgroundColor: l.primary }] })
2381
2382
  }),
2382
- e.image && /* @__PURE__ */ N(ie, {
2383
+ e.image && /* @__PURE__ */ N(I, {
2383
2384
  source: { uri: e.image },
2384
2385
  style: X.image
2385
2386
  }),
@@ -2388,25 +2389,25 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2388
2389
  children: [/* @__PURE__ */ N(z, {
2389
2390
  style: [
2390
2391
  X.optionLabel,
2391
- { color: c.textSecondary },
2392
- e.disabled && { color: c.textMuted }
2392
+ { color: l.textSecondary },
2393
+ e.disabled && { color: l.textMuted }
2393
2394
  ],
2394
2395
  children: n
2395
2396
  }), r && /* @__PURE__ */ N(z, {
2396
- style: [X.optionDescription, { color: c.textMuted }],
2397
+ style: [X.optionDescription, { color: l.textMuted }],
2397
2398
  children: r
2398
2399
  })]
2399
2400
  })
2400
2401
  ]
2401
2402
  }, e.value);
2402
2403
  }),
2403
- a && /* @__PURE__ */ N(z, {
2404
- style: [X.error, { color: c.error }],
2405
- children: a
2404
+ o && /* @__PURE__ */ N(z, {
2405
+ style: [X.error, { color: l.error }],
2406
+ children: o
2406
2407
  }),
2407
- s && !a && /* @__PURE__ */ N(z, {
2408
- style: [X.helperText, { color: c.textMuted }],
2409
- children: s
2408
+ c && !o && /* @__PURE__ */ N(z, {
2409
+ style: [X.helperText, { color: l.textMuted }],
2410
+ children: c
2410
2411
  })
2411
2412
  ]
2412
2413
  });
@@ -2483,17 +2484,17 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2483
2484
  height: 10,
2484
2485
  width: 10
2485
2486
  }
2486
- }), Ie = (e, t) => {
2487
- let [n, r] = j(!1), { value: i, placeholder: a } = e, { node: o, setValue: s, error: c, label: l, helperText: u } = t, { colors: d } = x(), f = _(), p = o.data.options || [], m = o.data.multiple, h = Array.isArray(i) ? i : i ? [i] : [], g = (e) => {
2488
- m ? s(h.includes(e) ? h.filter((t) => t !== e) : [...h, e]) : (s(e), r(!1));
2487
+ }), Le = ({ field: e, extra: t }) => {
2488
+ let [n, r] = M(!1), { value: a, placeholder: o } = e, { node: s, setValue: c, error: l, label: u, helperText: d } = t, { colors: f } = p(), m = i(), h = s.data.options || [], g = s.data.multiple, _ = Array.isArray(a) ? a : a ? [a] : [], v = (e) => {
2489
+ g ? c(_.includes(e) ? _.filter((t) => t !== e) : [..._, e]) : (c(e), r(!1));
2489
2490
  };
2490
2491
  return /* @__PURE__ */ P(H, {
2491
2492
  style: Z.container,
2492
2493
  children: [
2493
2494
  /* @__PURE__ */ P(z, {
2494
- style: [Z.label, { color: d.textSecondary }],
2495
- children: [l || o.data.name, o.data.required && /* @__PURE__ */ N(z, {
2496
- style: { color: d.error },
2495
+ style: [Z.label, { color: f.textSecondary }],
2496
+ children: [u || s.data.name, s.data.required && /* @__PURE__ */ N(z, {
2497
+ style: { color: f.error },
2497
2498
  children: "*"
2498
2499
  })]
2499
2500
  }),
@@ -2501,31 +2502,31 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2501
2502
  style: [
2502
2503
  Z.trigger,
2503
2504
  {
2504
- backgroundColor: d.input,
2505
- borderColor: d.border
2505
+ backgroundColor: f.input,
2506
+ borderColor: f.border
2506
2507
  },
2507
- c && { borderColor: d.error }
2508
+ l && { borderColor: f.error }
2508
2509
  ],
2509
2510
  onPress: () => r(!0),
2510
2511
  activeOpacity: .7,
2511
2512
  children: [/* @__PURE__ */ N(z, {
2512
2513
  style: [
2513
2514
  Z.triggerText,
2514
- { color: d.text },
2515
- h.length === 0 && { color: d.textMuted }
2515
+ { color: f.text },
2516
+ _.length === 0 && { color: f.textMuted }
2516
2517
  ],
2517
2518
  children: (() => {
2518
- if (h.length === 0) return a || "Select...";
2519
- if (m) return p.filter((e) => h.includes(e.value)).map((e) => f(e.label) || e.value).join(", ");
2520
- let e = p.find((e) => e.value === h[0]);
2521
- return e ? f(e.label) || e.value : a || "Select...";
2519
+ if (_.length === 0) return o || "Select...";
2520
+ if (g) return h.filter((e) => _.includes(e.value)).map((e) => m(e.label) || e.value).join(", ");
2521
+ let e = h.find((e) => e.value === _[0]);
2522
+ return e ? m(e.label) || e.value : o || "Select...";
2522
2523
  })()
2523
2524
  }), /* @__PURE__ */ N(z, {
2524
- style: [Z.arrow, { color: d.textMuted }],
2525
+ style: [Z.arrow, { color: f.textMuted }],
2525
2526
  children: "▼"
2526
2527
  })]
2527
2528
  }),
2528
- /* @__PURE__ */ N(ae, {
2529
+ /* @__PURE__ */ N(oe, {
2529
2530
  visible: n,
2530
2531
  transparent: !0,
2531
2532
  animationType: "fade",
@@ -2535,45 +2536,45 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2535
2536
  activeOpacity: 1,
2536
2537
  onPress: () => r(!1),
2537
2538
  children: /* @__PURE__ */ P(H, {
2538
- style: [Z.modalContent, { backgroundColor: d.card }],
2539
+ style: [Z.modalContent, { backgroundColor: f.card }],
2539
2540
  onStartShouldSetResponder: () => !0,
2540
2541
  children: [
2541
2542
  /* @__PURE__ */ P(H, {
2542
- style: [Z.modalHeader, { borderBottomColor: d.border }],
2543
+ style: [Z.modalHeader, { borderBottomColor: f.border }],
2543
2544
  children: [/* @__PURE__ */ N(z, {
2544
- style: [Z.modalTitle, { color: d.text }],
2545
- children: l || o.data.name
2545
+ style: [Z.modalTitle, { color: f.text }],
2546
+ children: u || s.data.name
2546
2547
  }), /* @__PURE__ */ N(V, {
2547
2548
  onPress: () => r(!1),
2548
2549
  children: /* @__PURE__ */ N(z, {
2549
- style: [Z.closeButton, { color: d.textMuted }],
2550
+ style: [Z.closeButton, { color: f.textMuted }],
2550
2551
  children: "✕"
2551
2552
  })
2552
2553
  })]
2553
2554
  }),
2554
2555
  /* @__PURE__ */ N(L, {
2555
2556
  style: Z.optionsList,
2556
- children: p.map((e) => {
2557
- let t = h.includes(e.value);
2557
+ children: h.map((e) => {
2558
+ let t = _.includes(e.value);
2558
2559
  return /* @__PURE__ */ P(V, {
2559
- style: [Z.option, t && { backgroundColor: `${d.primary}20` }],
2560
- onPress: () => g(e.value),
2560
+ style: [Z.option, t && { backgroundColor: `${f.primary}20` }],
2561
+ onPress: () => v(e.value),
2561
2562
  disabled: e.disabled,
2562
2563
  activeOpacity: .7,
2563
- children: [/* @__PURE__ */ N(fe, {
2564
- label: f(e.label) || e.value,
2565
- description: f(e.description),
2564
+ children: [/* @__PURE__ */ N(pe, {
2565
+ label: m(e.label) || e.value,
2566
+ description: m(e.description),
2566
2567
  image: e.image,
2567
2568
  disabled: e.disabled
2568
2569
  }), t && /* @__PURE__ */ N(z, {
2569
- style: [Z.checkmark, { color: d.primary }],
2570
+ style: [Z.checkmark, { color: f.primary }],
2570
2571
  children: "✓"
2571
2572
  })]
2572
2573
  }, e.value);
2573
2574
  })
2574
2575
  }),
2575
- m && /* @__PURE__ */ N(V, {
2576
- style: [Z.doneButton, { backgroundColor: d.primary }],
2576
+ g && /* @__PURE__ */ N(V, {
2577
+ style: [Z.doneButton, { backgroundColor: f.primary }],
2577
2578
  onPress: () => r(!1),
2578
2579
  children: /* @__PURE__ */ N(z, {
2579
2580
  style: Z.doneButtonText,
@@ -2584,13 +2585,13 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2584
2585
  })
2585
2586
  })
2586
2587
  }),
2587
- c && /* @__PURE__ */ N(z, {
2588
- style: [Z.error, { color: d.error }],
2589
- children: c
2588
+ l && /* @__PURE__ */ N(z, {
2589
+ style: [Z.error, { color: f.error }],
2590
+ children: l
2590
2591
  }),
2591
- u && !c && /* @__PURE__ */ N(z, {
2592
- style: [Z.helperText, { color: d.textMuted }],
2593
- children: u
2592
+ d && !l && /* @__PURE__ */ N(z, {
2593
+ style: [Z.helperText, { color: f.textMuted }],
2594
+ children: d
2594
2595
  })
2595
2596
  ]
2596
2597
  });
@@ -2675,23 +2676,23 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2675
2676
  flex: 1,
2676
2677
  fontSize: 14
2677
2678
  }
2678
- }), Le = (e, t) => {
2679
- let { value: n } = e, { node: r, setValue: i, error: a, label: o, helperText: s } = t, { colors: c } = x(), l = !!n;
2679
+ }), Re = (e) => null, ze = ({ field: e, extra: t }) => {
2680
+ let { value: n } = e, { node: r, setValue: i, error: a, label: o, helperText: s } = t, { colors: c } = p(), l = !!n;
2680
2681
  return /* @__PURE__ */ P(H, {
2681
- style: Re.container,
2682
+ style: Be.container,
2682
2683
  children: [
2683
2684
  /* @__PURE__ */ P(H, {
2684
- style: Re.row,
2685
+ style: Be.row,
2685
2686
  children: [/* @__PURE__ */ N(H, {
2686
- style: Re.labelContainer,
2687
+ style: Be.labelContainer,
2687
2688
  children: /* @__PURE__ */ P(z, {
2688
- style: [Re.label, { color: c.textSecondary }],
2689
+ style: [Be.label, { color: c.textSecondary }],
2689
2690
  children: [o || r.data.name, r.data.required && /* @__PURE__ */ N(z, {
2690
2691
  style: { color: c.error },
2691
2692
  children: "*"
2692
2693
  })]
2693
2694
  })
2694
- }), /* @__PURE__ */ N(oe, {
2695
+ }), /* @__PURE__ */ N(se, {
2695
2696
  trackColor: {
2696
2697
  false: c.border,
2697
2698
  true: `${c.primary}80`
@@ -2703,16 +2704,16 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2703
2704
  })]
2704
2705
  }),
2705
2706
  a && /* @__PURE__ */ N(z, {
2706
- style: [Re.error, { color: c.error }],
2707
+ style: [Be.error, { color: c.error }],
2707
2708
  children: a
2708
2709
  }),
2709
2710
  s && !a && /* @__PURE__ */ N(z, {
2710
- style: [Re.helperText, { color: c.textMuted }],
2711
+ style: [Be.helperText, { color: c.textMuted }],
2711
2712
  children: s
2712
2713
  })
2713
2714
  ]
2714
2715
  });
2715
- }, Re = R.create({
2716
+ }, Be = R.create({
2716
2717
  container: { marginBottom: 16 },
2717
2718
  error: {
2718
2719
  fontSize: 12,
@@ -2732,13 +2733,13 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2732
2733
  flexDirection: "row",
2733
2734
  justifyContent: "space-between"
2734
2735
  }
2735
- }), ze = (e, t) => {
2736
- let { value: n, placeholder: r, name: i } = e, { node: a, setValue: o, error: s, label: c, helperText: l } = t, { colors: u } = x();
2736
+ }), Ve = ({ field: e, extra: t }) => {
2737
+ let { value: n, placeholder: r, name: i } = e, { node: a, setValue: o, error: s, label: c, helperText: l } = t, { colors: u } = p();
2737
2738
  return /* @__PURE__ */ P(H, {
2738
- style: Be.container,
2739
+ style: He.container,
2739
2740
  children: [
2740
2741
  /* @__PURE__ */ P(z, {
2741
- style: [Be.label, { color: u.textSecondary }],
2742
+ style: [He.label, { color: u.textSecondary }],
2742
2743
  children: [c || a.data.name, a.data.required && /* @__PURE__ */ N(z, {
2743
2744
  style: { color: u.error },
2744
2745
  children: "*"
@@ -2746,7 +2747,7 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2746
2747
  }),
2747
2748
  /* @__PURE__ */ N(B, {
2748
2749
  style: [
2749
- Be.textarea,
2750
+ He.textarea,
2750
2751
  {
2751
2752
  backgroundColor: u.input,
2752
2753
  borderColor: u.border,
@@ -2764,16 +2765,16 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2764
2765
  accessibilityLabel: i
2765
2766
  }),
2766
2767
  s && /* @__PURE__ */ N(z, {
2767
- style: [Be.error, { color: u.error }],
2768
+ style: [He.error, { color: u.error }],
2768
2769
  children: s
2769
2770
  }),
2770
2771
  l && !s && /* @__PURE__ */ N(z, {
2771
- style: [Be.helperText, { color: u.textMuted }],
2772
+ style: [He.helperText, { color: u.textMuted }],
2772
2773
  children: l
2773
2774
  })
2774
2775
  ]
2775
2776
  });
2776
- }, Be = R.create({
2777
+ }, He = R.create({
2777
2778
  container: { marginBottom: 16 },
2778
2779
  error: {
2779
2780
  fontSize: 12,
@@ -2796,13 +2797,13 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2796
2797
  paddingHorizontal: 12,
2797
2798
  paddingVertical: 8
2798
2799
  }
2799
- }), Ve = (e, t) => {
2800
- let { value: n, placeholder: r, name: i } = e, { node: a, setValue: o, error: s, label: c, helperText: l } = t, { colors: u } = x();
2800
+ }), Ue = ({ field: e, extra: t }) => {
2801
+ let { value: n, placeholder: r, name: i } = e, { node: a, setValue: o, error: s, label: c, helperText: l } = t, { colors: u } = p();
2801
2802
  return /* @__PURE__ */ P(H, {
2802
- style: He.container,
2803
+ style: We.container,
2803
2804
  children: [
2804
2805
  /* @__PURE__ */ P(z, {
2805
- style: [He.label, { color: u.textSecondary }],
2806
+ style: [We.label, { color: u.textSecondary }],
2806
2807
  children: [c || a.data.name, a.data.required && /* @__PURE__ */ N(z, {
2807
2808
  style: { color: u.error },
2808
2809
  children: "*"
@@ -2810,7 +2811,7 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2810
2811
  }),
2811
2812
  /* @__PURE__ */ N(B, {
2812
2813
  style: [
2813
- He.input,
2814
+ We.input,
2814
2815
  {
2815
2816
  backgroundColor: u.input,
2816
2817
  borderColor: u.border,
@@ -2825,16 +2826,16 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2825
2826
  accessibilityLabel: i
2826
2827
  }),
2827
2828
  s && /* @__PURE__ */ N(z, {
2828
- style: [He.error, { color: u.error }],
2829
+ style: [We.error, { color: u.error }],
2829
2830
  children: s
2830
2831
  }),
2831
2832
  l && !s && /* @__PURE__ */ N(z, {
2832
- style: [He.helperText, { color: u.textMuted }],
2833
+ style: [We.helperText, { color: u.textMuted }],
2833
2834
  children: l
2834
2835
  })
2835
2836
  ]
2836
2837
  });
2837
- }, He = R.create({
2838
+ }, We = R.create({
2838
2839
  container: { marginBottom: 16 },
2839
2840
  error: {
2840
2841
  fontSize: 12,
@@ -2856,21 +2857,21 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2856
2857
  fontWeight: "500",
2857
2858
  marginBottom: 8
2858
2859
  }
2859
- }), Ue = (e, t) => {
2860
- let { value: n, placeholder: r } = e, i = (n || "").split(":"), a = Number.parseInt(i[0], 10), o = Number.parseInt(i[1], 10), s = Number.isNaN(a) ? 0 : a, c = Number.isNaN(o) ? 0 : o, [l, u] = j(s || 0), [d, f] = j(c || 0), [p, m] = j(!1), { node: h, setValue: g, error: _, label: v, helperText: y } = t, { colors: b } = x(), S = A(null), C = A(null), w = Array.from({ length: 24 }, (e, t) => t), T = Array.from({ length: 60 }, (e, t) => t), E = () => n || r || "Select time", D = te(() => {
2861
- g(`${String(l).padStart(2, "0")}:${String(d).padStart(2, "0")}`), m(!1);
2860
+ }), Ge = ({ field: e, extra: t }) => {
2861
+ let { value: n, placeholder: r } = e, i = (n || "").split(":"), a = Number.parseInt(i[0], 10), o = Number.parseInt(i[1], 10), s = Number.isNaN(a) ? 0 : a, c = Number.isNaN(o) ? 0 : o, [l, u] = M(s || 0), [d, f] = M(c || 0), [m, h] = M(!1), { node: g, setValue: _, error: v, label: y, helperText: b } = t, { colors: x } = p(), S = j(null), C = j(null), w = Array.from({ length: 24 }, (e, t) => t), T = Array.from({ length: 60 }, (e, t) => t), E = () => n || r || "Select time", D = te(() => {
2862
+ _(`${String(l).padStart(2, "0")}:${String(d).padStart(2, "0")}`), h(!1);
2862
2863
  }, [
2863
2864
  l,
2864
2865
  d,
2865
- g
2866
+ _
2866
2867
  ]);
2867
2868
  return /* @__PURE__ */ P(H, {
2868
2869
  style: Q.container,
2869
2870
  children: [
2870
2871
  /* @__PURE__ */ P(z, {
2871
- style: [Q.label, { color: b.textSecondary }],
2872
- children: [v || h.data.name, h.data.required && /* @__PURE__ */ N(z, {
2873
- style: { color: b.error },
2872
+ style: [Q.label, { color: x.textSecondary }],
2873
+ children: [y || g.data.name, g.data.required && /* @__PURE__ */ N(z, {
2874
+ style: { color: x.error },
2874
2875
  children: "*"
2875
2876
  })]
2876
2877
  }),
@@ -2878,20 +2879,20 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2878
2879
  style: [
2879
2880
  Q.trigger,
2880
2881
  {
2881
- backgroundColor: b.input,
2882
- borderColor: b.border
2882
+ backgroundColor: x.input,
2883
+ borderColor: x.border
2883
2884
  },
2884
- _ && { borderColor: b.error }
2885
+ v && { borderColor: x.error }
2885
2886
  ],
2886
2887
  onPress: () => {
2887
- u(s || 0), f(c || 0), m(!0);
2888
+ u(s || 0), f(c || 0), h(!0);
2888
2889
  },
2889
2890
  activeOpacity: .7,
2890
2891
  children: [/* @__PURE__ */ N(z, {
2891
2892
  style: [
2892
2893
  Q.triggerText,
2893
- { color: b.text },
2894
- !n && { color: b.textMuted }
2894
+ { color: x.text },
2895
+ !n && { color: x.textMuted }
2895
2896
  ],
2896
2897
  numberOfLines: 1,
2897
2898
  children: E()
@@ -2900,29 +2901,29 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2900
2901
  children: "🕐"
2901
2902
  })]
2902
2903
  }),
2903
- /* @__PURE__ */ N(ae, {
2904
- visible: p,
2904
+ /* @__PURE__ */ N(oe, {
2905
+ visible: m,
2905
2906
  transparent: !0,
2906
2907
  animationType: "fade",
2907
- onRequestClose: () => m(!1),
2908
+ onRequestClose: () => h(!1),
2908
2909
  children: /* @__PURE__ */ N(V, {
2909
2910
  style: Q.modalOverlay,
2910
2911
  activeOpacity: 1,
2911
- onPress: () => m(!1),
2912
+ onPress: () => h(!1),
2912
2913
  children: /* @__PURE__ */ P(V, {
2913
- style: [Q.modalContent, { backgroundColor: b.card }],
2914
+ style: [Q.modalContent, { backgroundColor: x.card }],
2914
2915
  activeOpacity: 1,
2915
2916
  onPress: () => {},
2916
2917
  children: [
2917
2918
  /* @__PURE__ */ P(H, {
2918
- style: [Q.modalHeader, { borderBottomColor: b.separator }],
2919
+ style: [Q.modalHeader, { borderBottomColor: x.separator }],
2919
2920
  children: [/* @__PURE__ */ N(z, {
2920
- style: [Q.modalTitle, { color: b.text }],
2921
- children: v || h.data.name
2921
+ style: [Q.modalTitle, { color: x.text }],
2922
+ children: y || g.data.name
2922
2923
  }), /* @__PURE__ */ N(V, {
2923
- onPress: () => m(!1),
2924
+ onPress: () => h(!1),
2924
2925
  children: /* @__PURE__ */ N(z, {
2925
- style: [Q.closeButton, { color: b.textMuted }],
2926
+ style: [Q.closeButton, { color: x.textMuted }],
2926
2927
  children: "✕"
2927
2928
  })
2928
2929
  })]
@@ -2933,7 +2934,7 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2933
2934
  /* @__PURE__ */ P(H, {
2934
2935
  style: Q.pickerColumn,
2935
2936
  children: [/* @__PURE__ */ N(z, {
2936
- style: [Q.pickerLabel, { color: b.textMuted }],
2937
+ style: [Q.pickerLabel, { color: x.textMuted }],
2937
2938
  children: "Hour"
2938
2939
  }), /* @__PURE__ */ N(L, {
2939
2940
  ref: S,
@@ -2941,15 +2942,15 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2941
2942
  contentContainerStyle: Q.pickerContent,
2942
2943
  showsVerticalScrollIndicator: !1,
2943
2944
  children: w.map((e) => /* @__PURE__ */ N(V, {
2944
- style: [Q.pickerItem, l === e && { backgroundColor: b.primary }],
2945
+ style: [Q.pickerItem, l === e && { backgroundColor: x.primary }],
2945
2946
  onPress: () => u(e),
2946
2947
  activeOpacity: .7,
2947
2948
  children: /* @__PURE__ */ N(z, {
2948
2949
  style: [
2949
2950
  Q.pickerItemText,
2950
- { color: b.text },
2951
+ { color: x.text },
2951
2952
  l === e && {
2952
- color: b.background,
2953
+ color: x.background,
2953
2954
  fontWeight: "600"
2954
2955
  }
2955
2956
  ],
@@ -2959,13 +2960,13 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2959
2960
  })]
2960
2961
  }),
2961
2962
  /* @__PURE__ */ N(z, {
2962
- style: [Q.pickerSeparator, { color: b.text }],
2963
+ style: [Q.pickerSeparator, { color: x.text }],
2963
2964
  children: ":"
2964
2965
  }),
2965
2966
  /* @__PURE__ */ P(H, {
2966
2967
  style: Q.pickerColumn,
2967
2968
  children: [/* @__PURE__ */ N(z, {
2968
- style: [Q.pickerLabel, { color: b.textMuted }],
2969
+ style: [Q.pickerLabel, { color: x.textMuted }],
2969
2970
  children: "Minute"
2970
2971
  }), /* @__PURE__ */ N(L, {
2971
2972
  ref: C,
@@ -2973,15 +2974,15 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2973
2974
  contentContainerStyle: Q.pickerContent,
2974
2975
  showsVerticalScrollIndicator: !1,
2975
2976
  children: T.map((e) => /* @__PURE__ */ N(V, {
2976
- style: [Q.pickerItem, d === e && { backgroundColor: b.primary }],
2977
+ style: [Q.pickerItem, d === e && { backgroundColor: x.primary }],
2977
2978
  onPress: () => f(e),
2978
2979
  activeOpacity: .7,
2979
2980
  children: /* @__PURE__ */ N(z, {
2980
2981
  style: [
2981
2982
  Q.pickerItemText,
2982
- { color: b.text },
2983
+ { color: x.text },
2983
2984
  d === e && {
2984
- color: b.background,
2985
+ color: x.background,
2985
2986
  fontWeight: "600"
2986
2987
  }
2987
2988
  ],
@@ -2993,11 +2994,11 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
2993
2994
  ]
2994
2995
  }),
2995
2996
  /* @__PURE__ */ N(V, {
2996
- style: [Q.confirmButton, { backgroundColor: b.primary }],
2997
+ style: [Q.confirmButton, { backgroundColor: x.primary }],
2997
2998
  onPress: D,
2998
2999
  activeOpacity: .7,
2999
3000
  children: /* @__PURE__ */ N(z, {
3000
- style: [Q.confirmButtonText, { color: b.background }],
3001
+ style: [Q.confirmButtonText, { color: x.background }],
3001
3002
  children: "Confirm"
3002
3003
  })
3003
3004
  })
@@ -3005,13 +3006,13 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
3005
3006
  })
3006
3007
  })
3007
3008
  }),
3008
- _ && /* @__PURE__ */ N(z, {
3009
- style: [Q.error, { color: b.error }],
3010
- children: _
3009
+ v && /* @__PURE__ */ N(z, {
3010
+ style: [Q.error, { color: x.error }],
3011
+ children: v
3011
3012
  }),
3012
- y && !_ && /* @__PURE__ */ N(z, {
3013
- style: [Q.helperText, { color: b.textMuted }],
3014
- children: y
3013
+ b && !v && /* @__PURE__ */ N(z, {
3014
+ style: [Q.helperText, { color: x.textMuted }],
3015
+ children: b
3015
3016
  })
3016
3017
  ]
3017
3018
  });
@@ -3106,27 +3107,27 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
3106
3107
  flex: 1,
3107
3108
  fontSize: 14
3108
3109
  }
3109
- }), We = (e, t) => {
3110
- let [n, r] = j(!1), [i, a] = j(!0), { value: o } = e, { node: s, setValue: c, error: l, label: u, helperText: d } = t, { colors: f } = x(), p = _(), m = Array.isArray(o) ? o : [], h = m[0] || "", g = m[1] || "", v = h.split(":"), y = Number.parseInt(v[0], 10), b = Number.parseInt(v[1], 10), S = Number.isNaN(y) ? 0 : y, C = Number.isNaN(b) ? 0 : b, w = g.split(":"), T = Number.parseInt(w[0], 10), E = Number.parseInt(w[1], 10), D = Number.isNaN(T) ? 0 : T, ee = Number.isNaN(E) ? 0 : E, [O, k] = j(0), [A, M] = j(0), ne = Array.from({ length: 24 }, (e, t) => t), re = Array.from({ length: 60 }, (e, t) => t), F = () => h && g ? `${h} - ${g}` : h || p("renderer.defaultInputs.selectDateRange"), I = te(() => {
3110
+ }), Ke = ({ field: e, extra: t }) => {
3111
+ let [n, r] = M(!1), [a, o] = M(!0), { value: s } = e, { node: c, setValue: l, error: u, label: d, helperText: f } = t, { colors: m } = p(), h = i(), g = Array.isArray(s) ? s : [], _ = g[0] || "", v = g[1] || "", y = _.split(":"), b = Number.parseInt(y[0], 10), x = Number.parseInt(y[1], 10), S = Number.isNaN(b) ? 0 : b, C = Number.isNaN(x) ? 0 : x, w = v.split(":"), T = Number.parseInt(w[0], 10), E = Number.parseInt(w[1], 10), D = Number.isNaN(T) ? 0 : T, ee = Number.isNaN(E) ? 0 : E, [O, k] = M(0), [A, j] = M(0), ne = Array.from({ length: 24 }, (e, t) => t), re = Array.from({ length: 60 }, (e, t) => t), ie = () => _ && v ? `${_} - ${v}` : _ || h("renderer.defaultInputs.selectDateRange"), F = te(() => {
3111
3112
  let e = `${String(O).padStart(2, "0")}:${String(A).padStart(2, "0")}`;
3112
- i ? (c([e, g]), a(!1), k(D || 0), M(ee || 0)) : (c([h, e]), r(!1), a(!0));
3113
+ a ? (l([e, v]), o(!1), k(D || 0), j(ee || 0)) : (l([_, e]), r(!1), o(!0));
3113
3114
  }, [
3114
- i,
3115
+ a,
3115
3116
  O,
3116
3117
  A,
3117
- h,
3118
- g,
3118
+ _,
3119
+ v,
3119
3120
  D,
3120
3121
  ee,
3121
- c
3122
+ l
3122
3123
  ]);
3123
3124
  return /* @__PURE__ */ P(H, {
3124
3125
  style: $.container,
3125
3126
  children: [
3126
3127
  /* @__PURE__ */ P(z, {
3127
- style: [$.label, { color: f.textSecondary }],
3128
- children: [u || s.data.name, s.data.required && /* @__PURE__ */ N(z, {
3129
- style: { color: f.error },
3128
+ style: [$.label, { color: m.textSecondary }],
3129
+ children: [d || c.data.name, c.data.required && /* @__PURE__ */ N(z, {
3130
+ style: { color: m.error },
3130
3131
  children: "*"
3131
3132
  })]
3132
3133
  }),
@@ -3134,29 +3135,29 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
3134
3135
  style: [
3135
3136
  $.trigger,
3136
3137
  {
3137
- backgroundColor: f.input,
3138
- borderColor: f.border
3138
+ backgroundColor: m.input,
3139
+ borderColor: m.border
3139
3140
  },
3140
- l && { borderColor: f.error }
3141
+ u && { borderColor: m.error }
3141
3142
  ],
3142
3143
  onPress: () => {
3143
- k(S || 0), M(C || 0), a(!0), r(!0);
3144
+ k(S || 0), j(C || 0), o(!0), r(!0);
3144
3145
  },
3145
3146
  activeOpacity: .7,
3146
3147
  children: [/* @__PURE__ */ N(z, {
3147
3148
  style: [
3148
3149
  $.triggerText,
3149
- { color: f.text },
3150
- !h && { color: f.textMuted }
3150
+ { color: m.text },
3151
+ !_ && { color: m.textMuted }
3151
3152
  ],
3152
3153
  numberOfLines: 1,
3153
- children: F()
3154
+ children: ie()
3154
3155
  }), /* @__PURE__ */ N(z, {
3155
3156
  style: $.icon,
3156
3157
  children: "🕐"
3157
3158
  })]
3158
3159
  }),
3159
- /* @__PURE__ */ N(ae, {
3160
+ /* @__PURE__ */ N(oe, {
3160
3161
  visible: n,
3161
3162
  transparent: !0,
3162
3163
  animationType: "fade",
@@ -3166,28 +3167,28 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
3166
3167
  activeOpacity: 1,
3167
3168
  onPress: () => r(!1),
3168
3169
  children: /* @__PURE__ */ P(V, {
3169
- style: [$.modalContent, { backgroundColor: f.card }],
3170
+ style: [$.modalContent, { backgroundColor: m.card }],
3170
3171
  activeOpacity: 1,
3171
3172
  onPress: () => {},
3172
3173
  children: [
3173
3174
  /* @__PURE__ */ P(H, {
3174
- style: [$.modalHeader, { borderBottomColor: f.separator }],
3175
+ style: [$.modalHeader, { borderBottomColor: m.separator }],
3175
3176
  children: [/* @__PURE__ */ N(z, {
3176
- style: [$.modalTitle, { color: f.text }],
3177
- children: u || s.data.name
3177
+ style: [$.modalTitle, { color: m.text }],
3178
+ children: d || c.data.name
3178
3179
  }), /* @__PURE__ */ N(V, {
3179
3180
  onPress: () => r(!1),
3180
3181
  children: /* @__PURE__ */ N(z, {
3181
- style: [$.closeButton, { color: f.textMuted }],
3182
+ style: [$.closeButton, { color: m.textMuted }],
3182
3183
  children: "✕"
3183
3184
  })
3184
3185
  })]
3185
3186
  }),
3186
3187
  /* @__PURE__ */ N(H, {
3187
- style: [$.rangeIndicator, { backgroundColor: f.primaryLight }],
3188
+ style: [$.rangeIndicator, { backgroundColor: m.primaryLight }],
3188
3189
  children: /* @__PURE__ */ N(z, {
3189
- style: [$.rangeIndicatorText, { color: f.primary }],
3190
- children: p(i ? "renderer.defaultInputs.startTime" : "renderer.defaultInputs.endTime")
3190
+ style: [$.rangeIndicatorText, { color: m.primary }],
3191
+ children: h(a ? "renderer.defaultInputs.startTime" : "renderer.defaultInputs.endTime")
3191
3192
  })
3192
3193
  }),
3193
3194
  /* @__PURE__ */ P(H, {
@@ -3196,22 +3197,22 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
3196
3197
  /* @__PURE__ */ P(H, {
3197
3198
  style: $.pickerColumn,
3198
3199
  children: [/* @__PURE__ */ N(z, {
3199
- style: [$.pickerLabel, { color: f.textMuted }],
3200
+ style: [$.pickerLabel, { color: m.textMuted }],
3200
3201
  children: "Hour"
3201
3202
  }), /* @__PURE__ */ N(L, {
3202
3203
  style: $.picker,
3203
3204
  contentContainerStyle: $.pickerContent,
3204
3205
  showsVerticalScrollIndicator: !1,
3205
3206
  children: ne.map((e) => /* @__PURE__ */ N(V, {
3206
- style: [$.pickerItem, O === e && { backgroundColor: f.primary }],
3207
+ style: [$.pickerItem, O === e && { backgroundColor: m.primary }],
3207
3208
  onPress: () => k(e),
3208
3209
  activeOpacity: .7,
3209
3210
  children: /* @__PURE__ */ N(z, {
3210
3211
  style: [
3211
3212
  $.pickerItemText,
3212
- { color: f.text },
3213
+ { color: m.text },
3213
3214
  O === e && {
3214
- color: f.background,
3215
+ color: m.background,
3215
3216
  fontWeight: "600"
3216
3217
  }
3217
3218
  ],
@@ -3221,28 +3222,28 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
3221
3222
  })]
3222
3223
  }),
3223
3224
  /* @__PURE__ */ N(z, {
3224
- style: [$.pickerSeparator, { color: f.text }],
3225
+ style: [$.pickerSeparator, { color: m.text }],
3225
3226
  children: ":"
3226
3227
  }),
3227
3228
  /* @__PURE__ */ P(H, {
3228
3229
  style: $.pickerColumn,
3229
3230
  children: [/* @__PURE__ */ N(z, {
3230
- style: [$.pickerLabel, { color: f.textMuted }],
3231
+ style: [$.pickerLabel, { color: m.textMuted }],
3231
3232
  children: "Minute"
3232
3233
  }), /* @__PURE__ */ N(L, {
3233
3234
  style: $.picker,
3234
3235
  contentContainerStyle: $.pickerContent,
3235
3236
  showsVerticalScrollIndicator: !1,
3236
3237
  children: re.map((e) => /* @__PURE__ */ N(V, {
3237
- style: [$.pickerItem, A === e && { backgroundColor: f.primary }],
3238
- onPress: () => M(e),
3238
+ style: [$.pickerItem, A === e && { backgroundColor: m.primary }],
3239
+ onPress: () => j(e),
3239
3240
  activeOpacity: .7,
3240
3241
  children: /* @__PURE__ */ N(z, {
3241
3242
  style: [
3242
3243
  $.pickerItemText,
3243
- { color: f.text },
3244
+ { color: m.text },
3244
3245
  A === e && {
3245
- color: f.background,
3246
+ color: m.background,
3246
3247
  fontWeight: "600"
3247
3248
  }
3248
3249
  ],
@@ -3254,25 +3255,25 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
3254
3255
  ]
3255
3256
  }),
3256
3257
  /* @__PURE__ */ N(V, {
3257
- style: [$.confirmButton, { backgroundColor: f.primary }],
3258
- onPress: I,
3258
+ style: [$.confirmButton, { backgroundColor: m.primary }],
3259
+ onPress: F,
3259
3260
  activeOpacity: .7,
3260
3261
  children: /* @__PURE__ */ N(z, {
3261
- style: [$.confirmButtonText, { color: f.background }],
3262
- children: i ? "Next" : "Confirm"
3262
+ style: [$.confirmButtonText, { color: m.background }],
3263
+ children: a ? "Next" : "Confirm"
3263
3264
  })
3264
3265
  })
3265
3266
  ]
3266
3267
  })
3267
3268
  })
3268
3269
  }),
3269
- l && /* @__PURE__ */ N(z, {
3270
- style: [$.error, { color: f.error }],
3271
- children: l
3270
+ u && /* @__PURE__ */ N(z, {
3271
+ style: [$.error, { color: m.error }],
3272
+ children: u
3272
3273
  }),
3273
- d && !l && /* @__PURE__ */ N(z, {
3274
- style: [$.helperText, { color: f.textMuted }],
3275
- children: d
3274
+ f && !u && /* @__PURE__ */ N(z, {
3275
+ style: [$.helperText, { color: m.textMuted }],
3276
+ children: f
3276
3277
  })
3277
3278
  ]
3278
3279
  });
@@ -3377,75 +3378,71 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
3377
3378
  flex: 1,
3378
3379
  fontSize: 14
3379
3380
  }
3380
- }), Ge = (e, t) => /* @__PURE__ */ P(z, { children: [
3381
- "TODO: Implement ",
3382
- t.node.data.type,
3383
- " input for React Native"
3384
- ] }), Ke = {
3385
- address: de,
3386
- autocomplete: me,
3387
- checkbox: he,
3388
- date: ge,
3389
- daterange: _e,
3390
- file: ve,
3391
- hidden: ye,
3392
- http: Ae,
3393
- number: je,
3394
- password: Ne,
3395
- radio: Fe,
3396
- select: Ie,
3397
- submit: Ge,
3398
- switch: Le,
3399
- text: Ve,
3400
- textarea: ze,
3401
- time: Ue,
3402
- timerange: We
3403
- }, qe = ({ label: e, children: t, canGoBack: n, isLastStep: r, canContinue: i, isSubmitting: a, onBack: o, onContinue: s }) => {
3404
- let { colors: c } = x(), l = _(), u = !i || a;
3381
+ }), qe = {
3382
+ address: fe,
3383
+ autocomplete: he,
3384
+ checkbox: ge,
3385
+ date: _e,
3386
+ daterange: ve,
3387
+ file: ye,
3388
+ hidden: be,
3389
+ http: je,
3390
+ number: Me,
3391
+ password: Pe,
3392
+ radio: Ie,
3393
+ select: Le,
3394
+ submit: Re,
3395
+ switch: ze,
3396
+ text: Ue,
3397
+ textarea: Ve,
3398
+ time: Ge,
3399
+ timerange: Ke
3400
+ }, Je = ({ step: e, label: n, children: r, canGoBack: a, isLastStep: o, canContinue: s, isSubmitting: c, onBack: l, onContinue: u }) => {
3401
+ let { colors: d } = p(), f = i(), m = !s || c, h = e.nodes.find((e) => t(e) && e.data.type === "submit"), g = h && t(h) ? f(h.data.label) : void 0, _ = o ? g || f("renderer.defaultSubmitButton.submit") : f("renderer.step.continue");
3405
3402
  return /* @__PURE__ */ P(H, { children: [
3406
- e ? /* @__PURE__ */ N(z, {
3407
- style: [Je.label, { color: c.text }],
3408
- children: e
3403
+ n ? /* @__PURE__ */ N(z, {
3404
+ style: [Ye.label, { color: d.text }],
3405
+ children: n
3409
3406
  }) : null,
3410
3407
  /* @__PURE__ */ N(H, {
3411
- style: Je.content,
3412
- children: t
3408
+ style: Ye.content,
3409
+ children: r
3413
3410
  }),
3414
3411
  /* @__PURE__ */ P(H, {
3415
- style: Je.actions,
3416
- children: [n ? /* @__PURE__ */ N(V, {
3412
+ style: Ye.actions,
3413
+ children: [a ? /* @__PURE__ */ N(V, {
3417
3414
  style: [
3418
- Je.backButton,
3419
- { borderColor: c.border },
3420
- a && Je.disabled
3415
+ Ye.backButton,
3416
+ { borderColor: d.border },
3417
+ c && Ye.disabled
3421
3418
  ],
3422
- onPress: o,
3423
- disabled: a,
3419
+ onPress: l,
3420
+ disabled: c,
3424
3421
  activeOpacity: .7,
3425
3422
  children: /* @__PURE__ */ N(z, {
3426
- style: [Je.backButtonText, { color: c.text }],
3427
- children: l("renderer.step.back")
3423
+ style: [Ye.backButtonText, { color: d.text }],
3424
+ children: f("renderer.step.back")
3428
3425
  })
3429
3426
  }) : /* @__PURE__ */ N(H, {}), /* @__PURE__ */ N(V, {
3430
3427
  style: [
3431
- Je.continueButton,
3432
- { backgroundColor: c.primary },
3433
- u && {
3434
- backgroundColor: c.primaryDisabled,
3428
+ Ye.continueButton,
3429
+ { backgroundColor: d.primary },
3430
+ m && {
3431
+ backgroundColor: d.primaryDisabled,
3435
3432
  opacity: .6
3436
3433
  }
3437
3434
  ],
3438
- onPress: s,
3439
- disabled: u,
3435
+ onPress: u,
3436
+ disabled: m,
3440
3437
  activeOpacity: .7,
3441
- children: a ? /* @__PURE__ */ N(ne, { color: c.primaryForeground }) : /* @__PURE__ */ N(z, {
3442
- style: [Je.continueButtonText, { color: c.primaryForeground }],
3443
- children: l(r ? "renderer.defaultSubmitButton.submit" : "renderer.step.continue")
3438
+ children: c ? /* @__PURE__ */ N(re, { color: d.primaryForeground }) : /* @__PURE__ */ N(z, {
3439
+ style: [Ye.continueButtonText, { color: d.primaryForeground }],
3440
+ children: _
3444
3441
  })
3445
3442
  })]
3446
3443
  })
3447
3444
  ] });
3448
- }, Je = R.create({
3445
+ }, Ye = R.create({
3449
3446
  actions: {
3450
3447
  alignItems: "center",
3451
3448
  flexDirection: "row",
@@ -3480,11 +3477,11 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
3480
3477
  fontWeight: "600",
3481
3478
  marginBottom: 12
3482
3479
  }
3483
- }), Ye = ({ children: e = "Submit", disabled: t, isSubmitting: n, onPress: r }) => {
3484
- let { colors: i } = x();
3480
+ }), Xe = ({ children: e = "Submit", disabled: t, isSubmitting: n, onPress: r }) => {
3481
+ let { colors: i } = p();
3485
3482
  return /* @__PURE__ */ N(V, {
3486
3483
  style: [
3487
- Xe.button,
3484
+ Ze.button,
3488
3485
  { backgroundColor: i.primary },
3489
3486
  (t || n) && {
3490
3487
  backgroundColor: i.primaryDisabled,
@@ -3494,12 +3491,12 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
3494
3491
  disabled: t || n,
3495
3492
  onPress: r,
3496
3493
  activeOpacity: .7,
3497
- children: n ? /* @__PURE__ */ N(ne, { color: i.primaryForeground }) : /* @__PURE__ */ N(z, {
3498
- style: [Xe.buttonText, { color: i.primaryForeground }],
3494
+ children: n ? /* @__PURE__ */ N(re, { color: i.primaryForeground }) : /* @__PURE__ */ N(z, {
3495
+ style: [Ze.buttonText, { color: i.primaryForeground }],
3499
3496
  children: e
3500
3497
  })
3501
3498
  });
3502
- }, Xe = R.create({
3499
+ }, Ze = R.create({
3503
3500
  button: {
3504
3501
  alignItems: "center",
3505
3502
  borderRadius: 6,
@@ -3512,16 +3509,16 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
3512
3509
  fontSize: 16,
3513
3510
  fontWeight: "600"
3514
3511
  }
3515
- }), Ze = ({ children: e }) => e, Qe = ({ node: e }) => {
3516
- let t = _(), { colors: n } = x(), r = t(e.data?.label);
3512
+ }), Qe = ({ children: e }) => e, $e = ({ node: e }) => {
3513
+ let t = i(), { colors: n } = p(), r = t(e.data?.label);
3517
3514
  return /* @__PURE__ */ N(z, {
3518
- style: [et.title, { color: n.text }],
3515
+ style: [tt.title, { color: n.text }],
3519
3516
  children: r
3520
3517
  });
3521
- }, $e = () => {
3522
- let { colors: e } = x();
3523
- return /* @__PURE__ */ N(H, { style: [et.divider, { backgroundColor: e.separator }] });
3524
- }, et = R.create({
3518
+ }, et = () => {
3519
+ let { colors: e } = p();
3520
+ return /* @__PURE__ */ N(H, { style: [tt.divider, { backgroundColor: e.separator }] });
3521
+ }, tt = R.create({
3525
3522
  divider: {
3526
3523
  height: 1,
3527
3524
  marginBottom: 16,
@@ -3532,24 +3529,24 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
3532
3529
  fontWeight: "700",
3533
3530
  marginBottom: 16
3534
3531
  }
3535
- }), tt = {
3536
- divider: $e,
3537
- title: Qe
3538
- }, nt = ({ node: e, children: t }) => {
3532
+ }), nt = {
3533
+ divider: et,
3534
+ title: $e
3535
+ }, rt = ({ node: e, children: t }) => {
3539
3536
  let { image: n } = e.data;
3540
- return /* @__PURE__ */ P(H, { children: [n && /* @__PURE__ */ N(ie, {
3537
+ return /* @__PURE__ */ P(H, { children: [n && /* @__PURE__ */ N(I, {
3541
3538
  source: { uri: n },
3542
- style: rt.image,
3539
+ style: it.image,
3543
3540
  resizeMode: "cover"
3544
3541
  }), t] });
3545
- }, rt = R.create({ image: {
3542
+ }, it = R.create({ image: {
3546
3543
  borderRadius: 6,
3547
3544
  height: 160,
3548
3545
  marginBottom: 8,
3549
3546
  width: "100%"
3550
- } }), it = ({ style: e }) => {
3551
- let { colors: t } = x(), n = A(new F.Value(.5)).current;
3552
- return O(() => {
3547
+ } }), at = ({ style: e }) => {
3548
+ let { colors: t } = p(), n = j(new F.Value(.5)).current;
3549
+ return k(() => {
3553
3550
  let e = F.loop(F.sequence([F.timing(n, {
3554
3551
  duration: 600,
3555
3552
  toValue: 1,
@@ -3561,34 +3558,34 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
3561
3558
  })]));
3562
3559
  return e.start(), () => e.stop();
3563
3560
  }, [n]), /* @__PURE__ */ N(F.View, { style: [
3564
- ot.bar,
3561
+ st.bar,
3565
3562
  {
3566
3563
  backgroundColor: t.muted,
3567
3564
  opacity: n
3568
3565
  },
3569
3566
  e
3570
3567
  ] });
3571
- }, at = () => /* @__PURE__ */ P(H, {
3568
+ }, ot = () => /* @__PURE__ */ P(H, {
3572
3569
  accessibilityState: { busy: !0 },
3573
3570
  children: [
3574
- /* @__PURE__ */ N(it, { style: ot.title }),
3571
+ /* @__PURE__ */ N(at, { style: st.title }),
3575
3572
  /* @__PURE__ */ N(H, {
3576
- style: ot.fields,
3573
+ style: st.fields,
3577
3574
  children: [
3578
3575
  0,
3579
3576
  1,
3580
3577
  2
3581
3578
  ].map((e) => /* @__PURE__ */ P(H, {
3582
- style: ot.field,
3583
- children: [/* @__PURE__ */ N(it, { style: ot.fieldLabel }), /* @__PURE__ */ N(it, { style: ot.fieldInput })]
3579
+ style: st.field,
3580
+ children: [/* @__PURE__ */ N(at, { style: st.fieldLabel }), /* @__PURE__ */ N(at, { style: st.fieldInput })]
3584
3581
  }, e))
3585
3582
  }),
3586
3583
  /* @__PURE__ */ N(H, {
3587
- style: ot.actions,
3588
- children: /* @__PURE__ */ N(it, { style: ot.button })
3584
+ style: st.actions,
3585
+ children: /* @__PURE__ */ N(at, { style: st.button })
3589
3586
  })
3590
3587
  ]
3591
- }), ot = R.create({
3588
+ }), st = R.create({
3592
3589
  actions: {
3593
3590
  alignItems: "flex-end",
3594
3591
  marginTop: 24
@@ -3613,8 +3610,8 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
3613
3610
  marginBottom: 24,
3614
3611
  width: "33%"
3615
3612
  }
3616
- }), st = ({ baseUrl: e, components: t, contentContainerStyle: n, flow: i, googleApiKey: a, headers: o, initialValues: s, isLoading: c = !1, isSubmitting: l = !1, language: u, onBack: d, onChange: f, onSubmit: p, style: m, theme: h, validate: _, validationMode: v }) => {
3617
- let { colors: y } = x(), { canContinueStep: b, canSubmit: S, clearSubmitMessage: C, config: T, currentStep: E, currentStepGroupNode: D, currentStepIndex: ee, formErrors: O, formValues: A, goToNextStep: j, goToPreviousStep: M, handleSubmit: ne, inputNodes: re, isFirstStep: F, isLastStep: I, isSubmitting: ie, missingRequiredFields: ae, setFieldValue: R, steps: oe, submitMessage: B, t: V } = g({
3613
+ }), ct = ({ baseUrl: e, components: t, contentContainerStyle: r, flow: i, googleApiKey: a, headers: o, initialValues: s, isLoading: c = !1, isSubmitting: l = !1, language: u, onBack: d, onChange: f, onSubmit: m, showPoweredBy: h, style: g, theme: _, validate: v, validationMode: y }) => {
3614
+ let { colors: b } = p(), { canContinueStep: x, canSubmit: S, clearSubmitMessage: C, config: w, currentStep: E, currentStepGroupNode: D, currentStepIndex: ee, formErrors: k, formValues: j, goToNextStep: M, goToPreviousStep: ne, handleSubmit: re, inputNodes: ie, isFirstStep: F, isLastStep: ae, isSubmitting: I, missingRequiredFields: oe, setFieldValue: R, steps: se, submitMessage: B, t: V } = T({
3618
3615
  baseUrl: e,
3619
3616
  components: t,
3620
3617
  flow: i,
@@ -3623,106 +3620,107 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
3623
3620
  initialValues: s,
3624
3621
  language: u,
3625
3622
  onChange: f,
3626
- onSubmit: p,
3627
- theme: h,
3628
- validate: _,
3629
- validationMode: v
3630
- }), ce = l || ie, { FormWrapper: le, SubmitButtonWrapper: ue, renderNode: de } = w({
3631
- config: T,
3632
- DefaultFormWrapper: se,
3633
- DefaultInputWrapper: nt,
3634
- DefaultSubmitButton: Ye,
3635
- DefaultSubmitButtonWrapper: Ze,
3636
- defaultInputRenderers: Ke,
3637
- defaultUI: tt,
3638
- formErrors: O,
3639
- formValues: A,
3640
- inputNodes: re,
3641
- isSubmitting: ce,
3642
- missingRequiredFields: ae,
3623
+ onSubmit: m,
3624
+ showPoweredBy: h,
3625
+ theme: _,
3626
+ validate: v,
3627
+ validationMode: y
3628
+ }), le = l || I, { FormWrapper: ue, SubmitButtonWrapper: de, renderNode: fe } = O({
3629
+ config: w,
3630
+ DefaultFormWrapper: ce,
3631
+ DefaultInputWrapper: rt,
3632
+ DefaultSubmitButton: Xe,
3633
+ DefaultSubmitButtonWrapper: Qe,
3634
+ defaultInputRenderers: qe,
3635
+ defaultUI: nt,
3636
+ formErrors: k,
3637
+ formValues: j,
3638
+ inputNodes: ie,
3639
+ isSubmitting: le,
3640
+ missingRequiredFields: oe,
3643
3641
  setFieldValue: R
3644
- }), U = T.components.step ?? qe, fe = T.components.loadingSkeleton ?? at, pe = k(() => V(D?.data?.label), [V, D]), me = te(() => {
3645
- if (I) {
3646
- ne();
3642
+ }), U = w.components.step ?? Je, pe = w.components.loadingSkeleton ?? ot, me = A(() => V(D?.data?.label), [V, D]), he = te(() => {
3643
+ if (ae) {
3644
+ re();
3647
3645
  return;
3648
3646
  }
3649
- j();
3647
+ M();
3650
3648
  }, [
3651
- I,
3652
- ne,
3653
- j
3649
+ ae,
3650
+ re,
3651
+ M
3654
3652
  ]), W = te(() => {
3655
3653
  if (F) {
3656
3654
  d?.();
3657
3655
  return;
3658
3656
  }
3659
- M();
3657
+ ne();
3660
3658
  }, [
3661
3659
  F,
3662
3660
  d,
3663
- M
3664
- ]), he = !F || !!d;
3661
+ ne
3662
+ ]), ge = !F || !!d;
3665
3663
  return /* @__PURE__ */ N(L, {
3666
3664
  nestedScrollEnabled: !0,
3667
3665
  style: [
3668
- lt.container,
3669
- { backgroundColor: y.background },
3670
- m
3666
+ ut.container,
3667
+ { backgroundColor: b.background },
3668
+ g
3671
3669
  ],
3672
- contentContainerStyle: n,
3673
- children: c ? /* @__PURE__ */ N(fe, {}) : /* @__PURE__ */ P(r, {
3670
+ contentContainerStyle: r,
3671
+ children: c ? /* @__PURE__ */ N(pe, {}) : /* @__PURE__ */ P(n, {
3674
3672
  value: {
3675
- baseUrl: T.baseUrl,
3673
+ baseUrl: w.baseUrl,
3676
3674
  flow: i,
3677
- formErrors: O,
3678
- formValues: A,
3679
- googleApiKey: T.googleApiKey,
3680
- headers: T.headers,
3681
- inputNodes: re,
3682
- language: T.language,
3675
+ formErrors: k,
3676
+ formValues: j,
3677
+ googleApiKey: w.googleApiKey,
3678
+ headers: w.headers,
3679
+ inputNodes: ie,
3680
+ language: w.language,
3683
3681
  setFieldValue: R
3684
3682
  },
3685
- children: [/* @__PURE__ */ P(le, {
3686
- onSubmit: ne,
3687
- children: [E && /* @__PURE__ */ N(ue, {
3688
- missingFields: I ? ae : void 0,
3683
+ children: [/* @__PURE__ */ P(ue, {
3684
+ onSubmit: re,
3685
+ children: [E && /* @__PURE__ */ N(de, {
3686
+ missingFields: oe,
3689
3687
  children: /* @__PURE__ */ N(U, {
3690
3688
  step: E,
3691
3689
  groupNode: D,
3692
3690
  stepIndex: ee,
3693
- totalSteps: oe.length,
3691
+ totalSteps: se.length,
3694
3692
  isFirstStep: F,
3695
- isLastStep: I,
3696
- canContinue: b && (!I || S),
3697
- canGoBack: he,
3698
- isSubmitting: ce,
3693
+ isLastStep: ae,
3694
+ canContinue: x && (!ae || S),
3695
+ canGoBack: ge,
3696
+ isSubmitting: le,
3699
3697
  onBack: W,
3700
- onContinue: me,
3701
- label: pe,
3702
- children: E.nodes.map((e) => de(e))
3698
+ onContinue: he,
3699
+ label: me,
3700
+ children: E.nodes.map((e) => fe(e))
3703
3701
  })
3704
- }), /* @__PURE__ */ N(z, {
3705
- style: [lt.poweredBy, { color: y.textMuted }],
3702
+ }), w.showPoweredBy && /* @__PURE__ */ N(z, {
3703
+ style: [ut.poweredBy, { color: b.textMuted }],
3706
3704
  children: "Powered by Treege"
3707
3705
  })]
3708
3706
  }), B && /* @__PURE__ */ P(H, {
3709
- style: [lt.message, { backgroundColor: B.type === "success" ? y.successBg : y.errorBg }],
3707
+ style: [ut.message, { backgroundColor: B.type === "success" ? b.successBg : b.errorBg }],
3710
3708
  children: [/* @__PURE__ */ N(z, {
3711
- style: [lt.messageText, { color: B.type === "success" ? y.success : y.error }],
3709
+ style: [ut.messageText, { color: B.type === "success" ? b.success : b.error }],
3712
3710
  children: B.message
3713
3711
  }), /* @__PURE__ */ N(z, {
3714
- style: [lt.messageClose, { color: B.type === "success" ? y.success : y.error }],
3712
+ style: [ut.messageClose, { color: B.type === "success" ? b.success : b.error }],
3715
3713
  onPress: C,
3716
3714
  children: V("common.close")
3717
3715
  })]
3718
3716
  })]
3719
3717
  })
3720
3718
  });
3721
- }, ct = (e) => /* @__PURE__ */ N(E, {
3719
+ }, lt = (e) => /* @__PURE__ */ N(v, {
3722
3720
  theme: e.theme,
3723
3721
  storageKey: "treege-renderer-theme",
3724
- children: /* @__PURE__ */ N(st, { ...e })
3725
- }), lt = R.create({
3722
+ children: /* @__PURE__ */ N(ct, { ...e })
3723
+ }), ut = R.create({
3726
3724
  container: { flex: 1 },
3727
3725
  message: {
3728
3726
  borderRadius: 6,
@@ -3745,4 +3743,4 @@ var se = ({ children: e }) => /* @__PURE__ */ N(H, {
3745
3743
  }
3746
3744
  });
3747
3745
  //#endregion
3748
- export { de as DefaultAddressInput, me as DefaultAutocompleteInput, he as DefaultCheckboxInput, ge as DefaultDateInput, _e as DefaultDateRangeInput, $e as DefaultDividerUI, ve as DefaultFileInput, ye as DefaultHiddenInput, Ae as DefaultHttpInput, je as DefaultNumberInput, Ne as DefaultPasswordInput, Fe as DefaultRadioInput, Ie as DefaultSelectInput, Ge as DefaultSubmitInput, Le as DefaultSwitchInput, Ve as DefaultTextInput, ze as DefaultTextareaInput, Ue as DefaultTimeInput, We as DefaultTimeRangeInput, Qe as DefaultTitleUI, ct as TreegeRenderer, D as TreegeRendererProvider, p as applyReferenceTransformation, C as buildInitialFormValues, b as calculateReferenceFieldUpdates, h as checkFormFieldHasValue, m as convertFormValuesToNamedFormat, Ke as defaultInputRenderers, tt as defaultUI, d as evaluateCondition, y as evaluateConditions, u as fileToSerializable, ee as filesToSerializable, l as findStartNode, S as getFlowRenderState, s as getTranslatedText, c as isFieldEmpty, T as isStartNode, we as sanitize, Ee as sanitizeHttpResponse, a as serializableToFile, g as useTreegeRenderer, f as useTreegeRendererConfig };
3746
+ export { fe as DefaultAddressInput, he as DefaultAutocompleteInput, ge as DefaultCheckboxInput, _e as DefaultDateInput, ve as DefaultDateRangeInput, et as DefaultDividerUI, ye as DefaultFileInput, be as DefaultHiddenInput, je as DefaultHttpInput, Me as DefaultNumberInput, Pe as DefaultPasswordInput, Ie as DefaultRadioInput, Le as DefaultSelectInput, ze as DefaultSwitchInput, Ue as DefaultTextInput, Ve as DefaultTextareaInput, Ge as DefaultTimeInput, Ke as DefaultTimeRangeInput, $e as DefaultTitleUI, lt as TreegeRenderer, S as TreegeRendererProvider, g as applyReferenceTransformation, u as buildInitialFormValues, a as calculateReferenceFieldUpdates, m as checkFormFieldHasValue, _ as convertFormValuesToNamedFormat, qe as defaultInputRenderers, nt as defaultUI, E as evaluateCondition, ee as evaluateConditions, h as fileToSerializable, f as filesToSerializable, D as findStartNode, C as getFlowRenderState, r as getTranslatedText, s as isFieldEmpty, x as isStartNode, Te as sanitize, De as sanitizeHttpResponse, l as serializableToFile, T as useTreegeRenderer, w as useTreegeRendererConfig };