[{"data":1,"prerenderedAt":1399},["ShallowReactive",2],{"docs-nav-pkg":3,"docs-page-pkg-\u002Fpkg\u002Falert-dialog":133},[4,8,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57,60,63,66,69,72,75,78,81,84,87,90,93,96,99,102,105,108,111,114,117,121,124,127,130],{"path":5,"title":6,"section":7},"\u002Fpkg","Overview","Start",{"path":9,"title":10,"section":11},"\u002Fpkg\u002Faccordion","Accordion","Components",{"path":13,"title":14,"section":11},"\u002Fpkg\u002Falert-dialog","Alert Dialog",{"path":16,"title":17,"section":11},"\u002Fpkg\u002Fautocomplete","Autocomplete",{"path":19,"title":20,"section":11},"\u002Fpkg\u002Favatar","Avatar",{"path":22,"title":23,"section":11},"\u002Fpkg\u002Fbutton","Button",{"path":25,"title":26,"section":11},"\u002Fpkg\u002Fcheckbox","Checkbox",{"path":28,"title":29,"section":11},"\u002Fpkg\u002Fcheckbox-group","Checkbox Group",{"path":31,"title":32,"section":11},"\u002Fpkg\u002Fcollapsible","Collapsible",{"path":34,"title":35,"section":11},"\u002Fpkg\u002Fcombobox","Combobox",{"path":37,"title":38,"section":11},"\u002Fpkg\u002Fcontext-menu","Context Menu",{"path":40,"title":41,"section":11},"\u002Fpkg\u002Fdialog","Dialog",{"path":43,"title":44,"section":11},"\u002Fpkg\u002Fdrawer","Drawer",{"path":46,"title":47,"section":11},"\u002Fpkg\u002Ffield","Field",{"path":49,"title":50,"section":11},"\u002Fpkg\u002Ffieldset","Fieldset",{"path":52,"title":53,"section":11},"\u002Fpkg\u002Fform","Form",{"path":55,"title":56,"section":11},"\u002Fpkg\u002Ficon-picker","Icon picker",{"path":58,"title":59,"section":11},"\u002Fpkg\u002Finput","Input",{"path":61,"title":62,"section":11},"\u002Fpkg\u002Fmenu","Menu",{"path":64,"title":65,"section":11},"\u002Fpkg\u002Fmenubar","Menubar",{"path":67,"title":68,"section":11},"\u002Fpkg\u002Fmeter","Meter",{"path":70,"title":71,"section":11},"\u002Fpkg\u002Fnavigation-menu","Navigation Menu",{"path":73,"title":74,"section":11},"\u002Fpkg\u002Fnumber-field","Number Field",{"path":76,"title":77,"section":11},"\u002Fpkg\u002Fotp-field","OTP Field",{"path":79,"title":80,"section":11},"\u002Fpkg\u002Fplot","Plot",{"path":82,"title":83,"section":11},"\u002Fpkg\u002Fpopover","Popover",{"path":85,"title":86,"section":11},"\u002Fpkg\u002Fpreview-card","Preview Card",{"path":88,"title":89,"section":11},"\u002Fpkg\u002Fprogress","Progress",{"path":91,"title":92,"section":11},"\u002Fpkg\u002Fradio-group","Radio Group",{"path":94,"title":95,"section":11},"\u002Fpkg\u002Fscroll-area","Scroll Area",{"path":97,"title":98,"section":11},"\u002Fpkg\u002Fselect","Select",{"path":100,"title":101,"section":11},"\u002Fpkg\u002Fseparator","Separator",{"path":103,"title":104,"section":11},"\u002Fpkg\u002Fsidebar","Sidebar",{"path":106,"title":107,"section":11},"\u002Fpkg\u002Fslider","Slider",{"path":109,"title":110,"section":11},"\u002Fpkg\u002Fswitch","Switch",{"path":112,"title":113,"section":11},"\u002Fpkg\u002Ftabs","Tabs",{"path":115,"title":116,"section":11},"\u002Fpkg\u002Ftoast","Toast",{"path":118,"title":119,"section":120},"\u002Fpkg\u002Fapi","Api","Runtime",{"path":122,"title":123,"section":120},"\u002Fpkg\u002Fauth","Auth",{"path":125,"title":126,"section":120},"\u002Fpkg\u002Fblob","Blob",{"path":128,"title":129,"section":120},"\u002Fpkg\u002Fchannels","Channels",{"path":131,"title":132,"section":120},"\u002Fpkg\u002Fdb","Db",{"id":134,"title":14,"body":135,"description":1393,"extension":1394,"meta":1395,"navigation":346,"path":13,"section":11,"seo":1396,"stem":1397,"__hash__":1398},"pkg\u002Fpkg\u002Falert-dialog.md",{"type":136,"value":137,"toc":1371},"minimark",[138,147,150,155,256,260,265,272,275,279,290,293,297,308,460,463,467,474,522,525,529,560,563,567,571,577,681,685,691,776,807,811,821,883,887,898,929,974,978,981,1042,1046,1061,1121,1143,1147,1153,1156,1162,1166,1176,1208,1229,1233,1242,1308,1367],[139,140,141,142,146],"p",{},"A dialog that requires a user response to proceed. It does not close on backdrop click. The trigger and close match Button. A ",[143,144,145],"code",{},"cta"," close uses the stronger wash step. The popup has no stroke. The title and description are Light.",[148,149],"base-alert-dialog-demo",{},[151,152,154],"h2",{"id":153},"anatomy","Anatomy",[156,157,162],"pre",{"className":158,"code":159,"language":160,"meta":161,"style":161},"language-vue shiki shiki-themes github-light github-dark","\u003CUiAlertDialogRoot>\n  \u003CUiAlertDialogTrigger>Open\u003C\u002FUiAlertDialogTrigger>\n  \u003CUiAlertDialogPortal>\n    \u003CUiAlertDialogBackdrop \u002F>\n    \u003CUiAlertDialogViewport>\n      \u003CUiAlertDialogPopup>\n        \u003CUiAlertDialogTitle>Title\u003C\u002FUiAlertDialogTitle>\n        \u003CUiAlertDialogDescription>Body\u003C\u002FUiAlertDialogDescription>\n        \u003CUiAlertDialogClose>Cancel\u003C\u002FUiAlertDialogClose>\n      \u003C\u002FUiAlertDialogPopup>\n    \u003C\u002FUiAlertDialogViewport>\n  \u003C\u002FUiAlertDialogPortal>\n\u003C\u002FUiAlertDialogRoot>\n","vue","",[143,163,164,180,186,192,198,204,210,216,222,228,234,240,246],{"__ignoreMap":161},[165,166,169,173,177],"span",{"class":167,"line":168},"line",1,[165,170,172],{"class":171},"sVt8B","\u003C",[165,174,176],{"class":175},"s9eBZ","UiAlertDialogRoot",[165,178,179],{"class":171},">\n",[165,181,183],{"class":167,"line":182},2,[165,184,185],{"class":171},"  \u003CUiAlertDialogTrigger>Open\u003C\u002FUiAlertDialogTrigger>\n",[165,187,189],{"class":167,"line":188},3,[165,190,191],{"class":171},"  \u003CUiAlertDialogPortal>\n",[165,193,195],{"class":167,"line":194},4,[165,196,197],{"class":171},"    \u003CUiAlertDialogBackdrop \u002F>\n",[165,199,201],{"class":167,"line":200},5,[165,202,203],{"class":171},"    \u003CUiAlertDialogViewport>\n",[165,205,207],{"class":167,"line":206},6,[165,208,209],{"class":171},"      \u003CUiAlertDialogPopup>\n",[165,211,213],{"class":167,"line":212},7,[165,214,215],{"class":171},"        \u003CUiAlertDialogTitle>Title\u003C\u002FUiAlertDialogTitle>\n",[165,217,219],{"class":167,"line":218},8,[165,220,221],{"class":171},"        \u003CUiAlertDialogDescription>Body\u003C\u002FUiAlertDialogDescription>\n",[165,223,225],{"class":167,"line":224},9,[165,226,227],{"class":171},"        \u003CUiAlertDialogClose>Cancel\u003C\u002FUiAlertDialogClose>\n",[165,229,231],{"class":167,"line":230},10,[165,232,233],{"class":171},"      \u003C\u002FUiAlertDialogPopup>\n",[165,235,237],{"class":167,"line":236},11,[165,238,239],{"class":171},"    \u003C\u002FUiAlertDialogViewport>\n",[165,241,243],{"class":167,"line":242},12,[165,244,245],{"class":171},"  \u003C\u002FUiAlertDialogPortal>\n",[165,247,249,252,254],{"class":167,"line":248},13,[165,250,251],{"class":171},"\u003C\u002F",[165,253,176],{"class":175},[165,255,179],{"class":171},[151,257,259],{"id":258},"examples","Examples",[261,262,264],"h3",{"id":263},"open-from-a-menu","Open from a menu",[139,266,267,268,271],{},"Control the dialog and open it from a menu item ",[143,269,270],{},"click",". The menu closes first; the alert stays until Cancel, the filled action, or Escape.",[148,273],{"variant":274},"menu",[261,276,278],{"id":277},"close-confirmation","Close confirmation",[139,280,281,282,285,286,289],{},"Nest the alert inside a controlled Dialog. If the parent would close while the textarea has text, keep the dialog open and show the alert instead. The parent popup sets ",[143,283,284],{},"data-nested-dialog-open"," and ",[143,287,288],{},"--nested-dialogs",". Nested backdrops are not rendered, so the dialog stays visible behind the alert.",[148,291],{"variant":292},"confirm",[261,294,296],{"id":295},"detached-triggers","Detached triggers",[139,298,299,300,303,304,307],{},"For a one-off, put ",[143,301,302],{},"UiAlertDialogTrigger"," inside Root. When that is impractical, create a handle with ",[143,305,306],{},"createAlertDialogHandle()"," and pass it to both the trigger and the root.",[156,309,311],{"className":158,"code":310,"language":160,"meta":161,"style":161},"\u003Cscript setup>\nimport { createAlertDialogHandle } from '~\u002Flib\u002Fui\u002Falert-dialog'\n\nconst demoAlertDialog = createAlertDialogHandle()\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CUiAlertDialogTrigger :handle=\"demoAlertDialog\">Open\u003C\u002FUiAlertDialogTrigger>\n  \u003CUiAlertDialogRoot :handle=\"demoAlertDialog\">\n    …\n  \u003C\u002FUiAlertDialogRoot>\n\u003C\u002Ftemplate>\n",[143,312,313,326,342,348,366,374,378,387,418,438,443,452],{"__ignoreMap":161},[165,314,315,317,320,324],{"class":167,"line":168},[165,316,172],{"class":171},[165,318,319],{"class":175},"script",[165,321,323],{"class":322},"sScJk"," setup",[165,325,179],{"class":171},[165,327,328,332,335,338],{"class":167,"line":182},[165,329,331],{"class":330},"szBVR","import",[165,333,334],{"class":171}," { createAlertDialogHandle } ",[165,336,337],{"class":330},"from",[165,339,341],{"class":340},"sZZnC"," '~\u002Flib\u002Fui\u002Falert-dialog'\n",[165,343,344],{"class":167,"line":188},[165,345,347],{"emptyLinePlaceholder":346},true,"\n",[165,349,350,353,357,360,363],{"class":167,"line":194},[165,351,352],{"class":330},"const",[165,354,356],{"class":355},"sj4cs"," demoAlertDialog",[165,358,359],{"class":330}," =",[165,361,362],{"class":322}," createAlertDialogHandle",[165,364,365],{"class":171},"()\n",[165,367,368,370,372],{"class":167,"line":200},[165,369,251],{"class":171},[165,371,319],{"class":175},[165,373,179],{"class":171},[165,375,376],{"class":167,"line":206},[165,377,347],{"emptyLinePlaceholder":346},[165,379,380,382,385],{"class":167,"line":212},[165,381,172],{"class":171},[165,383,384],{"class":175},"template",[165,386,179],{"class":171},[165,388,389,392,394,397,400,403,406,409,411,414,416],{"class":167,"line":218},[165,390,391],{"class":171},"  \u003C",[165,393,302],{"class":175},[165,395,396],{"class":171}," :",[165,398,399],{"class":322},"handle",[165,401,402],{"class":171},"=",[165,404,405],{"class":340},"\"",[165,407,408],{"class":171},"demoAlertDialog",[165,410,405],{"class":340},[165,412,413],{"class":171},">Open\u003C\u002F",[165,415,302],{"class":175},[165,417,179],{"class":171},[165,419,420,422,424,426,428,430,432,434,436],{"class":167,"line":224},[165,421,391],{"class":171},[165,423,176],{"class":175},[165,425,396],{"class":171},[165,427,399],{"class":322},[165,429,402],{"class":171},[165,431,405],{"class":340},[165,433,408],{"class":171},[165,435,405],{"class":340},[165,437,179],{"class":171},[165,439,440],{"class":167,"line":230},[165,441,442],{"class":171},"    …\n",[165,444,445,448,450],{"class":167,"line":236},[165,446,447],{"class":171},"  \u003C\u002F",[165,449,176],{"class":175},[165,451,179],{"class":171},[165,453,454,456,458],{"class":167,"line":242},[165,455,251],{"class":171},[165,457,384],{"class":175},[165,459,179],{"class":171},[148,461],{"variant":462},"detached",[261,464,466],{"id":465},"multiple-triggers","Multiple triggers",[139,468,469,470,473],{},"One alert can be opened by several triggers. Place multiple triggers inside Root, or give detached triggers the same handle. Pass ",[143,471,472],{},"payload"," on the trigger and read it from Root’s default slot.",[156,475,477],{"className":158,"code":476,"language":160,"meta":161,"style":161},"\u003CUiAlertDialogRoot v-slot=\"{ payload }\">\n  \u003CUiAlertDialogTrigger :payload=\"{ message: 'left photo' }\">Left photo\u003C\u002FUiAlertDialogTrigger>\n  \u003CUiAlertDialogTrigger :payload=\"{ message: 'right photo' }\">Right photo\u003C\u002FUiAlertDialogTrigger>\n  …\n\u003C\u002FUiAlertDialogRoot>\n",[143,478,479,499,504,509,514],{"__ignoreMap":161},[165,480,481,483,485,488,490,492,495,497],{"class":167,"line":168},[165,482,172],{"class":171},[165,484,176],{"class":175},[165,486,487],{"class":322}," v-slot",[165,489,402],{"class":171},[165,491,405],{"class":340},[165,493,494],{"class":171},"{ payload }",[165,496,405],{"class":340},[165,498,179],{"class":171},[165,500,501],{"class":167,"line":182},[165,502,503],{"class":171},"  \u003CUiAlertDialogTrigger :payload=\"{ message: 'left photo' }\">Left photo\u003C\u002FUiAlertDialogTrigger>\n",[165,505,506],{"class":167,"line":188},[165,507,508],{"class":171},"  \u003CUiAlertDialogTrigger :payload=\"{ message: 'right photo' }\">Right photo\u003C\u002FUiAlertDialogTrigger>\n",[165,510,511],{"class":167,"line":194},[165,512,513],{"class":171},"  …\n",[165,515,516,518,520],{"class":167,"line":200},[165,517,251],{"class":171},[165,519,176],{"class":175},[165,521,179],{"class":171},[148,523],{"variant":524},"multiple",[261,526,528],{"id":527},"controlled-mode-with-multiple-triggers","Controlled mode with multiple triggers",[139,530,531,532,535,536,539,540,543,544,547,548,551,552,555,556,559],{},"Use ",[143,533,534],{},"v-model:open"," (or ",[143,537,538],{},"open"," \u002F ",[143,541,542],{},"@update:open",") with a handle. Set ",[143,545,546],{},"id"," on each trigger and ",[143,549,550],{},"triggerId"," on Root so the matching trigger receives ",[143,553,554],{},"data-popup-open",". Opening from a plain button calls ",[143,557,558],{},"handle.show(payload, id)",".",[148,561],{"variant":562},"controlled",[151,564,566],{"id":565},"api-reference","API reference",[261,568,570],{"id":569},"root","Root",[139,572,573,574,559],{},"Groups all parts of the alert dialog. Renders nothing of its own. Default slot receives ",[143,575,576],{},"{ payload, triggerId }",[578,579,580,599],"table",{},[581,582,583],"thead",{},[584,585,586,590,593,596],"tr",{},[587,588,589],"th",{},"Prop",[587,591,592],{},"Type",[587,594,595],{},"Default",[587,597,598],{},"Description",[600,601,602,628,647,665],"tbody",{},[584,603,604,610,615,620],{},[605,606,607],"td",{},[143,608,609],{},"defaultOpen",[605,611,612],{},[143,613,614],{},"boolean",[605,616,617],{},[143,618,619],{},"false",[605,621,622,623,539,625,627],{},"Uncontrolled initial open. Use ",[143,624,538],{},[143,626,534],{}," for a controlled dialog.",[584,629,630,634,638,641],{},[605,631,632],{},[143,633,538],{},[605,635,636],{},[143,637,614],{},[605,639,640],{},"—",[605,642,643,644,646],{},"Controlled open state (",[143,645,534],{},").",[584,648,649,653,658,660],{},[605,650,651],{},[143,652,399],{},[605,654,655],{},[143,656,657],{},"BaseAlertDialogHandle",[605,659,640],{},[605,661,662,663,559],{},"Links detached triggers. Create with ",[143,664,306],{},[584,666,667,671,676,678],{},[605,668,669],{},[143,670,550],{},[605,672,673],{},[143,674,675],{},"string | null",[605,677,640],{},[605,679,680],{},"Active trigger id in controlled mode.",[261,682,684],{"id":683},"trigger","Trigger",[139,686,687,688,559],{},"Button that opens the alert dialog. Renders a ",[143,689,690],{},"\u003Cbutton>",[578,692,693,705],{},[581,694,695],{},[584,696,697,699,701,703],{},[587,698,589],{},[587,700,592],{},[587,702,595],{},[587,704,598],{},[600,706,707,726,741,757],{},[584,708,709,714,718,720],{},[605,710,711],{},[143,712,713],{},"disabled",[605,715,716],{},[143,717,614],{},[605,719,640],{},[605,721,722,723,559],{},"Ignore presses. Sets ",[143,724,725],{},"data-disabled",[584,727,728,732,736,738],{},[605,729,730],{},[143,731,399],{},[605,733,734],{},[143,735,657],{},[605,737,640],{},[605,739,740],{},"Detached handle. Required when the trigger is outside Root.",[584,742,743,747,752,754],{},[605,744,745],{},[143,746,472],{},[605,748,749],{},[143,750,751],{},"unknown",[605,753,640],{},[605,755,756],{},"Value exposed on Root’s slot when this trigger opens the dialog.",[584,758,759,763,768,771],{},[605,760,761],{},[143,762,546],{},[605,764,765],{},[143,766,767],{},"string",[605,769,770],{},"generated",[605,772,773,774,559],{},"Trigger id. Used with Root ",[143,775,550],{},[578,777,778,787],{},[581,779,780],{},[584,781,782,785],{},[587,783,784],{},"Attribute",[587,786,598],{},[600,788,789,798],{},[584,790,791,795],{},[605,792,793],{},[143,794,554],{},[605,796,797],{},"Present when this trigger’s dialog is open.",[584,799,800,804],{},[605,801,802],{},[143,803,725],{},[605,805,806],{},"Present when the trigger is disabled.",[261,808,810],{"id":809},"portal","Portal",[139,812,813,814,817,818,646],{},"Teleports to ",[143,815,816],{},"body"," while the overlay is present (",[143,819,820],{},"useCssPresence",[578,822,823,831],{},[581,824,825],{},[584,826,827,829],{},[587,828,784],{},[587,830,598],{},[600,832,833,843,853,863,873],{},[584,834,835,840],{},[605,836,837],{},[143,838,839],{},"data-open",[605,841,842],{},"Present when the dialog is open.",[584,844,845,850],{},[605,846,847],{},[143,848,849],{},"data-closed",[605,851,852],{},"Present while present but not open (exit transition).",[584,854,855,860],{},[605,856,857],{},[143,858,859],{},"data-nested",[605,861,862],{},"Present when nested in another overlay.",[584,864,865,870],{},[605,866,867],{},[143,868,869],{},"data-starting-style",[605,871,872],{},"Present while animating in.",[584,874,875,880],{},[605,876,877],{},[143,878,879],{},"data-ending-style",[605,881,882],{},"Present while animating out.",[261,884,886],{"id":885},"backdrop","Backdrop",[139,888,889,890,893,894,897],{},"Covers the viewport. Does not close the dialog. Nested dialogs skip rendering the child backdrop unless ",[143,891,892],{},"forceRender"," is set. Uses ",[143,895,896],{},"position: absolute"," inside the fixed portal.",[578,899,900,912],{},[581,901,902],{},[584,903,904,906,908,910],{},[587,905,589],{},[587,907,592],{},[587,909,595],{},[587,911,598],{},[600,913,914],{},[584,915,916,920,924,926],{},[605,917,918],{},[143,919,892],{},[605,921,922],{},[143,923,614],{},[605,925,640],{},[605,927,928],{},"Render even when nested.",[578,930,931,939],{},[581,932,933],{},[584,934,935,937],{},[587,936,784],{},[587,938,598],{},[600,940,941,949,958,966],{},[584,942,943,947],{},[605,944,945],{},[143,946,839],{},[605,948,842],{},[584,950,951,955],{},[605,952,953],{},[143,954,849],{},[605,956,957],{},"Present when the dialog is closed.",[584,959,960,964],{},[605,961,962],{},[143,963,869],{},[605,965,872],{},[584,967,968,972],{},[605,969,970],{},[143,971,879],{},[605,973,882],{},[261,975,977],{"id":976},"viewport","Viewport",[139,979,980],{},"Centers the popup.",[578,982,983,991],{},[581,984,985],{},[584,986,987,989],{},[587,988,784],{},[587,990,598],{},[600,992,993,1001,1009,1017,1026,1034],{},[584,994,995,999],{},[605,996,997],{},[143,998,839],{},[605,1000,842],{},[584,1002,1003,1007],{},[605,1004,1005],{},[143,1006,849],{},[605,1008,957],{},[584,1010,1011,1015],{},[605,1012,1013],{},[143,1014,859],{},[605,1016,862],{},[584,1018,1019,1023],{},[605,1020,1021],{},[143,1022,284],{},[605,1024,1025],{},"Present when a nested dialog is open.",[584,1027,1028,1032],{},[605,1029,1030],{},[143,1031,869],{},[605,1033,872],{},[584,1035,1036,1040],{},[605,1037,1038],{},[143,1039,879],{},[605,1041,882],{},[261,1043,1045],{"id":1044},"popup","Popup",[139,1047,1048,1051,1052,539,1054,1056,1057,1060],{},[143,1049,1050],{},"role=\"alertdialog\"",". Escape closes. Focus stays inside until close. Enter and leave use ",[143,1053,869],{},[143,1055,879],{}," (scale ",[143,1058,1059],{},"0.98",", 100ms). No animation library. No drop-shadow.",[578,1062,1063,1071],{},[581,1064,1065],{},[584,1066,1067,1069],{},[587,1068,784],{},[587,1070,598],{},[600,1072,1073,1081,1089,1097,1105,1113],{},[584,1074,1075,1079],{},[605,1076,1077],{},[143,1078,839],{},[605,1080,842],{},[584,1082,1083,1087],{},[605,1084,1085],{},[143,1086,849],{},[605,1088,957],{},[584,1090,1091,1095],{},[605,1092,1093],{},[143,1094,859],{},[605,1096,862],{},[584,1098,1099,1103],{},[605,1100,1101],{},[143,1102,284],{},[605,1104,1025],{},[584,1106,1107,1111],{},[605,1108,1109],{},[143,1110,869],{},[605,1112,872],{},[584,1114,1115,1119],{},[605,1116,1117],{},[143,1118,879],{},[605,1120,882],{},[578,1122,1123,1132],{},[581,1124,1125],{},[584,1126,1127,1130],{},[587,1128,1129],{},"Variable",[587,1131,598],{},[600,1133,1134],{},[584,1135,1136,1140],{},[605,1137,1138],{},[143,1139,288],{},[605,1141,1142],{},"How many dialogs are nested inside this one.",[261,1144,1146],{"id":1145},"title","Title",[139,1148,1149,1150,559],{},"Heading that labels the dialog. Renders an ",[143,1151,1152],{},"\u003Ch2>",[261,1154,598],{"id":1155},"description",[139,1157,1158,1159,559],{},"Supporting text. Renders a ",[143,1160,1161],{},"\u003Cp>",[261,1163,1165],{"id":1164},"close","Close",[139,1167,1168,1169,1171,1172,1175],{},"Button that sets open to ",[143,1170,619],{},". Add ",[143,1173,1174],{},"class=\"cta\""," for the filled action.",[578,1177,1178,1190],{},[581,1179,1180],{},[584,1181,1182,1184,1186,1188],{},[587,1183,589],{},[587,1185,592],{},[587,1187,595],{},[587,1189,598],{},[600,1191,1192],{},[584,1193,1194,1198,1202,1204],{},[605,1195,1196],{},[143,1197,713],{},[605,1199,1200],{},[143,1201,614],{},[605,1203,640],{},[605,1205,722,1206,559],{},[143,1207,725],{},[578,1209,1210,1218],{},[581,1211,1212],{},[584,1213,1214,1216],{},[587,1215,784],{},[587,1217,598],{},[600,1219,1220],{},[584,1221,1222,1226],{},[605,1223,1224],{},[143,1225,725],{},[605,1227,1228],{},"Present when the button is disabled.",[261,1230,1232],{"id":1231},"createalertdialoghandle","createAlertDialogHandle",[139,1234,1235,1236,1238,1239,1241],{},"Creates a handle that connects ",[143,1237,176],{}," with detached ",[143,1240,302],{}," components.",[156,1243,1247],{"className":1244,"code":1245,"language":1246,"meta":161,"style":161},"language-ts shiki shiki-themes github-light github-dark","const handle = createAlertDialogHandle\u003C{ message: string }>()\nhandle.show({ message: 'Delete project?' }, 'alert-trigger-2')\nhandle.hide()\n","ts",[143,1248,1249,1276,1299],{"__ignoreMap":161},[165,1250,1251,1253,1256,1258,1260,1263,1267,1270,1273],{"class":167,"line":168},[165,1252,352],{"class":330},[165,1254,1255],{"class":355}," handle",[165,1257,359],{"class":330},[165,1259,362],{"class":322},[165,1261,1262],{"class":171},"\u003C{ ",[165,1264,1266],{"class":1265},"s4XuR","message",[165,1268,1269],{"class":330},":",[165,1271,1272],{"class":355}," string",[165,1274,1275],{"class":171}," }>()\n",[165,1277,1278,1281,1284,1287,1290,1293,1296],{"class":167,"line":182},[165,1279,1280],{"class":171},"handle.",[165,1282,1283],{"class":322},"show",[165,1285,1286],{"class":171},"({ message: ",[165,1288,1289],{"class":340},"'Delete project?'",[165,1291,1292],{"class":171}," }, ",[165,1294,1295],{"class":340},"'alert-trigger-2'",[165,1297,1298],{"class":171},")\n",[165,1300,1301,1303,1306],{"class":167,"line":188},[165,1302,1280],{"class":171},[165,1304,1305],{"class":322},"hide",[165,1307,365],{"class":171},[578,1309,1310,1318],{},[581,1311,1312],{},[584,1313,1314,1316],{},[587,1315,47],{},[587,1317,598],{},[600,1319,1320,1329,1338,1347,1357],{},[584,1321,1322,1326],{},[605,1323,1324],{},[143,1325,538],{},[605,1327,1328],{},"Ref of whether the dialog is open.",[584,1330,1331,1335],{},[605,1332,1333],{},[143,1334,472],{},[605,1336,1337],{},"Ref of the active trigger payload.",[584,1339,1340,1344],{},[605,1341,1342],{},[143,1343,550],{},[605,1345,1346],{},"Ref of the active trigger id.",[584,1348,1349,1354],{},[605,1350,1351],{},[143,1352,1353],{},"show(payload?, triggerId?)",[605,1355,1356],{},"Open the dialog.",[584,1358,1359,1364],{},[605,1360,1361],{},[143,1362,1363],{},"hide()",[605,1365,1366],{},"Close the dialog.",[1368,1369,1370],"style",{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}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 .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .s4XuR, html code.shiki .s4XuR{--shiki-default:#E36209;--shiki-dark:#FFAB70}",{"title":161,"searchDepth":182,"depth":182,"links":1372},[1373,1374,1381],{"id":153,"depth":182,"text":154},{"id":258,"depth":182,"text":259,"children":1375},[1376,1377,1378,1379,1380],{"id":263,"depth":188,"text":264},{"id":277,"depth":188,"text":278},{"id":295,"depth":188,"text":296},{"id":465,"depth":188,"text":466},{"id":527,"depth":188,"text":528},{"id":565,"depth":182,"text":566,"children":1382},[1383,1384,1385,1386,1387,1388,1389,1390,1391,1392],{"id":569,"depth":188,"text":570},{"id":683,"depth":188,"text":684},{"id":809,"depth":188,"text":810},{"id":885,"depth":188,"text":886},{"id":976,"depth":188,"text":977},{"id":1044,"depth":188,"text":1045},{"id":1145,"depth":188,"text":1146},{"id":1155,"depth":188,"text":598},{"id":1164,"depth":188,"text":1165},{"id":1231,"depth":188,"text":1232},"A dialog that requires a user response to proceed","md",{},{"title":14,"description":1393},"pkg\u002Falert-dialog","_Tp5wUvjA5gSRHgmc2i9ccLVTF5weUcGZ3MAV0rVk8o",1791043754640]