\n \n \n ", "\n \n \n ", "\n \n
\n \n \n"])), function (x) {
- return x.checked;
- }, function (x) {
- return x.required;
- }, function (x) {
- return x.disabled;
- }, function (x) {
- return x.readOnly;
- }, function (x) {
- return x.disabled ? null : 0;
- }, function (x, c) {
- return x.keypressHandler(c.event);
- }, function (x, c) {
- return x.clickHandler(c.event);
- }, function (x) {
- return x.readOnly ? "readonly" : "";
- }, function (x) {
- return x.checked ? "checked" : "";
- }, function (x) {
- return x.indeterminate ? "indeterminate" : "";
- }, definition.checkedIndicator || "", definition.indeterminateIndicator || "", function (x) {
- return x.defaultSlottedNodes && x.defaultSlottedNodes.length ? "label" : "label label__hidden";
- }, slotted("defaultSlottedNodes"));
-};
-;// CONCATENATED MODULE: ../../node_modules/@vscode/webview-ui-toolkit/dist/checkbox/checkbox.styles.js
-var checkbox_styles_templateObject;
-function checkbox_styles_taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
-// Copyright (c) Microsoft Corporation.
-// Licensed under the MIT License.
-
-
-
-var checkboxStyles = function checkboxStyles(context, defintiion) {
- return css(checkbox_styles_templateObject || (checkbox_styles_templateObject = checkbox_styles_taggedTemplateLiteral(["\n\t", " :host {\n\t\talign-items: center;\n\t\toutline: none;\n\t\tmargin: calc(", " * 1px) 0;\n\t\tuser-select: none;\n\t\tfont-size: ", ";\n\t\tline-height: ", ";\n\t}\n\t.control {\n\t\tposition: relative;\n\t\twidth: calc(", " * 4px + 2px);\n\t\theight: calc(", " * 4px + 2px);\n\t\tbox-sizing: border-box;\n\t\tborder-radius: calc(", " * 1px);\n\t\tborder: calc(", " * 1px) solid ", ";\n\t\tbackground: ", ";\n\t\toutline: none;\n\t\tcursor: pointer;\n\t}\n\t.label {\n\t\tfont-family: ", ";\n\t\tcolor: ", ";\n\t\tpadding-inline-start: calc(", " * 2px + 2px);\n\t\tmargin-inline-end: calc(", " * 2px + 2px);\n\t\tcursor: pointer;\n\t}\n\t.label__hidden {\n\t\tdisplay: none;\n\t\tvisibility: hidden;\n\t}\n\t.checked-indicator {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tdisplay: block;\n\t\tfill: ", ";\n\t\topacity: 0;\n\t\tpointer-events: none;\n\t}\n\t.indeterminate-indicator {\n\t\tborder-radius: 2px;\n\t\tbackground: ", ";\n\t\tposition: absolute;\n\t\ttop: 50%;\n\t\tleft: 50%;\n\t\twidth: 50%;\n\t\theight: 50%;\n\t\ttransform: translate(-50%, -50%);\n\t\topacity: 0;\n\t}\n\t:host(:enabled) .control:hover {\n\t\tbackground: ", ";\n\t\tborder-color: ", ";\n\t}\n\t:host(:enabled) .control:active {\n\t\tbackground: ", ";\n\t\tborder-color: ", ";\n\t}\n\t:host(:", ") .control {\n\t\tborder: calc(", " * 1px) solid ", ";\n\t}\n\t:host(.disabled) .label,\n\t:host(.readonly) .label,\n\t:host(.readonly) .control,\n\t:host(.disabled) .control {\n\t\tcursor: ", ";\n\t}\n\t:host(.checked:not(.indeterminate)) .checked-indicator,\n\t:host(.indeterminate) .indeterminate-indicator {\n\t\topacity: 1;\n\t}\n\t:host(.disabled) {\n\t\topacity: ", ";\n\t}\n"])), display('inline-flex'), designUnit, typeRampBaseFontSize, typeRampBaseLineHeight, designUnit, designUnit, checkboxCornerRadius, borderWidth, checkboxBorder, checkboxBackground, fontFamily, foreground, designUnit, designUnit, foreground, foreground, checkboxBackground, checkboxBorder, checkboxBackground, focusBorder, focusVisible, borderWidth, focusBorder, disabledCursor, disabledOpacity);
-};
-;// CONCATENATED MODULE: ../../node_modules/@vscode/webview-ui-toolkit/dist/checkbox/index.js
-function dist_checkbox_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
-function dist_checkbox_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, dist_checkbox_toPropertyKey(o.key), o); } }
-function dist_checkbox_createClass(e, r, t) { return r && dist_checkbox_defineProperties(e.prototype, r), t && dist_checkbox_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
-function dist_checkbox_toPropertyKey(t) { var i = dist_checkbox_toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
-function dist_checkbox_toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
-function dist_checkbox_callSuper(t, o, e) { return o = dist_checkbox_getPrototypeOf(o), dist_checkbox_possibleConstructorReturn(t, dist_checkbox_isNativeReflectConstruct() ? Reflect.construct(o, e || [], dist_checkbox_getPrototypeOf(t).constructor) : o.apply(t, e)); }
-function dist_checkbox_possibleConstructorReturn(t, e) { if (e && ("object" == typeof e || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return dist_checkbox_assertThisInitialized(t); }
-function dist_checkbox_assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
-function dist_checkbox_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (dist_checkbox_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
-function checkbox_get() { return checkbox_get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) { var p = checkbox_superPropBase(e, t); if (p) { var n = Object.getOwnPropertyDescriptor(p, t); return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value; } }, checkbox_get.apply(null, arguments); }
-function checkbox_superPropBase(t, o) { for (; !{}.hasOwnProperty.call(t, o) && null !== (t = dist_checkbox_getPrototypeOf(t));); return t; }
-function dist_checkbox_getPrototypeOf(t) { return dist_checkbox_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, dist_checkbox_getPrototypeOf(t); }
-function dist_checkbox_inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && dist_checkbox_setPrototypeOf(t, e); }
-function dist_checkbox_setPrototypeOf(t, e) { return dist_checkbox_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, dist_checkbox_setPrototypeOf(t, e); }
-// Copyright (c) Microsoft Corporation.
-// Licensed under the MIT License.
-
-
-/**
- * The Visual Studio Code checkbox class.
- *
- * @public
- */
-var checkbox_Checkbox = /*#__PURE__*/function (_FoundationCheckbox) {
- function Checkbox() {
- dist_checkbox_classCallCheck(this, Checkbox);
- return dist_checkbox_callSuper(this, Checkbox, arguments);
- }
- dist_checkbox_inherits(Checkbox, _FoundationCheckbox);
- return dist_checkbox_createClass(Checkbox, [{
- key: "connectedCallback",
- value:
- /**
- * Component lifecycle method that runs when the component is inserted
- * into the DOM.
- *
- * @internal
- */
- function connectedCallback() {
- checkbox_get(dist_checkbox_getPrototypeOf(Checkbox.prototype), "connectedCallback", this).call(this);
- if (this.textContent) {
- this.setAttribute('aria-label', this.textContent);
- } else {
- // Fallback to the label if there is no text content
- this.setAttribute('aria-label', 'Checkbox');
- }
- }
- }]);
-}(Checkbox);
-/**
- * The Visual Studio Code checkbox component registration.
- *
- * @remarks
- * HTML Element: `