@ovok/native 1.10.2 → 1.10.3
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/README.md +5 -5
- package/lib/commonjs/modules/auth/default-translation.js +5 -0
- package/lib/commonjs/modules/auth/default-translation.js.map +1 -1
- package/lib/commonjs/modules/auth/profile/components/profile-form-provider.js +3 -6
- package/lib/commonjs/modules/auth/profile/components/profile-form-provider.js.map +1 -1
- package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js +3 -3
- package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
- package/lib/commonjs/modules/auth/session/logout-session.js +5 -2
- package/lib/commonjs/modules/auth/session/logout-session.js.map +1 -1
- package/lib/commonjs/modules/auth/session/session-store-types.js +17 -0
- package/lib/commonjs/modules/auth/session/session-store-types.js.map +1 -0
- package/lib/commonjs/modules/auth/session/session-store.js +25 -13
- package/lib/commonjs/modules/auth/session/session-store.js.map +1 -1
- package/lib/commonjs/modules/auth/utils/sign-in-error.js +6 -2
- package/lib/commonjs/modules/auth/utils/sign-in-error.js.map +1 -1
- package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js +5 -0
- package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
- package/lib/commonjs/modules/bt-management/hooks/declined-device-storage.js +36 -1
- package/lib/commonjs/modules/bt-management/hooks/declined-device-storage.js.map +1 -1
- package/lib/commonjs/modules/bt-management/hooks/nearby-device-offer-state.js +25 -0
- package/lib/commonjs/modules/bt-management/hooks/nearby-device-offer-state.js.map +1 -0
- package/lib/commonjs/modules/bt-management/hooks/nearby-device-offer-types.js +6 -0
- package/lib/commonjs/modules/bt-management/hooks/nearby-device-offer-types.js.map +1 -0
- package/lib/commonjs/modules/bt-management/hooks/use-nearby-device-offer.js +22 -36
- package/lib/commonjs/modules/bt-management/hooks/use-nearby-device-offer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/background-sync/background-sync-coordinator.js +11 -0
- package/lib/commonjs/modules/bt-management/services/background-sync/background-sync-coordinator.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/convert-generic-health-data.js +33 -19
- package/lib/commonjs/modules/data-sync/utils/convert-generic-health-data.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/health-data-catalog.js +51 -11
- package/lib/commonjs/modules/data-sync/utils/health-data-catalog.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/health-units.js +1 -0
- package/lib/commonjs/modules/data-sync/utils/health-units.js.map +1 -1
- package/lib/commonjs/modules/ui/components/bluetooth-state-notice.js +31 -15
- package/lib/commonjs/modules/ui/components/bluetooth-state-notice.js.map +1 -1
- package/lib/commonjs/modules/ui/default-translation.js +50 -0
- package/lib/commonjs/modules/ui/default-translation.js.map +1 -0
- package/lib/module/modules/auth/default-translation.js +5 -0
- package/lib/module/modules/auth/default-translation.js.map +1 -1
- package/lib/module/modules/auth/profile/components/profile-form-provider.js +3 -6
- package/lib/module/modules/auth/profile/components/profile-form-provider.js.map +1 -1
- package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js +2 -3
- package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
- package/lib/module/modules/auth/session/logout-session.js +5 -2
- package/lib/module/modules/auth/session/logout-session.js.map +1 -1
- package/lib/module/modules/auth/session/session-store-types.js +13 -0
- package/lib/module/modules/auth/session/session-store-types.js.map +1 -0
- package/lib/module/modules/auth/session/session-store.js +22 -10
- package/lib/module/modules/auth/session/session-store.js.map +1 -1
- package/lib/module/modules/auth/utils/sign-in-error.js +5 -2
- package/lib/module/modules/auth/utils/sign-in-error.js.map +1 -1
- package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js +5 -0
- package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
- package/lib/module/modules/bt-management/hooks/declined-device-storage.js +33 -1
- package/lib/module/modules/bt-management/hooks/declined-device-storage.js.map +1 -1
- package/lib/module/modules/bt-management/hooks/nearby-device-offer-state.js +20 -0
- package/lib/module/modules/bt-management/hooks/nearby-device-offer-state.js.map +1 -0
- package/lib/module/modules/bt-management/hooks/nearby-device-offer-types.js +4 -0
- package/lib/module/modules/bt-management/hooks/nearby-device-offer-types.js.map +1 -0
- package/lib/module/modules/bt-management/hooks/use-nearby-device-offer.js +21 -35
- package/lib/module/modules/bt-management/hooks/use-nearby-device-offer.js.map +1 -1
- package/lib/module/modules/bt-management/services/background-sync/background-sync-coordinator.js +11 -0
- package/lib/module/modules/bt-management/services/background-sync/background-sync-coordinator.js.map +1 -1
- package/lib/module/modules/data-sync/utils/convert-generic-health-data.js +33 -19
- package/lib/module/modules/data-sync/utils/convert-generic-health-data.js.map +1 -1
- package/lib/module/modules/data-sync/utils/health-data-catalog.js +51 -11
- package/lib/module/modules/data-sync/utils/health-data-catalog.js.map +1 -1
- package/lib/module/modules/data-sync/utils/health-units.js +1 -0
- package/lib/module/modules/data-sync/utils/health-units.js.map +1 -1
- package/lib/module/modules/ui/components/bluetooth-state-notice.js +31 -15
- package/lib/module/modules/ui/components/bluetooth-state-notice.js.map +1 -1
- package/lib/module/modules/ui/default-translation.js +45 -0
- package/lib/module/modules/ui/default-translation.js.map +1 -0
- package/lib/typescript/commonjs/src/modules/auth/default-translation.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/auth/default-translation.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/reset-password/components/form/reset-password-form-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/session/logout-session.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-types.d.ts +27 -0
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-types.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/auth/session/session-store.d.ts +1 -18
- package/lib/typescript/commonjs/src/modules/auth/session/session-store.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/utils/sign-in-error.d.ts +2 -1
- package/lib/typescript/commonjs/src/modules/auth/utils/sign-in-error.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/hooks/declined-device-storage.d.ts +10 -1
- package/lib/typescript/commonjs/src/modules/bt-management/hooks/declined-device-storage.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/hooks/nearby-device-offer-state.d.ts +6 -0
- package/lib/typescript/commonjs/src/modules/bt-management/hooks/nearby-device-offer-state.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/hooks/nearby-device-offer-types.d.ts +15 -0
- package/lib/typescript/commonjs/src/modules/bt-management/hooks/nearby-device-offer-types.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-nearby-device-offer.d.ts +6 -14
- package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-nearby-device-offer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/background-sync.d.ts +7 -0
- package/lib/typescript/commonjs/src/modules/bt-management/types/background-sync.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-generic-health-data.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/health-data-catalog.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/health-data-catalog.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/health-units.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/ui/components/bluetooth-state-notice.d.ts +8 -5
- package/lib/typescript/commonjs/src/modules/ui/components/bluetooth-state-notice.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/ui/default-translation.d.ts +30 -0
- package/lib/typescript/commonjs/src/modules/ui/default-translation.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/auth/default-translation.d.ts +5 -0
- package/lib/typescript/module/src/modules/auth/default-translation.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/reset-password/components/form/reset-password-form-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/session/logout-session.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/session/session-store-types.d.ts +27 -0
- package/lib/typescript/module/src/modules/auth/session/session-store-types.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/auth/session/session-store.d.ts +1 -18
- package/lib/typescript/module/src/modules/auth/session/session-store.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/utils/sign-in-error.d.ts +2 -1
- package/lib/typescript/module/src/modules/auth/utils/sign-in-error.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/hooks/declined-device-storage.d.ts +10 -1
- package/lib/typescript/module/src/modules/bt-management/hooks/declined-device-storage.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/hooks/nearby-device-offer-state.d.ts +6 -0
- package/lib/typescript/module/src/modules/bt-management/hooks/nearby-device-offer-state.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/hooks/nearby-device-offer-types.d.ts +15 -0
- package/lib/typescript/module/src/modules/bt-management/hooks/nearby-device-offer-types.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/hooks/use-nearby-device-offer.d.ts +6 -14
- package/lib/typescript/module/src/modules/bt-management/hooks/use-nearby-device-offer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/background-sync.d.ts +7 -0
- package/lib/typescript/module/src/modules/bt-management/types/background-sync.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/convert-generic-health-data.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/health-data-catalog.d.ts +2 -0
- package/lib/typescript/module/src/modules/data-sync/utils/health-data-catalog.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/health-units.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/ui/components/bluetooth-state-notice.d.ts +8 -5
- package/lib/typescript/module/src/modules/ui/components/bluetooth-state-notice.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/ui/default-translation.d.ts +30 -0
- package/lib/typescript/module/src/modules/ui/default-translation.d.ts.map +1 -0
- package/package.json +4 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bt-provider-child-wrapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/components/bt-provider-child-wrapper.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AA6BjF,eAAO,MAAM,sBAAsB,GAAI,CAAC,SAAS,SAAS,cAAc,EAAE,EAAE,yUAoBvE,KAAK,CAAC,iBAAiB,CAAC,2BAA2B,CAAC,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"bt-provider-child-wrapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/components/bt-provider-child-wrapper.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AA6BjF,eAAO,MAAM,sBAAsB,GAAI,CAAC,SAAS,SAAS,cAAc,EAAE,EAAE,yUAoBvE,KAAK,CAAC,iBAAiB,CAAC,2BAA2B,CAAC,CAAC,CAAC,CAAC,sBA+f3D,CAAC"}
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
+
import type { BluetoothRuntime } from "./runtime-context";
|
|
1
2
|
import type { PairedDeviceStorage } from "./use-paired-devices";
|
|
3
|
+
interface DeclinedDeviceState {
|
|
4
|
+
ids?: readonly string[];
|
|
5
|
+
loading?: Promise<readonly string[]>;
|
|
6
|
+
listeners: Set<() => void>;
|
|
7
|
+
}
|
|
2
8
|
declare const parseDeclinedDeviceIds: (value: string | null) => string[];
|
|
9
|
+
declare const getDeclinedDeviceState: (runtime: BluetoothRuntime, storageKey: string) => DeclinedDeviceState;
|
|
10
|
+
declare const publishDeclinedDeviceIds: (state: DeclinedDeviceState, ids: readonly string[]) => void;
|
|
11
|
+
declare const loadDeclinedDeviceIds: (state: DeclinedDeviceState, storage: PairedDeviceStorage, storageKey: string) => Promise<readonly string[]>;
|
|
3
12
|
declare const updateDeclinedDeviceIds: (storage: PairedDeviceStorage, storageKey: string, update: (ids: readonly string[]) => string[]) => Promise<string[]>;
|
|
4
|
-
export { parseDeclinedDeviceIds, updateDeclinedDeviceIds };
|
|
13
|
+
export { getDeclinedDeviceState, loadDeclinedDeviceIds, parseDeclinedDeviceIds, publishDeclinedDeviceIds, updateDeclinedDeviceIds, };
|
|
5
14
|
//# sourceMappingURL=declined-device-storage.d.ts.map
|
package/lib/typescript/module/src/modules/bt-management/hooks/declined-device-storage.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"declined-device-storage.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/hooks/declined-device-storage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"declined-device-storage.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/hooks/declined-device-storage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE,UAAU,mBAAmB;IAC3B,GAAG,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC,SAAS,MAAM,EAAE,CAAC,CAAC;IACrC,SAAS,EAAE,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;CAC5B;AAYD,QAAA,MAAM,sBAAsB,GAAI,OAAO,MAAM,GAAG,IAAI,KAAG,MAAM,EAkB5D,CAAC;AAEF,QAAA,MAAM,sBAAsB,GAC1B,SAAS,gBAAgB,EACzB,YAAY,MAAM,KACjB,mBAgBF,CAAC;AAEF,QAAA,MAAM,wBAAwB,GAC5B,OAAO,mBAAmB,EAC1B,KAAK,SAAS,MAAM,EAAE,KACrB,IAGF,CAAC;AAEF,QAAA,MAAM,qBAAqB,GACzB,OAAO,mBAAmB,EAC1B,SAAS,mBAAmB,EAC5B,YAAY,MAAM,KACjB,OAAO,CAAC,SAAS,MAAM,EAAE,CAkB3B,CAAC;AAEF,QAAA,MAAM,uBAAuB,GAC3B,SAAS,mBAAmB,EAC5B,YAAY,MAAM,EAClB,QAAQ,CAAC,GAAG,EAAE,SAAS,MAAM,EAAE,KAAK,MAAM,EAAE,KAC3C,OAAO,CAAC,MAAM,EAAE,CAiClB,CAAC;AAEF,OAAO,EACL,sBAAsB,EACtB,qBAAqB,EACrB,sBAAsB,EACtB,wBAAwB,EACxB,uBAAuB,GACxB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { BluetoothRuntime } from "./runtime-context";
|
|
2
|
+
import { BluetoothError } from "../types/bluetooth-error";
|
|
3
|
+
declare const getDismissedLater: (runtime: BluetoothRuntime, storageKey: string) => Set<string>;
|
|
4
|
+
declare const notNearbyError: () => BluetoothError;
|
|
5
|
+
export { getDismissedLater, notNearbyError };
|
|
6
|
+
//# sourceMappingURL=nearby-device-offer-state.d.ts.map
|
package/lib/typescript/module/src/modules/bt-management/hooks/nearby-device-offer-state.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nearby-device-offer-state.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/hooks/nearby-device-offer-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE1D,OAAO,EAAE,cAAc,EAAsB,MAAM,0BAA0B,CAAC;AAO9E,QAAA,MAAM,iBAAiB,GACrB,SAAS,gBAAgB,EACzB,YAAY,MAAM,KACjB,GAAG,CAAC,MAAM,CAgBZ,CAAC;AAEF,QAAA,MAAM,cAAc,QAAO,cAIxB,CAAC;AAEJ,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { RuntimeDevice } from "./runtime-context";
|
|
2
|
+
import type { PairedDeviceStorage } from "./use-paired-devices";
|
|
3
|
+
import type { BluetoothError } from "../types/bluetooth-error";
|
|
4
|
+
type NearbyDeviceOfferStatus = "idle" | "offered" | "pairing" | "paired" | "error";
|
|
5
|
+
interface UseNearbyDeviceOfferOptions {
|
|
6
|
+
storage: PairedDeviceStorage;
|
|
7
|
+
storageKey?: string;
|
|
8
|
+
declinedStorageKey?: string;
|
|
9
|
+
enabled?: boolean;
|
|
10
|
+
shouldOffer?: (device: RuntimeDevice) => boolean;
|
|
11
|
+
onPaired?: (device: RuntimeDevice) => void;
|
|
12
|
+
onError?: (error: BluetoothError, device?: RuntimeDevice) => void;
|
|
13
|
+
}
|
|
14
|
+
export type { NearbyDeviceOfferStatus, UseNearbyDeviceOfferOptions };
|
|
15
|
+
//# sourceMappingURL=nearby-device-offer-types.d.ts.map
|
package/lib/typescript/module/src/modules/bt-management/hooks/nearby-device-offer-types.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nearby-device-offer-types.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/hooks/nearby-device-offer-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D,KAAK,uBAAuB,GACxB,MAAM,GACN,SAAS,GACT,SAAS,GACT,QAAQ,GACR,OAAO,CAAC;AAEZ,UAAU,2BAA2B;IACnC,OAAO,EAAE,mBAAmB,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAC;IACjD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC;IAC3C,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,MAAM,CAAC,EAAE,aAAa,KAAK,IAAI,CAAC;CACnE;AAED,YAAY,EAAE,uBAAuB,EAAE,2BAA2B,EAAE,CAAC"}
|
|
@@ -1,21 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { RuntimeDevice } from "./runtime-context";
|
|
3
|
-
import {
|
|
4
|
-
export type NearbyDeviceOfferStatus
|
|
5
|
-
export
|
|
6
|
-
storage: PairedDeviceStorage;
|
|
7
|
-
storageKey?: string;
|
|
8
|
-
declinedStorageKey?: string;
|
|
9
|
-
enabled?: boolean;
|
|
10
|
-
onPaired?: (device: RuntimeDevice) => void;
|
|
11
|
-
onError?: (error: BluetoothError, device?: RuntimeDevice) => void;
|
|
12
|
-
}
|
|
13
|
-
export declare const useNearbyDeviceOffer: ({ storage, storageKey, declinedStorageKey, enabled, onPaired, onError, }: UseNearbyDeviceOfferOptions) => {
|
|
1
|
+
import type { NearbyDeviceOfferStatus, UseNearbyDeviceOfferOptions } from "./nearby-device-offer-types";
|
|
2
|
+
import type { RuntimeDevice } from "./runtime-context";
|
|
3
|
+
import { type BluetoothError } from "../types/bluetooth-error";
|
|
4
|
+
export type { NearbyDeviceOfferStatus, UseNearbyDeviceOfferOptions, } from "./nearby-device-offer-types";
|
|
5
|
+
export declare const useNearbyDeviceOffer: ({ storage, storageKey, declinedStorageKey, enabled, shouldOffer, onPaired, onError, }: UseNearbyDeviceOfferOptions) => {
|
|
14
6
|
device?: RuntimeDevice;
|
|
15
7
|
status: NearbyDeviceOfferStatus;
|
|
16
8
|
error?: BluetoothError;
|
|
17
9
|
accept: () => Promise<void>;
|
|
18
|
-
decline: () => Promise<void>;
|
|
10
|
+
decline: (deviceId?: string) => Promise<void>;
|
|
19
11
|
undecline: (deviceId: string) => Promise<void>;
|
|
20
12
|
later: () => void;
|
|
21
13
|
};
|
package/lib/typescript/module/src/modules/bt-management/hooks/use-nearby-device-offer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-nearby-device-offer.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/hooks/use-nearby-device-offer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-nearby-device-offer.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/hooks/use-nearby-device-offer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,uBAAuB,EACvB,2BAA2B,EAC5B,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD,OAAO,EACL,KAAK,cAAc,EAEpB,MAAM,0BAA0B,CAAC;AAgBlC,YAAY,EACV,uBAAuB,EACvB,2BAA2B,GAC5B,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,oBAAoB,GAAI,uFAQlC,2BAA2B,KAAG;IAC/B,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,MAAM,EAAE,uBAAuB,CAAC;IAChC,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5B,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9C,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/C,KAAK,EAAE,MAAM,IAAI,CAAC;CAqMnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"background-sync-coordinator.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/background-sync/background-sync-coordinator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAwB,MAAM,6BAA6B,CAAC;AAC1F,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"background-sync-coordinator.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/bt-management/services/background-sync/background-sync-coordinator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAwB,MAAM,6BAA6B,CAAC;AAC1F,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAc7D,MAAM,WAAW,0BAA0B;IACzC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,QAAA,MAAM,iBAAiB,yCAAyC,CAAC;AAkBjE;;;;GAIG;AACH,cAAM,yBAAyB,CAAC,CAAC,SAAS,SAAS;IAM9B,OAAO,CAAC,QAAQ,CAAC,OAAO;IAL3C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;IACpC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;IACpC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAS;IACxC,OAAO,CAAC,SAAS,CAAoC;gBAEjB,OAAO,EAAE,qBAAqB,CAAC,CAAC,CAAC;IAS9D,OAAO,GAAI,QAAQ,cAAc,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,IAAI,CAAC,CAwBtD;IAEE,KAAK,GAAI,UAAS,0BAA+B,KAAG,OAAO,CAAC,IAAI,CAAC,CAGnE;IAEL,OAAO,CAAC,YAAY,CAMlB;IAEF,OAAO,CAAC,SAAS,CAwCf;IAEF,OAAO,CAAC,UAAU,CAIhB;IAEF,OAAO,CAAC,UAAU,CAgEhB;CACH;AAED,OAAO,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -21,6 +21,11 @@ interface BackgroundSyncOptions<T extends DeviceKey = DeviceKey> {
|
|
|
21
21
|
storage: BackgroundSyncStorage;
|
|
22
22
|
/** Called after a result is persisted. Resolve only after the result is accepted. */
|
|
23
23
|
onResult: (result: BackgroundSyncResult<T>) => Promise<void>;
|
|
24
|
+
/**
|
|
25
|
+
* Returns the stable, opaque key for the account currently able to accept a
|
|
26
|
+
* result. Required at runtime before queueing or delivering account-owned data.
|
|
27
|
+
*/
|
|
28
|
+
getOwnerKey?: () => string | undefined;
|
|
24
29
|
/** Called when a corrupt stored queue is moved aside and reset. */
|
|
25
30
|
onError?: (error: Error) => void;
|
|
26
31
|
/** Storage key used by the queue. */
|
|
@@ -41,6 +46,8 @@ interface BackgroundSyncOptions<T extends DeviceKey = DeviceKey> {
|
|
|
41
46
|
enabled?: boolean;
|
|
42
47
|
title?: string;
|
|
43
48
|
body?: string | ((result: BackgroundSyncResult<T>) => string);
|
|
49
|
+
/** Return false to suppress the notification for this accepted result. */
|
|
50
|
+
shouldNotify?: (result: BackgroundSyncResult<T>) => boolean;
|
|
44
51
|
data?: PushNotificationContent["data"] | ((result: BackgroundSyncResult<T>) => PushNotificationContent["data"]);
|
|
45
52
|
};
|
|
46
53
|
/** Number of delivery attempts before an item is retained as exhausted. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"background-sync.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/background-sync.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,uBAAuB,CAAC;AACtF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAEnF,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,UAAU,qBAAqB;IAC7B,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACjD,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACxD;AAED,UAAU,oBAAoB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,CAC5D,SAAQ,cAAc,CAAC,CAAC,CAAC;IAEzB,kFAAkF;IAClF,EAAE,EAAE,MAAM,CAAC;IAEX,wFAAwF;IACxF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,qBAAqB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS;IAE7D,qCAAqC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,mGAAmG;IACnG,OAAO,EAAE,qBAAqB,CAAC;IAE/B,qFAAqF;IACrF,QAAQ,EAAE,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAE7D,mEAAmE;IACnE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAEjC,qCAAqC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,sFAAsF;IACtF,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAEjC,gFAAgF;IAChF,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAEhC;;;OAGG;IACH,OAAO,CAAC,EAAE;QACR,iBAAiB,CAAC,EAAE,wCAAwC,CAAC;KAC9D,CAAC;IAEF,kFAAkF;IAClF,aAAa,CAAC,EAAE;QACd,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"background-sync.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-management/types/background-sync.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,uBAAuB,CAAC;AACtF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAEnF,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,UAAU,qBAAqB;IAC7B,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACjD,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACxD;AAED,UAAU,oBAAoB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,CAC5D,SAAQ,cAAc,CAAC,CAAC,CAAC;IAEzB,kFAAkF;IAClF,EAAE,EAAE,MAAM,CAAC;IAEX,wFAAwF;IACxF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,qBAAqB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS;IAE7D,qCAAqC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,mGAAmG;IACnG,OAAO,EAAE,qBAAqB,CAAC;IAE/B,qFAAqF;IACrF,QAAQ,EAAE,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAE7D;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,MAAM,GAAG,SAAS,CAAC;IAEvC,mEAAmE;IACnE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAEjC,qCAAqC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,sFAAsF;IACtF,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAEjC,gFAAgF;IAChF,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAEhC;;;OAGG;IACH,OAAO,CAAC,EAAE;QACR,iBAAiB,CAAC,EAAE,wCAAwC,CAAC;KAC9D,CAAC;IAEF,kFAAkF;IAClF,aAAa,CAAC,EAAE;QACd,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC;QAE9D,0EAA0E;QAC1E,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC;QAC5D,IAAI,CAAC,EACD,uBAAuB,CAAC,MAAM,CAAC,GAC/B,CAAC,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAAK,uBAAuB,CAAC,MAAM,CAAC,CAAC,CAAC;KAC5E,CAAC;IAEF,2EAA2E;IAC3E,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,iFAAiF;IACjF,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,CAAC"}
|
package/lib/typescript/module/src/modules/data-sync/utils/convert-generic-health-data.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-generic-health-data.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/convert-generic-health-data.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAI3D,KAAK,sBAAsB,GAAG,gBAAgB,CAAC,OAAO,CAAC,GAAG;IACxD,IAAI,EAAE,cAAc,CAAC;CACtB,CAAC;
|
|
1
|
+
{"version":3,"file":"convert-generic-health-data.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/convert-generic-health-data.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAI3D,KAAK,sBAAsB,GAAG,gBAAgB,CAAC,OAAO,CAAC,GAAG;IACxD,IAAI,EAAE,cAAc,CAAC;CACtB,CAAC;AAUF,eAAO,MAAM,qCAAqC,GAAU,kJAQzD,sBAAsB,KAAG,OAAO,CAAC,WAAW,EAAE,CAwGhD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"health-data-catalog.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/health-data-catalog.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAI/D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"health-data-catalog.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/health-data-catalog.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAI/D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAsB3D,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,QAAQ,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,SAAS,cAAc,EAAE,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,EAAE,cAAc,GAAG,gBAAgB,CAAC;IAC5C,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,eAAe,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,gBAAgB,CAAC;IAC7E,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,aAAa,GAAG,SAAS,GAAG,eAAe,CAAC;IAC1D,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAmsBF,QAAA,MAAM,mBAAmB,EAAE,SAAS,sBAAsB,EAYtD,CAAC;AAEL,QAAA,MAAM,mBAAmB,GACvB,UAAU,cAAc,EACxB,YAAY,MAAM,EAClB,MAAM,cAAc,KACnB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CA0BlD,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"health-units.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/health-units.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"health-units.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/health-units.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,oCAAoC,CAAC;AAmB5C,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,wBAAwB,EAC9D,gBAAgB,CAAC,KAChB,iBAAiB,CAAC,CAAC,CAAC,GAAG,SACwC,CAAC"}
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { BleManager } from "react-native-ble-plx";
|
|
3
|
+
import type { BluetoothPermissionStatus } from "../../bt-management/types/bluetooth-permission-status";
|
|
4
|
+
import "../default-translation";
|
|
3
5
|
import { OvokUiProps } from "../types";
|
|
6
|
+
export interface BluetoothStateNoticeCopy {
|
|
7
|
+
heading?: string;
|
|
8
|
+
body?: string;
|
|
9
|
+
action?: string;
|
|
10
|
+
}
|
|
4
11
|
export interface BluetoothStateNoticeProps extends OvokUiProps {
|
|
5
12
|
bleManager?: BleManager;
|
|
6
13
|
requestPermission?: () => Promise<boolean>;
|
|
7
14
|
onOpenSettings?: () => Promise<void> | void;
|
|
8
15
|
title?: string;
|
|
9
|
-
copy?: Partial<Record<"on" | "unsupported" | "unauthorized" | "off",
|
|
10
|
-
heading?: string;
|
|
11
|
-
body?: string;
|
|
12
|
-
action?: string;
|
|
13
|
-
}>>;
|
|
16
|
+
copy?: Partial<Record<"on" | "unsupported" | "unauthorized" | "off" | BluetoothPermissionStatus, BluetoothStateNoticeCopy>>;
|
|
14
17
|
settingsAction?: string;
|
|
15
18
|
testID?: string;
|
|
16
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bluetooth-state-notice.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/ui/components/bluetooth-state-notice.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bluetooth-state-notice.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/ui/components/bluetooth-state-notice.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAOlD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uDAAuD,CAAC;AAGvG,OAAO,wBAAwB,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,WAAW,wBAAwB;IACvC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,yBAA0B,SAAQ,WAAW;IAC5D,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IAC3C,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CACZ,MAAM,CACJ,IAAI,GAAG,aAAa,GAAG,cAAc,GAAG,KAAK,GAAG,yBAAyB,EACzE,wBAAwB,CACzB,CACF,CAAC;IACF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,oBAAoB,GAAI,kHASlC,yBAAyB,6BA6I3B,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const defaultUiTranslation: {
|
|
2
|
+
"bluetooth-state-notice": {
|
|
3
|
+
off: {
|
|
4
|
+
heading: string;
|
|
5
|
+
body: string;
|
|
6
|
+
action: string;
|
|
7
|
+
};
|
|
8
|
+
unsupported: {
|
|
9
|
+
heading: string;
|
|
10
|
+
body: string;
|
|
11
|
+
};
|
|
12
|
+
unauthorized: {
|
|
13
|
+
heading: string;
|
|
14
|
+
body: string;
|
|
15
|
+
action: string;
|
|
16
|
+
};
|
|
17
|
+
denied: {
|
|
18
|
+
heading: string;
|
|
19
|
+
body: string;
|
|
20
|
+
action: string;
|
|
21
|
+
};
|
|
22
|
+
blocked: {
|
|
23
|
+
heading: string;
|
|
24
|
+
body: string;
|
|
25
|
+
action: string;
|
|
26
|
+
};
|
|
27
|
+
"action-error": string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=default-translation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-translation.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/ui/default-translation.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BhC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ovok/native",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.3",
|
|
4
4
|
"description": "React native component sdk for OVOK",
|
|
5
5
|
"source": "./src/index.tsx",
|
|
6
6
|
"main": "./lib/commonjs/index.js",
|
|
@@ -74,7 +74,8 @@
|
|
|
74
74
|
"@medplum/expo-polyfills": "3.2.23",
|
|
75
75
|
"countries-list": "^3.4.1",
|
|
76
76
|
"crypto-js": "4.2.0",
|
|
77
|
-
"libphonenumber-js": "^1.13.14"
|
|
77
|
+
"libphonenumber-js": "^1.13.14",
|
|
78
|
+
"i18n-iso-countries": "^7.14.0"
|
|
78
79
|
},
|
|
79
80
|
"devDependencies": {
|
|
80
81
|
"@babel/core": "^7.29.0",
|
|
@@ -91,7 +92,7 @@
|
|
|
91
92
|
"@medplum/react-hooks": "3.2.23",
|
|
92
93
|
"@opentelemetry/api": "^1.9.1",
|
|
93
94
|
"@opentelemetry/api-logs": "^0.222.0",
|
|
94
|
-
"@ovok/core": "^0.4.
|
|
95
|
+
"@ovok/core": "^0.4.22",
|
|
95
96
|
"@react-native-community/datetimepicker": "^9.1.0",
|
|
96
97
|
"@react-native-community/netinfo": "^12.0.1",
|
|
97
98
|
"@react-native-google-signin/google-signin": "^16.1.2",
|
|
@@ -130,7 +131,6 @@
|
|
|
130
131
|
"expo-web-browser": "~57.0.3",
|
|
131
132
|
"formik": "^2.4.9",
|
|
132
133
|
"globals": "^15.11.0",
|
|
133
|
-
"i18n-iso-countries": "^7.14.0",
|
|
134
134
|
"i18next": "^26.3.1",
|
|
135
135
|
"iconsax-react-nativejs": "^0.0.8",
|
|
136
136
|
"identity-obj-proxy": "^3.0.0",
|
|
@@ -239,9 +239,6 @@
|
|
|
239
239
|
"@react-native-community/datetimepicker": {
|
|
240
240
|
"optional": true
|
|
241
241
|
},
|
|
242
|
-
"@react-native-community/netinfo": {
|
|
243
|
-
"optional": true
|
|
244
|
-
},
|
|
245
242
|
"@react-native-google-signin/google-signin": {
|
|
246
243
|
"optional": true
|
|
247
244
|
},
|