@sap-ux/ui-components 2.1.11 → 2.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/UIButton/UIDefaultButton.d.ts +26 -0
- package/dist/components/UIButton/UIDefaultButton.d.ts.map +1 -1
- package/dist/components/UIButton/UIDefaultButton.js +108 -76
- package/dist/components/UIButton/UIDefaultButton.js.map +1 -1
- package/dist/components/UIFlexibleTable/UIFlexibleTable.js +13 -18
- package/dist/components/UIFlexibleTable/UIFlexibleTable.js.map +1 -1
- package/dist/components/UIFlexibleTable/UIFlexibleTableRow.d.ts.map +1 -1
- package/dist/components/UIFlexibleTable/UIFlexibleTableRow.js +97 -54
- package/dist/components/UIFlexibleTable/UIFlexibleTableRow.js.map +1 -1
- package/dist/components/UITable/UITable-helper.d.ts.map +1 -1
- package/dist/components/UITable/UITable-helper.js +22 -19
- package/dist/components/UITable/UITable-helper.js.map +1 -1
- package/dist/components/UITable/UITable.d.ts +8 -0
- package/dist/components/UITable/UITable.d.ts.map +1 -1
- package/dist/components/UITable/UITable.js +20 -12
- package/dist/components/UITable/UITable.js.map +1 -1
- package/dist/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.d.ts.map +1 -1
- package/dist/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.js +1 -1
- package/dist/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.js.map +1 -1
- package/dist/components/UIToolbar/UIToolbar.d.ts.map +1 -1
- package/dist/components/UIToolbar/UIToolbar.js +15 -36
- package/dist/components/UIToolbar/UIToolbar.js.map +1 -1
- package/dist/components/UIToolbar/UIToolbar.scss +2 -2
- package/package.json +2 -2
- package/storybook/{278.2c1341d0.iframe.bundle.js → 278.15cca4c4.iframe.bundle.js} +1 -1
- package/storybook/300.d2cd1218.iframe.bundle.js +7 -0
- package/storybook/{303.27ab8dbf.iframe.bundle.js → 303.99f69b0a.iframe.bundle.js} +27 -27
- package/storybook/{438.2b1dc22a.iframe.bundle.js → 438.7d681b59.iframe.bundle.js} +1 -1
- package/storybook/541.5b112304.iframe.bundle.js +1 -0
- package/storybook/{866.9a678573.iframe.bundle.js → 847.c596d8f5.iframe.bundle.js} +2 -2
- package/storybook/{UITooltip-story.8a47915d.iframe.bundle.js → UITooltip-story.1b5925c0.iframe.bundle.js} +1 -1
- package/storybook/iframe.html +2 -2
- package/storybook/{main.f1843cbf.iframe.bundle.js → main.817cdb36.iframe.bundle.js} +1 -1
- package/storybook/project.json +1 -1
- package/storybook/{runtime~main.cefb891f.iframe.bundle.js → runtime~main.cc402522.iframe.bundle.js} +1 -1
- package/storybook/401.af8180c1.iframe.bundle.js +0 -7
- package/storybook/541.e08f1e5f.iframe.bundle.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var U=Object.defineProperty,M=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var v=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var P=(p,_,e)=>_ in p?U(p,_,{enumerable:!0,configurable:!0,writable:!0,value:e}):p[_]=e,f=(p,_)=>{for(var e in _||(_={}))A.call(_,e)&&P(p,e,_[e]);if(v)for(var e of v(_))B.call(_,e)&&P(p,e,_[e]);return p},O=(p,_)=>M(p,D(_));(self.webpackChunk_sap_ux_ui_components=self.webpackChunk_sap_ux_ui_components||[]).push([[438],{"../../node_modules/.pnpm/css-loader@7.1.4_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@16.0.7_sass-embedded@1.97.3_sass@1.98.0_webpack@5.105.0_@swc+core@1.15.18_@_31ae7bffeec4c4c96330dc3ad7603369/node_modules/sass-loader/dist/cjs.js!./src/components/UIToggleGroup/UIToggleGroup.scss"(p,_,e){var g=e("../../node_modules/.pnpm/css-loader@7.1.4_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/css-loader/dist/runtime/noSourceMaps.js"),m=e("../../node_modules/.pnpm/css-loader@7.1.4_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/css-loader/dist/runtime/api.js"),r=m(g);r.push([p.id,".ui-toggle-group{margin-top:0}.ui-toggle-group-label{margin-top:0}.ui-toggle-group-container{display:flex;flex-direction:row;flex-wrap:wrap}",""]),p.exports=r},"../../node_modules/.pnpm/css-loader@7.1.4_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@16.0.7_sass-embedded@1.97.3_sass@1.98.0_webpack@5.105.0_@swc+core@1.15.18_@_31ae7bffeec4c4c96330dc3ad7603369/node_modules/sass-loader/dist/cjs.js!./src/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.scss"(p,_,e){var g=e("../../node_modules/.pnpm/css-loader@7.1.4_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/css-loader/dist/runtime/noSourceMaps.js"),m=e("../../node_modules/.pnpm/css-loader@7.1.4_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/css-loader/dist/runtime/api.js"),r=m(g);r.push([p.id,'.ui-toggle-group-option{height:22px;min-width:22px;border-radius:2px;font-style:normal;font-weight:700;font-size:13px;line-height:18px;display:flex;align-items:center;text-align:center;justify-content:center;color:var(--vscode-foreground);border:none;background-color:rgba(0,0,0,0);position:relative}.ui-toggle-group-option:not(:last-child){margin:0 3px 0 0}.ui-toggle-group-option:hover{cursor:pointer;background-color:var(--vscode-menubar-selectionBackground);outline:1px dashed var(--vscode-contrastActiveBorder)}.ui-toggle-group-option:focus{border-radius:0;outline:rgba(0,0,0,0)}.ui-toggle-group-option--focused:focus-visible::after{content:"";position:absolute;border:none;z-index:1;outline:1px solid var(--vscode-contrastActiveBorder, var(--vscode-button-background));inset:-1px}.ui-toggle-group-option--selected{background-color:var(--vscode-button-background);color:var(--vscode-button-foreground);outline:1px solid var(--vscode-contrastActiveBorder)}.ui-toggle-group-option--selected:hover{background-color:var(--vscode-button-hoverBackground);outline:1px dashed var(--vscode-contrastActiveBorder)}.ui-toggle-group-option--selected .ui-toggle-group-option-content-icon svg>path,.ui-toggle-group-option--selected .ui-toggle-group-option-content-icon svg>rect{fill:var(--vscode-button-foreground)}.ui-toggle-group-option--disabled{opacity:.5;background-color:rgba(0,0,0,0)}.ui-toggle-group-option--disabled:hover{background-color:rgba(0,0,0,0);cursor:initial}.ui-toggle-group-option-content-icon{display:flex}',""]),p.exports=r},"./src/components/UIToggleGroup/UIToggleGroup.scss"(p,_,e){"use strict";e.r(_),e.d(_,{default:()=>w});var g=e("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),m=e.n(g),r=e("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/styleDomAPI.js"),l=e.n(r),o=e("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/insertBySelector.js"),d=e.n(o),a=e("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),b=e.n(a),i=e("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/insertStyleElement.js"),n=e.n(i),s=e("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/styleTagTransform.js"),t=e.n(s),u=e("../../node_modules/.pnpm/css-loader@7.1.4_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@16.0.7_sass-embedded@1.97.3_sass@1.98.0_webpack@5.105.0_@swc+core@1.15.18_@_31ae7bffeec4c4c96330dc3ad7603369/node_modules/sass-loader/dist/cjs.js!./src/components/UIToggleGroup/UIToggleGroup.scss"),c=e.n(u),y={};for(const I in u)I!=="default"&&(y[I]=()=>u[I]);e.d(_,y);var h={};h.styleTagTransform=t(),h.setAttributes=b(),h.insert=d().bind(null,"head"),h.domAPI=l(),h.insertStyleElement=n();var E=m()(c(),h);const w=c()&&c().locals?c().locals:void 0},"./src/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.scss"(p,_,e){"use strict";e.r(_),e.d(_,{default:()=>w});var g=e("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),m=e.n(g),r=e("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/styleDomAPI.js"),l=e.n(r),o=e("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/insertBySelector.js"),d=e.n(o),a=e("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),b=e.n(a),i=e("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/insertStyleElement.js"),n=e.n(i),s=e("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/styleTagTransform.js"),t=e.n(s),u=e("../../node_modules/.pnpm/css-loader@7.1.4_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@16.0.7_sass-embedded@1.97.3_sass@1.98.0_webpack@5.105.0_@swc+core@1.15.18_@_31ae7bffeec4c4c96330dc3ad7603369/node_modules/sass-loader/dist/cjs.js!./src/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.scss"),c=e.n(u),y={};for(const I in u)I!=="default"&&(y[I]=()=>u[I]);e.d(_,y);var h={};h.styleTagTransform=t(),h.setAttributes=b(),h.insert=d().bind(null,"head"),h.domAPI=l(),h.insertStyleElement=n();var E=m()(c(),h);const w=c()&&c().locals?c().locals:void 0},"./src/components/UIFocusZone/UIFocusTrapZone.tsx"(p,_,e){"use strict";var g=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(_,"__esModule",{value:!0}),_.UIFocusTrapZone=void 0;const m=g(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),r=e("../../node_modules/.pnpm/@fluentui+react@8.125.5_@types+react-dom@16.9.25_@types+react@16.14.69__@types+react@16_64874192b7cfaa3fe7ac389bc8c185b1/node_modules/@fluentui/react/lib-commonjs/index.js");class l extends m.default.Component{constructor(d){super(d)}render(){return m.default.createElement(r.FocusTrapZone,f({},this.props),this.props.children)}}_.UIFocusTrapZone=l},"./src/components/UIFocusZone/UIFocusZone.tsx"(p,_,e){"use strict";var g=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(_,"__esModule",{value:!0}),_.UIFocusZone=_.UIFocusZoneTabbableElements=_.IFocusZone=_.UIFocusZoneProps=_.UIFocusZoneDirection=void 0;const m=g(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),r=e("../../node_modules/.pnpm/@fluentui+react@8.125.5_@types+react-dom@16.9.25_@types+react@16.14.69__@types+react@16_64874192b7cfaa3fe7ac389bc8c185b1/node_modules/@fluentui/react/lib-commonjs/index.js");Object.defineProperty(_,"UIFocusZoneProps",{enumerable:!0,get:function(){return r.IFocusZoneProps}}),Object.defineProperty(_,"UIFocusZoneDirection",{enumerable:!0,get:function(){return r.FocusZoneDirection}}),Object.defineProperty(_,"IFocusZone",{enumerable:!0,get:function(){return r.IFocusZone}}),Object.defineProperty(_,"UIFocusZoneTabbableElements",{enumerable:!0,get:function(){return r.FocusZoneTabbableElements}});class l extends m.default.Component{constructor(d){super(d)}render(){return m.default.createElement(r.FocusZone,f({},this.props),this.props.children)}}_.UIFocusZone=l},"./src/components/UIFocusZone/index.tsx"(p,_,e){"use strict";var g=this&&this.__createBinding||(Object.create?(function(r,l,o,d){d===void 0&&(d=o);var a=Object.getOwnPropertyDescriptor(l,o);(!a||("get"in a?!l.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return l[o]}}),Object.defineProperty(r,d,a)}):(function(r,l,o,d){d===void 0&&(d=o),r[d]=l[o]})),m=this&&this.__exportStar||function(r,l){for(var o in r)o!=="default"&&!Object.prototype.hasOwnProperty.call(l,o)&&g(l,r,o)};Object.defineProperty(_,"__esModule",{value:!0}),m(e("./src/components/UIFocusZone/UIFocusTrapZone.tsx"),_),m(e("./src/components/UIFocusZone/UIFocusZone.tsx"),_)},"./src/components/UIToggleGroup/UIToggleGroup.tsx"(p,_,e){"use strict";var g=this&&this.__createBinding||(Object.create?(function(n,s,t,u){u===void 0&&(u=t);var c=Object.getOwnPropertyDescriptor(s,t);(!c||("get"in c?!s.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:function(){return s[t]}}),Object.defineProperty(n,u,c)}):(function(n,s,t,u){u===void 0&&(u=t),n[u]=s[t]})),m=this&&this.__setModuleDefault||(Object.create?(function(n,s){Object.defineProperty(n,"default",{enumerable:!0,value:s})}):function(n,s){n.default=s}),r=this&&this.__importStar||(function(){var n=function(s){return n=Object.getOwnPropertyNames||function(t){var u=[];for(var c in t)Object.prototype.hasOwnProperty.call(t,c)&&(u[u.length]=c);return u},n(s)};return function(s){if(s&&s.__esModule)return s;var t={};if(s!=null)for(var u=n(s),c=0;c<u.length;c++)u[c]!=="default"&&g(t,s,u[c]);return m(t,s),t}})();Object.defineProperty(_,"__esModule",{value:!0}),_.UIToggleGroup=void 0;const l=r(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),o=e("./src/components/UIToggleGroup/UIToggleGroupOption/index.ts"),d=e("./src/components/UILabel/index.tsx"),a=e("./src/components/UIFocusZone/index.tsx"),b=e("./src/utilities/index.ts");e("./src/components/UIToggleGroup/UIToggleGroup.scss");class i extends l.Component{constructor(s){super(s),this.labelId=this.props.labelId?this.props.labelId:(0,b.getUIId)("ui-toggle-group-option-"),this.onClick=(t,u)=>{let c=!1;u!=null&&u.itemKey&&this.setState(y=>{var E,w;const h={options:y.options.map((I,T,j)=>I.key===u.itemKey?(c=!j[T].selected,O(f({},I),{selected:c,focused:j[T].focused})):O(f({},I),{selected:!1,focused:!1}))};return this.props.onChange&&((w=(E=this.props).onChange)==null||w.call(E,u.itemKey,c)),h})},this.onFocus=(t,u)=>{u!=null&&u.itemKey&&this.setState(c=>({options:c.options.map(y=>y.key===u.itemKey?O(f({},y),{focused:!0}):O(f({},y),{focused:!1}))}))},this.onBlur=(t,u)=>{this.setState(c=>({options:c.options.map(y=>O(f({},y),{focused:!1}))}))},this.state={options:this.props.options.map(t=>t.key===this.props.selectedKey?O(f({},t),{selected:!0}):f({},t))},this.onClick=this.onClick.bind(this),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this)}render(){return l.createElement("div",f({className:"ui-toggle-group",role:"group"},this.props.ariaLabel&&{"aria-labelledby":this.labelId}),this.props.label&&l.createElement(d.UILabel,O(f({id:this.labelId},this.props.ariaLabel&&{"aria-label":this.props.ariaLabel}),{className:"ui-toggle-group-label",required:this.props.required,disabled:this.props.disabled}),this.props.label),l.createElement(a.UIFocusZone,{as:"div",direction:a.UIFocusZoneDirection.horizontal,isCircularNavigation:!0,shouldRaiseClicks:!0,className:"ui-toggle-group-container",role:"list"},this.state.options.map(s=>l.createElement(o.UIToggleGroupOption,O(f({itemKey:s.key},s),{key:s.key,onClick:this.onClick,onFocus:this.onFocus,onBlur:this.onBlur,selected:s.selected,disabled:s.disabled||this.props.disabled})))))}}_.UIToggleGroup=i},"./src/components/UIToggleGroup/UIToggleGroup.types.ts"(p,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0})},"./src/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.tsx"(p,_,e){"use strict";var g=this&&this.__createBinding||(Object.create?(function(b,i,n,s){s===void 0&&(s=n);var t=Object.getOwnPropertyDescriptor(i,n);(!t||("get"in t?!i.__esModule:t.writable||t.configurable))&&(t={enumerable:!0,get:function(){return i[n]}}),Object.defineProperty(b,s,t)}):(function(b,i,n,s){s===void 0&&(s=n),b[s]=i[n]})),m=this&&this.__setModuleDefault||(Object.create?(function(b,i){Object.defineProperty(b,"default",{enumerable:!0,value:i})}):function(b,i){b.default=i}),r=this&&this.__importStar||(function(){var b=function(i){return b=Object.getOwnPropertyNames||function(n){var s=[];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(s[s.length]=t);return s},b(i)};return function(i){if(i&&i.__esModule)return i;var n={};if(i!=null)for(var s=b(i),t=0;t<s.length;t++)s[t]!=="default"&&g(n,i,s[t]);return m(n,i),n}})();Object.defineProperty(_,"__esModule",{value:!0}),_.UIToggleGroupOption=void 0;const l=r(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),o=e("./src/components/UIIcon/index.tsx"),d=e("./src/utilities/index.ts");e("./src/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.scss");class a extends l.Component{constructor(i){super(i),this.onClick=n=>{var s,t;(t=(s=this.props).onClick)==null||t.call(s,n,this.props)},this.onBlur=n=>{var s,t;(t=(s=this.props).onBlur)==null||t.call(s,n,this.props)},this.onFocus=n=>{var s,t;(t=(s=this.props).onFocus)==null||t.call(s,n,this.props)},this.onClick=this.onClick.bind(this),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this)}render(){const i=this.props.labelId?this.props.labelId:(0,d.getUIId)("ui-toggle-group-option-");return l.createElement("button",O(f(O(f({role:"button"},this.props.title&&{title:this.props.title}),{"data-is-focusable":"true",className:["ui-toggle-group-option",this.props.focused?"ui-toggle-group-option--focused":"",this.props.selected?"ui-toggle-group-option--selected":"",this.props.disabled?"ui-toggle-group-option--disabled":""].filter(n=>!!n).join(" ")}),this.props.ariaLabel&&{"aria-labelledby":i}),{disabled:this.props.disabled||!1,onClick:this.onClick,onFocus:this.onFocus,onBlur:this.onBlur}),l.createElement("span",{className:"ui-toggle-group-option-content",tabIndex:-1},this.props.text&&l.createElement("span",f({id:i,className:"ui-toggle-group-option-content-text"},this.props.ariaLabel&&{"aria-label":this.props.ariaLabel}),this.props.text),this.props.icon&&l.createElement(o.UIIcon,{className:"ui-toggle-group-option-content-icon",iconName:this.props.icon})))}}_.UIToggleGroupOption=a},"./src/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.types.ts"(p,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0})},"./src/components/UIToggleGroup/UIToggleGroupOption/index.ts"(p,_,e){"use strict";var g=this&&this.__createBinding||(Object.create?(function(r,l,o,d){d===void 0&&(d=o);var a=Object.getOwnPropertyDescriptor(l,o);(!a||("get"in a?!l.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return l[o]}}),Object.defineProperty(r,d,a)}):(function(r,l,o,d){d===void 0&&(d=o),r[d]=l[o]})),m=this&&this.__exportStar||function(r,l){for(var o in r)o!=="default"&&!Object.prototype.hasOwnProperty.call(l,o)&&g(l,r,o)};Object.defineProperty(_,"__esModule",{value:!0}),m(e("./src/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.tsx"),_),m(e("./src/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.types.ts"),_)},"./src/components/UIToggleGroup/index.ts"(p,_,e){"use strict";var g=this&&this.__createBinding||(Object.create?(function(r,l,o,d){d===void 0&&(d=o);var a=Object.getOwnPropertyDescriptor(l,o);(!a||("get"in a?!l.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return l[o]}}),Object.defineProperty(r,d,a)}):(function(r,l,o,d){d===void 0&&(d=o),r[d]=l[o]})),m=this&&this.__exportStar||function(r,l){for(var o in r)o!=="default"&&!Object.prototype.hasOwnProperty.call(l,o)&&g(l,r,o)};Object.defineProperty(_,"__esModule",{value:!0}),m(e("./src/components/UIToggleGroup/UIToggleGroup.tsx"),_),m(e("./src/components/UIToggleGroup/UIToggleGroup.types.ts"),_)}}]);})();
|
|
1
|
+
(()=>{var U=Object.defineProperty,M=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var v=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var P=(p,_,e)=>_ in p?U(p,_,{enumerable:!0,configurable:!0,writable:!0,value:e}):p[_]=e,f=(p,_)=>{for(var e in _||(_={}))A.call(_,e)&&P(p,e,_[e]);if(v)for(var e of v(_))B.call(_,e)&&P(p,e,_[e]);return p},O=(p,_)=>M(p,D(_));(self.webpackChunk_sap_ux_ui_components=self.webpackChunk_sap_ux_ui_components||[]).push([[438],{"../../node_modules/.pnpm/css-loader@7.1.4_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@16.0.7_sass-embedded@1.97.3_sass@1.98.0_webpack@5.105.0_@swc+core@1.15.18_@_31ae7bffeec4c4c96330dc3ad7603369/node_modules/sass-loader/dist/cjs.js!./src/components/UIToggleGroup/UIToggleGroup.scss"(p,_,e){var g=e("../../node_modules/.pnpm/css-loader@7.1.4_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/css-loader/dist/runtime/noSourceMaps.js"),m=e("../../node_modules/.pnpm/css-loader@7.1.4_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/css-loader/dist/runtime/api.js"),r=m(g);r.push([p.id,".ui-toggle-group{margin-top:0}.ui-toggle-group-label{margin-top:0}.ui-toggle-group-container{display:flex;flex-direction:row;flex-wrap:wrap}",""]),p.exports=r},"../../node_modules/.pnpm/css-loader@7.1.4_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@16.0.7_sass-embedded@1.97.3_sass@1.98.0_webpack@5.105.0_@swc+core@1.15.18_@_31ae7bffeec4c4c96330dc3ad7603369/node_modules/sass-loader/dist/cjs.js!./src/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.scss"(p,_,e){var g=e("../../node_modules/.pnpm/css-loader@7.1.4_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/css-loader/dist/runtime/noSourceMaps.js"),m=e("../../node_modules/.pnpm/css-loader@7.1.4_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/css-loader/dist/runtime/api.js"),r=m(g);r.push([p.id,'.ui-toggle-group-option{height:22px;min-width:22px;border-radius:2px;font-style:normal;font-weight:700;font-size:13px;line-height:18px;display:flex;align-items:center;text-align:center;justify-content:center;color:var(--vscode-foreground);border:none;background-color:rgba(0,0,0,0);position:relative}.ui-toggle-group-option:not(:last-child){margin:0 3px 0 0}.ui-toggle-group-option:hover{cursor:pointer;background-color:var(--vscode-menubar-selectionBackground);outline:1px dashed var(--vscode-contrastActiveBorder)}.ui-toggle-group-option:focus{border-radius:0;outline:rgba(0,0,0,0)}.ui-toggle-group-option--focused:focus-visible::after{content:"";position:absolute;border:none;z-index:1;outline:1px solid var(--vscode-contrastActiveBorder, var(--vscode-button-background));inset:-1px}.ui-toggle-group-option--selected{background-color:var(--vscode-button-background);color:var(--vscode-button-foreground);outline:1px solid var(--vscode-contrastActiveBorder)}.ui-toggle-group-option--selected:hover{background-color:var(--vscode-button-hoverBackground);outline:1px dashed var(--vscode-contrastActiveBorder)}.ui-toggle-group-option--selected .ui-toggle-group-option-content-icon svg>path,.ui-toggle-group-option--selected .ui-toggle-group-option-content-icon svg>rect{fill:var(--vscode-button-foreground)}.ui-toggle-group-option--disabled{opacity:.5;background-color:rgba(0,0,0,0)}.ui-toggle-group-option--disabled:hover{background-color:rgba(0,0,0,0);cursor:initial}.ui-toggle-group-option-content-icon{display:flex}',""]),p.exports=r},"./src/components/UIToggleGroup/UIToggleGroup.scss"(p,_,e){"use strict";e.r(_),e.d(_,{default:()=>w});var g=e("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),m=e.n(g),r=e("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/styleDomAPI.js"),l=e.n(r),o=e("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/insertBySelector.js"),d=e.n(o),a=e("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),b=e.n(a),i=e("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/insertStyleElement.js"),n=e.n(i),s=e("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/styleTagTransform.js"),t=e.n(s),u=e("../../node_modules/.pnpm/css-loader@7.1.4_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@16.0.7_sass-embedded@1.97.3_sass@1.98.0_webpack@5.105.0_@swc+core@1.15.18_@_31ae7bffeec4c4c96330dc3ad7603369/node_modules/sass-loader/dist/cjs.js!./src/components/UIToggleGroup/UIToggleGroup.scss"),c=e.n(u),y={};for(const I in u)I!=="default"&&(y[I]=()=>u[I]);e.d(_,y);var h={};h.styleTagTransform=t(),h.setAttributes=b(),h.insert=d().bind(null,"head"),h.domAPI=l(),h.insertStyleElement=n();var E=m()(c(),h);const w=c()&&c().locals?c().locals:void 0},"./src/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.scss"(p,_,e){"use strict";e.r(_),e.d(_,{default:()=>w});var g=e("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),m=e.n(g),r=e("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/styleDomAPI.js"),l=e.n(r),o=e("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/insertBySelector.js"),d=e.n(o),a=e("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),b=e.n(a),i=e("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/insertStyleElement.js"),n=e.n(i),s=e("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/styleTagTransform.js"),t=e.n(s),u=e("../../node_modules/.pnpm/css-loader@7.1.4_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@16.0.7_sass-embedded@1.97.3_sass@1.98.0_webpack@5.105.0_@swc+core@1.15.18_@_31ae7bffeec4c4c96330dc3ad7603369/node_modules/sass-loader/dist/cjs.js!./src/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.scss"),c=e.n(u),y={};for(const I in u)I!=="default"&&(y[I]=()=>u[I]);e.d(_,y);var h={};h.styleTagTransform=t(),h.setAttributes=b(),h.insert=d().bind(null,"head"),h.domAPI=l(),h.insertStyleElement=n();var E=m()(c(),h);const w=c()&&c().locals?c().locals:void 0},"./src/components/UIFocusZone/UIFocusTrapZone.tsx"(p,_,e){"use strict";var g=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(_,"__esModule",{value:!0}),_.UIFocusTrapZone=void 0;const m=g(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),r=e("../../node_modules/.pnpm/@fluentui+react@8.125.5_@types+react-dom@16.9.25_@types+react@16.14.69__@types+react@16_64874192b7cfaa3fe7ac389bc8c185b1/node_modules/@fluentui/react/lib-commonjs/index.js");class l extends m.default.Component{constructor(d){super(d)}render(){return m.default.createElement(r.FocusTrapZone,f({},this.props),this.props.children)}}_.UIFocusTrapZone=l},"./src/components/UIFocusZone/UIFocusZone.tsx"(p,_,e){"use strict";var g=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(_,"__esModule",{value:!0}),_.UIFocusZone=_.UIFocusZoneTabbableElements=_.IFocusZone=_.UIFocusZoneProps=_.UIFocusZoneDirection=void 0;const m=g(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),r=e("../../node_modules/.pnpm/@fluentui+react@8.125.5_@types+react-dom@16.9.25_@types+react@16.14.69__@types+react@16_64874192b7cfaa3fe7ac389bc8c185b1/node_modules/@fluentui/react/lib-commonjs/index.js");Object.defineProperty(_,"UIFocusZoneProps",{enumerable:!0,get:function(){return r.IFocusZoneProps}}),Object.defineProperty(_,"UIFocusZoneDirection",{enumerable:!0,get:function(){return r.FocusZoneDirection}}),Object.defineProperty(_,"IFocusZone",{enumerable:!0,get:function(){return r.IFocusZone}}),Object.defineProperty(_,"UIFocusZoneTabbableElements",{enumerable:!0,get:function(){return r.FocusZoneTabbableElements}});class l extends m.default.Component{constructor(d){super(d)}render(){return m.default.createElement(r.FocusZone,f({},this.props),this.props.children)}}_.UIFocusZone=l},"./src/components/UIFocusZone/index.tsx"(p,_,e){"use strict";var g=this&&this.__createBinding||(Object.create?(function(r,l,o,d){d===void 0&&(d=o);var a=Object.getOwnPropertyDescriptor(l,o);(!a||("get"in a?!l.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return l[o]}}),Object.defineProperty(r,d,a)}):(function(r,l,o,d){d===void 0&&(d=o),r[d]=l[o]})),m=this&&this.__exportStar||function(r,l){for(var o in r)o!=="default"&&!Object.prototype.hasOwnProperty.call(l,o)&&g(l,r,o)};Object.defineProperty(_,"__esModule",{value:!0}),m(e("./src/components/UIFocusZone/UIFocusTrapZone.tsx"),_),m(e("./src/components/UIFocusZone/UIFocusZone.tsx"),_)},"./src/components/UIToggleGroup/UIToggleGroup.tsx"(p,_,e){"use strict";var g=this&&this.__createBinding||(Object.create?(function(n,s,t,u){u===void 0&&(u=t);var c=Object.getOwnPropertyDescriptor(s,t);(!c||("get"in c?!s.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:function(){return s[t]}}),Object.defineProperty(n,u,c)}):(function(n,s,t,u){u===void 0&&(u=t),n[u]=s[t]})),m=this&&this.__setModuleDefault||(Object.create?(function(n,s){Object.defineProperty(n,"default",{enumerable:!0,value:s})}):function(n,s){n.default=s}),r=this&&this.__importStar||(function(){var n=function(s){return n=Object.getOwnPropertyNames||function(t){var u=[];for(var c in t)Object.prototype.hasOwnProperty.call(t,c)&&(u[u.length]=c);return u},n(s)};return function(s){if(s&&s.__esModule)return s;var t={};if(s!=null)for(var u=n(s),c=0;c<u.length;c++)u[c]!=="default"&&g(t,s,u[c]);return m(t,s),t}})();Object.defineProperty(_,"__esModule",{value:!0}),_.UIToggleGroup=void 0;const l=r(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),o=e("./src/components/UIToggleGroup/UIToggleGroupOption/index.ts"),d=e("./src/components/UILabel/index.tsx"),a=e("./src/components/UIFocusZone/index.tsx"),b=e("./src/utilities/index.ts");e("./src/components/UIToggleGroup/UIToggleGroup.scss");class i extends l.Component{constructor(s){super(s),this.labelId=this.props.labelId?this.props.labelId:(0,b.getUIId)("ui-toggle-group-option-"),this.onClick=(t,u)=>{let c=!1;u!=null&&u.itemKey&&this.setState(y=>{var E,w;const h={options:y.options.map((I,T,j)=>I.key===u.itemKey?(c=!j[T].selected,O(f({},I),{selected:c,focused:j[T].focused})):O(f({},I),{selected:!1,focused:!1}))};return this.props.onChange&&((w=(E=this.props).onChange)==null||w.call(E,u.itemKey,c)),h})},this.onFocus=(t,u)=>{u!=null&&u.itemKey&&this.setState(c=>({options:c.options.map(y=>y.key===u.itemKey?O(f({},y),{focused:!0}):O(f({},y),{focused:!1}))}))},this.onBlur=(t,u)=>{this.setState(c=>({options:c.options.map(y=>O(f({},y),{focused:!1}))}))},this.state={options:this.props.options.map(t=>t.key===this.props.selectedKey?O(f({},t),{selected:!0}):f({},t))},this.onClick=this.onClick.bind(this),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this)}render(){return l.createElement("div",f({className:"ui-toggle-group",role:"group"},this.props.ariaLabel&&{"aria-labelledby":this.labelId}),this.props.label&&l.createElement(d.UILabel,O(f({id:this.labelId},this.props.ariaLabel&&{"aria-label":this.props.ariaLabel}),{className:"ui-toggle-group-label",required:this.props.required,disabled:this.props.disabled}),this.props.label),l.createElement(a.UIFocusZone,{as:"div",direction:a.UIFocusZoneDirection.horizontal,isCircularNavigation:!0,shouldRaiseClicks:!0,className:"ui-toggle-group-container",role:"list"},this.state.options.map(s=>l.createElement(o.UIToggleGroupOption,O(f({itemKey:s.key},s),{key:s.key,onClick:this.onClick,onFocus:this.onFocus,onBlur:this.onBlur,selected:s.selected,disabled:s.disabled||this.props.disabled})))))}}_.UIToggleGroup=i},"./src/components/UIToggleGroup/UIToggleGroup.types.ts"(p,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0})},"./src/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.tsx"(p,_,e){"use strict";var g=this&&this.__createBinding||(Object.create?(function(b,i,n,s){s===void 0&&(s=n);var t=Object.getOwnPropertyDescriptor(i,n);(!t||("get"in t?!i.__esModule:t.writable||t.configurable))&&(t={enumerable:!0,get:function(){return i[n]}}),Object.defineProperty(b,s,t)}):(function(b,i,n,s){s===void 0&&(s=n),b[s]=i[n]})),m=this&&this.__setModuleDefault||(Object.create?(function(b,i){Object.defineProperty(b,"default",{enumerable:!0,value:i})}):function(b,i){b.default=i}),r=this&&this.__importStar||(function(){var b=function(i){return b=Object.getOwnPropertyNames||function(n){var s=[];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(s[s.length]=t);return s},b(i)};return function(i){if(i&&i.__esModule)return i;var n={};if(i!=null)for(var s=b(i),t=0;t<s.length;t++)s[t]!=="default"&&g(n,i,s[t]);return m(n,i),n}})();Object.defineProperty(_,"__esModule",{value:!0}),_.UIToggleGroupOption=void 0;const l=r(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),o=e("./src/components/UIIcon/index.tsx"),d=e("./src/utilities/index.ts");e("./src/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.scss");class a extends l.Component{constructor(i){super(i),this.onClick=n=>{var s,t;(t=(s=this.props).onClick)==null||t.call(s,n,this.props)},this.onBlur=n=>{var s,t;(t=(s=this.props).onBlur)==null||t.call(s,n,this.props)},this.onFocus=n=>{var s,t;(t=(s=this.props).onFocus)==null||t.call(s,n,this.props)},this.onClick=this.onClick.bind(this),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this)}render(){const i=this.props.labelId?this.props.labelId:(0,d.getUIId)("ui-toggle-group-option-");return l.createElement("button",O(f(O(f({},this.props.title&&{title:this.props.title}),{"data-is-focusable":"true",className:["ui-toggle-group-option",this.props.focused?"ui-toggle-group-option--focused":"",this.props.selected?"ui-toggle-group-option--selected":"",this.props.disabled?"ui-toggle-group-option--disabled":""].filter(n=>!!n).join(" ")}),this.props.ariaLabel&&{"aria-labelledby":i}),{disabled:this.props.disabled||!1,onClick:this.onClick,onFocus:this.onFocus,onBlur:this.onBlur}),l.createElement("span",{className:"ui-toggle-group-option-content",tabIndex:-1},this.props.text&&l.createElement("span",f({id:i,className:"ui-toggle-group-option-content-text"},this.props.ariaLabel&&{"aria-label":this.props.ariaLabel}),this.props.text),this.props.icon&&l.createElement(o.UIIcon,{className:"ui-toggle-group-option-content-icon",iconName:this.props.icon})))}}_.UIToggleGroupOption=a},"./src/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.types.ts"(p,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0})},"./src/components/UIToggleGroup/UIToggleGroupOption/index.ts"(p,_,e){"use strict";var g=this&&this.__createBinding||(Object.create?(function(r,l,o,d){d===void 0&&(d=o);var a=Object.getOwnPropertyDescriptor(l,o);(!a||("get"in a?!l.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return l[o]}}),Object.defineProperty(r,d,a)}):(function(r,l,o,d){d===void 0&&(d=o),r[d]=l[o]})),m=this&&this.__exportStar||function(r,l){for(var o in r)o!=="default"&&!Object.prototype.hasOwnProperty.call(l,o)&&g(l,r,o)};Object.defineProperty(_,"__esModule",{value:!0}),m(e("./src/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.tsx"),_),m(e("./src/components/UIToggleGroup/UIToggleGroupOption/UIToggleGroupOption.types.ts"),_)},"./src/components/UIToggleGroup/index.ts"(p,_,e){"use strict";var g=this&&this.__createBinding||(Object.create?(function(r,l,o,d){d===void 0&&(d=o);var a=Object.getOwnPropertyDescriptor(l,o);(!a||("get"in a?!l.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return l[o]}}),Object.defineProperty(r,d,a)}):(function(r,l,o,d){d===void 0&&(d=o),r[d]=l[o]})),m=this&&this.__exportStar||function(r,l){for(var o in r)o!=="default"&&!Object.prototype.hasOwnProperty.call(l,o)&&g(l,r,o)};Object.defineProperty(_,"__esModule",{value:!0}),m(e("./src/components/UIToggleGroup/UIToggleGroup.tsx"),_),m(e("./src/components/UIToggleGroup/UIToggleGroup.types.ts"),_)}}]);})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(()=>{var p=Object.defineProperty,I=Object.defineProperties;var k=Object.getOwnPropertyDescriptors;var C=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable;var y=(g,o,e)=>o in g?p(g,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):g[o]=e,s=(g,o)=>{for(var e in o||(o={}))A.call(o,e)&&y(g,e,o[e]);if(C)for(var e of C(o))L.call(o,e)&&y(g,e,o[e]);return g},h=(g,o)=>I(g,k(o));(self.webpackChunk_sap_ux_ui_components=self.webpackChunk_sap_ux_ui_components||[]).push([[541],{"./src/components/UIButton/UIActionButton.tsx"(g,o,e){var d=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(o,"__esModule",{value:!0}),o.UIActionButton=void 0;const a=d(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),f=e("../../node_modules/.pnpm/@fluentui+react@8.125.5_@types+react-dom@16.9.25_@types+react@16.14.69__@types+react@16_64874192b7cfaa3fe7ac389bc8c185b1/node_modules/@fluentui/react/lib-commonjs/index.js"),i=e("./src/components/UIContextualMenu/index.tsx"),r=e("./src/components/UIButton/UIDefaultButton.tsx");class c extends a.default.Component{constructor(S){super(S),this.setStyle=()=>({root:{minWidth:"initial",minHeight:r.BASE_STYLES.height,height:r.BASE_STYLES.height,fontSize:"13px",fontWeight:400,color:"var(--vscode-foreground)",borderRadius:0,whiteSpace:"nowrap",backgroundColor:"transparent",textDecoration:"underline",selectors:{"&:active":{textDecoration:"none"},".ms-Fabric--isFocusVisible &:focus:after":{outline:"1px solid var(--vscode-focusBorder)"}}},label:{marginLeft:0,marginRight:0,fontSize:"13px",fontWeight:400},rootDisabled:{backgroundColor:"transparent",color:"var(--vscode-foreground)",opacity:"0.4",pointerEvents:"none"},rootHovered:{color:"var(--vscode-foreground)",backgroundColor:"var(--vscode-menubar-selectionBackground)",outline:"1px solid var(--vscode-contrastActiveBorder)",borderRadius:3,textDecoration:"none",selectors:{color:"var(--vscode-foreground)"}},icon:{height:16,lineHeight:16,marginLeft:0,position:"relative",top:1},menuIcon:{position:"relative",top:1}})}render(){return a.default.createElement(f.ActionButton,h(s({},this.props),{styles:this.setStyle(),menuAs:i.UIContextualMenu}))}}o.UIActionButton=c},"./src/components/UIButton/UIDefaultButton.tsx"(g,o,e){var d=this&&this.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(o,"__esModule",{value:!0}),o.UIDefaultButton=o.BASE_STYLES=void 0;const a=d(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),f=e("../../node_modules/.pnpm/@fluentui+react@8.125.5_@types+react-dom@16.9.25_@types+react@16.14.69__@types+react@16_64874192b7cfaa3fe7ac389bc8c185b1/node_modules/@fluentui/react/lib-commonjs/index.js"),i=e("./src/components/UIContextualMenu/index.tsx"),r=e("./src/components/UIInput/index.tsx"),c=e("./src/components/Icons.tsx"),t="var(--vscode-button-border, transparent)";o.BASE_STYLES={color:"var(--vscode-button-foreground)",checkedBorderColor:"var(--vscode-contrastActiveBorder, var(--vscode-button-border, transparent))",primary:{backgroundColor:"var(--vscode-button-background)",disabledBorderColor:t,borderColor:t,hoverBackgroundColor:"var(--vscode-button-hoverBackground)",hoverBorderColor:t},secondary:{backgroundColor:"var(--vscode-button-secondaryBackground)",disabledBorderColor:t,borderColor:t,hoverBackgroundColor:"var(--vscode-button-secondaryHoverBackground)",hoverBorderColor:t,color:"var(--vscode-button-secondaryForeground)"},alert:{backgroundColor:"var(--vscode-errorForeground)",disabledBorderColor:t,borderColor:t,hoverBackgroundColor:"var(--vscode-editorError-foreground)",hoverBorderColor:t},transparent:{backgroundColor:"transparent",disabledBorderColor:"transparent",borderColor:"transparent",hoverBackgroundColor:"var(--vscode-toolbar-hoverBackground, var(--vscode-menubar-selectionBackground))",hoverBorderColor:"var(--vscode-contrastActiveBorder, transparent)",hoverBorderStyle:"dashed",color:"var(--vscode-foreground)",checkedBackgroundColor:"var(--vscode-button-background)",checkedColor:"var(--vscode-button-foreground)",checkedBorderStyle:"solid"},height:26};const S="svg > path, svg > rect";class E extends a.default.Component{constructor(n){super(n),this.setStyle=u=>{const{primary:l,alert:b,transparent:B}=u,_={position:"absolute",width:1,right:o.BASE_STYLES.height-1,top:0,bottom:0,backgroundColor:"var(--vscode-editor-background)"},m={root:this.getInteractionStyle(!1,l,b,B),checked:this.getInteractionStyle(!0,l,b,B)};return{root:h(s(s(s({minWidth:"initial",minHeight:o.BASE_STYLES.height,height:o.BASE_STYLES.height,fontSize:"13px",fontWeight:400,borderRadius:r.COMMON_INPUT_STYLES.borderRadius,paddingLeft:13,paddingRight:13,backgroundColor:o.BASE_STYLES.secondary.backgroundColor,borderColor:o.BASE_STYLES.secondary.borderColor,color:o.BASE_STYLES.secondary.color},l&&{backgroundColor:o.BASE_STYLES.primary.backgroundColor,borderColor:o.BASE_STYLES.primary.borderColor,color:o.BASE_STYLES.color}),b&&{backgroundColor:o.BASE_STYLES.alert.backgroundColor,borderColor:o.BASE_STYLES.alert.borderColor,color:o.BASE_STYLES.color}),B&&{backgroundColor:o.BASE_STYLES.transparent.backgroundColor,borderColor:o.BASE_STYLES.transparent.borderColor,color:o.BASE_STYLES.transparent.color}),{selectors:{".ms-Fabric--isFocusVisible &:focus:after":{outlineColor:"var(--vscode-focusBorder)",inset:-3}}}),flexContainer:{height:18},label:{marginLeft:0,marginRight:0,fontWeight:400,lineHeight:20,whiteSpace:"nowrap"},rootDisabled:this.getRootDisabledStyles(l,b,B),rootPressed:m.root,rootHovered:m.root,icon:this.getIconStyleOverrides(l,b,B),menuIcon:this.getMenuIconStyleOverrides(l,b),rootChecked:s(s(s({backgroundColor:o.BASE_STYLES.secondary.backgroundColor,color:o.BASE_STYLES.secondary.color,borderColor:o.BASE_STYLES.checkedBorderColor},l&&{backgroundColor:o.BASE_STYLES.primary.backgroundColor,color:o.BASE_STYLES.color}),b&&{backgroundColor:o.BASE_STYLES.alert.backgroundColor,color:o.BASE_STYLES.color}),B&&{backgroundColor:o.BASE_STYLES.transparent.checkedBackgroundColor,color:o.BASE_STYLES.transparent.checkedColor,borderStyle:o.BASE_STYLES.transparent.checkedBorderStyle}),rootCheckedHovered:m.checked,rootCheckedPressed:m.checked,splitButtonMenuButton:{padding:6,minHeight:o.BASE_STYLES.height,height:o.BASE_STYLES.height,boxSizing:"border-box",borderRadius:`0 ${r.COMMON_INPUT_STYLES.borderRadius}px ${r.COMMON_INPUT_STYLES.borderRadius}px 0 !important`,borderLeft:"none",outline:"transparent",userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",verticalAlign:"top",width:o.BASE_STYLES.height,marginLeft:-1,marginTop:0,marginRight:0,marginBottom:0,backgroundColor:o.BASE_STYLES.primary.backgroundColor,borderColor:o.BASE_STYLES.primary.borderColor,color:o.BASE_STYLES.color,selectors:{"&:hover":{color:o.BASE_STYLES.color,backgroundColor:"var(--vscode-button-hoverBackground)",borderColor:"var(--vscode-contrastActiveBorder, var(--vscode-button-hoverBackground))",selectors:{[S]:{fill:o.BASE_STYLES.color}}}}},splitButtonMenuButtonDisabled:s(s({opacity:"0.5 !important",backgroundColor:"var(--vscode-button-secondaryBackground,#5f6a79)",borderColor:o.BASE_STYLES.secondary.backgroundColor,color:o.BASE_STYLES.secondary.color},l&&{color:o.BASE_STYLES.color,backgroundColor:o.BASE_STYLES.primary.backgroundColor,borderColor:"var(--vscode-button-background)"}),b&&{color:o.BASE_STYLES.color,backgroundColor:o.BASE_STYLES.alert.backgroundColor,borderColor:"var(--vscode-button-background)"}),splitButtonMenuFocused:{selectors:{"&:focus":{color:"red"}}},splitButtonMenuButtonExpanded:{color:o.BASE_STYLES.color,backgroundColor:"var(--vscode-button-hoverBackground)",borderColor:"var(--vscode-contrastActiveBorder, var(--vscode-button-hoverBackground))",selectors:{[S]:{fill:o.BASE_STYLES.color},"&:hover":{color:o.BASE_STYLES.color,backgroundColor:"var(--vscode-button-hoverBackground)",borderColor:"var(--vscode-contrastActiveBorder, var(--vscode-button-hoverBackground))",selectors:{[S]:{fill:o.BASE_STYLES.color}}}}},splitButtonDivider:_,splitButtonDividerDisabled:_,splitButtonContainerFocused:{".ms-Fabric--isFocusVisible &:focus:after":{border:"none",outlineColor:"var(--vscode-focusBorder)",inset:-2}}}}}getInteractionStyle(n,u,l,b){let B=s(s(s({color:o.BASE_STYLES.secondary.color,backgroundColor:o.BASE_STYLES.secondary.hoverBackgroundColor,borderColor:o.BASE_STYLES.secondary.hoverBorderColor,selectors:{[S]:{fill:o.BASE_STYLES.secondary.color}}},u&&{color:o.BASE_STYLES.color,backgroundColor:o.BASE_STYLES.primary.hoverBackgroundColor,borderColor:o.BASE_STYLES.primary.hoverBorderColor,selectors:{[S]:{fill:o.BASE_STYLES.color}}}),l&&{color:o.BASE_STYLES.color,backgroundColor:o.BASE_STYLES.alert.hoverBackgroundColor,borderColor:o.BASE_STYLES.alert.hoverBorderColor,selectors:{[S]:{fill:o.BASE_STYLES.color}}}),n&&{borderColor:o.BASE_STYLES.checkedBorderColor});return b&&(n?B=h(s({},B),{color:o.BASE_STYLES.color,backgroundColor:o.BASE_STYLES.primary.backgroundColor,borderColor:o.BASE_STYLES.primary.borderColor,selectors:{[S]:{fill:o.BASE_STYLES.color}}}):B=h(s({},B),{color:o.BASE_STYLES.transparent.color,backgroundColor:o.BASE_STYLES.transparent.hoverBackgroundColor,borderColor:o.BASE_STYLES.transparent.hoverBorderColor,borderStyle:o.BASE_STYLES.transparent.hoverBorderStyle,selectors:{[S]:{fill:o.BASE_STYLES.transparent.color}}})),n&&(B=h(s({},B),{borderColor:o.BASE_STYLES.checkedBorderColor})),B}getRootDisabledStyles(n,u,l){return s(s(s({opacity:"0.5 !important",backgroundColor:o.BASE_STYLES.secondary.backgroundColor,borderColor:o.BASE_STYLES.secondary.disabledBorderColor,color:o.BASE_STYLES.secondary.color},n&&{opacity:"0.5 !important",color:o.BASE_STYLES.color,backgroundColor:o.BASE_STYLES.primary.backgroundColor,borderColor:o.BASE_STYLES.primary.disabledBorderColor}),u&&{opacity:"0.5 !important",color:o.BASE_STYLES.color,backgroundColor:o.BASE_STYLES.alert.backgroundColor,borderColor:o.BASE_STYLES.alert.disabledBorderColor}),l&&{color:o.BASE_STYLES.transparent.color,backgroundColor:o.BASE_STYLES.transparent.backgroundColor,borderColor:o.BASE_STYLES.transparent.disabledBorderColor})}getIconStyleOverrides(n,u,l){return s(s(s({height:16,lineHeight:16,marginLeft:-3,color:o.BASE_STYLES.secondary.color,selectors:{[S]:{fill:o.BASE_STYLES.secondary.color}}},n&&{color:o.BASE_STYLES.color,selectors:{[S]:{fill:o.BASE_STYLES.color}}}),u&&{color:o.BASE_STYLES.color,selectors:{[S]:{fill:o.BASE_STYLES.color}}}),l&&{color:o.BASE_STYLES.transparent.color,selectors:{[S]:{fill:o.BASE_STYLES.transparent.color}}})}getMenuIconStyleOverrides(n,u){return{selectors:s(s({"svg > path":{fill:o.BASE_STYLES.secondary.color}},n&&{"svg > path":{fill:o.BASE_STYLES.color}}),u&&{"svg > path":{fill:o.BASE_STYLES.color}})}}render(){var u;const n=(u=this.props.menuProps)!=null&&u.items?{iconName:c.UiIcons.ArrowDown}:void 0;return a.default.createElement(f.DefaultButton,h(s({menuIconProps:n},this.props),{styles:this.setStyle(this.props),menuAs:i.UIContextualMenu}))}}o.UIDefaultButton=E},"./src/components/UIButton/UIIconButton.tsx"(g,o,e){var d=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(o,"__esModule",{value:!0}),o.UIIconButton=o.UIIconButtonSizes=void 0;const a=d(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),f=e("../../node_modules/.pnpm/@fluentui+react@8.125.5_@types+react-dom@16.9.25_@types+react@16.14.69__@types+react@16_64874192b7cfaa3fe7ac389bc8c185b1/node_modules/@fluentui/react/lib-commonjs/index.js"),i=e("./src/components/UIContextualMenu/index.tsx");var r;(function(t){t.Default="Default",t.Wide="Wide"})(r||(o.UIIconButtonSizes=r={}));class c extends a.default.Component{constructor(S){super(S),this.setStyle=E=>{var u;const n=((u=E.sizeType)!=null?u:r.Default)===r.Default?16:26;return{root:{minWidth:"initial",height:16,width:n,boxSizing:"content-box",padding:3,backgroundColor:"transparent",borderRadius:4,selectors:{".ms-Fabric--isFocusVisible &:focus:after":{outline:"1px solid var(--vscode-focusBorder)"}}},rootDisabled:{backgroundColor:"transparent",opacity:"0.4"},rootHasMenu:{width:n},rootHovered:{backgroundColor:this.getButtonInteractionBackgroundColor("--vscode-toolbar-hoverBackground"),outline:"1px dashed var(--vscode-contrastActiveBorder)",borderRadius:5},rootPressed:{backgroundColor:this.getButtonInteractionBackgroundColor("--vscode-toolbar-activeBackground")},rootExpanded:{backgroundColor:this.getButtonInteractionBackgroundColor("--vscode-toolbar-hoverBackground"),width:n},rootExpandedHovered:{backgroundColor:"transparent"},flexContainer:{width:"100%",height:"100%",pointerEvents:"none"},icon:{height:16,width:n,lineHeight:16,display:"flex",alignItems:"center",justifyContent:"center"},iconHovered:{backgroundColor:"transparent"},menuIconExpanded:{display:"none"},menuIcon:{display:"none"},rootChecked:{backgroundColor:"var(--vscode-button-background)",color:"var(--vscode-button-foreground)",outline:"1px solid var(--vscode-contrastActiveBorder)",selectors:{".ms-Fabric--isFocusVisible &:focus:after":{inset:"-1px"}}},rootCheckedHovered:{backgroundColor:"var(--vscode-button-background)",outline:"1px dashed var(--vscode-contrastActiveBorder)"},iconChecked:{color:"var(--vscode-button-foreground)",selectors:{"> svg *":{fill:"currentColor"}}}}}}getButtonInteractionBackgroundColor(S){return`var(${S}, var(--vscode-menubar-selectionBackground))`}render(){return a.default.createElement(f.IconButton,h(s({},this.props),{styles:this.setStyle(this.props),menuAs:i.UIContextualMenu}))}}o.UIIconButton=c},"./src/components/UIButton/UISmallButton.tsx"(g,o,e){var d=this&&this.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(o,"__esModule",{value:!0}),o.UISmallButton=void 0;const a=d(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),f=e("../../node_modules/.pnpm/@fluentui+react@8.125.5_@types+react-dom@16.9.25_@types+react@16.14.69__@types+react@16_64874192b7cfaa3fe7ac389bc8c185b1/node_modules/@fluentui/react/lib-commonjs/index.js");class i extends a.default.Component{constructor(c){super(c),this.buttonSecondaryForeground="--vscode-button-secondaryForeground",this.setStyle=t=>({root:h(s({minWidth:"initial",height:16,fontSize:"11px",fontWeight:400,borderRadius:20,paddingLeft:13,paddingRight:13,backgroundColor:"var(--vscode-button-secondaryBackground, #5f6a79)",borderColor:"var(--vscode-contrastBorder, var(--vscode-button-secondaryBackground, #5f6a79))",color:this.getColorwithFallback(this.buttonSecondaryForeground,"#ffffff")},t.primary&&{backgroundColor:this.getColor("--vscode-button-background"),borderColor:"var(--vscode-contrastBorder, var(--vscode-button-background))",color:this.getColor("--vscode-button-foreground")}),{selectors:{".ms-Fabric--isFocusVisible &:focus:after":{outlineColor:"var(--vscode-focusBorder)",inset:-3}}}),label:{marginLeft:0,marginRight:0,fontWeight:400,lineHeight:11,whiteSpace:"nowrap"},rootDisabled:s({opacity:"0.5 !important",backgroundColor:"var(--vscode-button-secondaryBackground,#5f6a79)",borderColor:"var(--vscode-button-secondaryBackground, #5f6a79)",color:this.getColorwithFallback(this.buttonSecondaryForeground,"#ffffff")},t.primary&&{opacity:"0.5 !important",color:this.getColor("--vscode-button-foreground"),backgroundColor:"var(--vscode-button-background)",borderColor:"var(--vscode-button-background)"}),rootHovered:s({color:this.getColorwithFallback(this.buttonSecondaryForeground,"#ffffff"),backgroundColor:"var(--vscode-button-secondaryHoverBackground, #4c5561)",borderColor:"var(--vscode-contrastActiveBorder, var(--vscode-button-secondaryHoverBackground, #4c5561))",selectors:{"svg > path, svg > rect":{fill:this.getColorwithFallback(this.buttonSecondaryForeground,"#ffffff")}}},t.primary&&{color:"var(--vscode-button-foreground)",backgroundColor:"var(--vscode-button-hoverBackground)",borderColor:"var(--vscode-contrastActiveBorder, var(--vscode-button-hoverBackground))",selectors:{"svg > path, svg > rect":{fill:"var(--vscode-button-foreground)"}}})})}getColor(c){return`var(${c})`}getColorwithFallback(c,t){return`var(${c}, ${t})`}render(){return a.default.createElement(f.DefaultButton,h(s({},this.props),{styles:this.setStyle(this.props)}))}}o.UISmallButton=i},"./src/components/UIButton/UISplitButton.tsx"(g,o,e){var d=this&&this.__createBinding||(Object.create?(function(v,n,u,l){l===void 0&&(l=u);var b=Object.getOwnPropertyDescriptor(n,u);(!b||("get"in b?!n.__esModule:b.writable||b.configurable))&&(b={enumerable:!0,get:function(){return n[u]}}),Object.defineProperty(v,l,b)}):(function(v,n,u,l){l===void 0&&(l=u),v[l]=n[u]})),a=this&&this.__setModuleDefault||(Object.create?(function(v,n){Object.defineProperty(v,"default",{enumerable:!0,value:n})}):function(v,n){v.default=n}),f=this&&this.__importStar||(function(){var v=function(n){return v=Object.getOwnPropertyNames||function(u){var l=[];for(var b in u)Object.prototype.hasOwnProperty.call(u,b)&&(l[l.length]=b);return l},v(n)};return function(n){if(n&&n.__esModule)return n;var u={};if(n!=null)for(var l=v(n),b=0;b<l.length;b++)l[b]!=="default"&&d(u,n,l[b]);return a(u,n),u}})();Object.defineProperty(o,"__esModule",{value:!0}),o.UISplitButton=void 0;const i=f(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),r=e("./src/components/UIButton/UIDefaultButton.tsx"),c=e("./src/components/UIContextualMenu/index.tsx"),t=e("./src/components/Icons.tsx"),S=e("./src/utilities/index.ts");class E extends i.Component{constructor(n){super(n),this.id=this.props.id?this.props.id:(0,S.getUIId)("ui-split-button-"),this.onClick=()=>{this.props.callback(this.props.button.key)},this.onMenuItemClick=(u,l)=>{l!=null&&l.key&&this.props.callback(l.key)},this.state={menu:{items:n.menuItems,onItemClick:this.onMenuItemClick}},this.onClick=this.onClick.bind(this)}static getDerivedStateFromProps(n,u){return{menu:{items:n.menuItems,onItemClick:u.menu.onItemClick}}}render(){return i.createElement(r.UIDefaultButton,{ariaLabel:this.props.ariaLabel,ariaDescription:this.props.ariaDescription,id:this.id,className:"ui-split-button",primary:!0,split:!0,onClick:this.onClick.bind(this),menuProps:this.state.menu,menuIconProps:{iconName:t.UiIcons.ArrowDown},menuAs:c.UIContextualMenu,disabled:this.props.disabled},this.props.button.text)}}o.UISplitButton=E},"./src/components/UIButton/index.tsx"(g,o,e){var d=this&&this.__createBinding||(Object.create?(function(i,r,c,t){t===void 0&&(t=c);var S=Object.getOwnPropertyDescriptor(r,c);(!S||("get"in S?!r.__esModule:S.writable||S.configurable))&&(S={enumerable:!0,get:function(){return r[c]}}),Object.defineProperty(i,t,S)}):(function(i,r,c,t){t===void 0&&(t=c),i[t]=r[c]})),a=this&&this.__exportStar||function(i,r){for(var c in i)c!=="default"&&!Object.prototype.hasOwnProperty.call(r,c)&&d(r,i,c)};Object.defineProperty(o,"__esModule",{value:!0}),o.UIButtonInterface=void 0;const f=e("../../node_modules/.pnpm/@fluentui+react@8.125.5_@types+react-dom@16.9.25_@types+react@16.14.69__@types+react@16_64874192b7cfaa3fe7ac389bc8c185b1/node_modules/@fluentui/react/lib-commonjs/index.js");Object.defineProperty(o,"UIButtonInterface",{enumerable:!0,get:function(){return f.IButton}}),a(e("./src/components/UIButton/UIActionButton.tsx"),o),a(e("./src/components/UIButton/UIDefaultButton.tsx"),o),a(e("./src/components/UIButton/UIIconButton.tsx"),o),a(e("./src/components/UIButton/UISplitButton.tsx"),o),a(e("./src/components/UIButton/UISmallButton.tsx"),o)},"./src/utilities/Debounce.ts"(g,o){Object.defineProperty(o,"__esModule",{value:!0}),o.debounce=e;function e(d,a){let f;return(...i)=>{clearTimeout(f),f=window.setTimeout(()=>{d(...i)},a)}}},"./src/utilities/Dom.ts"(g,o){Object.defineProperty(o,"__esModule",{value:!0}),o.isHTMLElement=e,o.isHTMLInputElement=d;function e(a){return"title"in a}function d(a){return"value"in a&&"tagName"in a&&a.tagName==="INPUT"}},"./src/utilities/Focus.ts"(g,o,e){Object.defineProperty(o,"__esModule",{value:!0}),o.isElementTabbable=o.getPreviousElement=o.getNextElement=o.setUIFocusVisibility=o.getUILastFocusable=o.getUIFirstFocusable=void 0,o.focusToSibling=a;const d=e("../../node_modules/.pnpm/@fluentui+react@8.125.5_@types+react-dom@16.9.25_@types+react@16.14.69__@types+react@16_64874192b7cfaa3fe7ac389bc8c185b1/node_modules/@fluentui/react/lib-commonjs/index.js");Object.defineProperty(o,"getUIFirstFocusable",{enumerable:!0,get:function(){return d.getFirstFocusable}}),Object.defineProperty(o,"getUILastFocusable",{enumerable:!0,get:function(){return d.getLastFocusable}}),Object.defineProperty(o,"setUIFocusVisibility",{enumerable:!0,get:function(){return d.setFocusVisibility}}),Object.defineProperty(o,"getNextElement",{enumerable:!0,get:function(){return d.getNextElement}}),Object.defineProperty(o,"getPreviousElement",{enumerable:!0,get:function(){return d.getPreviousElement}}),Object.defineProperty(o,"isElementTabbable",{enumerable:!0,get:function(){return d.isElementTabbable}});function a(f,i){const r=(0,d.getDocument)();if(r){let c=null;if(i?c=(0,d.getNextElement)(r.body,f,!1,!1,!0,!0):c=(0,d.getPreviousElement)(r.body,f,!1,!1,!0,!0),c)return c.focus(),c}return null}},"./src/utilities/Id.ts"(g,o,e){Object.defineProperty(o,"__esModule",{value:!0}),o.getUIId=void 0;const d=e("../../node_modules/.pnpm/@fluentui+react@8.125.5_@types+react-dom@16.9.25_@types+react@16.14.69__@types+react@16_64874192b7cfaa3fe7ac389bc8c185b1/node_modules/@fluentui/react/lib-commonjs/index.js");Object.defineProperty(o,"getUIId",{enumerable:!0,get:function(){return d.getId}})},"./src/utilities/Keys.ts"(g,o,e){Object.defineProperty(o,"__esModule",{value:!0}),o.UIKeyCodes=void 0;const d=e("../../node_modules/.pnpm/@fluentui+react@8.125.5_@types+react-dom@16.9.25_@types+react@16.14.69__@types+react@16_64874192b7cfaa3fe7ac389bc8c185b1/node_modules/@fluentui/react/lib-commonjs/index.js");Object.defineProperty(o,"UIKeyCodes",{enumerable:!0,get:function(){return d.KeyCodes}})},"./src/utilities/index.ts"(g,o,e){var d=this&&this.__createBinding||(Object.create?(function(f,i,r,c){c===void 0&&(c=r);var t=Object.getOwnPropertyDescriptor(i,r);(!t||("get"in t?!i.__esModule:t.writable||t.configurable))&&(t={enumerable:!0,get:function(){return i[r]}}),Object.defineProperty(f,c,t)}):(function(f,i,r,c){c===void 0&&(c=r),f[c]=i[r]})),a=this&&this.__exportStar||function(f,i){for(var r in f)r!=="default"&&!Object.prototype.hasOwnProperty.call(i,r)&&d(i,f,r)};Object.defineProperty(o,"__esModule",{value:!0}),a(e("./src/utilities/Debounce.ts"),o),a(e("./src/utilities/Dom.ts"),o),a(e("./src/utilities/Focus.ts"),o),a(e("./src/utilities/Id.ts"),o),a(e("./src/utilities/Keys.ts"),o)}}]);})();
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
/*# sourceMappingURL=data:application/json;base64,`.concat(btoa(unescape(encodeURIComponent(JSON.stringify(u))))," */")),s.styleTagTransform(e,m,s.options)}function c(m){if(m.parentNode===null)return!1;m.parentNode.removeChild(m)}function y(m){if(typeof document=="undefined")return{update:function(){},remove:function(){}};var s=m.insertStyleElement(m);return{update:function(e){d(s,m,e)},remove:function(){c(s)}}}b.exports=y},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/styleTagTransform.js"(b){function d(c,y){if(y.styleSheet)y.styleSheet.cssText=c;else{for(;y.firstChild;)y.removeChild(y.firstChild);y.appendChild(document.createTextNode(c))}}b.exports=d},"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/index.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0}),d.version=d.validate=d.v7=d.v6ToV1=d.v6=d.v5=d.v4=d.v3=d.v1ToV6=d.v1=d.stringify=d.parse=d.NIL=d.MAX=void 0;var y=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/max.js");Object.defineProperty(d,"MAX",{enumerable:!0,get:function(){return y.default}});var m=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/nil.js");Object.defineProperty(d,"NIL",{enumerable:!0,get:function(){return m.default}});var s=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/parse.js");Object.defineProperty(d,"parse",{enumerable:!0,get:function(){return s.default}});var f=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/stringify.js");Object.defineProperty(d,"stringify",{enumerable:!0,get:function(){return f.default}});var e=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/v1.js");Object.defineProperty(d,"v1",{enumerable:!0,get:function(){return e.default}});var v=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/v1ToV6.js");Object.defineProperty(d,"v1ToV6",{enumerable:!0,get:function(){return v.default}});var u=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/v3.js");Object.defineProperty(d,"v3",{enumerable:!0,get:function(){return u.default}});var o=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/v4.js");Object.defineProperty(d,"v4",{enumerable:!0,get:function(){return o.default}});var j=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/v5.js");Object.defineProperty(d,"v5",{enumerable:!0,get:function(){return j.default}});var _=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/v6.js");Object.defineProperty(d,"v6",{enumerable:!0,get:function(){return _.default}});var l=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/v6ToV1.js");Object.defineProperty(d,"v6ToV1",{enumerable:!0,get:function(){return l.default}});var n=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/v7.js");Object.defineProperty(d,"v7",{enumerable:!0,get:function(){return n.default}});var p=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/validate.js");Object.defineProperty(d,"validate",{enumerable:!0,get:function(){return p.default}});var w=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/version.js");Object.defineProperty(d,"version",{enumerable:!0,get:function(){return w.default}})},"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/max.js"(b,d){Object.defineProperty(d,"__esModule",{value:!0}),d.default="ffffffff-ffff-ffff-ffff-ffffffffffff"},"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/md5.js"(b,d){Object.defineProperty(d,"__esModule",{value:!0});function c(n){const p=f(n),w=s(p,n.length*8);return y(w)}function y(n){const p=new Uint8Array(n.length*4);for(let w=0;w<n.length*4;w++)p[w]=n[w>>2]>>>w%4*8&255;return p}function m(n){return(n+64>>>9<<4)+14+1}function s(n,p){const w=new Uint32Array(m(p)).fill(0);w.set(n),w[p>>5]|=128<<p%32,w[w.length-1]=p,n=w;let t=1732584193,i=-271733879,r=-1732584194,a=271733878;for(let g=0;g<n.length;g+=16){const M=t,T=i,O=r,I=a;t=o(t,i,r,a,n[g],7,-680876936),a=o(a,t,i,r,n[g+1],12,-389564586),r=o(r,a,t,i,n[g+2],17,606105819),i=o(i,r,a,t,n[g+3],22,-1044525330),t=o(t,i,r,a,n[g+4],7,-176418897),a=o(a,t,i,r,n[g+5],12,1200080426),r=o(r,a,t,i,n[g+6],17,-1473231341),i=o(i,r,a,t,n[g+7],22,-45705983),t=o(t,i,r,a,n[g+8],7,1770035416),a=o(a,t,i,r,n[g+9],12,-1958414417),r=o(r,a,t,i,n[g+10],17,-42063),i=o(i,r,a,t,n[g+11],22,-1990404162),t=o(t,i,r,a,n[g+12],7,1804603682),a=o(a,t,i,r,n[g+13],12,-40341101),r=o(r,a,t,i,n[g+14],17,-1502002290),i=o(i,r,a,t,n[g+15],22,1236535329),t=j(t,i,r,a,n[g+1],5,-165796510),a=j(a,t,i,r,n[g+6],9,-1069501632),r=j(r,a,t,i,n[g+11],14,643717713),i=j(i,r,a,t,n[g],20,-373897302),t=j(t,i,r,a,n[g+5],5,-701558691),a=j(a,t,i,r,n[g+10],9,38016083),r=j(r,a,t,i,n[g+15],14,-660478335),i=j(i,r,a,t,n[g+4],20,-405537848),t=j(t,i,r,a,n[g+9],5,568446438),a=j(a,t,i,r,n[g+14],9,-1019803690),r=j(r,a,t,i,n[g+3],14,-187363961),i=j(i,r,a,t,n[g+8],20,1163531501),t=j(t,i,r,a,n[g+13],5,-1444681467),a=j(a,t,i,r,n[g+2],9,-51403784),r=j(r,a,t,i,n[g+7],14,1735328473),i=j(i,r,a,t,n[g+12],20,-1926607734),t=_(t,i,r,a,n[g+5],4,-378558),a=_(a,t,i,r,n[g+8],11,-2022574463),r=_(r,a,t,i,n[g+11],16,1839030562),i=_(i,r,a,t,n[g+14],23,-35309556),t=_(t,i,r,a,n[g+1],4,-1530992060),a=_(a,t,i,r,n[g+4],11,1272893353),r=_(r,a,t,i,n[g+7],16,-155497632),i=_(i,r,a,t,n[g+10],23,-1094730640),t=_(t,i,r,a,n[g+13],4,681279174),a=_(a,t,i,r,n[g],11,-358537222),r=_(r,a,t,i,n[g+3],16,-722521979),i=_(i,r,a,t,n[g+6],23,76029189),t=_(t,i,r,a,n[g+9],4,-640364487),a=_(a,t,i,r,n[g+12],11,-421815835),r=_(r,a,t,i,n[g+15],16,530742520),i=_(i,r,a,t,n[g+2],23,-995338651),t=l(t,i,r,a,n[g],6,-198630844),a=l(a,t,i,r,n[g+7],10,1126891415),r=l(r,a,t,i,n[g+14],15,-1416354905),i=l(i,r,a,t,n[g+5],21,-57434055),t=l(t,i,r,a,n[g+12],6,1700485571),a=l(a,t,i,r,n[g+3],10,-1894986606),r=l(r,a,t,i,n[g+10],15,-1051523),i=l(i,r,a,t,n[g+1],21,-2054922799),t=l(t,i,r,a,n[g+8],6,1873313359),a=l(a,t,i,r,n[g+15],10,-30611744),r=l(r,a,t,i,n[g+6],15,-1560198380),i=l(i,r,a,t,n[g+13],21,1309151649),t=l(t,i,r,a,n[g+4],6,-145523070),a=l(a,t,i,r,n[g+11],10,-1120210379),r=l(r,a,t,i,n[g+2],15,718787259),i=l(i,r,a,t,n[g+9],21,-343485551),t=e(t,M),i=e(i,T),r=e(r,O),a=e(a,I)}return Uint32Array.of(t,i,r,a)}function f(n){if(n.length===0)return new Uint32Array;const p=new Uint32Array(m(n.length*8)).fill(0);for(let w=0;w<n.length;w++)p[w>>2]|=(n[w]&255)<<w%4*8;return p}function e(n,p){const w=(n&65535)+(p&65535);return(n>>16)+(p>>16)+(w>>16)<<16|w&65535}function v(n,p){return n<<p|n>>>32-p}function u(n,p,w,t,i,r){return e(v(e(e(p,n),e(t,r)),i),w)}function o(n,p,w,t,i,r,a){return u(p&w|~p&t,n,p,i,r,a)}function j(n,p,w,t,i,r,a){return u(p&t|w&~t,n,p,i,r,a)}function _(n,p,w,t,i,r,a){return u(p^w^t,n,p,i,r,a)}function l(n,p,w,t,i,r,a){return u(w^(p|~t),n,p,i,r,a)}d.default=c},"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/native.js"(b,d){Object.defineProperty(d,"__esModule",{value:!0});const c=typeof crypto!="undefined"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);d.default={randomUUID:c}},"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/nil.js"(b,d){Object.defineProperty(d,"__esModule",{value:!0}),d.default="00000000-0000-0000-0000-000000000000"},"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/parse.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0});const y=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/validate.js");function m(s){if(!(0,y.default)(s))throw TypeError("Invalid UUID");let f;return Uint8Array.of((f=parseInt(s.slice(0,8),16))>>>24,f>>>16&255,f>>>8&255,f&255,(f=parseInt(s.slice(9,13),16))>>>8,f&255,(f=parseInt(s.slice(14,18),16))>>>8,f&255,(f=parseInt(s.slice(19,23),16))>>>8,f&255,(f=parseInt(s.slice(24,36),16))/1099511627776&255,f/4294967296&255,f>>>24&255,f>>>16&255,f>>>8&255,f&255)}d.default=m},"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/regex.js"(b,d){Object.defineProperty(d,"__esModule",{value:!0}),d.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i},"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/rng.js"(b,d){Object.defineProperty(d,"__esModule",{value:!0});let c;const y=new Uint8Array(16);function m(){if(!c){if(typeof crypto=="undefined"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");c=crypto.getRandomValues.bind(crypto)}return c(y)}d.default=m},"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/sha1.js"(b,d){Object.defineProperty(d,"__esModule",{value:!0});function c(s,f,e,v){switch(s){case 0:return f&e^~f&v;case 1:return f^e^v;case 2:return f&e^f&v^e&v;case 3:return f^e^v}}function y(s,f){return s<<f|s>>>32-f}function m(s){const f=[1518500249,1859775393,2400959708,3395469782],e=[1732584193,4023233417,2562383102,271733878,3285377520],v=new Uint8Array(s.length+1);v.set(s),v[s.length]=128,s=v;const u=s.length/4+2,o=Math.ceil(u/16),j=new Array(o);for(let _=0;_<o;++_){const l=new Uint32Array(16);for(let n=0;n<16;++n)l[n]=s[_*64+n*4]<<24|s[_*64+n*4+1]<<16|s[_*64+n*4+2]<<8|s[_*64+n*4+3];j[_]=l}j[o-1][14]=(s.length-1)*8/Math.pow(2,32),j[o-1][14]=Math.floor(j[o-1][14]),j[o-1][15]=(s.length-1)*8&4294967295;for(let _=0;_<o;++_){const l=new Uint32Array(80);for(let r=0;r<16;++r)l[r]=j[_][r];for(let r=16;r<80;++r)l[r]=y(l[r-3]^l[r-8]^l[r-14]^l[r-16],1);let n=e[0],p=e[1],w=e[2],t=e[3],i=e[4];for(let r=0;r<80;++r){const a=Math.floor(r/20),g=y(n,5)+c(a,p,w,t)+i+f[a]+l[r]>>>0;i=t,t=w,w=y(p,30)>>>0,p=n,n=g}e[0]=e[0]+n>>>0,e[1]=e[1]+p>>>0,e[2]=e[2]+w>>>0,e[3]=e[3]+t>>>0,e[4]=e[4]+i>>>0}return Uint8Array.of(e[0]>>24,e[0]>>16,e[0]>>8,e[0],e[1]>>24,e[1]>>16,e[1]>>8,e[1],e[2]>>24,e[2]>>16,e[2]>>8,e[2],e[3]>>24,e[3]>>16,e[3]>>8,e[3],e[4]>>24,e[4]>>16,e[4]>>8,e[4])}d.default=m},"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/stringify.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0}),d.unsafeStringify=void 0;const y=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/validate.js"),m=[];for(let e=0;e<256;++e)m.push((e+256).toString(16).slice(1));function s(e,v=0){return(m[e[v+0]]+m[e[v+1]]+m[e[v+2]]+m[e[v+3]]+"-"+m[e[v+4]]+m[e[v+5]]+"-"+m[e[v+6]]+m[e[v+7]]+"-"+m[e[v+8]]+m[e[v+9]]+"-"+m[e[v+10]]+m[e[v+11]]+m[e[v+12]]+m[e[v+13]]+m[e[v+14]]+m[e[v+15]]).toLowerCase()}d.unsafeStringify=s;function f(e,v=0){const u=s(e,v);if(!(0,y.default)(u))throw TypeError("Stringified UUID is invalid");return u}d.default=f},"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/v1.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0}),d.updateV1State=void 0;const y=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/rng.js"),m=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/stringify.js"),s={};function f(u,o,j){var n,p,w,t;let _;const l=(n=u==null?void 0:u._v6)!=null?n:!1;if(u){const i=Object.keys(u);i.length===1&&i[0]==="_v6"&&(u=void 0)}if(u)_=v((t=(w=u.random)!=null?w:(p=u.rng)==null?void 0:p.call(u))!=null?t:(0,y.default)(),u.msecs,u.nsecs,u.clockseq,u.node,o,j);else{const i=Date.now(),r=(0,y.default)();e(s,i,r),_=v(r,s.msecs,s.nsecs,l?void 0:s.clockseq,l?void 0:s.node,o,j)}return o!=null?o:(0,m.unsafeStringify)(_)}function e(u,o,j){var _,l;return(_=u.msecs)!=null||(u.msecs=-1/0),(l=u.nsecs)!=null||(u.nsecs=0),o===u.msecs?(u.nsecs++,u.nsecs>=1e4&&(u.node=void 0,u.nsecs=0)):o>u.msecs?u.nsecs=0:o<u.msecs&&(u.node=void 0),u.node||(u.node=j.slice(10,16),u.node[0]|=1,u.clockseq=(j[8]<<8|j[9])&16383),u.msecs=o,u}d.updateV1State=e;function v(u,o,j,_,l,n,p=0){if(u.length<16)throw new Error("Random bytes length must be >= 16");if(!n)n=new Uint8Array(16),p=0;else if(p<0||p+16>n.length)throw new RangeError(`UUID byte range ${p}:${p+15} is out of buffer bounds`);o!=null||(o=Date.now()),j!=null||(j=0),_!=null||(_=(u[8]<<8|u[9])&16383),l!=null||(l=u.slice(10,16)),o+=122192928e5;const w=((o&268435455)*1e4+j)%4294967296;n[p++]=w>>>24&255,n[p++]=w>>>16&255,n[p++]=w>>>8&255,n[p++]=w&255;const t=o/4294967296*1e4&268435455;n[p++]=t>>>8&255,n[p++]=t&255,n[p++]=t>>>24&15|16,n[p++]=t>>>16&255,n[p++]=_>>>8|128,n[p++]=_&255;for(let i=0;i<6;++i)n[p++]=l[i];return n}d.default=f},"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/v1ToV6.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0});const y=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/parse.js"),m=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/stringify.js");function s(e){const v=typeof e=="string"?(0,y.default)(e):e,u=f(v);return typeof e=="string"?(0,m.unsafeStringify)(u):u}d.default=s;function f(e){return Uint8Array.of((e[6]&15)<<4|e[7]>>4&15,(e[7]&15)<<4|(e[4]&240)>>4,(e[4]&15)<<4|(e[5]&240)>>4,(e[5]&15)<<4|(e[0]&240)>>4,(e[0]&15)<<4|(e[1]&240)>>4,(e[1]&15)<<4|(e[2]&240)>>4,96|e[2]&15,e[3],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}},"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/v3.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0}),d.URL=d.DNS=void 0;const y=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/md5.js"),m=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/v35.js");var s=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/v35.js");Object.defineProperty(d,"DNS",{enumerable:!0,get:function(){return s.DNS}}),Object.defineProperty(d,"URL",{enumerable:!0,get:function(){return s.URL}});function f(e,v,u,o){return(0,m.default)(48,y.default,e,v,u,o)}f.DNS=m.DNS,f.URL=m.URL,d.default=f},"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/v35.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0}),d.URL=d.DNS=d.stringToBytes=void 0;const y=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/parse.js"),m=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/stringify.js");function s(e){e=unescape(encodeURIComponent(e));const v=new Uint8Array(e.length);for(let u=0;u<e.length;++u)v[u]=e.charCodeAt(u);return v}d.stringToBytes=s,d.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",d.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function f(e,v,u,o,j,_){const l=typeof u=="string"?s(u):u,n=typeof o=="string"?(0,y.default)(o):o;if(typeof o=="string"&&(o=(0,y.default)(o)),(o==null?void 0:o.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let p=new Uint8Array(16+l.length);if(p.set(n),p.set(l,n.length),p=v(p),p[6]=p[6]&15|e,p[8]=p[8]&63|128,j){_=_||0;for(let w=0;w<16;++w)j[_+w]=p[w];return j}return(0,m.unsafeStringify)(p)}d.default=f},"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/v4.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0});const y=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/native.js"),m=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/rng.js"),s=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/stringify.js");function f(e,v,u){var j,_,l;if(y.default.randomUUID&&!v&&!e)return y.default.randomUUID();e=e||{};const o=(l=(_=e.random)!=null?_:(j=e.rng)==null?void 0:j.call(e))!=null?l:(0,m.default)();if(o.length<16)throw new Error("Random bytes length must be >= 16");if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,v){if(u=u||0,u<0||u+16>v.length)throw new RangeError(`UUID byte range ${u}:${u+15} is out of buffer bounds`);for(let n=0;n<16;++n)v[u+n]=o[n];return v}return(0,s.unsafeStringify)(o)}d.default=f},"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/v5.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0}),d.URL=d.DNS=void 0;const y=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/sha1.js"),m=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/v35.js");var s=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/v35.js");Object.defineProperty(d,"DNS",{enumerable:!0,get:function(){return s.DNS}}),Object.defineProperty(d,"URL",{enumerable:!0,get:function(){return s.URL}});function f(e,v,u,o){return(0,m.default)(80,y.default,e,v,u,o)}f.DNS=m.DNS,f.URL=m.URL,d.default=f},"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/v6.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0});const y=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/stringify.js"),m=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/v1.js"),s=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/v1ToV6.js");function f(e,v,u){e!=null||(e={}),u!=null||(u=0);let o=(0,m.default)(P(S({},e),{_v6:!0}),new Uint8Array(16));if(o=(0,s.default)(o),v){for(let j=0;j<16;j++)v[u+j]=o[j];return v}return(0,y.unsafeStringify)(o)}d.default=f},"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/v6ToV1.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0});const y=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/parse.js"),m=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/stringify.js");function s(e){const v=typeof e=="string"?(0,y.default)(e):e,u=f(v);return typeof e=="string"?(0,m.unsafeStringify)(u):u}d.default=s;function f(e){return Uint8Array.of((e[3]&15)<<4|e[4]>>4&15,(e[4]&15)<<4|(e[5]&240)>>4,(e[5]&15)<<4|e[6]&15,e[7],(e[1]&15)<<4|(e[2]&240)>>4,(e[2]&15)<<4|(e[3]&240)>>4,16|(e[0]&240)>>4,(e[0]&15)<<4|(e[1]&240)>>4,e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}},"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/v7.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0}),d.updateV7State=void 0;const y=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/rng.js"),m=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/stringify.js"),s={};function f(u,o,j){var l,n,p;let _;if(u)_=v((p=(n=u.random)!=null?n:(l=u.rng)==null?void 0:l.call(u))!=null?p:(0,y.default)(),u.msecs,u.seq,o,j);else{const w=Date.now(),t=(0,y.default)();e(s,w,t),_=v(t,s.msecs,s.seq,o,j)}return o!=null?o:(0,m.unsafeStringify)(_)}function e(u,o,j){var _,l;return(_=u.msecs)!=null||(u.msecs=-1/0),(l=u.seq)!=null||(u.seq=0),o>u.msecs?(u.seq=j[6]<<23|j[7]<<16|j[8]<<8|j[9],u.msecs=o):(u.seq=u.seq+1|0,u.seq===0&&u.msecs++),u}d.updateV7State=e;function v(u,o,j,_,l=0){if(u.length<16)throw new Error("Random bytes length must be >= 16");if(!_)_=new Uint8Array(16),l=0;else if(l<0||l+16>_.length)throw new RangeError(`UUID byte range ${l}:${l+15} is out of buffer bounds`);return o!=null||(o=Date.now()),j!=null||(j=u[6]*127<<24|u[7]<<16|u[8]<<8|u[9]),_[l++]=o/1099511627776&255,_[l++]=o/4294967296&255,_[l++]=o/16777216&255,_[l++]=o/65536&255,_[l++]=o/256&255,_[l++]=o&255,_[l++]=112|j>>>28&15,_[l++]=j>>>20&255,_[l++]=128|j>>>14&63,_[l++]=j>>>6&255,_[l++]=j<<2&255|u[10]&3,_[l++]=u[11],_[l++]=u[12],_[l++]=u[13],_[l++]=u[14],_[l++]=u[15],_}d.default=f},"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/validate.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0});const y=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/regex.js");function m(s){return typeof s=="string"&&y.default.test(s)}d.default=m},"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/version.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0});const y=c("../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/cjs-browser/validate.js");function m(s){if(!(0,y.default)(s))throw TypeError("Invalid UUID");return parseInt(s.slice(14,15),16)}d.default=m}}]);})();
|
|
1
|
+
"use strict";(()=>{var D=Object.defineProperty,A=Object.defineProperties;var R=Object.getOwnPropertyDescriptors;var h=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable;var U=(b,d,c)=>d in b?D(b,d,{enumerable:!0,configurable:!0,writable:!0,value:c}):b[d]=c,S=(b,d)=>{for(var c in d||(d={}))V.call(d,c)&&U(b,c,d[c]);if(h)for(var c of h(d))L.call(d,c)&&U(b,c,d[c]);return b},P=(b,d)=>A(b,R(d));(self.webpackChunk_sap_ux_ui_components=self.webpackChunk_sap_ux_ui_components||[]).push([[847],{"../../node_modules/.pnpm/css-loader@7.1.4_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/css-loader/dist/runtime/api.js"(b){b.exports=function(d){var c=[];return c.toString=function(){return this.map(function(m){var s="",f=typeof m[5]!="undefined";return m[4]&&(s+="@supports (".concat(m[4],") {")),m[2]&&(s+="@media ".concat(m[2]," {")),f&&(s+="@layer".concat(m[5].length>0?" ".concat(m[5]):""," {")),s+=d(m),f&&(s+="}"),m[2]&&(s+="}"),m[4]&&(s+="}"),s}).join("")},c.i=function(m,s,f,e,v){typeof m=="string"&&(m=[[null,m,void 0]]);var u={};if(f)for(var o=0;o<this.length;o++){var j=this[o][0];j!=null&&(u[j]=!0)}for(var _=0;_<m.length;_++){var l=[].concat(m[_]);f&&u[l[0]]||(typeof v!="undefined"&&(typeof l[5]=="undefined"||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=v),s&&(l[2]&&(l[1]="@media ".concat(l[2]," {").concat(l[1],"}")),l[2]=s),e&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=e):l[4]="".concat(e)),c.push(l))}},c}},"../../node_modules/.pnpm/css-loader@7.1.4_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/css-loader/dist/runtime/noSourceMaps.js"(b){b.exports=function(d){return d[1]}},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"(b){var d=[];function c(s){for(var f=-1,e=0;e<d.length;e++)if(d[e].identifier===s){f=e;break}return f}function w(s,f){for(var e={},v=[],u=0;u<s.length;u++){var o=s[u],j=f.base?o[0]+f.base:o[0],_=e[j]||0,l="".concat(j," ").concat(_);e[j]=_+1;var n=c(l),p={css:o[1],media:o[2],sourceMap:o[3],supports:o[4],layer:o[5]};if(n!==-1)d[n].references++,d[n].updater(p);else{var y=m(p,f);f.byIndex=u,d.splice(u,0,{identifier:l,updater:y,references:1})}v.push(l)}return v}function m(s,f){var e=f.domAPI(f);e.update(s);var v=function(o){if(o){if(o.css===s.css&&o.media===s.media&&o.sourceMap===s.sourceMap&&o.supports===s.supports&&o.layer===s.layer)return;e.update(s=o)}else e.remove()};return v}b.exports=function(s,f){f=f||{},s=s||[];var e=w(s,f);return function(u){u=u||[];for(var o=0;o<e.length;o++){var j=e[o],_=c(j);d[_].references--}for(var l=w(u,f),n=0;n<e.length;n++){var p=e[n],y=c(p);d[y].references===0&&(d[y].updater(),d.splice(y,1))}e=l}}},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/insertBySelector.js"(b){var d={};function c(m){if(typeof d[m]=="undefined"){var s=document.querySelector(m);if(window.HTMLIFrameElement&&s instanceof window.HTMLIFrameElement)try{s=s.contentDocument.head}catch(f){s=null}d[m]=s}return d[m]}function w(m,s){var f=c(m);if(!f)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");f.appendChild(s)}b.exports=w},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/insertStyleElement.js"(b){function d(c){var w=document.createElement("style");return c.setAttributes(w,c.attributes),c.insert(w,c.options),w}b.exports=d},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"(b,d,c){function w(m){var s=c.nc;s&&m.setAttribute("nonce",s)}b.exports=w},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/styleDomAPI.js"(b){function d(m,s,f){var e="";f.supports&&(e+="@supports (".concat(f.supports,") {")),f.media&&(e+="@media ".concat(f.media," {"));var v=typeof f.layer!="undefined";v&&(e+="@layer".concat(f.layer.length>0?" ".concat(f.layer):""," {")),e+=f.css,v&&(e+="}"),f.media&&(e+="}"),f.supports&&(e+="}");var u=f.sourceMap;u&&typeof btoa!="undefined"&&(e+=`
|
|
2
|
+
/*# sourceMappingURL=data:application/json;base64,`.concat(btoa(unescape(encodeURIComponent(JSON.stringify(u))))," */")),s.styleTagTransform(e,m,s.options)}function c(m){if(m.parentNode===null)return!1;m.parentNode.removeChild(m)}function w(m){if(typeof document=="undefined")return{update:function(){},remove:function(){}};var s=m.insertStyleElement(m);return{update:function(e){d(s,m,e)},remove:function(){c(s)}}}b.exports=w},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/styleTagTransform.js"(b){function d(c,w){if(w.styleSheet)w.styleSheet.cssText=c;else{for(;w.firstChild;)w.removeChild(w.firstChild);w.appendChild(document.createTextNode(c))}}b.exports=d},"../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/index.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0}),d.version=d.validate=d.v7=d.v6ToV1=d.v6=d.v5=d.v4=d.v3=d.v1ToV6=d.v1=d.stringify=d.parse=d.NIL=d.MAX=void 0;var w=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/max.js");Object.defineProperty(d,"MAX",{enumerable:!0,get:function(){return w.default}});var m=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/nil.js");Object.defineProperty(d,"NIL",{enumerable:!0,get:function(){return m.default}});var s=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/parse.js");Object.defineProperty(d,"parse",{enumerable:!0,get:function(){return s.default}});var f=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/stringify.js");Object.defineProperty(d,"stringify",{enumerable:!0,get:function(){return f.default}});var e=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/v1.js");Object.defineProperty(d,"v1",{enumerable:!0,get:function(){return e.default}});var v=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/v1ToV6.js");Object.defineProperty(d,"v1ToV6",{enumerable:!0,get:function(){return v.default}});var u=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/v3.js");Object.defineProperty(d,"v3",{enumerable:!0,get:function(){return u.default}});var o=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/v4.js");Object.defineProperty(d,"v4",{enumerable:!0,get:function(){return o.default}});var j=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/v5.js");Object.defineProperty(d,"v5",{enumerable:!0,get:function(){return j.default}});var _=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/v6.js");Object.defineProperty(d,"v6",{enumerable:!0,get:function(){return _.default}});var l=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/v6ToV1.js");Object.defineProperty(d,"v6ToV1",{enumerable:!0,get:function(){return l.default}});var n=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/v7.js");Object.defineProperty(d,"v7",{enumerable:!0,get:function(){return n.default}});var p=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/validate.js");Object.defineProperty(d,"validate",{enumerable:!0,get:function(){return p.default}});var y=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/version.js");Object.defineProperty(d,"version",{enumerable:!0,get:function(){return y.default}})},"../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/max.js"(b,d){Object.defineProperty(d,"__esModule",{value:!0}),d.default="ffffffff-ffff-ffff-ffff-ffffffffffff"},"../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/md5.js"(b,d){Object.defineProperty(d,"__esModule",{value:!0});function c(n){const p=f(n),y=s(p,n.length*8);return w(y)}function w(n){const p=new Uint8Array(n.length*4);for(let y=0;y<n.length*4;y++)p[y]=n[y>>2]>>>y%4*8&255;return p}function m(n){return(n+64>>>9<<4)+14+1}function s(n,p){const y=new Uint32Array(m(p)).fill(0);y.set(n),y[p>>5]|=128<<p%32,y[y.length-1]=p,n=y;let t=1732584193,i=-271733879,r=-1732584194,a=271733878;for(let g=0;g<n.length;g+=16){const M=t,T=i,I=r,O=a;t=o(t,i,r,a,n[g],7,-680876936),a=o(a,t,i,r,n[g+1],12,-389564586),r=o(r,a,t,i,n[g+2],17,606105819),i=o(i,r,a,t,n[g+3],22,-1044525330),t=o(t,i,r,a,n[g+4],7,-176418897),a=o(a,t,i,r,n[g+5],12,1200080426),r=o(r,a,t,i,n[g+6],17,-1473231341),i=o(i,r,a,t,n[g+7],22,-45705983),t=o(t,i,r,a,n[g+8],7,1770035416),a=o(a,t,i,r,n[g+9],12,-1958414417),r=o(r,a,t,i,n[g+10],17,-42063),i=o(i,r,a,t,n[g+11],22,-1990404162),t=o(t,i,r,a,n[g+12],7,1804603682),a=o(a,t,i,r,n[g+13],12,-40341101),r=o(r,a,t,i,n[g+14],17,-1502002290),i=o(i,r,a,t,n[g+15],22,1236535329),t=j(t,i,r,a,n[g+1],5,-165796510),a=j(a,t,i,r,n[g+6],9,-1069501632),r=j(r,a,t,i,n[g+11],14,643717713),i=j(i,r,a,t,n[g],20,-373897302),t=j(t,i,r,a,n[g+5],5,-701558691),a=j(a,t,i,r,n[g+10],9,38016083),r=j(r,a,t,i,n[g+15],14,-660478335),i=j(i,r,a,t,n[g+4],20,-405537848),t=j(t,i,r,a,n[g+9],5,568446438),a=j(a,t,i,r,n[g+14],9,-1019803690),r=j(r,a,t,i,n[g+3],14,-187363961),i=j(i,r,a,t,n[g+8],20,1163531501),t=j(t,i,r,a,n[g+13],5,-1444681467),a=j(a,t,i,r,n[g+2],9,-51403784),r=j(r,a,t,i,n[g+7],14,1735328473),i=j(i,r,a,t,n[g+12],20,-1926607734),t=_(t,i,r,a,n[g+5],4,-378558),a=_(a,t,i,r,n[g+8],11,-2022574463),r=_(r,a,t,i,n[g+11],16,1839030562),i=_(i,r,a,t,n[g+14],23,-35309556),t=_(t,i,r,a,n[g+1],4,-1530992060),a=_(a,t,i,r,n[g+4],11,1272893353),r=_(r,a,t,i,n[g+7],16,-155497632),i=_(i,r,a,t,n[g+10],23,-1094730640),t=_(t,i,r,a,n[g+13],4,681279174),a=_(a,t,i,r,n[g],11,-358537222),r=_(r,a,t,i,n[g+3],16,-722521979),i=_(i,r,a,t,n[g+6],23,76029189),t=_(t,i,r,a,n[g+9],4,-640364487),a=_(a,t,i,r,n[g+12],11,-421815835),r=_(r,a,t,i,n[g+15],16,530742520),i=_(i,r,a,t,n[g+2],23,-995338651),t=l(t,i,r,a,n[g],6,-198630844),a=l(a,t,i,r,n[g+7],10,1126891415),r=l(r,a,t,i,n[g+14],15,-1416354905),i=l(i,r,a,t,n[g+5],21,-57434055),t=l(t,i,r,a,n[g+12],6,1700485571),a=l(a,t,i,r,n[g+3],10,-1894986606),r=l(r,a,t,i,n[g+10],15,-1051523),i=l(i,r,a,t,n[g+1],21,-2054922799),t=l(t,i,r,a,n[g+8],6,1873313359),a=l(a,t,i,r,n[g+15],10,-30611744),r=l(r,a,t,i,n[g+6],15,-1560198380),i=l(i,r,a,t,n[g+13],21,1309151649),t=l(t,i,r,a,n[g+4],6,-145523070),a=l(a,t,i,r,n[g+11],10,-1120210379),r=l(r,a,t,i,n[g+2],15,718787259),i=l(i,r,a,t,n[g+9],21,-343485551),t=e(t,M),i=e(i,T),r=e(r,I),a=e(a,O)}return Uint32Array.of(t,i,r,a)}function f(n){if(n.length===0)return new Uint32Array;const p=new Uint32Array(m(n.length*8)).fill(0);for(let y=0;y<n.length;y++)p[y>>2]|=(n[y]&255)<<y%4*8;return p}function e(n,p){const y=(n&65535)+(p&65535);return(n>>16)+(p>>16)+(y>>16)<<16|y&65535}function v(n,p){return n<<p|n>>>32-p}function u(n,p,y,t,i,r){return e(v(e(e(p,n),e(t,r)),i),y)}function o(n,p,y,t,i,r,a){return u(p&y|~p&t,n,p,i,r,a)}function j(n,p,y,t,i,r,a){return u(p&t|y&~t,n,p,i,r,a)}function _(n,p,y,t,i,r,a){return u(p^y^t,n,p,i,r,a)}function l(n,p,y,t,i,r,a){return u(y^(p|~t),n,p,i,r,a)}d.default=c},"../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/native.js"(b,d){Object.defineProperty(d,"__esModule",{value:!0});const c=typeof crypto!="undefined"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);d.default={randomUUID:c}},"../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/nil.js"(b,d){Object.defineProperty(d,"__esModule",{value:!0}),d.default="00000000-0000-0000-0000-000000000000"},"../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/parse.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0});const w=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/validate.js");function m(s){if(!(0,w.default)(s))throw TypeError("Invalid UUID");let f;return Uint8Array.of((f=parseInt(s.slice(0,8),16))>>>24,f>>>16&255,f>>>8&255,f&255,(f=parseInt(s.slice(9,13),16))>>>8,f&255,(f=parseInt(s.slice(14,18),16))>>>8,f&255,(f=parseInt(s.slice(19,23),16))>>>8,f&255,(f=parseInt(s.slice(24,36),16))/1099511627776&255,f/4294967296&255,f>>>24&255,f>>>16&255,f>>>8&255,f&255)}d.default=m},"../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/regex.js"(b,d){Object.defineProperty(d,"__esModule",{value:!0}),d.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i},"../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/rng.js"(b,d){Object.defineProperty(d,"__esModule",{value:!0});let c;const w=new Uint8Array(16);function m(){if(!c){if(typeof crypto=="undefined"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");c=crypto.getRandomValues.bind(crypto)}return c(w)}d.default=m},"../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/sha1.js"(b,d){Object.defineProperty(d,"__esModule",{value:!0});function c(s,f,e,v){switch(s){case 0:return f&e^~f&v;case 1:return f^e^v;case 2:return f&e^f&v^e&v;case 3:return f^e^v}}function w(s,f){return s<<f|s>>>32-f}function m(s){const f=[1518500249,1859775393,2400959708,3395469782],e=[1732584193,4023233417,2562383102,271733878,3285377520],v=new Uint8Array(s.length+1);v.set(s),v[s.length]=128,s=v;const u=s.length/4+2,o=Math.ceil(u/16),j=new Array(o);for(let _=0;_<o;++_){const l=new Uint32Array(16);for(let n=0;n<16;++n)l[n]=s[_*64+n*4]<<24|s[_*64+n*4+1]<<16|s[_*64+n*4+2]<<8|s[_*64+n*4+3];j[_]=l}j[o-1][14]=(s.length-1)*8/Math.pow(2,32),j[o-1][14]=Math.floor(j[o-1][14]),j[o-1][15]=(s.length-1)*8&4294967295;for(let _=0;_<o;++_){const l=new Uint32Array(80);for(let r=0;r<16;++r)l[r]=j[_][r];for(let r=16;r<80;++r)l[r]=w(l[r-3]^l[r-8]^l[r-14]^l[r-16],1);let n=e[0],p=e[1],y=e[2],t=e[3],i=e[4];for(let r=0;r<80;++r){const a=Math.floor(r/20),g=w(n,5)+c(a,p,y,t)+i+f[a]+l[r]>>>0;i=t,t=y,y=w(p,30)>>>0,p=n,n=g}e[0]=e[0]+n>>>0,e[1]=e[1]+p>>>0,e[2]=e[2]+y>>>0,e[3]=e[3]+t>>>0,e[4]=e[4]+i>>>0}return Uint8Array.of(e[0]>>24,e[0]>>16,e[0]>>8,e[0],e[1]>>24,e[1]>>16,e[1]>>8,e[1],e[2]>>24,e[2]>>16,e[2]>>8,e[2],e[3]>>24,e[3]>>16,e[3]>>8,e[3],e[4]>>24,e[4]>>16,e[4]>>8,e[4])}d.default=m},"../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/stringify.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0}),d.unsafeStringify=void 0;const w=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/validate.js"),m=[];for(let e=0;e<256;++e)m.push((e+256).toString(16).slice(1));function s(e,v=0){return(m[e[v+0]]+m[e[v+1]]+m[e[v+2]]+m[e[v+3]]+"-"+m[e[v+4]]+m[e[v+5]]+"-"+m[e[v+6]]+m[e[v+7]]+"-"+m[e[v+8]]+m[e[v+9]]+"-"+m[e[v+10]]+m[e[v+11]]+m[e[v+12]]+m[e[v+13]]+m[e[v+14]]+m[e[v+15]]).toLowerCase()}d.unsafeStringify=s;function f(e,v=0){const u=s(e,v);if(!(0,w.default)(u))throw TypeError("Stringified UUID is invalid");return u}d.default=f},"../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/v1.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0}),d.updateV1State=void 0;const w=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/rng.js"),m=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/stringify.js"),s={};function f(u,o,j){var n,p,y,t;let _;const l=(n=u==null?void 0:u._v6)!=null?n:!1;if(u){const i=Object.keys(u);i.length===1&&i[0]==="_v6"&&(u=void 0)}if(u)_=v((t=(y=u.random)!=null?y:(p=u.rng)==null?void 0:p.call(u))!=null?t:(0,w.default)(),u.msecs,u.nsecs,u.clockseq,u.node,o,j);else{const i=Date.now(),r=(0,w.default)();e(s,i,r),_=v(r,s.msecs,s.nsecs,l?void 0:s.clockseq,l?void 0:s.node,o,j)}return o!=null?o:(0,m.unsafeStringify)(_)}function e(u,o,j){var _,l;return(_=u.msecs)!=null||(u.msecs=-1/0),(l=u.nsecs)!=null||(u.nsecs=0),o===u.msecs?(u.nsecs++,u.nsecs>=1e4&&(u.node=void 0,u.nsecs=0)):o>u.msecs?u.nsecs=0:o<u.msecs&&(u.node=void 0),u.node||(u.node=j.slice(10,16),u.node[0]|=1,u.clockseq=(j[8]<<8|j[9])&16383),u.msecs=o,u}d.updateV1State=e;function v(u,o,j,_,l,n,p=0){if(u.length<16)throw new Error("Random bytes length must be >= 16");if(!n)n=new Uint8Array(16),p=0;else if(p<0||p+16>n.length)throw new RangeError(`UUID byte range ${p}:${p+15} is out of buffer bounds`);o!=null||(o=Date.now()),j!=null||(j=0),_!=null||(_=(u[8]<<8|u[9])&16383),l!=null||(l=u.slice(10,16)),o+=122192928e5;const y=((o&268435455)*1e4+j)%4294967296;n[p++]=y>>>24&255,n[p++]=y>>>16&255,n[p++]=y>>>8&255,n[p++]=y&255;const t=o/4294967296*1e4&268435455;n[p++]=t>>>8&255,n[p++]=t&255,n[p++]=t>>>24&15|16,n[p++]=t>>>16&255,n[p++]=_>>>8|128,n[p++]=_&255;for(let i=0;i<6;++i)n[p++]=l[i];return n}d.default=f},"../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/v1ToV6.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0});const w=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/parse.js"),m=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/stringify.js");function s(e){const v=typeof e=="string"?(0,w.default)(e):e,u=f(v);return typeof e=="string"?(0,m.unsafeStringify)(u):u}d.default=s;function f(e){return Uint8Array.of((e[6]&15)<<4|e[7]>>4&15,(e[7]&15)<<4|(e[4]&240)>>4,(e[4]&15)<<4|(e[5]&240)>>4,(e[5]&15)<<4|(e[0]&240)>>4,(e[0]&15)<<4|(e[1]&240)>>4,(e[1]&15)<<4|(e[2]&240)>>4,96|e[2]&15,e[3],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}},"../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/v3.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0}),d.URL=d.DNS=void 0;const w=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/md5.js"),m=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/v35.js");var s=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/v35.js");Object.defineProperty(d,"DNS",{enumerable:!0,get:function(){return s.DNS}}),Object.defineProperty(d,"URL",{enumerable:!0,get:function(){return s.URL}});function f(e,v,u,o){return(0,m.default)(48,w.default,e,v,u,o)}f.DNS=m.DNS,f.URL=m.URL,d.default=f},"../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/v35.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0}),d.URL=d.DNS=d.stringToBytes=void 0;const w=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/parse.js"),m=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/stringify.js");function s(e){e=unescape(encodeURIComponent(e));const v=new Uint8Array(e.length);for(let u=0;u<e.length;++u)v[u]=e.charCodeAt(u);return v}d.stringToBytes=s,d.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",d.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function f(e,v,u,o,j,_){const l=typeof u=="string"?s(u):u,n=typeof o=="string"?(0,w.default)(o):o;if(typeof o=="string"&&(o=(0,w.default)(o)),(o==null?void 0:o.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let p=new Uint8Array(16+l.length);if(p.set(n),p.set(l,n.length),p=v(p),p[6]=p[6]&15|e,p[8]=p[8]&63|128,j){if(_=_||0,_<0||_+16>j.length)throw new RangeError(`UUID byte range ${_}:${_+15} is out of buffer bounds`);for(let y=0;y<16;++y)j[_+y]=p[y];return j}return(0,m.unsafeStringify)(p)}d.default=f},"../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/v4.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0});const w=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/native.js"),m=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/rng.js"),s=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/stringify.js");function f(e,v,u){var j,_,l;if(w.default.randomUUID&&!v&&!e)return w.default.randomUUID();e=e||{};const o=(l=(_=e.random)!=null?_:(j=e.rng)==null?void 0:j.call(e))!=null?l:(0,m.default)();if(o.length<16)throw new Error("Random bytes length must be >= 16");if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,v){if(u=u||0,u<0||u+16>v.length)throw new RangeError(`UUID byte range ${u}:${u+15} is out of buffer bounds`);for(let n=0;n<16;++n)v[u+n]=o[n];return v}return(0,s.unsafeStringify)(o)}d.default=f},"../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/v5.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0}),d.URL=d.DNS=void 0;const w=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/sha1.js"),m=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/v35.js");var s=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/v35.js");Object.defineProperty(d,"DNS",{enumerable:!0,get:function(){return s.DNS}}),Object.defineProperty(d,"URL",{enumerable:!0,get:function(){return s.URL}});function f(e,v,u,o){return(0,m.default)(80,w.default,e,v,u,o)}f.DNS=m.DNS,f.URL=m.URL,d.default=f},"../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/v6.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0});const w=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/stringify.js"),m=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/v1.js"),s=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/v1ToV6.js");function f(e,v,u){e!=null||(e={}),u!=null||(u=0);let o=(0,m.default)(P(S({},e),{_v6:!0}),new Uint8Array(16));if(o=(0,s.default)(o),v){if(u<0||u+16>v.length)throw new RangeError(`UUID byte range ${u}:${u+15} is out of buffer bounds`);for(let j=0;j<16;j++)v[u+j]=o[j];return v}return(0,w.unsafeStringify)(o)}d.default=f},"../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/v6ToV1.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0});const w=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/parse.js"),m=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/stringify.js");function s(e){const v=typeof e=="string"?(0,w.default)(e):e,u=f(v);return typeof e=="string"?(0,m.unsafeStringify)(u):u}d.default=s;function f(e){return Uint8Array.of((e[3]&15)<<4|e[4]>>4&15,(e[4]&15)<<4|(e[5]&240)>>4,(e[5]&15)<<4|e[6]&15,e[7],(e[1]&15)<<4|(e[2]&240)>>4,(e[2]&15)<<4|(e[3]&240)>>4,16|(e[0]&240)>>4,(e[0]&15)<<4|(e[1]&240)>>4,e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}},"../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/v7.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0}),d.updateV7State=void 0;const w=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/rng.js"),m=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/stringify.js"),s={};function f(u,o,j){var l,n,p;let _;if(u)_=v((p=(n=u.random)!=null?n:(l=u.rng)==null?void 0:l.call(u))!=null?p:(0,w.default)(),u.msecs,u.seq,o,j);else{const y=Date.now(),t=(0,w.default)();e(s,y,t),_=v(t,s.msecs,s.seq,o,j)}return o!=null?o:(0,m.unsafeStringify)(_)}function e(u,o,j){var _,l;return(_=u.msecs)!=null||(u.msecs=-1/0),(l=u.seq)!=null||(u.seq=0),o>u.msecs?(u.seq=j[6]<<23|j[7]<<16|j[8]<<8|j[9],u.msecs=o):(u.seq=u.seq+1|0,u.seq===0&&u.msecs++),u}d.updateV7State=e;function v(u,o,j,_,l=0){if(u.length<16)throw new Error("Random bytes length must be >= 16");if(!_)_=new Uint8Array(16),l=0;else if(l<0||l+16>_.length)throw new RangeError(`UUID byte range ${l}:${l+15} is out of buffer bounds`);return o!=null||(o=Date.now()),j!=null||(j=u[6]*127<<24|u[7]<<16|u[8]<<8|u[9]),_[l++]=o/1099511627776&255,_[l++]=o/4294967296&255,_[l++]=o/16777216&255,_[l++]=o/65536&255,_[l++]=o/256&255,_[l++]=o&255,_[l++]=112|j>>>28&15,_[l++]=j>>>20&255,_[l++]=128|j>>>14&63,_[l++]=j>>>6&255,_[l++]=j<<2&255|u[10]&3,_[l++]=u[11],_[l++]=u[12],_[l++]=u[13],_[l++]=u[14],_[l++]=u[15],_}d.default=f},"../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/validate.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0});const w=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/regex.js");function m(s){return typeof s=="string"&&w.default.test(s)}d.default=m},"../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/version.js"(b,d,c){Object.defineProperty(d,"__esModule",{value:!0});const w=c("../../node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/cjs-browser/validate.js");function m(s){if(!(0,w.default)(s))throw TypeError("Invalid UUID");return parseInt(s.slice(14,15),16)}d.default=m}}]);})();
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
(()=>{var E=Object.defineProperty,I=Object.defineProperties;var U=Object.getOwnPropertyDescriptors;var v=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;var S=(i,s,_)=>s in i?E(i,s,{enumerable:!0,configurable:!0,writable:!0,value:_}):i[s]=_,b=(i,s)=>{for(var _ in s||(s={}))O.call(s,_)&&S(i,_,s[_]);if(v)for(var _ of v(s))P.call(s,_)&&S(i,_,s[_]);return i},g=(i,s)=>I(i,U(s));(self.webpackChunk_sap_ux_ui_components=self.webpackChunk_sap_ux_ui_components||[]).push([[406],{"../../node_modules/.pnpm/css-loader@7.1.4_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@16.0.7_sass-embedded@1.97.3_sass@1.98.0_webpack@5.105.0_@swc+core@1.15.18_@_31ae7bffeec4c4c96330dc3ad7603369/node_modules/sass-loader/dist/cjs.js!./src/styles/_shadows.scss"(i,s,_){var d=_("../../node_modules/.pnpm/css-loader@7.1.4_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/css-loader/dist/runtime/noSourceMaps.js"),n=_("../../node_modules/.pnpm/css-loader@7.1.4_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/css-loader/dist/runtime/api.js"),o=n(d);o.push([i.id,":root{--ui-box-shadow-small: 0 4px 8px 0 var(--vscode-widget-shadow);--ui-box-shadow-medium: 0 6px 12px 0 var(--vscode-widget-shadow);--ui-box-shadow-large: 0 10px 20px 0 var(--vscode-widget-shadow)}.ui-box-shadow-small{box-shadow:var(--ui-box-shadow-small)}.ui-box-shadow-medium{box-shadow:var(--ui-box-shadow-medium)}.ui-box-shadow-large{box-shadow:var(--ui-box-shadow-large)}",""]),i.exports=o},"../../node_modules/.pnpm/css-loader@7.1.4_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/css-loader/dist/runtime/api.js"(i){"use strict";i.exports=function(s){var _=[];return _.toString=function(){return this.map(function(n){var o="",t=typeof n[5]!="undefined";return n[4]&&(o+="@supports (".concat(n[4],") {")),n[2]&&(o+="@media ".concat(n[2]," {")),t&&(o+="@layer".concat(n[5].length>0?" ".concat(n[5]):""," {")),o+=s(n),t&&(o+="}"),n[2]&&(o+="}"),n[4]&&(o+="}"),o}).join("")},_.i=function(n,o,t,e,r){typeof n=="string"&&(n=[[null,n,void 0]]);var l={};if(t)for(var c=0;c<this.length;c++){var h=this[c][0];h!=null&&(l[h]=!0)}for(var u=0;u<n.length;u++){var a=[].concat(n[u]);t&&l[a[0]]||(typeof r!="undefined"&&(typeof a[5]=="undefined"||(a[1]="@layer".concat(a[5].length>0?" ".concat(a[5]):""," {").concat(a[1],"}")),a[5]=r),o&&(a[2]&&(a[1]="@media ".concat(a[2]," {").concat(a[1],"}")),a[2]=o),e&&(a[4]?(a[1]="@supports (".concat(a[4],") {").concat(a[1],"}"),a[4]=e):a[4]="".concat(e)),_.push(a))}},_}},"../../node_modules/.pnpm/css-loader@7.1.4_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/css-loader/dist/runtime/noSourceMaps.js"(i){"use strict";i.exports=function(s){return s[1]}},"./src/styles/_shadows.scss"(i,s,_){"use strict";_.r(s),_.d(s,{default:()=>C});var d=_("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),n=_.n(d),o=_("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/styleDomAPI.js"),t=_.n(o),e=_("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/insertBySelector.js"),r=_.n(e),l=_("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),c=_.n(l),h=_("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/insertStyleElement.js"),u=_.n(h),a=_("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/styleTagTransform.js"),m=_.n(a),f=_("../../node_modules/.pnpm/css-loader@7.1.4_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@16.0.7_sass-embedded@1.97.3_sass@1.98.0_webpack@5.105.0_@swc+core@1.15.18_@_31ae7bffeec4c4c96330dc3ad7603369/node_modules/sass-loader/dist/cjs.js!./src/styles/_shadows.scss"),p=_.n(f),T={};for(const w in f)w!=="default"&&(T[w]=()=>f[w]);_.d(s,T);var y={};y.styleTagTransform=m(),y.setAttributes=c(),y.insert=r().bind(null,"head"),y.domAPI=t(),y.insertStyleElement=u();var L=n()(p(),y);const C=p()&&p().locals?p().locals:void 0},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"(i){"use strict";var s=[];function _(o){for(var t=-1,e=0;e<s.length;e++)if(s[e].identifier===o){t=e;break}return t}function d(o,t){for(var e={},r=[],l=0;l<o.length;l++){var c=o[l],h=t.base?c[0]+t.base:c[0],u=e[h]||0,a="".concat(h," ").concat(u);e[h]=u+1;var m=_(a),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(m!==-1)s[m].references++,s[m].updater(f);else{var p=n(f,t);t.byIndex=l,s.splice(l,0,{identifier:a,updater:p,references:1})}r.push(a)}return r}function n(o,t){var e=t.domAPI(t);e.update(o);var r=function(c){if(c){if(c.css===o.css&&c.media===o.media&&c.sourceMap===o.sourceMap&&c.supports===o.supports&&c.layer===o.layer)return;e.update(o=c)}else e.remove()};return r}i.exports=function(o,t){t=t||{},o=o||[];var e=d(o,t);return function(l){l=l||[];for(var c=0;c<e.length;c++){var h=e[c],u=_(h);s[u].references--}for(var a=d(l,t),m=0;m<e.length;m++){var f=e[m],p=_(f);s[p].references===0&&(s[p].updater(),s.splice(p,1))}e=a}}},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/insertBySelector.js"(i){"use strict";var s={};function _(n){if(typeof s[n]=="undefined"){var o=document.querySelector(n);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(t){o=null}s[n]=o}return s[n]}function d(n,o){var t=_(n);if(!t)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");t.appendChild(o)}i.exports=d},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/insertStyleElement.js"(i){"use strict";function s(_){var d=document.createElement("style");return _.setAttributes(d,_.attributes),_.insert(d,_.options),d}i.exports=s},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"(i,s,_){"use strict";function d(n){var o=_.nc;o&&n.setAttribute("nonce",o)}i.exports=d},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/styleDomAPI.js"(i){"use strict";function s(n,o,t){var e="";t.supports&&(e+="@supports (".concat(t.supports,") {")),t.media&&(e+="@media ".concat(t.media," {"));var r=typeof t.layer!="undefined";r&&(e+="@layer".concat(t.layer.length>0?" ".concat(t.layer):""," {")),e+=t.css,r&&(e+="}"),t.media&&(e+="}"),t.supports&&(e+="}");var l=t.sourceMap;l&&typeof btoa!="undefined"&&(e+=`
|
|
2
|
-
/*# sourceMappingURL=data:application/json;base64,`.concat(btoa(unescape(encodeURIComponent(JSON.stringify(l))))," */")),o.styleTagTransform(e,n,o.options)}function _(n){if(n.parentNode===null)return!1;n.parentNode.removeChild(n)}function d(n){if(typeof document=="undefined")return{update:function(){},remove:function(){}};var o=n.insertStyleElement(n);return{update:function(e){s(o,n,e)},remove:function(){_(o)}}}i.exports=d},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/styleTagTransform.js"(i){"use strict";function s(_,d){if(d.styleSheet)d.styleSheet.cssText=_;else{for(;d.firstChild;)d.removeChild(d.firstChild);d.appendChild(document.createTextNode(_))}}i.exports=s},"./src/components/UICallout/CalloutCollisionTransform.ts"(i,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.CalloutCollisionTransform=void 0;const _={target:".ms-Dialog-actions",container:".ms-Dialog-main",absolute:!0,minPagePadding:10},d=20;class n{constructor(t,e,r=_){this.originalStyle={},this.source=t,this.callout=e,this.props=r,this.applyTransformation=this.applyTransformation.bind(this),this.resetTransformation=this.resetTransformation.bind(this),this.preventDismissOnEvent=this.preventDismissOnEvent.bind(this)}createPlaceholder(t){const e=document.createElement("div");return e.classList.add("ts-Callout-transformation"),e.style.height=`${t}px`,e}getElements(){const t=this.source.current,e=t==null?void 0:t.closest(this.props.container);if(e&&t){const r=e==null?void 0:e.querySelector(this.props.target);if(r){const l={container:{dom:e,rect:e.getBoundingClientRect()},target:{dom:r,rect:r.getBoundingClientRect()},source:{dom:t,rect:t.getBoundingClientRect()}},c=this.callout.current;return c&&(l.callout={dom:c,rect:c.getBoundingClientRect()}),l}}}applyTransformation(){const t=this.getElements();if(!t)return;const{container:e,target:r,callout:l,source:c}=t;if(l){const h=window.innerHeight-_.minPagePadding,u=l.rect.height,a=c.rect.bottom;let m=a+u-r.rect.top,f=a+l.rect.height;if(m<=0||f>=h)return;if(f+=r.rect.height,f<=h&&(m+=d),this.props.absolute){const p=e.dom.style;this.originalStyle={transform:p.transform,position:p.position,top:p.top,left:p.left},p.transform="",p.position="absolute",p.top=`${e.rect.top}px`,p.left=`${e.rect.left}px`}this.placeholder=this.createPlaceholder(m),r.dom.prepend(this.placeholder)}}resetTransformation(){const t=this.getElements();if(!t)return;const{container:e}=t;for(const r in this.originalStyle){const l=this.originalStyle[r];typeof l=="string"&&(e.dom.style[r]=l)}this.originalStyle={},this.placeholder&&(this.placeholder.remove(),this.placeholder=void 0)}preventDismissOnEvent(t){const e=this.getElements();return!!(t.type==="focus"&&(e!=null&&e.target.dom.contains(t.target)))}}s.CalloutCollisionTransform=n},"./src/components/UICallout/UICallout.tsx"(i,s,_){"use strict";var d=this&&this.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(s,"__esModule",{value:!0}),s.UICallout=s.getCalloutStyle=s.UICalloutContentPadding=s.CALLOUT_STYLES=void 0;const n=d(_("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),o=_("../../node_modules/.pnpm/@fluentui+react@8.125.5_@types+react-dom@16.9.25_@types+react@16.14.69__@types+react@16_64874192b7cfaa3fe7ac389bc8c185b1/node_modules/@fluentui/react/lib-commonjs/index.js"),t=_("./src/utilities/index.ts");_("./src/styles/_shadows.scss"),s.CALLOUT_STYLES={background:"var(--vscode-editorWidget-background)",boxShadow:"var(--ui-box-shadow-small)",borderColor:"var(--vscode-editorWidget-border)",text:"var(--vscode-editorWidget-foreground)",borderRadius:4};var e;(function(u){u.None="None",u.Standard="Standard"})(e||(s.UICalloutContentPadding=e={}));const r=new Map([[e.Standard,8]]),l=(u,a)=>typeof u=="object"&&typeof u[a]=="object"?u[a]:{},c=u=>{var a,m;return{root:b({boxShadow:s.CALLOUT_STYLES.boxShadow,backgroundColor:s.CALLOUT_STYLES.background,borderRadius:s.CALLOUT_STYLES.borderRadius,border:`1px solid ${s.CALLOUT_STYLES.borderColor}`},l(u.styles,"root")),beak:b({backgroundColor:s.CALLOUT_STYLES.background,boxShadow:s.CALLOUT_STYLES.boxShadow},l(u.styles,"beak")),beakCurtain:b({backgroundColor:s.CALLOUT_STYLES.background,borderRadius:s.CALLOUT_STYLES.borderRadius},l(u.styles,"beakCurtain")),calloutMain:b({backgroundColor:"transparent",color:s.CALLOUT_STYLES.text,borderRadius:s.CALLOUT_STYLES.borderRadius,minWidth:(a=u.calloutMinWidth)!=null?a:300,boxSizing:"border-box",padding:r.get((m=u.contentPadding)!=null?m:e.None)},l(u.styles,"calloutMain")),container:l(u.styles,"container")}};s.getCalloutStyle=c;class h extends n.default.Component{constructor(a){super(a),this.onKeyDown=this.onKeyDown.bind(this)}onKeyDown(a){const{onKeyDown:m,focusTargetSiblingOnTabPress:f,target:p}=this.props;if(f&&a.key==="Tab"&&p){let T=null;if(typeof p=="string"){const y=(0,o.getDocument)();T=y==null?void 0:y.querySelector(p)}else"getBoundingClientRect"in p&&(0,t.isHTMLElement)(p)&&(T=p);T&&(0,t.focusToSibling)(T,!a.shiftKey)&&(a.stopPropagation(),a.preventDefault())}m==null||m(a)}render(){return n.default.createElement(o.Callout,g(b({},this.props),{onKeyDown:this.onKeyDown,styles:(0,s.getCalloutStyle)(this.props)}),this.props.children)}}s.UICallout=h},"./src/components/UICallout/index.tsx"(i,s,_){"use strict";var d=this&&this.__createBinding||(Object.create?(function(o,t,e,r){r===void 0&&(r=e);var l=Object.getOwnPropertyDescriptor(t,e);(!l||("get"in l?!t.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(o,r,l)}):(function(o,t,e,r){r===void 0&&(r=e),o[r]=t[e]})),n=this&&this.__exportStar||function(o,t){for(var e in o)e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e)&&d(t,o,e)};Object.defineProperty(s,"__esModule",{value:!0}),n(_("./src/components/UICallout/CalloutCollisionTransform.ts"),s),n(_("./src/components/UICallout/UICallout.tsx"),s)},"./src/components/UITooltip/UITooltip.tsx"(i,s,_){"use strict";var d=this&&this.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(s,"__esModule",{value:!0}),s.UITooltip=s.UITooltipDelay=void 0;const n=d(_("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),o=_("../../node_modules/.pnpm/@fluentui+react@8.125.5_@types+react-dom@16.9.25_@types+react@16.14.69__@types+react@16_64874192b7cfaa3fe7ac389bc8c185b1/node_modules/@fluentui/react/lib-commonjs/index.js");Object.defineProperty(s,"UITooltipDelay",{enumerable:!0,get:function(){return o.TooltipDelay}});const t=_("./src/components/UICallout/index.tsx");class e extends n.default.Component{constructor(l){super(l)}render(){var m;const l=(m=this.props.maxWidth)!=null?m:200,c=()=>b({root:{display:"inline-block"},content:{backgroundColor:t.CALLOUT_STYLES.background,color:t.CALLOUT_STYLES.text}},this.props.styles),u={beakWidth:10,styles:()=>(0,t.getCalloutStyle)({calloutMinWidth:0,styles:{root:{display:"inline-block"},calloutMain:{padding:10,maxWidth:l}}})},a=n.default.createElement(o.TooltipHost,g(b({},this.props),{styles:c,calloutProps:b(b({},u),this.props.calloutProps)}));return this.props.showOnFocus?a:n.default.createElement("div",{onFocusCapture:f=>{var p;(p=f.target.parentElement)!=null&&p.classList.contains("ms-TooltipHost")&&f.stopPropagation()}},a)}}s.UITooltip=e},"./src/components/UITooltip/UITooltipUtils.tsx"(i,s,_){"use strict";var d=this&&this.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(s,"__esModule",{value:!0}),s.UITooltipUtils=void 0;const n=d(_("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),o=d(_("../../node_modules/.pnpm/sanitize-html@2.17.3/node_modules/sanitize-html/index.js")),t=_("./src/components/UICallout/index.tsx");class e{static getStyles(){return{root:{},content:{background:t.CALLOUT_STYLES.background,color:t.CALLOUT_STYLES.text},subText:{}}}static renderContent(l){return{onRenderContent:()=>n.default.createElement("span",null,l!=null?l:""),styles:e.getStyles()}}static renderHTMLContent(l){const c=(0,o.default)(l);return{onRenderContent:()=>n.default.createElement("span",{dangerouslySetInnerHTML:{__html:c}}),styles:e.getStyles()}}}s.UITooltipUtils=e},"./src/components/UITooltip/index.tsx"(i,s,_){"use strict";var d=this&&this.__createBinding||(Object.create?(function(o,t,e,r){r===void 0&&(r=e);var l=Object.getOwnPropertyDescriptor(t,e);(!l||("get"in l?!t.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(o,r,l)}):(function(o,t,e,r){r===void 0&&(r=e),o[r]=t[e]})),n=this&&this.__exportStar||function(o,t){for(var e in o)e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e)&&d(t,o,e)};Object.defineProperty(s,"__esModule",{value:!0}),n(_("./src/components/UITooltip/UITooltip.tsx"),s),n(_("./src/components/UITooltip/UITooltipUtils.tsx"),s)},"./stories/UITooltip.story.tsx"(i,s,_){"use strict";var d=this&&this.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(s,"__esModule",{value:!0}),s.Tooltips=void 0;const n=d(_("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),o=_("./src/components/UITooltip/index.tsx"),t=_("./src/components/UIButton/index.tsx");s.default={title:"Dropdowns/Tooltip"};const e={name:"Hello, world!",html:"<span><strong>Tag:</strong> name</span>"},r=()=>n.default.createElement(n.default.Fragment,null,n.default.createElement("div",{style:{margin:20}},n.default.createElement(o.UITooltip,{tooltipProps:o.UITooltipUtils.renderContent(e.name)},e.name)),n.default.createElement("div",{style:{margin:20}},n.default.createElement(o.UITooltip,{tooltipProps:o.UITooltipUtils.renderHTMLContent(e.html)},"render HTML content")),n.default.createElement("div",null,n.default.createElement(o.UITooltip,{content:"This is the tooltip"},n.default.createElement(t.UIDefaultButton,null,"Show tooltip on hover and ignore focus"))),n.default.createElement("div",null,n.default.createElement(o.UITooltip,{content:"This is the tooltip",showOnFocus:!0},n.default.createElement(t.UIDefaultButton,null,"Show tooltip on hover and on focus"))));s.Tooltips=r},"?eacb"(){},"?9bff"(){},"?3e29"(){},"?3536"(){},"?5786"(){}}]);})();
|
|
2
|
+
/*# sourceMappingURL=data:application/json;base64,`.concat(btoa(unescape(encodeURIComponent(JSON.stringify(l))))," */")),o.styleTagTransform(e,n,o.options)}function _(n){if(n.parentNode===null)return!1;n.parentNode.removeChild(n)}function d(n){if(typeof document=="undefined")return{update:function(){},remove:function(){}};var o=n.insertStyleElement(n);return{update:function(e){s(o,n,e)},remove:function(){_(o)}}}i.exports=d},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.105.0_@swc+core@1.15.18_@swc+helpers@0.5.19__esbuild@0.27.4_/node_modules/style-loader/dist/runtime/styleTagTransform.js"(i){"use strict";function s(_,d){if(d.styleSheet)d.styleSheet.cssText=_;else{for(;d.firstChild;)d.removeChild(d.firstChild);d.appendChild(document.createTextNode(_))}}i.exports=s},"./src/components/UICallout/CalloutCollisionTransform.ts"(i,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.CalloutCollisionTransform=void 0;const _={target:".ms-Dialog-actions",container:".ms-Dialog-main",absolute:!0,minPagePadding:10},d=20;class n{constructor(t,e,r=_){this.originalStyle={},this.source=t,this.callout=e,this.props=r,this.applyTransformation=this.applyTransformation.bind(this),this.resetTransformation=this.resetTransformation.bind(this),this.preventDismissOnEvent=this.preventDismissOnEvent.bind(this)}createPlaceholder(t){const e=document.createElement("div");return e.classList.add("ts-Callout-transformation"),e.style.height=`${t}px`,e}getElements(){const t=this.source.current,e=t==null?void 0:t.closest(this.props.container);if(e&&t){const r=e==null?void 0:e.querySelector(this.props.target);if(r){const l={container:{dom:e,rect:e.getBoundingClientRect()},target:{dom:r,rect:r.getBoundingClientRect()},source:{dom:t,rect:t.getBoundingClientRect()}},c=this.callout.current;return c&&(l.callout={dom:c,rect:c.getBoundingClientRect()}),l}}}applyTransformation(){const t=this.getElements();if(!t)return;const{container:e,target:r,callout:l,source:c}=t;if(l){const h=window.innerHeight-_.minPagePadding,u=l.rect.height,a=c.rect.bottom;let m=a+u-r.rect.top,f=a+l.rect.height;if(m<=0||f>=h)return;if(f+=r.rect.height,f<=h&&(m+=d),this.props.absolute){const p=e.dom.style;this.originalStyle={transform:p.transform,position:p.position,top:p.top,left:p.left},p.transform="",p.position="absolute",p.top=`${e.rect.top}px`,p.left=`${e.rect.left}px`}this.placeholder=this.createPlaceholder(m),r.dom.prepend(this.placeholder)}}resetTransformation(){const t=this.getElements();if(!t)return;const{container:e}=t;for(const r in this.originalStyle){const l=this.originalStyle[r];typeof l=="string"&&(e.dom.style[r]=l)}this.originalStyle={},this.placeholder&&(this.placeholder.remove(),this.placeholder=void 0)}preventDismissOnEvent(t){const e=this.getElements();return!!(t.type==="focus"&&(e!=null&&e.target.dom.contains(t.target)))}}s.CalloutCollisionTransform=n},"./src/components/UICallout/UICallout.tsx"(i,s,_){"use strict";var d=this&&this.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(s,"__esModule",{value:!0}),s.UICallout=s.getCalloutStyle=s.UICalloutContentPadding=s.CALLOUT_STYLES=void 0;const n=d(_("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),o=_("../../node_modules/.pnpm/@fluentui+react@8.125.5_@types+react-dom@16.9.25_@types+react@16.14.69__@types+react@16_64874192b7cfaa3fe7ac389bc8c185b1/node_modules/@fluentui/react/lib-commonjs/index.js"),t=_("./src/utilities/index.ts");_("./src/styles/_shadows.scss"),s.CALLOUT_STYLES={background:"var(--vscode-editorWidget-background)",boxShadow:"var(--ui-box-shadow-small)",borderColor:"var(--vscode-editorWidget-border)",text:"var(--vscode-editorWidget-foreground)",borderRadius:4};var e;(function(u){u.None="None",u.Standard="Standard"})(e||(s.UICalloutContentPadding=e={}));const r=new Map([[e.Standard,8]]),l=(u,a)=>typeof u=="object"&&typeof u[a]=="object"?u[a]:{},c=u=>{var a,m;return{root:b({boxShadow:s.CALLOUT_STYLES.boxShadow,backgroundColor:s.CALLOUT_STYLES.background,borderRadius:s.CALLOUT_STYLES.borderRadius,border:`1px solid ${s.CALLOUT_STYLES.borderColor}`},l(u.styles,"root")),beak:b({backgroundColor:s.CALLOUT_STYLES.background,boxShadow:s.CALLOUT_STYLES.boxShadow},l(u.styles,"beak")),beakCurtain:b({backgroundColor:s.CALLOUT_STYLES.background,borderRadius:s.CALLOUT_STYLES.borderRadius},l(u.styles,"beakCurtain")),calloutMain:b({backgroundColor:"transparent",color:s.CALLOUT_STYLES.text,borderRadius:s.CALLOUT_STYLES.borderRadius,minWidth:(a=u.calloutMinWidth)!=null?a:300,boxSizing:"border-box",padding:r.get((m=u.contentPadding)!=null?m:e.None)},l(u.styles,"calloutMain")),container:l(u.styles,"container")}};s.getCalloutStyle=c;class h extends n.default.Component{constructor(a){super(a),this.onKeyDown=this.onKeyDown.bind(this)}onKeyDown(a){const{onKeyDown:m,focusTargetSiblingOnTabPress:f,target:p}=this.props;if(f&&a.key==="Tab"&&p){let T=null;if(typeof p=="string"){const y=(0,o.getDocument)();T=y==null?void 0:y.querySelector(p)}else"getBoundingClientRect"in p&&(0,t.isHTMLElement)(p)&&(T=p);T&&(0,t.focusToSibling)(T,!a.shiftKey)&&(a.stopPropagation(),a.preventDefault())}m==null||m(a)}render(){return n.default.createElement(o.Callout,g(b({},this.props),{onKeyDown:this.onKeyDown,styles:(0,s.getCalloutStyle)(this.props)}),this.props.children)}}s.UICallout=h},"./src/components/UICallout/index.tsx"(i,s,_){"use strict";var d=this&&this.__createBinding||(Object.create?(function(o,t,e,r){r===void 0&&(r=e);var l=Object.getOwnPropertyDescriptor(t,e);(!l||("get"in l?!t.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(o,r,l)}):(function(o,t,e,r){r===void 0&&(r=e),o[r]=t[e]})),n=this&&this.__exportStar||function(o,t){for(var e in o)e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e)&&d(t,o,e)};Object.defineProperty(s,"__esModule",{value:!0}),n(_("./src/components/UICallout/CalloutCollisionTransform.ts"),s),n(_("./src/components/UICallout/UICallout.tsx"),s)},"./src/components/UITooltip/UITooltip.tsx"(i,s,_){"use strict";var d=this&&this.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(s,"__esModule",{value:!0}),s.UITooltip=s.UITooltipDelay=void 0;const n=d(_("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),o=_("../../node_modules/.pnpm/@fluentui+react@8.125.5_@types+react-dom@16.9.25_@types+react@16.14.69__@types+react@16_64874192b7cfaa3fe7ac389bc8c185b1/node_modules/@fluentui/react/lib-commonjs/index.js");Object.defineProperty(s,"UITooltipDelay",{enumerable:!0,get:function(){return o.TooltipDelay}});const t=_("./src/components/UICallout/index.tsx");class e extends n.default.Component{constructor(l){super(l)}render(){var m;const l=(m=this.props.maxWidth)!=null?m:200,c=()=>b({root:{display:"inline-block"},content:{backgroundColor:t.CALLOUT_STYLES.background,color:t.CALLOUT_STYLES.text}},this.props.styles),u={beakWidth:10,styles:()=>(0,t.getCalloutStyle)({calloutMinWidth:0,styles:{root:{display:"inline-block"},calloutMain:{padding:10,maxWidth:l}}})},a=n.default.createElement(o.TooltipHost,g(b({},this.props),{styles:c,calloutProps:b(b({},u),this.props.calloutProps)}));return this.props.showOnFocus?a:n.default.createElement("div",{onFocusCapture:f=>{var p;(p=f.target.parentElement)!=null&&p.classList.contains("ms-TooltipHost")&&f.stopPropagation()}},a)}}s.UITooltip=e},"./src/components/UITooltip/UITooltipUtils.tsx"(i,s,_){"use strict";var d=this&&this.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(s,"__esModule",{value:!0}),s.UITooltipUtils=void 0;const n=d(_("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),o=d(_("../../node_modules/.pnpm/sanitize-html@2.17.3/node_modules/sanitize-html/index.js")),t=_("./src/components/UICallout/index.tsx");class e{static getStyles(){return{root:{},content:{background:t.CALLOUT_STYLES.background,color:t.CALLOUT_STYLES.text},subText:{}}}static renderContent(l){return{onRenderContent:()=>n.default.createElement("span",null,l!=null?l:""),styles:e.getStyles()}}static renderHTMLContent(l){const c=(0,o.default)(l);return{onRenderContent:()=>n.default.createElement("span",{dangerouslySetInnerHTML:{__html:c}}),styles:e.getStyles()}}}s.UITooltipUtils=e},"./src/components/UITooltip/index.tsx"(i,s,_){"use strict";var d=this&&this.__createBinding||(Object.create?(function(o,t,e,r){r===void 0&&(r=e);var l=Object.getOwnPropertyDescriptor(t,e);(!l||("get"in l?!t.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(o,r,l)}):(function(o,t,e,r){r===void 0&&(r=e),o[r]=t[e]})),n=this&&this.__exportStar||function(o,t){for(var e in o)e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e)&&d(t,o,e)};Object.defineProperty(s,"__esModule",{value:!0}),n(_("./src/components/UITooltip/UITooltip.tsx"),s),n(_("./src/components/UITooltip/UITooltipUtils.tsx"),s)},"./stories/UITooltip.story.tsx"(i,s,_){"use strict";var d=this&&this.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(s,"__esModule",{value:!0}),s.Tooltips=void 0;const n=d(_("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),o=_("./src/components/UITooltip/index.tsx"),t=_("./src/components/UIButton/index.tsx");s.default={title:"Dropdowns/Tooltip"};const e={name:"Hello, world!",html:"<span><strong>Tag:</strong> name</span>"},r=()=>n.default.createElement(n.default.Fragment,null,n.default.createElement("div",{style:{margin:20}},n.default.createElement(o.UITooltip,{tooltipProps:o.UITooltipUtils.renderContent(e.name)},e.name)),n.default.createElement("div",{style:{margin:20}},n.default.createElement(o.UITooltip,{tooltipProps:o.UITooltipUtils.renderHTMLContent(e.html)},"render HTML content")),n.default.createElement("div",null,n.default.createElement(o.UITooltip,{content:"This is the tooltip"},n.default.createElement(t.UIDefaultButton,null,"Show tooltip on hover and ignore focus"))),n.default.createElement("div",null,n.default.createElement(o.UITooltip,{content:"This is the tooltip",showOnFocus:!0},n.default.createElement(t.UIDefaultButton,null,"Show tooltip on hover and on focus"))));s.Tooltips=r},"?7fe3"(){},"?3c7c"(){},"?4367"(){},"?2a84"(){},"?cecd"(){}}]);})();
|
package/storybook/iframe.html
CHANGED
|
@@ -520,8 +520,8 @@
|
|
|
520
520
|
window['TAGS_OPTIONS'] = {"dev-only":{"excludeFromDocsStories":true},"docs-only":{"excludeFromSidebar":true},"test-only":{"excludeFromSidebar":true,"excludeFromDocsStories":true}};</script><script type="module">import './sb-preview/runtime.js';
|
|
521
521
|
|
|
522
522
|
|
|
523
|
-
import './runtime~main.
|
|
523
|
+
import './runtime~main.cc402522.iframe.bundle.js';
|
|
524
524
|
|
|
525
525
|
import './714.151a8a88.iframe.bundle.js';
|
|
526
526
|
|
|
527
|
-
import './main.
|
|
527
|
+
import './main.817cdb36.iframe.bundle.js';</script></body></html>
|