zixflow-reactnative 1.1.2 → 1.1.4
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 +2224 -322
- package/android/build.gradle +18 -1
- package/android/consumer-rules.pro +3 -2
- package/android/gradle.properties +1 -1
- package/android/src/main/java/com/zixflow/reactnative/sdk/NativeZixflowModule.kt +69 -24
- package/android/src/main/java/com/zixflow/reactnative/sdk/ZixflowReactNativePackage.kt +25 -1
- package/android/src/main/java/com/zixflow/reactnative/sdk/constant/Keys.kt +19 -3
- package/android/src/main/java/com/zixflow/reactnative/sdk/geofence/NativeGeofenceModule.kt +65 -0
- package/android/src/main/java/com/zixflow/reactnative/sdk/liveactivities/NativeLiveActivitiesModule.kt +310 -0
- package/android/src/main/java/com/zixflow/reactnative/sdk/logging/NativeZixflowLoggingModule.kt +2 -2
- package/android/src/main/java/com/zixflow/reactnative/sdk/messaginginapp/NativeMessagingInAppModule.kt +149 -10
- package/android/src/main/java/com/zixflow/reactnative/sdk/messaginginapp/ReactInboxEventListener.kt +99 -0
- package/android/src/main/java/com/zixflow/reactnative/sdk/messaginginbox/NotificationInboxBellViewManager.kt +38 -0
- package/android/src/main/java/com/zixflow/reactnative/sdk/messaginginbox/NotificationInboxViewManager.kt +30 -0
- package/android/src/main/java/com/zixflow/reactnative/sdk/messaginginbox/ReactComposeHostView.kt +96 -0
- package/android/src/main/java/com/zixflow/reactnative/sdk/messaginginbox/ReactNotificationInboxBellView.kt +48 -0
- package/android/src/main/java/com/zixflow/reactnative/sdk/messaginginbox/ReactNotificationInboxView.kt +17 -0
- package/android/src/main/java/com/zixflow/reactnative/sdk/messagingpush/NativeMessagingPushModule.kt +11 -1
- package/android/src/main/res/values/zixflow_config.xml +1 -1
- package/android/zixflow-core.gradle +17 -7
- package/docs/cocoapods-deployment-target-normalization.md +139 -0
- package/ios/cocoapods_deployment_target.rb +432 -0
- package/ios/wrappers/NativeZixflow.mm +37 -0
- package/ios/wrappers/NativeZixflow.swift +135 -1
- package/ios/wrappers/ZixflowReactNativeDeepLinkRequestStore.swift +123 -0
- package/ios/wrappers/ZixflowReactNativeDeepLinkRouter.swift +312 -0
- package/ios/wrappers/geofence/NativeGeofence.mm +46 -0
- package/ios/wrappers/geofence/NativeGeofence.swift +27 -0
- package/ios/wrappers/inapp/NativeMessagingInApp.mm +22 -0
- package/ios/wrappers/inapp/NativeMessagingInApp.swift +90 -0
- package/ios/wrappers/inbox/InboxHostContainment.swift +40 -0
- package/ios/wrappers/inbox/RCTNotificationInboxBellNative.h +12 -0
- package/ios/wrappers/inbox/RCTNotificationInboxBellNative.mm +98 -0
- package/ios/wrappers/inbox/RCTNotificationInboxViewNative.h +12 -0
- package/ios/wrappers/inbox/RCTNotificationInboxViewNative.mm +78 -0
- package/ios/wrappers/inbox/ReactInboxEventListener.swift +76 -0
- package/ios/wrappers/inbox/ReactNotificationInboxBellView.h +22 -0
- package/ios/wrappers/inbox/ReactNotificationInboxBellView.swift +109 -0
- package/ios/wrappers/inbox/ReactNotificationInboxView.h +22 -0
- package/ios/wrappers/inbox/ReactNotificationInboxView.swift +69 -0
- package/ios/wrappers/liveactivities/NativeLiveActivities.mm +83 -0
- package/ios/wrappers/liveactivities/NativeLiveActivities.swift +390 -0
- package/ios/wrappers/location/NativeLocation.swift +7 -5
- package/ios/wrappers/utils/ZixflowConfigUtils.swift +5 -9
- package/ios/wrappers/utils/ZixflowConstants.swift +4 -0
- package/ios/wrappers/zixflow_reactnative.h +6 -0
- package/lib/commonjs/components/NotificationInboxBellView.js +49 -0
- package/lib/commonjs/components/NotificationInboxBellView.js.map +1 -0
- package/lib/commonjs/components/NotificationInboxView.js +36 -0
- package/lib/commonjs/components/NotificationInboxView.js.map +1 -0
- package/lib/commonjs/components/index.js +14 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/index.js +81 -4
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/notification-inbox.js +1 -0
- package/lib/commonjs/notification-inbox.js.map +1 -1
- package/lib/commonjs/specs/components/NotificationInboxBellNativeComponent.ts +24 -0
- package/lib/commonjs/specs/components/NotificationInboxViewNativeComponent.ts +22 -0
- package/lib/commonjs/specs/modules/NativeZixflow.js.map +1 -1
- package/lib/commonjs/specs/modules/NativeZixflowGeofence.js +15 -0
- package/lib/commonjs/specs/modules/NativeZixflowGeofence.js.map +1 -0
- package/lib/commonjs/specs/modules/NativeZixflowLiveActivities.js +23 -0
- package/lib/commonjs/specs/modules/NativeZixflowLiveActivities.js.map +1 -0
- package/lib/commonjs/specs/modules/NativeZixflowMessagingInApp.js +3 -1
- package/lib/commonjs/specs/modules/NativeZixflowMessagingInApp.js.map +1 -1
- package/lib/commonjs/specs/modules/NativeZixflowMessagingPush.js +3 -1
- package/lib/commonjs/specs/modules/NativeZixflowMessagingPush.js.map +1 -1
- package/lib/commonjs/types/data-pipelines.js +15 -15
- package/lib/commonjs/types/data-pipelines.js.map +1 -1
- package/lib/commonjs/types/in-app.js +24 -1
- package/lib/commonjs/types/in-app.js.map +1 -1
- package/lib/commonjs/types/inbox.js +79 -0
- package/lib/commonjs/types/inbox.js.map +1 -0
- package/lib/commonjs/types/index.js +22 -0
- package/lib/commonjs/types/index.js.map +1 -1
- package/lib/commonjs/types/live-activities.js +85 -0
- package/lib/commonjs/types/live-activities.js.map +1 -0
- package/lib/commonjs/utils/param-validation.js +77 -2
- package/lib/commonjs/utils/param-validation.js.map +1 -1
- package/lib/commonjs/zixflow-cdp.js +101 -11
- package/lib/commonjs/zixflow-cdp.js.map +1 -1
- package/lib/commonjs/zixflow-geofence.js +55 -0
- package/lib/commonjs/zixflow-geofence.js.map +1 -0
- package/lib/commonjs/zixflow-inapp.js +120 -0
- package/lib/commonjs/zixflow-inapp.js.map +1 -1
- package/lib/commonjs/zixflow-liveactivities.js +85 -0
- package/lib/commonjs/zixflow-liveactivities.js.map +1 -0
- package/lib/commonjs/zixflow.js.map +1 -1
- package/lib/module/components/NotificationInboxBellView.js +44 -0
- package/lib/module/components/NotificationInboxBellView.js.map +1 -0
- package/lib/module/components/NotificationInboxView.js +31 -0
- package/lib/module/components/NotificationInboxView.js.map +1 -0
- package/lib/module/components/index.js +5 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/index.js +8 -3
- package/lib/module/index.js.map +1 -1
- package/lib/module/notification-inbox.js +1 -1
- package/lib/module/notification-inbox.js.map +1 -1
- package/lib/module/specs/components/NotificationInboxBellNativeComponent.ts +24 -0
- package/lib/module/specs/components/NotificationInboxViewNativeComponent.ts +22 -0
- package/lib/module/specs/modules/NativeZixflow.js.map +1 -1
- package/lib/module/specs/modules/NativeZixflowGeofence.js +13 -0
- package/lib/module/specs/modules/NativeZixflowGeofence.js.map +1 -0
- package/lib/module/specs/modules/NativeZixflowLiveActivities.js +21 -0
- package/lib/module/specs/modules/NativeZixflowLiveActivities.js.map +1 -0
- package/lib/module/specs/modules/NativeZixflowMessagingInApp.js +3 -1
- package/lib/module/specs/modules/NativeZixflowMessagingInApp.js.map +1 -1
- package/lib/module/specs/modules/NativeZixflowMessagingPush.js +3 -1
- package/lib/module/specs/modules/NativeZixflowMessagingPush.js.map +1 -1
- package/lib/module/types/data-pipelines.js +15 -15
- package/lib/module/types/data-pipelines.js.map +1 -1
- package/lib/module/types/in-app.js +24 -0
- package/lib/module/types/in-app.js.map +1 -1
- package/lib/module/types/inbox.js +75 -0
- package/lib/module/types/inbox.js.map +1 -0
- package/lib/module/types/index.js +2 -0
- package/lib/module/types/index.js.map +1 -1
- package/lib/module/types/live-activities.js +88 -0
- package/lib/module/types/live-activities.js.map +1 -0
- package/lib/module/utils/param-validation.js +77 -2
- package/lib/module/utils/param-validation.js.map +1 -1
- package/lib/module/zixflow-cdp.js +101 -11
- package/lib/module/zixflow-cdp.js.map +1 -1
- package/lib/module/zixflow-geofence.js +50 -0
- package/lib/module/zixflow-geofence.js.map +1 -0
- package/lib/module/zixflow-inapp.js +99 -1
- package/lib/module/zixflow-inapp.js.map +1 -1
- package/lib/module/zixflow-liveactivities.js +80 -0
- package/lib/module/zixflow-liveactivities.js.map +1 -0
- package/lib/module/zixflow.js +0 -6
- package/lib/module/zixflow.js.map +1 -1
- package/lib/typescript/commonjs/components/NotificationInboxBellView.d.ts +39 -0
- package/lib/typescript/commonjs/components/NotificationInboxBellView.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/NotificationInboxView.d.ts +25 -0
- package/lib/typescript/commonjs/components/NotificationInboxView.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +8 -1
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/notification-inbox.d.ts +5 -0
- package/lib/typescript/commonjs/notification-inbox.d.ts.map +1 -1
- package/lib/typescript/commonjs/specs/components/NotificationInboxBellNativeComponent.d.ts +13 -0
- package/lib/typescript/commonjs/specs/components/NotificationInboxBellNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/specs/components/NotificationInboxViewNativeComponent.d.ts +12 -0
- package/lib/typescript/commonjs/specs/components/NotificationInboxViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/specs/modules/NativeZixflow.d.ts +6 -1
- package/lib/typescript/commonjs/specs/modules/NativeZixflow.d.ts.map +1 -1
- package/lib/typescript/commonjs/specs/modules/NativeZixflowGeofence.d.ts +13 -0
- package/lib/typescript/commonjs/specs/modules/NativeZixflowGeofence.d.ts.map +1 -0
- package/lib/typescript/commonjs/specs/modules/NativeZixflowLiveActivities.d.ts +31 -0
- package/lib/typescript/commonjs/specs/modules/NativeZixflowLiveActivities.d.ts.map +1 -0
- package/lib/typescript/commonjs/specs/modules/NativeZixflowMessagingInApp.d.ts +5 -1
- package/lib/typescript/commonjs/specs/modules/NativeZixflowMessagingInApp.d.ts.map +1 -1
- package/lib/typescript/commonjs/specs/modules/NativeZixflowMessagingPush.d.ts +1 -1
- package/lib/typescript/commonjs/specs/modules/NativeZixflowMessagingPush.d.ts.map +1 -1
- package/lib/typescript/commonjs/types/data-pipelines.d.ts +54 -18
- package/lib/typescript/commonjs/types/data-pipelines.d.ts.map +1 -1
- package/lib/typescript/commonjs/types/in-app.d.ts +22 -0
- package/lib/typescript/commonjs/types/in-app.d.ts.map +1 -1
- package/lib/typescript/commonjs/types/inbox.d.ts +97 -0
- package/lib/typescript/commonjs/types/inbox.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/index.d.ts +2 -0
- package/lib/typescript/commonjs/types/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/types/live-activities.d.ts +161 -0
- package/lib/typescript/commonjs/types/live-activities.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/param-validation.d.ts +7 -0
- package/lib/typescript/commonjs/utils/param-validation.d.ts.map +1 -1
- package/lib/typescript/commonjs/zixflow-cdp.d.ts +38 -0
- package/lib/typescript/commonjs/zixflow-cdp.d.ts.map +1 -1
- package/lib/typescript/commonjs/zixflow-geofence.d.ts +36 -0
- package/lib/typescript/commonjs/zixflow-geofence.d.ts.map +1 -0
- package/lib/typescript/commonjs/zixflow-inapp.d.ts +36 -2
- package/lib/typescript/commonjs/zixflow-inapp.d.ts.map +1 -1
- package/lib/typescript/commonjs/zixflow-liveactivities.d.ts +66 -0
- package/lib/typescript/commonjs/zixflow-liveactivities.d.ts.map +1 -0
- package/lib/typescript/commonjs/zixflow.d.ts +0 -5
- package/lib/typescript/commonjs/zixflow.d.ts.map +1 -1
- package/lib/typescript/module/components/NotificationInboxBellView.d.ts +39 -0
- package/lib/typescript/module/components/NotificationInboxBellView.d.ts.map +1 -0
- package/lib/typescript/module/components/NotificationInboxView.d.ts +25 -0
- package/lib/typescript/module/components/NotificationInboxView.d.ts.map +1 -0
- package/lib/typescript/module/components/index.d.ts +4 -0
- package/lib/typescript/module/components/index.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +8 -1
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/notification-inbox.d.ts +5 -0
- package/lib/typescript/module/notification-inbox.d.ts.map +1 -1
- package/lib/typescript/module/specs/components/NotificationInboxBellNativeComponent.d.ts +13 -0
- package/lib/typescript/module/specs/components/NotificationInboxBellNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/specs/components/NotificationInboxViewNativeComponent.d.ts +12 -0
- package/lib/typescript/module/specs/components/NotificationInboxViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/specs/modules/NativeZixflow.d.ts +6 -1
- package/lib/typescript/module/specs/modules/NativeZixflow.d.ts.map +1 -1
- package/lib/typescript/module/specs/modules/NativeZixflowGeofence.d.ts +13 -0
- package/lib/typescript/module/specs/modules/NativeZixflowGeofence.d.ts.map +1 -0
- package/lib/typescript/module/specs/modules/NativeZixflowLiveActivities.d.ts +31 -0
- package/lib/typescript/module/specs/modules/NativeZixflowLiveActivities.d.ts.map +1 -0
- package/lib/typescript/module/specs/modules/NativeZixflowMessagingInApp.d.ts +5 -1
- package/lib/typescript/module/specs/modules/NativeZixflowMessagingInApp.d.ts.map +1 -1
- package/lib/typescript/module/specs/modules/NativeZixflowMessagingPush.d.ts +1 -1
- package/lib/typescript/module/specs/modules/NativeZixflowMessagingPush.d.ts.map +1 -1
- package/lib/typescript/module/types/data-pipelines.d.ts +54 -18
- package/lib/typescript/module/types/data-pipelines.d.ts.map +1 -1
- package/lib/typescript/module/types/in-app.d.ts +22 -0
- package/lib/typescript/module/types/in-app.d.ts.map +1 -1
- package/lib/typescript/module/types/inbox.d.ts +97 -0
- package/lib/typescript/module/types/inbox.d.ts.map +1 -0
- package/lib/typescript/module/types/index.d.ts +2 -0
- package/lib/typescript/module/types/index.d.ts.map +1 -1
- package/lib/typescript/module/types/live-activities.d.ts +161 -0
- package/lib/typescript/module/types/live-activities.d.ts.map +1 -0
- package/lib/typescript/module/utils/param-validation.d.ts +7 -0
- package/lib/typescript/module/utils/param-validation.d.ts.map +1 -1
- package/lib/typescript/module/zixflow-cdp.d.ts +38 -0
- package/lib/typescript/module/zixflow-cdp.d.ts.map +1 -1
- package/lib/typescript/module/zixflow-geofence.d.ts +36 -0
- package/lib/typescript/module/zixflow-geofence.d.ts.map +1 -0
- package/lib/typescript/module/zixflow-inapp.d.ts +36 -2
- package/lib/typescript/module/zixflow-inapp.d.ts.map +1 -1
- package/lib/typescript/module/zixflow-liveactivities.d.ts +66 -0
- package/lib/typescript/module/zixflow-liveactivities.d.ts.map +1 -0
- package/lib/typescript/module/zixflow.d.ts +0 -5
- package/lib/typescript/module/zixflow.d.ts.map +1 -1
- package/package.json +14 -5
- package/src/components/NotificationInboxBellView.tsx +55 -0
- package/src/components/NotificationInboxView.tsx +30 -0
- package/src/components/index.ts +6 -0
- package/src/index.ts +8 -3
- package/src/notification-inbox.ts +1 -1
- package/src/specs/components/NotificationInboxBellNativeComponent.ts +24 -0
- package/src/specs/components/NotificationInboxViewNativeComponent.ts +22 -0
- package/src/specs/modules/NativeZixflow.ts +9 -1
- package/src/specs/modules/NativeZixflowGeofence.ts +14 -0
- package/src/specs/modules/NativeZixflowLiveActivities.ts +39 -0
- package/src/specs/modules/NativeZixflowMessagingInApp.ts +12 -1
- package/src/specs/modules/NativeZixflowMessagingPush.ts +3 -1
- package/src/types/data-pipelines.ts +55 -19
- package/src/types/in-app.ts +23 -0
- package/src/types/inbox.ts +110 -0
- package/src/types/index.ts +2 -0
- package/src/types/live-activities.ts +170 -0
- package/src/utils/param-validation.ts +104 -1
- package/src/zixflow-cdp.ts +119 -13
- package/src/zixflow-geofence.ts +56 -0
- package/src/zixflow-inapp.ts +125 -2
- package/src/zixflow-liveactivities.ts +86 -0
- package/src/zixflow.ts +0 -6
- package/zixflow-reactnative-richpush.podspec +6 -3
- package/zixflow-reactnative.podspec +28 -2
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type NativeProps } from '../specs/components/NotificationInboxViewNativeComponent';
|
|
3
|
+
/**
|
|
4
|
+
* Props for the {@link NotificationInboxView} component.
|
|
5
|
+
*/
|
|
6
|
+
/** @public */
|
|
7
|
+
export interface NotificationInboxViewProps extends NativeProps {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* The Visual Notification Inbox message list — the Jist-rendered messages —
|
|
11
|
+
* embeddable directly in your own screen. It fills the area you give it via
|
|
12
|
+
* `style` and brings no surrounding chrome (no bell, no scrim).
|
|
13
|
+
*
|
|
14
|
+
* Message actions are handled by the existing global InboxEventListener, so this
|
|
15
|
+
* component takes no per-message action callback.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```tsx
|
|
19
|
+
* <NotificationInboxView style={{ flex: 1 }} />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
/** @public */
|
|
23
|
+
declare const NotificationInboxView: React.FC<NotificationInboxViewProps>;
|
|
24
|
+
export default NotificationInboxView;
|
|
25
|
+
//# sourceMappingURL=NotificationInboxView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationInboxView.d.ts","sourceRoot":"","sources":["../../../../src/components/NotificationInboxView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAA6C,EAC3C,KAAK,WAAW,EACjB,MAAM,0DAA0D,CAAC;AAElE;;GAEG;AACH,cAAc;AACd,MAAM,WAAW,0BAA2B,SAAQ,WAAW;CAAG;AAElE;;;;;;;;;;;;GAYG;AACH,cAAc;AACd,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAE/D,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
export type { InlineInAppMessageViewProps } from './InlineInAppMessageView';
|
|
2
2
|
export { default as InlineInAppMessageView } from './InlineInAppMessageView';
|
|
3
|
+
export type { NotificationInboxBellViewProps } from './NotificationInboxBellView';
|
|
4
|
+
export { default as NotificationInboxBellView } from './NotificationInboxBellView';
|
|
5
|
+
export type { NotificationInboxViewProps } from './NotificationInboxView';
|
|
6
|
+
export { default as NotificationInboxView } from './NotificationInboxView';
|
|
3
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAG7E,YAAY,EAAE,8BAA8B,EAAE,MAAM,6BAA6B,CAAC;AAClF,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACnF,YAAY,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -4,5 +4,12 @@
|
|
|
4
4
|
* Zixflow React Native SDK - A powerful SDK for building
|
|
5
5
|
* customer engagement features in React Native applications.
|
|
6
6
|
*/
|
|
7
|
-
export * from './zixflow';
|
|
7
|
+
export * from './zixflow-cdp';
|
|
8
|
+
export * from './zixflow-geofence';
|
|
9
|
+
export * from './zixflow-inapp';
|
|
10
|
+
export * from './zixflow-liveactivities';
|
|
11
|
+
export * from './zixflow-location';
|
|
12
|
+
export * from './zixflow-push';
|
|
13
|
+
export * from './components';
|
|
14
|
+
export * from './types';
|
|
8
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
|
|
@@ -21,6 +21,11 @@ interface NotificationInboxPublicSpec {
|
|
|
21
21
|
* @internal
|
|
22
22
|
*/
|
|
23
23
|
export type NotificationInboxSpec = keyof NotificationInboxPublicSpec | 'subscribeToMessagesChanged' | 'setupInboxListener';
|
|
24
|
+
/**
|
|
25
|
+
* Helper function to parse raw inbox message from native layer
|
|
26
|
+
* @internal
|
|
27
|
+
*/
|
|
28
|
+
export declare function parseInboxMessage(raw: any): InboxMessage;
|
|
24
29
|
/**
|
|
25
30
|
* Manages inbox messages for the current user.
|
|
26
31
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification-inbox.d.ts","sourceRoot":"","sources":["../../../src/notification-inbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAItD,OAAO,KAAK,EAAE,YAAY,EAAE,+BAA+B,EAAE,MAAM,SAAS,CAAC;AAW7E;;;;;GAKG;AACH,UAAU,2BAA2B;IACnC,WAAW,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC;IACrD,mBAAmB,CACjB,QAAQ,EAAE,+BAA+B,EACzC,KAAK,CAAC,EAAE,MAAM,GACb,iBAAiB,CAAC;IACrB,iBAAiB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;IAC/C,mBAAmB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;IACjD,kBAAkB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;IAChD,mBAAmB,CAAC,OAAO,EAAE,YAAY,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvE;AAED;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,GAC7B,MAAM,2BAA2B,GACjC,4BAA4B,GAC5B,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"notification-inbox.d.ts","sourceRoot":"","sources":["../../../src/notification-inbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAItD,OAAO,KAAK,EAAE,YAAY,EAAE,+BAA+B,EAAE,MAAM,SAAS,CAAC;AAW7E;;;;;GAKG;AACH,UAAU,2BAA2B;IACnC,WAAW,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC;IACrD,mBAAmB,CACjB,QAAQ,EAAE,+BAA+B,EACzC,KAAK,CAAC,EAAE,MAAM,GACb,iBAAiB,CAAC;IACrB,iBAAiB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;IAC/C,mBAAmB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;IACjD,kBAAkB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;IAChD,mBAAmB,CAAC,OAAO,EAAE,YAAY,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvE;AAED;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,GAC7B,MAAM,2BAA2B,GACjC,4BAA4B,GAC5B,oBAAoB,CAAC;AAEzB;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,GAAG,GAAG,YAAY,CAYxD;AAED;;;;GAIG;AACH,qBAAa,iBAAkB,YAAW,2BAA2B;IACnE;;OAEG;IACG,WAAW,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC;IAO1D;;;OAGG;IACH,mBAAmB,CACjB,QAAQ,EAAE,+BAA+B,EACzC,KAAK,CAAC,EAAE,MAAM,GACb,iBAAiB;IAuCpB;;OAEG;IACH,iBAAiB,CAAC,OAAO,EAAE,YAAY;IAIvC;;OAEG;IACH,mBAAmB,CAAC,OAAO,EAAE,YAAY;IAIzC;;OAEG;IACH,kBAAkB,CAAC,OAAO,EAAE,YAAY;IAIxC;;OAEG;IACH,mBAAmB,CAAC,OAAO,EAAE,YAAY,EAAE,UAAU,CAAC,EAAE,MAAM;CAK/D"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { HostComponent, ViewProps } from 'react-native';
|
|
2
|
+
import type { DirectEventHandler } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
|
+
/** Event data for inbox bell taps. Carries no payload; presence indicates a tap. */
|
|
4
|
+
export interface BellTapEvent {
|
|
5
|
+
}
|
|
6
|
+
/** Props for the native NotificationInboxBell component. */
|
|
7
|
+
export interface NativeProps extends ViewProps {
|
|
8
|
+
/** Fired when the user taps the bell. Host should present its own inbox UI. */
|
|
9
|
+
onTap?: DirectEventHandler<BellTapEvent>;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: HostComponent<NativeProps>;
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=NotificationInboxBellNativeComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationInboxBellNativeComponent.d.ts","sourceRoot":"","sources":["../../../../../src/specs/components/NotificationInboxBellNativeComponent.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAGpF,oFAAoF;AACpF,MAAM,WAAW,YAAY;CAAG;AAEhC,4DAA4D;AAC5D,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,+EAA+E;IAC/E,KAAK,CAAC,EAAE,kBAAkB,CAAC,YAAY,CAAC,CAAC;CAC1C;wBAMI,aAAa,CAAC,WAAW,CAAC;AAF/B,wBAEgC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { HostComponent, ViewProps } from 'react-native';
|
|
2
|
+
/**
|
|
3
|
+
* Props for the native NotificationInboxView component (the Jist-rendered message list).
|
|
4
|
+
* No required props; the host controls sizing via standard ViewProps style.
|
|
5
|
+
* Message actions are handled by the existing global InboxEventListener, so this
|
|
6
|
+
* component needs no per-component action callback.
|
|
7
|
+
*/
|
|
8
|
+
export interface NativeProps extends ViewProps {
|
|
9
|
+
}
|
|
10
|
+
declare const _default: HostComponent<NativeProps>;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=NotificationInboxViewNativeComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationInboxViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../../src/specs/components/NotificationInboxViewNativeComponent.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI7D;;;;;GAKG;AACH,MAAM,WAAW,WAAY,SAAQ,SAAS;CAAG;wBAM5C,aAAa,CAAC,WAAW,CAAC;AAF/B,wBAEgC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type TurboModule } from 'react-native';
|
|
2
|
-
import type { UnsafeObject } from 'react-native/Libraries/Types/CodegenTypes';
|
|
2
|
+
import type { EventEmitter, UnsafeObject } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
3
|
/**
|
|
4
4
|
* Native module specification for Zixflow React Native SDK
|
|
5
5
|
*
|
|
@@ -31,6 +31,11 @@ type NativeBridgeObject = UnsafeObject;
|
|
|
31
31
|
*/
|
|
32
32
|
export interface Spec extends TurboModule {
|
|
33
33
|
initialize(config: NativeBridgeObject, args: NativeBridgeObject): Promise<void>;
|
|
34
|
+
setDeepLinkRoutingReady(): void;
|
|
35
|
+
readonly onDeepLinkReceived: EventEmitter<UnsafeObject>;
|
|
36
|
+
registerDeepLinkHandler(): void;
|
|
37
|
+
unregisterDeepLinkHandler(): void;
|
|
38
|
+
acknowledgeDeepLink(id: string, handled: boolean): void;
|
|
34
39
|
identify(params?: NativeBridgeObject): void;
|
|
35
40
|
clearIdentify(): void;
|
|
36
41
|
track(name: string, properties?: NativeBridgeObject): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeZixflow.d.ts","sourceRoot":"","sources":["../../../../../src/specs/modules/NativeZixflow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"NativeZixflow.d.ts","sourceRoot":"","sources":["../../../../../src/specs/modules/NativeZixflow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACb,MAAM,2CAA2C,CAAC;AAEnD;;;;;;;;;;;;;GAaG;AAEH;;;;;;;;;GASG;AACH,KAAK,kBAAkB,GAAG,YAAY,CAAC;AAMvC;;;GAGG;AACH,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,UAAU,CACR,MAAM,EAAE,kBAAkB,EAC1B,IAAI,EAAE,kBAAkB,GACvB,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB,uBAAuB,IAAI,IAAI,CAAC;IAChC,QAAQ,CAAC,kBAAkB,EAAE,YAAY,CAAC,YAAY,CAAC,CAAC;IACxD,uBAAuB,IAAI,IAAI,CAAC;IAChC,yBAAyB,IAAI,IAAI,CAAC;IAClC,mBAAmB,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IACxD,QAAQ,CAAC,MAAM,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC5C,aAAa,IAAI,IAAI,CAAC;IACtB,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC3D,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC7D,oBAAoB,CAAC,UAAU,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC3D,mBAAmB,CAAC,UAAU,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC1D,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,WAAW,CAAC,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1E,iBAAiB,IAAI,IAAI,CAAC;CAC3B;;AAED,wBAAuE"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type TurboModule } from 'react-native';
|
|
2
|
+
/**
|
|
3
|
+
* Native module specification for Zixflow Geofence React Native SDK
|
|
4
|
+
*
|
|
5
|
+
* @see NativeZixflow.ts for detailed documentation on TurboModule patterns,
|
|
6
|
+
* Codegen compatibility, and type safety approach.
|
|
7
|
+
*/
|
|
8
|
+
export interface Spec extends TurboModule {
|
|
9
|
+
refreshFromCurrentLocation(): void;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: Spec | null;
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=NativeZixflowGeofence.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NativeZixflowGeofence.d.ts","sourceRoot":"","sources":["../../../../../src/specs/modules/NativeZixflowGeofence.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAErE;;;;;GAKG;AAEH,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,0BAA0B,IAAI,IAAI,CAAC;CACpC;;AAED,wBAAsE"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type TurboModule } from 'react-native';
|
|
2
|
+
import type { UnsafeObject } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
|
+
/**
|
|
4
|
+
* Native module specification for Zixflow Live Activities React Native SDK
|
|
5
|
+
*
|
|
6
|
+
* Live Activities (iOS) / Live Notifications (Android) let you show a live,
|
|
7
|
+
* updating notification driven by a built-in template (Segments, Countdown Timer)
|
|
8
|
+
* or by a custom type you render yourself.
|
|
9
|
+
*
|
|
10
|
+
* @see NativeZixflow.ts for detailed documentation on TurboModule patterns,
|
|
11
|
+
* Codegen compatibility, and type safety approach.
|
|
12
|
+
*/
|
|
13
|
+
type NativeBridgeObject = UnsafeObject;
|
|
14
|
+
export interface Spec extends TurboModule {
|
|
15
|
+
/** Report a Live Activity open and return the destination URL to route. */
|
|
16
|
+
handleWidgetUrl(url: string): Promise<string | null>;
|
|
17
|
+
/** Start an activity. Resolves with the SDK-minted activity id. */
|
|
18
|
+
start(payload: NativeBridgeObject): Promise<string>;
|
|
19
|
+
/** Replace the whole content-state of a running activity. Pass the full desired state. */
|
|
20
|
+
update(activityId: string, payload: NativeBridgeObject): Promise<void>;
|
|
21
|
+
/**
|
|
22
|
+
* End a running activity, optionally rendering a final content-state.
|
|
23
|
+
*
|
|
24
|
+
* `payload` is iOS-only: ActivityKit keeps the last content-state on screen unless a final one
|
|
25
|
+
* is supplied. Android renders its own terminal state, so it ignores the payload.
|
|
26
|
+
*/
|
|
27
|
+
end(activityId: string, payload?: NativeBridgeObject): Promise<void>;
|
|
28
|
+
}
|
|
29
|
+
declare const _default: Spec;
|
|
30
|
+
export default _default;
|
|
31
|
+
//# sourceMappingURL=NativeZixflowLiveActivities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NativeZixflowLiveActivities.d.ts","sourceRoot":"","sources":["../../../../../src/specs/modules/NativeZixflowLiveActivities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAE9E;;;;;;;;;GASG;AAEH,KAAK,kBAAkB,GAAG,YAAY,CAAC;AAEvC,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,2EAA2E;IAC3E,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACrD,mEAAmE;IACnE,KAAK,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IACpD,0FAA0F;IAC1F,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACvE;;;;;OAKG;IACH,GAAG,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACtE;;AAMD,wBAEE"}
|
|
@@ -9,7 +9,11 @@ import type { EventEmitter, UnsafeObject } from 'react-native/Libraries/Types/Co
|
|
|
9
9
|
/** TurboModule interface for Zixflow In-App Messaging native operations */
|
|
10
10
|
export interface Spec extends TurboModule {
|
|
11
11
|
dismissMessage(): void;
|
|
12
|
+
setColorScheme(colorScheme: string): void;
|
|
12
13
|
readonly onInAppEventReceived: EventEmitter<UnsafeObject>;
|
|
14
|
+
registerInboxEventListener(): void;
|
|
15
|
+
unregisterInboxEventListener(): void;
|
|
16
|
+
readonly onInboxEventReceived: EventEmitter<UnsafeObject>;
|
|
13
17
|
setupInboxListener(): void;
|
|
14
18
|
readonly subscribeToMessagesChanged: EventEmitter<UnsafeObject>;
|
|
15
19
|
getMessages(topic?: string): Promise<UnsafeObject[]>;
|
|
@@ -18,6 +22,6 @@ export interface Spec extends TurboModule {
|
|
|
18
22
|
markMessageDeleted(message: UnsafeObject): void;
|
|
19
23
|
trackMessageClicked(message: UnsafeObject, actionName?: string): void;
|
|
20
24
|
}
|
|
21
|
-
declare const _default: Spec
|
|
25
|
+
declare const _default: Spec;
|
|
22
26
|
export default _default;
|
|
23
27
|
//# sourceMappingURL=NativeZixflowMessagingInApp.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeZixflowMessagingInApp.d.ts","sourceRoot":"","sources":["../../../../../src/specs/modules/NativeZixflowMessagingInApp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACb,MAAM,2CAA2C,CAAC;AAEnD;;;;;GAKG;AAEH,2EAA2E;AAC3E,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,cAAc,IAAI,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"NativeZixflowMessagingInApp.d.ts","sourceRoot":"","sources":["../../../../../src/specs/modules/NativeZixflowMessagingInApp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACb,MAAM,2CAA2C,CAAC;AAEnD;;;;;GAKG;AAEH,2EAA2E;AAC3E,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,cAAc,IAAI,IAAI,CAAC;IAEvB,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,QAAQ,CAAC,oBAAoB,EAAE,YAAY,CAAC,YAAY,CAAC,CAAC;IAK1D,0BAA0B,IAAI,IAAI,CAAC;IACnC,4BAA4B,IAAI,IAAI,CAAC;IACrC,QAAQ,CAAC,oBAAoB,EAAE,YAAY,CAAC,YAAY,CAAC,CAAC;IAE1D,kBAAkB,IAAI,IAAI,CAAC;IAC3B,QAAQ,CAAC,0BAA0B,EAAE,YAAY,CAAC,YAAY,CAAC,CAAC;IAChE,WAAW,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC;IACrD,iBAAiB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;IAC/C,mBAAmB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;IACjD,kBAAkB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;IAChD,mBAAmB,CAAC,OAAO,EAAE,YAAY,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvE;;AAID,wBAEE"}
|
|
@@ -15,6 +15,6 @@ export interface Spec extends TurboModule {
|
|
|
15
15
|
showPromptForPushNotifications(options: NativeBridgeObject): Promise<string>;
|
|
16
16
|
getPushPermissionStatus(): Promise<string>;
|
|
17
17
|
}
|
|
18
|
-
declare const _default: Spec
|
|
18
|
+
declare const _default: Spec;
|
|
19
19
|
export default _default;
|
|
20
20
|
//# sourceMappingURL=NativeZixflowMessagingPush.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeZixflowMessagingPush.d.ts","sourceRoot":"","sources":["../../../../../src/specs/modules/NativeZixflowMessagingPush.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAE9E;;;;;GAKG;AAEH,KAAK,kBAAkB,GAAG,YAAY,CAAC;AAEvC,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,iBAAiB,CACf,OAAO,EAAE,kBAAkB,EAC3B,yBAAyB,EAAE,OAAO,GACjC,OAAO,CAAC,OAAO,CAAC,CAAC;IACpB,iCAAiC,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI,CAAC;IACrE,yBAAyB,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC7D,wBAAwB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAC5C,8BAA8B,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAC7E,uBAAuB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;CAC5C;;
|
|
1
|
+
{"version":3,"file":"NativeZixflowMessagingPush.d.ts","sourceRoot":"","sources":["../../../../../src/specs/modules/NativeZixflowMessagingPush.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAE9E;;;;;GAKG;AAEH,KAAK,kBAAkB,GAAG,YAAY,CAAC;AAEvC,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,iBAAiB,CACf,OAAO,EAAE,kBAAkB,EAC3B,yBAAyB,EAAE,OAAO,GACjC,OAAO,CAAC,OAAO,CAAC,CAAC;IACpB,iCAAiC,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI,CAAC;IACrE,yBAAyB,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC7D,wBAAwB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAC5C,8BAA8B,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAC7E,uBAAuB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;CAC5C;;AAID,wBAEE"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import type { ZixflowColorScheme } from './in-app';
|
|
2
|
+
import type { NotificationInboxAccessibilityLabels } from './inbox';
|
|
3
|
+
import type { LiveActivitiesConfig } from './live-activities';
|
|
1
4
|
import type { PushClickBehaviorAndroid } from './push';
|
|
2
5
|
/**
|
|
3
6
|
* Key-value pairs for custom user attributes and event properties.
|
|
@@ -33,11 +36,9 @@ export interface IdentifyParams {
|
|
|
33
36
|
/**
|
|
34
37
|
* Configuration options for initializing the Zixflow SDK.
|
|
35
38
|
*
|
|
36
|
-
* @param
|
|
37
|
-
* @param migrationSiteId - Legacy site ID for migrating from tracking API
|
|
38
|
-
* @param region - Data center region (US or EU)
|
|
39
|
+
* @param apiKey - API key from Zixflow dashboard
|
|
39
40
|
* @param logLevel - SDK logging verbosity level
|
|
40
|
-
* @param apiHost - Override the
|
|
41
|
+
* @param apiHost - Override the API host. Use to route SDK traffic through a first-party proxy.
|
|
41
42
|
* @param cdnHost - Override the CDN host. Use to route SDK traffic through a first-party proxy.
|
|
42
43
|
* @param flushAt - Number of events to batch before sending
|
|
43
44
|
* @param flushInterval - Time interval (seconds) to flush events
|
|
@@ -50,9 +51,7 @@ export interface IdentifyParams {
|
|
|
50
51
|
* @public
|
|
51
52
|
*/
|
|
52
53
|
export type ZixflowConfig = {
|
|
53
|
-
|
|
54
|
-
migrationSiteId?: string;
|
|
55
|
-
region?: ZixflowRegion;
|
|
54
|
+
apiKey: string;
|
|
56
55
|
logLevel?: ZixflowLogLevel;
|
|
57
56
|
apiHost?: string;
|
|
58
57
|
cdnHost?: string;
|
|
@@ -62,7 +61,19 @@ export type ZixflowConfig = {
|
|
|
62
61
|
trackApplicationLifecycleEvents?: boolean;
|
|
63
62
|
autoTrackDeviceAttributes?: boolean;
|
|
64
63
|
inApp?: {
|
|
65
|
-
|
|
64
|
+
/**
|
|
65
|
+
* Color scheme used to render in-app messages. Defaults to `ZixflowColorScheme.Auto`, which
|
|
66
|
+
* follows the device appearance. Set it when the app has its own appearance setting that
|
|
67
|
+
* can disagree with the operating system.
|
|
68
|
+
*
|
|
69
|
+
* Can be changed after initialization with `Zixflow.inAppMessaging.setColorScheme`.
|
|
70
|
+
*/
|
|
71
|
+
colorScheme?: ZixflowColorScheme;
|
|
72
|
+
/**
|
|
73
|
+
* Accessibility labels for the Visual Notification Inbox. Optional; an omitted label leaves
|
|
74
|
+
* that element unlabeled rather than falling back to English.
|
|
75
|
+
*/
|
|
76
|
+
notificationInboxAccessibilityLabels?: NotificationInboxAccessibilityLabels;
|
|
66
77
|
};
|
|
67
78
|
push?: {
|
|
68
79
|
android?: {
|
|
@@ -70,9 +81,32 @@ export type ZixflowConfig = {
|
|
|
70
81
|
};
|
|
71
82
|
};
|
|
72
83
|
location?: {
|
|
73
|
-
/** Location tracking mode. Defaults to 'manual' if location config is provided. */
|
|
74
84
|
trackingMode?: ZixflowLocationTrackingMode;
|
|
75
85
|
};
|
|
86
|
+
/**
|
|
87
|
+
* Geofence configuration. Providing this opts the app into geofence monitoring,
|
|
88
|
+
* which runs automatically once enabled. Enabling geofence also enables the
|
|
89
|
+
* Location module, which geofence depends on.
|
|
90
|
+
*/
|
|
91
|
+
geofence?: {
|
|
92
|
+
/**
|
|
93
|
+
* How the SDK acquires location fixes for geofence monitoring. Defaults to
|
|
94
|
+
* `AUTOMATIC` (the SDK acquires location itself on identify and app launch). Use
|
|
95
|
+
* `MANUAL` to drive refreshes yourself via
|
|
96
|
+
* `Zixflow.geofence.refreshFromCurrentLocation()`.
|
|
97
|
+
*/
|
|
98
|
+
locationMode?: ZixflowGeofenceLocationMode;
|
|
99
|
+
};
|
|
100
|
+
/** iOS-only SDK configuration. Has no effect on Android. */
|
|
101
|
+
ios?: {
|
|
102
|
+
/**
|
|
103
|
+
* Whether geofence transitions are delivered in real time on a background cold-wake.
|
|
104
|
+
* When unset, defaults to on if the geofence module is enabled, off otherwise.
|
|
105
|
+
*/
|
|
106
|
+
allowBackgroundDelivery?: boolean;
|
|
107
|
+
};
|
|
108
|
+
/** Live Activities (iOS) / Live Notifications (Android) configuration. */
|
|
109
|
+
liveNotifications?: LiveActivitiesConfig;
|
|
76
110
|
};
|
|
77
111
|
/**
|
|
78
112
|
* Log levels for Zixflow SDK debugging and monitoring.
|
|
@@ -91,15 +125,6 @@ export declare enum ZixflowLogLevel {
|
|
|
91
125
|
/** All messages including debug information */
|
|
92
126
|
Debug = "debug"
|
|
93
127
|
}
|
|
94
|
-
/**
|
|
95
|
-
* Data center regions for Zixflow API endpoints.
|
|
96
|
-
*
|
|
97
|
-
* @public
|
|
98
|
-
*/
|
|
99
|
-
export declare enum ZixflowRegion {
|
|
100
|
-
US = "US",
|
|
101
|
-
EU = "EU"
|
|
102
|
-
}
|
|
103
128
|
/**
|
|
104
129
|
* Screen view tracking behavior configuration.
|
|
105
130
|
*
|
|
@@ -127,6 +152,17 @@ export declare enum ZixflowLocationTrackingMode {
|
|
|
127
152
|
/** SDK auto-captures location once per app launch when the app becomes active. */
|
|
128
153
|
OnAppStart = "ON_APP_START"
|
|
129
154
|
}
|
|
155
|
+
/**
|
|
156
|
+
* How the Geofence module acquires location fixes.
|
|
157
|
+
*
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
export declare enum ZixflowGeofenceLocationMode {
|
|
161
|
+
/** SDK acquires location itself (on identify and app launch). Default. */
|
|
162
|
+
Automatic = "AUTOMATIC",
|
|
163
|
+
/** Host drives refreshes via `Zixflow.geofence.refreshFromCurrentLocation()`. */
|
|
164
|
+
Manual = "MANUAL"
|
|
165
|
+
}
|
|
130
166
|
/**
|
|
131
167
|
* Enum to specify the type of metric for tracking
|
|
132
168
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-pipelines.d.ts","sourceRoot":"","sources":["../../../../src/types/data-pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,QAAQ,CAAC;AAEvD;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAEnD;;;;;;;GAOG;AACH,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,gBAAgB,CAAC;CAC3B;AAED
|
|
1
|
+
{"version":3,"file":"data-pipelines.d.ts","sourceRoot":"","sources":["../../../../src/types/data-pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,SAAS,CAAC;AACpE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,QAAQ,CAAC;AAEvD;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAEnD;;;;;;;GAOG;AACH,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,gBAAgB,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,UAAU,CAAC;IAC3B,+BAA+B,CAAC,EAAE,OAAO,CAAC;IAC1C,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,KAAK,CAAC,EAAE;QACN;;;;;;WAMG;QACH,WAAW,CAAC,EAAE,kBAAkB,CAAC;QACjC;;;WAGG;QACH,oCAAoC,CAAC,EAAE,oCAAoC,CAAC;KAC7E,CAAC;IACF,IAAI,CAAC,EAAE;QACL,OAAO,CAAC,EAAE;YACR,iBAAiB,CAAC,EAAE,wBAAwB,CAAC;SAC9C,CAAC;KACH,CAAC;IACF,QAAQ,CAAC,EAAE;QACT,YAAY,CAAC,EAAE,2BAA2B,CAAC;KAC5C,CAAC;IACF;;;;OAIG;IACH,QAAQ,CAAC,EAAE;QACT;;;;;WAKG;QACH,YAAY,CAAC,EAAE,2BAA2B,CAAC;KAC5C,CAAC;IACF,4DAA4D;IAC5D,GAAG,CAAC,EAAE;QACJ;;;WAGG;QACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;KACnC,CAAC;IACF,0EAA0E;IAC1E,iBAAiB,CAAC,EAAE,oBAAoB,CAAC;CAC1C,CAAC;AAEF;;;;;;GAMG;AACH,oBAAY,eAAe;IACzB,wBAAwB;IACxB,IAAI,SAAS;IACb,0BAA0B;IAC1B,KAAK,UAAU;IACf,uCAAuC;IACvC,IAAI,SAAS;IACb,+CAA+C;IAC/C,KAAK,UAAU;CAChB;AAED;;;;;;;GAOG;AACH,oBAAY,UAAU;IACpB,qEAAqE;IACrE,GAAG,QAAQ;IACX,+DAA+D;IAC/D,KAAK,UAAU;CAChB;AAED;;;;GAIG;AACH,oBAAY,2BAA2B;IACrC,oEAAoE;IACpE,GAAG,QAAQ;IACX,8FAA8F;IAC9F,MAAM,WAAW;IACjB,kFAAkF;IAClF,UAAU,iBAAiB;CAC5B;AAED;;;;GAIG;AACH,oBAAY,2BAA2B;IACrC,0EAA0E;IAC1E,SAAS,cAAc;IACvB,iFAAiF;IACjF,MAAM,WAAW;CAClB;AAED;;;;GAIG;AACH,oBAAY,WAAW;IACrB,oDAAoD;IACpD,SAAS,cAAc;IACvB,+CAA+C;IAC/C,MAAM,WAAW;IACjB,iDAAiD;IACjD,SAAS,cAAc;CACxB"}
|
|
@@ -25,6 +25,28 @@ export declare enum InAppMessageEventType {
|
|
|
25
25
|
messageDismissed = "messageDismissed",
|
|
26
26
|
messageShown = "messageShown"
|
|
27
27
|
}
|
|
28
|
+
/**
|
|
29
|
+
* Color scheme used to render in-app messages.
|
|
30
|
+
*
|
|
31
|
+
* Selects which of the light/dark variants authored in the Zixflow editor is
|
|
32
|
+
* rendered. Use it when the app has its own appearance setting that can disagree with
|
|
33
|
+
* the operating system: `Auto` follows the device, while `Light` and `Dark` pin the
|
|
34
|
+
* variant regardless of it.
|
|
35
|
+
*
|
|
36
|
+
* The string values are the wire contract shared with both native SDKs, which match
|
|
37
|
+
* them lowercase and resolve anything unrecognized to `auto` — so they must stay
|
|
38
|
+
* exactly as written here even if the members are renamed.
|
|
39
|
+
*
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
export declare enum ZixflowColorScheme {
|
|
43
|
+
/** Follow the device's current appearance. The default when unset. */
|
|
44
|
+
Auto = "auto",
|
|
45
|
+
/** Always render the light variant, whatever the device is set to. */
|
|
46
|
+
Light = "light",
|
|
47
|
+
/** Always render the dark variant, whatever the device is set to. */
|
|
48
|
+
Dark = "dark"
|
|
49
|
+
}
|
|
28
50
|
/**
|
|
29
51
|
* Represents an inbox message for a user.
|
|
30
52
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"in-app.d.ts","sourceRoot":"","sources":["../../../../src/types/in-app.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,WAAW,YAAY;IAC3B,iDAAiD;IACjD,SAAS,EAAE,MAAM,CAAC;IAClB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0EAA0E;IAC1E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,oBAAY,qBAAqB;IAC/B,gBAAgB,qBAAqB;IACrC,kBAAkB,uBAAuB;IACzC,gBAAgB,qBAAqB;IACrC,YAAY,iBAAiB;CAC9B;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,YAAY;IAC3B,8CAA8C;IAC9C,OAAO,EAAE,MAAM,CAAC;IAChB,kDAAkD;IAClD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+EAA+E;IAC/E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,sEAAsE;IACtE,MAAM,EAAE,MAAM,CAAC;IACf,6DAA6D;IAC7D,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,8BAA8B;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,oDAAoD;IACpD,MAAM,EAAE,OAAO,CAAC;IAChB,0GAA0G;IAC1G,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,+DAA+D;IAC/D,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACjC;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,+BAA+B,GAAG;IAC5C,iBAAiB,EAAE,CAAC,QAAQ,EAAE,YAAY,EAAE,KAAK,IAAI,CAAC;CACvD,CAAC"}
|
|
1
|
+
{"version":3,"file":"in-app.d.ts","sourceRoot":"","sources":["../../../../src/types/in-app.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,WAAW,YAAY;IAC3B,iDAAiD;IACjD,SAAS,EAAE,MAAM,CAAC;IAClB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0EAA0E;IAC1E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,oBAAY,qBAAqB;IAC/B,gBAAgB,qBAAqB;IACrC,kBAAkB,uBAAuB;IACzC,gBAAgB,qBAAqB;IACrC,YAAY,iBAAiB;CAC9B;AAED;;;;;;;;;;;;;GAaG;AACH,oBAAY,kBAAkB;IAC5B,sEAAsE;IACtE,IAAI,SAAS;IACb,sEAAsE;IACtE,KAAK,UAAU;IACf,qEAAqE;IACrE,IAAI,SAAS;CACd;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,YAAY;IAC3B,8CAA8C;IAC9C,OAAO,EAAE,MAAM,CAAC;IAChB,kDAAkD;IAClD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+EAA+E;IAC/E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,sEAAsE;IACtE,MAAM,EAAE,MAAM,CAAC;IACf,6DAA6D;IAC7D,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,8BAA8B;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,oDAAoD;IACpD,MAAM,EAAE,OAAO,CAAC;IAChB,0GAA0G;IAC1G,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,+DAA+D;IAC/D,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACjC;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,+BAA+B,GAAG;IAC5C,iBAAiB,EAAE,CAAC,QAAQ,EAAE,YAAY,EAAE,KAAK,IAAI,CAAC;CACvD,CAAC"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import type { InboxMessage } from './in-app';
|
|
2
|
+
/**
|
|
3
|
+
* Enum representing the type of event triggered by an inbox event callback.
|
|
4
|
+
*
|
|
5
|
+
* Mirrors the native `InboxEventListener` contract on iOS and Android.
|
|
6
|
+
*
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export declare enum InboxEventType {
|
|
10
|
+
/** A non-dismiss action (e.g. a button/link) was taken on an inbox message. */
|
|
11
|
+
messageActionTaken = "messageActionTaken",
|
|
12
|
+
/** An inbox message was first shown/rendered in the visible inbox view. */
|
|
13
|
+
messageShown = "messageShown",
|
|
14
|
+
/** An inbox message was marked opened (e.g. when the panel opens). */
|
|
15
|
+
messageOpened = "messageOpened",
|
|
16
|
+
/** An inbox message was dismissed/removed from the inbox. */
|
|
17
|
+
messageDismissed = "messageDismissed"
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Event delivered to a registered inbox event listener.
|
|
21
|
+
*
|
|
22
|
+
* `messageActionTaken` carries `actionName`/`actionValue`; the observational
|
|
23
|
+
* events (`messageShown`, `messageOpened`, `messageDismissed`) carry only the
|
|
24
|
+
* message.
|
|
25
|
+
*
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
export declare class InboxMessageEvent {
|
|
29
|
+
/** The type of inbox event. */
|
|
30
|
+
eventType: InboxEventType;
|
|
31
|
+
/** The inbox message the event relates to. */
|
|
32
|
+
message: InboxMessage;
|
|
33
|
+
/** The Jist action name (only present for `messageActionTaken`). */
|
|
34
|
+
actionName?: string;
|
|
35
|
+
/** The resolved action value, typically a url (only present for `messageActionTaken`). */
|
|
36
|
+
actionValue?: string;
|
|
37
|
+
constructor(eventType: InboxEventType, message: InboxMessage, actionName?: string, actionValue?: string);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Host-provided accessibility labels for the Visual Notification Inbox UI.
|
|
41
|
+
*
|
|
42
|
+
* The SDK ships no text of its own in the visual inbox — the empty state is an icon and the
|
|
43
|
+
* loading state is a spinner — so accessibility labels are the one place a string is still
|
|
44
|
+
* needed. Because the SDK cannot know your app's language, every label is optional and unset by
|
|
45
|
+
* default, and an omitted label leaves that element unlabeled rather than falling back to
|
|
46
|
+
* English. Pass strings already localized for the user's language.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* ```ts
|
|
50
|
+
* Zixflow.initialize({
|
|
51
|
+
* apiKey: '...',
|
|
52
|
+
* inApp: {
|
|
53
|
+
* siteId: '...',
|
|
54
|
+
* notificationInboxAccessibilityLabels: {
|
|
55
|
+
* bell: t('inbox.bell'),
|
|
56
|
+
* bellWithUnreadCount: t('inbox.unread'), // e.g. "{count} unread notifications"
|
|
57
|
+
* loadingIndicator: t('inbox.loading'),
|
|
58
|
+
* emptyState: t('inbox.empty'),
|
|
59
|
+
* },
|
|
60
|
+
* },
|
|
61
|
+
* });
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export type NotificationInboxAccessibilityLabels = {
|
|
67
|
+
/**
|
|
68
|
+
* Label for the inbox bell button. Also used when the bell shows an unread badge but
|
|
69
|
+
* `bellWithUnreadCount` is not provided. Unset → the bell is announced as an unnamed button
|
|
70
|
+
* (it stays focusable and tappable; hiding it would leave screen reader users no way in).
|
|
71
|
+
*/
|
|
72
|
+
bell?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Label for the bell while it shows an unread badge. Include `{count}` where the number of
|
|
75
|
+
* unread messages should appear; it is substituted at render time. Unset → falls back to `bell`.
|
|
76
|
+
*
|
|
77
|
+
* The badge itself is always hidden from assistive technologies, so the count is announced
|
|
78
|
+
* only through this label, never as bare digits appended to the button.
|
|
79
|
+
*
|
|
80
|
+
* This is a template rather than a function because configuration crosses the native bridge,
|
|
81
|
+
* which carries data but not callbacks. One template cannot express languages whose plural
|
|
82
|
+
* rules need a distinct form per count.
|
|
83
|
+
*/
|
|
84
|
+
bellWithUnreadCount?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Label announced for the loading spinner.
|
|
87
|
+
*
|
|
88
|
+
* Unset behaves differently per platform: on Android the spinner keeps its indeterminate
|
|
89
|
+
* progress role, which TalkBack describes in the device's own language, while on iOS it is not
|
|
90
|
+
* an accessibility element at all, so VoiceOver skips it rather than focusing an unnamed
|
|
91
|
+
* control. Set a label if you want the loading state announced on both.
|
|
92
|
+
*/
|
|
93
|
+
loadingIndicator?: string;
|
|
94
|
+
/** Label announced for the empty-state icon. Unset → the icon is treated as decorative. */
|
|
95
|
+
emptyState?: string;
|
|
96
|
+
};
|
|
97
|
+
//# sourceMappingURL=inbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inbox.d.ts","sourceRoot":"","sources":["../../../../src/types/inbox.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C;;;;;;GAMG;AACH,oBAAY,cAAc;IACxB,+EAA+E;IAC/E,kBAAkB,uBAAuB;IACzC,2EAA2E;IAC3E,YAAY,iBAAiB;IAC7B,sEAAsE;IACtE,aAAa,kBAAkB;IAC/B,6DAA6D;IAC7D,gBAAgB,qBAAqB;CACtC;AAED;;;;;;;;GAQG;AACH,qBAAa,iBAAiB;IAC5B,+BAA+B;IAC/B,SAAS,EAAE,cAAc,CAAC;IAC1B,8CAA8C;IAC9C,OAAO,EAAE,YAAY,CAAC;IACtB,oEAAoE;IACpE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0FAA0F;IAC1F,WAAW,CAAC,EAAE,MAAM,CAAC;gBAGnB,SAAS,EAAE,cAAc,EACzB,OAAO,EAAE,YAAY,EACrB,UAAU,CAAC,EAAE,MAAM,EACnB,WAAW,CAAC,EAAE,MAAM;CAOvB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,MAAM,oCAAoC,GAAG;IACjD;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;;;;;;;OAUG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;;;;OAOG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,2FAA2F;IAC3F,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC"}
|