[{"data":1,"prerenderedAt":574},["ShallowReactive",2],{"docs-navigation-en":3,"mdc-d0lvp9-key":202,"docs--en-docs-getting-started":223,"surround--en-docs-getting-started":564,"-en-docs-getting-started-description":566},[4],{"title":5,"path":6,"stem":7,"children":8,"page":105},"Docs","\u002Fen\u002Fdocs","en\u002Fdocs",[9,49,106,144,178],{"title":10,"path":11,"stem":12,"children":13,"category":16,"description":16,"icon":48},"Getting Started","\u002Fen\u002Fdocs\u002Fgetting-started","en\u002Fdocs\u002F1.getting-started\u002F1.index",[14,18,23,28,33,38,43],{"title":15,"path":11,"stem":12,"category":16,"description":17},"Introduction",null,"Explore forms, data tables, components, and API integration in Movk Nuxt and choose a setup for Nuxt or Vue + Vite.",{"title":19,"path":20,"stem":21,"category":16,"description":22},"Installation","\u002Fen\u002Fdocs\u002Fgetting-started\u002Finstallation","en\u002Fdocs\u002F1.getting-started\u002F2.installation","Install and configure the Movk Nuxt module in a Nuxt 4 project.",{"title":24,"path":25,"stem":26,"category":16,"description":27},"Module Configuration","\u002Fen\u002Fdocs\u002Fgetting-started\u002Fconfiguration","en\u002Fdocs\u002F1.getting-started\u002F3.configuration","Configure component prefix, theme colors, fonts, API endpoints, auth strategy, response parsing rules and Toast notification behavior.",{"title":29,"path":30,"stem":31,"category":16,"description":32},"Vue \u002F Vite","\u002Fen\u002Fdocs\u002Fgetting-started\u002Fvue","en\u002Fdocs\u002F1.getting-started\u002F4.vue","Use Movk standalone components, theming and composables in a plain Vue + Vite project without Nuxt.",{"title":34,"path":35,"stem":36,"category":16,"description":37},"Theme System","\u002Fen\u002Fdocs\u002Fgetting-started\u002Ftheme","en\u002Fdocs\u002F1.getting-started\u002F5.theme","Manage colors, radius, icon sets and dark mode through module defaults, the ThemePicker component and the useTheme composable, with build-time font configuration.",{"title":39,"path":40,"stem":41,"category":16,"description":42},"Migrate to v2","\u002Fen\u002Fdocs\u002Fgetting-started\u002Fmigration","en\u002Fdocs\u002F1.getting-started\u002F6.migration","Breaking changes to handle when upgrading from v1 to v2.",{"title":44,"path":45,"stem":46,"category":16,"description":47},"AI Integration","\u002Fen\u002Fdocs\u002Fgetting-started\u002Fai","en\u002Fdocs\u002F1.getting-started\u002F7.ai","Help AI assistants understand Movk Nuxt through MCP, llms.txt and Skills.","i-lucide-square-play",{"title":50,"category":16,"description":16,"icon":51,"path":52,"stem":53,"children":54,"page":105},"Forms","i-lucide-square-pen","\u002Fen\u002Fdocs\u002Fauto-form","en\u002Fdocs\u002F2.auto-form",[55,60,65,70,75,80,85,90,95,100],{"title":56,"path":57,"stem":58,"category":16,"description":59},"Quickstart","\u002Fen\u002Fdocs\u002Fauto-form\u002Fquickstart","en\u002Fdocs\u002F2.auto-form\u002F1.quickstart","Learn the core design philosophy and basic usage of AutoForm.",{"title":61,"path":62,"stem":63,"category":16,"description":64},"Recipes","\u002Fen\u002Fdocs\u002Fauto-form\u002Frecipes","en\u002Fdocs\u002F2.auto-form\u002F10.recipes","Real-world AutoForm scenarios — login, grouped registration validation, multi-file upload and horizontal search form.",{"title":66,"path":67,"stem":68,"category":16,"description":69},"Field Types","\u002Fen\u002Fdocs\u002Fauto-form\u002Ffield-types","en\u002Fdocs\u002F2.auto-form\u002F2.field-types","Mapping of afz field types to controls and their configuration.",{"title":71,"path":72,"stem":73,"category":16,"description":74},"Objects and Arrays","\u002Fen\u002Fdocs\u002Fauto-form\u002Fobject-array","en\u002Fdocs\u002F2.auto-form\u002F3.object-array","Rendering and editing nested object and dynamic array fields.",{"title":76,"path":77,"stem":78,"category":16,"description":79},"Controls","\u002Fen\u002Fdocs\u002Fauto-form\u002Fcontrols","en\u002Fdocs\u002F2.auto-form\u002F4.controls","Map schema fields to Nuxt UI controls via the type field, or register and inject custom Vue components to extend form fields.",{"title":81,"path":82,"stem":83,"category":16,"description":84},"Metadata and Layout","\u002Fen\u002Fdocs\u002Fauto-form\u002Fmetadata-layout","en\u002Fdocs\u002F2.auto-form\u002F5.metadata-layout","Configure field properties through meta and arrange them with afz.layout.",{"title":86,"path":87,"stem":88,"category":16,"description":89},"Slots","\u002Fen\u002Fdocs\u002Fauto-form\u002Fslots","en\u002Fdocs\u002F2.auto-form\u002F6.slots","Customize AutoForm's header\u002Ffooter, field controls, before\u002Fafter field and layout content via named slots.",{"title":91,"path":92,"stem":93,"category":16,"description":94},"Reactivity and Submit","\u002Fen\u002Fdocs\u002Fauto-form\u002Freactive-submit","en\u002Fdocs\u002F2.auto-form\u002F7.reactive-submit","Reactive linkage between fields and form submission handling.",{"title":96,"path":97,"stem":98,"category":16,"description":99},"SearchForm","\u002Fen\u002Fdocs\u002Fauto-form\u002Fsearch-form","en\u002Fdocs\u002F2.auto-form\u002F8.search-form","A schema-driven, collapsible search form component.",{"title":101,"path":102,"stem":103,"category":16,"description":104},"useAutoForm","\u002Fen\u002Fdocs\u002Fauto-form\u002Fuse-auto-form","en\u002Fdocs\u002F2.auto-form\u002F9.use-auto-form","A composable for creating typed Zod schemas and managing AutoForm controls.",false,{"title":107,"path":108,"stem":109,"children":110,"category":16,"description":16,"icon":143},"DataTable","\u002Fen\u002Fdocs\u002Fdata-table","en\u002Fdocs\u002F3.data-table\u002F1.index",[111,113,118,123,128,133,138],{"title":15,"path":108,"stem":109,"category":16,"description":112},"A declarative data table based on TanStack Table, with column configuration, selection, expansion, tree data, pagination, load more and complete API reference.",{"title":114,"path":115,"stem":116,"category":16,"description":117},"Appearance","\u002Fen\u002Fdocs\u002Fdata-table\u002Fappearance","en\u002Fdocs\u002F3.data-table\u002F2.appearance","Component style overrides, pagination style overrides, stripe and borders, visual density, fit-content width, empty-cell placeholders and sticky header.",{"title":119,"path":120,"stem":121,"category":16,"description":122},"Columns","\u002Fen\u002Fdocs\u002Fdata-table\u002Fcolumns","en\u002Fdocs\u002F3.data-table\u002F3.columns","Data column configuration — fixed columns, sorting, column pinning, column resize, text truncation, tooltips, visibility and functional per-column configuration.",{"title":124,"path":125,"stem":126,"category":16,"description":127},"Special Columns","\u002Fen\u002Fdocs\u002Fdata-table\u002Fspecial-columns","en\u002Fdocs\u002F3.data-table\u002F4.special-columns","Configuration for selection, index, row-pinning and actions columns — including tree selection strategies, dynamic button props and confirmation dialogs.",{"title":129,"path":130,"stem":131,"category":16,"description":132},"Rows & Interaction","\u002Fen\u002Fdocs\u002Fdata-table\u002Frows","en\u002Fdocs\u002F3.data-table\u002F5.rows","Row selection, expandable detail slot, click behaviors, dynamic row class\u002Fstyle, hover, context menu and imperative control.",{"title":134,"path":135,"stem":136,"category":16,"description":137},"Tree Data","\u002Fen\u002Fdocs\u002Fdata-table\u002Ftree","en\u002Fdocs\u002F3.data-table\u002F6.tree","Enable tree-mode tables via childrenKey — configure expansion, cascade selection strategies, indentation and read selection results.",{"title":139,"path":140,"stem":141,"category":16,"description":142},"Pagination & Load More","\u002Fen\u002Fdocs\u002Fdata-table\u002Fpagination","en\u002Fdocs\u002F3.data-table\u002F7.pagination","Client-side auto pagination, server-side manual pagination with loading state, and bottom-trigger load-more for infinite scroll.","i-lucide-table",{"title":145,"path":146,"stem":147,"children":148,"category":16,"description":16,"icon":177},"API","\u002Fen\u002Fdocs\u002Fapi","en\u002Fdocs\u002F4.api\u002F1.index",[149,152,157,162,167,172],{"title":150,"path":146,"stem":147,"category":16,"description":151},"Overview","Nuxt data-fetching fundamentals and the core concepts and architecture of the Movk Nuxt API system.",{"title":153,"path":154,"stem":155,"category":16,"description":156},"$api","\u002Fen\u002Fdocs\u002Fapi\u002Fapi-plugin","en\u002Fdocs\u002F4.api\u002F2.api-plugin","The enhanced $fetch instance created by the api.factory plugin, supporting auth injection, data unwrapping, business code checking and multi-endpoint switching.",{"title":158,"path":159,"stem":160,"category":16,"description":161},"Hooks","\u002Fen\u002Fdocs\u002Fapi\u002Fhooks","en\u002Fdocs\u002F4.api\u002F3.hooks","Extend API system behavior via Nuxt runtime hooks — global request interception, error handling and custom 401 logic.",{"title":163,"path":164,"stem":165,"category":16,"description":166},"useApiFetch","\u002Fen\u002Fdocs\u002Fapi\u002Fuse-api-fetch","en\u002Fdocs\u002F4.api\u002F4.use-api-fetch","An API request composable built on Nuxt useFetch, providing automatic authentication, business status code checking and Toast notifications.",{"title":168,"path":169,"stem":170,"category":16,"description":171},"Upload and Download","\u002Fen\u002Fdocs\u002Fapi\u002Fupload-download","en\u002Fdocs\u002F4.api\u002F5.upload-download","File upload and download with progress tracking.",{"title":173,"path":174,"stem":175,"category":16,"description":176},"Streaming","\u002Fen\u002Fdocs\u002Fapi\u002Fstream","en\u002Fdocs\u002F4.api\u002F6.stream","SSE streaming requests and the AI SDK chat transport.","i-lucide-cloud",{"title":179,"category":16,"description":16,"icon":180,"path":181,"stem":182,"children":183,"page":105},"Components","i-lucide-box","\u002Fen\u002Fdocs\u002Fcomponents","en\u002Fdocs\u002F5.components",[184,190,196],{"title":185,"path":186,"stem":187,"category":188,"description":189},"DatePicker","\u002Fen\u002Fdocs\u002Fcomponents\u002Fdate-picker","en\u002Fdocs\u002F5.components\u002Fdate-picker","advanced","An internationalized date picker component.",{"title":191,"path":192,"stem":193,"category":194,"description":195},"MessageBox","\u002Fen\u002Fdocs\u002Fcomponents\u002Fmessage-box","en\u002Fdocs\u002F5.components\u002Fmessage-box","feedback","A modal message dialog offering both declarative and programmatic usage.",{"title":197,"path":198,"stem":199,"category":188,"description":200,"badge":201},"Tree","\u002Fen\u002Fdocs\u002Fcomponents\u002Ftree","en\u002Fdocs\u002F5.components\u002Ftree","A tree component built on Nuxt UI Tree, adding search, lazy loading, toolbar, checkboxes, and parent\u002Fchild strategy.","v1.4.2",{"data":203,"body":204},{},{"type":205,"children":206},"root",[207],{"type":208,"tag":209,"props":210,"children":211},"element","p",{},[212,215],{"type":213,"value":214},"text","Copyright © 2025 - 2026 YiXuan - ",{"type":208,"tag":216,"props":217,"children":220},"span",{"className":218},[219],"text-highlighted",[221],{"type":213,"value":222},"MIT License",{"id":224,"title":15,"body":225,"category":16,"description":17,"difficulty":16,"extension":559,"index":105,"keywords":16,"links":16,"meta":560,"navigation":16,"path":11,"requires":16,"seo":561,"sitemap":562,"stem":12,"__hash__":563},"docs_en\u002Fen\u002Fdocs\u002F1.getting-started\u002F1.index.md",{"type":226,"value":227,"toc":544},"minimark",[228,232,248,255,283,304,308,358,362,365,429,433,438,441,446,450,457,460,464,467,484,487,491,494,511,514,518,540],[229,230,15],"h2",{"id":231},"introduction",[209,233,234,235,239,240,247],{},"Movk Nuxt is an ",[236,237,238],"strong",{},"application toolkit for Nuxt and Vue",". Built on ",[241,242,246],"a",{"href":243,"rel":244},"https:\u002F\u002Fui.nuxt.com",[245],"nofollow","Nuxt UI",", it provides AutoForm, DataTable, standalone components, and composables. Start with a single component or combine forms, tables, and theming. In Nuxt, you can also integrate API requests, authentication, and file transfers.",[209,249,250,251,254],{},"It offers ",[236,252,253],{},"two modes of use",":",[256,257,258,265],"ul",{},[259,260,261,264],"li",{},[236,262,263],{},"Nuxt 4"," — Get full capabilities including API integration (auth, progress tracking).",[259,266,267,270,271,275,276,279,280],{},[236,268,269],{},"Plain Vue + Vite"," — Via ",[272,273,274],"code",{},"@movk\u002Fnuxt\u002Fvite"," + ",[272,277,278],{},"@movk\u002Fnuxt\u002Fvue-plugin",", use its UI layer: standalone components, AutoForm, DataTable, theming and non-server-side composables. ",[236,281,282],{},"The API integration domain depends on the Nuxt server runtime and is only available in Nuxt mode.",[284,285,288,289,292,293,296,297,300,301,303],"callout",{"color":286,"icon":287},"primary","i-lucide-rocket","Follows ",[236,290,291],{},"progressive adoption"," principles — you can use just the date utilities or UI components, use fully automated ",[236,294,295],{},"AutoForm",", integrate the ",[236,298,299],{},"API System"," in Nuxt, or bring its UI layer into a plain Vue + Vite project (see ",[241,302,29],{"href":30},").",[229,305,307],{"id":306},"core-features","Core Features",[309,310,311,319,325,351],"card-group",{},[312,313,316,318],"card",{"icon":314,"title":315},"i-lucide-zap","Schema-Driven Forms · Nuxt \u002F Vue+Vite",[236,317,295],{}," automatically generates complete form interfaces from a Zod Schema — one Schema simultaneously defines data structure, validation rules and UI configuration.",[312,320,322,324],{"icon":143,"title":321},"Type-Safe Table · Nuxt \u002F Vue+Vite",[236,323,107],{}," provides data, selection, index, expand and action column types, with sorting, column pinning, tree data, pagination and load-more support.",[312,326,329,330,332,333,332,335,337,338,340,341,332,344,337,347,350],{"icon":327,"title":328},"i-lucide-package","Standalone Components & Utilities · Nuxt \u002F Vue+Vite","Components like ",[272,331,185],{},", ",[272,334,96],{},[272,336,197],{}," and ",[272,339,191],{},", along with composables like ",[272,342,343],{},"useDateFormatter",[272,345,346],{},"useTheme",[272,348,349],{},"useMessageBox",", can all be used independently.",[312,352,354,355,357],{"icon":177,"title":353},"API Integration System · Nuxt Only","The ",[272,356,163],{}," family wraps multi-endpoint, auto-auth, business status code checking and Toast notifications, plus file upload\u002Fdownload with progress (requires Nuxt server runtime).",[229,359,361],{"id":360},"architecture-layers","Architecture Layers",[209,363,364],{},"Movk Nuxt uses a clear layered architecture:",[366,367,369,374],"note",{"icon":368},"i-lucide-layers",[209,370,371],{},[236,372,373],{},"Architecture Levels",[256,375,376,382,387,393,399,410],{},[259,377,378,381],{},[236,379,380],{},"Core Systems"," - AutoForm (schema-driven forms), DataTable (type-safe tables)",[259,383,384,386],{},[236,385,299],{}," - useApiFetch, useLazyApiFetch, useClientApiFetch, useUploadWithProgress, useDownloadWithProgress",[259,388,389,392],{},[236,390,391],{},"Standalone Components"," - DatePicker, SearchForm, Tree, MessageBox, ThemePicker",[259,394,395,398],{},[236,396,397],{},"Composables"," - useDateFormatter, useAutoForm, useTheme, useMessageBox and other general-purpose composables",[259,400,401,404,405,275,407,409],{},[236,402,403],{},"Vite\u002FVue Compatibility Layer"," - ",[272,406,274],{},[272,408,278],{},", making the UI layer (Core Systems, Standalone Components, non-server composables) available in plain Vue + Vite (excludes API System)",[259,411,412,415,416,332,419,332,424],{},[236,413,414],{},"Foundation"," - Based on ",[241,417,246],{"href":243,"rel":418},[245],[241,420,423],{"href":421,"rel":422},"https:\u002F\u002Fzod.dev",[245],"Zod v4",[241,425,428],{"href":426,"rel":427},"https:\u002F\u002Fvueuse.org",[245],"VueUse",[229,430,432],{"id":431},"core-modules","Core Modules",[434,435,437],"h3",{"id":436},"autoform-schema-driven-form-system","AutoForm - Schema-Driven Form System",[209,439,440],{},"A \"define and render\" form solution based on Zod Schema, supporting multiple control types, layout systems, conditional linking and other advanced features.",[442,443,445],"tip",{"icon":444,"to":57},"i-lucide-book-open","Deep dive into AutoForm's core concepts and usage",[434,447,449],{"id":448},"datatable-type-safe-data-table","DataTable - Type-Safe Data Table",[209,451,452,453,456],{},"A declarative column configuration table based on ",[272,454,455],{},"@tanstack\u002Fvue-table",", supporting data, selection, index, expand and action column types, as well as sorting, column pinning, drag-to-resize, tree data, pagination and load-more.",[442,458,459],{"icon":143,"to":108},"Learn about DataTable's column configuration and advanced features",[434,461,463],{"id":462},"api-system-unified-requests-auth","API System - Unified Requests & Auth",[209,465,466],{},"Provides a complete API request solution:",[256,468,469,474],{},[259,470,471,473],{},[272,472,163],{}," - Wraps useFetch with auto-auth, business status code checking and Toast notifications",[259,475,476,479,480,483],{},[272,477,478],{},"useUploadWithProgress"," \u002F ",[272,481,482],{},"useDownloadWithProgress"," - File upload\u002Fdownload with progress monitoring",[442,485,486],{"icon":177,"to":146},"Learn how to use the API System",[434,488,490],{"id":489},"standalone-components-ready-to-use","Standalone Components - Ready to Use",[209,492,493],{},"High-quality UI components that can be used directly without AutoForm:",[256,495,496,501,506],{},[259,497,498,500],{},[272,499,185],{}," - Internationalization-standard date picker (single \u002F range \u002F multiple)",[259,502,503,505],{},[272,504,197],{}," - Tree with checking, search and lazy loading",[259,507,508,510],{},[272,509,191],{}," - Imperative confirm\u002Falert dialog",[442,512,513],{"icon":180,"to":186},"Browse all available components",[434,515,517],{"id":516},"general-utilities","General Utilities",[256,519,520,525,530,535],{},[259,521,522,524],{},[272,523,343],{}," - Date formatting, parsing and range processing utilities",[259,526,527,529],{},[272,528,101],{}," - Core logic wrapper for AutoForm",[259,531,532,534],{},[272,533,346],{}," - Theme state reading\u002Fwriting with CSS\u002Fconfig export",[259,536,537,539],{},[272,538,349],{}," - Imperative alert \u002F confirm dialogs",[442,541,543],{"icon":542,"to":102},"i-lucide-square-function","View all Composables",{"title":545,"searchDepth":546,"depth":546,"links":547},"",2,[548,549,550,551],{"id":231,"depth":546,"text":15},{"id":306,"depth":546,"text":307},{"id":360,"depth":546,"text":361},{"id":431,"depth":546,"text":432,"children":552},[553,555,556,557,558],{"id":436,"depth":554,"text":437},3,{"id":448,"depth":554,"text":449},{"id":462,"depth":554,"text":463},{"id":489,"depth":554,"text":490},{"id":516,"depth":554,"text":517},"md",{},{"title":15,"description":17},{"loc":11},"HVpqV5OcI-CNJ4ZMoI2RxdEHXoiqxEbLfkDwCdgeAkw",[16,565],{"title":19,"path":20,"stem":21,"description":22,"children":-1},{"data":567,"body":568},{},{"type":205,"children":569},[570],{"type":208,"tag":209,"props":571,"children":572},{},[573],{"type":213,"value":17},1795419740470]