Liferay.Loader.define("dynamic-data-mapping-form-web@4.0.105/admin/js/thunks/fieldDelete.es",["module","exports","require","@frontend-taglib-clay$clayui/button","data-engine-js-components-web","liferay!frontend-js-react-web$react"],(function(e,a,t){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=function({action:e,modalDispatch:a,onClose:t,rules:i}){return r=>{n.RulesSupport.findRuleByFieldName(e.payload.fieldName,null,i)?a({payload:{body:Liferay.Language.get("a-rule-is-applied-to-this-field"),footer:[null,null,d.default.createElement(l.default.Group,{key:3,spaced:!0},d.default.createElement(l.default,{displayType:"secondary",onClick:t},Liferay.Language.get("cancel")),d.default.createElement(l.default,{displayType:"danger",onClick:()=>{t(),r(e)}},Liferay.Language.get("confirm")))],header:Liferay.Language.get("delete-field-with-rule-applied"),size:"md"},type:1}):r(e)}};var l=i(t("@frontend-taglib-clay$clayui/button")),n=t("data-engine-js-components-web"),d=i(t("liferay!frontend-js-react-web$react"));function i(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=fieldDelete.es.js.map