Liferay.Loader.define("journal-web@5.0.144/js/ai_creator/FormContent",["module","exports","require","@frontend-taglib-clay$clayui/form","@frontend-taglib-clay$clayui/icon","@frontend-taglib-clay$clayui/layout","liferay!frontend-js-react-web$react"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.FormContent=function FormContent({namespace:t}){const a="".concat(t,"aiCreatorDescription"),o="".concat(t,"aiCreatorTone"),c="".concat(t,"aiCreatorWordCount");return u.default.createElement(u.default.Fragment,null,u.default.createElement(r.default.Group,null,u.default.createElement("label",{htmlFor:a},Liferay.Language.get("description"),u.default.createElement(n.default,{className:"c-ml-1 reference-mark",focusable:"false",role:"presentation",symbol:"asterisk"})),u.default.createElement(r.ClayInput,{name:"".concat(t,"description"),required:!0,type:"text"})),u.default.createElement(l.default.Row,{gutters:!0},u.default.createElement(l.default.Col,null,u.default.createElement(r.default.Group,null,u.default.createElement("label",{htmlFor:o},Liferay.Language.get("tone")),u.default.createElement(r.ClaySelectWithOption,{name:"".concat(t,"tone"),options:e}))),u.default.createElement(l.default.Col,null,u.default.createElement(r.default.Group,null,u.default.createElement("label",{htmlFor:c},Liferay.Language.get("word-count")),u.default.createElement(r.ClayInput,{defaultValue:"100",min:"1",name:"".concat(t,"wordCount"),step:"1",type:"number"})))))};var r=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]}a.default=e,t&&t.set(e,a);return a}(a("@frontend-taglib-clay$clayui/form")),n=_interopRequireDefault(a("@frontend-taglib-clay$clayui/icon")),l=_interopRequireDefault(a("@frontend-taglib-clay$clayui/layout")),u=_interopRequireDefault(a("liferay!frontend-js-react-web$react"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return e},e}const e=[Liferay.Language.get("neutral"),Liferay.Language.get("casual"),Liferay.Language.get("friendly"),Liferay.Language.get("formal"),Liferay.Language.get("academic")].map((e=>({label:e,value:e})))}}));
//# sourceMappingURL=FormContent.js.map