"use strict";(()=>{var p=Object.defineProperty;var o=Object.getOwnPropertySymbols;var g=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable;var s=(a,e,n)=>e in a?p(a,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[e]=n,r=(a,e)=>{for(var n in e||(e={}))g.call(e,n)&&s(a,n,e[n]);if(o)for(var n of o(e))y.call(e,n)&&s(a,n,e[n]);return a};(self.webpackChunk_sap_ux_ui_components=self.webpackChunk_sap_ux_ui_components||[]).push([[680],{"./stories/UIQuickNavigation.story.tsx"(a,e,n){var E=this&&this.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(e,"__esModule",{value:!0}),e.ExternalWithCustomOffset=e.External=e.Inline=void 0;const t=E(n("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),i=n("./src/components/index.tsx");e.default={title:"Utilities/Quick Navigation"};const k={name:"Hello, world!",html:"<span><strong>Tag:</strong> name</span>"},c=u=>{const{title:d}=u;return t.default.createElement("div",{style:{border:"1px solid red",margin:"20px 0",padding:10}},t.default.createElement("div",null,d),t.default.createElement(i.UITextInput,{label:"Dummy 1"}),t.default.createElement(i.UITextInput,{label:"Dummy 2"}),t.default.createElement(i.UIDefaultButton,null,"Submit"))},m=u=>{const{inline:d,offsets:l}=u;return t.default.createElement("div",{style:{margin:10}},t.default.createElement("div",null,`Inline = ${d}`),t.default.createElement(i.UIQuickNavigation,{inline:d},t.default.createElement("div",r({},(0,i.setQuickNavigationKey)("A",l==null?void 0:l[0])),t.default.createElement(c,{title:"Group 1"})),t.default.createElement("div",r({},(0,i.setQuickNavigationKey)("B",l==null?void 0:l[1])),t.default.createElement(c,{title:"Group 2"})),t.default.createElement("div",r({},(0,i.setQuickNavigationKey)("C",l==null?void 0:l[2])),t.default.createElement(c,{title:"Group 3"})),t.default.createElement("div",r({},(0,i.setQuickNavigationKey)("D",l==null?void 0:l[3])),t.default.createElement(c,{title:"Group 4"}))))},f=()=>t.default.createElement(m,{inline:!0});e.Inline=f;const v=()=>t.default.createElement(m,{inline:!1});e.External=v;const _=()=>t.default.createElement(m,{inline:!1,offsets:[{y:30,x:0},{y:0,x:30},{y:-15,x:-15}]});e.ExternalWithCustomOffset=_}}]);})();
