treege 3.0.0-beta.29 → 3.0.0-beta.30

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 (36) hide show
  1. package/dist/ThemeContext-D49eu_oE.js +1472 -0
  2. package/dist/editor/constants/nodeTypes.d.ts +4 -4
  3. package/dist/editor/context/TreegeEditorContext.d.ts +9 -1
  4. package/dist/editor/features/TreegeEditor/inputs/OptionImageField.d.ts +6 -0
  5. package/dist/editor/features/TreegeEditor/nodes/GroupNode.d.ts +1 -1
  6. package/dist/editor/features/TreegeEditor/nodes/TreegeNode.d.ts +6 -0
  7. package/dist/editor/features/TreegeEditor/nodes/components/BottomHandleDropdown.d.ts +6 -0
  8. package/dist/editor/features/TreegeEditor/nodes/components/NodeLabelInput.d.ts +9 -0
  9. package/dist/editor/features/TreegeEditor/nodes/components/NodeTypeBadge.d.ts +8 -0
  10. package/dist/editor/features/TreegeEditor/nodes/components/OpenSheetButton.d.ts +6 -0
  11. package/dist/editor/features/TreegeEditor/nodes/components/SubTypeBadge.d.ts +8 -0
  12. package/dist/editor/hooks/useFlowActions.d.ts +1 -0
  13. package/dist/editor/hooks/useFlowConnections.d.ts +4 -1
  14. package/dist/editor/utils/image.d.ts +7 -0
  15. package/dist/{editor-iWcSAxOr.js → editor-DnrJgSrC.js} +1246 -1035
  16. package/dist/editor.js +2 -2
  17. package/dist/main.js +4 -4
  18. package/dist/{renderer-DZD267lH.js → renderer-MCPhNlp1.js} +20 -12
  19. package/dist/renderer-native.js +644 -631
  20. package/dist/renderer.js +3 -3
  21. package/dist/{separator-DzU4sadU.js → separator-gO82kpxa.js} +1 -1
  22. package/dist/shared/locales/ar.json.d.ts +12 -0
  23. package/dist/shared/locales/de.json.d.ts +12 -0
  24. package/dist/shared/locales/en.json.d.ts +12 -0
  25. package/dist/shared/locales/es.json.d.ts +12 -0
  26. package/dist/shared/locales/fr.json.d.ts +12 -0
  27. package/dist/shared/locales/it.json.d.ts +12 -0
  28. package/dist/shared/locales/pt.json.d.ts +12 -0
  29. package/dist/shared/types/node.d.ts +5 -0
  30. package/dist/{useRenderNode-Huckx5bu.js → useRenderNode-B_GPMTPf.js} +1 -1
  31. package/package.json +1 -1
  32. package/dist/ThemeContext-cNnjiSPY.js +0 -2152
  33. package/dist/editor/features/TreegeEditor/nodes/FlowNode.d.ts +0 -6
  34. package/dist/editor/features/TreegeEditor/nodes/InputNode.d.ts +0 -6
  35. package/dist/editor/features/TreegeEditor/nodes/UINode.d.ts +0 -6
  36. package/dist/editor/features/TreegeEditor/nodes/hooks/useBottomHandleClick.d.ts +0 -8
@@ -1,24 +1,24 @@
1
- import { f as e, n as t, s as n, t as r } from "./ThemeContext-cNnjiSPY.js";
2
- import { C as i, S as a, _ as o, a as s, b as c, c as l, d as u, f as d, i as f, l as p, m, n as h, o as g, p as _, r as v, s as y, t as b, u as x, v as S, w as C, x as w, y as T } from "./useRenderNode-Huckx5bu.js";
1
+ import { f as e, n as t, s as n, t as r } from "./ThemeContext-D49eu_oE.js";
2
+ import { C as i, S as a, _ as o, a as s, b as c, c as l, d as u, f as d, i as f, l as p, m, n as h, o as g, p as _, r as v, s as y, t as b, u as x, v as S, w as C, x as w, y as T } from "./useRenderNode-B_GPMTPf.js";
3
3
  import { useCallback as E, useEffect as D, useMemo as O, useRef as k, useState as A } from "react";
4
- import { ActivityIndicator as j, Alert as M, FlatList as N, Modal as P, ScrollView as F, StyleSheet as I, Switch as ee, Text as L, TextInput as R, TouchableOpacity as z, View as B } from "react-native";
4
+ import { ActivityIndicator as j, Alert as M, FlatList as ee, Image as N, Modal as P, ScrollView as F, StyleSheet as I, Switch as te, Text as L, TextInput as ne, TouchableOpacity as R, View as z } from "react-native";
5
5
  //#region src/renderer/features/TreegeRenderer/native/components/DefaultFormWrapper.tsx
6
- var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
7
- style: ne.container,
6
+ var B = e(), re = ({ children: e }) => /* @__PURE__ */ (0, B.jsx)(z, {
7
+ style: ie.container,
8
8
  children: e
9
- }), ne = I.create({ container: { padding: 16 } }), re = ({ children: e, node: n }) => {
9
+ }), ie = I.create({ container: { padding: 16 } }), ae = ({ children: e, node: n }) => {
10
10
  let r = g(), { colors: i } = t(), a = r(n.data.label);
11
- return /* @__PURE__ */ (0, V.jsxs)(B, {
12
- style: ie.container,
13
- children: [a && /* @__PURE__ */ (0, V.jsx)(L, {
14
- style: [ie.label, { color: i.text }],
11
+ return /* @__PURE__ */ (0, B.jsxs)(z, {
12
+ style: oe.container,
13
+ children: [a && /* @__PURE__ */ (0, B.jsx)(L, {
14
+ style: [oe.label, { color: i.text }],
15
15
  children: a
16
- }), /* @__PURE__ */ (0, V.jsx)(B, {
17
- style: ie.content,
16
+ }), /* @__PURE__ */ (0, B.jsx)(z, {
17
+ style: oe.content,
18
18
  children: e
19
19
  })]
20
20
  });
21
- }, ie = I.create({
21
+ }, oe = I.create({
22
22
  container: { marginBottom: 16 },
23
23
  content: { gap: 8 },
24
24
  label: {
@@ -26,7 +26,7 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
26
26
  fontWeight: "600",
27
27
  marginBottom: 12
28
28
  }
29
- }), ae = async (e, t) => {
29
+ }), se = async (e, t) => {
30
30
  if (!e || e.trim().length < 3) return [];
31
31
  try {
32
32
  let n = await fetch(`https://nominatim.openstreetmap.org/search?q=${encodeURIComponent(e)}&format=jsonv2&addressdetails=1&limit=5`, { headers: {
@@ -41,7 +41,7 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
41
41
  } catch (e) {
42
42
  return console.error("Nominatim fetch error:", e), [];
43
43
  }
44
- }, oe = async (e, t) => {
44
+ }, V = async (e, t) => {
45
45
  if (!e || e.trim().length < 3) return [];
46
46
  try {
47
47
  let n = await fetch(`https://maps.googleapis.com/maps/api/place/autocomplete/json?input=${encodeURIComponent(e)}&key=${t}`);
@@ -54,7 +54,7 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
54
54
  } catch (e) {
55
55
  return console.error("Google Places fetch error:", e), [];
56
56
  }
57
- }, H = ({ node: e, value: n, setValue: r, error: i, label: a, placeholder: o, helperText: s, id: c, name: u }) => {
57
+ }, ce = ({ node: e, value: n, setValue: r, error: i, label: a, placeholder: o, helperText: s, id: c, name: u }) => {
58
58
  let [d, f] = A(""), [p, m] = A([]), [h, _] = A(!1), [v, y] = A(!1), { language: b, googleApiKey: x } = l(), S = g(), { colors: C } = t(), w = E((e) => {
59
59
  r(e.value), f(""), _(!1), m([]);
60
60
  }, [r]), T = () => {
@@ -67,7 +67,7 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
67
67
  }
68
68
  y(!0);
69
69
  let e = setTimeout(async () => {
70
- m(x ? await oe(d, x) : await ae(d, b)), y(!1);
70
+ m(x ? await V(d, x) : await se(d, b)), y(!1);
71
71
  }, 300);
72
72
  return () => {
73
73
  clearTimeout(e), y(!1);
@@ -76,19 +76,19 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
76
76
  d,
77
77
  b,
78
78
  x
79
- ]), /* @__PURE__ */ (0, V.jsxs)(B, {
80
- style: U.container,
79
+ ]), /* @__PURE__ */ (0, B.jsxs)(z, {
80
+ style: H.container,
81
81
  children: [
82
- /* @__PURE__ */ (0, V.jsxs)(L, {
83
- style: [U.label, { color: C.textSecondary }],
84
- children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, V.jsx)(L, {
82
+ /* @__PURE__ */ (0, B.jsxs)(L, {
83
+ style: [H.label, { color: C.textSecondary }],
84
+ children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, B.jsx)(L, {
85
85
  style: { color: C.error },
86
86
  children: "*"
87
87
  })]
88
88
  }),
89
- /* @__PURE__ */ (0, V.jsxs)(z, {
89
+ /* @__PURE__ */ (0, B.jsxs)(R, {
90
90
  style: [
91
- U.trigger,
91
+ H.trigger,
92
92
  {
93
93
  backgroundColor: C.input,
94
94
  borderColor: C.border
@@ -97,50 +97,50 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
97
97
  ],
98
98
  onPress: () => _(!0),
99
99
  activeOpacity: .7,
100
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
100
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
101
101
  style: [
102
- U.triggerText,
102
+ H.triggerText,
103
103
  { color: C.text },
104
104
  !n && { color: C.textMuted }
105
105
  ],
106
106
  numberOfLines: 1,
107
107
  children: n || o || S("renderer.defaultAddressInput.enterAddress")
108
- }), /* @__PURE__ */ (0, V.jsx)(L, {
109
- style: U.icon,
108
+ }), /* @__PURE__ */ (0, B.jsx)(L, {
109
+ style: H.icon,
110
110
  children: "📍"
111
111
  })]
112
112
  }),
113
- /* @__PURE__ */ (0, V.jsx)(P, {
113
+ /* @__PURE__ */ (0, B.jsx)(P, {
114
114
  visible: h,
115
115
  transparent: !0,
116
116
  animationType: "fade",
117
117
  onRequestClose: T,
118
- children: /* @__PURE__ */ (0, V.jsx)(z, {
119
- style: U.modalOverlay,
118
+ children: /* @__PURE__ */ (0, B.jsx)(R, {
119
+ style: H.modalOverlay,
120
120
  activeOpacity: 1,
121
121
  onPress: T,
122
- children: /* @__PURE__ */ (0, V.jsxs)(z, {
123
- style: [U.modalContent, { backgroundColor: C.card }],
122
+ children: /* @__PURE__ */ (0, B.jsxs)(R, {
123
+ style: [H.modalContent, { backgroundColor: C.card }],
124
124
  activeOpacity: 1,
125
125
  onPress: () => {},
126
126
  children: [
127
- /* @__PURE__ */ (0, V.jsxs)(B, {
128
- style: [U.modalHeader, { borderBottomColor: C.separator }],
129
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
130
- style: [U.modalTitle, { color: C.text }],
127
+ /* @__PURE__ */ (0, B.jsxs)(z, {
128
+ style: [H.modalHeader, { borderBottomColor: C.separator }],
129
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
130
+ style: [H.modalTitle, { color: C.text }],
131
131
  children: a || e.data.name
132
- }), /* @__PURE__ */ (0, V.jsx)(z, {
132
+ }), /* @__PURE__ */ (0, B.jsx)(R, {
133
133
  onPress: T,
134
- children: /* @__PURE__ */ (0, V.jsx)(L, {
135
- style: [U.closeButton, { color: C.textMuted }],
134
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
135
+ style: [H.closeButton, { color: C.textMuted }],
136
136
  children: "✕"
137
137
  })
138
138
  })]
139
139
  }),
140
- /* @__PURE__ */ (0, V.jsxs)(B, {
141
- style: U.searchContainer,
142
- children: [/* @__PURE__ */ (0, V.jsx)(R, {
143
- style: [U.searchInput, {
140
+ /* @__PURE__ */ (0, B.jsxs)(z, {
141
+ style: H.searchContainer,
142
+ children: [/* @__PURE__ */ (0, B.jsx)(ne, {
143
+ style: [H.searchInput, {
144
144
  backgroundColor: C.muted,
145
145
  borderColor: C.border,
146
146
  color: C.text
@@ -152,49 +152,49 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
152
152
  autoFocus: !0,
153
153
  autoCapitalize: "none",
154
154
  autoCorrect: !1
155
- }), v && /* @__PURE__ */ (0, V.jsx)(j, {
155
+ }), v && /* @__PURE__ */ (0, B.jsx)(j, {
156
156
  size: "small",
157
157
  color: C.primary,
158
- style: U.searchLoader
158
+ style: H.searchLoader
159
159
  })]
160
160
  }),
161
- v ? /* @__PURE__ */ (0, V.jsxs)(B, {
162
- style: U.loadingContainer,
163
- children: [/* @__PURE__ */ (0, V.jsx)(j, {
161
+ v ? /* @__PURE__ */ (0, B.jsxs)(z, {
162
+ style: H.loadingContainer,
163
+ children: [/* @__PURE__ */ (0, B.jsx)(j, {
164
164
  size: "small",
165
165
  color: C.primary
166
- }), /* @__PURE__ */ (0, V.jsx)(L, {
167
- style: [U.loadingText, { color: C.textMuted }],
166
+ }), /* @__PURE__ */ (0, B.jsx)(L, {
167
+ style: [H.loadingText, { color: C.textMuted }],
168
168
  children: S("renderer.defaultAddressInput.searching")
169
169
  })]
170
- }) : /* @__PURE__ */ (0, V.jsx)(N, {
170
+ }) : /* @__PURE__ */ (0, B.jsx)(ee, {
171
171
  data: p,
172
172
  keyExtractor: (e, t) => t.toString(),
173
- style: U.suggestionsList,
174
- contentContainerStyle: U.suggestionsListContent,
173
+ style: H.suggestionsList,
174
+ contentContainerStyle: H.suggestionsListContent,
175
175
  keyboardShouldPersistTaps: "handled",
176
- ListEmptyComponent: d.length >= 3 ? /* @__PURE__ */ (0, V.jsx)(B, {
177
- style: U.emptyContainer,
178
- children: /* @__PURE__ */ (0, V.jsx)(L, {
179
- style: [U.emptyText, { color: C.textMuted }],
176
+ ListEmptyComponent: d.length >= 3 ? /* @__PURE__ */ (0, B.jsx)(z, {
177
+ style: H.emptyContainer,
178
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
179
+ style: [H.emptyText, { color: C.textMuted }],
180
180
  children: S("renderer.defaultAddressInput.noAddressesFound")
181
181
  })
182
- }) : /* @__PURE__ */ (0, V.jsx)(B, {
183
- style: U.emptyContainer,
184
- children: /* @__PURE__ */ (0, V.jsx)(L, {
185
- style: [U.emptyText, { color: C.textMuted }],
182
+ }) : /* @__PURE__ */ (0, B.jsx)(z, {
183
+ style: H.emptyContainer,
184
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
185
+ style: [H.emptyText, { color: C.textMuted }],
186
186
  children: S("renderer.defaultAddressInput.typeMinChars")
187
187
  })
188
188
  }),
189
- renderItem: ({ item: e }) => /* @__PURE__ */ (0, V.jsxs)(z, {
190
- style: U.suggestionItem,
189
+ renderItem: ({ item: e }) => /* @__PURE__ */ (0, B.jsxs)(R, {
190
+ style: H.suggestionItem,
191
191
  onPress: () => w(e),
192
192
  activeOpacity: .7,
193
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
194
- style: U.suggestionIcon,
193
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
194
+ style: H.suggestionIcon,
195
195
  children: "📍"
196
- }), /* @__PURE__ */ (0, V.jsx)(L, {
197
- style: [U.suggestionText, { color: C.text }],
196
+ }), /* @__PURE__ */ (0, B.jsx)(L, {
197
+ style: [H.suggestionText, { color: C.text }],
198
198
  numberOfLines: 2,
199
199
  children: e.label
200
200
  })]
@@ -204,17 +204,17 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
204
204
  })
205
205
  })
206
206
  }),
207
- i && /* @__PURE__ */ (0, V.jsx)(L, {
208
- style: [U.error, { color: C.error }],
207
+ i && /* @__PURE__ */ (0, B.jsx)(L, {
208
+ style: [H.error, { color: C.error }],
209
209
  children: i
210
210
  }),
211
- s && !i && /* @__PURE__ */ (0, V.jsx)(L, {
212
- style: [U.helperText, { color: C.textMuted }],
211
+ s && !i && /* @__PURE__ */ (0, B.jsx)(L, {
212
+ style: [H.helperText, { color: C.textMuted }],
213
213
  children: s
214
214
  })
215
215
  ]
216
216
  });
217
- }, U = I.create({
217
+ }, H = I.create({
218
218
  closeButton: {
219
219
  fontSize: 24,
220
220
  fontWeight: "300"
@@ -324,7 +324,7 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
324
324
  flex: 1,
325
325
  fontSize: 14
326
326
  }
327
- }), se = ({ node: e, value: n, setValue: r, error: i, label: a, placeholder: o, helperText: s }) => {
327
+ }), le = ({ node: e, value: n, setValue: r, error: i, label: a, placeholder: o, helperText: s }) => {
328
328
  let [c, l] = A(!1), [u, d] = A(""), f = g(), { colors: p } = t(), m = e.data.options || [], h = m.find((e) => e.value === n), _ = O(() => {
329
329
  if (!u.trim()) return m;
330
330
  let e = u.toLowerCase();
@@ -338,19 +338,19 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
338
338
  }, y = () => {
339
339
  l(!1), d("");
340
340
  };
341
- return /* @__PURE__ */ (0, V.jsxs)(B, {
342
- style: W.container,
341
+ return /* @__PURE__ */ (0, B.jsxs)(z, {
342
+ style: U.container,
343
343
  children: [
344
- /* @__PURE__ */ (0, V.jsxs)(L, {
345
- style: [W.label, { color: p.textSecondary }],
346
- children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, V.jsx)(L, {
344
+ /* @__PURE__ */ (0, B.jsxs)(L, {
345
+ style: [U.label, { color: p.textSecondary }],
346
+ children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, B.jsx)(L, {
347
347
  style: { color: p.error },
348
348
  children: "*"
349
349
  })]
350
350
  }),
351
- /* @__PURE__ */ (0, V.jsxs)(z, {
351
+ /* @__PURE__ */ (0, B.jsxs)(R, {
352
352
  style: [
353
- W.trigger,
353
+ U.trigger,
354
354
  {
355
355
  backgroundColor: p.input,
356
356
  borderColor: p.border
@@ -359,50 +359,50 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
359
359
  ],
360
360
  onPress: () => l(!0),
361
361
  activeOpacity: .7,
362
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
362
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
363
363
  style: [
364
- W.triggerText,
364
+ U.triggerText,
365
365
  { color: p.text },
366
366
  !n && { color: p.textMuted }
367
367
  ],
368
368
  numberOfLines: 1,
369
369
  children: n && h ? f(h.label) : o || f("renderer.defaultAutocompleteInput.selectOption")
370
- }), /* @__PURE__ */ (0, V.jsx)(L, {
371
- style: [W.arrow, { color: p.textMuted }],
370
+ }), /* @__PURE__ */ (0, B.jsx)(L, {
371
+ style: [U.arrow, { color: p.textMuted }],
372
372
  children: "▼"
373
373
  })]
374
374
  }),
375
- /* @__PURE__ */ (0, V.jsx)(P, {
375
+ /* @__PURE__ */ (0, B.jsx)(P, {
376
376
  visible: c,
377
377
  transparent: !0,
378
378
  animationType: "fade",
379
379
  onRequestClose: y,
380
- children: /* @__PURE__ */ (0, V.jsx)(z, {
381
- style: W.modalOverlay,
380
+ children: /* @__PURE__ */ (0, B.jsx)(R, {
381
+ style: U.modalOverlay,
382
382
  activeOpacity: 1,
383
383
  onPress: y,
384
- children: /* @__PURE__ */ (0, V.jsxs)(z, {
385
- style: [W.modalContent, { backgroundColor: p.card }],
384
+ children: /* @__PURE__ */ (0, B.jsxs)(R, {
385
+ style: [U.modalContent, { backgroundColor: p.card }],
386
386
  activeOpacity: 1,
387
387
  onPress: () => {},
388
388
  children: [
389
- /* @__PURE__ */ (0, V.jsxs)(B, {
390
- style: [W.modalHeader, { borderBottomColor: p.separator }],
391
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
392
- style: [W.modalTitle, { color: p.text }],
389
+ /* @__PURE__ */ (0, B.jsxs)(z, {
390
+ style: [U.modalHeader, { borderBottomColor: p.separator }],
391
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
392
+ style: [U.modalTitle, { color: p.text }],
393
393
  children: a || e.data.name
394
- }), /* @__PURE__ */ (0, V.jsx)(z, {
394
+ }), /* @__PURE__ */ (0, B.jsx)(R, {
395
395
  onPress: y,
396
- children: /* @__PURE__ */ (0, V.jsx)(L, {
397
- style: [W.closeButton, { color: p.textMuted }],
396
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
397
+ style: [U.closeButton, { color: p.textMuted }],
398
398
  children: "✕"
399
399
  })
400
400
  })]
401
401
  }),
402
- /* @__PURE__ */ (0, V.jsx)(B, {
403
- style: W.searchContainer,
404
- children: /* @__PURE__ */ (0, V.jsx)(R, {
405
- style: [W.searchInput, {
402
+ /* @__PURE__ */ (0, B.jsx)(z, {
403
+ style: U.searchContainer,
404
+ children: /* @__PURE__ */ (0, B.jsx)(ne, {
405
+ style: [U.searchInput, {
406
406
  backgroundColor: p.muted,
407
407
  borderColor: p.border,
408
408
  color: p.text
@@ -416,34 +416,34 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
416
416
  autoCorrect: !1
417
417
  })
418
418
  }),
419
- /* @__PURE__ */ (0, V.jsx)(N, {
419
+ /* @__PURE__ */ (0, B.jsx)(ee, {
420
420
  data: _,
421
421
  keyExtractor: (e) => e.value,
422
- style: W.optionsList,
423
- contentContainerStyle: W.optionsListContent,
424
- ListEmptyComponent: /* @__PURE__ */ (0, V.jsx)(B, {
425
- style: W.emptyContainer,
426
- children: /* @__PURE__ */ (0, V.jsx)(L, {
427
- style: [W.emptyText, { color: p.textMuted }],
422
+ style: U.optionsList,
423
+ contentContainerStyle: U.optionsListContent,
424
+ ListEmptyComponent: /* @__PURE__ */ (0, B.jsx)(z, {
425
+ style: U.emptyContainer,
426
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
427
+ style: [U.emptyText, { color: p.textMuted }],
428
428
  children: f("renderer.defaultAutocompleteInput.noResults")
429
429
  })
430
430
  }),
431
431
  renderItem: ({ item: e }) => {
432
432
  let t = e.value === n;
433
- return /* @__PURE__ */ (0, V.jsxs)(z, {
434
- style: [W.option, t && { backgroundColor: p.primaryLight }],
433
+ return /* @__PURE__ */ (0, B.jsxs)(R, {
434
+ style: [U.option, t && { backgroundColor: p.primaryLight }],
435
435
  onPress: () => v(e.value),
436
436
  disabled: e.disabled,
437
437
  activeOpacity: .7,
438
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
438
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
439
439
  style: [
440
- W.optionText,
440
+ U.optionText,
441
441
  { color: p.text },
442
442
  e.disabled && { color: p.textMuted }
443
443
  ],
444
444
  children: f(e.label)
445
- }), t && /* @__PURE__ */ (0, V.jsx)(L, {
446
- style: [W.checkmark, { color: p.primary }],
445
+ }), t && /* @__PURE__ */ (0, B.jsx)(L, {
446
+ style: [U.checkmark, { color: p.primary }],
447
447
  children: "✓"
448
448
  })]
449
449
  });
@@ -453,17 +453,17 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
453
453
  })
454
454
  })
455
455
  }),
456
- i && /* @__PURE__ */ (0, V.jsx)(L, {
457
- style: [W.error, { color: p.error }],
456
+ i && /* @__PURE__ */ (0, B.jsx)(L, {
457
+ style: [U.error, { color: p.error }],
458
458
  children: i
459
459
  }),
460
- s && !i && /* @__PURE__ */ (0, V.jsx)(L, {
461
- style: [W.helperText, { color: p.textMuted }],
460
+ s && !i && /* @__PURE__ */ (0, B.jsx)(L, {
461
+ style: [U.helperText, { color: p.textMuted }],
462
462
  children: s
463
463
  })
464
464
  ]
465
465
  });
466
- }, W = I.create({
466
+ }, U = I.create({
467
467
  arrow: { fontSize: 12 },
468
468
  checkmark: {
469
469
  fontSize: 18,
@@ -554,21 +554,21 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
554
554
  flex: 1,
555
555
  fontSize: 14
556
556
  }
557
- }), ce = ({ node: e, value: n, setValue: r, error: i, label: a, helperText: o }) => {
557
+ }), W = ({ node: e, value: n, setValue: r, error: i, label: a, helperText: o }) => {
558
558
  let s = g(), { colors: c } = t(), l = e.data.options || [], u = l.length > 0, d = Array.isArray(n) ? n : [], f = typeof n == "boolean" ? n : !1, p = (e) => {
559
559
  r(u ? d.includes(e) ? d.filter((t) => t !== e) : [...d, e] : !f);
560
560
  }, m = (e) => u ? d.includes(e) : f;
561
- return /* @__PURE__ */ (0, V.jsxs)(B, {
561
+ return /* @__PURE__ */ (0, B.jsxs)(z, {
562
562
  style: G.container,
563
563
  children: [
564
- /* @__PURE__ */ (0, V.jsxs)(L, {
564
+ /* @__PURE__ */ (0, B.jsxs)(L, {
565
565
  style: [G.label, { color: c.textSecondary }],
566
- children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, V.jsx)(L, {
566
+ children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, B.jsx)(L, {
567
567
  style: { color: c.error },
568
568
  children: "*"
569
569
  })]
570
570
  }),
571
- l.length > 0 ? l.map((e) => /* @__PURE__ */ (0, V.jsxs)(z, {
571
+ l.length > 0 ? l.map((e) => /* @__PURE__ */ (0, B.jsxs)(R, {
572
572
  style: G.option,
573
573
  onPress: () => p(e.value),
574
574
  disabled: e.disabled,
@@ -580,7 +580,7 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
580
580
  disabled: e.disabled
581
581
  },
582
582
  accessibilityLabel: s(e.label) || e.value,
583
- children: [/* @__PURE__ */ (0, V.jsx)(B, {
583
+ children: [/* @__PURE__ */ (0, B.jsx)(z, {
584
584
  style: [
585
585
  G.checkbox,
586
586
  {
@@ -592,11 +592,11 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
592
592
  borderColor: c.primary
593
593
  }
594
594
  ],
595
- children: m(e.value) && /* @__PURE__ */ (0, V.jsx)(L, {
595
+ children: m(e.value) && /* @__PURE__ */ (0, B.jsx)(L, {
596
596
  style: G.checkmark,
597
597
  children: "✓"
598
598
  })
599
- }), /* @__PURE__ */ (0, V.jsx)(L, {
599
+ }), /* @__PURE__ */ (0, B.jsx)(L, {
600
600
  style: [
601
601
  G.optionLabel,
602
602
  { color: c.textSecondary },
@@ -604,7 +604,7 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
604
604
  ],
605
605
  children: s(e.label) || e.value
606
606
  })]
607
- }, e.value)) : /* @__PURE__ */ (0, V.jsxs)(z, {
607
+ }, e.value)) : /* @__PURE__ */ (0, B.jsxs)(R, {
608
608
  style: G.option,
609
609
  onPress: () => p(""),
610
610
  activeOpacity: .7,
@@ -612,7 +612,7 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
612
612
  accessibilityRole: "checkbox",
613
613
  accessibilityState: { checked: f },
614
614
  accessibilityLabel: a || e.data.name,
615
- children: [/* @__PURE__ */ (0, V.jsx)(B, {
615
+ children: [/* @__PURE__ */ (0, B.jsx)(z, {
616
616
  style: [
617
617
  G.checkbox,
618
618
  {
@@ -624,20 +624,20 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
624
624
  borderColor: c.primary
625
625
  }
626
626
  ],
627
- children: f && /* @__PURE__ */ (0, V.jsx)(L, {
627
+ children: f && /* @__PURE__ */ (0, B.jsx)(L, {
628
628
  style: G.checkmark,
629
629
  children: "✓"
630
630
  })
631
- }), /* @__PURE__ */ (0, V.jsx)(L, {
631
+ }), /* @__PURE__ */ (0, B.jsx)(L, {
632
632
  style: [G.optionLabel, { color: c.textSecondary }],
633
633
  children: a || e.data.name
634
634
  })]
635
635
  }),
636
- i && /* @__PURE__ */ (0, V.jsx)(L, {
636
+ i && /* @__PURE__ */ (0, B.jsx)(L, {
637
637
  style: [G.error, { color: c.error }],
638
638
  children: i
639
639
  }),
640
- o && !i && /* @__PURE__ */ (0, V.jsx)(L, {
640
+ o && !i && /* @__PURE__ */ (0, B.jsx)(L, {
641
641
  style: [G.helperText, { color: c.textMuted }],
642
642
  children: o
643
643
  })
@@ -681,7 +681,7 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
681
681
  flex: 1,
682
682
  fontSize: 14
683
683
  }
684
- }), le = ({ node: e, value: n, setValue: r, error: i, label: a, placeholder: o, helperText: s }) => {
684
+ }), ue = ({ node: e, value: n, setValue: r, error: i, label: a, placeholder: o, helperText: s }) => {
685
685
  let [c, l] = A(!1), u = g(), { colors: d } = t(), f = n ? new Date(n) : void 0, { year: p, month: m, today: h } = O(() => {
686
686
  let e = f || /* @__PURE__ */ new Date(), t = e.getFullYear(), n = e.getMonth(), r = /* @__PURE__ */ new Date();
687
687
  return r.setHours(0, 0, 0, 0), {
@@ -732,17 +732,17 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
732
732
  }, T = () => {
733
733
  y === 11 ? (b(0), v(_ + 1)) : b(y + 1);
734
734
  }, D = () => f ? f.toLocaleDateString() : o || u("renderer.defaultInputs.selectDate"), k = (t) => e.data.disablePast ? t < h : !1, j = (e) => f ? e.getDate() === f.getDate() && e.getMonth() === f.getMonth() && e.getFullYear() === f.getFullYear() : !1;
735
- return /* @__PURE__ */ (0, V.jsxs)(B, {
735
+ return /* @__PURE__ */ (0, B.jsxs)(z, {
736
736
  style: K.container,
737
737
  children: [
738
- /* @__PURE__ */ (0, V.jsxs)(L, {
738
+ /* @__PURE__ */ (0, B.jsxs)(L, {
739
739
  style: [K.label, { color: d.textSecondary }],
740
- children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, V.jsx)(L, {
740
+ children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, B.jsx)(L, {
741
741
  style: { color: d.error },
742
742
  children: "*"
743
743
  })]
744
744
  }),
745
- /* @__PURE__ */ (0, V.jsxs)(z, {
745
+ /* @__PURE__ */ (0, B.jsxs)(R, {
746
746
  style: [
747
747
  K.trigger,
748
748
  {
@@ -753,7 +753,7 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
753
753
  ],
754
754
  onPress: () => l(!0),
755
755
  activeOpacity: .7,
756
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
756
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
757
757
  style: [
758
758
  K.triggerText,
759
759
  { color: d.text },
@@ -761,50 +761,50 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
761
761
  ],
762
762
  numberOfLines: 1,
763
763
  children: D()
764
- }), /* @__PURE__ */ (0, V.jsx)(L, {
764
+ }), /* @__PURE__ */ (0, B.jsx)(L, {
765
765
  style: K.icon,
766
766
  children: "📅"
767
767
  })]
768
768
  }),
769
- /* @__PURE__ */ (0, V.jsx)(P, {
769
+ /* @__PURE__ */ (0, B.jsx)(P, {
770
770
  visible: c,
771
771
  transparent: !0,
772
772
  animationType: "fade",
773
773
  onRequestClose: () => l(!1),
774
- children: /* @__PURE__ */ (0, V.jsx)(z, {
774
+ children: /* @__PURE__ */ (0, B.jsx)(R, {
775
775
  style: K.modalOverlay,
776
776
  activeOpacity: 1,
777
777
  onPress: () => l(!1),
778
- children: /* @__PURE__ */ (0, V.jsxs)(z, {
778
+ children: /* @__PURE__ */ (0, B.jsxs)(R, {
779
779
  style: [K.modalContent, { backgroundColor: d.card }],
780
780
  activeOpacity: 1,
781
781
  onPress: () => {},
782
782
  children: [
783
- /* @__PURE__ */ (0, V.jsxs)(B, {
783
+ /* @__PURE__ */ (0, B.jsxs)(z, {
784
784
  style: [K.modalHeader, { borderBottomColor: d.separator }],
785
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
785
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
786
786
  style: [K.modalTitle, { color: d.text }],
787
787
  children: a || e.data.name
788
- }), /* @__PURE__ */ (0, V.jsx)(z, {
788
+ }), /* @__PURE__ */ (0, B.jsx)(R, {
789
789
  onPress: () => l(!1),
790
- children: /* @__PURE__ */ (0, V.jsx)(L, {
790
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
791
791
  style: [K.closeButton, { color: d.textMuted }],
792
792
  children: "✕"
793
793
  })
794
794
  })]
795
795
  }),
796
- /* @__PURE__ */ (0, V.jsxs)(B, {
796
+ /* @__PURE__ */ (0, B.jsxs)(z, {
797
797
  style: K.calendarHeader,
798
798
  children: [
799
- /* @__PURE__ */ (0, V.jsx)(z, {
799
+ /* @__PURE__ */ (0, B.jsx)(R, {
800
800
  onPress: w,
801
801
  style: K.navButton,
802
- children: /* @__PURE__ */ (0, V.jsx)(L, {
802
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
803
803
  style: [K.navButtonText, { color: d.primary }],
804
804
  children: "‹"
805
805
  })
806
806
  }),
807
- /* @__PURE__ */ (0, V.jsxs)(L, {
807
+ /* @__PURE__ */ (0, B.jsxs)(L, {
808
808
  style: [K.monthYear, { color: d.text }],
809
809
  children: [
810
810
  x[y],
@@ -812,17 +812,17 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
812
812
  _
813
813
  ]
814
814
  }),
815
- /* @__PURE__ */ (0, V.jsx)(z, {
815
+ /* @__PURE__ */ (0, B.jsx)(R, {
816
816
  onPress: T,
817
817
  style: K.navButton,
818
- children: /* @__PURE__ */ (0, V.jsx)(L, {
818
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
819
819
  style: [K.navButtonText, { color: d.primary }],
820
820
  children: "›"
821
821
  })
822
822
  })
823
823
  ]
824
824
  }),
825
- /* @__PURE__ */ (0, V.jsx)(B, {
825
+ /* @__PURE__ */ (0, B.jsx)(z, {
826
826
  style: K.weekDays,
827
827
  children: [
828
828
  "Sun",
@@ -832,12 +832,12 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
832
832
  "Thu",
833
833
  "Fri",
834
834
  "Sat"
835
- ].map((e) => /* @__PURE__ */ (0, V.jsx)(L, {
835
+ ].map((e) => /* @__PURE__ */ (0, B.jsx)(L, {
836
836
  style: [K.weekDay, { color: d.textMuted }],
837
837
  children: e
838
838
  }, e))
839
839
  }),
840
- /* @__PURE__ */ (0, V.jsx)(N, {
840
+ /* @__PURE__ */ (0, B.jsx)(ee, {
841
841
  data: S,
842
842
  keyExtractor: (e, t) => `${e.date.getTime()}-${t}`,
843
843
  numColumns: 7,
@@ -846,7 +846,7 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
846
846
  contentContainerStyle: K.calendarContent,
847
847
  renderItem: ({ item: e }) => {
848
848
  let t = k(e.date), n = j(e.date);
849
- return /* @__PURE__ */ (0, V.jsx)(z, {
849
+ return /* @__PURE__ */ (0, B.jsx)(R, {
850
850
  style: [
851
851
  K.dayCell,
852
852
  !e.isCurrentMonth && K.dayCellOtherMonth,
@@ -859,7 +859,7 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
859
859
  onPress: () => C(e.date),
860
860
  disabled: t,
861
861
  activeOpacity: .7,
862
- children: /* @__PURE__ */ (0, V.jsx)(L, {
862
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
863
863
  style: [
864
864
  K.dayText,
865
865
  { color: d.text },
@@ -879,11 +879,11 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
879
879
  })
880
880
  })
881
881
  }),
882
- i && /* @__PURE__ */ (0, V.jsx)(L, {
882
+ i && /* @__PURE__ */ (0, B.jsx)(L, {
883
883
  style: [K.error, { color: d.error }],
884
884
  children: i
885
885
  }),
886
- s && !i && /* @__PURE__ */ (0, V.jsx)(L, {
886
+ s && !i && /* @__PURE__ */ (0, B.jsx)(L, {
887
887
  style: [K.helperText, { color: d.textMuted }],
888
888
  children: s
889
889
  })
@@ -989,7 +989,7 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
989
989
  flexDirection: "row",
990
990
  marginBottom: 8
991
991
  }
992
- }), ue = ({ node: e, value: n, setValue: r, error: i, label: a, helperText: o }) => {
992
+ }), de = ({ node: e, value: n, setValue: r, error: i, label: a, helperText: o }) => {
993
993
  let [s, c] = A(!1), [l, u] = A(!0), d = g(), { colors: f } = t(), p = Array.isArray(n) ? n : [], m = p[0] ? new Date(p[0]) : void 0, h = p[1] ? new Date(p[1]) : void 0, { year: _, month: v, today: y } = O(() => {
994
994
  let e = m || /* @__PURE__ */ new Date(), t = e.getFullYear(), n = e.getMonth(), r = /* @__PURE__ */ new Date();
995
995
  return r.setHours(0, 0, 0, 0), {
@@ -1042,22 +1042,22 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
1042
1042
  S === 0 ? (C(11), x(b - 1)) : C(S - 1);
1043
1043
  }, j = () => {
1044
1044
  S === 11 ? (C(0), x(b + 1)) : C(S + 1);
1045
- }, M = () => m && h ? `${m.toLocaleDateString()} - ${h.toLocaleDateString()}` : m ? m.toLocaleDateString() : d("renderer.defaultInputs.selectDateRange"), F = (t) => e.data.disablePast ? t < y : !1, I = (e) => m && h ? e >= m && e <= h : !1, ee = (e) => {
1045
+ }, M = () => m && h ? `${m.toLocaleDateString()} - ${h.toLocaleDateString()}` : m ? m.toLocaleDateString() : d("renderer.defaultInputs.selectDateRange"), N = (t) => e.data.disablePast ? t < y : !1, F = (e) => m && h ? e >= m && e <= h : !1, I = (e) => {
1046
1046
  if (!(m || h)) return !1;
1047
1047
  let t = m && e.getDate() === m.getDate() && e.getMonth() === m.getMonth() && e.getFullYear() === m.getFullYear(), n = h && e.getDate() === h.getDate() && e.getMonth() === h.getMonth() && e.getFullYear() === h.getFullYear();
1048
1048
  return t || n;
1049
1049
  };
1050
- return /* @__PURE__ */ (0, V.jsxs)(B, {
1050
+ return /* @__PURE__ */ (0, B.jsxs)(z, {
1051
1051
  style: q.container,
1052
1052
  children: [
1053
- /* @__PURE__ */ (0, V.jsxs)(L, {
1053
+ /* @__PURE__ */ (0, B.jsxs)(L, {
1054
1054
  style: [q.label, { color: f.textSecondary }],
1055
- children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, V.jsx)(L, {
1055
+ children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, B.jsx)(L, {
1056
1056
  style: { color: f.error },
1057
1057
  children: "*"
1058
1058
  })]
1059
1059
  }),
1060
- /* @__PURE__ */ (0, V.jsxs)(z, {
1060
+ /* @__PURE__ */ (0, B.jsxs)(R, {
1061
1061
  style: [
1062
1062
  q.trigger,
1063
1063
  {
@@ -1068,7 +1068,7 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
1068
1068
  ],
1069
1069
  onPress: () => c(!0),
1070
1070
  activeOpacity: .7,
1071
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
1071
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
1072
1072
  style: [
1073
1073
  q.triggerText,
1074
1074
  { color: f.text },
@@ -1076,57 +1076,57 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
1076
1076
  ],
1077
1077
  numberOfLines: 1,
1078
1078
  children: M()
1079
- }), /* @__PURE__ */ (0, V.jsx)(L, {
1079
+ }), /* @__PURE__ */ (0, B.jsx)(L, {
1080
1080
  style: q.icon,
1081
1081
  children: "📅"
1082
1082
  })]
1083
1083
  }),
1084
- /* @__PURE__ */ (0, V.jsx)(P, {
1084
+ /* @__PURE__ */ (0, B.jsx)(P, {
1085
1085
  visible: s,
1086
1086
  transparent: !0,
1087
1087
  animationType: "fade",
1088
1088
  onRequestClose: () => c(!1),
1089
- children: /* @__PURE__ */ (0, V.jsx)(z, {
1089
+ children: /* @__PURE__ */ (0, B.jsx)(R, {
1090
1090
  style: q.modalOverlay,
1091
1091
  activeOpacity: 1,
1092
1092
  onPress: () => c(!1),
1093
- children: /* @__PURE__ */ (0, V.jsxs)(z, {
1093
+ children: /* @__PURE__ */ (0, B.jsxs)(R, {
1094
1094
  style: [q.modalContent, { backgroundColor: f.card }],
1095
1095
  activeOpacity: 1,
1096
1096
  onPress: () => {},
1097
1097
  children: [
1098
- /* @__PURE__ */ (0, V.jsxs)(B, {
1098
+ /* @__PURE__ */ (0, B.jsxs)(z, {
1099
1099
  style: [q.modalHeader, { borderBottomColor: f.separator }],
1100
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
1100
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
1101
1101
  style: [q.modalTitle, { color: f.text }],
1102
1102
  children: a || e.data.name
1103
- }), /* @__PURE__ */ (0, V.jsx)(z, {
1103
+ }), /* @__PURE__ */ (0, B.jsx)(R, {
1104
1104
  onPress: () => c(!1),
1105
- children: /* @__PURE__ */ (0, V.jsx)(L, {
1105
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
1106
1106
  style: [q.closeButton, { color: f.textMuted }],
1107
1107
  children: "✕"
1108
1108
  })
1109
1109
  })]
1110
1110
  }),
1111
- /* @__PURE__ */ (0, V.jsx)(B, {
1111
+ /* @__PURE__ */ (0, B.jsx)(z, {
1112
1112
  style: [q.rangeIndicator, { backgroundColor: f.primaryLight }],
1113
- children: /* @__PURE__ */ (0, V.jsx)(L, {
1113
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
1114
1114
  style: [q.rangeIndicatorText, { color: f.primary }],
1115
1115
  children: d(l ? "renderer.defaultInputs.startDate" : "renderer.defaultInputs.endDate")
1116
1116
  })
1117
1117
  }),
1118
- /* @__PURE__ */ (0, V.jsxs)(B, {
1118
+ /* @__PURE__ */ (0, B.jsxs)(z, {
1119
1119
  style: q.calendarHeader,
1120
1120
  children: [
1121
- /* @__PURE__ */ (0, V.jsx)(z, {
1121
+ /* @__PURE__ */ (0, B.jsx)(R, {
1122
1122
  onPress: k,
1123
1123
  style: q.navButton,
1124
- children: /* @__PURE__ */ (0, V.jsx)(L, {
1124
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
1125
1125
  style: [q.navButtonText, { color: f.primary }],
1126
1126
  children: "‹"
1127
1127
  })
1128
1128
  }),
1129
- /* @__PURE__ */ (0, V.jsxs)(L, {
1129
+ /* @__PURE__ */ (0, B.jsxs)(L, {
1130
1130
  style: [q.monthYear, { color: f.text }],
1131
1131
  children: [
1132
1132
  w[S],
@@ -1134,17 +1134,17 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
1134
1134
  b
1135
1135
  ]
1136
1136
  }),
1137
- /* @__PURE__ */ (0, V.jsx)(z, {
1137
+ /* @__PURE__ */ (0, B.jsx)(R, {
1138
1138
  onPress: j,
1139
1139
  style: q.navButton,
1140
- children: /* @__PURE__ */ (0, V.jsx)(L, {
1140
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
1141
1141
  style: [q.navButtonText, { color: f.primary }],
1142
1142
  children: "›"
1143
1143
  })
1144
1144
  })
1145
1145
  ]
1146
1146
  }),
1147
- /* @__PURE__ */ (0, V.jsx)(B, {
1147
+ /* @__PURE__ */ (0, B.jsx)(z, {
1148
1148
  style: q.weekDays,
1149
1149
  children: [
1150
1150
  "Sun",
@@ -1154,12 +1154,12 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
1154
1154
  "Thu",
1155
1155
  "Fri",
1156
1156
  "Sat"
1157
- ].map((e) => /* @__PURE__ */ (0, V.jsx)(L, {
1157
+ ].map((e) => /* @__PURE__ */ (0, B.jsx)(L, {
1158
1158
  style: [q.weekDay, { color: f.textMuted }],
1159
1159
  children: e
1160
1160
  }, e))
1161
1161
  }),
1162
- /* @__PURE__ */ (0, V.jsx)(N, {
1162
+ /* @__PURE__ */ (0, B.jsx)(ee, {
1163
1163
  data: T,
1164
1164
  keyExtractor: (e, t) => `${e.date.getTime()}-${t}`,
1165
1165
  numColumns: 7,
@@ -1167,8 +1167,8 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
1167
1167
  style: q.calendar,
1168
1168
  contentContainerStyle: q.calendarContent,
1169
1169
  renderItem: ({ item: e }) => {
1170
- let t = F(e.date), n = I(e.date), r = ee(e.date);
1171
- return /* @__PURE__ */ (0, V.jsx)(z, {
1170
+ let t = N(e.date), n = F(e.date), r = I(e.date);
1171
+ return /* @__PURE__ */ (0, B.jsx)(R, {
1172
1172
  style: [
1173
1173
  q.dayCell,
1174
1174
  !e.isCurrentMonth && q.dayCellOtherMonth,
@@ -1182,7 +1182,7 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
1182
1182
  onPress: () => D(e.date),
1183
1183
  disabled: t,
1184
1184
  activeOpacity: .7,
1185
- children: /* @__PURE__ */ (0, V.jsx)(L, {
1185
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
1186
1186
  style: [
1187
1187
  q.dayText,
1188
1188
  { color: f.text },
@@ -1203,11 +1203,11 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
1203
1203
  })
1204
1204
  })
1205
1205
  }),
1206
- i && /* @__PURE__ */ (0, V.jsx)(L, {
1206
+ i && /* @__PURE__ */ (0, B.jsx)(L, {
1207
1207
  style: [q.error, { color: f.error }],
1208
1208
  children: i
1209
1209
  }),
1210
- o && !i && /* @__PURE__ */ (0, V.jsx)(L, {
1210
+ o && !i && /* @__PURE__ */ (0, B.jsx)(L, {
1211
1211
  style: [q.helperText, { color: f.textMuted }],
1212
1212
  children: o
1213
1213
  })
@@ -1323,7 +1323,7 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
1323
1323
  flexDirection: "row",
1324
1324
  marginBottom: 8
1325
1325
  }
1326
- }), de = ({ node: e, value: n, setValue: r, error: i, label: a, helperText: o }) => {
1326
+ }), fe = ({ node: e, value: n, setValue: r, error: i, label: a, helperText: o }) => {
1327
1327
  let [s, c] = A(null), [l, u] = A(!0), d = g(), { colors: f } = t(), p = Array.isArray(n) ? n : n ? [n] : [], m = e.data.multiple, h = E(async () => {
1328
1328
  if (s) try {
1329
1329
  let e = (await s({ allowMultiSelection: m })).map((e) => ({
@@ -1358,47 +1358,47 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
1358
1358
  u(!1);
1359
1359
  }
1360
1360
  })();
1361
- }, []), l ? null : s ? /* @__PURE__ */ (0, V.jsxs)(B, {
1361
+ }, []), l ? null : s ? /* @__PURE__ */ (0, B.jsxs)(z, {
1362
1362
  style: J.container,
1363
1363
  children: [
1364
- /* @__PURE__ */ (0, V.jsxs)(L, {
1364
+ /* @__PURE__ */ (0, B.jsxs)(L, {
1365
1365
  style: [J.label, { color: f.textSecondary }],
1366
- children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, V.jsx)(L, {
1366
+ children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, B.jsx)(L, {
1367
1367
  style: { color: f.error },
1368
1368
  children: "*"
1369
1369
  })]
1370
1370
  }),
1371
- p.length > 0 && /* @__PURE__ */ (0, V.jsx)(B, {
1371
+ p.length > 0 && /* @__PURE__ */ (0, B.jsx)(z, {
1372
1372
  style: J.filesList,
1373
- children: p.map((e, t) => /* @__PURE__ */ (0, V.jsxs)(B, {
1373
+ children: p.map((e, t) => /* @__PURE__ */ (0, B.jsxs)(z, {
1374
1374
  style: [J.fileItem, {
1375
1375
  backgroundColor: f.card,
1376
1376
  borderColor: f.separator
1377
1377
  }],
1378
1378
  children: [
1379
- /* @__PURE__ */ (0, V.jsx)(B, {
1379
+ /* @__PURE__ */ (0, B.jsx)(z, {
1380
1380
  style: [J.fileIcon, { backgroundColor: f.muted }],
1381
- children: /* @__PURE__ */ (0, V.jsx)(L, {
1381
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
1382
1382
  style: J.fileIconText,
1383
1383
  children: "📄"
1384
1384
  })
1385
1385
  }),
1386
- /* @__PURE__ */ (0, V.jsxs)(B, {
1386
+ /* @__PURE__ */ (0, B.jsxs)(z, {
1387
1387
  style: J.fileInfo,
1388
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
1388
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
1389
1389
  style: [J.fileName, { color: f.text }],
1390
1390
  numberOfLines: 1,
1391
1391
  children: e.name
1392
- }), e.size > 0 && /* @__PURE__ */ (0, V.jsx)(L, {
1392
+ }), e.size > 0 && /* @__PURE__ */ (0, B.jsx)(L, {
1393
1393
  style: [J.fileSize, { color: f.textMuted }],
1394
1394
  children: v(e.size)
1395
1395
  })]
1396
1396
  }),
1397
- /* @__PURE__ */ (0, V.jsx)(z, {
1397
+ /* @__PURE__ */ (0, B.jsx)(R, {
1398
1398
  style: J.removeButton,
1399
1399
  onPress: () => _(t),
1400
1400
  activeOpacity: .7,
1401
- children: /* @__PURE__ */ (0, V.jsx)(L, {
1401
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
1402
1402
  style: [J.removeButtonText, { color: f.textMuted }],
1403
1403
  children: "✕"
1404
1404
  })
@@ -1406,48 +1406,48 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
1406
1406
  ]
1407
1407
  }, `${e.name}-${t}`))
1408
1408
  }),
1409
- /* @__PURE__ */ (0, V.jsx)(z, {
1409
+ /* @__PURE__ */ (0, B.jsx)(R, {
1410
1410
  style: [J.pickButton, {
1411
1411
  backgroundColor: f.input,
1412
1412
  borderColor: f.border
1413
1413
  }],
1414
1414
  onPress: h,
1415
1415
  activeOpacity: .7,
1416
- children: /* @__PURE__ */ (0, V.jsx)(L, {
1416
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
1417
1417
  style: [J.pickButtonText, { color: f.textMuted }],
1418
1418
  children: p.length === 0 ? d(m ? "renderer.defaultInputs.selectFiles" : "renderer.defaultInputs.selectFile") : d(m ? "renderer.defaultInputs.addMoreFiles" : "renderer.defaultInputs.replaceFile")
1419
1419
  })
1420
1420
  }),
1421
- i && /* @__PURE__ */ (0, V.jsx)(L, {
1421
+ i && /* @__PURE__ */ (0, B.jsx)(L, {
1422
1422
  style: [J.error, { color: f.error }],
1423
1423
  children: i
1424
1424
  }),
1425
- o && !i && /* @__PURE__ */ (0, V.jsx)(L, {
1425
+ o && !i && /* @__PURE__ */ (0, B.jsx)(L, {
1426
1426
  style: [J.helperText, { color: f.textMuted }],
1427
1427
  children: o
1428
1428
  })
1429
1429
  ]
1430
- }) : /* @__PURE__ */ (0, V.jsxs)(B, {
1430
+ }) : /* @__PURE__ */ (0, B.jsxs)(z, {
1431
1431
  style: J.container,
1432
1432
  children: [
1433
- /* @__PURE__ */ (0, V.jsxs)(L, {
1433
+ /* @__PURE__ */ (0, B.jsxs)(L, {
1434
1434
  style: [J.label, { color: f.textSecondary }],
1435
- children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, V.jsx)(L, {
1435
+ children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, B.jsx)(L, {
1436
1436
  style: { color: f.error },
1437
1437
  children: "*"
1438
1438
  })]
1439
1439
  }),
1440
- /* @__PURE__ */ (0, V.jsx)(B, {
1440
+ /* @__PURE__ */ (0, B.jsx)(z, {
1441
1441
  style: [J.unavailableContainer, {
1442
1442
  backgroundColor: f.errorLight,
1443
1443
  borderColor: f.error
1444
1444
  }],
1445
- children: /* @__PURE__ */ (0, V.jsx)(L, {
1445
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
1446
1446
  style: [J.unavailableText, { color: f.error }],
1447
1447
  children: d("renderer.defaultInputs.filePickerUnavailable")
1448
1448
  })
1449
1449
  }),
1450
- o && /* @__PURE__ */ (0, V.jsx)(L, {
1450
+ o && /* @__PURE__ */ (0, B.jsx)(L, {
1451
1451
  style: [J.helperText, { color: f.textMuted }],
1452
1452
  children: o
1453
1453
  })
@@ -1522,20 +1522,20 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
1522
1522
  fontSize: 12,
1523
1523
  textAlign: "center"
1524
1524
  }
1525
- }), fe = (e) => null, pe = (e) => e.replace(/<[^>]*>/g, ""), me = (e) => e.replace(/&amp;/g, "&").replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&quot;/g, "\"").replace(/&#x27;/g, "'").replace(/&#x2F;/g, "/"), he = (e, t = {}) => e == null || e === "" ? "" : me(pe(String(e))), ge = 100, _e = (e, t = {}, n = 0, r = /* @__PURE__ */ new WeakSet()) => {
1526
- if (n > ge) return console.warn(`sanitizeHttpResponse: Maximum depth (${ge}) exceeded.`), typeof e == "string" ? he(e, t) : "[Max Depth Exceeded]";
1525
+ }), pe = (e) => null, me = (e) => e.replace(/<[^>]*>/g, ""), he = (e) => e.replace(/&amp;/g, "&").replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&quot;/g, "\"").replace(/&#x27;/g, "'").replace(/&#x2F;/g, "/"), ge = (e, t = {}) => e == null || e === "" ? "" : he(me(String(e))), _e = 100, ve = (e, t = {}, n = 0, r = /* @__PURE__ */ new WeakSet()) => {
1526
+ if (n > _e) return console.warn(`sanitizeHttpResponse: Maximum depth (${_e}) exceeded.`), typeof e == "string" ? ge(e, t) : "[Max Depth Exceeded]";
1527
1527
  if (e == null) return e;
1528
- if (typeof e == "string") return he(e, t);
1529
- if (Array.isArray(e)) return e.map((e) => _e(e, t, n + 1, r));
1528
+ if (typeof e == "string") return ge(e, t);
1529
+ if (Array.isArray(e)) return e.map((e) => ve(e, t, n + 1, r));
1530
1530
  if (typeof e == "object") {
1531
1531
  if (r.has(e)) return console.warn("sanitizeHttpResponse: Circular reference detected. Breaking cycle to prevent infinite recursion."), "[Circular Reference]";
1532
1532
  r.add(e);
1533
1533
  let i = {};
1534
- for (let [a, o] of Object.entries(e)) i[a] = _e(o, t, n + 1, r);
1534
+ for (let [a, o] of Object.entries(e)) i[a] = ve(o, t, n + 1, r);
1535
1535
  return r.delete(e), i;
1536
1536
  }
1537
1537
  return e;
1538
- }, ve = (e, t) => t ? t.split(".").reduce((e, t) => {
1538
+ }, ye = (e, t) => t ? t.split(".").reduce((e, t) => {
1539
1539
  if (e == null) return;
1540
1540
  let n = t.match(/^(\w+)\[(\d+)]$/);
1541
1541
  if (n) {
@@ -1543,44 +1543,44 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
1543
1543
  return Array.isArray(i) ? i[Number.parseInt(r, 10)] : i;
1544
1544
  }
1545
1545
  return e[t];
1546
- }, e) : e, ye = (e) => {
1546
+ }, e) : e, be = (e) => {
1547
1547
  let t = e.matchAll(/{{([\w-]+)}}/g);
1548
1548
  return Array.from(t, (e) => e[1]);
1549
- }, be = (e, t) => ye(e).every((e) => {
1549
+ }, xe = (e, t) => be(e).every((e) => {
1550
1550
  let n = t[e];
1551
1551
  return n != null && n !== "";
1552
- }), xe = (e, t, n = !1) => e.replace(/{{([\w-]+)}}/g, (e, r) => {
1552
+ }), Se = (e, t, n = !1) => e.replace(/{{([\w-]+)}}/g, (e, r) => {
1553
1553
  let i = t[r], a = i == null ? "" : String(i);
1554
1554
  return n ? encodeURIComponent(a) : a;
1555
- }), Se = ({ node: e, value: n, setValue: r, error: i, label: o, placeholder: s, helperText: u, id: d, name: f }) => {
1556
- let [p, m] = A(!1), [h, _] = A(null), [v, y] = A([]), [b, x] = A(""), [S, C] = A(!1), { formValues: w, inputNodes: T } = l(), M = g(), { colors: F } = t(), { httpConfig: I } = e.data, ee = k(!1), te = k(""), ne = k(I), re = k(w), ie = k(T), ae = k(r), oe = k(null), H = k(null), U = O(() => I?.url ? ye(I.url) : [], [I?.url]), se = U.length > 0, W = O(() => U.map((e) => `${e}:${String(w[e] ?? "")}`).join("|"), [U, w]), ce = O(() => I?.url ? se ? be(I.url, w) : !0 : !1, [
1557
- I?.url,
1558
- se,
1555
+ }), Ce = ({ node: e, value: n, setValue: r, error: i, label: o, placeholder: s, helperText: u, id: d, name: f }) => {
1556
+ let [p, m] = A(!1), [h, _] = A(null), [v, y] = A([]), [b, x] = A(""), [S, C] = A(!1), { formValues: w, inputNodes: T } = l(), M = g(), { colors: N } = t(), { httpConfig: F } = e.data, I = k(!1), te = k(""), re = k(F), ie = k(w), ae = k(T), oe = k(r), se = k(null), V = k(null), ce = O(() => F?.url ? be(F.url) : [], [F?.url]), H = ce.length > 0, le = O(() => ce.map((e) => `${e}:${String(w[e] ?? "")}`).join("|"), [ce, w]), U = O(() => F?.url ? H ? xe(F.url, w) : !0 : !1, [
1557
+ F?.url,
1558
+ H,
1559
1559
  w
1560
- ]), G = E(async (e) => {
1561
- H.current && H.current.abort();
1560
+ ]), W = E(async (e) => {
1561
+ V.current && V.current.abort();
1562
1562
  let t = new AbortController();
1563
- H.current = t;
1564
- let n = ne.current, r = re.current, i = ae.current;
1563
+ V.current = t;
1564
+ let n = re.current, r = ie.current, i = oe.current;
1565
1565
  if (!n?.url) {
1566
- _(M("renderer.defaultHttpInput.noUrlConfigured")), H.current = null;
1566
+ _(M("renderer.defaultHttpInput.noUrlConfigured")), V.current = null;
1567
1567
  return;
1568
1568
  }
1569
- if (n.url && !be(n.url, r)) {
1570
- H.current = null;
1569
+ if (n.url && !xe(n.url, r)) {
1570
+ V.current = null;
1571
1571
  return;
1572
1572
  }
1573
1573
  m(!0), _(null);
1574
1574
  try {
1575
- let a = xe(n.url, r, !0), o = n.searchParam && e ? `${a}${a.includes("?") ? "&" : "?"}${n.searchParam}=${encodeURIComponent(e)}` : a, s = {};
1575
+ let a = Se(n.url, r, !0), o = n.searchParam && e ? `${a}${a.includes("?") ? "&" : "?"}${n.searchParam}=${encodeURIComponent(e)}` : a, s = {};
1576
1576
  n.headers?.forEach((e) => {
1577
- s[e.key] = xe(e.value, r);
1577
+ s[e.key] = Se(e.value, r);
1578
1578
  });
1579
1579
  let l = [
1580
1580
  "POST",
1581
1581
  "PUT",
1582
1582
  "PATCH"
1583
- ].includes(n.method || "") ? n.sendAllFormValues ? JSON.stringify(c(r, ie.current)) : n.body ? xe(n.body, r) : void 0 : void 0, u = setTimeout(() => t.abort(), 3e4), d = await fetch(o, {
1583
+ ].includes(n.method || "") ? n.sendAllFormValues ? JSON.stringify(c(r, ae.current)) : n.body ? Se(n.body, r) : void 0 : void 0, u = setTimeout(() => t.abort(), 3e4), d = await fetch(o, {
1584
1584
  body: l || void 0,
1585
1585
  headers: {
1586
1586
  "Content-Type": "application/json",
@@ -1593,142 +1593,142 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
1593
1593
  _(`HTTP Error ${d.status}: ${d.statusText}`), m(!1);
1594
1594
  return;
1595
1595
  }
1596
- let f = _e(await d.json()), p = n.responsePath ? ve(f, n.responsePath) : f;
1596
+ let f = ve(await d.json()), p = n.responsePath ? ye(f, n.responsePath) : f;
1597
1597
  if (n.responseMapping && Array.isArray(p)) {
1598
1598
  let { valueField: e = "value", labelField: t = "label" } = n.responseMapping;
1599
1599
  y(p.map((n) => ({
1600
- label: String(ve(n, t) || ""),
1601
- value: String(ve(n, e) || "")
1600
+ label: String(ye(n, t) || ""),
1601
+ value: String(ye(n, e) || "")
1602
1602
  })));
1603
1603
  } else i(typeof p == "string" ? p : JSON.stringify(p));
1604
1604
  } catch (e) {
1605
1605
  if (e instanceof Error && e.name === "AbortError") return;
1606
1606
  _(e instanceof Error ? e.message : M("renderer.defaultHttpInput.fetchFailed")), console.error("HTTP Input fetch error:", e);
1607
1607
  } finally {
1608
- m(!1), H.current = null;
1608
+ m(!1), V.current = null;
1609
1609
  }
1610
1610
  }, [M]);
1611
1611
  if (D(() => {
1612
- ne.current = I, re.current = w, ie.current = T, ae.current = r, oe.current = G;
1612
+ re.current = F, ie.current = w, ae.current = T, oe.current = r, se.current = W;
1613
1613
  }, [
1614
- I,
1614
+ F,
1615
1615
  w,
1616
1616
  T,
1617
1617
  r,
1618
- G
1618
+ W
1619
1619
  ]), D(() => () => {
1620
- H.current && H.current.abort();
1620
+ V.current && V.current.abort();
1621
1621
  }, []), D(() => {
1622
- if (ee.current) return;
1623
- ee.current = !0;
1624
- let e = ne.current, t = re.current, n = oe.current, r = e?.url && be(e.url, t);
1625
- e?.fetchOnMount && r && n && (n(), e.url && (te.current = ye(e.url).map((e) => `${e}:${String(t[e] ?? "")}`).join("|")));
1622
+ if (I.current) return;
1623
+ I.current = !0;
1624
+ let e = re.current, t = ie.current, n = se.current, r = e?.url && xe(e.url, t);
1625
+ e?.fetchOnMount && r && n && (n(), e.url && (te.current = be(e.url).map((e) => `${e}:${String(t[e] ?? "")}`).join("|")));
1626
1626
  }, []), D(() => {
1627
- if (!ee.current || !se || te.current === W || !ce) return;
1627
+ if (!I.current || !H || te.current === le || !U) return;
1628
1628
  let e = setTimeout(() => {
1629
- G(), te.current = W;
1629
+ W(), te.current = le;
1630
1630
  }, 500);
1631
1631
  return () => clearTimeout(e);
1632
1632
  }, [
1633
- W,
1634
- se,
1635
- ce,
1636
- G
1633
+ le,
1634
+ H,
1635
+ U,
1636
+ W
1637
1637
  ]), D(() => {
1638
- if (!(I?.searchParam && b)) return;
1638
+ if (!(F?.searchParam && b)) return;
1639
1639
  let e = setTimeout(() => {
1640
- G(b);
1640
+ W(b);
1641
1641
  }, 300);
1642
1642
  return () => clearTimeout(e);
1643
1643
  }, [
1644
1644
  b,
1645
- I?.searchParam,
1646
- G
1647
- ]), I?.responseMapping) {
1645
+ F?.searchParam,
1646
+ W
1647
+ ]), F?.responseMapping) {
1648
1648
  let t = Array.isArray(n) ? n[0] : n, c = v.find((e) => e.value === t);
1649
- if (I.searchParam) {
1650
- let n = p && I?.showLoading;
1651
- return /* @__PURE__ */ (0, V.jsxs)(B, {
1649
+ if (F.searchParam) {
1650
+ let n = p && F?.showLoading;
1651
+ return /* @__PURE__ */ (0, B.jsxs)(z, {
1652
1652
  style: Y.container,
1653
1653
  children: [
1654
- /* @__PURE__ */ (0, V.jsxs)(L, {
1655
- style: [Y.label, { color: F.textSecondary }],
1656
- children: [o || e.data.name, e.data.required && /* @__PURE__ */ (0, V.jsx)(L, {
1657
- style: { color: F.error },
1654
+ /* @__PURE__ */ (0, B.jsxs)(L, {
1655
+ style: [Y.label, { color: N.textSecondary }],
1656
+ children: [o || e.data.name, e.data.required && /* @__PURE__ */ (0, B.jsx)(L, {
1657
+ style: { color: N.error },
1658
1658
  children: "*"
1659
1659
  })]
1660
1660
  }),
1661
- /* @__PURE__ */ (0, V.jsxs)(z, {
1661
+ /* @__PURE__ */ (0, B.jsxs)(R, {
1662
1662
  style: [
1663
1663
  Y.trigger,
1664
1664
  {
1665
- backgroundColor: F.input,
1666
- borderColor: F.border
1665
+ backgroundColor: N.input,
1666
+ borderColor: N.border
1667
1667
  },
1668
- i && { borderColor: F.error }
1668
+ i && { borderColor: N.error }
1669
1669
  ],
1670
1670
  onPress: () => C(!0),
1671
1671
  activeOpacity: .7,
1672
- children: [n ? /* @__PURE__ */ (0, V.jsxs)(B, {
1672
+ children: [n ? /* @__PURE__ */ (0, B.jsxs)(z, {
1673
1673
  style: Y.loadingTrigger,
1674
- children: [/* @__PURE__ */ (0, V.jsx)(j, {
1674
+ children: [/* @__PURE__ */ (0, B.jsx)(j, {
1675
1675
  size: "small",
1676
- color: F.primary
1677
- }), /* @__PURE__ */ (0, V.jsx)(L, {
1678
- style: [Y.triggerText, { color: F.textMuted }],
1676
+ color: N.primary
1677
+ }), /* @__PURE__ */ (0, B.jsx)(L, {
1678
+ style: [Y.triggerText, { color: N.textMuted }],
1679
1679
  numberOfLines: 1,
1680
1680
  children: c?.label || s || M("renderer.defaultHttpInput.search")
1681
1681
  })]
1682
- }) : /* @__PURE__ */ (0, V.jsx)(L, {
1682
+ }) : /* @__PURE__ */ (0, B.jsx)(L, {
1683
1683
  style: [
1684
1684
  Y.triggerText,
1685
- { color: F.text },
1686
- !c && { color: F.textMuted }
1685
+ { color: N.text },
1686
+ !c && { color: N.textMuted }
1687
1687
  ],
1688
1688
  numberOfLines: 1,
1689
1689
  children: c?.label || s || M("renderer.defaultHttpInput.search")
1690
- }), /* @__PURE__ */ (0, V.jsx)(L, {
1691
- style: [Y.arrow, { color: F.textMuted }],
1690
+ }), /* @__PURE__ */ (0, B.jsx)(L, {
1691
+ style: [Y.arrow, { color: N.textMuted }],
1692
1692
  children: "▼"
1693
1693
  })]
1694
1694
  }),
1695
- /* @__PURE__ */ (0, V.jsx)(P, {
1695
+ /* @__PURE__ */ (0, B.jsx)(P, {
1696
1696
  visible: S,
1697
1697
  transparent: !0,
1698
1698
  animationType: "fade",
1699
1699
  onRequestClose: () => C(!1),
1700
- children: /* @__PURE__ */ (0, V.jsx)(z, {
1700
+ children: /* @__PURE__ */ (0, B.jsx)(R, {
1701
1701
  style: Y.modalOverlay,
1702
1702
  activeOpacity: 1,
1703
1703
  onPress: () => C(!1),
1704
- children: /* @__PURE__ */ (0, V.jsxs)(z, {
1705
- style: [Y.modalContent, { backgroundColor: F.card }],
1704
+ children: /* @__PURE__ */ (0, B.jsxs)(R, {
1705
+ style: [Y.modalContent, { backgroundColor: N.card }],
1706
1706
  activeOpacity: 1,
1707
1707
  onPress: () => {},
1708
1708
  children: [
1709
- /* @__PURE__ */ (0, V.jsxs)(B, {
1710
- style: [Y.modalHeader, { borderBottomColor: F.separator }],
1711
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
1712
- style: [Y.modalTitle, { color: F.text }],
1709
+ /* @__PURE__ */ (0, B.jsxs)(z, {
1710
+ style: [Y.modalHeader, { borderBottomColor: N.separator }],
1711
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
1712
+ style: [Y.modalTitle, { color: N.text }],
1713
1713
  children: o || e.data.name
1714
- }), /* @__PURE__ */ (0, V.jsx)(z, {
1714
+ }), /* @__PURE__ */ (0, B.jsx)(R, {
1715
1715
  onPress: () => C(!1),
1716
- children: /* @__PURE__ */ (0, V.jsx)(L, {
1717
- style: [Y.closeButton, { color: F.textMuted }],
1716
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
1717
+ style: [Y.closeButton, { color: N.textMuted }],
1718
1718
  children: "✕"
1719
1719
  })
1720
1720
  })]
1721
1721
  }),
1722
- /* @__PURE__ */ (0, V.jsx)(B, {
1722
+ /* @__PURE__ */ (0, B.jsx)(z, {
1723
1723
  style: Y.searchContainer,
1724
- children: /* @__PURE__ */ (0, V.jsx)(R, {
1724
+ children: /* @__PURE__ */ (0, B.jsx)(ne, {
1725
1725
  style: [Y.searchInput, {
1726
- backgroundColor: F.muted,
1727
- borderColor: F.border,
1728
- color: F.text
1726
+ backgroundColor: N.muted,
1727
+ borderColor: N.border,
1728
+ color: N.text
1729
1729
  }],
1730
1730
  placeholder: M("renderer.defaultHttpInput.search"),
1731
- placeholderTextColor: F.textMuted,
1731
+ placeholderTextColor: N.textMuted,
1732
1732
  value: b,
1733
1733
  onChangeText: (e) => {
1734
1734
  x(e), _(null);
@@ -1738,50 +1738,50 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
1738
1738
  autoCorrect: !1
1739
1739
  })
1740
1740
  }),
1741
- p ? /* @__PURE__ */ (0, V.jsx)(B, {
1741
+ p ? /* @__PURE__ */ (0, B.jsx)(z, {
1742
1742
  style: Y.loadingContainer,
1743
- children: /* @__PURE__ */ (0, V.jsx)(j, {
1743
+ children: /* @__PURE__ */ (0, B.jsx)(j, {
1744
1744
  size: "small",
1745
- color: F.primary
1745
+ color: N.primary
1746
1746
  })
1747
- }) : h ? /* @__PURE__ */ (0, V.jsxs)(B, {
1747
+ }) : h ? /* @__PURE__ */ (0, B.jsxs)(z, {
1748
1748
  style: Y.errorContainer,
1749
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
1750
- style: [Y.errorText, { color: F.error }],
1749
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
1750
+ style: [Y.errorText, { color: N.error }],
1751
1751
  children: h
1752
- }), /* @__PURE__ */ (0, V.jsx)(z, {
1753
- onPress: () => G(b),
1752
+ }), /* @__PURE__ */ (0, B.jsx)(R, {
1753
+ onPress: () => W(b),
1754
1754
  style: Y.retryButton,
1755
- children: /* @__PURE__ */ (0, V.jsx)(L, {
1756
- style: [Y.retryButtonText, { color: F.primary }],
1755
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
1756
+ style: [Y.retryButtonText, { color: N.primary }],
1757
1757
  children: M("renderer.defaultHttpInput.retry")
1758
1758
  })
1759
1759
  })]
1760
- }) : /* @__PURE__ */ (0, V.jsx)(N, {
1760
+ }) : /* @__PURE__ */ (0, B.jsx)(ee, {
1761
1761
  data: v,
1762
1762
  keyExtractor: (e) => e.value,
1763
1763
  style: Y.optionsList,
1764
1764
  contentContainerStyle: Y.optionsListContent,
1765
- ListEmptyComponent: /* @__PURE__ */ (0, V.jsx)(B, {
1765
+ ListEmptyComponent: /* @__PURE__ */ (0, B.jsx)(z, {
1766
1766
  style: Y.emptyContainer,
1767
- children: /* @__PURE__ */ (0, V.jsx)(L, {
1768
- style: [Y.emptyText, { color: F.textMuted }],
1767
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
1768
+ style: [Y.emptyText, { color: N.textMuted }],
1769
1769
  children: M("renderer.defaultHttpInput.noResults")
1770
1770
  })
1771
1771
  }),
1772
1772
  renderItem: ({ item: e }) => {
1773
1773
  let n = e.value === t;
1774
- return /* @__PURE__ */ (0, V.jsxs)(z, {
1775
- style: [Y.option, n && { backgroundColor: F.primaryLight }],
1774
+ return /* @__PURE__ */ (0, B.jsxs)(R, {
1775
+ style: [Y.option, n && { backgroundColor: N.primaryLight }],
1776
1776
  onPress: () => {
1777
1777
  r(e.value), C(!1);
1778
1778
  },
1779
1779
  activeOpacity: .7,
1780
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
1781
- style: [Y.optionText, { color: F.text }],
1780
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
1781
+ style: [Y.optionText, { color: N.text }],
1782
1782
  children: e.label
1783
- }), n && /* @__PURE__ */ (0, V.jsx)(L, {
1784
- style: [Y.checkmark, { color: F.primary }],
1783
+ }), n && /* @__PURE__ */ (0, B.jsx)(L, {
1784
+ style: [Y.checkmark, { color: N.primary }],
1785
1785
  children: "✓"
1786
1786
  })]
1787
1787
  });
@@ -1791,112 +1791,112 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
1791
1791
  })
1792
1792
  })
1793
1793
  }),
1794
- i && /* @__PURE__ */ (0, V.jsx)(L, {
1795
- style: [Y.error, { color: F.error }],
1794
+ i && /* @__PURE__ */ (0, B.jsx)(L, {
1795
+ style: [Y.error, { color: N.error }],
1796
1796
  children: i
1797
1797
  }),
1798
- u && !i && /* @__PURE__ */ (0, V.jsx)(L, {
1799
- style: [Y.helperText, { color: F.textMuted }],
1798
+ u && !i && /* @__PURE__ */ (0, B.jsx)(L, {
1799
+ style: [Y.helperText, { color: N.textMuted }],
1800
1800
  children: u
1801
1801
  })
1802
1802
  ]
1803
1803
  });
1804
1804
  }
1805
- let l = p && I?.showLoading, d = U.filter((e) => {
1805
+ let l = p && F?.showLoading, d = ce.filter((e) => {
1806
1806
  let t = w[e];
1807
1807
  return t == null || t === "";
1808
1808
  }), f = d.map((e) => a(e, T) || e), m = v.length === 0 && !l ? h || (d.length > 0 ? `${M("renderer.defaultHttpInput.waitingForRequiredFields")}: ${f.join(", ")}` : M("renderer.defaultHttpInput.noDataAvailable")) : void 0;
1809
- return /* @__PURE__ */ (0, V.jsxs)(B, {
1809
+ return /* @__PURE__ */ (0, B.jsxs)(z, {
1810
1810
  style: Y.container,
1811
1811
  children: [
1812
- /* @__PURE__ */ (0, V.jsxs)(L, {
1813
- style: [Y.label, { color: F.textSecondary }],
1814
- children: [o || e.data.name, e.data.required && /* @__PURE__ */ (0, V.jsx)(L, {
1815
- style: { color: F.error },
1812
+ /* @__PURE__ */ (0, B.jsxs)(L, {
1813
+ style: [Y.label, { color: N.textSecondary }],
1814
+ children: [o || e.data.name, e.data.required && /* @__PURE__ */ (0, B.jsx)(L, {
1815
+ style: { color: N.error },
1816
1816
  children: "*"
1817
1817
  })]
1818
1818
  }),
1819
- /* @__PURE__ */ (0, V.jsxs)(z, {
1819
+ /* @__PURE__ */ (0, B.jsxs)(R, {
1820
1820
  style: [
1821
1821
  Y.trigger,
1822
1822
  {
1823
- backgroundColor: F.input,
1824
- borderColor: F.border
1823
+ backgroundColor: N.input,
1824
+ borderColor: N.border
1825
1825
  },
1826
- i && { borderColor: F.error },
1827
- (l || v.length === 0) && { backgroundColor: F.muted }
1826
+ i && { borderColor: N.error },
1827
+ (l || v.length === 0) && { backgroundColor: N.muted }
1828
1828
  ],
1829
1829
  onPress: () => C(!0),
1830
1830
  disabled: l || v.length === 0,
1831
1831
  activeOpacity: .7,
1832
1832
  children: [
1833
- l && /* @__PURE__ */ (0, V.jsx)(j, {
1833
+ l && /* @__PURE__ */ (0, B.jsx)(j, {
1834
1834
  size: "small",
1835
- color: F.primary,
1835
+ color: N.primary,
1836
1836
  style: Y.triggerLoader
1837
1837
  }),
1838
- /* @__PURE__ */ (0, V.jsx)(L, {
1838
+ /* @__PURE__ */ (0, B.jsx)(L, {
1839
1839
  style: [
1840
1840
  Y.triggerText,
1841
- { color: F.text },
1842
- !c && { color: F.textMuted }
1841
+ { color: N.text },
1842
+ !c && { color: N.textMuted }
1843
1843
  ],
1844
1844
  numberOfLines: 1,
1845
1845
  children: c?.label || s || M("renderer.defaultHttpInput.selectOption")
1846
1846
  }),
1847
- /* @__PURE__ */ (0, V.jsx)(L, {
1848
- style: [Y.arrow, { color: F.textMuted }],
1847
+ /* @__PURE__ */ (0, B.jsx)(L, {
1848
+ style: [Y.arrow, { color: N.textMuted }],
1849
1849
  children: "▼"
1850
1850
  })
1851
1851
  ]
1852
1852
  }),
1853
- m && /* @__PURE__ */ (0, V.jsx)(L, {
1854
- style: [Y.disabledMessage, { color: F.error }],
1853
+ m && /* @__PURE__ */ (0, B.jsx)(L, {
1854
+ style: [Y.disabledMessage, { color: N.error }],
1855
1855
  children: m
1856
1856
  }),
1857
- /* @__PURE__ */ (0, V.jsx)(P, {
1857
+ /* @__PURE__ */ (0, B.jsx)(P, {
1858
1858
  visible: S,
1859
1859
  transparent: !0,
1860
1860
  animationType: "fade",
1861
1861
  onRequestClose: () => C(!1),
1862
- children: /* @__PURE__ */ (0, V.jsx)(z, {
1862
+ children: /* @__PURE__ */ (0, B.jsx)(R, {
1863
1863
  style: Y.modalOverlay,
1864
1864
  activeOpacity: 1,
1865
1865
  onPress: () => C(!1),
1866
- children: /* @__PURE__ */ (0, V.jsxs)(z, {
1867
- style: [Y.modalContent, { backgroundColor: F.card }],
1866
+ children: /* @__PURE__ */ (0, B.jsxs)(R, {
1867
+ style: [Y.modalContent, { backgroundColor: N.card }],
1868
1868
  activeOpacity: 1,
1869
1869
  onPress: () => {},
1870
- children: [/* @__PURE__ */ (0, V.jsxs)(B, {
1871
- style: [Y.modalHeader, { borderBottomColor: F.separator }],
1872
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
1873
- style: [Y.modalTitle, { color: F.text }],
1870
+ children: [/* @__PURE__ */ (0, B.jsxs)(z, {
1871
+ style: [Y.modalHeader, { borderBottomColor: N.separator }],
1872
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
1873
+ style: [Y.modalTitle, { color: N.text }],
1874
1874
  children: o || e.data.name
1875
- }), /* @__PURE__ */ (0, V.jsx)(z, {
1875
+ }), /* @__PURE__ */ (0, B.jsx)(R, {
1876
1876
  onPress: () => C(!1),
1877
- children: /* @__PURE__ */ (0, V.jsx)(L, {
1878
- style: [Y.closeButton, { color: F.textMuted }],
1877
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
1878
+ style: [Y.closeButton, { color: N.textMuted }],
1879
1879
  children: "✕"
1880
1880
  })
1881
1881
  })]
1882
- }), /* @__PURE__ */ (0, V.jsx)(N, {
1882
+ }), /* @__PURE__ */ (0, B.jsx)(ee, {
1883
1883
  data: v,
1884
1884
  keyExtractor: (e) => e.value,
1885
1885
  style: Y.optionsList,
1886
1886
  contentContainerStyle: Y.optionsListContent,
1887
1887
  renderItem: ({ item: e }) => {
1888
1888
  let n = e.value === t;
1889
- return /* @__PURE__ */ (0, V.jsxs)(z, {
1890
- style: [Y.option, n && { backgroundColor: F.primaryLight }],
1889
+ return /* @__PURE__ */ (0, B.jsxs)(R, {
1890
+ style: [Y.option, n && { backgroundColor: N.primaryLight }],
1891
1891
  onPress: () => {
1892
1892
  r(e.value), C(!1);
1893
1893
  },
1894
1894
  activeOpacity: .7,
1895
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
1896
- style: [Y.optionText, { color: F.text }],
1895
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
1896
+ style: [Y.optionText, { color: N.text }],
1897
1897
  children: e.label
1898
- }), n && /* @__PURE__ */ (0, V.jsx)(L, {
1899
- style: [Y.checkmark, { color: F.primary }],
1898
+ }), n && /* @__PURE__ */ (0, B.jsx)(L, {
1899
+ style: [Y.checkmark, { color: N.primary }],
1900
1900
  children: "✓"
1901
1901
  })]
1902
1902
  });
@@ -1905,42 +1905,42 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
1905
1905
  })
1906
1906
  })
1907
1907
  }),
1908
- i && /* @__PURE__ */ (0, V.jsx)(L, {
1909
- style: [Y.error, { color: F.error }],
1908
+ i && /* @__PURE__ */ (0, B.jsx)(L, {
1909
+ style: [Y.error, { color: N.error }],
1910
1910
  children: i
1911
1911
  }),
1912
- u && !i && /* @__PURE__ */ (0, V.jsx)(L, {
1913
- style: [Y.helperText, { color: F.textMuted }],
1912
+ u && !i && /* @__PURE__ */ (0, B.jsx)(L, {
1913
+ style: [Y.helperText, { color: N.textMuted }],
1914
1914
  children: u
1915
1915
  })
1916
1916
  ]
1917
1917
  });
1918
1918
  }
1919
- return /* @__PURE__ */ (0, V.jsxs)(B, {
1919
+ return /* @__PURE__ */ (0, B.jsxs)(z, {
1920
1920
  style: Y.container,
1921
1921
  children: [
1922
- /* @__PURE__ */ (0, V.jsxs)(L, {
1923
- style: [Y.label, { color: F.textSecondary }],
1924
- children: [o || e.data.name, e.data.required && /* @__PURE__ */ (0, V.jsx)(L, {
1925
- style: { color: F.error },
1922
+ /* @__PURE__ */ (0, B.jsxs)(L, {
1923
+ style: [Y.label, { color: N.textSecondary }],
1924
+ children: [o || e.data.name, e.data.required && /* @__PURE__ */ (0, B.jsx)(L, {
1925
+ style: { color: N.error },
1926
1926
  children: "*"
1927
1927
  })]
1928
1928
  }),
1929
- /* @__PURE__ */ (0, V.jsx)(R, {
1929
+ /* @__PURE__ */ (0, B.jsx)(ne, {
1930
1930
  style: [Y.input, {
1931
- backgroundColor: F.muted,
1932
- borderColor: F.border,
1933
- color: F.textMuted
1931
+ backgroundColor: N.muted,
1932
+ borderColor: N.border,
1933
+ color: N.textMuted
1934
1934
  }],
1935
1935
  value: typeof n == "string" ? n : JSON.stringify(n),
1936
1936
  editable: !1
1937
1937
  }),
1938
- i && /* @__PURE__ */ (0, V.jsx)(L, {
1939
- style: [Y.error, { color: F.error }],
1938
+ i && /* @__PURE__ */ (0, B.jsx)(L, {
1939
+ style: [Y.error, { color: N.error }],
1940
1940
  children: i
1941
1941
  }),
1942
- u && !i && /* @__PURE__ */ (0, V.jsx)(L, {
1943
- style: [Y.helperText, { color: F.textMuted }],
1942
+ u && !i && /* @__PURE__ */ (0, B.jsx)(L, {
1943
+ style: [Y.helperText, { color: N.textMuted }],
1944
1944
  children: u
1945
1945
  })
1946
1946
  ]
@@ -2071,23 +2071,23 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2071
2071
  flex: 1,
2072
2072
  fontSize: 14
2073
2073
  }
2074
- }), Ce = ({ node: e, value: n, setValue: r, error: i, label: a, placeholder: o, helperText: s, name: c }) => {
2074
+ }), we = ({ node: e, value: n, setValue: r, error: i, label: a, placeholder: o, helperText: s, name: c }) => {
2075
2075
  let { colors: l } = t(), [u, d] = A(n?.toString() ?? "");
2076
2076
  return D(() => {
2077
2077
  d(n?.toString() ?? "");
2078
- }, [n]), /* @__PURE__ */ (0, V.jsxs)(B, {
2079
- style: we.container,
2078
+ }, [n]), /* @__PURE__ */ (0, B.jsxs)(z, {
2079
+ style: Te.container,
2080
2080
  children: [
2081
- /* @__PURE__ */ (0, V.jsxs)(L, {
2082
- style: [we.label, { color: l.textSecondary }],
2083
- children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, V.jsx)(L, {
2081
+ /* @__PURE__ */ (0, B.jsxs)(L, {
2082
+ style: [Te.label, { color: l.textSecondary }],
2083
+ children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, B.jsx)(L, {
2084
2084
  style: { color: l.error },
2085
2085
  children: "*"
2086
2086
  })]
2087
2087
  }),
2088
- /* @__PURE__ */ (0, V.jsx)(R, {
2088
+ /* @__PURE__ */ (0, B.jsx)(ne, {
2089
2089
  style: [
2090
- we.input,
2090
+ Te.input,
2091
2091
  {
2092
2092
  backgroundColor: l.input,
2093
2093
  borderColor: l.border,
@@ -2109,17 +2109,17 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2109
2109
  keyboardType: "numeric",
2110
2110
  accessibilityLabel: c
2111
2111
  }),
2112
- i && /* @__PURE__ */ (0, V.jsx)(L, {
2113
- style: [we.error, { color: l.error }],
2112
+ i && /* @__PURE__ */ (0, B.jsx)(L, {
2113
+ style: [Te.error, { color: l.error }],
2114
2114
  children: i
2115
2115
  }),
2116
- s && !i && /* @__PURE__ */ (0, V.jsx)(L, {
2117
- style: [we.helperText, { color: l.textMuted }],
2116
+ s && !i && /* @__PURE__ */ (0, B.jsx)(L, {
2117
+ style: [Te.helperText, { color: l.textMuted }],
2118
2118
  children: s
2119
2119
  })
2120
2120
  ]
2121
2121
  });
2122
- }, we = I.create({
2122
+ }, Te = I.create({
2123
2123
  container: { marginBottom: 16 },
2124
2124
  error: {
2125
2125
  fontSize: 12,
@@ -2141,23 +2141,23 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2141
2141
  fontWeight: "500",
2142
2142
  marginBottom: 8
2143
2143
  }
2144
- }), Te = ({ node: e, value: n, setValue: r, error: i, label: a, placeholder: o, helperText: s, name: c }) => {
2144
+ }), Ee = ({ node: e, value: n, setValue: r, error: i, label: a, placeholder: o, helperText: s, name: c }) => {
2145
2145
  let { colors: l } = t(), [u, d] = A(!1);
2146
- return /* @__PURE__ */ (0, V.jsxs)(B, {
2147
- style: X.container,
2146
+ return /* @__PURE__ */ (0, B.jsxs)(z, {
2147
+ style: De.container,
2148
2148
  children: [
2149
- /* @__PURE__ */ (0, V.jsxs)(L, {
2150
- style: [X.label, { color: l.textSecondary }],
2151
- children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, V.jsx)(L, {
2149
+ /* @__PURE__ */ (0, B.jsxs)(L, {
2150
+ style: [De.label, { color: l.textSecondary }],
2151
+ children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, B.jsx)(L, {
2152
2152
  style: { color: l.error },
2153
2153
  children: "*"
2154
2154
  })]
2155
2155
  }),
2156
- /* @__PURE__ */ (0, V.jsxs)(B, {
2157
- style: X.inputWrapper,
2158
- children: [/* @__PURE__ */ (0, V.jsx)(R, {
2156
+ /* @__PURE__ */ (0, B.jsxs)(z, {
2157
+ style: De.inputWrapper,
2158
+ children: [/* @__PURE__ */ (0, B.jsx)(ne, {
2159
2159
  style: [
2160
- X.input,
2160
+ De.input,
2161
2161
  {
2162
2162
  backgroundColor: l.input,
2163
2163
  borderColor: l.border,
@@ -2171,27 +2171,27 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2171
2171
  placeholderTextColor: l.textMuted,
2172
2172
  secureTextEntry: !u,
2173
2173
  accessibilityLabel: c
2174
- }), /* @__PURE__ */ (0, V.jsx)(z, {
2175
- style: X.toggleButton,
2174
+ }), /* @__PURE__ */ (0, B.jsx)(R, {
2175
+ style: De.toggleButton,
2176
2176
  onPress: () => d(!u),
2177
2177
  activeOpacity: .7,
2178
- children: /* @__PURE__ */ (0, V.jsx)(L, {
2179
- style: [X.toggleText, { color: l.primary }],
2178
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
2179
+ style: [De.toggleText, { color: l.primary }],
2180
2180
  children: u ? "Hide" : "Show"
2181
2181
  })
2182
2182
  })]
2183
2183
  }),
2184
- i && /* @__PURE__ */ (0, V.jsx)(L, {
2185
- style: [X.error, { color: l.error }],
2184
+ i && /* @__PURE__ */ (0, B.jsx)(L, {
2185
+ style: [De.error, { color: l.error }],
2186
2186
  children: i
2187
2187
  }),
2188
- s && !i && /* @__PURE__ */ (0, V.jsx)(L, {
2189
- style: [X.helperText, { color: l.textMuted }],
2188
+ s && !i && /* @__PURE__ */ (0, B.jsx)(L, {
2189
+ style: [De.helperText, { color: l.textMuted }],
2190
2190
  children: s
2191
2191
  })
2192
2192
  ]
2193
2193
  });
2194
- }, X = I.create({
2194
+ }, De = I.create({
2195
2195
  container: { marginBottom: 16 },
2196
2196
  error: {
2197
2197
  fontSize: 12,
@@ -2229,58 +2229,65 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2229
2229
  fontSize: 12,
2230
2230
  fontWeight: "600"
2231
2231
  }
2232
- }), Ee = ({ node: e, value: n, setValue: r, error: i, label: a, helperText: o }) => {
2232
+ }), Oe = ({ node: e, value: n, setValue: r, error: i, label: a, helperText: o }) => {
2233
2233
  let s = g(), { colors: c } = t(), l = e.data.options || [], u = n || "", d = (e) => {
2234
2234
  r(e);
2235
2235
  };
2236
- return /* @__PURE__ */ (0, V.jsxs)(B, {
2237
- style: De.container,
2236
+ return /* @__PURE__ */ (0, B.jsxs)(z, {
2237
+ style: X.container,
2238
2238
  children: [
2239
- /* @__PURE__ */ (0, V.jsxs)(L, {
2240
- style: [De.label, { color: c.textSecondary }],
2241
- children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, V.jsx)(L, {
2239
+ /* @__PURE__ */ (0, B.jsxs)(L, {
2240
+ style: [X.label, { color: c.textSecondary }],
2241
+ children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, B.jsx)(L, {
2242
2242
  style: { color: c.error },
2243
2243
  children: "*"
2244
2244
  })]
2245
2245
  }),
2246
2246
  l.map((e) => {
2247
2247
  let t = u === e.value;
2248
- return /* @__PURE__ */ (0, V.jsxs)(z, {
2249
- style: De.option,
2248
+ return /* @__PURE__ */ (0, B.jsxs)(R, {
2249
+ style: X.option,
2250
2250
  onPress: () => d(e.value),
2251
2251
  disabled: e.disabled,
2252
2252
  activeOpacity: .7,
2253
- children: [/* @__PURE__ */ (0, V.jsx)(B, {
2254
- style: [
2255
- De.radio,
2256
- {
2257
- backgroundColor: c.input,
2258
- borderColor: c.border
2259
- },
2260
- t && { borderColor: c.primary }
2261
- ],
2262
- children: t && /* @__PURE__ */ (0, V.jsx)(B, { style: [De.radioInner, { backgroundColor: c.primary }] })
2263
- }), /* @__PURE__ */ (0, V.jsx)(L, {
2264
- style: [
2265
- De.optionLabel,
2266
- { color: c.textSecondary },
2267
- e.disabled && { color: c.textMuted }
2268
- ],
2269
- children: s(e.label) || e.value
2270
- })]
2253
+ children: [
2254
+ /* @__PURE__ */ (0, B.jsx)(z, {
2255
+ style: [
2256
+ X.radio,
2257
+ {
2258
+ backgroundColor: c.input,
2259
+ borderColor: c.border
2260
+ },
2261
+ t && { borderColor: c.primary }
2262
+ ],
2263
+ children: t && /* @__PURE__ */ (0, B.jsx)(z, { style: [X.radioInner, { backgroundColor: c.primary }] })
2264
+ }),
2265
+ e.image && /* @__PURE__ */ (0, B.jsx)(N, {
2266
+ source: { uri: e.image },
2267
+ style: X.image
2268
+ }),
2269
+ /* @__PURE__ */ (0, B.jsx)(L, {
2270
+ style: [
2271
+ X.optionLabel,
2272
+ { color: c.textSecondary },
2273
+ e.disabled && { color: c.textMuted }
2274
+ ],
2275
+ children: s(e.label) || e.value
2276
+ })
2277
+ ]
2271
2278
  }, e.value);
2272
2279
  }),
2273
- i && /* @__PURE__ */ (0, V.jsx)(L, {
2274
- style: [De.error, { color: c.error }],
2280
+ i && /* @__PURE__ */ (0, B.jsx)(L, {
2281
+ style: [X.error, { color: c.error }],
2275
2282
  children: i
2276
2283
  }),
2277
- o && !i && /* @__PURE__ */ (0, V.jsx)(L, {
2278
- style: [De.helperText, { color: c.textMuted }],
2284
+ o && !i && /* @__PURE__ */ (0, B.jsx)(L, {
2285
+ style: [X.helperText, { color: c.textMuted }],
2279
2286
  children: o
2280
2287
  })
2281
2288
  ]
2282
2289
  });
2283
- }, De = I.create({
2290
+ }, X = I.create({
2284
2291
  container: { marginBottom: 16 },
2285
2292
  error: {
2286
2293
  fontSize: 12,
@@ -2290,6 +2297,12 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2290
2297
  fontSize: 12,
2291
2298
  marginTop: 4
2292
2299
  },
2300
+ image: {
2301
+ borderRadius: 4,
2302
+ height: 32,
2303
+ marginRight: 8,
2304
+ width: 32
2305
+ },
2293
2306
  label: {
2294
2307
  fontSize: 14,
2295
2308
  fontWeight: "500",
@@ -2315,21 +2328,21 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2315
2328
  height: 10,
2316
2329
  width: 10
2317
2330
  }
2318
- }), Oe = ({ node: e, value: n, setValue: r, error: i, label: a, placeholder: o, helperText: s }) => {
2331
+ }), ke = ({ node: e, value: n, setValue: r, error: i, label: a, placeholder: o, helperText: s }) => {
2319
2332
  let [c, l] = A(!1), u = g(), { colors: d } = t(), f = e.data.options || [], p = e.data.multiple, m = Array.isArray(n) ? n : n ? [n] : [], h = (e) => {
2320
2333
  p ? r(m.includes(e) ? m.filter((t) => t !== e) : [...m, e]) : (r(e), l(!1));
2321
2334
  };
2322
- return /* @__PURE__ */ (0, V.jsxs)(B, {
2335
+ return /* @__PURE__ */ (0, B.jsxs)(z, {
2323
2336
  style: Z.container,
2324
2337
  children: [
2325
- /* @__PURE__ */ (0, V.jsxs)(L, {
2338
+ /* @__PURE__ */ (0, B.jsxs)(L, {
2326
2339
  style: [Z.label, { color: d.textSecondary }],
2327
- children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, V.jsx)(L, {
2340
+ children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, B.jsx)(L, {
2328
2341
  style: { color: d.error },
2329
2342
  children: "*"
2330
2343
  })]
2331
2344
  }),
2332
- /* @__PURE__ */ (0, V.jsxs)(z, {
2345
+ /* @__PURE__ */ (0, B.jsxs)(R, {
2333
2346
  style: [
2334
2347
  Z.trigger,
2335
2348
  {
@@ -2340,7 +2353,7 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2340
2353
  ],
2341
2354
  onPress: () => l(!0),
2342
2355
  activeOpacity: .7,
2343
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
2356
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
2344
2357
  style: [
2345
2358
  Z.triggerText,
2346
2359
  { color: d.text },
@@ -2352,64 +2365,64 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2352
2365
  let e = f.find((e) => e.value === m[0]);
2353
2366
  return e ? u(e.label) || e.value : o || "Select...";
2354
2367
  })()
2355
- }), /* @__PURE__ */ (0, V.jsx)(L, {
2368
+ }), /* @__PURE__ */ (0, B.jsx)(L, {
2356
2369
  style: [Z.arrow, { color: d.textMuted }],
2357
2370
  children: "▼"
2358
2371
  })]
2359
2372
  }),
2360
- /* @__PURE__ */ (0, V.jsx)(P, {
2373
+ /* @__PURE__ */ (0, B.jsx)(P, {
2361
2374
  visible: c,
2362
2375
  transparent: !0,
2363
2376
  animationType: "fade",
2364
2377
  onRequestClose: () => l(!1),
2365
- children: /* @__PURE__ */ (0, V.jsx)(z, {
2378
+ children: /* @__PURE__ */ (0, B.jsx)(R, {
2366
2379
  style: Z.modalOverlay,
2367
2380
  activeOpacity: 1,
2368
2381
  onPress: () => l(!1),
2369
- children: /* @__PURE__ */ (0, V.jsxs)(B, {
2382
+ children: /* @__PURE__ */ (0, B.jsxs)(z, {
2370
2383
  style: [Z.modalContent, { backgroundColor: d.card }],
2371
2384
  onStartShouldSetResponder: () => !0,
2372
2385
  children: [
2373
- /* @__PURE__ */ (0, V.jsxs)(B, {
2386
+ /* @__PURE__ */ (0, B.jsxs)(z, {
2374
2387
  style: [Z.modalHeader, { borderBottomColor: d.border }],
2375
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
2388
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
2376
2389
  style: [Z.modalTitle, { color: d.text }],
2377
2390
  children: a || e.data.name
2378
- }), /* @__PURE__ */ (0, V.jsx)(z, {
2391
+ }), /* @__PURE__ */ (0, B.jsx)(R, {
2379
2392
  onPress: () => l(!1),
2380
- children: /* @__PURE__ */ (0, V.jsx)(L, {
2393
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
2381
2394
  style: [Z.closeButton, { color: d.textMuted }],
2382
2395
  children: "✕"
2383
2396
  })
2384
2397
  })]
2385
2398
  }),
2386
- /* @__PURE__ */ (0, V.jsx)(F, {
2399
+ /* @__PURE__ */ (0, B.jsx)(F, {
2387
2400
  style: Z.optionsList,
2388
2401
  children: f.map((e) => {
2389
2402
  let t = m.includes(e.value);
2390
- return /* @__PURE__ */ (0, V.jsxs)(z, {
2403
+ return /* @__PURE__ */ (0, B.jsxs)(R, {
2391
2404
  style: [Z.option, t && { backgroundColor: `${d.primary}20` }],
2392
2405
  onPress: () => h(e.value),
2393
2406
  disabled: e.disabled,
2394
2407
  activeOpacity: .7,
2395
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
2408
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
2396
2409
  style: [
2397
2410
  Z.optionText,
2398
2411
  { color: d.textSecondary },
2399
2412
  e.disabled && { color: d.textMuted }
2400
2413
  ],
2401
2414
  children: u(e.label) || e.value
2402
- }), t && /* @__PURE__ */ (0, V.jsx)(L, {
2415
+ }), t && /* @__PURE__ */ (0, B.jsx)(L, {
2403
2416
  style: [Z.checkmark, { color: d.primary }],
2404
2417
  children: "✓"
2405
2418
  })]
2406
2419
  }, e.value);
2407
2420
  })
2408
2421
  }),
2409
- p && /* @__PURE__ */ (0, V.jsx)(z, {
2422
+ p && /* @__PURE__ */ (0, B.jsx)(R, {
2410
2423
  style: [Z.doneButton, { backgroundColor: d.primary }],
2411
2424
  onPress: () => l(!1),
2412
- children: /* @__PURE__ */ (0, V.jsx)(L, {
2425
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
2413
2426
  style: Z.doneButtonText,
2414
2427
  children: "Done"
2415
2428
  })
@@ -2418,11 +2431,11 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2418
2431
  })
2419
2432
  })
2420
2433
  }),
2421
- i && /* @__PURE__ */ (0, V.jsx)(L, {
2434
+ i && /* @__PURE__ */ (0, B.jsx)(L, {
2422
2435
  style: [Z.error, { color: d.error }],
2423
2436
  children: i
2424
2437
  }),
2425
- s && !i && /* @__PURE__ */ (0, V.jsx)(L, {
2438
+ s && !i && /* @__PURE__ */ (0, B.jsx)(L, {
2426
2439
  style: [Z.helperText, { color: d.textMuted }],
2427
2440
  children: s
2428
2441
  })
@@ -2510,23 +2523,23 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2510
2523
  flex: 1,
2511
2524
  fontSize: 14
2512
2525
  }
2513
- }), ke = ({ node: e, value: n, setValue: r, error: i, label: a, helperText: o }) => {
2526
+ }), Ae = ({ node: e, value: n, setValue: r, error: i, label: a, helperText: o }) => {
2514
2527
  let { colors: s } = t(), c = !!n;
2515
- return /* @__PURE__ */ (0, V.jsxs)(B, {
2516
- style: Ae.container,
2528
+ return /* @__PURE__ */ (0, B.jsxs)(z, {
2529
+ style: je.container,
2517
2530
  children: [
2518
- /* @__PURE__ */ (0, V.jsxs)(B, {
2519
- style: Ae.row,
2520
- children: [/* @__PURE__ */ (0, V.jsx)(B, {
2521
- style: Ae.labelContainer,
2522
- children: /* @__PURE__ */ (0, V.jsxs)(L, {
2523
- style: [Ae.label, { color: s.textSecondary }],
2524
- children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, V.jsx)(L, {
2531
+ /* @__PURE__ */ (0, B.jsxs)(z, {
2532
+ style: je.row,
2533
+ children: [/* @__PURE__ */ (0, B.jsx)(z, {
2534
+ style: je.labelContainer,
2535
+ children: /* @__PURE__ */ (0, B.jsxs)(L, {
2536
+ style: [je.label, { color: s.textSecondary }],
2537
+ children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, B.jsx)(L, {
2525
2538
  style: { color: s.error },
2526
2539
  children: "*"
2527
2540
  })]
2528
2541
  })
2529
- }), /* @__PURE__ */ (0, V.jsx)(ee, {
2542
+ }), /* @__PURE__ */ (0, B.jsx)(te, {
2530
2543
  trackColor: {
2531
2544
  false: s.border,
2532
2545
  true: `${s.primary}80`
@@ -2537,17 +2550,17 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2537
2550
  value: c
2538
2551
  })]
2539
2552
  }),
2540
- i && /* @__PURE__ */ (0, V.jsx)(L, {
2541
- style: [Ae.error, { color: s.error }],
2553
+ i && /* @__PURE__ */ (0, B.jsx)(L, {
2554
+ style: [je.error, { color: s.error }],
2542
2555
  children: i
2543
2556
  }),
2544
- o && !i && /* @__PURE__ */ (0, V.jsx)(L, {
2545
- style: [Ae.helperText, { color: s.textMuted }],
2557
+ o && !i && /* @__PURE__ */ (0, B.jsx)(L, {
2558
+ style: [je.helperText, { color: s.textMuted }],
2546
2559
  children: o
2547
2560
  })
2548
2561
  ]
2549
2562
  });
2550
- }, Ae = I.create({
2563
+ }, je = I.create({
2551
2564
  container: { marginBottom: 16 },
2552
2565
  error: {
2553
2566
  fontSize: 12,
@@ -2567,21 +2580,21 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2567
2580
  flexDirection: "row",
2568
2581
  justifyContent: "space-between"
2569
2582
  }
2570
- }), je = ({ node: e, value: n, setValue: r, error: i, label: a, placeholder: o, helperText: s, name: c }) => {
2583
+ }), Me = ({ node: e, value: n, setValue: r, error: i, label: a, placeholder: o, helperText: s, name: c }) => {
2571
2584
  let { colors: l } = t();
2572
- return /* @__PURE__ */ (0, V.jsxs)(B, {
2573
- style: Me.container,
2585
+ return /* @__PURE__ */ (0, B.jsxs)(z, {
2586
+ style: Ne.container,
2574
2587
  children: [
2575
- /* @__PURE__ */ (0, V.jsxs)(L, {
2576
- style: [Me.label, { color: l.textSecondary }],
2577
- children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, V.jsx)(L, {
2588
+ /* @__PURE__ */ (0, B.jsxs)(L, {
2589
+ style: [Ne.label, { color: l.textSecondary }],
2590
+ children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, B.jsx)(L, {
2578
2591
  style: { color: l.error },
2579
2592
  children: "*"
2580
2593
  })]
2581
2594
  }),
2582
- /* @__PURE__ */ (0, V.jsx)(R, {
2595
+ /* @__PURE__ */ (0, B.jsx)(ne, {
2583
2596
  style: [
2584
- Me.textarea,
2597
+ Ne.textarea,
2585
2598
  {
2586
2599
  backgroundColor: l.input,
2587
2600
  borderColor: l.border,
@@ -2598,17 +2611,17 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2598
2611
  textAlignVertical: "top",
2599
2612
  accessibilityLabel: c
2600
2613
  }),
2601
- i && /* @__PURE__ */ (0, V.jsx)(L, {
2602
- style: [Me.error, { color: l.error }],
2614
+ i && /* @__PURE__ */ (0, B.jsx)(L, {
2615
+ style: [Ne.error, { color: l.error }],
2603
2616
  children: i
2604
2617
  }),
2605
- s && !i && /* @__PURE__ */ (0, V.jsx)(L, {
2606
- style: [Me.helperText, { color: l.textMuted }],
2618
+ s && !i && /* @__PURE__ */ (0, B.jsx)(L, {
2619
+ style: [Ne.helperText, { color: l.textMuted }],
2607
2620
  children: s
2608
2621
  })
2609
2622
  ]
2610
2623
  });
2611
- }, Me = I.create({
2624
+ }, Ne = I.create({
2612
2625
  container: { marginBottom: 16 },
2613
2626
  error: {
2614
2627
  fontSize: 12,
@@ -2631,21 +2644,21 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2631
2644
  paddingHorizontal: 12,
2632
2645
  paddingVertical: 8
2633
2646
  }
2634
- }), Ne = ({ node: e, value: n, setValue: r, error: i, label: a, placeholder: o, helperText: s, name: c }) => {
2647
+ }), Pe = ({ node: e, value: n, setValue: r, error: i, label: a, placeholder: o, helperText: s, name: c }) => {
2635
2648
  let { colors: l } = t();
2636
- return /* @__PURE__ */ (0, V.jsxs)(B, {
2637
- style: Pe.container,
2649
+ return /* @__PURE__ */ (0, B.jsxs)(z, {
2650
+ style: Fe.container,
2638
2651
  children: [
2639
- /* @__PURE__ */ (0, V.jsxs)(L, {
2640
- style: [Pe.label, { color: l.textSecondary }],
2641
- children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, V.jsx)(L, {
2652
+ /* @__PURE__ */ (0, B.jsxs)(L, {
2653
+ style: [Fe.label, { color: l.textSecondary }],
2654
+ children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, B.jsx)(L, {
2642
2655
  style: { color: l.error },
2643
2656
  children: "*"
2644
2657
  })]
2645
2658
  }),
2646
- /* @__PURE__ */ (0, V.jsx)(R, {
2659
+ /* @__PURE__ */ (0, B.jsx)(ne, {
2647
2660
  style: [
2648
- Pe.input,
2661
+ Fe.input,
2649
2662
  {
2650
2663
  backgroundColor: l.input,
2651
2664
  borderColor: l.border,
@@ -2659,17 +2672,17 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2659
2672
  placeholderTextColor: l.textMuted,
2660
2673
  accessibilityLabel: c
2661
2674
  }),
2662
- i && /* @__PURE__ */ (0, V.jsx)(L, {
2663
- style: [Pe.error, { color: l.error }],
2675
+ i && /* @__PURE__ */ (0, B.jsx)(L, {
2676
+ style: [Fe.error, { color: l.error }],
2664
2677
  children: i
2665
2678
  }),
2666
- s && !i && /* @__PURE__ */ (0, V.jsx)(L, {
2667
- style: [Pe.helperText, { color: l.textMuted }],
2679
+ s && !i && /* @__PURE__ */ (0, B.jsx)(L, {
2680
+ style: [Fe.helperText, { color: l.textMuted }],
2668
2681
  children: s
2669
2682
  })
2670
2683
  ]
2671
2684
  });
2672
- }, Pe = I.create({
2685
+ }, Fe = I.create({
2673
2686
  container: { marginBottom: 16 },
2674
2687
  error: {
2675
2688
  fontSize: 12,
@@ -2691,7 +2704,7 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2691
2704
  fontWeight: "500",
2692
2705
  marginBottom: 8
2693
2706
  }
2694
- }), Fe = ({ node: e, value: n, setValue: r, error: i, label: a, placeholder: o, helperText: s }) => {
2707
+ }), Ie = ({ node: e, value: n, setValue: r, error: i, label: a, placeholder: o, helperText: s }) => {
2695
2708
  let [c, l] = A(!1), { colors: u } = t(), d = (n || "").split(":"), f = Number.parseInt(d[0], 10), p = Number.parseInt(d[1], 10), m = Number.isNaN(f) ? 0 : f, h = Number.isNaN(p) ? 0 : p, [g, _] = A(m || 0), [v, y] = A(h || 0), b = k(null), x = k(null), S = Array.from({ length: 24 }, (e, t) => t), C = Array.from({ length: 60 }, (e, t) => t), w = () => n || o || "Select time", T = E(() => {
2696
2709
  r(`${String(g).padStart(2, "0")}:${String(v).padStart(2, "0")}`), l(!1);
2697
2710
  }, [
@@ -2699,17 +2712,17 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2699
2712
  v,
2700
2713
  r
2701
2714
  ]);
2702
- return /* @__PURE__ */ (0, V.jsxs)(B, {
2715
+ return /* @__PURE__ */ (0, B.jsxs)(z, {
2703
2716
  style: Q.container,
2704
2717
  children: [
2705
- /* @__PURE__ */ (0, V.jsxs)(L, {
2718
+ /* @__PURE__ */ (0, B.jsxs)(L, {
2706
2719
  style: [Q.label, { color: u.textSecondary }],
2707
- children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, V.jsx)(L, {
2720
+ children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, B.jsx)(L, {
2708
2721
  style: { color: u.error },
2709
2722
  children: "*"
2710
2723
  })]
2711
2724
  }),
2712
- /* @__PURE__ */ (0, V.jsxs)(z, {
2725
+ /* @__PURE__ */ (0, B.jsxs)(R, {
2713
2726
  style: [
2714
2727
  Q.trigger,
2715
2728
  {
@@ -2722,7 +2735,7 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2722
2735
  _(m || 0), y(h || 0), l(!0);
2723
2736
  },
2724
2737
  activeOpacity: .7,
2725
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
2738
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
2726
2739
  style: [
2727
2740
  Q.triggerText,
2728
2741
  { color: u.text },
@@ -2730,56 +2743,56 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2730
2743
  ],
2731
2744
  numberOfLines: 1,
2732
2745
  children: w()
2733
- }), /* @__PURE__ */ (0, V.jsx)(L, {
2746
+ }), /* @__PURE__ */ (0, B.jsx)(L, {
2734
2747
  style: Q.icon,
2735
2748
  children: "🕐"
2736
2749
  })]
2737
2750
  }),
2738
- /* @__PURE__ */ (0, V.jsx)(P, {
2751
+ /* @__PURE__ */ (0, B.jsx)(P, {
2739
2752
  visible: c,
2740
2753
  transparent: !0,
2741
2754
  animationType: "fade",
2742
2755
  onRequestClose: () => l(!1),
2743
- children: /* @__PURE__ */ (0, V.jsx)(z, {
2756
+ children: /* @__PURE__ */ (0, B.jsx)(R, {
2744
2757
  style: Q.modalOverlay,
2745
2758
  activeOpacity: 1,
2746
2759
  onPress: () => l(!1),
2747
- children: /* @__PURE__ */ (0, V.jsxs)(z, {
2760
+ children: /* @__PURE__ */ (0, B.jsxs)(R, {
2748
2761
  style: [Q.modalContent, { backgroundColor: u.card }],
2749
2762
  activeOpacity: 1,
2750
2763
  onPress: () => {},
2751
2764
  children: [
2752
- /* @__PURE__ */ (0, V.jsxs)(B, {
2765
+ /* @__PURE__ */ (0, B.jsxs)(z, {
2753
2766
  style: [Q.modalHeader, { borderBottomColor: u.separator }],
2754
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
2767
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
2755
2768
  style: [Q.modalTitle, { color: u.text }],
2756
2769
  children: a || e.data.name
2757
- }), /* @__PURE__ */ (0, V.jsx)(z, {
2770
+ }), /* @__PURE__ */ (0, B.jsx)(R, {
2758
2771
  onPress: () => l(!1),
2759
- children: /* @__PURE__ */ (0, V.jsx)(L, {
2772
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
2760
2773
  style: [Q.closeButton, { color: u.textMuted }],
2761
2774
  children: "✕"
2762
2775
  })
2763
2776
  })]
2764
2777
  }),
2765
- /* @__PURE__ */ (0, V.jsxs)(B, {
2778
+ /* @__PURE__ */ (0, B.jsxs)(z, {
2766
2779
  style: Q.pickerContainer,
2767
2780
  children: [
2768
- /* @__PURE__ */ (0, V.jsxs)(B, {
2781
+ /* @__PURE__ */ (0, B.jsxs)(z, {
2769
2782
  style: Q.pickerColumn,
2770
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
2783
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
2771
2784
  style: [Q.pickerLabel, { color: u.textMuted }],
2772
2785
  children: "Hour"
2773
- }), /* @__PURE__ */ (0, V.jsx)(F, {
2786
+ }), /* @__PURE__ */ (0, B.jsx)(F, {
2774
2787
  ref: b,
2775
2788
  style: Q.picker,
2776
2789
  contentContainerStyle: Q.pickerContent,
2777
2790
  showsVerticalScrollIndicator: !1,
2778
- children: S.map((e) => /* @__PURE__ */ (0, V.jsx)(z, {
2791
+ children: S.map((e) => /* @__PURE__ */ (0, B.jsx)(R, {
2779
2792
  style: [Q.pickerItem, g === e && { backgroundColor: u.primary }],
2780
2793
  onPress: () => _(e),
2781
2794
  activeOpacity: .7,
2782
- children: /* @__PURE__ */ (0, V.jsx)(L, {
2795
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
2783
2796
  style: [
2784
2797
  Q.pickerItemText,
2785
2798
  { color: u.text },
@@ -2793,25 +2806,25 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2793
2806
  }, e))
2794
2807
  })]
2795
2808
  }),
2796
- /* @__PURE__ */ (0, V.jsx)(L, {
2809
+ /* @__PURE__ */ (0, B.jsx)(L, {
2797
2810
  style: [Q.pickerSeparator, { color: u.text }],
2798
2811
  children: ":"
2799
2812
  }),
2800
- /* @__PURE__ */ (0, V.jsxs)(B, {
2813
+ /* @__PURE__ */ (0, B.jsxs)(z, {
2801
2814
  style: Q.pickerColumn,
2802
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
2815
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
2803
2816
  style: [Q.pickerLabel, { color: u.textMuted }],
2804
2817
  children: "Minute"
2805
- }), /* @__PURE__ */ (0, V.jsx)(F, {
2818
+ }), /* @__PURE__ */ (0, B.jsx)(F, {
2806
2819
  ref: x,
2807
2820
  style: Q.picker,
2808
2821
  contentContainerStyle: Q.pickerContent,
2809
2822
  showsVerticalScrollIndicator: !1,
2810
- children: C.map((e) => /* @__PURE__ */ (0, V.jsx)(z, {
2823
+ children: C.map((e) => /* @__PURE__ */ (0, B.jsx)(R, {
2811
2824
  style: [Q.pickerItem, v === e && { backgroundColor: u.primary }],
2812
2825
  onPress: () => y(e),
2813
2826
  activeOpacity: .7,
2814
- children: /* @__PURE__ */ (0, V.jsx)(L, {
2827
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
2815
2828
  style: [
2816
2829
  Q.pickerItemText,
2817
2830
  { color: u.text },
@@ -2827,11 +2840,11 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2827
2840
  })
2828
2841
  ]
2829
2842
  }),
2830
- /* @__PURE__ */ (0, V.jsx)(z, {
2843
+ /* @__PURE__ */ (0, B.jsx)(R, {
2831
2844
  style: [Q.confirmButton, { backgroundColor: u.primary }],
2832
2845
  onPress: T,
2833
2846
  activeOpacity: .7,
2834
- children: /* @__PURE__ */ (0, V.jsx)(L, {
2847
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
2835
2848
  style: [Q.confirmButtonText, { color: u.background }],
2836
2849
  children: "Confirm"
2837
2850
  })
@@ -2840,11 +2853,11 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2840
2853
  })
2841
2854
  })
2842
2855
  }),
2843
- i && /* @__PURE__ */ (0, V.jsx)(L, {
2856
+ i && /* @__PURE__ */ (0, B.jsx)(L, {
2844
2857
  style: [Q.error, { color: u.error }],
2845
2858
  children: i
2846
2859
  }),
2847
- s && !i && /* @__PURE__ */ (0, V.jsx)(L, {
2860
+ s && !i && /* @__PURE__ */ (0, B.jsx)(L, {
2848
2861
  style: [Q.helperText, { color: u.textMuted }],
2849
2862
  children: s
2850
2863
  })
@@ -2941,8 +2954,8 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2941
2954
  flex: 1,
2942
2955
  fontSize: 14
2943
2956
  }
2944
- }), Ie = ({ node: e, value: n, setValue: r, error: i, label: a, helperText: o }) => {
2945
- let [s, c] = A(!1), [l, u] = A(!0), d = g(), { colors: f } = t(), p = Array.isArray(n) ? n : [], m = p[0] || "", h = p[1] || "", _ = m.split(":"), v = Number.parseInt(_[0], 10), y = Number.parseInt(_[1], 10), b = Number.isNaN(v) ? 0 : v, x = Number.isNaN(y) ? 0 : y, S = h.split(":"), C = Number.parseInt(S[0], 10), w = Number.parseInt(S[1], 10), T = Number.isNaN(C) ? 0 : C, D = Number.isNaN(w) ? 0 : w, [O, k] = A(0), [j, M] = A(0), N = Array.from({ length: 24 }, (e, t) => t), I = Array.from({ length: 60 }, (e, t) => t), ee = () => m && h ? `${m} - ${h}` : m || d("renderer.defaultInputs.selectDateRange"), R = E(() => {
2957
+ }), Le = ({ node: e, value: n, setValue: r, error: i, label: a, helperText: o }) => {
2958
+ let [s, c] = A(!1), [l, u] = A(!0), d = g(), { colors: f } = t(), p = Array.isArray(n) ? n : [], m = p[0] || "", h = p[1] || "", _ = m.split(":"), v = Number.parseInt(_[0], 10), y = Number.parseInt(_[1], 10), b = Number.isNaN(v) ? 0 : v, x = Number.isNaN(y) ? 0 : y, S = h.split(":"), C = Number.parseInt(S[0], 10), w = Number.parseInt(S[1], 10), T = Number.isNaN(C) ? 0 : C, D = Number.isNaN(w) ? 0 : w, [O, k] = A(0), [j, M] = A(0), ee = Array.from({ length: 24 }, (e, t) => t), N = Array.from({ length: 60 }, (e, t) => t), I = () => m && h ? `${m} - ${h}` : m || d("renderer.defaultInputs.selectDateRange"), te = E(() => {
2946
2959
  let e = `${String(O).padStart(2, "0")}:${String(j).padStart(2, "0")}`;
2947
2960
  l ? (r([e, h]), u(!1), k(T || 0), M(D || 0)) : (r([m, e]), c(!1), u(!0));
2948
2961
  }, [
@@ -2955,17 +2968,17 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2955
2968
  D,
2956
2969
  r
2957
2970
  ]);
2958
- return /* @__PURE__ */ (0, V.jsxs)(B, {
2971
+ return /* @__PURE__ */ (0, B.jsxs)(z, {
2959
2972
  style: $.container,
2960
2973
  children: [
2961
- /* @__PURE__ */ (0, V.jsxs)(L, {
2974
+ /* @__PURE__ */ (0, B.jsxs)(L, {
2962
2975
  style: [$.label, { color: f.textSecondary }],
2963
- children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, V.jsx)(L, {
2976
+ children: [a || e.data.name, e.data.required && /* @__PURE__ */ (0, B.jsx)(L, {
2964
2977
  style: { color: f.error },
2965
2978
  children: "*"
2966
2979
  })]
2967
2980
  }),
2968
- /* @__PURE__ */ (0, V.jsxs)(z, {
2981
+ /* @__PURE__ */ (0, B.jsxs)(R, {
2969
2982
  style: [
2970
2983
  $.trigger,
2971
2984
  {
@@ -2978,70 +2991,70 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
2978
2991
  k(b || 0), M(x || 0), u(!0), c(!0);
2979
2992
  },
2980
2993
  activeOpacity: .7,
2981
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
2994
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
2982
2995
  style: [
2983
2996
  $.triggerText,
2984
2997
  { color: f.text },
2985
2998
  !m && { color: f.textMuted }
2986
2999
  ],
2987
3000
  numberOfLines: 1,
2988
- children: ee()
2989
- }), /* @__PURE__ */ (0, V.jsx)(L, {
3001
+ children: I()
3002
+ }), /* @__PURE__ */ (0, B.jsx)(L, {
2990
3003
  style: $.icon,
2991
3004
  children: "🕐"
2992
3005
  })]
2993
3006
  }),
2994
- /* @__PURE__ */ (0, V.jsx)(P, {
3007
+ /* @__PURE__ */ (0, B.jsx)(P, {
2995
3008
  visible: s,
2996
3009
  transparent: !0,
2997
3010
  animationType: "fade",
2998
3011
  onRequestClose: () => c(!1),
2999
- children: /* @__PURE__ */ (0, V.jsx)(z, {
3012
+ children: /* @__PURE__ */ (0, B.jsx)(R, {
3000
3013
  style: $.modalOverlay,
3001
3014
  activeOpacity: 1,
3002
3015
  onPress: () => c(!1),
3003
- children: /* @__PURE__ */ (0, V.jsxs)(z, {
3016
+ children: /* @__PURE__ */ (0, B.jsxs)(R, {
3004
3017
  style: [$.modalContent, { backgroundColor: f.card }],
3005
3018
  activeOpacity: 1,
3006
3019
  onPress: () => {},
3007
3020
  children: [
3008
- /* @__PURE__ */ (0, V.jsxs)(B, {
3021
+ /* @__PURE__ */ (0, B.jsxs)(z, {
3009
3022
  style: [$.modalHeader, { borderBottomColor: f.separator }],
3010
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
3023
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
3011
3024
  style: [$.modalTitle, { color: f.text }],
3012
3025
  children: a || e.data.name
3013
- }), /* @__PURE__ */ (0, V.jsx)(z, {
3026
+ }), /* @__PURE__ */ (0, B.jsx)(R, {
3014
3027
  onPress: () => c(!1),
3015
- children: /* @__PURE__ */ (0, V.jsx)(L, {
3028
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
3016
3029
  style: [$.closeButton, { color: f.textMuted }],
3017
3030
  children: "✕"
3018
3031
  })
3019
3032
  })]
3020
3033
  }),
3021
- /* @__PURE__ */ (0, V.jsx)(B, {
3034
+ /* @__PURE__ */ (0, B.jsx)(z, {
3022
3035
  style: [$.rangeIndicator, { backgroundColor: f.primaryLight }],
3023
- children: /* @__PURE__ */ (0, V.jsx)(L, {
3036
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
3024
3037
  style: [$.rangeIndicatorText, { color: f.primary }],
3025
3038
  children: d(l ? "renderer.defaultInputs.startTime" : "renderer.defaultInputs.endTime")
3026
3039
  })
3027
3040
  }),
3028
- /* @__PURE__ */ (0, V.jsxs)(B, {
3041
+ /* @__PURE__ */ (0, B.jsxs)(z, {
3029
3042
  style: $.pickerContainer,
3030
3043
  children: [
3031
- /* @__PURE__ */ (0, V.jsxs)(B, {
3044
+ /* @__PURE__ */ (0, B.jsxs)(z, {
3032
3045
  style: $.pickerColumn,
3033
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
3046
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
3034
3047
  style: [$.pickerLabel, { color: f.textMuted }],
3035
3048
  children: "Hour"
3036
- }), /* @__PURE__ */ (0, V.jsx)(F, {
3049
+ }), /* @__PURE__ */ (0, B.jsx)(F, {
3037
3050
  style: $.picker,
3038
3051
  contentContainerStyle: $.pickerContent,
3039
3052
  showsVerticalScrollIndicator: !1,
3040
- children: N.map((e) => /* @__PURE__ */ (0, V.jsx)(z, {
3053
+ children: ee.map((e) => /* @__PURE__ */ (0, B.jsx)(R, {
3041
3054
  style: [$.pickerItem, O === e && { backgroundColor: f.primary }],
3042
3055
  onPress: () => k(e),
3043
3056
  activeOpacity: .7,
3044
- children: /* @__PURE__ */ (0, V.jsx)(L, {
3057
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
3045
3058
  style: [
3046
3059
  $.pickerItemText,
3047
3060
  { color: f.text },
@@ -3055,24 +3068,24 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
3055
3068
  }, e))
3056
3069
  })]
3057
3070
  }),
3058
- /* @__PURE__ */ (0, V.jsx)(L, {
3071
+ /* @__PURE__ */ (0, B.jsx)(L, {
3059
3072
  style: [$.pickerSeparator, { color: f.text }],
3060
3073
  children: ":"
3061
3074
  }),
3062
- /* @__PURE__ */ (0, V.jsxs)(B, {
3075
+ /* @__PURE__ */ (0, B.jsxs)(z, {
3063
3076
  style: $.pickerColumn,
3064
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
3077
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
3065
3078
  style: [$.pickerLabel, { color: f.textMuted }],
3066
3079
  children: "Minute"
3067
- }), /* @__PURE__ */ (0, V.jsx)(F, {
3080
+ }), /* @__PURE__ */ (0, B.jsx)(F, {
3068
3081
  style: $.picker,
3069
3082
  contentContainerStyle: $.pickerContent,
3070
3083
  showsVerticalScrollIndicator: !1,
3071
- children: I.map((e) => /* @__PURE__ */ (0, V.jsx)(z, {
3084
+ children: N.map((e) => /* @__PURE__ */ (0, B.jsx)(R, {
3072
3085
  style: [$.pickerItem, j === e && { backgroundColor: f.primary }],
3073
3086
  onPress: () => M(e),
3074
3087
  activeOpacity: .7,
3075
- children: /* @__PURE__ */ (0, V.jsx)(L, {
3088
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
3076
3089
  style: [
3077
3090
  $.pickerItemText,
3078
3091
  { color: f.text },
@@ -3088,11 +3101,11 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
3088
3101
  })
3089
3102
  ]
3090
3103
  }),
3091
- /* @__PURE__ */ (0, V.jsx)(z, {
3104
+ /* @__PURE__ */ (0, B.jsx)(R, {
3092
3105
  style: [$.confirmButton, { backgroundColor: f.primary }],
3093
- onPress: R,
3106
+ onPress: te,
3094
3107
  activeOpacity: .7,
3095
- children: /* @__PURE__ */ (0, V.jsx)(L, {
3108
+ children: /* @__PURE__ */ (0, B.jsx)(L, {
3096
3109
  style: [$.confirmButtonText, { color: f.background }],
3097
3110
  children: l ? "Next" : "Confirm"
3098
3111
  })
@@ -3101,11 +3114,11 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
3101
3114
  })
3102
3115
  })
3103
3116
  }),
3104
- i && /* @__PURE__ */ (0, V.jsx)(L, {
3117
+ i && /* @__PURE__ */ (0, B.jsx)(L, {
3105
3118
  style: [$.error, { color: f.error }],
3106
3119
  children: i
3107
3120
  }),
3108
- o && !i && /* @__PURE__ */ (0, V.jsx)(L, {
3121
+ o && !i && /* @__PURE__ */ (0, B.jsx)(L, {
3109
3122
  style: [$.helperText, { color: f.textMuted }],
3110
3123
  children: o
3111
3124
  })
@@ -3212,34 +3225,34 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
3212
3225
  flex: 1,
3213
3226
  fontSize: 14
3214
3227
  }
3215
- }), Le = ({ node: e }) => /* @__PURE__ */ (0, V.jsxs)(L, { children: [
3228
+ }), Re = ({ node: e }) => /* @__PURE__ */ (0, B.jsxs)(L, { children: [
3216
3229
  "TODO: Implement ",
3217
3230
  e.data.type,
3218
3231
  " input for React Native"
3219
- ] }), Re = {
3220
- address: H,
3221
- autocomplete: se,
3222
- checkbox: ce,
3223
- date: le,
3224
- daterange: ue,
3225
- file: de,
3226
- hidden: fe,
3227
- http: Se,
3228
- number: Ce,
3229
- password: Te,
3230
- radio: Ee,
3231
- select: Oe,
3232
- submit: Le,
3233
- switch: ke,
3234
- text: Ne,
3235
- textarea: je,
3236
- time: Fe,
3237
- timerange: Ie
3238
- }, ze = ({ children: e = "Submit", disabled: n, isSubmitting: r, onPress: i }) => {
3232
+ ] }), ze = {
3233
+ address: ce,
3234
+ autocomplete: le,
3235
+ checkbox: W,
3236
+ date: ue,
3237
+ daterange: de,
3238
+ file: fe,
3239
+ hidden: pe,
3240
+ http: Ce,
3241
+ number: we,
3242
+ password: Ee,
3243
+ radio: Oe,
3244
+ select: ke,
3245
+ submit: Re,
3246
+ switch: Ae,
3247
+ text: Pe,
3248
+ textarea: Me,
3249
+ time: Ie,
3250
+ timerange: Le
3251
+ }, Be = ({ children: e = "Submit", disabled: n, isSubmitting: r, onPress: i }) => {
3239
3252
  let { colors: a } = t();
3240
- return /* @__PURE__ */ (0, V.jsx)(z, {
3253
+ return /* @__PURE__ */ (0, B.jsx)(R, {
3241
3254
  style: [
3242
- Be.button,
3255
+ Ve.button,
3243
3256
  { backgroundColor: a.primary },
3244
3257
  (n || r) && {
3245
3258
  backgroundColor: a.primaryDisabled,
@@ -3249,12 +3262,12 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
3249
3262
  disabled: n || r,
3250
3263
  onPress: i,
3251
3264
  activeOpacity: .7,
3252
- children: r ? /* @__PURE__ */ (0, V.jsx)(j, { color: a.primaryForeground }) : /* @__PURE__ */ (0, V.jsx)(L, {
3253
- style: [Be.buttonText, { color: a.primaryForeground }],
3265
+ children: r ? /* @__PURE__ */ (0, B.jsx)(j, { color: a.primaryForeground }) : /* @__PURE__ */ (0, B.jsx)(L, {
3266
+ style: [Ve.buttonText, { color: a.primaryForeground }],
3254
3267
  children: e
3255
3268
  })
3256
3269
  });
3257
- }, Be = I.create({
3270
+ }, Ve = I.create({
3258
3271
  button: {
3259
3272
  alignItems: "center",
3260
3273
  borderRadius: 6,
@@ -3267,16 +3280,16 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
3267
3280
  fontSize: 16,
3268
3281
  fontWeight: "600"
3269
3282
  }
3270
- }), Ve = ({ children: e }) => e, He = ({ node: e }) => {
3283
+ }), He = ({ children: e }) => e, Ue = ({ node: e }) => {
3271
3284
  let n = g(), { colors: r } = t(), i = n(e.data?.label);
3272
- return /* @__PURE__ */ (0, V.jsx)(L, {
3273
- style: [We.title, { color: r.text }],
3285
+ return /* @__PURE__ */ (0, B.jsx)(L, {
3286
+ style: [Ge.title, { color: r.text }],
3274
3287
  children: i
3275
3288
  });
3276
- }, Ue = () => {
3289
+ }, We = () => {
3277
3290
  let { colors: e } = t();
3278
- return /* @__PURE__ */ (0, V.jsx)(B, { style: [We.divider, { backgroundColor: e.separator }] });
3279
- }, We = I.create({
3291
+ return /* @__PURE__ */ (0, B.jsx)(z, { style: [Ge.divider, { backgroundColor: e.separator }] });
3292
+ }, Ge = I.create({
3280
3293
  divider: {
3281
3294
  height: 1,
3282
3295
  marginBottom: 16,
@@ -3287,10 +3300,10 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
3287
3300
  fontWeight: "700",
3288
3301
  marginBottom: 16
3289
3302
  }
3290
- }), Ge = {
3291
- divider: Ue,
3292
- title: He
3293
- }, Ke = ({ components: e, contentContainerStyle: n, flows: r, googleApiKey: i, initialValues: a, language: o, onChange: c, onSubmit: l, style: u, theme: d, validate: f, validationMode: p }) => {
3303
+ }), Ke = {
3304
+ divider: We,
3305
+ title: Ue
3306
+ }, qe = ({ components: e, contentContainerStyle: n, flows: r, googleApiKey: i, initialValues: a, language: o, onChange: c, onSubmit: l, style: u, theme: d, validate: f, validationMode: p }) => {
3294
3307
  let { colors: m } = t(), { canSubmit: h, clearSubmitMessage: g, config: _, formErrors: v, formValues: x, handleSubmit: S, inputNodes: C, isSubmitting: w, mergedFlow: T, missingRequiredFields: E, setFieldValue: D, submitMessage: O, t: k, visibleNodes: A, visibleRootNodes: j } = s({
3295
3308
  components: e,
3296
3309
  flows: r,
@@ -3302,29 +3315,29 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
3302
3315
  theme: d,
3303
3316
  validate: f,
3304
3317
  validationMode: p
3305
- }), { FormWrapper: M, SubmitButton: N, SubmitButtonWrapper: P, renderNode: I } = b({
3318
+ }), { FormWrapper: M, SubmitButton: ee, SubmitButtonWrapper: N, renderNode: P } = b({
3306
3319
  config: _,
3307
- DefaultFormWrapper: te,
3308
- DefaultGroup: re,
3309
- DefaultSubmitButton: ze,
3310
- DefaultSubmitButtonWrapper: Ve,
3311
- defaultInputRenderers: Re,
3312
- defaultUI: Ge,
3320
+ DefaultFormWrapper: re,
3321
+ DefaultGroup: ae,
3322
+ DefaultSubmitButton: Be,
3323
+ DefaultSubmitButtonWrapper: He,
3324
+ defaultInputRenderers: ze,
3325
+ defaultUI: Ke,
3313
3326
  formErrors: v,
3314
3327
  formValues: x,
3315
3328
  missingRequiredFields: E,
3316
3329
  setFieldValue: D,
3317
3330
  visibleNodes: A
3318
3331
  });
3319
- return /* @__PURE__ */ (0, V.jsx)(F, {
3332
+ return /* @__PURE__ */ (0, B.jsx)(F, {
3320
3333
  nestedScrollEnabled: !0,
3321
3334
  style: [
3322
- Je.container,
3335
+ Ye.container,
3323
3336
  { backgroundColor: m.background },
3324
3337
  u
3325
3338
  ],
3326
3339
  contentContainerStyle: n,
3327
- children: /* @__PURE__ */ (0, V.jsxs)(y, {
3340
+ children: /* @__PURE__ */ (0, B.jsxs)(y, {
3328
3341
  value: {
3329
3342
  flows: T,
3330
3343
  formErrors: v,
@@ -3334,42 +3347,42 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
3334
3347
  language: _.language,
3335
3348
  setFieldValue: D
3336
3349
  },
3337
- children: [/* @__PURE__ */ (0, V.jsxs)(M, {
3350
+ children: [/* @__PURE__ */ (0, B.jsxs)(M, {
3338
3351
  onSubmit: S,
3339
3352
  children: [
3340
- j.map((e) => I(e)),
3341
- h && /* @__PURE__ */ (0, V.jsx)(P, {
3353
+ j.map((e) => P(e)),
3354
+ h && /* @__PURE__ */ (0, B.jsx)(N, {
3342
3355
  missingFields: E,
3343
- children: /* @__PURE__ */ (0, V.jsx)(N, {
3356
+ children: /* @__PURE__ */ (0, B.jsx)(ee, {
3344
3357
  onPress: S,
3345
3358
  disabled: w,
3346
3359
  isSubmitting: w,
3347
3360
  children: k("renderer.defaultSubmitButton.submit")
3348
3361
  })
3349
3362
  }),
3350
- /* @__PURE__ */ (0, V.jsx)(L, {
3351
- style: [Je.poweredBy, { color: m.textMuted }],
3363
+ /* @__PURE__ */ (0, B.jsx)(L, {
3364
+ style: [Ye.poweredBy, { color: m.textMuted }],
3352
3365
  children: "Powered by Treege"
3353
3366
  })
3354
3367
  ]
3355
- }), O && /* @__PURE__ */ (0, V.jsxs)(B, {
3356
- style: [Je.message, { backgroundColor: O.type === "success" ? m.successBg : m.errorBg }],
3357
- children: [/* @__PURE__ */ (0, V.jsx)(L, {
3358
- style: [Je.messageText, { color: O.type === "success" ? m.success : m.error }],
3368
+ }), O && /* @__PURE__ */ (0, B.jsxs)(z, {
3369
+ style: [Ye.message, { backgroundColor: O.type === "success" ? m.successBg : m.errorBg }],
3370
+ children: [/* @__PURE__ */ (0, B.jsx)(L, {
3371
+ style: [Ye.messageText, { color: O.type === "success" ? m.success : m.error }],
3359
3372
  children: O.message
3360
- }), /* @__PURE__ */ (0, V.jsx)(L, {
3361
- style: [Je.messageClose, { color: O.type === "success" ? m.success : m.error }],
3373
+ }), /* @__PURE__ */ (0, B.jsx)(L, {
3374
+ style: [Ye.messageClose, { color: O.type === "success" ? m.success : m.error }],
3362
3375
  onPress: g,
3363
3376
  children: k("common.close")
3364
3377
  })]
3365
3378
  })]
3366
3379
  })
3367
3380
  });
3368
- }, qe = (e) => /* @__PURE__ */ (0, V.jsx)(r, {
3381
+ }, Je = (e) => /* @__PURE__ */ (0, B.jsx)(r, {
3369
3382
  theme: e.theme,
3370
3383
  storageKey: "treege-renderer-theme",
3371
- children: /* @__PURE__ */ (0, V.jsx)(Ke, { ...e })
3372
- }), Je = I.create({
3384
+ children: /* @__PURE__ */ (0, B.jsx)(qe, { ...e })
3385
+ }), Ye = I.create({
3373
3386
  container: { flex: 1 },
3374
3387
  message: {
3375
3388
  borderRadius: 6,
@@ -3392,4 +3405,4 @@ var V = e(), te = ({ children: e }) => /* @__PURE__ */ (0, V.jsx)(B, {
3392
3405
  }
3393
3406
  });
3394
3407
  //#endregion
3395
- export { H as DefaultAddressInput, se as DefaultAutocompleteInput, ce as DefaultCheckboxInput, le as DefaultDateInput, ue as DefaultDateRangeInput, Ue as DefaultDividerUI, de as DefaultFileInput, fe as DefaultHiddenInput, Se as DefaultHttpInput, Ce as DefaultNumberInput, Te as DefaultPasswordInput, Ee as DefaultRadioInput, Oe as DefaultSelectInput, Le as DefaultSubmitInput, ke as DefaultSwitchInput, Ne as DefaultTextInput, je as DefaultTextareaInput, Fe as DefaultTimeInput, Ie as DefaultTimeRangeInput, He as DefaultTitleUI, i as TreegeConfigProvider, qe as TreegeRenderer, o as applyReferenceTransformation, S as calculateReferenceFieldUpdates, T as checkFormFieldHasValue, c as convertFormValuesToNamedFormat, Re as defaultInputRenderers, Ge as defaultUI, _ as evaluateCondition, m as evaluateConditions, h as fileToSerializable, v as filesToSerializable, p as findStartNode, x as getFlowRenderState, n as getTranslatedText, w as isFieldEmpty, u as isStartNode, d as mergeFlows, he as sanitize, _e as sanitizeHttpResponse, f as serializableToFile, C as useTreegeConfig, s as useTreegeRenderer };
3408
+ export { ce as DefaultAddressInput, le as DefaultAutocompleteInput, W as DefaultCheckboxInput, ue as DefaultDateInput, de as DefaultDateRangeInput, We as DefaultDividerUI, fe as DefaultFileInput, pe as DefaultHiddenInput, Ce as DefaultHttpInput, we as DefaultNumberInput, Ee as DefaultPasswordInput, Oe as DefaultRadioInput, ke as DefaultSelectInput, Re as DefaultSubmitInput, Ae as DefaultSwitchInput, Pe as DefaultTextInput, Me as DefaultTextareaInput, Ie as DefaultTimeInput, Le as DefaultTimeRangeInput, Ue as DefaultTitleUI, i as TreegeConfigProvider, Je as TreegeRenderer, o as applyReferenceTransformation, S as calculateReferenceFieldUpdates, T as checkFormFieldHasValue, c as convertFormValuesToNamedFormat, ze as defaultInputRenderers, Ke as defaultUI, _ as evaluateCondition, m as evaluateConditions, h as fileToSerializable, v as filesToSerializable, p as findStartNode, x as getFlowRenderState, n as getTranslatedText, w as isFieldEmpty, u as isStartNode, d as mergeFlows, ge as sanitize, ve as sanitizeHttpResponse, f as serializableToFile, C as useTreegeConfig, s as useTreegeRenderer };