@sap-ux/ui-components 1.17.2 → 1.17.3
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/UIComboBox/UIComboBox.js +2 -2
- package/dist/components/UIComboBox/UIComboBox.js.map +1 -1
- package/package.json +2 -2
- package/storybook/{423.4134aba7.iframe.bundle.js → 125.46be9266.iframe.bundle.js} +1 -1
- package/storybook/{825.c957cb53.iframe.bundle.js → 217.a4fe3cf8.iframe.bundle.js} +1 -1
- package/storybook/336.0ca2c0c2.iframe.bundle.js +42 -0
- package/storybook/{282.f944c8cc.iframe.bundle.js → 416.9574d416.iframe.bundle.js} +1 -1
- package/storybook/{582.f9be877b.iframe.bundle.js → 454.2a9a7de4.iframe.bundle.js} +1 -1
- package/storybook/{722.e444dbcf.iframe.bundle.js → 491.1fffea9b.iframe.bundle.js} +1 -1
- package/storybook/589.c64b5c08.iframe.bundle.js +1 -0
- package/storybook/{312.a83b5ae0.iframe.bundle.js → 690.42cf7065.iframe.bundle.js} +1 -1
- package/storybook/{237.6b2a7e58.iframe.bundle.js → 871.464dbe9f.iframe.bundle.js} +1 -1
- package/storybook/{816.34d52956.iframe.bundle.js → 917.e36fe354.iframe.bundle.js} +1 -1
- package/storybook/{803.b2a70f68.iframe.bundle.js → 921.a72c9992.iframe.bundle.js} +1 -1
- package/storybook/{822.1ed6a18d.iframe.bundle.js → 930.e02946e7.iframe.bundle.js} +1 -1
- package/storybook/{190.5e34091d.iframe.bundle.js → 988.55289599.iframe.bundle.js} +1 -1
- package/storybook/{UIActionCallout-story.81a62ffb.iframe.bundle.js → UIActionCallout-story.cd9a4beb.iframe.bundle.js} +2 -2
- package/storybook/{UIButton-story.b92dd831.iframe.bundle.js → UIButton-story.6d8e1074.iframe.bundle.js} +2 -2
- package/storybook/{UICallout-story.6498d07b.iframe.bundle.js → UICallout-story.7cd26cda.iframe.bundle.js} +2 -2
- package/storybook/{UICheckbox-story.694825ef.iframe.bundle.js → UICheckbox-story.dcd576b7.iframe.bundle.js} +2 -2
- package/storybook/{UIContextualMenu-story.54698e37.iframe.bundle.js → UIContextualMenu-story.255e5622.iframe.bundle.js} +2 -2
- package/storybook/{UICreateSelect-story.624abe8c.iframe.bundle.js → UICreateSelect-story.add34304.iframe.bundle.js} +2 -2
- package/storybook/{UIDatePicker-story.6e599844.iframe.bundle.js → UIDatePicker-story.6dc50d40.iframe.bundle.js} +2 -2
- package/storybook/{UIDialog-story.e7e25bde.iframe.bundle.js → UIDialog-story.f1ca99dd.iframe.bundle.js} +2 -2
- package/storybook/{UIIcon-story.726955aa.iframe.bundle.js → UIIcon-story.501aaad6.iframe.bundle.js} +2 -2
- package/storybook/{UILoader-story.6fd13b4d.iframe.bundle.js → UILoader-story.20aa84cf.iframe.bundle.js} +2 -2
- package/storybook/{UISections-story.db1b1f4f.iframe.bundle.js → UISections-story.facfd664.iframe.bundle.js} +2 -2
- package/storybook/{UITextInput-story.1efe9488.iframe.bundle.js → UITextInput-story.094d2f36.iframe.bundle.js} +2 -2
- package/storybook/{UIToggle-story.db115b0b.iframe.bundle.js → UIToggle-story.24e13647.iframe.bundle.js} +2 -2
- package/storybook/{UIToggleGroup-story.6d72f521.iframe.bundle.js → UIToggleGroup-story.b0c82239.iframe.bundle.js} +2 -2
- package/storybook/{UITooltip-story.7b83ad96.iframe.bundle.js → UITooltip-story.5ea93f7a.iframe.bundle.js} +1 -1
- package/storybook/{UITreedropdown-story.888b9700.iframe.bundle.js → UITreedropdown-story.3d63b270.iframe.bundle.js} +2 -2
- package/storybook/iframe.html +3 -3
- package/storybook/main.0ff9c078.iframe.bundle.js +1 -0
- package/storybook/project.json +1 -1
- package/storybook/runtime~main.f1ddbf50.iframe.bundle.js +2 -0
- package/storybook/509.dc8ec3b6.iframe.bundle.js +0 -42
- package/storybook/71.6d2cfc63.iframe.bundle.js +0 -1
- package/storybook/main.b9a31a42.iframe.bundle.js +0 -1
- package/storybook/runtime~main.2e992b54.iframe.bundle.js +0 -2
|
@@ -247,7 +247,7 @@ class UIComboBox extends react_1.default.Component {
|
|
|
247
247
|
onClick(event) {
|
|
248
248
|
this.setCaretPosition(event);
|
|
249
249
|
const baseCombobox = this.comboBox.current;
|
|
250
|
-
const isOpen = baseCombobox
|
|
250
|
+
const isOpen = baseCombobox?.state.isOpen;
|
|
251
251
|
const isDisabled = this.props.disabled;
|
|
252
252
|
if (this.props.openMenuOnClick && baseCombobox && !isOpen && !isDisabled) {
|
|
253
253
|
baseCombobox.focus(true);
|
|
@@ -263,7 +263,7 @@ class UIComboBox extends react_1.default.Component {
|
|
|
263
263
|
onKeyDown(event) {
|
|
264
264
|
let handled = false;
|
|
265
265
|
const baseCombobox = this.comboBox.current;
|
|
266
|
-
const isOpen = baseCombobox
|
|
266
|
+
const isOpen = baseCombobox?.state.isOpen;
|
|
267
267
|
if (event.which === react_2.KeyCodes.down || event.which === react_2.KeyCodes.up) {
|
|
268
268
|
handled = this._setCyclingNavigation(event.which === react_2.KeyCodes.down);
|
|
269
269
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UIComboBox.js","sourceRoot":"","sources":["../../../src/components/UIComboBox/UIComboBox.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,2CASyB;AAkBW,+GAnBhC,oCAA4B,OAmBkC;AAjBlE,qFAAkF;AAClF,6BAA2B;AAC3B,0BAAwB;AACxB,0CAAuC;AACvC,oCAAmC;AAEnC,sEAA6F;AAC7F,wCAA8C;AAC9C,8CAAwF;AACxF,4CAAyD;AACzD,+CAAqD;AAUrD,IAAY,oBASX;AATD,WAAY,oBAAoB;IAC5B;;OAEG;IACH,qCAAa,CAAA;IACb;;OAEG;IACH,uCAAe,CAAA;AACnB,CAAC,EATW,oBAAoB,oCAApB,oBAAoB,QAS/B;AAoDD;;;;;;GAMG;AACH,MAAa,UAAW,SAAQ,eAAK,CAAC,SAA2C;IAa7E;;;;OAIG;IACH,YAAmB,KAAsB;QACrC,KAA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C,EACF,QAAQ,EAAE,IAAI,CAAC,gBAAgB,EAAE,KAC7B,CAAC,IAAI,CAAC,KAAK,CAAC,yBAAyB,IAAI;oBACzC,kEAAkE;oBAClE,UAAU,EAAE,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,CAAC;iBACpD,CAAC,KACE,CAAC,IAAI,CAAC,KAAK,CAAC,eAAe,IAAI;oBAC/B,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC;iBACnC,CAAC,KACE,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,IAAI;oBACzB,UAAU,EAAE,IAAI,CAAC,mBAAmB;oBACpC,QAAQ,EAAE,IAAI,CAAC,YAAY;iBAC9B,CAAC,KACE,CAAC,IAAI,CAAC,eAAe,CAAC,oBAAoB,CAAC,IAAI,CAAC,IAAI;oBACpD,YAAY,EAAE,IAAI,CAAC,mBAAmB;iBACzC,CAAC,KACE,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,IAAI;oBAC3B,cAAc,EAAE,IAAI,CAAC,cAAc;oBACnC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,IAAI;wBACvB,QAAQ,EAAE,IAAI,CAAC,mBAAmB;qBACrC,CAAC;iBACL,CAAC,EACF,YAAY,EAAE,WAAW,CAAC,OAAO,GACnC,CACA,CACT,CAAC;IACN,CAAC;;AAjpBL,gCAkpBC;AAjpBG,iDAAiD;AAC1C,uBAAY,GAAG,EAAE,eAAe,EAAE,IAAI,EAAE,AAA5B,CAA6B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/ui-components",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.3",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "SAP UI Components Library",
|
|
6
6
|
"repository": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@types/react": "16.14.55",
|
|
46
46
|
"@types/react-dom": "16.9.24",
|
|
47
47
|
"@types/react-virtualized": "9.21.29",
|
|
48
|
-
"@types/sanitize-html": "2.
|
|
48
|
+
"@types/sanitize-html": "2.11.0",
|
|
49
49
|
"@types/uuid": "3.4.11",
|
|
50
50
|
"babel-jest": "29.7.0",
|
|
51
51
|
"babel-loader": "9.1.3",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var C=Object.defineProperty,P=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var O=Object.getOwnPropertySymbols;var I=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var v=(m,t,e)=>t in m?C(m,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):m[t]=e,g=(m,t)=>{for(var e in t||(t={}))I.call(t,e)&&v(m,e,t[e]);if(O)for(var e of O(t))M.call(t,e)&&v(m,e,t[e]);return m},S=(m,t)=>P(m,T(t));(self.webpackChunk_sap_ux_ui_components=self.webpackChunk_sap_ux_ui_components||[]).push([[423],{"../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.88.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@13.3.2_sass@1.66.1_webpack@5.88.0/node_modules/sass-loader/dist/cjs.js!./src/components/UIDropdown/UIDropdown.scss":(m,t,e)=>{var f=e("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.88.0/node_modules/css-loader/dist/runtime/noSourceMaps.js"),d=e("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.88.0/node_modules/css-loader/dist/runtime/api.js"),l=d(f);l.push([m.id,'.ts-SelectBox .ms-Dropdown{background:var(--vscode-input-background)}.ts-SelectBox .ms-Dropdown .ms-Dropdown-title{background:rgba(0,0,0,0);height:26px;line-height:26px;border:1px solid rgba(0,0,0,0);padding:0px 26px 0 8px;font-size:var(--vscode-font-size);font-family:var(--vscode-font-family);font-weight:var(--vscode-font-weight)}.ts-SelectBox .ms-Dropdown>.ms-Dropdown-caretDownWrapper{right:0;width:26px;background:rgba(0,0,0,0);height:100%;text-align:center}.ts-SelectBox .ms-Dropdown>.ms-Dropdown-caretDownWrapper i{height:100%;fill:var(--vscode-foreground)}.ts-SelectBox .ms-Dropdown>.ms-Dropdown-caretDownWrapper i svg{height:100%;width:16px}.ts-SelectBox .ms-Dropdown>.ms-Dropdown-caretDownWrapper i{margin-top:-1px}.ts-SelectBox .ms-Dropdown .ms-Dropdown-title,.ts-SelectBox .ms-Dropdown:hover .ms-Dropdown-title{color:var(--vscode-foreground)}.ts-SelectBox .ms-Dropdown .ms-Dropdown-titleIsPlaceHolder{color:var(--vscode-input-placeholderForeground)}.ts-SelectBox .ms-Dropdown:after{pointer-events:none;content:"";position:absolute;box-sizing:border-box;top:0px;left:0px;width:100%;height:100%;border:1px solid var(--vscode-editorWidget-border);border-radius:2px}.ts-SelectBox .ms-Dropdown.is-open:after,.ts-SelectBox .ms-Dropdown:focus:after,.ts-SelectBox .ms-Dropdown:hover:after{border-color:var(--vscode-focusBorder)}.ts-SelectBox .ms-Dropdown:focus:after,.ts-SelectBox .ms-Dropdown.is-open:after{border-style:solid}.ts-SelectBox--readonly .ms-Dropdown.is-disabled{background-color:var(--vscode-editor-background);font-style:italic}.ts-SelectBox--readonly .ms-Dropdown.is-disabled:after{border-style:dashed}.ts-SelectBox--readonly.ts-SelectBox--empty .ms-Dropdown:hover:after{border-color:var(--vscode-editorWidget-border)}.ts-SelectBox--disabled .ms-Dropdown.is-disabled{opacity:.5;background-color:var(--vscode-editor-inactiveSelectionBackground)}.ts-SelectBox--disabled .ms-Dropdown.is-disabled:after{border-color:var(--vscode-editorWidget-border)}.ts-SelectBox--readonly .ms-Dropdown:focus:after,.ts-SelectBox--disabled .ms-Dropdown:focus:after{border-style:solid;border-color:var(--vscode-focusBorder) !important}.ts-SelectBox--error .ms-Dropdown:after,.ts-SelectBox--error .ms-Dropdown.is-open:after{border-color:var(--vscode-inputValidation-errorBorder)}.ts-SelectBox--warning .ms-Dropdown:after,.ts-SelectBox--warning .ms-Dropdown.is-open:after{border-color:var(--vscode-inputValidation-warningBorder)}.ts-SelectBox--info .ms-Dropdown:after,.ts-SelectBox--info .ms-Dropdown.is-open:after{border-color:var(--vscode-inputValidation-infoBorder)}.ts-dropdown-item-blocker{position:absolute;top:0;left:0;right:0;bottom:0}',""]),m.exports=l},"../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.88.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@13.3.2_sass@1.66.1_webpack@5.88.0/node_modules/sass-loader/dist/cjs.js!./src/styles/_shadows.scss":(m,t,e)=>{var f=e("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.88.0/node_modules/css-loader/dist/runtime/noSourceMaps.js"),d=e("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.88.0/node_modules/css-loader/dist/runtime/api.js"),l=d(f);l.push([m.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)}",""]),m.exports=l},"./src/components/UIDropdown/UIDropdown.scss":(m,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>w});var f=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),d=e.n(f),l=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/styleDomAPI.js"),s=e.n(l),o=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/insertBySelector.js"),a=e.n(o),r=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),h=e.n(r),b=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/insertStyleElement.js"),i=e.n(b),c=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/styleTagTransform.js"),u=e.n(c),_=e("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.88.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@13.3.2_sass@1.66.1_webpack@5.88.0/node_modules/sass-loader/dist/cjs.js!./src/components/UIDropdown/UIDropdown.scss"),n=e.n(_),y={};for(const E in _)E!=="default"&&(y[E]=()=>_[E]);e.d(t,y);var p={};p.styleTagTransform=u(),p.setAttributes=h(),p.insert=a().bind(null,"head"),p.domAPI=s(),p.insertStyleElement=i();var D=d()(n(),p);const w=n()&&n().locals?n().locals:void 0},"./src/styles/_shadows.scss":(m,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>w});var f=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),d=e.n(f),l=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/styleDomAPI.js"),s=e.n(l),o=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/insertBySelector.js"),a=e.n(o),r=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),h=e.n(r),b=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/insertStyleElement.js"),i=e.n(b),c=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/styleTagTransform.js"),u=e.n(c),_=e("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.88.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@13.3.2_sass@1.66.1_webpack@5.88.0/node_modules/sass-loader/dist/cjs.js!./src/styles/_shadows.scss"),n=e.n(_),y={};for(const E in _)E!=="default"&&(y[E]=()=>_[E]);e.d(t,y);var p={};p.styleTagTransform=u(),p.setAttributes=h(),p.insert=a().bind(null,"head"),p.domAPI=s(),p.insertStyleElement=i();var D=d()(n(),p);const w=n()&&n().locals?n().locals:void 0},"./src/components/UICallout/CalloutCollisionTransform.ts":(m,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CalloutCollisionTransform=void 0;const e={target:".ms-Dialog-actions",container:".ms-Dialog-main",absolute:!0,minPagePadding:10},f=20;class d{constructor(s,o,a=e){this.originalStyle={},this.source=s,this.callout=o,this.props=a,this.applyTransformation=this.applyTransformation.bind(this),this.resetTransformation=this.resetTransformation.bind(this),this.preventDismissOnEvent=this.preventDismissOnEvent.bind(this)}createPlaceholder(s){const o=document.createElement("div");return o.classList.add("ts-Callout-transformation"),o.style.height=`${s}px`,o}getElements(){const s=this.source.current,o=s==null?void 0:s.closest(this.props.container);if(o&&s){const a=o==null?void 0:o.querySelector(this.props.target);if(a){const r={container:{dom:o,rect:o.getBoundingClientRect()},target:{dom:a,rect:a.getBoundingClientRect()},source:{dom:s,rect:s.getBoundingClientRect()}},h=this.callout.current;return h&&(r.callout={dom:h,rect:h.getBoundingClientRect()}),r}}}applyTransformation(){const s=this.getElements();if(!s)return;const{container:o,target:a,callout:r,source:h}=s;if(r){const b=window.innerHeight-e.minPagePadding,i=r.rect.height,c=h.rect.bottom;let u=c+i-a.rect.top,_=c+r.rect.height;if(u<=0||_>=b)return;if(_+=a.rect.height,_<=b&&(u+=f),this.props.absolute){const n=o.dom.style;this.originalStyle={transform:n.transform,position:n.position,top:n.top,left:n.left},n.transform="",n.position="absolute",n.top=`${o.rect.top}px`,n.left=`${o.rect.left}px`}this.placeholder=this.createPlaceholder(u),a.dom.prepend(this.placeholder)}}resetTransformation(){const s=this.getElements();if(!s)return;const{container:o,target:a}=s;for(const r in this.originalStyle){const h=this.originalStyle[r];typeof h=="string"&&(o.dom.style[r]=h)}this.originalStyle={},this.placeholder&&(a.dom.removeChild(this.placeholder),this.placeholder=void 0)}preventDismissOnEvent(s){const o=this.getElements();return!!(s.type==="focus"&&(o!=null&&o.target.dom.contains(s.target)))}}t.CalloutCollisionTransform=d},"./src/components/UICallout/UICallout.tsx":function(m,t,e){"use strict";var f=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0}),t.UICallout=t.getCalloutStyle=t.UICalloutContentPadding=t.CALLOUT_STYLES=void 0;const d=f(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),l=e("../../node_modules/.pnpm/@fluentui+react@8.100.0_@types+react-dom@16.9.24_@types+react@16.14.55_react-dom@16.14.0_react@16.14.0/node_modules/@fluentui/react/lib-commonjs/index.js"),s=e("./src/utilities/index.ts");e("./src/styles/_shadows.scss"),t.CALLOUT_STYLES={background:"var(--vscode-editorSuggestWidget-background)",boxShadow:"var(--ui-box-shadow-small)",text:"var(--vscode-editorSuggestWidget-foreground)",font:"var(--vscode-font-family)",borderRadius:4};var o;(function(i){i.None="None",i.Standard="Standard"})(o||(t.UICalloutContentPadding=o={}));const a=new Map([[o.Standard,8]]),r=(i,c)=>typeof i=="object"&&typeof i[c]=="object"?i[c]:{},h=i=>{var c,u;return{root:g({boxShadow:t.CALLOUT_STYLES.boxShadow,backgroundColor:"transparent",borderRadius:t.CALLOUT_STYLES.borderRadius},r(i.styles,"root")),beak:g({backgroundColor:t.CALLOUT_STYLES.background,boxShadow:t.CALLOUT_STYLES.boxShadow},r(i.styles,"beak")),beakCurtain:g({backgroundColor:t.CALLOUT_STYLES.background,borderRadius:t.CALLOUT_STYLES.borderRadius},r(i.styles,"beakCurtain")),calloutMain:g({backgroundColor:t.CALLOUT_STYLES.background,color:t.CALLOUT_STYLES.text,fontFamily:t.CALLOUT_STYLES.font,borderRadius:t.CALLOUT_STYLES.borderRadius,minWidth:(c=i.calloutMinWidth)!=null?c:300,boxSizing:"border-box",padding:a.get((u=i.contentPadding)!=null?u:o.None)},r(i.styles,"calloutMain")),container:r(i.styles,"container")}};t.getCalloutStyle=h;class b extends d.default.Component{constructor(c){super(c),this.onKeyDown=this.onKeyDown.bind(this)}onKeyDown(c){const{onKeyDown:u,focusTargetSiblingOnTabPress:_,target:n}=this.props;if(_&&c.key==="Tab"&&n){let y=null;if(typeof n=="string"){const p=(0,l.getDocument)();y=p==null?void 0:p.querySelector(n)}else"getBoundingClientRect"in n&&(0,s.isHTMLElement)(n)&&(y=n);y&&(0,s.focusToSibling)(y,!c.shiftKey)&&(c.stopPropagation(),c.preventDefault())}u==null||u(c)}render(){return d.default.createElement(l.Callout,S(g({},this.props),{onKeyDown:this.onKeyDown,styles:(0,t.getCalloutStyle)(this.props)}),this.props.children)}}t.UICallout=b},"./src/components/UICallout/index.tsx":function(m,t,e){"use strict";var f=this&&this.__createBinding||(Object.create?function(l,s,o,a){a===void 0&&(a=o);var r=Object.getOwnPropertyDescriptor(s,o);(!r||("get"in r?!s.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return s[o]}}),Object.defineProperty(l,a,r)}:function(l,s,o,a){a===void 0&&(a=o),l[a]=s[o]}),d=this&&this.__exportStar||function(l,s){for(var o in l)o!=="default"&&!Object.prototype.hasOwnProperty.call(s,o)&&f(s,l,o)};Object.defineProperty(t,"__esModule",{value:!0}),d(e("./src/components/UICallout/CalloutCollisionTransform.ts"),t),d(e("./src/components/UICallout/UICallout.tsx"),t)},"./src/components/UIDropdown/UIDropdown.tsx":function(m,t,e){"use strict";var f=this&&this.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(t,"__esModule",{value:!0}),t.UIDropdown=t.UIDropdownMenuItemType=t.UIDropdownOption=void 0;const d=f(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),l=e("../../node_modules/.pnpm/@fluentui+react@8.100.0_@types+react-dom@16.9.24_@types+react@16.14.55_react-dom@16.14.0_react@16.14.0/node_modules/@fluentui/react/lib-commonjs/index.js");Object.defineProperty(t,"UIDropdownMenuItemType",{enumerable:!0,get:function(){return l.DropdownMenuItemType}}),Object.defineProperty(t,"UIDropdownOption",{enumerable:!0,get:function(){return l.IDropdownOption}});const s=e("./src/components/UIIcon/index.tsx"),o=e("./src/helper/ValidationMessage/index.tsx"),a=e("./src/components/UILabel/index.tsx"),r=e("./src/components/UIDropdown/utils.ts"),h=e("./src/components/UICallout/index.tsx");e("./src/components/UIDropdown/UIDropdown.scss");const b="var(--vscode-inputValidation-errorBorder)";class i extends d.default.Component{constructor(u){super(u),this.dropdownDomRef=d.default.createRef(),this.menuDomRef=d.default.createRef(),this.calloutCollisionTransform=new h.CalloutCollisionTransform(this.dropdownDomRef,this.menuDomRef),this.onRenderCaretDown=()=>d.default.createElement(s.UIIcon,{iconName:"ArrowDown",style:{height:"100%"}}),this.onRenderTitle=_=>{if(this.props.multiSelect&&this.props.onHandleRenderTitle)return this.props.onHandleRenderTitle(_);{const{multiSelectDelimiter:n=", "}=this.props;if(_){const y=_.map(p=>p.text).join(n);return d.default.createElement(d.default.Fragment,null,y)}else return d.default.createElement(d.default.Fragment,null,this.props.title)}},this.onClick=()=>{this.setState(_=>({isOpen:!_.isOpen}),()=>{this.props.multiSelect&&this.props.onHandleOpen&&this.state.isOpen&&(this.setState(_=>({isOpen:!_.isOpen})),this.props.onHandleOpen())})},this.onChange=(_,n,y)=>{this.props.multiSelect&&this.props.onHandleChange&&n&&y&&this.props.onHandleChange(n,y)},this.stopEventPropagation=_=>{_.stopPropagation()},this.onRenderOption=(_,n)=>d.default.createElement(d.default.Fragment,null,n==null?void 0:n(_),(_==null?void 0:_.itemType)!==l.DropdownMenuItemType.Header&&d.default.createElement("div",{onMouseEnter:this.stopEventPropagation.bind(this),onMouseLeave:this.stopEventPropagation.bind(this),onMouseMove:this.stopEventPropagation.bind(this),className:"ts-dropdown-item-blocker"})),this.onRenderItem=(_,n)=>n&&_?(_.title===void 0&&(_.title=_.text),n(_)):null,this.state={options:[],isOpen:!1}}getCalloutStylesForUseAsMinWidth(u){return{root:{minWidth:u.calloutWidth,width:"auto",maxWidth:"calc(100% - 10px)"}}}getClassNames(u){const{className:_,readOnly:n,disabled:y}=this.props,p=u.message?o.MESSAGE_TYPES_CLASSNAME_MAP.get(u.type):void 0;let D=`ts-SelectBox${u.message?" ts-SelectBox--"+p:""}`;return n&&!y&&(D+=" ts-SelectBox--readonly"),y&&(D+=" ts-SelectBox--disabled"),_&&(D+=` ${_}`),(0,r.isDropdownEmpty)(this.props)&&(D+=" ts-SelectBox--empty"),D}getAccessibilityProps(){const{readOnly:u,disabled:_}=this.props,n={};return u&&!_?(n.tabIndex=0,n["data-is-focusable"]=!0,n["aria-disabled"]=void 0,n["aria-readonly"]=!0):_&&(n.tabIndex=0,n["data-is-focusable"]=!0),n}render(){const u=(0,o.getMessageInfo)(this.props),_=this.getAccessibilityProps(),n=()=>({label:g(g(g({},a.labelGlobalStyle),this.props.disabled&&{opacity:"0.4"}),this.props.required&&{selectors:{"::after":{content:"' *'",color:b,paddingRight:12}}}),errorMessage:[u.style]});return d.default.createElement(l.Dropdown,S(g(g({ref:this.dropdownDomRef,calloutProps:g({calloutMaxHeight:200,styles:this.props.useDropdownAsMenuMinWidth?this.getCalloutStylesForUseAsMinWidth:void 0,className:"ts-Callout ts-Callout-Dropdown",popupProps:{ref:this.menuDomRef}},(0,r.getCalloutCollisionTransformationProps)(this.calloutCollisionTransform,this.props.multiSelect,this.props.calloutCollisionTransformation)),onRenderCaretDown:this.onRenderCaretDown,onClick:this.onClick,onChange:this.onChange,onRenderTitle:this.onRenderTitle,onRenderOption:this.onRenderOption.bind(this),onRenderItem:this.onRenderItem.bind(this),responsiveMode:l.ResponsiveMode.xxxLarge,disabled:this.props.readOnly},_),this.props),{styles:n,className:this.getClassNames(u),errorMessage:u.message}))}}t.UIDropdown=i},"./src/components/UIDropdown/index.tsx":function(m,t,e){"use strict";var f=this&&this.__createBinding||(Object.create?function(l,s,o,a){a===void 0&&(a=o);var r=Object.getOwnPropertyDescriptor(s,o);(!r||("get"in r?!s.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return s[o]}}),Object.defineProperty(l,a,r)}:function(l,s,o,a){a===void 0&&(a=o),l[a]=s[o]}),d=this&&this.__exportStar||function(l,s){for(var o in l)o!=="default"&&!Object.prototype.hasOwnProperty.call(s,o)&&f(s,l,o)};Object.defineProperty(t,"__esModule",{value:!0}),d(e("./src/components/UIDropdown/UIDropdown.tsx"),t),d(e("./src/components/UIDropdown/utils.ts"),t)},"./src/components/UIDropdown/utils.ts":(m,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCalloutCollisionTransformationProps=t.isDropdownEmpty=void 0;function e(d){var s;const{selectedKey:l}=d;return Array.isArray(l)?l.length===0:"text"in d&&d.text||"selectedKeys"in d&&((s=d.selectedKeys)!=null&&s.length)?!1:!l}t.isDropdownEmpty=e;function f(d,l,s){if(l&&s)return{preventDismissOnEvent:d.preventDismissOnEvent,layerProps:{onLayerDidMount:d.applyTransformation,onLayerWillUnmount:d.resetTransformation}}}t.getCalloutCollisionTransformationProps=f}}]);})();
|
|
1
|
+
(()=>{var C=Object.defineProperty,P=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var O=Object.getOwnPropertySymbols;var I=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var v=(m,t,e)=>t in m?C(m,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):m[t]=e,g=(m,t)=>{for(var e in t||(t={}))I.call(t,e)&&v(m,e,t[e]);if(O)for(var e of O(t))M.call(t,e)&&v(m,e,t[e]);return m},S=(m,t)=>P(m,T(t));(self.webpackChunk_sap_ux_ui_components=self.webpackChunk_sap_ux_ui_components||[]).push([[125],{"../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.93.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@13.3.2_sass@1.66.1_webpack@5.93.0/node_modules/sass-loader/dist/cjs.js!./src/components/UIDropdown/UIDropdown.scss":(m,t,e)=>{var f=e("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.93.0/node_modules/css-loader/dist/runtime/noSourceMaps.js"),d=e("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.93.0/node_modules/css-loader/dist/runtime/api.js"),l=d(f);l.push([m.id,'.ts-SelectBox .ms-Dropdown{background:var(--vscode-input-background)}.ts-SelectBox .ms-Dropdown .ms-Dropdown-title{background:rgba(0,0,0,0);height:26px;line-height:26px;border:1px solid rgba(0,0,0,0);padding:0px 26px 0 8px;font-size:var(--vscode-font-size);font-family:var(--vscode-font-family);font-weight:var(--vscode-font-weight)}.ts-SelectBox .ms-Dropdown>.ms-Dropdown-caretDownWrapper{right:0;width:26px;background:rgba(0,0,0,0);height:100%;text-align:center}.ts-SelectBox .ms-Dropdown>.ms-Dropdown-caretDownWrapper i{height:100%;fill:var(--vscode-foreground)}.ts-SelectBox .ms-Dropdown>.ms-Dropdown-caretDownWrapper i svg{height:100%;width:16px}.ts-SelectBox .ms-Dropdown>.ms-Dropdown-caretDownWrapper i{margin-top:-1px}.ts-SelectBox .ms-Dropdown .ms-Dropdown-title,.ts-SelectBox .ms-Dropdown:hover .ms-Dropdown-title{color:var(--vscode-foreground)}.ts-SelectBox .ms-Dropdown .ms-Dropdown-titleIsPlaceHolder{color:var(--vscode-input-placeholderForeground)}.ts-SelectBox .ms-Dropdown:after{pointer-events:none;content:"";position:absolute;box-sizing:border-box;top:0px;left:0px;width:100%;height:100%;border:1px solid var(--vscode-editorWidget-border);border-radius:2px}.ts-SelectBox .ms-Dropdown.is-open:after,.ts-SelectBox .ms-Dropdown:focus:after,.ts-SelectBox .ms-Dropdown:hover:after{border-color:var(--vscode-focusBorder)}.ts-SelectBox .ms-Dropdown:focus:after,.ts-SelectBox .ms-Dropdown.is-open:after{border-style:solid}.ts-SelectBox--readonly .ms-Dropdown.is-disabled{background-color:var(--vscode-editor-background);font-style:italic}.ts-SelectBox--readonly .ms-Dropdown.is-disabled:after{border-style:dashed}.ts-SelectBox--readonly.ts-SelectBox--empty .ms-Dropdown:hover:after{border-color:var(--vscode-editorWidget-border)}.ts-SelectBox--disabled .ms-Dropdown.is-disabled{opacity:.5;background-color:var(--vscode-editor-inactiveSelectionBackground)}.ts-SelectBox--disabled .ms-Dropdown.is-disabled:after{border-color:var(--vscode-editorWidget-border)}.ts-SelectBox--readonly .ms-Dropdown:focus:after,.ts-SelectBox--disabled .ms-Dropdown:focus:after{border-style:solid;border-color:var(--vscode-focusBorder) !important}.ts-SelectBox--error .ms-Dropdown:after,.ts-SelectBox--error .ms-Dropdown.is-open:after{border-color:var(--vscode-inputValidation-errorBorder)}.ts-SelectBox--warning .ms-Dropdown:after,.ts-SelectBox--warning .ms-Dropdown.is-open:after{border-color:var(--vscode-inputValidation-warningBorder)}.ts-SelectBox--info .ms-Dropdown:after,.ts-SelectBox--info .ms-Dropdown.is-open:after{border-color:var(--vscode-inputValidation-infoBorder)}.ts-dropdown-item-blocker{position:absolute;top:0;left:0;right:0;bottom:0}',""]),m.exports=l},"../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.93.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@13.3.2_sass@1.66.1_webpack@5.93.0/node_modules/sass-loader/dist/cjs.js!./src/styles/_shadows.scss":(m,t,e)=>{var f=e("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.93.0/node_modules/css-loader/dist/runtime/noSourceMaps.js"),d=e("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.93.0/node_modules/css-loader/dist/runtime/api.js"),l=d(f);l.push([m.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)}",""]),m.exports=l},"./src/components/UIDropdown/UIDropdown.scss":(m,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>w});var f=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.93.0/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),d=e.n(f),l=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.93.0/node_modules/style-loader/dist/runtime/styleDomAPI.js"),s=e.n(l),o=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.93.0/node_modules/style-loader/dist/runtime/insertBySelector.js"),a=e.n(o),r=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.93.0/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),h=e.n(r),b=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.93.0/node_modules/style-loader/dist/runtime/insertStyleElement.js"),i=e.n(b),c=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.93.0/node_modules/style-loader/dist/runtime/styleTagTransform.js"),u=e.n(c),_=e("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.93.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@13.3.2_sass@1.66.1_webpack@5.93.0/node_modules/sass-loader/dist/cjs.js!./src/components/UIDropdown/UIDropdown.scss"),n=e.n(_),y={};for(const E in _)E!=="default"&&(y[E]=()=>_[E]);e.d(t,y);var p={};p.styleTagTransform=u(),p.setAttributes=h(),p.insert=a().bind(null,"head"),p.domAPI=s(),p.insertStyleElement=i();var D=d()(n(),p);const w=n()&&n().locals?n().locals:void 0},"./src/styles/_shadows.scss":(m,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>w});var f=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.93.0/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),d=e.n(f),l=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.93.0/node_modules/style-loader/dist/runtime/styleDomAPI.js"),s=e.n(l),o=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.93.0/node_modules/style-loader/dist/runtime/insertBySelector.js"),a=e.n(o),r=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.93.0/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),h=e.n(r),b=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.93.0/node_modules/style-loader/dist/runtime/insertStyleElement.js"),i=e.n(b),c=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.93.0/node_modules/style-loader/dist/runtime/styleTagTransform.js"),u=e.n(c),_=e("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.93.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@13.3.2_sass@1.66.1_webpack@5.93.0/node_modules/sass-loader/dist/cjs.js!./src/styles/_shadows.scss"),n=e.n(_),y={};for(const E in _)E!=="default"&&(y[E]=()=>_[E]);e.d(t,y);var p={};p.styleTagTransform=u(),p.setAttributes=h(),p.insert=a().bind(null,"head"),p.domAPI=s(),p.insertStyleElement=i();var D=d()(n(),p);const w=n()&&n().locals?n().locals:void 0},"./src/components/UICallout/CalloutCollisionTransform.ts":(m,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CalloutCollisionTransform=void 0;const e={target:".ms-Dialog-actions",container:".ms-Dialog-main",absolute:!0,minPagePadding:10},f=20;class d{constructor(s,o,a=e){this.originalStyle={},this.source=s,this.callout=o,this.props=a,this.applyTransformation=this.applyTransformation.bind(this),this.resetTransformation=this.resetTransformation.bind(this),this.preventDismissOnEvent=this.preventDismissOnEvent.bind(this)}createPlaceholder(s){const o=document.createElement("div");return o.classList.add("ts-Callout-transformation"),o.style.height=`${s}px`,o}getElements(){const s=this.source.current,o=s==null?void 0:s.closest(this.props.container);if(o&&s){const a=o==null?void 0:o.querySelector(this.props.target);if(a){const r={container:{dom:o,rect:o.getBoundingClientRect()},target:{dom:a,rect:a.getBoundingClientRect()},source:{dom:s,rect:s.getBoundingClientRect()}},h=this.callout.current;return h&&(r.callout={dom:h,rect:h.getBoundingClientRect()}),r}}}applyTransformation(){const s=this.getElements();if(!s)return;const{container:o,target:a,callout:r,source:h}=s;if(r){const b=window.innerHeight-e.minPagePadding,i=r.rect.height,c=h.rect.bottom;let u=c+i-a.rect.top,_=c+r.rect.height;if(u<=0||_>=b)return;if(_+=a.rect.height,_<=b&&(u+=f),this.props.absolute){const n=o.dom.style;this.originalStyle={transform:n.transform,position:n.position,top:n.top,left:n.left},n.transform="",n.position="absolute",n.top=`${o.rect.top}px`,n.left=`${o.rect.left}px`}this.placeholder=this.createPlaceholder(u),a.dom.prepend(this.placeholder)}}resetTransformation(){const s=this.getElements();if(!s)return;const{container:o,target:a}=s;for(const r in this.originalStyle){const h=this.originalStyle[r];typeof h=="string"&&(o.dom.style[r]=h)}this.originalStyle={},this.placeholder&&(a.dom.removeChild(this.placeholder),this.placeholder=void 0)}preventDismissOnEvent(s){const o=this.getElements();return!!(s.type==="focus"&&(o!=null&&o.target.dom.contains(s.target)))}}t.CalloutCollisionTransform=d},"./src/components/UICallout/UICallout.tsx":function(m,t,e){"use strict";var f=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0}),t.UICallout=t.getCalloutStyle=t.UICalloutContentPadding=t.CALLOUT_STYLES=void 0;const d=f(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),l=e("../../node_modules/.pnpm/@fluentui+react@8.100.0_@types+react-dom@16.9.24_@types+react@16.14.55_react-dom@16.14.0_react@16.14.0/node_modules/@fluentui/react/lib-commonjs/index.js"),s=e("./src/utilities/index.ts");e("./src/styles/_shadows.scss"),t.CALLOUT_STYLES={background:"var(--vscode-editorSuggestWidget-background)",boxShadow:"var(--ui-box-shadow-small)",text:"var(--vscode-editorSuggestWidget-foreground)",font:"var(--vscode-font-family)",borderRadius:4};var o;(function(i){i.None="None",i.Standard="Standard"})(o||(t.UICalloutContentPadding=o={}));const a=new Map([[o.Standard,8]]),r=(i,c)=>typeof i=="object"&&typeof i[c]=="object"?i[c]:{},h=i=>{var c,u;return{root:g({boxShadow:t.CALLOUT_STYLES.boxShadow,backgroundColor:"transparent",borderRadius:t.CALLOUT_STYLES.borderRadius},r(i.styles,"root")),beak:g({backgroundColor:t.CALLOUT_STYLES.background,boxShadow:t.CALLOUT_STYLES.boxShadow},r(i.styles,"beak")),beakCurtain:g({backgroundColor:t.CALLOUT_STYLES.background,borderRadius:t.CALLOUT_STYLES.borderRadius},r(i.styles,"beakCurtain")),calloutMain:g({backgroundColor:t.CALLOUT_STYLES.background,color:t.CALLOUT_STYLES.text,fontFamily:t.CALLOUT_STYLES.font,borderRadius:t.CALLOUT_STYLES.borderRadius,minWidth:(c=i.calloutMinWidth)!=null?c:300,boxSizing:"border-box",padding:a.get((u=i.contentPadding)!=null?u:o.None)},r(i.styles,"calloutMain")),container:r(i.styles,"container")}};t.getCalloutStyle=h;class b extends d.default.Component{constructor(c){super(c),this.onKeyDown=this.onKeyDown.bind(this)}onKeyDown(c){const{onKeyDown:u,focusTargetSiblingOnTabPress:_,target:n}=this.props;if(_&&c.key==="Tab"&&n){let y=null;if(typeof n=="string"){const p=(0,l.getDocument)();y=p==null?void 0:p.querySelector(n)}else"getBoundingClientRect"in n&&(0,s.isHTMLElement)(n)&&(y=n);y&&(0,s.focusToSibling)(y,!c.shiftKey)&&(c.stopPropagation(),c.preventDefault())}u==null||u(c)}render(){return d.default.createElement(l.Callout,S(g({},this.props),{onKeyDown:this.onKeyDown,styles:(0,t.getCalloutStyle)(this.props)}),this.props.children)}}t.UICallout=b},"./src/components/UICallout/index.tsx":function(m,t,e){"use strict";var f=this&&this.__createBinding||(Object.create?function(l,s,o,a){a===void 0&&(a=o);var r=Object.getOwnPropertyDescriptor(s,o);(!r||("get"in r?!s.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return s[o]}}),Object.defineProperty(l,a,r)}:function(l,s,o,a){a===void 0&&(a=o),l[a]=s[o]}),d=this&&this.__exportStar||function(l,s){for(var o in l)o!=="default"&&!Object.prototype.hasOwnProperty.call(s,o)&&f(s,l,o)};Object.defineProperty(t,"__esModule",{value:!0}),d(e("./src/components/UICallout/CalloutCollisionTransform.ts"),t),d(e("./src/components/UICallout/UICallout.tsx"),t)},"./src/components/UIDropdown/UIDropdown.tsx":function(m,t,e){"use strict";var f=this&&this.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(t,"__esModule",{value:!0}),t.UIDropdown=t.UIDropdownMenuItemType=t.UIDropdownOption=void 0;const d=f(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),l=e("../../node_modules/.pnpm/@fluentui+react@8.100.0_@types+react-dom@16.9.24_@types+react@16.14.55_react-dom@16.14.0_react@16.14.0/node_modules/@fluentui/react/lib-commonjs/index.js");Object.defineProperty(t,"UIDropdownMenuItemType",{enumerable:!0,get:function(){return l.DropdownMenuItemType}}),Object.defineProperty(t,"UIDropdownOption",{enumerable:!0,get:function(){return l.IDropdownOption}});const s=e("./src/components/UIIcon/index.tsx"),o=e("./src/helper/ValidationMessage/index.tsx"),a=e("./src/components/UILabel/index.tsx"),r=e("./src/components/UIDropdown/utils.ts"),h=e("./src/components/UICallout/index.tsx");e("./src/components/UIDropdown/UIDropdown.scss");const b="var(--vscode-inputValidation-errorBorder)";class i extends d.default.Component{constructor(u){super(u),this.dropdownDomRef=d.default.createRef(),this.menuDomRef=d.default.createRef(),this.calloutCollisionTransform=new h.CalloutCollisionTransform(this.dropdownDomRef,this.menuDomRef),this.onRenderCaretDown=()=>d.default.createElement(s.UIIcon,{iconName:"ArrowDown",style:{height:"100%"}}),this.onRenderTitle=_=>{if(this.props.multiSelect&&this.props.onHandleRenderTitle)return this.props.onHandleRenderTitle(_);{const{multiSelectDelimiter:n=", "}=this.props;if(_){const y=_.map(p=>p.text).join(n);return d.default.createElement(d.default.Fragment,null,y)}else return d.default.createElement(d.default.Fragment,null,this.props.title)}},this.onClick=()=>{this.setState(_=>({isOpen:!_.isOpen}),()=>{this.props.multiSelect&&this.props.onHandleOpen&&this.state.isOpen&&(this.setState(_=>({isOpen:!_.isOpen})),this.props.onHandleOpen())})},this.onChange=(_,n,y)=>{this.props.multiSelect&&this.props.onHandleChange&&n&&y&&this.props.onHandleChange(n,y)},this.stopEventPropagation=_=>{_.stopPropagation()},this.onRenderOption=(_,n)=>d.default.createElement(d.default.Fragment,null,n==null?void 0:n(_),(_==null?void 0:_.itemType)!==l.DropdownMenuItemType.Header&&d.default.createElement("div",{onMouseEnter:this.stopEventPropagation.bind(this),onMouseLeave:this.stopEventPropagation.bind(this),onMouseMove:this.stopEventPropagation.bind(this),className:"ts-dropdown-item-blocker"})),this.onRenderItem=(_,n)=>n&&_?(_.title===void 0&&(_.title=_.text),n(_)):null,this.state={options:[],isOpen:!1}}getCalloutStylesForUseAsMinWidth(u){return{root:{minWidth:u.calloutWidth,width:"auto",maxWidth:"calc(100% - 10px)"}}}getClassNames(u){const{className:_,readOnly:n,disabled:y}=this.props,p=u.message?o.MESSAGE_TYPES_CLASSNAME_MAP.get(u.type):void 0;let D=`ts-SelectBox${u.message?" ts-SelectBox--"+p:""}`;return n&&!y&&(D+=" ts-SelectBox--readonly"),y&&(D+=" ts-SelectBox--disabled"),_&&(D+=` ${_}`),(0,r.isDropdownEmpty)(this.props)&&(D+=" ts-SelectBox--empty"),D}getAccessibilityProps(){const{readOnly:u,disabled:_}=this.props,n={};return u&&!_?(n.tabIndex=0,n["data-is-focusable"]=!0,n["aria-disabled"]=void 0,n["aria-readonly"]=!0):_&&(n.tabIndex=0,n["data-is-focusable"]=!0),n}render(){const u=(0,o.getMessageInfo)(this.props),_=this.getAccessibilityProps(),n=()=>({label:g(g(g({},a.labelGlobalStyle),this.props.disabled&&{opacity:"0.4"}),this.props.required&&{selectors:{"::after":{content:"' *'",color:b,paddingRight:12}}}),errorMessage:[u.style]});return d.default.createElement(l.Dropdown,S(g(g({ref:this.dropdownDomRef,calloutProps:g({calloutMaxHeight:200,styles:this.props.useDropdownAsMenuMinWidth?this.getCalloutStylesForUseAsMinWidth:void 0,className:"ts-Callout ts-Callout-Dropdown",popupProps:{ref:this.menuDomRef}},(0,r.getCalloutCollisionTransformationProps)(this.calloutCollisionTransform,this.props.multiSelect,this.props.calloutCollisionTransformation)),onRenderCaretDown:this.onRenderCaretDown,onClick:this.onClick,onChange:this.onChange,onRenderTitle:this.onRenderTitle,onRenderOption:this.onRenderOption.bind(this),onRenderItem:this.onRenderItem.bind(this),responsiveMode:l.ResponsiveMode.xxxLarge,disabled:this.props.readOnly},_),this.props),{styles:n,className:this.getClassNames(u),errorMessage:u.message}))}}t.UIDropdown=i},"./src/components/UIDropdown/index.tsx":function(m,t,e){"use strict";var f=this&&this.__createBinding||(Object.create?function(l,s,o,a){a===void 0&&(a=o);var r=Object.getOwnPropertyDescriptor(s,o);(!r||("get"in r?!s.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return s[o]}}),Object.defineProperty(l,a,r)}:function(l,s,o,a){a===void 0&&(a=o),l[a]=s[o]}),d=this&&this.__exportStar||function(l,s){for(var o in l)o!=="default"&&!Object.prototype.hasOwnProperty.call(s,o)&&f(s,l,o)};Object.defineProperty(t,"__esModule",{value:!0}),d(e("./src/components/UIDropdown/UIDropdown.tsx"),t),d(e("./src/components/UIDropdown/utils.ts"),t)},"./src/components/UIDropdown/utils.ts":(m,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCalloutCollisionTransformationProps=t.isDropdownEmpty=void 0;function e(d){var s;const{selectedKey:l}=d;return Array.isArray(l)?l.length===0:"text"in d&&d.text||"selectedKeys"in d&&((s=d.selectedKeys)!=null&&s.length)?!1:!l}t.isDropdownEmpty=e;function f(d,l,s){if(l&&s)return{preventDismissOnEvent:d.preventDismissOnEvent,layerProps:{onLayerDidMount:d.applyTransformation,onLayerWillUnmount:d.resetTransformation}}}t.getCalloutCollisionTransformationProps=f}}]);})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var j=Object.defineProperty,h=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var O=Object.getOwnPropertySymbols;var C=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;var P=(a,_,e)=>_ in a?j(a,_,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[_]=e,f=(a,_)=>{for(var e in _||(_={}))C.call(_,e)&&P(a,e,_[e]);if(O)for(var e of O(_))A.call(_,e)&&P(a,e,_[e]);return a},I=(a,_)=>h(a,T(_));(self.webpackChunk_sap_ux_ui_components=self.webpackChunk_sap_ux_ui_components||[]).push([[825],{"../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.88.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@13.3.2_sass@1.66.1_webpack@5.88.0/node_modules/sass-loader/dist/cjs.js!./src/components/UIIcon/UIIcon.scss":(a,_,e)=>{var l=e("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.88.0/node_modules/css-loader/dist/runtime/noSourceMaps.js"),d=e("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.88.0/node_modules/css-loader/dist/runtime/api.js"),r=d(l);r.push([a.id,".ts-icon{fill:var(--vscode-foreground)}",""]),a.exports=r},"../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.88.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@13.3.2_sass@1.66.1_webpack@5.88.0/node_modules/sass-loader/dist/cjs.js!./src/helper/ValidationMessage/MessageWrapper.scss":(a,_,e)=>{var l=e("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.88.0/node_modules/css-loader/dist/runtime/noSourceMaps.js"),d=e("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.88.0/node_modules/css-loader/dist/runtime/api.js"),r=d(l);r.push([a.id,".ts-message-wrapper .ts-message-body{display:flex;font-size:11px}.ts-message-wrapper .ts-message-body>span{padding-top:1px}.ts-message-wrapper .ts-message-body>i{margin:1px 2px 0 0}.ts-message-wrapper--error .ts-message-body{color:var(--vscode-errorForeground)}.ts-message-wrapper--warning .ts-message-body{color:var(--vscode-editorMarkerNavigationWarning-background)}.ts-message-wrapper--info .ts-message-body{color:var(--vscode-inputValidation-infoBorder)}.ts-message-wrapper--info .ts-icon svg path{fill:var(--vscode-inputValidation-infoBorder)}.ts-message-wrapper--horizontal{display:flex}.ts-message-wrapper--horizontal .ts-message-body{align-self:flex-end;margin:0 0 7px 5px}",""]),a.exports=r},"./src/components/UIIcon/UIIcon.scss":(a,_,e)=>{"use strict";e.r(_),e.d(_,{default:()=>v});var l=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),d=e.n(l),r=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/styleDomAPI.js"),t=e.n(r),o=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/insertBySelector.js"),n=e.n(o),s=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),c=e.n(s),u=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/insertStyleElement.js"),p=e.n(u),i=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/styleTagTransform.js"),y=e.n(i),g=e("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.88.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@13.3.2_sass@1.66.1_webpack@5.88.0/node_modules/sass-loader/dist/cjs.js!./src/components/UIIcon/UIIcon.scss"),b=e.n(g),M={};for(const E in g)E!=="default"&&(M[E]=()=>g[E]);e.d(_,M);var m={};m.styleTagTransform=y(),m.setAttributes=c(),m.insert=n().bind(null,"head"),m.domAPI=t(),m.insertStyleElement=p();var S=d()(b(),m);const v=b()&&b().locals?b().locals:void 0},"./src/helper/ValidationMessage/MessageWrapper.scss":(a,_,e)=>{"use strict";e.r(_),e.d(_,{default:()=>v});var l=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),d=e.n(l),r=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/styleDomAPI.js"),t=e.n(r),o=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/insertBySelector.js"),n=e.n(o),s=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),c=e.n(s),u=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/insertStyleElement.js"),p=e.n(u),i=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/styleTagTransform.js"),y=e.n(i),g=e("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.88.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@13.3.2_sass@1.66.1_webpack@5.88.0/node_modules/sass-loader/dist/cjs.js!./src/helper/ValidationMessage/MessageWrapper.scss"),b=e.n(g),M={};for(const E in g)E!=="default"&&(M[E]=()=>g[E]);e.d(_,M);var m={};m.styleTagTransform=y(),m.setAttributes=c(),m.insert=n().bind(null,"head"),m.domAPI=t(),m.insertStyleElement=p();var S=d()(b(),m);const v=b()&&b().locals?b().locals:void 0},"./src/components/UIIcon/UIIcon.tsx":function(a,_,e){"use strict";var l=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(_,"__esModule",{value:!0}),_.UIIcon=void 0;const d=l(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),r=e("../../node_modules/.pnpm/@fluentui+react@8.100.0_@types+react-dom@16.9.24_@types+react@16.14.55_react-dom@16.14.0_react@16.14.0/node_modules/@fluentui/react/lib-commonjs/index.js");e("./src/components/UIIcon/UIIcon.scss");class t extends d.default.Component{constructor(n){super(n),this.setStyle=()=>({})}render(){const n=this.props.className?` ${this.props.className}`:"";return d.default.createElement(r.Icon,I(f({},this.props),{className:`ts-icon${n}`,styles:this.setStyle()}))}}_.UIIcon=t},"./src/components/UIIcon/index.tsx":function(a,_,e){"use strict";var l=this&&this.__createBinding||(Object.create?function(r,t,o,n){n===void 0&&(n=o);var s=Object.getOwnPropertyDescriptor(t,o);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[o]}}),Object.defineProperty(r,n,s)}:function(r,t,o,n){n===void 0&&(n=o),r[n]=t[o]}),d=this&&this.__exportStar||function(r,t){for(var o in r)o!=="default"&&!Object.prototype.hasOwnProperty.call(t,o)&&l(t,r,o)};Object.defineProperty(_,"__esModule",{value:!0}),d(e("./src/components/UIIcon/UIIcon.tsx"),_)},"./src/components/UIInput/UITextInput.tsx":function(a,_,e){"use strict";var l=this&&this.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(_,"__esModule",{value:!0}),_.UITextInput=_.COMMON_INPUT_STYLES=_.ITextFieldProps=_.ITextField=void 0;const d=l(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),r=e("../../node_modules/.pnpm/@fluentui+react@8.100.0_@types+react-dom@16.9.24_@types+react@16.14.55_react-dom@16.14.0_react@16.14.0/node_modules/@fluentui/react/lib-commonjs/index.js"),t=e("./src/helper/ValidationMessage/index.tsx"),o=e("./src/components/UILabel/index.tsx");var n=e("../../node_modules/.pnpm/@fluentui+react@8.100.0_@types+react-dom@16.9.24_@types+react@16.14.55_react-dom@16.14.0_react@16.14.0/node_modules/@fluentui/react/lib-commonjs/index.js");Object.defineProperty(_,"ITextField",{enumerable:!0,get:function(){return n.ITextField}}),Object.defineProperty(_,"ITextFieldProps",{enumerable:!0,get:function(){return n.ITextFieldProps}}),_.COMMON_INPUT_STYLES={borderRadius:2};const s={regular:{backgroundColor:"var(--vscode-input-background)",borderColor:"var(--vscode-editorWidget-border)",color:"var(--vscode-input-foreground)",borderStyle:"solid"},disabled:{backgroundColor:"var(--vscode-editor-inactiveSelectionBackground)",opacity:.5},readOnly:{backgroundColor:"var(--vscode-editor-background)",borderStyle:"dashed"},hover:{borderColor:"var(--vscode-focusBorder)"},focus:{borderColor:"var(--vscode-focusBorder)"}};class c extends d.default.Component{constructor(p){super(p),this.getStyles=i=>{const y=(0,t.getMessageInfo)(this.props);return{root:{height:"auto",fontFamily:"var(--vscode-font-family)"},fieldGroup:[{backgroundColor:s.regular.backgroundColor,borderWidth:1,borderStyle:s.regular.borderStyle,borderColor:s.regular.borderColor,color:s.regular.color,borderRadius:_.COMMON_INPUT_STYLES.borderRadius,boxSizing:"initial"},!i.multiline&&{height:24,maxHeight:24,minHeight:24},!i.disabled&&{selectors:{"&:hover":{borderColor:s.hover.borderColor}}},i.disabled&&{backgroundColor:s.disabled.backgroundColor,opacity:s.disabled.opacity,borderRadius:_.COMMON_INPUT_STYLES.borderRadius},this.props.readOnly&&{borderStyle:s.readOnly.borderStyle,backgroundColor:s.readOnly.backgroundColor,selectors:this.props.value?void 0:{"&:hover":{borderColor:"var(--vscode-editorWidget-border)"}}},i.hasErrorMessage&&{borderColor:y.style.borderColor},i.focused&&{selectors:{":after":{border:this.getFocusBorder(y),borderRadius:_.COMMON_INPUT_STYLES.borderRadius}}}],field:[{backgroundColor:s.regular.backgroundColor,color:s.regular.color,fontSize:"13px",fontWeight:"normal",boxSizing:"border-box",borderRadius:_.COMMON_INPUT_STYLES.borderRadius,fontFamily:"var(--vscode-font-family)",selectors:{"::placeholder":{fontSize:13,fontFamily:"var(--vscode-font-family)",color:"var(--vscode-input-placeholderForeground)"}}},!i.multiline&&{lineHeight:"normal"},i.multiline&&{minHeight:"60px",height:"auto",display:"flex"},i.disabled&&{backgroundColor:"transparent"},this.props.readOnly&&{fontStyle:"italic",backgroundColor:s.readOnly.backgroundColor},i.hasIcon&&{selectors:{"&:hover":{cursor:"pointer"}}}],suffix:{backgroundColor:"var(--vscode-input-background)"},subComponentStyles:{label:{root:[f({marginTop:25},o.labelGlobalStyle),i.disabled&&{opacity:s.disabled.opacity},i.required&&{selectors:{"::after":{content:"' *'",color:"var(--vscode-inputValidation-errorBorder)",paddingRight:12}}}]}},errorMessage:[y.style],icon:[{bottom:2}]}},this.onRenderDisabledInput=(i,y)=>{const g=I(f({},i),{disabled:void 0,readOnly:!0,"aria-disabled":!0});return(y==null?void 0:y(g))||null},this.onRenderDisabledInput=this.onRenderDisabledInput.bind(this)}getFocusBorder(p){let i=s.focus.borderColor;return this.props.errorMessage&&p.style.borderColor&&(i=`var(${p.style.borderColor})`),`1px ${s.regular.borderStyle} ${i}`}render(){const p=(0,t.getMessageInfo)(this.props),i=this.getStyles;return d.default.createElement(r.TextField,I(f({onRenderInput:this.props.disabled?this.onRenderDisabledInput:void 0},this.props),{errorMessage:p.message,styles:i}))}}_.UITextInput=c},"./src/components/UIInput/index.tsx":function(a,_,e){"use strict";var l=this&&this.__createBinding||(Object.create?function(r,t,o,n){n===void 0&&(n=o);var s=Object.getOwnPropertyDescriptor(t,o);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[o]}}),Object.defineProperty(r,n,s)}:function(r,t,o,n){n===void 0&&(n=o),r[n]=t[o]}),d=this&&this.__exportStar||function(r,t){for(var o in r)o!=="default"&&!Object.prototype.hasOwnProperty.call(t,o)&&l(t,r,o)};Object.defineProperty(_,"__esModule",{value:!0}),d(e("./src/components/UIInput/UITextInput.tsx"),_)},"./src/components/UILabel/UILabel.tsx":function(a,_,e){"use strict";var l=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(_,"__esModule",{value:!0}),_.UILabel=_.labelGlobalStyle=void 0;const d=l(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),r=e("../../node_modules/.pnpm/@fluentui+react@8.100.0_@types+react-dom@16.9.24_@types+react@16.14.55_react-dom@16.14.0_react@16.14.0/node_modules/@fluentui/react/lib-commonjs/index.js");_.labelGlobalStyle={fontWeight:"bold",fontSize:"13px",color:"var(--vscode-input-foreground)",fontFamily:"var(--vscode-font-family)",padding:"4px 0"};class t extends d.default.Component{constructor(n){super(n)}render(){const n=s=>({root:[f({marginTop:25},_.labelGlobalStyle),s.disabled&&{opacity:"0.4"},s.required&&{selectors:{"::after":{content:"' *'",color:"var(--vscode-inputValidation-errorBorder)",paddingRight:12}}}]});return d.default.createElement(r.Label,I(f({},this.props),{styles:n}))}}_.UILabel=t},"./src/components/UILabel/index.tsx":function(a,_,e){"use strict";var l=this&&this.__createBinding||(Object.create?function(r,t,o,n){n===void 0&&(n=o);var s=Object.getOwnPropertyDescriptor(t,o);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[o]}}),Object.defineProperty(r,n,s)}:function(r,t,o,n){n===void 0&&(n=o),r[n]=t[o]}),d=this&&this.__exportStar||function(r,t){for(var o in r)o!=="default"&&!Object.prototype.hasOwnProperty.call(t,o)&&l(t,r,o)};Object.defineProperty(_,"__esModule",{value:!0}),d(e("./src/components/UILabel/UILabel.tsx"),_)},"./src/helper/ValidationMessage/MessageWrapper.tsx":function(a,_,e){"use strict";var l=this&&this.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(_,"__esModule",{value:!0}),_.MessageWrapper=_.MESSAGE_ICONS_MAP=void 0;const d=l(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),r=e("./src/helper/ValidationMessage/utils.ts"),t=e("./src/components/Icons.tsx"),o=e("./src/components/UIIcon/index.tsx");e("./src/helper/ValidationMessage/MessageWrapper.scss"),_.MESSAGE_ICONS_MAP=new Map([[void 0,t.UiIcons.Error],[r.ErrorMessageType.Error,t.UiIcons.Error],[r.ErrorMessageType.Warning,t.UiIcons.Warning],[r.ErrorMessageType.Info,t.UiIcons.Info]]);function n(s){const{children:c,message:u}=s,p=u.message?r.MESSAGE_TYPES_CLASSNAME_MAP.get(u.type):void 0,i=_.MESSAGE_ICONS_MAP.get(u.type);return d.default.createElement("div",{className:`ts-message-wrapper ts-message-wrapper--${p}`},d.default.createElement("div",{className:"ts-message-target"},c),d.default.createElement("div",{className:"ts-message-body"},d.default.createElement(o.UIIcon,{iconName:i}),d.default.createElement("span",null,u.message)))}_.MessageWrapper=n},"./src/helper/ValidationMessage/index.tsx":function(a,_,e){"use strict";var l=this&&this.__createBinding||(Object.create?function(r,t,o,n){n===void 0&&(n=o);var s=Object.getOwnPropertyDescriptor(t,o);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[o]}}),Object.defineProperty(r,n,s)}:function(r,t,o,n){n===void 0&&(n=o),r[n]=t[o]}),d=this&&this.__exportStar||function(r,t){for(var o in r)o!=="default"&&!Object.prototype.hasOwnProperty.call(t,o)&&l(t,r,o)};Object.defineProperty(_,"__esModule",{value:!0}),d(e("./src/helper/ValidationMessage/MessageWrapper.tsx"),_),d(e("./src/helper/ValidationMessage/utils.ts"),_)},"./src/helper/ValidationMessage/utils.ts":(a,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.getMessageInfo=_.MESSAGE_TYPES_CLASSNAME_MAP=_.ErrorMessageType=void 0;var e;(function(s){s.Error="Error",s.Warning="Warning",s.Info="Info"})(e||(_.ErrorMessageType=e={}));const l=(s,c)=>{const u=`1px solid ${c}`;return{backgroundColor:s,borderLeft:u,borderRight:u,borderBottom:u,borderColor:c}},d={error:I(f({color:"var(--vscode-input-foreground)"},l("var(--vscode-inputValidation-errorBackground)","var(--vscode-inputValidation-errorBorder)")),{paddingTop:4,paddingBottom:5,paddingLeft:8,margin:0}),warning:{},info:{}};d.warning=f(f({},d.error),l("var(--vscode-inputValidation-warningBackground)","var(--vscode-inputValidation-warningBorder)")),d.info=f(f({},d.error),l("var(--vscode-inputValidation-infoBackground)","var(--vscode-inputValidation-infoBorder)")),_.MESSAGE_TYPES_CLASSNAME_MAP=new Map([[void 0,"error"],[e.Error,"error"],[e.Warning,"warning"],[e.Info,"info"]]);const r=s=>{let c;switch(s){case e.Warning:{c=d.warning;break}case e.Info:{c=d.info;break}default:{c=d.error;break}}return c},t=s=>{if(s){if(s.errorMessage)return e.Error;if(s.warningMessage)return e.Warning;if(s.infoMessage)return e.Info}return e.Error},o=s=>{const c=["errorMessage","warningMessage","infoMessage"];for(const u of c)if(s!=null&&s[u])return s[u]},n=s=>{const c=t(s);return{type:c,style:r(c),message:o(s)}};_.getMessageInfo=n}}]);})();
|
|
1
|
+
(()=>{var j=Object.defineProperty,h=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var O=Object.getOwnPropertySymbols;var C=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;var P=(a,_,e)=>_ in a?j(a,_,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[_]=e,f=(a,_)=>{for(var e in _||(_={}))C.call(_,e)&&P(a,e,_[e]);if(O)for(var e of O(_))A.call(_,e)&&P(a,e,_[e]);return a},I=(a,_)=>h(a,T(_));(self.webpackChunk_sap_ux_ui_components=self.webpackChunk_sap_ux_ui_components||[]).push([[217],{"../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.93.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@13.3.2_sass@1.66.1_webpack@5.93.0/node_modules/sass-loader/dist/cjs.js!./src/components/UIIcon/UIIcon.scss":(a,_,e)=>{var l=e("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.93.0/node_modules/css-loader/dist/runtime/noSourceMaps.js"),d=e("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.93.0/node_modules/css-loader/dist/runtime/api.js"),r=d(l);r.push([a.id,".ts-icon{fill:var(--vscode-foreground)}",""]),a.exports=r},"../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.93.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@13.3.2_sass@1.66.1_webpack@5.93.0/node_modules/sass-loader/dist/cjs.js!./src/helper/ValidationMessage/MessageWrapper.scss":(a,_,e)=>{var l=e("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.93.0/node_modules/css-loader/dist/runtime/noSourceMaps.js"),d=e("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.93.0/node_modules/css-loader/dist/runtime/api.js"),r=d(l);r.push([a.id,".ts-message-wrapper .ts-message-body{display:flex;font-size:11px}.ts-message-wrapper .ts-message-body>span{padding-top:1px}.ts-message-wrapper .ts-message-body>i{margin:1px 2px 0 0}.ts-message-wrapper--error .ts-message-body{color:var(--vscode-errorForeground)}.ts-message-wrapper--warning .ts-message-body{color:var(--vscode-editorMarkerNavigationWarning-background)}.ts-message-wrapper--info .ts-message-body{color:var(--vscode-inputValidation-infoBorder)}.ts-message-wrapper--info .ts-icon svg path{fill:var(--vscode-inputValidation-infoBorder)}.ts-message-wrapper--horizontal{display:flex}.ts-message-wrapper--horizontal .ts-message-body{align-self:flex-end;margin:0 0 7px 5px}",""]),a.exports=r},"./src/components/UIIcon/UIIcon.scss":(a,_,e)=>{"use strict";e.r(_),e.d(_,{default:()=>v});var l=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.93.0/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),d=e.n(l),r=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.93.0/node_modules/style-loader/dist/runtime/styleDomAPI.js"),t=e.n(r),o=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.93.0/node_modules/style-loader/dist/runtime/insertBySelector.js"),n=e.n(o),s=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.93.0/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),c=e.n(s),u=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.93.0/node_modules/style-loader/dist/runtime/insertStyleElement.js"),p=e.n(u),i=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.93.0/node_modules/style-loader/dist/runtime/styleTagTransform.js"),y=e.n(i),g=e("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.93.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@13.3.2_sass@1.66.1_webpack@5.93.0/node_modules/sass-loader/dist/cjs.js!./src/components/UIIcon/UIIcon.scss"),b=e.n(g),M={};for(const E in g)E!=="default"&&(M[E]=()=>g[E]);e.d(_,M);var m={};m.styleTagTransform=y(),m.setAttributes=c(),m.insert=n().bind(null,"head"),m.domAPI=t(),m.insertStyleElement=p();var S=d()(b(),m);const v=b()&&b().locals?b().locals:void 0},"./src/helper/ValidationMessage/MessageWrapper.scss":(a,_,e)=>{"use strict";e.r(_),e.d(_,{default:()=>v});var l=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.93.0/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),d=e.n(l),r=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.93.0/node_modules/style-loader/dist/runtime/styleDomAPI.js"),t=e.n(r),o=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.93.0/node_modules/style-loader/dist/runtime/insertBySelector.js"),n=e.n(o),s=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.93.0/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),c=e.n(s),u=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.93.0/node_modules/style-loader/dist/runtime/insertStyleElement.js"),p=e.n(u),i=e("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.93.0/node_modules/style-loader/dist/runtime/styleTagTransform.js"),y=e.n(i),g=e("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.93.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[11].use[1]!../../node_modules/.pnpm/sass-loader@13.3.2_sass@1.66.1_webpack@5.93.0/node_modules/sass-loader/dist/cjs.js!./src/helper/ValidationMessage/MessageWrapper.scss"),b=e.n(g),M={};for(const E in g)E!=="default"&&(M[E]=()=>g[E]);e.d(_,M);var m={};m.styleTagTransform=y(),m.setAttributes=c(),m.insert=n().bind(null,"head"),m.domAPI=t(),m.insertStyleElement=p();var S=d()(b(),m);const v=b()&&b().locals?b().locals:void 0},"./src/components/UIIcon/UIIcon.tsx":function(a,_,e){"use strict";var l=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(_,"__esModule",{value:!0}),_.UIIcon=void 0;const d=l(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),r=e("../../node_modules/.pnpm/@fluentui+react@8.100.0_@types+react-dom@16.9.24_@types+react@16.14.55_react-dom@16.14.0_react@16.14.0/node_modules/@fluentui/react/lib-commonjs/index.js");e("./src/components/UIIcon/UIIcon.scss");class t extends d.default.Component{constructor(n){super(n),this.setStyle=()=>({})}render(){const n=this.props.className?` ${this.props.className}`:"";return d.default.createElement(r.Icon,I(f({},this.props),{className:`ts-icon${n}`,styles:this.setStyle()}))}}_.UIIcon=t},"./src/components/UIIcon/index.tsx":function(a,_,e){"use strict";var l=this&&this.__createBinding||(Object.create?function(r,t,o,n){n===void 0&&(n=o);var s=Object.getOwnPropertyDescriptor(t,o);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[o]}}),Object.defineProperty(r,n,s)}:function(r,t,o,n){n===void 0&&(n=o),r[n]=t[o]}),d=this&&this.__exportStar||function(r,t){for(var o in r)o!=="default"&&!Object.prototype.hasOwnProperty.call(t,o)&&l(t,r,o)};Object.defineProperty(_,"__esModule",{value:!0}),d(e("./src/components/UIIcon/UIIcon.tsx"),_)},"./src/components/UIInput/UITextInput.tsx":function(a,_,e){"use strict";var l=this&&this.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(_,"__esModule",{value:!0}),_.UITextInput=_.COMMON_INPUT_STYLES=_.ITextFieldProps=_.ITextField=void 0;const d=l(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),r=e("../../node_modules/.pnpm/@fluentui+react@8.100.0_@types+react-dom@16.9.24_@types+react@16.14.55_react-dom@16.14.0_react@16.14.0/node_modules/@fluentui/react/lib-commonjs/index.js"),t=e("./src/helper/ValidationMessage/index.tsx"),o=e("./src/components/UILabel/index.tsx");var n=e("../../node_modules/.pnpm/@fluentui+react@8.100.0_@types+react-dom@16.9.24_@types+react@16.14.55_react-dom@16.14.0_react@16.14.0/node_modules/@fluentui/react/lib-commonjs/index.js");Object.defineProperty(_,"ITextField",{enumerable:!0,get:function(){return n.ITextField}}),Object.defineProperty(_,"ITextFieldProps",{enumerable:!0,get:function(){return n.ITextFieldProps}}),_.COMMON_INPUT_STYLES={borderRadius:2};const s={regular:{backgroundColor:"var(--vscode-input-background)",borderColor:"var(--vscode-editorWidget-border)",color:"var(--vscode-input-foreground)",borderStyle:"solid"},disabled:{backgroundColor:"var(--vscode-editor-inactiveSelectionBackground)",opacity:.5},readOnly:{backgroundColor:"var(--vscode-editor-background)",borderStyle:"dashed"},hover:{borderColor:"var(--vscode-focusBorder)"},focus:{borderColor:"var(--vscode-focusBorder)"}};class c extends d.default.Component{constructor(p){super(p),this.getStyles=i=>{const y=(0,t.getMessageInfo)(this.props);return{root:{height:"auto",fontFamily:"var(--vscode-font-family)"},fieldGroup:[{backgroundColor:s.regular.backgroundColor,borderWidth:1,borderStyle:s.regular.borderStyle,borderColor:s.regular.borderColor,color:s.regular.color,borderRadius:_.COMMON_INPUT_STYLES.borderRadius,boxSizing:"initial"},!i.multiline&&{height:24,maxHeight:24,minHeight:24},!i.disabled&&{selectors:{"&:hover":{borderColor:s.hover.borderColor}}},i.disabled&&{backgroundColor:s.disabled.backgroundColor,opacity:s.disabled.opacity,borderRadius:_.COMMON_INPUT_STYLES.borderRadius},this.props.readOnly&&{borderStyle:s.readOnly.borderStyle,backgroundColor:s.readOnly.backgroundColor,selectors:this.props.value?void 0:{"&:hover":{borderColor:"var(--vscode-editorWidget-border)"}}},i.hasErrorMessage&&{borderColor:y.style.borderColor},i.focused&&{selectors:{":after":{border:this.getFocusBorder(y),borderRadius:_.COMMON_INPUT_STYLES.borderRadius}}}],field:[{backgroundColor:s.regular.backgroundColor,color:s.regular.color,fontSize:"13px",fontWeight:"normal",boxSizing:"border-box",borderRadius:_.COMMON_INPUT_STYLES.borderRadius,fontFamily:"var(--vscode-font-family)",selectors:{"::placeholder":{fontSize:13,fontFamily:"var(--vscode-font-family)",color:"var(--vscode-input-placeholderForeground)"}}},!i.multiline&&{lineHeight:"normal"},i.multiline&&{minHeight:"60px",height:"auto",display:"flex"},i.disabled&&{backgroundColor:"transparent"},this.props.readOnly&&{fontStyle:"italic",backgroundColor:s.readOnly.backgroundColor},i.hasIcon&&{selectors:{"&:hover":{cursor:"pointer"}}}],suffix:{backgroundColor:"var(--vscode-input-background)"},subComponentStyles:{label:{root:[f({marginTop:25},o.labelGlobalStyle),i.disabled&&{opacity:s.disabled.opacity},i.required&&{selectors:{"::after":{content:"' *'",color:"var(--vscode-inputValidation-errorBorder)",paddingRight:12}}}]}},errorMessage:[y.style],icon:[{bottom:2}]}},this.onRenderDisabledInput=(i,y)=>{const g=I(f({},i),{disabled:void 0,readOnly:!0,"aria-disabled":!0});return(y==null?void 0:y(g))||null},this.onRenderDisabledInput=this.onRenderDisabledInput.bind(this)}getFocusBorder(p){let i=s.focus.borderColor;return this.props.errorMessage&&p.style.borderColor&&(i=`var(${p.style.borderColor})`),`1px ${s.regular.borderStyle} ${i}`}render(){const p=(0,t.getMessageInfo)(this.props),i=this.getStyles;return d.default.createElement(r.TextField,I(f({onRenderInput:this.props.disabled?this.onRenderDisabledInput:void 0},this.props),{errorMessage:p.message,styles:i}))}}_.UITextInput=c},"./src/components/UIInput/index.tsx":function(a,_,e){"use strict";var l=this&&this.__createBinding||(Object.create?function(r,t,o,n){n===void 0&&(n=o);var s=Object.getOwnPropertyDescriptor(t,o);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[o]}}),Object.defineProperty(r,n,s)}:function(r,t,o,n){n===void 0&&(n=o),r[n]=t[o]}),d=this&&this.__exportStar||function(r,t){for(var o in r)o!=="default"&&!Object.prototype.hasOwnProperty.call(t,o)&&l(t,r,o)};Object.defineProperty(_,"__esModule",{value:!0}),d(e("./src/components/UIInput/UITextInput.tsx"),_)},"./src/components/UILabel/UILabel.tsx":function(a,_,e){"use strict";var l=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(_,"__esModule",{value:!0}),_.UILabel=_.labelGlobalStyle=void 0;const d=l(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),r=e("../../node_modules/.pnpm/@fluentui+react@8.100.0_@types+react-dom@16.9.24_@types+react@16.14.55_react-dom@16.14.0_react@16.14.0/node_modules/@fluentui/react/lib-commonjs/index.js");_.labelGlobalStyle={fontWeight:"bold",fontSize:"13px",color:"var(--vscode-input-foreground)",fontFamily:"var(--vscode-font-family)",padding:"4px 0"};class t extends d.default.Component{constructor(n){super(n)}render(){const n=s=>({root:[f({marginTop:25},_.labelGlobalStyle),s.disabled&&{opacity:"0.4"},s.required&&{selectors:{"::after":{content:"' *'",color:"var(--vscode-inputValidation-errorBorder)",paddingRight:12}}}]});return d.default.createElement(r.Label,I(f({},this.props),{styles:n}))}}_.UILabel=t},"./src/components/UILabel/index.tsx":function(a,_,e){"use strict";var l=this&&this.__createBinding||(Object.create?function(r,t,o,n){n===void 0&&(n=o);var s=Object.getOwnPropertyDescriptor(t,o);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[o]}}),Object.defineProperty(r,n,s)}:function(r,t,o,n){n===void 0&&(n=o),r[n]=t[o]}),d=this&&this.__exportStar||function(r,t){for(var o in r)o!=="default"&&!Object.prototype.hasOwnProperty.call(t,o)&&l(t,r,o)};Object.defineProperty(_,"__esModule",{value:!0}),d(e("./src/components/UILabel/UILabel.tsx"),_)},"./src/helper/ValidationMessage/MessageWrapper.tsx":function(a,_,e){"use strict";var l=this&&this.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(_,"__esModule",{value:!0}),_.MessageWrapper=_.MESSAGE_ICONS_MAP=void 0;const d=l(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),r=e("./src/helper/ValidationMessage/utils.ts"),t=e("./src/components/Icons.tsx"),o=e("./src/components/UIIcon/index.tsx");e("./src/helper/ValidationMessage/MessageWrapper.scss"),_.MESSAGE_ICONS_MAP=new Map([[void 0,t.UiIcons.Error],[r.ErrorMessageType.Error,t.UiIcons.Error],[r.ErrorMessageType.Warning,t.UiIcons.Warning],[r.ErrorMessageType.Info,t.UiIcons.Info]]);function n(s){const{children:c,message:u}=s,p=u.message?r.MESSAGE_TYPES_CLASSNAME_MAP.get(u.type):void 0,i=_.MESSAGE_ICONS_MAP.get(u.type);return d.default.createElement("div",{className:`ts-message-wrapper ts-message-wrapper--${p}`},d.default.createElement("div",{className:"ts-message-target"},c),d.default.createElement("div",{className:"ts-message-body"},d.default.createElement(o.UIIcon,{iconName:i}),d.default.createElement("span",null,u.message)))}_.MessageWrapper=n},"./src/helper/ValidationMessage/index.tsx":function(a,_,e){"use strict";var l=this&&this.__createBinding||(Object.create?function(r,t,o,n){n===void 0&&(n=o);var s=Object.getOwnPropertyDescriptor(t,o);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[o]}}),Object.defineProperty(r,n,s)}:function(r,t,o,n){n===void 0&&(n=o),r[n]=t[o]}),d=this&&this.__exportStar||function(r,t){for(var o in r)o!=="default"&&!Object.prototype.hasOwnProperty.call(t,o)&&l(t,r,o)};Object.defineProperty(_,"__esModule",{value:!0}),d(e("./src/helper/ValidationMessage/MessageWrapper.tsx"),_),d(e("./src/helper/ValidationMessage/utils.ts"),_)},"./src/helper/ValidationMessage/utils.ts":(a,_)=>{"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.getMessageInfo=_.MESSAGE_TYPES_CLASSNAME_MAP=_.ErrorMessageType=void 0;var e;(function(s){s.Error="Error",s.Warning="Warning",s.Info="Info"})(e||(_.ErrorMessageType=e={}));const l=(s,c)=>{const u=`1px solid ${c}`;return{backgroundColor:s,borderLeft:u,borderRight:u,borderBottom:u,borderColor:c}},d={error:I(f({color:"var(--vscode-input-foreground)"},l("var(--vscode-inputValidation-errorBackground)","var(--vscode-inputValidation-errorBorder)")),{paddingTop:4,paddingBottom:5,paddingLeft:8,margin:0}),warning:{},info:{}};d.warning=f(f({},d.error),l("var(--vscode-inputValidation-warningBackground)","var(--vscode-inputValidation-warningBorder)")),d.info=f(f({},d.error),l("var(--vscode-inputValidation-infoBackground)","var(--vscode-inputValidation-infoBorder)")),_.MESSAGE_TYPES_CLASSNAME_MAP=new Map([[void 0,"error"],[e.Error,"error"],[e.Warning,"warning"],[e.Info,"info"]]);const r=s=>{let c;switch(s){case e.Warning:{c=d.warning;break}case e.Info:{c=d.info;break}default:{c=d.error;break}}return c},t=s=>{if(s){if(s.errorMessage)return e.Error;if(s.warningMessage)return e.Warning;if(s.infoMessage)return e.Info}return e.Error},o=s=>{const c=["errorMessage","warningMessage","infoMessage"];for(const u of c)if(s!=null&&s[u])return s[u]},n=s=>{const c=t(s);return{type:c,style:r(c),message:o(s)}};_.getMessageInfo=n}}]);})();
|