@ovok/native 1.8.3 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/modules/auth/default-translation.js +8 -0
- package/lib/commonjs/modules/auth/default-translation.js.map +1 -1
- package/lib/commonjs/modules/auth/profile/components/form-phone-field.js +163 -0
- package/lib/commonjs/modules/auth/profile/components/form-phone-field.js.map +1 -0
- package/lib/commonjs/modules/auth/profile/components/profile-form-choice-field.js +64 -0
- package/lib/commonjs/modules/auth/profile/components/profile-form-choice-field.js.map +1 -0
- package/lib/commonjs/modules/auth/profile/components/profile-form-field-component.js +46 -9
- package/lib/commonjs/modules/auth/profile/components/profile-form-field-component.js.map +1 -1
- package/lib/commonjs/modules/auth/profile/components/profile-form-provider.js +31 -11
- package/lib/commonjs/modules/auth/profile/components/profile-form-provider.js.map +1 -1
- package/lib/commonjs/modules/auth/profile/utils/phone.js +31 -0
- package/lib/commonjs/modules/auth/profile/utils/phone.js.map +1 -0
- package/lib/commonjs/modules/auth/register/components/form/inputs.js +32 -4
- package/lib/commonjs/modules/auth/register/components/form/inputs.js.map +1 -1
- package/lib/commonjs/modules/auth/register/components/form/register-form-provider.js +18 -4
- package/lib/commonjs/modules/auth/register/components/form/register-form-provider.js.map +1 -1
- package/lib/commonjs/modules/auth/register/contexts/register-form-context.js.map +1 -1
- package/lib/commonjs/modules/auth/register/utils/create-register-validation-schema.js +23 -3
- package/lib/commonjs/modules/auth/register/utils/create-register-validation-schema.js.map +1 -1
- package/lib/commonjs/modules/bt-management/hooks/use-nearby-device-offer.js +172 -0
- package/lib/commonjs/modules/bt-management/hooks/use-nearby-device-offer.js.map +1 -0
- package/lib/commonjs/modules/bt-management/hooks/use-paired-devices.js +3 -2
- package/lib/commonjs/modules/bt-management/hooks/use-paired-devices.js.map +1 -1
- package/lib/commonjs/modules/bt-management/index.js +12 -0
- package/lib/commonjs/modules/bt-management/index.js.map +1 -1
- package/lib/commonjs/modules/helpers/form-items/form-date-field.js +27 -4
- package/lib/commonjs/modules/helpers/form-items/form-date-field.js.map +1 -1
- package/lib/commonjs/modules/helpers/form-items/form-field.js +2 -1
- package/lib/commonjs/modules/helpers/form-items/form-field.js.map +1 -1
- package/lib/commonjs/modules/ui/components/nearby-device-prompt.js +150 -0
- package/lib/commonjs/modules/ui/components/nearby-device-prompt.js.map +1 -0
- package/lib/commonjs/modules/ui/components/pairing-error-message.js +14 -0
- package/lib/commonjs/modules/ui/components/pairing-error-message.js.map +1 -0
- package/lib/commonjs/modules/ui/components/pairing-flow.js +3 -8
- package/lib/commonjs/modules/ui/components/pairing-flow.js.map +1 -1
- package/lib/commonjs/modules/ui/index.js +11 -0
- package/lib/commonjs/modules/ui/index.js.map +1 -1
- package/lib/module/modules/auth/default-translation.js +8 -0
- package/lib/module/modules/auth/default-translation.js.map +1 -1
- package/lib/module/modules/auth/profile/components/form-phone-field.js +157 -0
- package/lib/module/modules/auth/profile/components/form-phone-field.js.map +1 -0
- package/lib/module/modules/auth/profile/components/profile-form-choice-field.js +58 -0
- package/lib/module/modules/auth/profile/components/profile-form-choice-field.js.map +1 -0
- package/lib/module/modules/auth/profile/components/profile-form-field-component.js +46 -9
- package/lib/module/modules/auth/profile/components/profile-form-field-component.js.map +1 -1
- package/lib/module/modules/auth/profile/components/profile-form-provider.js +31 -11
- package/lib/module/modules/auth/profile/components/profile-form-provider.js.map +1 -1
- package/lib/module/modules/auth/profile/utils/phone.js +25 -0
- package/lib/module/modules/auth/profile/utils/phone.js.map +1 -0
- package/lib/module/modules/auth/register/components/form/inputs.js +32 -4
- package/lib/module/modules/auth/register/components/form/inputs.js.map +1 -1
- package/lib/module/modules/auth/register/components/form/register-form-provider.js +18 -4
- package/lib/module/modules/auth/register/components/form/register-form-provider.js.map +1 -1
- package/lib/module/modules/auth/register/contexts/register-form-context.js.map +1 -1
- package/lib/module/modules/auth/register/utils/create-register-validation-schema.js +23 -3
- package/lib/module/modules/auth/register/utils/create-register-validation-schema.js.map +1 -1
- package/lib/module/modules/bt-management/hooks/use-nearby-device-offer.js +166 -0
- package/lib/module/modules/bt-management/hooks/use-nearby-device-offer.js.map +1 -0
- package/lib/module/modules/bt-management/hooks/use-paired-devices.js +2 -1
- package/lib/module/modules/bt-management/hooks/use-paired-devices.js.map +1 -1
- package/lib/module/modules/bt-management/index.js +1 -0
- package/lib/module/modules/bt-management/index.js.map +1 -1
- package/lib/module/modules/helpers/form-items/form-date-field.js +27 -4
- package/lib/module/modules/helpers/form-items/form-date-field.js.map +1 -1
- package/lib/module/modules/helpers/form-items/form-field.js +2 -1
- package/lib/module/modules/helpers/form-items/form-field.js.map +1 -1
- package/lib/module/modules/ui/components/nearby-device-prompt.js +145 -0
- package/lib/module/modules/ui/components/nearby-device-prompt.js.map +1 -0
- package/lib/module/modules/ui/components/pairing-error-message.js +9 -0
- package/lib/module/modules/ui/components/pairing-error-message.js.map +1 -0
- package/lib/module/modules/ui/components/pairing-flow.js +3 -8
- package/lib/module/modules/ui/components/pairing-flow.js.map +1 -1
- package/lib/module/modules/ui/index.js +1 -0
- package/lib/module/modules/ui/index.js.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/default-translation.d.ts +8 -0
- package/lib/typescript/commonjs/src/modules/auth/default-translation.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/profile/components/form-phone-field.d.ts +13 -0
- package/lib/typescript/commonjs/src/modules/auth/profile/components/form-phone-field.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/auth/profile/components/profile-form-choice-field.d.ts +14 -0
- package/lib/typescript/commonjs/src/modules/auth/profile/components/profile-form-choice-field.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/auth/profile/components/profile-form-field-component.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/profile/components/profile-form-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/profile/types/profile-form-field.d.ts +35 -3
- package/lib/typescript/commonjs/src/modules/auth/profile/types/profile-form-field.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/profile/types/profile-form-props.d.ts +3 -8
- package/lib/typescript/commonjs/src/modules/auth/profile/types/profile-form-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/profile/utils/phone.d.ts +6 -0
- package/lib/typescript/commonjs/src/modules/auth/profile/utils/phone.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/auth/register/components/form/inputs.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/register/components/form/register-form-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/register/contexts/register-form-context.d.ts +6 -0
- package/lib/typescript/commonjs/src/modules/auth/register/contexts/register-form-context.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/register/hooks/use-register-form.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/auth/register/hooks/use-register-form.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-props.d.ts +16 -3
- package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-values.d.ts +1 -0
- package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-values.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/register/utils/create-register-validation-schema.d.ts +10 -3
- package/lib/typescript/commonjs/src/modules/auth/register/utils/create-register-validation-schema.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-nearby-device-offer.d.ts +21 -0
- package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-nearby-device-offer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-paired-devices.d.ts +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-paired-devices.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/helpers/form-items/form-date-field.d.ts +11 -2
- package/lib/typescript/commonjs/src/modules/helpers/form-items/form-date-field.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/helpers/form-items/form-field.d.ts +2 -1
- package/lib/typescript/commonjs/src/modules/helpers/form-items/form-field.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/ui/components/nearby-device-prompt.d.ts +15 -0
- package/lib/typescript/commonjs/src/modules/ui/components/nearby-device-prompt.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/ui/components/pairing-error-message.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/ui/components/pairing-error-message.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/ui/components/pairing-flow.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/ui/index.d.ts +1 -0
- package/lib/typescript/commonjs/src/modules/ui/index.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/default-translation.d.ts +8 -0
- package/lib/typescript/module/src/modules/auth/default-translation.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/profile/components/form-phone-field.d.ts +13 -0
- package/lib/typescript/module/src/modules/auth/profile/components/form-phone-field.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/auth/profile/components/profile-form-choice-field.d.ts +14 -0
- package/lib/typescript/module/src/modules/auth/profile/components/profile-form-choice-field.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/auth/profile/components/profile-form-field-component.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/profile/components/profile-form-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/profile/types/profile-form-field.d.ts +35 -3
- package/lib/typescript/module/src/modules/auth/profile/types/profile-form-field.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/profile/types/profile-form-props.d.ts +3 -8
- package/lib/typescript/module/src/modules/auth/profile/types/profile-form-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/profile/utils/phone.d.ts +6 -0
- package/lib/typescript/module/src/modules/auth/profile/utils/phone.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/auth/register/components/form/inputs.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/register/components/form/register-form-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/register/contexts/register-form-context.d.ts +6 -0
- package/lib/typescript/module/src/modules/auth/register/contexts/register-form-context.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/register/hooks/use-register-form.d.ts +5 -0
- package/lib/typescript/module/src/modules/auth/register/hooks/use-register-form.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/register/types/register-form-props.d.ts +16 -3
- package/lib/typescript/module/src/modules/auth/register/types/register-form-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/register/types/register-form-values.d.ts +1 -0
- package/lib/typescript/module/src/modules/auth/register/types/register-form-values.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/register/utils/create-register-validation-schema.d.ts +10 -3
- package/lib/typescript/module/src/modules/auth/register/utils/create-register-validation-schema.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/hooks/use-nearby-device-offer.d.ts +21 -0
- package/lib/typescript/module/src/modules/bt-management/hooks/use-nearby-device-offer.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/hooks/use-paired-devices.d.ts +1 -0
- package/lib/typescript/module/src/modules/bt-management/hooks/use-paired-devices.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/index.d.ts +1 -0
- package/lib/typescript/module/src/modules/bt-management/index.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/helpers/form-items/form-date-field.d.ts +11 -2
- package/lib/typescript/module/src/modules/helpers/form-items/form-date-field.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/helpers/form-items/form-field.d.ts +2 -1
- package/lib/typescript/module/src/modules/helpers/form-items/form-field.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/ui/components/nearby-device-prompt.d.ts +15 -0
- package/lib/typescript/module/src/modules/ui/components/nearby-device-prompt.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/ui/components/pairing-error-message.d.ts +2 -0
- package/lib/typescript/module/src/modules/ui/components/pairing-error-message.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/ui/components/pairing-flow.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/ui/index.d.ts +1 -0
- package/lib/typescript/module/src/modules/ui/index.d.ts.map +1 -1
- package/package.json +4 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getIn","React","useTranslation","View","HelperText","TextInput","useAppTheme","jsx","_jsx","jsxs","_jsxs","FormField","memo","name","context","containerStyle","inputRef","testID","props","t","theme","values","errors","touched","handleChange","handleBlur","useContext","value","useMemo","error","onBlur","e","style","gap","spacing","children","ref","mode","autoCapitalize","roundness","borderRadius","
|
|
1
|
+
{"version":3,"names":["getIn","React","useTranslation","View","HelperText","TextInput","useAppTheme","jsx","_jsx","jsxs","_jsxs","FormField","memo","name","context","containerStyle","inputRef","testID","onChangeText","props","t","theme","values","errors","touched","handleChange","handleBlur","useContext","value","useMemo","error","onBlur","e","style","gap","spacing","children","ref","mode","autoCapitalize","roundness","borderRadius","onFocus","undefined","type"],"sourceRoot":"../../../../../src","sources":["modules/helpers/form-items/form-field.tsx"],"mappings":";;AAAA,SAASA,KAAK,QAAmB,QAAQ;AACzC,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,SAASC,cAAc,QAAQ,eAAe;AAC9C,SAGEC,IAAI,QAEC,cAAc;AACrB,SAASC,UAAU,EAAEC,SAAS,QAA6B,oBAAoB;AAE/E,SAASC,WAAW,QAAQ,sBAAa;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAe1C,OAAO,MAAMC,SAAS,gBAAGV,KAAK,CAACW,IAAI,CACjC,CAAC;EACCC,IAAI;EACJC,OAAO;EACPC,cAAc;EACdC,QAAQ;EACRC,MAAM;EACNC,YAAY;EACZ,GAAGC;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MACfZ,YAAY,EAAEA,YAAY,IAAIO,YAAY,CAACZ,IAAI;MAC/C;MAAA;MACAkB,MAAM,EAAEA,MAAc;MACtBW,OAAO,EAAEvB,KAAK,CAACuB,OAAQ;MACvBzB,MAAM,EAAEA,MAAM,GAAG,GAAGA,MAAM,QAAQ,GAAG0B;IAAU,CAChD,CAAC,EACDb,KAAK,gBACJtB,IAAA,CAACJ,UAAU;MACTwC,IAAI,EAAC,OAAO;MACZ3B,MAAM,EAAEA,MAAM,GAAG,GAAGA,MAAM,QAAQ,GAAG0B,SAAU;MAAAP,QAAA,EAE9ChB,CAAC,CAACU,KAAK;IAAC,CACC,CAAC,GACX,IAAI;EAAA,CACJ,CAAC;AAEX,CACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { Modal, StyleSheet, View } from "react-native";
|
|
4
|
+
import { ActivityIndicator as PaperActivityIndicator, Button as PaperButton, Card as PaperCard, Text as PaperText } from "react-native-paper";
|
|
5
|
+
import { deviceTitle, useNearbyDeviceOffer } from "../../bt-management/index.js";
|
|
6
|
+
import { useOvokUi } from "../use-ovok-ui.js";
|
|
7
|
+
import { pairingErrorMessage } from "./pairing-error-message.js";
|
|
8
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
export const NearbyDevicePrompt = ({
|
|
10
|
+
storage,
|
|
11
|
+
storageKey,
|
|
12
|
+
declinedStorageKey,
|
|
13
|
+
enabled = true,
|
|
14
|
+
hint,
|
|
15
|
+
onPaired,
|
|
16
|
+
onError,
|
|
17
|
+
labels,
|
|
18
|
+
testID,
|
|
19
|
+
theme: themeOverride,
|
|
20
|
+
slots
|
|
21
|
+
}) => {
|
|
22
|
+
const {
|
|
23
|
+
theme,
|
|
24
|
+
slots: uiSlots
|
|
25
|
+
} = useOvokUi({
|
|
26
|
+
theme: themeOverride,
|
|
27
|
+
slots
|
|
28
|
+
});
|
|
29
|
+
const {
|
|
30
|
+
device,
|
|
31
|
+
status,
|
|
32
|
+
error,
|
|
33
|
+
accept,
|
|
34
|
+
decline,
|
|
35
|
+
later
|
|
36
|
+
} = useNearbyDeviceOffer({
|
|
37
|
+
storage,
|
|
38
|
+
storageKey,
|
|
39
|
+
declinedStorageKey,
|
|
40
|
+
enabled,
|
|
41
|
+
onPaired,
|
|
42
|
+
onError
|
|
43
|
+
});
|
|
44
|
+
const Text = uiSlots.Text ?? PaperText;
|
|
45
|
+
const Button = uiSlots.Button ?? PaperButton;
|
|
46
|
+
const Card = uiSlots.Card ?? PaperCard;
|
|
47
|
+
const Activity = uiSlots.ActivityIndicator ?? PaperActivityIndicator;
|
|
48
|
+
const copy = (key, fallback) => labels?.[key] ?? fallback;
|
|
49
|
+
const title = device ? copy("title", `A ${deviceTitle(device.deviceData)} is nearby. Is it yours?`) : "";
|
|
50
|
+
const errorCopy = error ? pairingErrorMessage(error, labels) : undefined;
|
|
51
|
+
return /*#__PURE__*/_jsx(Modal, {
|
|
52
|
+
visible: Boolean(device),
|
|
53
|
+
transparent: true,
|
|
54
|
+
animationType: "fade",
|
|
55
|
+
onRequestClose: later,
|
|
56
|
+
testID: testID,
|
|
57
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
58
|
+
accessibilityViewIsModal: true,
|
|
59
|
+
style: [styles.backdrop, {
|
|
60
|
+
backgroundColor: "rgba(0, 0, 0, 0.5)"
|
|
61
|
+
}],
|
|
62
|
+
children: Card ? /*#__PURE__*/_jsxs(Card, {
|
|
63
|
+
theme: theme,
|
|
64
|
+
mode: "elevated",
|
|
65
|
+
style: styles.card,
|
|
66
|
+
children: [Text ? /*#__PURE__*/_jsx(Text, {
|
|
67
|
+
theme: theme,
|
|
68
|
+
variant: "titleLarge",
|
|
69
|
+
children: title
|
|
70
|
+
}) : null, hint || labels?.hint ? Text ? /*#__PURE__*/_jsx(Text, {
|
|
71
|
+
theme: theme,
|
|
72
|
+
variant: "bodyMedium",
|
|
73
|
+
children: hint ?? labels?.hint
|
|
74
|
+
}) : null : null, errorCopy && Text ? /*#__PURE__*/_jsx(Text, {
|
|
75
|
+
theme: theme,
|
|
76
|
+
variant: "bodyMedium",
|
|
77
|
+
style: {
|
|
78
|
+
color: theme.colors.error
|
|
79
|
+
},
|
|
80
|
+
testID: testID ? `${testID}-error` : undefined,
|
|
81
|
+
children: errorCopy
|
|
82
|
+
}) : null, status === "pairing" ? /*#__PURE__*/_jsxs(View, {
|
|
83
|
+
style: styles.pairing,
|
|
84
|
+
children: [Activity ? /*#__PURE__*/_jsx(Activity, {
|
|
85
|
+
theme: theme
|
|
86
|
+
}) : null, Text ? /*#__PURE__*/_jsx(Text, {
|
|
87
|
+
theme: theme,
|
|
88
|
+
variant: "bodyMedium",
|
|
89
|
+
children: copy("pairing", "Connecting…")
|
|
90
|
+
}) : null]
|
|
91
|
+
}) : null, /*#__PURE__*/_jsxs(View, {
|
|
92
|
+
style: styles.actions,
|
|
93
|
+
children: [Button ? /*#__PURE__*/_jsx(Button, {
|
|
94
|
+
theme: theme,
|
|
95
|
+
mode: "text",
|
|
96
|
+
disabled: status === "pairing",
|
|
97
|
+
onPress: later,
|
|
98
|
+
testID: testID ? `${testID}-later` : undefined,
|
|
99
|
+
children: copy("later", "Later")
|
|
100
|
+
}) : null, Button ? /*#__PURE__*/_jsx(Button, {
|
|
101
|
+
theme: theme,
|
|
102
|
+
mode: "text",
|
|
103
|
+
disabled: status === "pairing",
|
|
104
|
+
onPress: () => void decline().catch(() => undefined),
|
|
105
|
+
testID: testID ? `${testID}-decline` : undefined,
|
|
106
|
+
children: copy("notMine", "Not mine")
|
|
107
|
+
}) : null, Button ? /*#__PURE__*/_jsx(Button, {
|
|
108
|
+
theme: theme,
|
|
109
|
+
mode: "contained",
|
|
110
|
+
loading: status === "pairing",
|
|
111
|
+
disabled: status === "pairing",
|
|
112
|
+
onPress: () => void accept().catch(() => undefined),
|
|
113
|
+
testID: testID ? `${testID}-accept` : undefined,
|
|
114
|
+
children: status === "error" ? copy("retry", "Try again") : copy("pair", "Yes, pair it")
|
|
115
|
+
}) : null]
|
|
116
|
+
})]
|
|
117
|
+
}) : null
|
|
118
|
+
})
|
|
119
|
+
});
|
|
120
|
+
};
|
|
121
|
+
const styles = StyleSheet.create({
|
|
122
|
+
backdrop: {
|
|
123
|
+
alignItems: "center",
|
|
124
|
+
flex: 1,
|
|
125
|
+
justifyContent: "center",
|
|
126
|
+
padding: 24
|
|
127
|
+
},
|
|
128
|
+
card: {
|
|
129
|
+
gap: 12,
|
|
130
|
+
maxWidth: 480,
|
|
131
|
+
padding: 20,
|
|
132
|
+
width: "100%"
|
|
133
|
+
},
|
|
134
|
+
pairing: {
|
|
135
|
+
alignItems: "center",
|
|
136
|
+
flexDirection: "row",
|
|
137
|
+
gap: 8
|
|
138
|
+
},
|
|
139
|
+
actions: {
|
|
140
|
+
flexDirection: "row",
|
|
141
|
+
flexWrap: "wrap",
|
|
142
|
+
justifyContent: "flex-end"
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
//# sourceMappingURL=nearby-device-prompt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Modal","StyleSheet","View","ActivityIndicator","PaperActivityIndicator","Button","PaperButton","Card","PaperCard","Text","PaperText","deviceTitle","useNearbyDeviceOffer","useOvokUi","pairingErrorMessage","jsx","_jsx","jsxs","_jsxs","NearbyDevicePrompt","storage","storageKey","declinedStorageKey","enabled","hint","onPaired","onError","labels","testID","theme","themeOverride","slots","uiSlots","device","status","error","accept","decline","later","Activity","copy","key","fallback","title","deviceData","errorCopy","undefined","visible","Boolean","transparent","animationType","onRequestClose","children","accessibilityViewIsModal","style","styles","backdrop","backgroundColor","mode","card","variant","color","colors","pairing","actions","disabled","onPress","catch","loading","create","alignItems","flex","justifyContent","padding","gap","maxWidth","width","flexDirection","flexWrap"],"sourceRoot":"../../../../../src","sources":["modules/ui/components/nearby-device-prompt.tsx"],"mappings":";;AAAA,SACEA,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}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { BluetoothErrorCode, toBluetoothError } from "../../bt-management/types/bluetooth-error.js";
|
|
4
|
+
export const pairingErrorMessage = (error, labels) => {
|
|
5
|
+
const normalized = toBluetoothError(error);
|
|
6
|
+
const fallback = normalized.code === BluetoothErrorCode.CONNECTION_FAILED ? "The device did not accept the connection. Put it in pairing mode and try again." : normalized.code === BluetoothErrorCode.PAIRING_REQUIRED ? "The device requires pairing. Follow its instructions and try again." : "Could not pair with the device. Please try again.";
|
|
7
|
+
return labels?.[normalized.code] ?? fallback;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=pairing-error-message.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BluetoothErrorCode","toBluetoothError","pairingErrorMessage","error","labels","normalized","fallback","code","CONNECTION_FAILED","PAIRING_REQUIRED"],"sourceRoot":"../../../../../src","sources":["modules/ui/components/pairing-error-message.ts"],"mappings":";;AAAA,SACEA,kBAAkB,EAClBC,gBAAgB,QACX,8CAA2C;AAElD,OAAO,MAAMC,mBAAmB,GAAGA,CACjCC,KAAc,EACdC,MAA+B,KACpB;EACX,MAAMC,UAAU,GAAGJ,gBAAgB,CAACE,KAAK,CAAC;EAE1C,MAAMG,QAAQ,GAAGD,UAAU,CAACE,IAAI,KAAKP,kBAAkB,CAACQ,iBAAiB,GACrE,iFAAiF,GACjFH,UAAU,CAACE,IAAI,KAAKP,kBAAkB,CAACS,gBAAgB,GACrD,qEAAqE,GACrE,mDAAmD;EAEzD,OAAOL,MAAM,GAAGC,UAAU,CAACE,IAAI,CAAC,IAAID,QAAQ;AAC9C,CAAC","ignoreList":[]}
|
|
@@ -6,8 +6,8 @@ import * as React from "react";
|
|
|
6
6
|
import { FlatList, Image, Pressable, StyleSheet, View } from "react-native";
|
|
7
7
|
import { ActivityIndicator as PaperActivityIndicator, Button as PaperButton, Card as PaperCard, Text as PaperText, TextInput } from "react-native-paper";
|
|
8
8
|
import { deviceTitle, useNearbyDevices, usePairedDevices, useRuntimeEvent } from "../../bt-management/index.js";
|
|
9
|
-
import { BluetoothErrorCode, toBluetoothError } from "../../bt-management/types/bluetooth-error.js";
|
|
10
9
|
import { useOvokUi } from "../use-ovok-ui.js";
|
|
10
|
+
import { pairingErrorMessage } from "./pairing-error-message.js";
|
|
11
11
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
12
12
|
const deviceLabel = device => deviceTitle(device.deviceData);
|
|
13
13
|
export const PairingFlow = ({
|
|
@@ -55,11 +55,6 @@ export const PairingFlow = ({
|
|
|
55
55
|
const Input = uiSlots.TextInput ?? TextInput;
|
|
56
56
|
const Activity = uiSlots.ActivityIndicator ?? PaperActivityIndicator;
|
|
57
57
|
const copy = (key, fallback) => labels?.[key] ?? fallback;
|
|
58
|
-
const pairingErrorMessage = error => {
|
|
59
|
-
const normalized = toBluetoothError(error);
|
|
60
|
-
const fallback = normalized.code === BluetoothErrorCode.CONNECTION_FAILED ? "The device did not accept the connection. Put it in pairing mode and try again." : normalized.code === BluetoothErrorCode.PAIRING_REQUIRED ? "The device requires pairing. Follow its instructions and try again." : "Could not pair with the device. Please try again.";
|
|
61
|
-
return copy(normalized.code, fallback);
|
|
62
|
-
};
|
|
63
58
|
const renderState = {
|
|
64
59
|
devices,
|
|
65
60
|
paired,
|
|
@@ -92,7 +87,7 @@ export const PairingFlow = ({
|
|
|
92
87
|
const nextError = cause instanceof Error ? cause : new Error(String(cause));
|
|
93
88
|
if (!pairingCodeRequiredRef.current) {
|
|
94
89
|
setStatus("error");
|
|
95
|
-
setError(pairingErrorMessage(nextError));
|
|
90
|
+
setError(pairingErrorMessage(nextError, labels));
|
|
96
91
|
}
|
|
97
92
|
onError?.(nextError, device);
|
|
98
93
|
}
|
|
@@ -108,7 +103,7 @@ export const PairingFlow = ({
|
|
|
108
103
|
} catch (cause) {
|
|
109
104
|
const nextError = cause instanceof Error ? cause : new Error(String(cause));
|
|
110
105
|
setStatus("error");
|
|
111
|
-
setError(pairingErrorMessage(nextError));
|
|
106
|
+
setError(pairingErrorMessage(nextError, labels));
|
|
112
107
|
onError?.(nextError, selected);
|
|
113
108
|
}
|
|
114
109
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","FlatList","Image","Pressable","StyleSheet","View","ActivityIndicator","PaperActivityIndicator","Button","PaperButton","Card","PaperCard","Text","PaperText","TextInput","deviceTitle","useNearbyDevices","usePairedDevices","useRuntimeEvent","BluetoothErrorCode","toBluetoothError","useOvokUi","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","deviceLabel","device","deviceData","PairingFlow","storage","storageKey","getDeviceImage","onPaired","onPairingCode","onError","renderHeader","renderEmpty","renderDevice","renderDeviceOverride","labels","testID","theme","themeOverride","slots","uiSlots","devices","pair","pairNearby","paired","remember","forget","selected","setSelected","useState","status","setStatus","code","setCode","error","setError","pairingCodeRequiredRef","useRef","Input","Activity","copy","key","fallback","pairingErrorMessage","normalized","CONNECTION_FAILED","PAIRING_REQUIRED","renderState","event","id","kind","pairingCodeRequired","current","startPairing","undefined","cause","nextError","Error","String","submitCode","trim","renderDefaultDevice","item","image","accessible","onPress","style","pressed","styles","deviceRow","borderColor","colors","outlineVariant","children","source","uri","deviceCopy","variant","manufacturerName","mode","compact","custom","content","container","data","keyExtractor","renderItem","ListHeaderComponent","header","ListEmptyComponent","contentContainerStyle","list","codePrompt","label","value","onChangeText","keyboardType","autoFocus","color","length","create","gap","padding","alignItems","borderWidth","hairlineWidth","borderRadius","flexDirection","flex","height","width","opacity"],"sourceRoot":"../../../../../src","sources":["modules/ui/components/pairing-flow.tsx"],"mappings":";;AAAA;;AAEA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,QAAQ,EAAEC,KAAK,EAAEC,SAAS,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC3E,SACEC,iBAAiB,I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C,SAAS,EAAE;IAAEkC,UAAU,EAAE,QAAQ;IAAEC,WAAW,EAAE/H,UAAU,CAACgI,aAAa;IAAEC,YAAY,EAAE,EAAE;IAAEC,aAAa,EAAE,KAAK;IAAEN,GAAG,EAAE,EAAE;IAAEC,OAAO,EAAE;EAAG,CAAC;EACxI1B,UAAU,EAAE;IAAEgC,IAAI,EAAE,CAAC;IAAEP,GAAG,EAAE;EAAE,CAAC;EAC/BtC,KAAK,EAAE;IAAE2C,YAAY,EAAE,CAAC;IAAEG,MAAM,EAAE,EAAE;IAAEC,KAAK,EAAE;EAAG,CAAC;EACjD3C,OAAO,EAAE;IAAE4C,OAAO,EAAE;EAAK,CAAC;EAC1BnB,UAAU,EAAE;IAAES,GAAG,EAAE;EAAG,CAAC;EACvBvE,MAAM,EAAE;IAAEyE,UAAU,EAAE,QAAQ;IAAEI,aAAa,EAAE,KAAK;IAAEN,GAAG,EAAE;EAAE;AAC/D,CAAC,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","FlatList","Image","Pressable","StyleSheet","View","ActivityIndicator","PaperActivityIndicator","Button","PaperButton","Card","PaperCard","Text","PaperText","TextInput","deviceTitle","useNearbyDevices","usePairedDevices","useRuntimeEvent","useOvokUi","pairingErrorMessage","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","deviceLabel","device","deviceData","PairingFlow","storage","storageKey","getDeviceImage","onPaired","onPairingCode","onError","renderHeader","renderEmpty","renderDevice","renderDeviceOverride","labels","testID","theme","themeOverride","slots","uiSlots","devices","pair","pairNearby","paired","remember","forget","selected","setSelected","useState","status","setStatus","code","setCode","error","setError","pairingCodeRequiredRef","useRef","Input","Activity","copy","key","fallback","renderState","event","id","kind","pairingCodeRequired","current","startPairing","undefined","cause","nextError","Error","String","submitCode","trim","renderDefaultDevice","item","image","accessible","onPress","style","pressed","styles","deviceRow","borderColor","colors","outlineVariant","children","source","uri","deviceCopy","variant","manufacturerName","mode","compact","custom","content","container","data","keyExtractor","renderItem","ListHeaderComponent","header","ListEmptyComponent","contentContainerStyle","list","codePrompt","label","value","onChangeText","keyboardType","autoFocus","color","length","create","gap","padding","alignItems","borderWidth","hairlineWidth","borderRadius","flexDirection","flex","height","width","opacity"],"sourceRoot":"../../../../../src","sources":["modules/ui/components/pairing-flow.tsx"],"mappings":";;AAAA;;AAEA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,QAAQ,EAAEC,KAAK,EAAEC,SAAS,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC3E,SACEC,iBAAiB,IAAIC,sBAAsB,EAC3CC,MAAM,IAAIC,WAAW,EACrBC,IAAI,IAAIC,SAAS,EACjBC,IAAI,IAAIC,SAAS,EACjBC,SAAS,QACJ,oBAAoB;AAE3B,SAGEC,WAAW,EACXC,gBAAgB,EAChBC,gBAAgB,EAChBC,eAAe,QACV,8BAAqB;AAE5B,SAASC,SAAS,QAAQ,mBAAgB;AAE1C,SACEC,mBAAmB,QACd,4BAAyB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA,EAAAC,QAAA,IAAAC,SAAA;AAmCjC,MAAMC,WAAW,GAAIC,MAAqB,IAAab,WAAW,CAACa,MAAM,CAACC,UAAU,CAAC;AAErF,OAAO,MAAMC,WAAW,GAAGA,CAAC;EAC1BC,OAAO;EACPC,UAAU;EACVC,cAAc;EACdC,QAAQ;EACRC,aAAa;EACbC,OAAO;EACPC,YAAY;EACZC,WAAW;EACXC,YAAY,EAAEC,oBAAoB;EAClCC,MAAM;EACNC,MAAM;EACNC,KAAK,EAAEC,aAAa;EACpBC;AACgB,CAAC,KAAK;EACtB,MAAM;IAAEF,KAAK;IAAEE,KAAK,EAAEC;EAAQ,CAAC,GAAG3B,SAAS,CAAC;IAAEwB,KAAK,EAAEC,aAAa;IAAEC;EAAM,CAAC,CAAC;EAC5E,MAAM;IAAEE,OAAO;IAAEC,IAAI,EAAEC;EAAW,CAAC,GAAGjC,gBAAg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S,EAAE;IAAEkC,UAAU,EAAE,QAAQ;IAAEC,WAAW,EAAE1H,UAAU,CAAC2H,aAAa;IAAEC,YAAY,EAAE,EAAE;IAAEC,aAAa,EAAE,KAAK;IAAEN,GAAG,EAAE,EAAE;IAAEC,OAAO,EAAE;EAAG,CAAC;EACxI1B,UAAU,EAAE;IAAEgC,IAAI,EAAE,CAAC;IAAEP,GAAG,EAAE;EAAE,CAAC;EAC/BtC,KAAK,EAAE;IAAE2C,YAAY,EAAE,CAAC;IAAEG,MAAM,EAAE,EAAE;IAAEC,KAAK,EAAE;EAAG,CAAC;EACjD3C,OAAO,EAAE;IAAE4C,OAAO,EAAE;EAAK,CAAC;EAC1BnB,UAAU,EAAE;IAAES,GAAG,EAAE;EAAG,CAAC;EACvBnE,MAAM,EAAE;IAAEqE,UAAU,EAAE,QAAQ;IAAEI,aAAa,EAAE,KAAK;IAAEN,GAAG,EAAE;EAAE;AAC/D,CAAC,CAAC","ignoreList":[]}
|
|
@@ -7,6 +7,7 @@ export * from "./components/manual-entry-form.js";
|
|
|
7
7
|
export * from "./components/supported-devices-catalog-list.js";
|
|
8
8
|
export * from "./components/bluetooth-state-notice.js";
|
|
9
9
|
export * from "./components/pairing-flow.js";
|
|
10
|
+
export * from "./components/nearby-device-prompt.js";
|
|
10
11
|
export * from "./components/urine-test-result.js";
|
|
11
12
|
export * from "./components/health-import-card.js";
|
|
12
13
|
export * from "./components/background-sync-setting.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["modules/ui/index.ts"],"mappings":";;AAAA,cAAc,YAAS;AACvB,cAAc,kBAAe;AAC7B,cAAc,kCAA+B;AAC7C,cAAc,mCAAgC;AAC9C,cAAc,gDAA6C;AAC3D,cAAc,wCAAqC;AACnD,cAAc,8BAA2B;AACzC,cAAc,mCAAgC;AAC9C,cAAc,oCAAiC;AAC/C,cAAc,yCAAsC;AACpD,cAAc,yCAAsC;AACpD,cAAc,0BAAuB;AACrC,cAAc,iCAA8B","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["modules/ui/index.ts"],"mappings":";;AAAA,cAAc,YAAS;AACvB,cAAc,kBAAe;AAC7B,cAAc,kCAA+B;AAC7C,cAAc,mCAAgC;AAC9C,cAAc,gDAA6C;AAC3D,cAAc,wCAAqC;AACnD,cAAc,8BAA2B;AACzC,cAAc,sCAAmC;AACjD,cAAc,mCAAgC;AAC9C,cAAc,oCAAiC;AAC/C,cAAc,yCAAsC;AACpD,cAAc,yCAAsC;AACpD,cAAc,0BAAuB;AACrC,cAAc,iCAA8B","ignoreList":[]}
|
|
@@ -8,12 +8,20 @@ export declare const defaultTranslation: {
|
|
|
8
8
|
delete: string;
|
|
9
9
|
};
|
|
10
10
|
profile: {
|
|
11
|
+
form: {
|
|
12
|
+
phone: {
|
|
13
|
+
country: string;
|
|
14
|
+
invalid: string;
|
|
15
|
+
searchCountry: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
11
18
|
save: string;
|
|
12
19
|
};
|
|
13
20
|
register: {
|
|
14
21
|
"already-have-account": string;
|
|
15
22
|
button: string;
|
|
16
23
|
name: string;
|
|
24
|
+
"full-name": string;
|
|
17
25
|
"or-register-with": string;
|
|
18
26
|
"password-confirm": string;
|
|
19
27
|
subtitle: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-translation.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/auth/default-translation.ts"],"names":[],"mappings":"AAEA,8FAA8F;AAC9F,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"default-translation.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/auth/default-translation.ts"],"names":[],"mappings":"AAEA,8FAA8F;AAC9F,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6D9B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type CountryCode } from "libphonenumber-js";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
type FormPhoneFieldProps = {
|
|
4
|
+
name: string;
|
|
5
|
+
fieldName: string;
|
|
6
|
+
label: string;
|
|
7
|
+
defaultCountry: CountryCode;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
testID?: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const FormPhoneField: ({ name, fieldName, label, defaultCountry, disabled, testID, }: FormPhoneFieldProps) => React.JSX.Element;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=form-phone-field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-phone-field.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/components/form-phone-field.tsx"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,WAAW,EACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAuB/B,KAAK,mBAAmB,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,WAAW,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,+DAO5B,mBAAmB,sBAmIrB,CAAC"}
|
package/lib/typescript/commonjs/src/modules/auth/profile/components/profile-form-choice-field.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
type ProfileFormChoiceFieldProps = {
|
|
3
|
+
name: string;
|
|
4
|
+
label: string;
|
|
5
|
+
options: {
|
|
6
|
+
label: string;
|
|
7
|
+
value: string;
|
|
8
|
+
}[];
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
testID?: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const ProfileFormChoiceField: ({ name, label, options, disabled, testID, }: ProfileFormChoiceFieldProps) => React.JSX.Element;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=profile-form-choice-field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile-form-choice-field.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/components/profile-form-choice-field.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,KAAK,2BAA2B,GAAG;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,6CAMpC,2BAA2B,sBAkC7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile-form-field-component.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/components/profile-form-field-component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"profile-form-field-component.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/components/profile-form-field-component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAK/D,UAAU,8BAA8B;IACtC,KAAK,EAAE,gBAAgB,CAAC;CACzB;AAED,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAC9C,8BAA8B,CA4E/B,CAAC"}
|
package/lib/typescript/commonjs/src/modules/auth/profile/components/profile-form-provider.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile-form-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/components/profile-form-provider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"profile-form-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/components/profile-form-provider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAQ/D,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CACxC,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CA6I1C,CAAC"}
|
|
@@ -1,12 +1,26 @@
|
|
|
1
|
+
import DateTimePickerModal from "react-native-modal-datetime-picker";
|
|
1
2
|
import * as Yup from "yup";
|
|
2
|
-
|
|
3
|
+
import type { Patient } from "@medplum/fhirtypes";
|
|
4
|
+
import type { PatchOperation } from "@ovok/core";
|
|
5
|
+
import type { CountryCode } from "libphonenumber-js";
|
|
6
|
+
import type { ComponentProps } from "react";
|
|
7
|
+
import type { TextInputProps } from "react-native-paper";
|
|
8
|
+
type ProfileFormFieldBase = {
|
|
3
9
|
name: string;
|
|
4
10
|
label: string;
|
|
5
11
|
value: string;
|
|
6
12
|
validation?: Yup.Schema<string | undefined>;
|
|
7
13
|
disabled?: boolean;
|
|
8
14
|
testID?: string;
|
|
9
|
-
|
|
15
|
+
toPatch?: (value: string, patient: Patient) => PatchOperation[];
|
|
16
|
+
};
|
|
17
|
+
type TextInputFieldProps = Omit<TextInputProps, "value" | "onChangeText" | "testID">;
|
|
18
|
+
type DateFieldProps = Pick<ComponentProps<typeof DateTimePickerModal>, "locale" | "minimumDate" | "maximumDate" | "display"> & {
|
|
19
|
+
mode?: "date" | "time" | "datetime";
|
|
20
|
+
initialDate?: Date;
|
|
21
|
+
formatValue?: (value: string) => string;
|
|
22
|
+
};
|
|
23
|
+
export type ProfileFormField = ProfileFormFieldBase & ({
|
|
10
24
|
type: "select";
|
|
11
25
|
options: {
|
|
12
26
|
label: string;
|
|
@@ -14,8 +28,26 @@ export type ProfileFormField = {
|
|
|
14
28
|
}[];
|
|
15
29
|
} | {
|
|
16
30
|
type: "date";
|
|
17
|
-
mode?: "
|
|
31
|
+
mode?: DateFieldProps["mode"];
|
|
32
|
+
initialDate?: DateFieldProps["initialDate"];
|
|
33
|
+
minimumDate?: DateFieldProps["minimumDate"];
|
|
34
|
+
maximumDate?: DateFieldProps["maximumDate"];
|
|
35
|
+
locale?: DateFieldProps["locale"];
|
|
36
|
+
display?: DateFieldProps["display"];
|
|
37
|
+
formatValue?: DateFieldProps["formatValue"];
|
|
18
38
|
} | {
|
|
19
39
|
type: "text";
|
|
40
|
+
keyboardType?: TextInputProps["keyboardType"];
|
|
41
|
+
inputProps?: TextInputFieldProps;
|
|
42
|
+
} | {
|
|
43
|
+
type: "choice";
|
|
44
|
+
options: {
|
|
45
|
+
label: string;
|
|
46
|
+
value: string;
|
|
47
|
+
}[];
|
|
48
|
+
} | {
|
|
49
|
+
type: "phone";
|
|
50
|
+
defaultCountry: CountryCode;
|
|
20
51
|
});
|
|
52
|
+
export {};
|
|
21
53
|
//# sourceMappingURL=profile-form-field.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile-form-field.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/types/profile-form-field.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"profile-form-field.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/types/profile-form-field.ts"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,MAAM,oCAAoC,CAAC;AACrE,OAAO,KAAK,GAAG,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f,EAAE,CAAC;CACL,GACD;IACE,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;IAC9B,WAAW,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;IAC5C,WAAW,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;IAC5C,WAAW,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;IAC5C,MAAM,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;IAClC,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACpC,WAAW,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;CAC7C,GACD;IACE,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;IAC9C,UAAU,CAAC,EAAE,mBAAmB,CAAC;CAClC,GACD;IACE,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;KACf,EAAE,CAAC;CACL,GACD;IACE,IAAI,EAAE,OAAO,CAAC;IACd,cAAc,EAAE,WAAW,CAAC;CAC7B,CACJ,CAAC"}
|
|
@@ -7,12 +7,7 @@ export type ProfileFormProps = {
|
|
|
7
7
|
fields: ProfileFormField[];
|
|
8
8
|
style?: StyleProp<ViewStyle>;
|
|
9
9
|
testID?: string;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
onSuccess?: (response: Patient) => void;
|
|
14
|
-
} | {
|
|
15
|
-
onSuccess?: undefined;
|
|
16
|
-
onSubmit?: (values: ProfileFormValues, formikHelpers: FormikHelpers<ProfileFormValues>) => void;
|
|
17
|
-
});
|
|
10
|
+
onSuccess?: (response: Patient, values: ProfileFormValues) => void;
|
|
11
|
+
onSubmit?: (values: ProfileFormValues, formikHelpers: FormikHelpers<ProfileFormValues>) => Promise<void> | void;
|
|
12
|
+
};
|
|
18
13
|
//# sourceMappingURL=profile-form-props.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile-form-props.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/types/profile-form-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,EAAE,gBAAgB,EAAE,CAAC;IAE3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,
|
|
1
|
+
{"version":3,"file":"profile-form-props.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/types/profile-form-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,EAAE,gBAAgB,EAAE,CAAC;IAE3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACnE,QAAQ,CAAC,EAAE,CACT,MAAM,EAAE,iBAAiB,EACzB,aAAa,EAAE,aAAa,CAAC,iBAAiB,CAAC,KAC5C,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;CAC3B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type CountryCode } from "libphonenumber-js";
|
|
2
|
+
declare const phoneCountryFieldName: (name: string) => string;
|
|
3
|
+
declare const toPhoneE164: (value: string, country: CountryCode) => string;
|
|
4
|
+
declare const isPhoneValidForCountry: (value: string, country: CountryCode) => boolean;
|
|
5
|
+
export { isPhoneValidForCountry, phoneCountryFieldName, toPhoneE164 };
|
|
6
|
+
//# sourceMappingURL=phone.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"phone.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/utils/phone.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,WAAW,EACjB,MAAM,mBAAmB,CAAC;AAE3B,QAAA,MAAM,qBAAqB,GAAI,MAAM,MAAM,WACqC,CAAC;AAEjF,QAAA,MAAM,WAAW,GAAI,OAAO,MAAM,EAAE,SAAS,WAAW,WAoBvD,CAAC;AAEF,QAAA,MAAM,sBAAsB,GAAI,OAAO,MAAM,EAAE,SAAS,WAAW,YAIlE,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inputs.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/register/components/form/inputs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,eAAO,MAAM,MAAM,GAAI,+BAA+B,eAAe,
|
|
1
|
+
{"version":3,"file":"inputs.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/register/components/form/inputs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,eAAO,MAAM,MAAM,GAAI,+BAA+B,eAAe,sBAiOpE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-form-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/register/components/form/register-form-provider.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AASpE,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CACzC,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,
|
|
1
|
+
{"version":3,"file":"register-form-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/register/components/form/register-form-provider.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AASpE,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CACzC,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAsJ3C,CAAC"}
|
package/lib/typescript/commonjs/src/modules/auth/register/contexts/register-form-context.d.ts
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { FormikContextType } from "formik";
|
|
2
2
|
import * as React from "react";
|
|
3
|
+
import type { RegisterFormProps } from "../types/register-form-props";
|
|
3
4
|
import { RegisterFormValues } from "../types/register-form-values";
|
|
4
5
|
type RegisterFormContextType = FormikContextType<RegisterFormValues> & {
|
|
5
6
|
defaultValues?: Partial<Omit<RegisterFormValues, "submit">>;
|
|
7
|
+
nameField?: RegisterFormProps["nameField"];
|
|
8
|
+
toRegisterNames?: (fullName: string) => {
|
|
9
|
+
name: string;
|
|
10
|
+
surname: string;
|
|
11
|
+
};
|
|
6
12
|
};
|
|
7
13
|
export declare const RegisterFormContext: React.Context<RegisterFormContextType | undefined>;
|
|
8
14
|
export {};
|
package/lib/typescript/commonjs/src/modules/auth/register/contexts/register-form-context.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-form-context.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/register/contexts/register-form-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEnE,KAAK,uBAAuB,GAAG,iBAAiB,CAAC,kBAAkB,CAAC,GAAG;IACrE,aAAa,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,QAAQ,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"register-form-context.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/register/contexts/register-form-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEnE,KAAK,uBAAuB,GAAG,iBAAiB,CAAC,kBAAkB,CAAC,GAAG;IACrE,aAAa,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,QAAQ,CAAC,CAAC,CAAC;IAC5D,SAAS,CAAC,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAC;IAC3C,eAAe,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CAC3E,CAAC;AAEF,eAAO,MAAM,mBAAmB,oDAEpB,CAAC"}
|
|
@@ -2,5 +2,10 @@ export declare const useRegisterForm: () => import("formik").FormikSharedConfig<
|
|
|
2
2
|
submitForm: () => Promise<any>;
|
|
3
3
|
} & Pick<import("formik").FormikConfig<import("..").RegisterFormValues>, "validate" | "validationSchema"> & {
|
|
4
4
|
defaultValues?: Partial<Omit<import("..").RegisterFormValues, "submit">>;
|
|
5
|
+
nameField?: import("../types/register-form-props").RegisterFormProps["nameField"];
|
|
6
|
+
toRegisterNames?: (fullName: string) => {
|
|
7
|
+
name: string;
|
|
8
|
+
surname: string;
|
|
9
|
+
};
|
|
5
10
|
};
|
|
6
11
|
//# sourceMappingURL=use-register-form.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-register-form.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/register/hooks/use-register-form.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"use-register-form.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/register/hooks/use-register-form.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe;;;;;;;;;CAU3B,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { FormikHelpers } from "formik";
|
|
|
3
3
|
import * as Yup from "yup";
|
|
4
4
|
import type { StyleProp, ViewStyle } from "react-native";
|
|
5
5
|
import { RegisterFormValues } from "./register-form-values";
|
|
6
|
-
|
|
6
|
+
type RegisterFormBaseProps = {
|
|
7
7
|
style?: StyleProp<ViewStyle>;
|
|
8
8
|
customValidations?: {
|
|
9
9
|
[key in keyof RegisterFormValues]?: Yup.StringSchema | ((existingRule: Yup.StringSchema) => Yup.StringSchema);
|
|
@@ -13,7 +13,18 @@ export type RegisterFormProps = {
|
|
|
13
13
|
children: React.ReactNode;
|
|
14
14
|
tenantCode: string;
|
|
15
15
|
continueAsPatientToken?: string;
|
|
16
|
-
}
|
|
16
|
+
};
|
|
17
|
+
type RegisterNameFieldProps = {
|
|
18
|
+
nameField?: "split";
|
|
19
|
+
toRegisterNames?: never;
|
|
20
|
+
} | {
|
|
21
|
+
nameField: "single";
|
|
22
|
+
toRegisterNames: (fullName: string) => {
|
|
23
|
+
name: string;
|
|
24
|
+
surname: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
type RegisterFormHandlers = {
|
|
17
28
|
onSuccess?: undefined;
|
|
18
29
|
onError?: undefined;
|
|
19
30
|
onNextStep?: undefined;
|
|
@@ -23,5 +34,7 @@ export type RegisterFormProps = {
|
|
|
23
34
|
onSuccess?: (values: AuthResponse) => void;
|
|
24
35
|
onError?: (error: Error) => void;
|
|
25
36
|
onNextStep?: (step: ClinicianInviteStep) => void;
|
|
26
|
-
}
|
|
37
|
+
};
|
|
38
|
+
export type RegisterFormProps = RegisterFormBaseProps & RegisterNameFieldProps & RegisterFormHandlers;
|
|
39
|
+
export {};
|
|
27
40
|
//# sourceMappingURL=register-form-props.d.ts.map
|
package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-props.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-form-props.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/register/types/register-form-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE5D,
|
|
1
|
+
{"version":3,"file":"register-form-props.d.ts","sourceRoot":"","sources":["../../../../../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SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,CACT,MAAM,EAAE,kBAAkB,EAC1B,aAAa,EAAE,aAAa,CAAC,kBAAkB,CAAC,KAC7C,OAAO,CAAC,IAAI,CAAC,CAAC;CACpB,GACD;IACE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IAC3C,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,mBAAmB,KAAK,IAAI,CAAC;CAClD,CAAC;AAEN,MAAM,MAAM,iBAAiB,GAAG,qBAAqB,GACnD,sBAAsB,GACtB,oBAAoB,CAAC"}
|
package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-values.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-form-values.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/register/types/register-form-values.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC,GAAG;IAClE,MAAM,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"register-form-values.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/register/types/register-form-values.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC,GAAG;IAClE,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC"}
|