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