[{"data":1,"prerenderedAt":602},["ShallowReactive",2],{"navigation_docs":3,"-components-grant-permission-service-banner":369,"-components-grant-permission-service-banner-surround":572,"component-meta-MtGrantPermissionServiceBanner":577},[4,110,314],{"title":5,"path":6,"stem":7,"children":8,"page":34},"Documentation","\u002Fdocumentation","1.documentation",[9,35,56,89],{"title":10,"path":11,"stem":12,"children":13,"page":34},"Getting Started","\u002Fdocumentation\u002Fgetting-started","1.documentation\u002F1.getting-started",[14,18,22,26,30],{"title":15,"path":16,"stem":17},"Installation","\u002Fdocumentation\u002Fgetting-started\u002Finstallation","1.documentation\u002F1.getting-started\u002F1.installation",{"title":19,"path":20,"stem":21},"Agents","\u002Fdocumentation\u002Fgetting-started\u002Fagents","1.documentation\u002F1.getting-started\u002F2.agents",{"title":23,"path":24,"stem":25},"Migration","\u002Fdocumentation\u002Fgetting-started\u002Fmigration","1.documentation\u002F1.getting-started\u002F3.migration",{"title":27,"path":28,"stem":29},"Contributing","\u002Fdocumentation\u002Fgetting-started\u002Fcontributing","1.documentation\u002F1.getting-started\u002F4.contributing",{"title":31,"path":32,"stem":33},"What's new","\u002Fdocumentation\u002Fgetting-started\u002Fwhats-new","1.documentation\u002F1.getting-started\u002F5.whats-new",false,{"title":36,"path":37,"stem":38,"children":39,"page":34},"Guidelines","\u002Fdocumentation\u002Fguidelines","1.documentation\u002F2.guidelines",[40,44,48,52],{"title":41,"path":42,"stem":43},"Design Principles","\u002Fdocumentation\u002Fguidelines\u002Fdesign-principles","1.documentation\u002F2.guidelines\u002F1.design-principles",{"title":45,"path":46,"stem":47},"Accessibility","\u002Fdocumentation\u002Fguidelines\u002Faccessibility","1.documentation\u002F2.guidelines\u002F2.accessibility",{"title":49,"path":50,"stem":51},"Interactions","\u002Fdocumentation\u002Fguidelines\u002Finteractions","1.documentation\u002F2.guidelines\u002F3.interactions",{"title":53,"path":54,"stem":55},"Components","\u002Fdocumentation\u002Fguidelines\u002Fcomponents","1.documentation\u002F2.guidelines\u002F4.components",{"title":57,"path":58,"stem":59,"children":60,"page":34},"Design","\u002Fdocumentation\u002Fdesign","1.documentation\u002F3.design",[61,65,69,73,77,81,85],{"title":62,"path":63,"stem":64},"Tokens","\u002Fdocumentation\u002Fdesign\u002Ftokens","1.documentation\u002F3.design\u002F1.tokens",{"title":66,"path":67,"stem":68},"Color Palette","\u002Fdocumentation\u002Fdesign\u002Fcolor-palette","1.documentation\u002F3.design\u002F2.color-palette",{"title":70,"path":71,"stem":72},"Elevation","\u002Fdocumentation\u002Fdesign\u002Felevation","1.documentation\u002F3.design\u002F3.elevation",{"title":74,"path":75,"stem":76},"Spacing","\u002Fdocumentation\u002Fdesign\u002Fspacing","1.documentation\u002F3.design\u002F4.spacing",{"title":78,"path":79,"stem":80},"Border Radius","\u002Fdocumentation\u002Fdesign\u002Fborder-radius","1.documentation\u002F3.design\u002F5.border-radius",{"title":82,"path":83,"stem":84},"Typography","\u002Fdocumentation\u002Fdesign\u002Ftypography","1.documentation\u002F3.design\u002F6.typography",{"title":86,"path":87,"stem":88},"Icons","\u002Fdocumentation\u002Fdesign\u002Ficons","1.documentation\u002F3.design\u002F7.icons",{"title":90,"path":91,"stem":92,"children":93,"page":34},"Content","\u002Fdocumentation\u002Fcontent","1.documentation\u002F4.content",[94,98,102,106],{"title":95,"path":96,"stem":97},"Wording","\u002Fdocumentation\u002Fcontent\u002Fwording","1.documentation\u002F4.content\u002F1.wording",{"title":99,"path":100,"stem":101},"Messaging","\u002Fdocumentation\u002Fcontent\u002Fmessaging","1.documentation\u002F4.content\u002F2.messaging",{"title":103,"path":104,"stem":105},"Glossary","\u002Fdocumentation\u002Fcontent\u002Fglossary","1.documentation\u002F4.content\u002F3.glossary",{"title":107,"path":108,"stem":109},"Artificial Intelligence","\u002Fdocumentation\u002Fcontent\u002Fartificial-intelligence","1.documentation\u002F4.content\u002F4.artificial-intelligence",{"title":53,"path":111,"stem":112,"children":113,"page":34},"\u002Fcomponents","2.components",[114,118,122,126,130,134,138,142,146,150,154,158,162,166,170,174,178,182,186,190,194,198,202,206,210,214,218,222,226,230,234,238,242,246,250,254,258,262,266,270,274,278,282,286,290,294,298,302,306,310],{"title":115,"path":116,"stem":117},"Action Menu","\u002Fcomponents\u002Faction-menu","2.components\u002Faction-menu",{"title":119,"path":120,"stem":121},"Avatar","\u002Fcomponents\u002Favatar","2.components\u002Favatar",{"title":123,"path":124,"stem":125},"Badge","\u002Fcomponents\u002Fbadge","2.components\u002Fbadge",{"title":127,"path":128,"stem":129},"Banner","\u002Fcomponents\u002Fbanner","2.components\u002Fbanner",{"title":131,"path":132,"stem":133},"Breadcrumb","\u002Fcomponents\u002Fbreadcrumb","2.components\u002Fbreadcrumb",{"title":135,"path":136,"stem":137},"Button","\u002Fcomponents\u002Fbutton","2.components\u002Fbutton",{"title":139,"path":140,"stem":141},"Card","\u002Fcomponents\u002Fcard","2.components\u002Fcard",{"title":143,"path":144,"stem":145},"Chart","\u002Fcomponents\u002Fchart","2.components\u002Fchart",{"title":147,"path":148,"stem":149},"Checkbox","\u002Fcomponents\u002Fcheckbox","2.components\u002Fcheckbox",{"title":151,"path":152,"stem":153},"Collapsible","\u002Fcomponents\u002Fcollapsible","2.components\u002Fcollapsible",{"title":155,"path":156,"stem":157},"Colorpicker","\u002Fcomponents\u002Fcolorpicker","2.components\u002Fcolorpicker",{"title":159,"path":160,"stem":161},"Data Table","\u002Fcomponents\u002Fdata-table","2.components\u002Fdata-table",{"title":163,"path":164,"stem":165},"Datepicker","\u002Fcomponents\u002Fdatepicker","2.components\u002Fdatepicker",{"title":167,"path":168,"stem":169},"Divider","\u002Fcomponents\u002Fdivider","2.components\u002Fdivider",{"title":171,"path":172,"stem":173},"Email Field","\u002Fcomponents\u002Femail-field","2.components\u002Femail-field",{"title":175,"path":176,"stem":177},"Empty State","\u002Fcomponents\u002Fempty-state","2.components\u002Fempty-state",{"title":179,"path":180,"stem":181},"Entity Data Table","\u002Fcomponents\u002Fentity-data-table","2.components\u002Fentity-data-table",{"title":183,"path":184,"stem":185},"Entity Select","\u002Fcomponents\u002Fentity-select","2.components\u002Fentity-select",{"title":187,"path":188,"stem":189},"Extension Icon","\u002Fcomponents\u002Fextension-icon","2.components\u002Fextension-icon",{"title":191,"path":192,"stem":193},"Floating UI","\u002Fcomponents\u002Ffloating-ui","2.components\u002Ffloating-ui",{"title":195,"path":196,"stem":197},"Grant Permission Service Banner","\u002Fcomponents\u002Fgrant-permission-service-banner","2.components\u002Fgrant-permission-service-banner",{"title":199,"path":200,"stem":201},"Help Text","\u002Fcomponents\u002Fhelp-text","2.components\u002Fhelp-text",{"title":203,"path":204,"stem":205},"Icon","\u002Fcomponents\u002Ficon","2.components\u002Ficon",{"title":207,"path":208,"stem":209},"Link","\u002Fcomponents\u002Flink","2.components\u002Flink",{"title":211,"path":212,"stem":213},"Loader","\u002Fcomponents\u002Floader","2.components\u002Floader",{"title":215,"path":216,"stem":217},"Modal","\u002Fcomponents\u002Fmodal","2.components\u002Fmodal",{"title":219,"path":220,"stem":221},"Number Field","\u002Fcomponents\u002Fnumber-field","2.components\u002Fnumber-field",{"title":223,"path":224,"stem":225},"Pagination","\u002Fcomponents\u002Fpagination","2.components\u002Fpagination",{"title":227,"path":228,"stem":229},"Password Field","\u002Fcomponents\u002Fpassword-field","2.components\u002Fpassword-field",{"title":231,"path":232,"stem":233},"Popover","\u002Fcomponents\u002Fpopover","2.components\u002Fpopover",{"title":235,"path":236,"stem":237},"Progress Bar","\u002Fcomponents\u002Fprogress-bar","2.components\u002Fprogress-bar",{"title":239,"path":240,"stem":241},"Promo Badge","\u002Fcomponents\u002Fpromo-badge","2.components\u002Fpromo-badge",{"title":243,"path":244,"stem":245},"Radio Group","\u002Fcomponents\u002Fradio-group","2.components\u002Fradio-group",{"title":247,"path":248,"stem":249},"Search","\u002Fcomponents\u002Fsearch","2.components\u002Fsearch",{"title":251,"path":252,"stem":253},"Select","\u002Fcomponents\u002Fselect","2.components\u002Fselect",{"title":255,"path":256,"stem":257},"Skeleton Bar","\u002Fcomponents\u002Fskeleton-bar","2.components\u002Fskeleton-bar",{"title":259,"path":260,"stem":261},"Slider","\u002Fcomponents\u002Fslider","2.components\u002Fslider",{"title":263,"path":264,"stem":265},"Snackbar","\u002Fcomponents\u002Fsnackbar","2.components\u002Fsnackbar",{"title":267,"path":268,"stem":269},"Status Dot","\u002Fcomponents\u002Fstatus-dot","2.components\u002Fstatus-dot",{"title":271,"path":272,"stem":273},"Switch","\u002Fcomponents\u002Fswitch","2.components\u002Fswitch",{"title":275,"path":276,"stem":277},"Tabs","\u002Fcomponents\u002Ftabs","2.components\u002Ftabs",{"title":279,"path":280,"stem":281},"Text","\u002Fcomponents\u002Ftext","2.components\u002Ftext",{"title":283,"path":284,"stem":285},"Text Editor","\u002Fcomponents\u002Ftext-editor","2.components\u002Ftext-editor",{"title":287,"path":288,"stem":289},"Text Field","\u002Fcomponents\u002Ftext-field","2.components\u002Ftext-field",{"title":291,"path":292,"stem":293},"Textarea","\u002Fcomponents\u002Ftextarea","2.components\u002Ftextarea",{"title":295,"path":296,"stem":297},"Theme Select","\u002Fcomponents\u002Ftheme-select","2.components\u002Ftheme-select",{"title":299,"path":300,"stem":301},"Toast","\u002Fcomponents\u002Ftoast","2.components\u002Ftoast",{"title":303,"path":304,"stem":305},"Tooltip","\u002Fcomponents\u002Ftooltip","2.components\u002Ftooltip",{"title":307,"path":308,"stem":309},"Unit Field","\u002Fcomponents\u002Funit-field","2.components\u002Funit-field",{"title":311,"path":312,"stem":313},"URL Field","\u002Fcomponents\u002Furl-field","2.components\u002Furl-field",{"title":315,"path":316,"stem":317,"children":318,"page":34},"Utilities","\u002Futilities","3.utilities",[319,331,352,360],{"title":53,"path":320,"stem":321,"children":322,"page":34},"\u002Futilities\u002Fcomponents","3.utilities\u002Fcomponents",[323,327],{"title":324,"path":325,"stem":326},"Inset","\u002Futilities\u002Fcomponents\u002Finset","3.utilities\u002Fcomponents\u002Finset",{"title":328,"path":329,"stem":330},"Theme Provider","\u002Futilities\u002Fcomponents\u002Ftheme-provider","3.utilities\u002Fcomponents\u002Ftheme-provider",{"title":332,"path":333,"stem":334,"children":335,"page":34},"Composables","\u002Futilities\u002Fcomposables","3.utilities\u002Fcomposables",[336,340,344,348],{"title":337,"path":338,"stem":339},"useFutureFlags","\u002Futilities\u002Fcomposables\u002Fuse-future-flags","3.utilities\u002Fcomposables\u002Fuse-future-flags",{"title":341,"path":342,"stem":343},"useServicePermission","\u002Futilities\u002Fcomposables\u002Fuse-service-permission","3.utilities\u002Fcomposables\u002Fuse-service-permission",{"title":345,"path":346,"stem":347},"useSnackbar","\u002Futilities\u002Fcomposables\u002Fuse-snackbar","3.utilities\u002Fcomposables\u002Fuse-snackbar",{"title":349,"path":350,"stem":351},"useTheme","\u002Futilities\u002Fcomposables\u002Fuse-theme","3.utilities\u002Fcomposables\u002Fuse-theme",{"title":353,"path":354,"stem":355,"children":356,"page":34},"Directives","\u002Futilities\u002Fdirectives","3.utilities\u002Fdirectives",[357],{"title":303,"path":358,"stem":359},"\u002Futilities\u002Fdirectives\u002Ftooltip","3.utilities\u002Fdirectives\u002Ftooltip",{"title":361,"path":362,"stem":363,"children":364,"page":34},"Plugins","\u002Futilities\u002Fplugins","3.utilities\u002Fplugins",[365],{"title":366,"path":367,"stem":368},"Device helper","\u002Futilities\u002Fplugins\u002Fdevice-helper","3.utilities\u002Fplugins\u002Fdevice-helper",{"id":370,"title":195,"body":371,"description":565,"extension":566,"links":567,"meta":568,"navigation":569,"path":196,"seo":570,"stem":197,"__hash__":571},"docs\u002F2.components\u002Fgrant-permission-service-banner.md",{"type":372,"value":373,"toc":559},"minimark",[374,379,386,419,487,491,494,498,535,539,555],[375,376,378],"h2",{"id":377},"usage","Usage",[380,381,382,385],"p",{},[383,384,195],"strong",{}," displays a permission request for a Shopware Service, with a primary action to grant the permissions and a secondary link to more information. It is intended for internal Shopware Services only.",[387,388,393],"pre",{"className":389,"code":390,"language":391,"meta":392,"style":392},"language-ts shiki shiki-themes github-light github-dark-default github-dark-default","import { MtGrantPermissionServiceBanner } from \"@shopware-ag\u002Fmeteor-component-library\";\n","ts","",[394,395,396],"code",{"__ignoreMap":392},[397,398,401,405,409,412,416],"span",{"class":399,"line":400},"line",1,[397,402,404],{"class":403},"sLfaJ","import",[397,406,408],{"class":407},"sSgjj"," { MtGrantPermissionServiceBanner } ",[397,410,411],{"class":403},"from",[397,413,415],{"class":414},"sL1yV"," \"@shopware-ag\u002Fmeteor-component-library\"",[397,417,418],{"class":407},";\n",[387,420,424],{"className":421,"code":422,"language":423,"meta":392,"style":392},"language-html shiki shiki-themes github-light github-dark-default github-dark-default","\u003Ctemplate>\n  \u003Cmt-grant-permission-service-banner\n    @grant-success=\"onGranted\"\n    @grant-error=\"onGrantFailed\"\n  \u002F>\n\u003C\u002Ftemplate>\n","html",[394,425,426,438,447,460,471,477],{"__ignoreMap":392},[397,427,428,431,435],{"class":399,"line":400},[397,429,430],{"class":407},"\u003C",[397,432,434],{"class":433},"sFzZJ","template",[397,436,437],{"class":407},">\n",[397,439,441,444],{"class":399,"line":440},2,[397,442,443],{"class":407},"  \u003C",[397,445,446],{"class":433},"mt-grant-permission-service-banner\n",[397,448,450,454,457],{"class":399,"line":449},3,[397,451,453],{"class":452},"srQ81","    @grant-success",[397,455,456],{"class":407},"=",[397,458,459],{"class":414},"\"onGranted\"\n",[397,461,463,466,468],{"class":399,"line":462},4,[397,464,465],{"class":452},"    @grant-error",[397,467,456],{"class":407},[397,469,470],{"class":414},"\"onGrantFailed\"\n",[397,472,474],{"class":399,"line":473},5,[397,475,476],{"class":407},"  \u002F>\n",[397,478,480,483,485],{"class":399,"line":479},6,[397,481,482],{"class":407},"\u003C\u002F",[397,484,434],{"class":433},[397,486,437],{"class":407},[375,488,490],{"id":489},"api-reference","API reference",[492,493],"component-api",{},[375,495,497],{"id":496},"behavior","Behavior",[499,500,501,511,522,529,532],"ul",{},[502,503,504,505,510],"li",{},"The banner manages its own visibility through the ",[506,507,508],"a",{"href":342},[394,509,341],{}," composable: it renders only while permissions still need to be granted and hides itself after a successful grant.",[502,512,513,514,517,518,521],{},"Clicking the primary action runs the grant flow and emits ",[394,515,516],{},"grant-success"," on success or ",[394,519,520],{},"grant-error"," with the error on failure.",[502,523,524,525,528],{},"The more-info action opens the Shopware Services documentation in a new tab and emits ",[394,526,527],{},"more-info",".",[502,530,531],{},"Title, description, and action labels are built in and localized (English and German); they cannot be overridden.",[502,533,534],{},"The layout adapts to the width of its container, switching from a stacked to a horizontal arrangement as space allows.",[375,536,538],{"id":537},"related","Related",[499,540,541,548],{},[502,542,543,547],{},[506,544,545],{"href":342},[383,546,341],{},": the composable the banner uses, for building custom permission UI instead.",[502,549,550,554],{},[506,551,552],{"href":128},[383,553,127],{},": for general inline notices that are not tied to service permissions.",[556,557,558],"style",{},"html pre.shiki code .sLfaJ, html code.shiki .sLfaJ{--shiki-light:#D73A49;--shiki-default:#FF7B72;--shiki-dark:#FF7B72}html pre.shiki code .sSgjj, html code.shiki .sSgjj{--shiki-light:#24292E;--shiki-default:#E6EDF3;--shiki-dark:#E6EDF3}html pre.shiki code .sL1yV, html code.shiki .sL1yV{--shiki-light:#032F62;--shiki-default:#A5D6FF;--shiki-dark:#A5D6FF}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 .sFzZJ, html code.shiki .sFzZJ{--shiki-light:#22863A;--shiki-default:#7EE787;--shiki-dark:#7EE787}html pre.shiki code .srQ81, html code.shiki .srQ81{--shiki-light:#6F42C1;--shiki-default:#79C0FF;--shiki-dark:#79C0FF}",{"title":392,"searchDepth":440,"depth":440,"links":560},[561,562,563,564],{"id":377,"depth":440,"text":378},{"id":489,"depth":440,"text":490},{"id":496,"depth":440,"text":497},{"id":537,"depth":440,"text":538},"A banner that asks users to grant the permissions a Shopware Service needs before it can be activated.","md",null,{},true,{"title":195,"description":565},"gbhTgQyD2NBgqiRoaxDKFPAABexFAhzTmU-de_S8sQo",[573,575],{"title":191,"path":192,"stem":193,"description":574,"children":-1},"A low-level primitive for building custom popover-style surfaces that anchor to a trigger, reposition automatically, and close on outside click.",{"title":199,"path":200,"stem":201,"description":576,"children":-1},"A small help trigger that reveals brief supporting guidance in a tooltip.",{"pascalName":578,"kebabName":579,"filePath":580,"meta":581},"MtGrantPermissionServiceBanner","mt-grant-permission-service-banner","..\u002F..\u002Fpackages\u002Fcomponent-library\u002Fsrc\u002Fcomponents\u002F_internal\u002Fmt-grant-permission-service-banner\u002Fmt-grant-permission-service-banner.vue",{"type":400,"props":582,"slots":583,"events":584,"exposed":600,"hash":601},[],[],[585,590,596],{"name":516,"description":392,"tags":586,"type":587,"signature":588,"schema":589},[],"[]","(event: \"grant-success\"): void",[],{"name":520,"description":392,"tags":591,"type":592,"signature":593,"schema":594},[],"[error: unknown]","(event: \"grant-error\", error: unknown): void",[595],"unknown",{"name":527,"description":392,"tags":597,"type":587,"signature":598,"schema":599},[],"(event: \"more-info\"): void",[],[],"4xnXvzO0zFFtdzRDCFgmG5ocJqa3aYcGeBfWPkt-pUM",1794405549801]