@vvedantb/native-ui 0.17.2 → 0.18.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/AlertDialog.jsx +123 -0
- package/dist/AmbientBackground.jsx +73 -0
- package/dist/ArtifactList.jsx +59 -0
- package/dist/Avatar.jsx +285 -0
- package/dist/Badge.jsx +154 -0
- package/dist/BottomSheetContainer.jsx +208 -0
- package/dist/BulkActionBar.jsx +717 -0
- package/dist/Button.jsx +344 -0
- package/dist/CaptureButton.jsx +104 -0
- package/dist/Card.jsx +371 -0
- package/dist/Checkbox.jsx +177 -0
- package/dist/Chip.jsx +79 -0
- package/dist/ColorSwatches.jsx +159 -0
- package/dist/ConfirmDialog.jsx +157 -0
- package/dist/DateTimeField.jsx +204 -0
- package/dist/Dialog.jsx +614 -0
- package/dist/DividedList.jsx +120 -0
- package/dist/DropdownMenu.jsx +849 -0
- package/dist/EmptyState.jsx +434 -0
- package/dist/ExpoWebRoot.jsx +134 -0
- package/dist/FloatingFAB.jsx +95 -0
- package/dist/FloatingSurface.jsx +226 -0
- package/dist/FloatingTabBar.jsx +403 -0
- package/dist/HeaderIconButton.jsx +53 -0
- package/dist/IconButton.jsx +157 -0
- package/dist/Input.jsx +96 -0
- package/dist/Label.jsx +96 -0
- package/dist/LabeledSwitchRow.jsx +170 -0
- package/dist/LiquidGlass.jsx +2 -0
- package/dist/ListRow.jsx +281 -0
- package/dist/LoadingState.jsx +205 -0
- package/dist/PageIndicator.jsx +128 -0
- package/dist/PageTitle.jsx +205 -0
- package/dist/Pager.jsx +105 -0
- package/dist/PasswordInput.jsx +120 -0
- package/dist/PillTabs.jsx +300 -0
- package/dist/PinnedBotTile.jsx +212 -0
- package/dist/Progress.jsx +147 -0
- package/dist/SafeAreaContainer.jsx +38 -0
- package/dist/ScreenContainer.jsx +117 -0
- package/dist/SearchInput.jsx +150 -0
- package/dist/SectionLabel.jsx +128 -0
- package/dist/Select.jsx +223 -0
- package/dist/Separator.jsx +95 -0
- package/dist/Sheet.jsx +343 -0
- package/dist/SheetRow.jsx +198 -0
- package/dist/Skeleton.jsx +311 -0
- package/dist/Spinner.jsx +195 -0
- package/dist/StackPageHeader.jsx +160 -0
- package/dist/StatGrid.jsx +74 -0
- package/dist/StatusDot.jsx +129 -0
- package/dist/SurfaceRow.jsx +143 -0
- package/dist/SwipeableRow.jsx +50 -0
- package/dist/Switch.jsx +130 -0
- package/dist/Tabs.jsx +385 -0
- package/dist/Textarea.jsx +103 -0
- package/dist/ThemeToggle.jsx +78 -0
- package/dist/Toast.jsx +396 -0
- package/dist/ai/activity-step-detail.jsx +179 -0
- package/dist/ai/activity-step-label.js +816 -0
- package/dist/ai/activity-step-types.js +14 -0
- package/dist/ai/activity-step.jsx +98 -0
- package/dist/ai/activity-tasks-utils.js +172 -0
- package/dist/ai/activity-timeline.js +47 -0
- package/dist/ai/attachments.jsx +258 -0
- package/dist/ai/card-button.jsx +188 -0
- package/dist/ai/chain-of-thought.jsx +459 -0
- package/dist/ai/chat-jump-rail.jsx +57 -0
- package/dist/ai/chat-text.js +44 -0
- package/dist/ai/chat-thread.jsx +135 -0
- package/dist/ai/choice-question.jsx +925 -0
- package/dist/ai/code-block.jsx +574 -0
- package/dist/ai/collapsible.jsx +275 -0
- package/dist/ai/conversation.jsx +723 -0
- package/dist/ai/file-chip.jsx +198 -0
- package/dist/ai/icon-button.jsx +179 -0
- package/dist/ai/index.js +37 -0
- package/dist/ai/message-action-sheet.jsx +408 -0
- package/dist/ai/message-quote.jsx +241 -0
- package/dist/ai/message.jsx +739 -0
- package/dist/ai/prompt-input-menu.jsx +365 -0
- package/dist/ai/prompt-input.jsx +626 -0
- package/dist/ai/reasoning.jsx +446 -0
- package/dist/ai/reply-quote-chip.jsx +278 -0
- package/dist/ai/response-text.jsx +130 -0
- package/dist/ai/shimmer.jsx +149 -0
- package/dist/ai/sources.jsx +260 -0
- package/dist/ai/subagent-cards.jsx +645 -0
- package/dist/ai/suggestion.jsx +186 -0
- package/dist/ai/tool-approval-card.jsx +359 -0
- package/dist/ai/trace.jsx +728 -0
- package/dist/ai/unified-diff.jsx +280 -0
- package/dist/ai/use-streaming-disclosure.js +70 -0
- package/dist/auth/AuthProviders.jsx +27 -0
- package/dist/auth/AuthScreen.jsx +292 -0
- package/dist/auth/GoogleSignInButton.jsx +188 -0
- package/dist/auth/SecondFactorScreen.jsx +133 -0
- package/dist/auth/SignInScreen.jsx +482 -0
- package/dist/auth/authErrors.js +131 -0
- package/dist/auth/index.js +11 -0
- package/dist/auth/totp.js +378 -0
- package/dist/blur.js +36 -0
- package/dist/brand/AppIcons.jsx +118 -0
- package/dist/brand/AppMark.jsx +128 -0
- package/dist/brand/AppWordmark.jsx +138 -0
- package/dist/brand/GoogleMark.jsx +71 -0
- package/dist/brand/ProviderIcon.jsx +192 -0
- package/dist/brand/familyApps.js +33 -0
- package/dist/brand/index.js +11 -0
- package/dist/brand/svg.js +252 -0
- package/dist/brand/vProAppBenefits.js +19 -0
- package/dist/cn.js +5 -0
- package/dist/colors.js +15 -0
- package/dist/configureTheme.js +72 -0
- package/dist/controlStyles.js +520 -0
- package/dist/definiteSize.js +12 -0
- package/dist/dialogLayout.js +18 -0
- package/dist/entries/ai.js +4 -0
- package/dist/entries/ambient.js +3 -0
- package/dist/entries/auth.js +5 -0
- package/dist/entries/bottom-sheet.js +2 -0
- package/dist/entries/brand.js +2 -0
- package/dist/entries/button.js +2 -0
- package/dist/entries/date-time.js +3 -0
- package/dist/entries/expo-router.js +4 -0
- package/dist/entries/expo-web-root.js +3 -0
- package/dist/entries/floating.js +7 -0
- package/dist/entries/gesture-handler.js +4 -0
- package/dist/entries/keyboard-controller.js +4 -0
- package/dist/entries/layout.js +16 -0
- package/dist/entries/markdown.js +4 -0
- package/dist/entries/marketing.js +3 -0
- package/dist/entries/page-title.js +7 -0
- package/dist/entries/password-input.js +3 -0
- package/dist/entries/primitives.js +57 -0
- package/dist/entries/search-input.js +3 -0
- package/dist/entries/tab-bar.js +4 -0
- package/dist/entries/theme.js +7 -0
- package/dist/entries/toast.js +5 -0
- package/dist/entries/video.js +3 -0
- package/dist/entries/webview.js +4 -0
- package/dist/examples/AiChatGallery.jsx +509 -0
- package/dist/examples/ParityGallery.jsx +1307 -0
- package/dist/floating.js +62 -0
- package/dist/glassBlur.jsx +145 -0
- package/dist/gradient.js +17 -0
- package/dist/haptics.js +44 -0
- package/dist/highlight.js +382 -0
- package/dist/index.js +85 -0
- package/dist/initials.js +4 -0
- package/dist/loadingGrid.js +81 -0
- package/dist/markdown/Markdown.jsx +515 -0
- package/dist/markdown/MarkdownTable.jsx +443 -0
- package/dist/markdown/tableText.js +68 -0
- package/dist/marketing/PricingModal.jsx +608 -0
- package/dist/marketing/UpgradeToProCard.jsx +164 -0
- package/dist/marketing/pricing.js +34 -0
- package/dist/media/ImageGallery.jsx +580 -0
- package/dist/media/MediaCard.jsx +162 -0
- package/dist/media/imageGrid.js +54 -0
- package/dist/motion.js +33 -0
- package/dist/pagerSwipe.js +104 -0
- package/dist/palette.js +104 -0
- package/dist/primitives/button.jsx +127 -0
- package/dist/primitives/card.jsx +249 -0
- package/dist/primitives/icon.jsx +37 -0
- package/dist/primitives/input.jsx +56 -0
- package/dist/primitives/keyboard-controller.jsx +207 -0
- package/dist/primitives/keyboard-parts.jsx +75 -0
- package/dist/primitives/native-only-animated-view.jsx +68 -0
- package/dist/primitives/overlay.jsx +391 -0
- package/dist/primitives/pager-gesture.jsx +131 -0
- package/dist/primitives/select-host.jsx +103 -0
- package/dist/primitives/select.jsx +555 -0
- package/dist/primitives/sheet-drag.jsx +420 -0
- package/dist/primitives/sheet-gesture.jsx +219 -0
- package/dist/primitives/swipe-row-gesture.jsx +341 -0
- package/dist/primitives/switch.jsx +105 -0
- package/dist/primitives/text.jsx +145 -0
- package/dist/primitives/toast-drag-gesture.jsx +94 -0
- package/dist/primitives/use-controllable-state.js +40 -0
- package/dist/primitives/web-click-guard.js +69 -0
- package/dist/push.js +166 -0
- package/dist/relativeTime.js +70 -0
- package/dist/router/RouterStackPageHeader.jsx +53 -0
- package/dist/selectA11y.js +32 -0
- package/dist/settings/MoreFromProjectV.jsx +168 -0
- package/dist/settings/SettingsEmptyState.jsx +102 -0
- package/dist/settings/SettingsField.jsx +49 -0
- package/dist/settings/SettingsSection.jsx +101 -0
- package/dist/settings/SettingsStack.jsx +17 -0
- package/dist/settings/SettingsToggleRow.jsx +163 -0
- package/dist/settings/projectVMobileApps.js +126 -0
- package/dist/settings/relaxedSizeStyle.js +11 -0
- package/dist/sheetDrag.js +76 -0
- package/dist/svgA11y.js +46 -0
- package/dist/swipeRow.js +161 -0
- package/dist/tabBarRoutes.js +41 -0
- package/dist/tabIndicator.js +139 -0
- package/dist/tailwind-preset.cjs +255 -0
- package/dist/tailwind-preset.d.cts +55 -0
- package/dist/theme.jsx +62 -0
- package/dist/toastChrome.js +110 -0
- package/dist/toastDrag.js +51 -0
- package/dist/toastStore.js +54 -0
- package/dist/tokens.js +70 -0
- package/dist/typography.js +40 -0
- package/dist/useReduceMotion.js +32 -0
- package/dist/useReduceTransparency.js +27 -0
- package/dist/useScheme.js +15 -0
- package/dist/video/InlineVideo.jsx +115 -0
- package/dist/webview/HtmlView.jsx +169 -0
- package/dist/webview/HtmlView.web.jsx +63 -0
- package/dist/webview/htmlView.js +43 -0
- package/package.json +70 -33
- package/src/DropdownMenu.tsx +28 -16
- package/src/FloatingTabBar.tsx +78 -41
- package/src/ai/conversation.tsx +12 -8
- package/src/glassBlur.tsx +47 -22
- package/src/primitives/swipe-row-gesture.tsx +11 -2
|
@@ -0,0 +1,1307 @@
|
|
|
1
|
+
import { c as _c } from "react/compiler-runtime";
|
|
2
|
+
// Reference screen for the components that mirror `@vvedantb/ui`. Render it in
|
|
3
|
+
// an Expo route to compare against the web: it needs the same NativeWind setup
|
|
4
|
+
// as the rest of the package and a `SafeAreaProvider` above it. It always
|
|
5
|
+
// renders the default sizes (larger text off), as the web does. Prices, names
|
|
6
|
+
// and figures below are placeholders, not real data.
|
|
7
|
+
import { useState } from "react";
|
|
8
|
+
import { ScrollView, Text, View } from "react-native";
|
|
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, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeToggle, Toaster, UpgradeToProCard, initials, palette, toast, tokens, useNativeUi } from "../index";
|
|
11
|
+
import { typeStyle } from "../controlStyles";
|
|
12
|
+
import { useScheme } from "../useScheme";
|
|
13
|
+
import { ChainOfThought, ChainOfThoughtContent, ChainOfThoughtHeader, ChainOfThoughtSearchResult, ChainOfThoughtSearchResults, ChainOfThoughtStep, ConversationEmptyState, Suggestion, Suggestions } from "../ai";
|
|
14
|
+
import { AiChatSamples } from "./AiChatGallery";
|
|
15
|
+
const BUTTON_VARIANTS = ["default", "secondary", "outline", "destructive", "ghost", "link"];
|
|
16
|
+
const BADGE_VARIANTS = ["default", "secondary", "destructive", "destructive-soft", "outline", "success", "warning"];
|
|
17
|
+
const STATUS_TONES = ["progress", "business-review", "code-review", "done", "cancelled", "active", "critical", "info", "neutral"];
|
|
18
|
+
const SWATCHES = ["#db2777", "#2563eb", "#16a34a", "#f59e0b", "#181818", "#ffffff"];
|
|
19
|
+
const SWATCH_LABELS = ["Pink", "Blue", "Green", "Amber", "Black", "White"];
|
|
20
|
+
|
|
21
|
+
// Space after the last section, so Card, Upgrade and Overlays can scroll to the
|
|
22
|
+
// top of an 844-tall phone for screenshot crops.
|
|
23
|
+
const GALLERY_END_SPACE = 720;
|
|
24
|
+
const PLANS = [{
|
|
25
|
+
id: "free",
|
|
26
|
+
name: "Free",
|
|
27
|
+
price: {
|
|
28
|
+
month: "£0",
|
|
29
|
+
year: "£0"
|
|
30
|
+
},
|
|
31
|
+
current: true,
|
|
32
|
+
benefits: [{
|
|
33
|
+
label: "Core features"
|
|
34
|
+
}]
|
|
35
|
+
}, {
|
|
36
|
+
id: "pro",
|
|
37
|
+
name: "V Pro",
|
|
38
|
+
price: {
|
|
39
|
+
month: "£X",
|
|
40
|
+
year: "£Y"
|
|
41
|
+
},
|
|
42
|
+
featured: true,
|
|
43
|
+
intro: "Everything in Free, and:"
|
|
44
|
+
}];
|
|
45
|
+
|
|
46
|
+
/** Body text in the scheme's foreground (a style, so it reads in dark mode too). */
|
|
47
|
+
function GalleryText(t0) {
|
|
48
|
+
const $ = _c(13);
|
|
49
|
+
let className;
|
|
50
|
+
let props;
|
|
51
|
+
let style;
|
|
52
|
+
if ($[0] !== t0) {
|
|
53
|
+
({
|
|
54
|
+
className,
|
|
55
|
+
style,
|
|
56
|
+
...props
|
|
57
|
+
} = t0);
|
|
58
|
+
$[0] = t0;
|
|
59
|
+
$[1] = className;
|
|
60
|
+
$[2] = props;
|
|
61
|
+
$[3] = style;
|
|
62
|
+
} else {
|
|
63
|
+
className = $[1];
|
|
64
|
+
props = $[2];
|
|
65
|
+
style = $[3];
|
|
66
|
+
}
|
|
67
|
+
const scheme = useScheme();
|
|
68
|
+
const t1 = className ?? "font-instrument-sans text-base";
|
|
69
|
+
const t2 = tokens.color.foreground[scheme];
|
|
70
|
+
let t3;
|
|
71
|
+
if ($[4] !== t2) {
|
|
72
|
+
t3 = {
|
|
73
|
+
color: t2
|
|
74
|
+
};
|
|
75
|
+
$[4] = t2;
|
|
76
|
+
$[5] = t3;
|
|
77
|
+
} else {
|
|
78
|
+
t3 = $[5];
|
|
79
|
+
}
|
|
80
|
+
let t4;
|
|
81
|
+
if ($[6] !== style || $[7] !== t3) {
|
|
82
|
+
t4 = [t3, style];
|
|
83
|
+
$[6] = style;
|
|
84
|
+
$[7] = t3;
|
|
85
|
+
$[8] = t4;
|
|
86
|
+
} else {
|
|
87
|
+
t4 = $[8];
|
|
88
|
+
}
|
|
89
|
+
let t5;
|
|
90
|
+
if ($[9] !== props || $[10] !== t1 || $[11] !== t4) {
|
|
91
|
+
t5 = <Text className={t1} style={t4} {...props} />;
|
|
92
|
+
$[9] = props;
|
|
93
|
+
$[10] = t1;
|
|
94
|
+
$[11] = t4;
|
|
95
|
+
$[12] = t5;
|
|
96
|
+
} else {
|
|
97
|
+
t5 = $[12];
|
|
98
|
+
}
|
|
99
|
+
return t5;
|
|
100
|
+
}
|
|
101
|
+
function Section(t0) {
|
|
102
|
+
const $ = _c(6);
|
|
103
|
+
const {
|
|
104
|
+
title,
|
|
105
|
+
children
|
|
106
|
+
} = t0;
|
|
107
|
+
let t1;
|
|
108
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
109
|
+
t1 = typeStyle("semibold");
|
|
110
|
+
$[0] = t1;
|
|
111
|
+
} else {
|
|
112
|
+
t1 = $[0];
|
|
113
|
+
}
|
|
114
|
+
let t2;
|
|
115
|
+
if ($[1] !== title) {
|
|
116
|
+
t2 = <GalleryText accessibilityRole="header" className="font-instrument-sans-semibold text-lg" style={t1}>{title}</GalleryText>;
|
|
117
|
+
$[1] = title;
|
|
118
|
+
$[2] = t2;
|
|
119
|
+
} else {
|
|
120
|
+
t2 = $[2];
|
|
121
|
+
}
|
|
122
|
+
let t3;
|
|
123
|
+
if ($[3] !== children || $[4] !== t2) {
|
|
124
|
+
t3 = <View className="gap-3">{t2}{children}</View>;
|
|
125
|
+
$[3] = children;
|
|
126
|
+
$[4] = t2;
|
|
127
|
+
$[5] = t3;
|
|
128
|
+
} else {
|
|
129
|
+
t3 = $[5];
|
|
130
|
+
}
|
|
131
|
+
return t3;
|
|
132
|
+
}
|
|
133
|
+
export function ParityGallery() {
|
|
134
|
+
const $ = _c(3);
|
|
135
|
+
const {
|
|
136
|
+
accentColor
|
|
137
|
+
} = useNativeUi();
|
|
138
|
+
let t0;
|
|
139
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
140
|
+
t0 = <GalleryScreen />;
|
|
141
|
+
$[0] = t0;
|
|
142
|
+
} else {
|
|
143
|
+
t0 = $[0];
|
|
144
|
+
}
|
|
145
|
+
let t1;
|
|
146
|
+
if ($[1] !== accentColor) {
|
|
147
|
+
t1 = <NativeUiProvider largerText={false} accentColor={accentColor}>{t0}</NativeUiProvider>;
|
|
148
|
+
$[1] = accentColor;
|
|
149
|
+
$[2] = t1;
|
|
150
|
+
} else {
|
|
151
|
+
t1 = $[2];
|
|
152
|
+
}
|
|
153
|
+
return t1;
|
|
154
|
+
}
|
|
155
|
+
function GalleryScreen() {
|
|
156
|
+
const $ = _c(191);
|
|
157
|
+
const [checked, setChecked] = useState("indeterminate");
|
|
158
|
+
const [switchOn, setSwitchOn] = useState(true);
|
|
159
|
+
const [colour, setColour] = useState(undefined);
|
|
160
|
+
const [emptySearch, setEmptySearch] = useState("");
|
|
161
|
+
const [search, setSearch] = useState("Pink");
|
|
162
|
+
const [progress, setProgress] = useState(40);
|
|
163
|
+
const [pricingOpen, setPricingOpen] = useState(false);
|
|
164
|
+
const [confirmOpen, setConfirmOpen] = useState(false);
|
|
165
|
+
const [swatch, setSwatch] = useState(SWATCHES[0]);
|
|
166
|
+
const [due, setDue] = useState(null);
|
|
167
|
+
const [when, setWhen] = useState(_temp);
|
|
168
|
+
const [muted, setMuted] = useState(false);
|
|
169
|
+
const [sort, setSort] = useState("newest");
|
|
170
|
+
const [page, setPage] = useState(0);
|
|
171
|
+
const [menuSort, setMenuSort] = useState("newest");
|
|
172
|
+
const [picked, setPicked] = useState(2);
|
|
173
|
+
const scheme = useScheme();
|
|
174
|
+
let t0;
|
|
175
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
176
|
+
t0 = {
|
|
177
|
+
paddingBottom: GALLERY_END_SPACE
|
|
178
|
+
};
|
|
179
|
+
$[0] = t0;
|
|
180
|
+
} else {
|
|
181
|
+
t0 = $[0];
|
|
182
|
+
}
|
|
183
|
+
let t1;
|
|
184
|
+
if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
185
|
+
t1 = <PageTitle>Updates</PageTitle>;
|
|
186
|
+
$[1] = t1;
|
|
187
|
+
} else {
|
|
188
|
+
t1 = $[1];
|
|
189
|
+
}
|
|
190
|
+
let t2;
|
|
191
|
+
if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
192
|
+
t2 = <PageHeader title="Apps" safeTop={false} className="px-0" action={<Button variant="ghost" size="sm" fullWidth={false} onPress={_temp2}>Update all</Button>} />;
|
|
193
|
+
$[2] = t2;
|
|
194
|
+
} else {
|
|
195
|
+
t2 = $[2];
|
|
196
|
+
}
|
|
197
|
+
let t3;
|
|
198
|
+
if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
|
|
199
|
+
t3 = <Section title="Page title">{t1}{t2}<PageHeader title="Settings" safeTop={false} className="px-0" action={<ThemeToggle />} /></Section>;
|
|
200
|
+
$[3] = t3;
|
|
201
|
+
} else {
|
|
202
|
+
t3 = $[3];
|
|
203
|
+
}
|
|
204
|
+
let t4;
|
|
205
|
+
if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
|
|
206
|
+
t4 = ["vibot", "verve", "velth", "vmem", "vhub"];
|
|
207
|
+
$[4] = t4;
|
|
208
|
+
} else {
|
|
209
|
+
t4 = $[4];
|
|
210
|
+
}
|
|
211
|
+
let t5;
|
|
212
|
+
if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
213
|
+
t5 = t4.map(_temp3);
|
|
214
|
+
$[5] = t5;
|
|
215
|
+
} else {
|
|
216
|
+
t5 = $[5];
|
|
217
|
+
}
|
|
218
|
+
let t6;
|
|
219
|
+
if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
|
|
220
|
+
t6 = <View className="flex-row flex-wrap items-center gap-3">{APP_NAMES.map(_temp4)}<AppMark app="vibot" variant="tile" size={40} /><AppMark app="vibot" variant="tile-light" size={40} /><GoogleMark size={28} /></View>;
|
|
221
|
+
$[6] = t6;
|
|
222
|
+
} else {
|
|
223
|
+
t6 = $[6];
|
|
224
|
+
}
|
|
225
|
+
let t7;
|
|
226
|
+
if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
|
|
227
|
+
t7 = <Section title="Brand">{t5}{t6}<Button variant="outline" leftIcon={<GoogleMark />} onPress={_temp5}>Continue with Google</Button></Section>;
|
|
228
|
+
$[7] = t7;
|
|
229
|
+
} else {
|
|
230
|
+
t7 = $[7];
|
|
231
|
+
}
|
|
232
|
+
let t8;
|
|
233
|
+
if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
|
|
234
|
+
t8 = BUTTON_VARIANTS.map(_temp6);
|
|
235
|
+
$[8] = t8;
|
|
236
|
+
} else {
|
|
237
|
+
t8 = $[8];
|
|
238
|
+
}
|
|
239
|
+
let t9;
|
|
240
|
+
if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
|
|
241
|
+
t9 = <View className="gap-2">{t8}<View className="flex-row gap-2"><Button size="sm" fullWidth={false} loading={true}>Saving</Button><Button size="sm" fullWidth={false} disabled={true}>Disabled</Button></View></View>;
|
|
242
|
+
$[9] = t9;
|
|
243
|
+
} else {
|
|
244
|
+
t9 = $[9];
|
|
245
|
+
}
|
|
246
|
+
let t10;
|
|
247
|
+
let t11;
|
|
248
|
+
let t12;
|
|
249
|
+
if ($[10] === Symbol.for("react.memo_cache_sentinel")) {
|
|
250
|
+
t10 = <Button size="sm" fullWidth={false}>Small</Button>;
|
|
251
|
+
t11 = <Button fullWidth={false}>Default</Button>;
|
|
252
|
+
t12 = <Button size="lg" fullWidth={false}>Large</Button>;
|
|
253
|
+
$[10] = t10;
|
|
254
|
+
$[11] = t11;
|
|
255
|
+
$[12] = t12;
|
|
256
|
+
} else {
|
|
257
|
+
t10 = $[10];
|
|
258
|
+
t11 = $[11];
|
|
259
|
+
t12 = $[12];
|
|
260
|
+
}
|
|
261
|
+
const t13 = tokens.color.foreground[scheme];
|
|
262
|
+
let t14;
|
|
263
|
+
if ($[13] !== t13) {
|
|
264
|
+
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>;
|
|
265
|
+
$[13] = t13;
|
|
266
|
+
$[14] = t14;
|
|
267
|
+
} else {
|
|
268
|
+
t14 = $[14];
|
|
269
|
+
}
|
|
270
|
+
let t15;
|
|
271
|
+
let t16;
|
|
272
|
+
if ($[15] === Symbol.for("react.memo_cache_sentinel")) {
|
|
273
|
+
t15 = <Button shape="rounded" size="sm" fullWidth={false}>Rounded</Button>;
|
|
274
|
+
t16 = <Button shape="rounded" variant="secondary" fullWidth={false}>Rounded</Button>;
|
|
275
|
+
$[15] = t15;
|
|
276
|
+
$[16] = t16;
|
|
277
|
+
} else {
|
|
278
|
+
t15 = $[15];
|
|
279
|
+
t16 = $[16];
|
|
280
|
+
}
|
|
281
|
+
const t17 = tokens.color.foreground[scheme];
|
|
282
|
+
let t18;
|
|
283
|
+
if ($[17] !== t17) {
|
|
284
|
+
t18 = <View className="flex-row flex-wrap items-center gap-2">{t15}{t16}<Button shape="rounded" size="icon" variant="outline" accessibilityLabel="Copy" onPress={_temp8}><IconCopy size={16} color={t17} /></Button></View>;
|
|
285
|
+
$[17] = t17;
|
|
286
|
+
$[18] = t18;
|
|
287
|
+
} else {
|
|
288
|
+
t18 = $[18];
|
|
289
|
+
}
|
|
290
|
+
let t19;
|
|
291
|
+
if ($[19] !== t14 || $[20] !== t18) {
|
|
292
|
+
t19 = <Section title="Button">{t9}{t14}{t18}</Section>;
|
|
293
|
+
$[19] = t14;
|
|
294
|
+
$[20] = t18;
|
|
295
|
+
$[21] = t19;
|
|
296
|
+
} else {
|
|
297
|
+
t19 = $[21];
|
|
298
|
+
}
|
|
299
|
+
let t20;
|
|
300
|
+
if ($[22] === Symbol.for("react.memo_cache_sentinel")) {
|
|
301
|
+
t20 = <Section title="Badge"><View className="flex-row flex-wrap gap-2">{BADGE_VARIANTS.map(_temp9)}</View></Section>;
|
|
302
|
+
$[22] = t20;
|
|
303
|
+
} else {
|
|
304
|
+
t20 = $[22];
|
|
305
|
+
}
|
|
306
|
+
let t21;
|
|
307
|
+
if ($[23] === Symbol.for("react.memo_cache_sentinel")) {
|
|
308
|
+
t21 = <Section title="StatusDot"><View className="flex-row flex-wrap items-center gap-3">{STATUS_TONES.map(_temp0)}</View></Section>;
|
|
309
|
+
$[23] = t21;
|
|
310
|
+
} else {
|
|
311
|
+
t21 = $[23];
|
|
312
|
+
}
|
|
313
|
+
let t22;
|
|
314
|
+
if ($[24] === Symbol.for("react.memo_cache_sentinel")) {
|
|
315
|
+
t22 = <View className="gap-2"><Label nativeID="gallery-name">Name</Label><Input placeholder="Your name" accessibilityLabel="Name" /></View>;
|
|
316
|
+
$[24] = t22;
|
|
317
|
+
} else {
|
|
318
|
+
t22 = $[24];
|
|
319
|
+
}
|
|
320
|
+
let t23;
|
|
321
|
+
if ($[25] !== emptySearch) {
|
|
322
|
+
t23 = <SearchInput value={emptySearch} onChange={setEmptySearch} />;
|
|
323
|
+
$[25] = emptySearch;
|
|
324
|
+
$[26] = t23;
|
|
325
|
+
} else {
|
|
326
|
+
t23 = $[26];
|
|
327
|
+
}
|
|
328
|
+
let t24;
|
|
329
|
+
if ($[27] !== search) {
|
|
330
|
+
t24 = <SearchInput value={search} onChange={setSearch} size="md" label="Search colours" />;
|
|
331
|
+
$[27] = search;
|
|
332
|
+
$[28] = t24;
|
|
333
|
+
} else {
|
|
334
|
+
t24 = $[28];
|
|
335
|
+
}
|
|
336
|
+
let t25;
|
|
337
|
+
if ($[29] === Symbol.for("react.memo_cache_sentinel")) {
|
|
338
|
+
t25 = <Textarea placeholder="Notes" accessibilityLabel="Notes" />;
|
|
339
|
+
$[29] = t25;
|
|
340
|
+
} else {
|
|
341
|
+
t25 = $[29];
|
|
342
|
+
}
|
|
343
|
+
let t26;
|
|
344
|
+
if ($[30] === Symbol.for("react.memo_cache_sentinel")) {
|
|
345
|
+
t26 = [{
|
|
346
|
+
label: "Pink",
|
|
347
|
+
value: "pink"
|
|
348
|
+
}, {
|
|
349
|
+
label: "None",
|
|
350
|
+
value: null
|
|
351
|
+
}];
|
|
352
|
+
$[30] = t26;
|
|
353
|
+
} else {
|
|
354
|
+
t26 = $[30];
|
|
355
|
+
}
|
|
356
|
+
let t27;
|
|
357
|
+
if ($[31] !== colour) {
|
|
358
|
+
t27 = <Select value={colour} onValueChange={setColour} placeholder="Pick a colour" options={t26} />;
|
|
359
|
+
$[31] = colour;
|
|
360
|
+
$[32] = t27;
|
|
361
|
+
} else {
|
|
362
|
+
t27 = $[32];
|
|
363
|
+
}
|
|
364
|
+
let t28;
|
|
365
|
+
if ($[33] !== checked) {
|
|
366
|
+
t28 = <Checkbox checked={checked} onCheckedChange={setChecked} accessibilityLabel="Remember me" />;
|
|
367
|
+
$[33] = checked;
|
|
368
|
+
$[34] = t28;
|
|
369
|
+
} else {
|
|
370
|
+
t28 = $[34];
|
|
371
|
+
}
|
|
372
|
+
let t29;
|
|
373
|
+
if ($[35] === Symbol.for("react.memo_cache_sentinel")) {
|
|
374
|
+
t29 = <Label nativeID="gallery-remember">Remember me</Label>;
|
|
375
|
+
$[35] = t29;
|
|
376
|
+
} else {
|
|
377
|
+
t29 = $[35];
|
|
378
|
+
}
|
|
379
|
+
let t30;
|
|
380
|
+
if ($[36] !== switchOn) {
|
|
381
|
+
t30 = <Switch checked={switchOn} onCheckedChange={setSwitchOn} />;
|
|
382
|
+
$[36] = switchOn;
|
|
383
|
+
$[37] = t30;
|
|
384
|
+
} else {
|
|
385
|
+
t30 = $[37];
|
|
386
|
+
}
|
|
387
|
+
let t31;
|
|
388
|
+
if ($[38] !== t28 || $[39] !== t30) {
|
|
389
|
+
t31 = <View className="flex-row items-center gap-3">{t28}{t29}{t30}</View>;
|
|
390
|
+
$[38] = t28;
|
|
391
|
+
$[39] = t30;
|
|
392
|
+
$[40] = t31;
|
|
393
|
+
} else {
|
|
394
|
+
t31 = $[40];
|
|
395
|
+
}
|
|
396
|
+
let t32;
|
|
397
|
+
if ($[41] !== switchOn) {
|
|
398
|
+
t32 = <LabeledSwitchRow label="Reminders" description="A daily nudge at 9:00." checked={switchOn} onCheckedChange={setSwitchOn} />;
|
|
399
|
+
$[41] = switchOn;
|
|
400
|
+
$[42] = t32;
|
|
401
|
+
} else {
|
|
402
|
+
t32 = $[42];
|
|
403
|
+
}
|
|
404
|
+
let t33;
|
|
405
|
+
if ($[43] !== t23 || $[44] !== t24 || $[45] !== t27 || $[46] !== t31 || $[47] !== t32) {
|
|
406
|
+
t33 = <Section title="Fields">{t22}{t23}{t24}{t25}{t27}{t31}{t32}</Section>;
|
|
407
|
+
$[43] = t23;
|
|
408
|
+
$[44] = t24;
|
|
409
|
+
$[45] = t27;
|
|
410
|
+
$[46] = t31;
|
|
411
|
+
$[47] = t32;
|
|
412
|
+
$[48] = t33;
|
|
413
|
+
} else {
|
|
414
|
+
t33 = $[48];
|
|
415
|
+
}
|
|
416
|
+
let t34;
|
|
417
|
+
if ($[49] === Symbol.for("react.memo_cache_sentinel")) {
|
|
418
|
+
t34 = <TabsList variant="segmented"><TabsTrigger value="one">One</TabsTrigger><TabsTrigger value="two">Two</TabsTrigger><TabsTrigger value="three" disabled={true}>Three</TabsTrigger></TabsList>;
|
|
419
|
+
$[49] = t34;
|
|
420
|
+
} else {
|
|
421
|
+
t34 = $[49];
|
|
422
|
+
}
|
|
423
|
+
let t35;
|
|
424
|
+
if ($[50] === Symbol.for("react.memo_cache_sentinel")) {
|
|
425
|
+
t35 = <TabsContent value="one"><GalleryText>First panel</GalleryText></TabsContent>;
|
|
426
|
+
$[50] = t35;
|
|
427
|
+
} else {
|
|
428
|
+
t35 = $[50];
|
|
429
|
+
}
|
|
430
|
+
let t36;
|
|
431
|
+
if ($[51] === Symbol.for("react.memo_cache_sentinel")) {
|
|
432
|
+
t36 = <Section title="Tabs"><Tabs defaultValue="one">{t34}{t35}<TabsContent value="two"><GalleryText>Second panel</GalleryText></TabsContent></Tabs></Section>;
|
|
433
|
+
$[51] = t36;
|
|
434
|
+
} else {
|
|
435
|
+
t36 = $[51];
|
|
436
|
+
}
|
|
437
|
+
let t37;
|
|
438
|
+
if ($[52] === Symbol.for("react.memo_cache_sentinel")) {
|
|
439
|
+
t37 = <Avatar><AvatarFallback>{initials("Ada Lovelace")}</AvatarFallback></Avatar>;
|
|
440
|
+
$[52] = t37;
|
|
441
|
+
} else {
|
|
442
|
+
t37 = $[52];
|
|
443
|
+
}
|
|
444
|
+
let t38;
|
|
445
|
+
if ($[53] === Symbol.for("react.memo_cache_sentinel")) {
|
|
446
|
+
t38 = <View className="flex-row items-center gap-3">{t37}<Avatar size={56}><AvatarFallback>{initials("vibot")}</AvatarFallback></Avatar><Spinner /><Spinner size="lg" /></View>;
|
|
447
|
+
$[53] = t38;
|
|
448
|
+
} else {
|
|
449
|
+
t38 = $[53];
|
|
450
|
+
}
|
|
451
|
+
let t39;
|
|
452
|
+
if ($[54] !== progress) {
|
|
453
|
+
t39 = <Progress value={progress} />;
|
|
454
|
+
$[54] = progress;
|
|
455
|
+
$[55] = t39;
|
|
456
|
+
} else {
|
|
457
|
+
t39 = $[55];
|
|
458
|
+
}
|
|
459
|
+
let t40;
|
|
460
|
+
let t41;
|
|
461
|
+
let t42;
|
|
462
|
+
if ($[56] === Symbol.for("react.memo_cache_sentinel")) {
|
|
463
|
+
t40 = <Button variant="secondary" size="sm" onPress={() => setProgress(_temp1)}>Step progress</Button>;
|
|
464
|
+
t41 = <Skeleton className="h-4 w-32" />;
|
|
465
|
+
t42 = <Separator />;
|
|
466
|
+
$[56] = t40;
|
|
467
|
+
$[57] = t41;
|
|
468
|
+
$[58] = t42;
|
|
469
|
+
} else {
|
|
470
|
+
t40 = $[56];
|
|
471
|
+
t41 = $[57];
|
|
472
|
+
t42 = $[58];
|
|
473
|
+
}
|
|
474
|
+
let t43;
|
|
475
|
+
if ($[59] === Symbol.for("react.memo_cache_sentinel")) {
|
|
476
|
+
t43 = <View className="h-24"><CenteredSpinner label="Loading list" /></View>;
|
|
477
|
+
$[59] = t43;
|
|
478
|
+
} else {
|
|
479
|
+
t43 = $[59];
|
|
480
|
+
}
|
|
481
|
+
let t44;
|
|
482
|
+
if ($[60] !== t39) {
|
|
483
|
+
t44 = <Section title="Avatar, Progress, Spinner, Skeleton">{t38}{t39}{t40}{t41}{t42}{t43}</Section>;
|
|
484
|
+
$[60] = t39;
|
|
485
|
+
$[61] = t44;
|
|
486
|
+
} else {
|
|
487
|
+
t44 = $[61];
|
|
488
|
+
}
|
|
489
|
+
let t45;
|
|
490
|
+
if ($[62] === Symbol.for("react.memo_cache_sentinel")) {
|
|
491
|
+
t45 = <Card title="Today" description="Card props, as before."><GalleryText>Body</GalleryText></Card>;
|
|
492
|
+
$[62] = t45;
|
|
493
|
+
} else {
|
|
494
|
+
t45 = $[62];
|
|
495
|
+
}
|
|
496
|
+
let t46;
|
|
497
|
+
if ($[63] === Symbol.for("react.memo_cache_sentinel")) {
|
|
498
|
+
t46 = <Card title="Pressable" description="onPress makes the whole card a button." onPress={_temp10}><GalleryText>Tap anywhere on the card.</GalleryText></Card>;
|
|
499
|
+
$[63] = t46;
|
|
500
|
+
} else {
|
|
501
|
+
t46 = $[63];
|
|
502
|
+
}
|
|
503
|
+
let t47;
|
|
504
|
+
if ($[64] === Symbol.for("react.memo_cache_sentinel")) {
|
|
505
|
+
t47 = <CardHeader><CardTitle>Composed</CardTitle><CardDescription>Web part names inside the native card.</CardDescription></CardHeader>;
|
|
506
|
+
$[64] = t47;
|
|
507
|
+
} else {
|
|
508
|
+
t47 = $[64];
|
|
509
|
+
}
|
|
510
|
+
let t48;
|
|
511
|
+
if ($[65] === Symbol.for("react.memo_cache_sentinel")) {
|
|
512
|
+
t48 = <CardContent><GalleryText>Content</GalleryText></CardContent>;
|
|
513
|
+
$[65] = t48;
|
|
514
|
+
} else {
|
|
515
|
+
t48 = $[65];
|
|
516
|
+
}
|
|
517
|
+
let t49;
|
|
518
|
+
if ($[66] === Symbol.for("react.memo_cache_sentinel")) {
|
|
519
|
+
t49 = <Section title="Card">{t45}{t46}<Card>{t47}{t48}<CardFooter><Button size="sm" fullWidth={false} variant="secondary">Later</Button><Button size="sm" fullWidth={false}>Save</Button></CardFooter></Card></Section>;
|
|
520
|
+
$[66] = t49;
|
|
521
|
+
} else {
|
|
522
|
+
t49 = $[66];
|
|
523
|
+
}
|
|
524
|
+
let t50;
|
|
525
|
+
if ($[67] === Symbol.for("react.memo_cache_sentinel")) {
|
|
526
|
+
t50 = <UpgradeToProCard onUpgrade={() => setPricingOpen(true)} />;
|
|
527
|
+
$[67] = t50;
|
|
528
|
+
} else {
|
|
529
|
+
t50 = $[67];
|
|
530
|
+
}
|
|
531
|
+
let t51;
|
|
532
|
+
if ($[68] === Symbol.for("react.memo_cache_sentinel")) {
|
|
533
|
+
t51 = <Section title="Upgrade">{t50}<UpgradeToProCard collapsed={true} onUpgrade={() => setPricingOpen(true)} /></Section>;
|
|
534
|
+
$[68] = t51;
|
|
535
|
+
} else {
|
|
536
|
+
t51 = $[68];
|
|
537
|
+
}
|
|
538
|
+
let t52;
|
|
539
|
+
if ($[69] === Symbol.for("react.memo_cache_sentinel")) {
|
|
540
|
+
t52 = <DialogTrigger asChild={true}><Button variant="secondary">Open dialog</Button></DialogTrigger>;
|
|
541
|
+
$[69] = t52;
|
|
542
|
+
} else {
|
|
543
|
+
t52 = $[69];
|
|
544
|
+
}
|
|
545
|
+
let t53;
|
|
546
|
+
if ($[70] === Symbol.for("react.memo_cache_sentinel")) {
|
|
547
|
+
t53 = <DialogHeader><DialogTitle>Rename list</DialogTitle><DialogDescription>Pick a short name.</DialogDescription></DialogHeader>;
|
|
548
|
+
$[70] = t53;
|
|
549
|
+
} else {
|
|
550
|
+
t53 = $[70];
|
|
551
|
+
}
|
|
552
|
+
let t54;
|
|
553
|
+
if ($[71] === Symbol.for("react.memo_cache_sentinel")) {
|
|
554
|
+
t54 = <DialogBody><Input placeholder="Name" accessibilityLabel="List name" /></DialogBody>;
|
|
555
|
+
$[71] = t54;
|
|
556
|
+
} else {
|
|
557
|
+
t54 = $[71];
|
|
558
|
+
}
|
|
559
|
+
let t55;
|
|
560
|
+
if ($[72] === Symbol.for("react.memo_cache_sentinel")) {
|
|
561
|
+
t55 = <DialogClose asChild={true}><Button variant="secondary" shadowType="flat" fullWidth={false}>Cancel</Button></DialogClose>;
|
|
562
|
+
$[72] = t55;
|
|
563
|
+
} else {
|
|
564
|
+
t55 = $[72];
|
|
565
|
+
}
|
|
566
|
+
let t56;
|
|
567
|
+
if ($[73] === Symbol.for("react.memo_cache_sentinel")) {
|
|
568
|
+
t56 = <Dialog>{t52}<DialogContent>{t53}{t54}<DialogFooter>{t55}<DialogClose asChild={true}><Button shadowType="flat" fullWidth={false} onPress={_temp11}>Save</Button></DialogClose></DialogFooter></DialogContent></Dialog>;
|
|
569
|
+
$[73] = t56;
|
|
570
|
+
} else {
|
|
571
|
+
t56 = $[73];
|
|
572
|
+
}
|
|
573
|
+
let t57;
|
|
574
|
+
if ($[74] === Symbol.for("react.memo_cache_sentinel")) {
|
|
575
|
+
t57 = <AlertDialogTrigger asChild={true}><Button variant="secondary">Open alert dialog</Button></AlertDialogTrigger>;
|
|
576
|
+
$[74] = t57;
|
|
577
|
+
} else {
|
|
578
|
+
t57 = $[74];
|
|
579
|
+
}
|
|
580
|
+
let t58;
|
|
581
|
+
if ($[75] === Symbol.for("react.memo_cache_sentinel")) {
|
|
582
|
+
t58 = <AlertDialogHeader><AlertDialogTitle>Delete this list?</AlertDialogTitle><AlertDialogDescription>This cannot be undone.</AlertDialogDescription></AlertDialogHeader>;
|
|
583
|
+
$[75] = t58;
|
|
584
|
+
} else {
|
|
585
|
+
t58 = $[75];
|
|
586
|
+
}
|
|
587
|
+
let t59;
|
|
588
|
+
if ($[76] === Symbol.for("react.memo_cache_sentinel")) {
|
|
589
|
+
t59 = <AlertDialog>{t57}<AlertDialogContent>{t58}<AlertDialogFooter><AlertDialogCancel>Cancel</AlertDialogCancel><AlertDialogAction variant="destructive" onPress={_temp12}>Delete</AlertDialogAction></AlertDialogFooter></AlertDialogContent></AlertDialog>;
|
|
590
|
+
$[76] = t59;
|
|
591
|
+
} else {
|
|
592
|
+
t59 = $[76];
|
|
593
|
+
}
|
|
594
|
+
let t60;
|
|
595
|
+
if ($[77] === Symbol.for("react.memo_cache_sentinel")) {
|
|
596
|
+
t60 = <Button variant="secondary" onPress={() => setConfirmOpen(true)}>Open confirm dialog</Button>;
|
|
597
|
+
$[77] = t60;
|
|
598
|
+
} else {
|
|
599
|
+
t60 = $[77];
|
|
600
|
+
}
|
|
601
|
+
let t61;
|
|
602
|
+
if ($[78] !== confirmOpen) {
|
|
603
|
+
t61 = <ConfirmDialog open={confirmOpen} onOpenChange={setConfirmOpen} title="Sign out?" description="You can sign back in at any time." confirmLabel="Sign out" variant="destructive" onConfirm={_temp13} />;
|
|
604
|
+
$[78] = confirmOpen;
|
|
605
|
+
$[79] = t61;
|
|
606
|
+
} else {
|
|
607
|
+
t61 = $[79];
|
|
608
|
+
}
|
|
609
|
+
let t62;
|
|
610
|
+
if ($[80] === Symbol.for("react.memo_cache_sentinel")) {
|
|
611
|
+
t62 = <SheetTrigger asChild={true}><Button variant="secondary">Open sheet</Button></SheetTrigger>;
|
|
612
|
+
$[80] = t62;
|
|
613
|
+
} else {
|
|
614
|
+
t62 = $[80];
|
|
615
|
+
}
|
|
616
|
+
let t63;
|
|
617
|
+
if ($[81] === Symbol.for("react.memo_cache_sentinel")) {
|
|
618
|
+
t63 = <SheetHeader><SheetTitle>Filters</SheetTitle><SheetDescription>Narrow the list.</SheetDescription></SheetHeader>;
|
|
619
|
+
$[81] = t63;
|
|
620
|
+
} else {
|
|
621
|
+
t63 = $[81];
|
|
622
|
+
}
|
|
623
|
+
let t64;
|
|
624
|
+
if ($[82] !== switchOn) {
|
|
625
|
+
t64 = <LabeledSwitchRow label="Done items" checked={switchOn} onCheckedChange={setSwitchOn} />;
|
|
626
|
+
$[82] = switchOn;
|
|
627
|
+
$[83] = t64;
|
|
628
|
+
} else {
|
|
629
|
+
t64 = $[83];
|
|
630
|
+
}
|
|
631
|
+
let t65;
|
|
632
|
+
if ($[84] === Symbol.for("react.memo_cache_sentinel")) {
|
|
633
|
+
t65 = <SheetFooter><Button shadowType="flat">Apply</Button></SheetFooter>;
|
|
634
|
+
$[84] = t65;
|
|
635
|
+
} else {
|
|
636
|
+
t65 = $[84];
|
|
637
|
+
}
|
|
638
|
+
let t66;
|
|
639
|
+
if ($[85] !== t64) {
|
|
640
|
+
t66 = <Sheet>{t62}<SheetContent>{t63}{t64}{t65}</SheetContent></Sheet>;
|
|
641
|
+
$[85] = t64;
|
|
642
|
+
$[86] = t66;
|
|
643
|
+
} else {
|
|
644
|
+
t66 = $[86];
|
|
645
|
+
}
|
|
646
|
+
let t67;
|
|
647
|
+
if ($[87] === Symbol.for("react.memo_cache_sentinel")) {
|
|
648
|
+
t67 = <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>;
|
|
649
|
+
$[87] = t67;
|
|
650
|
+
} else {
|
|
651
|
+
t67 = $[87];
|
|
652
|
+
}
|
|
653
|
+
let t68;
|
|
654
|
+
if ($[88] !== t61 || $[89] !== t66) {
|
|
655
|
+
t68 = <Section title="Overlays and toast">{t56}{t59}{t60}{t61}{t66}{t67}</Section>;
|
|
656
|
+
$[88] = t61;
|
|
657
|
+
$[89] = t66;
|
|
658
|
+
$[90] = t68;
|
|
659
|
+
} else {
|
|
660
|
+
t68 = $[90];
|
|
661
|
+
}
|
|
662
|
+
const t69 = tokens.color.muted[scheme];
|
|
663
|
+
let t70;
|
|
664
|
+
if ($[91] !== t69) {
|
|
665
|
+
t70 = <DropdownMenuTrigger accessibilityLabel="List options" hitSlop={6} className="h-8 w-8 items-center justify-center"><IconDots size={18} color={t69} /></DropdownMenuTrigger>;
|
|
666
|
+
$[91] = t69;
|
|
667
|
+
$[92] = t70;
|
|
668
|
+
} else {
|
|
669
|
+
t70 = $[92];
|
|
670
|
+
}
|
|
671
|
+
let t71;
|
|
672
|
+
if ($[93] === Symbol.for("react.memo_cache_sentinel")) {
|
|
673
|
+
t71 = <DropdownMenuLabel>Sort</DropdownMenuLabel>;
|
|
674
|
+
$[93] = t71;
|
|
675
|
+
} else {
|
|
676
|
+
t71 = $[93];
|
|
677
|
+
}
|
|
678
|
+
const t72 = menuSort === "newest";
|
|
679
|
+
let t73;
|
|
680
|
+
if ($[94] === Symbol.for("react.memo_cache_sentinel")) {
|
|
681
|
+
t73 = () => setMenuSort("newest");
|
|
682
|
+
$[94] = t73;
|
|
683
|
+
} else {
|
|
684
|
+
t73 = $[94];
|
|
685
|
+
}
|
|
686
|
+
let t74;
|
|
687
|
+
if ($[95] !== t72) {
|
|
688
|
+
t74 = <DropdownMenuRadioItem checked={t72} onSelect={t73}>Newest first</DropdownMenuRadioItem>;
|
|
689
|
+
$[95] = t72;
|
|
690
|
+
$[96] = t74;
|
|
691
|
+
} else {
|
|
692
|
+
t74 = $[96];
|
|
693
|
+
}
|
|
694
|
+
const t75 = menuSort === "oldest";
|
|
695
|
+
let t76;
|
|
696
|
+
if ($[97] === Symbol.for("react.memo_cache_sentinel")) {
|
|
697
|
+
t76 = () => setMenuSort("oldest");
|
|
698
|
+
$[97] = t76;
|
|
699
|
+
} else {
|
|
700
|
+
t76 = $[97];
|
|
701
|
+
}
|
|
702
|
+
let t77;
|
|
703
|
+
if ($[98] !== t75) {
|
|
704
|
+
t77 = <DropdownMenuRadioItem checked={t75} onSelect={t76}>Oldest first</DropdownMenuRadioItem>;
|
|
705
|
+
$[98] = t75;
|
|
706
|
+
$[99] = t77;
|
|
707
|
+
} else {
|
|
708
|
+
t77 = $[99];
|
|
709
|
+
}
|
|
710
|
+
let t78;
|
|
711
|
+
let t79;
|
|
712
|
+
let t80;
|
|
713
|
+
if ($[100] === Symbol.for("react.memo_cache_sentinel")) {
|
|
714
|
+
t78 = <DropdownMenuSeparator />;
|
|
715
|
+
t79 = <DropdownMenuItem icon={IconPencil} onSelect={_temp19}>Rename</DropdownMenuItem>;
|
|
716
|
+
t80 = <DropdownMenuItem icon={IconTrash} destructive={true} onSelect={_temp20}>Delete</DropdownMenuItem>;
|
|
717
|
+
$[100] = t78;
|
|
718
|
+
$[101] = t79;
|
|
719
|
+
$[102] = t80;
|
|
720
|
+
} else {
|
|
721
|
+
t78 = $[100];
|
|
722
|
+
t79 = $[101];
|
|
723
|
+
t80 = $[102];
|
|
724
|
+
}
|
|
725
|
+
let t81;
|
|
726
|
+
if ($[103] !== t74 || $[104] !== t77) {
|
|
727
|
+
t81 = <DropdownMenuContent align="end">{t71}{t74}{t77}{t78}{t79}{t80}</DropdownMenuContent>;
|
|
728
|
+
$[103] = t74;
|
|
729
|
+
$[104] = t77;
|
|
730
|
+
$[105] = t81;
|
|
731
|
+
} else {
|
|
732
|
+
t81 = $[105];
|
|
733
|
+
}
|
|
734
|
+
let t82;
|
|
735
|
+
if ($[106] !== t70 || $[107] !== t81) {
|
|
736
|
+
t82 = <View className="flex-row justify-end"><DropdownMenu>{t70}{t81}</DropdownMenu></View>;
|
|
737
|
+
$[106] = t70;
|
|
738
|
+
$[107] = t81;
|
|
739
|
+
$[108] = t82;
|
|
740
|
+
} else {
|
|
741
|
+
t82 = $[108];
|
|
742
|
+
}
|
|
743
|
+
let t83;
|
|
744
|
+
if ($[109] === Symbol.for("react.memo_cache_sentinel")) {
|
|
745
|
+
t83 = {
|
|
746
|
+
height: 88
|
|
747
|
+
};
|
|
748
|
+
$[109] = t83;
|
|
749
|
+
} else {
|
|
750
|
+
t83 = $[109];
|
|
751
|
+
}
|
|
752
|
+
let t84;
|
|
753
|
+
let t85;
|
|
754
|
+
let t86;
|
|
755
|
+
let t87;
|
|
756
|
+
let t88;
|
|
757
|
+
let t89;
|
|
758
|
+
if ($[110] === Symbol.for("react.memo_cache_sentinel")) {
|
|
759
|
+
t84 = () => setPicked(0);
|
|
760
|
+
t85 = () => setPicked(5);
|
|
761
|
+
t86 = () => setPicked(0);
|
|
762
|
+
t87 = [{
|
|
763
|
+
key: "copy",
|
|
764
|
+
label: "Copy items",
|
|
765
|
+
shortLabel: "Copy",
|
|
766
|
+
icon: IconCopy,
|
|
767
|
+
onClick: _temp21
|
|
768
|
+
}];
|
|
769
|
+
t88 = [{
|
|
770
|
+
key: "rename",
|
|
771
|
+
label: "Rename",
|
|
772
|
+
icon: IconPencil,
|
|
773
|
+
onClick: _temp22
|
|
774
|
+
}];
|
|
775
|
+
t89 = {
|
|
776
|
+
key: "delete",
|
|
777
|
+
label: "Delete items",
|
|
778
|
+
shortLabel: "Delete",
|
|
779
|
+
icon: IconTrash,
|
|
780
|
+
destructive: true,
|
|
781
|
+
onClick: _temp23
|
|
782
|
+
};
|
|
783
|
+
$[110] = t84;
|
|
784
|
+
$[111] = t85;
|
|
785
|
+
$[112] = t86;
|
|
786
|
+
$[113] = t87;
|
|
787
|
+
$[114] = t88;
|
|
788
|
+
$[115] = t89;
|
|
789
|
+
} else {
|
|
790
|
+
t84 = $[110];
|
|
791
|
+
t85 = $[111];
|
|
792
|
+
t86 = $[112];
|
|
793
|
+
t87 = $[113];
|
|
794
|
+
t88 = $[114];
|
|
795
|
+
t89 = $[115];
|
|
796
|
+
}
|
|
797
|
+
let t90;
|
|
798
|
+
if ($[116] !== picked) {
|
|
799
|
+
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>;
|
|
800
|
+
$[116] = picked;
|
|
801
|
+
$[117] = t90;
|
|
802
|
+
} else {
|
|
803
|
+
t90 = $[117];
|
|
804
|
+
}
|
|
805
|
+
let t91;
|
|
806
|
+
if ($[118] !== t82 || $[119] !== t90) {
|
|
807
|
+
t91 = <Section title="DropdownMenu and BulkActionBar">{t82}{t90}</Section>;
|
|
808
|
+
$[118] = t82;
|
|
809
|
+
$[119] = t90;
|
|
810
|
+
$[120] = t91;
|
|
811
|
+
} else {
|
|
812
|
+
t91 = $[120];
|
|
813
|
+
}
|
|
814
|
+
let t92;
|
|
815
|
+
if ($[121] === Symbol.for("react.memo_cache_sentinel")) {
|
|
816
|
+
t92 = <EmptyState title="Nothing yet" description="Items you add show here." compact={true} />;
|
|
817
|
+
$[121] = t92;
|
|
818
|
+
} else {
|
|
819
|
+
t92 = $[121];
|
|
820
|
+
}
|
|
821
|
+
let t93;
|
|
822
|
+
if ($[122] === Symbol.for("react.memo_cache_sentinel")) {
|
|
823
|
+
t93 = <Section title="EmptyState">{t92}<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>;
|
|
824
|
+
$[122] = t93;
|
|
825
|
+
} else {
|
|
826
|
+
t93 = $[122];
|
|
827
|
+
}
|
|
828
|
+
let t94;
|
|
829
|
+
if ($[123] !== swatch) {
|
|
830
|
+
t94 = <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>;
|
|
831
|
+
$[123] = swatch;
|
|
832
|
+
$[124] = t94;
|
|
833
|
+
} else {
|
|
834
|
+
t94 = $[124];
|
|
835
|
+
}
|
|
836
|
+
let t95;
|
|
837
|
+
if ($[125] === Symbol.for("react.memo_cache_sentinel")) {
|
|
838
|
+
t95 = () => setDue(null);
|
|
839
|
+
$[125] = t95;
|
|
840
|
+
} else {
|
|
841
|
+
t95 = $[125];
|
|
842
|
+
}
|
|
843
|
+
let t96;
|
|
844
|
+
if ($[126] !== due) {
|
|
845
|
+
t96 = <DateTimeField mode="date" value={due} onChange={setDue} placeholder="No due date" onClear={t95} />;
|
|
846
|
+
$[126] = due;
|
|
847
|
+
$[127] = t96;
|
|
848
|
+
} else {
|
|
849
|
+
t96 = $[127];
|
|
850
|
+
}
|
|
851
|
+
let t97;
|
|
852
|
+
if ($[128] !== when) {
|
|
853
|
+
t97 = <DateTimeField value={when} onChange={setWhen} />;
|
|
854
|
+
$[128] = when;
|
|
855
|
+
$[129] = t97;
|
|
856
|
+
} else {
|
|
857
|
+
t97 = $[129];
|
|
858
|
+
}
|
|
859
|
+
let t98;
|
|
860
|
+
if ($[130] !== t96 || $[131] !== t97) {
|
|
861
|
+
t98 = <Section title="DateTimeField">{t96}{t97}</Section>;
|
|
862
|
+
$[130] = t96;
|
|
863
|
+
$[131] = t97;
|
|
864
|
+
$[132] = t98;
|
|
865
|
+
} else {
|
|
866
|
+
t98 = $[132];
|
|
867
|
+
}
|
|
868
|
+
let t99;
|
|
869
|
+
if ($[133] === Symbol.for("react.memo_cache_sentinel")) {
|
|
870
|
+
t99 = <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} />;
|
|
871
|
+
$[133] = t99;
|
|
872
|
+
} else {
|
|
873
|
+
t99 = $[133];
|
|
874
|
+
}
|
|
875
|
+
let t100;
|
|
876
|
+
if ($[134] !== muted) {
|
|
877
|
+
t100 = <Section title="ListRow">{t99}<ListRow title="Mute thread" meta="Tap the row or the switch" onPress={_temp26} control={<Switch checked={muted} onCheckedChange={setMuted} accessibilityLabel="Mute thread" />} /></Section>;
|
|
878
|
+
$[134] = muted;
|
|
879
|
+
$[135] = t100;
|
|
880
|
+
} else {
|
|
881
|
+
t100 = $[135];
|
|
882
|
+
}
|
|
883
|
+
let t101;
|
|
884
|
+
if ($[136] === Symbol.for("react.memo_cache_sentinel")) {
|
|
885
|
+
t101 = <SectionLabel>Today</SectionLabel>;
|
|
886
|
+
$[136] = t101;
|
|
887
|
+
} else {
|
|
888
|
+
t101 = $[136];
|
|
889
|
+
}
|
|
890
|
+
let t102;
|
|
891
|
+
let t103;
|
|
892
|
+
if ($[137] === Symbol.for("react.memo_cache_sentinel")) {
|
|
893
|
+
t102 = <StatGrid items={[{
|
|
894
|
+
label: "Done",
|
|
895
|
+
value: "6"
|
|
896
|
+
}, {
|
|
897
|
+
label: "This week",
|
|
898
|
+
value: "31"
|
|
899
|
+
}, {
|
|
900
|
+
label: "Streak",
|
|
901
|
+
value: "12 days"
|
|
902
|
+
}]} />;
|
|
903
|
+
t103 = <SectionLabel uppercase={true}>Library</SectionLabel>;
|
|
904
|
+
$[137] = t102;
|
|
905
|
+
$[138] = t103;
|
|
906
|
+
} else {
|
|
907
|
+
t102 = $[137];
|
|
908
|
+
t103 = $[138];
|
|
909
|
+
}
|
|
910
|
+
let t104;
|
|
911
|
+
if ($[139] === Symbol.for("react.memo_cache_sentinel")) {
|
|
912
|
+
t104 = <Section title="SectionLabel and StatGrid">{t101}{t102}{t103}<StatGrid columns={3} items={[{
|
|
913
|
+
label: "Books",
|
|
914
|
+
value: "24"
|
|
915
|
+
}, {
|
|
916
|
+
label: "Notes",
|
|
917
|
+
value: "130"
|
|
918
|
+
}, {
|
|
919
|
+
label: "Clips",
|
|
920
|
+
value: "8"
|
|
921
|
+
}]} /></Section>;
|
|
922
|
+
$[139] = t104;
|
|
923
|
+
} else {
|
|
924
|
+
t104 = $[139];
|
|
925
|
+
}
|
|
926
|
+
const t105 = palette.overlay[scheme];
|
|
927
|
+
let t106;
|
|
928
|
+
if ($[140] !== t105) {
|
|
929
|
+
t106 = {
|
|
930
|
+
backgroundColor: t105,
|
|
931
|
+
borderRadius: tokens.radius.lg
|
|
932
|
+
};
|
|
933
|
+
$[140] = t105;
|
|
934
|
+
$[141] = t106;
|
|
935
|
+
} else {
|
|
936
|
+
t106 = $[141];
|
|
937
|
+
}
|
|
938
|
+
let t107;
|
|
939
|
+
let t108;
|
|
940
|
+
if ($[142] === Symbol.for("react.memo_cache_sentinel")) {
|
|
941
|
+
t107 = <SheetRow icon={IconCopy} title="Copy link" onPress={_temp27} />;
|
|
942
|
+
t108 = <SheetRow icon={IconPhoto} title="Save image" detail="To your photo library" onPress={_temp28} />;
|
|
943
|
+
$[142] = t107;
|
|
944
|
+
$[143] = t108;
|
|
945
|
+
} else {
|
|
946
|
+
t107 = $[142];
|
|
947
|
+
t108 = $[143];
|
|
948
|
+
}
|
|
949
|
+
const t109 = sort === "newest";
|
|
950
|
+
let t110;
|
|
951
|
+
if ($[144] === Symbol.for("react.memo_cache_sentinel")) {
|
|
952
|
+
t110 = () => setSort("newest");
|
|
953
|
+
$[144] = t110;
|
|
954
|
+
} else {
|
|
955
|
+
t110 = $[144];
|
|
956
|
+
}
|
|
957
|
+
let t111;
|
|
958
|
+
if ($[145] !== t109) {
|
|
959
|
+
t111 = <SheetRow title="Newest first" active={t109} onPress={t110} />;
|
|
960
|
+
$[145] = t109;
|
|
961
|
+
$[146] = t111;
|
|
962
|
+
} else {
|
|
963
|
+
t111 = $[146];
|
|
964
|
+
}
|
|
965
|
+
const t112 = sort === "name";
|
|
966
|
+
let t113;
|
|
967
|
+
if ($[147] === Symbol.for("react.memo_cache_sentinel")) {
|
|
968
|
+
t113 = () => setSort("name");
|
|
969
|
+
$[147] = t113;
|
|
970
|
+
} else {
|
|
971
|
+
t113 = $[147];
|
|
972
|
+
}
|
|
973
|
+
let t114;
|
|
974
|
+
if ($[148] !== t112) {
|
|
975
|
+
t114 = <SheetRow title="By name" active={t112} onPress={t113} />;
|
|
976
|
+
$[148] = t112;
|
|
977
|
+
$[149] = t114;
|
|
978
|
+
} else {
|
|
979
|
+
t114 = $[149];
|
|
980
|
+
}
|
|
981
|
+
let t115;
|
|
982
|
+
let t116;
|
|
983
|
+
if ($[150] === Symbol.for("react.memo_cache_sentinel")) {
|
|
984
|
+
t115 = <SheetRow icon={IconPhoto} title="Export" detail="Needs V Pro" disabled={true} />;
|
|
985
|
+
t116 = <SheetRow icon={IconTrash} title="Delete" danger={true} onPress={_temp29} />;
|
|
986
|
+
$[150] = t115;
|
|
987
|
+
$[151] = t116;
|
|
988
|
+
} else {
|
|
989
|
+
t115 = $[150];
|
|
990
|
+
t116 = $[151];
|
|
991
|
+
}
|
|
992
|
+
let t117;
|
|
993
|
+
if ($[152] !== t106 || $[153] !== t111 || $[154] !== t114) {
|
|
994
|
+
t117 = <Section title="SheetRow"><View className="py-2" style={t106}>{t107}{t108}{t111}{t114}{t115}{t116}</View></Section>;
|
|
995
|
+
$[152] = t106;
|
|
996
|
+
$[153] = t111;
|
|
997
|
+
$[154] = t114;
|
|
998
|
+
$[155] = t117;
|
|
999
|
+
} else {
|
|
1000
|
+
t117 = $[155];
|
|
1001
|
+
}
|
|
1002
|
+
let t118;
|
|
1003
|
+
if ($[156] !== page) {
|
|
1004
|
+
t118 = <Section title="PageIndicator"><PageIndicator count={4} index={page} /><PageIndicator count={4} index={page} onChange={setPage} /></Section>;
|
|
1005
|
+
$[156] = page;
|
|
1006
|
+
$[157] = t118;
|
|
1007
|
+
} else {
|
|
1008
|
+
t118 = $[157];
|
|
1009
|
+
}
|
|
1010
|
+
let t119;
|
|
1011
|
+
if ($[158] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1012
|
+
t119 = <AmbientBackground className="flex-none overflow-hidden rounded-lg"><StackPageHeader title="Details" description="Edited 2 min ago" safeTop={false} onBack={_temp30} headerRight={<ThemeToggle />} /></AmbientBackground>;
|
|
1013
|
+
$[158] = t119;
|
|
1014
|
+
} else {
|
|
1015
|
+
t119 = $[158];
|
|
1016
|
+
}
|
|
1017
|
+
let t120;
|
|
1018
|
+
if ($[159] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1019
|
+
t120 = <Section title="StackPageHeader">{t119}<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>;
|
|
1020
|
+
$[159] = t120;
|
|
1021
|
+
} else {
|
|
1022
|
+
t120 = $[159];
|
|
1023
|
+
}
|
|
1024
|
+
let t121;
|
|
1025
|
+
if ($[160] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1026
|
+
t121 = <Section title="More from Project V"><MoreFromProjectV current="velth" onOpen={_temp32} /><FromProjectV /></Section>;
|
|
1027
|
+
$[160] = t121;
|
|
1028
|
+
} else {
|
|
1029
|
+
t121 = $[160];
|
|
1030
|
+
}
|
|
1031
|
+
let t122;
|
|
1032
|
+
if ($[161] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1033
|
+
t122 = {
|
|
1034
|
+
backgroundColor: NEUTRAL_900
|
|
1035
|
+
};
|
|
1036
|
+
$[161] = t122;
|
|
1037
|
+
} else {
|
|
1038
|
+
t122 = $[161];
|
|
1039
|
+
}
|
|
1040
|
+
let t123;
|
|
1041
|
+
if ($[162] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1042
|
+
t123 = <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>;
|
|
1043
|
+
$[162] = t123;
|
|
1044
|
+
} else {
|
|
1045
|
+
t123 = $[162];
|
|
1046
|
+
}
|
|
1047
|
+
let t124;
|
|
1048
|
+
let t125;
|
|
1049
|
+
if ($[163] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1050
|
+
t124 = <IconButton variant="overlay" size="lg" icon={IconPhoto} label="Open library" onPress={_temp35} />;
|
|
1051
|
+
t125 = <CaptureButton onPress={_temp36} />;
|
|
1052
|
+
$[163] = t124;
|
|
1053
|
+
$[164] = t125;
|
|
1054
|
+
} else {
|
|
1055
|
+
t124 = $[163];
|
|
1056
|
+
t125 = $[164];
|
|
1057
|
+
}
|
|
1058
|
+
let t126;
|
|
1059
|
+
if ($[165] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1060
|
+
t126 = <View className="h-72 justify-between overflow-hidden rounded-lg p-4" style={t122}>{t123}<View className="flex-row items-center justify-between">{t124}{t125}<View style={{
|
|
1061
|
+
width: 48
|
|
1062
|
+
}} /></View></View>;
|
|
1063
|
+
$[165] = t126;
|
|
1064
|
+
} else {
|
|
1065
|
+
t126 = $[165];
|
|
1066
|
+
}
|
|
1067
|
+
let t127;
|
|
1068
|
+
if ($[166] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1069
|
+
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>;
|
|
1070
|
+
$[166] = t127;
|
|
1071
|
+
} else {
|
|
1072
|
+
t127 = $[166];
|
|
1073
|
+
}
|
|
1074
|
+
let t128;
|
|
1075
|
+
if ($[167] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1076
|
+
t128 = <AiChatSamples />;
|
|
1077
|
+
$[167] = t128;
|
|
1078
|
+
} else {
|
|
1079
|
+
t128 = $[167];
|
|
1080
|
+
}
|
|
1081
|
+
let t129;
|
|
1082
|
+
if ($[168] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1083
|
+
t129 = <ChainOfThoughtHeader />;
|
|
1084
|
+
$[168] = t129;
|
|
1085
|
+
} else {
|
|
1086
|
+
t129 = $[168];
|
|
1087
|
+
}
|
|
1088
|
+
let t130;
|
|
1089
|
+
if ($[169] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1090
|
+
t130 = <ChainOfThoughtStep label="Read the question" />;
|
|
1091
|
+
$[169] = t130;
|
|
1092
|
+
} else {
|
|
1093
|
+
t130 = $[169];
|
|
1094
|
+
}
|
|
1095
|
+
let t131;
|
|
1096
|
+
if ($[170] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1097
|
+
t131 = <ChainOfThought defaultOpen={true}>{t129}<ChainOfThoughtContent>{t130}<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>;
|
|
1098
|
+
$[170] = t131;
|
|
1099
|
+
} else {
|
|
1100
|
+
t131 = $[170];
|
|
1101
|
+
}
|
|
1102
|
+
let t132;
|
|
1103
|
+
if ($[171] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1104
|
+
t132 = <Section title="AI chat">{t128}{t131}<Suggestions><Suggestion suggestion="Summarise this thread" onPress={_temp40} /><Suggestion suggestion="Draft a reply" onPress={_temp41} /></Suggestions><ConversationEmptyState className="flex-none" /></Section>;
|
|
1105
|
+
$[171] = t132;
|
|
1106
|
+
} else {
|
|
1107
|
+
t132 = $[171];
|
|
1108
|
+
}
|
|
1109
|
+
let t133;
|
|
1110
|
+
if ($[172] !== t100 || $[173] !== t117 || $[174] !== t118 || $[175] !== t19 || $[176] !== t33 || $[177] !== t44 || $[178] !== t68 || $[179] !== t91 || $[180] !== t94 || $[181] !== t98) {
|
|
1111
|
+
t133 = <ScrollView keyboardShouldPersistTaps="handled" contentContainerClassName="gap-8 px-4 pt-4" contentContainerStyle={t0}>{t3}{t7}{t19}{t20}{t21}{t33}{t36}{t44}{t49}{t51}{t68}{t91}{t93}{t94}{t98}{t100}{t104}{t117}{t118}{t120}{t121}{t127}{t132}</ScrollView>;
|
|
1112
|
+
$[172] = t100;
|
|
1113
|
+
$[173] = t117;
|
|
1114
|
+
$[174] = t118;
|
|
1115
|
+
$[175] = t19;
|
|
1116
|
+
$[176] = t33;
|
|
1117
|
+
$[177] = t44;
|
|
1118
|
+
$[178] = t68;
|
|
1119
|
+
$[179] = t91;
|
|
1120
|
+
$[180] = t94;
|
|
1121
|
+
$[181] = t98;
|
|
1122
|
+
$[182] = t133;
|
|
1123
|
+
} else {
|
|
1124
|
+
t133 = $[182];
|
|
1125
|
+
}
|
|
1126
|
+
let t134;
|
|
1127
|
+
if ($[183] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1128
|
+
t134 = () => setPricingOpen(false);
|
|
1129
|
+
$[183] = t134;
|
|
1130
|
+
} else {
|
|
1131
|
+
t134 = $[183];
|
|
1132
|
+
}
|
|
1133
|
+
let t135;
|
|
1134
|
+
if ($[184] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1135
|
+
t135 = ["vibot", "verve", "velth", "vmem", "vhub"];
|
|
1136
|
+
$[184] = t135;
|
|
1137
|
+
} else {
|
|
1138
|
+
t135 = $[184];
|
|
1139
|
+
}
|
|
1140
|
+
let t136;
|
|
1141
|
+
if ($[185] !== pricingOpen) {
|
|
1142
|
+
t136 = <PricingModal open={pricingOpen} onClose={t134} title="Upgrade to V Pro" apps={t135} currentApp="vibot" headline="One plan. Every V app." plans={PLANS} finePrint="Placeholder prices for the gallery." onCheckout={_temp42} />;
|
|
1143
|
+
$[185] = pricingOpen;
|
|
1144
|
+
$[186] = t136;
|
|
1145
|
+
} else {
|
|
1146
|
+
t136 = $[186];
|
|
1147
|
+
}
|
|
1148
|
+
let t137;
|
|
1149
|
+
if ($[187] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1150
|
+
t137 = <Toaster />;
|
|
1151
|
+
$[187] = t137;
|
|
1152
|
+
} else {
|
|
1153
|
+
t137 = $[187];
|
|
1154
|
+
}
|
|
1155
|
+
let t138;
|
|
1156
|
+
if ($[188] !== t133 || $[189] !== t136) {
|
|
1157
|
+
t138 = <View className="flex-1">{t133}{t136}{t137}</View>;
|
|
1158
|
+
$[188] = t133;
|
|
1159
|
+
$[189] = t136;
|
|
1160
|
+
$[190] = t138;
|
|
1161
|
+
} else {
|
|
1162
|
+
t138 = $[190];
|
|
1163
|
+
}
|
|
1164
|
+
return t138;
|
|
1165
|
+
}
|
|
1166
|
+
function _temp42(plan, period) {
|
|
1167
|
+
return toast(`${plan.name} (${period})`);
|
|
1168
|
+
}
|
|
1169
|
+
function _temp41(text_0) {
|
|
1170
|
+
return toast(text_0);
|
|
1171
|
+
}
|
|
1172
|
+
function _temp40(text) {
|
|
1173
|
+
return toast(text);
|
|
1174
|
+
}
|
|
1175
|
+
function _temp39() {
|
|
1176
|
+
return toast("Copied");
|
|
1177
|
+
}
|
|
1178
|
+
function _temp38() {
|
|
1179
|
+
return toast("Copied");
|
|
1180
|
+
}
|
|
1181
|
+
function _temp37() {
|
|
1182
|
+
return toast("Copied");
|
|
1183
|
+
}
|
|
1184
|
+
function _temp36() {
|
|
1185
|
+
return toast.success("Captured");
|
|
1186
|
+
}
|
|
1187
|
+
function _temp35() {
|
|
1188
|
+
return toast("Library");
|
|
1189
|
+
}
|
|
1190
|
+
function _temp34() {
|
|
1191
|
+
return toast("Flip");
|
|
1192
|
+
}
|
|
1193
|
+
function _temp33() {
|
|
1194
|
+
return toast("Close");
|
|
1195
|
+
}
|
|
1196
|
+
function _temp32(id_0, target) {
|
|
1197
|
+
return toast(target ? `Opened ${id_0} (${target})` : `Could not open ${id_0}`);
|
|
1198
|
+
}
|
|
1199
|
+
function _temp31() {
|
|
1200
|
+
return toast("Back");
|
|
1201
|
+
}
|
|
1202
|
+
function _temp30() {
|
|
1203
|
+
return toast("Back");
|
|
1204
|
+
}
|
|
1205
|
+
function _temp29() {
|
|
1206
|
+
return toast.error("Deleted");
|
|
1207
|
+
}
|
|
1208
|
+
function _temp28() {
|
|
1209
|
+
return toast("Saved");
|
|
1210
|
+
}
|
|
1211
|
+
function _temp27() {
|
|
1212
|
+
return toast("Copied");
|
|
1213
|
+
}
|
|
1214
|
+
function _temp26() {
|
|
1215
|
+
return toast("Row pressed");
|
|
1216
|
+
}
|
|
1217
|
+
function _temp25() {
|
|
1218
|
+
return toast("Thread actions");
|
|
1219
|
+
}
|
|
1220
|
+
function _temp24() {
|
|
1221
|
+
return toast("Open thread");
|
|
1222
|
+
}
|
|
1223
|
+
function _temp23() {
|
|
1224
|
+
return toast.error("Deleted");
|
|
1225
|
+
}
|
|
1226
|
+
function _temp22() {
|
|
1227
|
+
return toast("Rename");
|
|
1228
|
+
}
|
|
1229
|
+
function _temp21() {
|
|
1230
|
+
return toast("Copied");
|
|
1231
|
+
}
|
|
1232
|
+
function _temp20() {
|
|
1233
|
+
return toast.error("Deleted");
|
|
1234
|
+
}
|
|
1235
|
+
function _temp19() {
|
|
1236
|
+
return toast("Rename");
|
|
1237
|
+
}
|
|
1238
|
+
function _temp18() {
|
|
1239
|
+
return toast("Archived", {
|
|
1240
|
+
description: "Moved to the archive.",
|
|
1241
|
+
action: {
|
|
1242
|
+
label: "Undo",
|
|
1243
|
+
onPress: _temp17
|
|
1244
|
+
}
|
|
1245
|
+
});
|
|
1246
|
+
}
|
|
1247
|
+
function _temp17() {
|
|
1248
|
+
return toast.info("Restored");
|
|
1249
|
+
}
|
|
1250
|
+
function _temp16() {
|
|
1251
|
+
const id = toast.loading("Syncing");
|
|
1252
|
+
setTimeout(() => toast.success("Synced", {
|
|
1253
|
+
id
|
|
1254
|
+
}), 1500);
|
|
1255
|
+
}
|
|
1256
|
+
function _temp15() {
|
|
1257
|
+
return toast.warning("Offline");
|
|
1258
|
+
}
|
|
1259
|
+
function _temp14() {
|
|
1260
|
+
return toast.success("Saved");
|
|
1261
|
+
}
|
|
1262
|
+
function _temp13() {
|
|
1263
|
+
return toast.success("Signed out");
|
|
1264
|
+
}
|
|
1265
|
+
function _temp12() {
|
|
1266
|
+
return toast.error("Deleted");
|
|
1267
|
+
}
|
|
1268
|
+
function _temp11() {
|
|
1269
|
+
return toast.success("Renamed");
|
|
1270
|
+
}
|
|
1271
|
+
function _temp10() {
|
|
1272
|
+
return toast("Card pressed");
|
|
1273
|
+
}
|
|
1274
|
+
function _temp1(value) {
|
|
1275
|
+
return (value + 20) % 120;
|
|
1276
|
+
}
|
|
1277
|
+
function _temp0(tone) {
|
|
1278
|
+
return <StatusDot key={tone} tone={tone} size="md" />;
|
|
1279
|
+
}
|
|
1280
|
+
function _temp9(variant_0) {
|
|
1281
|
+
return <Badge key={variant_0} variant={variant_0}>{variant_0}</Badge>;
|
|
1282
|
+
}
|
|
1283
|
+
function _temp8() {
|
|
1284
|
+
return toast("Copied");
|
|
1285
|
+
}
|
|
1286
|
+
function _temp7() {
|
|
1287
|
+
return toast("Copied");
|
|
1288
|
+
}
|
|
1289
|
+
function _temp6(variant) {
|
|
1290
|
+
return <Button key={variant} variant={variant} onPress={() => toast(variant)}>{variant}</Button>;
|
|
1291
|
+
}
|
|
1292
|
+
function _temp5() {
|
|
1293
|
+
return toast("Continue with Google");
|
|
1294
|
+
}
|
|
1295
|
+
function _temp4(app_0) {
|
|
1296
|
+
const Icon = APP_ICONS[app_0];
|
|
1297
|
+
return <Icon key={app_0} size={28} />;
|
|
1298
|
+
}
|
|
1299
|
+
function _temp3(app) {
|
|
1300
|
+
return <AppWordmark key={app} app={app} />;
|
|
1301
|
+
}
|
|
1302
|
+
function _temp2() {
|
|
1303
|
+
return toast("Updating all apps");
|
|
1304
|
+
}
|
|
1305
|
+
function _temp() {
|
|
1306
|
+
return new Date();
|
|
1307
|
+
}
|