"use strict";var React=require("react"),classNames=require("classnames"),MapEditView=require("./MapEditView-8a91a536.js"),stringUtil=require("./stringUtil-1aa1a451.js");function _interopDefaultLegacy(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function _interopNamespace(t){if(t&&t.__esModule)return t;var c=Object.create(null);return t&&Object.keys(t).forEach(function(e){var a;"default"!==e&&(a=Object.getOwnPropertyDescriptor(t,e),Object.defineProperty(c,e,a.get?a:{enumerable:!0,get:function(){return t[e]}}))}),c.default=t,Object.freeze(c)}var React__namespace=_interopNamespace(React),classNames__default=_interopDefaultLegacy(classNames),prefixCls="dm-map-base-label-checkbox",LabelCheckbox=function(e){var a=e.className,t=e.text,c=e.help,r=e.checked,n=e.onChange,i=e.title,s=e.nameWidth,s=void 0===s?84:s,e=e.getPopupContainer;return React__namespace.createElement("div",{className:classNames__default.default(prefixCls,a)},React__namespace.createElement(MapEditView.NameHelp,{name:t,help:c,width:s,getPopupContainer:e}),React__namespace.createElement(stringUtil.Checkbox,{checked:r,size:"compact",onChange:n,title:i}))};exports.LabelCheckbox=LabelCheckbox;
