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N0C,KAAe,MAAT3B,EAAgBA,EAASb,IAASM,EAAUN,OAAOyC,EACzD7B,SAAUA,EACVN,QAASA,GAAWN,EACpB0C,YAAsB,MAAT7B,EACb8B,eAAgB9B,EAAQ,aAAS4B,GAEjCJ,IAAAA,cAACO,IAAMC,EAAA,CACL1C,YAAaA,EACbO,SAAUA,EACVF,SAAUA,EACVY,SAAUA,EACVC,OAAQA,EACRpB,MAAOA,EACPC,KAAMA,EACNiB,SAAUA,EACVS,WAAYA,EACZF,UAAWA,EACXC,UAAWA,EACXE,QAASA,EACTJ,WAAYA,EACZV,WAAYA,EACZS,sBAAuBA,EACvBsB,OAAOC,EAAAA,EAAAA,IAAexB,EAAWD,KAC7B0B,EAAAA,EAAAA,IAASd,MAEXe,EAAAA,EAAAA,IAAc5D,EAAS0C,EAAaD,IAAc,IACjDoB,KAAI,SAAAC,GAAM,OACTd,IAAAA,cAACO,IAAAA,OAAa,CACZQ,IAAKD,EAAOlD,MACZA,MAAOkD,EAAOlD,MACdF,MAAOoD,EAAOpD,OACboD,EAAOE,OAASpB,GACfI,IAAAA,cAACiB,IAAK,CAACf,UAAU,gCAAgCgB,MAAM,UACrDlB,IAAAA,cAAA,OAAKmB,IAAKL,EAAOE,MAAOI,IAAKN,EAAOpD,QACnCoD,EAAOpD,OAGE,KAM5B,GACA,CAAC,QAAS,OAAQ,eAClB,CACEV,QAASqE,EAAAA,MAGbC,EAAAA,EAAAA,GAAM,sBAEN,O,wDCrGIC,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,sHAAuH,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,6CAA6C,MAAQ,GAAG,SAAW,2DAA2D,eAAiB,CAAC,8LAA8L,WAAa,MAEthB,K","sources":["webpack:///./react-antd/select/select.scss?45f0","webpack:///./react-antd/select/index.js","webpack:///./react-antd/select/select.scss"],"sourcesContent":["\n      import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n      import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n      import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n      import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n      import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n      import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n      import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./select.scss\";\n      \n      \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n      options.insert = insertFn.bind(null, \"head\");\n    \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./select.scss\";\n       export default content && content.locals ? content.locals : undefined;\n","import React from 'react';\nimport Form from 'antd/lib/form';\nimport Select from 'antd/lib/select';\nimport Space from 'antd/lib/space';\n\nimport { I18N } from '../../components';\nimport { passRest, filterOptions, i18nOptions, makeWidthStyle } from '../../helpers';\nimport { lfLog } from '../../helpers/lf-log';\n\nimport './select.scss';\n\nconst SelectAntd = I18N(\n  ({\n    name,\n    label,\n    hint,\n    value,\n    size,\n    placeholder,\n    showCount,\n    tooltip = false,\n    disabled = false,\n    readOnly = false,\n    required = false,\n    maxLength,\n    error,\n    prefix,\n    lfLocale,\n    postfix,\n    allowClear,\n    bordered,\n    onChange,\n    onBlur,\n    width,\n    fullWidth,\n    popupMatchSelectWidth,\n    showSearch,\n    placement,\n    showArrow,\n    listHeight,\n    virtual,\n    options,\n    filterKey,\n    filterValue,\n    showImageOptions = false,\n    ...rest\n  }) => {\n    return (\n      <Form.Item\n        data-lf-field-name={name}\n        className=\"lf-control-select\"\n        label={label}\n        name={name}\n        help={error != null ? error : (hint && !tooltip ? hint : undefined)}\n        required={required}\n        tooltip={tooltip && hint}\n        hasFeedback={error != null}\n        validateStatus={error ? 'error': undefined}\n      >\n        <Select\n          placeholder={placeholder}\n          readOnly={readOnly}\n          disabled={disabled}\n          onChange={onChange}\n          onBlur={onBlur}\n          value={value}\n          size={size}\n          bordered={bordered}\n          listHeight={listHeight}\n          placement={placement}\n          showArrow={showArrow}\n          virtual={virtual}\n          showSearch={showSearch}\n          allowClear={allowClear}\n          popupMatchSelectWidth={popupMatchSelectWidth}\n          style={makeWidthStyle(fullWidth, width)}\n          {...passRest(rest)}\n        >\n          {(filterOptions(options, filterValue, filterKey) || [])\n            .map(option => (\n              <Select.Option\n                key={option.value}\n                value={option.value}\n                label={option.label}>\n                {option.image && showImageOptions && (\n                  <Space className=\"lf-control-select-option-antd\" align=\"center\">\n                    <img src={option.image} alt={option.label}/>\n                    {option.label}\n                  </Space>\n                )}\n              </Select.Option>\n            ))\n          }\n        </Select>\n      </Form.Item>\n    )\n  },\n  ['label', 'hint', 'placeholder'],\n  {\n    options: i18nOptions\n  }\n);\nlfLog('Loaded AntD.Select');\n\nexport default SelectAntd;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".lf-control-select-option-antd img{width:20px;max-width:20px;max-height:20px;vertical-align:middle;margin-top:-2px}\", \"\",{\"version\":3,\"sources\":[\"webpack://./react-antd/select/select.scss\"],\"names\":[],\"mappings\":\"AAEI,mCACE,UAAA,CACA,cAAA,CACA,eAAA,CACA,qBAAA,CACA,eAAA\",\"sourcesContent\":[\"\\n  .lf-control-select-option-antd {\\n    img {\\n      width: 20px;\\n      max-width: 20px;\\n      max-height: 20px;\\n      vertical-align: middle;\\n      margin-top: -2px;\\n    }\\n  }\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n"],"names":["options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","SelectAntd","I18N","_ref","name","label","hint","value","size","placeholder","_ref$tooltip","showCount","tooltip","_ref$disabled","disabled","_ref$readOnly","readOnly","_ref$required","required","error","maxLength","allowClear","prefix","lfLocale","postfix","bordered","onChange","onBlur","width","fullWidth","popupMatchSelectWidth","showSearch","placement","showArrow","listHeight","virtual","filterKey","filterValue","_ref$showImageOptions","showImageOptions","rest","_objectWithoutProperties","_excluded","React","Form","className","help","undefined","hasFeedback","validateStatus","Select","_extends","style","makeWidthStyle","passRest","filterOptions","map","option","key","image","Space","align","src","alt","i18nOptions","lfLog","___CSS_LOADER_EXPORT___","push","module","id"],"sourceRoot":""}