@appilots/sdk 0.5.0 → 0.6.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/dist/{chunk-NIW7E3QD.mjs → chunk-DR75QTYK.mjs} +1 -1
- package/dist/{chunk-PQHZTAFG.js → chunk-DZ7QRFHD.js} +67 -1
- package/dist/{chunk-ZWQUIDBZ.js → chunk-HFRIB4YN.js} +160 -160
- package/dist/{chunk-3D7PHOV7.mjs → chunk-KUFWRJC4.mjs} +1 -1
- package/dist/{chunk-45AMQGS3.js → chunk-KYFAXT6V.js} +5 -5
- package/dist/{chunk-BIEF6MNR.mjs → chunk-R4D34FEW.mjs} +67 -2
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.js +11 -11
- package/dist/hooks/index.mjs +2 -2
- package/dist/{index-GvF_FlwO.d.mts → index-nI-s3Exg.d.mts} +25 -1
- package/dist/{index-GvF_FlwO.d.ts → index-nI-s3Exg.d.ts} +25 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +70 -66
- package/dist/index.mjs +5 -5
- package/dist/navigation/index.js +13 -13
- package/dist/navigation/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkKYFAXT6V_js = require('./chunk-KYFAXT6V.js');
|
|
4
|
+
var chunkHFRIB4YN_js = require('./chunk-HFRIB4YN.js');
|
|
5
|
+
var chunkDZ7QRFHD_js = require('./chunk-DZ7QRFHD.js');
|
|
6
6
|
var React7 = require('react');
|
|
7
7
|
var reactNative = require('react-native');
|
|
8
8
|
var reactNativeSafeAreaContext = require('react-native-safe-area-context');
|
|
@@ -33,14 +33,14 @@ var Svg__default = /*#__PURE__*/_interopDefault(Svg);
|
|
|
33
33
|
|
|
34
34
|
// src/components/breadcrumbPresentation.ts
|
|
35
35
|
var DEFAULT_BREADCRUMB_PALETTE = {
|
|
36
|
-
primary:
|
|
37
|
-
text:
|
|
38
|
-
textSecondary:
|
|
39
|
-
surface:
|
|
40
|
-
border:
|
|
41
|
-
success:
|
|
42
|
-
warning:
|
|
43
|
-
error:
|
|
36
|
+
primary: chunkDZ7QRFHD_js.defaultLightTheme.colors.primary,
|
|
37
|
+
text: chunkDZ7QRFHD_js.defaultLightTheme.colors.text,
|
|
38
|
+
textSecondary: chunkDZ7QRFHD_js.defaultLightTheme.colors.textSecondary,
|
|
39
|
+
surface: chunkDZ7QRFHD_js.defaultLightTheme.colors.surface,
|
|
40
|
+
border: chunkDZ7QRFHD_js.defaultLightTheme.colors.border,
|
|
41
|
+
success: chunkDZ7QRFHD_js.defaultLightTheme.colors.success,
|
|
42
|
+
warning: chunkDZ7QRFHD_js.defaultLightTheme.colors.warning,
|
|
43
|
+
error: chunkDZ7QRFHD_js.defaultLightTheme.colors.error
|
|
44
44
|
};
|
|
45
45
|
var KNOWN_TINTS = {
|
|
46
46
|
[DEFAULT_BREADCRUMB_PALETTE.primary.toUpperCase()]: "#EEF2FF",
|
|
@@ -162,7 +162,7 @@ function RegularBreadcrumbRow({
|
|
|
162
162
|
onApprove,
|
|
163
163
|
onReject
|
|
164
164
|
}) {
|
|
165
|
-
const { label, state } =
|
|
165
|
+
const { label, state } = chunkDZ7QRFHD_js.describeAction(action);
|
|
166
166
|
const tone = deriveStateTone(palette)[state];
|
|
167
167
|
const fade = React7.useRef(new reactNative.Animated.Value(0)).current;
|
|
168
168
|
const pulse = React7.useRef(new reactNative.Animated.Value(1)).current;
|
|
@@ -862,7 +862,7 @@ var styles2 = reactNative.StyleSheet.create({
|
|
|
862
862
|
textDecorationLine: "underline"
|
|
863
863
|
}
|
|
864
864
|
});
|
|
865
|
-
var ThemeContext = React7.createContext(
|
|
865
|
+
var ThemeContext = React7.createContext(chunkDZ7QRFHD_js.defaultLightTheme);
|
|
866
866
|
function AppilotsThemeProvider({
|
|
867
867
|
theme,
|
|
868
868
|
mode = "auto",
|
|
@@ -870,7 +870,7 @@ function AppilotsThemeProvider({
|
|
|
870
870
|
}) {
|
|
871
871
|
const systemScheme = reactNative.useColorScheme();
|
|
872
872
|
const tokens = React7.useMemo(
|
|
873
|
-
() =>
|
|
873
|
+
() => chunkDZ7QRFHD_js.mergeThemeTokens(chunkDZ7QRFHD_js.resolveBaseTheme(mode, systemScheme), theme ?? void 0),
|
|
874
874
|
[mode, systemScheme, theme]
|
|
875
875
|
);
|
|
876
876
|
return /* @__PURE__ */ React7__namespace.default.createElement(ThemeContext.Provider, { value: tokens }, children);
|
|
@@ -1151,7 +1151,7 @@ var APPILOTS_SKIP_PROPS = {
|
|
|
1151
1151
|
__appilotsInternal: true
|
|
1152
1152
|
};
|
|
1153
1153
|
function AppilotsChat(props) {
|
|
1154
|
-
const { remotePersonalization } =
|
|
1154
|
+
const { remotePersonalization } = chunkDZ7QRFHD_js.useAppilotsContext();
|
|
1155
1155
|
const themeProp = React7.useMemo(() => {
|
|
1156
1156
|
if (!props.theme) return void 0;
|
|
1157
1157
|
return isLegacyTheme(props.theme) ? translateLegacyTheme(props.theme) : props.theme;
|
|
@@ -1194,7 +1194,7 @@ function AppilotsChatInner({
|
|
|
1194
1194
|
clearMessages,
|
|
1195
1195
|
escalation,
|
|
1196
1196
|
requestHuman
|
|
1197
|
-
} =
|
|
1197
|
+
} = chunkHFRIB4YN_js.useAppilotsChat({
|
|
1198
1198
|
errorPrefix: t("somethingWentWrong"),
|
|
1199
1199
|
escalationStrings: {
|
|
1200
1200
|
requested: t("escalationRequested"),
|
|
@@ -1209,8 +1209,8 @@ function AppilotsChatInner({
|
|
|
1209
1209
|
completedActions,
|
|
1210
1210
|
approveAction,
|
|
1211
1211
|
rejectAction
|
|
1212
|
-
} =
|
|
1213
|
-
const { emit, remotePersonalization } =
|
|
1212
|
+
} = chunkHFRIB4YN_js.useAppilotsActions({ autoExecute });
|
|
1213
|
+
const { emit, remotePersonalization } = chunkDZ7QRFHD_js.useAppilotsContext();
|
|
1214
1214
|
const {
|
|
1215
1215
|
headerTitle: resolvedTitle,
|
|
1216
1216
|
assistantAvatar,
|
|
@@ -1246,12 +1246,12 @@ function AppilotsChatInner({
|
|
|
1246
1246
|
const flatListRef = React7.useRef(null);
|
|
1247
1247
|
const slideAnim = React7.useRef(new reactNative.Animated.Value(SCREEN_HEIGHT)).current;
|
|
1248
1248
|
const isVisible = mode === "inline" ? true : controlledVisible !== void 0 ? controlledVisible : internalVisible;
|
|
1249
|
-
const showSuggestedPrompts =
|
|
1249
|
+
const showSuggestedPrompts = chunkHFRIB4YN_js.shouldShowSuggestedPrompts({
|
|
1250
1250
|
isVisible,
|
|
1251
1251
|
messageCount: messages.length,
|
|
1252
1252
|
inputText
|
|
1253
1253
|
});
|
|
1254
|
-
const { prompts: suggestedPrompts } =
|
|
1254
|
+
const { prompts: suggestedPrompts } = chunkHFRIB4YN_js.useSuggestedPrompts({
|
|
1255
1255
|
enabled: showSuggestedPrompts,
|
|
1256
1256
|
limit: 3
|
|
1257
1257
|
});
|
|
@@ -2167,9 +2167,9 @@ function createAppilotsInput(WrappedComponent) {
|
|
|
2167
2167
|
label: label ?? fieldId,
|
|
2168
2168
|
screen: appilotsScreen
|
|
2169
2169
|
};
|
|
2170
|
-
|
|
2170
|
+
chunkDZ7QRFHD_js.componentRegistry.register(fieldId, entry);
|
|
2171
2171
|
return () => {
|
|
2172
|
-
|
|
2172
|
+
chunkDZ7QRFHD_js.componentRegistry.unregister(fieldId);
|
|
2173
2173
|
};
|
|
2174
2174
|
}, [fieldId, appilotsEnabled, getValue, setValue, focus, appilotsFieldType, label, appilotsScreen]);
|
|
2175
2175
|
const mergedRef = React7.useCallback(
|
|
@@ -2218,9 +2218,9 @@ function createAppilotsButton(WrappedComponent) {
|
|
|
2218
2218
|
label: title ?? targetId,
|
|
2219
2219
|
screen: appilotsScreen
|
|
2220
2220
|
};
|
|
2221
|
-
|
|
2221
|
+
chunkDZ7QRFHD_js.componentRegistry.register(targetId, entry);
|
|
2222
2222
|
return () => {
|
|
2223
|
-
|
|
2223
|
+
chunkDZ7QRFHD_js.componentRegistry.unregister(targetId);
|
|
2224
2224
|
};
|
|
2225
2225
|
}, [targetId, appilotsEnabled, press, title, appilotsScreen]);
|
|
2226
2226
|
return /* @__PURE__ */ React7__namespace.default.createElement(
|
|
@@ -2266,9 +2266,9 @@ function createAppilotsSwitch(WrappedComponent) {
|
|
|
2266
2266
|
label: label ?? toggleId,
|
|
2267
2267
|
screen: appilotsScreen
|
|
2268
2268
|
};
|
|
2269
|
-
|
|
2269
|
+
chunkDZ7QRFHD_js.componentRegistry.register(toggleId, entry);
|
|
2270
2270
|
return () => {
|
|
2271
|
-
|
|
2271
|
+
chunkDZ7QRFHD_js.componentRegistry.unregister(toggleId);
|
|
2272
2272
|
};
|
|
2273
2273
|
}, [toggleId, appilotsEnabled, getValue, setValue, label, appilotsScreen]);
|
|
2274
2274
|
return /* @__PURE__ */ React7__namespace.default.createElement(
|
|
@@ -2286,163 +2286,167 @@ function createAppilotsSwitch(WrappedComponent) {
|
|
|
2286
2286
|
|
|
2287
2287
|
Object.defineProperty(exports, "AppilotsNavigationContainer", {
|
|
2288
2288
|
enumerable: true,
|
|
2289
|
-
get: function () { return
|
|
2289
|
+
get: function () { return chunkKYFAXT6V_js.AppilotsNavigationContainer; }
|
|
2290
2290
|
});
|
|
2291
2291
|
Object.defineProperty(exports, "captureSnapshot", {
|
|
2292
2292
|
enumerable: true,
|
|
2293
|
-
get: function () { return
|
|
2293
|
+
get: function () { return chunkHFRIB4YN_js.captureSnapshot; }
|
|
2294
2294
|
});
|
|
2295
2295
|
Object.defineProperty(exports, "executeAction", {
|
|
2296
2296
|
enumerable: true,
|
|
2297
|
-
get: function () { return
|
|
2297
|
+
get: function () { return chunkHFRIB4YN_js.executeAction; }
|
|
2298
2298
|
});
|
|
2299
2299
|
Object.defineProperty(exports, "useAppilots", {
|
|
2300
2300
|
enumerable: true,
|
|
2301
|
-
get: function () { return
|
|
2301
|
+
get: function () { return chunkHFRIB4YN_js.useAppilots; }
|
|
2302
2302
|
});
|
|
2303
2303
|
Object.defineProperty(exports, "useAppilotsActions", {
|
|
2304
2304
|
enumerable: true,
|
|
2305
|
-
get: function () { return
|
|
2305
|
+
get: function () { return chunkHFRIB4YN_js.useAppilotsActions; }
|
|
2306
2306
|
});
|
|
2307
2307
|
Object.defineProperty(exports, "useAppilotsChat", {
|
|
2308
2308
|
enumerable: true,
|
|
2309
|
-
get: function () { return
|
|
2309
|
+
get: function () { return chunkHFRIB4YN_js.useAppilotsChat; }
|
|
2310
2310
|
});
|
|
2311
2311
|
Object.defineProperty(exports, "useAppilotsField", {
|
|
2312
2312
|
enumerable: true,
|
|
2313
|
-
get: function () { return
|
|
2313
|
+
get: function () { return chunkHFRIB4YN_js.useAppilotsField; }
|
|
2314
2314
|
});
|
|
2315
2315
|
Object.defineProperty(exports, "useAppilotsNavigation", {
|
|
2316
2316
|
enumerable: true,
|
|
2317
|
-
get: function () { return
|
|
2317
|
+
get: function () { return chunkHFRIB4YN_js.useAppilotsNavigation; }
|
|
2318
2318
|
});
|
|
2319
2319
|
Object.defineProperty(exports, "useAppilotsSlider", {
|
|
2320
2320
|
enumerable: true,
|
|
2321
|
-
get: function () { return
|
|
2321
|
+
get: function () { return chunkHFRIB4YN_js.useAppilotsSlider; }
|
|
2322
2322
|
});
|
|
2323
2323
|
Object.defineProperty(exports, "useAppilotsTarget", {
|
|
2324
2324
|
enumerable: true,
|
|
2325
|
-
get: function () { return
|
|
2325
|
+
get: function () { return chunkHFRIB4YN_js.useAppilotsTarget; }
|
|
2326
2326
|
});
|
|
2327
2327
|
Object.defineProperty(exports, "useAppilotsToggle", {
|
|
2328
2328
|
enumerable: true,
|
|
2329
|
-
get: function () { return
|
|
2329
|
+
get: function () { return chunkHFRIB4YN_js.useAppilotsToggle; }
|
|
2330
2330
|
});
|
|
2331
2331
|
Object.defineProperty(exports, "useSuggestedPrompts", {
|
|
2332
2332
|
enumerable: true,
|
|
2333
|
-
get: function () { return
|
|
2333
|
+
get: function () { return chunkHFRIB4YN_js.useSuggestedPrompts; }
|
|
2334
2334
|
});
|
|
2335
2335
|
Object.defineProperty(exports, "AppilotsClient", {
|
|
2336
2336
|
enumerable: true,
|
|
2337
|
-
get: function () { return
|
|
2337
|
+
get: function () { return chunkDZ7QRFHD_js.AppilotsClient; }
|
|
2338
2338
|
});
|
|
2339
2339
|
Object.defineProperty(exports, "AppilotsProvider", {
|
|
2340
2340
|
enumerable: true,
|
|
2341
|
-
get: function () { return
|
|
2341
|
+
get: function () { return chunkDZ7QRFHD_js.AppilotsProvider; }
|
|
2342
2342
|
});
|
|
2343
2343
|
Object.defineProperty(exports, "AppilotsRegistryProvider", {
|
|
2344
2344
|
enumerable: true,
|
|
2345
|
-
get: function () { return
|
|
2345
|
+
get: function () { return chunkDZ7QRFHD_js.AppilotsRegistryProvider; }
|
|
2346
|
+
});
|
|
2347
|
+
Object.defineProperty(exports, "RateLimitedError", {
|
|
2348
|
+
enumerable: true,
|
|
2349
|
+
get: function () { return chunkDZ7QRFHD_js.RateLimitedError; }
|
|
2346
2350
|
});
|
|
2347
2351
|
Object.defineProperty(exports, "SDK_VERSION", {
|
|
2348
2352
|
enumerable: true,
|
|
2349
|
-
get: function () { return
|
|
2353
|
+
get: function () { return chunkDZ7QRFHD_js.SDK_VERSION; }
|
|
2350
2354
|
});
|
|
2351
2355
|
Object.defineProperty(exports, "_patchJsxRuntimes", {
|
|
2352
2356
|
enumerable: true,
|
|
2353
|
-
get: function () { return
|
|
2357
|
+
get: function () { return chunkDZ7QRFHD_js._patchJsxRuntimes; }
|
|
2354
2358
|
});
|
|
2355
2359
|
Object.defineProperty(exports, "clearAppilotsDebugTraces", {
|
|
2356
2360
|
enumerable: true,
|
|
2357
|
-
get: function () { return
|
|
2361
|
+
get: function () { return chunkDZ7QRFHD_js.clearAppilotsDebugTraces; }
|
|
2358
2362
|
});
|
|
2359
2363
|
Object.defineProperty(exports, "componentRegistry", {
|
|
2360
2364
|
enumerable: true,
|
|
2361
|
-
get: function () { return
|
|
2365
|
+
get: function () { return chunkDZ7QRFHD_js.componentRegistry; }
|
|
2362
2366
|
});
|
|
2363
2367
|
Object.defineProperty(exports, "createComponentRegistry", {
|
|
2364
2368
|
enumerable: true,
|
|
2365
|
-
get: function () { return
|
|
2369
|
+
get: function () { return chunkDZ7QRFHD_js.createComponentRegistry; }
|
|
2366
2370
|
});
|
|
2367
2371
|
Object.defineProperty(exports, "createElementRegistry", {
|
|
2368
2372
|
enumerable: true,
|
|
2369
|
-
get: function () { return
|
|
2373
|
+
get: function () { return chunkDZ7QRFHD_js.createElementRegistry; }
|
|
2370
2374
|
});
|
|
2371
2375
|
Object.defineProperty(exports, "createListRegistry", {
|
|
2372
2376
|
enumerable: true,
|
|
2373
|
-
get: function () { return
|
|
2377
|
+
get: function () { return chunkDZ7QRFHD_js.createListRegistry; }
|
|
2374
2378
|
});
|
|
2375
2379
|
Object.defineProperty(exports, "defaultDarkTheme", {
|
|
2376
2380
|
enumerable: true,
|
|
2377
|
-
get: function () { return
|
|
2381
|
+
get: function () { return chunkDZ7QRFHD_js.defaultDarkTheme; }
|
|
2378
2382
|
});
|
|
2379
2383
|
Object.defineProperty(exports, "defaultLightTheme", {
|
|
2380
2384
|
enumerable: true,
|
|
2381
|
-
get: function () { return
|
|
2385
|
+
get: function () { return chunkDZ7QRFHD_js.defaultLightTheme; }
|
|
2382
2386
|
});
|
|
2383
2387
|
Object.defineProperty(exports, "describeAction", {
|
|
2384
2388
|
enumerable: true,
|
|
2385
|
-
get: function () { return
|
|
2389
|
+
get: function () { return chunkDZ7QRFHD_js.describeAction; }
|
|
2386
2390
|
});
|
|
2387
2391
|
Object.defineProperty(exports, "elementRegistry", {
|
|
2388
2392
|
enumerable: true,
|
|
2389
|
-
get: function () { return
|
|
2393
|
+
get: function () { return chunkDZ7QRFHD_js.elementRegistry; }
|
|
2390
2394
|
});
|
|
2391
2395
|
Object.defineProperty(exports, "enableAppilotsAutoTracking", {
|
|
2392
2396
|
enumerable: true,
|
|
2393
|
-
get: function () { return
|
|
2397
|
+
get: function () { return chunkDZ7QRFHD_js.enableAppilotsAutoTracking; }
|
|
2394
2398
|
});
|
|
2395
2399
|
Object.defineProperty(exports, "getAppilotsDebugTraces", {
|
|
2396
2400
|
enumerable: true,
|
|
2397
|
-
get: function () { return
|
|
2401
|
+
get: function () { return chunkDZ7QRFHD_js.getAppilotsDebugTraces; }
|
|
2398
2402
|
});
|
|
2399
2403
|
Object.defineProperty(exports, "getGlobalConfig", {
|
|
2400
2404
|
enumerable: true,
|
|
2401
|
-
get: function () { return
|
|
2405
|
+
get: function () { return chunkDZ7QRFHD_js.getGlobalConfig; }
|
|
2402
2406
|
});
|
|
2403
2407
|
Object.defineProperty(exports, "getIntrospectionDiagnostics", {
|
|
2404
2408
|
enumerable: true,
|
|
2405
|
-
get: function () { return
|
|
2409
|
+
get: function () { return chunkDZ7QRFHD_js.getIntrospectionDiagnostics; }
|
|
2406
2410
|
});
|
|
2407
2411
|
Object.defineProperty(exports, "humanizeError", {
|
|
2408
2412
|
enumerable: true,
|
|
2409
|
-
get: function () { return
|
|
2413
|
+
get: function () { return chunkDZ7QRFHD_js.humanizeError; }
|
|
2410
2414
|
});
|
|
2411
2415
|
Object.defineProperty(exports, "initAppilots", {
|
|
2412
2416
|
enumerable: true,
|
|
2413
|
-
get: function () { return
|
|
2417
|
+
get: function () { return chunkDZ7QRFHD_js.initAppilots; }
|
|
2414
2418
|
});
|
|
2415
2419
|
Object.defineProperty(exports, "isAutoTrackingEnabled", {
|
|
2416
2420
|
enumerable: true,
|
|
2417
|
-
get: function () { return
|
|
2421
|
+
get: function () { return chunkDZ7QRFHD_js.isAutoTrackingEnabled; }
|
|
2418
2422
|
});
|
|
2419
2423
|
Object.defineProperty(exports, "listRegistry", {
|
|
2420
2424
|
enumerable: true,
|
|
2421
|
-
get: function () { return
|
|
2425
|
+
get: function () { return chunkDZ7QRFHD_js.listRegistry; }
|
|
2422
2426
|
});
|
|
2423
2427
|
Object.defineProperty(exports, "mergeThemeTokens", {
|
|
2424
2428
|
enumerable: true,
|
|
2425
|
-
get: function () { return
|
|
2429
|
+
get: function () { return chunkDZ7QRFHD_js.mergeThemeTokens; }
|
|
2426
2430
|
});
|
|
2427
2431
|
Object.defineProperty(exports, "recordAppilotsDebugTrace", {
|
|
2428
2432
|
enumerable: true,
|
|
2429
|
-
get: function () { return
|
|
2433
|
+
get: function () { return chunkDZ7QRFHD_js.recordAppilotsDebugTrace; }
|
|
2430
2434
|
});
|
|
2431
2435
|
Object.defineProperty(exports, "registerScreen", {
|
|
2432
2436
|
enumerable: true,
|
|
2433
|
-
get: function () { return
|
|
2437
|
+
get: function () { return chunkDZ7QRFHD_js.registerScreen; }
|
|
2434
2438
|
});
|
|
2435
2439
|
Object.defineProperty(exports, "subscribeAppilotsDebugTraces", {
|
|
2436
2440
|
enumerable: true,
|
|
2437
|
-
get: function () { return
|
|
2441
|
+
get: function () { return chunkDZ7QRFHD_js.subscribeAppilotsDebugTraces; }
|
|
2438
2442
|
});
|
|
2439
2443
|
Object.defineProperty(exports, "useAppilotsContext", {
|
|
2440
2444
|
enumerable: true,
|
|
2441
|
-
get: function () { return
|
|
2445
|
+
get: function () { return chunkDZ7QRFHD_js.useAppilotsContext; }
|
|
2442
2446
|
});
|
|
2443
2447
|
Object.defineProperty(exports, "useResolvedRegistry", {
|
|
2444
2448
|
enumerable: true,
|
|
2445
|
-
get: function () { return
|
|
2449
|
+
get: function () { return chunkDZ7QRFHD_js.useResolvedRegistry; }
|
|
2446
2450
|
});
|
|
2447
2451
|
exports.ActionBreadcrumb = ActionBreadcrumb;
|
|
2448
2452
|
exports.AppilotsChat = AppilotsChat;
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { AppilotsNavigationContainer } from './chunk-
|
|
2
|
-
import { useAppilotsChat, useAppilotsActions, shouldShowSuggestedPrompts, useSuggestedPrompts } from './chunk-
|
|
3
|
-
export { captureSnapshot, executeAction, useAppilots, useAppilotsActions, useAppilotsChat, useAppilotsField, useAppilotsNavigation, useAppilotsSlider, useAppilotsTarget, useAppilotsToggle, useSuggestedPrompts } from './chunk-
|
|
4
|
-
import { defaultLightTheme, describeAction, mergeThemeTokens, resolveBaseTheme, useAppilotsContext, componentRegistry } from './chunk-
|
|
5
|
-
export { AppilotsClient, AppilotsProvider, AppilotsRegistryProvider, SDK_VERSION, _patchJsxRuntimes, clearAppilotsDebugTraces, componentRegistry, createComponentRegistry, createElementRegistry, createListRegistry, defaultDarkTheme, defaultLightTheme, describeAction, elementRegistry, enableAppilotsAutoTracking, getAppilotsDebugTraces, getGlobalConfig, getIntrospectionDiagnostics, humanizeError, initAppilots, isAutoTrackingEnabled, listRegistry, mergeThemeTokens, recordAppilotsDebugTrace, registerScreen, subscribeAppilotsDebugTraces, useAppilotsContext, useResolvedRegistry } from './chunk-
|
|
1
|
+
export { AppilotsNavigationContainer } from './chunk-DR75QTYK.mjs';
|
|
2
|
+
import { useAppilotsChat, useAppilotsActions, shouldShowSuggestedPrompts, useSuggestedPrompts } from './chunk-KUFWRJC4.mjs';
|
|
3
|
+
export { captureSnapshot, executeAction, useAppilots, useAppilotsActions, useAppilotsChat, useAppilotsField, useAppilotsNavigation, useAppilotsSlider, useAppilotsTarget, useAppilotsToggle, useSuggestedPrompts } from './chunk-KUFWRJC4.mjs';
|
|
4
|
+
import { defaultLightTheme, describeAction, mergeThemeTokens, resolveBaseTheme, useAppilotsContext, componentRegistry } from './chunk-R4D34FEW.mjs';
|
|
5
|
+
export { AppilotsClient, AppilotsProvider, AppilotsRegistryProvider, RateLimitedError, SDK_VERSION, _patchJsxRuntimes, clearAppilotsDebugTraces, componentRegistry, createComponentRegistry, createElementRegistry, createListRegistry, defaultDarkTheme, defaultLightTheme, describeAction, elementRegistry, enableAppilotsAutoTracking, getAppilotsDebugTraces, getGlobalConfig, getIntrospectionDiagnostics, humanizeError, initAppilots, isAutoTrackingEnabled, listRegistry, mergeThemeTokens, recordAppilotsDebugTrace, registerScreen, subscribeAppilotsDebugTraces, useAppilotsContext, useResolvedRegistry } from './chunk-R4D34FEW.mjs';
|
|
6
6
|
import * as React7 from 'react';
|
|
7
7
|
import React7__default, { createContext, useRef, useEffect, useMemo, useContext, useState, useCallback } from 'react';
|
|
8
8
|
import { StyleSheet, Dimensions, Platform, View, Animated, Text, TouchableOpacity, ActivityIndicator, useColorScheme, NativeModules, FlatList, Image, TextInput, Modal, KeyboardAvoidingView, Linking } from 'react-native';
|
package/dist/navigation/index.js
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkKYFAXT6V_js = require('../chunk-KYFAXT6V.js');
|
|
4
|
+
var chunkDZ7QRFHD_js = require('../chunk-DZ7QRFHD.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "AppilotsNavigationContainer", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkKYFAXT6V_js.AppilotsNavigationContainer; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "clearScreenRegistry", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkDZ7QRFHD_js.clearScreenRegistry; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "getActiveRouteNames", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkDZ7QRFHD_js.getActiveRouteNames; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "getAllScreens", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkDZ7QRFHD_js.getAllScreens; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "getCurrentScreen", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkDZ7QRFHD_js.getCurrentScreen; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "getNavigationRef", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkDZ7QRFHD_js.getNavigationRef; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "getNavigationStateSnapshot", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkDZ7QRFHD_js.getNavigationStateSnapshot; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "getScreenMetadata", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkDZ7QRFHD_js.getScreenMetadata; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "registerScreen", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkDZ7QRFHD_js.registerScreen; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "setCurrentScreen", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkDZ7QRFHD_js.setCurrentScreen; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "setNavigationRef", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkDZ7QRFHD_js.setNavigationRef; }
|
|
51
51
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { AppilotsNavigationContainer } from '../chunk-
|
|
2
|
-
export { clearScreenRegistry, getActiveRouteNames, getAllScreens, getCurrentScreen, getNavigationRef, getNavigationStateSnapshot, getScreenMetadata, registerScreen, setCurrentScreen, setNavigationRef } from '../chunk-
|
|
1
|
+
export { AppilotsNavigationContainer } from '../chunk-DR75QTYK.mjs';
|
|
2
|
+
export { clearScreenRegistry, getActiveRouteNames, getAllScreens, getCurrentScreen, getNavigationRef, getNavigationStateSnapshot, getScreenMetadata, registerScreen, setCurrentScreen, setNavigationRef } from '../chunk-R4D34FEW.mjs';
|