[{"data":1,"prerenderedAt":357},["ShallowReactive",2],{"navigation":3,"\u002Fcomponents\u002Frepeating-list":102,"\u002Fcomponents\u002Frepeating-list-surround":204,"nuxt-component-meta-ZRepeatingList":209},[4,19,92],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":18},"Guide","i-lucide-book-open","\u002Fguide","1.guide",[10,14],{"title":11,"path":12,"stem":13},"Getting started","\u002Fguide\u002Fgetting-started","1.guide\u002F1.getting-started",{"title":15,"path":16,"stem":17},"Theming","\u002Fguide\u002Ftheming","1.guide\u002F2.theming",false,{"title":20,"icon":21,"path":22,"stem":23,"children":24},"Components","i-lucide-shapes","\u002Fcomponents","2.components",[25,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88],{"title":26,"path":22,"stem":27},"Overview","2.components\u002Findex",{"title":29,"path":30,"stem":31},"Card","\u002Fcomponents\u002Fcard","2.components\u002Fcard",{"title":33,"path":34,"stem":35},"Code block","\u002Fcomponents\u002Fcode-block","2.components\u002Fcode-block",{"title":37,"path":38,"stem":39},"Date field","\u002Fcomponents\u002Fdate-field","2.components\u002Fdate-field",{"title":41,"path":42,"stem":43},"Drawer","\u002Fcomponents\u002Fdrawer","2.components\u002Fdrawer",{"title":45,"path":46,"stem":47},"Ecosystem mark","\u002Fcomponents\u002Fecosystem-mark","2.components\u002Fecosystem-mark",{"title":49,"path":50,"stem":51},"Identifier","\u002Fcomponents\u002Fidentifier","2.components\u002Fidentifier",{"title":53,"path":54,"stem":55},"Kicker","\u002Fcomponents\u002Fkicker","2.components\u002Fkicker",{"title":57,"path":58,"stem":59},"Modal","\u002Fcomponents\u002Fmodal","2.components\u002Fmodal",{"title":61,"path":62,"stem":63},"Number input","\u002Fcomponents\u002Fnumber-input","2.components\u002Fnumber-input",{"title":65,"path":66,"stem":67},"Quota meter","\u002Fcomponents\u002Fquota-meter","2.components\u002Fquota-meter",{"title":69,"path":70,"stem":71},"Repeating list","\u002Fcomponents\u002Frepeating-list","2.components\u002Frepeating-list",{"title":73,"path":74,"stem":75},"Slideover","\u002Fcomponents\u002Fslideover","2.components\u002Fslideover",{"title":77,"path":78,"stem":79},"Slots","\u002Fcomponents\u002Fslots","2.components\u002Fslots",{"title":81,"path":82,"stem":83},"Status","\u002Fcomponents\u002Fstatus","2.components\u002Fstatus",{"title":85,"path":86,"stem":87},"Theme toggle","\u002Fcomponents\u002Ftheme-toggle","2.components\u002Ftheme-toggle",{"title":89,"path":90,"stem":91},"Token reveal","\u002Fcomponents\u002Ftoken-reveal","2.components\u002Ftoken-reveal",{"title":93,"icon":94,"path":95,"stem":96,"children":97,"page":18},"Utilities","i-lucide-wrench","\u002Futilities","3.utilities",[98],{"title":99,"path":100,"stem":101},"Select none","\u002Futilities\u002Fselect-none","3.utilities\u002Fselect-none",{"id":103,"title":69,"body":104,"component":114,"description":197,"extension":198,"meta":199,"navigation":200,"path":70,"preview":164,"seo":201,"stem":71,"wraps":202,"__hash__":203},"docs\u002F2.components\u002Frepeating-list.md",{"type":105,"value":106,"toc":189},"minimark",[107,124,129,140,144,148,162,165,169,186],[108,109,110,111,115,116,119,120,123],"p",{},"Forms often ask for \"one or more\" of something: referral sources, contacts, the parts of a split. ",[112,113,114],"code",{},"ZRepeatingList"," owns the list: adding a row, removing one, folding rows to a summary, showing each row's error, moving focus, and announcing the count to screen readers. The fields are yours, in the ",[112,117,118],{},"#row"," slot, so a row can hold any inputs. It is generic: ",[112,121,122],{},"row"," in each slot has your row's type.",[125,126,128],"h2",{"id":127},"folded-to-a-summary","Folded to a summary",[108,130,131,132,135,136,139],{},"With a ",[112,133,134],{},"#summary"," slot, rows that are already there when the list mounts start folded to one line with an Edit button. New rows, and any row with an error, are open. ",[112,137,138],{},"row-key"," keeps a row's identity while it is edited, for rows that are saved records.",[141,142],"component-example",{"name":143},"RepeatingListSources",[125,145,147],{"id":146},"compact-with-a-minimum-and-maximum","Compact, with a minimum and maximum",[108,149,150,153,154,157,158,161],{},[112,151,152],{},"compact"," puts each row on one line with no heading or card, for rows of a single short field. ",[112,155,156],{},"min"," keeps that many rows on screen and hides Remove at it; ",[112,159,160],{},"max"," disables Add at it and says why.",[141,163],{"name":164},"RepeatingListCompact",[125,166,168],{"id":167},"errors-per-row","Errors per row",[108,170,171,174,175,177,178,181,182,185],{},[112,172,173],{},"errors"," maps a row's key to its message, shown under the row. The ",[112,176,118],{}," slot gets the message's ",[112,179,180],{},"errorId"," to put on the input's ",[112,183,184],{},"aria-describedby",".",[141,187],{"name":188},"RepeatingListErrors",{"title":190,"searchDepth":191,"depth":191,"links":192},"",3,[193,195,196],{"id":127,"depth":194,"text":128},2,{"id":146,"depth":194,"text":147},{"id":167,"depth":194,"text":168},"An editor for a list of rows with the same few fields, with Add, Remove, folding, per-row errors and announcements.","md",{},true,{"title":69,"description":197},null,"OzS3c3B9J6y5h__to26LMK736BaF2kYNGYo1gDTStbs",[205,207],{"title":65,"path":66,"stem":67,"description":206,"children":-1},"Usage against a limit, amber from the warning mark, red and hatched over the limit.",{"title":73,"path":74,"stem":75,"description":208,"children":-1},"Nuxt UI's USlideover with a colored top edge.",{"mode":210,"prefetch":18,"preload":18,"filePath":211,"declarationPath":212,"pascalName":114,"kebabName":213,"chunkName":214,"priority":215,"_scanned":200,"meta":216},"all","..\u002F..\u002Fpackages\u002Fnuxt\u002Fcomponents\u002FRepeatingList.vue","\u002Fopt\u002Fbuild\u002Frepo\u002Fpackages\u002Fnuxt\u002Fcomponents\u002FRepeatingList.vue","z-repeating-list","components\u002Fz-repeating-list",1,{"type":194,"props":217,"slots":316,"events":346,"exposed":355,"hash":356},[218,223,231,239,248,253,256,260,268,276,280,285,290,294,302,307],{"name":219,"global":18,"description":220,"tags":221,"required":200,"type":222,"schema":222},"itemLabel","One row, singular and lower case: \"referral source\".",[],"string",{"name":224,"global":18,"description":225,"tags":226,"required":200,"type":227,"schema":228},"newRow","A new row's starting values.",[],"() => T",{"kind":229,"type":230},"event","(): T",{"name":232,"global":18,"description":190,"tags":233,"required":200,"type":234,"schema":235},"modelValue",[],"T[]",{"kind":236,"type":234,"schema":237},"array",{"0":238},"T",{"name":240,"global":18,"default":241,"description":242,"tags":243,"required":18,"type":244,"schema":245},"rowKey","undefined","A stable key per row (a saved record's id). Undefined for a new row.",[],"(row: T) => string",{"kind":229,"type":246,"schema":247},"(row: T): string",{},{"name":156,"global":18,"default":249,"description":250,"tags":251,"required":18,"type":252,"schema":252},"0","Rows always on screen: rows are added up to it when it mounts, and Remove hides at it.",[],"number",{"name":160,"global":18,"default":241,"description":254,"tags":255,"required":18,"type":252,"schema":252},"Most rows allowed: Add is disabled at it, and says so.",[],{"name":173,"global":18,"default":241,"description":257,"tags":258,"required":18,"type":259,"schema":259},"Errors by row key (rowKey, or the key the #row slot is given), shown under the row.",[],"Record\u003Cstring, string>",{"name":261,"global":18,"default":241,"description":262,"tags":263,"required":18,"type":264,"schema":265},"removable","Whether a row may be removed (default: every row, down to `min`).",[],"(row: T) => boolean",{"kind":229,"type":266,"schema":267},"(row: T): boolean",{},{"name":269,"global":18,"default":241,"description":270,"tags":271,"required":18,"type":272,"schema":273},"rowTitle","The row's heading, and the name its buttons carry; \"Referral source 2\" unless given. Hidden in `compact`.",[],"(row: T, index: number) => string",{"kind":229,"type":274,"schema":275},"(row: T, index: number): string",{},{"name":277,"global":18,"default":241,"description":278,"tags":279,"required":18,"type":222,"schema":222},"addLabel","The Add button's words; \"Add a(n) \u003Citem>\", then \"Add another \u003Citem>\", unless given.",[],{"name":281,"global":18,"default":282,"description":283,"tags":284,"required":18,"type":222,"schema":222},"removeLabel","\"Remove\"","The Remove button's word; its accessible name is this and the row's title: \"Remove Part 3\".",[],{"name":286,"global":18,"default":287,"description":288,"tags":289,"required":18,"type":222,"schema":222},"editLabel","\"Edit\"","The folded row's Edit button's word; named the same way.",[],{"name":291,"global":18,"default":241,"description":292,"tags":293,"required":18,"type":222,"schema":222},"maxLabel","Shown beside the disabled Add button at `max`; \"That's the most you can add here (12).\" unless given.",[],{"name":295,"global":18,"default":241,"description":296,"tags":297,"required":18,"type":298,"schema":299},"announce","What a screen reader hears when a row is added or removed; \"Part 3 added. 3 in the list.\" unless given.",[],"(change: { type: \"added\" | \"removed\"; title: string; count: number; }) => string",{"kind":229,"type":300,"schema":301},"(change: { type: \"added\" | \"removed\"; title: string; count: number; }): string",{},{"name":303,"global":18,"default":304,"description":305,"tags":306,"required":18,"type":222,"schema":222},"focusSelector","\"input, select, textarea, button[role=\\\"radio\\\"]\"","Where focus lands in a row that is added or opened: the first match in the row.",[],{"name":152,"global":18,"default":308,"description":309,"tags":310,"required":18,"type":311,"schema":312},"false","One line per row, no heading or card: for rows of a single short field.",[],"boolean",{"kind":313,"type":311,"schema":314},"enum",{"0":308,"1":315},"true",[317,336],{"name":122,"type":318,"description":190,"tags":319,"schema":320},"{ row: T; index: number; key: string; error?: string; errorId?: string; }",[],{"kind":321,"type":318,"schema":322},"object",{"row":323,"index":325,"key":328,"error":331,"errorId":334},{"name":122,"global":18,"description":190,"tags":324,"required":200,"type":238,"schema":238},[],{"name":326,"global":18,"description":190,"tags":327,"required":200,"type":252,"schema":252},"index",[],{"name":329,"global":18,"description":190,"tags":330,"required":200,"type":222,"schema":222},"key",[],{"name":332,"global":18,"description":190,"tags":333,"required":18,"type":222,"schema":222},"error",[],{"name":180,"global":18,"description":190,"tags":335,"required":18,"type":222,"schema":222},[],{"name":337,"type":338,"description":190,"tags":339,"schema":340},"summary","{ row: T; index: number; }",[],{"kind":321,"type":338,"schema":341},{"row":342,"index":344},{"name":122,"global":18,"description":190,"tags":343,"required":200,"type":238,"schema":238},[],{"name":326,"global":18,"description":190,"tags":345,"required":200,"type":252,"schema":252},[],[347],{"name":348,"description":190,"tags":349,"type":350,"signature":351,"schema":352},"update:modelValue",[],"[value: T[]]","(event: \"update:modelValue\", value: T[]): void",[353],{"kind":236,"type":234,"schema":354},[238],[],"hIEsJ7VIZL_G1nPjYMmrBJXrC_MbXeT22AuDoli8lXc",1794711775787]