Liferay.Loader.define("@liferay/analytics-settings-web@5.0.47/js/components/attributes/PeopleAttributesModal",["module","exports","require","liferay!frontend-js-react-web$react","../../utils/api","./Modal"],(function(e,a,t){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var l=_interopRequireDefault(t("liferay!frontend-js-react-web$react")),r=t("../../utils/api"),n=_interopRequireDefault(t("./Modal"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const e=[{expanded:!0,label:Liferay.Language.get("attribute"),value:"name"},{expanded:!0,label:Liferay.Language.get("data-type"),sortable:!1,value:"type"},{expanded:!0,label:Liferay.Language.get("sample-data"),sortable:!1,value:"example"},{expanded:!1,label:Liferay.Language.get("source"),show:!1,sortable:!1,value:"source"}];var _default=({observer:a,onCancel:t,onSubmit:u})=>l.default.createElement(n.default,{columns:e,observer:a,onCancel:t,onSubmit:async e=>{const{ok:a}=await(0,r.updatePeopleFields)(e);a&&u()},requestFn:r.fetchPeopleFields,title:Liferay.Language.get("sync-people-attributes")});a.default=_default}}));
//# sourceMappingURL=PeopleAttributesModal.js.map