@sap-ux/ui-components 1.13.3 → 1.13.4
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/UIActionCallout/UIActionCallout.scss +0 -1
- package/dist/components/UICallout/UICallout.d.ts +1 -0
- package/dist/components/UICallout/UICallout.d.ts.map +1 -1
- package/dist/components/UICallout/UICallout.js +2 -1
- package/dist/components/UICallout/UICallout.js.map +1 -1
- package/dist/components/UIDialog/UIDialog.d.ts +1 -0
- package/dist/components/UIDialog/UIDialog.d.ts.map +1 -1
- package/dist/components/UIDialog/UIDialog.js +2 -1
- package/dist/components/UIDialog/UIDialog.js.map +1 -1
- package/dist/components/UIFlexibleTable/UIFlexibleTable.scss +1 -1
- package/dist/styles/_shadows.scss +19 -0
- package/dist/styles/_variables.scss +5 -0
- package/dist/styles/ui-components.scss +1 -0
- package/package.json +1 -1
- package/storybook/580.c5ddde6e.iframe.bundle.js +1 -0
- package/storybook/666.7332043d.iframe.bundle.js +7 -0
- package/storybook/959.cfd0b5da.iframe.bundle.js +1 -0
- package/storybook/UIActionCallout-story.13bdf055.iframe.bundle.js +2 -0
- package/storybook/UICallout-story.02f5453c.iframe.bundle.js +2 -0
- package/storybook/UICreateSelect-story.d3cd928a.iframe.bundle.js +2 -0
- package/storybook/UILoader-story.877b4208.iframe.bundle.js +6 -0
- package/storybook/UITooltip-story.2e3afa33.iframe.bundle.js +1 -0
- package/storybook/Utilities-story.5c3248ff.iframe.bundle.js +1 -0
- package/storybook/iframe.html +2 -2
- package/storybook/index.json +1 -1
- package/storybook/{main.5a2ed69f.iframe.bundle.js → main.4ed99289.iframe.bundle.js} +1 -1
- package/storybook/project.json +1 -1
- package/storybook/runtime~main.066df2c1.iframe.bundle.js +2 -0
- package/storybook/stories.json +1 -1
- package/storybook/580.f238ed95.iframe.bundle.js +0 -1
- package/storybook/666.bb0aac95.iframe.bundle.js +0 -7
- package/storybook/959.6d7ed24c.iframe.bundle.js +0 -1
- package/storybook/UIActionCallout-story.c4c2ba89.iframe.bundle.js +0 -2
- package/storybook/UICallout-story.ae31276b.iframe.bundle.js +0 -2
- package/storybook/UICreateSelect-story.e2f32e1b.iframe.bundle.js +0 -2
- package/storybook/UILoader-story.177c9825.iframe.bundle.js +0 -6
- package/storybook/UITooltip-story.eda2d811.iframe.bundle.js +0 -1
- package/storybook/runtime~main.f4509474.iframe.bundle.js +0 -2
|
@@ -5,6 +5,7 @@ export interface UICalloutProps extends ICalloutProps {
|
|
|
5
5
|
contentPadding?: UICalloutContentPadding;
|
|
6
6
|
focusTargetSiblingOnTabPress?: boolean;
|
|
7
7
|
}
|
|
8
|
+
import '../../styles/_shadows.scss';
|
|
8
9
|
export declare const CALLOUT_STYLES: {
|
|
9
10
|
background: string;
|
|
10
11
|
boxShadow: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UICallout.d.ts","sourceRoot":"","sources":["../../../src/components/UICallout/UICallout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EACR,aAAa,EACb,qBAAqB,EAIxB,MAAM,iBAAiB,CAAC;AAIzB,MAAM,WAAW,cAAe,SAAQ,aAAa;IACjD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,uBAAuB,CAAC;IACzC,4BAA4B,CAAC,EAAE,OAAO,CAAC;CAC1C;AAED,eAAO,MAAM,cAAc;;;;;;
|
|
1
|
+
{"version":3,"file":"UICallout.d.ts","sourceRoot":"","sources":["../../../src/components/UICallout/UICallout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EACR,aAAa,EACb,qBAAqB,EAIxB,MAAM,iBAAiB,CAAC;AAIzB,MAAM,WAAW,cAAe,SAAQ,aAAa;IACjD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,uBAAuB,CAAC;IACzC,4BAA4B,CAAC,EAAE,OAAO,CAAC;CAC1C;AAED,OAAO,4BAA4B,CAAC;AAEpC,eAAO,MAAM,cAAc;;;;;;CAM1B,CAAC;AAEF,oBAAY,uBAAuB;IAC/B,IAAI,SAAS;IACb,QAAQ,aAAa;CACxB;AAsBD,eAAO,MAAM,eAAe,UAAW,cAAc,KAAG,qBA8BvD,CAAC;AAEF;;;;;;;GAOG;AACH,qBAAa,SAAU,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,EAAE,EAAE,CAAC;IAC9D;;;;OAIG;gBACgB,KAAK,EAAE,cAAc;IAKxC;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;IAoBjB;;OAEG;IACH,MAAM,IAAI,GAAG,CAAC,OAAO;CAOxB"}
|
|
@@ -7,9 +7,10 @@ exports.UICallout = exports.getCalloutStyle = exports.UICalloutContentPadding =
|
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const react_2 = require("@fluentui/react");
|
|
9
9
|
const utilities_1 = require("../../utilities");
|
|
10
|
+
require("../../styles/_shadows.scss");
|
|
10
11
|
exports.CALLOUT_STYLES = {
|
|
11
12
|
background: 'var(--vscode-editorSuggestWidget-background)',
|
|
12
|
-
boxShadow: '
|
|
13
|
+
boxShadow: 'var(--ui-box-shadow-small)',
|
|
13
14
|
text: 'var(--vscode-editorSuggestWidget-foreground)',
|
|
14
15
|
font: 'var(--vscode-font-family)',
|
|
15
16
|
borderRadius: 4
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UICallout.js","sourceRoot":"","sources":["../../../src/components/UICallout/UICallout.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAQ1B,2CAAuD;AACvD,+CAAgE;
|
|
1
|
+
{"version":3,"file":"UICallout.js","sourceRoot":"","sources":["../../../src/components/UICallout/UICallout.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAQ1B,2CAAuD;AACvD,+CAAgE;AAQhE,sCAAoC;AAEvB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ACH,OAAO,CAAC,YAAY;IAIpB;;OAEG;IACH,OAAO,CAAC,QAAQ;IAMhB;;;;OAIG;IACH,OAAO,CAAC,kBAAkB;IAI1B;;;;;;;;OAQG;IACH,SAAS,IAAI,GAAG,CAAC,OAAO,GAAG,SAAS;IA8CpC;;;;;;OAMG;IACH,iBAAiB,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,GAAG,IAAI;IAYhD;;OAEG;IACH,MAAM,IAAI,GAAG,CAAC,OAAO;CA6GxB"}
|
|
@@ -8,10 +8,11 @@ const react_1 = __importDefault(require("react"));
|
|
|
8
8
|
const react_2 = require("@fluentui/react");
|
|
9
9
|
const UIButton_1 = require("../UIButton");
|
|
10
10
|
const DeepMerge_1 = require("../../utilities/DeepMerge");
|
|
11
|
+
require("../../styles/_shadows.scss");
|
|
11
12
|
exports.DIALOG_MAX_HEIGHT_OFFSET = 32;
|
|
12
13
|
exports.DIALOG_STYLES = {
|
|
13
14
|
background: 'var(--vscode-editorWidget-background)',
|
|
14
|
-
boxShadow: '
|
|
15
|
+
boxShadow: 'var(--ui-box-shadow-medium)',
|
|
15
16
|
borderColor: 'var(--vscode-editorWidget-border)',
|
|
16
17
|
borderRadius: 4,
|
|
17
18
|
vPadding: 20,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UIDialog.js","sourceRoot":"","sources":["../../../src/components/UIDialog/UIDialog.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,2CAAqE;AACrE,0CAA8C;AAC9C,yDAAsD;
|
|
1
|
+
{"version":3,"file":"UIDialog.js","sourceRoot":"","sources":["../../../src/components/UIDialog/UIDialog.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,2CAAqE;AACrE,0CAA8C;AAC9C,yDAAsD;AAEtD,sCAAoC;AAwBvB,QAAA,wBAAwB,GAAG,EAAE,CAAC;AAE9B,QAAA,aAAa,GAAG;IACzB,UAAU,EAAE,uCAAuC;IACnD,SAAS,EA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C,eAAe;yBACxC,CAAC;qBACL;oBACD,YAAY,EAAE;wBACV,OAAO,EAAE,GAAG,qBAAa,CAAC,YAAY,MAAM,qBAAa,CAAC,QAAQ,IAAI;wBACtE,SAAS,EAAE,YAAY;wBACvB,GAAG,CAAC,UAAU,KAAK,kBAAkB,CAAC,OAAO,IAAI;4BAC7C,MAAM,EAAE,MAAM;4BACd,QAAQ,EAAE,MAAM;4BAChB,SAAS,EAAE,YAAY;yBAC1B,CAAC;qBACL;iBACJ;aACJ;SACJ,CAAC;QAEF,MAAM,KAAK,GAAG,IAAA,qBAAS,EAAC,WAAW,EAAE,IAAI,CAAC,CAAC;QAE3C,OAAO,CACH,8BAAC,cAAU,OAAK,KAAK;YAChB,QAAQ;YACR,IAAI,CAAC,SAAS,EAAE,CACR,CAChB,CAAC;IACN,CAAC;;AArRL,4BAsRC;AArRG,iDAAiD;AAC1C,qBAAY,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@import './variables';
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--ui-box-shadow-small: #{$box-shadow-small};
|
|
5
|
+
--ui-box-shadow-medium: #{$box-shadow-medium};
|
|
6
|
+
--ui-box-shadow-large: #{$box-shadow-large};
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.ui-box-shadow-small {
|
|
10
|
+
box-shadow: var(--ui-box-shadow-small);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.ui-box-shadow-medium {
|
|
14
|
+
box-shadow: var(--ui-box-shadow-medium);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ui-box-shadow-large {
|
|
18
|
+
box-shadow: var(--ui-box-shadow-large);
|
|
19
|
+
}
|
|
@@ -7,6 +7,11 @@ $font-weight-base: var(--vscode-font-weight);
|
|
|
7
7
|
$base-element-height: 26px;
|
|
8
8
|
$button-font-size: $font-size-base;
|
|
9
9
|
|
|
10
|
+
// Box shadows
|
|
11
|
+
$box-shadow-small: 0 4px 8px 0 var(--vscode-widget-shadow);
|
|
12
|
+
$box-shadow-medium: 0 6px 12px 0 var(--vscode-widget-shadow);
|
|
13
|
+
$box-shadow-large: 0 10px 20px 0 var(--vscode-widget-shadow);
|
|
14
|
+
|
|
10
15
|
// Dropdowns
|
|
11
16
|
// colors
|
|
12
17
|
$dropdown-input-height: $base-element-height;
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(()=>{(self.webpackChunk_sap_ux_ui_components=self.webpackChunk_sap_ux_ui_components||[]).push([[580],{"../../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/UIComboBox/Callout.scss":(O,n,o)=>{var g=o("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.88.0/node_modules/css-loader/dist/runtime/noSourceMaps.js"),b=o("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.88.0/node_modules/css-loader/dist/runtime/api.js"),a=b(g);a.push([O.id,".ui-large-header{font-family:var(--vscode-font-family);font-weight:bold;font-size:24px;font-style:normal;line-height:29px;color:var(--vscode-settings-headerForeground)}.ui-medium-header{font-family:var(--vscode-font-family);font-weight:bold;font-size:14px;font-style:normal;line-height:16px;color:var(--vscode-settings-headerForeground)}.ui-small-header{font-family:var(--vscode-font-family);font-weight:bold;font-size:13px;font-style:normal;line-height:15px;color:var(--vscode-settings-textInputForeground)}.ui-medium-text{font-family:var(--vscode-font-family);font-weight:normal;font-size:13px;font-style:normal;line-height:18px;color:var(--vscode-settings-textInputForeground)}.ui-medium-italic-text{font-family:var(--vscode-font-family);font-weight:normal;font-size:13px;font-style:italic;line-height:18px;color:var(--vscode-settings-textInputForeground)}.ui-small-text{font-family:var(--vscode-font-family);font-weight:normal;font-size:11px;font-style:normal;line-height:15px;color:var(--vscode-settings-textInputForeground)}.ui-small-italic-text{font-family:var(--vscode-font-family);font-weight:normal;font-size:11px;font-style:italic;line-height:15px;color:var(--vscode-settings-textInputForeground)}: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)}.ts-Callout button{font-size:var(--vscode-font-size);font-family:var(--vscode-font-family);font-weight:var(--vscode-font-weight)}",""]),O.exports=a},"../../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/UIComboBox/UIComboBox.scss":(O,n,o)=>{var g=o("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.88.0/node_modules/css-loader/dist/runtime/noSourceMaps.js"),b=o("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.88.0/node_modules/css-loader/dist/runtime/api.js"),a=b(g);a.push([O.id,".ts-ComboBox .ms-ComboBox{background:var(--vscode-input-background);height:26px;padding:0px 26px 0 8px;border-radius:2px}.ts-ComboBox .ms-ComboBox>.ms-Button--icon{right:0;width:26px;background:rgba(0,0,0,0);height:100%;text-align:center}.ts-ComboBox .ms-ComboBox>.ms-Button--icon i{height:100%;fill:var(--vscode-foreground)}.ts-ComboBox .ms-ComboBox>.ms-Button--icon i svg{height:100%;width:16px}.ts-ComboBox .ms-ComboBox input{background:rgba(0,0,0,0);font-family:var(--vscode-font-family) !important;font-size:13px;min-height:unset;padding:1px 0 1px 1px;outline:0}.ts-ComboBox .ms-ComboBox input,.ts-ComboBox .ms-ComboBox:hover input{color:var(--vscode-foreground)}.ts-ComboBox .ms-ComboBox input::placeholder,.ts-ComboBox .ms-ComboBox:hover input::placeholder{color:var(--vscode-input-placeholderForeground)}.ts-ComboBox .ms-ComboBox:after{border:1px solid var(--vscode-editorWidget-border);border-radius:2px}.ts-ComboBox .ms-ComboBox:hover:after,.ts-ComboBox .ms-ComboBox:focus-within:after,.ts-ComboBox .ms-ComboBox.is-open:after{border-color:var(--vscode-focusBorder)}.ts-ComboBox--readonly .ms-ComboBox.is-disabled{background-color:var(--vscode-editor-background);font-style:italic}.ts-ComboBox--readonly .ms-ComboBox.is-disabled:after{border-style:dashed}.ts-ComboBox--readonly.ts-ComboBox--empty .ms-ComboBox:hover:after{border-color:var(--vscode-editorWidget-border)}.ts-ComboBox--disabled .ms-ComboBox.is-disabled{opacity:.5;background-color:var(--vscode-editor-inactiveSelectionBackground)}.ts-ComboBox--disabled .ms-ComboBox.is-disabled:after{border-color:var(--vscode-editorWidget-border)}.ts-ComboBox--readonly .ms-ComboBox:focus-within:after,.ts-ComboBox--disabled .ms-ComboBox:focus-within:after{border-style:solid;border-color:var(--vscode-focusBorder) !important}.ts-ComboBox--error .ms-ComboBox:after,.ts-ComboBox--error .ms-ComboBox:focus-within:after{border-color:var(--vscode-inputValidation-errorBorder)}.ts-ComboBox--warning .ms-ComboBox:after,.ts-ComboBox--warning .ms-ComboBox:focus-within:after{border-color:var(--vscode-inputValidation-warningBorder)}.ts-ComboBox--info .ms-ComboBox:after,.ts-ComboBox--info .ms-ComboBox:focus-within:after{border-color:var(--vscode-inputValidation-infoBorder)}.ts-Callout-Dropdown{border:1px solid var(--vscode-focusBorder);box-sizing:border-box;border-radius:2px;overflow:hidden}.ts-Callout-Dropdown .ms-Callout-main{background:var(--vscode-menu-background, var(--vscode-input-background));border:none;border-radius:0}.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Button--command,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-ComboBox-option,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Dropdown-item,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Button--command,.ts-Callout-Dropdown .ms-Dropdown-items .ms-ComboBox-option,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Dropdown-item{font-size:var(--vscode-font-size);font-family:var(--vscode-font-family);font-weight:var(--vscode-font-weight);min-height:22px;height:22px;line-height:22px;color:var(--vscode-editorSuggestWidget-foreground);background-color:rgba(0,0,0,0);letter-spacing:normal;border:0;padding:0px 8px;font-size:13px}.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Button--command:hover,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Button--command:focus,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Button--command:active,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-ComboBox-option:hover,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-ComboBox-option:focus,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-ComboBox-option:active,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Dropdown-item:hover,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Dropdown-item:focus,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Dropdown-item:active,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Button--command:hover,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Button--command:focus,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Button--command:active,.ts-Callout-Dropdown .ms-Dropdown-items .ms-ComboBox-option:hover,.ts-Callout-Dropdown .ms-Dropdown-items .ms-ComboBox-option:focus,.ts-Callout-Dropdown .ms-Dropdown-items .ms-ComboBox-option:active,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Dropdown-item:hover,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Dropdown-item:focus,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Dropdown-item:active{background-color:var(--vscode-list-hoverBackground);color:var(--vscode-editorSuggestWidget-foreground)}.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Button--command:hover:after,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Button--command:focus:after,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Button--command:active:after,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-ComboBox-option:hover:after,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-ComboBox-option:focus:after,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-ComboBox-option:active:after,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Dropdown-item:hover:after,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Dropdown-item:focus:after,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Dropdown-item:active:after,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Button--command:hover:after,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Button--command:focus:after,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Button--command:active:after,.ts-Callout-Dropdown .ms-Dropdown-items .ms-ComboBox-option:hover:after,.ts-Callout-Dropdown .ms-Dropdown-items .ms-ComboBox-option:focus:after,.ts-Callout-Dropdown .ms-Dropdown-items .ms-ComboBox-option:active:after,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Dropdown-item:hover:after,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Dropdown-item:focus:after,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Dropdown-item:active:after{display:none}.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Button--command:hover,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-ComboBox-option:hover,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Dropdown-item:hover,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Button--command:hover,.ts-Callout-Dropdown .ms-Dropdown-items .ms-ComboBox-option:hover,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Dropdown-item:hover{outline:1px dashed var(--vscode-contrastActiveBorder);outline-offset:-1px}.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Button--command .ts-Menu-option,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-ComboBox-option .ts-Menu-option,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Dropdown-item .ts-Menu-option,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Button--command .ts-Menu-option,.ts-Callout-Dropdown .ms-Dropdown-items .ms-ComboBox-option .ts-Menu-option,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Dropdown-item .ts-Menu-option{font-size:13px}.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Button--command .ms-ComboBox-optionText,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Button--command .ts-Menu-option,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Button--command .ms-Dropdown-optionText,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-ComboBox-option .ms-ComboBox-optionText,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-ComboBox-option .ts-Menu-option,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-ComboBox-option .ms-Dropdown-optionText,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Dropdown-item .ms-ComboBox-optionText,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Dropdown-item .ts-Menu-option,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Dropdown-item .ms-Dropdown-optionText,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Button--command .ms-ComboBox-optionText,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Button--command .ts-Menu-option,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Button--command .ms-Dropdown-optionText,.ts-Callout-Dropdown .ms-Dropdown-items .ms-ComboBox-option .ms-ComboBox-optionText,.ts-Callout-Dropdown .ms-Dropdown-items .ms-ComboBox-option .ts-Menu-option,.ts-Callout-Dropdown .ms-Dropdown-items .ms-ComboBox-option .ms-Dropdown-optionText,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Dropdown-item .ms-ComboBox-optionText,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Dropdown-item .ts-Menu-option,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Dropdown-item .ms-Dropdown-optionText{height:22px}.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Button--command .ms-Dropdown-optionText,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-ComboBox-option .ms-Dropdown-optionText,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Dropdown-item .ms-Dropdown-optionText,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Button--command .ms-Dropdown-optionText,.ts-Callout-Dropdown .ms-Dropdown-items .ms-ComboBox-option .ms-Dropdown-optionText,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Dropdown-item .ms-Dropdown-optionText{margin:0}.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Button--command:after,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Button--command:after{display:none}.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ts-ComboBox--selected .ms-ComboBox-option.ms-Button--command,.ts-Callout-Dropdown .ms-Dropdown-items .ts-ComboBox--selected .ms-ComboBox-option.ms-Button--command{background-color:var(--vscode-editorSuggestWidget-selectedBackground, var(--vscode-quickInputList-focusBackground));color:var(--vscode-editorSuggestWidget-selectedForeground, var(--vscode-quickInputList-focusForeground, var(--vscode-editorSuggestWidget-foreground)))}.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ts-ComboBox--selected .ms-Button--command,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ts-ComboBox--selected .ms-ComboBox-option:after,.ts-Callout-Dropdown .ms-Dropdown-items .ts-ComboBox--selected .ms-Button--command,.ts-Callout-Dropdown .ms-Dropdown-items .ts-ComboBox--selected .ms-ComboBox-option:after{border:none;outline:1px solid var(--vscode-focusBorder);outline-offset:-1px}.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-ComboBox-header,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Dropdown-header,.ts-Callout-Dropdown .ms-Dropdown-items .ms-ComboBox-header,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Dropdown-header{min-height:22px;height:22px;line-height:22px;padding:0px 8px;color:var(--vscode-editorSuggestWidget-foreground);font-size:11px;font-weight:bold;text-transform:uppercase}.ts-Callout-Dropdown .ms-ComboBox-optionsContainer>div .ms-ComboBox-header,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer>div .ms-Dropdown-header,.ts-Callout-Dropdown .ms-Dropdown-items>div .ms-ComboBox-header,.ts-Callout-Dropdown .ms-Dropdown-items>div .ms-Dropdown-header{border-top:1px solid var(--vscode-editorWidget-border)}.ts-Callout-Dropdown .ms-ComboBox-optionsContainer>div:first-child .ms-ComboBox-header,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer>div:first-child .ms-Dropdown-header,.ts-Callout-Dropdown .ms-Dropdown-items>div:first-child .ms-ComboBox-header,.ts-Callout-Dropdown .ms-Dropdown-items>div:first-child .ms-Dropdown-header{border-top:none}.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-ComboBox-divider,.ts-Callout-Dropdown .ms-ComboBox-optionsContainer .ms-Dropdown-divider,.ts-Callout-Dropdown .ms-Dropdown-items .ms-ComboBox-divider,.ts-Callout-Dropdown .ms-Dropdown-items .ms-Dropdown-divider{background-color:var(--vscode-editorWidget-border)}.ts-Callout-Dropdown .ms-Dropdown-items>.ms-Button--command{display:block}.ts-Callout-Dropdown .ms-Dropdown-items>.ms-Button--command:focus{background:var(--vscode-editorSuggestWidget-selectedBackground, var(--vscode-quickInputList-focusBackground));color:var(--vscode-editorSuggestWidget-selectedForeground, var(--vscode-quickInputList-focusForeground, var(--vscode-editorSuggestWidget-foreground)));outline:1px solid var(--vscode-focusBorder);outline-offset:-1px}.ts-Callout-Dropdown .ms-Checkbox.ms-ComboBox-option .ms-Checkbox-checkbox,.ts-Callout-Dropdown .ms-Checkbox.ms-Dropdown-item .ms-Checkbox-checkbox{background:var(--vscode-editor-lineHighlightBorder);border-color:var(--vscode-editorWidget-border);height:16px;width:16px;margin-right:8px}.ts-Callout-Dropdown .ms-Checkbox.ms-ComboBox-option .ms-Checkbox-checkmark,.ts-Callout-Dropdown .ms-Checkbox.ms-Dropdown-item .ms-Checkbox-checkmark{color:var(--vscode-checkbox-border)}.ts-Callout-Dropdown .ms-Checkbox.ms-ComboBox-option.is-checked,.ts-Callout-Dropdown .ms-Checkbox.ms-Dropdown-item.is-checked{background-color:var(--vscode-editorSuggestWidget-selectedBackground, var(--vscode-quickInputList-focusBackground));color:var(--vscode-editorSuggestWidget-selectedForeground, var(--vscode-quickInputList-focusForeground, var(--vscode-editorSuggestWidget-foreground)))}.ts-Callout-Dropdown .ms-Checkbox.ms-ComboBox-option.is-checked .ms-Checkbox-checkmark,.ts-Callout-Dropdown .ms-Checkbox.ms-Dropdown-item.is-checked .ms-Checkbox-checkmark{color:var(--vscode-input-foreground)}.ts-Callout-Dropdown .ms-Checkbox.ms-ComboBox-option.is-checked:hover,.ts-Callout-Dropdown .ms-Checkbox.ms-Dropdown-item.is-checked:hover{outline:1px solid var(--vscode-focusBorder);outline-offset:-1px}.ts-Callout-Dropdown .ms-Checkbox.ms-ComboBox-option:hover .ms-Checkbox-checkbox,.ts-Callout-Dropdown .ms-Checkbox.ms-Dropdown-item:hover .ms-Checkbox-checkbox{border-color:var(--vscode-focusBorder)}.ts-Callout-Dropdown .ms-Checkbox.ms-ComboBox-option input{display:none}.ts-Callout-Dropdown .ms-Checkbox .ms-Checkbox-label{font-size:13px;padding:0}.ts-Callout-Dropdown .ms-Checkbox.ms-Dropdown-item input:focus+label .ms-Dropdown-optionText{z-index:1}.ts-Callout-Dropdown .ms-Checkbox.ms-Dropdown-item input:focus+label:before{outline:none;z-index:0;left:-8px;right:-8px;outline:1px solid var(--vscode-focusBorder);outline-offset:-1px}.option-loading{display:flex;padding-left:8px;width:262px;height:26px}.option-loading .uiLoaderXSmall .ms-Spinner-label{font-size:12px;font-weight:normal}",""]),O.exports=a},"../../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/UILoader/UILoader.scss":(O,n,o)=>{var g=o("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.88.0/node_modules/css-loader/dist/runtime/noSourceMaps.js"),b=o("../../node_modules/.pnpm/css-loader@6.8.1_webpack@5.88.0/node_modules/css-loader/dist/runtime/api.js"),a=b(g);a.push([O.id,".ui-large-header{font-family:var(--vscode-font-family);font-weight:bold;font-size:24px;font-style:normal;line-height:29px;color:var(--vscode-settings-headerForeground)}.ui-medium-header{font-family:var(--vscode-font-family);font-weight:bold;font-size:14px;font-style:normal;line-height:16px;color:var(--vscode-settings-headerForeground)}.ui-small-header{font-family:var(--vscode-font-family);font-weight:bold;font-size:13px;font-style:normal;line-height:15px;color:var(--vscode-settings-textInputForeground)}.ui-medium-text{font-family:var(--vscode-font-family);font-weight:normal;font-size:13px;font-style:normal;line-height:18px;color:var(--vscode-settings-textInputForeground)}.ui-medium-italic-text{font-family:var(--vscode-font-family);font-weight:normal;font-size:13px;font-style:italic;line-height:18px;color:var(--vscode-settings-textInputForeground)}.ui-small-text{font-family:var(--vscode-font-family);font-weight:normal;font-size:11px;font-style:normal;line-height:15px;color:var(--vscode-settings-textInputForeground)}.ui-small-italic-text{font-family:var(--vscode-font-family);font-weight:normal;font-size:11px;font-style:italic;line-height:15px;color:var(--vscode-settings-textInputForeground)}: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)}.uiLoaderXLarge .ms-Spinner-circle{width:50px;height:50px}.uiLoaderXSmall .ms-Spinner-circle{border-width:1px;width:12px;height:12px}.ui-loader--delayed{opacity:0;animation:1s ease-in .3s normal forwards 1 ui-loader-fade-in;z-index:1}@keyframes ui-loader-fade-in{0%{opacity:0}100%{opacity:1}}",""]),O.exports=a},"./src/components/UICheckbox/UICheckbox.tsx":function(O,n,o){"use strict";var g=Object.defineProperty,b=Object.defineProperties,a=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,_=(d,e,u)=>e in d?g(d,e,{enumerable:!0,configurable:!0,writable:!0,value:u}):d[e]=u,c=(d,e)=>{for(var u in e||(e={}))r.call(e,u)&&_(d,u,e[u]);if(l)for(var u of l(e))i.call(e,u)&&_(d,u,e[u]);return d},y=(d,e)=>b(d,a(e)),w=this&&this.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(n,"__esModule",{value:!0}),n.UICheckbox=void 0;const f=w(o("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),x=o("../../node_modules/.pnpm/@fluentui+react@8.100.0_@types+react-dom@16.8.5_@types+react@16.14.0_react-dom@16.14.0_react@16.14.0/node_modules/@fluentui/react/lib-commonjs/index.js"),D=o("./src/helper/ValidationMessage/index.tsx");class p extends f.default.Component{constructor(e){super(e),this.GlobalClassNames={root:"ms-Checkbox",label:"ms-Checkbox-label",checkbox:"ms-Checkbox-checkbox",checkmark:"ms-Checkbox-checkmark",text:"ms-Checkbox-text"},this.setStyle=(u,h)=>({root:[!h.disabled&&[!h.checked&&{[`:hover .${this.GlobalClassNames.checkbox}`]:{background:"var(--vscode-checkbox-background)",borderColor:"var(--vscode-focusBorder)",[x.HighContrastSelector]:{borderColor:"Highlight"}},[`:focus .${this.GlobalClassNames.checkbox}`]:{background:"var(--vscode-checkbox-background)",borderColor:"var(--vscode-focusBorder)"},[`:hover .${this.GlobalClassNames.checkmark}`]:{color:"var(--vscode-foreground)",opacity:0,[x.HighContrastSelector]:{color:"Highlight"}}},{[`:hover .${this.GlobalClassNames.text}, :focus .${this.GlobalClassNames.text}`]:{color:"var(--vscode-foreground)",[x.HighContrastSelector]:{color:h.disabled?"GrayText":"WindowText"}}}],h.checked&&!h.indeterminate&&{[`:hover .${this.GlobalClassNames.checkbox}`]:{background:"var(--vscode-checkbox-background)",borderColor:"var(--vscode-focusBorder)"},[`:focus .${this.GlobalClassNames.checkbox}`]:{background:"var(--vscode-checkbox-background)",borderColor:"var(--vscode-focusBorder)"},[x.HighContrastSelector]:{[`:hover .${this.GlobalClassNames.checkbox}`]:{background:"Highlight",borderColor:"Highlight"},[`:focus .${this.GlobalClassNames.checkbox}`]:{background:"Highlight"},[`:focus:hover .${this.GlobalClassNames.checkbox}`]:{background:"Highlight"},[`:focus:hover .${this.GlobalClassNames.checkmark}`]:{color:"Window"},[`:hover .${this.GlobalClassNames.checkmark}`]:{color:"Window"}}},u.message&&{marginBottom:2}],input:{[`.${x.IsFocusVisibleClassName} &:focus + label::before`]:{content:"",position:"absolute",inset:-1,border:"1px solid transparent !important",outline:"1px solid var(--vscode-focusBorder) !important",[x.HighContrastSelector]:{outline:"1px solid WindowText"}}},checkbox:{backgroundColor:"var(--vscode-debugToolBar-background, var(--vscode-editorWidget-background))",borderColor:"var(--vscode-editorWidget-border)"},checkmark:{color:"var(--vscode-checkbox-foreground, var(--vscode-editorWidget-foreground))"},text:{color:"var(--vscode-foreground)"}})}render(){const e=(0,D.getMessageInfo)(this.props),u=f.default.createElement(x.Checkbox,y(c({},this.props),{styles:h=>c(c({},this.setStyle(e,h)),this.props.styles)}));return e.message?f.default.createElement(D.MessageWrapper,{message:e},u):u}}n.UICheckbox=p},"./src/components/UICheckbox/index.tsx":function(O,n,o){"use strict";var g=this&&this.__createBinding||(Object.create?function(a,l,r,i){i===void 0&&(i=r);var _=Object.getOwnPropertyDescriptor(l,r);(!_||("get"in _?!l.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return l[r]}}),Object.defineProperty(a,i,_)}:function(a,l,r,i){i===void 0&&(i=r),a[i]=l[r]}),b=this&&this.__exportStar||function(a,l){for(var r in a)r!=="default"&&!Object.prototype.hasOwnProperty.call(l,r)&&g(l,a,r)};Object.defineProperty(n,"__esModule",{value:!0}),b(o("./src/components/UICheckbox/UICheckbox.tsx"),n)},"./src/components/UIComboBox/UIComboBox.tsx":function(O,n,o){"use strict";var g=Object.defineProperty,b=Object.defineProperties,a=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,_=(I,t,s)=>t in I?g(I,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):I[t]=s,c=(I,t)=>{for(var s in t||(t={}))r.call(t,s)&&_(I,s,t[s]);if(l)for(var s of l(t))i.call(t,s)&&_(I,s,t[s]);return I},y=(I,t)=>b(I,a(t)),w=this&&this.__importDefault||function(I){return I&&I.__esModule?I:{default:I}};Object.defineProperty(n,"__esModule",{value:!0}),n.UIComboBox=n.UISelectableOptionMenuItemType=n.UIOnRenderComboBoxLabelProps=n.UIComboBoxRef=n.UIComboBoxOption=void 0;const f=w(o("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),x=o("../../node_modules/.pnpm/@fluentui+react@8.100.0_@types+react-dom@16.8.5_@types+react@16.14.0_react-dom@16.14.0_react@16.14.0/node_modules/@fluentui/react/lib-commonjs/index.js");Object.defineProperty(n,"UIComboBoxRef",{enumerable:!0,get:function(){return x.IComboBox}}),Object.defineProperty(n,"UIComboBoxOption",{enumerable:!0,get:function(){return x.IComboBoxOption}}),Object.defineProperty(n,"UIOnRenderComboBoxLabelProps",{enumerable:!0,get:function(){return x.IOnRenderComboBoxLabelProps}}),Object.defineProperty(n,"UISelectableOptionMenuItemType",{enumerable:!0,get:function(){return x.SelectableOptionMenuItemType}});const D=o("./src/components/UIContextualMenu/UIHighlightMenuOption.tsx");o("./src/components/UIComboBox/UIComboBox.scss"),o("./src/components/UIComboBox/Callout.scss");const p=o("./src/components/UILoader/index.tsx"),d=o("./src/components/Icons.tsx"),e=o("./src/helper/ValidationMessage/index.tsx"),u=o("./src/components/UILabel/index.tsx"),h=o("./src/components/UIDropdown/index.tsx"),B=o("./src/components/UICallout/index.tsx");class E extends f.default.Component{constructor(t){super(t),this.comboBox=f.default.createRef(),this.comboboxDomRef=f.default.createRef(),this.menuDomRef=f.default.createRef(),this.selectedElement=f.default.createRef(),this.query="",this.ignoreOpenKeys=["Meta","Control","Shift","Tab","Alt","CapsLock"],this.isListHidden=!1,this.calloutCollisionTransform=new B.CalloutCollisionTransform(this.comboboxDomRef,this.menuDomRef),this.onResolveOptions=()=>this.props.options,this.onRenderItem=(s,m)=>{if(m&&s){s.data=this.query,s.title===void 0&&(s.title=s.text);const v=s.index!==void 0&&this.getCurrentSelectedIndex()===s.index;return s.hidden?null:f.default.createElement("div",{key:s.key,ref:v?this.selectedElement:void 0,className:`${v?"ts-ComboBox--selected":""}`},m(s))}return null},this.getCurrentSelectedIndex=()=>{const s=this.comboBox.current;if(s)return s.state.currentPendingValueValidIndex!==-1?s.state.currentPendingValueValidIndex:s.props.hoisted.selectedIndices?s.props.hoisted.selectedIndices[0]:void 0},this.getPlaceholder=()=>this.props.placeholder?this.props.placeholder:"Search or select from dropdown",this.onRenderOption=(s,m)=>s&&s.itemType!==x.SelectableOptionMenuItemType.Header?f.default.createElement(D.UIHighlightMenuOption,{text:s.text,query:this.query}):m?m(s):null,this.handleChange=(s,m)=>{m&&this.props.onHandleChange&&this.props.onHandleChange(m.key)},this.onRenderListLoading=()=>{const s={label:{fontSize:"11px",fontWeight:"normal"}};return f.default.createElement("div",{className:"option-loading"},f.default.createElement(p.UILoader,{label:"Loading",className:"uiLoaderXSmall",labelPosition:"right",styles:s}))},this.onInput=this.onInput.bind(this),this.reserQuery=this.reserQuery.bind(this),this.onResolveOptions=this.onResolveOptions.bind(this),this.onRenderItem=this.onRenderItem.bind(this),this.onRenderOption=this.onRenderOption.bind(this),this.onKeyDown=this.onKeyDown.bind(this),this.onClick=this.onClick.bind(this),this.handleRefreshButton=this.handleRefreshButton.bind(this),this.onPendingValueChanged=this.onPendingValueChanged.bind(this),this.onMultiSelectChange=this.onMultiSelectChange.bind(this),this.onScrollToItem=this.onScrollToItem.bind(this),this.setFocus=this.setFocus.bind(this),(0,x.initializeComponentRef)(this),this.state={}}shouldComponentUpdate(t){return t.options!==this.props.options&&this.query&&this.updateHiddenOptions(t.options),!0}updateHiddenOptions(t){this.isListHidden=!0;let s,m=!1;const v=()=>{s&&(s.hidden=!m)};for(const C of t)if(C.itemType===x.SelectableOptionMenuItemType.Header)v(),s=C,m=!1;else{const P=C.text.toLowerCase().indexOf(this.query)===-1;C.hidden=P,this.isListHidden&&!C.hidden&&(this.isListHidden=!1),m=!P||m}v()}onInput(t){if(this.isListHidden=!1,t.target){const s=t.target;this.query=s.value.trimStart().toLowerCase();const m=this.comboBox.current;m&&this.updateHiddenOptions(m.props.hoisted.currentOptions)}}onClick(){const t=this.comboBox.current,s=t&&t.state.isOpen,m=this.props.disabled;this.props.openMenuOnClick&&t&&!s&&!m&&t.focus(!0)}onKeyDown(t){let s=!1;const m=this.comboBox.current,v=m&&m.state.isOpen;(t.which===x.KeyCodes.down||t.which===x.KeyCodes.up)&&(s=this._setCyclingNavigation(t.which===x.KeyCodes.down)),s?(t.preventDefault(),t.stopPropagation()):!this.ignoreOpenKeys.includes(t.key)&&m&&!v&&m.focus(!0)}reserQuery(){this.query="";for(const t of this.props.options)delete t.hidden;this.isListHidden=!1,this.setState({isListHidden:this.isListHidden})}getNextVisibleItem(t,s){const m=this.props.options.length;for(;t>=0&&t<m;){if(this.props.options[t]&&!this.props.options[t].hidden)return{option:this.props.options[t],index:t};t=t+(s?1:-1)}return null}_setCyclingNavigation(t){const s=this.comboBox.current;if(s&&s.state.currentPendingValueValidIndex>=0){let m=s.state.currentPendingValueValidIndex;const v=this.props.options.length-1;m=m+(t?1:-1);let C=this.getNextVisibleItem(m,t);if(C)return!1;if(C=this.getNextVisibleItem(t?0:v,t),C)return s.setState({currentPendingValueValidIndex:C.index,currentPendingValue:C.option.text}),!0}return!1}calculateMenuMinWidth(){var t;const s=(t=this.comboBox.current)==null?void 0:t._comboBoxWrapper.current;s&&this.props.useComboBoxAsMenuMinWidth&&s.clientWidth!==this.state.minWidth&&this.setState({minWidth:s.clientWidth})}onPendingValueChanged(t,s,m){var v,C;this.state.isListHidden!==this.isListHidden&&this.setState({isListHidden:this.isListHidden}),(v=this.props)!=null&&v.onPendingValueChanged&&((C=this.props)==null||C.onPendingValueChanged(t,s,m))}dismissMenu(){this.comboBox.current&&this.comboBox.current.dismissMenu()}setFocus(){this.comboBox.current&&this.comboBox.current.focus()}handleRefreshButton(){const t=this.comboBox.current;this.props.useComboBoxAsMenuMinWidth&&this.calculateMenuMinWidth(),this.props.onRefresh&&(this.props.onRefresh(),t==null||t.focus(!0))}onMultiSelectChange(t,s,m,v){this.props.onChange&&t.type!=="blur"&&this.props.onChange(t,s,m,v)}onScrollToItem(){const t=this.selectedElement.current;if(!this.props.multiSelect||!t)return;const s=t.offsetParent;if(s){const m=s.clientHeight;if(s.scrollHeight>m){const C=t.offsetTop,P=C+t.clientHeight,M=s.scrollTop,S=M+m;if(!(C>=M&&P<=S)){const T=P>S?P-S:C-M;s.scrollTop=M+T}}}}getClassNames(t){const{readOnly:s,disabled:m}=this.props,v=t.message?e.MESSAGE_TYPES_CLASSNAME_MAP.get(t.type):void 0;let C=`ts-ComboBox${t.message?" ts-ComboBox--"+v:""}`;return s&&!m&&(C+=" ts-ComboBox--readonly"),m&&(C+=" ts-ComboBox--disabled"),(0,h.isDropdownEmpty)(this.props)&&(C+=" ts-ComboBox--empty"),C}getAutofillProps(){const{highlight:t,readOnly:s,disabled:m}=this.props,v={};t&&(v.onKeyDownCapture=this.onKeyDown);const C="tabIndex"in this.props?this.props.tabIndex:void 0;return s&&!m?(v.readOnly=s,v.tabIndex=C,v["aria-disabled"]=void 0,v["aria-readonly"]=!0):m&&(v.disabled=void 0,v.readOnly=!0,v.tabIndex=C),v}render(){const t=(0,e.getMessageInfo)(this.props);let s=this.props.isForceEnabled?!1:!this.props.options.length;return this.props.readOnly&&(s=!0),f.default.createElement("div",{ref:this.props.wrapperRef,className:this.getClassNames(t)},f.default.createElement(x.ComboBox,y(c(c(c(c(c(y(c(c({componentRef:this.comboBox,ref:this.comboboxDomRef,disabled:s,iconButtonProps:{iconProps:{iconName:d.UiIcons.ArrowDown}},calloutProps:c({calloutMaxHeight:200,popupProps:{ref:this.menuDomRef},className:"ts-Callout ts-Callout-Dropdown",styles:c({},this.props.useComboBoxAsMenuMinWidth&&{calloutMain:{minWidth:this.state.minWidth,display:this.state.isListHidden?"none":void 0}})},(0,h.getCalloutCollisionTransformationProps)(this.calloutCollisionTransform,this.props.multiSelect,this.props.calloutCollisionTransformation)),styles:{label:c(c(c({},u.labelGlobalStyle),this.props.disabled&&{opacity:"0.4"}),this.props.required&&{selectors:{"::after":{content:"' *'",color:"var(--vscode-inputValidation-errorBorder)",paddingRight:12}}}),errorMessage:[t.style]}},this.props),this.props.highlight&&{onInput:this.onInput,onMenuDismissed:this.reserQuery,onResolveOptions:this.onResolveOptions,onRenderItem:this.onRenderItem,onRenderOption:this.onRenderOption,placeholder:this.getPlaceholder(),onPendingValueChanged:this.onPendingValueChanged}),{autofill:this.getAutofillProps()}),this.props.useComboBoxAsMenuMinWidth&&{onMenuOpen:this.calculateMenuMinWidth.bind(this)}),this.props.openMenuOnClick&&{onClick:this.onClick.bind(this)}),this.props.onRefresh&&{onMenuOpen:this.handleRefreshButton,onChange:this.handleChange}),this.props.isLoading&&{onRenderList:this.onRenderListLoading}),this.props.multiSelect&&c({onScrollToItem:this.onScrollToItem},this.props.onChange&&{onChange:this.onMultiSelectChange})),{errorMessage:t.message})))}}n.UIComboBox=E,E.defaultProps={openMenuOnClick:!0}},"./src/components/UIComboBox/index.tsx":function(O,n,o){"use strict";var g=this&&this.__createBinding||(Object.create?function(a,l,r,i){i===void 0&&(i=r);var _=Object.getOwnPropertyDescriptor(l,r);(!_||("get"in _?!l.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return l[r]}}),Object.defineProperty(a,i,_)}:function(a,l,r,i){i===void 0&&(i=r),a[i]=l[r]}),b=this&&this.__exportStar||function(a,l){for(var r in a)r!=="default"&&!Object.prototype.hasOwnProperty.call(l,r)&&g(l,a,r)};Object.defineProperty(n,"__esModule",{value:!0}),b(o("./src/components/UIComboBox/UIComboBox.tsx"),n)},"./src/components/UIDialog/UIDialog.tsx":function(O,n,o){"use strict";var g=Object.defineProperty,b=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,r=(d,e,u)=>e in d?g(d,e,{enumerable:!0,configurable:!0,writable:!0,value:u}):d[e]=u,i=(d,e)=>{for(var u in e||(e={}))a.call(e,u)&&r(d,u,e[u]);if(b)for(var u of b(e))l.call(e,u)&&r(d,u,e[u]);return d},_=(d,e)=>{var u={};for(var h in d)a.call(d,h)&&e.indexOf(h)<0&&(u[h]=d[h]);if(d!=null&&b)for(var h of b(d))e.indexOf(h)<0&&l.call(d,h)&&(u[h]=d[h]);return u},c=this&&this.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(n,"__esModule",{value:!0}),n.UIDialog=n.UIDialogScrollArea=n.DIALOG_STYLES=n.DIALOG_MAX_HEIGHT_OFFSET=void 0;const y=c(o("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),w=o("../../node_modules/.pnpm/@fluentui+react@8.100.0_@types+react-dom@16.8.5_@types+react@16.14.0_react-dom@16.14.0_react@16.14.0/node_modules/@fluentui/react/lib-commonjs/index.js"),f=o("./src/components/UIButton/index.tsx"),x=o("./src/utilities/DeepMerge.ts");o("./src/styles/_shadows.scss"),n.DIALOG_MAX_HEIGHT_OFFSET=32,n.DIALOG_STYLES={background:"var(--vscode-editorWidget-background)",boxShadow:"var(--ui-box-shadow-medium)",borderColor:"var(--vscode-editorWidget-border)",borderRadius:4,vPadding:20,vPaddingHalf:10,hPadding:45,title:{color:"var(--vscode-panelTitle-activeForeground)"},contentText:{fontSize:13,color:"var(--vscode-foreground)",fontFamily:"var(--vscode-font-family)"}};var D;(function(d){d.Content="Content",d.Dialog="Dialog"})(D=n.UIDialogScrollArea||(n.UIDialogScrollArea={}));class p extends y.default.Component{constructor(e){super(e),this.onResize=this.onResize.bind(this),this.onModalLayerMount=this.onModalLayerMount.bind(this),this.onModalLayerUnmount=this.onModalLayerUnmount.bind(this),this.attachResize=this.attachResize.bind(this),this.detachResize=this.detachResize.bind(this),this.onHeaderMouseDown=this.onHeaderMouseDown.bind(this),this.state={resizeMaxHeight:this.getResizeMaxHeight(),isMounted:!1}}componentDidUpdate(e){const{scrollArea:u}=this.props;e.scrollArea!==u&&(u===D.Content?this.attachResize():this.detachResize())}onModalLayerMount(){this.attachResize(),this.setState({isMounted:!0})}onModalLayerUnmount(){this.detachResize(),this.setState({isMounted:!1})}attachResize(){window.addEventListener("resize",this.onResize),this.onResize()}detachResize(){window.removeEventListener("resize",this.onResize)}onResize(){this.setState({resizeMaxHeight:this.getResizeMaxHeight()})}getResizeMaxHeight(){return window.innerHeight-n.DIALOG_MAX_HEIGHT_OFFSET}getFooter(){let e;const{acceptButtonText:u,cancelButtonText:h,onAccept:B,onCancel:E,acceptButtonId:I,cancelButtonId:t,footer:s}=this.props,m={styles:{actionsRight:{width:"100%",textAlign:"center",margin:"0px"},actions:{margin:`${n.DIALOG_STYLES.vPaddingHalf}px 0 ${n.DIALOG_STYLES.vPadding}px`,lineHeight:"auto"},action:{margin:"0px 5px"}}};return s?e=y.default.createElement(w.DialogFooter,i({},m),s):(B||E)&&(e=y.default.createElement(w.DialogFooter,i({},m),B?y.default.createElement(f.UIDefaultButton,{onClick:B,primary:!0,style:{height:"26px"},id:I},u):"",E?y.default.createElement(f.UIDefaultButton,{onClick:E,style:{height:"26px"},id:t},h):"")),e}onHeaderMouseDown(e){var u;if(!((u=this.props.modalProps)!=null&&u.dragOptions))return;const h=e.target.closest(".ms-Dialog-main");h&&h.firstChild&&h.firstChild.focus()}render(){const e=this.props,{acceptButtonText:u,cancelButtonText:h,onAccept:B,onCancel:E,acceptButtonId:I,cancelButtonId:t,footer:s,closeButtonVisible:m,multiLineTitle:v,scrollArea:C=D.Content,children:P}=e,M=_(e,["acceptButtonText","cancelButtonText","onAccept","onCancel","acceptButtonId","cancelButtonId","footer","closeButtonVisible","multiLineTitle","scrollArea","children"]),S={minWidth:"460px",modalProps:{layerProps:{onLayerDidMount:this.onModalLayerMount,onLayerWillUnmount:this.onModalLayerUnmount}},styles:{root:{opacity:!this.props.isOpenAnimated||this.state.isMounted?void 0:0},main:i({backgroundColor:n.DIALOG_STYLES.background,border:`1px solid ${n.DIALOG_STYLES.borderColor}`,boxShadow:n.DIALOG_STYLES.boxShadow,borderRadius:n.DIALOG_STYLES.borderRadius,minHeight:100},C===D.Content&&{overflow:"hidden",".ms-Modal-scrollableContent":{overflow:"hidden",height:"100%"}})},dialogContentProps:{title:this.props.title,titleProps:{className:"ui-medium-header",style:i({padding:`${n.DIALOG_STYLES.vPadding}px 0 5px`,textAlign:"center",color:n.DIALOG_STYLES.title.color},!v&&{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",padding:`${n.DIALOG_STYLES.vPadding}px ${n.DIALOG_STYLES.hPadding}px 5px`}),onMouseDown:this.onHeaderMouseDown},styles:{button:{display:m?void 0:"none"},inner:i({padding:"0"},C===D.Content&&{height:"100%",overflow:"hidden",display:"flex",flexDirection:"column"}),subText:i({margin:"0",lineHeight:18},n.DIALOG_STYLES.contentText),content:i(i({},n.DIALOG_STYLES.contentText),C===D.Content&&{height:"100%",display:"flex",flexDirection:"column",maxHeight:this.state.resizeMaxHeight}),innerContent:i({padding:`${n.DIALOG_STYLES.vPaddingHalf}px ${n.DIALOG_STYLES.hPadding}px`,boxSizing:"border-box"},C===D.Content&&{height:"100%",overflow:"auto",boxSizing:"border-box"})}}},T=(0,x.deepMerge)(S,M);return y.default.createElement(w.Dialog,i({},T),P,this.getFooter())}}n.UIDialog=p,p.defaultProps={isOpenAnimated:!0}},"./src/components/UIDialog/index.ts":function(O,n,o){"use strict";var g=this&&this.__createBinding||(Object.create?function(a,l,r,i){i===void 0&&(i=r);var _=Object.getOwnPropertyDescriptor(l,r);(!_||("get"in _?!l.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return l[r]}}),Object.defineProperty(a,i,_)}:function(a,l,r,i){i===void 0&&(i=r),a[i]=l[r]}),b=this&&this.__exportStar||function(a,l){for(var r in a)r!=="default"&&!Object.prototype.hasOwnProperty.call(l,r)&&g(l,a,r)};Object.defineProperty(n,"__esModule",{value:!0}),b(o("./src/components/UIDialog/UIDialog.tsx"),n)},"./src/components/UILoader/UILoader.tsx":function(O,n,o){"use strict";var g=Object.defineProperty,b=Object.defineProperties,a=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,_=(p,d,e)=>d in p?g(p,d,{enumerable:!0,configurable:!0,writable:!0,value:e}):p[d]=e,c=(p,d)=>{for(var e in d||(d={}))r.call(d,e)&&_(p,e,d[e]);if(l)for(var e of l(d))i.call(d,e)&&_(p,e,d[e]);return p},y=(p,d)=>b(p,a(d)),w=this&&this.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(n,"__esModule",{value:!0}),n.UILoader=void 0;const f=w(o("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),x=o("../../node_modules/.pnpm/@fluentui+react@8.100.0_@types+react-dom@16.8.5_@types+react@16.14.0_react-dom@16.14.0_react@16.14.0/node_modules/@fluentui/react/lib-commonjs/index.js");o("./src/components/UILoader/UILoader.scss");class D extends f.default.Component{constructor(d){super(d)}render(){const{blockDOM:d,delayed:e}=this.props,u=()=>c({},{root:c({},d&&{height:"100%"}),circle:[{borderColor:"var(--vscode-progressBar-background) var(--vscode-terminal-ansiBrightWhite) var(--vscode-terminal-ansiBrightWhite)",borderWidth:2,zIndex:1}],label:{color:"var(--vscode-foreground)",fontSize:14,fontWeight:"bold",zIndex:1}}),h=f.default.createElement(x.Spinner,y(c({},this.props),{styles:u}));if(d){const B=()=>c({},{root:{backgroundColor:"transparent",selectors:{"&:before":{content:'""',position:"absolute",inset:0,backgroundColor:"var(--vscode-editor-background)",opacity:.6,zIndex:1}}}});return f.default.createElement(x.Overlay,{className:`ui-loader-blocker${e?" ui-loader--delayed":""}`,styles:B},h)}else return h}}n.UILoader=D},"./src/components/UILoader/index.tsx":function(O,n,o){"use strict";var g=this&&this.__createBinding||(Object.create?function(a,l,r,i){i===void 0&&(i=r);var _=Object.getOwnPropertyDescriptor(l,r);(!_||("get"in _?!l.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return l[r]}}),Object.defineProperty(a,i,_)}:function(a,l,r,i){i===void 0&&(i=r),a[i]=l[r]}),b=this&&this.__exportStar||function(a,l){for(var r in a)r!=="default"&&!Object.prototype.hasOwnProperty.call(l,r)&&g(l,a,r)};Object.defineProperty(n,"__esModule",{value:!0}),b(o("./src/components/UILoader/UILoader.tsx"),n)},"./src/utilities/DeepMerge.ts":function(O,n,o){"use strict";var g=this&&this.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(n,"__esModule",{value:!0}),n.deepMerge=void 0;const b=g(o("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js"));function a(r,i){var _;const c=Object.keys(r).length?a({},r):{},y=Object.keys(i);for(const w of y){const f=i[w];if(l(f))if(!c[w]||l(c[w]))c[w]=a((_=c[w])!=null?_:{},f);else throw new Error("Object structures are not compatible!");else c[w]=f}return c}n.deepMerge=a;function l(r){return r?typeof r=="object"&&!Array.isArray(r)&&!b.default.isValidElement(r):!1}},"./src/components/UIComboBox/Callout.scss":(O,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>h});var g=o("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),b=o.n(g),a=o("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/styleDomAPI.js"),l=o.n(a),r=o("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/insertBySelector.js"),i=o.n(r),_=o("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),c=o.n(_),y=o("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/insertStyleElement.js"),w=o.n(y),f=o("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/styleTagTransform.js"),x=o.n(f),D=o("../../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/UIComboBox/Callout.scss"),p=o.n(D),d={};for(const B in D)B!=="default"&&(d[B]=()=>D[B]);o.d(n,d);var e={};e.styleTagTransform=x(),e.setAttributes=c(),e.insert=i().bind(null,"head"),e.domAPI=l(),e.insertStyleElement=w();var u=b()(p(),e);const h=p()&&p().locals?p().locals:void 0},"./src/components/UIComboBox/UIComboBox.scss":(O,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>h});var g=o("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),b=o.n(g),a=o("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/styleDomAPI.js"),l=o.n(a),r=o("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/insertBySelector.js"),i=o.n(r),_=o("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),c=o.n(_),y=o("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/insertStyleElement.js"),w=o.n(y),f=o("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/styleTagTransform.js"),x=o.n(f),D=o("../../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/UIComboBox/UIComboBox.scss"),p=o.n(D),d={};for(const B in D)B!=="default"&&(d[B]=()=>D[B]);o.d(n,d);var e={};e.styleTagTransform=x(),e.setAttributes=c(),e.insert=i().bind(null,"head"),e.domAPI=l(),e.insertStyleElement=w();var u=b()(p(),e);const h=p()&&p().locals?p().locals:void 0},"./src/components/UILoader/UILoader.scss":(O,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>h});var g=o("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),b=o.n(g),a=o("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/styleDomAPI.js"),l=o.n(a),r=o("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/insertBySelector.js"),i=o.n(r),_=o("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),c=o.n(_),y=o("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/insertStyleElement.js"),w=o.n(y),f=o("../../node_modules/.pnpm/style-loader@3.3.3_webpack@5.88.0/node_modules/style-loader/dist/runtime/styleTagTransform.js"),x=o.n(f),D=o("../../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/UILoader/UILoader.scss"),p=o.n(D),d={};for(const B in D)B!=="default"&&(d[B]=()=>D[B]);o.d(n,d);var e={};e.styleTagTransform=x(),e.setAttributes=c(),e.insert=i().bind(null,"head"),e.domAPI=l(),e.insertStyleElement=w();var u=b()(p(),e);const h=p()&&p().locals?p().locals:void 0}}]);})();
|