Liferay.Loader.define("translation-web@2.0.69/js/translate/components/TranslateActionBar/TranslateActionBar",["module","exports","require","@frontend-taglib-clay$clayui/button","@frontend-taglib-clay$clayui/layout","@frontend-taglib-clay$clayui/link","liferay!frontend-js-react-web$react","./AutoTranslate","./ExperienceSelector","./TranslateLanguagesSelector"],(function(e,a,t){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var l=s(t("@frontend-taglib-clay$clayui/button")),n=s(t("@frontend-taglib-clay$clayui/layout")),r=s(t("@frontend-taglib-clay$clayui/link")),u=s(t("liferay!frontend-js-react-web$react")),c=s(t("./AutoTranslate")),i=s(t("./ExperienceSelector")),o=s(t("./TranslateLanguagesSelector"));function s(e){return e&&e.__esModule?e:{default:e}}function d(){return(d=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e}).apply(this,arguments)}var f=({autoTranslateEnabled:e,confirmChangesBeforeReload:a,experienceSelectorData:t,fetchAutoTranslateFields:s,fetchAutoTranslateStatus:f,onSaveButtonClick:m,publishButtonDisabled:b,publishButtonLabel:y,redirectURL:p,saveButtonDisabled:g,saveButtonLabel:E,translateLanguagesSelectorData:h})=>u.default.createElement("nav",{className:"component-tbar subnav-tbar-light tbar"},u.default.createElement(n.default.ContainerFluid,{view:!0},u.default.createElement("ul",{className:"tbar-nav"},t&&u.default.createElement("li",{className:"tbar-item"},u.default.createElement(i.default,d({},t,{confirmChangesBeforeReload:a}))),u.default.createElement("li",{className:"tbar-item"},u.default.createElement(o.default,d({},h,{confirmChangesBeforeReload:a}))),e&&u.default.createElement("li",{className:"tbar-item"},u.default.createElement(c.default,{fetchAutoTranslateFields:s,fetchAutoTranslateStatus:f})),u.default.createElement("li",{className:"align-items-end tbar-item tbar-item-expand"},u.default.createElement(l.default.Group,{spaced:!0},u.default.createElement(r.default,{button:{small:!0},displayType:"secondary",href:p},Liferay.Language.get("cancel")),u.default.createElement(l.default,{disabled:g,displayType:"secondary",onClick:m,small:!0,type:"submit"},E),u.default.createElement(l.default,{disabled:b,displayType:"primary",small:!0,type:"submit"},y))))));a.default=f}}));
//# sourceMappingURL=TranslateActionBar.js.map