Liferay.Loader.define("dynamic-data-mapping-form-web@4.0.150/admin/js/components/export-form/ExportFormModalBody",["module","exports","require","@frontend-taglib-clay$clayui/alert","@frontend-taglib-clay$clayui/form","liferay!frontend-js-react-web$react"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(a("@frontend-taglib-clay$clayui/alert")),n=_interopRequireWildcard(a("@frontend-taglib-clay$clayui/form")),l=_interopRequireWildcard(a("liferay!frontend-js-react-web$react"));function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return e},e}function _interopRequireWildcard(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache();if(t&&t.has(e))return t.get(e);var a={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var l=r?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(a,n,l):a[n]=e[n]}return a.default=e,t&&t.set(e,a),a}var _default=({csvExport:e="enabled-with-warning",fileExtensions:t,portletNamespace:a})=>{const[i,u]=(0,l.useState)(t[0]);return l.default.createElement(l.default.Fragment,null,l.default.createElement(r.default,null,Liferay.Language.get("timezone-warning-message")),l.default.createElement(r.default,null,Liferay.Language.get("the-export-includes-data-from-all-fields-and-form-versions")),"csv"===i&&"enabled-with-warning"===e&&l.default.createElement(r.default,{displayType:"warning"},Liferay.Language.get("csv-warning-message")),"xls"===i&&l.default.createElement(l.default.Fragment,null,l.default.createElement(r.default,{displayType:"warning"},Liferay.Language.get("the-total-number-of-characters-that-a-cell-can-contain-is-32767-characters")),l.default.createElement(r.default,{displayType:"warning"},Liferay.Language.get("the-total-number-of-columns-that-a-worksheet-can-contain-is-256-columns"))),l.default.createElement(n.default.Group,null,l.default.createElement("label",{htmlFor:"".concat(a,"fileExtension")},Liferay.Language.get("file-extension")),l.default.createElement(n.ClaySelect,{id:"".concat(a,"fileExtension"),name:"".concat(a,"fileExtension"),onChange:({currentTarget:{value:e}})=>u(e),value:i},t.map((t=>"csv"===t&&"disabled"===e?null:l.default.createElement(n.ClaySelect.Option,{key:t,label:t.toUpperCase(),value:t}))))))};t.default=_default}}));
//# sourceMappingURL=ExportFormModalBody.js.map