@vvedantb/native-ui 0.34.0 → 0.36.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/README.md +17 -2
- package/dist/Button.jsx +9 -3
- package/dist/ExpoWebRoot.jsx +42 -21
- package/dist/Field.jsx +309 -0
- package/dist/FloatingTabBar.jsx +98 -94
- package/dist/ai/conversation.jsx +1 -1
- package/dist/blur.js +6 -0
- package/dist/controlStyles.js +24 -2
- package/dist/entries/layout.js +1 -0
- package/dist/entries/primitives.js +1 -0
- package/dist/examples/ParityGallery.jsx +488 -475
- package/dist/glassBlur.jsx +1 -1
- package/dist/index.js +2 -0
- package/dist/primitives/window-layer.jsx +35 -28
- package/dist/settings/ThemeModePicker.jsx +135 -0
- package/package.json +27 -3
- package/src/Button.tsx +10 -4
- package/src/DropdownMenu.tsx +11 -2
- package/src/ExpoWebRoot.tsx +18 -3
- package/src/Field.tsx +105 -0
- package/src/FloatingTabBar.tsx +17 -12
- package/src/Spinner.tsx +2 -2
- package/src/ai/conversation.tsx +1 -1
- package/src/ai/message.tsx +2 -2
- package/src/auth/AccountScreens.tsx +4 -4
- package/src/auth/SignInScreen.tsx +4 -4
- package/src/blur.ts +8 -0
- package/src/controlStyles.ts +29 -2
- package/src/entries/layout.ts +2 -0
- package/src/entries/primitives.ts +2 -0
- package/src/examples/ParityGallery.tsx +22 -1
- package/src/glassBlur.tsx +5 -7
- package/src/index.ts +4 -0
- package/src/primitives/sheet-gesture.tsx +1 -2
- package/src/primitives/web-click-guard.ts +3 -3
- package/src/primitives/window-layer.tsx +8 -6
- package/src/settings/ThemeModePicker.tsx +132 -0
- package/src/tabBarRoutes.ts +4 -3
- package/src/webview/HtmlView.tsx +5 -2
|
@@ -7,12 +7,14 @@ import { c as _c } from "react/compiler-runtime";
|
|
|
7
7
|
import { useState } from "react";
|
|
8
8
|
import { ScrollView, Text, View } from "react-native";
|
|
9
9
|
import { IconCopy, IconDots, IconInbox, IconPencil, IconPhoto, IconRefresh, IconTrash, IconX } from "@tabler/icons-react-native";
|
|
10
|
-
import { APP_ICONS, APP_NAMES, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AmbientBackground, AppMark, AppWordmark, BulkActionBar, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, Avatar, AvatarFallback, Badge, Button, CaptureButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CenteredSpinner, Checkbox, ColorSwatches, ConfirmDialog, DateTimeField, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, EmptyState, FromProjectV, GoogleMark, IconButton, Input, Label, LabeledSwitchRow, ListRow, MoreFromProjectV, NEUTRAL_900, NativeUiProvider, PageHeader, PageIndicator, PageTitle, PricingModal, Progress, SearchInput, SectionLabel, Select, Separator, Sheet, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetRow, SheetTitle, SheetTrigger, Skeleton, Spinner, StackPageHeader, StatGrid, StatusDot, Stepper, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeToggle, Toaster, UpgradeToProCard, initials, palette, toast, tokens, useNativeUi } from "../index";
|
|
10
|
+
import { APP_ICONS, APP_NAMES, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AmbientBackground, AppMark, AppWordmark, BulkActionBar, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, Avatar, AvatarFallback, Badge, Button, CaptureButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CenteredSpinner, Checkbox, ColorSwatches, ConfirmDialog, DateTimeField, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, EmptyState, FromProjectV, GoogleMark, IconButton, Input, Field, FieldControl, FieldDescription, FieldError, FieldLabel, Label, LabeledSwitchRow, ListRow, MoreFromProjectV, NEUTRAL_900, NativeUiProvider, PageHeader, PageIndicator, PageTitle, PricingModal, Progress, SearchInput, SectionLabel, Select, Separator, Sheet, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetRow, SheetTitle, SheetTrigger, Skeleton, Spinner, StackPageHeader, StatGrid, StatusDot, Stepper, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeToggle, Toaster, UpgradeToProCard, initials, palette, toast, tokens, useNativeUi } from "../index";
|
|
11
11
|
import { typeStyle } from "../controlStyles";
|
|
12
12
|
import { useScheme } from "../useScheme";
|
|
13
13
|
import { ChainOfThought, ChainOfThoughtContent, ChainOfThoughtHeader, ChainOfThoughtSearchResult, ChainOfThoughtSearchResults, ChainOfThoughtStep, ConversationEmptyState, Suggestion, Suggestions } from "../ai";
|
|
14
14
|
import { AiChatSamples } from "./AiChatGallery";
|
|
15
|
-
|
|
15
|
+
|
|
16
|
+
// Every shared variant; the aliases (`primary`, `tertiary`, `danger`) draw as the name they alias.
|
|
17
|
+
const BUTTON_VARIANTS = ["default", "primary", "secondary", "outline", "destructive", "danger", "ghost", "tertiary", "flat", "success", "warning", "link"];
|
|
16
18
|
const BADGE_VARIANTS = ["default", "secondary", "destructive", "destructive-soft", "outline", "success", "warning"];
|
|
17
19
|
const STATUS_TONES = ["progress", "business-review", "code-review", "done", "cancelled", "active", "critical", "info", "neutral"];
|
|
18
20
|
const SWATCHES = ["#db2777", "#2563eb", "#16a34a", "#f59e0b", "#181818", "#ffffff"];
|
|
@@ -153,7 +155,7 @@ export function ParityGallery() {
|
|
|
153
155
|
return t1;
|
|
154
156
|
}
|
|
155
157
|
function GalleryScreen() {
|
|
156
|
-
const $ = _c(
|
|
158
|
+
const $ = _c(203);
|
|
157
159
|
const [checked, setChecked] = useState("indeterminate");
|
|
158
160
|
const [switchOn, setSwitchOn] = useState(true);
|
|
159
161
|
const [colour, setColour] = useState(undefined);
|
|
@@ -247,533 +249,544 @@ function GalleryScreen() {
|
|
|
247
249
|
let t10;
|
|
248
250
|
let t11;
|
|
249
251
|
let t12;
|
|
252
|
+
let t13;
|
|
250
253
|
if ($[10] === Symbol.for("react.memo_cache_sentinel")) {
|
|
251
254
|
t10 = <Button size="sm" fullWidth={false}>Small</Button>;
|
|
252
255
|
t11 = <Button fullWidth={false}>Default</Button>;
|
|
253
|
-
t12 = <Button size="
|
|
256
|
+
t12 = <Button size="md" fullWidth={false}>Medium</Button>;
|
|
257
|
+
t13 = <Button size="lg" fullWidth={false}>Large</Button>;
|
|
254
258
|
$[10] = t10;
|
|
255
259
|
$[11] = t11;
|
|
256
260
|
$[12] = t12;
|
|
261
|
+
$[13] = t13;
|
|
257
262
|
} else {
|
|
258
263
|
t10 = $[10];
|
|
259
264
|
t11 = $[11];
|
|
260
265
|
t12 = $[12];
|
|
266
|
+
t13 = $[13];
|
|
261
267
|
}
|
|
262
|
-
const
|
|
263
|
-
let t14;
|
|
264
|
-
if ($[13] !== t13) {
|
|
265
|
-
t14 = <View className="flex-row flex-wrap items-center gap-2">{t10}{t11}{t12}<Button size="icon" variant="outline" accessibilityLabel="Copy" onPress={_temp7}><IconCopy size={16} color={t13} /></Button></View>;
|
|
266
|
-
$[13] = t13;
|
|
267
|
-
$[14] = t14;
|
|
268
|
-
} else {
|
|
269
|
-
t14 = $[14];
|
|
270
|
-
}
|
|
268
|
+
const t14 = tokens.color.foreground[scheme];
|
|
271
269
|
let t15;
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
t16 = <Button shape="rounded" variant="secondary" fullWidth={false}>Rounded</Button>;
|
|
270
|
+
if ($[14] !== t14) {
|
|
271
|
+
t15 = <View className="flex-row flex-wrap items-center gap-2">{t10}{t11}{t12}{t13}<Button size="icon" variant="outline" accessibilityLabel="Copy" onPress={_temp7}><IconCopy size={16} color={t14} /></Button></View>;
|
|
272
|
+
$[14] = t14;
|
|
276
273
|
$[15] = t15;
|
|
277
|
-
$[16] = t16;
|
|
278
274
|
} else {
|
|
279
275
|
t15 = $[15];
|
|
280
|
-
t16 = $[16];
|
|
281
276
|
}
|
|
282
|
-
|
|
283
|
-
let
|
|
284
|
-
if ($[
|
|
285
|
-
|
|
277
|
+
let t16;
|
|
278
|
+
let t17;
|
|
279
|
+
if ($[16] === Symbol.for("react.memo_cache_sentinel")) {
|
|
280
|
+
t16 = <Button shape="rounded" size="sm" fullWidth={false}>Rounded</Button>;
|
|
281
|
+
t17 = <Button shape="rounded" variant="secondary" fullWidth={false}>Rounded</Button>;
|
|
282
|
+
$[16] = t16;
|
|
286
283
|
$[17] = t17;
|
|
287
|
-
$[18] = t18;
|
|
288
284
|
} else {
|
|
289
|
-
|
|
285
|
+
t16 = $[16];
|
|
286
|
+
t17 = $[17];
|
|
290
287
|
}
|
|
288
|
+
const t18 = tokens.color.foreground[scheme];
|
|
291
289
|
let t19;
|
|
292
|
-
if ($[
|
|
293
|
-
t19 = <
|
|
294
|
-
$[
|
|
295
|
-
$[
|
|
296
|
-
$[21] = t19;
|
|
290
|
+
if ($[18] !== t18) {
|
|
291
|
+
t19 = <View className="flex-row flex-wrap items-center gap-2">{t16}{t17}<Button shape="rounded" size="icon" variant="outline" accessibilityLabel="Copy" onPress={_temp8}><IconCopy size={16} color={t18} /></Button></View>;
|
|
292
|
+
$[18] = t18;
|
|
293
|
+
$[19] = t19;
|
|
297
294
|
} else {
|
|
298
|
-
t19 = $[
|
|
295
|
+
t19 = $[19];
|
|
299
296
|
}
|
|
300
297
|
let t20;
|
|
301
|
-
if ($[
|
|
302
|
-
t20 = <Section title="
|
|
298
|
+
if ($[20] !== t15 || $[21] !== t19) {
|
|
299
|
+
t20 = <Section title="Button">{t9}{t15}{t19}</Section>;
|
|
300
|
+
$[20] = t15;
|
|
301
|
+
$[21] = t19;
|
|
303
302
|
$[22] = t20;
|
|
304
303
|
} else {
|
|
305
304
|
t20 = $[22];
|
|
306
305
|
}
|
|
307
306
|
let t21;
|
|
308
307
|
if ($[23] === Symbol.for("react.memo_cache_sentinel")) {
|
|
309
|
-
t21 = <Section title="
|
|
308
|
+
t21 = <Section title="Badge"><View className="flex-row flex-wrap gap-2">{BADGE_VARIANTS.map(_temp9)}</View></Section>;
|
|
310
309
|
$[23] = t21;
|
|
311
310
|
} else {
|
|
312
311
|
t21 = $[23];
|
|
313
312
|
}
|
|
314
313
|
let t22;
|
|
315
314
|
if ($[24] === Symbol.for("react.memo_cache_sentinel")) {
|
|
316
|
-
t22 = <
|
|
315
|
+
t22 = <Section title="StatusDot"><View className="flex-row flex-wrap items-center gap-3">{STATUS_TONES.map(_temp0)}</View></Section>;
|
|
317
316
|
$[24] = t22;
|
|
318
317
|
} else {
|
|
319
318
|
t22 = $[24];
|
|
320
319
|
}
|
|
321
320
|
let t23;
|
|
322
|
-
if ($[25]
|
|
323
|
-
t23 = <
|
|
324
|
-
$[25] =
|
|
325
|
-
$[26] = t23;
|
|
321
|
+
if ($[25] === Symbol.for("react.memo_cache_sentinel")) {
|
|
322
|
+
t23 = <View className="gap-2"><Label nativeID="gallery-name">Name</Label><Input placeholder="Your name" accessibilityLabel="Name" /></View>;
|
|
323
|
+
$[25] = t23;
|
|
326
324
|
} else {
|
|
327
|
-
t23 = $[
|
|
325
|
+
t23 = $[25];
|
|
328
326
|
}
|
|
329
327
|
let t24;
|
|
330
|
-
if ($[
|
|
331
|
-
t24 = <
|
|
332
|
-
$[
|
|
333
|
-
$[28] = t24;
|
|
328
|
+
if ($[26] === Symbol.for("react.memo_cache_sentinel")) {
|
|
329
|
+
t24 = <Field testID="field-parity"><FieldLabel testID="field-parity-label">Email</FieldLabel><FieldControl testID="field-parity-input" placeholder="you@example.com" /><FieldDescription testID="field-parity-description">We never share it.</FieldDescription><FieldError testID="field-parity-error">Enter a valid email.</FieldError></Field>;
|
|
330
|
+
$[26] = t24;
|
|
334
331
|
} else {
|
|
335
|
-
t24 = $[
|
|
332
|
+
t24 = $[26];
|
|
336
333
|
}
|
|
337
334
|
let t25;
|
|
338
|
-
if ($[
|
|
339
|
-
t25 = <
|
|
340
|
-
$[
|
|
335
|
+
if ($[27] !== emptySearch) {
|
|
336
|
+
t25 = <SearchInput value={emptySearch} onChange={setEmptySearch} />;
|
|
337
|
+
$[27] = emptySearch;
|
|
338
|
+
$[28] = t25;
|
|
341
339
|
} else {
|
|
342
|
-
t25 = $[
|
|
340
|
+
t25 = $[28];
|
|
343
341
|
}
|
|
344
342
|
let t26;
|
|
345
|
-
if ($[
|
|
346
|
-
t26 =
|
|
347
|
-
|
|
348
|
-
value: "pink"
|
|
349
|
-
}, {
|
|
350
|
-
label: "None",
|
|
351
|
-
value: null
|
|
352
|
-
}];
|
|
343
|
+
if ($[29] !== search) {
|
|
344
|
+
t26 = <SearchInput value={search} onChange={setSearch} size="md" label="Search colours" />;
|
|
345
|
+
$[29] = search;
|
|
353
346
|
$[30] = t26;
|
|
354
347
|
} else {
|
|
355
348
|
t26 = $[30];
|
|
356
349
|
}
|
|
357
350
|
let t27;
|
|
358
|
-
if ($[31]
|
|
359
|
-
t27 = <
|
|
360
|
-
$[31] =
|
|
361
|
-
$[32] = t27;
|
|
351
|
+
if ($[31] === Symbol.for("react.memo_cache_sentinel")) {
|
|
352
|
+
t27 = <Textarea placeholder="Notes" accessibilityLabel="Notes" />;
|
|
353
|
+
$[31] = t27;
|
|
362
354
|
} else {
|
|
363
|
-
t27 = $[
|
|
355
|
+
t27 = $[31];
|
|
364
356
|
}
|
|
365
357
|
let t28;
|
|
366
|
-
if ($[
|
|
367
|
-
t28 =
|
|
368
|
-
|
|
369
|
-
|
|
358
|
+
if ($[32] === Symbol.for("react.memo_cache_sentinel")) {
|
|
359
|
+
t28 = [{
|
|
360
|
+
label: "Pink",
|
|
361
|
+
value: "pink"
|
|
362
|
+
}, {
|
|
363
|
+
label: "None",
|
|
364
|
+
value: null
|
|
365
|
+
}];
|
|
366
|
+
$[32] = t28;
|
|
370
367
|
} else {
|
|
371
|
-
t28 = $[
|
|
368
|
+
t28 = $[32];
|
|
372
369
|
}
|
|
373
370
|
let t29;
|
|
374
|
-
if ($[
|
|
375
|
-
t29 = <
|
|
376
|
-
$[
|
|
371
|
+
if ($[33] !== colour) {
|
|
372
|
+
t29 = <Select value={colour} onValueChange={setColour} placeholder="Pick a colour" options={t28} />;
|
|
373
|
+
$[33] = colour;
|
|
374
|
+
$[34] = t29;
|
|
377
375
|
} else {
|
|
378
|
-
t29 = $[
|
|
376
|
+
t29 = $[34];
|
|
379
377
|
}
|
|
380
378
|
let t30;
|
|
381
|
-
if ($[
|
|
382
|
-
t30 = <
|
|
383
|
-
$[
|
|
384
|
-
$[
|
|
379
|
+
if ($[35] !== checked) {
|
|
380
|
+
t30 = <Checkbox checked={checked} onCheckedChange={setChecked} accessibilityLabel="Remember me" />;
|
|
381
|
+
$[35] = checked;
|
|
382
|
+
$[36] = t30;
|
|
385
383
|
} else {
|
|
386
|
-
t30 = $[
|
|
384
|
+
t30 = $[36];
|
|
387
385
|
}
|
|
388
386
|
let t31;
|
|
389
|
-
if ($[
|
|
390
|
-
t31 = <
|
|
391
|
-
$[
|
|
392
|
-
$[39] = t30;
|
|
393
|
-
$[40] = t31;
|
|
387
|
+
if ($[37] === Symbol.for("react.memo_cache_sentinel")) {
|
|
388
|
+
t31 = <Label nativeID="gallery-remember">Remember me</Label>;
|
|
389
|
+
$[37] = t31;
|
|
394
390
|
} else {
|
|
395
|
-
t31 = $[
|
|
391
|
+
t31 = $[37];
|
|
396
392
|
}
|
|
397
393
|
let t32;
|
|
398
|
-
if ($[
|
|
399
|
-
t32 = <
|
|
400
|
-
$[
|
|
401
|
-
$[
|
|
394
|
+
if ($[38] !== switchOn) {
|
|
395
|
+
t32 = <Switch checked={switchOn} onCheckedChange={setSwitchOn} />;
|
|
396
|
+
$[38] = switchOn;
|
|
397
|
+
$[39] = t32;
|
|
402
398
|
} else {
|
|
403
|
-
t32 = $[
|
|
399
|
+
t32 = $[39];
|
|
404
400
|
}
|
|
405
401
|
let t33;
|
|
406
|
-
if ($[
|
|
407
|
-
t33 = <
|
|
408
|
-
$[
|
|
409
|
-
$[
|
|
410
|
-
$[
|
|
411
|
-
$[46] = t31;
|
|
412
|
-
$[47] = t32;
|
|
413
|
-
$[48] = t33;
|
|
402
|
+
if ($[40] !== t30 || $[41] !== t32) {
|
|
403
|
+
t33 = <View className="flex-row items-center gap-3">{t30}{t31}{t32}</View>;
|
|
404
|
+
$[40] = t30;
|
|
405
|
+
$[41] = t32;
|
|
406
|
+
$[42] = t33;
|
|
414
407
|
} else {
|
|
415
|
-
t33 = $[
|
|
408
|
+
t33 = $[42];
|
|
416
409
|
}
|
|
417
410
|
let t34;
|
|
418
|
-
if ($[
|
|
419
|
-
t34 = <
|
|
420
|
-
$[
|
|
411
|
+
if ($[43] !== switchOn) {
|
|
412
|
+
t34 = <LabeledSwitchRow label="Reminders" description="A daily nudge at 9:00." checked={switchOn} onCheckedChange={setSwitchOn} />;
|
|
413
|
+
$[43] = switchOn;
|
|
414
|
+
$[44] = t34;
|
|
421
415
|
} else {
|
|
422
|
-
t34 = $[
|
|
416
|
+
t34 = $[44];
|
|
423
417
|
}
|
|
424
418
|
let t35;
|
|
425
|
-
if ($[
|
|
426
|
-
t35 = <
|
|
419
|
+
if ($[45] !== t25 || $[46] !== t26 || $[47] !== t29 || $[48] !== t33 || $[49] !== t34) {
|
|
420
|
+
t35 = <Section title="Fields">{t23}{t24}{t25}{t26}{t27}{t29}{t33}{t34}</Section>;
|
|
421
|
+
$[45] = t25;
|
|
422
|
+
$[46] = t26;
|
|
423
|
+
$[47] = t29;
|
|
424
|
+
$[48] = t33;
|
|
425
|
+
$[49] = t34;
|
|
427
426
|
$[50] = t35;
|
|
428
427
|
} else {
|
|
429
428
|
t35 = $[50];
|
|
430
429
|
}
|
|
431
430
|
let t36;
|
|
432
431
|
if ($[51] === Symbol.for("react.memo_cache_sentinel")) {
|
|
433
|
-
t36 = <
|
|
432
|
+
t36 = <TabsList variant="segmented"><TabsTrigger value="one">One</TabsTrigger><TabsTrigger value="two">Two</TabsTrigger><TabsTrigger value="three" disabled={true}>Three</TabsTrigger></TabsList>;
|
|
434
433
|
$[51] = t36;
|
|
435
434
|
} else {
|
|
436
435
|
t36 = $[51];
|
|
437
436
|
}
|
|
438
437
|
let t37;
|
|
439
438
|
if ($[52] === Symbol.for("react.memo_cache_sentinel")) {
|
|
440
|
-
t37 = <
|
|
439
|
+
t37 = <TabsContent value="one"><GalleryText>First panel</GalleryText></TabsContent>;
|
|
441
440
|
$[52] = t37;
|
|
442
441
|
} else {
|
|
443
442
|
t37 = $[52];
|
|
444
443
|
}
|
|
445
444
|
let t38;
|
|
446
445
|
if ($[53] === Symbol.for("react.memo_cache_sentinel")) {
|
|
447
|
-
t38 = <
|
|
446
|
+
t38 = <Section title="Tabs"><Tabs defaultValue="one">{t36}{t37}<TabsContent value="two"><GalleryText>Second panel</GalleryText></TabsContent></Tabs></Section>;
|
|
448
447
|
$[53] = t38;
|
|
449
448
|
} else {
|
|
450
449
|
t38 = $[53];
|
|
451
450
|
}
|
|
452
451
|
let t39;
|
|
453
|
-
if ($[54]
|
|
454
|
-
t39 = <
|
|
455
|
-
$[54] =
|
|
456
|
-
$[55] = t39;
|
|
452
|
+
if ($[54] === Symbol.for("react.memo_cache_sentinel")) {
|
|
453
|
+
t39 = <Avatar><AvatarFallback>{initials("Ada Lovelace")}</AvatarFallback></Avatar>;
|
|
454
|
+
$[54] = t39;
|
|
457
455
|
} else {
|
|
458
|
-
t39 = $[
|
|
456
|
+
t39 = $[54];
|
|
459
457
|
}
|
|
460
458
|
let t40;
|
|
459
|
+
if ($[55] === Symbol.for("react.memo_cache_sentinel")) {
|
|
460
|
+
t40 = <View className="flex-row items-center gap-3">{t39}<Avatar size={56}><AvatarFallback>{initials("vibot")}</AvatarFallback></Avatar><Spinner /><Spinner size="lg" /></View>;
|
|
461
|
+
$[55] = t40;
|
|
462
|
+
} else {
|
|
463
|
+
t40 = $[55];
|
|
464
|
+
}
|
|
461
465
|
let t41;
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
t41 = <Skeleton className="h-4 w-32" />;
|
|
466
|
-
t42 = <Separator />;
|
|
467
|
-
$[56] = t40;
|
|
466
|
+
if ($[56] !== progress) {
|
|
467
|
+
t41 = <Progress value={progress} />;
|
|
468
|
+
$[56] = progress;
|
|
468
469
|
$[57] = t41;
|
|
469
|
-
$[58] = t42;
|
|
470
470
|
} else {
|
|
471
|
-
t40 = $[56];
|
|
472
471
|
t41 = $[57];
|
|
473
|
-
t42 = $[58];
|
|
474
472
|
}
|
|
473
|
+
let t42;
|
|
475
474
|
let t43;
|
|
476
|
-
|
|
477
|
-
|
|
475
|
+
let t44;
|
|
476
|
+
if ($[58] === Symbol.for("react.memo_cache_sentinel")) {
|
|
477
|
+
t42 = <Button variant="secondary" size="sm" onPress={() => setProgress(_temp1)}>Step progress</Button>;
|
|
478
|
+
t43 = <Skeleton className="h-4 w-32" />;
|
|
479
|
+
t44 = <Separator />;
|
|
480
|
+
$[58] = t42;
|
|
478
481
|
$[59] = t43;
|
|
482
|
+
$[60] = t44;
|
|
479
483
|
} else {
|
|
484
|
+
t42 = $[58];
|
|
480
485
|
t43 = $[59];
|
|
481
|
-
|
|
482
|
-
let t44;
|
|
483
|
-
if ($[60] !== t39) {
|
|
484
|
-
t44 = <Section title="Avatar, Progress, Spinner, Skeleton">{t38}{t39}{t40}{t41}{t42}{t43}</Section>;
|
|
485
|
-
$[60] = t39;
|
|
486
|
-
$[61] = t44;
|
|
487
|
-
} else {
|
|
488
|
-
t44 = $[61];
|
|
486
|
+
t44 = $[60];
|
|
489
487
|
}
|
|
490
488
|
let t45;
|
|
491
|
-
if ($[
|
|
492
|
-
t45 = <
|
|
493
|
-
$[
|
|
489
|
+
if ($[61] === Symbol.for("react.memo_cache_sentinel")) {
|
|
490
|
+
t45 = <View className="h-24"><CenteredSpinner label="Loading list" /></View>;
|
|
491
|
+
$[61] = t45;
|
|
494
492
|
} else {
|
|
495
|
-
t45 = $[
|
|
493
|
+
t45 = $[61];
|
|
496
494
|
}
|
|
497
495
|
let t46;
|
|
498
|
-
if ($[
|
|
499
|
-
t46 = <
|
|
496
|
+
if ($[62] !== t41) {
|
|
497
|
+
t46 = <Section title="Avatar, Progress, Spinner, Skeleton">{t40}{t41}{t42}{t43}{t44}{t45}</Section>;
|
|
498
|
+
$[62] = t41;
|
|
500
499
|
$[63] = t46;
|
|
501
500
|
} else {
|
|
502
501
|
t46 = $[63];
|
|
503
502
|
}
|
|
504
503
|
let t47;
|
|
505
504
|
if ($[64] === Symbol.for("react.memo_cache_sentinel")) {
|
|
506
|
-
t47 = <
|
|
505
|
+
t47 = <Card title="Today" description="Card props, as before."><GalleryText>Body</GalleryText></Card>;
|
|
507
506
|
$[64] = t47;
|
|
508
507
|
} else {
|
|
509
508
|
t47 = $[64];
|
|
510
509
|
}
|
|
511
510
|
let t48;
|
|
512
511
|
if ($[65] === Symbol.for("react.memo_cache_sentinel")) {
|
|
513
|
-
t48 = <
|
|
512
|
+
t48 = <Card title="Pressable" description="onPress makes the whole card a button." onPress={_temp10}><GalleryText>Tap anywhere on the card.</GalleryText></Card>;
|
|
514
513
|
$[65] = t48;
|
|
515
514
|
} else {
|
|
516
515
|
t48 = $[65];
|
|
517
516
|
}
|
|
518
517
|
let t49;
|
|
519
518
|
if ($[66] === Symbol.for("react.memo_cache_sentinel")) {
|
|
520
|
-
t49 = <
|
|
519
|
+
t49 = <CardHeader><CardTitle>Composed</CardTitle><CardDescription>Web part names inside the native card.</CardDescription></CardHeader>;
|
|
521
520
|
$[66] = t49;
|
|
522
521
|
} else {
|
|
523
522
|
t49 = $[66];
|
|
524
523
|
}
|
|
525
524
|
let t50;
|
|
526
525
|
if ($[67] === Symbol.for("react.memo_cache_sentinel")) {
|
|
527
|
-
t50 = <
|
|
526
|
+
t50 = <CardContent><GalleryText>Content</GalleryText></CardContent>;
|
|
528
527
|
$[67] = t50;
|
|
529
528
|
} else {
|
|
530
529
|
t50 = $[67];
|
|
531
530
|
}
|
|
532
531
|
let t51;
|
|
533
532
|
if ($[68] === Symbol.for("react.memo_cache_sentinel")) {
|
|
534
|
-
t51 = <Section title="
|
|
533
|
+
t51 = <Section title="Card">{t47}{t48}<Card>{t49}{t50}<CardFooter><Button size="sm" fullWidth={false} variant="secondary">Later</Button><Button size="sm" fullWidth={false}>Save</Button></CardFooter></Card></Section>;
|
|
535
534
|
$[68] = t51;
|
|
536
535
|
} else {
|
|
537
536
|
t51 = $[68];
|
|
538
537
|
}
|
|
539
538
|
let t52;
|
|
540
539
|
if ($[69] === Symbol.for("react.memo_cache_sentinel")) {
|
|
541
|
-
t52 = <
|
|
540
|
+
t52 = <UpgradeToProCard onUpgrade={() => setPricingOpen(true)} />;
|
|
542
541
|
$[69] = t52;
|
|
543
542
|
} else {
|
|
544
543
|
t52 = $[69];
|
|
545
544
|
}
|
|
546
545
|
let t53;
|
|
547
546
|
if ($[70] === Symbol.for("react.memo_cache_sentinel")) {
|
|
548
|
-
t53 = <
|
|
547
|
+
t53 = <Section title="Upgrade">{t52}<UpgradeToProCard collapsed={true} onUpgrade={() => setPricingOpen(true)} /></Section>;
|
|
549
548
|
$[70] = t53;
|
|
550
549
|
} else {
|
|
551
550
|
t53 = $[70];
|
|
552
551
|
}
|
|
553
552
|
let t54;
|
|
554
553
|
if ($[71] === Symbol.for("react.memo_cache_sentinel")) {
|
|
555
|
-
t54 = <
|
|
554
|
+
t54 = <DialogTrigger asChild={true}><Button variant="secondary">Open dialog</Button></DialogTrigger>;
|
|
556
555
|
$[71] = t54;
|
|
557
556
|
} else {
|
|
558
557
|
t54 = $[71];
|
|
559
558
|
}
|
|
560
559
|
let t55;
|
|
561
560
|
if ($[72] === Symbol.for("react.memo_cache_sentinel")) {
|
|
562
|
-
t55 = <
|
|
561
|
+
t55 = <DialogHeader><DialogTitle>Rename list</DialogTitle><DialogDescription>Pick a short name.</DialogDescription></DialogHeader>;
|
|
563
562
|
$[72] = t55;
|
|
564
563
|
} else {
|
|
565
564
|
t55 = $[72];
|
|
566
565
|
}
|
|
567
566
|
let t56;
|
|
568
567
|
if ($[73] === Symbol.for("react.memo_cache_sentinel")) {
|
|
569
|
-
t56 = <
|
|
568
|
+
t56 = <DialogBody><Input placeholder="Name" accessibilityLabel="List name" /></DialogBody>;
|
|
570
569
|
$[73] = t56;
|
|
571
570
|
} else {
|
|
572
571
|
t56 = $[73];
|
|
573
572
|
}
|
|
574
573
|
let t57;
|
|
575
574
|
if ($[74] === Symbol.for("react.memo_cache_sentinel")) {
|
|
576
|
-
t57 = <
|
|
575
|
+
t57 = <DialogClose asChild={true}><Button variant="secondary" shadowType="flat" fullWidth={false}>Cancel</Button></DialogClose>;
|
|
577
576
|
$[74] = t57;
|
|
578
577
|
} else {
|
|
579
578
|
t57 = $[74];
|
|
580
579
|
}
|
|
581
580
|
let t58;
|
|
582
581
|
if ($[75] === Symbol.for("react.memo_cache_sentinel")) {
|
|
583
|
-
t58 = <
|
|
582
|
+
t58 = <Dialog>{t54}<DialogContent>{t55}{t56}<DialogFooter>{t57}<DialogClose asChild={true}><Button shadowType="flat" fullWidth={false} onPress={_temp11}>Save</Button></DialogClose></DialogFooter></DialogContent></Dialog>;
|
|
584
583
|
$[75] = t58;
|
|
585
584
|
} else {
|
|
586
585
|
t58 = $[75];
|
|
587
586
|
}
|
|
588
587
|
let t59;
|
|
589
588
|
if ($[76] === Symbol.for("react.memo_cache_sentinel")) {
|
|
590
|
-
t59 = <
|
|
589
|
+
t59 = <AlertDialogTrigger asChild={true}><Button variant="secondary">Open alert dialog</Button></AlertDialogTrigger>;
|
|
591
590
|
$[76] = t59;
|
|
592
591
|
} else {
|
|
593
592
|
t59 = $[76];
|
|
594
593
|
}
|
|
595
594
|
let t60;
|
|
596
595
|
if ($[77] === Symbol.for("react.memo_cache_sentinel")) {
|
|
597
|
-
t60 = <
|
|
596
|
+
t60 = <AlertDialogHeader><AlertDialogTitle>Delete this list?</AlertDialogTitle><AlertDialogDescription>This cannot be undone.</AlertDialogDescription></AlertDialogHeader>;
|
|
598
597
|
$[77] = t60;
|
|
599
598
|
} else {
|
|
600
599
|
t60 = $[77];
|
|
601
600
|
}
|
|
602
601
|
let t61;
|
|
603
|
-
if ($[78]
|
|
604
|
-
t61 = <
|
|
605
|
-
$[78] =
|
|
606
|
-
$[79] = t61;
|
|
602
|
+
if ($[78] === Symbol.for("react.memo_cache_sentinel")) {
|
|
603
|
+
t61 = <AlertDialog>{t59}<AlertDialogContent>{t60}<AlertDialogFooter><AlertDialogCancel>Cancel</AlertDialogCancel><AlertDialogAction variant="destructive" onPress={_temp12}>Delete</AlertDialogAction></AlertDialogFooter></AlertDialogContent></AlertDialog>;
|
|
604
|
+
$[78] = t61;
|
|
607
605
|
} else {
|
|
608
|
-
t61 = $[
|
|
606
|
+
t61 = $[78];
|
|
609
607
|
}
|
|
610
608
|
let t62;
|
|
611
|
-
if ($[
|
|
612
|
-
t62 = <
|
|
613
|
-
$[
|
|
609
|
+
if ($[79] === Symbol.for("react.memo_cache_sentinel")) {
|
|
610
|
+
t62 = <Button variant="secondary" onPress={() => setConfirmOpen(true)}>Open confirm dialog</Button>;
|
|
611
|
+
$[79] = t62;
|
|
614
612
|
} else {
|
|
615
|
-
t62 = $[
|
|
613
|
+
t62 = $[79];
|
|
616
614
|
}
|
|
617
615
|
let t63;
|
|
618
|
-
if ($[
|
|
619
|
-
t63 = <
|
|
616
|
+
if ($[80] !== confirmOpen) {
|
|
617
|
+
t63 = <ConfirmDialog open={confirmOpen} onOpenChange={setConfirmOpen} title="Sign out?" description="You can sign back in at any time." confirmLabel="Sign out" variant="destructive" onConfirm={_temp13} />;
|
|
618
|
+
$[80] = confirmOpen;
|
|
620
619
|
$[81] = t63;
|
|
621
620
|
} else {
|
|
622
621
|
t63 = $[81];
|
|
623
622
|
}
|
|
624
623
|
let t64;
|
|
625
|
-
if ($[82]
|
|
626
|
-
t64 = <
|
|
627
|
-
$[82] =
|
|
628
|
-
$[83] = t64;
|
|
624
|
+
if ($[82] === Symbol.for("react.memo_cache_sentinel")) {
|
|
625
|
+
t64 = <SheetTrigger asChild={true}><Button variant="secondary">Open sheet</Button></SheetTrigger>;
|
|
626
|
+
$[82] = t64;
|
|
629
627
|
} else {
|
|
630
|
-
t64 = $[
|
|
628
|
+
t64 = $[82];
|
|
631
629
|
}
|
|
632
630
|
let t65;
|
|
633
|
-
if ($[
|
|
634
|
-
t65 = <
|
|
635
|
-
$[
|
|
631
|
+
if ($[83] === Symbol.for("react.memo_cache_sentinel")) {
|
|
632
|
+
t65 = <SheetHeader><SheetTitle>Filters</SheetTitle><SheetDescription>Narrow the list.</SheetDescription></SheetHeader>;
|
|
633
|
+
$[83] = t65;
|
|
636
634
|
} else {
|
|
637
|
-
t65 = $[
|
|
635
|
+
t65 = $[83];
|
|
638
636
|
}
|
|
639
637
|
let t66;
|
|
640
|
-
if ($[
|
|
641
|
-
t66 = <
|
|
642
|
-
$[
|
|
643
|
-
$[
|
|
638
|
+
if ($[84] !== switchOn) {
|
|
639
|
+
t66 = <LabeledSwitchRow label="Done items" checked={switchOn} onCheckedChange={setSwitchOn} />;
|
|
640
|
+
$[84] = switchOn;
|
|
641
|
+
$[85] = t66;
|
|
644
642
|
} else {
|
|
645
|
-
t66 = $[
|
|
643
|
+
t66 = $[85];
|
|
646
644
|
}
|
|
647
645
|
let t67;
|
|
648
|
-
if ($[
|
|
649
|
-
t67 = <
|
|
650
|
-
$[
|
|
646
|
+
if ($[86] === Symbol.for("react.memo_cache_sentinel")) {
|
|
647
|
+
t67 = <SheetFooter><Button shadowType="flat">Apply</Button></SheetFooter>;
|
|
648
|
+
$[86] = t67;
|
|
651
649
|
} else {
|
|
652
|
-
t67 = $[
|
|
650
|
+
t67 = $[86];
|
|
653
651
|
}
|
|
654
652
|
let t68;
|
|
655
|
-
if ($[
|
|
656
|
-
t68 = <
|
|
657
|
-
$[
|
|
658
|
-
$[
|
|
659
|
-
|
|
653
|
+
if ($[87] !== t66) {
|
|
654
|
+
t68 = <Sheet>{t64}<SheetContent>{t65}{t66}{t67}</SheetContent></Sheet>;
|
|
655
|
+
$[87] = t66;
|
|
656
|
+
$[88] = t68;
|
|
657
|
+
} else {
|
|
658
|
+
t68 = $[88];
|
|
659
|
+
}
|
|
660
|
+
let t69;
|
|
661
|
+
if ($[89] === Symbol.for("react.memo_cache_sentinel")) {
|
|
662
|
+
t69 = <View className="flex-row flex-wrap gap-2"><Button size="sm" fullWidth={false} onPress={_temp14}>Success</Button><Button size="sm" fullWidth={false} onPress={_temp15}>Warning</Button><Button size="sm" fullWidth={false} onPress={_temp16}>Loading</Button><Button size="sm" fullWidth={false} onPress={_temp18}>Action</Button></View>;
|
|
663
|
+
$[89] = t69;
|
|
660
664
|
} else {
|
|
661
|
-
|
|
665
|
+
t69 = $[89];
|
|
662
666
|
}
|
|
663
|
-
const t69 = tokens.color.muted[scheme];
|
|
664
667
|
let t70;
|
|
665
|
-
if ($[91] !==
|
|
666
|
-
t70 = <
|
|
667
|
-
$[
|
|
668
|
+
if ($[90] !== t63 || $[91] !== t68) {
|
|
669
|
+
t70 = <Section title="Overlays and toast">{t58}{t61}{t62}{t63}{t68}{t69}</Section>;
|
|
670
|
+
$[90] = t63;
|
|
671
|
+
$[91] = t68;
|
|
668
672
|
$[92] = t70;
|
|
669
673
|
} else {
|
|
670
674
|
t70 = $[92];
|
|
671
675
|
}
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
676
|
+
const t71 = tokens.color.muted[scheme];
|
|
677
|
+
let t72;
|
|
678
|
+
if ($[93] !== t71) {
|
|
679
|
+
t72 = <DropdownMenuTrigger accessibilityLabel="List options" hitSlop={6} className="h-8 w-8 items-center justify-center"><IconDots size={18} color={t71} /></DropdownMenuTrigger>;
|
|
675
680
|
$[93] = t71;
|
|
681
|
+
$[94] = t72;
|
|
676
682
|
} else {
|
|
677
|
-
|
|
683
|
+
t72 = $[94];
|
|
678
684
|
}
|
|
679
|
-
const t72 = menuSort === "newest";
|
|
680
685
|
let t73;
|
|
681
|
-
if ($[
|
|
682
|
-
t73 =
|
|
683
|
-
$[
|
|
686
|
+
if ($[95] === Symbol.for("react.memo_cache_sentinel")) {
|
|
687
|
+
t73 = <DropdownMenuLabel>Sort</DropdownMenuLabel>;
|
|
688
|
+
$[95] = t73;
|
|
684
689
|
} else {
|
|
685
|
-
t73 = $[
|
|
690
|
+
t73 = $[95];
|
|
686
691
|
}
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
$[96] =
|
|
692
|
+
const t74 = menuSort === "newest";
|
|
693
|
+
let t75;
|
|
694
|
+
if ($[96] === Symbol.for("react.memo_cache_sentinel")) {
|
|
695
|
+
t75 = () => setMenuSort("newest");
|
|
696
|
+
$[96] = t75;
|
|
692
697
|
} else {
|
|
693
|
-
|
|
698
|
+
t75 = $[96];
|
|
694
699
|
}
|
|
695
|
-
const t75 = menuSort === "oldest";
|
|
696
700
|
let t76;
|
|
697
|
-
if ($[97]
|
|
698
|
-
t76 =
|
|
699
|
-
$[97] =
|
|
701
|
+
if ($[97] !== t74) {
|
|
702
|
+
t76 = <DropdownMenuRadioItem checked={t74} onSelect={t75}>Newest first</DropdownMenuRadioItem>;
|
|
703
|
+
$[97] = t74;
|
|
704
|
+
$[98] = t76;
|
|
700
705
|
} else {
|
|
701
|
-
t76 = $[
|
|
706
|
+
t76 = $[98];
|
|
702
707
|
}
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
$[99] =
|
|
708
|
+
const t77 = menuSort === "oldest";
|
|
709
|
+
let t78;
|
|
710
|
+
if ($[99] === Symbol.for("react.memo_cache_sentinel")) {
|
|
711
|
+
t78 = () => setMenuSort("oldest");
|
|
712
|
+
$[99] = t78;
|
|
708
713
|
} else {
|
|
709
|
-
|
|
714
|
+
t78 = $[99];
|
|
710
715
|
}
|
|
711
|
-
let t78;
|
|
712
716
|
let t79;
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
t79 = <DropdownMenuItem icon={IconPencil} onSelect={_temp19}>Rename</DropdownMenuItem>;
|
|
717
|
-
t80 = <DropdownMenuItem icon={IconTrash} destructive={true} onSelect={_temp20}>Delete</DropdownMenuItem>;
|
|
718
|
-
$[100] = t78;
|
|
717
|
+
if ($[100] !== t77) {
|
|
718
|
+
t79 = <DropdownMenuRadioItem checked={t77} onSelect={t78}>Oldest first</DropdownMenuRadioItem>;
|
|
719
|
+
$[100] = t77;
|
|
719
720
|
$[101] = t79;
|
|
720
|
-
$[102] = t80;
|
|
721
721
|
} else {
|
|
722
|
-
t78 = $[100];
|
|
723
722
|
t79 = $[101];
|
|
724
|
-
t80 = $[102];
|
|
725
723
|
}
|
|
724
|
+
let t80;
|
|
726
725
|
let t81;
|
|
727
|
-
if ($[103] !== t74 || $[104] !== t77) {
|
|
728
|
-
t81 = <DropdownMenuContent align="end">{t71}{t74}{t77}{t78}{t79}{t80}</DropdownMenuContent>;
|
|
729
|
-
$[103] = t74;
|
|
730
|
-
$[104] = t77;
|
|
731
|
-
$[105] = t81;
|
|
732
|
-
} else {
|
|
733
|
-
t81 = $[105];
|
|
734
|
-
}
|
|
735
726
|
let t82;
|
|
736
|
-
if ($[
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
$[
|
|
727
|
+
if ($[102] === Symbol.for("react.memo_cache_sentinel")) {
|
|
728
|
+
t80 = <DropdownMenuSeparator />;
|
|
729
|
+
t81 = <DropdownMenuItem icon={IconPencil} onSelect={_temp19}>Rename</DropdownMenuItem>;
|
|
730
|
+
t82 = <DropdownMenuItem icon={IconTrash} destructive={true} onSelect={_temp20}>Delete</DropdownMenuItem>;
|
|
731
|
+
$[102] = t80;
|
|
732
|
+
$[103] = t81;
|
|
733
|
+
$[104] = t82;
|
|
741
734
|
} else {
|
|
742
|
-
|
|
735
|
+
t80 = $[102];
|
|
736
|
+
t81 = $[103];
|
|
737
|
+
t82 = $[104];
|
|
743
738
|
}
|
|
744
739
|
let t83;
|
|
745
|
-
if ($[
|
|
746
|
-
t83 = {
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
$[
|
|
740
|
+
if ($[105] !== t76 || $[106] !== t79) {
|
|
741
|
+
t83 = <DropdownMenuContent align="end">{t73}{t76}{t79}{t80}{t81}{t82}</DropdownMenuContent>;
|
|
742
|
+
$[105] = t76;
|
|
743
|
+
$[106] = t79;
|
|
744
|
+
$[107] = t83;
|
|
750
745
|
} else {
|
|
751
|
-
t83 = $[
|
|
746
|
+
t83 = $[107];
|
|
752
747
|
}
|
|
753
748
|
let t84;
|
|
749
|
+
if ($[108] !== t72 || $[109] !== t83) {
|
|
750
|
+
t84 = <View className="flex-row justify-end"><DropdownMenu>{t72}{t83}</DropdownMenu></View>;
|
|
751
|
+
$[108] = t72;
|
|
752
|
+
$[109] = t83;
|
|
753
|
+
$[110] = t84;
|
|
754
|
+
} else {
|
|
755
|
+
t84 = $[110];
|
|
756
|
+
}
|
|
754
757
|
let t85;
|
|
758
|
+
if ($[111] === Symbol.for("react.memo_cache_sentinel")) {
|
|
759
|
+
t85 = {
|
|
760
|
+
height: 88
|
|
761
|
+
};
|
|
762
|
+
$[111] = t85;
|
|
763
|
+
} else {
|
|
764
|
+
t85 = $[111];
|
|
765
|
+
}
|
|
755
766
|
let t86;
|
|
756
767
|
let t87;
|
|
757
768
|
let t88;
|
|
758
769
|
let t89;
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
770
|
+
let t90;
|
|
771
|
+
let t91;
|
|
772
|
+
if ($[112] === Symbol.for("react.memo_cache_sentinel")) {
|
|
762
773
|
t86 = () => setPicked(0);
|
|
763
|
-
t87 =
|
|
774
|
+
t87 = () => setPicked(5);
|
|
775
|
+
t88 = () => setPicked(0);
|
|
776
|
+
t89 = [{
|
|
764
777
|
key: "copy",
|
|
765
778
|
label: "Copy items",
|
|
766
779
|
shortLabel: "Copy",
|
|
767
780
|
icon: IconCopy,
|
|
768
781
|
onClick: _temp21
|
|
769
782
|
}];
|
|
770
|
-
|
|
783
|
+
t90 = [{
|
|
771
784
|
key: "rename",
|
|
772
785
|
label: "Rename",
|
|
773
786
|
icon: IconPencil,
|
|
774
787
|
onClick: _temp22
|
|
775
788
|
}];
|
|
776
|
-
|
|
789
|
+
t91 = {
|
|
777
790
|
key: "delete",
|
|
778
791
|
label: "Delete items",
|
|
779
792
|
shortLabel: "Delete",
|
|
@@ -781,117 +794,117 @@ function GalleryScreen() {
|
|
|
781
794
|
destructive: true,
|
|
782
795
|
onClick: _temp23
|
|
783
796
|
};
|
|
784
|
-
$[110] = t84;
|
|
785
|
-
$[111] = t85;
|
|
786
797
|
$[112] = t86;
|
|
787
798
|
$[113] = t87;
|
|
788
799
|
$[114] = t88;
|
|
789
800
|
$[115] = t89;
|
|
801
|
+
$[116] = t90;
|
|
802
|
+
$[117] = t91;
|
|
790
803
|
} else {
|
|
791
|
-
t84 = $[110];
|
|
792
|
-
t85 = $[111];
|
|
793
804
|
t86 = $[112];
|
|
794
805
|
t87 = $[113];
|
|
795
806
|
t88 = $[114];
|
|
796
807
|
t89 = $[115];
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
if ($[116] !== picked) {
|
|
800
|
-
t90 = <View style={t83}><BulkActionBar isSelecting={true} selectedCount={picked} totalCount={5} bottomOffset={0} onExitSelect={t84} onSelectAll={t85} onClearSelection={t86} primaryActions={t87} moreActions={t88} destructiveAction={t89} /></View>;
|
|
801
|
-
$[116] = picked;
|
|
802
|
-
$[117] = t90;
|
|
803
|
-
} else {
|
|
804
|
-
t90 = $[117];
|
|
805
|
-
}
|
|
806
|
-
let t91;
|
|
807
|
-
if ($[118] !== t82 || $[119] !== t90) {
|
|
808
|
-
t91 = <Section title="DropdownMenu and BulkActionBar">{t82}{t90}</Section>;
|
|
809
|
-
$[118] = t82;
|
|
810
|
-
$[119] = t90;
|
|
811
|
-
$[120] = t91;
|
|
812
|
-
} else {
|
|
813
|
-
t91 = $[120];
|
|
808
|
+
t90 = $[116];
|
|
809
|
+
t91 = $[117];
|
|
814
810
|
}
|
|
815
811
|
let t92;
|
|
816
|
-
if ($[
|
|
817
|
-
t92 = <
|
|
818
|
-
$[
|
|
812
|
+
if ($[118] !== picked) {
|
|
813
|
+
t92 = <View style={t85}><BulkActionBar isSelecting={true} selectedCount={picked} totalCount={5} bottomOffset={0} onExitSelect={t86} onSelectAll={t87} onClearSelection={t88} primaryActions={t89} moreActions={t90} destructiveAction={t91} /></View>;
|
|
814
|
+
$[118] = picked;
|
|
815
|
+
$[119] = t92;
|
|
819
816
|
} else {
|
|
820
|
-
t92 = $[
|
|
817
|
+
t92 = $[119];
|
|
821
818
|
}
|
|
822
819
|
let t93;
|
|
823
|
-
if ($[
|
|
824
|
-
t93 = <Section title="
|
|
820
|
+
if ($[120] !== t84 || $[121] !== t92) {
|
|
821
|
+
t93 = <Section title="DropdownMenu and BulkActionBar">{t84}{t92}</Section>;
|
|
822
|
+
$[120] = t84;
|
|
823
|
+
$[121] = t92;
|
|
825
824
|
$[122] = t93;
|
|
826
825
|
} else {
|
|
827
826
|
t93 = $[122];
|
|
828
827
|
}
|
|
829
828
|
let t94;
|
|
830
|
-
if ($[123]
|
|
831
|
-
t94 = <
|
|
832
|
-
$[123] =
|
|
833
|
-
$[124] = t94;
|
|
829
|
+
if ($[123] === Symbol.for("react.memo_cache_sentinel")) {
|
|
830
|
+
t94 = <EmptyState title="Nothing yet" description="Items you add show here." compact={true} />;
|
|
831
|
+
$[123] = t94;
|
|
834
832
|
} else {
|
|
835
|
-
t94 = $[
|
|
833
|
+
t94 = $[123];
|
|
836
834
|
}
|
|
837
835
|
let t95;
|
|
838
|
-
if ($[
|
|
839
|
-
t95 =
|
|
840
|
-
$[
|
|
836
|
+
if ($[124] === Symbol.for("react.memo_cache_sentinel")) {
|
|
837
|
+
t95 = <Section title="EmptyState">{t94}<EmptyState.Root variant="panel"><EmptyState.Icon icon={IconInbox} /><EmptyState.Title>No messages</EmptyState.Title><EmptyState.Description>New messages land here.</EmptyState.Description></EmptyState.Root></Section>;
|
|
838
|
+
$[124] = t95;
|
|
841
839
|
} else {
|
|
842
|
-
t95 = $[
|
|
840
|
+
t95 = $[124];
|
|
843
841
|
}
|
|
844
842
|
let t96;
|
|
845
|
-
if ($[
|
|
846
|
-
t96 = <
|
|
847
|
-
$[
|
|
848
|
-
$[
|
|
843
|
+
if ($[125] !== swatch) {
|
|
844
|
+
t96 = <Section title="ColorSwatches"><ColorSwatches value={swatch} onChange={setSwatch} colors={SWATCHES} labels={SWATCH_LABELS} accessibilityLabel="Accent colour" /><ColorSwatches value={swatch} onChange={setSwatch} colors={SWATCHES} labels={SWATCH_LABELS} accessibilityLabel="Accent colour" size="sm" disabled={true} /></Section>;
|
|
845
|
+
$[125] = swatch;
|
|
846
|
+
$[126] = t96;
|
|
849
847
|
} else {
|
|
850
|
-
t96 = $[
|
|
848
|
+
t96 = $[126];
|
|
851
849
|
}
|
|
852
850
|
let t97;
|
|
853
|
-
if ($[
|
|
854
|
-
t97 =
|
|
855
|
-
$[
|
|
856
|
-
$[129] = t97;
|
|
851
|
+
if ($[127] === Symbol.for("react.memo_cache_sentinel")) {
|
|
852
|
+
t97 = () => setDue(null);
|
|
853
|
+
$[127] = t97;
|
|
857
854
|
} else {
|
|
858
|
-
t97 = $[
|
|
855
|
+
t97 = $[127];
|
|
859
856
|
}
|
|
860
857
|
let t98;
|
|
861
|
-
if ($[
|
|
862
|
-
t98 = <
|
|
863
|
-
$[
|
|
864
|
-
$[
|
|
865
|
-
$[132] = t98;
|
|
858
|
+
if ($[128] !== due) {
|
|
859
|
+
t98 = <DateTimeField mode="date" value={due} onChange={setDue} placeholder="No due date" onClear={t97} />;
|
|
860
|
+
$[128] = due;
|
|
861
|
+
$[129] = t98;
|
|
866
862
|
} else {
|
|
867
|
-
t98 = $[
|
|
863
|
+
t98 = $[129];
|
|
868
864
|
}
|
|
869
865
|
let t99;
|
|
870
|
-
if ($[
|
|
871
|
-
t99 = <
|
|
872
|
-
$[
|
|
866
|
+
if ($[130] !== when) {
|
|
867
|
+
t99 = <DateTimeField value={when} onChange={setWhen} />;
|
|
868
|
+
$[130] = when;
|
|
869
|
+
$[131] = t99;
|
|
873
870
|
} else {
|
|
874
|
-
t99 = $[
|
|
871
|
+
t99 = $[131];
|
|
875
872
|
}
|
|
876
873
|
let t100;
|
|
877
|
-
if ($[
|
|
878
|
-
t100 = <Section title="
|
|
879
|
-
$[
|
|
880
|
-
$[
|
|
874
|
+
if ($[132] !== t98 || $[133] !== t99) {
|
|
875
|
+
t100 = <Section title="DateTimeField">{t98}{t99}</Section>;
|
|
876
|
+
$[132] = t98;
|
|
877
|
+
$[133] = t99;
|
|
878
|
+
$[134] = t100;
|
|
881
879
|
} else {
|
|
882
|
-
t100 = $[
|
|
880
|
+
t100 = $[134];
|
|
883
881
|
}
|
|
884
882
|
let t101;
|
|
885
|
-
if ($[
|
|
886
|
-
t101 = <
|
|
887
|
-
$[
|
|
883
|
+
if ($[135] === Symbol.for("react.memo_cache_sentinel")) {
|
|
884
|
+
t101 = <ListRow title="Ada Lovelace" meta="See you at nine" leading={<View><Avatar><AvatarFallback>{initials("Ada Lovelace")}</AvatarFallback></Avatar><StatusDot tone="info" size="md" className="absolute right-0 top-0" /></View>} titleEnd={<Badge variant="secondary">09:41</Badge>} accessibilityLabel="Ada Lovelace, unread, 09:41" onPress={_temp24} onLongPress={_temp25} />;
|
|
885
|
+
$[135] = t101;
|
|
888
886
|
} else {
|
|
889
|
-
t101 = $[
|
|
887
|
+
t101 = $[135];
|
|
890
888
|
}
|
|
891
889
|
let t102;
|
|
890
|
+
if ($[136] !== muted) {
|
|
891
|
+
t102 = <Section title="ListRow">{t101}<ListRow title="Mute thread" meta="Tap the row or the switch" onPress={_temp26} control={<Switch checked={muted} onCheckedChange={setMuted} accessibilityLabel="Mute thread" />} /></Section>;
|
|
892
|
+
$[136] = muted;
|
|
893
|
+
$[137] = t102;
|
|
894
|
+
} else {
|
|
895
|
+
t102 = $[137];
|
|
896
|
+
}
|
|
892
897
|
let t103;
|
|
893
|
-
if ($[
|
|
894
|
-
|
|
898
|
+
if ($[138] === Symbol.for("react.memo_cache_sentinel")) {
|
|
899
|
+
t103 = <SectionLabel>Today</SectionLabel>;
|
|
900
|
+
$[138] = t103;
|
|
901
|
+
} else {
|
|
902
|
+
t103 = $[138];
|
|
903
|
+
}
|
|
904
|
+
let t104;
|
|
905
|
+
let t105;
|
|
906
|
+
if ($[139] === Symbol.for("react.memo_cache_sentinel")) {
|
|
907
|
+
t104 = <StatGrid items={[{
|
|
895
908
|
label: "Done",
|
|
896
909
|
value: "6"
|
|
897
910
|
}, {
|
|
@@ -901,16 +914,16 @@ function GalleryScreen() {
|
|
|
901
914
|
label: "Streak",
|
|
902
915
|
value: "12 days"
|
|
903
916
|
}]} />;
|
|
904
|
-
|
|
905
|
-
$[
|
|
906
|
-
$[
|
|
917
|
+
t105 = <SectionLabel uppercase={true}>Library</SectionLabel>;
|
|
918
|
+
$[139] = t104;
|
|
919
|
+
$[140] = t105;
|
|
907
920
|
} else {
|
|
908
|
-
|
|
909
|
-
|
|
921
|
+
t104 = $[139];
|
|
922
|
+
t105 = $[140];
|
|
910
923
|
}
|
|
911
|
-
let
|
|
912
|
-
if ($[
|
|
913
|
-
|
|
924
|
+
let t106;
|
|
925
|
+
if ($[141] === Symbol.for("react.memo_cache_sentinel")) {
|
|
926
|
+
t106 = <Section title="SectionLabel and StatGrid">{t103}{t104}{t105}<StatGrid columns={3} items={[{
|
|
914
927
|
label: "Books",
|
|
915
928
|
value: "24"
|
|
916
929
|
}, {
|
|
@@ -920,285 +933,285 @@ function GalleryScreen() {
|
|
|
920
933
|
label: "Clips",
|
|
921
934
|
value: "8"
|
|
922
935
|
}]} /></Section>;
|
|
923
|
-
$[139] = t104;
|
|
924
|
-
} else {
|
|
925
|
-
t104 = $[139];
|
|
926
|
-
}
|
|
927
|
-
const t105 = palette.overlay[scheme];
|
|
928
|
-
let t106;
|
|
929
|
-
if ($[140] !== t105) {
|
|
930
|
-
t106 = {
|
|
931
|
-
backgroundColor: t105,
|
|
932
|
-
borderRadius: tokens.radius.lg
|
|
933
|
-
};
|
|
934
|
-
$[140] = t105;
|
|
935
936
|
$[141] = t106;
|
|
936
937
|
} else {
|
|
937
938
|
t106 = $[141];
|
|
938
939
|
}
|
|
939
|
-
|
|
940
|
+
const t107 = palette.overlay[scheme];
|
|
940
941
|
let t108;
|
|
941
|
-
if ($[142]
|
|
942
|
-
|
|
943
|
-
|
|
942
|
+
if ($[142] !== t107) {
|
|
943
|
+
t108 = {
|
|
944
|
+
backgroundColor: t107,
|
|
945
|
+
borderRadius: tokens.radius.lg
|
|
946
|
+
};
|
|
944
947
|
$[142] = t107;
|
|
945
948
|
$[143] = t108;
|
|
946
949
|
} else {
|
|
947
|
-
t107 = $[142];
|
|
948
950
|
t108 = $[143];
|
|
949
951
|
}
|
|
950
|
-
|
|
952
|
+
let t109;
|
|
951
953
|
let t110;
|
|
952
954
|
if ($[144] === Symbol.for("react.memo_cache_sentinel")) {
|
|
953
|
-
|
|
954
|
-
|
|
955
|
+
t109 = <SheetRow icon={IconCopy} title="Copy link" onPress={_temp27} />;
|
|
956
|
+
t110 = <SheetRow icon={IconPhoto} title="Save image" detail="To your photo library" onPress={_temp28} />;
|
|
957
|
+
$[144] = t109;
|
|
958
|
+
$[145] = t110;
|
|
955
959
|
} else {
|
|
956
|
-
|
|
960
|
+
t109 = $[144];
|
|
961
|
+
t110 = $[145];
|
|
957
962
|
}
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
$[146] =
|
|
963
|
+
const t111 = sort === "newest";
|
|
964
|
+
let t112;
|
|
965
|
+
if ($[146] === Symbol.for("react.memo_cache_sentinel")) {
|
|
966
|
+
t112 = () => setSort("newest");
|
|
967
|
+
$[146] = t112;
|
|
963
968
|
} else {
|
|
964
|
-
|
|
969
|
+
t112 = $[146];
|
|
965
970
|
}
|
|
966
|
-
const t112 = sort === "name";
|
|
967
971
|
let t113;
|
|
968
|
-
if ($[147]
|
|
969
|
-
t113 =
|
|
970
|
-
$[147] =
|
|
972
|
+
if ($[147] !== t111) {
|
|
973
|
+
t113 = <SheetRow title="Newest first" active={t111} onPress={t112} />;
|
|
974
|
+
$[147] = t111;
|
|
975
|
+
$[148] = t113;
|
|
971
976
|
} else {
|
|
972
|
-
t113 = $[
|
|
977
|
+
t113 = $[148];
|
|
973
978
|
}
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
$[149] =
|
|
979
|
+
const t114 = sort === "name";
|
|
980
|
+
let t115;
|
|
981
|
+
if ($[149] === Symbol.for("react.memo_cache_sentinel")) {
|
|
982
|
+
t115 = () => setSort("name");
|
|
983
|
+
$[149] = t115;
|
|
979
984
|
} else {
|
|
980
|
-
|
|
985
|
+
t115 = $[149];
|
|
981
986
|
}
|
|
982
|
-
let t115;
|
|
983
987
|
let t116;
|
|
984
|
-
if ($[150]
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
$[150] = t115;
|
|
988
|
+
if ($[150] !== t114) {
|
|
989
|
+
t116 = <SheetRow title="By name" active={t114} onPress={t115} />;
|
|
990
|
+
$[150] = t114;
|
|
988
991
|
$[151] = t116;
|
|
989
992
|
} else {
|
|
990
|
-
t115 = $[150];
|
|
991
993
|
t116 = $[151];
|
|
992
994
|
}
|
|
993
995
|
let t117;
|
|
994
|
-
if ($[152] !== t106 || $[153] !== t111 || $[154] !== t114) {
|
|
995
|
-
t117 = <Section title="SheetRow"><View className="py-2" style={t106}>{t107}{t108}{t111}{t114}{t115}{t116}</View></Section>;
|
|
996
|
-
$[152] = t106;
|
|
997
|
-
$[153] = t111;
|
|
998
|
-
$[154] = t114;
|
|
999
|
-
$[155] = t117;
|
|
1000
|
-
} else {
|
|
1001
|
-
t117 = $[155];
|
|
1002
|
-
}
|
|
1003
996
|
let t118;
|
|
1004
|
-
if ($[
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
$[
|
|
997
|
+
if ($[152] === Symbol.for("react.memo_cache_sentinel")) {
|
|
998
|
+
t117 = <SheetRow icon={IconPhoto} title="Export" detail="Needs V Pro" disabled={true} />;
|
|
999
|
+
t118 = <SheetRow icon={IconTrash} title="Delete" danger={true} onPress={_temp29} />;
|
|
1000
|
+
$[152] = t117;
|
|
1001
|
+
$[153] = t118;
|
|
1008
1002
|
} else {
|
|
1009
|
-
|
|
1003
|
+
t117 = $[152];
|
|
1004
|
+
t118 = $[153];
|
|
1010
1005
|
}
|
|
1011
1006
|
let t119;
|
|
1012
|
-
if ($[
|
|
1013
|
-
t119 = <
|
|
1014
|
-
$[
|
|
1007
|
+
if ($[154] !== t108 || $[155] !== t113 || $[156] !== t116) {
|
|
1008
|
+
t119 = <Section title="SheetRow"><View className="py-2" style={t108}>{t109}{t110}{t113}{t116}{t117}{t118}</View></Section>;
|
|
1009
|
+
$[154] = t108;
|
|
1010
|
+
$[155] = t113;
|
|
1011
|
+
$[156] = t116;
|
|
1012
|
+
$[157] = t119;
|
|
1015
1013
|
} else {
|
|
1016
|
-
t119 = $[
|
|
1014
|
+
t119 = $[157];
|
|
1017
1015
|
}
|
|
1018
1016
|
let t120;
|
|
1019
|
-
if ($[
|
|
1020
|
-
t120 = <Section title="
|
|
1017
|
+
if ($[158] !== page) {
|
|
1018
|
+
t120 = <Section title="PageIndicator"><PageIndicator count={4} index={page} /><PageIndicator count={4} index={page} onChange={setPage} /></Section>;
|
|
1019
|
+
$[158] = page;
|
|
1021
1020
|
$[159] = t120;
|
|
1022
1021
|
} else {
|
|
1023
1022
|
t120 = $[159];
|
|
1024
1023
|
}
|
|
1025
1024
|
let t121;
|
|
1026
1025
|
if ($[160] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1027
|
-
t121 = <
|
|
1026
|
+
t121 = <AmbientBackground className="flex-none overflow-hidden rounded-lg"><StackPageHeader title="Details" description="Edited 2 min ago" safeTop={false} onBack={_temp30} headerRight={<ThemeToggle />} /></AmbientBackground>;
|
|
1028
1027
|
$[160] = t121;
|
|
1029
1028
|
} else {
|
|
1030
1029
|
t121 = $[160];
|
|
1031
1030
|
}
|
|
1032
1031
|
let t122;
|
|
1033
1032
|
if ($[161] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1034
|
-
t122 = {
|
|
1035
|
-
backgroundColor: NEUTRAL_900
|
|
1036
|
-
};
|
|
1033
|
+
t122 = <Section title="StackPageHeader">{t121}<AmbientBackground className="flex-none overflow-hidden rounded-lg"><StackPageHeader title="A much longer page title that is cut off" safeTop={false} onBack={_temp31} /></AmbientBackground></Section>;
|
|
1037
1034
|
$[161] = t122;
|
|
1038
1035
|
} else {
|
|
1039
1036
|
t122 = $[161];
|
|
1040
1037
|
}
|
|
1041
1038
|
let t123;
|
|
1042
1039
|
if ($[162] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1043
|
-
t123 = <
|
|
1040
|
+
t123 = <Section title="More from Project V"><MoreFromProjectV current="velth" onOpen={_temp32} /><FromProjectV /></Section>;
|
|
1044
1041
|
$[162] = t123;
|
|
1045
1042
|
} else {
|
|
1046
1043
|
t123 = $[162];
|
|
1047
1044
|
}
|
|
1048
1045
|
let t124;
|
|
1049
|
-
let t125;
|
|
1050
1046
|
if ($[163] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1051
|
-
t124 =
|
|
1052
|
-
|
|
1047
|
+
t124 = {
|
|
1048
|
+
backgroundColor: NEUTRAL_900
|
|
1049
|
+
};
|
|
1053
1050
|
$[163] = t124;
|
|
1054
|
-
$[164] = t125;
|
|
1055
1051
|
} else {
|
|
1056
1052
|
t124 = $[163];
|
|
1053
|
+
}
|
|
1054
|
+
let t125;
|
|
1055
|
+
if ($[164] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1056
|
+
t125 = <View className="flex-row justify-between"><IconButton variant="overlay" icon={IconX} label="Close camera" onPress={_temp33} /><IconButton variant="overlay" icon={IconRefresh} label="Flip camera" onPress={_temp34} /></View>;
|
|
1057
|
+
$[164] = t125;
|
|
1058
|
+
} else {
|
|
1057
1059
|
t125 = $[164];
|
|
1058
1060
|
}
|
|
1059
1061
|
let t126;
|
|
1062
|
+
let t127;
|
|
1060
1063
|
if ($[165] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1061
|
-
t126 = <
|
|
1062
|
-
|
|
1063
|
-
}} /></View></View>;
|
|
1064
|
+
t126 = <IconButton variant="overlay" size="lg" icon={IconPhoto} label="Open library" onPress={_temp35} />;
|
|
1065
|
+
t127 = <CaptureButton onPress={_temp36} />;
|
|
1064
1066
|
$[165] = t126;
|
|
1065
|
-
} else {
|
|
1066
|
-
t126 = $[165];
|
|
1067
|
-
}
|
|
1068
|
-
let t127;
|
|
1069
|
-
if ($[166] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1070
|
-
t127 = <Section title="Camera chrome">{t126}<View className="flex-row items-center gap-3"><IconButton icon={IconCopy} label="Copy" size="sm" onPress={_temp37} /><IconButton icon={IconCopy} label="Copy" onPress={_temp38} /><IconButton icon={IconCopy} label="Copy" size="lg" onPress={_temp39} /><IconButton icon={IconTrash} label="Delete" disabled={true} /></View></Section>;
|
|
1071
1067
|
$[166] = t127;
|
|
1072
1068
|
} else {
|
|
1069
|
+
t126 = $[165];
|
|
1073
1070
|
t127 = $[166];
|
|
1074
1071
|
}
|
|
1075
1072
|
let t128;
|
|
1076
1073
|
if ($[167] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1077
|
-
t128 = <
|
|
1074
|
+
t128 = <View className="h-72 justify-between overflow-hidden rounded-lg p-4" style={t124}>{t125}<View className="flex-row items-center justify-between">{t126}{t127}<View style={{
|
|
1075
|
+
width: 48
|
|
1076
|
+
}} /></View></View>;
|
|
1078
1077
|
$[167] = t128;
|
|
1079
1078
|
} else {
|
|
1080
1079
|
t128 = $[167];
|
|
1081
1080
|
}
|
|
1082
|
-
|
|
1081
|
+
let t129;
|
|
1082
|
+
if ($[168] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1083
|
+
t129 = <Section title="Camera chrome">{t128}<View className="flex-row items-center gap-3"><IconButton icon={IconCopy} label="Copy" size="sm" onPress={_temp37} /><IconButton icon={IconCopy} label="Copy" onPress={_temp38} /><IconButton icon={IconCopy} label="Copy" size="lg" onPress={_temp39} /><IconButton icon={IconTrash} label="Delete" disabled={true} /></View></Section>;
|
|
1084
|
+
$[168] = t129;
|
|
1085
|
+
} else {
|
|
1086
|
+
t129 = $[168];
|
|
1087
|
+
}
|
|
1083
1088
|
let t130;
|
|
1084
|
-
if ($[
|
|
1085
|
-
t130 = <
|
|
1086
|
-
$[
|
|
1087
|
-
$[169] = t129;
|
|
1088
|
-
$[170] = t130;
|
|
1089
|
+
if ($[169] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1090
|
+
t130 = <GalleryText>Tablets</GalleryText>;
|
|
1091
|
+
$[169] = t130;
|
|
1089
1092
|
} else {
|
|
1090
|
-
t130 = $[
|
|
1093
|
+
t130 = $[169];
|
|
1091
1094
|
}
|
|
1092
|
-
const t131 =
|
|
1095
|
+
const t131 = `${dose} tablets`;
|
|
1093
1096
|
let t132;
|
|
1094
|
-
if ($[171] !== t131) {
|
|
1095
|
-
t132 = <
|
|
1097
|
+
if ($[170] !== dose || $[171] !== t131) {
|
|
1098
|
+
t132 = <View className="flex-row items-center justify-between rounded-lg bg-surface px-4 py-3">{t130}<Stepper testID="stepper-dose" value={dose} onChange={setDose} min={1} max={6} decrementLabel="Take one fewer" incrementLabel="Take one more" valueLabel={t131} /></View>;
|
|
1099
|
+
$[170] = dose;
|
|
1096
1100
|
$[171] = t131;
|
|
1097
1101
|
$[172] = t132;
|
|
1098
1102
|
} else {
|
|
1099
1103
|
t132 = $[172];
|
|
1100
1104
|
}
|
|
1101
|
-
|
|
1102
|
-
if ($[173] !== t130 || $[174] !== t132) {
|
|
1103
|
-
t133 = <Section title="Stepper">{t130}{t132}</Section>;
|
|
1104
|
-
$[173] = t130;
|
|
1105
|
-
$[174] = t132;
|
|
1106
|
-
$[175] = t133;
|
|
1107
|
-
} else {
|
|
1108
|
-
t133 = $[175];
|
|
1109
|
-
}
|
|
1105
|
+
const t133 = `Dose: ${dose}`;
|
|
1110
1106
|
let t134;
|
|
1111
|
-
if ($[
|
|
1112
|
-
t134 = <
|
|
1113
|
-
$[
|
|
1107
|
+
if ($[173] !== t133) {
|
|
1108
|
+
t134 = <GalleryText testID="stepper-dose-value">{t133}</GalleryText>;
|
|
1109
|
+
$[173] = t133;
|
|
1110
|
+
$[174] = t134;
|
|
1114
1111
|
} else {
|
|
1115
|
-
t134 = $[
|
|
1112
|
+
t134 = $[174];
|
|
1116
1113
|
}
|
|
1117
1114
|
let t135;
|
|
1118
|
-
if ($[
|
|
1119
|
-
t135 = <
|
|
1115
|
+
if ($[175] !== t132 || $[176] !== t134) {
|
|
1116
|
+
t135 = <Section title="Stepper">{t132}{t134}</Section>;
|
|
1117
|
+
$[175] = t132;
|
|
1118
|
+
$[176] = t134;
|
|
1120
1119
|
$[177] = t135;
|
|
1121
1120
|
} else {
|
|
1122
1121
|
t135 = $[177];
|
|
1123
1122
|
}
|
|
1124
1123
|
let t136;
|
|
1125
1124
|
if ($[178] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1126
|
-
t136 = <
|
|
1125
|
+
t136 = <AiChatSamples />;
|
|
1127
1126
|
$[178] = t136;
|
|
1128
1127
|
} else {
|
|
1129
1128
|
t136 = $[178];
|
|
1130
1129
|
}
|
|
1131
1130
|
let t137;
|
|
1132
1131
|
if ($[179] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1133
|
-
t137 = <
|
|
1132
|
+
t137 = <ChainOfThoughtHeader />;
|
|
1134
1133
|
$[179] = t137;
|
|
1135
1134
|
} else {
|
|
1136
1135
|
t137 = $[179];
|
|
1137
1136
|
}
|
|
1138
1137
|
let t138;
|
|
1139
1138
|
if ($[180] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1140
|
-
t138 = <
|
|
1139
|
+
t138 = <ChainOfThoughtStep label="Read the question" />;
|
|
1141
1140
|
$[180] = t138;
|
|
1142
1141
|
} else {
|
|
1143
1142
|
t138 = $[180];
|
|
1144
1143
|
}
|
|
1145
1144
|
let t139;
|
|
1146
|
-
if ($[181]
|
|
1147
|
-
t139 = <
|
|
1148
|
-
$[181] =
|
|
1149
|
-
|
|
1150
|
-
$[
|
|
1151
|
-
$[184] = t133;
|
|
1152
|
-
$[185] = t19;
|
|
1153
|
-
$[186] = t33;
|
|
1154
|
-
$[187] = t44;
|
|
1155
|
-
$[188] = t68;
|
|
1156
|
-
$[189] = t91;
|
|
1157
|
-
$[190] = t94;
|
|
1158
|
-
$[191] = t98;
|
|
1159
|
-
$[192] = t139;
|
|
1160
|
-
} else {
|
|
1161
|
-
t139 = $[192];
|
|
1145
|
+
if ($[181] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1146
|
+
t139 = <ChainOfThought defaultOpen={true}>{t137}<ChainOfThoughtContent>{t138}<ChainOfThoughtStep label="Search for sync options" status="active"><ChainOfThoughtSearchResults><ChainOfThoughtSearchResult>example.com</ChainOfThoughtSearchResult><ChainOfThoughtSearchResult>example.org</ChainOfThoughtSearchResult></ChainOfThoughtSearchResults></ChainOfThoughtStep><ChainOfThoughtStep label="Write the answer" status="pending" /></ChainOfThoughtContent></ChainOfThought>;
|
|
1147
|
+
$[181] = t139;
|
|
1148
|
+
} else {
|
|
1149
|
+
t139 = $[181];
|
|
1162
1150
|
}
|
|
1163
1151
|
let t140;
|
|
1164
|
-
if ($[
|
|
1165
|
-
t140 =
|
|
1166
|
-
$[
|
|
1152
|
+
if ($[182] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1153
|
+
t140 = <Section title="AI chat">{t136}{t139}<Suggestions><Suggestion suggestion="Summarise this thread" onPress={_temp40} /><Suggestion suggestion="Draft a reply" onPress={_temp41} /></Suggestions><ConversationEmptyState className="flex-none" /></Section>;
|
|
1154
|
+
$[182] = t140;
|
|
1167
1155
|
} else {
|
|
1168
|
-
t140 = $[
|
|
1156
|
+
t140 = $[182];
|
|
1169
1157
|
}
|
|
1170
1158
|
let t141;
|
|
1171
|
-
if ($[
|
|
1172
|
-
t141 =
|
|
1159
|
+
if ($[183] !== t100 || $[184] !== t102 || $[185] !== t119 || $[186] !== t120 || $[187] !== t135 || $[188] !== t20 || $[189] !== t35 || $[190] !== t46 || $[191] !== t70 || $[192] !== t93 || $[193] !== t96) {
|
|
1160
|
+
t141 = <ScrollView keyboardShouldPersistTaps="handled" contentContainerClassName="gap-8 px-4 pt-4" contentContainerStyle={t0}>{t3}{t7}{t20}{t21}{t22}{t35}{t38}{t46}{t51}{t53}{t70}{t93}{t95}{t96}{t100}{t102}{t106}{t119}{t120}{t122}{t123}{t129}{t135}{t140}</ScrollView>;
|
|
1161
|
+
$[183] = t100;
|
|
1162
|
+
$[184] = t102;
|
|
1163
|
+
$[185] = t119;
|
|
1164
|
+
$[186] = t120;
|
|
1165
|
+
$[187] = t135;
|
|
1166
|
+
$[188] = t20;
|
|
1167
|
+
$[189] = t35;
|
|
1168
|
+
$[190] = t46;
|
|
1169
|
+
$[191] = t70;
|
|
1170
|
+
$[192] = t93;
|
|
1171
|
+
$[193] = t96;
|
|
1173
1172
|
$[194] = t141;
|
|
1174
1173
|
} else {
|
|
1175
1174
|
t141 = $[194];
|
|
1176
1175
|
}
|
|
1177
1176
|
let t142;
|
|
1178
|
-
if ($[195]
|
|
1179
|
-
t142 =
|
|
1180
|
-
$[195] =
|
|
1181
|
-
$[196] = t142;
|
|
1177
|
+
if ($[195] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1178
|
+
t142 = () => setPricingOpen(false);
|
|
1179
|
+
$[195] = t142;
|
|
1182
1180
|
} else {
|
|
1183
|
-
t142 = $[
|
|
1181
|
+
t142 = $[195];
|
|
1184
1182
|
}
|
|
1185
1183
|
let t143;
|
|
1186
|
-
if ($[
|
|
1187
|
-
t143 =
|
|
1188
|
-
$[
|
|
1184
|
+
if ($[196] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1185
|
+
t143 = ["vibot", "verve", "velth", "vmem", "vhub"];
|
|
1186
|
+
$[196] = t143;
|
|
1189
1187
|
} else {
|
|
1190
|
-
t143 = $[
|
|
1188
|
+
t143 = $[196];
|
|
1191
1189
|
}
|
|
1192
1190
|
let t144;
|
|
1193
|
-
if ($[
|
|
1194
|
-
t144 = <
|
|
1195
|
-
$[
|
|
1196
|
-
$[
|
|
1197
|
-
|
|
1191
|
+
if ($[197] !== pricingOpen) {
|
|
1192
|
+
t144 = <PricingModal open={pricingOpen} onClose={t142} title="Upgrade to V Pro" apps={t143} currentApp="vibot" headline="One plan. Every V app." plans={PLANS} finePrint="Placeholder prices for the gallery." onCheckout={_temp42} />;
|
|
1193
|
+
$[197] = pricingOpen;
|
|
1194
|
+
$[198] = t144;
|
|
1195
|
+
} else {
|
|
1196
|
+
t144 = $[198];
|
|
1197
|
+
}
|
|
1198
|
+
let t145;
|
|
1199
|
+
if ($[199] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1200
|
+
t145 = <Toaster />;
|
|
1201
|
+
$[199] = t145;
|
|
1202
|
+
} else {
|
|
1203
|
+
t145 = $[199];
|
|
1204
|
+
}
|
|
1205
|
+
let t146;
|
|
1206
|
+
if ($[200] !== t141 || $[201] !== t144) {
|
|
1207
|
+
t146 = <View className="flex-1">{t141}{t144}{t145}</View>;
|
|
1208
|
+
$[200] = t141;
|
|
1209
|
+
$[201] = t144;
|
|
1210
|
+
$[202] = t146;
|
|
1198
1211
|
} else {
|
|
1199
|
-
|
|
1212
|
+
t146 = $[202];
|
|
1200
1213
|
}
|
|
1201
|
-
return
|
|
1214
|
+
return t146;
|
|
1202
1215
|
}
|
|
1203
1216
|
function _temp42(plan, period) {
|
|
1204
1217
|
return toast(`${plan.name} (${period})`);
|
|
@@ -1324,7 +1337,7 @@ function _temp7() {
|
|
|
1324
1337
|
return toast("Copied");
|
|
1325
1338
|
}
|
|
1326
1339
|
function _temp6(variant) {
|
|
1327
|
-
return <Button key={variant} variant={variant} onPress={() => toast(variant)}>{variant}</Button>;
|
|
1340
|
+
return <Button key={variant} testID={`button-variant-${variant}`} variant={variant} onPress={() => toast(variant)}>{variant}</Button>;
|
|
1328
1341
|
}
|
|
1329
1342
|
function _temp5() {
|
|
1330
1343
|
return toast("Continue with Google");
|