[{"data":1,"prerenderedAt":1346},["ShallowReactive",2],{"navigation":3,"-composables-use-toast":576,"-composables-use-toast-surround":1330,"-composables-use-toast-description":1335},[4,103,121],{"title":5,"path":6,"stem":7,"children":8,"framework":11,"module":11,"icon":24},"Getting Started","/getting-started","1.getting-started/1.index",[9,13,42,46,51,63,68,80,93,98],{"title":10,"path":6,"stem":7,"framework":11,"module":11,"icon":12},"Introduction",null,"i-lucide-house",{"title":14,"framework":11,"module":11,"shadow":15,"path":16,"stem":17,"children":18,"page":41},"Installation",true,"/getting-started/installation","1.getting-started/2.installation",[19,25,29],{"title":14,"path":20,"stem":21,"framework":22,"module":23,"icon":24},"/getting-started/installation/nuxt","1.getting-started/2.installation/1.nuxt","nuxt","ui","i-lucide-square-play",{"title":14,"path":26,"stem":27,"framework":28,"module":23,"icon":24},"/getting-started/installation/vue","1.getting-started/2.installation/2.vue","vue",{"title":30,"framework":11,"module":11,"shadow":15,"path":31,"stem":32,"children":33,"page":41},"Pro","/getting-started/installation/pro","1.getting-started/2.installation/pro",[34,38],{"title":14,"path":35,"stem":36,"framework":22,"module":37,"icon":24},"/getting-started/installation/pro/nuxt","1.getting-started/2.installation/pro/1.nuxt","ui-pro",{"title":14,"path":39,"stem":40,"framework":28,"module":37,"icon":24},"/getting-started/installation/pro/vue","1.getting-started/2.installation/pro/2.vue",false,{"title":43,"path":44,"stem":45,"framework":11,"module":11},"Migration","/getting-started/migration","1.getting-started/2.migration",{"title":47,"path":48,"stem":49,"framework":11,"module":11,"icon":50},"Theme","/getting-started/theme","1.getting-started/3.theme","i-lucide-swatch-book",{"title":52,"framework":11,"module":11,"shadow":15,"path":53,"stem":54,"children":55,"page":41},"Icons","/getting-started/icons","1.getting-started/4.icons",[56,60],{"title":52,"path":57,"stem":58,"framework":22,"module":11,"icon":59},"/getting-started/icons/nuxt","1.getting-started/4.icons/1.nuxt","i-lucide-smile",{"title":52,"path":61,"stem":62,"framework":28,"module":11,"icon":59},"/getting-started/icons/vue","1.getting-started/4.icons/2.vue",{"title":64,"path":65,"stem":66,"framework":22,"module":11,"icon":67},"Fonts","/getting-started/fonts","1.getting-started/5.fonts","i-lucide-a-large-small",{"title":69,"framework":11,"module":11,"shadow":15,"path":70,"stem":71,"children":72,"page":41},"Color Mode","/getting-started/color-mode","1.getting-started/6.color-mode",[73,77],{"title":69,"path":74,"stem":75,"framework":22,"module":11,"icon":76},"/getting-started/color-mode/nuxt","1.getting-started/6.color-mode/1.nuxt","i-lucide-sun-moon",{"title":69,"path":78,"stem":79,"framework":28,"module":11,"icon":76},"/getting-started/color-mode/vue","1.getting-started/6.color-mode/2.vue",{"title":81,"framework":11,"module":11,"shadow":15,"path":82,"stem":83,"children":84,"page":41},"I18n","/getting-started/i18n","1.getting-started/7.i18n",[85,90],{"title":86,"path":87,"stem":88,"framework":22,"module":11,"icon":89},"Internationalization (i18n)","/getting-started/i18n/nuxt","1.getting-started/7.i18n/1.nuxt","i-lucide-languages",{"title":86,"path":91,"stem":92,"framework":28,"module":11,"icon":89},"/getting-started/i18n/vue","1.getting-started/7.i18n/2.vue",{"title":94,"path":95,"stem":96,"framework":22,"module":37,"icon":97},"Content","/getting-started/content","1.getting-started/8.content","i-simple-icons-markdown",{"title":99,"path":100,"stem":101,"framework":22,"module":37,"icon":102},"Typography","/getting-started/typography","1.getting-started/9.typography","i-lucide-type",{"title":104,"framework":11,"module":11,"icon":105,"path":106,"stem":107,"children":108,"page":41},"Composables","i-lucide-square-function","/composables","2.composables",[109,113,117],{"title":110,"path":111,"stem":112,"framework":11,"module":11},"defineShortcuts","/composables/define-shortcuts","2.composables/define-shortcuts",{"title":114,"path":115,"stem":116,"framework":11,"module":11},"useOverlay","/composables/use-overlay","2.composables/use-overlay",{"title":118,"path":119,"stem":120,"framework":11,"module":11},"useToast","/composables/use-toast","2.composables/use-toast",{"title":122,"framework":11,"module":11,"icon":123,"path":124,"stem":125,"children":126,"page":41},"Components","i-lucide-square-code","/components","3.components",[127,131,135,139,143,147,151,155,159,163,167,171,175,179,183,187,191,195,199,203,207,211,215,219,223,227,231,235,239,243,247,251,255,259,263,267,271,275,279,283,287,291,295,299,303,307,311,315,319,323,327,331,335,339,343,348,352,356,360,364,368,372,376,380,384,388,392,396,400,404,408,412,416,420,424,428,432,436,440,444,448,452,456,460,464,468,472,476,480,484,488,492,496,500,504,508,512,516,520,524,528,532,536,540,544,548,552,556,560,564,568,572],{"title":128,"path":129,"stem":130,"framework":11,"module":11},"App","/components/app","3.components/0.app",{"title":132,"path":133,"stem":134,"framework":11,"module":11},"Accordion","/components/accordion","3.components/accordion",{"title":136,"path":137,"stem":138,"framework":11,"module":11},"Alert","/components/alert","3.components/alert",{"title":140,"path":141,"stem":142,"framework":11,"module":37},"AuthForm","/components/auth-form","3.components/auth-form",{"title":144,"path":145,"stem":146,"framework":11,"module":11},"Avatar","/components/avatar","3.components/avatar",{"title":148,"path":149,"stem":150,"framework":11,"module":11},"AvatarGroup","/components/avatar-group","3.components/avatar-group",{"title":152,"path":153,"stem":154,"framework":11,"module":11},"Badge","/components/badge","3.components/badge",{"title":156,"path":157,"stem":158,"framework":11,"module":37},"Banner","/components/banner","3.components/banner",{"title":160,"path":161,"stem":162,"framework":11,"module":37},"BlogPost","/components/blog-post","3.components/blog-post",{"title":164,"path":165,"stem":166,"framework":11,"module":37},"BlogPosts","/components/blog-posts","3.components/blog-posts",{"title":168,"path":169,"stem":170,"framework":11,"module":11},"Breadcrumb","/components/breadcrumb","3.components/breadcrumb",{"title":172,"path":173,"stem":174,"framework":11,"module":11},"Button","/components/button","3.components/button",{"title":176,"path":177,"stem":178,"framework":11,"module":11},"ButtonGroup","/components/button-group","3.components/button-group",{"title":180,"path":181,"stem":182,"framework":11,"module":11},"Calendar","/components/calendar","3.components/calendar",{"title":184,"path":185,"stem":186,"framework":11,"module":11},"Card","/components/card","3.components/card",{"title":188,"path":189,"stem":190,"framework":11,"module":11},"Carousel","/components/carousel","3.components/carousel",{"title":192,"path":193,"stem":194,"framework":11,"module":37},"ChangelogVersion","/components/changelog-version","3.components/changelog-version",{"title":196,"path":197,"stem":198,"framework":11,"module":37},"ChangelogVersions","/components/changelog-versions","3.components/changelog-versions",{"title":200,"path":201,"stem":202,"framework":11,"module":37},"ChatMessage","/components/chat-message","3.components/chat-message",{"title":204,"path":205,"stem":206,"framework":11,"module":37},"ChatMessages","/components/chat-messages","3.components/chat-messages",{"title":208,"path":209,"stem":210,"framework":11,"module":37},"ChatPalette","/components/chat-palette","3.components/chat-palette",{"title":212,"path":213,"stem":214,"framework":11,"module":37},"ChatPrompt","/components/chat-prompt","3.components/chat-prompt",{"title":216,"path":217,"stem":218,"framework":11,"module":37},"ChatPromptSubmit","/components/chat-prompt-submit","3.components/chat-prompt-submit",{"title":220,"path":221,"stem":222,"framework":11,"module":11},"Checkbox","/components/checkbox","3.components/checkbox",{"title":224,"path":225,"stem":226,"framework":11,"module":11},"CheckboxGroup","/components/checkbox-group","3.components/checkbox-group",{"title":228,"path":229,"stem":230,"framework":11,"module":11},"Chip","/components/chip","3.components/chip",{"title":232,"path":233,"stem":234,"framework":11,"module":11},"Collapsible","/components/collapsible","3.components/collapsible",{"title":236,"path":237,"stem":238,"framework":11,"module":37},"ColorModeAvatar","/components/color-mode-avatar","3.components/color-mode-avatar",{"title":240,"path":241,"stem":242,"framework":11,"module":37},"ColorModeButton","/components/color-mode-button","3.components/color-mode-button",{"title":244,"path":245,"stem":246,"framework":11,"module":37},"ColorModeImage","/components/color-mode-image","3.components/color-mode-image",{"title":248,"path":249,"stem":250,"framework":11,"module":37},"ColorModeSelect","/components/color-mode-select","3.components/color-mode-select",{"title":252,"path":253,"stem":254,"framework":11,"module":37},"ColorModeSwitch","/components/color-mode-switch","3.components/color-mode-switch",{"title":256,"path":257,"stem":258,"framework":11,"module":11},"ColorPicker","/components/color-picker","3.components/color-picker",{"title":260,"path":261,"stem":262,"framework":11,"module":11},"CommandPalette","/components/command-palette","3.components/command-palette",{"title":264,"path":265,"stem":266,"framework":11,"module":11},"Container","/components/container","3.components/container",{"title":268,"path":269,"stem":270,"framework":22,"module":37},"ContentNavigation","/components/content-navigation","3.components/content-navigation",{"title":272,"path":273,"stem":274,"framework":22,"module":37},"ContentSearch","/components/content-search","3.components/content-search",{"title":276,"path":277,"stem":278,"framework":22,"module":37},"ContentSearchButton","/components/content-search-button","3.components/content-search-button",{"title":280,"path":281,"stem":282,"framework":22,"module":37},"ContentSurround","/components/content-surround","3.components/content-surround",{"title":284,"path":285,"stem":286,"framework":22,"module":37},"ContentToc","/components/content-toc","3.components/content-toc",{"title":288,"path":289,"stem":290,"framework":11,"module":11},"ContextMenu","/components/context-menu","3.components/context-menu",{"title":292,"path":293,"stem":294,"framework":11,"module":37},"DashboardGroup","/components/dashboard-group","3.components/dashboard-group",{"title":296,"path":297,"stem":298,"framework":11,"module":37},"DashboardNavbar","/components/dashboard-navbar","3.components/dashboard-navbar",{"title":300,"path":301,"stem":302,"framework":11,"module":37},"DashboardPanel","/components/dashboard-panel","3.components/dashboard-panel",{"title":304,"path":305,"stem":306,"framework":11,"module":37},"DashboardResizeHandle","/components/dashboard-resize-handle","3.components/dashboard-resize-handle",{"title":308,"path":309,"stem":310,"framework":11,"module":37},"DashboardSearch","/components/dashboard-search","3.components/dashboard-search",{"title":312,"path":313,"stem":314,"framework":11,"module":37},"DashboardSearchButton","/components/dashboard-search-button","3.components/dashboard-search-button",{"title":316,"path":317,"stem":318,"framework":11,"module":37},"DashboardSidebar","/components/dashboard-sidebar","3.components/dashboard-sidebar",{"title":320,"path":321,"stem":322,"framework":11,"module":37},"DashboardSidebarCollapse","/components/dashboard-sidebar-collapse","3.components/dashboard-sidebar-collapse",{"title":324,"path":325,"stem":326,"framework":11,"module":37},"DashboardSidebarToggle","/components/dashboard-sidebar-toggle","3.components/dashboard-sidebar-toggle",{"title":328,"path":329,"stem":330,"framework":11,"module":37},"DashboardToolbar","/components/dashboard-toolbar","3.components/dashboard-toolbar",{"title":332,"path":333,"stem":334,"framework":11,"module":11},"Drawer","/components/drawer","3.components/drawer",{"title":336,"path":337,"stem":338,"framework":11,"module":11},"DropdownMenu","/components/dropdown-menu","3.components/dropdown-menu",{"title":340,"path":341,"stem":342,"framework":11,"module":37},"Error","/components/error","3.components/error",{"title":344,"path":345,"stem":346,"framework":11,"module":11,"badge":347},"FileUpload","/components/file-upload","3.components/file-upload","New",{"title":349,"path":350,"stem":351,"framework":11,"module":37},"Footer","/components/footer","3.components/footer",{"title":353,"path":354,"stem":355,"framework":11,"module":37},"FooterColumns","/components/footer-columns","3.components/footer-columns",{"title":357,"path":358,"stem":359,"framework":11,"module":11},"Form","/components/form","3.components/form",{"title":361,"path":362,"stem":363,"framework":11,"module":11},"FormField","/components/form-field","3.components/form-field",{"title":365,"path":366,"stem":367,"framework":11,"module":37},"Header","/components/header","3.components/header",{"title":369,"path":370,"stem":371,"framework":11,"module":11},"Icon","/components/icon","3.components/icon",{"title":373,"path":374,"stem":375,"framework":11,"module":11},"Input","/components/input","3.components/input",{"title":377,"path":378,"stem":379,"framework":11,"module":11},"InputMenu","/components/input-menu","3.components/input-menu",{"title":381,"path":382,"stem":383,"framework":11,"module":11},"InputNumber","/components/input-number","3.components/input-number",{"title":385,"path":386,"stem":387,"framework":11,"module":11},"InputTags","/components/input-tags","3.components/input-tags",{"title":389,"path":390,"stem":391,"framework":11,"module":11},"Kbd","/components/kbd","3.components/kbd",{"title":393,"path":394,"stem":395,"framework":11,"module":11},"Link","/components/link","3.components/link",{"title":397,"path":398,"stem":399,"framework":11,"module":37},"LocaleSelect","/components/locale-select","3.components/locale-select",{"title":401,"path":402,"stem":403,"framework":11,"module":37},"Main","/components/main","3.components/main",{"title":405,"path":406,"stem":407,"framework":11,"module":11},"Modal","/components/modal","3.components/modal",{"title":409,"path":410,"stem":411,"framework":11,"module":11},"NavigationMenu","/components/navigation-menu","3.components/navigation-menu",{"title":413,"path":414,"stem":415,"framework":11,"module":37},"Page","/components/page","3.components/page",{"title":417,"path":418,"stem":419,"framework":11,"module":37},"PageAccordion","/components/page-accordion","3.components/page-accordion",{"title":421,"path":422,"stem":423,"framework":11,"module":37},"PageAnchors","/components/page-anchors","3.components/page-anchors",{"title":425,"path":426,"stem":427,"framework":11,"module":37},"PageAside","/components/page-aside","3.components/page-aside",{"title":429,"path":430,"stem":431,"framework":11,"module":37},"PageBody","/components/page-body","3.components/page-body",{"title":433,"path":434,"stem":435,"framework":11,"module":37},"PageCard","/components/page-card","3.components/page-card",{"title":437,"path":438,"stem":439,"framework":11,"module":37},"PageColumns","/components/page-columns","3.components/page-columns",{"title":441,"path":442,"stem":443,"framework":11,"module":37},"PageCTA","/components/page-cta","3.components/page-cta",{"title":445,"path":446,"stem":447,"framework":11,"module":37},"PageFeature","/components/page-feature","3.components/page-feature",{"title":449,"path":450,"stem":451,"framework":11,"module":37},"PageGrid","/components/page-grid","3.components/page-grid",{"title":453,"path":454,"stem":455,"framework":11,"module":37},"PageHeader","/components/page-header","3.components/page-header",{"title":457,"path":458,"stem":459,"framework":11,"module":37},"PageHero","/components/page-hero","3.components/page-hero",{"title":461,"path":462,"stem":463,"framework":11,"module":37},"PageLinks","/components/page-links","3.components/page-links",{"title":465,"path":466,"stem":467,"framework":11,"module":37},"PageList","/components/page-list","3.components/page-list",{"title":469,"path":470,"stem":471,"framework":11,"module":37},"PageLogos","/components/page-logos","3.components/page-logos",{"title":473,"path":474,"stem":475,"framework":11,"module":37},"PageMarquee","/components/page-marquee","3.components/page-marquee",{"title":477,"path":478,"stem":479,"framework":11,"module":37},"PageSection","/components/page-section","3.components/page-section",{"title":481,"path":482,"stem":483,"framework":11,"module":11},"Pagination","/components/pagination","3.components/pagination",{"title":485,"path":486,"stem":487,"framework":11,"module":11},"PinInput","/components/pin-input","3.components/pin-input",{"title":489,"path":490,"stem":491,"framework":11,"module":11},"Popover","/components/popover","3.components/popover",{"title":493,"path":494,"stem":495,"framework":11,"module":37},"PricingPlan","/components/pricing-plan","3.components/pricing-plan",{"title":497,"path":498,"stem":499,"framework":11,"module":37},"PricingPlans","/components/pricing-plans","3.components/pricing-plans",{"title":501,"path":502,"stem":503,"framework":11,"module":37},"PricingTable","/components/pricing-table","3.components/pricing-table",{"title":505,"path":506,"stem":507,"framework":11,"module":11},"Progress","/components/progress","3.components/progress",{"title":509,"path":510,"stem":511,"framework":11,"module":11},"RadioGroup","/components/radio-group","3.components/radio-group",{"title":513,"path":514,"stem":515,"framework":11,"module":11},"Select","/components/select","3.components/select",{"title":517,"path":518,"stem":519,"framework":11,"module":11},"SelectMenu","/components/select-menu","3.components/select-menu",{"title":521,"path":522,"stem":523,"framework":11,"module":11},"Separator","/components/separator","3.components/separator",{"title":525,"path":526,"stem":527,"framework":11,"module":11},"Skeleton","/components/skeleton","3.components/skeleton",{"title":529,"path":530,"stem":531,"framework":11,"module":11},"Slideover","/components/slideover","3.components/slideover",{"title":533,"path":534,"stem":535,"framework":11,"module":11},"Slider","/components/slider","3.components/slider",{"title":537,"path":538,"stem":539,"framework":11,"module":11},"Stepper","/components/stepper","3.components/stepper",{"title":541,"path":542,"stem":543,"framework":11,"module":11},"Switch","/components/switch","3.components/switch",{"title":545,"path":546,"stem":547,"framework":11,"module":11},"Table","/components/table","3.components/table",{"title":549,"path":550,"stem":551,"framework":11,"module":11},"Tabs","/components/tabs","3.components/tabs",{"title":553,"path":554,"stem":555,"framework":11,"module":11},"Textarea","/components/textarea","3.components/textarea",{"title":557,"path":558,"stem":559,"framework":11,"module":11},"Timeline","/components/timeline","3.components/timeline",{"title":561,"path":562,"stem":563,"framework":11,"module":11},"Toast","/components/toast","3.components/toast",{"title":565,"path":566,"stem":567,"framework":11,"module":11},"Tooltip","/components/tooltip","3.components/tooltip",{"title":569,"path":570,"stem":571,"framework":11,"module":11},"Tree","/components/tree","3.components/tree",{"title":573,"path":574,"stem":575,"framework":11,"module":37},"User","/components/user","3.components/user",{"id":577,"title":118,"body":578,"category":11,"description":1325,"extension":1326,"framework":11,"links":11,"meta":1327,"module":11,"navigation":11,"path":119,"seo":1328,"stem":120,"__hash__":1329},"content/2.composables/use-toast.md",{"type":579,"value":580,"toc":1315},"minimark",[581,586,598,670,690,718,728,732,739,742,788,940,946,949,967,1101,1107,1110,1121,1212,1218,1221,1295,1300,1311],[582,583,585],"h2",{"id":584},"usage","Usage",[587,588,589,590,593,594,597],"p",{},"Use the auto-imported ",[591,592,118],"code",{}," composable to display ",[595,596,561],"a",{"href":562}," notifications.",[599,600,604],"pre",{"className":601,"code":602,"language":28,"meta":603,"style":603},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup lang=\"ts\">\nconst toast = useToast()\n\u003C/script>\n","",[591,605,606,641,660],{"__ignoreMap":603},[607,608,611,615,619,623,626,629,632,636,638],"span",{"class":609,"line":610},"line",1,[607,612,614],{"class":613},"sMK4o","\u003C",[607,616,618],{"class":617},"swJcz","script",[607,620,622],{"class":621},"spNyl"," setup",[607,624,625],{"class":621}," lang",[607,627,628],{"class":613},"=",[607,630,631],{"class":613},"\"",[607,633,635],{"class":634},"sfazB","ts",[607,637,631],{"class":613},[607,639,640],{"class":613},">\n",[607,642,644,647,651,653,657],{"class":609,"line":643},2,[607,645,646],{"class":621},"const",[607,648,650],{"class":649},"sTEyZ"," toast ",[607,652,628],{"class":613},[607,654,656],{"class":655},"s2Zo4"," useToast",[607,658,659],{"class":649},"()\n",[607,661,663,666,668],{"class":609,"line":662},3,[607,664,665],{"class":613},"\u003C/",[607,667,618],{"class":617},[607,669,640],{"class":613},[671,672,673,684,687],"ul",{},[674,675,676,677,679,680,683],"li",{},"The ",[591,678,118],{}," composable uses Nuxt's ",[591,681,682],{},"useState"," to manage the toast state, ensuring reactivity across your application.",[674,685,686],{},"A maximum of 5 toasts are displayed at a time. When adding a new toast that would exceed this limit, the oldest toast is automatically removed.",[674,688,689],{},"When removing a toast, there's a 200ms delay before it's actually removed from the state, allowing for exit animations.",[691,692,693],"warning",{},[587,694,695,696,700,701,709,710,717],{},"Make sure to wrap your app with the ",[595,697,698],{"href":129},[591,699,128],{}," component which uses our ",[595,702,706],{"href":703,"rel":704},"https://github.com/nuxt/ui/blob/v3/src/runtime/components/Toaster.vue",[705],"nofollow",[591,707,708],{},"Toaster"," component which uses the ",[595,711,714],{"href":712,"rel":713},"https://reka-ui.com/docs/components/toast#provider",[705],[591,715,716],{},"ToastProvider"," component from Reka UI.",[719,720,721],"tip",{"to":562},[587,722,723,724,727],{},"Learn how to customize the appearance and behavior of toasts in the ",[725,726,561],"strong",{}," component documentation.",[582,729,731],{"id":730},"api","API",[733,734,736],"h3",{"id":735},"addtoast-partialtoast-toast",[591,737,738],{},"add(toast: Partial\u003CToast>): Toast",[587,740,741],{},"Adds a new toast notification.",[671,743,744,782],{},[674,745,746,747],{},"Parameters:\n",[671,748,749],{},[674,750,751,754,755,757,758],{},[591,752,753],{},"toast",": A partial ",[591,756,561],{}," object with the following properties:\n",[671,759,760,766,776],{},[674,761,762,765],{},[591,763,764],{},"id"," (optional): A unique identifier for the toast. If not provided, a timestamp will be used.",[674,767,768,771,772,775],{},[591,769,770],{},"open"," (optional): Whether the toast is open. Defaults to ",[591,773,774],{},"true",".",[674,777,778,779,781],{},"Other properties from the ",[591,780,561],{}," interface.",[674,783,784,785,787],{},"Returns: The complete ",[591,786,561],{}," object that was added.",[599,789,791],{"className":601,"code":790,"language":28,"meta":603,"style":603},"\u003Cscript setup lang=\"ts\">\nconst toast = useToast()\n\nfunction showToast() {\n  toast.add({\n    title: 'Success',\n    description: 'Your action was completed successfully.',\n    color: 'success'\n  })\n}\n\u003C/script>\n",[591,792,793,813,825,830,845,862,883,900,916,925,931],{"__ignoreMap":603},[607,794,795,797,799,801,803,805,807,809,811],{"class":609,"line":610},[607,796,614],{"class":613},[607,798,618],{"class":617},[607,800,622],{"class":621},[607,802,625],{"class":621},[607,804,628],{"class":613},[607,806,631],{"class":613},[607,808,635],{"class":634},[607,810,631],{"class":613},[607,812,640],{"class":613},[607,814,815,817,819,821,823],{"class":609,"line":643},[607,816,646],{"class":621},[607,818,650],{"class":649},[607,820,628],{"class":613},[607,822,656],{"class":655},[607,824,659],{"class":649},[607,826,827],{"class":609,"line":662},[607,828,829],{"emptyLinePlaceholder":15},"\n",[607,831,833,836,839,842],{"class":609,"line":832},4,[607,834,835],{"class":621},"function",[607,837,838],{"class":655}," showToast",[607,840,841],{"class":613},"()",[607,843,844],{"class":613}," {\n",[607,846,848,851,853,856,859],{"class":609,"line":847},5,[607,849,850],{"class":649},"  toast",[607,852,775],{"class":613},[607,854,855],{"class":655},"add",[607,857,858],{"class":617},"(",[607,860,861],{"class":613},"{\n",[607,863,865,868,871,874,877,880],{"class":609,"line":864},6,[607,866,867],{"class":617},"    title",[607,869,870],{"class":613},":",[607,872,873],{"class":613}," '",[607,875,876],{"class":634},"Success",[607,878,879],{"class":613},"'",[607,881,882],{"class":613},",\n",[607,884,886,889,891,893,896,898],{"class":609,"line":885},7,[607,887,888],{"class":617},"    description",[607,890,870],{"class":613},[607,892,873],{"class":613},[607,894,895],{"class":634},"Your action was completed successfully.",[607,897,879],{"class":613},[607,899,882],{"class":613},[607,901,903,906,908,910,913],{"class":609,"line":902},8,[607,904,905],{"class":617},"    color",[607,907,870],{"class":613},[607,909,873],{"class":613},[607,911,912],{"class":634},"success",[607,914,915],{"class":613},"'\n",[607,917,919,922],{"class":609,"line":918},9,[607,920,921],{"class":613},"  }",[607,923,924],{"class":617},")\n",[607,926,928],{"class":609,"line":927},10,[607,929,930],{"class":613},"}\n",[607,932,934,936,938],{"class":609,"line":933},11,[607,935,665],{"class":613},[607,937,618],{"class":617},[607,939,640],{"class":613},[733,941,943],{"id":942},"updateid-string-number-toast-partialtoast",[591,944,945],{},"update(id: string | number, toast: Partial\u003CToast>)",[587,947,948],{},"Updates an existing toast notification.",[671,950,951],{},[674,952,746,953],{},[671,954,955,960],{},[674,956,957,959],{},[591,958,764],{},": The unique identifier of the toast to update.",[674,961,962,754,964,966],{},[591,963,753],{},[591,965,561],{}," object with the properties to update.",[599,968,970],{"className":601,"code":969,"language":28,"meta":603,"style":603},"\u003Cscript setup lang=\"ts\">\nconst toast = useToast()\n\nfunction updateToast(id: string | number) {\n  toast.update(id, {\n    title: 'Updated Toast',\n    description: 'This toast has been updated.'\n  })\n}\n\u003C/script>\n",[591,971,972,992,1004,1008,1037,1055,1070,1083,1089,1093],{"__ignoreMap":603},[607,973,974,976,978,980,982,984,986,988,990],{"class":609,"line":610},[607,975,614],{"class":613},[607,977,618],{"class":617},[607,979,622],{"class":621},[607,981,625],{"class":621},[607,983,628],{"class":613},[607,985,631],{"class":613},[607,987,635],{"class":634},[607,989,631],{"class":613},[607,991,640],{"class":613},[607,993,994,996,998,1000,1002],{"class":609,"line":643},[607,995,646],{"class":621},[607,997,650],{"class":649},[607,999,628],{"class":613},[607,1001,656],{"class":655},[607,1003,659],{"class":649},[607,1005,1006],{"class":609,"line":662},[607,1007,829],{"emptyLinePlaceholder":15},[607,1009,1010,1012,1015,1017,1020,1022,1026,1029,1032,1035],{"class":609,"line":832},[607,1011,835],{"class":621},[607,1013,1014],{"class":655}," updateToast",[607,1016,858],{"class":613},[607,1018,764],{"class":1019},"sHdIc",[607,1021,870],{"class":613},[607,1023,1025],{"class":1024},"sBMFI"," string",[607,1027,1028],{"class":613}," |",[607,1030,1031],{"class":1024}," number",[607,1033,1034],{"class":613},")",[607,1036,844],{"class":613},[607,1038,1039,1041,1043,1046,1048,1050,1053],{"class":609,"line":847},[607,1040,850],{"class":649},[607,1042,775],{"class":613},[607,1044,1045],{"class":655},"update",[607,1047,858],{"class":617},[607,1049,764],{"class":649},[607,1051,1052],{"class":613},",",[607,1054,844],{"class":613},[607,1056,1057,1059,1061,1063,1066,1068],{"class":609,"line":864},[607,1058,867],{"class":617},[607,1060,870],{"class":613},[607,1062,873],{"class":613},[607,1064,1065],{"class":634},"Updated Toast",[607,1067,879],{"class":613},[607,1069,882],{"class":613},[607,1071,1072,1074,1076,1078,1081],{"class":609,"line":885},[607,1073,888],{"class":617},[607,1075,870],{"class":613},[607,1077,873],{"class":613},[607,1079,1080],{"class":634},"This toast has been updated.",[607,1082,915],{"class":613},[607,1084,1085,1087],{"class":609,"line":902},[607,1086,921],{"class":613},[607,1088,924],{"class":617},[607,1090,1091],{"class":609,"line":918},[607,1092,930],{"class":613},[607,1094,1095,1097,1099],{"class":609,"line":927},[607,1096,665],{"class":613},[607,1098,618],{"class":617},[607,1100,640],{"class":613},[733,1102,1104],{"id":1103},"removeid-string-number",[591,1105,1106],{},"remove(id: string | number)",[587,1108,1109],{},"Removes a toast notification.",[671,1111,1112],{},[674,1113,746,1114],{},[671,1115,1116],{},[674,1117,1118,1120],{},[591,1119,764],{},": The unique identifier of the toast to remove.",[599,1122,1124],{"className":601,"code":1123,"language":28,"meta":603,"style":603},"\u003Cscript setup lang=\"ts\">\nconst toast = useToast()\n\nfunction removeToast(id: string | number) {\n  toast.remove(id)\n}\n\u003C/script>\n",[591,1125,1126,1146,1158,1162,1185,1200,1204],{"__ignoreMap":603},[607,1127,1128,1130,1132,1134,1136,1138,1140,1142,1144],{"class":609,"line":610},[607,1129,614],{"class":613},[607,1131,618],{"class":617},[607,1133,622],{"class":621},[607,1135,625],{"class":621},[607,1137,628],{"class":613},[607,1139,631],{"class":613},[607,1141,635],{"class":634},[607,1143,631],{"class":613},[607,1145,640],{"class":613},[607,1147,1148,1150,1152,1154,1156],{"class":609,"line":643},[607,1149,646],{"class":621},[607,1151,650],{"class":649},[607,1153,628],{"class":613},[607,1155,656],{"class":655},[607,1157,659],{"class":649},[607,1159,1160],{"class":609,"line":662},[607,1161,829],{"emptyLinePlaceholder":15},[607,1163,1164,1166,1169,1171,1173,1175,1177,1179,1181,1183],{"class":609,"line":832},[607,1165,835],{"class":621},[607,1167,1168],{"class":655}," removeToast",[607,1170,858],{"class":613},[607,1172,764],{"class":1019},[607,1174,870],{"class":613},[607,1176,1025],{"class":1024},[607,1178,1028],{"class":613},[607,1180,1031],{"class":1024},[607,1182,1034],{"class":613},[607,1184,844],{"class":613},[607,1186,1187,1189,1191,1194,1196,1198],{"class":609,"line":847},[607,1188,850],{"class":649},[607,1190,775],{"class":613},[607,1192,1193],{"class":655},"remove",[607,1195,858],{"class":617},[607,1197,764],{"class":649},[607,1199,924],{"class":617},[607,1201,1202],{"class":609,"line":864},[607,1203,930],{"class":613},[607,1205,1206,1208,1210],{"class":609,"line":885},[607,1207,665],{"class":613},[607,1209,618],{"class":617},[607,1211,640],{"class":613},[733,1213,1215],{"id":1214},"clear",[591,1216,1217],{},"clear()",[587,1219,1220],{},"Removes all toast notifications.",[599,1222,1224],{"className":601,"code":1223,"language":28,"meta":603,"style":603},"\u003Cscript setup lang=\"ts\">\nconst toast = useToast()\n\nfunction clearAllToasts() {\n  toast.clear()\n}\n\u003C/script>\n",[591,1225,1226,1246,1258,1262,1273,1283,1287],{"__ignoreMap":603},[607,1227,1228,1230,1232,1234,1236,1238,1240,1242,1244],{"class":609,"line":610},[607,1229,614],{"class":613},[607,1231,618],{"class":617},[607,1233,622],{"class":621},[607,1235,625],{"class":621},[607,1237,628],{"class":613},[607,1239,631],{"class":613},[607,1241,635],{"class":634},[607,1243,631],{"class":613},[607,1245,640],{"class":613},[607,1247,1248,1250,1252,1254,1256],{"class":609,"line":643},[607,1249,646],{"class":621},[607,1251,650],{"class":649},[607,1253,628],{"class":613},[607,1255,656],{"class":655},[607,1257,659],{"class":649},[607,1259,1260],{"class":609,"line":662},[607,1261,829],{"emptyLinePlaceholder":15},[607,1263,1264,1266,1269,1271],{"class":609,"line":832},[607,1265,835],{"class":621},[607,1267,1268],{"class":655}," clearAllToasts",[607,1270,841],{"class":613},[607,1272,844],{"class":613},[607,1274,1275,1277,1279,1281],{"class":609,"line":847},[607,1276,850],{"class":649},[607,1278,775],{"class":613},[607,1280,1214],{"class":655},[607,1282,659],{"class":617},[607,1284,1285],{"class":609,"line":864},[607,1286,930],{"class":613},[607,1288,1289,1291,1293],{"class":609,"line":885},[607,1290,665],{"class":613},[607,1292,618],{"class":617},[607,1294,640],{"class":613},[733,1296,1298],{"id":1297},"toasts",[591,1299,1297],{},[671,1301,1302,1308],{},[674,1303,1304,1305],{},"Type: ",[591,1306,1307],{},"Ref\u003CToast[]>",[674,1309,1310],{},"Description: A reactive array containing all current toast notifications.",[1312,1313,1314],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":603,"searchDepth":643,"depth":643,"links":1316},[1317,1318],{"id":584,"depth":643,"text":585},{"id":730,"depth":643,"text":731,"children":1319},[1320,1321,1322,1323,1324],{"id":735,"depth":662,"text":738},{"id":942,"depth":662,"text":945},{"id":1103,"depth":662,"text":1106},{"id":1214,"depth":662,"text":1217},{"id":1297,"depth":662,"text":1297},"A composable to display toast notifications in your app.","md",{},{"title":118,"description":1325},"B04NLjEITQBBiSpTqZUMH3s2LhPGnEdtyhW8vZtBK_0",[1331,1333],{"title":114,"path":115,"stem":116,"description":1332,"children":-1},"A composable to programmatically control overlays.",{"title":128,"path":129,"stem":130,"description":1334,"children":-1},"Wraps your app to provide global configurations and more.",{"data":1336,"body":1337},{},{"type":1338,"children":1339},"root",[1340],{"type":1341,"tag":587,"props":1342,"children":1343},"element",{},[1344],{"type":1345,"value":1325},"text",1767003433561]