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