UNPKG

cspace-ui-plugin-profile-pahma

Version:
43 lines (42 loc) 936 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _reactIntl = require("react-intl"); var _default = configContext => { const { CompoundInput, AutocompleteInput } = configContext.inputComponents; const { configKey: config } = configContext.configHelpers; return { pararms: { [config]: { view: { type: CompoundInput } }, Agency: { [config]: { messages: (0, _reactIntl.defineMessages)({ name: { "id": "field.report.SystematicInventoryUI.Agency.name", "defaultMessage": "Agency name" } }), view: { type: AutocompleteInput, props: { source: 'organization/local', showQuickAdd: false } } } } } }; }; exports.default = _default;