[{"data":1,"prerenderedAt":1171},["ShallowReactive",2],{"navigation":3,"\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager\u002Fuse-cwa-resource-model":342,"\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager\u002Fuse-cwa-resource-model-surround":1166},[4,14,36,69,140,325],{"title":5,"path":6,"stem":7,"children":8},"Introduction","\u002Fgetting-started","1.getting-started\u002F1.index",[9,10],{"title":5,"path":6,"stem":7},{"title":11,"path":12,"stem":13},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"title":15,"path":16,"stem":17,"children":18,"page":35},"Guides","\u002Fguides","2.guides",[19,23,27,31],{"title":20,"path":21,"stem":22},"Your First Layout","\u002Fguides\u002Fyour-first-layout","2.guides\u002F1.your-first-layout",{"title":24,"path":25,"stem":26},"Your First Page Template","\u002Fguides\u002Fyour-first-page-template","2.guides\u002F2.your-first-page-template",{"title":28,"path":29,"stem":30},"Your First Component","\u002Fguides\u002Fyour-first-component","2.guides\u002F3.your-first-component",{"title":32,"path":33,"stem":34},"Alternative UI Variants","\u002Fguides\u002Falternative-ui-variants","2.guides\u002F4.alternative-ui-variants",false,{"title":37,"path":38,"stem":39,"children":40,"page":35},"Core Concepts","\u002Fcore-concepts","3.core-concepts",[41,45,49,53,57,61,65],{"title":42,"path":43,"stem":44},"How It All Works","\u002Fcore-concepts\u002Farchitecture","3.core-concepts\u002F1.architecture",{"title":46,"path":47,"stem":48},"The Data Model","\u002Fcore-concepts\u002Fthe-data-model","3.core-concepts\u002F2.the-data-model",{"title":50,"path":51,"stem":52},"Layouts & Pages","\u002Fcore-concepts\u002Flayouts-and-pages","3.core-concepts\u002F3.layouts-and-pages",{"title":54,"path":55,"stem":56},"Dynamic Pages","\u002Fcore-concepts\u002Fdynamic-pages","3.core-concepts\u002F4.dynamic-pages",{"title":58,"path":59,"stem":60},"Components","\u002Fcore-concepts\u002Fcomponents","3.core-concepts\u002F5.components",{"title":62,"path":63,"stem":64},"Draft & Publish Workflow","\u002Fcore-concepts\u002Fdraft-and-publish","3.core-concepts\u002F6.draft-and-publish",{"title":66,"path":67,"stem":68},"The Admin Panel","\u002Fcore-concepts\u002Fadmin-panel","3.core-concepts\u002F7.admin-panel",{"title":70,"path":71,"stem":72,"children":73,"page":35},"Api","\u002Fapi","4.api",[74,78,116,120,124,128,132,136],{"title":75,"path":76,"stem":77},"Bundle Setup","\u002Fapi\u002Fbundle-setup","4.api\u002F1.bundle-setup",{"title":58,"path":79,"stem":80,"children":81,"page":35},"\u002Fapi\u002Fcomponents","4.api\u002F2.components",[82,86,103],{"title":83,"path":84,"stem":85},"Creating Components","\u002Fapi\u002Fcomponents\u002Fcreating-components","4.api\u002F2.components\u002F1.creating-components",{"title":87,"path":88,"stem":89,"children":90,"page":35},"Annotations","\u002Fapi\u002Fcomponents\u002Fannotations","4.api\u002F2.components\u002F2.annotations",[91,95,99],{"title":92,"path":93,"stem":94},"Publishable","\u002Fapi\u002Fcomponents\u002Fannotations\u002Fpublishable","4.api\u002F2.components\u002F2.annotations\u002F1.publishable",{"title":96,"path":97,"stem":98},"Uploadable","\u002Fapi\u002Fcomponents\u002Fannotations\u002Fuploadable","4.api\u002F2.components\u002F2.annotations\u002F2.uploadable",{"title":100,"path":101,"stem":102},"Timestamped","\u002Fapi\u002Fcomponents\u002Fannotations\u002Ftimestamped","4.api\u002F2.components\u002F2.annotations\u002F3.timestamped",{"title":104,"path":105,"stem":106,"children":107,"page":35},"Built Ins","\u002Fapi\u002Fcomponents\u002Fbuilt-ins","4.api\u002F2.components\u002F3.built-ins",[108,112],{"title":109,"path":110,"stem":111},"Collection Component","\u002Fapi\u002Fcomponents\u002Fbuilt-ins\u002Fcollection-component","4.api\u002F2.components\u002F3.built-ins\u002F1.collection-component",{"title":113,"path":114,"stem":115},"Form Component","\u002Fapi\u002Fcomponents\u002Fbuilt-ins\u002Fform-component","4.api\u002F2.components\u002F3.built-ins\u002F2.form-component",{"title":117,"path":118,"stem":119},"Dynamic & Nested Pages","\u002Fapi\u002Fdynamic-pages","4.api\u002F3.dynamic-pages",{"title":121,"path":122,"stem":123},"Users & Security","\u002Fapi\u002Fusers-and-security","4.api\u002F4.users-and-security",{"title":125,"path":126,"stem":127},"Data Fixtures","\u002Fapi\u002Fdata-fixtures","4.api\u002F5.data-fixtures",{"title":129,"path":130,"stem":131},"Configuration Reference","\u002Fapi\u002Fconfiguration","4.api\u002F6.configuration",{"title":133,"path":134,"stem":135},"Console Commands","\u002Fapi\u002Fconsole-commands","4.api\u002F7.console-commands",{"title":137,"path":138,"stem":139},"Debugging & Profiler","\u002Fapi\u002Fdebugging","4.api\u002F8.debugging",{"title":141,"path":142,"stem":143,"children":144,"page":35},"Nuxt Module","\u002Fnuxt-module","5.nuxt-module",[145,149,162,178,203,207,279,304,308],{"title":146,"path":147,"stem":148},"Module Setup","\u002Fnuxt-module\u002Fmodule-setup","5.nuxt-module\u002F1.module-setup",{"title":150,"path":151,"stem":152,"children":153,"page":35},"Configuration","\u002Fnuxt-module\u002Fconfiguration","5.nuxt-module\u002F2.configuration",[154,158],{"title":155,"path":156,"stem":157},"Nuxt Config","\u002Fnuxt-module\u002Fconfiguration\u002Fnuxt-config","5.nuxt-module\u002F2.configuration\u002F1.nuxt-config",{"title":159,"path":160,"stem":161},"Site Config & SEO","\u002Fnuxt-module\u002Fconfiguration\u002Fsite-config-and-seo","5.nuxt-module\u002F2.configuration\u002F2.site-config-and-seo",{"title":163,"path":164,"stem":165,"children":166,"page":35},"Building Your Ui","\u002Fnuxt-module\u002Fbuilding-your-ui","5.nuxt-module\u002F3.building-your-ui",[167,171,175],{"title":168,"path":169,"stem":170},"Layouts","\u002Fnuxt-module\u002Fbuilding-your-ui\u002Fcreating-layouts","5.nuxt-module\u002F3.building-your-ui\u002F1.creating-layouts",{"title":172,"path":173,"stem":174},"Page Templates","\u002Fnuxt-module\u002Fbuilding-your-ui\u002Fcreating-page-templates","5.nuxt-module\u002F3.building-your-ui\u002F2.creating-page-templates",{"title":83,"path":176,"stem":177},"\u002Fnuxt-module\u002Fbuilding-your-ui\u002Fcreating-components","5.nuxt-module\u002F3.building-your-ui\u002F3.creating-components",{"title":179,"path":180,"stem":181,"children":182,"page":35},"Cwa Components","\u002Fnuxt-module\u002Fcwa-components","5.nuxt-module\u002F4.cwa-components",[183,187,191,195,199],{"title":184,"path":185,"stem":186},"\u003CCwaComponentGroup \u002F>","\u002Fnuxt-module\u002Fcwa-components\u002Fcwa-component-group","5.nuxt-module\u002F4.cwa-components\u002F1.cwa-component-group",{"title":188,"path":189,"stem":190},"\u003CCwaPage \u002F>","\u002Fnuxt-module\u002Fcwa-components\u002Fcwa-page","5.nuxt-module\u002F4.cwa-components\u002F2.cwa-page",{"title":192,"path":193,"stem":194},"\u003CCwaLink \u002F>","\u002Fnuxt-module\u002Fcwa-components\u002Fcwa-link","5.nuxt-module\u002F4.cwa-components\u002F3.cwa-link",{"title":196,"path":197,"stem":198},"\u003CCwaImage \u002F>","\u002Fnuxt-module\u002Fcwa-components\u002Fcwa-image","5.nuxt-module\u002F4.cwa-components\u002F4.cwa-image",{"title":200,"path":201,"stem":202},"\u003CCwaDefaultLayout \u002F>","\u002Fnuxt-module\u002Fcwa-components\u002Fcwa-default-layout","5.nuxt-module\u002F4.cwa-components\u002F5.cwa-default-layout",{"title":204,"path":205,"stem":206},"The useCwa() API","\u002Fnuxt-module\u002Fcwa-api","5.nuxt-module\u002F5.cwa-api",{"title":208,"path":209,"stem":210,"children":211,"page":35},"Composables","\u002Fnuxt-module\u002Fcomposables","5.nuxt-module\u002F6.composables",[212,245,262],{"title":213,"path":214,"stem":215,"children":216,"page":35},"Component","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent","5.nuxt-module\u002F6.composables\u002F1.component",[217,221,225,229,233,237,241],{"title":218,"path":219,"stem":220},"Resource","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-resource","5.nuxt-module\u002F6.composables\u002F1.component\u002F1.use-cwa-resource",{"title":222,"path":223,"stem":224},"Collection Resource","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-collection-resource","5.nuxt-module\u002F6.composables\u002F1.component\u002F2.use-cwa-collection-resource",{"title":226,"path":227,"stem":228},"Image Resource","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-image-resource","5.nuxt-module\u002F6.composables\u002F1.component\u002F3.use-cwa-image-resource",{"title":230,"path":231,"stem":232},"Form","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-form","5.nuxt-module\u002F6.composables\u002F1.component\u002F4.use-cwa-form",{"title":234,"path":235,"stem":236},"Form Input","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-form-input","5.nuxt-module\u002F6.composables\u002F1.component\u002F5.use-cwa-form-input",{"title":238,"path":239,"stem":240},"Form Repeated","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-form-repeated","5.nuxt-module\u002F6.composables\u002F1.component\u002F6.use-cwa-form-repeated",{"title":242,"path":243,"stem":244},"Form Collection","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-form-collection","5.nuxt-module\u002F6.composables\u002F1.component\u002F7.use-cwa-form-collection",{"title":246,"path":247,"stem":248,"children":249,"page":35},"Admin Manager","\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager","5.nuxt-module\u002F6.composables\u002F2.admin-manager",[250,254,258],{"title":251,"path":252,"stem":253},"Manager Tab","\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager\u002Fuse-cwa-resource-manager-tab","5.nuxt-module\u002F6.composables\u002F2.admin-manager\u002F1.use-cwa-resource-manager-tab",{"title":255,"path":256,"stem":257},"Resource Model","\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager\u002Fuse-cwa-resource-model","5.nuxt-module\u002F6.composables\u002F2.admin-manager\u002F2.use-cwa-resource-model",{"title":259,"path":260,"stem":261},"Resource Upload","\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager\u002Fuse-cwa-resource-upload","5.nuxt-module\u002F6.composables\u002F2.admin-manager\u002F3.use-cwa-resource-upload",{"title":263,"path":264,"stem":265,"children":266,"page":35},"Utilities","\u002Fnuxt-module\u002Fcomposables\u002Futilities","5.nuxt-module\u002F6.composables\u002F3.utilities",[267,271,275],{"title":268,"path":269,"stem":270},"Resource Endpoint","\u002Fnuxt-module\u002Fcomposables\u002Futilities\u002Fuse-cwa-resource-endpoint","5.nuxt-module\u002F6.composables\u002F3.utilities\u002F1.use-cwa-resource-endpoint",{"title":272,"path":273,"stem":274},"Query Model","\u002Fnuxt-module\u002Fcomposables\u002Futilities\u002Fuse-query-bound-model","5.nuxt-module\u002F6.composables\u002F3.utilities\u002F2.use-query-bound-model",{"title":276,"path":277,"stem":278},"Resource Route","\u002Fnuxt-module\u002Fcomposables\u002Futilities\u002Fuse-cwa-resource-route","5.nuxt-module\u002F6.composables\u002F3.utilities\u002F3.use-cwa-resource-route",{"title":280,"path":281,"stem":282,"children":283,"page":35},"Component Helpers","\u002Fnuxt-module\u002Fcomponent-helpers","5.nuxt-module\u002F7.component-helpers",[284,288,292,296,300],{"title":285,"path":286,"stem":287},"Images & Media","\u002Fnuxt-module\u002Fcomponent-helpers\u002Fimages-and-uploads","5.nuxt-module\u002F7.component-helpers\u002F1.images-and-uploads",{"title":289,"path":290,"stem":291},"Collections & Pagination","\u002Fnuxt-module\u002Fcomponent-helpers\u002Fcollections-and-pagination","5.nuxt-module\u002F7.component-helpers\u002F2.collections-and-pagination",{"title":293,"path":294,"stem":295},"HTML Content","\u002Fnuxt-module\u002Fcomponent-helpers\u002Fhtml-content","5.nuxt-module\u002F7.component-helpers\u002F3.html-content",{"title":297,"path":298,"stem":299},"Real-Time Updates","\u002Fnuxt-module\u002Fcomponent-helpers\u002Freal-time-updates","5.nuxt-module\u002F7.component-helpers\u002F4.real-time-updates",{"title":301,"path":302,"stem":303},"Forms","\u002Fnuxt-module\u002Fcomponent-helpers\u002Fforms","5.nuxt-module\u002F7.component-helpers\u002F5.forms",{"title":305,"path":306,"stem":307},"Authentication","\u002Fnuxt-module\u002Fauthentication","5.nuxt-module\u002F8.authentication",{"title":309,"path":310,"stem":311,"children":312,"page":35},"Cwa Layer","\u002Fnuxt-module\u002Fcwa-layer","5.nuxt-module\u002F9.cwa-layer",[313,317,321],{"title":314,"path":315,"stem":316},"Overview","\u002Fnuxt-module\u002Fcwa-layer\u002Foverview","5.nuxt-module\u002F9.cwa-layer\u002F1.overview",{"title":318,"path":319,"stem":320},"Auth Pages","\u002Fnuxt-module\u002Fcwa-layer\u002Fauth-pages","5.nuxt-module\u002F9.cwa-layer\u002F2.auth-pages",{"title":322,"path":323,"stem":324},"Admin Panel","\u002Fnuxt-module\u002Fcwa-layer\u002Fadmin-panel","5.nuxt-module\u002F9.cwa-layer\u002F3.admin-panel",{"title":326,"path":327,"stem":328,"children":329,"page":35},"Deployment","\u002Fdeployment","6.deployment",[330,334,338],{"title":331,"path":332,"stem":333},"Docker","\u002Fdeployment\u002Fdocker","6.deployment\u002F1.docker",{"title":335,"path":336,"stem":337},"Kubernetes & Helm","\u002Fdeployment\u002Fkubernetes","6.deployment\u002F2.kubernetes",{"title":339,"path":340,"stem":341},"CI\u002FCD","\u002Fdeployment\u002Fci-cd","6.deployment\u002F3.ci-cd",{"id":343,"title":344,"badge":345,"body":348,"description":1159,"extension":1160,"links":1161,"meta":1162,"navigation":1163,"path":256,"seo":1164,"stem":257,"__hash__":1165},"docs\u002F5.nuxt-module\u002F6.composables\u002F2.admin-manager\u002F2.use-cwa-resource-model.md","useCwaResourceModel",{"label":346,"color":347},"Draft","amber",{"type":349,"value":350,"toc":1151},"minimark",[351,365,524,608,613,721,733,749,768,772,828,838,871,877,881,887,1040,1044,1047,1136,1142,1147],[352,353,354,355,359,360,364],"p",{},"Use in ",[356,357,358],"strong",{},"admin tab components"," (",[361,362,363],"code",{},"app\u002Fcwa\u002Fcomponents\u002F*\u002Fadmin\u002F*.vue","). Not for display components.",[366,367,372],"pre",{"className":368,"code":369,"language":370,"meta":371,"style":371},"language-ts shiki shiki-themes github-light github-dark material-theme-palenight","import { useCwaResourceManagerTab, useCwaResourceModel } from '#imports'\n\nconst { exposeMeta, iri } = useCwaResourceManagerTab({ name: 'Content' })\nconst titleModel = useCwaResourceModel\u003Cstring>(iri, 'title')\n\ndefineExpose(exposeMeta)\n","ts","",[361,373,374,414,421,474,510,515],{"__ignoreMap":371},[375,376,379,383,387,391,394,397,400,403,407,411],"span",{"class":377,"line":378},"line",1,[375,380,382],{"class":381},"sm4w6","import",[375,384,386],{"class":385},"sOvfz"," {",[375,388,390],{"class":389},"sPB8G"," useCwaResourceManagerTab",[375,392,393],{"class":385},",",[375,395,396],{"class":389}," useCwaResourceModel",[375,398,399],{"class":385}," }",[375,401,402],{"class":381}," from",[375,404,406],{"class":405},"seSrl"," '",[375,408,410],{"class":409},"sLL54","#imports",[375,412,413],{"class":405},"'\n",[375,415,417],{"class":377,"line":416},2,[375,418,420],{"emptyLinePlaceholder":419},true,"\n",[375,422,424,428,430,434,436,439,441,445,448,451,454,458,461,463,466,469,471],{"class":377,"line":423},3,[375,425,427],{"class":426},"swB56","const",[375,429,386],{"class":385},[375,431,433],{"class":432},"sc2zw"," exposeMeta",[375,435,393],{"class":385},[375,437,438],{"class":432}," iri",[375,440,399],{"class":385},[375,442,444],{"class":443},"sVlFx"," =",[375,446,390],{"class":447},"sKpYG",[375,449,450],{"class":389},"(",[375,452,453],{"class":385},"{",[375,455,457],{"class":456},"sDHlG"," name",[375,459,460],{"class":385},":",[375,462,406],{"class":405},[375,464,465],{"class":409},"Content",[375,467,468],{"class":405},"'",[375,470,399],{"class":385},[375,472,473],{"class":389},")\n",[375,475,477,479,482,484,486,489,493,496,499,501,503,506,508],{"class":377,"line":476},4,[375,478,427],{"class":426},[375,480,481],{"class":432}," titleModel",[375,483,444],{"class":443},[375,485,396],{"class":447},[375,487,488],{"class":385},"\u003C",[375,490,492],{"class":491},"sbW4m","string",[375,494,495],{"class":385},">",[375,497,498],{"class":389},"(iri",[375,500,393],{"class":385},[375,502,406],{"class":405},[375,504,505],{"class":409},"title",[375,507,468],{"class":405},[375,509,473],{"class":389},[375,511,513],{"class":377,"line":512},5,[375,514,420],{"emptyLinePlaceholder":419},[375,516,518,521],{"class":377,"line":517},6,[375,519,520],{"class":447},"defineExpose",[375,522,523],{"class":389},"(exposeMeta)\n",[366,525,529],{"className":526,"code":527,"language":528,"meta":371,"style":371},"language-vue shiki shiki-themes github-light github-dark material-theme-palenight","\u003Ctemplate>\n  \u003CCwaUiFormLabelWrapper label=\"Title\">\n    \u003CCwaUiFormInput v-model=\"titleModel.model.value\" \u002F>\n  \u003C\u002FCwaUiFormLabelWrapper>\n\u003C\u002Ftemplate>\n","vue",[361,530,531,542,567,590,599],{"__ignoreMap":371},[375,532,533,535,539],{"class":377,"line":378},[375,534,488],{"class":385},[375,536,538],{"class":537},"s-h7I","template",[375,540,541],{"class":385},">\n",[375,543,544,547,550,554,557,560,563,565],{"class":377,"line":416},[375,545,546],{"class":385},"  \u003C",[375,548,549],{"class":537},"CwaUiFormLabelWrapper",[375,551,553],{"class":552},"sGtlX"," label",[375,555,556],{"class":385},"=",[375,558,559],{"class":405},"\"",[375,561,562],{"class":409},"Title",[375,564,559],{"class":405},[375,566,541],{"class":385},[375,568,569,572,575,578,580,582,585,587],{"class":377,"line":423},[375,570,571],{"class":385},"    \u003C",[375,573,574],{"class":537},"CwaUiFormInput",[375,576,577],{"class":552}," v-model",[375,579,556],{"class":385},[375,581,559],{"class":405},[375,583,584],{"class":409},"titleModel.model.value",[375,586,559],{"class":405},[375,588,589],{"class":385}," \u002F>\n",[375,591,592,595,597],{"class":377,"line":476},[375,593,594],{"class":385},"  \u003C\u002F",[375,596,549],{"class":537},[375,598,541],{"class":385},[375,600,601,604,606],{"class":377,"line":512},[375,602,603],{"class":385},"\u003C\u002F",[375,605,538],{"class":537},[375,607,541],{"class":385},[609,610,612],"h2",{"id":611},"signature","Signature",[366,614,616],{"className":368,"code":615,"language":370,"meta":371,"style":371},"useCwaResourceModel\u003CT>(\n  iri: Ref\u003Cstring | undefined>,  \u002F\u002F from useCwaResourceManagerTab\n  property: string | string[],   \u002F\u002F the PHP entity property name (or dot-notation path)\n  options?: {\n    debounceTime?: number        \u002F\u002F default: 250ms\n    longWaitThreshold?: number   \u002F\u002F ms before isBusy is considered a \"long wait\"; default: 5000ms\n  }\n)\n",[361,617,618,633,658,673,684,697,710,716],{"__ignoreMap":371},[375,619,620,622,624,628,630],{"class":377,"line":378},[375,621,344],{"class":447},[375,623,488],{"class":385},[375,625,627],{"class":626},"sRCss","T",[375,629,495],{"class":385},[375,631,632],{"class":389},"(\n",[375,634,635,638,640,643,646,650,652,654],{"class":377,"line":416},[375,636,637],{"class":389},"  iri: Ref",[375,639,488],{"class":443},[375,641,642],{"class":389},"string ",[375,644,645],{"class":443},"|",[375,647,649],{"class":648},"sBtbT"," undefined",[375,651,495],{"class":443},[375,653,393],{"class":385},[375,655,657],{"class":656},"sTBSN","  \u002F\u002F from useCwaResourceManagerTab\n",[375,659,660,663,665,668,670],{"class":377,"line":423},[375,661,662],{"class":389},"  property: string ",[375,664,645],{"class":443},[375,666,667],{"class":389}," string[]",[375,669,393],{"class":385},[375,671,672],{"class":656},"   \u002F\u002F the PHP entity property name (or dot-notation path)\n",[375,674,675,678,681],{"class":377,"line":476},[375,676,677],{"class":389},"  options",[375,679,680],{"class":443},"?:",[375,682,683],{"class":385}," {\n",[375,685,686,689,691,694],{"class":377,"line":512},[375,687,688],{"class":389},"    debounceTime?",[375,690,460],{"class":385},[375,692,693],{"class":389}," number        ",[375,695,696],{"class":656},"\u002F\u002F default: 250ms\n",[375,698,699,702,704,707],{"class":377,"line":517},[375,700,701],{"class":389},"    longWaitThreshold",[375,703,680],{"class":443},[375,705,706],{"class":389}," number   ",[375,708,709],{"class":656},"\u002F\u002F ms before isBusy is considered a \"long wait\"; default: 5000ms\n",[375,711,713],{"class":377,"line":712},7,[375,714,715],{"class":385},"  }\n",[375,717,719],{"class":377,"line":718},8,[375,720,473],{"class":389},[352,722,723,728,729,732],{},[356,724,725],{},[361,726,727],{},"iri"," — the reactive IRI ref returned by ",[361,730,731],{},"useCwaResourceManagerTab",". This determines which resource is being edited.",[352,734,735,740,741,744,745,748],{},[356,736,737],{},[361,738,739],{},"property"," — the PHP entity property name (case-sensitive). Supports dot-notation for nested objects (",[361,742,743],{},"'address.city'",") or an array of path segments (",[361,746,747],{},"['address', 'city']","). When the target value is an object, the entire root property is submitted as a merged PATCH.",[352,750,751,756,757,760,761,760,764,767],{},[356,752,753],{},[361,754,755],{},"\u003CT>"," — optional TypeScript generic for the field type: ",[361,758,759],{},"\u003Cstring>",", ",[361,762,763],{},"\u003Cnumber>",[361,765,766],{},"\u003Cstring | null>",", etc.",[609,769,771],{"id":770},"return-value","Return value",[366,773,775],{"className":368,"code":774,"language":370,"meta":371,"style":371},"const { model } = useCwaResourceModel\u003Cstring>(iri, 'title')\n\nmodel.value   \u002F\u002F the current field value (string | null | undefined)\n",[361,776,777,810,814],{"__ignoreMap":371},[375,778,779,781,783,786,788,790,792,794,796,798,800,802,804,806,808],{"class":377,"line":378},[375,780,427],{"class":426},[375,782,386],{"class":385},[375,784,785],{"class":432}," model",[375,787,399],{"class":385},[375,789,444],{"class":443},[375,791,396],{"class":447},[375,793,488],{"class":385},[375,795,492],{"class":491},[375,797,495],{"class":385},[375,799,498],{"class":389},[375,801,393],{"class":385},[375,803,406],{"class":405},[375,805,505],{"class":409},[375,807,468],{"class":405},[375,809,473],{"class":389},[375,811,812],{"class":377,"line":416},[375,813,420],{"emptyLinePlaceholder":419},[375,815,816,819,822,825],{"class":377,"line":423},[375,817,818],{"class":389},"model",[375,820,821],{"class":385},".",[375,823,824],{"class":389},"value   ",[375,826,827],{"class":656},"\u002F\u002F the current field value (string | null | undefined)\n",[352,829,830,831,834,835,460],{},"Bind ",[361,832,833],{},"model.value"," directly in ",[361,836,837],{},"v-model",[366,839,841],{"className":526,"code":840,"language":528,"meta":371,"style":371},"\u003CCwaUiFormInput v-model=\"titleModel.model.value\" \u002F>\n",[361,842,843],{"__ignoreMap":371},[375,844,845,847,849,851,853,855,858,860,862,864,867,869],{"class":377,"line":378},[375,846,488],{"class":385},[375,848,574],{"class":537},[375,850,577],{"class":552},[375,852,556],{"class":385},[375,854,559],{"class":405},[375,856,857],{"class":389},"titleModel",[375,859,821],{"class":385},[375,861,818],{"class":389},[375,863,821],{"class":385},[375,865,866],{"class":389},"value",[375,868,559],{"class":405},[375,870,589],{"class":385},[352,872,873,874,876],{},"Setting ",[361,875,833],{}," triggers a debounced PATCH. Multiple rapid changes are batched into one request.",[609,878,880],{"id":879},"multiple-fields","Multiple fields",[352,882,883,884,886],{},"Call ",[361,885,344],{}," once per field:",[366,888,890],{"className":368,"code":889,"language":370,"meta":371,"style":371},"const { exposeMeta, iri } = useCwaResourceManagerTab({ name: 'Link' })\nconst labelModel = useCwaResourceModel\u003Cstring>(iri, 'label')\nconst routeModel = useCwaResourceModel\u003Cstring>(iri, 'route', { debounceTime: 0 })\nconst rawPathModel = useCwaResourceModel\u003Cstring | null>(iri, 'rawPath')\n",[361,891,892,929,959,1004],{"__ignoreMap":371},[375,893,894,896,898,900,902,904,906,908,910,912,914,916,918,920,923,925,927],{"class":377,"line":378},[375,895,427],{"class":426},[375,897,386],{"class":385},[375,899,433],{"class":432},[375,901,393],{"class":385},[375,903,438],{"class":432},[375,905,399],{"class":385},[375,907,444],{"class":443},[375,909,390],{"class":447},[375,911,450],{"class":389},[375,913,453],{"class":385},[375,915,457],{"class":456},[375,917,460],{"class":385},[375,919,406],{"class":405},[375,921,922],{"class":409},"Link",[375,924,468],{"class":405},[375,926,399],{"class":385},[375,928,473],{"class":389},[375,930,931,933,936,938,940,942,944,946,948,950,952,955,957],{"class":377,"line":416},[375,932,427],{"class":426},[375,934,935],{"class":432}," labelModel",[375,937,444],{"class":443},[375,939,396],{"class":447},[375,941,488],{"class":385},[375,943,492],{"class":491},[375,945,495],{"class":385},[375,947,498],{"class":389},[375,949,393],{"class":385},[375,951,406],{"class":405},[375,953,954],{"class":409},"label",[375,956,468],{"class":405},[375,958,473],{"class":389},[375,960,961,963,966,968,970,972,974,976,978,980,982,985,987,989,991,994,996,1000,1002],{"class":377,"line":423},[375,962,427],{"class":426},[375,964,965],{"class":432}," routeModel",[375,967,444],{"class":443},[375,969,396],{"class":447},[375,971,488],{"class":385},[375,973,492],{"class":491},[375,975,495],{"class":385},[375,977,498],{"class":389},[375,979,393],{"class":385},[375,981,406],{"class":405},[375,983,984],{"class":409},"route",[375,986,468],{"class":405},[375,988,393],{"class":385},[375,990,386],{"class":385},[375,992,993],{"class":456}," debounceTime",[375,995,460],{"class":385},[375,997,999],{"class":998},"scSvc"," 0",[375,1001,399],{"class":385},[375,1003,473],{"class":389},[375,1005,1006,1008,1011,1013,1015,1017,1019,1022,1025,1027,1029,1031,1033,1036,1038],{"class":377,"line":476},[375,1007,427],{"class":426},[375,1009,1010],{"class":432}," rawPathModel",[375,1012,444],{"class":443},[375,1014,396],{"class":447},[375,1016,488],{"class":385},[375,1018,492],{"class":491},[375,1020,1021],{"class":443}," |",[375,1023,1024],{"class":491}," null",[375,1026,495],{"class":385},[375,1028,498],{"class":389},[375,1030,393],{"class":385},[375,1032,406],{"class":405},[375,1034,1035],{"class":409},"rawPath",[375,1037,468],{"class":405},[375,1039,473],{"class":389},[609,1041,1043],{"id":1042},"relation-fields","Relation fields",[352,1045,1046],{},"Set a relation by assigning an IRI string:",[366,1048,1050],{"className":368,"code":1049,"language":370,"meta":371,"style":371},"const categoryModel = useCwaResourceModel\u003Cstring | null>(iri, 'category')\n\u002F\u002F Assign:\ncategoryModel.model.value = '\u002Fcomponent\u002Fcategories\u002Fuuid'\n\u002F\u002F Clear:\ncategoryModel.model.value = null\n",[361,1051,1052,1086,1091,1114,1119],{"__ignoreMap":371},[375,1053,1054,1056,1059,1061,1063,1065,1067,1069,1071,1073,1075,1077,1079,1082,1084],{"class":377,"line":378},[375,1055,427],{"class":426},[375,1057,1058],{"class":432}," categoryModel",[375,1060,444],{"class":443},[375,1062,396],{"class":447},[375,1064,488],{"class":385},[375,1066,492],{"class":491},[375,1068,1021],{"class":443},[375,1070,1024],{"class":491},[375,1072,495],{"class":385},[375,1074,498],{"class":389},[375,1076,393],{"class":385},[375,1078,406],{"class":405},[375,1080,1081],{"class":409},"category",[375,1083,468],{"class":405},[375,1085,473],{"class":389},[375,1087,1088],{"class":377,"line":416},[375,1089,1090],{"class":656},"\u002F\u002F Assign:\n",[375,1092,1093,1096,1098,1100,1102,1105,1107,1109,1112],{"class":377,"line":423},[375,1094,1095],{"class":389},"categoryModel",[375,1097,821],{"class":385},[375,1099,818],{"class":389},[375,1101,821],{"class":385},[375,1103,1104],{"class":389},"value ",[375,1106,556],{"class":443},[375,1108,406],{"class":405},[375,1110,1111],{"class":409},"\u002Fcomponent\u002Fcategories\u002Fuuid",[375,1113,413],{"class":405},[375,1115,1116],{"class":377,"line":476},[375,1117,1118],{"class":656},"\u002F\u002F Clear:\n",[375,1120,1121,1123,1125,1127,1129,1131,1133],{"class":377,"line":512},[375,1122,1095],{"class":389},[375,1124,821],{"class":385},[375,1126,818],{"class":389},[375,1128,821],{"class":385},[375,1130,1104],{"class":389},[375,1132,556],{"class":443},[375,1134,1135],{"class":648}," null\n",[609,1137,873,1139],{"id":1138},"setting-debouncetime-0",[361,1140,1141],{},"debounceTime: 0",[352,1143,1144,1145,821],{},"For fields where immediate save is preferred (e.g. a route field where you need instant validation feedback), pass ",[361,1146,1141],{},[1148,1149,1150],"style",{},"html pre.shiki code .sm4w6, html code.shiki .sm4w6{--shiki-light:#D73A49;--shiki-light-font-style:inherit;--shiki-default:#F97583;--shiki-default-font-style:inherit;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sOvfz, html code.shiki .sOvfz{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#89DDFF}html pre.shiki code .sPB8G, html code.shiki .sPB8G{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#BABED8}html pre.shiki code .seSrl, html code.shiki .seSrl{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#89DDFF}html pre.shiki code .sLL54, html code.shiki .sLL54{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#C3E88D}html pre.shiki code .swB56, html code.shiki .swB56{--shiki-light:#D73A49;--shiki-default:#F97583;--shiki-dark:#C792EA}html pre.shiki code .sc2zw, html code.shiki .sc2zw{--shiki-light:#005CC5;--shiki-default:#79B8FF;--shiki-dark:#BABED8}html pre.shiki code .sVlFx, html code.shiki .sVlFx{--shiki-light:#D73A49;--shiki-default:#F97583;--shiki-dark:#89DDFF}html pre.shiki code .sKpYG, html code.shiki .sKpYG{--shiki-light:#6F42C1;--shiki-default:#B392F0;--shiki-dark:#82AAFF}html pre.shiki code .sDHlG, html code.shiki .sDHlG{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#F07178}html pre.shiki code .sbW4m, html code.shiki .sbW4m{--shiki-light:#005CC5;--shiki-default:#79B8FF;--shiki-dark:#FFCB6B}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 .s-h7I, html code.shiki .s-h7I{--shiki-light:#22863A;--shiki-default:#85E89D;--shiki-dark:#F07178}html pre.shiki code .sGtlX, html code.shiki .sGtlX{--shiki-light:#6F42C1;--shiki-default:#B392F0;--shiki-dark:#C792EA}html pre.shiki code .sRCss, html code.shiki .sRCss{--shiki-light:#6F42C1;--shiki-default:#B392F0;--shiki-dark:#FFCB6B}html pre.shiki code .sBtbT, html code.shiki .sBtbT{--shiki-light:#005CC5;--shiki-default:#79B8FF;--shiki-dark:#89DDFF}html pre.shiki code .sTBSN, html code.shiki .sTBSN{--shiki-light:#6A737D;--shiki-light-font-style:inherit;--shiki-default:#6A737D;--shiki-default-font-style:inherit;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .scSvc, html code.shiki .scSvc{--shiki-light:#005CC5;--shiki-default:#79B8FF;--shiki-dark:#F78C6C}",{"title":371,"searchDepth":416,"depth":416,"links":1152},[1153,1154,1155,1156,1157],{"id":611,"depth":416,"text":612},{"id":770,"depth":416,"text":771},{"id":879,"depth":416,"text":880},{"id":1042,"depth":416,"text":1043},{"id":1138,"depth":416,"text":1158},"Setting debounceTime: 0","Two-way reactive binding between an admin form input and a single API resource field — every change PATCHes the API automatically.","md",null,{},{"title":255},{"title":344,"description":1159},"_Ysm-NY_rJMxYGxZ4pVkwJeB5n6wFQzwzDMMWQLkn5E",[1167,1169],{"title":251,"path":252,"stem":253,"description":1168,"children":-1},"Register a Vue file as a tab in the admin manager panel and get the IRI of the currently selected component.",{"title":259,"path":260,"stem":261,"description":1170,"children":-1},"Admin tab composable for file upload fields — handles selection, upload, and deletion via the API.",1782241286693]