[{"data":1,"prerenderedAt":1223},["ShallowReactive",2],{"docs-navigation":3,"page:\u002Fcomposables\u002Fuse-sidebar":571,"surround:\u002Fcomposables\u002Fuse-sidebar":1217,"code:v-0-0-79-2-7-0":1220,"code:v-0-0-79-2-4-0":1221,"code:v-0-0-79-2-11-0":1222},[4,38,112,555],{"title":5,"path":6,"stem":7,"children":8,"navigation":35,"description":36,"icon":37},"Getting Started","\u002Fgetting-started","1.getting-started\u002F1.index",[9,14,21,28],{"title":10,"path":6,"stem":7,"navigation":11,"description":13,"icon":12},"Introduction",{"icon":12},"i-lucide-house","Unstyled Vue UI primitives with a Vue-native slots API.",{"title":15,"path":16,"stem":17,"navigation":18,"description":20,"icon":19},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"icon":19},"i-lucide-download","Add Akaza UI to your Vue or Nuxt project in minutes.",{"title":22,"path":23,"stem":24,"navigation":25,"description":27,"icon":26},"Styling","\u002Fgetting-started\u002Fstyling","1.getting-started\u002F3.styling",{"icon":26},"i-lucide-paintbrush","Style Akaza UI with the ui prop, CSS classes, and data attributes.",{"title":29,"path":30,"stem":31,"navigation":32,"description":34,"icon":33},"Usage","\u002Fgetting-started\u002Fusage","1.getting-started\u002F4.usage",{"icon":33},"i-lucide-sliders","Learn the core patterns for using Akaza UI components.",true,null,false,{"title":39,"path":40,"stem":41,"children":42,"navigation":35,"description":36,"icon":37},"Composables","\u002Fcomposables","2.composables\u002F1.index",[43,48,55,62,73,82,89,96,103],{"title":44,"path":40,"stem":41,"navigation":45,"description":47,"icon":46},"All Composables",{"icon":46},"i-lucide-braces","Public Vue composables for programmatic control and shared state.",{"title":49,"path":50,"stem":51,"navigation":52,"description":54,"icon":53},"useColor","\u002Fcomposables\u002Fuse-color","2.composables\u002Fuse-color",{"icon":53},"i-lucide-palette","Convert color strings and edit color channels.",{"title":56,"path":57,"stem":58,"navigation":59,"description":61,"icon":60},"useDataTable","\u002Fcomposables\u002Fuse-data-table","2.composables\u002Fuse-data-table",{"icon":60},"i-lucide-table-2","Reactive table data, selection, sorting, filtering, pagination, and column state.",{"title":63,"path":64,"stem":65,"navigation":66,"description":71,"icon":67,"badge":72},"useDisclosure","\u002Fcomposables\u002Fuse-disclosure","2.composables\u002Fuse-disclosure",{"icon":67,"badge":68},"i-lucide-panel-top-open",{"label":69,"color":70},"NEW","success","Share boolean open state between controls.",{"label":69,"color":70},{"title":74,"path":75,"stem":76,"navigation":77,"description":80,"icon":78,"badge":81},"useFormReset","\u002Fcomposables\u002Fuse-form-reset","2.composables\u002Fuse-form-reset",{"icon":78,"badge":79},"i-lucide-rotate-ccw",{"label":69,"color":70},"Reset custom control state when its native form resets.",{"label":69,"color":70},{"title":83,"path":84,"stem":85,"navigation":86,"description":88,"icon":87},"useOverlay","\u002Fcomposables\u002Fuse-overlay","2.composables\u002Fuse-overlay",{"icon":87},"i-lucide-panels-top-left","Open dialogs, drawers, and custom overlays from Vue code.",{"title":90,"path":91,"stem":92,"navigation":93,"description":95,"icon":94},"useSidebar","\u002Fcomposables\u002Fuse-sidebar","2.composables\u002Fuse-sidebar",{"icon":94},"i-lucide-panel-left","Control one Sidebar instance or share responsive sidebar state.",{"title":97,"path":98,"stem":99,"navigation":100,"description":102,"icon":101},"useToast","\u002Fcomposables\u002Fuse-toast","2.composables\u002Fuse-toast",{"icon":101},"i-lucide-bell","Manage notification queues, actions, timers, and promise results.",{"title":104,"path":105,"stem":106,"navigation":107,"description":110,"icon":108,"badge":111},"useTypeahead","\u002Fcomposables\u002Fuse-typeahead","2.composables\u002Fuse-typeahead",{"icon":108,"badge":109},"i-lucide-keyboard",{"label":69,"color":70},"Buffer typed text for keyboard navigation.",{"label":69,"color":70},{"title":113,"path":114,"stem":115,"children":116,"navigation":35,"description":36,"icon":120},"Components","\u002Fcomponents","3.components\u002F1.index",[117,122,129,136,144,151,158,165,172,179,186,194,202,210,218,226,234,241,248,254,261,268,275,282,289,296,303,310,317,324,330,336,343,350,357,363,369,376,383,389,396,403,410,417,424,431,438,445,455,462,469,476,482,489,496,503,509,516,522,529,536,543,549],{"title":118,"path":114,"stem":115,"navigation":119,"description":121,"icon":120},"All Components",{"icon":120},"i-lucide-component","All available Akaza UI headless components.",{"title":123,"path":124,"stem":125,"navigation":126,"description":128,"icon":127},"Accordion","\u002Fcomponents\u002Faccordion","3.components\u002Faccordion",{"icon":127},"i-lucide-layout-panel-top","A set of collapsible sections with headings.",{"title":130,"path":131,"stem":132,"navigation":133,"description":135,"icon":134},"Alert Dialog","\u002Fcomponents\u002Falert-dialog","3.components\u002Falert-dialog",{"icon":134},"i-lucide-triangle-alert","A modal dialog that interrupts the user and requires a response.",{"title":137,"path":138,"stem":139,"navigation":140,"description":142,"icon":87,"badge":143},"App Layout","\u002Fcomponents\u002Fapp-layout","3.components\u002Fapp-layout",{"icon":87,"badge":141},{"label":69,"color":70},"Header, content, sidebars, and footer in one application shell.",{"label":69,"color":70},{"title":145,"path":146,"stem":147,"navigation":148,"description":150,"icon":149},"Avatar","\u002Fcomponents\u002Favatar","3.components\u002Favatar",{"icon":149},"i-lucide-circle-user","An image element with a fallback for when the image fails to load.",{"title":152,"path":153,"stem":154,"navigation":155,"description":157,"icon":156},"Button","\u002Fcomponents\u002Fbutton","3.components\u002Fbutton",{"icon":156},"i-lucide-mouse-pointer-click","A button that can show a loading state during async operations.",{"title":159,"path":160,"stem":161,"navigation":162,"description":164,"icon":163},"Calendar","\u002Fcomponents\u002Fcalendar","3.components\u002Fcalendar",{"icon":163},"i-lucide-calendar-days","Locale-aware date grid with keyboard navigation, constraints, and single, multiple, or range selection.",{"title":166,"path":167,"stem":168,"navigation":169,"description":171,"icon":170},"Checkbox","\u002Fcomponents\u002Fcheckbox","3.components\u002Fcheckbox",{"icon":170},"i-lucide-square-check","A control that allows the user to toggle between checked and unchecked states.",{"title":173,"path":174,"stem":175,"navigation":176,"description":178,"icon":177},"Checkbox Group","\u002Fcomponents\u002Fcheckbox-group","3.components\u002Fcheckbox-group",{"icon":177},"i-lucide-list-checks","Items-based multi-select built on Checkbox.",{"title":180,"path":181,"stem":182,"navigation":183,"description":185,"icon":184},"Collapsible","\u002Fcomponents\u002Fcollapsible","3.components\u002Fcollapsible",{"icon":184},"i-lucide-chevrons-down-up","A single section that can be expanded or collapsed.",{"title":187,"path":188,"stem":189,"navigation":190,"description":192,"icon":53,"badge":193},"Color Area","\u002Fcomponents\u002Fcolor-area","3.components\u002Fcolor-area",{"icon":53,"badge":191},{"label":69,"color":70},"A two-dimensional color selector.",{"label":69,"color":70},{"title":195,"path":196,"stem":197,"navigation":198,"description":200,"icon":53,"badge":201},"Color Field","\u002Fcomponents\u002Fcolor-field","3.components\u002Fcolor-field",{"icon":53,"badge":199},{"label":69,"color":70},"An input for CSS colors or a single color channel.",{"label":69,"color":70},{"title":203,"path":204,"stem":205,"navigation":206,"description":208,"icon":53,"badge":209},"Color Picker","\u002Fcomponents\u002Fcolor-picker","3.components\u002Fcolor-picker",{"icon":53,"badge":207},{"label":69,"color":70},"A color editor with an area, sliders, and text input.",{"label":69,"color":70},{"title":211,"path":212,"stem":213,"navigation":214,"description":216,"icon":53,"badge":217},"Color Slider","\u002Fcomponents\u002Fcolor-slider","3.components\u002Fcolor-slider",{"icon":53,"badge":215},{"label":69,"color":70},"A slider for hue, opacity, or another color channel.",{"label":69,"color":70},{"title":219,"path":220,"stem":221,"navigation":222,"description":224,"icon":53,"badge":225},"Color Swatch","\u002Fcomponents\u002Fcolor-swatch","3.components\u002Fcolor-swatch",{"icon":53,"badge":223},{"label":69,"color":70},"A read-only color preview.",{"label":69,"color":70},{"title":227,"path":228,"stem":229,"navigation":230,"description":232,"icon":53,"badge":233},"Color Swatch Picker","\u002Fcomponents\u002Fcolor-swatch-picker","3.components\u002Fcolor-swatch-picker",{"icon":53,"badge":231},{"label":69,"color":70},"Choose one or more colors from a list.",{"label":69,"color":70},{"title":235,"path":236,"stem":237,"navigation":238,"description":240,"icon":239},"Combobox","\u002Fcomponents\u002Fcombobox","3.components\u002Fcombobox",{"icon":239},"i-lucide-search","Input plus listbox selection with filtering and active-descendant navigation.",{"title":242,"path":243,"stem":244,"navigation":245,"description":247,"icon":246},"Context Menu","\u002Fcomponents\u002Fcontext-menu","3.components\u002Fcontext-menu",{"icon":246},"i-lucide-mouse-pointer-2","Right-click triggered menu positioned at the pointer.",{"title":249,"path":250,"stem":251,"navigation":252,"description":253,"icon":60},"Data Table","\u002Fcomponents\u002Fdata-table","3.components\u002Fdata-table",{"icon":60},"Semantic tables with sorting, filtering, selection, pagination, expansion, and resizing.",{"title":255,"path":256,"stem":257,"navigation":258,"description":260,"icon":259},"Date Field","\u002Fcomponents\u002Fdate-field","3.components\u002Fdate-field",{"icon":259},"i-lucide-calendar-clock","Locale-ordered segmented date input with keyboard editing, optional Calendar, validation, paste, and native forms.",{"title":262,"path":263,"stem":264,"navigation":265,"description":267,"icon":266},"Date Range Field","\u002Fcomponents\u002Fdate-range-field","3.components\u002Fdate-range-field",{"icon":266},"i-lucide-calendar-range","Locale-ordered segmented start and end dates with aggregate validation, fixed endpoints, and native forms.",{"title":269,"path":270,"stem":271,"navigation":272,"description":274,"icon":273},"Date Range Picker","\u002Fcomponents\u002Fdate-range-picker","3.components\u002Fdate-range-picker",{"icon":273},"i-lucide-calendar-search","Segmented date-range entry and an accessible range Calendar in one collision-aware popup.",{"title":276,"path":277,"stem":278,"navigation":279,"description":281,"icon":280},"Dialog","\u002Fcomponents\u002Fdialog","3.components\u002Fdialog",{"icon":280},"i-lucide-square","A modal dialog that appears over the page and traps focus.",{"title":283,"path":284,"stem":285,"navigation":286,"description":288,"icon":287},"Drawer","\u002Fcomponents\u002Fdrawer","3.components\u002Fdrawer",{"icon":287},"i-lucide-panel-right","A panel that slides in from the edge of the viewport.",{"title":290,"path":291,"stem":292,"navigation":293,"description":295,"icon":294},"Editable","\u002Fcomponents\u002Feditable","3.components\u002Feditable",{"icon":294},"i-lucide-square-pen","Inline text editing with preview, draft, submit, cancel, and native form behavior.",{"title":297,"path":298,"stem":299,"navigation":300,"description":302,"icon":301},"Field","\u002Fcomponents\u002Ffield","3.components\u002Ffield",{"icon":301},"i-lucide-text-cursor-input","Label, description, and error wiring for form controls.",{"title":304,"path":305,"stem":306,"navigation":307,"description":309,"icon":308},"Fieldset","\u002Fcomponents\u002Ffieldset","3.components\u002Ffieldset",{"icon":308},"i-lucide-group","Native fieldset and legend wrapper for related controls.",{"title":311,"path":312,"stem":313,"navigation":314,"description":316,"icon":315},"Form","\u002Fcomponents\u002Fform","3.components\u002Fform",{"icon":315},"i-lucide-clipboard-check","Submit wrapper that exposes FormData and native validity state.",{"title":318,"path":319,"stem":320,"navigation":321,"description":323,"icon":322},"Hover Preview Card","\u002Fcomponents\u002Fhover-preview-card","3.components\u002Fhover-preview-card",{"icon":322},"i-lucide-id-card","Hover-triggered rich content preview for links, users, and entities.",{"title":325,"path":326,"stem":327,"navigation":328,"description":329,"icon":301},"Input","\u002Fcomponents\u002Finput","3.components\u002Finput",{"icon":301},"Native text input with Field integration and invalid state attributes.",{"title":331,"path":332,"stem":333,"navigation":334,"description":335,"icon":177},"Listbox","\u002Fcomponents\u002Flistbox","3.components\u002Flistbox",{"icon":177},"Standalone selectable list with single, multiple, filtered, and virtualized modes.",{"title":337,"path":338,"stem":339,"navigation":340,"description":342,"icon":341},"Menu","\u002Fcomponents\u002Fmenu","3.components\u002Fmenu",{"icon":341},"i-lucide-list","A floating menu of actions, anchored to a trigger element.",{"title":344,"path":345,"stem":346,"navigation":347,"description":349,"icon":348},"Menubar","\u002Fcomponents\u002Fmenubar","3.components\u002Fmenubar",{"icon":348},"i-lucide-panel-top","Horizontal menu strip with arrow-key navigation across menus.",{"title":351,"path":352,"stem":353,"navigation":354,"description":356,"icon":355},"Meter","\u002Fcomponents\u002Fmeter","3.components\u002Fmeter",{"icon":355},"i-lucide-gauge","Read-only gauge for displaying a bounded numeric value.",{"title":358,"path":359,"stem":360,"navigation":361,"description":362,"icon":266},"Month Picker","\u002Fcomponents\u002Fmonth-picker","3.components\u002Fmonth-picker",{"icon":266},"Accessible month grid with locale labels, paging, constraints, and single or multiple selection.",{"title":364,"path":365,"stem":366,"navigation":367,"description":368,"icon":266},"Month Range Picker","\u002Fcomponents\u002Fmonth-range-picker","3.components\u002Fmonth-range-picker",{"icon":266},"Accessible month-level range selection with preview, limits, fixed endpoints, and constraints.",{"title":370,"path":371,"stem":372,"navigation":373,"description":375,"icon":374},"Navigation Menu","\u002Fcomponents\u002Fnavigation-menu","3.components\u002Fnavigation-menu",{"icon":374},"i-lucide-navigation","Horizontal flyout and vertical application navigation from one items API.",{"title":377,"path":378,"stem":379,"navigation":380,"description":382,"icon":381},"Number Field","\u002Fcomponents\u002Fnumber-field","3.components\u002Fnumber-field",{"icon":381},"i-lucide-badge-plus","Spinbutton number input with increment and decrement controls.",{"title":384,"path":385,"stem":386,"navigation":387,"description":388,"icon":87},"Overlay Provider","\u002Fcomponents\u002Foverlay","3.components\u002Foverlay",{"icon":87},"Programmatic overlay mounting with useOverlay.",{"title":390,"path":391,"stem":392,"navigation":393,"description":395,"icon":394},"Pagination","\u002Fcomponents\u002Fpagination","3.components\u002Fpagination",{"icon":394},"i-lucide-ellipsis","Accessible page navigation with ranges, ellipses, boundary controls, and optional links.",{"title":397,"path":398,"stem":399,"navigation":400,"description":402,"icon":401},"Pin \u002F OTP Input","\u002Fcomponents\u002Fpin-input","3.components\u002Fpin-input",{"icon":401},"i-lucide-binary","Multi-cell input for verification codes, PINs, and fixed-length tokens.",{"title":404,"path":405,"stem":406,"navigation":407,"description":409,"icon":408},"Popover","\u002Fcomponents\u002Fpopover","3.components\u002Fpopover",{"icon":408},"i-lucide-message-square","A floating panel anchored to a trigger element.",{"title":411,"path":412,"stem":413,"navigation":414,"description":416,"icon":415},"Progress","\u002Fcomponents\u002Fprogress","3.components\u002Fprogress",{"icon":415},"i-lucide-loader","Displays a value indicating completion of a task.",{"title":418,"path":419,"stem":420,"navigation":421,"description":423,"icon":422},"Radio Group","\u002Fcomponents\u002Fradio-group","3.components\u002Fradio-group",{"icon":422},"i-lucide-circle-dot","A group of radio buttons where only one can be selected at a time.",{"title":425,"path":426,"stem":427,"navigation":428,"description":430,"icon":429},"Rating","\u002Fcomponents\u002Frating","3.components\u002Frating",{"icon":429},"i-lucide-star","Accessible rating input with fractional values, hover preview, keyboard navigation, and forms.",{"title":432,"path":433,"stem":434,"navigation":435,"description":437,"icon":436},"Select","\u002Fcomponents\u002Fselect","3.components\u002Fselect",{"icon":436},"i-lucide-list-filter","Single or multiple listbox select with keyboard navigation, typeahead, and form submission.",{"title":439,"path":440,"stem":441,"navigation":442,"description":444,"icon":443},"Separator","\u002Fcomponents\u002Fseparator","3.components\u002Fseparator",{"icon":443},"i-lucide-minus","A visual or semantic divider between content sections.",{"title":446,"path":447,"stem":448,"navigation":449,"description":453,"icon":94,"badge":454},"Sidebar","\u002Fcomponents\u002Fsidebar","3.components\u002Fsidebar",{"icon":94,"badge":450},{"label":451,"color":452},"UPDATED","warning","Responsive application sidebar with desktop collapse, resizing, and mobile dialog behavior.",{"label":451,"color":452},{"title":456,"path":457,"stem":458,"navigation":459,"description":461,"icon":460},"Slider","\u002Fcomponents\u002Fslider","3.components\u002Fslider",{"icon":460},"i-lucide-sliders-horizontal","Single-value or range slider with pointer drag, keyboard step, and ARIA metadata.",{"title":463,"path":464,"stem":465,"navigation":466,"description":468,"icon":467},"Stepper","\u002Fcomponents\u002Fstepper","3.components\u002Fstepper",{"icon":467},"i-lucide-list-ordered","Multi-step progress and navigation with linear rules, roving focus, and associated panels.",{"title":470,"path":471,"stem":472,"navigation":473,"description":475,"icon":474},"Switch","\u002Fcomponents\u002Fswitch","3.components\u002Fswitch",{"icon":474},"i-lucide-toggle-left","A toggle control for binary or custom on\u002Foff values.",{"title":477,"path":478,"stem":479,"navigation":480,"description":481,"icon":127},"Tabs","\u002Fcomponents\u002Ftabs","3.components\u002Ftabs",{"icon":127},"A set of layered sections of content, one visible at a time.",{"title":483,"path":484,"stem":485,"navigation":486,"description":488,"icon":487},"Tags Input","\u002Fcomponents\u002Ftags-input","3.components\u002Ftags-input",{"icon":487},"i-lucide-tags","Tokenized text input with keyboard editing, paste handling, validation, and form submission.",{"title":490,"path":491,"stem":492,"navigation":493,"description":495,"icon":494},"Time Field","\u002Fcomponents\u002Ftime-field","3.components\u002Ftime-field",{"icon":494},"i-lucide-clock-3","Locale-aware segmented time input with keyboard editing, constraints, granularity, and native forms.",{"title":497,"path":498,"stem":499,"navigation":500,"description":502,"icon":501},"Time Range Field","\u002Fcomponents\u002Ftime-range-field","3.components\u002Ftime-range-field",{"icon":501},"i-lucide-clock-arrow-up","Coordinated segmented start and end times with aggregate validation and native form values.",{"title":504,"path":505,"stem":506,"navigation":507,"description":508,"icon":408},"Toast","\u002Fcomponents\u002Ftoast","3.components\u002Ftoast",{"icon":408},"Queued status and alert notifications with stacking, actions, updates, promise state, and swipe dismissal.",{"title":510,"path":511,"stem":512,"navigation":513,"description":515,"icon":514},"Toggle","\u002Fcomponents\u002Ftoggle","3.components\u002Ftoggle",{"icon":514},"i-lucide-toggle-right","A two-state button that can be on or off.",{"title":517,"path":518,"stem":519,"navigation":520,"description":521,"icon":177},"Toggle Group","\u002Fcomponents\u002Ftoggle-group","3.components\u002Ftoggle-group",{"icon":177},"Single or multiple pressed values with roving keyboard focus.",{"title":523,"path":524,"stem":525,"navigation":526,"description":528,"icon":527},"Toolbar","\u002Fcomponents\u002Ftoolbar","3.components\u002Ftoolbar",{"icon":527},"i-lucide-wrench","Command strip with roving focus across buttons, links, inputs, groups, and separators.",{"title":530,"path":531,"stem":532,"navigation":533,"description":535,"icon":534},"Tooltip","\u002Fcomponents\u002Ftooltip","3.components\u002Ftooltip",{"icon":534},"i-lucide-info","A floating label that appears when the user hovers or focuses an element.",{"title":537,"path":538,"stem":539,"navigation":540,"description":542,"icon":541},"Tree","\u002Fcomponents\u002Ftree","3.components\u002Ftree",{"icon":541},"i-lucide-folder-tree","Accessible hierarchical navigation and selection with lazy loading, propagation, typeahead, and virtualization.",{"title":544,"path":545,"stem":546,"navigation":547,"description":548,"icon":163},"Year Picker","\u002Fcomponents\u002Fyear-picker","3.components\u002Fyear-picker",{"icon":163},"Accessible paged year grid with constraints and single or multiple selection.",{"title":550,"path":551,"stem":552,"navigation":553,"description":554,"icon":266},"Year Range Picker","\u002Fcomponents\u002Fyear-range-picker","3.components\u002Fyear-range-picker",{"icon":266},"Accessible year-level range selection with preview, limits, fixed endpoints, and paging.",{"title":556,"path":557,"stem":558,"children":559,"navigation":35,"description":36,"icon":37},"Builders","\u002Fbuilders","4.builders\u002F1.index",[560,564],{"title":561,"path":557,"stem":558,"navigation":562,"description":563,"icon":87},"All Builders",{"icon":87},"Configure component combinations and get their Vue markup.",{"title":565,"path":566,"stem":567,"navigation":568,"description":570,"icon":569},"Layout Builder","\u002Fbuilders\u002Flayout-builder","4.builders\u002Flayout-builder",{"icon":569},"i-lucide-layout-dashboard","Arrange an application shell and generate its Vue structure.",{"id":572,"title":90,"body":573,"description":95,"extension":1212,"links":36,"meta":1213,"navigation":1214,"path":91,"seo":1215,"stem":92,"__hash__":1216},"docs\u002F2.composables\u002Fuse-sidebar.md",{"type":574,"value":575,"toc":1196},"minimark",[576,587,594,598,606,616,621,624,632,635,639,645,651,657,661,665,668,776,780,1022,1035,1065,1069,1162,1166,1172,1175,1179],[577,578,579,582,583,586],"p",{},[580,581,90],"code",{}," connects external controls to a ",[584,585,446],"a",{"href":447},". Pass its component ref to control that specific instance. Pass an options object when your application owns the state.",[577,588,589,590,593],{},"Import the composable and its types from ",[580,591,592],{},"akaza-ui","; the Nuxt module registers components, not composable auto-imports.",[595,596,29],"h2",{"id":597},"usage",[577,599,600,602,603,605],{},[580,601,90],{}," has two overloads. Pass a ",[580,604,446],{}," component ref to control one rendered instance, or pass an options object when the application owns the state.",[607,608,614],"pre",{"className":609,"code":611,"language":612,"meta":613},[610],"language-ts","function useSidebar(target: SidebarTarget): UseSidebarTargetReturn;\nfunction useSidebar(options?: UseSidebarOptions): UseSidebarReturn;\n","ts","",[580,615,611],{"__ignoreMap":613},[617,618,620],"h3",{"id":619},"component-ref-mode","Component ref mode",[577,622,623],{},"Use this mode for external controls, multiple sidebars, or access to the rendered sidebar's responsive and size state.",[607,625,630],{"className":626,"code":628,"language":629,"meta":613},[627],"language-vue","\u003Cscript setup lang=\"ts\">\nimport type { SidebarController } from \"akaza-ui\";\nimport { Sidebar, useSidebar } from \"akaza-ui\";\nimport { useTemplateRef } from \"vue\";\n\nconst primaryRef = useTemplateRef\u003CSidebarController>(\"primary\");\nconst inspectorRef = useTemplateRef\u003CSidebarController>(\"inspector\");\n\nconst primary = useSidebar(primaryRef);\nconst inspector = useSidebar(inspectorRef);\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cbutton\n    type=\"button\"\n    @click=\"primary.toggle\"\n  >\n    Toggle navigation\n  \u003C\u002Fbutton>\n  \u003Cbutton\n    type=\"button\"\n    @click=\"inspector.toggle\"\n  >\n    Toggle inspector\n  \u003C\u002Fbutton>\n\n  \u003CSidebar\n    ref=\"primary\"\n    collapsible=\"icon\"\n  >\n    ...\n  \u003C\u002FSidebar>\n  \u003CSidebar\n    ref=\"inspector\"\n    side=\"right\"\n    collapsible=\"offcanvas\"\n  >\n    ...\n  \u003C\u002FSidebar>\n\u003C\u002Ftemplate>\n","vue",[580,631,628],{"__ignoreMap":613},[577,633,634],{},"Each controller delegates only to its referenced instance. Calls made before that instance mounts are ignored.",[617,636,638],{"id":637},"controlled-state-mode","Controlled state mode",[577,640,641,642,644],{},"Use this mode when state must exist before the component mounts or must be shared with storage, routing, or other application logic. Pass the same refs to ",[580,643,446],{}," models.",[607,646,649],{"className":647,"code":648,"language":629,"meta":613},[627],"\u003Cscript setup lang=\"ts\">\nimport { Sidebar, useSidebar } from \"akaza-ui\";\nimport { ref } from \"vue\";\n\nconst open = ref(false);\nconst collapsed = ref(false);\nconst { isMobile, state, toggle } = useSidebar({\n  open,\n  collapsed,\n  breakpoint: \"(max-width: 767px)\",\n});\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cbutton\n    type=\"button\"\n    @click=\"toggle\"\n  >\n    Toggle sidebar\n  \u003C\u002Fbutton>\n  \u003Coutput>{{ state }}\u003C\u002Foutput>\n\n  \u003CSidebar\n    v-model:open=\"open\"\n    v-model:collapsed=\"collapsed\"\n    :mobile=\"isMobile\"\n    collapsible=\"icon\"\n  >\n    ...\n  \u003C\u002FSidebar>\n\u003C\u002Ftemplate>\n",[580,650,648],{"__ignoreMap":613},[577,652,653,654,656],{},"This mode updates the supplied refs directly. The composable does not emit component events; the connected ",[580,655,446],{}," models receive the resulting values.",[595,658,660],{"id":659},"api-reference","API Reference",[617,662,664],{"id":663},"options","Options",[577,666,667],{},"These options apply to controlled state mode.",[669,670,671,690],"table",{},[672,673,674],"thead",{},[675,676,677,681,684,687],"tr",{},[678,679,680],"th",{},"Option",[678,682,683],{},"Type",[678,685,686],{},"Default",[678,688,689],{},"Description",[691,692,693,716,734,758],"tbody",{},[675,694,695,701,706,713],{},[696,697,698],"td",{},[580,699,700],{},"open",[696,702,703],{},[580,704,705],{},"Ref\u003Cboolean>",[696,707,708,709,712],{},"Internal ",[580,710,711],{},"false"," ref",[696,714,715],{},"Mobile dialog visibility.",[675,717,718,723,727,731],{},[696,719,720],{},[580,721,722],{},"collapsed",[696,724,725],{},[580,726,705],{},[696,728,708,729,712],{},[580,730,711],{},[696,732,733],{},"Desktop collapse state.",[675,735,736,741,746,751],{},[696,737,738],{},[580,739,740],{},"breakpoint",[696,742,743],{},[580,744,745],{},"MaybeRefOrGetter\u003Cstring>",[696,747,748],{},[580,749,750],{},"\"(max-width: 767px)\"",[696,752,753,754,757],{},"Media query used to calculate ",[580,755,756],{},"isMobile",".",[675,759,760,765,770,773],{},[696,761,762],{},[580,763,764],{},"mobile",[696,766,767],{},[580,768,769],{},"MaybeRefOrGetter\u003Cboolean | undefined>",[696,771,772],{},"Media query result",[696,774,775],{},"Overrides responsive detection. Useful for container layouts, SSR-owned state, and tests.",[617,777,779],{"id":778},"return-value","Return value",[669,781,782,796],{},[672,783,784],{},[675,785,786,789,791,794],{},[678,787,788],{},"Property",[678,790,683],{},[678,792,793],{},"Available",[678,795,689],{},[691,797,798,814,829,845,862,884,901,917,933,949,971,987,1003],{},[675,799,800,804,808,811],{},[696,801,802],{},[580,803,700],{},[696,805,806],{},[580,807,705],{},[696,809,810],{},"Both modes",[696,812,813],{},"Writable mobile visibility. In component ref mode, writes use the component's cancelable change path.",[675,815,816,820,824,826],{},[696,817,818],{},[580,819,722],{},[696,821,822],{},[580,823,705],{},[696,825,810],{},[696,827,828],{},"Writable desktop collapse state. In component ref mode, writes use the component's cancelable change path.",[675,830,831,835,840,842],{},[696,832,833],{},[580,834,756],{},[696,836,837],{},[580,838,839],{},"ComputedRef\u003Cboolean>",[696,841,810],{},[696,843,844],{},"Current responsive mode.",[675,846,847,852,857,859],{},[696,848,849],{},[580,850,851],{},"state",[696,853,854],{},[580,855,856],{},"ComputedRef\u003C\"open\" | \"closed\" | \"expanded\" | \"collapsed\">",[696,858,810],{},[696,860,861],{},"Normalized responsive state.",[675,863,864,869,874,877],{},[696,865,866],{},[580,867,868],{},"size",[696,870,871],{},[580,872,873],{},"ComputedRef\u003Cnumber>",[696,875,876],{},"Component ref",[696,878,879,880,883],{},"Current expanded width in pixels. Read-only; use ",[580,881,882],{},"v-model:size"," for arbitrary size changes.",[675,885,886,891,896,898],{},[696,887,888],{},[580,889,890],{},"openMobile()",[696,892,893],{},[580,894,895],{},"() => void",[696,897,810],{},[696,899,900],{},"Open mobile dialog state.",[675,902,903,908,912,914],{},[696,904,905],{},[580,906,907],{},"closeMobile()",[696,909,910],{},[580,911,895],{},[696,913,810],{},[696,915,916],{},"Close mobile dialog state.",[675,918,919,924,928,930],{},[696,920,921],{},[580,922,923],{},"toggleMobile()",[696,925,926],{},[580,927,895],{},[696,929,810],{},[696,931,932],{},"Toggle mobile dialog state regardless of responsive mode.",[675,934,935,940,944,946],{},[696,936,937],{},[580,938,939],{},"expand()",[696,941,942],{},[580,943,895],{},[696,945,810],{},[696,947,948],{},"Expand desktop state.",[675,950,951,956,960,962],{},[696,952,953],{},[580,954,955],{},"collapse()",[696,957,958],{},[580,959,895],{},[696,961,810],{},[696,963,964,965,968,969,757],{},"Collapse desktop state. The component ignores this when ",[580,966,967],{},"collapsible"," is ",[580,970,711],{},[675,972,973,978,982,984],{},[696,974,975],{},[580,976,977],{},"toggleCollapsed()",[696,979,980],{},[580,981,895],{},[696,983,810],{},[696,985,986],{},"Toggle desktop collapse state regardless of responsive mode.",[675,988,989,994,998,1000],{},[696,990,991],{},[580,992,993],{},"toggle()",[696,995,996],{},[580,997,895],{},[696,999,810],{},[696,1001,1002],{},"Toggle mobile visibility when mobile; otherwise toggle desktop collapse.",[675,1004,1005,1010,1014,1016],{},[696,1006,1007],{},[580,1008,1009],{},"resetSize()",[696,1011,1012],{},[580,1013,895],{},[696,1015,876],{},[696,1017,1018,1019,757],{},"Restore the component's ",[580,1020,1021],{},"defaultSize",[577,1023,1024,1025,1027,1028,1031,1032,1034],{},"When no ",[580,1026,764],{}," override is supplied, controlled mode uses ",[580,1029,1030],{},"matchMedia"," through VueUse. During SSR it starts in desktop mode and updates after hydration. Supply an SSR-safe ",[580,1033,764],{}," value when initial responsive markup must be deterministic.",[577,1036,1037,1038,1040,1041,1044,1045,1048,1049,1052,1053,1056,1057,1060,1061,1064],{},"Component ref mode delegates through ",[580,1039,446],{}," events. ",[580,1042,1043],{},"open-change",", ",[580,1046,1047],{},"collapsed-change",", and ",[580,1050,1051],{},"size-change"," listeners can still cancel changes. Actions accept ",[580,1054,1055],{},"(reasonOrEvent?: string | Event, event?: Event)"," in addition to no arguments. Bind directly, for example ",[580,1058,1059],{},"@click=\"sidebar.toggle\"",", to retain the original event and the mobile dialog's return-focus target. Calling ",[580,1062,1063],{},"sidebar.toggle()"," is a programmatic action without a triggering event. Standalone state mode does not emit component events.",[617,1066,1068],{"id":1067},"exported-types","Exported types",[669,1070,1071,1079],{},[672,1072,1073],{},[675,1074,1075,1077],{},[678,1076,683],{},[678,1078,689],{},[691,1080,1081,1097,1107,1126,1136,1146],{},[675,1082,1083,1088],{},[696,1084,1085],{},[580,1086,1087],{},"SidebarController",[696,1089,1090,1091,1093,1094,757],{},"Public ",[580,1092,446],{}," instance contract used with ",[580,1095,1096],{},"useTemplateRef",[675,1098,1099,1104],{},[696,1100,1101],{},[580,1102,1103],{},"SidebarControllerAction",[696,1105,1106],{},"Event-safe action signature, accepting an optional reason or native event.",[675,1108,1109,1114],{},[696,1110,1111],{},[580,1112,1113],{},"SidebarTarget",[696,1115,1116,1117,1044,1119,1122,1123,757],{},"Read-only ref containing a ",[580,1118,1087],{},[580,1120,1121],{},"null",", or ",[580,1124,1125],{},"undefined",[675,1127,1128,1133],{},[696,1129,1130],{},[580,1131,1132],{},"UseSidebarOptions",[696,1134,1135],{},"Controlled state mode options.",[675,1137,1138,1143],{},[696,1139,1140],{},[580,1141,1142],{},"UseSidebarReturn",[696,1144,1145],{},"Shared state and actions returned by controlled state mode.",[675,1147,1148,1153],{},[696,1149,1150],{},[580,1151,1152],{},"UseSidebarTargetReturn",[696,1154,1155,1156,1158,1159,757],{},"Component ref return type, including ",[580,1157,868],{}," and ",[580,1160,1161],{},"resetSize",[595,1163,1165],{"id":1164},"rendering-and-ownership","Rendering and ownership",[577,1167,1168,1169,1171],{},"The composable does not render a sidebar, trap focus, or lock scrolling by itself. ",[584,1170,446],{"href":447}," supplies those behaviors and styling hooks. State mode needs a connected Sidebar, as shown above.",[577,1173,1174],{},"Keep storage, route watching, and keyboard shortcuts in your application or configure the component's existing props. There is no global sidebar singleton.",[595,1176,1178],{"id":1177},"related","Related",[1180,1181,1182,1188,1192],"ul",{},[1183,1184,1185],"li",{},[584,1186,1187],{"href":447},"Sidebar component",[1183,1189,1190],{},[584,1191,137],{"href":138},[1183,1193,1194],{},[584,1195,565],{"href":566},{"title":613,"searchDepth":1197,"depth":1198,"links":1199},1,2,[1200,1205,1210,1211],{"id":597,"depth":1198,"text":29,"children":1201},[1202,1204],{"id":619,"depth":1203,"text":620},3,{"id":637,"depth":1203,"text":638},{"id":659,"depth":1198,"text":660,"children":1206},[1207,1208,1209],{"id":663,"depth":1203,"text":664},{"id":778,"depth":1203,"text":779},{"id":1067,"depth":1203,"text":1068},{"id":1164,"depth":1198,"text":1165},{"id":1177,"depth":1198,"text":1178},"md",{},{"icon":94},{"title":90,"description":95},"kAdI1h75hYNyP8PsOKSUXpFVtiS9G8yJOG0oZbfnuvI",[1218,1219],{"title":83,"path":84,"stem":85,"icon":87,"children":-1},{"title":97,"path":98,"stem":99,"icon":101,"children":-1},"\u003Cspan class=\"shj-syn-tag\">&lt;template\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n  \u003Cspan class=\"shj-syn-tag\">&lt;NuxtPage\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">\u002F\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n  \u003Cspan class=\"shj-syn-tag\">&lt;OverlayProvider\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">\u002F\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n\u003Cspan class=\"shj-syn-tag\">&lt;\u002Ftemplate\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n","\u003Cspan class=\"shj-syn-tag\">&lt;template\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">#trigger\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"{ toggle }\"\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n  \u003Cspan class=\"shj-syn-tag\">&lt;button\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">@click\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"toggle\"\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>Open\u003Cspan class=\"shj-syn-tag\">&lt;\u002Fbutton\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n\u003Cspan class=\"shj-syn-tag\">&lt;\u002Ftemplate\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n","\u003Cspan class=\"shj-syn-control\">import\u003C\u002Fspan> \u003Cspan class=\"shj-syn-str\">'.\u002Fmain.css'\u003C\u002Fspan>\n",1793603913204]