@open-dy/vibecoding-sdk-taro 0.0.1 → 0.1.0-beta.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/adapters/interest-card/eslint/eslint-plugin-custom-navigation.mjs +2 -290
- package/dist/adapters/interest-card/eslint/taro.mjs +8 -42
- package/dist/build/plugins/inject-feed-card-meta.cjs +148 -0
- package/dist/build/taro.js +1 -0
- package/dist/build/taro.js.map +1 -1
- package/dist/components/miniapp-open-card.d.ts +46 -1
- package/dist/components/miniapp-open-card.js +14 -1
- package/dist/components/miniapp-open-card.js.map +1 -1
- package/dist/eslint/eslint-plugin-custom-navigation.mjs +301 -0
- package/dist/eslint/eslint-plugin-network-json-body.mjs +103 -0
- package/dist/eslint/taro.mjs +38 -1
- package/dist/reference/llms.txt +72 -80
- package/dist/reference/sdk-api/build/taro/BuildContext.md +1 -1
- package/dist/reference/sdk-api/build/taro/CreateMicroappTaroConfigOptions.md +1 -1
- package/dist/reference/sdk-api/build/taro/createMicroappTaroConfig.md +1 -1
- package/dist/reference/sdk-api/components/miniapp-open-card/MiniappOpenCard.md +109 -0
- package/dist/reference/sdk-api/components/miniapp-open-card/MiniappOpenCardEnvVersion.md +38 -0
- package/dist/reference/sdk-api/components/miniapp-open-card/MiniappOpenCardErrorDetail.md +52 -0
- package/dist/reference/sdk-api/components/miniapp-open-card/MiniappOpenCardProps.md +76 -0
- package/dist/reference/sdk-api/components/miniapp-open-card/index.md +12 -0
- package/dist/reference/sdk-api/libraries/lucide-taro.md +151 -0
- package/dist/reference/sdk-api/runtime/CreateMicroappClientOptions.md +1 -1
- package/dist/reference/sdk-api/runtime/createMicroappClient.md +2 -2
- package/dist/reference/sdk-api/ui/accordion/Accordion.md +1 -1
- package/dist/reference/sdk-api/ui/accordion/AccordionContent.md +1 -1
- package/dist/reference/sdk-api/ui/accordion/AccordionItem.md +1 -1
- package/dist/reference/sdk-api/ui/accordion/AccordionTrigger.md +1 -1
- package/dist/reference/sdk-api/ui/alert/Alert.md +1 -1
- package/dist/reference/sdk-api/ui/alert/AlertAction.md +1 -1
- package/dist/reference/sdk-api/ui/alert/AlertDescription.md +1 -1
- package/dist/reference/sdk-api/ui/alert/AlertTitle.md +1 -1
- package/dist/reference/sdk-api/ui/alert-dialog/AlertDialog.md +1 -1
- package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogAction.md +2 -2
- package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogCancel.md +2 -2
- package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogContent.md +1 -1
- package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogDescription.md +1 -1
- package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogFooter.md +1 -1
- package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogHeader.md +1 -1
- package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogOverlay.md +1 -1
- package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogPortal.md +1 -1
- package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogTitle.md +1 -1
- package/dist/reference/sdk-api/ui/alert-dialog/AlertDialogTrigger.md +22 -22
- package/dist/reference/sdk-api/ui/aspect-ratio/AspectRatio.md +1 -1
- package/dist/reference/sdk-api/ui/avatar/Avatar.md +1 -1
- package/dist/reference/sdk-api/ui/avatar/AvatarBadge.md +1 -1
- package/dist/reference/sdk-api/ui/avatar/AvatarFallback.md +1 -1
- package/dist/reference/sdk-api/ui/avatar/AvatarGroup.md +1 -1
- package/dist/reference/sdk-api/ui/avatar/AvatarGroupCount.md +1 -1
- package/dist/reference/sdk-api/ui/avatar/AvatarImage.md +19 -19
- package/dist/reference/sdk-api/ui/badge/Badge.md +2 -2
- package/dist/reference/sdk-api/ui/badge/badgeVariants.md +2 -2
- package/dist/reference/sdk-api/ui/button/Button.md +2 -2
- package/dist/reference/sdk-api/ui/button/ButtonProps.md +2 -2
- package/dist/reference/sdk-api/ui/button/buttonVariants.md +2 -2
- package/dist/reference/sdk-api/ui/button-group/ButtonGroup.md +1 -1
- package/dist/reference/sdk-api/ui/button-group/ButtonGroupSeparator.md +1 -1
- package/dist/reference/sdk-api/ui/button-group/ButtonGroupText.md +22 -22
- package/dist/reference/sdk-api/ui/button-group/buttonGroupVariants.md +1 -1
- package/dist/reference/sdk-api/ui/calendar/Calendar.md +1 -1
- package/dist/reference/sdk-api/ui/calendar/CalendarProps.md +1 -1
- package/dist/reference/sdk-api/ui/card/Card.md +1 -1
- package/dist/reference/sdk-api/ui/card/CardAction.md +1 -1
- package/dist/reference/sdk-api/ui/card/CardContent.md +1 -1
- package/dist/reference/sdk-api/ui/card/CardDescription.md +1 -1
- package/dist/reference/sdk-api/ui/card/CardFooter.md +1 -1
- package/dist/reference/sdk-api/ui/card/CardHeader.md +1 -1
- package/dist/reference/sdk-api/ui/card/CardTitle.md +1 -1
- package/dist/reference/sdk-api/ui/carousel/Carousel.md +1 -1
- package/dist/reference/sdk-api/ui/carousel/CarouselContent.md +1 -1
- package/dist/reference/sdk-api/ui/carousel/CarouselItem.md +1 -1
- package/dist/reference/sdk-api/ui/carousel/CarouselNext.md +2 -2
- package/dist/reference/sdk-api/ui/carousel/CarouselPrevious.md +2 -2
- package/dist/reference/sdk-api/ui/carousel/useCarousel.md +1 -1
- package/dist/reference/sdk-api/ui/checkbox/Checkbox.md +1 -1
- package/dist/reference/sdk-api/ui/collapsible/Collapsible.md +1 -1
- package/dist/reference/sdk-api/ui/collapsible/CollapsibleContent.md +1 -1
- package/dist/reference/sdk-api/ui/collapsible/CollapsibleTrigger.md +22 -22
- package/dist/reference/sdk-api/ui/combobox/Combobox.md +1 -1
- package/dist/reference/sdk-api/ui/combobox/ComboboxChip.md +1 -1
- package/dist/reference/sdk-api/ui/combobox/ComboboxChips.md +22 -22
- package/dist/reference/sdk-api/ui/combobox/ComboboxChipsInput.md +1 -1
- package/dist/reference/sdk-api/ui/combobox/ComboboxCollection.md +1 -1
- package/dist/reference/sdk-api/ui/combobox/ComboboxContent.md +1 -1
- package/dist/reference/sdk-api/ui/combobox/ComboboxEmpty.md +1 -1
- package/dist/reference/sdk-api/ui/combobox/ComboboxGroup.md +1 -1
- package/dist/reference/sdk-api/ui/combobox/ComboboxInput.md +22 -22
- package/dist/reference/sdk-api/ui/combobox/ComboboxItem.md +1 -1
- package/dist/reference/sdk-api/ui/combobox/ComboboxLabel.md +1 -1
- package/dist/reference/sdk-api/ui/combobox/ComboboxList.md +22 -22
- package/dist/reference/sdk-api/ui/combobox/ComboboxSeparator.md +1 -1
- package/dist/reference/sdk-api/ui/combobox/ComboboxTrigger.md +1 -1
- package/dist/reference/sdk-api/ui/combobox/ComboboxValue.md +22 -22
- package/dist/reference/sdk-api/ui/combobox/useComboboxAnchor.md +1 -1
- package/dist/reference/sdk-api/ui/dialog/Dialog.md +1 -1
- package/dist/reference/sdk-api/ui/dialog/DialogClose.md +1 -1
- package/dist/reference/sdk-api/ui/dialog/DialogContent.md +1 -1
- package/dist/reference/sdk-api/ui/dialog/DialogDescription.md +1 -1
- package/dist/reference/sdk-api/ui/dialog/DialogFooter.md +1 -1
- package/dist/reference/sdk-api/ui/dialog/DialogHeader.md +1 -1
- package/dist/reference/sdk-api/ui/dialog/DialogOverlay.md +1 -1
- package/dist/reference/sdk-api/ui/dialog/DialogPortal.md +1 -1
- package/dist/reference/sdk-api/ui/dialog/DialogTitle.md +1 -1
- package/dist/reference/sdk-api/ui/dialog/DialogTrigger.md +22 -22
- package/dist/reference/sdk-api/ui/drawer/Drawer.md +1 -1
- package/dist/reference/sdk-api/ui/drawer/DrawerClose.md +1 -1
- package/dist/reference/sdk-api/ui/drawer/DrawerContent.md +1 -1
- package/dist/reference/sdk-api/ui/drawer/DrawerDescription.md +1 -1
- package/dist/reference/sdk-api/ui/drawer/DrawerFooter.md +1 -1
- package/dist/reference/sdk-api/ui/drawer/DrawerHeader.md +1 -1
- package/dist/reference/sdk-api/ui/drawer/DrawerOverlay.md +1 -1
- package/dist/reference/sdk-api/ui/drawer/DrawerPortal.md +1 -1
- package/dist/reference/sdk-api/ui/drawer/DrawerTitle.md +1 -1
- package/dist/reference/sdk-api/ui/drawer/DrawerTrigger.md +1 -1
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenu.md +1 -1
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuCheckboxItem.md +1 -1
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuContent.md +1 -1
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuGroup.md +1 -1
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuItem.md +1 -1
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuLabel.md +1 -1
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuPortal.md +1 -1
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuRadioGroup.md +1 -1
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuRadioItem.md +1 -1
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuSeparator.md +1 -1
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuShortcut.md +1 -1
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuSub.md +1 -1
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuSubContent.md +1 -1
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuSubTrigger.md +1 -1
- package/dist/reference/sdk-api/ui/dropdown-menu/DropdownMenuTrigger.md +22 -22
- package/dist/reference/sdk-api/ui/empty/Empty.md +1 -1
- package/dist/reference/sdk-api/ui/empty/EmptyContent.md +1 -1
- package/dist/reference/sdk-api/ui/empty/EmptyDescription.md +1 -1
- package/dist/reference/sdk-api/ui/empty/EmptyHeader.md +1 -1
- package/dist/reference/sdk-api/ui/empty/EmptyMedia.md +1 -1
- package/dist/reference/sdk-api/ui/empty/EmptyTitle.md +1 -1
- package/dist/reference/sdk-api/ui/field/Field.md +1 -1
- package/dist/reference/sdk-api/ui/field/FieldContent.md +1 -1
- package/dist/reference/sdk-api/ui/field/FieldDescription.md +1 -1
- package/dist/reference/sdk-api/ui/field/FieldError.md +1 -1
- package/dist/reference/sdk-api/ui/field/FieldGroup.md +1 -1
- package/dist/reference/sdk-api/ui/field/FieldLabel.md +13 -13
- package/dist/reference/sdk-api/ui/field/FieldLegend.md +1 -1
- package/dist/reference/sdk-api/ui/field/FieldSeparator.md +1 -1
- package/dist/reference/sdk-api/ui/field/FieldSet.md +1 -1
- package/dist/reference/sdk-api/ui/field/FieldTitle.md +1 -1
- package/dist/reference/sdk-api/ui/helpers/collectDataIconState.md +1 -1
- package/dist/reference/sdk-api/ui/input/Input.md +13 -13
- package/dist/reference/sdk-api/ui/input-group/InputGroup.md +1 -1
- package/dist/reference/sdk-api/ui/input-group/InputGroupAddon.md +1 -1
- package/dist/reference/sdk-api/ui/input-group/InputGroupButton.md +25 -25
- package/dist/reference/sdk-api/ui/input-group/InputGroupInput.md +13 -13
- package/dist/reference/sdk-api/ui/input-group/InputGroupText.md +1 -1
- package/dist/reference/sdk-api/ui/input-group/InputGroupTextarea.md +13 -13
- package/dist/reference/sdk-api/ui/input-otp/InputOTP.md +1 -1
- package/dist/reference/sdk-api/ui/input-otp/InputOTPGroup.md +1 -1
- package/dist/reference/sdk-api/ui/input-otp/InputOTPSeparator.md +1 -1
- package/dist/reference/sdk-api/ui/input-otp/InputOTPSlot.md +1 -1
- package/dist/reference/sdk-api/ui/item/Item.md +1 -1
- package/dist/reference/sdk-api/ui/item/ItemActions.md +1 -1
- package/dist/reference/sdk-api/ui/item/ItemContent.md +1 -1
- package/dist/reference/sdk-api/ui/item/ItemDescription.md +1 -1
- package/dist/reference/sdk-api/ui/item/ItemFooter.md +1 -1
- package/dist/reference/sdk-api/ui/item/ItemGroup.md +1 -1
- package/dist/reference/sdk-api/ui/item/ItemHeader.md +1 -1
- package/dist/reference/sdk-api/ui/item/ItemMedia.md +2 -2
- package/dist/reference/sdk-api/ui/item/ItemSeparator.md +1 -1
- package/dist/reference/sdk-api/ui/item/ItemTitle.md +1 -1
- package/dist/reference/sdk-api/ui/label/Label.md +13 -13
- package/dist/reference/sdk-api/ui/menubar/Menubar.md +1 -1
- package/dist/reference/sdk-api/ui/menubar/MenubarCheckboxItem.md +1 -1
- package/dist/reference/sdk-api/ui/menubar/MenubarContent.md +1 -1
- package/dist/reference/sdk-api/ui/menubar/MenubarGroup.md +1 -1
- package/dist/reference/sdk-api/ui/menubar/MenubarItem.md +1 -1
- package/dist/reference/sdk-api/ui/menubar/MenubarLabel.md +1 -1
- package/dist/reference/sdk-api/ui/menubar/MenubarMenu.md +1 -1
- package/dist/reference/sdk-api/ui/menubar/MenubarPortal.md +1 -1
- package/dist/reference/sdk-api/ui/menubar/MenubarRadioGroup.md +1 -1
- package/dist/reference/sdk-api/ui/menubar/MenubarRadioItem.md +1 -1
- package/dist/reference/sdk-api/ui/menubar/MenubarSeparator.md +1 -1
- package/dist/reference/sdk-api/ui/menubar/MenubarShortcut.md +1 -1
- package/dist/reference/sdk-api/ui/menubar/MenubarSub.md +1 -1
- package/dist/reference/sdk-api/ui/menubar/MenubarSubContent.md +1 -1
- package/dist/reference/sdk-api/ui/menubar/MenubarSubTrigger.md +1 -1
- package/dist/reference/sdk-api/ui/menubar/MenubarTrigger.md +1 -1
- package/dist/reference/sdk-api/ui/navigation-menu/NavigationMenu.md +1 -1
- package/dist/reference/sdk-api/ui/navigation-menu/NavigationMenuContent.md +1 -1
- package/dist/reference/sdk-api/ui/navigation-menu/NavigationMenuIndicator.md +1 -1
- package/dist/reference/sdk-api/ui/navigation-menu/NavigationMenuItem.md +1 -1
- package/dist/reference/sdk-api/ui/navigation-menu/NavigationMenuLink.md +1 -1
- package/dist/reference/sdk-api/ui/navigation-menu/NavigationMenuList.md +1 -1
- package/dist/reference/sdk-api/ui/navigation-menu/NavigationMenuPositioner.md +1 -1
- package/dist/reference/sdk-api/ui/navigation-menu/NavigationMenuTrigger.md +22 -22
- package/dist/reference/sdk-api/ui/navigation-menu/navigationMenuTriggerStyle.md +1 -1
- package/dist/reference/sdk-api/ui/pagination/Pagination.md +1 -1
- package/dist/reference/sdk-api/ui/pagination/PaginationContent.md +1 -1
- package/dist/reference/sdk-api/ui/pagination/PaginationEllipsis.md +1 -1
- package/dist/reference/sdk-api/ui/pagination/PaginationItem.md +1 -1
- package/dist/reference/sdk-api/ui/pagination/PaginationLink.md +1 -1
- package/dist/reference/sdk-api/ui/pagination/PaginationNext.md +1 -1
- package/dist/reference/sdk-api/ui/pagination/PaginationPrevious.md +1 -1
- package/dist/reference/sdk-api/ui/popover/Popover.md +1 -1
- package/dist/reference/sdk-api/ui/popover/PopoverAnchor.md +1 -1
- package/dist/reference/sdk-api/ui/popover/PopoverContent.md +1 -1
- package/dist/reference/sdk-api/ui/popover/PopoverDescription.md +1 -1
- package/dist/reference/sdk-api/ui/popover/PopoverHeader.md +1 -1
- package/dist/reference/sdk-api/ui/popover/PopoverTitle.md +1 -1
- package/dist/reference/sdk-api/ui/popover/PopoverTrigger.md +22 -22
- package/dist/reference/sdk-api/ui/portal/Portal.md +1 -1
- package/dist/reference/sdk-api/ui/progress/Progress.md +1 -1
- package/dist/reference/sdk-api/ui/progress/ProgressIndicator.md +1 -1
- package/dist/reference/sdk-api/ui/progress/ProgressLabel.md +1 -1
- package/dist/reference/sdk-api/ui/progress/ProgressTrack.md +1 -1
- package/dist/reference/sdk-api/ui/progress/ProgressValue.md +22 -22
- package/dist/reference/sdk-api/ui/radio-group/RadioGroup.md +1 -1
- package/dist/reference/sdk-api/ui/radio-group/RadioGroupItem.md +1 -1
- package/dist/reference/sdk-api/ui/resizable/ResizableHandle.md +1 -1
- package/dist/reference/sdk-api/ui/resizable/ResizablePanel.md +1 -1
- package/dist/reference/sdk-api/ui/resizable/ResizablePanelGroup.md +1 -1
- package/dist/reference/sdk-api/ui/scroll-area/ScrollArea.md +13 -13
- package/dist/reference/sdk-api/ui/scroll-area/ScrollBar.md +1 -1
- package/dist/reference/sdk-api/ui/select/Select.md +1 -1
- package/dist/reference/sdk-api/ui/select/SelectContent.md +1 -1
- package/dist/reference/sdk-api/ui/select/SelectGroup.md +1 -1
- package/dist/reference/sdk-api/ui/select/SelectItem.md +1 -1
- package/dist/reference/sdk-api/ui/select/SelectLabel.md +1 -1
- package/dist/reference/sdk-api/ui/select/SelectScrollDownButton.md +1 -1
- package/dist/reference/sdk-api/ui/select/SelectScrollUpButton.md +1 -1
- package/dist/reference/sdk-api/ui/select/SelectSeparator.md +1 -1
- package/dist/reference/sdk-api/ui/select/SelectTrigger.md +1 -1
- package/dist/reference/sdk-api/ui/select/SelectValue.md +1 -1
- package/dist/reference/sdk-api/ui/separator/Separator.md +1 -1
- package/dist/reference/sdk-api/ui/sheet/Sheet.md +1 -1
- package/dist/reference/sdk-api/ui/sheet/SheetClose.md +1 -1
- package/dist/reference/sdk-api/ui/sheet/SheetContent.md +1 -1
- package/dist/reference/sdk-api/ui/sheet/SheetDescription.md +1 -1
- package/dist/reference/sdk-api/ui/sheet/SheetFooter.md +1 -1
- package/dist/reference/sdk-api/ui/sheet/SheetHeader.md +1 -1
- package/dist/reference/sdk-api/ui/sheet/SheetOverlay.md +1 -1
- package/dist/reference/sdk-api/ui/sheet/SheetPortal.md +1 -1
- package/dist/reference/sdk-api/ui/sheet/SheetTitle.md +1 -1
- package/dist/reference/sdk-api/ui/sheet/SheetTrigger.md +1 -1
- package/dist/reference/sdk-api/ui/skeleton/Skeleton.md +1 -1
- package/dist/reference/sdk-api/ui/slider/Slider.md +1 -1
- package/dist/reference/sdk-api/ui/sonner/Toaster.md +1 -1
- package/dist/reference/sdk-api/ui/sonner/toast.md +1 -1
- package/dist/reference/sdk-api/ui/spinner/Spinner.md +1 -1
- package/dist/reference/sdk-api/ui/switch/Switch.md +1 -1
- package/dist/reference/sdk-api/ui/table/Table.md +1 -1
- package/dist/reference/sdk-api/ui/table/TableBody.md +1 -1
- package/dist/reference/sdk-api/ui/table/TableCaption.md +1 -1
- package/dist/reference/sdk-api/ui/table/TableCell.md +1 -1
- package/dist/reference/sdk-api/ui/table/TableFooter.md +1 -1
- package/dist/reference/sdk-api/ui/table/TableHead.md +1 -1
- package/dist/reference/sdk-api/ui/table/TableHeader.md +1 -1
- package/dist/reference/sdk-api/ui/table/TableRow.md +1 -1
- package/dist/reference/sdk-api/ui/tabs/Tabs.md +1 -1
- package/dist/reference/sdk-api/ui/tabs/TabsContent.md +1 -1
- package/dist/reference/sdk-api/ui/tabs/TabsList.md +1 -1
- package/dist/reference/sdk-api/ui/tabs/TabsTrigger.md +1 -1
- package/dist/reference/sdk-api/ui/tabs/tabsListVariants.md +1 -1
- package/dist/reference/sdk-api/ui/textarea/Textarea.md +13 -13
- package/dist/reference/sdk-api/ui/toggle/Toggle.md +1 -1
- package/dist/reference/sdk-api/ui/toggle/toggleVariants.md +1 -1
- package/dist/reference/sdk-api/ui/toggle-group/ToggleGroup.md +1 -1
- package/dist/reference/sdk-api/ui/toggle-group/ToggleGroupItem.md +1 -1
- package/dist/reference/sdk-api.json +2811 -2295
- package/dist/reference/sdk-api.md +12 -1
- package/dist/runtime/client.js +0 -5
- package/dist/runtime/client.js.map +1 -1
- package/dist/runtime/douyin-container-request.js +0 -7
- package/dist/runtime/douyin-container-request.js.map +1 -1
- package/dist/runtime/network-url.js +0 -3
- package/dist/runtime/network-url.js.map +1 -1
- package/dist/ui/menubar.js +0 -1
- package/dist/ui/menubar.js.map +1 -1
- package/package.json +2 -2
- package/release-provenance.json +5 -5
- package/src/adapters/interest-card/eslint/eslint-plugin-custom-navigation.mjs +2 -290
- package/src/adapters/interest-card/eslint/taro.mjs +8 -42
- package/src/build/plugins/inject-feed-card-meta.ts +172 -0
- package/src/build/taro.ts +1 -0
- package/src/components/miniapp-open-card.ts +46 -1
- package/src/eslint/eslint-plugin-custom-navigation.mjs +301 -0
- package/src/eslint/eslint-plugin-network-json-body.mjs +103 -0
- package/src/eslint/taro.mjs +38 -1
- package/src/runtime/client.ts +0 -6
- package/src/runtime/douyin-container-request.ts +0 -7
- package/src/runtime/network-url.ts +0 -3
- package/src/ui/menubar.tsx +0 -1
package/dist/reference/llms.txt
CHANGED
|
@@ -1,86 +1,78 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @open-dy/vibecoding-sdk-taro
|
|
2
2
|
|
|
3
|
-
>
|
|
3
|
+
> API documentation for @open-dy/vibecoding-sdk-taro, covering runtime APIs, build configuration and component contracts.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
- `@open-dy/vibecoding-sdk-taro/ui/theme.css` — UI 样式资源入口。
|
|
14
|
-
- `@open-dy/vibecoding-sdk-taro/ui/tailwind.css` — UI 样式资源入口。
|
|
15
|
-
- `@open-dy/vibecoding-sdk-taro/components/miniapp-open-card` — 公开导出入口。
|
|
16
|
-
- `@open-dy/vibecoding-sdk-taro/build/taro` — SDK 公开 API。 ([docs](./sdk-api/build/taro/index.md))
|
|
17
|
-
- `@open-dy/vibecoding-sdk-taro/types/taro` — 平台类型声明入口。
|
|
18
|
-
- `@open-dy/vibecoding-sdk-taro/reference/sdk-api.md` — 已生成的机器可读或 Markdown 参考文档。
|
|
19
|
-
- `@open-dy/vibecoding-sdk-taro/reference/sdk-api.json` — 已生成的机器可读或 Markdown 参考文档。
|
|
20
|
-
- `@open-dy/vibecoding-sdk-taro/reference/llms.txt` — 已生成的机器可读或 Markdown 参考文档。
|
|
21
|
-
- `@open-dy/vibecoding-sdk-taro/reference/sdk-api/*` — 已生成的机器可读或 Markdown 参考文档。
|
|
22
|
-
- `@open-dy/vibecoding-sdk-taro/eslint/taro` — 场景化 ESLint 配置入口。
|
|
23
|
-
- `@open-dy/vibecoding-sdk-taro/eslint/server` — 场景化 ESLint 配置入口。
|
|
24
|
-
- `@open-dy/vibecoding-sdk-taro/build` — 构建能力聚合入口;详细契约见 build/taro 和 build/opencard。 ([docs](./sdk-api/build/taro/index.md))
|
|
5
|
+
Start with the SDK overview, then follow the relevant API or module link. Import paths and types are documented on the linked pages.
|
|
6
|
+
|
|
7
|
+
Companion libraries are separate project dependencies, imported from their own package names.
|
|
8
|
+
|
|
9
|
+
## Documentation
|
|
10
|
+
|
|
11
|
+
- [SDK overview](./sdk-api.md): Complete public entry points and documentation directory.
|
|
12
|
+
- [API manifest](./sdk-api.json): Machine-readable signatures, parameters, return values and usage constraints.
|
|
25
13
|
|
|
26
14
|
## APIs
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
- [CreateMicroappClientOptions](./sdk-api/runtime/CreateMicroappClientOptions.md)
|
|
30
|
-
|
|
31
|
-
- [
|
|
32
|
-
|
|
33
|
-
- [
|
|
34
|
-
|
|
35
|
-
- [
|
|
36
|
-
|
|
15
|
+
|
|
16
|
+
- [createMicroappClient](./sdk-api/runtime/createMicroappClient.md): 创建普通小程序的网络入口;SDK 自动绑定项目 Taro 运行时。 Import: `@open-dy/vibecoding-sdk-taro/runtime`.
|
|
17
|
+
- [CreateMicroappClientOptions](./sdk-api/runtime/CreateMicroappClientOptions.md): 配置普通小程序 Network 的平台渠道。 Import: `@open-dy/vibecoding-sdk-taro/runtime`.
|
|
18
|
+
- [MiniappOpenCard](./sdk-api/components/miniapp-open-card/MiniappOpenCard.md): 承载同一 OpenCard;SDK 选择环境版本并为空初始化参数提供对象,错误类型直接报错。 Import: `@open-dy/vibecoding-sdk-taro/components/miniapp-open-card`.
|
|
19
|
+
- [MiniappOpenCardProps](./sdk-api/components/miniapp-open-card/MiniappOpenCardProps.md): 普通 Taro 宿主的内嵌卡属性;沿用 StandardProps,但不接受 children 或 envVersion。 Import: `@open-dy/vibecoding-sdk-taro/components/miniapp-open-card`.
|
|
20
|
+
- [MiniappOpenCardErrorDetail](./sdk-api/components/miniapp-open-card/MiniappOpenCardErrorDetail.md): 内嵌卡加载错误的事件 detail;可选错误字段由平台提供。 Import: `@open-dy/vibecoding-sdk-taro/components/miniapp-open-card`.
|
|
21
|
+
- [MiniappOpenCardEnvVersion](./sdk-api/components/miniapp-open-card/MiniappOpenCardEnvVersion.md): SDK 根据宿主环境选择的卡片版本;不是业务组件的可配置属性。 Import: `@open-dy/vibecoding-sdk-taro/components/miniapp-open-card`.
|
|
22
|
+
- [BuildContext](./sdk-api/build/taro/BuildContext.md): Taro 构建阶段共享的编译上下文。 Import: `@open-dy/vibecoding-sdk-taro/build/taro`.
|
|
23
|
+
- [CreateMicroappTaroConfigOptions](./sdk-api/build/taro/CreateMicroappTaroConfigOptions.md): 创建普通小程序 Taro 配置的选项。 Import: `@open-dy/vibecoding-sdk-taro/build/taro`.
|
|
24
|
+
- [createMicroappTaroConfig](./sdk-api/build/taro/createMicroappTaroConfig.md): 创建普通小程序的 Taro/Vite 构建配置。 Import: `@open-dy/vibecoding-sdk-taro/build/taro`.
|
|
37
25
|
|
|
38
26
|
## UI modules
|
|
39
|
-
|
|
40
|
-
- [accordion](./sdk-api/ui/accordion/index.md)
|
|
41
|
-
- [alert-dialog](./sdk-api/ui/alert-dialog/index.md)
|
|
42
|
-
- [alert](./sdk-api/ui/alert/index.md)
|
|
43
|
-
- [aspect-ratio](./sdk-api/ui/aspect-ratio/index.md)
|
|
44
|
-
- [avatar](./sdk-api/ui/avatar/index.md)
|
|
45
|
-
- [badge](./sdk-api/ui/badge/index.md)
|
|
46
|
-
- [button-group](./sdk-api/ui/button-group/index.md)
|
|
47
|
-
- [button](./sdk-api/ui/button/index.md)
|
|
48
|
-
- [calendar](./sdk-api/ui/calendar/index.md)
|
|
49
|
-
- [card](./sdk-api/ui/card/index.md)
|
|
50
|
-
- [carousel](./sdk-api/ui/carousel/index.md)
|
|
51
|
-
- [checkbox](./sdk-api/ui/checkbox/index.md)
|
|
52
|
-
- [collapsible](./sdk-api/ui/collapsible/index.md)
|
|
53
|
-
- [combobox](./sdk-api/ui/combobox/index.md)
|
|
54
|
-
- [dialog](./sdk-api/ui/dialog/index.md)
|
|
55
|
-
- [drawer](./sdk-api/ui/drawer/index.md)
|
|
56
|
-
- [dropdown-menu](./sdk-api/ui/dropdown-menu/index.md)
|
|
57
|
-
- [empty](./sdk-api/ui/empty/index.md)
|
|
58
|
-
- [field](./sdk-api/ui/field/index.md)
|
|
59
|
-
- [helpers](./sdk-api/ui/helpers/index.md)
|
|
60
|
-
- [input-group](./sdk-api/ui/input-group/index.md)
|
|
61
|
-
- [input-otp](./sdk-api/ui/input-otp/index.md)
|
|
62
|
-
- [input](./sdk-api/ui/input/index.md)
|
|
63
|
-
- [item](./sdk-api/ui/item/index.md)
|
|
64
|
-
- [label](./sdk-api/ui/label/index.md)
|
|
65
|
-
- [menubar](./sdk-api/ui/menubar/index.md)
|
|
66
|
-
- [navigation-menu](./sdk-api/ui/navigation-menu/index.md)
|
|
67
|
-
- [pagination](./sdk-api/ui/pagination/index.md)
|
|
68
|
-
- [popover](./sdk-api/ui/popover/index.md)
|
|
69
|
-
- [portal](./sdk-api/ui/portal/index.md)
|
|
70
|
-
- [progress](./sdk-api/ui/progress/index.md)
|
|
71
|
-
- [radio-group](./sdk-api/ui/radio-group/index.md)
|
|
72
|
-
- [resizable](./sdk-api/ui/resizable/index.md)
|
|
73
|
-
- [scroll-area](./sdk-api/ui/scroll-area/index.md)
|
|
74
|
-
- [select](./sdk-api/ui/select/index.md)
|
|
75
|
-
- [separator](./sdk-api/ui/separator/index.md)
|
|
76
|
-
- [sheet](./sdk-api/ui/sheet/index.md)
|
|
77
|
-
- [skeleton](./sdk-api/ui/skeleton/index.md)
|
|
78
|
-
- [slider](./sdk-api/ui/slider/index.md)
|
|
79
|
-
- [sonner](./sdk-api/ui/sonner/index.md)
|
|
80
|
-
- [spinner](./sdk-api/ui/spinner/index.md)
|
|
81
|
-
- [switch](./sdk-api/ui/switch/index.md)
|
|
82
|
-
- [table](./sdk-api/ui/table/index.md)
|
|
83
|
-
- [tabs](./sdk-api/ui/tabs/index.md)
|
|
84
|
-
- [textarea](./sdk-api/ui/textarea/index.md)
|
|
85
|
-
- [toggle-group](./sdk-api/ui/toggle-group/index.md)
|
|
86
|
-
- [toggle](./sdk-api/ui/toggle/index.md)
|
|
27
|
+
|
|
28
|
+
- [accordion](./sdk-api/ui/accordion/index.md): API reference for the accordion module; Taro only.
|
|
29
|
+
- [alert-dialog](./sdk-api/ui/alert-dialog/index.md): API reference for the alert-dialog module; Taro only.
|
|
30
|
+
- [alert](./sdk-api/ui/alert/index.md): API reference for the alert module; Taro only.
|
|
31
|
+
- [aspect-ratio](./sdk-api/ui/aspect-ratio/index.md): API reference for the aspect-ratio module; Taro only.
|
|
32
|
+
- [avatar](./sdk-api/ui/avatar/index.md): API reference for the avatar module; Taro only.
|
|
33
|
+
- [badge](./sdk-api/ui/badge/index.md): API reference for the badge module; Taro only.
|
|
34
|
+
- [button-group](./sdk-api/ui/button-group/index.md): API reference for the button-group module; Taro only.
|
|
35
|
+
- [button](./sdk-api/ui/button/index.md): API reference for the button module; Taro only.
|
|
36
|
+
- [calendar](./sdk-api/ui/calendar/index.md): API reference for the calendar module; Taro only.
|
|
37
|
+
- [card](./sdk-api/ui/card/index.md): API reference for the card module; Taro only.
|
|
38
|
+
- [carousel](./sdk-api/ui/carousel/index.md): API reference for the carousel module; Taro only.
|
|
39
|
+
- [checkbox](./sdk-api/ui/checkbox/index.md): API reference for the checkbox module; Taro only.
|
|
40
|
+
- [collapsible](./sdk-api/ui/collapsible/index.md): API reference for the collapsible module; Taro only.
|
|
41
|
+
- [combobox](./sdk-api/ui/combobox/index.md): API reference for the combobox module; Taro only.
|
|
42
|
+
- [dialog](./sdk-api/ui/dialog/index.md): API reference for the dialog module; Taro only.
|
|
43
|
+
- [drawer](./sdk-api/ui/drawer/index.md): API reference for the drawer module; Taro only.
|
|
44
|
+
- [dropdown-menu](./sdk-api/ui/dropdown-menu/index.md): API reference for the dropdown-menu module; Taro only.
|
|
45
|
+
- [empty](./sdk-api/ui/empty/index.md): API reference for the empty module; Taro only.
|
|
46
|
+
- [field](./sdk-api/ui/field/index.md): API reference for the field module; Taro only.
|
|
47
|
+
- [helpers](./sdk-api/ui/helpers/index.md): API reference for the helpers module; Taro only.
|
|
48
|
+
- [input-group](./sdk-api/ui/input-group/index.md): API reference for the input-group module; Taro only.
|
|
49
|
+
- [input-otp](./sdk-api/ui/input-otp/index.md): API reference for the input-otp module; Taro only.
|
|
50
|
+
- [input](./sdk-api/ui/input/index.md): API reference for the input module; Taro only.
|
|
51
|
+
- [item](./sdk-api/ui/item/index.md): API reference for the item module; Taro only.
|
|
52
|
+
- [label](./sdk-api/ui/label/index.md): API reference for the label module; Taro only.
|
|
53
|
+
- [menubar](./sdk-api/ui/menubar/index.md): API reference for the menubar module; Taro only.
|
|
54
|
+
- [navigation-menu](./sdk-api/ui/navigation-menu/index.md): API reference for the navigation-menu module; Taro only.
|
|
55
|
+
- [pagination](./sdk-api/ui/pagination/index.md): API reference for the pagination module; Taro only.
|
|
56
|
+
- [popover](./sdk-api/ui/popover/index.md): API reference for the popover module; Taro only.
|
|
57
|
+
- [portal](./sdk-api/ui/portal/index.md): API reference for the portal module; Taro only.
|
|
58
|
+
- [progress](./sdk-api/ui/progress/index.md): API reference for the progress module; Taro only.
|
|
59
|
+
- [radio-group](./sdk-api/ui/radio-group/index.md): API reference for the radio-group module; Taro only.
|
|
60
|
+
- [resizable](./sdk-api/ui/resizable/index.md): API reference for the resizable module; Taro only.
|
|
61
|
+
- [scroll-area](./sdk-api/ui/scroll-area/index.md): API reference for the scroll-area module; Taro only.
|
|
62
|
+
- [select](./sdk-api/ui/select/index.md): API reference for the select module; Taro only.
|
|
63
|
+
- [separator](./sdk-api/ui/separator/index.md): API reference for the separator module; Taro only.
|
|
64
|
+
- [sheet](./sdk-api/ui/sheet/index.md): API reference for the sheet module; Taro only.
|
|
65
|
+
- [skeleton](./sdk-api/ui/skeleton/index.md): API reference for the skeleton module; Taro only.
|
|
66
|
+
- [slider](./sdk-api/ui/slider/index.md): API reference for the slider module; Taro only.
|
|
67
|
+
- [sonner](./sdk-api/ui/sonner/index.md): API reference for the sonner module; Taro only.
|
|
68
|
+
- [spinner](./sdk-api/ui/spinner/index.md): API reference for the spinner module; Taro only.
|
|
69
|
+
- [switch](./sdk-api/ui/switch/index.md): API reference for the switch module; Taro only.
|
|
70
|
+
- [table](./sdk-api/ui/table/index.md): API reference for the table module; Taro only.
|
|
71
|
+
- [tabs](./sdk-api/ui/tabs/index.md): API reference for the tabs module; Taro only.
|
|
72
|
+
- [textarea](./sdk-api/ui/textarea/index.md): API reference for the textarea module; Taro only.
|
|
73
|
+
- [toggle-group](./sdk-api/ui/toggle-group/index.md): API reference for the toggle-group module; Taro only.
|
|
74
|
+
- [toggle](./sdk-api/ui/toggle/index.md): API reference for the toggle module; Taro only.
|
|
75
|
+
|
|
76
|
+
## Companion libraries
|
|
77
|
+
|
|
78
|
+
- [@open-dy/lucide-taro](./sdk-api/libraries/lucide-taro.md): Taro 图标组件、属性、Provider 和 TabBar PNG 工具;独立依赖,OpenCard 不使用。
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
|
|
4
4
|
|
|
5
5
|
导入路径:`@open-dy/vibecoding-sdk-taro/build/taro`
|
|
6
|
-
|
|
6
|
+
源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/build/taro.ts`(仅补缺或排错时读取)。
|
|
7
7
|
|
|
8
8
|
#### 说明
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
|
|
4
4
|
|
|
5
5
|
导入路径:`@open-dy/vibecoding-sdk-taro/build/taro`
|
|
6
|
-
|
|
6
|
+
源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/build/taro.ts`(仅补缺或排错时读取)。
|
|
7
7
|
|
|
8
8
|
#### 说明
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
|
|
4
4
|
|
|
5
5
|
导入路径:`@open-dy/vibecoding-sdk-taro/build/taro`
|
|
6
|
-
|
|
6
|
+
源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/build/taro.ts`(仅补缺或排错时读取)。
|
|
7
7
|
|
|
8
8
|
#### 说明
|
|
9
9
|
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# MiniappOpenCard
|
|
2
|
+
|
|
3
|
+
<!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
|
|
4
|
+
|
|
5
|
+
导入路径:`@open-dy/vibecoding-sdk-taro/components/miniapp-open-card`
|
|
6
|
+
源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/components/miniapp-open-card.ts`(仅补缺或排错时读取)。
|
|
7
|
+
|
|
8
|
+
#### 说明
|
|
9
|
+
|
|
10
|
+
承载同一 OpenCard;SDK 选择环境版本并为空初始化参数提供对象,错误类型直接报错。
|
|
11
|
+
|
|
12
|
+
参数:
|
|
13
|
+
|
|
14
|
+
| 名称 | 说明 |
|
|
15
|
+
| --- | --- |
|
|
16
|
+
| `props` | 卡片标识、页面路径和生命周期回调。 |
|
|
17
|
+
|
|
18
|
+
返回:注入环境版本与初始化对象的原生卡片组件。
|
|
19
|
+
|
|
20
|
+
备注:development 使用 latest,preview 使用 preview,production、未知或无法读取的环境使用 current;业务不传 envVersion。
|
|
21
|
+
initData 省略时 SDK 传入空对象,传 null、数组、字符串或其他非普通对象会抛出 TypeError;业务示例显式传 {}。
|
|
22
|
+
宿主只承载卡片。封闭域请求、数据处理与结果 UI 留在卡内,不通过 initData 或事件把私域结果交给宿主。
|
|
23
|
+
|
|
24
|
+
示例:
|
|
25
|
+
|
|
26
|
+
```tsx
|
|
27
|
+
import { MiniappOpenCard } from '@open-dy/vibecoding-sdk-taro/components/miniapp-open-card'
|
|
28
|
+
export function EmbeddedCard({ openCardId }: { openCardId: string }) {
|
|
29
|
+
return <MiniappOpenCard appId={openCardId} path="pages/index/index" initData={{}} onError={(event) => console.error(event.detail.errMsg)} />
|
|
30
|
+
}
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
#### AI 使用约束
|
|
34
|
+
|
|
35
|
+
| 规则 | 内容 |
|
|
36
|
+
| --- | --- |
|
|
37
|
+
| 意图 | 在普通 Taro 宿主中渲染已确认的 OpenCard 页面。 |
|
|
38
|
+
| 适用时机 | 用户要求内嵌卡,或宿主需要通过同一封闭域卡片呈现其结果时。 |
|
|
39
|
+
| 避免 | 不要手写原生标签、传 envVersion 或把卡内私域结果转移到宿主。 |
|
|
40
|
+
|
|
41
|
+
示例:
|
|
42
|
+
|
|
43
|
+
```ts
|
|
44
|
+
createElement(MiniappOpenCard, { appId: OPEN_CARD_ID, path: 'pages/index/index', initData: {} })
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
#### 声明
|
|
48
|
+
|
|
49
|
+
```ts
|
|
50
|
+
function MiniappOpenCard(props: MiniappOpenCardProps);
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### MiniappOpenCard 的类型契约
|
|
54
|
+
|
|
55
|
+
#### 工厂签名
|
|
56
|
+
|
|
57
|
+
```ts
|
|
58
|
+
(props: MiniappOpenCardProps): React.ReactElement<MiniappOpenCardProps & { envVersion: MiniappOpenCardEnvVersion; }, string | React.JSXElementConstructor<any>>
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
#### 参数
|
|
62
|
+
|
|
63
|
+
| 参数 | 类型 | 说明 |
|
|
64
|
+
| --- | --- | --- |
|
|
65
|
+
| props | `MiniappOpenCardProps` | 卡片标识、页面路径和生命周期回调。 |
|
|
66
|
+
|
|
67
|
+
##### props 字段
|
|
68
|
+
|
|
69
|
+
| 字段 | 类型 | 说明 |
|
|
70
|
+
| --- | --- | --- |
|
|
71
|
+
| appId | `string` | 已确认的目标 OpenCard 标识;承载当前工程时使用非空 OPEN_CARD_ID,不使用小程序 APP_ID。 |
|
|
72
|
+
| path | `string` | 目标卡片的真实页面路径,例如 pages/index/index。 |
|
|
73
|
+
| initData? | `Record<string, unknown> \| undefined` | 卡片初始化对象;省略时传空对象。禁止传 null、数组或 JSON 字符串。 |
|
|
74
|
+
| onLoad? | `BaseEventOrigFunction<Record<string, never>> \| undefined` | 卡片加载成功时调用;event.detail 为空对象。 |
|
|
75
|
+
| onError? | `BaseEventOrigFunction<MiniappOpenCardErrorDetail> \| undefined` | 卡片加载失败时调用;读取 event.detail 中的错误消息与平台可选错误字段。 |
|
|
76
|
+
| style? | `string \| React.CSSProperties \| undefined` | 组件的内联样式, 可以动态设置的内联样式 |
|
|
77
|
+
| id? | `string \| undefined` | 组件的唯一标示, 保持整个页面唯一 |
|
|
78
|
+
| className? | `string \| undefined` | 同 `class`,在 React/Preact 里一般使用 `className` 作为 `class` 的代称 |
|
|
79
|
+
| key? | `string \| number \| undefined` | 如果列表中项目的位置会动态改变或者有新的项目添加到列表中, 需要使用 `wx:key` 来指定列表中项目的唯一的标识符。 |
|
|
80
|
+
| hidden? | `boolean \| undefined` | 组件是否显示, 所有组件默认显示 |
|
|
81
|
+
| animation? | `TaroGeneral.IAnyObject \| { actions: TaroGeneral.IAnyObject[]; } \| undefined` | 动画属性 |
|
|
82
|
+
| ref? | `React.LegacyRef<any> \| undefined` | 引用 |
|
|
83
|
+
| dangerouslySetInnerHTML? | `{ __html: string; } \| undefined` | 渲染 HTML |
|
|
84
|
+
| compileMode? | `string \| boolean \| undefined` | 是否开启编译模式 或者 是否是编译模式的子渲染函数 |
|
|
85
|
+
| harmonyDirection? | `"row" \| "column" \| "flex" \| undefined` | 自定义容器组件的方向 |
|
|
86
|
+
| onTouchStart? | `((event: ITouchEvent) => void) \| undefined` | 手指触摸动作开始 |
|
|
87
|
+
| onTouchMove? | `((event: ITouchEvent) => void) \| undefined` | 手指触摸后移动 |
|
|
88
|
+
| onTouchCancel? | `((event: ITouchEvent) => void) \| undefined` | 手指触摸动作被打断,如来电提醒,弹窗 |
|
|
89
|
+
| onTouchEnd? | `((event: ITouchEvent) => void) \| undefined` | 手指触摸动作结束 |
|
|
90
|
+
| onClick? | `((event: ITouchEvent) => void) \| undefined` | 手指触摸后马上离开 |
|
|
91
|
+
| onLongPress? | `((event: CommonEvent) => void) \| undefined` | 手指触摸后,超过350ms再离开,如果指定了事件回调函数并触发了这个事件,tap事件将不被触发 |
|
|
92
|
+
| onLongClick? | `((event: CommonEvent) => void) \| undefined` | 手指触摸后,超过350ms再离开(推荐使用 longpress 事件代替) |
|
|
93
|
+
| onTransitionEnd? | `((event: CommonEvent) => void) \| undefined` | 会在 WXSS transition 或 Taro.createAnimation 动画结束后触发 |
|
|
94
|
+
| onAnimationStart? | `((event: CommonEvent) => void) \| undefined` | 会在一个 WXSS animation 动画开始时触发 |
|
|
95
|
+
| onAnimationIteration? | `((event: CommonEvent) => void) \| undefined` | 会在一个 WXSS animation 一次迭代结束时触发 |
|
|
96
|
+
| onAnimationEnd? | `((event: CommonEvent) => void) \| undefined` | 会在一个 WXSS animation 动画完成时触发 |
|
|
97
|
+
| onTouchForceChange? | `((event: CommonEvent) => void) \| undefined` | 在支持 3D Touch 的 iPhone 设备,重按时会触发 |
|
|
98
|
+
|
|
99
|
+
#### 返回值
|
|
100
|
+
|
|
101
|
+
- 类型:`React.ReactElement<MiniappOpenCardProps & { envVersion: MiniappOpenCardEnvVersion; }, string | React.JSXElementConstructor<any>>`
|
|
102
|
+
|
|
103
|
+
##### 字段
|
|
104
|
+
|
|
105
|
+
| 字段 | 类型 | 说明 |
|
|
106
|
+
| --- | --- | --- |
|
|
107
|
+
| type | `string \| React.JSXElementConstructor<any>` | |
|
|
108
|
+
| props | `MiniappOpenCardProps & { envVersion: MiniappOpenCardEnvVersion; }` | |
|
|
109
|
+
| key | `string \| null` | |
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# MiniappOpenCardEnvVersion
|
|
2
|
+
|
|
3
|
+
<!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
|
|
4
|
+
|
|
5
|
+
导入路径:`@open-dy/vibecoding-sdk-taro/components/miniapp-open-card`
|
|
6
|
+
源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/components/miniapp-open-card.ts`(仅补缺或排错时读取)。
|
|
7
|
+
|
|
8
|
+
#### 说明
|
|
9
|
+
|
|
10
|
+
SDK 根据宿主环境选择的卡片版本;不是业务组件的可配置属性。
|
|
11
|
+
|
|
12
|
+
示例:
|
|
13
|
+
|
|
14
|
+
```ts
|
|
15
|
+
const version: MiniappOpenCardEnvVersion = 'current'
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
#### AI 使用约束
|
|
19
|
+
|
|
20
|
+
| 规则 | 内容 |
|
|
21
|
+
| --- | --- |
|
|
22
|
+
| 意图 | 描述 SDK 自动选择的内嵌卡环境版本。 |
|
|
23
|
+
| 适用时机 | 需要理解宿主环境与卡片版本的对应关系时。 |
|
|
24
|
+
| 避免 | 不要向 MiniappOpenCard 传入 envVersion 覆盖环境选择。 |
|
|
25
|
+
|
|
26
|
+
#### 声明
|
|
27
|
+
|
|
28
|
+
```ts
|
|
29
|
+
export type MiniappOpenCardEnvVersion = 'current' | 'latest' | 'preview';
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### MiniappOpenCardEnvVersion 的类型契约
|
|
33
|
+
|
|
34
|
+
#### 类型
|
|
35
|
+
|
|
36
|
+
```ts
|
|
37
|
+
MiniappOpenCardEnvVersion
|
|
38
|
+
```
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# MiniappOpenCardErrorDetail
|
|
2
|
+
|
|
3
|
+
<!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
|
|
4
|
+
|
|
5
|
+
导入路径:`@open-dy/vibecoding-sdk-taro/components/miniapp-open-card`
|
|
6
|
+
源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/components/miniapp-open-card.ts`(仅补缺或排错时读取)。
|
|
7
|
+
|
|
8
|
+
#### 说明
|
|
9
|
+
|
|
10
|
+
内嵌卡加载错误的事件 detail;可选错误字段由平台提供。
|
|
11
|
+
|
|
12
|
+
示例:
|
|
13
|
+
|
|
14
|
+
```ts
|
|
15
|
+
const detail: MiniappOpenCardErrorDetail = { errMsg: '卡片加载失败' }
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
#### AI 使用约束
|
|
19
|
+
|
|
20
|
+
| 规则 | 内容 |
|
|
21
|
+
| --- | --- |
|
|
22
|
+
| 意图 | 识别内嵌卡加载失败的事件字段。 |
|
|
23
|
+
| 适用时机 | 宿主需要通过 onError 展示错误或记录诊断信息时。 |
|
|
24
|
+
| 避免 | 不要假设可选错误编号或类型一定存在。 |
|
|
25
|
+
|
|
26
|
+
#### 声明
|
|
27
|
+
|
|
28
|
+
```ts
|
|
29
|
+
export interface MiniappOpenCardErrorDetail {
|
|
30
|
+
errMsg: string;
|
|
31
|
+
errNo?: number;
|
|
32
|
+
errorCode?: number;
|
|
33
|
+
errorType?: string;
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### MiniappOpenCardErrorDetail 的类型契约
|
|
38
|
+
|
|
39
|
+
#### 类型
|
|
40
|
+
|
|
41
|
+
```ts
|
|
42
|
+
MiniappOpenCardErrorDetail
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
#### 字段
|
|
46
|
+
|
|
47
|
+
| 字段 | 类型 | 说明 |
|
|
48
|
+
| --- | --- | --- |
|
|
49
|
+
| errMsg | `string` | 平台返回的错误消息。 |
|
|
50
|
+
| errNo? | `number \| undefined` | 平台错误编号;平台未提供时省略。 |
|
|
51
|
+
| errorCode? | `number \| undefined` | 平台错误码;平台未提供时省略。 |
|
|
52
|
+
| errorType? | `string \| undefined` | 平台错误类型;平台未提供时省略。 |
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# MiniappOpenCardProps
|
|
2
|
+
|
|
3
|
+
<!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
|
|
4
|
+
|
|
5
|
+
导入路径:`@open-dy/vibecoding-sdk-taro/components/miniapp-open-card`
|
|
6
|
+
源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/components/miniapp-open-card.ts`(仅补缺或排错时读取)。
|
|
7
|
+
|
|
8
|
+
#### 说明
|
|
9
|
+
|
|
10
|
+
普通 Taro 宿主的内嵌卡属性;沿用 StandardProps,但不接受 children 或 envVersion。
|
|
11
|
+
|
|
12
|
+
示例:
|
|
13
|
+
|
|
14
|
+
```ts
|
|
15
|
+
const props: MiniappOpenCardProps = { appId: OPEN_CARD_ID, path: 'pages/index/index', initData: {} }
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
#### AI 使用约束
|
|
19
|
+
|
|
20
|
+
| 规则 | 内容 |
|
|
21
|
+
| --- | --- |
|
|
22
|
+
| 意图 | 配置宿主实际承载的 OpenCard 页面。 |
|
|
23
|
+
| 适用时机 | 普通小程序或兴趣卡落地页需要渲染内嵌卡时。 |
|
|
24
|
+
| 避免 | 不要传小程序 APP_ID、未确认的页面路径或私域结果作为 initData。 |
|
|
25
|
+
|
|
26
|
+
#### 声明
|
|
27
|
+
|
|
28
|
+
```ts
|
|
29
|
+
export interface MiniappOpenCardProps extends Omit<StandardProps, 'children'> {
|
|
30
|
+
appId: string;
|
|
31
|
+
path: string;
|
|
32
|
+
initData?: Record<string, unknown>;
|
|
33
|
+
onLoad?: BaseEventOrigFunction<Record<string, never>>;
|
|
34
|
+
onError?: BaseEventOrigFunction<MiniappOpenCardErrorDetail>;
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### MiniappOpenCardProps 的类型契约
|
|
39
|
+
|
|
40
|
+
#### 类型
|
|
41
|
+
|
|
42
|
+
```ts
|
|
43
|
+
MiniappOpenCardProps
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
#### 字段
|
|
47
|
+
|
|
48
|
+
| 字段 | 类型 | 说明 |
|
|
49
|
+
| --- | --- | --- |
|
|
50
|
+
| appId | `string` | 已确认的目标 OpenCard 标识;承载当前工程时使用非空 OPEN_CARD_ID,不使用小程序 APP_ID。 |
|
|
51
|
+
| path | `string` | 目标卡片的真实页面路径,例如 pages/index/index。 |
|
|
52
|
+
| initData? | `Record<string, unknown> \| undefined` | 卡片初始化对象;省略时传空对象。禁止传 null、数组或 JSON 字符串。 |
|
|
53
|
+
| onLoad? | `BaseEventOrigFunction<Record<string, never>> \| undefined` | 卡片加载成功时调用;event.detail 为空对象。 |
|
|
54
|
+
| onError? | `BaseEventOrigFunction<MiniappOpenCardErrorDetail> \| undefined` | 卡片加载失败时调用;读取 event.detail 中的错误消息与平台可选错误字段。 |
|
|
55
|
+
| style? | `string \| React.CSSProperties \| undefined` | 组件的内联样式, 可以动态设置的内联样式 |
|
|
56
|
+
| id? | `string \| undefined` | 组件的唯一标示, 保持整个页面唯一 |
|
|
57
|
+
| className? | `string \| undefined` | 同 `class`,在 React/Preact 里一般使用 `className` 作为 `class` 的代称 |
|
|
58
|
+
| key? | `string \| number \| undefined` | 如果列表中项目的位置会动态改变或者有新的项目添加到列表中, 需要使用 `wx:key` 来指定列表中项目的唯一的标识符。 |
|
|
59
|
+
| hidden? | `boolean \| undefined` | 组件是否显示, 所有组件默认显示 |
|
|
60
|
+
| animation? | `TaroGeneral.IAnyObject \| { actions: TaroGeneral.IAnyObject[]; } \| undefined` | 动画属性 |
|
|
61
|
+
| ref? | `React.LegacyRef<any> \| undefined` | 引用 |
|
|
62
|
+
| dangerouslySetInnerHTML? | `{ __html: string; } \| undefined` | 渲染 HTML |
|
|
63
|
+
| compileMode? | `string \| boolean \| undefined` | 是否开启编译模式 或者 是否是编译模式的子渲染函数 |
|
|
64
|
+
| harmonyDirection? | `"row" \| "column" \| "flex" \| undefined` | 自定义容器组件的方向 |
|
|
65
|
+
| onTouchStart? | `((event: ITouchEvent) => void) \| undefined` | 手指触摸动作开始 |
|
|
66
|
+
| onTouchMove? | `((event: ITouchEvent) => void) \| undefined` | 手指触摸后移动 |
|
|
67
|
+
| onTouchCancel? | `((event: ITouchEvent) => void) \| undefined` | 手指触摸动作被打断,如来电提醒,弹窗 |
|
|
68
|
+
| onTouchEnd? | `((event: ITouchEvent) => void) \| undefined` | 手指触摸动作结束 |
|
|
69
|
+
| onClick? | `((event: ITouchEvent) => void) \| undefined` | 手指触摸后马上离开 |
|
|
70
|
+
| onLongPress? | `((event: CommonEvent) => void) \| undefined` | 手指触摸后,超过350ms再离开,如果指定了事件回调函数并触发了这个事件,tap事件将不被触发 |
|
|
71
|
+
| onLongClick? | `((event: CommonEvent) => void) \| undefined` | 手指触摸后,超过350ms再离开(推荐使用 longpress 事件代替) |
|
|
72
|
+
| onTransitionEnd? | `((event: CommonEvent) => void) \| undefined` | 会在 WXSS transition 或 Taro.createAnimation 动画结束后触发 |
|
|
73
|
+
| onAnimationStart? | `((event: CommonEvent) => void) \| undefined` | 会在一个 WXSS animation 动画开始时触发 |
|
|
74
|
+
| onAnimationIteration? | `((event: CommonEvent) => void) \| undefined` | 会在一个 WXSS animation 一次迭代结束时触发 |
|
|
75
|
+
| onAnimationEnd? | `((event: CommonEvent) => void) \| undefined` | 会在一个 WXSS animation 动画完成时触发 |
|
|
76
|
+
| onTouchForceChange? | `((event: CommonEvent) => void) \| undefined` | 在支持 3D Touch 的 iPhone 设备,重按时会触发 |
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# components/miniapp-open-card
|
|
2
|
+
|
|
3
|
+
<!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
|
|
4
|
+
|
|
5
|
+
导入路径前缀:`@open-dy/vibecoding-sdk-taro/components/miniapp-open-card`
|
|
6
|
+
|
|
7
|
+
| API | 说明 | 文档 |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| `MiniappOpenCard` | 承载同一 OpenCard;SDK 选择环境版本并为空初始化参数提供对象,错误类型直接报错。 | [查看](./MiniappOpenCard.md) |
|
|
10
|
+
| `MiniappOpenCardProps` | 普通 Taro 宿主的内嵌卡属性;沿用 StandardProps,但不接受 children 或 envVersion。 | [查看](./MiniappOpenCardProps.md) |
|
|
11
|
+
| `MiniappOpenCardErrorDetail` | 内嵌卡加载错误的事件 detail;可选错误字段由平台提供。 | [查看](./MiniappOpenCardErrorDetail.md) |
|
|
12
|
+
| `MiniappOpenCardEnvVersion` | SDK 根据宿主环境选择的卡片版本;不是业务组件的可配置属性。 | [查看](./MiniappOpenCardEnvVersion.md) |
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
<!-- Generated from packages/lucide-taro/README.md. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
> 本文收录配套图标库的文档;图标包是工程的独立依赖,不由 SDK 重新导出。业务从 `@open-dy/lucide-taro` 导入,Feed OpenCard 不使用。实际版本和可用图标以当前工程安装的图标包及其公开导出为准。
|
|
4
|
+
|
|
5
|
+
# @open-dy/lucide-taro
|
|
6
|
+
|
|
7
|
+
面向 Taro 小程序的 Lucide 图标组件库,并提供生成小程序 TabBar PNG 图标的命令行工具。
|
|
8
|
+
|
|
9
|
+
## 安装
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
pnpm add @open-dy/lucide-taro
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
项目需要同时安装兼容版本的 React 与 `@tarojs/components`。
|
|
16
|
+
|
|
17
|
+
## 使用图标组件
|
|
18
|
+
|
|
19
|
+
图标名和常用 API 与 `lucide-react` 保持一致,业务代码必须从 `@open-dy/lucide-taro` 导入:
|
|
20
|
+
|
|
21
|
+
```tsx
|
|
22
|
+
import { House, Search, Settings } from '@open-dy/lucide-taro'
|
|
23
|
+
import { View } from '@tarojs/components'
|
|
24
|
+
|
|
25
|
+
export function Actions() {
|
|
26
|
+
return (
|
|
27
|
+
<View className="flex items-center gap-3">
|
|
28
|
+
<House size={24} color="#1677ff" strokeWidth={2} />
|
|
29
|
+
<Search size="20" color="#111827" />
|
|
30
|
+
<Settings size={20} color="#6b7280" />
|
|
31
|
+
</View>
|
|
32
|
+
)
|
|
33
|
+
}
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### 图标属性
|
|
37
|
+
|
|
38
|
+
| 属性 | 类型 | 默认值 | 说明 |
|
|
39
|
+
| --- | --- | --- | --- |
|
|
40
|
+
| `size` | `string \| number` | `24` | 图标宽高 |
|
|
41
|
+
| `color` | `string` | `currentColor` | 描边颜色;小程序中建议始终显式传入 |
|
|
42
|
+
| `strokeWidth` | `string \| number` | `2` | 描边宽度 |
|
|
43
|
+
| `filled` | `boolean` | `false` | 使用 `color` 填充图标 |
|
|
44
|
+
| `absoluteStrokeWidth` | `boolean` | `false` | 缩放尺寸时保持视觉描边宽度 |
|
|
45
|
+
| `className` | `string` | - | 添加到外层 Taro `Image` |
|
|
46
|
+
| `style` | `CSSProperties` | - | 添加到外层 Taro `Image` |
|
|
47
|
+
|
|
48
|
+
原生小程序不能直接渲染内联 SVG。本包会把图标序列化为 SVG data URI,并通过 Taro `Image` 组件显示。因此:
|
|
49
|
+
|
|
50
|
+
- `className` 和 `style` 只影响外层 `Image`,不会把 CSS `color` 传入 SVG。
|
|
51
|
+
- 不要依赖 `currentColor` 或 `text-*` class 改变图标笔画,始终显式传递 `color`。
|
|
52
|
+
- 图标所在的按钮或容器应提供明确宽高和居中布局。
|
|
53
|
+
|
|
54
|
+
## 全局默认属性
|
|
55
|
+
|
|
56
|
+
可以使用 `LucideProvider` 为子树设置默认值:
|
|
57
|
+
|
|
58
|
+
```tsx
|
|
59
|
+
import {
|
|
60
|
+
Bell,
|
|
61
|
+
LucideProvider,
|
|
62
|
+
MessageCircle,
|
|
63
|
+
} from '@open-dy/lucide-taro'
|
|
64
|
+
|
|
65
|
+
export function IconGroup() {
|
|
66
|
+
return (
|
|
67
|
+
<LucideProvider size={20} color="#475569" strokeWidth={2}>
|
|
68
|
+
<Bell />
|
|
69
|
+
<MessageCircle color="#1677ff" />
|
|
70
|
+
</LucideProvider>
|
|
71
|
+
)
|
|
72
|
+
}
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
组件自身的属性会覆盖 Provider 默认值。`useLucideContext()` 可读取当前默认配置。
|
|
76
|
+
|
|
77
|
+
## 查找可用图标
|
|
78
|
+
|
|
79
|
+
包会导出 Lucide 的 PascalCase 图标名及常见兼容别名。不要猜测图标是否存在,使用前搜索类型声明:
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
rg "declare const House" node_modules/@open-dy/lucide-taro/dist/lucide-taro.d.ts
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
常见命名形态包括 `House`、`HouseIcon` 和部分历史别名。准确导出列表以 `dist/lucide-taro.d.ts` 为准。
|
|
86
|
+
|
|
87
|
+
## 生成 TabBar PNG
|
|
88
|
+
|
|
89
|
+
小程序 TabBar 不支持 SVG 或 data URI,需要使用本地 PNG。安装 `sharp` 后,可使用包内命令生成普通态和选中态图标:
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
pnpm add -D sharp
|
|
93
|
+
|
|
94
|
+
pnpm exec generate-tabbar-png House Search User \
|
|
95
|
+
-o ./src/assets/tabbar \
|
|
96
|
+
-c "#999999" \
|
|
97
|
+
-a "#1677ff"
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
生成结果:
|
|
101
|
+
|
|
102
|
+
```text
|
|
103
|
+
src/assets/tabbar/
|
|
104
|
+
├── House.png
|
|
105
|
+
├── House-active.png
|
|
106
|
+
├── Search.png
|
|
107
|
+
├── Search-active.png
|
|
108
|
+
├── User.png
|
|
109
|
+
└── User-active.png
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
### CLI 参数
|
|
113
|
+
|
|
114
|
+
| 参数 | 说明 |
|
|
115
|
+
| --- | --- |
|
|
116
|
+
| `<icon...>` | 一个或多个 PascalCase 图标名 |
|
|
117
|
+
| `-o, --out <dir>` | 输出目录,必填 |
|
|
118
|
+
| `--output <name>` | 单图模式的输出文件名前缀 |
|
|
119
|
+
| `-s, --size <n>` | PNG 尺寸,默认 `81` |
|
|
120
|
+
| `-c, --color <hex>` | 普通态颜色,默认 `#999999` |
|
|
121
|
+
| `-a, --active-color <hex>` | 选中态颜色;传入后额外生成 `-active.png` |
|
|
122
|
+
| `-w, --stroke-width <n>` | 描边宽度,默认 `2` |
|
|
123
|
+
| `-h, --help` | 显示帮助 |
|
|
124
|
+
|
|
125
|
+
单图自定义文件名示例:
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
pnpm exec generate-tabbar-png House \
|
|
129
|
+
-o ./src/assets/tabbar \
|
|
130
|
+
--output home \
|
|
131
|
+
-c "#999999" \
|
|
132
|
+
-a "#1677ff"
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
## 当前能力
|
|
136
|
+
|
|
137
|
+
- 以 Taro `Image` 渲染 Lucide 图标,支持 H5 与小程序构建。
|
|
138
|
+
- 提供完整 TypeScript 图标类型与常见 Lucide 命名别名。
|
|
139
|
+
- 支持单图属性和 `LucideProvider` 全局默认属性。
|
|
140
|
+
- 支持通过 CLI 批量生成 TabBar 普通态与选中态 PNG。
|
|
141
|
+
- 支持尺寸、颜色、描边宽度和单图输出文件名配置。
|
|
142
|
+
|
|
143
|
+
## 开发与验证
|
|
144
|
+
|
|
145
|
+
```bash
|
|
146
|
+
pnpm build
|
|
147
|
+
pnpm test
|
|
148
|
+
pnpm pack:local
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
`dist/` 是该包直接发布的源码产物。修改图标导出或 TabBar 工具后,需要同步验证 `dist/lucide-taro.mjs`、`dist/lucide-taro.d.ts`、`dist/iconNodes.mjs` 与 `dist/generate-tabbar-png.mjs`。
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<!-- Generated by build/src/sdk-reference/skill-reference.ts. Do not edit. -->
|
|
4
4
|
|
|
5
5
|
导入路径:`@open-dy/vibecoding-sdk-taro/runtime`
|
|
6
|
-
|
|
6
|
+
源码:实际安装的 `@open-dy/vibecoding-sdk-taro` 包内 `src/runtime/client.ts`(仅补缺或排错时读取)。
|
|
7
7
|
|
|
8
8
|
#### 说明
|
|
9
9
|
|